-
-
Notifications
You must be signed in to change notification settings - Fork 815
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(a11y): transfer accessible property to BottomSheet's children
- Loading branch information
1 parent
2898ada
commit 022822d
Showing
14 changed files
with
69 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
src/components/bottomSheetBackground/BottomSheetBackground.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
import type { ViewProps } from 'react-native'; | ||
import type { BottomSheetVariables } from '../../types'; | ||
import type { | ||
BottomSheetVariables, | ||
NullableAccessibilityProps, | ||
} from '../../types'; | ||
|
||
export interface BottomSheetBackgroundProps | ||
extends Pick<ViewProps, 'pointerEvents' | 'style'>, | ||
BottomSheetVariables {} | ||
BottomSheetVariables, | ||
Pick<NullableAccessibilityProps, 'accessible'> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
import type { NullableAccessibilityProps } from '../../types'; | ||
import type { BottomSheetProps } from '../bottomSheet'; | ||
import type { BottomSheetBackgroundProps } from '../bottomSheetBackground'; | ||
|
||
export interface BottomSheetBackgroundContainerProps | ||
extends Pick<BottomSheetProps, 'backgroundComponent' | 'backgroundStyle'>, | ||
BottomSheetBackgroundProps {} | ||
BottomSheetBackgroundProps, | ||
Pick<NullableAccessibilityProps, 'accessible'> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
import type { NullableAccessibilityProps } from '../../types'; | ||
import type { BottomSheetProps } from '../bottomSheet'; | ||
|
||
export interface BottomSheetFooterContainerProps | ||
extends Required<Pick<BottomSheetProps, 'footerComponent'>> {} | ||
extends Required<Pick<BottomSheetProps, 'footerComponent'>>, | ||
Pick<NullableAccessibilityProps, 'accessible'> {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters