react-native-a11y-order 0.11.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 +19 -25
- 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 -3
- 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 -4
- package/lib/module/nativeSpecs/A11yIndexNativeComponent.ts +15 -17
- package/lib/module/nativeSpecs/A11yLockNativeComponent.ts +10 -6
- package/lib/module/nativeSpecs/A11yOrderNativeComponent.ts +6 -4
- package/lib/module/nativeSpecs/A11yPaneTitleNativeComponent.ts +10 -6
- 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 -5
- package/lib/typescript/src/components/A11yIndex/A11yIndex.d.ts.map +1 -1
- package/lib/typescript/src/components/A11yIndex/A11yIndex.web.d.ts +5 -6
- 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 +1 -1
- 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 +4 -4
- 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 +18 -18
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/index.web.d.ts +42 -15
- 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 -35
- 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 +8 -7
- 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 -4
- package/src/nativeSpecs/A11yIndexNativeComponent.ts +15 -17
- package/src/nativeSpecs/A11yLockNativeComponent.ts +10 -6
- package/src/nativeSpecs/A11yOrderNativeComponent.ts +6 -4
- package/src/nativeSpecs/A11yPaneTitleNativeComponent.ts +10 -6
- 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 -119
- 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 -9
- package/lib/commonjs/nativeSpecs/A11yIndexNativeComponent.ts +0 -47
- package/lib/commonjs/nativeSpecs/A11yLockNativeComponent.ts +0 -13
- package/lib/commonjs/nativeSpecs/A11yOrderNativeComponent.ts +0 -11
- package/lib/commonjs/nativeSpecs/A11yPaneTitleNativeComponent.ts +0 -13
- 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,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { A11ySequenceOrderContext } from
|
|
4
|
+
import { A11ySequenceOrderContext } from "../../context/A11ySequenceOrderContext.js";
|
|
5
5
|
import A11yOrderNativeComponent from '../../nativeSpecs/A11yOrderNativeComponent';
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
export const A11yOrder = /*#__PURE__*/React.memo(props => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","A11ySequenceOrderContext","A11yOrderNativeComponent","jsx","_jsx","A11yOrder","memo","props","orderKey","useId","Provider","value","children"],"sourceRoot":"../../../../src","sources":["components/A11yOrder/A11yOrder.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,wBAAwB,QAAQ,
|
|
1
|
+
{"version":3,"names":["React","A11ySequenceOrderContext","A11yOrderNativeComponent","jsx","_jsx","A11yOrder","memo","props","orderKey","useId","Provider","value","children"],"sourceRoot":"../../../../src","sources":["components/A11yOrder/A11yOrder.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,wBAAwB,QAAQ,2CAAwC;AACjF,OAAOC,wBAAwB,MAAM,4CAA4C;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAKlF,OAAO,MAAMC,SAAS,gBAAGL,KAAK,CAACM,IAAI,CAAkBC,KAAK,IAAK;EAC7D,MAAMC,QAAQ,GAAGR,KAAK,CAACS,KAAK,CAAC,CAAC;EAC9B,oBACEL,IAAA,CAACH,wBAAwB,CAACS,QAAQ;IAACC,KAAK,EAAEH,QAAS;IAAAI,QAAA,eACjDR,IAAA,CAACF,wBAAwB;MAAA,GAAKK,KAAK;MAAEC,QAAQ,EAAEA;IAAS,CAAE;EAAC,CAC1B,CAAC;AAExC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["A11yPaneTitleNative","jsx","_jsx","PaneTypeValue","activity","pane","announce","A11yPaneTitle","title","detachMessage","type","children","displayed","withFocusRestore","A11yScreenChange","props"],"sourceRoot":"../../../../src","sources":["components/A11yPaneTitle/A11yPaneTitle.tsx"],"mappings":";;AAAA,OAAOA,mBAAmB,MAAM,gDAAgD;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAOjF,MAAMC,aAA2C,GAAG;EAClDC,QAAQ,EAAE,CAAC;EACXC,IAAI,EAAE,CAAC;EACPC,QAAQ,EAAE;AACZ,CAAC;AAED,OAAO,MAAMC,aAAa,GAAGA,CAAC;EAC5BC,KAAK;EACLC,aAAa;EACbC,IAAI,GAAG,MAAM;EACbC,QAAQ;EACRC,SAAS;EACTC,gBAAgB,GAAG;AACD,CAAC,KAAK;EACxB,IAAID,SAAS,KAAK,KAAK,EAAE,OAAO,IAAI;EAEpC,oBACEV,IAAA,CAACF,mBAAmB;IAClBQ,KAAK,EAAEA,KAAM;IACbC,aAAa,EAAEA,aAAc;IAC7BC,IAAI,EAAEP,aAAa,CAACO,IAAI,CAAE;IAC1BC,QAAQ,EAAEA,QAAS;IACnBE,gBAAgB,EAAEA;EAAiB,CACpC,CAAC;AAEN,CAAC;AAED,OAAO,MAAMC,gBAAgB,GAAIC,KAA4B,iBAC3Db,IAAA,CAACK,aAAa;EACZC,KAAK,EAAEO,KAAK,CAACP,KAAM;EACnBC,aAAa,EAAEM,KAAK,CAACN,aAAc;EACnCG,SAAS,EAAEG,KAAK,CAACH,SAAU;EAC3BF,IAAI,EAAC;AAAU,CAChB,CACF","ignoreList":[]}
|
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,9 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {
|
|
2
|
+
codegenNativeComponent,
|
|
3
|
+
type ViewProps,
|
|
4
|
+
type HostComponent,
|
|
5
|
+
} from 'react-native';
|
|
4
6
|
|
|
5
7
|
export interface A11yCardNativeComponentProps extends ViewProps {}
|
|
6
8
|
|
|
7
9
|
export default codegenNativeComponent<A11yCardNativeComponentProps>(
|
|
8
10
|
'A11yCardView'
|
|
9
|
-
)
|
|
11
|
+
) as HostComponent<A11yCardNativeComponentProps>;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import type { ComponentType } from 'react';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
// eslint-disable-next-line @react-native/no-deep-imports
|
|
10
|
-
import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
|
|
2
|
+
import {
|
|
3
|
+
codegenNativeComponent,
|
|
4
|
+
codegenNativeCommands,
|
|
5
|
+
type ViewProps,
|
|
6
|
+
type CodegenTypes,
|
|
7
|
+
type HostComponent,
|
|
8
|
+
} from 'react-native';
|
|
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,13 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import {
|
|
2
|
+
codegenNativeComponent,
|
|
3
|
+
type HostComponent,
|
|
4
|
+
type ViewProps,
|
|
5
|
+
type CodegenTypes,
|
|
6
|
+
} from 'react-native';
|
|
5
7
|
|
|
6
8
|
export interface A11yLockNativeComponentProps extends ViewProps {
|
|
7
|
-
componentType: Int32;
|
|
9
|
+
componentType: CodegenTypes.Int32;
|
|
8
10
|
containerKey?: string;
|
|
9
11
|
lockDisabled?: boolean;
|
|
10
12
|
forceLock?: boolean;
|
|
11
13
|
}
|
|
12
14
|
|
|
13
|
-
export default codegenNativeComponent<A11yLockNativeComponentProps>(
|
|
15
|
+
export default codegenNativeComponent<A11yLockNativeComponentProps>(
|
|
16
|
+
'A11yLock'
|
|
17
|
+
) as HostComponent<A11yLockNativeComponentProps>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {
|
|
2
|
+
codegenNativeComponent,
|
|
3
|
+
type HostComponent,
|
|
4
|
+
type ViewProps,
|
|
5
|
+
} from 'react-native';
|
|
4
6
|
|
|
5
7
|
export interface A11yOrderNativeComponentProps extends ViewProps {
|
|
6
8
|
orderKey: string;
|
|
@@ -8,4 +10,4 @@ export interface A11yOrderNativeComponentProps extends ViewProps {
|
|
|
8
10
|
|
|
9
11
|
export default codegenNativeComponent<A11yOrderNativeComponentProps>(
|
|
10
12
|
'A11yOrderView'
|
|
11
|
-
)
|
|
13
|
+
) as HostComponent<A11yOrderNativeComponentProps>;
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import {
|
|
2
|
+
codegenNativeComponent,
|
|
3
|
+
type ViewProps,
|
|
4
|
+
type CodegenTypes,
|
|
5
|
+
type HostComponent,
|
|
6
|
+
} from 'react-native';
|
|
5
7
|
|
|
6
8
|
export interface A11yPaneTitleProps extends ViewProps {
|
|
7
9
|
title?: string;
|
|
8
10
|
detachMessage?: string;
|
|
9
|
-
type: Int32;
|
|
11
|
+
type: CodegenTypes.Int32;
|
|
10
12
|
withFocusRestore?: boolean;
|
|
11
13
|
}
|
|
12
14
|
|
|
13
|
-
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,16 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ViewProps } from 'react-native';
|
|
3
|
-
import { type A11yOrderType, type IndexCommands } from './A11yIndex.types';
|
|
4
|
-
export declare const A11yIndex: React.
|
|
3
|
+
import { type A11yOrderType, type IndexCommands } from './A11yIndex.types.js';
|
|
4
|
+
export declare const A11yIndex: React.NamedExoticComponent<ViewProps & {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
index?: number;
|
|
7
7
|
orderType?: A11yOrderType;
|
|
8
|
-
a11yUIContainer?: import("./A11yIndex.types").A11yUIContainerType;
|
|
8
|
+
a11yUIContainer?: import("./A11yIndex.types.js").A11yUIContainerType;
|
|
9
9
|
shouldGroupAccessibilityChildren?: boolean;
|
|
10
10
|
onScreenReaderFocused?: () => void;
|
|
11
11
|
onScreenReaderSubViewFocusChange?: (isFocused: boolean) => void;
|
|
12
12
|
onScreenReaderSubViewFocused?: () => void;
|
|
13
13
|
onScreenReaderSubViewBlurred?: () => void;
|
|
14
|
-
onScreenReaderDescendantFocusChanged?: (e: import("./A11yIndex.types").ScreenReaderDescendantFocusChangedEvent) => void;
|
|
15
|
-
} & React.RefAttributes<IndexCommands
|
|
14
|
+
onScreenReaderDescendantFocusChanged?: (e: import("./A11yIndex.types.js").ScreenReaderDescendantFocusChangedEvent) => void;
|
|
15
|
+
} & React.RefAttributes<IndexCommands>>;
|
|
16
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;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAK9C,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,aAAa,EAEnB,MAAM,
|
|
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"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const A11yIndex: React.ForwardRefExoticComponent<import("react-native").ViewProps & {
|
|
1
|
+
export declare const A11yIndex: import("react").ForwardRefExoticComponent<import("react-native").ViewProps & {
|
|
3
2
|
children: React.ReactNode;
|
|
4
3
|
index?: number;
|
|
5
|
-
orderType?: import("./A11yIndex.types").A11yOrderType;
|
|
6
|
-
a11yUIContainer?: import("./A11yIndex.types").A11yUIContainerType;
|
|
4
|
+
orderType?: import("./A11yIndex.types.js").A11yOrderType;
|
|
5
|
+
a11yUIContainer?: import("./A11yIndex.types.js").A11yUIContainerType;
|
|
7
6
|
shouldGroupAccessibilityChildren?: boolean;
|
|
8
7
|
onScreenReaderFocused?: () => void;
|
|
9
8
|
onScreenReaderSubViewFocusChange?: (isFocused: boolean) => void;
|
|
10
9
|
onScreenReaderSubViewFocused?: () => void;
|
|
11
10
|
onScreenReaderSubViewBlurred?: () => void;
|
|
12
|
-
onScreenReaderDescendantFocusChanged?: (e: import("./A11yIndex.types").ScreenReaderDescendantFocusChangedEvent) => void;
|
|
13
|
-
} &
|
|
11
|
+
onScreenReaderDescendantFocusChanged?: (e: import("./A11yIndex.types.js").ScreenReaderDescendantFocusChangedEvent) => void;
|
|
12
|
+
} & import("react").RefAttributes<{}>>;
|
|
14
13
|
//# sourceMappingURL=A11yIndex.web.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yIndex.web.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yIndex/A11yIndex.web.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"A11yIndex.web.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yIndex/A11yIndex.web.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,SAAS;;;;;;;;;;;sCAWpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yBaseLock.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yBaseLock/A11yBaseLock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"A11yBaseLock.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yBaseLock/A11yBaseLock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAmB,CAAC;AAEvD,eAAO,MAAM,YAAY,2CAiBxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { A11yLockProps } from '../A11yLock.types';
|
|
2
|
+
import type { A11yLockProps } from '../A11yLock.types.js';
|
|
3
3
|
export declare const A11yFocusFrame: React.NamedExoticComponent<A11yLockProps>;
|
|
4
4
|
//# sourceMappingURL=A11yFocusFrame.android.d.ts.map
|
package/lib/typescript/src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yFocusFrame.android.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"A11yFocusFrame.android.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAmB,CAAC;AAIvD,eAAO,MAAM,cAAc,2CAY1B,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export declare const A11yFocusFrame: (props: A11yFocusFrameProps) => React.JSX.Element;
|
|
1
|
+
import type { A11yFocusFrameProps } from '../A11yLock.types.js';
|
|
2
|
+
export declare const A11yFocusFrame: (props: A11yFocusFrameProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=A11yFocusFrame.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yFocusFrame.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"A11yFocusFrame.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yFocusFrame/A11yFocusFrame.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAmB,CAAC;AAE7D,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,4CAIxD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { A11yLockProps } from '../A11yLock.types';
|
|
2
|
+
import type { A11yLockProps } from '../A11yLock.types.js';
|
|
3
3
|
export declare const A11yFocusTrap: React.NamedExoticComponent<A11yLockProps>;
|
|
4
4
|
//# sourceMappingURL=A11yFocusTrap.android.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yFocusTrap.android.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"A11yFocusTrap.android.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAmB,CAAC;AAIvD,eAAO,MAAM,aAAa,2CAMzB,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export declare const A11yFocusTrap: ({ forceLock, ...props }: A11yFocusTrapProps) => React.JSX.Element;
|
|
1
|
+
import type { A11yFocusTrapProps } from '../A11yLock.types.js';
|
|
2
|
+
export declare const A11yFocusTrap: ({ forceLock, ...props }: A11yFocusTrapProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
//# sourceMappingURL=A11yFocusTrap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yFocusTrap.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"A11yFocusTrap.d.ts","sourceRoot":"","sources":["../../../../../../src/components/A11yLock/A11yFocusTrap/A11yFocusTrap.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAmB,CAAC;AAI5D,eAAO,MAAM,aAAa,GAAI,yBAG3B,kBAAkB,4CAmBpB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { A11yOrderProps } from './A11yOrder.types';
|
|
2
|
+
import type { A11yOrderProps } from './A11yOrder.types.js';
|
|
3
3
|
export type { A11yOrderProps };
|
|
4
4
|
export declare const A11yOrder: React.NamedExoticComponent<import("react-native").ViewProps>;
|
|
5
5
|
//# sourceMappingURL=A11yOrder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yOrder.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yOrder/A11yOrder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"A11yOrder.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yOrder/A11yOrder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAmB,CAAC;AAExD,YAAY,EAAE,cAAc,EAAE,CAAC;AAE/B,eAAO,MAAM,SAAS,8DAOpB,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const A11yScreenChange: (props: A11yScreenChangeProps) => React.JSX.Element;
|
|
1
|
+
import type { A11yPaneTitleProps, A11yScreenChangeProps } from './A11yPaneTitle.types.js';
|
|
2
|
+
export declare const A11yPaneTitle: ({ title, detachMessage, type, children, displayed, withFocusRestore, }: A11yPaneTitleProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
|
+
export declare const A11yScreenChange: (props: A11yScreenChangeProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
//# sourceMappingURL=A11yPaneTitle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yPaneTitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yPaneTitle/A11yPaneTitle.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"A11yPaneTitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yPaneTitle/A11yPaneTitle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,kBAAkB,EAElB,qBAAqB,EACtB,MAAM,0BAAuB,CAAC;AAQ/B,eAAO,MAAM,aAAa,GAAI,wEAO3B,kBAAkB,mDAYpB,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,4CAO5D,CAAC"}
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
* Use when you need screen reader focus events but no position in a sequence.
|
|
4
4
|
* For ordered elements, use {@link A11yIndex} inside an Order container.
|
|
5
5
|
*/
|
|
6
|
-
export declare const A11yView: import("react").
|
|
6
|
+
export declare const A11yView: import("react").NamedExoticComponent<import("react-native").ViewProps & {
|
|
7
7
|
children: React.ReactNode;
|
|
8
8
|
index?: number;
|
|
9
9
|
orderType?: import("../..").A11yOrderType;
|
|
10
|
-
a11yUIContainer?: import("../A11yIndex/A11yIndex.types").A11yUIContainerType;
|
|
10
|
+
a11yUIContainer?: import("../A11yIndex/A11yIndex.types.js").A11yUIContainerType;
|
|
11
11
|
shouldGroupAccessibilityChildren?: boolean;
|
|
12
12
|
onScreenReaderFocused?: () => void;
|
|
13
13
|
onScreenReaderSubViewFocusChange?: (isFocused: boolean) => void;
|
|
14
14
|
onScreenReaderSubViewFocused?: () => void;
|
|
15
15
|
onScreenReaderSubViewBlurred?: () => void;
|
|
16
|
-
onScreenReaderDescendantFocusChanged?: (e: import("./A11yView.types").ScreenReaderDescendantFocusChangedEvent) => void;
|
|
17
|
-
} & import("react").RefAttributes<import("../..").IndexCommands
|
|
16
|
+
onScreenReaderDescendantFocusChanged?: (e: import("./A11yView.types.js").ScreenReaderDescendantFocusChangedEvent) => void;
|
|
17
|
+
} & import("react").RefAttributes<import("../..").IndexCommands>>;
|
|
18
18
|
//# sourceMappingURL=A11yView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yView.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yView/A11yView.tsx"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"A11yView.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yView/A11yView.tsx"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;iEAAY,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { A11yIndexProps } from '../A11yIndex/A11yIndex.types';
|
|
2
|
-
export type { ScreenReaderDescendantFocusChangedEvent } from '../A11yIndex/A11yIndex.types';
|
|
1
|
+
import type { A11yIndexProps } from '../A11yIndex/A11yIndex.types.js';
|
|
2
|
+
export type { ScreenReaderDescendantFocusChangedEvent } from '../A11yIndex/A11yIndex.types.js';
|
|
3
3
|
/**
|
|
4
4
|
* Props for {@link A11y.View} — a standalone focus-tracking view with no ordering context.
|
|
5
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yView.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yView/A11yView.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"A11yView.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yView/A11yView.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAA8B,CAAC;AAEnE,YAAY,EAAE,uCAAuC,EAAE,MAAM,iCAA8B,CAAC;AAE5F;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,WAAW,CAAC,CAAC"}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
export type { A11yCardProps } from './components/A11yCard/A11yCard.types';
|
|
2
|
-
export type { A11yOrderProps } from './components/A11yOrder/A11yOrder.types';
|
|
3
|
-
export type { A11yIndexProps, A11yOrderType, IndexCommands, } from './components/A11yIndex/A11yIndex.types';
|
|
4
|
-
export { A11yOrderTypeEnum } from './components/A11yIndex/A11yIndex.types';
|
|
5
|
-
export type { A11yViewProps, ScreenReaderDescendantFocusChangedEvent, } from './components/A11yView/A11yView.types';
|
|
6
|
-
export type { A11yFocusTrapProps, A11yFocusFrameProps, } from './components/A11yLock/A11yLock.types';
|
|
7
|
-
export type { A11yPaneTitleProps, A11yScreenChangeProps, A11yPaneType, } from './components/A11yPaneTitle/A11yPaneTitle.types';
|
|
1
|
+
export type { A11yCardProps } from './components/A11yCard/A11yCard.types.js';
|
|
2
|
+
export type { A11yOrderProps } from './components/A11yOrder/A11yOrder.types.js';
|
|
3
|
+
export type { A11yIndexProps, A11yOrderType, IndexCommands, } from './components/A11yIndex/A11yIndex.types.js';
|
|
4
|
+
export { A11yOrderTypeEnum } from './components/A11yIndex/A11yIndex.types.js';
|
|
5
|
+
export type { A11yViewProps, ScreenReaderDescendantFocusChangedEvent, } from './components/A11yView/A11yView.types.js';
|
|
6
|
+
export type { A11yFocusTrapProps, A11yFocusFrameProps, } from './components/A11yLock/A11yLock.types.js';
|
|
7
|
+
export type { A11yPaneTitleProps, A11yScreenChangeProps, A11yPaneType, } from './components/A11yPaneTitle/A11yPaneTitle.types.js';
|
|
8
8
|
export declare const A11y: {
|
|
9
9
|
Order: import("react").NamedExoticComponent<import("react-native").ViewProps>;
|
|
10
|
-
Index: import("react").
|
|
10
|
+
Index: import("react").NamedExoticComponent<import("react-native").ViewProps & {
|
|
11
11
|
children: React.ReactNode;
|
|
12
12
|
index?: number;
|
|
13
13
|
orderType?: import(".").A11yOrderType;
|
|
14
|
-
a11yUIContainer?: import("./components/A11yIndex/A11yIndex.types").A11yUIContainerType;
|
|
14
|
+
a11yUIContainer?: import("./components/A11yIndex/A11yIndex.types.js").A11yUIContainerType;
|
|
15
15
|
shouldGroupAccessibilityChildren?: boolean;
|
|
16
16
|
onScreenReaderFocused?: () => void;
|
|
17
17
|
onScreenReaderSubViewFocusChange?: (isFocused: boolean) => void;
|
|
18
18
|
onScreenReaderSubViewFocused?: () => void;
|
|
19
19
|
onScreenReaderSubViewBlurred?: () => void;
|
|
20
20
|
onScreenReaderDescendantFocusChanged?: (e: import(".").ScreenReaderDescendantFocusChangedEvent) => void;
|
|
21
|
-
} & import("react").RefAttributes<import(".").IndexCommands
|
|
22
|
-
View: import("react").
|
|
21
|
+
} & import("react").RefAttributes<import(".").IndexCommands>>;
|
|
22
|
+
View: import("react").NamedExoticComponent<import("react-native").ViewProps & {
|
|
23
23
|
children: React.ReactNode;
|
|
24
24
|
index?: number;
|
|
25
25
|
orderType?: import(".").A11yOrderType;
|
|
26
|
-
a11yUIContainer?: import("./components/A11yIndex/A11yIndex.types").A11yUIContainerType;
|
|
26
|
+
a11yUIContainer?: import("./components/A11yIndex/A11yIndex.types.js").A11yUIContainerType;
|
|
27
27
|
shouldGroupAccessibilityChildren?: boolean;
|
|
28
28
|
onScreenReaderFocused?: () => void;
|
|
29
29
|
onScreenReaderSubViewFocusChange?: (isFocused: boolean) => void;
|
|
30
30
|
onScreenReaderSubViewFocused?: () => void;
|
|
31
31
|
onScreenReaderSubViewBlurred?: () => void;
|
|
32
32
|
onScreenReaderDescendantFocusChanged?: (e: import(".").ScreenReaderDescendantFocusChangedEvent) => void;
|
|
33
|
-
} & import("react").RefAttributes<import(".").IndexCommands
|
|
34
|
-
PaneTitle: ({ title, detachMessage, type, children, displayed, withFocusRestore, }: import(".").A11yPaneTitleProps) => import("react").JSX.Element | null;
|
|
35
|
-
ScreenChange: (props: import(".").A11yScreenChangeProps) => import("react").JSX.Element;
|
|
36
|
-
FocusFrame: (props: import(".").A11yFocusFrameProps) => import("react").JSX.Element;
|
|
37
|
-
FocusTrap: ({ forceLock, ...props }: import(".").A11yFocusTrapProps) => import("react").JSX.Element;
|
|
38
|
-
Card: ({ containerProps, style, testID, onPress, accessibility, pressableProps, children, }: import(".").A11yCardProps) => import("react").JSX.Element;
|
|
33
|
+
} & import("react").RefAttributes<import(".").IndexCommands>>;
|
|
34
|
+
PaneTitle: ({ title, detachMessage, type, children, displayed, withFocusRestore, }: import(".").A11yPaneTitleProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
35
|
+
ScreenChange: (props: import(".").A11yScreenChangeProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
FocusFrame: (props: import(".").A11yFocusFrameProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
FocusTrap: ({ forceLock, ...props }: import(".").A11yFocusTrapProps) => import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
Card: ({ containerProps, style, testID, onPress, accessibility, pressableProps, children, }: import(".").A11yCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
39
39
|
};
|
|
40
40
|
export { ScreenReader, announce, cancel, cancelAll, } from './modules/A11yAnnounceModule';
|
|
41
41
|
export type { AnnouncePriority, AnnounceStatus, AnnounceOptions, AnnouncementResult, } from './modules/A11yAnnounceModule';
|