react-native-a11y-order 0.7.2 → 0.8.1-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.

Potentially problematic release.


This version of react-native-a11y-order might be problematic. Click here for more details.

Files changed (198) hide show
  1. package/android/src/main/java/com/a11yorder/A11yOrderPackage.java +1 -0
  2. package/android/src/main/java/com/a11yorder/events/ScreenReaderFocusedEvent.java +2 -0
  3. package/lib/module/components/A11yGroup/A11yGroup.android.js +7 -4
  4. package/lib/module/components/A11yGroup/A11yGroup.android.js.map +1 -1
  5. package/lib/module/components/A11yGroup/A11yGroup.ios.js +9 -4
  6. package/lib/module/components/A11yGroup/A11yGroup.ios.js.map +1 -1
  7. package/lib/module/components/A11yGroup/A11yGroup.js +2 -0
  8. package/lib/module/components/A11yGroup/A11yGroup.js.map +1 -1
  9. package/lib/module/components/A11yIndex/A11yIndex.js +16 -11
  10. package/lib/module/components/A11yIndex/A11yIndex.js.map +1 -1
  11. package/lib/module/components/A11yIndex/A11yIndex.web.js +6 -3
  12. package/lib/module/components/A11yIndex/A11yIndex.web.js.map +1 -1
  13. package/lib/module/components/A11yLock/A11yBaseLock/A11yBaseLock.android.js +6 -3
  14. package/lib/module/components/A11yLock/A11yBaseLock/A11yBaseLock.android.js.map +1 -1
  15. package/lib/module/components/A11yLock/A11yBaseLock/A11yBaseLock.js +2 -0
  16. package/lib/module/components/A11yLock/A11yBaseLock/A11yBaseLock.js.map +1 -1
  17. package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.js +11 -6
  18. package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.js.map +1 -1
  19. package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js +9 -2
  20. package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js.map +1 -1
  21. package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.js +11 -6
  22. package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.js.map +1 -1
  23. package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js +11 -6
  24. package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js.map +1 -1
  25. package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrapMountWrapper.js +3 -1
  26. package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrapMountWrapper.js.map +1 -1
  27. package/lib/module/components/A11yPaneTitle/A11yPaneTitle.js +5 -2
  28. package/lib/module/components/A11yPaneTitle/A11yPaneTitle.js.map +1 -1
  29. package/lib/module/components/A11ySequence/A11ySequence.js +11 -7
  30. package/lib/module/components/A11ySequence/A11ySequence.js.map +1 -1
  31. package/lib/module/components/A11yUIContainer/A11yUIContainer.ios.js +8 -5
  32. package/lib/module/components/A11yUIContainer/A11yUIContainer.ios.js.map +1 -1
  33. package/lib/module/components/A11yUIContainer/A11yUIContainer.js +2 -0
  34. package/lib/module/components/A11yUIContainer/A11yUIContainer.js.map +1 -1
  35. package/lib/module/components/A11yView/A11yView.js +9 -6
  36. package/lib/module/components/A11yView/A11yView.js.map +1 -1
  37. package/lib/module/context/A11yFocusFrameProviderContext.js +7 -3
  38. package/lib/module/context/A11yFocusFrameProviderContext.js.map +1 -1
  39. package/lib/module/context/A11ySequenceOrderContext.js +2 -0
  40. package/lib/module/context/A11ySequenceOrderContext.js.map +1 -1
  41. package/lib/module/index.js +5 -3
  42. package/lib/module/index.js.map +1 -1
  43. package/lib/module/index.web.js +2 -0
  44. package/lib/module/index.web.js.map +1 -1
  45. package/lib/module/modules/A11yAnnounceModule.android.js +2 -0
  46. package/lib/module/modules/A11yAnnounceModule.android.js.map +1 -1
  47. package/lib/module/modules/A11yAnnounceModule.js +2 -0
  48. package/lib/module/modules/A11yAnnounceModule.js.map +1 -1
  49. package/lib/module/nativeSpecs/A11yGroupNativeComponent.ts +9 -0
  50. package/lib/module/nativeSpecs/A11yIndexNativeComponent.ts +39 -0
  51. package/lib/module/nativeSpecs/A11yLockNativeComponent.ts +12 -0
  52. package/lib/module/nativeSpecs/A11yOrderNativeComponent.ts +11 -0
  53. package/lib/module/nativeSpecs/A11yPaneTitleNativeComponent.ts +13 -0
  54. package/lib/module/nativeSpecs/A11yUIContainerNativeComponent.ts +12 -0
  55. package/lib/module/nativeSpecs/A11yViewNativeComponent.ts +36 -0
  56. package/lib/module/nativeSpecs/NativeA11yAnnounceModule.js +2 -0
  57. package/lib/module/nativeSpecs/NativeA11yAnnounceModule.js.map +1 -1
  58. package/lib/module/package.json +1 -0
  59. package/lib/module/types/A11yGroup.types.js +2 -0
  60. package/lib/module/types/A11yGroup.types.js.map +1 -1
  61. package/lib/module/types/A11yIndex.types.js +2 -0
  62. package/lib/module/types/A11yIndex.types.js.map +1 -1
  63. package/lib/module/types/A11yLock.types.js +2 -0
  64. package/lib/module/types/A11yLock.types.js.map +1 -1
  65. package/lib/module/types/A11yModule.types.js +2 -0
  66. package/lib/module/types/A11yModule.types.js.map +1 -1
  67. package/lib/module/types/A11yUIContainerView.types.js +2 -0
  68. package/lib/module/types/A11yUIContainerView.types.js.map +1 -1
  69. package/lib/module/types/A11yView.types.js +2 -0
  70. package/lib/module/types/A11yView.types.js.map +1 -1
  71. package/lib/typescript/package.json +1 -0
  72. package/lib/typescript/src/components/A11yIndex/A11yIndex.d.ts +124 -1
  73. package/lib/typescript/src/components/A11yIndex/A11yIndex.d.ts.map +1 -1
  74. package/lib/typescript/src/components/A11yIndex/A11yIndex.web.d.ts +124 -1
  75. package/lib/typescript/src/components/A11yIndex/A11yIndex.web.d.ts.map +1 -1
  76. package/lib/typescript/src/components/A11ySequence/A11ySequence.d.ts +124 -2
  77. package/lib/typescript/src/components/A11ySequence/A11ySequence.d.ts.map +1 -1
  78. package/lib/typescript/src/components/A11yView/A11yView.d.ts +129 -3
  79. package/lib/typescript/src/components/A11yView/A11yView.d.ts.map +1 -1
  80. package/lib/typescript/src/index.d.ts +377 -4
  81. package/lib/typescript/src/index.d.ts.map +1 -1
  82. package/lib/typescript/src/index.web.d.ts +164 -10
  83. package/lib/typescript/src/index.web.d.ts.map +1 -1
  84. package/lib/typescript/src/nativeSpecs/A11yGroupNativeComponent.d.ts +3 -1
  85. package/lib/typescript/src/nativeSpecs/A11yGroupNativeComponent.d.ts.map +1 -1
  86. package/lib/typescript/src/nativeSpecs/A11yIndexNativeComponent.d.ts +3 -1
  87. package/lib/typescript/src/nativeSpecs/A11yIndexNativeComponent.d.ts.map +1 -1
  88. package/lib/typescript/src/nativeSpecs/A11yLockNativeComponent.d.ts +3 -1
  89. package/lib/typescript/src/nativeSpecs/A11yLockNativeComponent.d.ts.map +1 -1
  90. package/lib/typescript/src/nativeSpecs/A11yOrderNativeComponent.d.ts +3 -1
  91. package/lib/typescript/src/nativeSpecs/A11yOrderNativeComponent.d.ts.map +1 -1
  92. package/lib/typescript/src/nativeSpecs/A11yPaneTitleNativeComponent.d.ts +3 -1
  93. package/lib/typescript/src/nativeSpecs/A11yPaneTitleNativeComponent.d.ts.map +1 -1
  94. package/lib/typescript/src/nativeSpecs/A11yUIContainerNativeComponent.d.ts +3 -1
  95. package/lib/typescript/src/nativeSpecs/A11yUIContainerNativeComponent.d.ts.map +1 -1
  96. package/lib/typescript/src/nativeSpecs/A11yViewNativeComponent.d.ts +3 -1
  97. package/lib/typescript/src/nativeSpecs/A11yViewNativeComponent.d.ts.map +1 -1
  98. package/lib/typescript/src/nativeSpecs/NativeA11yAnnounceModule.d.ts +1 -1
  99. package/package.json +86 -97
  100. package/react-native-a11y-order.podspec +1 -23
  101. package/src/components/A11yIndex/A11yIndex.tsx +2 -1
  102. package/src/components/A11yIndex/A11yIndex.web.tsx +1 -1
  103. package/src/components/A11yView/A11yView.tsx +1 -1
  104. package/src/nativeSpecs/A11yGroupNativeComponent.ts +1 -0
  105. package/src/nativeSpecs/A11yIndexNativeComponent.ts +3 -0
  106. package/src/nativeSpecs/A11yLockNativeComponent.ts +1 -0
  107. package/src/nativeSpecs/A11yOrderNativeComponent.ts +1 -0
  108. package/src/nativeSpecs/A11yPaneTitleNativeComponent.ts +1 -0
  109. package/src/nativeSpecs/A11yUIContainerNativeComponent.ts +1 -0
  110. package/src/nativeSpecs/A11yViewNativeComponent.ts +3 -0
  111. package/lib/commonjs/components/A11yGroup/A11yGroup.android.js +0 -17
  112. package/lib/commonjs/components/A11yGroup/A11yGroup.android.js.map +0 -1
  113. package/lib/commonjs/components/A11yGroup/A11yGroup.ios.js +0 -21
  114. package/lib/commonjs/components/A11yGroup/A11yGroup.ios.js.map +0 -1
  115. package/lib/commonjs/components/A11yGroup/A11yGroup.js +0 -9
  116. package/lib/commonjs/components/A11yGroup/A11yGroup.js.map +0 -1
  117. package/lib/commonjs/components/A11yIndex/A11yIndex.js +0 -55
  118. package/lib/commonjs/components/A11yIndex/A11yIndex.js.map +0 -1
  119. package/lib/commonjs/components/A11yIndex/A11yIndex.web.js +0 -25
  120. package/lib/commonjs/components/A11yIndex/A11yIndex.web.js.map +0 -1
  121. package/lib/commonjs/components/A11yLock/A11yBaseLock/A11yBaseLock.android.js +0 -22
  122. package/lib/commonjs/components/A11yLock/A11yBaseLock/A11yBaseLock.android.js.map +0 -1
  123. package/lib/commonjs/components/A11yLock/A11yBaseLock/A11yBaseLock.js +0 -9
  124. package/lib/commonjs/components/A11yLock/A11yBaseLock/A11yBaseLock.js.map +0 -1
  125. package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.js +0 -21
  126. package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.js.map +0 -1
  127. package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js +0 -13
  128. package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js.map +0 -1
  129. package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.js +0 -19
  130. package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.js.map +0 -1
  131. package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js +0 -17
  132. package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js.map +0 -1
  133. package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrapMountWrapper.js +0 -46
  134. package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrapMountWrapper.js.map +0 -1
  135. package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.js +0 -41
  136. package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.js.map +0 -1
  137. package/lib/commonjs/components/A11ySequence/A11ySequence.js +0 -20
  138. package/lib/commonjs/components/A11ySequence/A11ySequence.js.map +0 -1
  139. package/lib/commonjs/components/A11yUIContainer/A11yUIContainer.ios.js +0 -21
  140. package/lib/commonjs/components/A11yUIContainer/A11yUIContainer.ios.js.map +0 -1
  141. package/lib/commonjs/components/A11yUIContainer/A11yUIContainer.js +0 -9
  142. package/lib/commonjs/components/A11yUIContainer/A11yUIContainer.js.map +0 -1
  143. package/lib/commonjs/components/A11yView/A11yView.js +0 -37
  144. package/lib/commonjs/components/A11yView/A11yView.js.map +0 -1
  145. package/lib/commonjs/context/A11yFocusFrameProviderContext.js +0 -28
  146. package/lib/commonjs/context/A11yFocusFrameProviderContext.js.map +0 -1
  147. package/lib/commonjs/context/A11ySequenceOrderContext.js +0 -10
  148. package/lib/commonjs/context/A11ySequenceOrderContext.js.map +0 -1
  149. package/lib/commonjs/index.js +0 -33
  150. package/lib/commonjs/index.js.map +0 -1
  151. package/lib/commonjs/index.web.js +0 -27
  152. package/lib/commonjs/index.web.js.map +0 -1
  153. package/lib/commonjs/modules/A11yAnnounceModule.android.js +0 -11
  154. package/lib/commonjs/modules/A11yAnnounceModule.android.js.map +0 -1
  155. package/lib/commonjs/modules/A11yAnnounceModule.js +0 -28
  156. package/lib/commonjs/modules/A11yAnnounceModule.js.map +0 -1
  157. package/lib/commonjs/nativeSpecs/A11yGroupNativeComponent.js +0 -10
  158. package/lib/commonjs/nativeSpecs/A11yGroupNativeComponent.js.map +0 -1
  159. package/lib/commonjs/nativeSpecs/A11yIndexNativeComponent.js +0 -14
  160. package/lib/commonjs/nativeSpecs/A11yIndexNativeComponent.js.map +0 -1
  161. package/lib/commonjs/nativeSpecs/A11yLockNativeComponent.js +0 -10
  162. package/lib/commonjs/nativeSpecs/A11yLockNativeComponent.js.map +0 -1
  163. package/lib/commonjs/nativeSpecs/A11yOrderNativeComponent.js +0 -10
  164. package/lib/commonjs/nativeSpecs/A11yOrderNativeComponent.js.map +0 -1
  165. package/lib/commonjs/nativeSpecs/A11yPaneTitleNativeComponent.js +0 -10
  166. package/lib/commonjs/nativeSpecs/A11yPaneTitleNativeComponent.js.map +0 -1
  167. package/lib/commonjs/nativeSpecs/A11yUIContainerNativeComponent.js +0 -10
  168. package/lib/commonjs/nativeSpecs/A11yUIContainerNativeComponent.js.map +0 -1
  169. package/lib/commonjs/nativeSpecs/A11yViewNativeComponent.js +0 -14
  170. package/lib/commonjs/nativeSpecs/A11yViewNativeComponent.js.map +0 -1
  171. package/lib/commonjs/nativeSpecs/NativeA11yAnnounceModule.js +0 -9
  172. package/lib/commonjs/nativeSpecs/NativeA11yAnnounceModule.js.map +0 -1
  173. package/lib/commonjs/types/A11yGroup.types.js +0 -6
  174. package/lib/commonjs/types/A11yGroup.types.js.map +0 -1
  175. package/lib/commonjs/types/A11yIndex.types.js +0 -13
  176. package/lib/commonjs/types/A11yIndex.types.js.map +0 -1
  177. package/lib/commonjs/types/A11yLock.types.js +0 -6
  178. package/lib/commonjs/types/A11yLock.types.js.map +0 -1
  179. package/lib/commonjs/types/A11yModule.types.js +0 -6
  180. package/lib/commonjs/types/A11yModule.types.js.map +0 -1
  181. package/lib/commonjs/types/A11yUIContainerView.types.js +0 -15
  182. package/lib/commonjs/types/A11yUIContainerView.types.js.map +0 -1
  183. package/lib/commonjs/types/A11yView.types.js +0 -6
  184. package/lib/commonjs/types/A11yView.types.js.map +0 -1
  185. package/lib/module/nativeSpecs/A11yGroupNativeComponent.js +0 -3
  186. package/lib/module/nativeSpecs/A11yGroupNativeComponent.js.map +0 -1
  187. package/lib/module/nativeSpecs/A11yIndexNativeComponent.js +0 -7
  188. package/lib/module/nativeSpecs/A11yIndexNativeComponent.js.map +0 -1
  189. package/lib/module/nativeSpecs/A11yLockNativeComponent.js +0 -3
  190. package/lib/module/nativeSpecs/A11yLockNativeComponent.js.map +0 -1
  191. package/lib/module/nativeSpecs/A11yOrderNativeComponent.js +0 -3
  192. package/lib/module/nativeSpecs/A11yOrderNativeComponent.js.map +0 -1
  193. package/lib/module/nativeSpecs/A11yPaneTitleNativeComponent.js +0 -3
  194. package/lib/module/nativeSpecs/A11yPaneTitleNativeComponent.js.map +0 -1
  195. package/lib/module/nativeSpecs/A11yUIContainerNativeComponent.js +0 -3
  196. package/lib/module/nativeSpecs/A11yUIContainerNativeComponent.js.map +0 -1
  197. package/lib/module/nativeSpecs/A11yViewNativeComponent.js +0 -7
  198. package/lib/module/nativeSpecs/A11yViewNativeComponent.js.map +0 -1
@@ -1,11 +1,18 @@
1
- import { View } from 'react-native';
2
1
  export type { IndexCommands, A11yOrderType, A11yOrderTypeEnum, A11yIndexProps, } from './types/A11yIndex.types';
3
2
  export type { A11yContainerTypeEnum, A11yUIContainerType, A11yUIContainerProps, } from './types/A11yUIContainerView.types';
4
3
  export type { ScreenReaderDescendantFocusChangedEvent } from './types/A11yView.types';
5
4
  export type { A11yViewProps } from './types/A11yView.types';
6
5
  export declare const A11y: {
7
- Order: typeof View;
8
- Group: typeof View;
6
+ Order: (props: Omit<import("react-native").ViewProps, keyof {
7
+ ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
8
+ }> & {
9
+ ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
10
+ }) => React.ReactNode;
11
+ Group: (props: Omit<import("react-native").ViewProps, keyof {
12
+ ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
13
+ }> & {
14
+ ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
15
+ }) => React.ReactNode;
9
16
  Index: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
10
17
  children: React.ReactNode;
11
18
  index: number;
@@ -13,13 +20,160 @@ export declare const A11y: {
13
20
  onScreenReaderSubViewFocusChange?: (isFocused: boolean) => void;
14
21
  onScreenReaderSubViewFocused?: () => void;
15
22
  onScreenReaderSubViewBlurred?: () => void;
16
- } & import("react-native").ViewProps & import("react").RefAttributes<import(".").IndexCommands>>>;
17
- Container: typeof View;
18
- PaneTitle: typeof View;
19
- ScreenChange: typeof View;
20
- View: typeof View;
21
- FocusFrame: typeof View;
22
- FocusTrap: typeof View;
23
+ } & Readonly<Omit<Readonly<{
24
+ onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
25
+ onAccessibilityTap?: (() => unknown) | undefined;
26
+ onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
27
+ onMagicTap?: (() => unknown) | undefined;
28
+ onAccessibilityEscape?: (() => unknown) | undefined;
29
+ }>, "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<{
30
+ onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
31
+ onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
32
+ onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
33
+ onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
34
+ onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
35
+ onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
36
+ onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
37
+ onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
38
+ onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
39
+ onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
40
+ onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
41
+ onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
42
+ }>, "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<{
43
+ onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
44
+ onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
45
+ }>, "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<{
46
+ onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
47
+ onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
48
+ onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
49
+ onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
50
+ onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
51
+ onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
52
+ onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
53
+ onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
54
+ onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
55
+ onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
56
+ onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
57
+ onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
58
+ onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
59
+ onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
60
+ onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
61
+ onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
62
+ onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
63
+ onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
64
+ onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
65
+ onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
66
+ onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
67
+ onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
68
+ }>, "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<{
69
+ onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
70
+ onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
71
+ onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
72
+ onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
73
+ }>, "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<{
74
+ onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
75
+ onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
76
+ onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
77
+ onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
78
+ onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
79
+ onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
80
+ onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
81
+ onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
82
+ }>, "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<{
83
+ nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
84
+ nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
85
+ renderToHardwareTextureAndroid?: boolean | undefined;
86
+ hasTVPreferredFocus?: boolean | undefined;
87
+ nextFocusDown?: number | undefined;
88
+ nextFocusForward?: number | undefined;
89
+ nextFocusLeft?: number | undefined;
90
+ nextFocusRight?: number | undefined;
91
+ nextFocusUp?: number | undefined;
92
+ focusable?: boolean | undefined;
93
+ tabIndex?: 0 | -1;
94
+ onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
95
+ }>, "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<{
96
+ shouldRasterizeIOS?: boolean | undefined;
97
+ }>, "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<{
98
+ accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
99
+ "aria-labelledby"?: string | undefined;
100
+ accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
101
+ "aria-live"?: ("polite" | "assertive" | "off") | undefined;
102
+ importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
103
+ screenReaderFocusable?: boolean;
104
+ }>, "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<{
105
+ accessibilityIgnoresInvertColors?: boolean | undefined;
106
+ accessibilityViewIsModal?: boolean | undefined;
107
+ accessibilityShowsLargeContentViewer?: boolean | undefined;
108
+ accessibilityLargeContentTitle?: string | undefined;
109
+ "aria-modal"?: boolean | undefined;
110
+ accessibilityElementsHidden?: boolean | undefined;
111
+ accessibilityLanguage?: string | undefined;
112
+ accessibilityRespondsToUserInteraction?: boolean | undefined;
113
+ }>, "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"> & {
114
+ accessible?: boolean | undefined;
115
+ accessibilityLabel?: string | undefined;
116
+ accessibilityHint?: string | undefined;
117
+ "aria-label"?: string | undefined;
118
+ accessibilityRole?: import("react-native").AccessibilityRole | undefined;
119
+ role?: import("react-native").Role | undefined;
120
+ accessibilityState?: import("react-native").AccessibilityState | undefined;
121
+ accessibilityValue?: import("react-native").AccessibilityValue | undefined;
122
+ "aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
123
+ "aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
124
+ "aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
125
+ "aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
126
+ accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
127
+ "aria-busy"?: boolean | undefined;
128
+ "aria-checked"?: (boolean | undefined) | "mixed";
129
+ "aria-disabled"?: boolean | undefined;
130
+ "aria-expanded"?: boolean | undefined;
131
+ "aria-selected"?: boolean | undefined;
132
+ "aria-hidden"?: boolean | undefined;
133
+ }>, "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
134
+ children?: React.ReactNode;
135
+ style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
136
+ collapsable?: boolean | undefined;
137
+ collapsableChildren?: boolean | undefined;
138
+ id?: string;
139
+ testID?: string | undefined;
140
+ nativeID?: string | undefined;
141
+ needsOffscreenAlphaCompositing?: boolean | undefined;
142
+ hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
143
+ pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
144
+ removeClippedSubviews?: boolean | undefined;
145
+ experimental_accessibilityOrder?: Array<string> | undefined;
146
+ }>, never>> & import("react").RefAttributes<import(".").IndexCommands>>>;
147
+ Container: (props: Omit<import("react-native").ViewProps, keyof {
148
+ ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
149
+ }> & {
150
+ ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
151
+ }) => React.ReactNode;
152
+ PaneTitle: (props: Omit<import("react-native").ViewProps, keyof {
153
+ ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
154
+ }> & {
155
+ ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
156
+ }) => React.ReactNode;
157
+ ScreenChange: (props: Omit<import("react-native").ViewProps, keyof {
158
+ ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
159
+ }> & {
160
+ ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
161
+ }) => React.ReactNode;
162
+ View: (props: Omit<import("react-native").ViewProps, keyof {
163
+ ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
164
+ }> & {
165
+ ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
166
+ }) => React.ReactNode;
167
+ FocusFrame: (props: Omit<import("react-native").ViewProps, keyof {
168
+ ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
169
+ }> & {
170
+ ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
171
+ }) => React.ReactNode;
172
+ FocusTrap: (props: Omit<import("react-native").ViewProps, keyof {
173
+ ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
174
+ }> & {
175
+ ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
176
+ }) => React.ReactNode;
23
177
  };
24
178
  export { A11yModule } from './modules/A11yAnnounceModule';
25
179
  //# sourceMappingURL=index.web.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../src/index.web.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,YAAY,EACV,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,cAAc,GACf,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EACV,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,mCAAmC,CAAC;AAE3C,YAAY,EAAE,uCAAuC,EAAE,MAAM,wBAAwB,CAAC;AAEtF,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;CAUhB,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../src/index.web.ts"],"names":[],"mappings":"AAGA,YAAY,EACV,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,cAAc,GACf,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EACV,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,mCAAmC,CAAC;AAE3C,YAAY,EAAE,uCAAuC,EAAE,MAAM,wBAAwB,CAAC;AAEtF,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,eAAO,MAAM,IAAI;;WAaiE,CAAC;;WAAyE,CAAC;;;WAA3E,CAAC;;WAAyE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAA3E,CAAC;;WAAyE,CAAC;;;WAA3E,CAAC;;WAAyE,CAAC;;;WAA3E,CAAC;;WAAyE,CAAC;;;WAA3E,CAAC;;WAAyE,CAAC;;;WAA3E,CAAC;;WAAyE,CAAC;;;WAA3E,CAAC;;WAAyE,CAAC;;CAH5J,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC"}
@@ -1,6 +1,8 @@
1
1
  import type { ViewProps } from 'react-native';
2
2
  export interface A11yGroupNativeComponentProps extends ViewProps {
3
3
  }
4
- declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<A11yGroupNativeComponentProps>;
4
+ declare const _default: (props: Omit<A11yGroupNativeComponentProps, "ref"> & {
5
+ ref?: React.Ref<import("react-native").HostInstance>;
6
+ }) => React.ReactNode;
5
7
  export default _default;
6
8
  //# sourceMappingURL=A11yGroupNativeComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"A11yGroupNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yGroupNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,MAAM,WAAW,6BAA8B,SAAQ,SAAS;CAAG;;AAEnE,wBAEE"}
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"}
@@ -17,6 +17,8 @@ export interface NativeCommands {
17
17
  focus: (viewRef: React.ElementRef<ComponentType>) => void;
18
18
  }
19
19
  export declare const Commands: NativeCommands;
20
- declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<A11yIndexNativeComponentProps>;
20
+ declare const _default: (props: Omit<A11yIndexNativeComponentProps, "ref"> & {
21
+ ref?: React.Ref<import("react-native").HostInstance>;
22
+ }) => React.ReactNode;
21
23
  export default _default;
22
24
  //# sourceMappingURL=A11yIndexNativeComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"A11yIndexNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yIndexNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EACV,kBAAkB,EAClB,KAAK,EACN,MAAM,2CAA2C,CAAC;AAInD,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;CAChB,CAAC,CAAC;AAEH,MAAM,WAAW,6BAA8B,SAAQ,SAAS;IAC9D,UAAU,EAAE,KAAK,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,KAAK,CAAC;IAEtB,yBAAyB,CAAC,EAAE,kBAAkB,CAAC,uBAAuB,CAAC,CAAC;CACzE;AAED,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;CAC3D;AAED,eAAO,MAAM,QAAQ,EAAE,cAErB,CAAC;;AAEH,wBAEE"}
1
+ {"version":3,"file":"A11yIndexNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yIndexNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EACV,kBAAkB,EAClB,KAAK,EACN,MAAM,2CAA2C,CAAC;AAMnD,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;CAChB,CAAC,CAAC;AAEH,MAAM,WAAW,6BAA8B,SAAQ,SAAS;IAC9D,UAAU,EAAE,KAAK,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,KAAK,CAAC;IAEtB,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,wBAEE"}
@@ -5,6 +5,8 @@ export interface A11yLockNativeComponentProps extends ViewProps {
5
5
  containerKey?: string;
6
6
  lockDisabled?: boolean;
7
7
  }
8
- declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<A11yLockNativeComponentProps>;
8
+ declare const _default: (props: Omit<A11yLockNativeComponentProps, "ref"> & {
9
+ ref?: React.Ref<import("react-native").HostInstance>;
10
+ }) => React.ReactNode;
9
11
  export default _default;
10
12
  //# sourceMappingURL=A11yLockNativeComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"A11yLockNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yLockNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAGvE,MAAM,WAAW,4BAA6B,SAAQ,SAAS;IAC7D,aAAa,EAAE,KAAK,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;;AAED,wBAAgF"}
1
+ {"version":3,"file":"A11yLockNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yLockNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAIvE,MAAM,WAAW,4BAA6B,SAAQ,SAAS;IAC7D,aAAa,EAAE,KAAK,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;;;;AAED,wBAAgF"}
@@ -2,6 +2,8 @@ import type { ViewProps } from 'react-native';
2
2
  export interface A11yOrderNativeComponentProps extends ViewProps {
3
3
  orderKey: string;
4
4
  }
5
- declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<A11yOrderNativeComponentProps>;
5
+ declare const _default: (props: Omit<A11yOrderNativeComponentProps, "ref"> & {
6
+ ref?: React.Ref<import("react-native").HostInstance>;
7
+ }) => React.ReactNode;
6
8
  export default _default;
7
9
  //# sourceMappingURL=A11yOrderNativeComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"A11yOrderNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yOrderNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9C,MAAM,WAAW,6BAA8B,SAAQ,SAAS;IAC9D,QAAQ,EAAE,MAAM,CAAC;CAClB;;AAED,wBAEE"}
1
+ {"version":3,"file":"A11yOrderNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yOrderNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9C,MAAM,WAAW,6BAA8B,SAAQ,SAAS;IAC9D,QAAQ,EAAE,MAAM,CAAC;CAClB;;;;AAED,wBAEE"}
@@ -6,6 +6,8 @@ export interface A11yPaneTitleProps extends ViewProps {
6
6
  type: Int32;
7
7
  withFocusRestore?: boolean;
8
8
  }
9
- declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<A11yPaneTitleProps>;
9
+ declare const _default: (props: Omit<A11yPaneTitleProps, "ref"> & {
10
+ ref?: React.Ref<import("react-native").HostInstance>;
11
+ }) => React.ReactNode;
10
12
  export default _default;
11
13
  //# sourceMappingURL=A11yPaneTitleNativeComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"A11yPaneTitleNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yPaneTitleNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAGvE,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,KAAK,CAAC;IACZ,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;;AAED,wBAA2E"}
1
+ {"version":3,"file":"A11yPaneTitleNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yPaneTitleNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAIvE,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,KAAK,CAAC;IACZ,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;;;;AAED,wBAA2E"}
@@ -3,6 +3,8 @@ import type { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
3
3
  export interface A11yUIContainerNativeComponentProps extends ViewProps {
4
4
  containerType?: Int32;
5
5
  }
6
- declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<A11yUIContainerNativeComponentProps>;
6
+ declare const _default: (props: Omit<A11yUIContainerNativeComponentProps, "ref"> & {
7
+ ref?: React.Ref<import("react-native").HostInstance>;
8
+ }) => React.ReactNode;
7
9
  export default _default;
8
10
  //# sourceMappingURL=A11yUIContainerNativeComponent.d.ts.map
@@ -1 +1 @@
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;AAGvE,MAAM,WAAW,mCAAoC,SAAQ,SAAS;IACpE,aAAa,CAAC,EAAE,KAAK,CAAC;CACvB;;AAED,wBAEE"}
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"}
@@ -19,6 +19,8 @@ export interface NativeCommands {
19
19
  focus: (viewRef: React.ElementRef<ComponentType>) => void;
20
20
  }
21
21
  export declare const Commands: NativeCommands;
22
- declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<A11yViewProps>;
22
+ declare const _default: (props: Omit<A11yViewProps, "ref"> & {
23
+ ref?: React.Ref<import("react-native").HostInstance>;
24
+ }) => React.ReactNode;
23
25
  export default _default;
24
26
  //# sourceMappingURL=A11yViewNativeComponent.d.ts.map
@@ -1 +1 @@
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;AAIpF,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;IAC7B,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
+ {"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"}
@@ -2,6 +2,6 @@ import type { TurboModule } from 'react-native';
2
2
  export interface Spec extends TurboModule {
3
3
  announce(message: string): void;
4
4
  }
5
- declare const _default: Spec | null;
5
+ declare const _default: Spec | null | undefined;
6
6
  export default _default;
7
7
  //# sourceMappingURL=NativeA11yAnnounceModule.d.ts.map
package/package.json CHANGED
@@ -1,12 +1,17 @@
1
1
  {
2
2
  "name": "react-native-a11y-order",
3
- "version": "0.7.2",
3
+ "version": "0.8.1-rc",
4
4
  "description": "ReactNative library for managing screen reader focus ordering",
5
- "main": "lib/commonjs/index",
6
- "module": "lib/module/index",
7
- "types": "lib/typescript/src/index.d.ts",
8
- "react-native": "src/index",
9
- "source": "src/index",
5
+ "main": "./lib/module/index.js",
6
+ "types": "./lib/typescript/src/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "source": "./src/index.tsx",
10
+ "types": "./lib/typescript/src/index.d.ts",
11
+ "default": "./lib/module/index.js"
12
+ },
13
+ "./package.json": "./package.json"
14
+ },
10
15
  "files": [
11
16
  "src",
12
17
  "lib",
@@ -14,7 +19,7 @@
14
19
  "ios",
15
20
  "cpp",
16
21
  "*.podspec",
17
- "!lib/typescript/example",
22
+ "react-native.config.js",
18
23
  "!ios/build",
19
24
  "!android/build",
20
25
  "!android/gradle",
@@ -27,15 +32,14 @@
27
32
  "!**/.*"
28
33
  ],
29
34
  "scripts": {
30
- "test": "jest",
31
- "typecheck": "tsc --noEmit",
35
+ "example": "yarn workspace a11y-order-example",
36
+ "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
37
+ "prepare": "bob build",
38
+ "typecheck": "tsc",
32
39
  "lint": "eslint \"**/*.{js,ts,tsx}\"",
33
- "prepack": "bob build",
34
- "release": "release-it",
35
- "release-no-increment": "release-it --no-increment",
36
- "example": "yarn --cwd example",
37
- "bootstrap": "yarn example && yarn install && yarn example pods",
38
- "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build"
40
+ "test": "jest",
41
+ "release": "release-it --only-version",
42
+ "release-ni": "release-it --no-increment"
39
43
  },
40
44
  "keywords": [
41
45
  "react-native",
@@ -60,101 +64,48 @@
60
64
  "registry": "https://registry.npmjs.org/"
61
65
  },
62
66
  "devDependencies": {
63
- "@commitlint/config-conventional": "^17.0.2",
64
- "@evilmartians/lefthook": "^1.5.0",
65
- "@react-native-community/cli": "15.0.1",
66
- "@react-native/eslint-config": "^0.73.1",
67
+ "@commitlint/config-conventional": "^19.8.1",
68
+ "@eslint/compat": "^1.3.2",
69
+ "@eslint/eslintrc": "^3.3.1",
70
+ "@eslint/js": "^9.35.0",
71
+ "@react-native/babel-preset": "0.83.0",
72
+ "@react-native/eslint-config": "0.83.0",
67
73
  "@release-it/conventional-changelog": "^10.0.1",
68
- "@types/jest": "^29.5.5",
74
+ "@types/jest": "^29.5.14",
69
75
  "@types/react": "^18.2.44",
70
- "commitlint": "^17.0.2",
71
- "del-cli": "^5.1.0",
72
- "eslint": "^8.51.0",
73
- "eslint-config-prettier": "^9.0.0",
74
- "eslint-plugin-prettier": "^5.0.1",
76
+ "commitlint": "^19.8.1",
77
+ "del-cli": "^6.0.0",
78
+ "eslint": "^9.35.0",
79
+ "eslint-config-prettier": "^10.1.8",
80
+ "eslint-plugin-prettier": "^4.2.1",
75
81
  "jest": "^29.7.0",
76
- "prettier": "^3.0.3",
77
- "react": "18.3.1",
78
- "react-native": "0.76.5",
79
- "react-native-builder-bob": "^0.20.4",
80
- "release-it": "^19.0.5",
81
- "turbo": "^1.10.7",
82
- "typescript": "^5.2.2"
83
- },
84
- "resolutions": {
85
- "@types/react": "^18.2.44"
82
+ "lefthook": "^2.0.3",
83
+ "prettier": "^2.8.8",
84
+ "react": "19.2.0",
85
+ "react-native": "0.83.0",
86
+ "react-native-builder-bob": "^0.40.18",
87
+ "release-it": "^19.0.4",
88
+ "turbo": "^2.5.6",
89
+ "typescript": "^5.9.2"
86
90
  },
87
91
  "peerDependencies": {
88
92
  "react": "*",
89
93
  "react-native": "*"
90
94
  },
91
- "packageManager": "yarn@3.6.1",
92
- "jest": {
93
- "preset": "react-native",
94
- "modulePathIgnorePatterns": [
95
- "<rootDir>/example/node_modules",
96
- "<rootDir>/lib/"
97
- ]
98
- },
99
- "commitlint": {
100
- "extends": [
101
- "@commitlint/config-conventional"
102
- ]
103
- },
104
- "release-it": {
105
- "git": {
106
- "commitMessage": "chore: release ${version}",
107
- "tagName": "v${version}"
108
- },
109
- "npm": {
110
- "publish": true
111
- },
112
- "github": {
113
- "release": true
114
- },
115
- "plugins": {
116
- "@release-it/conventional-changelog": {
117
- "preset": "angular"
118
- }
119
- }
120
- },
121
- "eslintConfig": {
122
- "root": true,
123
- "extends": [
124
- "@react-native",
125
- "prettier"
126
- ],
127
- "rules": {
128
- "react/react-in-jsx-scope": "off",
129
- "prettier/prettier": [
130
- "error",
131
- {
132
- "quoteProps": "consistent",
133
- "singleQuote": true,
134
- "tabWidth": 2,
135
- "trailingComma": "es5",
136
- "useTabs": false
137
- }
138
- ]
139
- }
140
- },
141
- "eslintIgnore": [
142
- "node_modules/",
143
- "lib/"
95
+ "workspaces": [
96
+ "example"
144
97
  ],
145
- "prettier": {
146
- "quoteProps": "consistent",
147
- "singleQuote": true,
148
- "tabWidth": 2,
149
- "trailingComma": "es5",
150
- "useTabs": false
151
- },
98
+ "packageManager": "yarn@4.11.0",
152
99
  "react-native-builder-bob": {
153
100
  "source": "src",
154
101
  "output": "lib",
155
102
  "targets": [
156
- "commonjs",
157
- "module",
103
+ [
104
+ "module",
105
+ {
106
+ "esm": true
107
+ }
108
+ ],
158
109
  [
159
110
  "typescript",
160
111
  {
@@ -181,5 +132,43 @@
181
132
  "A11yAnnounceModule": "RNAOA11yAnnounceModule"
182
133
  }
183
134
  }
135
+ },
136
+ "prettier": {
137
+ "quoteProps": "consistent",
138
+ "singleQuote": true,
139
+ "tabWidth": 2,
140
+ "trailingComma": "es5",
141
+ "useTabs": false
142
+ },
143
+ "jest": {
144
+ "preset": "react-native",
145
+ "modulePathIgnorePatterns": [
146
+ "<rootDir>/example/node_modules",
147
+ "<rootDir>/lib/"
148
+ ]
149
+ },
150
+ "commitlint": {
151
+ "extends": [
152
+ "@commitlint/config-conventional"
153
+ ]
154
+ },
155
+ "release-it": {
156
+ "git": {
157
+ "commitMessage": "chore: release ${version}",
158
+ "tagName": "v${version}"
159
+ },
160
+ "npm": {
161
+ "publish": true
162
+ },
163
+ "github": {
164
+ "release": true
165
+ },
166
+ "plugins": {
167
+ "@release-it/conventional-changelog": {
168
+ "preset": {
169
+ "name": "angular"
170
+ }
171
+ }
172
+ }
184
173
  }
185
174
  }