react-native-a11y-order 0.9.1 → 0.11.0-alpha.0
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.
Potentially problematic release.
This version of react-native-a11y-order might be problematic. Click here for more details.
- package/README.md +35 -345
- package/android/src/main/java/com/a11yorder/A11yOrderPackage.java +2 -6
- package/android/src/main/java/com/a11yorder/core/A11yAutoFocusView.java +61 -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/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 +27 -0
- package/android/src/newarch/A11yCardViewManagerSpec.java +9 -0
- package/android/src/oldarch/A11yCardViewManagerSpec.java +8 -0
- package/android/src/oldarch/A11yIndexViewManagerSpec.java +9 -0
- package/ios/helpers/RNAOFabricEventHelper/RNAOFabricEventHelper.mm +5 -5
- 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 +27 -127
- package/ios/views/RNAOA11yIndexView/RNAOA11yIndexViewManager.mm +21 -0
- package/ios/views/base/RNAOA11yAutoFocusView.h +30 -0
- package/ios/views/{RNAOA11yView/RNAOA11yView.mm → base/RNAOA11yAutoFocusView.mm} +66 -168
- package/ios/views/base/RNAOA11yGroupChildrenView.h +21 -0
- package/ios/views/base/RNAOA11yGroupChildrenView.mm +19 -0
- 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 +17 -8
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +10 -4
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/nativeSpecs/{A11yGroupNativeComponent.ts → A11yCardNativeComponent.ts} +3 -3
- package/lib/commonjs/nativeSpecs/A11yIndexNativeComponent.ts +12 -3
- 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 +12 -8
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +4 -4
- package/lib/module/index.web.js.map +1 -1
- package/{src/nativeSpecs/A11yGroupNativeComponent.ts → lib/module/nativeSpecs/A11yCardNativeComponent.ts} +3 -3
- package/lib/module/nativeSpecs/A11yIndexNativeComponent.ts +12 -3
- 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 +14 -0
- package/lib/typescript/src/components/A11yCard/A11yCard.types.d.ts.map +1 -0
- package/lib/typescript/src/components/A11yIndex/A11yIndex.d.ts +15 -10
- package/lib/typescript/src/components/A11yIndex/A11yIndex.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yIndex/A11yIndex.types.d.ts +83 -0
- package/lib/typescript/src/components/A11yIndex/A11yIndex.types.d.ts.map +1 -0
- package/lib/typescript/src/components/A11yIndex/A11yIndex.web.d.ts +14 -10
- 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 +31 -0
- package/lib/typescript/src/components/A11yLock/A11yLock.types.d.ts.map +1 -0
- package/lib/typescript/src/components/{A11ySequence/A11ySequence.d.ts → A11yOrder/A11yOrder.d.ts} +4 -2
- 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 +43 -0
- package/lib/typescript/src/components/A11yPaneTitle/A11yPaneTitle.types.d.ts.map +1 -0
- package/lib/typescript/src/components/A11yView/A11yView.d.ts +13 -6
- 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 +32 -36
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/index.web.d.ts +22 -22
- package/lib/typescript/src/index.web.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/A11yCardNativeComponent.d.ts +8 -0
- package/lib/typescript/src/nativeSpecs/A11yCardNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/nativeSpecs/A11yIndexNativeComponent.d.ts +10 -3
- package/lib/typescript/src/nativeSpecs/A11yIndexNativeComponent.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 +39 -0
- package/src/components/A11yIndex/A11yIndex.tsx +144 -52
- package/src/components/A11yIndex/A11yIndex.types.ts +102 -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 +34 -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 +49 -0
- package/src/components/A11yView/A11yView.tsx +8 -63
- package/src/components/A11yView/A11yView.types.ts +11 -0
- package/src/index.ts +26 -19
- package/src/index.web.ts +6 -13
- package/{lib/module/nativeSpecs/A11yGroupNativeComponent.ts → src/nativeSpecs/A11yCardNativeComponent.ts} +3 -3
- package/src/nativeSpecs/A11yIndexNativeComponent.ts +12 -3
- 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.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
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
package com.a11yorder;
|
|
2
|
-
|
|
3
|
-
import android.view.ViewGroup;
|
|
4
|
-
|
|
5
|
-
import com.facebook.react.uimanager.ViewGroupManager;
|
|
6
|
-
|
|
7
|
-
public abstract class A11yUIContainerViewManagerSpec<T extends ViewGroup> extends ViewGroupManager<T> {
|
|
8
|
-
public abstract void setContainerType(ViewGroup view, int value);
|
|
9
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
package com.a11yorder;
|
|
2
|
-
|
|
3
|
-
import com.a11yorder.views.A11yView.A11yView;
|
|
4
|
-
import com.facebook.react.bridge.ReadableArray;
|
|
5
|
-
import com.facebook.react.views.view.ReactViewManager;
|
|
6
|
-
|
|
7
|
-
import javax.annotation.Nullable;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
public abstract class A11yViewSpec<T extends A11yView> extends ReactViewManager {
|
|
11
|
-
public abstract void setAutoFocus(T view, boolean value);
|
|
12
|
-
|
|
13
|
-
public abstract void focus(T view);
|
|
14
|
-
|
|
15
|
-
public abstract void receiveCommand(T view, String commandId, @Nullable ReadableArray args);
|
|
16
|
-
|
|
17
|
-
public abstract void setDescendantFocusChangedEnabled(A11yView view, boolean value);
|
|
18
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RNAOA11yGroupView.h
|
|
3
|
-
// A11yOrder
|
|
4
|
-
//
|
|
5
|
-
// Created by Artur Kalach on 13/07/2024.
|
|
6
|
-
// Copyright © 2024 Facebook. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#ifndef RNAOA11yGroupView_h
|
|
10
|
-
#define RNAOA11yGroupView_h
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
#import <UIKit/UIKit.h>
|
|
14
|
-
#import <React/RCTUITextField.h>
|
|
15
|
-
|
|
16
|
-
#ifdef RCT_NEW_ARCH_ENABLED
|
|
17
|
-
#import <React/RCTViewComponentView.h>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
NS_ASSUME_NONNULL_BEGIN
|
|
21
|
-
|
|
22
|
-
@interface RNAOA11yGroupView : RCTViewComponentView
|
|
23
|
-
@end
|
|
24
|
-
|
|
25
|
-
NS_ASSUME_NONNULL_END
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
#else /* RCT_NEW_ARCH_ENABLED */
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
#import <React/RCTView.h>
|
|
32
|
-
@interface RNAOA11yGroupView : RCTView
|
|
33
|
-
@end
|
|
34
|
-
|
|
35
|
-
#endif
|
|
36
|
-
|
|
37
|
-
#endif /* RNAOA11yGroupView_h */
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RNAOA11yGroupView.m
|
|
3
|
-
// A11yOrder
|
|
4
|
-
//
|
|
5
|
-
// Created by Artur Kalach on 13/07/2024.
|
|
6
|
-
// Copyright © 2024 Facebook. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
#import <Foundation/Foundation.h>
|
|
11
|
-
|
|
12
|
-
#import "RNAOA11yGroupView.h"
|
|
13
|
-
#import <UIKit/UIKit.h>
|
|
14
|
-
#import <React/RCTViewManager.h>
|
|
15
|
-
|
|
16
|
-
#ifdef RCT_NEW_ARCH_ENABLED
|
|
17
|
-
|
|
18
|
-
#include <string>
|
|
19
|
-
#import <react/renderer/components/RNA11yOrderSpec/ComponentDescriptors.h>
|
|
20
|
-
#import <react/renderer/components/RNA11yOrderSpec/EventEmitters.h>
|
|
21
|
-
#import <react/renderer/components/RNA11yOrderSpec/Props.h>
|
|
22
|
-
#import <react/renderer/components/RNA11yOrderSpec/RCTComponentViewHelpers.h>
|
|
23
|
-
|
|
24
|
-
#import "RCTFabricComponentsPlugins.h"
|
|
25
|
-
|
|
26
|
-
using namespace facebook::react;
|
|
27
|
-
|
|
28
|
-
@interface RNAOA11yGroupView () <RCTA11yGroupViewViewProtocol>
|
|
29
|
-
|
|
30
|
-
@end
|
|
31
|
-
|
|
32
|
-
#endif
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
@implementation RNAOA11yGroupView
|
|
37
|
-
|
|
38
|
-
- (BOOL)shouldGroupAccessibilityChildren
|
|
39
|
-
{
|
|
40
|
-
return YES;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
#ifdef RCT_NEW_ARCH_ENABLED
|
|
44
|
-
+ (ComponentDescriptorProvider)componentDescriptorProvider
|
|
45
|
-
{
|
|
46
|
-
return concreteComponentDescriptorProvider<A11yGroupViewComponentDescriptor>();
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
- (instancetype)initWithFrame:(CGRect)frame
|
|
50
|
-
{
|
|
51
|
-
if (self = [super initWithFrame:frame]) {
|
|
52
|
-
static const auto defaultProps = std::make_shared<const A11yGroupViewProps>();
|
|
53
|
-
_props = defaultProps;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
return self;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
Class<RCTComponentViewProtocol> A11yGroupViewCls(void)
|
|
61
|
-
{
|
|
62
|
-
return RNAOA11yGroupView.class;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
#endif
|
|
66
|
-
|
|
67
|
-
@end
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RNAOA11yGroupViewManager.h
|
|
3
|
-
// A11yOrder
|
|
4
|
-
//
|
|
5
|
-
// Created by Artur Kalach on 13/07/2024.
|
|
6
|
-
// Copyright © 2024 Facebook. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#ifndef RNAOA11yGroupViewManager_h
|
|
10
|
-
#define RNAOA11yGroupViewManager_h
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
#import <React/RCTViewManager.h>
|
|
14
|
-
@interface RNAOA11yGroupViewManager : RCTViewManager
|
|
15
|
-
@end
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
#endif /* RNAOA11yGroupViewManager_h */
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RNAOA11yGroupViewManager.m
|
|
3
|
-
// A11yOrder
|
|
4
|
-
//
|
|
5
|
-
// Created by Artur Kalach on 13/07/2024.
|
|
6
|
-
// Copyright © 2024 Facebook. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
#import <React/RCTViewManager.h>
|
|
12
|
-
#import <React/RCTUIManager.h>
|
|
13
|
-
#import "RNAOA11yGroupViewManager.h"
|
|
14
|
-
#import "RNAOA11yGroupView.h"
|
|
15
|
-
|
|
16
|
-
@implementation RNAOA11yGroupViewManager
|
|
17
|
-
|
|
18
|
-
RCT_EXPORT_MODULE(A11yGroupView)
|
|
19
|
-
|
|
20
|
-
- (UIView *)view
|
|
21
|
-
{
|
|
22
|
-
return [[RNAOA11yGroupView alloc] init];
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@end
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RNAOA11yUIContainerView.h
|
|
3
|
-
// A11yOrder
|
|
4
|
-
//
|
|
5
|
-
// Created by Artur Kalach on 17/07/2025.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#ifndef RNAOA11yUIContainerView_h
|
|
9
|
-
#define RNAOA11yUIContainerView_h
|
|
10
|
-
|
|
11
|
-
#import <UIKit/UIKit.h>
|
|
12
|
-
|
|
13
|
-
#ifdef RCT_NEW_ARCH_ENABLED
|
|
14
|
-
#import <React/RCTViewComponentView.h>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
NS_ASSUME_NONNULL_BEGIN
|
|
18
|
-
|
|
19
|
-
@interface RNAOA11yUIContainerView : RCTViewComponentView
|
|
20
|
-
@end
|
|
21
|
-
|
|
22
|
-
NS_ASSUME_NONNULL_END
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
#else /* RCT_NEW_ARCH_ENABLED */
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
#import <React/RCTView.h>
|
|
29
|
-
@interface RNAOA11yUIContainerView : RCTView
|
|
30
|
-
|
|
31
|
-
@end
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
#endif /* RCT_NEW_ARCH_ENABLED */
|
|
35
|
-
#endif /* RNAOA11yUIContainerView_h */
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RNAOA11yUIContainerView.m
|
|
3
|
-
// RNAOA11yUIContainerView
|
|
4
|
-
//
|
|
5
|
-
// Created by Artur Kalach on 17/07/2025.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
#import "RNAOA11yUIContainerView.h"
|
|
12
|
-
#import <UIKit/UIKit.h>
|
|
13
|
-
|
|
14
|
-
#ifdef RCT_NEW_ARCH_ENABLED
|
|
15
|
-
|
|
16
|
-
#include <string>
|
|
17
|
-
#import <react/renderer/components/RNA11yOrderSpec/ComponentDescriptors.h>
|
|
18
|
-
#import <react/renderer/components/RNA11yOrderSpec/EventEmitters.h>
|
|
19
|
-
#import <react/renderer/components/RNA11yOrderSpec/Props.h>
|
|
20
|
-
#import <react/renderer/components/RNA11yOrderSpec/RCTComponentViewHelpers.h>
|
|
21
|
-
|
|
22
|
-
#import "RCTFabricComponentsPlugins.h"
|
|
23
|
-
|
|
24
|
-
using namespace facebook::react;
|
|
25
|
-
|
|
26
|
-
@interface RNAOA11yUIContainerView () <RCTA11yUIContainerViewProtocol>
|
|
27
|
-
|
|
28
|
-
@end
|
|
29
|
-
|
|
30
|
-
#endif
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
@implementation RNAOA11yUIContainerView
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
#ifdef RCT_NEW_ARCH_ENABLED
|
|
38
|
-
+ (ComponentDescriptorProvider)componentDescriptorProvider
|
|
39
|
-
{
|
|
40
|
-
return concreteComponentDescriptorProvider<A11yUIContainerComponentDescriptor>();
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
- (instancetype)initWithFrame:(CGRect)frame
|
|
44
|
-
{
|
|
45
|
-
if (self = [super initWithFrame:frame]) {
|
|
46
|
-
static const auto defaultProps = std::make_shared<const A11yUIContainerProps>();
|
|
47
|
-
_props = defaultProps;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
return self;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
- (void)updateProps:(Props::Shared const &)props oldProps:(Props::Shared const &)oldProps
|
|
54
|
-
{
|
|
55
|
-
const auto &oldViewProps = *std::static_pointer_cast<A11yUIContainerProps const>(_props);
|
|
56
|
-
const auto &newViewProps = *std::static_pointer_cast<A11yUIContainerProps const>(props);
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
if (oldViewProps.containerType != newViewProps.containerType) {
|
|
60
|
-
NSInteger containerType = newViewProps.containerType;
|
|
61
|
-
self.accessibilityContainerType = (UIAccessibilityContainerType)containerType;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
[super updateProps:props oldProps:oldProps];
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
Class<RCTComponentViewProtocol> A11yUIContainerCls(void)
|
|
69
|
-
{
|
|
70
|
-
return RNAOA11yUIContainerView.class;
|
|
71
|
-
}
|
|
72
|
-
#else
|
|
73
|
-
- (BOOL)shouldGroupAccessibilityChildren
|
|
74
|
-
{
|
|
75
|
-
return YES;
|
|
76
|
-
}
|
|
77
|
-
#endif
|
|
78
|
-
|
|
79
|
-
@end
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RNAOA11yUIContainerViewManager_h.h
|
|
3
|
-
// Pods
|
|
4
|
-
//
|
|
5
|
-
// Created by Artur Kalach on 17/07/2025.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#ifndef RNAOA11yUIContainerViewManager_h
|
|
9
|
-
#define RNAOA11yUIContainerViewManager_h
|
|
10
|
-
|
|
11
|
-
#import <React/RCTViewManager.h>
|
|
12
|
-
#import <React/RCTUIManager.h>
|
|
13
|
-
|
|
14
|
-
@interface RNAOA11yUIContainerViewManager : RCTViewManager
|
|
15
|
-
@end
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
#endif /* RNAOA11yUIContainerViewManager_h */
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RNAOA11yUIContainerViewManager.m
|
|
3
|
-
// react-native-a11y-order
|
|
4
|
-
//
|
|
5
|
-
// Created by Artur Kalach on 17/07/2025.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import <Foundation/Foundation.h>
|
|
9
|
-
#import "RNAOA11yUIContainerViewManager.h"
|
|
10
|
-
#import "RNAOA11yUIContainerView.h"
|
|
11
|
-
|
|
12
|
-
@implementation RNAOA11yUIContainerViewManager
|
|
13
|
-
|
|
14
|
-
RCT_EXPORT_MODULE(A11yUIContainer)
|
|
15
|
-
|
|
16
|
-
- (UIView *)view
|
|
17
|
-
{
|
|
18
|
-
return [[RNAOA11yUIContainerView alloc] init];
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
RCT_CUSTOM_VIEW_PROPERTY(containerType, NSInteger, UIView)
|
|
22
|
-
{
|
|
23
|
-
NSInteger viewContainerType = json ? [RCTConvert NSInteger:json] : 0;
|
|
24
|
-
view.accessibilityContainerType = (UIAccessibilityContainerType)viewContainerType;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@end
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RNAOA11yView.h
|
|
3
|
-
// Pods
|
|
4
|
-
//
|
|
5
|
-
// Created by Artur Kalach on 17/08/2025.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#ifndef RNAOA11yView_h
|
|
9
|
-
#define RNAOA11yView_h
|
|
10
|
-
|
|
11
|
-
#import <UIKit/UIKit.h>
|
|
12
|
-
#import "RNAOScreenReaderFocusDelegate.h"
|
|
13
|
-
#import "RNAOViewItemProtocol.h"
|
|
14
|
-
#import "RNAOA11yFocusService.h"
|
|
15
|
-
|
|
16
|
-
#ifdef RCT_NEW_ARCH_ENABLED
|
|
17
|
-
#import <React/RCTViewComponentView.h>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
NS_ASSUME_NONNULL_BEGIN
|
|
21
|
-
|
|
22
|
-
@interface RNAOA11yView : RCTViewComponentView<RNAOScreenReaderFocusDelegate, RNAOViewItemProtocol, RNAOA11yFocusServiceSubscriber>
|
|
23
|
-
@property BOOL autoFocus;
|
|
24
|
-
@property BOOL descendantFocusChangedEnabled;
|
|
25
|
-
@end
|
|
26
|
-
|
|
27
|
-
NS_ASSUME_NONNULL_END
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
#else /* RCT_NEW_ARCH_ENABLED */
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
#import <React/RCTView.h>
|
|
34
|
-
@interface RNAOA11yView : RCTView<RNAOScreenReaderFocusDelegate, RNAOViewItemProtocol, RNAOA11yFocusServiceSubscriber>
|
|
35
|
-
@property BOOL autoFocus;
|
|
36
|
-
@property BOOL descendantFocusChangedEnabled;
|
|
37
|
-
|
|
38
|
-
@property (nonatomic, copy) RCTDirectEventBlock onScreenReaderDescendantFocusChanged;
|
|
39
|
-
@property (nonatomic, copy) RCTDirectEventBlock onScreenReaderFocusChange;
|
|
40
|
-
@property (nonatomic, copy) RCTDirectEventBlock onScreenReaderFocused;
|
|
41
|
-
@end
|
|
42
|
-
|
|
43
|
-
#endif
|
|
44
|
-
|
|
45
|
-
#endif /* RNAOA11yView_h */
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RNAOA11yViewManager.h
|
|
3
|
-
// Pods
|
|
4
|
-
//
|
|
5
|
-
// Created by Artur Kalach on 17/08/2025.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#ifndef RNAOA11yViewManager_h
|
|
9
|
-
#define RNAOA11yViewManager_h
|
|
10
|
-
|
|
11
|
-
@interface RNAOA11yViewManager : RCTViewManager
|
|
12
|
-
@end
|
|
13
|
-
|
|
14
|
-
#endif /* RNAOA11yViewManager_h */
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RNAOA11yViewManager.m
|
|
3
|
-
// boost-boost_privacy
|
|
4
|
-
//
|
|
5
|
-
// Created by Artur Kalach on 17/08/2025.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import <Foundation/Foundation.h>
|
|
9
|
-
|
|
10
|
-
#import <React/RCTViewManager.h>
|
|
11
|
-
#import <React/RCTUIManager.h>
|
|
12
|
-
#import "RNAOA11yView.h"
|
|
13
|
-
#import "RNAOA11yViewManager.h"
|
|
14
|
-
|
|
15
|
-
@implementation RNAOA11yViewManager
|
|
16
|
-
|
|
17
|
-
RCT_EXPORT_MODULE(A11yView)
|
|
18
|
-
|
|
19
|
-
- (UIView *)view
|
|
20
|
-
{
|
|
21
|
-
return [[RNAOA11yView alloc] init];
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
RCT_EXPORT_METHOD(focus:(nonnull NSNumber *)reactTag)
|
|
25
|
-
{
|
|
26
|
-
[self.bridge.uiManager addUIBlock:^(RCTUIManager *uiManager, NSDictionary<NSNumber *,UIView *> *viewRegistry) {
|
|
27
|
-
UIView *view = viewRegistry[reactTag];
|
|
28
|
-
if (!view || ![view isKindOfClass:[UIView class]]) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
UIAccessibilityPostNotification(UIAccessibilityLayoutChangedNotification, view);
|
|
33
|
-
}];
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
RCT_CUSTOM_VIEW_PROPERTY(autoFocus, BOOL, RNAOA11yView)
|
|
37
|
-
{
|
|
38
|
-
BOOL value = json ? [RCTConvert BOOL:json] : NO;
|
|
39
|
-
[view setAutoFocus: value];
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
RCT_CUSTOM_VIEW_PROPERTY(descendantFocusChangedEnabled, BOOL, RNAOA11yView)
|
|
43
|
-
{
|
|
44
|
-
BOOL value = json ? [RCTConvert BOOL:json] : NO;
|
|
45
|
-
[view setDescendantFocusChangedEnabled: value];
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
RCT_EXPORT_VIEW_PROPERTY(onScreenReaderFocused, RCTDirectEventBlock)
|
|
49
|
-
RCT_EXPORT_VIEW_PROPERTY(onScreenReaderFocusChange, RCTDirectEventBlock)
|
|
50
|
-
RCT_EXPORT_VIEW_PROPERTY(onScreenReaderDescendantFocusChanged, RCTDirectEventBlock)
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
@end
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.A11yGroup = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
const A11yGroup = props => {
|
|
12
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
13
|
-
collapsable: false,
|
|
14
|
-
...props
|
|
15
|
-
});
|
|
16
|
-
};
|
|
17
|
-
exports.A11yGroup = A11yGroup;
|
|
18
|
-
//# sourceMappingURL=A11yGroup.android.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_jsxRuntime","e","__esModule","default","A11yGroup","props","jsx","View","collapsable","exports"],"sourceRoot":"../../../../src","sources":["components/A11yGroup/A11yGroup.android.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAAoC,IAAAE,WAAA,GAAAF,OAAA;AAAA,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAI7B,MAAMG,SAAS,GAAIC,KAAqB,IAAK;EAClD,oBAAO,IAAAL,WAAA,CAAAM,GAAA,EAACP,YAAA,CAAAQ,IAAI;IAACC,WAAW,EAAE,KAAM;IAAA,GAAKH;EAAK,CAAG,CAAC;AAChD,CAAC;AAACI,OAAA,CAAAL,SAAA,GAAAA,SAAA","ignoreList":[]}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.A11yGroup = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _A11yUIContainer = require("../A11yUIContainer/A11yUIContainer");
|
|
9
|
-
var _A11yGroupNativeComponent = _interopRequireDefault(require("../../nativeSpecs/A11yGroupNativeComponent"));
|
|
10
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
-
const A11yGroup = props => {
|
|
13
|
-
if (props.type === 'legacy') {
|
|
14
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_A11yGroupNativeComponent.default, {
|
|
15
|
-
...props
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_A11yUIContainer.A11yUIContainer, {
|
|
19
|
-
...props,
|
|
20
|
-
type: props.type ?? 'none'
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
exports.A11yGroup = A11yGroup;
|
|
24
|
-
//# sourceMappingURL=A11yGroup.ios.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_A11yUIContainer","_A11yGroupNativeComponent","_jsxRuntime","e","__esModule","default","A11yGroup","props","type","jsx","A11yUIContainer","exports"],"sourceRoot":"../../../../src","sources":["components/A11yGroup/A11yGroup.ios.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAD,OAAA;AAEA,IAAAE,yBAAA,GAAAH,sBAAA,CAAAC,OAAA;AAA2E,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEpE,MAAMG,SAAS,GAAIC,KAAqB,IAAK;EAClD,IAAIA,KAAK,CAACC,IAAI,KAAK,QAAQ,EAAE;IAC3B,oBAAO,IAAAN,WAAA,CAAAO,GAAA,EAACR,yBAAA,CAAAI,OAAiB;MAAA,GAAKE;IAAK,CAAG,CAAC;EACzC;EACA,oBAAO,IAAAL,WAAA,CAAAO,GAAA,EAACT,gBAAA,CAAAU,eAAe;IAAA,GAAKH,KAAK;IAAEC,IAAI,EAAED,KAAK,CAACC,IAAI,IAAI;EAAO,CAAE,CAAC;AACnE,CAAC;AAACG,OAAA,CAAAL,SAAA,GAAAA,SAAA","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","A11yGroup","exports","View"],"sourceRoot":"../../../../src","sources":["components/A11yGroup/A11yGroup.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAGO,MAAMC,SAAS,GAAAC,OAAA,CAAAD,SAAA,GACpBE,iBAAwD","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_A11ySequenceOrderContext","_A11yOrderNativeComponent","_jsxRuntime","e","__esModule","default","A11yIndexSequence","exports","React","memo","props","orderKey","useId","jsx","A11ySequenceOrderContext","Provider","value","children"],"sourceRoot":"../../../../src","sources":["components/A11ySequence/A11ySequence.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,yBAAA,GAAAD,OAAA;AACA,IAAAE,yBAAA,GAAAH,sBAAA,CAAAC,OAAA;AAAkF,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE3E,MAAMG,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,gBAAGE,cAAK,CAACC,IAAI,CAAaC,KAAK,IAAK;EAChE,MAAMC,QAAQ,GAAGH,cAAK,CAACI,KAAK,CAAC,CAAC;EAC9B,oBACE,IAAAV,WAAA,CAAAW,GAAA,EAACb,yBAAA,CAAAc,wBAAwB,CAACC,QAAQ;IAACC,KAAK,EAAEL,QAAS;IAAAM,QAAA,eACjD,IAAAf,WAAA,CAAAW,GAAA,EAACZ,yBAAA,CAAAI,OAAwB;MAAA,GAAKK,KAAK;MAAEC,QAAQ,EAAEA;IAAS,CAAE;EAAC,CAC1B,CAAC;AAExC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.A11yUIContainer = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _A11yUIContainerNativeComponent = _interopRequireDefault(require("../../nativeSpecs/A11yUIContainerNativeComponent"));
|
|
9
|
-
var _A11yUIContainerView = require("../../types/A11yUIContainerView.types");
|
|
10
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
-
const A11yUIContainer = exports.A11yUIContainer = /*#__PURE__*/_react.default.memo(({
|
|
13
|
-
type = 'group',
|
|
14
|
-
...props
|
|
15
|
-
}) => {
|
|
16
|
-
const containerTypeValue = _A11yUIContainerView.A11yContainerTypeEnum[type];
|
|
17
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_A11yUIContainerNativeComponent.default, {
|
|
18
|
-
containerType: containerTypeValue,
|
|
19
|
-
...props
|
|
20
|
-
});
|
|
21
|
-
});
|
|
22
|
-
//# sourceMappingURL=A11yUIContainer.ios.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_A11yUIContainerNativeComponent","_A11yUIContainerView","_jsxRuntime","e","__esModule","default","A11yUIContainer","exports","React","memo","type","props","containerTypeValue","A11yContainerTypeEnum","jsx","containerType"],"sourceRoot":"../../../../src","sources":["components/A11yUIContainer/A11yUIContainer.ios.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,+BAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,oBAAA,GAAAF,OAAA;AAG+C,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAExC,MAAMG,eAAe,GAAAC,OAAA,CAAAD,eAAA,gBAAGE,cAAK,CAACC,IAAI,CACvC,CAAC;EAAEC,IAAI,GAAG,OAAO;EAAE,GAAGC;AAAM,CAAC,KAAK;EAChC,MAAMC,kBAAkB,GAAGC,0CAAqB,CAACH,IAAI,CAAC;EAEtD,oBACE,IAAAR,WAAA,CAAAY,GAAA,EAACd,+BAAA,CAAAK,OAAyB;IACxBU,aAAa,EAAEH,kBAAmB;IAAA,GAC9BD;EAAK,CACV,CAAC;AAEN,CACF,CAAC","ignoreList":[]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.A11yUIContainer = void 0;
|
|
7
|
-
var _reactNative = require("react-native");
|
|
8
|
-
const A11yUIContainer = exports.A11yUIContainer = _reactNative.View;
|
|
9
|
-
//# sourceMappingURL=A11yUIContainer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","A11yUIContainer","exports","View"],"sourceRoot":"../../../../src","sources":["components/A11yUIContainer/A11yUIContainer.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAGO,MAAMC,eAAe,GAAAC,OAAA,CAAAD,eAAA,GAC1BE,iBAA8D","ignoreList":[]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ViewProps } from 'react-native';
|
|
2
|
-
import type { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
-
// eslint-disable-next-line @react-native/no-deep-imports
|
|
4
|
-
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
5
|
-
|
|
6
|
-
export interface A11yUIContainerNativeComponentProps extends ViewProps {
|
|
7
|
-
containerType?: Int32;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export default codegenNativeComponent<A11yUIContainerNativeComponentProps>(
|
|
11
|
-
'A11yUIContainer'
|
|
12
|
-
);
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { ComponentType } from 'react';
|
|
2
|
-
import type { ViewProps } from 'react-native';
|
|
3
|
-
import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
|
|
4
|
-
// eslint-disable-next-line @react-native/no-deep-imports
|
|
5
|
-
import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
|
|
6
|
-
// eslint-disable-next-line @react-native/no-deep-imports
|
|
7
|
-
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
8
|
-
|
|
9
|
-
export type ScreenReaderFocusChange = Readonly<{
|
|
10
|
-
isFocused: boolean;
|
|
11
|
-
}>;
|
|
12
|
-
|
|
13
|
-
export type ScreenReaderDescendantFocusChanged = Readonly<{
|
|
14
|
-
status: string;
|
|
15
|
-
nativeId?: string;
|
|
16
|
-
}>;
|
|
17
|
-
|
|
18
|
-
export interface A11yViewProps extends ViewProps {
|
|
19
|
-
autoFocus?: boolean;
|
|
20
|
-
descendantFocusChangedEnabled?: boolean;
|
|
21
|
-
|
|
22
|
-
onScreenReaderFocused?: DirectEventHandler<{}>;
|
|
23
|
-
onScreenReaderDescendantFocusChanged?: DirectEventHandler<ScreenReaderDescendantFocusChanged>;
|
|
24
|
-
onScreenReaderFocusChange?: DirectEventHandler<ScreenReaderFocusChange>;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface NativeCommands {
|
|
28
|
-
// @ts-ignore
|
|
29
|
-
focus: (viewRef: React.ElementRef<ComponentType>) => void;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export const Commands: NativeCommands = codegenNativeCommands<NativeCommands>({
|
|
33
|
-
supportedCommands: ['focus'],
|
|
34
|
-
});
|
|
35
|
-
|
|
36
|
-
export default codegenNativeComponent<A11yViewProps>('A11yView');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/A11yGroup.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.A11yOrderTypeEnum = void 0;
|
|
7
|
-
let A11yOrderTypeEnum = exports.A11yOrderTypeEnum = /*#__PURE__*/function (A11yOrderTypeEnum) {
|
|
8
|
-
A11yOrderTypeEnum[A11yOrderTypeEnum["default"] = 0] = "default";
|
|
9
|
-
A11yOrderTypeEnum[A11yOrderTypeEnum["child"] = 1] = "child";
|
|
10
|
-
A11yOrderTypeEnum[A11yOrderTypeEnum["legacy"] = 2] = "legacy";
|
|
11
|
-
return A11yOrderTypeEnum;
|
|
12
|
-
}({});
|
|
13
|
-
//# sourceMappingURL=A11yIndex.types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["A11yOrderTypeEnum","exports"],"sourceRoot":"../../../src","sources":["types/A11yIndex.types.ts"],"mappings":";;;;;;IAIYA,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,0BAAjBA,iBAAiB;EAAjBA,iBAAiB,CAAjBA,iBAAiB;EAAjBA,iBAAiB,CAAjBA,iBAAiB;EAAjBA,iBAAiB,CAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/A11yLock.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/A11yModule.types.ts"],"mappings":"","ignoreList":[]}
|