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.
- package/README.md +1 -1
- package/android/build.gradle +33 -88
- package/android/src/main/AndroidManifest.xml +1 -2
- package/android/src/{newarch → main/java/com/a11yorder}/A11yIndexViewManagerSpec.java +0 -7
- package/android/src/{newarch → main/java/com/a11yorder}/A11yLockViewManagerSpec.java +0 -1
- package/android/src/main/java/com/a11yorder/A11yOrderPackage.java +1 -1
- package/android/src/{newarch → main/java/com/a11yorder}/A11yOrderViewManagerSpec.java +0 -5
- package/ios/extensions/RCTModalHostViewComponentView+RNAOA11yOrder.h +1 -10
- package/ios/extensions/RCTModalHostViewComponentView+RNAOA11yOrder.mm +0 -34
- package/ios/extensions/UIView+RNAOA11yOrder.mm +0 -8
- package/ios/helpers/RNAOFabricEventHelper/RNAOFabricEventHelper.h +0 -2
- package/ios/helpers/RNAOFabricEventHelper/RNAOFabricEventHelper.mm +0 -3
- package/ios/modules/RNAOA11yAnnounceModule.h +0 -20
- package/ios/modules/RNAOA11yAnnounceModule.mm +0 -18
- package/ios/views/RNAOA11yCardView/RNAOA11yCardView.h +0 -9
- package/ios/views/RNAOA11yCardView/RNAOA11yCardView.mm +11 -15
- package/ios/views/RNAOA11yIndexView/RNAOA11yIndexView.mm +1 -5
- package/ios/views/RNAOA11yLockView/RNAOA11yLockView.h +0 -12
- package/ios/views/RNAOA11yLockView/RNAOA11yLockView.mm +1 -11
- package/ios/views/RNAOA11yOrderView/RNAOA11yOrderView.h +0 -14
- package/ios/views/RNAOA11yOrderView/RNAOA11yOrderView.mm +2 -22
- package/ios/views/RNAOA11yPaneTitleView/RNAOA11yPaneTitleView.h +0 -16
- package/ios/views/RNAOA11yPaneTitleView/RNAOA11yPaneTitleView.mm +4 -11
- package/ios/views/base/RNAOA11yGroupChildrenView.h +0 -4
- package/ios/views/base/RNAOA11yManagedFocusView.h +0 -11
- package/ios/views/base/RNAOA11yManagedFocusView.mm +0 -43
- package/ios/views/base/RNAOA11yScreenReaderView.h +0 -7
- package/ios/views/base/RNAOA11yScreenReaderView.mm +0 -2
- package/ios/views/base/RNAOA11yViewGroup.h +0 -14
- package/ios/views/base/RNAOA11yViewOrder.h +0 -16
- package/ios/views/base/RNAOA11yViewOrder.mm +0 -26
- package/lib/module/components/A11yCard/A11yCard.ios.js +0 -1
- package/lib/module/components/A11yCard/A11yCard.ios.js.map +1 -1
- package/lib/module/components/A11yCard/A11yCard.js +0 -1
- package/lib/module/components/A11yCard/A11yCard.js.map +1 -1
- package/lib/module/components/A11yIndex/A11yIndex.js +2 -2
- package/lib/module/components/A11yIndex/A11yIndex.js.map +1 -1
- package/lib/module/components/A11yIndex/A11yIndex.web.js +0 -1
- package/lib/module/components/A11yIndex/A11yIndex.web.js.map +1 -1
- package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.js +2 -2
- package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.js.map +1 -1
- package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js +1 -2
- package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js.map +1 -1
- package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.js +2 -2
- package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.js.map +1 -1
- package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js +2 -3
- package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js.map +1 -1
- package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrapMountWrapper.js +1 -1
- package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrapMountWrapper.js.map +1 -1
- package/lib/module/components/A11yOrder/A11yOrder.js +1 -1
- package/lib/module/components/A11yOrder/A11yOrder.js.map +1 -1
- package/lib/module/components/A11yPaneTitle/A11yPaneTitle.js +0 -1
- package/lib/module/components/A11yPaneTitle/A11yPaneTitle.js.map +1 -1
- package/lib/module/index.js +4 -4
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +1 -1
- package/lib/module/index.web.js.map +1 -1
- package/lib/module/modules/A11yAnnounceModule.js +4 -18
- package/lib/module/modules/A11yAnnounceModule.js.map +1 -1
- package/lib/module/nativeSpecs/A11yCardNativeComponent.ts +6 -2
- package/lib/module/nativeSpecs/A11yIndexNativeComponent.ts +10 -12
- package/lib/module/nativeSpecs/A11yLockNativeComponent.ts +10 -4
- package/lib/module/nativeSpecs/A11yOrderNativeComponent.ts +6 -2
- package/lib/module/nativeSpecs/A11yPaneTitleNativeComponent.ts +10 -4
- package/lib/module/nativeSpecs/NativeA11yAnnounceModule.js +1 -1
- package/lib/module/nativeSpecs/NativeA11yAnnounceModule.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/components/A11yCard/A11yCard.d.ts +2 -3
- package/lib/typescript/src/components/A11yCard/A11yCard.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yCard/A11yCard.ios.d.ts +2 -3
- package/lib/typescript/src/components/A11yCard/A11yCard.ios.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yIndex/A11yIndex.d.ts +5 -127
- package/lib/typescript/src/components/A11yIndex/A11yIndex.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yIndex/A11yIndex.web.d.ts +5 -129
- package/lib/typescript/src/components/A11yIndex/A11yIndex.web.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yLock/A11yBaseLock/A11yBaseLock.d.ts +1 -1
- package/lib/typescript/src/components/A11yLock/A11yBaseLock/A11yBaseLock.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.d.ts +1 -1
- package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.d.ts +2 -3
- package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.d.ts +1 -1
- package/lib/typescript/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.d.ts +2 -3
- package/lib/typescript/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yOrder/A11yOrder.d.ts +2 -125
- package/lib/typescript/src/components/A11yOrder/A11yOrder.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yPaneTitle/A11yPaneTitle.d.ts +3 -4
- package/lib/typescript/src/components/A11yPaneTitle/A11yPaneTitle.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yView/A11yView.d.ts +3 -126
- package/lib/typescript/src/components/A11yView/A11yView.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yView/A11yView.types.d.ts +2 -2
- package/lib/typescript/src/components/A11yView/A11yView.types.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +17 -386
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/index.web.d.ts +20 -143
- package/lib/typescript/src/index.web.d.ts.map +1 -1
- package/lib/typescript/src/modules/A11yAnnounceModule.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/A11yCardNativeComponent.d.ts +2 -2
- package/lib/typescript/src/nativeSpecs/A11yCardNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/A11yIndexNativeComponent.d.ts +9 -10
- package/lib/typescript/src/nativeSpecs/A11yIndexNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/A11yLockNativeComponent.d.ts +3 -4
- package/lib/typescript/src/nativeSpecs/A11yLockNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/A11yOrderNativeComponent.d.ts +2 -2
- package/lib/typescript/src/nativeSpecs/A11yOrderNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/A11yPaneTitleNativeComponent.d.ts +3 -4
- package/lib/typescript/src/nativeSpecs/A11yPaneTitleNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/NativeA11yAnnounceModule.d.ts +1 -1
- package/lib/typescript/src/nativeSpecs/NativeA11yAnnounceModule.d.ts.map +1 -1
- package/package.json +54 -32
- package/react-native-a11y-order.podspec +2 -2
- package/react-native.config.js +12 -0
- package/src/components/A11yCard/A11yCard.ios.tsx +0 -1
- package/src/components/A11yCard/A11yCard.tsx +0 -1
- package/src/components/A11yIndex/A11yIndex.tsx +5 -5
- package/src/components/A11yIndex/A11yIndex.web.tsx +0 -1
- package/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.tsx +0 -1
- package/src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.tsx +0 -1
- package/src/components/A11yPaneTitle/A11yPaneTitle.tsx +0 -1
- package/src/modules/A11yAnnounceModule.ts +3 -28
- package/src/nativeSpecs/A11yCardNativeComponent.ts +6 -2
- package/src/nativeSpecs/A11yIndexNativeComponent.ts +10 -12
- package/src/nativeSpecs/A11yLockNativeComponent.ts +10 -4
- package/src/nativeSpecs/A11yOrderNativeComponent.ts +6 -2
- package/src/nativeSpecs/A11yPaneTitleNativeComponent.ts +10 -4
- package/src/nativeSpecs/NativeA11yAnnounceModule.ts +1 -1
- package/android/gradle.properties +0 -5
- package/android/src/oldarch/A11yAnnounceModuleSpec.java +0 -19
- package/android/src/oldarch/A11yCardViewManagerSpec.java +0 -8
- package/android/src/oldarch/A11yIndexViewManagerSpec.java +0 -22
- package/android/src/oldarch/A11yLockViewManagerSpec.java +0 -15
- package/android/src/oldarch/A11yOrderViewManagerSpec.java +0 -8
- package/android/src/oldarch/A11yPaneTitleSpec.java +0 -15
- package/ios/views/RNAOA11yCardView/RNAOA11yCardViewManager.h +0 -14
- package/ios/views/RNAOA11yCardView/RNAOA11yCardViewManager.mm +0 -17
- package/ios/views/RNAOA11yIndexView/RNAOA11yIndexViewManager.h +0 -19
- package/ios/views/RNAOA11yIndexView/RNAOA11yIndexViewManager.mm +0 -75
- package/ios/views/RNAOA11yLockView/RNAOA11yLockViewManager.h +0 -14
- package/ios/views/RNAOA11yLockView/RNAOA11yLockViewManager.mm +0 -28
- package/ios/views/RNAOA11yOrderView/RNAOA11yOrderViewManager.h +0 -18
- package/ios/views/RNAOA11yOrderView/RNAOA11yOrderViewManager.mm +0 -31
- package/ios/views/RNAOA11yPaneTitleView/RNAOA11yPaneTitleViewManager.h +0 -15
- package/ios/views/RNAOA11yPaneTitleView/RNAOA11yPaneTitleViewManager.mm +0 -42
- package/lib/commonjs/components/A11yCard/A11yCard.ios.js +0 -56
- package/lib/commonjs/components/A11yCard/A11yCard.ios.js.map +0 -1
- package/lib/commonjs/components/A11yCard/A11yCard.js +0 -41
- package/lib/commonjs/components/A11yCard/A11yCard.js.map +0 -1
- package/lib/commonjs/components/A11yCard/A11yCard.types.js +0 -6
- package/lib/commonjs/components/A11yCard/A11yCard.types.js.map +0 -1
- package/lib/commonjs/components/A11yIndex/A11yIndex.js +0 -118
- package/lib/commonjs/components/A11yIndex/A11yIndex.js.map +0 -1
- package/lib/commonjs/components/A11yIndex/A11yIndex.types.js +0 -39
- package/lib/commonjs/components/A11yIndex/A11yIndex.types.js.map +0 -1
- package/lib/commonjs/components/A11yIndex/A11yIndex.web.js +0 -26
- package/lib/commonjs/components/A11yIndex/A11yIndex.web.js.map +0 -1
- package/lib/commonjs/components/A11yLock/A11yBaseLock/A11yBaseLock.js +0 -25
- package/lib/commonjs/components/A11yLock/A11yBaseLock/A11yBaseLock.js.map +0 -1
- package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.js +0 -24
- package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.js.map +0 -1
- package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js +0 -18
- package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js.map +0 -1
- package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.js +0 -22
- package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.js.map +0 -1
- package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js +0 -36
- package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js.map +0 -1
- package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrapMountWrapper.js +0 -46
- package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrapMountWrapper.js.map +0 -1
- package/lib/commonjs/components/A11yLock/A11yLock.types.js +0 -6
- package/lib/commonjs/components/A11yLock/A11yLock.types.js.map +0 -1
- package/lib/commonjs/components/A11yOrder/A11yOrder.js +0 -22
- package/lib/commonjs/components/A11yOrder/A11yOrder.js.map +0 -1
- package/lib/commonjs/components/A11yOrder/A11yOrder.types.js +0 -6
- package/lib/commonjs/components/A11yOrder/A11yOrder.types.js.map +0 -1
- package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.js +0 -41
- package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.js.map +0 -1
- package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.types.js +0 -6
- package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.types.js.map +0 -1
- package/lib/commonjs/components/A11yView/A11yView.js +0 -14
- package/lib/commonjs/components/A11yView/A11yView.js.map +0 -1
- package/lib/commonjs/components/A11yView/A11yView.types.js +0 -6
- package/lib/commonjs/components/A11yView/A11yView.types.js.map +0 -1
- package/lib/commonjs/context/A11yFocusFrameProviderContext.js +0 -30
- package/lib/commonjs/context/A11yFocusFrameProviderContext.js.map +0 -1
- package/lib/commonjs/context/A11ySequenceOrderContext.js +0 -10
- package/lib/commonjs/context/A11ySequenceOrderContext.js.map +0 -1
- package/lib/commonjs/index.js +0 -60
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/index.web.js +0 -33
- package/lib/commonjs/index.web.js.map +0 -1
- package/lib/commonjs/modules/A11yAnnounceModule.android.js +0 -45
- package/lib/commonjs/modules/A11yAnnounceModule.android.js.map +0 -1
- package/lib/commonjs/modules/A11yAnnounceModule.js +0 -86
- package/lib/commonjs/modules/A11yAnnounceModule.js.map +0 -1
- package/lib/commonjs/nativeSpecs/A11yCardNativeComponent.ts +0 -7
- package/lib/commonjs/nativeSpecs/A11yIndexNativeComponent.ts +0 -47
- package/lib/commonjs/nativeSpecs/A11yLockNativeComponent.ts +0 -11
- package/lib/commonjs/nativeSpecs/A11yOrderNativeComponent.ts +0 -9
- package/lib/commonjs/nativeSpecs/A11yPaneTitleNativeComponent.ts +0 -11
- package/lib/commonjs/nativeSpecs/NativeA11yAnnounceModule.js +0 -11
- package/lib/commonjs/nativeSpecs/NativeA11yAnnounceModule.js.map +0 -1
- package/lib/commonjs/package.json +0 -1
- /package/android/src/{newarch → main/java/com/a11yorder}/A11yAnnounceModuleSpec.java +0 -0
- /package/android/src/{newarch → main/java/com/a11yorder}/A11yCardViewManagerSpec.java +0 -0
- /package/android/src/{newarch → main/java/com/a11yorder}/A11yPaneTitleSpec.java +0 -0
|
@@ -1,141 +1,18 @@
|
|
|
1
|
-
export type { IndexCommands, A11yOrderType, A11yIndexProps, } from './components/A11yIndex/A11yIndex.types';
|
|
2
|
-
export { A11yOrderTypeEnum } from './components/A11yIndex/A11yIndex.types';
|
|
3
|
-
export type { ScreenReaderDescendantFocusChangedEvent } from './components/A11yView/A11yView.types';
|
|
4
|
-
export type { A11yViewProps } from './components/A11yView/A11yView.types';
|
|
1
|
+
export type { IndexCommands, A11yOrderType, A11yIndexProps, } from './components/A11yIndex/A11yIndex.types.js';
|
|
2
|
+
export { A11yOrderTypeEnum } from './components/A11yIndex/A11yIndex.types.js';
|
|
3
|
+
export type { ScreenReaderDescendantFocusChangedEvent } from './components/A11yView/A11yView.types.js';
|
|
4
|
+
export type { A11yViewProps } from './components/A11yView/A11yView.types.js';
|
|
5
5
|
export declare const A11y: {
|
|
6
6
|
Order: (props: Omit<import("react-native").ViewProps, keyof {
|
|
7
|
-
ref?: React.Ref<
|
|
7
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
8
8
|
}> & {
|
|
9
|
-
ref?: React.Ref<
|
|
9
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
10
10
|
}) => React.ReactNode;
|
|
11
|
-
Index: import("react").NamedExoticComponent<
|
|
12
|
-
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
|
|
13
|
-
onAccessibilityTap?: (() => unknown) | undefined;
|
|
14
|
-
onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
|
|
15
|
-
onMagicTap?: (() => unknown) | undefined;
|
|
16
|
-
onAccessibilityEscape?: (() => unknown) | undefined;
|
|
17
|
-
}>, "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<{
|
|
18
|
-
onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
19
|
-
onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
20
|
-
onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
|
|
21
|
-
onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
22
|
-
onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
23
|
-
onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
24
|
-
onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
25
|
-
onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
26
|
-
onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
27
|
-
onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
28
|
-
onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
29
|
-
onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
30
|
-
}>, "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<{
|
|
31
|
-
onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
32
|
-
onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
33
|
-
}>, "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<{
|
|
34
|
-
onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
35
|
-
onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
36
|
-
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
37
|
-
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
38
|
-
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
39
|
-
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
40
|
-
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
41
|
-
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
42
|
-
onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
43
|
-
onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
44
|
-
onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
45
|
-
onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
46
|
-
onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
47
|
-
onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
48
|
-
onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
49
|
-
onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
50
|
-
onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
51
|
-
onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
52
|
-
onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
53
|
-
onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
54
|
-
onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
55
|
-
onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
56
|
-
}>, "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<{
|
|
57
|
-
onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
58
|
-
onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
59
|
-
onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
60
|
-
onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
61
|
-
}>, "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<{
|
|
62
|
-
onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
63
|
-
onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
64
|
-
onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
65
|
-
onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
66
|
-
onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
67
|
-
onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
68
|
-
onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
69
|
-
onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
70
|
-
}>, "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<{
|
|
71
|
-
nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
72
|
-
nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
73
|
-
renderToHardwareTextureAndroid?: boolean | undefined;
|
|
74
|
-
hasTVPreferredFocus?: boolean | undefined;
|
|
75
|
-
nextFocusDown?: number | undefined;
|
|
76
|
-
nextFocusForward?: number | undefined;
|
|
77
|
-
nextFocusLeft?: number | undefined;
|
|
78
|
-
nextFocusRight?: number | undefined;
|
|
79
|
-
nextFocusUp?: number | undefined;
|
|
80
|
-
focusable?: boolean | undefined;
|
|
81
|
-
tabIndex?: 0 | -1;
|
|
82
|
-
onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
83
|
-
}>, "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<{
|
|
84
|
-
shouldRasterizeIOS?: boolean | undefined;
|
|
85
|
-
}>, "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<{
|
|
86
|
-
accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
|
|
87
|
-
"aria-labelledby"?: string | undefined;
|
|
88
|
-
accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
|
|
89
|
-
"aria-live"?: ("polite" | "assertive" | "off") | undefined;
|
|
90
|
-
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
|
|
91
|
-
screenReaderFocusable?: boolean;
|
|
92
|
-
}>, "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<{
|
|
93
|
-
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
94
|
-
accessibilityViewIsModal?: boolean | undefined;
|
|
95
|
-
accessibilityShowsLargeContentViewer?: boolean | undefined;
|
|
96
|
-
accessibilityLargeContentTitle?: string | undefined;
|
|
97
|
-
"aria-modal"?: boolean | undefined;
|
|
98
|
-
accessibilityElementsHidden?: boolean | undefined;
|
|
99
|
-
accessibilityLanguage?: string | undefined;
|
|
100
|
-
accessibilityRespondsToUserInteraction?: boolean | undefined;
|
|
101
|
-
}>, "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"> & {
|
|
102
|
-
accessible?: boolean | undefined;
|
|
103
|
-
accessibilityLabel?: string | undefined;
|
|
104
|
-
accessibilityHint?: string | undefined;
|
|
105
|
-
"aria-label"?: string | undefined;
|
|
106
|
-
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
107
|
-
role?: import("react-native").Role | undefined;
|
|
108
|
-
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
109
|
-
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
110
|
-
"aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
|
|
111
|
-
"aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
|
|
112
|
-
"aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
|
|
113
|
-
"aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
|
|
114
|
-
accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
|
|
115
|
-
"aria-busy"?: boolean | undefined;
|
|
116
|
-
"aria-checked"?: (boolean | undefined) | "mixed";
|
|
117
|
-
"aria-disabled"?: boolean | undefined;
|
|
118
|
-
"aria-expanded"?: boolean | undefined;
|
|
119
|
-
"aria-selected"?: boolean | undefined;
|
|
120
|
-
"aria-hidden"?: boolean | undefined;
|
|
121
|
-
}>, "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
122
|
-
children?: React.ReactNode;
|
|
123
|
-
style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
|
|
124
|
-
collapsable?: boolean | undefined;
|
|
125
|
-
collapsableChildren?: boolean | undefined;
|
|
126
|
-
id?: string;
|
|
127
|
-
testID?: string | undefined;
|
|
128
|
-
nativeID?: string | undefined;
|
|
129
|
-
needsOffscreenAlphaCompositing?: boolean | undefined;
|
|
130
|
-
hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
|
|
131
|
-
pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
|
|
132
|
-
removeClippedSubviews?: boolean | undefined;
|
|
133
|
-
experimental_accessibilityOrder?: Array<string> | undefined;
|
|
134
|
-
}>, never>> & {
|
|
11
|
+
Index: import("react").NamedExoticComponent<import("react-native").ViewProps & {
|
|
135
12
|
children: React.ReactNode;
|
|
136
13
|
index?: number;
|
|
137
14
|
orderType?: import(".").A11yOrderType;
|
|
138
|
-
a11yUIContainer?: import("./components/A11yIndex/A11yIndex.types").A11yUIContainerType;
|
|
15
|
+
a11yUIContainer?: import("./components/A11yIndex/A11yIndex.types.js").A11yUIContainerType;
|
|
139
16
|
shouldGroupAccessibilityChildren?: boolean;
|
|
140
17
|
onScreenReaderFocused?: () => void;
|
|
141
18
|
onScreenReaderSubViewFocusChange?: (isFocused: boolean) => void;
|
|
@@ -144,34 +21,34 @@ export declare const A11y: {
|
|
|
144
21
|
onScreenReaderDescendantFocusChanged?: (e: import(".").ScreenReaderDescendantFocusChangedEvent) => void;
|
|
145
22
|
} & import("react").RefAttributes<import(".").IndexCommands>>;
|
|
146
23
|
View: (props: Omit<import("react-native").ViewProps, keyof {
|
|
147
|
-
ref?: React.Ref<
|
|
24
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
148
25
|
}> & {
|
|
149
|
-
ref?: React.Ref<
|
|
26
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
150
27
|
}) => React.ReactNode;
|
|
151
28
|
PaneTitle: (props: Omit<import("react-native").ViewProps, keyof {
|
|
152
|
-
ref?: React.Ref<
|
|
29
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
153
30
|
}> & {
|
|
154
|
-
ref?: React.Ref<
|
|
31
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
155
32
|
}) => React.ReactNode;
|
|
156
33
|
ScreenChange: (props: Omit<import("react-native").ViewProps, keyof {
|
|
157
|
-
ref?: React.Ref<
|
|
34
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
158
35
|
}> & {
|
|
159
|
-
ref?: React.Ref<
|
|
36
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
160
37
|
}) => React.ReactNode;
|
|
161
38
|
FocusFrame: (props: Omit<import("react-native").ViewProps, keyof {
|
|
162
|
-
ref?: React.Ref<
|
|
39
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
163
40
|
}> & {
|
|
164
|
-
ref?: React.Ref<
|
|
41
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
165
42
|
}) => React.ReactNode;
|
|
166
43
|
FocusTrap: (props: Omit<import("react-native").ViewProps, keyof {
|
|
167
|
-
ref?: React.Ref<
|
|
44
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
168
45
|
}> & {
|
|
169
|
-
ref?: React.Ref<
|
|
46
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
170
47
|
}) => React.ReactNode;
|
|
171
48
|
Card: (props: Omit<import("react-native").ViewProps, keyof {
|
|
172
|
-
ref?: React.Ref<
|
|
49
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
173
50
|
}> & {
|
|
174
|
-
ref?: React.Ref<
|
|
51
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
175
52
|
}) => React.ReactNode;
|
|
176
53
|
};
|
|
177
54
|
export { ScreenReader } from './modules/A11yAnnounceModule';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../src/index.web.ts"],"names":[],"mappings":"AAGA,YAAY,EACV,aAAa,EACb,aAAa,EACb,cAAc,GACf,MAAM,
|
|
1
|
+
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../src/index.web.ts"],"names":[],"mappings":"AAGA,YAAY,EACV,aAAa,EACb,aAAa,EACb,cAAc,GACf,MAAM,2CAAwC,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAAwC,CAAC;AAE3E,YAAY,EAAE,uCAAuC,EAAE,MAAM,yCAAsC,CAAC;AAEpG,YAAY,EAAE,aAAa,EAAE,MAAM,yCAAsC,CAAC;AAE1E,eAAO,MAAM,IAAI;;WAWe,CAAC;;WACV,CAAC;;;;;;;;;;;;;;;WADQ,CAAC;;WACV,CAAC;;;WADQ,CAAC;;WACV,CAAC;;;WADQ,CAAC;;WACV,CAAC;;;WADQ,CAAC;;WACV,CAAC;;;WADQ,CAAC;;WACV,CAAC;;;WADQ,CAAC;;WACV,CAAC;;CAHvB,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yAnnounceModule.d.ts","sourceRoot":"","sources":["../../../../src/modules/A11yAnnounceModule.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"A11yAnnounceModule.d.ts","sourceRoot":"","sources":["../../../../src/modules/A11yAnnounceModule.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,SAAS,GAAG,MAAM,CAAC;AAE1D,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,OAAO,GAAG,WAAW,CAAC;AAE9D,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAE5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;;;;;;;OASG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,MAAM,CAAC,EAAE;QACP;;;WAGG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;;WAGG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;;;WAIG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;QAEnB;;;WAGG;QACH,WAAW,CAAC,EAAE,OAAO,CAAC;QAEtB;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,qCAAqC;IACrC,EAAE,EAAE,MAAM,CAAC;IACX;;;;;;OAMG;IACH,MAAM,EAAE,cAAc,CAAC;CACxB,CAAC;AAIF;;;;;;;;;;;GAWG;AACH,wBAAgB,QAAQ,CACtB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,eAAe,GACxB,OAAO,CAAC,kBAAkB,CAAC,CAM7B;AAED;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAE9D;AAED;;;GAGG;AACH,wBAAgB,SAAS,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAEvD;AAID,eAAO,MAAM,YAAY;IACvB;;;;OAIG;wBACiB,MAAM,YAAY,eAAe;;;CAKtD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type ViewProps } from 'react-native';
|
|
1
|
+
import { type ViewProps, type HostComponent } from 'react-native';
|
|
2
2
|
export interface A11yCardNativeComponentProps extends ViewProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: HostComponent<A11yCardNativeComponentProps>;
|
|
5
5
|
export default _default;
|
|
6
6
|
//# sourceMappingURL=A11yCardNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yCardNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yCardNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"A11yCardNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yCardNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,aAAa,EACnB,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,4BAA6B,SAAQ,SAAS;CAAG;wBAI7D,aAAa,CAAC,4BAA4B,CAAC;AAFhD,wBAEiD"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ComponentType } from 'react';
|
|
2
|
-
import { type ViewProps } from 'react-native';
|
|
3
|
-
import type { DirectEventHandler, Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
2
|
+
import { type ViewProps, type CodegenTypes, type HostComponent } from 'react-native';
|
|
4
3
|
export type ScreenReaderFocusChange = Readonly<{
|
|
5
4
|
isFocused: boolean;
|
|
6
5
|
}>;
|
|
@@ -9,20 +8,20 @@ export type ScreenReaderDescendantFocusChanged = Readonly<{
|
|
|
9
8
|
nativeId?: string;
|
|
10
9
|
}>;
|
|
11
10
|
export interface A11yIndexNativeComponentProps extends ViewProps {
|
|
12
|
-
orderIndex?: Int32;
|
|
11
|
+
orderIndex?: CodegenTypes.Int32;
|
|
13
12
|
orderKey?: string;
|
|
14
|
-
orderFocusType?: Int32;
|
|
15
|
-
shouldGroupAccessibilityChildren?: Int32;
|
|
13
|
+
orderFocusType?: CodegenTypes.Int32;
|
|
14
|
+
shouldGroupAccessibilityChildren?: CodegenTypes.Int32;
|
|
16
15
|
descendantFocusChangedEnabled?: boolean;
|
|
17
|
-
onScreenReaderFocused?: DirectEventHandler<{}>;
|
|
18
|
-
onScreenReaderDescendantFocusChanged?: DirectEventHandler<ScreenReaderDescendantFocusChanged>;
|
|
19
|
-
onScreenReaderFocusChange?: DirectEventHandler<ScreenReaderFocusChange>;
|
|
20
|
-
containerType?: Int32;
|
|
16
|
+
onScreenReaderFocused?: CodegenTypes.DirectEventHandler<{}>;
|
|
17
|
+
onScreenReaderDescendantFocusChanged?: CodegenTypes.DirectEventHandler<ScreenReaderDescendantFocusChanged>;
|
|
18
|
+
onScreenReaderFocusChange?: CodegenTypes.DirectEventHandler<ScreenReaderFocusChange>;
|
|
19
|
+
containerType?: CodegenTypes.Int32;
|
|
21
20
|
}
|
|
22
21
|
export interface NativeCommands {
|
|
23
22
|
focus: (viewRef: React.ElementRef<ComponentType>) => void;
|
|
24
23
|
}
|
|
25
24
|
export declare const Commands: NativeCommands;
|
|
26
|
-
declare const _default:
|
|
25
|
+
declare const _default: HostComponent<A11yIndexNativeComponentProps>;
|
|
27
26
|
export default _default;
|
|
28
27
|
//# 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,EAGL,KAAK,SAAS,
|
|
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,EAGL,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,aAAa,EACnB,MAAM,cAAc,CAAC;AAEtB,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,6BAA8B,SAAQ,SAAS;IAC9D,UAAU,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC;IACpC,gCAAgC,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC;IAEtD,6BAA6B,CAAC,EAAE,OAAO,CAAC;IAExC,qBAAqB,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAC;IAC5D,oCAAoC,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,kCAAkC,CAAC,CAAC;IAC3G,yBAAyB,CAAC,EAAE,YAAY,CAAC,kBAAkB,CAAC,uBAAuB,CAAC,CAAC;IAErF,aAAa,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC;CACpC;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;wBAIE,aAAa,CAAC,6BAA6B,CAAC;AAFjD,wBAEkD"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { type ViewProps } from 'react-native';
|
|
2
|
-
import type { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
1
|
+
import { type HostComponent, type ViewProps, type CodegenTypes } from 'react-native';
|
|
3
2
|
export interface A11yLockNativeComponentProps extends ViewProps {
|
|
4
|
-
componentType: Int32;
|
|
3
|
+
componentType: CodegenTypes.Int32;
|
|
5
4
|
containerKey?: string;
|
|
6
5
|
lockDisabled?: boolean;
|
|
7
6
|
forceLock?: boolean;
|
|
8
7
|
}
|
|
9
|
-
declare const _default:
|
|
8
|
+
declare const _default: HostComponent<A11yLockNativeComponentProps>;
|
|
10
9
|
export default _default;
|
|
11
10
|
//# sourceMappingURL=A11yLockNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yLockNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yLockNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"A11yLockNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yLockNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,YAAY,EAClB,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,4BAA6B,SAAQ,SAAS;IAC7D,aAAa,EAAE,YAAY,CAAC,KAAK,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;wBAII,aAAa,CAAC,4BAA4B,CAAC;AAFhD,wBAEiD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type ViewProps } from 'react-native';
|
|
1
|
+
import { type HostComponent, type ViewProps } from 'react-native';
|
|
2
2
|
export interface A11yOrderNativeComponentProps extends ViewProps {
|
|
3
3
|
orderKey: string;
|
|
4
4
|
}
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: HostComponent<A11yOrderNativeComponentProps>;
|
|
6
6
|
export default _default;
|
|
7
7
|
//# sourceMappingURL=A11yOrderNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yOrderNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yOrderNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"A11yOrderNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yOrderNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,6BAA8B,SAAQ,SAAS;IAC9D,QAAQ,EAAE,MAAM,CAAC;CAClB;wBAII,aAAa,CAAC,6BAA6B,CAAC;AAFjD,wBAEkD"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { type ViewProps } from 'react-native';
|
|
2
|
-
import type { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
1
|
+
import { type ViewProps, type CodegenTypes, type HostComponent } from 'react-native';
|
|
3
2
|
export interface A11yPaneTitleProps extends ViewProps {
|
|
4
3
|
title?: string;
|
|
5
4
|
detachMessage?: string;
|
|
6
|
-
type: Int32;
|
|
5
|
+
type: CodegenTypes.Int32;
|
|
7
6
|
withFocusRestore?: boolean;
|
|
8
7
|
}
|
|
9
|
-
declare const _default:
|
|
8
|
+
declare const _default: HostComponent<A11yPaneTitleProps>;
|
|
10
9
|
export default _default;
|
|
11
10
|
//# sourceMappingURL=A11yPaneTitleNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yPaneTitleNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yPaneTitleNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"A11yPaneTitleNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yPaneTitleNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,aAAa,EACnB,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,YAAY,CAAC,KAAK,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;wBAII,aAAa,CAAC,kBAAkB,CAAC;AAFtC,wBAEuC"}
|
|
@@ -22,6 +22,6 @@ export interface Spec extends TurboModule {
|
|
|
22
22
|
/** Drains the queue and interrupts current speech. */
|
|
23
23
|
cancelAll(): Promise<AnnouncementResult>;
|
|
24
24
|
}
|
|
25
|
-
declare const _default: Spec
|
|
25
|
+
declare const _default: Spec;
|
|
26
26
|
export default _default;
|
|
27
27
|
//# sourceMappingURL=NativeA11yAnnounceModule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeA11yAnnounceModule.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/NativeA11yAnnounceModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAKhD,KAAK,eAAe,GAAG,QAAQ,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC,CAAC;AAEH,KAAK,kBAAkB,GAAG,QAAQ,CAAC;IACjC,EAAE,EAAE,MAAM,CAAC;IAIX,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,+EAA+E;IAC/E,QAAQ,CACN,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,eAAe,GACxB,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC/B,4FAA4F;IAC5F,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAChD,sDAAsD;IACtD,SAAS,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAAC;CAC1C;;AAED,
|
|
1
|
+
{"version":3,"file":"NativeA11yAnnounceModule.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/NativeA11yAnnounceModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAKhD,KAAK,eAAe,GAAG,QAAQ,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC,CAAC;AAEH,KAAK,kBAAkB,GAAG,QAAQ,CAAC;IACjC,EAAE,EAAE,MAAM,CAAC;IAIX,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,+EAA+E;IAC/E,QAAQ,CACN,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,eAAe,GACxB,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC/B,4FAA4F;IAC5F,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAChD,sDAAsD;IACtD,SAAS,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAAC;CAC1C;;AAED,wBAA4E"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-a11y-order",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-rc",
|
|
4
4
|
"description": "ReactNative library for managing screen reader focus ordering",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
"types": "./lib/typescript/src/index.d.ts",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"react-native-external-keyboard-source": "./src/index.tsx",
|
|
9
|
+
"types": "./lib/typescript/src/index.d.ts",
|
|
10
|
+
"default": "./lib/module/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./package.json": "./package.json"
|
|
13
|
+
},
|
|
10
14
|
"files": [
|
|
11
15
|
"src",
|
|
12
16
|
"lib",
|
|
@@ -15,6 +19,7 @@
|
|
|
15
19
|
"cpp",
|
|
16
20
|
"*.podspec",
|
|
17
21
|
"react-native.config.js",
|
|
22
|
+
"!lib/typescript/example",
|
|
18
23
|
"!ios/build",
|
|
19
24
|
"!android/build",
|
|
20
25
|
"!android/gradle",
|
|
@@ -25,7 +30,8 @@
|
|
|
25
30
|
"!**/__fixtures__",
|
|
26
31
|
"!**/__mocks__",
|
|
27
32
|
"!**/.*",
|
|
28
|
-
"!**/CLAUDE.md"
|
|
33
|
+
"!**/CLAUDE.md",
|
|
34
|
+
"!**/docs"
|
|
29
35
|
],
|
|
30
36
|
"scripts": {
|
|
31
37
|
"example": "yarn workspace a11y-order-example",
|
|
@@ -60,33 +66,35 @@
|
|
|
60
66
|
"registry": "https://registry.npmjs.org/"
|
|
61
67
|
},
|
|
62
68
|
"devDependencies": {
|
|
63
|
-
"@commitlint/config-conventional": "^
|
|
64
|
-
"@eslint/compat": "^1.
|
|
65
|
-
"@eslint/eslintrc": "^3.3.
|
|
66
|
-
"@eslint/js": "^9.
|
|
67
|
-
"@
|
|
68
|
-
"@react-native/
|
|
69
|
-
"@
|
|
70
|
-
"@
|
|
69
|
+
"@commitlint/config-conventional": "^21.2.0",
|
|
70
|
+
"@eslint/compat": "^2.1.0",
|
|
71
|
+
"@eslint/eslintrc": "^3.3.6",
|
|
72
|
+
"@eslint/js": "^9.39.5",
|
|
73
|
+
"@jest/globals": "^29.7.0",
|
|
74
|
+
"@react-native/babel-preset": "0.86.2",
|
|
75
|
+
"@react-native/eslint-config": "0.86.2",
|
|
76
|
+
"@react-native/jest-preset": "0.86.2",
|
|
77
|
+
"@release-it/conventional-changelog": "^12.0.0",
|
|
71
78
|
"@types/react": "^19.2.0",
|
|
72
|
-
"commitlint": "^
|
|
73
|
-
"del-cli": "^
|
|
74
|
-
"eslint": "^9.
|
|
79
|
+
"commitlint": "^21.2.1",
|
|
80
|
+
"del-cli": "^7.0.0",
|
|
81
|
+
"eslint": "^9.39.5",
|
|
75
82
|
"eslint-config-prettier": "^10.1.8",
|
|
76
|
-
"eslint-plugin-
|
|
83
|
+
"eslint-plugin-ft-flow": "^3.0.11",
|
|
84
|
+
"eslint-plugin-prettier": "^5.5.6",
|
|
77
85
|
"jest": "^29.7.0",
|
|
78
|
-
"lefthook": "^2.
|
|
79
|
-
"prettier": "^
|
|
80
|
-
"react": "19.2.
|
|
81
|
-
"react-native": "0.
|
|
82
|
-
"react-native-builder-bob": "^0.
|
|
83
|
-
"release-it": "^
|
|
84
|
-
"turbo": "^2.
|
|
85
|
-
"typescript": "^
|
|
86
|
+
"lefthook": "^2.1.10",
|
|
87
|
+
"prettier": "^3.9.6",
|
|
88
|
+
"react": "19.2.3",
|
|
89
|
+
"react-native": "0.87.1",
|
|
90
|
+
"react-native-builder-bob": "^0.43.1",
|
|
91
|
+
"release-it": "^21.0.1",
|
|
92
|
+
"turbo": "^2.10.8",
|
|
93
|
+
"typescript": "^6.0.3"
|
|
86
94
|
},
|
|
87
95
|
"peerDependencies": {
|
|
88
|
-
"react": "
|
|
89
|
-
"react-native": "
|
|
96
|
+
"react": ">=19.2.0",
|
|
97
|
+
"react-native": ">=0.87.0"
|
|
90
98
|
},
|
|
91
99
|
"workspaces": [
|
|
92
100
|
"example"
|
|
@@ -96,8 +104,12 @@
|
|
|
96
104
|
"source": "src",
|
|
97
105
|
"output": "lib",
|
|
98
106
|
"targets": [
|
|
99
|
-
|
|
100
|
-
|
|
107
|
+
[
|
|
108
|
+
"module",
|
|
109
|
+
{
|
|
110
|
+
"esm": true
|
|
111
|
+
}
|
|
112
|
+
],
|
|
101
113
|
[
|
|
102
114
|
"typescript",
|
|
103
115
|
{
|
|
@@ -110,6 +122,9 @@
|
|
|
110
122
|
"name": "RNA11yOrderSpec",
|
|
111
123
|
"type": "all",
|
|
112
124
|
"jsSrcsDir": "src",
|
|
125
|
+
"android": {
|
|
126
|
+
"javaPackageName": "com.a11yorder"
|
|
127
|
+
},
|
|
113
128
|
"ios": {
|
|
114
129
|
"componentProvider": {
|
|
115
130
|
"A11yCardView": "RNAOA11yCardView",
|
|
@@ -131,7 +146,14 @@
|
|
|
131
146
|
"useTabs": false
|
|
132
147
|
},
|
|
133
148
|
"jest": {
|
|
134
|
-
"preset": "react-native",
|
|
149
|
+
"preset": "@react-native/jest-preset",
|
|
150
|
+
"testEnvironmentOptions": {
|
|
151
|
+
"customExportConditions": [
|
|
152
|
+
"require",
|
|
153
|
+
"react-native",
|
|
154
|
+
"react-native-a11y-order-source"
|
|
155
|
+
]
|
|
156
|
+
},
|
|
135
157
|
"modulePathIgnorePatterns": [
|
|
136
158
|
"<rootDir>/example/node_modules",
|
|
137
159
|
"<rootDir>/lib/"
|
|
@@ -13,8 +13,8 @@ Pod::Spec.new do |s|
|
|
|
13
13
|
s.platforms = { :ios => min_ios_version_supported }
|
|
14
14
|
s.source = { :git => "https://github.com/ArturKalach/react-native-a11y-order.git", :tag => "#{s.version}" }
|
|
15
15
|
|
|
16
|
-
s.source_files = "ios/**/*.{h,m,mm,cpp}"
|
|
17
|
-
s.private_header_files = "ios
|
|
16
|
+
s.source_files = "ios/**/*.{h,m,mm,swift,cpp}"
|
|
17
|
+
s.private_header_files = "ios/**/*.h"
|
|
18
18
|
|
|
19
19
|
install_modules_dependencies(s)
|
|
20
20
|
end
|
|
@@ -30,8 +30,8 @@ function useScreenReaderProps({
|
|
|
30
30
|
}: ScreenReaderCallbacks) {
|
|
31
31
|
const hasHandler = Boolean(
|
|
32
32
|
onScreenReaderSubViewBlurred ||
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
onScreenReaderSubViewFocused ||
|
|
34
|
+
onScreenReaderSubViewFocusChange
|
|
35
35
|
);
|
|
36
36
|
|
|
37
37
|
const onScreenReaderFocusChange = React.useCallback(
|
|
@@ -148,8 +148,8 @@ export const A11yIndex = React.memo(
|
|
|
148
148
|
shouldGroupAccessibilityChildren === undefined
|
|
149
149
|
? -1
|
|
150
150
|
: shouldGroupAccessibilityChildren
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
? 1
|
|
152
|
+
: 0;
|
|
153
153
|
|
|
154
154
|
const screenReaderNativeProps = useScreenReaderProps({
|
|
155
155
|
onScreenReaderFocused,
|
|
@@ -166,7 +166,7 @@ export const A11yIndex = React.memo(
|
|
|
166
166
|
|
|
167
167
|
return (
|
|
168
168
|
<A11yIndexView
|
|
169
|
-
ref={localRef
|
|
169
|
+
ref={localRef}
|
|
170
170
|
{...viewProps}
|
|
171
171
|
containerType={containerTypeValue}
|
|
172
172
|
shouldGroupAccessibilityChildren={shouldGroupChildrenValue}
|