react-native-a11y-order 1.0.0 → 2.0.0-rc

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.
Files changed (206) hide show
  1. package/README.md +1 -1
  2. package/android/build.gradle +33 -88
  3. package/android/src/main/AndroidManifest.xml +1 -2
  4. package/android/src/{newarch → main/java/com/a11yorder}/A11yIndexViewManagerSpec.java +0 -7
  5. package/android/src/{newarch → main/java/com/a11yorder}/A11yLockViewManagerSpec.java +0 -1
  6. package/android/src/main/java/com/a11yorder/A11yOrderPackage.java +1 -1
  7. package/android/src/{newarch → main/java/com/a11yorder}/A11yOrderViewManagerSpec.java +0 -5
  8. package/ios/extensions/RCTModalHostViewComponentView+RNAOA11yOrder.h +1 -10
  9. package/ios/extensions/RCTModalHostViewComponentView+RNAOA11yOrder.mm +0 -34
  10. package/ios/extensions/UIView+RNAOA11yOrder.mm +0 -8
  11. package/ios/helpers/RNAOFabricEventHelper/RNAOFabricEventHelper.h +0 -2
  12. package/ios/helpers/RNAOFabricEventHelper/RNAOFabricEventHelper.mm +0 -3
  13. package/ios/modules/RNAOA11yAnnounceModule.h +0 -20
  14. package/ios/modules/RNAOA11yAnnounceModule.mm +0 -18
  15. package/ios/views/RNAOA11yCardView/RNAOA11yCardView.h +0 -9
  16. package/ios/views/RNAOA11yCardView/RNAOA11yCardView.mm +11 -15
  17. package/ios/views/RNAOA11yIndexView/RNAOA11yIndexView.mm +1 -5
  18. package/ios/views/RNAOA11yLockView/RNAOA11yLockView.h +0 -12
  19. package/ios/views/RNAOA11yLockView/RNAOA11yLockView.mm +1 -11
  20. package/ios/views/RNAOA11yOrderView/RNAOA11yOrderView.h +0 -14
  21. package/ios/views/RNAOA11yOrderView/RNAOA11yOrderView.mm +2 -22
  22. package/ios/views/RNAOA11yPaneTitleView/RNAOA11yPaneTitleView.h +0 -16
  23. package/ios/views/RNAOA11yPaneTitleView/RNAOA11yPaneTitleView.mm +4 -11
  24. package/ios/views/base/RNAOA11yGroupChildrenView.h +0 -4
  25. package/ios/views/base/RNAOA11yManagedFocusView.h +0 -11
  26. package/ios/views/base/RNAOA11yManagedFocusView.mm +0 -43
  27. package/ios/views/base/RNAOA11yScreenReaderView.h +0 -7
  28. package/ios/views/base/RNAOA11yScreenReaderView.mm +0 -2
  29. package/ios/views/base/RNAOA11yViewGroup.h +0 -14
  30. package/ios/views/base/RNAOA11yViewOrder.h +0 -16
  31. package/ios/views/base/RNAOA11yViewOrder.mm +0 -26
  32. package/lib/module/components/A11yCard/A11yCard.ios.js +0 -1
  33. package/lib/module/components/A11yCard/A11yCard.ios.js.map +1 -1
  34. package/lib/module/components/A11yCard/A11yCard.js +0 -1
  35. package/lib/module/components/A11yCard/A11yCard.js.map +1 -1
  36. package/lib/module/components/A11yIndex/A11yIndex.js +2 -2
  37. package/lib/module/components/A11yIndex/A11yIndex.js.map +1 -1
  38. package/lib/module/components/A11yIndex/A11yIndex.web.js +0 -1
  39. package/lib/module/components/A11yIndex/A11yIndex.web.js.map +1 -1
  40. package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.js +2 -2
  41. package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.js.map +1 -1
  42. package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js +1 -2
  43. package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js.map +1 -1
  44. package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.js +2 -2
  45. package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.js.map +1 -1
  46. package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js +2 -3
  47. package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js.map +1 -1
  48. package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrapMountWrapper.js +1 -1
  49. package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrapMountWrapper.js.map +1 -1
  50. package/lib/module/components/A11yOrder/A11yOrder.js +1 -1
  51. package/lib/module/components/A11yOrder/A11yOrder.js.map +1 -1
  52. package/lib/module/components/A11yPaneTitle/A11yPaneTitle.js +0 -1
  53. package/lib/module/components/A11yPaneTitle/A11yPaneTitle.js.map +1 -1
  54. package/lib/module/index.js +4 -4
  55. package/lib/module/index.js.map +1 -1
  56. package/lib/module/index.web.js +1 -1
  57. package/lib/module/index.web.js.map +1 -1
  58. package/lib/module/modules/A11yAnnounceModule.js +4 -18
  59. package/lib/module/modules/A11yAnnounceModule.js.map +1 -1
  60. package/lib/module/nativeSpecs/A11yCardNativeComponent.ts +6 -2
  61. package/lib/module/nativeSpecs/A11yIndexNativeComponent.ts +10 -12
  62. package/lib/module/nativeSpecs/A11yLockNativeComponent.ts +10 -4
  63. package/lib/module/nativeSpecs/A11yOrderNativeComponent.ts +6 -2
  64. package/lib/module/nativeSpecs/A11yPaneTitleNativeComponent.ts +10 -4
  65. package/lib/module/nativeSpecs/NativeA11yAnnounceModule.js +1 -1
  66. package/lib/module/nativeSpecs/NativeA11yAnnounceModule.js.map +1 -1
  67. package/lib/module/package.json +1 -0
  68. package/lib/typescript/package.json +1 -0
  69. package/lib/typescript/src/components/A11yCard/A11yCard.d.ts +2 -3
  70. package/lib/typescript/src/components/A11yCard/A11yCard.d.ts.map +1 -1
  71. package/lib/typescript/src/components/A11yCard/A11yCard.ios.d.ts +2 -3
  72. package/lib/typescript/src/components/A11yCard/A11yCard.ios.d.ts.map +1 -1
  73. package/lib/typescript/src/components/A11yIndex/A11yIndex.d.ts +5 -127
  74. package/lib/typescript/src/components/A11yIndex/A11yIndex.d.ts.map +1 -1
  75. package/lib/typescript/src/components/A11yIndex/A11yIndex.web.d.ts +5 -129
  76. package/lib/typescript/src/components/A11yIndex/A11yIndex.web.d.ts.map +1 -1
  77. package/lib/typescript/src/components/A11yLock/A11yBaseLock/A11yBaseLock.d.ts +1 -1
  78. package/lib/typescript/src/components/A11yLock/A11yBaseLock/A11yBaseLock.d.ts.map +1 -1
  79. package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.d.ts +1 -1
  80. package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.d.ts.map +1 -1
  81. package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.d.ts +2 -3
  82. package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.d.ts.map +1 -1
  83. package/lib/typescript/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.d.ts +1 -1
  84. package/lib/typescript/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.d.ts.map +1 -1
  85. package/lib/typescript/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.d.ts +2 -3
  86. package/lib/typescript/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.d.ts.map +1 -1
  87. package/lib/typescript/src/components/A11yOrder/A11yOrder.d.ts +2 -125
  88. package/lib/typescript/src/components/A11yOrder/A11yOrder.d.ts.map +1 -1
  89. package/lib/typescript/src/components/A11yPaneTitle/A11yPaneTitle.d.ts +3 -4
  90. package/lib/typescript/src/components/A11yPaneTitle/A11yPaneTitle.d.ts.map +1 -1
  91. package/lib/typescript/src/components/A11yView/A11yView.d.ts +3 -126
  92. package/lib/typescript/src/components/A11yView/A11yView.d.ts.map +1 -1
  93. package/lib/typescript/src/components/A11yView/A11yView.types.d.ts +2 -2
  94. package/lib/typescript/src/components/A11yView/A11yView.types.d.ts.map +1 -1
  95. package/lib/typescript/src/index.d.ts +17 -386
  96. package/lib/typescript/src/index.d.ts.map +1 -1
  97. package/lib/typescript/src/index.web.d.ts +20 -143
  98. package/lib/typescript/src/index.web.d.ts.map +1 -1
  99. package/lib/typescript/src/modules/A11yAnnounceModule.d.ts.map +1 -1
  100. package/lib/typescript/src/nativeSpecs/A11yCardNativeComponent.d.ts +2 -2
  101. package/lib/typescript/src/nativeSpecs/A11yCardNativeComponent.d.ts.map +1 -1
  102. package/lib/typescript/src/nativeSpecs/A11yIndexNativeComponent.d.ts +9 -10
  103. package/lib/typescript/src/nativeSpecs/A11yIndexNativeComponent.d.ts.map +1 -1
  104. package/lib/typescript/src/nativeSpecs/A11yLockNativeComponent.d.ts +3 -4
  105. package/lib/typescript/src/nativeSpecs/A11yLockNativeComponent.d.ts.map +1 -1
  106. package/lib/typescript/src/nativeSpecs/A11yOrderNativeComponent.d.ts +2 -2
  107. package/lib/typescript/src/nativeSpecs/A11yOrderNativeComponent.d.ts.map +1 -1
  108. package/lib/typescript/src/nativeSpecs/A11yPaneTitleNativeComponent.d.ts +3 -4
  109. package/lib/typescript/src/nativeSpecs/A11yPaneTitleNativeComponent.d.ts.map +1 -1
  110. package/lib/typescript/src/nativeSpecs/NativeA11yAnnounceModule.d.ts +1 -1
  111. package/lib/typescript/src/nativeSpecs/NativeA11yAnnounceModule.d.ts.map +1 -1
  112. package/package.json +54 -32
  113. package/react-native-a11y-order.podspec +2 -2
  114. package/react-native.config.js +12 -0
  115. package/src/components/A11yCard/A11yCard.ios.tsx +0 -1
  116. package/src/components/A11yCard/A11yCard.tsx +0 -1
  117. package/src/components/A11yIndex/A11yIndex.tsx +5 -5
  118. package/src/components/A11yIndex/A11yIndex.web.tsx +0 -1
  119. package/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.tsx +0 -1
  120. package/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.tsx +0 -1
  121. package/src/components/A11yPaneTitle/A11yPaneTitle.tsx +0 -1
  122. package/src/modules/A11yAnnounceModule.ts +3 -28
  123. package/src/nativeSpecs/A11yCardNativeComponent.ts +6 -2
  124. package/src/nativeSpecs/A11yIndexNativeComponent.ts +10 -12
  125. package/src/nativeSpecs/A11yLockNativeComponent.ts +10 -4
  126. package/src/nativeSpecs/A11yOrderNativeComponent.ts +6 -2
  127. package/src/nativeSpecs/A11yPaneTitleNativeComponent.ts +10 -4
  128. package/src/nativeSpecs/NativeA11yAnnounceModule.ts +1 -1
  129. package/android/gradle.properties +0 -5
  130. package/android/src/oldarch/A11yAnnounceModuleSpec.java +0 -19
  131. package/android/src/oldarch/A11yCardViewManagerSpec.java +0 -8
  132. package/android/src/oldarch/A11yIndexViewManagerSpec.java +0 -22
  133. package/android/src/oldarch/A11yLockViewManagerSpec.java +0 -15
  134. package/android/src/oldarch/A11yOrderViewManagerSpec.java +0 -8
  135. package/android/src/oldarch/A11yPaneTitleSpec.java +0 -15
  136. package/ios/views/RNAOA11yCardView/RNAOA11yCardViewManager.h +0 -14
  137. package/ios/views/RNAOA11yCardView/RNAOA11yCardViewManager.mm +0 -17
  138. package/ios/views/RNAOA11yIndexView/RNAOA11yIndexViewManager.h +0 -19
  139. package/ios/views/RNAOA11yIndexView/RNAOA11yIndexViewManager.mm +0 -75
  140. package/ios/views/RNAOA11yLockView/RNAOA11yLockViewManager.h +0 -14
  141. package/ios/views/RNAOA11yLockView/RNAOA11yLockViewManager.mm +0 -28
  142. package/ios/views/RNAOA11yOrderView/RNAOA11yOrderViewManager.h +0 -18
  143. package/ios/views/RNAOA11yOrderView/RNAOA11yOrderViewManager.mm +0 -31
  144. package/ios/views/RNAOA11yPaneTitleView/RNAOA11yPaneTitleViewManager.h +0 -15
  145. package/ios/views/RNAOA11yPaneTitleView/RNAOA11yPaneTitleViewManager.mm +0 -42
  146. package/lib/commonjs/components/A11yCard/A11yCard.ios.js +0 -56
  147. package/lib/commonjs/components/A11yCard/A11yCard.ios.js.map +0 -1
  148. package/lib/commonjs/components/A11yCard/A11yCard.js +0 -41
  149. package/lib/commonjs/components/A11yCard/A11yCard.js.map +0 -1
  150. package/lib/commonjs/components/A11yCard/A11yCard.types.js +0 -6
  151. package/lib/commonjs/components/A11yCard/A11yCard.types.js.map +0 -1
  152. package/lib/commonjs/components/A11yIndex/A11yIndex.js +0 -118
  153. package/lib/commonjs/components/A11yIndex/A11yIndex.js.map +0 -1
  154. package/lib/commonjs/components/A11yIndex/A11yIndex.types.js +0 -39
  155. package/lib/commonjs/components/A11yIndex/A11yIndex.types.js.map +0 -1
  156. package/lib/commonjs/components/A11yIndex/A11yIndex.web.js +0 -26
  157. package/lib/commonjs/components/A11yIndex/A11yIndex.web.js.map +0 -1
  158. package/lib/commonjs/components/A11yLock/A11yBaseLock/A11yBaseLock.js +0 -25
  159. package/lib/commonjs/components/A11yLock/A11yBaseLock/A11yBaseLock.js.map +0 -1
  160. package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.js +0 -24
  161. package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.js.map +0 -1
  162. package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js +0 -18
  163. package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js.map +0 -1
  164. package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.js +0 -22
  165. package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.js.map +0 -1
  166. package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js +0 -36
  167. package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js.map +0 -1
  168. package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrapMountWrapper.js +0 -46
  169. package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrapMountWrapper.js.map +0 -1
  170. package/lib/commonjs/components/A11yLock/A11yLock.types.js +0 -6
  171. package/lib/commonjs/components/A11yLock/A11yLock.types.js.map +0 -1
  172. package/lib/commonjs/components/A11yOrder/A11yOrder.js +0 -22
  173. package/lib/commonjs/components/A11yOrder/A11yOrder.js.map +0 -1
  174. package/lib/commonjs/components/A11yOrder/A11yOrder.types.js +0 -6
  175. package/lib/commonjs/components/A11yOrder/A11yOrder.types.js.map +0 -1
  176. package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.js +0 -41
  177. package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.js.map +0 -1
  178. package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.types.js +0 -6
  179. package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.types.js.map +0 -1
  180. package/lib/commonjs/components/A11yView/A11yView.js +0 -14
  181. package/lib/commonjs/components/A11yView/A11yView.js.map +0 -1
  182. package/lib/commonjs/components/A11yView/A11yView.types.js +0 -6
  183. package/lib/commonjs/components/A11yView/A11yView.types.js.map +0 -1
  184. package/lib/commonjs/context/A11yFocusFrameProviderContext.js +0 -30
  185. package/lib/commonjs/context/A11yFocusFrameProviderContext.js.map +0 -1
  186. package/lib/commonjs/context/A11ySequenceOrderContext.js +0 -10
  187. package/lib/commonjs/context/A11ySequenceOrderContext.js.map +0 -1
  188. package/lib/commonjs/index.js +0 -60
  189. package/lib/commonjs/index.js.map +0 -1
  190. package/lib/commonjs/index.web.js +0 -33
  191. package/lib/commonjs/index.web.js.map +0 -1
  192. package/lib/commonjs/modules/A11yAnnounceModule.android.js +0 -45
  193. package/lib/commonjs/modules/A11yAnnounceModule.android.js.map +0 -1
  194. package/lib/commonjs/modules/A11yAnnounceModule.js +0 -86
  195. package/lib/commonjs/modules/A11yAnnounceModule.js.map +0 -1
  196. package/lib/commonjs/nativeSpecs/A11yCardNativeComponent.ts +0 -7
  197. package/lib/commonjs/nativeSpecs/A11yIndexNativeComponent.ts +0 -47
  198. package/lib/commonjs/nativeSpecs/A11yLockNativeComponent.ts +0 -11
  199. package/lib/commonjs/nativeSpecs/A11yOrderNativeComponent.ts +0 -9
  200. package/lib/commonjs/nativeSpecs/A11yPaneTitleNativeComponent.ts +0 -11
  201. package/lib/commonjs/nativeSpecs/NativeA11yAnnounceModule.js +0 -11
  202. package/lib/commonjs/nativeSpecs/NativeA11yAnnounceModule.js.map +0 -1
  203. package/lib/commonjs/package.json +0 -1
  204. /package/android/src/{newarch → main/java/com/a11yorder}/A11yAnnounceModuleSpec.java +0 -0
  205. /package/android/src/{newarch → main/java/com/a11yorder}/A11yCardViewManagerSpec.java +0 -0
  206. /package/android/src/{newarch → main/java/com/a11yorder}/A11yPaneTitleSpec.java +0 -0
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
 
3
3
  import { A11yIndex } from './components/A11yIndex/A11yIndex';
4
- import { A11yOrder } from './components/A11yOrder/A11yOrder';
5
- import { A11yPaneTitle, A11yScreenChange } from './components/A11yPaneTitle/A11yPaneTitle';
6
- import { A11yView } from './components/A11yView/A11yView';
4
+ import { A11yOrder } from "./components/A11yOrder/A11yOrder.js";
5
+ import { A11yPaneTitle, A11yScreenChange } from "./components/A11yPaneTitle/A11yPaneTitle.js";
6
+ import { A11yView } from "./components/A11yView/A11yView.js";
7
7
  import { A11yFocusFrame } from './components/A11yLock/A11yFocusFrame/A11yFocusFrame';
8
8
  import { A11yFocusTrap } from './components/A11yLock/A11yFocusTrap/A11yFocusTrap';
9
9
  import { A11yCard } from './components/A11yCard/A11yCard';
10
10
 
11
11
  // ─── Component props ──────────────────────────────────────────────────────────
12
12
 
13
- export { A11yOrderTypeEnum } from './components/A11yIndex/A11yIndex.types';
13
+ export { A11yOrderTypeEnum } from "./components/A11yIndex/A11yIndex.types.js";
14
14
  // ─── Namespace ────────────────────────────────────────────────────────────────
15
15
 
16
16
  export const A11y = {
@@ -1 +1 @@
1
- {"version":3,"names":["A11yIndex","A11yOrder","A11yPaneTitle","A11yScreenChange","A11yView","A11yFocusFrame","A11yFocusTrap","A11yCard","A11yOrderTypeEnum","A11y","Order","Index","View","PaneTitle","ScreenChange","FocusFrame","FocusTrap","Card","ScreenReader","announce","cancel","cancelAll"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,kCAAkC;AAC5D,SAASC,SAAS,QAAQ,kCAAkC;AAC5D,SACEC,aAAa,EACbC,gBAAgB,QACX,0CAA0C;AACjD,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,SAASC,cAAc,QAAQ,qDAAqD;AACpF,SAASC,aAAa,QAAQ,mDAAmD;AACjF,SAASC,QAAQ,QAAQ,gCAAgC;;AAEzD;;AASA,SAASC,iBAAiB,QAAQ,wCAAwC;AAe1E;;AAEA,OAAO,MAAMC,IAAI,GAAG;EAClBC,KAAK,EAAET,SAAS;EAChBU,KAAK,EAAEX,SAAS;EAChBY,IAAI,EAAER,QAAQ;EACdS,SAAS,EAAEX,aAAa;EACxBY,YAAY,EAAEX,gBAAgB;EAC9BY,UAAU,EAAEV,cAAc;EAC1BW,SAAS,EAAEV,aAAa;EACxBW,IAAI,EAAEV;AACR,CAAC;AAED,SACEW,YAAY,EACZC,QAAQ,EACRC,MAAM,EACNC,SAAS,QACJ,8BAA8B","ignoreList":[]}
1
+ {"version":3,"names":["A11yIndex","A11yOrder","A11yPaneTitle","A11yScreenChange","A11yView","A11yFocusFrame","A11yFocusTrap","A11yCard","A11yOrderTypeEnum","A11y","Order","Index","View","PaneTitle","ScreenChange","FocusFrame","FocusTrap","Card","ScreenReader","announce","cancel","cancelAll"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,kCAAkC;AAC5D,SAASC,SAAS,QAAQ,qCAAkC;AAC5D,SACEC,aAAa,EACbC,gBAAgB,QACX,6CAA0C;AACjD,SAASC,QAAQ,QAAQ,mCAAgC;AACzD,SAASC,cAAc,QAAQ,qDAAqD;AACpF,SAASC,aAAa,QAAQ,mDAAmD;AACjF,SAASC,QAAQ,QAAQ,gCAAgC;;AAEzD;;AASA,SAASC,iBAAiB,QAAQ,2CAAwC;AAe1E;;AAEA,OAAO,MAAMC,IAAI,GAAG;EAClBC,KAAK,EAAET,SAAS;EAChBU,KAAK,EAAEX,SAAS;EAChBY,IAAI,EAAER,QAAQ;EACdS,SAAS,EAAEX,aAAa;EACxBY,YAAY,EAAEX,gBAAgB;EAC9BY,UAAU,EAAEV,cAAc;EAC1BW,SAAS,EAAEV,aAAa;EACxBW,IAAI,EAAEV;AACR,CAAC;AAED,SACEW,YAAY,EACZC,QAAQ,EACRC,MAAM,EACNC,SAAS,QACJ,8BAA8B","ignoreList":[]}
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { A11yIndex } from './components/A11yIndex/A11yIndex';
4
4
  import { View } from 'react-native';
5
- export { A11yOrderTypeEnum } from './components/A11yIndex/A11yIndex.types';
5
+ export { A11yOrderTypeEnum } from "./components/A11yIndex/A11yIndex.types.js";
6
6
  export const A11y = {
7
7
  Order: View,
8
8
  Index: A11yIndex,
@@ -1 +1 @@
1
- {"version":3,"names":["A11yIndex","View","A11yOrderTypeEnum","A11y","Order","Index","PaneTitle","ScreenChange","FocusFrame","FocusTrap","Card","ScreenReader"],"sourceRoot":"../../src","sources":["index.web.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,kCAAkC;AAC5D,SAASC,IAAI,QAAQ,cAAc;AAOnC,SAASC,iBAAiB,QAAQ,wCAAwC;AAM1E,OAAO,MAAMC,IAAI,GAAG;EAClBC,KAAK,EAAEH,IAAI;EACXI,KAAK,EAAEL,SAAS;EAChBC,IAAI,EAAEA,IAAI;EACVK,SAAS,EAAEL,IAAI;EACfM,YAAY,EAAEN,IAAI;EAClBO,UAAU,EAAEP,IAAI;EAChBQ,SAAS,EAAER,IAAI;EACfS,IAAI,EAAET;AACR,CAAC;AAED,SAASU,YAAY,QAAQ,8BAA8B","ignoreList":[]}
1
+ {"version":3,"names":["A11yIndex","View","A11yOrderTypeEnum","A11y","Order","Index","PaneTitle","ScreenChange","FocusFrame","FocusTrap","Card","ScreenReader"],"sourceRoot":"../../src","sources":["index.web.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,kCAAkC;AAC5D,SAASC,IAAI,QAAQ,cAAc;AAOnC,SAASC,iBAAiB,QAAQ,2CAAwC;AAM1E,OAAO,MAAMC,IAAI,GAAG;EAClBC,KAAK,EAAEH,IAAI;EACXI,KAAK,EAAEL,SAAS;EAChBC,IAAI,EAAEA,IAAI;EACVK,SAAS,EAAEL,IAAI;EACfM,YAAY,EAAEN,IAAI;EAClBO,UAAU,EAAEP,IAAI;EAChBQ,SAAS,EAAER,IAAI;EACfS,IAAI,EAAET;AACR,CAAC;AAED,SAASU,YAAY,QAAQ,8BAA8B","ignoreList":[]}
@@ -1,20 +1,6 @@
1
1
  "use strict";
2
2
 
3
- import { NativeModules, Platform } from 'react-native';
4
- import NativeA11yAnnounceModule from '../nativeSpecs/NativeA11yAnnounceModule';
5
- const LINKING_ERROR = `The package 'react-native-a11y-order' doesn't seem to be linked. Make sure: \n\n${Platform.select({
6
- ios: "- You have run 'pod install'\n",
7
- default: ''
8
- })}- You rebuilt the app after installing the package\n` + `- You are not using Expo Go\n`;
9
-
10
- // @ts-expect-error
11
- const isTurboModuleEnabled = global.__turboModuleProxy != null;
12
- const A11yAnnounceNative = isTurboModuleEnabled ? NativeA11yAnnounceModule : NativeModules.A11yAnnounceModule;
13
- const A11yAnnounceProxy = A11yAnnounceNative ?? new Proxy({}, {
14
- get() {
15
- throw new Error(LINKING_ERROR);
16
- }
17
- });
3
+ import NativeA11yAnnounceModule from "../nativeSpecs/NativeA11yAnnounceModule.js";
18
4
 
19
5
  // ─── Types ────────────────────────────────────────────────────────────────────
20
6
 
@@ -37,7 +23,7 @@ export function announce(message, options) {
37
23
  speech,
38
24
  ...rest
39
25
  } = options ?? {};
40
- return A11yAnnounceProxy.announce(message, {
26
+ return NativeA11yAnnounceModule.announce(message, {
41
27
  ...rest,
42
28
  ...speech
43
29
  });
@@ -49,7 +35,7 @@ export function announce(message, options) {
49
35
  * In direct mode, interrupts the active announcement if it matches.
50
36
  */
51
37
  export function cancel(id) {
52
- return A11yAnnounceProxy.cancel(id);
38
+ return NativeA11yAnnounceModule.cancel(id);
53
39
  }
54
40
 
55
41
  /**
@@ -57,7 +43,7 @@ export function cancel(id) {
57
43
  * Calm-mode promises resolve with `status: 'cancelled'`.
58
44
  */
59
45
  export function cancelAll() {
60
- return A11yAnnounceProxy.cancelAll();
46
+ return NativeA11yAnnounceModule.cancelAll();
61
47
  }
62
48
 
63
49
  // ─── Namespace export (backward-compatible) ───────────────────────────────────
@@ -1 +1 @@
1
- {"version":3,"names":["NativeModules","Platform","NativeA11yAnnounceModule","LINKING_ERROR","select","ios","default","isTurboModuleEnabled","global","__turboModuleProxy","A11yAnnounceNative","A11yAnnounceModule","A11yAnnounceProxy","Proxy","get","Error","announce","message","options","speech","rest","cancel","id","cancelAll","ScreenReader","calm"],"sourceRoot":"../../../src","sources":["modules/A11yAnnounceModule.ts"],"mappings":";;AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAQ,cAAc;AACtD,OAAOC,wBAAwB,MAAM,yCAAyC;AAE9E,MAAMC,aAAa,GACjB,mFAAmFF,QAAQ,CAACG,MAAM,CAChG;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CACvD,CAAC,sDAAsD,GACvD,+BAA+B;;AAEjC;AACA,MAAMC,oBAAoB,GAAGC,MAAM,CAACC,kBAAkB,IAAI,IAAI;AAE9D,MAAMC,kBAAkB,GAAGH,oBAAoB,GAC3CL,wBAAwB,GACxBF,aAAa,CAACW,kBAAkB;AAEpC,MAAMC,iBAAkD,GACtDF,kBAAkB,IAClB,IAAIG,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACZ,aAAa,CAAC;EAChC;AACF,CACF,CAAC;;AAEH;;AA6FA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASa,QAAQA,CACtBC,OAAe,EACfC,OAAyB,EACI;EAC7B,MAAM;IAAEC,MAAM;IAAE,GAAGC;EAAK,CAAC,GAAGF,OAAO,IAAI,CAAC,CAAC;EACzC,OAAON,iBAAiB,CAAEI,QAAQ,CAACC,OAAO,EAAE;IAC1C,GAAGG,IAAI;IACP,GAAGD;EACL,CAAC,CAAC;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,MAAMA,CAACC,EAAU,EAA+B;EAC9D,OAAOV,iBAAiB,CAAES,MAAM,CAACC,EAAE,CAAC;AACtC;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAAA,EAAgC;EACvD,OAAOX,iBAAiB,CAAEW,SAAS,CAAC,CAAC;AACvC;;AAEA;;AAEA,OAAO,MAAMC,YAAY,GAAG;EAC1B;AACF;AACA;AACA;AACA;EACER,QAAQ,EAAEA,CAACC,OAAe,EAAEC,OAAyB,KACnDF,QAAQ,CAACC,OAAO,EAAE;IAAEQ,IAAI,EAAE,IAAI;IAAE,GAAGP;EAAQ,CAAC,CAAC;EAE/CG,MAAM;EACNE;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["NativeA11yAnnounceModule","announce","message","options","speech","rest","cancel","id","cancelAll","ScreenReader","calm"],"sourceRoot":"../../../src","sources":["modules/A11yAnnounceModule.ts"],"mappings":";;AAAA,OAAOA,wBAAwB,MAAM,4CAAyC;;AAE9E;;AA6FA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,QAAQA,CACtBC,OAAe,EACfC,OAAyB,EACI;EAC7B,MAAM;IAAEC,MAAM;IAAE,GAAGC;EAAK,CAAC,GAAGF,OAAO,IAAI,CAAC,CAAC;EACzC,OAAOH,wBAAwB,CAACC,QAAQ,CAACC,OAAO,EAAE;IAChD,GAAGG,IAAI;IACP,GAAGD;EACL,CAAC,CAAC;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,MAAMA,CAACC,EAAU,EAA+B;EAC9D,OAAOP,wBAAwB,CAACM,MAAM,CAACC,EAAE,CAAC;AAC5C;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAAA,EAAgC;EACvD,OAAOR,wBAAwB,CAACQ,SAAS,CAAC,CAAC;AAC7C;;AAEA;;AAEA,OAAO,MAAMC,YAAY,GAAG;EAC1B;AACF;AACA;AACA;AACA;EACER,QAAQ,EAAEA,CAACC,OAAe,EAAEC,OAAyB,KACnDF,QAAQ,CAACC,OAAO,EAAE;IAAEQ,IAAI,EAAE,IAAI;IAAE,GAAGP;EAAQ,CAAC,CAAC;EAE/CG,MAAM;EACNE;AACF,CAAC","ignoreList":[]}
@@ -1,7 +1,11 @@
1
- import { codegenNativeComponent, type ViewProps } from 'react-native';
1
+ import {
2
+ codegenNativeComponent,
3
+ type ViewProps,
4
+ type HostComponent,
5
+ } from 'react-native';
2
6
 
3
7
  export interface A11yCardNativeComponentProps extends ViewProps {}
4
8
 
5
9
  export default codegenNativeComponent<A11yCardNativeComponentProps>(
6
10
  'A11yCardView'
7
- );
11
+ ) as HostComponent<A11yCardNativeComponentProps>;
@@ -3,11 +3,9 @@ import {
3
3
  codegenNativeComponent,
4
4
  codegenNativeCommands,
5
5
  type ViewProps,
6
+ type CodegenTypes,
7
+ type HostComponent,
6
8
  } from 'react-native';
7
- import type {
8
- DirectEventHandler,
9
- Int32,
10
- } from 'react-native/Libraries/Types/CodegenTypes';
11
9
 
12
10
  export type ScreenReaderFocusChange = Readonly<{
13
11
  isFocused: boolean;
@@ -19,18 +17,18 @@ export type ScreenReaderDescendantFocusChanged = Readonly<{
19
17
  }>;
20
18
 
21
19
  export interface A11yIndexNativeComponentProps extends ViewProps {
22
- orderIndex?: Int32;
20
+ orderIndex?: CodegenTypes.Int32;
23
21
  orderKey?: string;
24
- orderFocusType?: Int32;
25
- shouldGroupAccessibilityChildren?: Int32;
22
+ orderFocusType?: CodegenTypes.Int32;
23
+ shouldGroupAccessibilityChildren?: CodegenTypes.Int32;
26
24
 
27
25
  descendantFocusChangedEnabled?: boolean;
28
26
 
29
- onScreenReaderFocused?: DirectEventHandler<{}>;
30
- onScreenReaderDescendantFocusChanged?: DirectEventHandler<ScreenReaderDescendantFocusChanged>;
31
- onScreenReaderFocusChange?: DirectEventHandler<ScreenReaderFocusChange>;
27
+ onScreenReaderFocused?: CodegenTypes.DirectEventHandler<{}>;
28
+ onScreenReaderDescendantFocusChanged?: CodegenTypes.DirectEventHandler<ScreenReaderDescendantFocusChanged>;
29
+ onScreenReaderFocusChange?: CodegenTypes.DirectEventHandler<ScreenReaderFocusChange>;
32
30
 
33
- containerType?: Int32;
31
+ containerType?: CodegenTypes.Int32;
34
32
  }
35
33
 
36
34
  export interface NativeCommands {
@@ -44,4 +42,4 @@ export const Commands: NativeCommands = codegenNativeCommands<NativeCommands>({
44
42
 
45
43
  export default codegenNativeComponent<A11yIndexNativeComponentProps>(
46
44
  'A11yIndexView'
47
- );
45
+ ) as HostComponent<A11yIndexNativeComponentProps>;
@@ -1,11 +1,17 @@
1
- import { codegenNativeComponent, type ViewProps } from 'react-native';
2
- import type { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
1
+ import {
2
+ codegenNativeComponent,
3
+ type HostComponent,
4
+ type ViewProps,
5
+ type CodegenTypes,
6
+ } from 'react-native';
3
7
 
4
8
  export interface A11yLockNativeComponentProps extends ViewProps {
5
- componentType: Int32;
9
+ componentType: CodegenTypes.Int32;
6
10
  containerKey?: string;
7
11
  lockDisabled?: boolean;
8
12
  forceLock?: boolean;
9
13
  }
10
14
 
11
- export default codegenNativeComponent<A11yLockNativeComponentProps>('A11yLock');
15
+ export default codegenNativeComponent<A11yLockNativeComponentProps>(
16
+ 'A11yLock'
17
+ ) as HostComponent<A11yLockNativeComponentProps>;
@@ -1,4 +1,8 @@
1
- import { codegenNativeComponent, type ViewProps } from 'react-native';
1
+ import {
2
+ codegenNativeComponent,
3
+ type HostComponent,
4
+ type ViewProps,
5
+ } from 'react-native';
2
6
 
3
7
  export interface A11yOrderNativeComponentProps extends ViewProps {
4
8
  orderKey: string;
@@ -6,4 +10,4 @@ export interface A11yOrderNativeComponentProps extends ViewProps {
6
10
 
7
11
  export default codegenNativeComponent<A11yOrderNativeComponentProps>(
8
12
  'A11yOrderView'
9
- );
13
+ ) as HostComponent<A11yOrderNativeComponentProps>;
@@ -1,11 +1,17 @@
1
- import { codegenNativeComponent, type ViewProps } from 'react-native';
2
- import type { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
1
+ import {
2
+ codegenNativeComponent,
3
+ type ViewProps,
4
+ type CodegenTypes,
5
+ type HostComponent,
6
+ } from 'react-native';
3
7
 
4
8
  export interface A11yPaneTitleProps extends ViewProps {
5
9
  title?: string;
6
10
  detachMessage?: string;
7
- type: Int32;
11
+ type: CodegenTypes.Int32;
8
12
  withFocusRestore?: boolean;
9
13
  }
10
14
 
11
- export default codegenNativeComponent<A11yPaneTitleProps>('A11yPaneTitle');
15
+ export default codegenNativeComponent<A11yPaneTitleProps>(
16
+ 'A11yPaneTitle'
17
+ ) as HostComponent<A11yPaneTitleProps>;
@@ -5,5 +5,5 @@ import { TurboModuleRegistry } from 'react-native';
5
5
  // Speech options are kept flat here (bridge contract).
6
6
  // The JS API groups them under `speech: {}` and flattens before calling native.
7
7
 
8
- export default TurboModuleRegistry.get('A11yAnnounceModule');
8
+ export default TurboModuleRegistry.getEnforcing('A11yAnnounceModule');
9
9
  //# sourceMappingURL=NativeA11yAnnounceModule.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["TurboModuleRegistry","get"],"sourceRoot":"../../../src","sources":["nativeSpecs/NativeA11yAnnounceModule.ts"],"mappings":";;AACA,SAASA,mBAAmB,QAAQ,cAAc;;AAElD;AACA;;AAiCA,eAAeA,mBAAmB,CAACC,GAAG,CAAO,oBAAoB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../src","sources":["nativeSpecs/NativeA11yAnnounceModule.ts"],"mappings":";;AACA,SAASA,mBAAmB,QAAQ,cAAc;;AAElD;AACA;;AAiCA,eAAeA,mBAAmB,CAACC,YAAY,CAAO,oBAAoB,CAAC","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- import type { A11yCardProps } from './A11yCard.types';
1
+ import type { A11yCardProps } from './A11yCard.types.js';
3
2
  export type { A11yCardProps };
4
- export declare const A11yCard: ({ containerProps, style, testID, onPress, accessibility, pressableProps, children, }: A11yCardProps) => React.JSX.Element;
3
+ export declare const A11yCard: ({ containerProps, style, testID, onPress, accessibility, pressableProps, children, }: A11yCardProps) => import("react/jsx-runtime").JSX.Element;
5
4
  //# sourceMappingURL=A11yCard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"A11yCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yCard/A11yCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B,eAAO,MAAM,QAAQ,GAAI,sFAQtB,aAAa,sBAgBf,CAAC"}
1
+ {"version":3,"file":"A11yCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yCard/A11yCard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAkB,CAAC;AAEtD,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B,eAAO,MAAM,QAAQ,GAAI,sFAQtB,aAAa,4CAgBf,CAAC"}
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- import type { A11yCardProps } from './A11yCard.types';
1
+ import type { A11yCardProps } from './A11yCard.types.js';
3
2
  export type { A11yCardProps };
4
- export declare const A11yCard: ({ containerProps, style, testID, onPress, accessibility, pressableProps, children, }: A11yCardProps) => React.JSX.Element;
3
+ export declare const A11yCard: ({ containerProps, style, testID, onPress, accessibility, pressableProps, children, }: A11yCardProps) => import("react/jsx-runtime").JSX.Element;
5
4
  //# sourceMappingURL=A11yCard.ios.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"A11yCard.ios.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yCard/A11yCard.ios.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B,eAAO,MAAM,QAAQ,GAAI,sFAQtB,aAAa,sBAwBf,CAAC"}
1
+ {"version":3,"file":"A11yCard.ios.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yCard/A11yCard.ios.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAkB,CAAC;AAEtD,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B,eAAO,MAAM,QAAQ,GAAI,sFAQtB,aAAa,4CAwBf,CAAC"}
@@ -1,138 +1,16 @@
1
1
  import React from 'react';
2
- import { type A11yOrderType, type IndexCommands } from './A11yIndex.types';
3
- export declare const A11yIndex: React.NamedExoticComponent<Readonly<Omit<Readonly<{
4
- onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
5
- onAccessibilityTap?: (() => unknown) | undefined;
6
- onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
7
- onMagicTap?: (() => unknown) | undefined;
8
- onAccessibilityEscape?: (() => unknown) | undefined;
9
- }>, "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderEnd" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
10
- onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
11
- onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
12
- onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
13
- onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
14
- onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
15
- onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
16
- onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
17
- onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
18
- onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
19
- onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
20
- onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
21
- onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
22
- }>, "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
23
- onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
24
- onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
25
- }>, "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
26
- onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
27
- onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
28
- onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
29
- onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
30
- onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
31
- onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
32
- onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
33
- onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
34
- onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
35
- onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
36
- onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
37
- onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
38
- onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
39
- onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
40
- onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
41
- onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
42
- onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
43
- onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
44
- onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
45
- onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
46
- onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
47
- onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
48
- }>, "onClick" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
49
- onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
50
- onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
51
- onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
52
- onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
53
- }>, "onClick" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
54
- onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
55
- onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
56
- onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
57
- onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
58
- onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
59
- onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
60
- onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
61
- onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
62
- }>, "onClick" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
63
- nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
64
- nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
65
- renderToHardwareTextureAndroid?: boolean | undefined;
66
- hasTVPreferredFocus?: boolean | undefined;
67
- nextFocusDown?: number | undefined;
68
- nextFocusForward?: number | undefined;
69
- nextFocusLeft?: number | undefined;
70
- nextFocusRight?: number | undefined;
71
- nextFocusUp?: number | undefined;
72
- focusable?: boolean | undefined;
73
- tabIndex?: 0 | -1;
74
- onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
75
- }>, "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
76
- shouldRasterizeIOS?: boolean | undefined;
77
- }>, "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<Omit<Readonly<{
78
- accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
79
- "aria-labelledby"?: string | undefined;
80
- accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
81
- "aria-live"?: ("polite" | "assertive" | "off") | undefined;
82
- importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
83
- screenReaderFocusable?: boolean;
84
- }>, "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & Omit<Readonly<{
85
- accessibilityIgnoresInvertColors?: boolean | undefined;
86
- accessibilityViewIsModal?: boolean | undefined;
87
- accessibilityShowsLargeContentViewer?: boolean | undefined;
88
- accessibilityLargeContentTitle?: string | undefined;
89
- "aria-modal"?: boolean | undefined;
90
- accessibilityElementsHidden?: boolean | undefined;
91
- accessibilityLanguage?: string | undefined;
92
- accessibilityRespondsToUserInteraction?: boolean | undefined;
93
- }>, "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & {
94
- accessible?: boolean | undefined;
95
- accessibilityLabel?: string | undefined;
96
- accessibilityHint?: string | undefined;
97
- "aria-label"?: string | undefined;
98
- accessibilityRole?: import("react-native").AccessibilityRole | undefined;
99
- role?: import("react-native").Role | undefined;
100
- accessibilityState?: import("react-native").AccessibilityState | undefined;
101
- accessibilityValue?: import("react-native").AccessibilityValue | undefined;
102
- "aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
103
- "aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
104
- "aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
105
- "aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
106
- accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
107
- "aria-busy"?: boolean | undefined;
108
- "aria-checked"?: (boolean | undefined) | "mixed";
109
- "aria-disabled"?: boolean | undefined;
110
- "aria-expanded"?: boolean | undefined;
111
- "aria-selected"?: boolean | undefined;
112
- "aria-hidden"?: boolean | undefined;
113
- }>, "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
114
- children?: React.ReactNode;
115
- style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
116
- collapsable?: boolean | undefined;
117
- collapsableChildren?: boolean | undefined;
118
- id?: string;
119
- testID?: string | undefined;
120
- nativeID?: string | undefined;
121
- needsOffscreenAlphaCompositing?: boolean | undefined;
122
- hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
123
- pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
124
- removeClippedSubviews?: boolean | undefined;
125
- experimental_accessibilityOrder?: Array<string> | undefined;
126
- }>, never>> & {
2
+ import type { ViewProps } from 'react-native';
3
+ import { type A11yOrderType, type IndexCommands } from './A11yIndex.types.js';
4
+ export declare const A11yIndex: React.NamedExoticComponent<ViewProps & {
127
5
  children: React.ReactNode;
128
6
  index?: number;
129
7
  orderType?: A11yOrderType;
130
- a11yUIContainer?: import("./A11yIndex.types").A11yUIContainerType;
8
+ a11yUIContainer?: import("./A11yIndex.types.js").A11yUIContainerType;
131
9
  shouldGroupAccessibilityChildren?: boolean;
132
10
  onScreenReaderFocused?: () => void;
133
11
  onScreenReaderSubViewFocusChange?: (isFocused: boolean) => void;
134
12
  onScreenReaderSubViewFocused?: () => void;
135
13
  onScreenReaderSubViewBlurred?: () => void;
136
- onScreenReaderDescendantFocusChanged?: (e: import("./A11yIndex.types").ScreenReaderDescendantFocusChangedEvent) => void;
14
+ onScreenReaderDescendantFocusChanged?: (e: import("./A11yIndex.types.js").ScreenReaderDescendantFocusChangedEvent) => void;
137
15
  } & React.RefAttributes<IndexCommands>>;
138
16
  //# sourceMappingURL=A11yIndex.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"A11yIndex.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yIndex/A11yIndex.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAM3D,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,aAAa,EAEnB,MAAM,mBAAmB,CAAC;AA2G3B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCAgErB,CAAC"}
1
+ {"version":3,"file":"A11yIndex.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yIndex/A11yIndex.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAK9C,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,aAAa,EAEnB,MAAM,sBAAmB,CAAC;AA2G3B,eAAO,MAAM,SAAS;;;;;;;;;;;uCAgErB,CAAC"}