react-native-a11y-order 0.9.1 → 0.11.0-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +55 -334
- package/android/src/main/java/com/a11yorder/A11yOrderPackage.java +2 -6
- package/android/src/main/java/com/a11yorder/core/A11yManagedFocusView.java +29 -0
- package/android/src/main/java/com/a11yorder/{views/A11yView/A11yView.java → core/A11yScreenReaderView.java} +3 -45
- package/android/src/main/java/com/a11yorder/core/A11yViewOrder.java +37 -0
- package/android/src/main/java/com/a11yorder/modules/A11yAnnounceModule.java +20 -7
- package/android/src/main/java/com/a11yorder/views/A11yCardView/A11yCardViewManager.java +18 -0
- package/android/src/main/java/com/a11yorder/views/A11yIndexView/A11yIndexView.java +2 -65
- package/android/src/main/java/com/a11yorder/views/A11yIndexView/A11yIndexViewManager.java +21 -0
- package/android/src/newarch/A11yCardViewManagerSpec.java +9 -0
- package/android/src/oldarch/A11yAnnounceModuleSpec.java +8 -1
- package/android/src/oldarch/A11yCardViewManagerSpec.java +8 -0
- package/android/src/oldarch/A11yIndexViewManagerSpec.java +8 -0
- package/ios/helpers/RNAOFabricEventHelper/RNAOFabricEventHelper.mm +5 -5
- package/ios/helpers/RNAOSpeechAttributes.h +35 -0
- package/ios/helpers/RNAOSpeechAttributes.mm +64 -0
- package/ios/modules/RNAOA11yAnnounceModule.h +13 -9
- package/ios/modules/RNAOA11yAnnounceModule.mm +220 -14
- package/ios/services/RNAOA11yAnnounceService/RNAOA11yAnnounceService.h +11 -1
- package/ios/services/RNAOA11yAnnounceService/RNAOA11yAnnounceService.mm +55 -51
- package/ios/views/RNAOA11yCardView/RNAOA11yCardView.h +29 -0
- package/ios/views/RNAOA11yCardView/RNAOA11yCardView.mm +83 -0
- package/ios/views/RNAOA11yCardView/RNAOA11yCardViewManager.h +14 -0
- package/ios/views/RNAOA11yCardView/RNAOA11yCardViewManager.mm +17 -0
- package/ios/views/RNAOA11yIndexView/RNAOA11yIndexView.h +2 -41
- package/ios/views/RNAOA11yIndexView/RNAOA11yIndexView.mm +24 -128
- package/ios/views/RNAOA11yIndexView/RNAOA11yIndexViewManager.mm +15 -0
- package/ios/views/RNAOA11yPaneTitleView/RNAOA11yPaneTitleView.mm +12 -2
- package/ios/views/base/RNAOA11yGroupChildrenView.h +21 -0
- package/ios/views/base/RNAOA11yGroupChildrenView.mm +19 -0
- package/ios/views/base/RNAOA11yManagedFocusView.h +28 -0
- package/ios/views/{RNAOA11yView/RNAOA11yView.mm → base/RNAOA11yManagedFocusView.mm} +64 -183
- package/ios/views/base/RNAOA11yScreenReaderView.h +24 -0
- package/ios/views/base/RNAOA11yScreenReaderView.mm +32 -0
- package/ios/views/base/RNAOA11yViewGroup.h +35 -0
- package/ios/views/base/RNAOA11yViewGroup.mm +46 -0
- package/ios/views/base/RNAOA11yViewOrder.h +40 -0
- package/ios/views/base/RNAOA11yViewOrder.mm +92 -0
- package/lib/commonjs/components/A11yCard/A11yCard.ios.js +49 -0
- package/lib/commonjs/components/A11yCard/A11yCard.ios.js.map +1 -0
- package/lib/commonjs/components/A11yCard/A11yCard.js +41 -0
- package/lib/commonjs/components/A11yCard/A11yCard.js.map +1 -0
- package/lib/commonjs/{types/A11yGroup.types.js → components/A11yCard/A11yCard.types.js} +1 -1
- package/lib/commonjs/components/A11yCard/A11yCard.types.js.map +1 -0
- package/lib/commonjs/components/A11yIndex/A11yIndex.js +88 -28
- package/lib/commonjs/components/A11yIndex/A11yIndex.js.map +1 -1
- package/lib/commonjs/components/A11yIndex/A11yIndex.types.js +39 -0
- package/lib/commonjs/components/A11yIndex/A11yIndex.types.js.map +1 -0
- package/lib/commonjs/components/A11yIndex/A11yIndex.web.js.map +1 -1
- package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js.map +1 -1
- package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js.map +1 -1
- package/lib/commonjs/components/A11yLock/A11yLock.types.js.map +1 -0
- package/lib/commonjs/components/{A11ySequence/A11ySequence.js → A11yOrder/A11yOrder.js} +3 -3
- package/lib/commonjs/components/A11yOrder/A11yOrder.js.map +1 -0
- package/lib/commonjs/{types/A11yModule.types.js → components/A11yOrder/A11yOrder.types.js} +1 -1
- package/lib/commonjs/components/A11yOrder/A11yOrder.types.js.map +1 -0
- package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.js +6 -7
- package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.js.map +1 -1
- package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.types.js +6 -0
- package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.types.js.map +1 -0
- package/lib/commonjs/components/A11yView/A11yView.js +7 -33
- package/lib/commonjs/components/A11yView/A11yView.js.map +1 -1
- package/lib/commonjs/components/A11yView/A11yView.types.js.map +1 -0
- package/lib/commonjs/index.js +37 -10
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +12 -6
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/modules/A11yAnnounceModule.android.js +37 -3
- package/lib/commonjs/modules/A11yAnnounceModule.android.js.map +1 -1
- package/lib/commonjs/modules/A11yAnnounceModule.js +66 -8
- package/lib/commonjs/modules/A11yAnnounceModule.js.map +1 -1
- package/lib/commonjs/nativeSpecs/{A11yGroupNativeComponent.ts → A11yCardNativeComponent.ts} +3 -3
- package/lib/commonjs/nativeSpecs/A11yIndexNativeComponent.ts +11 -3
- package/lib/commonjs/nativeSpecs/NativeA11yAnnounceModule.js +2 -0
- package/lib/commonjs/nativeSpecs/NativeA11yAnnounceModule.js.map +1 -1
- package/lib/module/components/A11yCard/A11yCard.ios.js +43 -0
- package/lib/module/components/A11yCard/A11yCard.ios.js.map +1 -0
- package/lib/module/components/A11yCard/A11yCard.js +35 -0
- package/lib/module/components/A11yCard/A11yCard.js.map +1 -0
- package/lib/module/components/A11yCard/A11yCard.types.js +4 -0
- package/lib/module/components/A11yCard/A11yCard.types.js.map +1 -0
- package/lib/module/components/A11yIndex/A11yIndex.js +88 -28
- package/lib/module/components/A11yIndex/A11yIndex.js.map +1 -1
- package/lib/module/components/A11yIndex/A11yIndex.types.js +35 -0
- package/lib/module/components/A11yIndex/A11yIndex.types.js.map +1 -0
- package/lib/module/components/A11yIndex/A11yIndex.web.js.map +1 -1
- package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js.map +1 -1
- package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js.map +1 -1
- package/lib/module/components/A11yLock/A11yLock.types.js.map +1 -0
- package/lib/module/components/{A11ySequence/A11ySequence.js → A11yOrder/A11yOrder.js} +2 -2
- package/lib/module/components/A11yOrder/A11yOrder.js.map +1 -0
- package/lib/module/components/A11yOrder/A11yOrder.types.js +4 -0
- package/lib/module/components/A11yOrder/A11yOrder.types.js.map +1 -0
- package/lib/module/components/A11yPaneTitle/A11yPaneTitle.js +6 -7
- package/lib/module/components/A11yPaneTitle/A11yPaneTitle.js.map +1 -1
- package/lib/module/components/A11yPaneTitle/A11yPaneTitle.types.js +4 -0
- package/lib/module/components/A11yPaneTitle/A11yPaneTitle.types.js.map +1 -0
- package/lib/module/components/A11yView/A11yView.js +7 -31
- package/lib/module/components/A11yView/A11yView.js.map +1 -1
- package/lib/module/components/A11yView/A11yView.types.js.map +1 -0
- package/lib/module/index.js +13 -9
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +5 -5
- package/lib/module/index.web.js.map +1 -1
- package/lib/module/modules/A11yAnnounceModule.android.js +32 -2
- package/lib/module/modules/A11yAnnounceModule.android.js.map +1 -1
- package/lib/module/modules/A11yAnnounceModule.js +62 -7
- package/lib/module/modules/A11yAnnounceModule.js.map +1 -1
- package/{src/nativeSpecs/A11yGroupNativeComponent.ts → lib/module/nativeSpecs/A11yCardNativeComponent.ts} +3 -3
- package/lib/module/nativeSpecs/A11yIndexNativeComponent.ts +11 -3
- package/lib/module/nativeSpecs/NativeA11yAnnounceModule.js +4 -0
- package/lib/module/nativeSpecs/NativeA11yAnnounceModule.js.map +1 -1
- package/lib/typescript/src/components/A11yCard/A11yCard.d.ts +5 -0
- package/lib/typescript/src/components/A11yCard/A11yCard.d.ts.map +1 -0
- package/lib/typescript/src/components/A11yCard/A11yCard.ios.d.ts +5 -0
- package/lib/typescript/src/components/A11yCard/A11yCard.ios.d.ts.map +1 -0
- package/lib/typescript/src/components/A11yCard/A11yCard.types.d.ts +38 -0
- package/lib/typescript/src/components/A11yCard/A11yCard.types.d.ts.map +1 -0
- package/lib/typescript/src/components/A11yIndex/A11yIndex.d.ts +10 -128
- package/lib/typescript/src/components/A11yIndex/A11yIndex.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yIndex/A11yIndex.types.d.ts +101 -0
- package/lib/typescript/src/components/A11yIndex/A11yIndex.types.d.ts.map +1 -0
- package/lib/typescript/src/components/A11yIndex/A11yIndex.web.d.ts +8 -128
- package/lib/typescript/src/components/A11yIndex/A11yIndex.web.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yLock/A11yBaseLock/A11yBaseLock.d.ts +1 -1
- package/lib/typescript/src/components/A11yLock/A11yBaseLock/A11yBaseLock.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.d.ts +1 -1
- package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.d.ts +2 -2
- package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.d.ts +1 -1
- package/lib/typescript/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.d.ts +2 -2
- package/lib/typescript/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yLock/A11yLock.types.d.ts +35 -0
- package/lib/typescript/src/components/A11yLock/A11yLock.types.d.ts.map +1 -0
- package/lib/typescript/src/components/A11yOrder/A11yOrder.d.ts +5 -0
- package/lib/typescript/src/components/A11yOrder/A11yOrder.d.ts.map +1 -0
- package/lib/typescript/src/components/A11yOrder/A11yOrder.types.d.ts +11 -0
- package/lib/typescript/src/components/A11yOrder/A11yOrder.types.d.ts.map +1 -0
- package/lib/typescript/src/components/A11yPaneTitle/A11yPaneTitle.d.ts +3 -17
- package/lib/typescript/src/components/A11yPaneTitle/A11yPaneTitle.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yPaneTitle/A11yPaneTitle.types.d.ts +52 -0
- package/lib/typescript/src/components/A11yPaneTitle/A11yPaneTitle.types.d.ts.map +1 -0
- package/lib/typescript/src/components/A11yView/A11yView.d.ts +13 -130
- package/lib/typescript/src/components/A11yView/A11yView.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yView/A11yView.types.d.ts +10 -0
- package/lib/typescript/src/components/A11yView/A11yView.types.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +29 -403
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/index.web.d.ts +20 -171
- package/lib/typescript/src/index.web.d.ts.map +1 -1
- package/lib/typescript/src/modules/A11yAnnounceModule.android.d.ts +25 -2
- package/lib/typescript/src/modules/A11yAnnounceModule.android.d.ts.map +1 -1
- package/lib/typescript/src/modules/A11yAnnounceModule.d.ts +112 -4
- package/lib/typescript/src/modules/A11yAnnounceModule.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/A11yCardNativeComponent.d.ts +6 -0
- package/lib/typescript/src/nativeSpecs/A11yCardNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/nativeSpecs/A11yIndexNativeComponent.d.ts +10 -6
- package/lib/typescript/src/nativeSpecs/A11yIndexNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/A11yLockNativeComponent.d.ts +1 -3
- package/lib/typescript/src/nativeSpecs/A11yLockNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/A11yOrderNativeComponent.d.ts +1 -3
- package/lib/typescript/src/nativeSpecs/A11yOrderNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/A11yPaneTitleNativeComponent.d.ts +1 -3
- package/lib/typescript/src/nativeSpecs/A11yPaneTitleNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/NativeA11yAnnounceModule.d.ts +22 -2
- package/lib/typescript/src/nativeSpecs/NativeA11yAnnounceModule.d.ts.map +1 -1
- package/package.json +12 -11
- package/src/components/A11yCard/A11yCard.ios.tsx +44 -0
- package/src/components/A11yCard/A11yCard.tsx +35 -0
- package/src/components/A11yCard/A11yCard.types.ts +50 -0
- package/src/components/A11yIndex/A11yIndex.tsx +144 -52
- package/src/components/A11yIndex/A11yIndex.types.ts +119 -0
- package/src/components/A11yIndex/A11yIndex.web.tsx +12 -17
- package/src/components/A11yLock/A11yBaseLock/A11yBaseLock.tsx +1 -1
- package/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.tsx +1 -1
- package/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.tsx +3 -2
- package/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.tsx +1 -1
- package/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.tsx +2 -2
- package/src/components/A11yLock/A11yLock.types.ts +38 -0
- package/src/components/{A11ySequence/A11ySequence.tsx → A11yOrder/A11yOrder.tsx} +4 -2
- package/src/components/A11yOrder/A11yOrder.types.ts +11 -0
- package/src/components/A11yPaneTitle/A11yPaneTitle.tsx +13 -19
- package/src/components/A11yPaneTitle/A11yPaneTitle.types.ts +58 -0
- package/src/components/A11yView/A11yView.tsx +8 -63
- package/src/components/A11yView/A11yView.types.ts +11 -0
- package/src/index.ts +38 -20
- package/src/index.web.ts +7 -14
- package/src/modules/A11yAnnounceModule.android.ts +18 -2
- package/src/modules/A11yAnnounceModule.ts +153 -9
- package/{lib/module/nativeSpecs/A11yGroupNativeComponent.ts → src/nativeSpecs/A11yCardNativeComponent.ts} +3 -3
- package/src/nativeSpecs/A11yIndexNativeComponent.ts +11 -3
- package/src/nativeSpecs/NativeA11yAnnounceModule.ts +31 -1
- package/android/src/main/java/com/a11yorder/views/A11yGroupView/A11yGroupViewManager.java +0 -25
- package/android/src/main/java/com/a11yorder/views/A11yUIContainerView/A11yUIContainerViewManager.java +0 -30
- package/android/src/main/java/com/a11yorder/views/A11yView/A11yViewManager.java +0 -67
- package/android/src/newarch/A11yGroupViewManagerSpec.java +0 -9
- package/android/src/newarch/A11yUIContainerViewManagerSpec.java +0 -8
- package/android/src/newarch/A11yViewSpec.java +0 -13
- package/android/src/oldarch/A11yGroupViewManagerSpec.java +0 -8
- package/android/src/oldarch/A11yUIContainerViewManagerSpec.java +0 -9
- package/android/src/oldarch/A11yViewSpec.java +0 -18
- package/ios/views/RNAOA11yGroupView/RNAOA11yGroupView.h +0 -37
- package/ios/views/RNAOA11yGroupView/RNAOA11yGroupView.mm +0 -67
- package/ios/views/RNAOA11yGroupView/RNAOA11yGroupViewManager.h +0 -18
- package/ios/views/RNAOA11yGroupView/RNAOA11yGroupViewManager.mm +0 -25
- package/ios/views/RNAOA11yUIContainerView/RNAOA11yUIContainerView.h +0 -35
- package/ios/views/RNAOA11yUIContainerView/RNAOA11yUIContainerView.mm +0 -79
- package/ios/views/RNAOA11yUIContainerView/RNAOA11yUIContainerViewManager.h +0 -18
- package/ios/views/RNAOA11yUIContainerView/RNAOA11yUIContainerViewManager.mm +0 -27
- package/ios/views/RNAOA11yView/RNAOA11yView.h +0 -45
- package/ios/views/RNAOA11yView/RNAOA11yViewManager.h +0 -14
- package/ios/views/RNAOA11yView/RNAOA11yViewManager.mm +0 -53
- package/lib/commonjs/components/A11yGroup/A11yGroup.android.js +0 -18
- package/lib/commonjs/components/A11yGroup/A11yGroup.android.js.map +0 -1
- package/lib/commonjs/components/A11yGroup/A11yGroup.ios.js +0 -24
- package/lib/commonjs/components/A11yGroup/A11yGroup.ios.js.map +0 -1
- package/lib/commonjs/components/A11yGroup/A11yGroup.js +0 -9
- package/lib/commonjs/components/A11yGroup/A11yGroup.js.map +0 -1
- package/lib/commonjs/components/A11ySequence/A11ySequence.js.map +0 -1
- package/lib/commonjs/components/A11yUIContainer/A11yUIContainer.ios.js +0 -22
- package/lib/commonjs/components/A11yUIContainer/A11yUIContainer.ios.js.map +0 -1
- package/lib/commonjs/components/A11yUIContainer/A11yUIContainer.js +0 -9
- package/lib/commonjs/components/A11yUIContainer/A11yUIContainer.js.map +0 -1
- package/lib/commonjs/nativeSpecs/A11yUIContainerNativeComponent.ts +0 -12
- package/lib/commonjs/nativeSpecs/A11yViewNativeComponent.ts +0 -36
- package/lib/commonjs/types/A11yGroup.types.js.map +0 -1
- package/lib/commonjs/types/A11yIndex.types.js +0 -13
- package/lib/commonjs/types/A11yIndex.types.js.map +0 -1
- package/lib/commonjs/types/A11yLock.types.js.map +0 -1
- package/lib/commonjs/types/A11yModule.types.js.map +0 -1
- package/lib/commonjs/types/A11yUIContainerView.types.js +0 -15
- package/lib/commonjs/types/A11yUIContainerView.types.js.map +0 -1
- package/lib/commonjs/types/A11yView.types.js.map +0 -1
- package/lib/module/components/A11yGroup/A11yGroup.android.js +0 -12
- package/lib/module/components/A11yGroup/A11yGroup.android.js.map +0 -1
- package/lib/module/components/A11yGroup/A11yGroup.ios.js +0 -18
- package/lib/module/components/A11yGroup/A11yGroup.ios.js.map +0 -1
- package/lib/module/components/A11yGroup/A11yGroup.js +0 -5
- package/lib/module/components/A11yGroup/A11yGroup.js.map +0 -1
- package/lib/module/components/A11ySequence/A11ySequence.js.map +0 -1
- package/lib/module/components/A11yUIContainer/A11yUIContainer.ios.js +0 -17
- package/lib/module/components/A11yUIContainer/A11yUIContainer.ios.js.map +0 -1
- package/lib/module/components/A11yUIContainer/A11yUIContainer.js +0 -5
- package/lib/module/components/A11yUIContainer/A11yUIContainer.js.map +0 -1
- package/lib/module/nativeSpecs/A11yUIContainerNativeComponent.ts +0 -12
- package/lib/module/nativeSpecs/A11yViewNativeComponent.ts +0 -36
- package/lib/module/types/A11yGroup.types.js +0 -4
- package/lib/module/types/A11yGroup.types.js.map +0 -1
- package/lib/module/types/A11yIndex.types.js +0 -9
- package/lib/module/types/A11yIndex.types.js.map +0 -1
- package/lib/module/types/A11yLock.types.js.map +0 -1
- package/lib/module/types/A11yModule.types.js +0 -4
- package/lib/module/types/A11yModule.types.js.map +0 -1
- package/lib/module/types/A11yUIContainerView.types.js +0 -11
- package/lib/module/types/A11yUIContainerView.types.js.map +0 -1
- package/lib/module/types/A11yView.types.js.map +0 -1
- package/lib/typescript/src/components/A11yGroup/A11yGroup.android.d.ts +0 -4
- package/lib/typescript/src/components/A11yGroup/A11yGroup.android.d.ts.map +0 -1
- package/lib/typescript/src/components/A11yGroup/A11yGroup.d.ts +0 -3
- package/lib/typescript/src/components/A11yGroup/A11yGroup.d.ts.map +0 -1
- package/lib/typescript/src/components/A11yGroup/A11yGroup.ios.d.ts +0 -4
- package/lib/typescript/src/components/A11yGroup/A11yGroup.ios.d.ts.map +0 -1
- package/lib/typescript/src/components/A11ySequence/A11ySequence.d.ts +0 -126
- package/lib/typescript/src/components/A11ySequence/A11ySequence.d.ts.map +0 -1
- package/lib/typescript/src/components/A11yUIContainer/A11yUIContainer.d.ts +0 -3
- package/lib/typescript/src/components/A11yUIContainer/A11yUIContainer.d.ts.map +0 -1
- package/lib/typescript/src/components/A11yUIContainer/A11yUIContainer.ios.d.ts +0 -4
- package/lib/typescript/src/components/A11yUIContainer/A11yUIContainer.ios.d.ts.map +0 -1
- package/lib/typescript/src/nativeSpecs/A11yGroupNativeComponent.d.ts +0 -8
- package/lib/typescript/src/nativeSpecs/A11yGroupNativeComponent.d.ts.map +0 -1
- package/lib/typescript/src/nativeSpecs/A11yUIContainerNativeComponent.d.ts +0 -10
- package/lib/typescript/src/nativeSpecs/A11yUIContainerNativeComponent.d.ts.map +0 -1
- package/lib/typescript/src/nativeSpecs/A11yViewNativeComponent.d.ts +0 -26
- package/lib/typescript/src/nativeSpecs/A11yViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/src/types/A11yGroup.types.d.ts +0 -7
- package/lib/typescript/src/types/A11yGroup.types.d.ts.map +0 -1
- package/lib/typescript/src/types/A11yIndex.types.d.ts +0 -19
- package/lib/typescript/src/types/A11yIndex.types.d.ts.map +0 -1
- package/lib/typescript/src/types/A11yLock.types.d.ts +0 -8
- package/lib/typescript/src/types/A11yLock.types.d.ts.map +0 -1
- package/lib/typescript/src/types/A11yModule.types.d.ts +0 -7
- package/lib/typescript/src/types/A11yModule.types.d.ts.map +0 -1
- package/lib/typescript/src/types/A11yUIContainerView.types.d.ts +0 -13
- package/lib/typescript/src/types/A11yUIContainerView.types.d.ts.map +0 -1
- package/lib/typescript/src/types/A11yView.types.d.ts +0 -12
- package/lib/typescript/src/types/A11yView.types.d.ts.map +0 -1
- package/src/components/A11yGroup/A11yGroup.android.tsx +0 -8
- package/src/components/A11yGroup/A11yGroup.ios.tsx +0 -11
- package/src/components/A11yGroup/A11yGroup.tsx +0 -5
- package/src/components/A11yUIContainer/A11yUIContainer.ios.tsx +0 -20
- package/src/components/A11yUIContainer/A11yUIContainer.tsx +0 -5
- package/src/nativeSpecs/A11yUIContainerNativeComponent.ts +0 -12
- package/src/nativeSpecs/A11yViewNativeComponent.ts +0 -36
- package/src/types/A11yGroup.types.ts +0 -9
- package/src/types/A11yIndex.types.ts +0 -21
- package/src/types/A11yLock.types.ts +0 -8
- package/src/types/A11yModule.types.ts +0 -7
- package/src/types/A11yUIContainerView.types.ts +0 -15
- package/src/types/A11yView.types.ts +0 -19
- /package/lib/commonjs/{types → components/A11yLock}/A11yLock.types.js +0 -0
- /package/lib/commonjs/{types → components/A11yView}/A11yView.types.js +0 -0
- /package/lib/module/{types → components/A11yLock}/A11yLock.types.js +0 -0
- /package/lib/module/{types → components/A11yView}/A11yView.types.js +0 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { NativeSyntheticEvent, View, ViewProps } from 'react-native';
|
|
3
|
+
import type { ScreenReaderDescendantFocusChanged } from '../../nativeSpecs/A11yIndexNativeComponent';
|
|
4
|
+
/** Ref handle for {@link A11y.Index} — exposes `focus()` to move screen reader focus programmatically. */
|
|
5
|
+
export type IndexCommands = Omit<React.ComponentRef<typeof View>, 'focus'> & {
|
|
6
|
+
/** Moves screen reader focus to this element. */
|
|
7
|
+
focus: () => void;
|
|
8
|
+
};
|
|
9
|
+
/** Numeric backing values for {@link A11yOrderType}. Kept for consumers who need the raw number. */
|
|
10
|
+
export declare const A11yOrderTypeEnum: {
|
|
11
|
+
readonly default: 0;
|
|
12
|
+
readonly child: 1;
|
|
13
|
+
readonly subview: 2;
|
|
14
|
+
};
|
|
15
|
+
/** @internal Numeric backing values for {@link A11yUIContainerType}. */
|
|
16
|
+
export declare const A11yContainerTypeEnum: {
|
|
17
|
+
readonly none: 0;
|
|
18
|
+
readonly table: 1;
|
|
19
|
+
readonly list: 2;
|
|
20
|
+
readonly landmark: 3;
|
|
21
|
+
readonly group: 4;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* iOS only — sets `UIAccessibilityContainerType` on the wrapping view.
|
|
25
|
+
* Tells VoiceOver what kind of container this is: `'list'`, `'table'`, `'landmark'`, etc.
|
|
26
|
+
*/
|
|
27
|
+
export type A11yUIContainerType = keyof typeof A11yContainerTypeEnum;
|
|
28
|
+
/**
|
|
29
|
+
* Controls which element receives screen reader focus for this index slot.
|
|
30
|
+
*
|
|
31
|
+
* - `'default'` — the `A11y.Index` view itself
|
|
32
|
+
* - `'child'` — the first accessible child (useful when the index wrapper has no visual presence)
|
|
33
|
+
* - `'subview'` — first accessible child via an older traversal path
|
|
34
|
+
*/
|
|
35
|
+
export type A11yOrderType = keyof typeof A11yOrderTypeEnum;
|
|
36
|
+
/** The native event payload emitted by `onScreenReaderDescendantFocusChanged`. */
|
|
37
|
+
export type ScreenReaderDescendantFocusChangedEvent = NativeSyntheticEvent<ScreenReaderDescendantFocusChanged>;
|
|
38
|
+
export type A11yIndexProps = ViewProps & {
|
|
39
|
+
children: React.ReactNode;
|
|
40
|
+
/**
|
|
41
|
+
* Numeric position of this element in the parent `A11y.Order` sequence.
|
|
42
|
+
* Lower numbers are focused first; ties are resolved by render order.
|
|
43
|
+
*/
|
|
44
|
+
index?: number;
|
|
45
|
+
/**
|
|
46
|
+
* Controls which element VoiceOver / TalkBack actually focuses for this slot.
|
|
47
|
+
*
|
|
48
|
+
* - `'default'` — the `A11y.Index` view itself receives focus
|
|
49
|
+
* - `'child'` — the first accessible descendant receives focus (useful when
|
|
50
|
+
* the index wrapper has no visual presence of its own)
|
|
51
|
+
* - `'subview'` — focuses the first direct child view rather than the first accessible descendant
|
|
52
|
+
*
|
|
53
|
+
* Defaults to `'default'`.
|
|
54
|
+
*/
|
|
55
|
+
orderType?: A11yOrderType;
|
|
56
|
+
/**
|
|
57
|
+
* iOS only — sets `UIAccessibilityContainerType` on the wrapping view.
|
|
58
|
+
* Helps VoiceOver understand the semantic role of the container:
|
|
59
|
+
* `'list'`, `'table'`, `'landmark'`, etc.
|
|
60
|
+
*
|
|
61
|
+
* @platform ios
|
|
62
|
+
*/
|
|
63
|
+
a11yUIContainer?: A11yUIContainerType;
|
|
64
|
+
/**
|
|
65
|
+
* iOS only — maps to `shouldGroupAccessibilityChildren` on the native view.
|
|
66
|
+
* Determines whether VoiceOver treats descendants as one grouped unit
|
|
67
|
+
* or navigates them individually.
|
|
68
|
+
*
|
|
69
|
+
* - `true` — VoiceOver focuses the wrapper as a single element and builds
|
|
70
|
+
* a combined label from its children.
|
|
71
|
+
* - `false` — descendants stay individually focusable even when iOS would
|
|
72
|
+
* otherwise collapse them.
|
|
73
|
+
* - omitted — defers to the platform default.
|
|
74
|
+
*
|
|
75
|
+
* @platform ios
|
|
76
|
+
*/
|
|
77
|
+
shouldGroupAccessibilityChildren?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Called when the screen reader focuses this element directly (not a descendant).
|
|
80
|
+
*/
|
|
81
|
+
onScreenReaderFocused?: () => void;
|
|
82
|
+
/**
|
|
83
|
+
* Called when screen reader focus enters or leaves any descendant.
|
|
84
|
+
* Receives `true` on enter and `false` on leave.
|
|
85
|
+
*/
|
|
86
|
+
onScreenReaderSubViewFocusChange?: (isFocused: boolean) => void;
|
|
87
|
+
/**
|
|
88
|
+
* Called when screen reader focus enters any descendant.
|
|
89
|
+
*/
|
|
90
|
+
onScreenReaderSubViewFocused?: () => void;
|
|
91
|
+
/**
|
|
92
|
+
* Called when screen reader focus leaves any descendant.
|
|
93
|
+
*/
|
|
94
|
+
onScreenReaderSubViewBlurred?: () => void;
|
|
95
|
+
/**
|
|
96
|
+
* Called with the full native event when screen reader focus changes on any descendant.
|
|
97
|
+
* Use this when you need the `nativeId` of the focused element.
|
|
98
|
+
*/
|
|
99
|
+
onScreenReaderDescendantFocusChanged?: (e: ScreenReaderDescendantFocusChangedEvent) => void;
|
|
100
|
+
};
|
|
101
|
+
//# sourceMappingURL=A11yIndex.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"A11yIndex.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yIndex/A11yIndex.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,oBAAoB,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC1E,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,4CAA4C,CAAC;AAErG,0GAA0G;AAC1G,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,EAAE,OAAO,CAAC,GAAG;IAC3E,iDAAiD;IACjD,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,oGAAoG;AACpG,eAAO,MAAM,iBAAiB;;;;CAIpB,CAAC;AAEX,wEAAwE;AACxE,eAAO,MAAM,qBAAqB;;;;;;CAMxB,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,qBAAqB,CAAC;AAErE;;;;;;GAMG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,iBAAiB,CAAC;AAE3D,kFAAkF;AAClF,MAAM,MAAM,uCAAuC,GACjD,oBAAoB,CAAC,kCAAkC,CAAC,CAAC;AAE3D,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG;IACvC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAE1B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC;IAE1B;;;;;;OAMG;IACH,eAAe,CAAC,EAAE,mBAAmB,CAAC;IAEtC;;;;;;;;;;;;OAYG;IACH,gCAAgC,CAAC,EAAE,OAAO,CAAC;IAE3C;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IAEnC;;;OAGG;IACH,gCAAgC,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAEhE;;OAEG;IACH,4BAA4B,CAAC,EAAE,MAAM,IAAI,CAAC;IAE1C;;OAEG;IACH,4BAA4B,CAAC,EAAE,MAAM,IAAI,CAAC;IAE1C;;;OAGG;IACH,oCAAoC,CAAC,EAAE,CACrC,CAAC,EAAE,uCAAuC,KACvC,IAAI,CAAC;CACX,CAAC"}
|
|
@@ -1,134 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
export declare const A11yIndex: React.ForwardRefExoticComponent<{
|
|
2
|
+
export declare const A11yIndex: React.ForwardRefExoticComponent<import("react-native").ViewProps & {
|
|
4
3
|
children: React.ReactNode;
|
|
5
|
-
index
|
|
6
|
-
orderType?: import("
|
|
4
|
+
index?: number;
|
|
5
|
+
orderType?: import("./A11yIndex.types").A11yOrderType;
|
|
6
|
+
a11yUIContainer?: import("./A11yIndex.types").A11yUIContainerType;
|
|
7
|
+
shouldGroupAccessibilityChildren?: boolean;
|
|
8
|
+
onScreenReaderFocused?: () => void;
|
|
7
9
|
onScreenReaderSubViewFocusChange?: (isFocused: boolean) => void;
|
|
8
10
|
onScreenReaderSubViewFocused?: () => void;
|
|
9
11
|
onScreenReaderSubViewBlurred?: () => void;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
onAccessibilityTap?: (() => unknown) | undefined;
|
|
13
|
-
onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
|
|
14
|
-
onMagicTap?: (() => unknown) | undefined;
|
|
15
|
-
onAccessibilityEscape?: (() => unknown) | undefined;
|
|
16
|
-
}>, "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderEnd" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
17
|
-
onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
18
|
-
onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
19
|
-
onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
|
|
20
|
-
onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
21
|
-
onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
22
|
-
onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
23
|
-
onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
24
|
-
onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
25
|
-
onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
26
|
-
onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
27
|
-
onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
28
|
-
onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
29
|
-
}>, "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
30
|
-
onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
31
|
-
onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
32
|
-
}>, "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
33
|
-
onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
34
|
-
onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
35
|
-
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
36
|
-
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
37
|
-
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
38
|
-
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
39
|
-
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
40
|
-
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
41
|
-
onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
42
|
-
onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
43
|
-
onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
44
|
-
onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
45
|
-
onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
46
|
-
onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
47
|
-
onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
48
|
-
onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
49
|
-
onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
50
|
-
onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
51
|
-
onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
52
|
-
onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
53
|
-
onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
54
|
-
onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
55
|
-
}>, "onClick" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
56
|
-
onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
57
|
-
onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
58
|
-
onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
59
|
-
onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
60
|
-
}>, "onClick" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
61
|
-
onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
62
|
-
onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
63
|
-
onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
64
|
-
onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
65
|
-
onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
66
|
-
onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
67
|
-
onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
68
|
-
onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
69
|
-
}>, "onClick" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
70
|
-
nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
71
|
-
nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
72
|
-
renderToHardwareTextureAndroid?: boolean | undefined;
|
|
73
|
-
hasTVPreferredFocus?: boolean | undefined;
|
|
74
|
-
nextFocusDown?: number | undefined;
|
|
75
|
-
nextFocusForward?: number | undefined;
|
|
76
|
-
nextFocusLeft?: number | undefined;
|
|
77
|
-
nextFocusRight?: number | undefined;
|
|
78
|
-
nextFocusUp?: number | undefined;
|
|
79
|
-
focusable?: boolean | undefined;
|
|
80
|
-
tabIndex?: 0 | -1;
|
|
81
|
-
onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
82
|
-
}>, "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
83
|
-
shouldRasterizeIOS?: boolean | undefined;
|
|
84
|
-
}>, "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<Omit<Readonly<{
|
|
85
|
-
accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
|
|
86
|
-
"aria-labelledby"?: string | undefined;
|
|
87
|
-
accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
|
|
88
|
-
"aria-live"?: ("polite" | "assertive" | "off") | undefined;
|
|
89
|
-
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
|
|
90
|
-
screenReaderFocusable?: boolean;
|
|
91
|
-
}>, "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & Omit<Readonly<{
|
|
92
|
-
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
93
|
-
accessibilityViewIsModal?: boolean | undefined;
|
|
94
|
-
accessibilityShowsLargeContentViewer?: boolean | undefined;
|
|
95
|
-
accessibilityLargeContentTitle?: string | undefined;
|
|
96
|
-
"aria-modal"?: boolean | undefined;
|
|
97
|
-
accessibilityElementsHidden?: boolean | undefined;
|
|
98
|
-
accessibilityLanguage?: string | undefined;
|
|
99
|
-
accessibilityRespondsToUserInteraction?: boolean | undefined;
|
|
100
|
-
}>, "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & {
|
|
101
|
-
accessible?: boolean | undefined;
|
|
102
|
-
accessibilityLabel?: string | undefined;
|
|
103
|
-
accessibilityHint?: string | undefined;
|
|
104
|
-
"aria-label"?: string | undefined;
|
|
105
|
-
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
106
|
-
role?: import("react-native").Role | undefined;
|
|
107
|
-
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
108
|
-
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
109
|
-
"aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
|
|
110
|
-
"aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
|
|
111
|
-
"aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
|
|
112
|
-
"aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
|
|
113
|
-
accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
|
|
114
|
-
"aria-busy"?: boolean | undefined;
|
|
115
|
-
"aria-checked"?: (boolean | undefined) | "mixed";
|
|
116
|
-
"aria-disabled"?: boolean | undefined;
|
|
117
|
-
"aria-expanded"?: boolean | undefined;
|
|
118
|
-
"aria-selected"?: boolean | undefined;
|
|
119
|
-
"aria-hidden"?: boolean | undefined;
|
|
120
|
-
}>, "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
121
|
-
children?: React.ReactNode;
|
|
122
|
-
style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
|
|
123
|
-
collapsable?: boolean | undefined;
|
|
124
|
-
collapsableChildren?: boolean | undefined;
|
|
125
|
-
id?: string;
|
|
126
|
-
testID?: string | undefined;
|
|
127
|
-
nativeID?: string | undefined;
|
|
128
|
-
needsOffscreenAlphaCompositing?: boolean | undefined;
|
|
129
|
-
hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
|
|
130
|
-
pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
|
|
131
|
-
removeClippedSubviews?: boolean | undefined;
|
|
132
|
-
experimental_accessibilityOrder?: Array<string> | undefined;
|
|
133
|
-
}>, never>> & React.RefAttributes<IndexCommands>>;
|
|
12
|
+
onScreenReaderDescendantFocusChanged?: (e: import("./A11yIndex.types").ScreenReaderDescendantFocusChangedEvent) => void;
|
|
13
|
+
} & React.RefAttributes<{}>>;
|
|
134
14
|
//# sourceMappingURL=A11yIndex.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yIndex.web.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yIndex/A11yIndex.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"A11yIndex.web.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yIndex/A11yIndex.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,eAAO,MAAM,SAAS;;;;;;;;;;;4BAWpB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { A11yLockProps } from '
|
|
2
|
+
import type { A11yLockProps } from '../A11yLock.types';
|
|
3
3
|
export declare const A11yBaseLock: React.NamedExoticComponent<A11yLockProps>;
|
|
4
4
|
//# sourceMappingURL=A11yBaseLock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yBaseLock.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yBaseLock/A11yBaseLock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"A11yBaseLock.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yBaseLock/A11yBaseLock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,eAAO,MAAM,YAAY,2CAiBxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { A11yLockProps } from '
|
|
2
|
+
import type { A11yLockProps } from '../A11yLock.types';
|
|
3
3
|
export declare const A11yFocusFrame: React.NamedExoticComponent<A11yLockProps>;
|
|
4
4
|
//# sourceMappingURL=A11yFocusFrame.android.d.ts.map
|
package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yFocusFrame.android.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"A11yFocusFrame.android.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAIvD,eAAO,MAAM,cAAc,2CAY1B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const A11yFocusFrame: (props:
|
|
2
|
+
import type { A11yFocusFrameProps } from '../A11yLock.types';
|
|
3
|
+
export declare const A11yFocusFrame: (props: A11yFocusFrameProps) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=A11yFocusFrame.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yFocusFrame.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"A11yFocusFrame.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,sBAIxD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { A11yLockProps } from '
|
|
2
|
+
import type { A11yLockProps } from '../A11yLock.types';
|
|
3
3
|
export declare const A11yFocusTrap: React.NamedExoticComponent<A11yLockProps>;
|
|
4
4
|
//# sourceMappingURL=A11yFocusTrap.android.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yFocusTrap.android.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"A11yFocusTrap.android.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAIvD,eAAO,MAAM,aAAa,2CAMzB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
3
|
-
export declare const A11yFocusTrap: ({ forceLock, ...props }:
|
|
2
|
+
import type { A11yFocusTrapProps } from '../A11yLock.types';
|
|
3
|
+
export declare const A11yFocusTrap: ({ forceLock, ...props }: A11yFocusTrapProps) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=A11yFocusTrap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yFocusTrap.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"A11yFocusTrap.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,eAAO,MAAM,aAAa,GAAI,yBAG3B,kBAAkB,sBAmBpB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { ViewProps } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* Props for {@link A11y.FocusTrap} — confines VoiceOver / TalkBack focus to this subtree.
|
|
4
|
+
* Useful for modals, bottom sheets, and overlays where focus must not leak out.
|
|
5
|
+
*/
|
|
6
|
+
export type A11yFocusTrapProps = ViewProps & {
|
|
7
|
+
/**
|
|
8
|
+
* When `true`, the focus trap is inactive and the screen reader can navigate
|
|
9
|
+
* freely outside this container.
|
|
10
|
+
*
|
|
11
|
+
* Defaults to `false`.
|
|
12
|
+
*/
|
|
13
|
+
lockDisabled?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* When `true`, focus is moved inside the trap immediately on mount rather than
|
|
16
|
+
* waiting for the next accessibility navigation gesture.
|
|
17
|
+
* Use this for programmatically-opened modals and sheets.
|
|
18
|
+
*
|
|
19
|
+
* Defaults to `false`.
|
|
20
|
+
*/
|
|
21
|
+
forceLock?: boolean;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Props for {@link A11y.FocusFrame} — detects when screen reader focus escapes
|
|
25
|
+
* this subtree, enabling focus-leak detection in complex UIs.
|
|
26
|
+
*/
|
|
27
|
+
export type A11yFocusFrameProps = ViewProps;
|
|
28
|
+
/** @internal Full props accepted by the native lock component. Not part of the public API. */
|
|
29
|
+
export type A11yLockProps = ViewProps & {
|
|
30
|
+
componentType?: number;
|
|
31
|
+
containerKey?: string;
|
|
32
|
+
lockDisabled?: boolean;
|
|
33
|
+
forceLock?: boolean;
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=A11yLock.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"A11yLock.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yLock/A11yLock.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG;IAC3C;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,SAAS,CAAC;AAE5C,8FAA8F;AAC9F,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG;IACtC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"A11yOrder.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yOrder/A11yOrder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,YAAY,EAAE,cAAc,EAAE,CAAC;AAE/B,eAAO,MAAM,SAAS,8DAOpB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ViewProps } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* Props for {@link A11y.Order} — a container that defines an explicit screen reader
|
|
4
|
+
* focus sequence for its `A11y.Index` children.
|
|
5
|
+
*
|
|
6
|
+
* All standard `View` props are accepted and forwarded to the underlying native view.
|
|
7
|
+
* The `orderKey` that links child `A11y.Index` elements to this container is generated
|
|
8
|
+
* internally via `React.useId` and requires no prop.
|
|
9
|
+
*/
|
|
10
|
+
export type A11yOrderProps = ViewProps;
|
|
11
|
+
//# sourceMappingURL=A11yOrder.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"A11yOrder.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yOrder/A11yOrder.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,CAAC"}
|
|
@@ -1,19 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
pane = 1,
|
|
6
|
-
announce = 2
|
|
7
|
-
}
|
|
8
|
-
type PaneType = keyof typeof PaneEnum;
|
|
9
|
-
type A11yPaneTitleType = React.PropsWithChildren<{
|
|
10
|
-
title?: string;
|
|
11
|
-
detachMessage?: string;
|
|
12
|
-
type?: PaneType;
|
|
13
|
-
withFocusRestore?: boolean;
|
|
14
|
-
displayed?: boolean;
|
|
15
|
-
}>;
|
|
16
|
-
export declare const A11yPaneTitle: ({ title, detachMessage, type, children, displayed, withFocusRestore, }: ViewProps & A11yPaneTitleType) => React.JSX.Element | null;
|
|
17
|
-
export declare const A11yScreenChange: (props: Omit<A11yPaneTitleType, "type">) => React.JSX.Element;
|
|
18
|
-
export {};
|
|
2
|
+
import type { A11yPaneTitleProps, A11yScreenChangeProps } from './A11yPaneTitle.types';
|
|
3
|
+
export declare const A11yPaneTitle: ({ title, detachMessage, type, children, displayed, withFocusRestore, }: A11yPaneTitleProps) => React.JSX.Element | null;
|
|
4
|
+
export declare const A11yScreenChange: (props: A11yScreenChangeProps) => React.JSX.Element;
|
|
19
5
|
//# sourceMappingURL=A11yPaneTitle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yPaneTitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yPaneTitle/A11yPaneTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"A11yPaneTitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yPaneTitle/A11yPaneTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EACV,kBAAkB,EAElB,qBAAqB,EACtB,MAAM,uBAAuB,CAAC;AAQ/B,eAAO,MAAM,aAAa,GAAI,wEAO3B,kBAAkB,6BAYpB,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,sBAO5D,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Controls the native accessibility announcement mechanism.
|
|
4
|
+
*
|
|
5
|
+
* - `'pane'` — layout-changed notification with a title (default, use for panels/sheets)
|
|
6
|
+
* - `'activity'` — screen-change notification (use for full-screen transitions)
|
|
7
|
+
* - `'announce'` — plain announcement with no focus shift (use for status updates)
|
|
8
|
+
*/
|
|
9
|
+
export type A11yPaneType = 'activity' | 'pane' | 'announce';
|
|
10
|
+
/**
|
|
11
|
+
* Props for {@link A11y.PaneTitle} — announces a screen or panel transition to
|
|
12
|
+
* VoiceOver / TalkBack and optionally restores focus when the view unmounts.
|
|
13
|
+
*/
|
|
14
|
+
export type A11yPaneTitleProps = React.PropsWithChildren<{
|
|
15
|
+
/**
|
|
16
|
+
* The title announced to the screen reader when this component mounts.
|
|
17
|
+
*/
|
|
18
|
+
title?: string;
|
|
19
|
+
/**
|
|
20
|
+
* A message announced to the screen reader when this component unmounts.
|
|
21
|
+
* Use to signal the end of a flow, e.g. `"Modal closed"` or `"Drawer closed"`.
|
|
22
|
+
*/
|
|
23
|
+
detachMessage?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Controls the native announcement mechanism. Defaults to `'pane'`.
|
|
26
|
+
*
|
|
27
|
+
* - `'pane'` — layout-changed notification with a title (panels, sheets)
|
|
28
|
+
* - `'activity'` — screen-change notification (full-screen navigation)
|
|
29
|
+
* - `'announce'` — plain announcement with no focus shift (status updates)
|
|
30
|
+
*/
|
|
31
|
+
type?: A11yPaneType;
|
|
32
|
+
/**
|
|
33
|
+
* When `true`, VoiceOver / TalkBack restores focus to the previously focused
|
|
34
|
+
* element when this component unmounts.
|
|
35
|
+
*
|
|
36
|
+
* Defaults to `true`.
|
|
37
|
+
*/
|
|
38
|
+
withFocusRestore?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* When `false`, the component renders nothing and posts no announcement.
|
|
41
|
+
* Use this to conditionally suppress the view without unmounting its subtree.
|
|
42
|
+
*
|
|
43
|
+
* Defaults to `true`.
|
|
44
|
+
*/
|
|
45
|
+
displayed?: boolean;
|
|
46
|
+
}>;
|
|
47
|
+
/**
|
|
48
|
+
* Props for {@link A11y.ScreenChange} — shorthand for `A11y.PaneTitle` with
|
|
49
|
+
* `type="activity"` pre-set for full-screen navigation transitions.
|
|
50
|
+
*/
|
|
51
|
+
export type A11yScreenChangeProps = Omit<A11yPaneTitleProps, 'type'>;
|
|
52
|
+
//# sourceMappingURL=A11yPaneTitle.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"A11yPaneTitle.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yPaneTitle/A11yPaneTitle.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,MAAM,GAAG,UAAU,CAAC;AAE5D;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IACvD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IAEpB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC"}
|