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
package/lib/module/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { A11yIndex } from './components/A11yIndex/A11yIndex';
|
|
4
|
-
import { A11yOrder } from
|
|
5
|
-
import { A11yPaneTitle, A11yScreenChange } from
|
|
6
|
-
import { A11yView } from
|
|
4
|
+
import { A11yOrder } from "./components/A11yOrder/A11yOrder.js";
|
|
5
|
+
import { A11yPaneTitle, A11yScreenChange } from "./components/A11yPaneTitle/A11yPaneTitle.js";
|
|
6
|
+
import { A11yView } from "./components/A11yView/A11yView.js";
|
|
7
7
|
import { A11yFocusFrame } from './components/A11yLock/A11yFocusFrame/A11yFocusFrame';
|
|
8
8
|
import { A11yFocusTrap } from './components/A11yLock/A11yFocusTrap/A11yFocusTrap';
|
|
9
9
|
import { A11yCard } from './components/A11yCard/A11yCard';
|
|
10
10
|
|
|
11
11
|
// ─── Component props ──────────────────────────────────────────────────────────
|
|
12
12
|
|
|
13
|
-
export { A11yOrderTypeEnum } from
|
|
13
|
+
export { A11yOrderTypeEnum } from "./components/A11yIndex/A11yIndex.types.js";
|
|
14
14
|
// ─── Namespace ────────────────────────────────────────────────────────────────
|
|
15
15
|
|
|
16
16
|
export const A11y = {
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["A11yIndex","A11yOrder","A11yPaneTitle","A11yScreenChange","A11yView","A11yFocusFrame","A11yFocusTrap","A11yCard","A11yOrderTypeEnum","A11y","Order","Index","View","PaneTitle","ScreenChange","FocusFrame","FocusTrap","Card","ScreenReader","announce","cancel","cancelAll"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,kCAAkC;AAC5D,SAASC,SAAS,QAAQ,
|
|
1
|
+
{"version":3,"names":["A11yIndex","A11yOrder","A11yPaneTitle","A11yScreenChange","A11yView","A11yFocusFrame","A11yFocusTrap","A11yCard","A11yOrderTypeEnum","A11y","Order","Index","View","PaneTitle","ScreenChange","FocusFrame","FocusTrap","Card","ScreenReader","announce","cancel","cancelAll"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,kCAAkC;AAC5D,SAASC,SAAS,QAAQ,qCAAkC;AAC5D,SACEC,aAAa,EACbC,gBAAgB,QACX,6CAA0C;AACjD,SAASC,QAAQ,QAAQ,mCAAgC;AACzD,SAASC,cAAc,QAAQ,qDAAqD;AACpF,SAASC,aAAa,QAAQ,mDAAmD;AACjF,SAASC,QAAQ,QAAQ,gCAAgC;;AAEzD;;AASA,SAASC,iBAAiB,QAAQ,2CAAwC;AAe1E;;AAEA,OAAO,MAAMC,IAAI,GAAG;EAClBC,KAAK,EAAET,SAAS;EAChBU,KAAK,EAAEX,SAAS;EAChBY,IAAI,EAAER,QAAQ;EACdS,SAAS,EAAEX,aAAa;EACxBY,YAAY,EAAEX,gBAAgB;EAC9BY,UAAU,EAAEV,cAAc;EAC1BW,SAAS,EAAEV,aAAa;EACxBW,IAAI,EAAEV;AACR,CAAC;AAED,SACEW,YAAY,EACZC,QAAQ,EACRC,MAAM,EACNC,SAAS,QACJ,8BAA8B","ignoreList":[]}
|
package/lib/module/index.web.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { A11yIndex } from './components/A11yIndex/A11yIndex';
|
|
4
4
|
import { View } from 'react-native';
|
|
5
|
-
export { A11yOrderTypeEnum } from
|
|
5
|
+
export { A11yOrderTypeEnum } from "./components/A11yIndex/A11yIndex.types.js";
|
|
6
6
|
export const A11y = {
|
|
7
7
|
Order: View,
|
|
8
8
|
Index: A11yIndex,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["A11yIndex","View","A11yOrderTypeEnum","A11y","Order","Index","PaneTitle","ScreenChange","FocusFrame","FocusTrap","Card","ScreenReader"],"sourceRoot":"../../src","sources":["index.web.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,kCAAkC;AAC5D,SAASC,IAAI,QAAQ,cAAc;AAOnC,SAASC,iBAAiB,QAAQ,
|
|
1
|
+
{"version":3,"names":["A11yIndex","View","A11yOrderTypeEnum","A11y","Order","Index","PaneTitle","ScreenChange","FocusFrame","FocusTrap","Card","ScreenReader"],"sourceRoot":"../../src","sources":["index.web.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,kCAAkC;AAC5D,SAASC,IAAI,QAAQ,cAAc;AAOnC,SAASC,iBAAiB,QAAQ,2CAAwC;AAM1E,OAAO,MAAMC,IAAI,GAAG;EAClBC,KAAK,EAAEH,IAAI;EACXI,KAAK,EAAEL,SAAS;EAChBC,IAAI,EAAEA,IAAI;EACVK,SAAS,EAAEL,IAAI;EACfM,YAAY,EAAEN,IAAI;EAClBO,UAAU,EAAEP,IAAI;EAChBQ,SAAS,EAAER,IAAI;EACfS,IAAI,EAAET;AACR,CAAC;AAED,SAASU,YAAY,QAAQ,8BAA8B","ignoreList":[]}
|
|
@@ -1,20 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import NativeA11yAnnounceModule from '../nativeSpecs/NativeA11yAnnounceModule';
|
|
5
|
-
const LINKING_ERROR = `The package 'react-native-a11y-order' doesn't seem to be linked. Make sure: \n\n${Platform.select({
|
|
6
|
-
ios: "- You have run 'pod install'\n",
|
|
7
|
-
default: ''
|
|
8
|
-
})}- You rebuilt the app after installing the package\n` + `- You are not using Expo Go\n`;
|
|
9
|
-
|
|
10
|
-
// @ts-expect-error
|
|
11
|
-
const isTurboModuleEnabled = global.__turboModuleProxy != null;
|
|
12
|
-
const A11yAnnounceNative = isTurboModuleEnabled ? NativeA11yAnnounceModule : NativeModules.A11yAnnounceModule;
|
|
13
|
-
const A11yAnnounceProxy = A11yAnnounceNative ?? new Proxy({}, {
|
|
14
|
-
get() {
|
|
15
|
-
throw new Error(LINKING_ERROR);
|
|
16
|
-
}
|
|
17
|
-
});
|
|
3
|
+
import NativeA11yAnnounceModule from "../nativeSpecs/NativeA11yAnnounceModule.js";
|
|
18
4
|
|
|
19
5
|
// ─── Types ────────────────────────────────────────────────────────────────────
|
|
20
6
|
|
|
@@ -37,7 +23,7 @@ export function announce(message, options) {
|
|
|
37
23
|
speech,
|
|
38
24
|
...rest
|
|
39
25
|
} = options ?? {};
|
|
40
|
-
return
|
|
26
|
+
return NativeA11yAnnounceModule.announce(message, {
|
|
41
27
|
...rest,
|
|
42
28
|
...speech
|
|
43
29
|
});
|
|
@@ -49,7 +35,7 @@ export function announce(message, options) {
|
|
|
49
35
|
* In direct mode, interrupts the active announcement if it matches.
|
|
50
36
|
*/
|
|
51
37
|
export function cancel(id) {
|
|
52
|
-
return
|
|
38
|
+
return NativeA11yAnnounceModule.cancel(id);
|
|
53
39
|
}
|
|
54
40
|
|
|
55
41
|
/**
|
|
@@ -57,7 +43,7 @@ export function cancel(id) {
|
|
|
57
43
|
* Calm-mode promises resolve with `status: 'cancelled'`.
|
|
58
44
|
*/
|
|
59
45
|
export function cancelAll() {
|
|
60
|
-
return
|
|
46
|
+
return NativeA11yAnnounceModule.cancelAll();
|
|
61
47
|
}
|
|
62
48
|
|
|
63
49
|
// ─── Namespace export (backward-compatible) ───────────────────────────────────
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["NativeA11yAnnounceModule","announce","message","options","speech","rest","cancel","id","cancelAll","ScreenReader","calm"],"sourceRoot":"../../../src","sources":["modules/A11yAnnounceModule.ts"],"mappings":";;AAAA,OAAOA,wBAAwB,MAAM,4CAAyC;;AAE9E;;AA6FA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,QAAQA,CACtBC,OAAe,EACfC,OAAyB,EACI;EAC7B,MAAM;IAAEC,MAAM;IAAE,GAAGC;EAAK,CAAC,GAAGF,OAAO,IAAI,CAAC,CAAC;EACzC,OAAOH,wBAAwB,CAACC,QAAQ,CAACC,OAAO,EAAE;IAChD,GAAGG,IAAI;IACP,GAAGD;EACL,CAAC,CAAC;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,MAAMA,CAACC,EAAU,EAA+B;EAC9D,OAAOP,wBAAwB,CAACM,MAAM,CAACC,EAAE,CAAC;AAC5C;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAAA,EAAgC;EACvD,OAAOR,wBAAwB,CAACQ,SAAS,CAAC,CAAC;AAC7C;;AAEA;;AAEA,OAAO,MAAMC,YAAY,GAAG;EAC1B;AACF;AACA;AACA;AACA;EACER,QAAQ,EAAEA,CAACC,OAAe,EAAEC,OAAyB,KACnDF,QAAQ,CAACC,OAAO,EAAE;IAAEQ,IAAI,EAAE,IAAI;IAAE,GAAGP;EAAQ,CAAC,CAAC;EAE/CG,MAAM;EACNE;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
codegenNativeComponent,
|
|
3
|
+
type ViewProps,
|
|
4
|
+
type HostComponent,
|
|
5
|
+
} from 'react-native';
|
|
2
6
|
|
|
3
7
|
export interface A11yCardNativeComponentProps extends ViewProps {}
|
|
4
8
|
|
|
5
9
|
export default codegenNativeComponent<A11yCardNativeComponentProps>(
|
|
6
10
|
'A11yCardView'
|
|
7
|
-
)
|
|
11
|
+
) as HostComponent<A11yCardNativeComponentProps>;
|
|
@@ -3,11 +3,9 @@ import {
|
|
|
3
3
|
codegenNativeComponent,
|
|
4
4
|
codegenNativeCommands,
|
|
5
5
|
type ViewProps,
|
|
6
|
+
type CodegenTypes,
|
|
7
|
+
type HostComponent,
|
|
6
8
|
} from 'react-native';
|
|
7
|
-
import type {
|
|
8
|
-
DirectEventHandler,
|
|
9
|
-
Int32,
|
|
10
|
-
} from 'react-native/Libraries/Types/CodegenTypes';
|
|
11
9
|
|
|
12
10
|
export type ScreenReaderFocusChange = Readonly<{
|
|
13
11
|
isFocused: boolean;
|
|
@@ -19,18 +17,18 @@ export type ScreenReaderDescendantFocusChanged = Readonly<{
|
|
|
19
17
|
}>;
|
|
20
18
|
|
|
21
19
|
export interface A11yIndexNativeComponentProps extends ViewProps {
|
|
22
|
-
orderIndex?: Int32;
|
|
20
|
+
orderIndex?: CodegenTypes.Int32;
|
|
23
21
|
orderKey?: string;
|
|
24
|
-
orderFocusType?: Int32;
|
|
25
|
-
shouldGroupAccessibilityChildren?: Int32;
|
|
22
|
+
orderFocusType?: CodegenTypes.Int32;
|
|
23
|
+
shouldGroupAccessibilityChildren?: CodegenTypes.Int32;
|
|
26
24
|
|
|
27
25
|
descendantFocusChangedEnabled?: boolean;
|
|
28
26
|
|
|
29
|
-
onScreenReaderFocused?: DirectEventHandler<{}>;
|
|
30
|
-
onScreenReaderDescendantFocusChanged?: DirectEventHandler<ScreenReaderDescendantFocusChanged>;
|
|
31
|
-
onScreenReaderFocusChange?: DirectEventHandler<ScreenReaderFocusChange>;
|
|
27
|
+
onScreenReaderFocused?: CodegenTypes.DirectEventHandler<{}>;
|
|
28
|
+
onScreenReaderDescendantFocusChanged?: CodegenTypes.DirectEventHandler<ScreenReaderDescendantFocusChanged>;
|
|
29
|
+
onScreenReaderFocusChange?: CodegenTypes.DirectEventHandler<ScreenReaderFocusChange>;
|
|
32
30
|
|
|
33
|
-
containerType?: Int32;
|
|
31
|
+
containerType?: CodegenTypes.Int32;
|
|
34
32
|
}
|
|
35
33
|
|
|
36
34
|
export interface NativeCommands {
|
|
@@ -44,4 +42,4 @@ export const Commands: NativeCommands = codegenNativeCommands<NativeCommands>({
|
|
|
44
42
|
|
|
45
43
|
export default codegenNativeComponent<A11yIndexNativeComponentProps>(
|
|
46
44
|
'A11yIndexView'
|
|
47
|
-
)
|
|
45
|
+
) as HostComponent<A11yIndexNativeComponentProps>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
codegenNativeComponent,
|
|
3
|
+
type HostComponent,
|
|
4
|
+
type ViewProps,
|
|
5
|
+
type CodegenTypes,
|
|
6
|
+
} from 'react-native';
|
|
3
7
|
|
|
4
8
|
export interface A11yLockNativeComponentProps extends ViewProps {
|
|
5
|
-
componentType: Int32;
|
|
9
|
+
componentType: CodegenTypes.Int32;
|
|
6
10
|
containerKey?: string;
|
|
7
11
|
lockDisabled?: boolean;
|
|
8
12
|
forceLock?: boolean;
|
|
9
13
|
}
|
|
10
14
|
|
|
11
|
-
export default codegenNativeComponent<A11yLockNativeComponentProps>(
|
|
15
|
+
export default codegenNativeComponent<A11yLockNativeComponentProps>(
|
|
16
|
+
'A11yLock'
|
|
17
|
+
) as HostComponent<A11yLockNativeComponentProps>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
codegenNativeComponent,
|
|
3
|
+
type HostComponent,
|
|
4
|
+
type ViewProps,
|
|
5
|
+
} from 'react-native';
|
|
2
6
|
|
|
3
7
|
export interface A11yOrderNativeComponentProps extends ViewProps {
|
|
4
8
|
orderKey: string;
|
|
@@ -6,4 +10,4 @@ export interface A11yOrderNativeComponentProps extends ViewProps {
|
|
|
6
10
|
|
|
7
11
|
export default codegenNativeComponent<A11yOrderNativeComponentProps>(
|
|
8
12
|
'A11yOrderView'
|
|
9
|
-
)
|
|
13
|
+
) as HostComponent<A11yOrderNativeComponentProps>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
codegenNativeComponent,
|
|
3
|
+
type ViewProps,
|
|
4
|
+
type CodegenTypes,
|
|
5
|
+
type HostComponent,
|
|
6
|
+
} from 'react-native';
|
|
3
7
|
|
|
4
8
|
export interface A11yPaneTitleProps extends ViewProps {
|
|
5
9
|
title?: string;
|
|
6
10
|
detachMessage?: string;
|
|
7
|
-
type: Int32;
|
|
11
|
+
type: CodegenTypes.Int32;
|
|
8
12
|
withFocusRestore?: boolean;
|
|
9
13
|
}
|
|
10
14
|
|
|
11
|
-
export default codegenNativeComponent<A11yPaneTitleProps>(
|
|
15
|
+
export default codegenNativeComponent<A11yPaneTitleProps>(
|
|
16
|
+
'A11yPaneTitle'
|
|
17
|
+
) as HostComponent<A11yPaneTitleProps>;
|
|
@@ -5,5 +5,5 @@ import { TurboModuleRegistry } from 'react-native';
|
|
|
5
5
|
// Speech options are kept flat here (bridge contract).
|
|
6
6
|
// The JS API groups them under `speech: {}` and flattens before calling native.
|
|
7
7
|
|
|
8
|
-
export default TurboModuleRegistry.
|
|
8
|
+
export default TurboModuleRegistry.getEnforcing('A11yAnnounceModule');
|
|
9
9
|
//# sourceMappingURL=NativeA11yAnnounceModule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["TurboModuleRegistry","
|
|
1
|
+
{"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../src","sources":["nativeSpecs/NativeA11yAnnounceModule.ts"],"mappings":";;AACA,SAASA,mBAAmB,QAAQ,cAAc;;AAElD;AACA;;AAiCA,eAAeA,mBAAmB,CAACC,YAAY,CAAO,oBAAoB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { A11yCardProps } from './A11yCard.types';
|
|
1
|
+
import type { A11yCardProps } from './A11yCard.types.js';
|
|
3
2
|
export type { A11yCardProps };
|
|
4
|
-
export declare const A11yCard: ({ containerProps, style, testID, onPress, accessibility, pressableProps, children, }: A11yCardProps) =>
|
|
3
|
+
export declare const A11yCard: ({ containerProps, style, testID, onPress, accessibility, pressableProps, children, }: A11yCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
//# sourceMappingURL=A11yCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yCard/A11yCard.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"A11yCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yCard/A11yCard.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAkB,CAAC;AAEtD,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B,eAAO,MAAM,QAAQ,GAAI,sFAQtB,aAAa,4CAgBf,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type { A11yCardProps } from './A11yCard.types';
|
|
1
|
+
import type { A11yCardProps } from './A11yCard.types.js';
|
|
3
2
|
export type { A11yCardProps };
|
|
4
|
-
export declare const A11yCard: ({ containerProps, style, testID, onPress, accessibility, pressableProps, children, }: A11yCardProps) =>
|
|
3
|
+
export declare const A11yCard: ({ containerProps, style, testID, onPress, accessibility, pressableProps, children, }: A11yCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
//# sourceMappingURL=A11yCard.ios.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yCard.ios.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yCard/A11yCard.ios.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"A11yCard.ios.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yCard/A11yCard.ios.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAkB,CAAC;AAEtD,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B,eAAO,MAAM,QAAQ,GAAI,sFAQtB,aAAa,4CAwBf,CAAC"}
|
|
@@ -1,138 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
onAccessibilityTap?: (() => unknown) | undefined;
|
|
6
|
-
onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
|
|
7
|
-
onMagicTap?: (() => unknown) | undefined;
|
|
8
|
-
onAccessibilityEscape?: (() => unknown) | undefined;
|
|
9
|
-
}>, "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderEnd" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
10
|
-
onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
11
|
-
onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
12
|
-
onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
|
|
13
|
-
onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
14
|
-
onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
15
|
-
onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
16
|
-
onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
17
|
-
onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
18
|
-
onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
19
|
-
onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
20
|
-
onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
21
|
-
onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
22
|
-
}>, "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
23
|
-
onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
24
|
-
onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
|
|
25
|
-
}>, "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
26
|
-
onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
27
|
-
onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
28
|
-
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
29
|
-
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
30
|
-
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
31
|
-
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
32
|
-
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
33
|
-
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
34
|
-
onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
35
|
-
onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
36
|
-
onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
37
|
-
onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
38
|
-
onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
39
|
-
onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
40
|
-
onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
41
|
-
onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
42
|
-
onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
43
|
-
onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
44
|
-
onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
45
|
-
onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
46
|
-
onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
47
|
-
onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
|
|
48
|
-
}>, "onClick" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
49
|
-
onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
50
|
-
onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
|
|
51
|
-
onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
52
|
-
onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
|
|
53
|
-
}>, "onClick" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
54
|
-
onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
55
|
-
onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
56
|
-
onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
57
|
-
onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
58
|
-
onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
59
|
-
onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
60
|
-
onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
61
|
-
onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
62
|
-
}>, "onClick" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
63
|
-
nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
64
|
-
nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
|
|
65
|
-
renderToHardwareTextureAndroid?: boolean | undefined;
|
|
66
|
-
hasTVPreferredFocus?: boolean | undefined;
|
|
67
|
-
nextFocusDown?: number | undefined;
|
|
68
|
-
nextFocusForward?: number | undefined;
|
|
69
|
-
nextFocusLeft?: number | undefined;
|
|
70
|
-
nextFocusRight?: number | undefined;
|
|
71
|
-
nextFocusUp?: number | undefined;
|
|
72
|
-
focusable?: boolean | undefined;
|
|
73
|
-
tabIndex?: 0 | -1;
|
|
74
|
-
onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
|
|
75
|
-
}>, "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
76
|
-
shouldRasterizeIOS?: boolean | undefined;
|
|
77
|
-
}>, "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<Omit<Readonly<{
|
|
78
|
-
accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
|
|
79
|
-
"aria-labelledby"?: string | undefined;
|
|
80
|
-
accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
|
|
81
|
-
"aria-live"?: ("polite" | "assertive" | "off") | undefined;
|
|
82
|
-
importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
|
|
83
|
-
screenReaderFocusable?: boolean;
|
|
84
|
-
}>, "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & Omit<Readonly<{
|
|
85
|
-
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
86
|
-
accessibilityViewIsModal?: boolean | undefined;
|
|
87
|
-
accessibilityShowsLargeContentViewer?: boolean | undefined;
|
|
88
|
-
accessibilityLargeContentTitle?: string | undefined;
|
|
89
|
-
"aria-modal"?: boolean | undefined;
|
|
90
|
-
accessibilityElementsHidden?: boolean | undefined;
|
|
91
|
-
accessibilityLanguage?: string | undefined;
|
|
92
|
-
accessibilityRespondsToUserInteraction?: boolean | undefined;
|
|
93
|
-
}>, "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & {
|
|
94
|
-
accessible?: boolean | undefined;
|
|
95
|
-
accessibilityLabel?: string | undefined;
|
|
96
|
-
accessibilityHint?: string | undefined;
|
|
97
|
-
"aria-label"?: string | undefined;
|
|
98
|
-
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
99
|
-
role?: import("react-native").Role | undefined;
|
|
100
|
-
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
101
|
-
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
102
|
-
"aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
|
|
103
|
-
"aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
|
|
104
|
-
"aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
|
|
105
|
-
"aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
|
|
106
|
-
accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
|
|
107
|
-
"aria-busy"?: boolean | undefined;
|
|
108
|
-
"aria-checked"?: (boolean | undefined) | "mixed";
|
|
109
|
-
"aria-disabled"?: boolean | undefined;
|
|
110
|
-
"aria-expanded"?: boolean | undefined;
|
|
111
|
-
"aria-selected"?: boolean | undefined;
|
|
112
|
-
"aria-hidden"?: boolean | undefined;
|
|
113
|
-
}>, "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
|
|
114
|
-
children?: React.ReactNode;
|
|
115
|
-
style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
|
|
116
|
-
collapsable?: boolean | undefined;
|
|
117
|
-
collapsableChildren?: boolean | undefined;
|
|
118
|
-
id?: string;
|
|
119
|
-
testID?: string | undefined;
|
|
120
|
-
nativeID?: string | undefined;
|
|
121
|
-
needsOffscreenAlphaCompositing?: boolean | undefined;
|
|
122
|
-
hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
|
|
123
|
-
pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
|
|
124
|
-
removeClippedSubviews?: boolean | undefined;
|
|
125
|
-
experimental_accessibilityOrder?: Array<string> | undefined;
|
|
126
|
-
}>, never>> & {
|
|
2
|
+
import type { ViewProps } from 'react-native';
|
|
3
|
+
import { type A11yOrderType, type IndexCommands } from './A11yIndex.types.js';
|
|
4
|
+
export declare const A11yIndex: React.NamedExoticComponent<ViewProps & {
|
|
127
5
|
children: React.ReactNode;
|
|
128
6
|
index?: number;
|
|
129
7
|
orderType?: A11yOrderType;
|
|
130
|
-
a11yUIContainer?: import("./A11yIndex.types").A11yUIContainerType;
|
|
8
|
+
a11yUIContainer?: import("./A11yIndex.types.js").A11yUIContainerType;
|
|
131
9
|
shouldGroupAccessibilityChildren?: boolean;
|
|
132
10
|
onScreenReaderFocused?: () => void;
|
|
133
11
|
onScreenReaderSubViewFocusChange?: (isFocused: boolean) => void;
|
|
134
12
|
onScreenReaderSubViewFocused?: () => void;
|
|
135
13
|
onScreenReaderSubViewBlurred?: () => void;
|
|
136
|
-
onScreenReaderDescendantFocusChanged?: (e: import("./A11yIndex.types").ScreenReaderDescendantFocusChangedEvent) => void;
|
|
14
|
+
onScreenReaderDescendantFocusChanged?: (e: import("./A11yIndex.types.js").ScreenReaderDescendantFocusChangedEvent) => void;
|
|
137
15
|
} & React.RefAttributes<IndexCommands>>;
|
|
138
16
|
//# sourceMappingURL=A11yIndex.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yIndex.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yIndex/A11yIndex.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"A11yIndex.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yIndex/A11yIndex.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAK9C,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,aAAa,EAEnB,MAAM,sBAAmB,CAAC;AA2G3B,eAAO,MAAM,SAAS;;;;;;;;;;;uCAgErB,CAAC"}
|