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.

Files changed (268) hide show
  1. package/README.md +35 -345
  2. package/android/src/main/java/com/a11yorder/A11yOrderPackage.java +2 -6
  3. package/android/src/main/java/com/a11yorder/core/A11yAutoFocusView.java +61 -0
  4. package/android/src/main/java/com/a11yorder/{views/A11yView/A11yView.java → core/A11yScreenReaderView.java} +3 -45
  5. package/android/src/main/java/com/a11yorder/core/A11yViewOrder.java +37 -0
  6. package/android/src/main/java/com/a11yorder/views/A11yCardView/A11yCardViewManager.java +18 -0
  7. package/android/src/main/java/com/a11yorder/views/A11yIndexView/A11yIndexView.java +2 -65
  8. package/android/src/main/java/com/a11yorder/views/A11yIndexView/A11yIndexViewManager.java +27 -0
  9. package/android/src/newarch/A11yCardViewManagerSpec.java +9 -0
  10. package/android/src/oldarch/A11yCardViewManagerSpec.java +8 -0
  11. package/android/src/oldarch/A11yIndexViewManagerSpec.java +9 -0
  12. package/ios/helpers/RNAOFabricEventHelper/RNAOFabricEventHelper.mm +5 -5
  13. package/ios/views/RNAOA11yCardView/RNAOA11yCardView.h +29 -0
  14. package/ios/views/RNAOA11yCardView/RNAOA11yCardView.mm +83 -0
  15. package/ios/views/RNAOA11yCardView/RNAOA11yCardViewManager.h +14 -0
  16. package/ios/views/RNAOA11yCardView/RNAOA11yCardViewManager.mm +17 -0
  17. package/ios/views/RNAOA11yIndexView/RNAOA11yIndexView.h +2 -41
  18. package/ios/views/RNAOA11yIndexView/RNAOA11yIndexView.mm +27 -127
  19. package/ios/views/RNAOA11yIndexView/RNAOA11yIndexViewManager.mm +21 -0
  20. package/ios/views/base/RNAOA11yAutoFocusView.h +30 -0
  21. package/ios/views/{RNAOA11yView/RNAOA11yView.mm → base/RNAOA11yAutoFocusView.mm} +66 -168
  22. package/ios/views/base/RNAOA11yGroupChildrenView.h +21 -0
  23. package/ios/views/base/RNAOA11yGroupChildrenView.mm +19 -0
  24. package/ios/views/base/RNAOA11yScreenReaderView.h +24 -0
  25. package/ios/views/base/RNAOA11yScreenReaderView.mm +32 -0
  26. package/ios/views/base/RNAOA11yViewGroup.h +35 -0
  27. package/ios/views/base/RNAOA11yViewGroup.mm +46 -0
  28. package/ios/views/base/RNAOA11yViewOrder.h +40 -0
  29. package/ios/views/base/RNAOA11yViewOrder.mm +92 -0
  30. package/lib/commonjs/components/A11yCard/A11yCard.ios.js +49 -0
  31. package/lib/commonjs/components/A11yCard/A11yCard.ios.js.map +1 -0
  32. package/lib/commonjs/components/A11yCard/A11yCard.js +41 -0
  33. package/lib/commonjs/components/A11yCard/A11yCard.js.map +1 -0
  34. package/lib/commonjs/{types/A11yGroup.types.js → components/A11yCard/A11yCard.types.js} +1 -1
  35. package/lib/commonjs/components/A11yCard/A11yCard.types.js.map +1 -0
  36. package/lib/commonjs/components/A11yIndex/A11yIndex.js +88 -28
  37. package/lib/commonjs/components/A11yIndex/A11yIndex.js.map +1 -1
  38. package/lib/commonjs/components/A11yIndex/A11yIndex.types.js +39 -0
  39. package/lib/commonjs/components/A11yIndex/A11yIndex.types.js.map +1 -0
  40. package/lib/commonjs/components/A11yIndex/A11yIndex.web.js.map +1 -1
  41. package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js.map +1 -1
  42. package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js.map +1 -1
  43. package/lib/commonjs/components/A11yLock/A11yLock.types.js.map +1 -0
  44. package/lib/commonjs/components/{A11ySequence/A11ySequence.js → A11yOrder/A11yOrder.js} +3 -3
  45. package/lib/commonjs/components/A11yOrder/A11yOrder.js.map +1 -0
  46. package/lib/commonjs/{types/A11yModule.types.js → components/A11yOrder/A11yOrder.types.js} +1 -1
  47. package/lib/commonjs/components/A11yOrder/A11yOrder.types.js.map +1 -0
  48. package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.js +6 -7
  49. package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.js.map +1 -1
  50. package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.types.js +6 -0
  51. package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.types.js.map +1 -0
  52. package/lib/commonjs/components/A11yView/A11yView.js +7 -33
  53. package/lib/commonjs/components/A11yView/A11yView.js.map +1 -1
  54. package/lib/commonjs/components/A11yView/A11yView.types.js.map +1 -0
  55. package/lib/commonjs/index.js +17 -8
  56. package/lib/commonjs/index.js.map +1 -1
  57. package/lib/commonjs/index.web.js +10 -4
  58. package/lib/commonjs/index.web.js.map +1 -1
  59. package/lib/commonjs/nativeSpecs/{A11yGroupNativeComponent.ts → A11yCardNativeComponent.ts} +3 -3
  60. package/lib/commonjs/nativeSpecs/A11yIndexNativeComponent.ts +12 -3
  61. package/lib/module/components/A11yCard/A11yCard.ios.js +43 -0
  62. package/lib/module/components/A11yCard/A11yCard.ios.js.map +1 -0
  63. package/lib/module/components/A11yCard/A11yCard.js +35 -0
  64. package/lib/module/components/A11yCard/A11yCard.js.map +1 -0
  65. package/lib/module/components/A11yCard/A11yCard.types.js +4 -0
  66. package/lib/module/components/A11yCard/A11yCard.types.js.map +1 -0
  67. package/lib/module/components/A11yIndex/A11yIndex.js +88 -28
  68. package/lib/module/components/A11yIndex/A11yIndex.js.map +1 -1
  69. package/lib/module/components/A11yIndex/A11yIndex.types.js +35 -0
  70. package/lib/module/components/A11yIndex/A11yIndex.types.js.map +1 -0
  71. package/lib/module/components/A11yIndex/A11yIndex.web.js.map +1 -1
  72. package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js.map +1 -1
  73. package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js.map +1 -1
  74. package/lib/module/components/A11yLock/A11yLock.types.js.map +1 -0
  75. package/lib/module/components/{A11ySequence/A11ySequence.js → A11yOrder/A11yOrder.js} +2 -2
  76. package/lib/module/components/A11yOrder/A11yOrder.js.map +1 -0
  77. package/lib/module/components/A11yOrder/A11yOrder.types.js +4 -0
  78. package/lib/module/components/A11yOrder/A11yOrder.types.js.map +1 -0
  79. package/lib/module/components/A11yPaneTitle/A11yPaneTitle.js +6 -7
  80. package/lib/module/components/A11yPaneTitle/A11yPaneTitle.js.map +1 -1
  81. package/lib/module/components/A11yPaneTitle/A11yPaneTitle.types.js +4 -0
  82. package/lib/module/components/A11yPaneTitle/A11yPaneTitle.types.js.map +1 -0
  83. package/lib/module/components/A11yView/A11yView.js +7 -31
  84. package/lib/module/components/A11yView/A11yView.js.map +1 -1
  85. package/lib/module/components/A11yView/A11yView.types.js.map +1 -0
  86. package/lib/module/index.js +12 -8
  87. package/lib/module/index.js.map +1 -1
  88. package/lib/module/index.web.js +4 -4
  89. package/lib/module/index.web.js.map +1 -1
  90. package/{src/nativeSpecs/A11yGroupNativeComponent.ts → lib/module/nativeSpecs/A11yCardNativeComponent.ts} +3 -3
  91. package/lib/module/nativeSpecs/A11yIndexNativeComponent.ts +12 -3
  92. package/lib/typescript/src/components/A11yCard/A11yCard.d.ts +5 -0
  93. package/lib/typescript/src/components/A11yCard/A11yCard.d.ts.map +1 -0
  94. package/lib/typescript/src/components/A11yCard/A11yCard.ios.d.ts +5 -0
  95. package/lib/typescript/src/components/A11yCard/A11yCard.ios.d.ts.map +1 -0
  96. package/lib/typescript/src/components/A11yCard/A11yCard.types.d.ts +14 -0
  97. package/lib/typescript/src/components/A11yCard/A11yCard.types.d.ts.map +1 -0
  98. package/lib/typescript/src/components/A11yIndex/A11yIndex.d.ts +15 -10
  99. package/lib/typescript/src/components/A11yIndex/A11yIndex.d.ts.map +1 -1
  100. package/lib/typescript/src/components/A11yIndex/A11yIndex.types.d.ts +83 -0
  101. package/lib/typescript/src/components/A11yIndex/A11yIndex.types.d.ts.map +1 -0
  102. package/lib/typescript/src/components/A11yIndex/A11yIndex.web.d.ts +14 -10
  103. package/lib/typescript/src/components/A11yIndex/A11yIndex.web.d.ts.map +1 -1
  104. package/lib/typescript/src/components/A11yLock/A11yBaseLock/A11yBaseLock.d.ts +1 -1
  105. package/lib/typescript/src/components/A11yLock/A11yBaseLock/A11yBaseLock.d.ts.map +1 -1
  106. package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.d.ts +1 -1
  107. package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.d.ts.map +1 -1
  108. package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.d.ts +2 -2
  109. package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.d.ts.map +1 -1
  110. package/lib/typescript/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.d.ts +1 -1
  111. package/lib/typescript/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.d.ts.map +1 -1
  112. package/lib/typescript/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.d.ts +2 -2
  113. package/lib/typescript/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.d.ts.map +1 -1
  114. package/lib/typescript/src/components/A11yLock/A11yLock.types.d.ts +31 -0
  115. package/lib/typescript/src/components/A11yLock/A11yLock.types.d.ts.map +1 -0
  116. package/lib/typescript/src/components/{A11ySequence/A11ySequence.d.ts → A11yOrder/A11yOrder.d.ts} +4 -2
  117. package/lib/typescript/src/components/A11yOrder/A11yOrder.d.ts.map +1 -0
  118. package/lib/typescript/src/components/A11yOrder/A11yOrder.types.d.ts +11 -0
  119. package/lib/typescript/src/components/A11yOrder/A11yOrder.types.d.ts.map +1 -0
  120. package/lib/typescript/src/components/A11yPaneTitle/A11yPaneTitle.d.ts +3 -17
  121. package/lib/typescript/src/components/A11yPaneTitle/A11yPaneTitle.d.ts.map +1 -1
  122. package/lib/typescript/src/components/A11yPaneTitle/A11yPaneTitle.types.d.ts +43 -0
  123. package/lib/typescript/src/components/A11yPaneTitle/A11yPaneTitle.types.d.ts.map +1 -0
  124. package/lib/typescript/src/components/A11yView/A11yView.d.ts +13 -6
  125. package/lib/typescript/src/components/A11yView/A11yView.d.ts.map +1 -1
  126. package/lib/typescript/src/components/A11yView/A11yView.types.d.ts +10 -0
  127. package/lib/typescript/src/components/A11yView/A11yView.types.d.ts.map +1 -0
  128. package/lib/typescript/src/index.d.ts +32 -36
  129. package/lib/typescript/src/index.d.ts.map +1 -1
  130. package/lib/typescript/src/index.web.d.ts +22 -22
  131. package/lib/typescript/src/index.web.d.ts.map +1 -1
  132. package/lib/typescript/src/nativeSpecs/A11yCardNativeComponent.d.ts +8 -0
  133. package/lib/typescript/src/nativeSpecs/A11yCardNativeComponent.d.ts.map +1 -0
  134. package/lib/typescript/src/nativeSpecs/A11yIndexNativeComponent.d.ts +10 -3
  135. package/lib/typescript/src/nativeSpecs/A11yIndexNativeComponent.d.ts.map +1 -1
  136. package/package.json +12 -11
  137. package/src/components/A11yCard/A11yCard.ios.tsx +44 -0
  138. package/src/components/A11yCard/A11yCard.tsx +35 -0
  139. package/src/components/A11yCard/A11yCard.types.ts +39 -0
  140. package/src/components/A11yIndex/A11yIndex.tsx +144 -52
  141. package/src/components/A11yIndex/A11yIndex.types.ts +102 -0
  142. package/src/components/A11yIndex/A11yIndex.web.tsx +12 -17
  143. package/src/components/A11yLock/A11yBaseLock/A11yBaseLock.tsx +1 -1
  144. package/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.tsx +1 -1
  145. package/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.tsx +3 -2
  146. package/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.tsx +1 -1
  147. package/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.tsx +2 -2
  148. package/src/components/A11yLock/A11yLock.types.ts +34 -0
  149. package/src/components/{A11ySequence/A11ySequence.tsx → A11yOrder/A11yOrder.tsx} +4 -2
  150. package/src/components/A11yOrder/A11yOrder.types.ts +11 -0
  151. package/src/components/A11yPaneTitle/A11yPaneTitle.tsx +13 -19
  152. package/src/components/A11yPaneTitle/A11yPaneTitle.types.ts +49 -0
  153. package/src/components/A11yView/A11yView.tsx +8 -63
  154. package/src/components/A11yView/A11yView.types.ts +11 -0
  155. package/src/index.ts +26 -19
  156. package/src/index.web.ts +6 -13
  157. package/{lib/module/nativeSpecs/A11yGroupNativeComponent.ts → src/nativeSpecs/A11yCardNativeComponent.ts} +3 -3
  158. package/src/nativeSpecs/A11yIndexNativeComponent.ts +12 -3
  159. package/android/src/main/java/com/a11yorder/views/A11yGroupView/A11yGroupViewManager.java +0 -25
  160. package/android/src/main/java/com/a11yorder/views/A11yUIContainerView/A11yUIContainerViewManager.java +0 -30
  161. package/android/src/main/java/com/a11yorder/views/A11yView/A11yViewManager.java +0 -67
  162. package/android/src/newarch/A11yGroupViewManagerSpec.java +0 -9
  163. package/android/src/newarch/A11yUIContainerViewManagerSpec.java +0 -8
  164. package/android/src/newarch/A11yViewSpec.java +0 -13
  165. package/android/src/oldarch/A11yGroupViewManagerSpec.java +0 -8
  166. package/android/src/oldarch/A11yUIContainerViewManagerSpec.java +0 -9
  167. package/android/src/oldarch/A11yViewSpec.java +0 -18
  168. package/ios/views/RNAOA11yGroupView/RNAOA11yGroupView.h +0 -37
  169. package/ios/views/RNAOA11yGroupView/RNAOA11yGroupView.mm +0 -67
  170. package/ios/views/RNAOA11yGroupView/RNAOA11yGroupViewManager.h +0 -18
  171. package/ios/views/RNAOA11yGroupView/RNAOA11yGroupViewManager.mm +0 -25
  172. package/ios/views/RNAOA11yUIContainerView/RNAOA11yUIContainerView.h +0 -35
  173. package/ios/views/RNAOA11yUIContainerView/RNAOA11yUIContainerView.mm +0 -79
  174. package/ios/views/RNAOA11yUIContainerView/RNAOA11yUIContainerViewManager.h +0 -18
  175. package/ios/views/RNAOA11yUIContainerView/RNAOA11yUIContainerViewManager.mm +0 -27
  176. package/ios/views/RNAOA11yView/RNAOA11yView.h +0 -45
  177. package/ios/views/RNAOA11yView/RNAOA11yViewManager.h +0 -14
  178. package/ios/views/RNAOA11yView/RNAOA11yViewManager.mm +0 -53
  179. package/lib/commonjs/components/A11yGroup/A11yGroup.android.js +0 -18
  180. package/lib/commonjs/components/A11yGroup/A11yGroup.android.js.map +0 -1
  181. package/lib/commonjs/components/A11yGroup/A11yGroup.ios.js +0 -24
  182. package/lib/commonjs/components/A11yGroup/A11yGroup.ios.js.map +0 -1
  183. package/lib/commonjs/components/A11yGroup/A11yGroup.js +0 -9
  184. package/lib/commonjs/components/A11yGroup/A11yGroup.js.map +0 -1
  185. package/lib/commonjs/components/A11ySequence/A11ySequence.js.map +0 -1
  186. package/lib/commonjs/components/A11yUIContainer/A11yUIContainer.ios.js +0 -22
  187. package/lib/commonjs/components/A11yUIContainer/A11yUIContainer.ios.js.map +0 -1
  188. package/lib/commonjs/components/A11yUIContainer/A11yUIContainer.js +0 -9
  189. package/lib/commonjs/components/A11yUIContainer/A11yUIContainer.js.map +0 -1
  190. package/lib/commonjs/nativeSpecs/A11yUIContainerNativeComponent.ts +0 -12
  191. package/lib/commonjs/nativeSpecs/A11yViewNativeComponent.ts +0 -36
  192. package/lib/commonjs/types/A11yGroup.types.js.map +0 -1
  193. package/lib/commonjs/types/A11yIndex.types.js +0 -13
  194. package/lib/commonjs/types/A11yIndex.types.js.map +0 -1
  195. package/lib/commonjs/types/A11yLock.types.js.map +0 -1
  196. package/lib/commonjs/types/A11yModule.types.js.map +0 -1
  197. package/lib/commonjs/types/A11yUIContainerView.types.js +0 -15
  198. package/lib/commonjs/types/A11yUIContainerView.types.js.map +0 -1
  199. package/lib/commonjs/types/A11yView.types.js.map +0 -1
  200. package/lib/module/components/A11yGroup/A11yGroup.android.js +0 -12
  201. package/lib/module/components/A11yGroup/A11yGroup.android.js.map +0 -1
  202. package/lib/module/components/A11yGroup/A11yGroup.ios.js +0 -18
  203. package/lib/module/components/A11yGroup/A11yGroup.ios.js.map +0 -1
  204. package/lib/module/components/A11yGroup/A11yGroup.js +0 -5
  205. package/lib/module/components/A11yGroup/A11yGroup.js.map +0 -1
  206. package/lib/module/components/A11ySequence/A11ySequence.js.map +0 -1
  207. package/lib/module/components/A11yUIContainer/A11yUIContainer.ios.js +0 -17
  208. package/lib/module/components/A11yUIContainer/A11yUIContainer.ios.js.map +0 -1
  209. package/lib/module/components/A11yUIContainer/A11yUIContainer.js +0 -5
  210. package/lib/module/components/A11yUIContainer/A11yUIContainer.js.map +0 -1
  211. package/lib/module/nativeSpecs/A11yUIContainerNativeComponent.ts +0 -12
  212. package/lib/module/nativeSpecs/A11yViewNativeComponent.ts +0 -36
  213. package/lib/module/types/A11yGroup.types.js +0 -4
  214. package/lib/module/types/A11yGroup.types.js.map +0 -1
  215. package/lib/module/types/A11yIndex.types.js +0 -9
  216. package/lib/module/types/A11yIndex.types.js.map +0 -1
  217. package/lib/module/types/A11yLock.types.js.map +0 -1
  218. package/lib/module/types/A11yModule.types.js +0 -4
  219. package/lib/module/types/A11yModule.types.js.map +0 -1
  220. package/lib/module/types/A11yUIContainerView.types.js +0 -11
  221. package/lib/module/types/A11yUIContainerView.types.js.map +0 -1
  222. package/lib/module/types/A11yView.types.js.map +0 -1
  223. package/lib/typescript/src/components/A11yGroup/A11yGroup.android.d.ts +0 -4
  224. package/lib/typescript/src/components/A11yGroup/A11yGroup.android.d.ts.map +0 -1
  225. package/lib/typescript/src/components/A11yGroup/A11yGroup.d.ts +0 -3
  226. package/lib/typescript/src/components/A11yGroup/A11yGroup.d.ts.map +0 -1
  227. package/lib/typescript/src/components/A11yGroup/A11yGroup.ios.d.ts +0 -4
  228. package/lib/typescript/src/components/A11yGroup/A11yGroup.ios.d.ts.map +0 -1
  229. package/lib/typescript/src/components/A11ySequence/A11ySequence.d.ts.map +0 -1
  230. package/lib/typescript/src/components/A11yUIContainer/A11yUIContainer.d.ts +0 -3
  231. package/lib/typescript/src/components/A11yUIContainer/A11yUIContainer.d.ts.map +0 -1
  232. package/lib/typescript/src/components/A11yUIContainer/A11yUIContainer.ios.d.ts +0 -4
  233. package/lib/typescript/src/components/A11yUIContainer/A11yUIContainer.ios.d.ts.map +0 -1
  234. package/lib/typescript/src/nativeSpecs/A11yGroupNativeComponent.d.ts +0 -8
  235. package/lib/typescript/src/nativeSpecs/A11yGroupNativeComponent.d.ts.map +0 -1
  236. package/lib/typescript/src/nativeSpecs/A11yUIContainerNativeComponent.d.ts +0 -10
  237. package/lib/typescript/src/nativeSpecs/A11yUIContainerNativeComponent.d.ts.map +0 -1
  238. package/lib/typescript/src/nativeSpecs/A11yViewNativeComponent.d.ts +0 -26
  239. package/lib/typescript/src/nativeSpecs/A11yViewNativeComponent.d.ts.map +0 -1
  240. package/lib/typescript/src/types/A11yGroup.types.d.ts +0 -7
  241. package/lib/typescript/src/types/A11yGroup.types.d.ts.map +0 -1
  242. package/lib/typescript/src/types/A11yIndex.types.d.ts +0 -19
  243. package/lib/typescript/src/types/A11yIndex.types.d.ts.map +0 -1
  244. package/lib/typescript/src/types/A11yLock.types.d.ts +0 -8
  245. package/lib/typescript/src/types/A11yLock.types.d.ts.map +0 -1
  246. package/lib/typescript/src/types/A11yModule.types.d.ts +0 -7
  247. package/lib/typescript/src/types/A11yModule.types.d.ts.map +0 -1
  248. package/lib/typescript/src/types/A11yUIContainerView.types.d.ts +0 -13
  249. package/lib/typescript/src/types/A11yUIContainerView.types.d.ts.map +0 -1
  250. package/lib/typescript/src/types/A11yView.types.d.ts +0 -12
  251. package/lib/typescript/src/types/A11yView.types.d.ts.map +0 -1
  252. package/src/components/A11yGroup/A11yGroup.android.tsx +0 -8
  253. package/src/components/A11yGroup/A11yGroup.ios.tsx +0 -11
  254. package/src/components/A11yGroup/A11yGroup.tsx +0 -5
  255. package/src/components/A11yUIContainer/A11yUIContainer.ios.tsx +0 -20
  256. package/src/components/A11yUIContainer/A11yUIContainer.tsx +0 -5
  257. package/src/nativeSpecs/A11yUIContainerNativeComponent.ts +0 -12
  258. package/src/nativeSpecs/A11yViewNativeComponent.ts +0 -36
  259. package/src/types/A11yGroup.types.ts +0 -9
  260. package/src/types/A11yIndex.types.ts +0 -21
  261. package/src/types/A11yLock.types.ts +0 -8
  262. package/src/types/A11yModule.types.ts +0 -7
  263. package/src/types/A11yUIContainerView.types.ts +0 -15
  264. package/src/types/A11yView.types.ts +0 -19
  265. /package/lib/commonjs/{types → components/A11yLock}/A11yLock.types.js +0 -0
  266. /package/lib/commonjs/{types → components/A11yView}/A11yView.types.js +0 -0
  267. /package/lib/module/{types → components/A11yLock}/A11yLock.types.js +0 -0
  268. /package/lib/module/{types → components/A11yView}/A11yView.types.js +0 -0
@@ -1,15 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.A11yContainerTypeEnum = void 0;
7
- let A11yContainerTypeEnum = exports.A11yContainerTypeEnum = /*#__PURE__*/function (A11yContainerTypeEnum) {
8
- A11yContainerTypeEnum[A11yContainerTypeEnum["none"] = 0] = "none";
9
- A11yContainerTypeEnum[A11yContainerTypeEnum["table"] = 1] = "table";
10
- A11yContainerTypeEnum[A11yContainerTypeEnum["list"] = 2] = "list";
11
- A11yContainerTypeEnum[A11yContainerTypeEnum["landmark"] = 3] = "landmark";
12
- A11yContainerTypeEnum[A11yContainerTypeEnum["group"] = 4] = "group";
13
- return A11yContainerTypeEnum;
14
- }({});
15
- //# sourceMappingURL=A11yUIContainerView.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["A11yContainerTypeEnum","exports"],"sourceRoot":"../../../src","sources":["types/A11yUIContainerView.types.ts"],"mappings":";;;;;;IAEYA,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,0BAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAAA,OAArBA,qBAAqB;AAAA","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/A11yView.types.ts"],"mappings":"","ignoreList":[]}
@@ -1,12 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import { View } from 'react-native';
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- export const A11yGroup = props => {
7
- return /*#__PURE__*/_jsx(View, {
8
- collapsable: false,
9
- ...props
10
- });
11
- };
12
- //# sourceMappingURL=A11yGroup.android.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","jsx","_jsx","A11yGroup","props","collapsable"],"sourceRoot":"../../../../src","sources":["components/A11yGroup/A11yGroup.android.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAIpC,OAAO,MAAMC,SAAS,GAAIC,KAAqB,IAAK;EAClD,oBAAOF,IAAA,CAACF,IAAI;IAACK,WAAW,EAAE,KAAM;IAAA,GAAKD;EAAK,CAAG,CAAC;AAChD,CAAC","ignoreList":[]}
@@ -1,18 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import { A11yUIContainer } from '../A11yUIContainer/A11yUIContainer';
5
- import A11yDirectionView from '../../nativeSpecs/A11yGroupNativeComponent';
6
- import { jsx as _jsx } from "react/jsx-runtime";
7
- export const A11yGroup = props => {
8
- if (props.type === 'legacy') {
9
- return /*#__PURE__*/_jsx(A11yDirectionView, {
10
- ...props
11
- });
12
- }
13
- return /*#__PURE__*/_jsx(A11yUIContainer, {
14
- ...props,
15
- type: props.type ?? 'none'
16
- });
17
- };
18
- //# sourceMappingURL=A11yGroup.ios.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","A11yUIContainer","A11yDirectionView","jsx","_jsx","A11yGroup","props","type"],"sourceRoot":"../../../../src","sources":["components/A11yGroup/A11yGroup.ios.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,eAAe,QAAQ,oCAAoC;AAEpE,OAAOC,iBAAiB,MAAM,4CAA4C;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE3E,OAAO,MAAMC,SAAS,GAAIC,KAAqB,IAAK;EAClD,IAAIA,KAAK,CAACC,IAAI,KAAK,QAAQ,EAAE;IAC3B,oBAAOH,IAAA,CAACF,iBAAiB;MAAA,GAAKI;IAAK,CAAG,CAAC;EACzC;EACA,oBAAOF,IAAA,CAACH,eAAe;IAAA,GAAKK,KAAK;IAAEC,IAAI,EAAED,KAAK,CAACC,IAAI,IAAI;EAAO,CAAE,CAAC;AACnE,CAAC","ignoreList":[]}
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- import { View } from 'react-native';
4
- export const A11yGroup = View;
5
- //# sourceMappingURL=A11yGroup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["View","A11yGroup"],"sourceRoot":"../../../../src","sources":["components/A11yGroup/A11yGroup.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAQ,cAAc;AAGnC,OAAO,MAAMC,SAAS,GACpBD,IAAwD","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","A11ySequenceOrderContext","A11yOrderNativeComponent","jsx","_jsx","A11yIndexSequence","memo","props","orderKey","useId","Provider","value","children"],"sourceRoot":"../../../../src","sources":["components/A11ySequence/A11ySequence.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,wBAAwB,QAAQ,wCAAwC;AACjF,OAAOC,wBAAwB,MAAM,4CAA4C;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAElF,OAAO,MAAMC,iBAAiB,gBAAGL,KAAK,CAACM,IAAI,CAAaC,KAAK,IAAK;EAChE,MAAMC,QAAQ,GAAGR,KAAK,CAACS,KAAK,CAAC,CAAC;EAC9B,oBACEL,IAAA,CAACH,wBAAwB,CAACS,QAAQ;IAACC,KAAK,EAAEH,QAAS;IAAAI,QAAA,eACjDR,IAAA,CAACF,wBAAwB;MAAA,GAAKK,KAAK;MAAEC,QAAQ,EAAEA;IAAS,CAAE;EAAC,CAC1B,CAAC;AAExC,CAAC,CAAC","ignoreList":[]}
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import { default as A11yUIContainerViewNative } from '../../nativeSpecs/A11yUIContainerNativeComponent';
5
- import { A11yContainerTypeEnum } from '../../types/A11yUIContainerView.types';
6
- import { jsx as _jsx } from "react/jsx-runtime";
7
- export const A11yUIContainer = /*#__PURE__*/React.memo(({
8
- type = 'group',
9
- ...props
10
- }) => {
11
- const containerTypeValue = A11yContainerTypeEnum[type];
12
- return /*#__PURE__*/_jsx(A11yUIContainerViewNative, {
13
- containerType: containerTypeValue,
14
- ...props
15
- });
16
- });
17
- //# sourceMappingURL=A11yUIContainer.ios.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","default","A11yUIContainerViewNative","A11yContainerTypeEnum","jsx","_jsx","A11yUIContainer","memo","type","props","containerTypeValue","containerType"],"sourceRoot":"../../../../src","sources":["components/A11yUIContainer/A11yUIContainer.ios.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,OAAO,IAAIC,yBAAyB,QAAQ,kDAAkD;AACvG,SAEEC,qBAAqB,QAChB,uCAAuC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE/C,OAAO,MAAMC,eAAe,gBAAGN,KAAK,CAACO,IAAI,CACvC,CAAC;EAAEC,IAAI,GAAG,OAAO;EAAE,GAAGC;AAAM,CAAC,KAAK;EAChC,MAAMC,kBAAkB,GAAGP,qBAAqB,CAACK,IAAI,CAAC;EAEtD,oBACEH,IAAA,CAACH,yBAAyB;IACxBS,aAAa,EAAED,kBAAmB;IAAA,GAC9BD;EAAK,CACV,CAAC;AAEN,CACF,CAAC","ignoreList":[]}
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- import { View } from 'react-native';
4
- export const A11yUIContainer = View;
5
- //# sourceMappingURL=A11yUIContainer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["View","A11yUIContainer"],"sourceRoot":"../../../../src","sources":["components/A11yUIContainer/A11yUIContainer.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAQ,cAAc;AAGnC,OAAO,MAAMC,eAAe,GAC1BD,IAA8D","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,4 +0,0 @@
1
- "use strict";
2
-
3
- export {};
4
- //# sourceMappingURL=A11yGroup.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/A11yGroup.types.ts"],"mappings":"","ignoreList":[]}
@@ -1,9 +0,0 @@
1
- "use strict";
2
-
3
- export let A11yOrderTypeEnum = /*#__PURE__*/function (A11yOrderTypeEnum) {
4
- A11yOrderTypeEnum[A11yOrderTypeEnum["default"] = 0] = "default";
5
- A11yOrderTypeEnum[A11yOrderTypeEnum["child"] = 1] = "child";
6
- A11yOrderTypeEnum[A11yOrderTypeEnum["legacy"] = 2] = "legacy";
7
- return A11yOrderTypeEnum;
8
- }({});
9
- //# sourceMappingURL=A11yIndex.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["A11yOrderTypeEnum"],"sourceRoot":"../../../src","sources":["types/A11yIndex.types.ts"],"mappings":";;AAIA,WAAYA,iBAAiB,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,4 +0,0 @@
1
- "use strict";
2
-
3
- export {};
4
- //# sourceMappingURL=A11yModule.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/A11yModule.types.ts"],"mappings":"","ignoreList":[]}
@@ -1,11 +0,0 @@
1
- "use strict";
2
-
3
- export let A11yContainerTypeEnum = /*#__PURE__*/function (A11yContainerTypeEnum) {
4
- A11yContainerTypeEnum[A11yContainerTypeEnum["none"] = 0] = "none";
5
- A11yContainerTypeEnum[A11yContainerTypeEnum["table"] = 1] = "table";
6
- A11yContainerTypeEnum[A11yContainerTypeEnum["list"] = 2] = "list";
7
- A11yContainerTypeEnum[A11yContainerTypeEnum["landmark"] = 3] = "landmark";
8
- A11yContainerTypeEnum[A11yContainerTypeEnum["group"] = 4] = "group";
9
- return A11yContainerTypeEnum;
10
- }({});
11
- //# sourceMappingURL=A11yUIContainerView.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["A11yContainerTypeEnum"],"sourceRoot":"../../../src","sources":["types/A11yUIContainerView.types.ts"],"mappings":";;AAEA,WAAYA,qBAAqB,0BAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAAA,OAArBA,qBAAqB;AAAA","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/A11yView.types.ts"],"mappings":"","ignoreList":[]}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { A11yGroupProps } from '../../types/A11yGroup.types';
3
- export declare const A11yGroup: (props: A11yGroupProps) => React.JSX.Element;
4
- //# sourceMappingURL=A11yGroup.android.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A11yGroup.android.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yGroup/A11yGroup.android.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAElE,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,sBAE9C,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { A11yGroupProps } from '../../types/A11yGroup.types';
2
- export declare const A11yGroup: React.ExoticComponent<A11yGroupProps>;
3
- //# sourceMappingURL=A11yGroup.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A11yGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yGroup/A11yGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAElE,eAAO,MAAM,SAAS,EACD,KAAK,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { A11yGroupProps } from '../../types/A11yGroup.types';
3
- export declare const A11yGroup: (props: A11yGroupProps) => React.JSX.Element;
4
- //# sourceMappingURL=A11yGroup.ios.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A11yGroup.ios.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yGroup/A11yGroup.ios.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAGlE,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,sBAK9C,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"A11ySequence.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11ySequence/A11ySequence.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAO5B,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { A11yUIContainerProps } from '../../types/A11yUIContainerView.types';
2
- export declare const A11yUIContainer: React.ExoticComponent<A11yUIContainerProps>;
3
- //# sourceMappingURL=A11yUIContainer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A11yUIContainer.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yUIContainer/A11yUIContainer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAElF,eAAO,MAAM,eAAe,EACP,KAAK,CAAC,eAAe,CAAC,oBAAoB,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { type A11yUIContainerProps } from '../../types/A11yUIContainerView.types';
3
- export declare const A11yUIContainer: React.NamedExoticComponent<A11yUIContainerProps>;
4
- //# sourceMappingURL=A11yUIContainer.ios.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A11yUIContainer.ios.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yUIContainer/A11yUIContainer.ios.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,uCAAuC,CAAC;AAE/C,eAAO,MAAM,eAAe,kDAW3B,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { ViewProps } from 'react-native';
2
- export interface A11yGroupNativeComponentProps extends ViewProps {
3
- }
4
- declare const _default: (props: Omit<A11yGroupNativeComponentProps, "ref"> & {
5
- ref?: React.Ref<import("react-native").HostInstance>;
6
- }) => React.ReactNode;
7
- export default _default;
8
- //# sourceMappingURL=A11yGroupNativeComponent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A11yGroupNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yGroupNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,MAAM,WAAW,6BAA8B,SAAQ,SAAS;CAAG;;;;AAEnE,wBAEE"}
@@ -1,10 +0,0 @@
1
- import type { ViewProps } from 'react-native';
2
- import type { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
3
- export interface A11yUIContainerNativeComponentProps extends ViewProps {
4
- containerType?: Int32;
5
- }
6
- declare const _default: (props: Omit<A11yUIContainerNativeComponentProps, "ref"> & {
7
- ref?: React.Ref<import("react-native").HostInstance>;
8
- }) => React.ReactNode;
9
- export default _default;
10
- //# sourceMappingURL=A11yUIContainerNativeComponent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A11yUIContainerNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yUIContainerNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAIvE,MAAM,WAAW,mCAAoC,SAAQ,SAAS;IACpE,aAAa,CAAC,EAAE,KAAK,CAAC;CACvB;;;;AAED,wBAEE"}
@@ -1,26 +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
- export type ScreenReaderFocusChange = Readonly<{
5
- isFocused: boolean;
6
- }>;
7
- export type ScreenReaderDescendantFocusChanged = Readonly<{
8
- status: string;
9
- nativeId?: string;
10
- }>;
11
- export interface A11yViewProps extends ViewProps {
12
- autoFocus?: boolean;
13
- descendantFocusChangedEnabled?: boolean;
14
- onScreenReaderFocused?: DirectEventHandler<{}>;
15
- onScreenReaderDescendantFocusChanged?: DirectEventHandler<ScreenReaderDescendantFocusChanged>;
16
- onScreenReaderFocusChange?: DirectEventHandler<ScreenReaderFocusChange>;
17
- }
18
- export interface NativeCommands {
19
- focus: (viewRef: React.ElementRef<ComponentType>) => void;
20
- }
21
- export declare const Commands: NativeCommands;
22
- declare const _default: (props: Omit<A11yViewProps, "ref"> & {
23
- ref?: React.Ref<import("react-native").HostInstance>;
24
- }) => React.ReactNode;
25
- export default _default;
26
- //# sourceMappingURL=A11yViewNativeComponent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A11yViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yViewNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAMpF,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC;IAC7C,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC,CAAC;AAEH,MAAM,MAAM,kCAAkC,GAAG,QAAQ,CAAC;IACxD,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAEH,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6BAA6B,CAAC,EAAE,OAAO,CAAC;IAExC,qBAAqB,CAAC,EAAE,kBAAkB,CAAC,EAAE,CAAC,CAAC;IAC/C,oCAAoC,CAAC,EAAE,kBAAkB,CAAC,kCAAkC,CAAC,CAAC;IAC9F,yBAAyB,CAAC,EAAE,kBAAkB,CAAC,uBAAuB,CAAC,CAAC;CACzE;AAED,MAAM,WAAW,cAAc;IAE7B,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;CAC3D;AAED,eAAO,MAAM,QAAQ,EAAE,cAErB,CAAC;;;;AAEH,wBAAiE"}
@@ -1,7 +0,0 @@
1
- import type { A11yUIContainerType, A11yUIContainerProps } from './A11yUIContainerView.types';
2
- type GroupType = A11yUIContainerType | 'legacy';
3
- export type A11yGroupProps = Omit<A11yUIContainerProps, 'type'> & {
4
- type?: GroupType;
5
- };
6
- export {};
7
- //# sourceMappingURL=A11yGroup.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A11yGroup.types.d.ts","sourceRoot":"","sources":["../../../../src/types/A11yGroup.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,6BAA6B,CAAC;AAErC,KAAK,SAAS,GAAG,mBAAmB,GAAG,QAAQ,CAAC;AAChD,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,oBAAoB,EAAE,MAAM,CAAC,GAAG;IAChE,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,CAAC"}
@@ -1,19 +0,0 @@
1
- import type { ViewProps } from 'react-native';
2
- export type IndexCommands = {
3
- focus: () => void;
4
- };
5
- export declare enum A11yOrderTypeEnum {
6
- default = 0,
7
- child = 1,
8
- legacy = 2
9
- }
10
- export type A11yOrderType = keyof typeof A11yOrderTypeEnum;
11
- export type A11yIndexProps = {
12
- children: React.ReactNode;
13
- index: number;
14
- orderType?: A11yOrderType;
15
- onScreenReaderSubViewFocusChange?: (isFocused: boolean) => void;
16
- onScreenReaderSubViewFocused?: () => void;
17
- onScreenReaderSubViewBlurred?: () => void;
18
- } & ViewProps;
19
- //# sourceMappingURL=A11yIndex.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A11yIndex.types.d.ts","sourceRoot":"","sources":["../../../../src/types/A11yIndex.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,MAAM,aAAa,GAAG;IAAE,KAAK,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAElD,oBAAY,iBAAiB;IAC3B,OAAO,IAAI;IACX,KAAK,IAAI;IACT,MAAM,IAAI;CACX;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,iBAAiB,CAAC;AAE3D,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,aAAa,CAAC;IAE1B,gCAAgC,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAChE,4BAA4B,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1C,4BAA4B,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3C,GAAG,SAAS,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { ViewProps } from 'react-native';
2
- export type A11yLockProps = ViewProps & {
3
- componentType?: number;
4
- containerKey?: string;
5
- lockDisabled?: boolean;
6
- forceLock?: boolean;
7
- };
8
- //# sourceMappingURL=A11yLock.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A11yLock.types.d.ts","sourceRoot":"","sources":["../../../../src/types/A11yLock.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,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"}
@@ -1,7 +0,0 @@
1
- import type { RefObject } from 'react';
2
- import { View } from 'react-native';
3
- export type A11yOrderInfo<T> = {
4
- tag?: RefObject<View>;
5
- views: (T | null)[];
6
- };
7
- //# sourceMappingURL=A11yModule.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A11yModule.types.d.ts","sourceRoot":"","sources":["../../../../src/types/A11yModule.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI;IAC7B,GAAG,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC;IACtB,KAAK,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;CACrB,CAAC"}
@@ -1,13 +0,0 @@
1
- import type { ViewProps } from 'react-native';
2
- export declare enum A11yContainerTypeEnum {
3
- none = 0,
4
- table = 1,
5
- list = 2,
6
- landmark = 3,
7
- group = 4
8
- }
9
- export type A11yUIContainerType = keyof typeof A11yContainerTypeEnum;
10
- export interface A11yUIContainerProps extends ViewProps {
11
- type?: A11yUIContainerType;
12
- }
13
- //# sourceMappingURL=A11yUIContainerView.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A11yUIContainerView.types.d.ts","sourceRoot":"","sources":["../../../../src/types/A11yUIContainerView.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,oBAAY,qBAAqB;IAC/B,IAAI,IAAI;IACR,KAAK,IAAI;IACT,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,KAAK,IAAI;CACV;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,qBAAqB,CAAC;AAErE,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,IAAI,CAAC,EAAE,mBAAmB,CAAC;CAC5B"}
@@ -1,12 +0,0 @@
1
- import type { NativeSyntheticEvent, ViewProps } from 'react-native';
2
- import type { ScreenReaderDescendantFocusChanged } from '../nativeSpecs/A11yViewNativeComponent';
3
- export type ScreenReaderDescendantFocusChangedEvent = NativeSyntheticEvent<ScreenReaderDescendantFocusChanged>;
4
- export type A11yViewProps = ViewProps & {
5
- autoFocus?: boolean;
6
- onScreenReaderFocused?: () => void;
7
- onScreenReaderSubViewFocusChange?: (isFocused: boolean) => void;
8
- onScreenReaderSubViewFocused?: () => void;
9
- onScreenReaderSubViewBlurred?: () => void;
10
- onScreenReaderDescendantFocusChanged?: (e: ScreenReaderDescendantFocusChangedEvent) => void;
11
- };
12
- //# sourceMappingURL=A11yView.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"A11yView.types.d.ts","sourceRoot":"","sources":["../../../../src/types/A11yView.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACpE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAEjG,MAAM,MAAM,uCAAuC,GACjD,oBAAoB,CAAC,kCAAkC,CAAC,CAAC;AAE3D,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IAEnC,gCAAgC,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAChE,4BAA4B,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1C,4BAA4B,CAAC,EAAE,MAAM,IAAI,CAAC;IAE1C,oCAAoC,CAAC,EAAE,CACrC,CAAC,EAAE,uCAAuC,KACvC,IAAI,CAAC;CACX,CAAC"}
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { View } from 'react-native';
3
-
4
- import type { A11yGroupProps } from '../../types/A11yGroup.types';
5
-
6
- export const A11yGroup = (props: A11yGroupProps) => {
7
- return <View collapsable={false} {...props} />;
8
- };
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { A11yUIContainer } from '../A11yUIContainer/A11yUIContainer';
3
- import type { A11yGroupProps } from '../../types/A11yGroup.types';
4
- import A11yDirectionView from '../../nativeSpecs/A11yGroupNativeComponent';
5
-
6
- export const A11yGroup = (props: A11yGroupProps) => {
7
- if (props.type === 'legacy') {
8
- return <A11yDirectionView {...props} />;
9
- }
10
- return <A11yUIContainer {...props} type={props.type ?? 'none'} />;
11
- };
@@ -1,5 +0,0 @@
1
- import { View } from 'react-native';
2
- import type { A11yGroupProps } from '../../types/A11yGroup.types';
3
-
4
- export const A11yGroup =
5
- View as unknown as React.ExoticComponent<A11yGroupProps>;
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
-
3
- import { default as A11yUIContainerViewNative } from '../../nativeSpecs/A11yUIContainerNativeComponent';
4
- import {
5
- type A11yUIContainerProps,
6
- A11yContainerTypeEnum,
7
- } from '../../types/A11yUIContainerView.types';
8
-
9
- export const A11yUIContainer = React.memo<A11yUIContainerProps>(
10
- ({ type = 'group', ...props }) => {
11
- const containerTypeValue = A11yContainerTypeEnum[type];
12
-
13
- return (
14
- <A11yUIContainerViewNative
15
- containerType={containerTypeValue}
16
- {...props}
17
- />
18
- );
19
- }
20
- );
@@ -1,5 +0,0 @@
1
- import { View } from 'react-native';
2
- import type { A11yUIContainerProps } from '../../types/A11yUIContainerView.types';
3
-
4
- export const A11yUIContainer =
5
- View as unknown as React.ExoticComponent<A11yUIContainerProps>;
@@ -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,9 +0,0 @@
1
- import type {
2
- A11yUIContainerType,
3
- A11yUIContainerProps,
4
- } from './A11yUIContainerView.types';
5
-
6
- type GroupType = A11yUIContainerType | 'legacy';
7
- export type A11yGroupProps = Omit<A11yUIContainerProps, 'type'> & {
8
- type?: GroupType;
9
- };
@@ -1,21 +0,0 @@
1
- import type { ViewProps } from 'react-native';
2
-
3
- export type IndexCommands = { focus: () => void };
4
-
5
- export enum A11yOrderTypeEnum {
6
- default = 0,
7
- child = 1,
8
- legacy = 2,
9
- }
10
-
11
- export type A11yOrderType = keyof typeof A11yOrderTypeEnum;
12
-
13
- export type A11yIndexProps = {
14
- children: React.ReactNode;
15
- index: number;
16
- orderType?: A11yOrderType;
17
-
18
- onScreenReaderSubViewFocusChange?: (isFocused: boolean) => void;
19
- onScreenReaderSubViewFocused?: () => void;
20
- onScreenReaderSubViewBlurred?: () => void;
21
- } & ViewProps;
@@ -1,8 +0,0 @@
1
- import type { ViewProps } from 'react-native';
2
-
3
- export type A11yLockProps = ViewProps & {
4
- componentType?: number;
5
- containerKey?: string;
6
- lockDisabled?: boolean;
7
- forceLock?: boolean;
8
- };
@@ -1,7 +0,0 @@
1
- import type { RefObject } from 'react';
2
- import { View } from 'react-native';
3
-
4
- export type A11yOrderInfo<T> = {
5
- tag?: RefObject<View>;
6
- views: (T | null)[];
7
- };