react-native-a11y-order 0.8.1 → 0.8.2
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/lib/commonjs/components/A11yGroup/A11yGroup.android.js +18 -0
- package/lib/commonjs/components/A11yGroup/A11yGroup.android.js.map +1 -0
- package/lib/commonjs/components/A11yGroup/A11yGroup.ios.js +24 -0
- package/lib/commonjs/components/A11yGroup/A11yGroup.ios.js.map +1 -0
- package/lib/commonjs/components/A11yGroup/A11yGroup.js +9 -0
- package/lib/commonjs/components/A11yGroup/A11yGroup.js.map +1 -0
- package/lib/commonjs/components/A11yIndex/A11yIndex.js +58 -0
- package/lib/commonjs/components/A11yIndex/A11yIndex.js.map +1 -0
- package/lib/commonjs/components/A11yIndex/A11yIndex.web.js +26 -0
- package/lib/commonjs/components/A11yIndex/A11yIndex.web.js.map +1 -0
- package/lib/commonjs/components/A11yLock/A11yBaseLock/A11yBaseLock.android.js +23 -0
- package/lib/commonjs/components/A11yLock/A11yBaseLock/A11yBaseLock.android.js.map +1 -0
- package/lib/commonjs/components/A11yLock/A11yBaseLock/A11yBaseLock.js +9 -0
- package/lib/commonjs/components/A11yLock/A11yBaseLock/A11yBaseLock.js.map +1 -0
- package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.js +24 -0
- package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.js.map +1 -0
- package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js +18 -0
- package/lib/commonjs/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js.map +1 -0
- package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.js +22 -0
- package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.js.map +1 -0
- package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js +20 -0
- package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js.map +1 -0
- package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrapMountWrapper.js +46 -0
- package/lib/commonjs/components/A11yLock/A11yFocusTrap/A11yFocusTrapMountWrapper.js.map +1 -0
- package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.js +42 -0
- package/lib/commonjs/components/A11yPaneTitle/A11yPaneTitle.js.map +1 -0
- package/lib/commonjs/components/A11ySequence/A11ySequence.js +22 -0
- package/lib/commonjs/components/A11ySequence/A11ySequence.js.map +1 -0
- package/lib/commonjs/components/A11yUIContainer/A11yUIContainer.ios.js +22 -0
- package/lib/commonjs/components/A11yUIContainer/A11yUIContainer.ios.js.map +1 -0
- package/lib/commonjs/components/A11yUIContainer/A11yUIContainer.js +9 -0
- package/lib/commonjs/components/A11yUIContainer/A11yUIContainer.js.map +1 -0
- package/lib/commonjs/components/A11yView/A11yView.js +40 -0
- package/lib/commonjs/components/A11yView/A11yView.js.map +1 -0
- package/lib/commonjs/context/A11yFocusFrameProviderContext.js +30 -0
- package/lib/commonjs/context/A11yFocusFrameProviderContext.js.map +1 -0
- package/lib/commonjs/context/A11ySequenceOrderContext.js +10 -0
- package/lib/commonjs/context/A11ySequenceOrderContext.js.map +1 -0
- package/lib/commonjs/index.js +33 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/index.web.js +27 -0
- package/lib/commonjs/index.web.js.map +1 -0
- package/lib/commonjs/modules/A11yAnnounceModule.android.js +11 -0
- package/lib/commonjs/modules/A11yAnnounceModule.android.js.map +1 -0
- package/lib/commonjs/modules/A11yAnnounceModule.js +28 -0
- package/lib/commonjs/modules/A11yAnnounceModule.js.map +1 -0
- package/lib/commonjs/nativeSpecs/A11yGroupNativeComponent.ts +9 -0
- package/lib/commonjs/nativeSpecs/A11yIndexNativeComponent.ts +39 -0
- package/lib/commonjs/nativeSpecs/A11yLockNativeComponent.ts +12 -0
- package/lib/commonjs/nativeSpecs/A11yOrderNativeComponent.ts +11 -0
- package/lib/commonjs/nativeSpecs/A11yPaneTitleNativeComponent.ts +13 -0
- package/lib/commonjs/nativeSpecs/A11yUIContainerNativeComponent.ts +12 -0
- package/lib/commonjs/nativeSpecs/A11yViewNativeComponent.ts +36 -0
- package/lib/commonjs/nativeSpecs/NativeA11yAnnounceModule.js +9 -0
- package/lib/commonjs/nativeSpecs/NativeA11yAnnounceModule.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/types/A11yGroup.types.js +6 -0
- package/lib/commonjs/types/A11yGroup.types.js.map +1 -0
- package/lib/commonjs/types/A11yIndex.types.js +13 -0
- package/lib/commonjs/types/A11yIndex.types.js.map +1 -0
- package/lib/commonjs/types/A11yLock.types.js +6 -0
- package/lib/commonjs/types/A11yLock.types.js.map +1 -0
- package/lib/commonjs/types/A11yModule.types.js +6 -0
- package/lib/commonjs/types/A11yModule.types.js.map +1 -0
- package/lib/commonjs/types/A11yUIContainerView.types.js +15 -0
- package/lib/commonjs/types/A11yUIContainerView.types.js.map +1 -0
- package/lib/commonjs/types/A11yView.types.js +6 -0
- package/lib/commonjs/types/A11yView.types.js.map +1 -0
- package/lib/module/components/A11yIndex/A11yIndex.js +2 -2
- package/lib/module/components/A11yIndex/A11yIndex.js.map +1 -1
- package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.js +1 -1
- package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.js.map +1 -1
- package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js +1 -1
- package/lib/module/components/A11yLock/A11yFocusFrame/A11yFocusFrame.js.map +1 -1
- package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.js +1 -1
- package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.js.map +1 -1
- package/lib/module/components/A11yLock/A11yFocusTrap/A11yFocusTrap.js +1 -1
- 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/A11ySequence/A11ySequence.js +1 -1
- package/lib/module/components/A11ySequence/A11ySequence.js.map +1 -1
- package/lib/module/components/A11yUIContainer/A11yUIContainer.ios.js +1 -1
- package/lib/module/components/A11yUIContainer/A11yUIContainer.ios.js.map +1 -1
- package/lib/module/index.js +3 -3
- package/lib/module/index.js.map +1 -1
- package/package.json +8 -17
- package/lib/module/package.json +0 -1
- package/lib/typescript/package.json +0 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.A11y = void 0;
|
|
7
|
+
Object.defineProperty(exports, "A11yModule", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return _A11yAnnounceModule.A11yModule;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var _A11yIndex = require("./components/A11yIndex/A11yIndex");
|
|
14
|
+
var _A11ySequence = require("./components/A11ySequence/A11ySequence");
|
|
15
|
+
var _A11yGroup = require("./components/A11yGroup/A11yGroup");
|
|
16
|
+
var _A11yUIContainer = require("./components/A11yUIContainer/A11yUIContainer");
|
|
17
|
+
var _A11yPaneTitle = require("./components/A11yPaneTitle/A11yPaneTitle");
|
|
18
|
+
var _A11yView = require("./components/A11yView/A11yView");
|
|
19
|
+
var _A11yFocusFrame = require("./components/A11yLock/A11yFocusFrame/A11yFocusFrame");
|
|
20
|
+
var _A11yFocusTrap = require("./components/A11yLock/A11yFocusTrap/A11yFocusTrap");
|
|
21
|
+
var _A11yAnnounceModule = require("./modules/A11yAnnounceModule");
|
|
22
|
+
const A11y = exports.A11y = {
|
|
23
|
+
Order: _A11ySequence.A11yIndexSequence,
|
|
24
|
+
Index: _A11yIndex.A11yIndex,
|
|
25
|
+
Group: _A11yGroup.A11yGroup,
|
|
26
|
+
Container: _A11yUIContainer.A11yUIContainer,
|
|
27
|
+
PaneTitle: _A11yPaneTitle.A11yPaneTitle,
|
|
28
|
+
ScreenChange: _A11yPaneTitle.A11yScreenChange,
|
|
29
|
+
View: _A11yView.A11yView,
|
|
30
|
+
FocusFrame: _A11yFocusFrame.A11yFocusFrame,
|
|
31
|
+
FocusTrap: _A11yFocusTrap.A11yFocusTrap
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_A11yIndex","require","_A11ySequence","_A11yGroup","_A11yUIContainer","_A11yPaneTitle","_A11yView","_A11yFocusFrame","_A11yFocusTrap","_A11yAnnounceModule","A11y","exports","Order","A11yIndexSequence","Index","A11yIndex","Group","A11yGroup","Container","A11yUIContainer","PaneTitle","A11yPaneTitle","ScreenChange","A11yScreenChange","View","A11yView","FocusFrame","A11yFocusFrame","FocusTrap","A11yFocusTrap"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AACA,IAAAI,cAAA,GAAAJ,OAAA;AAIA,IAAAK,SAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAN,OAAA;AACA,IAAAO,cAAA,GAAAP,OAAA;AA+BA,IAAAQ,mBAAA,GAAAR,OAAA;AAZO,MAAMS,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG;EAClBE,KAAK,EAAEC,+BAAiB;EACxBC,KAAK,EAAEC,oBAAS;EAChBC,KAAK,EAAEC,oBAAS;EAChBC,SAAS,EAAEC,gCAAe;EAC1BC,SAAS,EAAEC,4BAAa;EACxBC,YAAY,EAAEC,+BAAgB;EAC9BC,IAAI,EAAEC,kBAAQ;EACdC,UAAU,EAAEC,8BAAc;EAC1BC,SAAS,EAAEC;AACb,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.A11y = void 0;
|
|
7
|
+
Object.defineProperty(exports, "A11yModule", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return _A11yAnnounceModule.A11yModule;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var _A11yIndex = require("./components/A11yIndex/A11yIndex");
|
|
14
|
+
var _reactNative = require("react-native");
|
|
15
|
+
var _A11yAnnounceModule = require("./modules/A11yAnnounceModule");
|
|
16
|
+
const A11y = exports.A11y = {
|
|
17
|
+
Order: _reactNative.View,
|
|
18
|
+
Group: _reactNative.View,
|
|
19
|
+
Index: _A11yIndex.A11yIndex,
|
|
20
|
+
Container: _reactNative.View,
|
|
21
|
+
PaneTitle: _reactNative.View,
|
|
22
|
+
ScreenChange: _reactNative.View,
|
|
23
|
+
View: _reactNative.View,
|
|
24
|
+
FocusFrame: _reactNative.View,
|
|
25
|
+
FocusTrap: _reactNative.View
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=index.web.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_A11yIndex","require","_reactNative","_A11yAnnounceModule","A11y","exports","Order","View","Group","Index","A11yIndex","Container","PaneTitle","ScreenChange","FocusFrame","FocusTrap"],"sourceRoot":"../../src","sources":["index.web.ts"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AA+BA,IAAAE,mBAAA,GAAAF,OAAA;AAZO,MAAMG,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG;EAClBE,KAAK,EAAEC,iBAAI;EACXC,KAAK,EAAED,iBAAI;EACXE,KAAK,EAAEC,oBAAS;EAChBC,SAAS,EAAEJ,iBAAI;EACfK,SAAS,EAAEL,iBAAI;EACfM,YAAY,EAAEN,iBAAI;EAClBA,IAAI,EAAEA,iBAAI;EACVO,UAAU,EAAEP,iBAAI;EAChBQ,SAAS,EAAER;AACb,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.A11yModule = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
const A11yModule = exports.A11yModule = {
|
|
9
|
+
announce: _reactNative.AccessibilityInfo.announceForAccessibility
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=A11yAnnounceModule.android.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","A11yModule","exports","announce","AccessibilityInfo","announceForAccessibility"],"sourceRoot":"../../../src","sources":["modules/A11yAnnounceModule.android.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEO,MAAMC,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAG;EACxBE,QAAQ,EAAEC,8BAAiB,CAACC;AAC9B,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.A11yModule = exports.A11yAnnounce = void 0;
|
|
7
|
+
exports.announce = announce;
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
const LINKING_ERROR = `The package 'react-native-external-keyboard' doesn't seem to be linked. Make sure: \n\n${_reactNative.Platform.select({
|
|
10
|
+
ios: "- You have run 'pod install'\n",
|
|
11
|
+
default: ''
|
|
12
|
+
})}- You rebuilt the app after installing the package\n` + `- You are not using Expo Go\n`;
|
|
13
|
+
|
|
14
|
+
// @ts-expect-error
|
|
15
|
+
const isTurboModuleEnabled = global.__turboModuleProxy != null;
|
|
16
|
+
const A11yAnnounceModule = isTurboModuleEnabled ? require('../nativeSpecs/NativeA11yAnnounceModule').default : _reactNative.NativeModules.A11yAnnounceModule;
|
|
17
|
+
const A11yAnnounce = exports.A11yAnnounce = A11yAnnounceModule || new Proxy({}, {
|
|
18
|
+
get() {
|
|
19
|
+
throw new Error(LINKING_ERROR);
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
function announce(message) {
|
|
23
|
+
A11yAnnounce.announce(message);
|
|
24
|
+
}
|
|
25
|
+
const A11yModule = exports.A11yModule = {
|
|
26
|
+
announce
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=A11yAnnounceModule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","LINKING_ERROR","Platform","select","ios","default","isTurboModuleEnabled","global","__turboModuleProxy","A11yAnnounceModule","NativeModules","A11yAnnounce","exports","Proxy","get","Error","announce","message","A11yModule"],"sourceRoot":"../../../src","sources":["modules/A11yAnnounceModule.ts"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,MAAMC,aAAa,GACjB,0FAA0FC,qBAAQ,CAACC,MAAM,CACvG;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CACvD,CAAC,sDAAsD,GACvD,+BAA+B;;AAEjC;AACA,MAAMC,oBAAoB,GAAGC,MAAM,CAACC,kBAAkB,IAAI,IAAI;AAC9D,MAAMC,kBAAkB,GAAGH,oBAAoB,GAC3CN,OAAO,CAAC,yCAAyC,CAAC,CAACK,OAAO,GAC1DK,0BAAa,CAACD,kBAAkB;AAE7B,MAAME,YAAY,GAAAC,OAAA,CAAAD,YAAA,GACvBF,kBAAkB,IAClB,IAAII,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAGA,CAAA,EAAG;IACJ,MAAM,IAAIC,KAAK,CAACd,aAAa,CAAC;EAChC;AACF,CACF,CAAC;AAEI,SAASe,QAAQA,CAACC,OAAe,EAAE;EACxCN,YAAY,CAACK,QAAQ,CAACC,OAAO,CAAC;AAChC;AAEO,MAAMC,UAAU,GAAAN,OAAA,CAAAM,UAAA,GAAG;EACxBF;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ViewProps } from 'react-native';
|
|
2
|
+
// eslint-disable-next-line @react-native/no-deep-imports
|
|
3
|
+
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
4
|
+
|
|
5
|
+
export interface A11yGroupNativeComponentProps extends ViewProps {}
|
|
6
|
+
|
|
7
|
+
export default codegenNativeComponent<A11yGroupNativeComponentProps>(
|
|
8
|
+
'A11yGroupView'
|
|
9
|
+
);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import type { ViewProps } from 'react-native';
|
|
3
|
+
import type {
|
|
4
|
+
DirectEventHandler,
|
|
5
|
+
Int32,
|
|
6
|
+
} from 'react-native/Libraries/Types/CodegenTypes';
|
|
7
|
+
// eslint-disable-next-line @react-native/no-deep-imports
|
|
8
|
+
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
9
|
+
// eslint-disable-next-line @react-native/no-deep-imports
|
|
10
|
+
import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
|
|
11
|
+
|
|
12
|
+
export type ScreenReaderFocusChange = Readonly<{
|
|
13
|
+
isFocused: boolean;
|
|
14
|
+
}>;
|
|
15
|
+
|
|
16
|
+
export type ScreenReaderDescendantFocusChanged = Readonly<{
|
|
17
|
+
status: string;
|
|
18
|
+
}>;
|
|
19
|
+
|
|
20
|
+
export interface A11yIndexNativeComponentProps extends ViewProps {
|
|
21
|
+
orderIndex: Int32;
|
|
22
|
+
orderKey: string;
|
|
23
|
+
orderFocusType: Int32;
|
|
24
|
+
|
|
25
|
+
onScreenReaderFocusChange?: DirectEventHandler<ScreenReaderFocusChange>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface NativeCommands {
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
focus: (viewRef: React.ElementRef<ComponentType>) => void;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export const Commands: NativeCommands = codegenNativeCommands<NativeCommands>({
|
|
34
|
+
supportedCommands: ['focus'],
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export default codegenNativeComponent<A11yIndexNativeComponentProps>(
|
|
38
|
+
'A11yIndexView'
|
|
39
|
+
);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ViewProps } from 'react-native';
|
|
2
|
+
import type { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
// eslint-disable-next-line @react-native/no-deep-imports
|
|
4
|
+
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
5
|
+
|
|
6
|
+
export interface A11yLockNativeComponentProps extends ViewProps {
|
|
7
|
+
componentType: Int32;
|
|
8
|
+
containerKey?: string;
|
|
9
|
+
lockDisabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export default codegenNativeComponent<A11yLockNativeComponentProps>('A11yLock');
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ViewProps } from 'react-native';
|
|
2
|
+
// eslint-disable-next-line @react-native/no-deep-imports
|
|
3
|
+
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
4
|
+
|
|
5
|
+
export interface A11yOrderNativeComponentProps extends ViewProps {
|
|
6
|
+
orderKey: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export default codegenNativeComponent<A11yOrderNativeComponentProps>(
|
|
10
|
+
'A11yOrderView'
|
|
11
|
+
);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ViewProps } from 'react-native';
|
|
2
|
+
import type { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
// eslint-disable-next-line @react-native/no-deep-imports
|
|
4
|
+
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
5
|
+
|
|
6
|
+
export interface A11yPaneTitleProps extends ViewProps {
|
|
7
|
+
title?: string;
|
|
8
|
+
detachMessage?: string;
|
|
9
|
+
type: Int32;
|
|
10
|
+
withFocusRestore?: boolean;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export default codegenNativeComponent<A11yPaneTitleProps>('A11yPaneTitle');
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ViewProps } from 'react-native';
|
|
2
|
+
import type { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
// eslint-disable-next-line @react-native/no-deep-imports
|
|
4
|
+
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
5
|
+
|
|
6
|
+
export interface A11yUIContainerNativeComponentProps extends ViewProps {
|
|
7
|
+
containerType?: Int32;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export default codegenNativeComponent<A11yUIContainerNativeComponentProps>(
|
|
11
|
+
'A11yUIContainer'
|
|
12
|
+
);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import type { ViewProps } from 'react-native';
|
|
3
|
+
import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
|
|
4
|
+
// eslint-disable-next-line @react-native/no-deep-imports
|
|
5
|
+
import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands';
|
|
6
|
+
// eslint-disable-next-line @react-native/no-deep-imports
|
|
7
|
+
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
8
|
+
|
|
9
|
+
export type ScreenReaderFocusChange = Readonly<{
|
|
10
|
+
isFocused: boolean;
|
|
11
|
+
}>;
|
|
12
|
+
|
|
13
|
+
export type ScreenReaderDescendantFocusChanged = Readonly<{
|
|
14
|
+
status: string;
|
|
15
|
+
nativeId?: string;
|
|
16
|
+
}>;
|
|
17
|
+
|
|
18
|
+
export interface A11yViewProps extends ViewProps {
|
|
19
|
+
autoFocus?: boolean;
|
|
20
|
+
descendantFocusChangedEnabled?: boolean;
|
|
21
|
+
|
|
22
|
+
onScreenReaderFocused?: DirectEventHandler<{}>;
|
|
23
|
+
onScreenReaderDescendantFocusChanged?: DirectEventHandler<ScreenReaderDescendantFocusChanged>;
|
|
24
|
+
onScreenReaderFocusChange?: DirectEventHandler<ScreenReaderFocusChange>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface NativeCommands {
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
focus: (viewRef: React.ElementRef<ComponentType>) => void;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export const Commands: NativeCommands = codegenNativeCommands<NativeCommands>({
|
|
33
|
+
supportedCommands: ['focus'],
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export default codegenNativeComponent<A11yViewProps>('A11yView');
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _default = exports.default = _reactNative.TurboModuleRegistry.get('A11yAnnounceModule');
|
|
9
|
+
//# sourceMappingURL=NativeA11yAnnounceModule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","get"],"sourceRoot":"../../../src","sources":["nativeSpecs/NativeA11yAnnounceModule.ts"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAAmD,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAMpCC,gCAAmB,CAACC,GAAG,CAAO,oBAAoB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"commonjs"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/A11yGroup.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.A11yOrderTypeEnum = void 0;
|
|
7
|
+
let A11yOrderTypeEnum = exports.A11yOrderTypeEnum = /*#__PURE__*/function (A11yOrderTypeEnum) {
|
|
8
|
+
A11yOrderTypeEnum[A11yOrderTypeEnum["default"] = 0] = "default";
|
|
9
|
+
A11yOrderTypeEnum[A11yOrderTypeEnum["child"] = 1] = "child";
|
|
10
|
+
A11yOrderTypeEnum[A11yOrderTypeEnum["legacy"] = 2] = "legacy";
|
|
11
|
+
return A11yOrderTypeEnum;
|
|
12
|
+
}({});
|
|
13
|
+
//# sourceMappingURL=A11yIndex.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["A11yOrderTypeEnum","exports"],"sourceRoot":"../../../src","sources":["types/A11yIndex.types.ts"],"mappings":";;;;;;IAIYA,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,0BAAjBA,iBAAiB;EAAjBA,iBAAiB,CAAjBA,iBAAiB;EAAjBA,iBAAiB,CAAjBA,iBAAiB;EAAjBA,iBAAiB,CAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/A11yLock.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/A11yModule.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.A11yContainerTypeEnum = void 0;
|
|
7
|
+
let A11yContainerTypeEnum = exports.A11yContainerTypeEnum = /*#__PURE__*/function (A11yContainerTypeEnum) {
|
|
8
|
+
A11yContainerTypeEnum[A11yContainerTypeEnum["none"] = 0] = "none";
|
|
9
|
+
A11yContainerTypeEnum[A11yContainerTypeEnum["table"] = 1] = "table";
|
|
10
|
+
A11yContainerTypeEnum[A11yContainerTypeEnum["list"] = 2] = "list";
|
|
11
|
+
A11yContainerTypeEnum[A11yContainerTypeEnum["landmark"] = 3] = "landmark";
|
|
12
|
+
A11yContainerTypeEnum[A11yContainerTypeEnum["group"] = 4] = "group";
|
|
13
|
+
return A11yContainerTypeEnum;
|
|
14
|
+
}({});
|
|
15
|
+
//# sourceMappingURL=A11yUIContainerView.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["A11yContainerTypeEnum","exports"],"sourceRoot":"../../../src","sources":["types/A11yUIContainerView.types.ts"],"mappings":";;;;;;IAEYA,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,0BAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAArBA,qBAAqB,CAArBA,qBAAqB;EAAA,OAArBA,qBAAqB;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/A11yView.types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import React, { useImperativeHandle, useRef } from 'react';
|
|
4
|
-
import { A11ySequenceOrderContext } from
|
|
4
|
+
import { A11ySequenceOrderContext } from '../../context/A11ySequenceOrderContext';
|
|
5
5
|
import A11yIndexView, { Commands } from '../../nativeSpecs/A11yIndexNativeComponent';
|
|
6
|
-
import { A11yOrderTypeEnum } from
|
|
6
|
+
import { A11yOrderTypeEnum } from '../../types/A11yIndex.types';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
export const A11yIndex = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(({
|
|
9
9
|
children,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useImperativeHandle","useRef","A11ySequenceOrderContext","A11yIndexView","Commands","A11yOrderTypeEnum","jsx","_jsx","A11yIndex","memo","forwardRef","children","index","orderType","onScreenReaderSubViewFocusChange","onScreenReaderSubViewFocused","onScreenReaderSubViewBlurred","props","ref","hasHandler","Boolean","onScreenReaderChangeHandler","useCallback","event","nativeEvent","isFocused","onScreenReaderHandlerProp","undefined","orderKey","useContext","Error","indexRef","focus","current","importantForAccessibility","orderFocusType","orderIndex","onScreenReaderFocusChange"],"sourceRoot":"../../../../src","sources":["components/A11yIndex/A11yIndex.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,mBAAmB,EAAEC,MAAM,QAAQ,OAAO;AAC1D,SAASC,wBAAwB,QAAQ,
|
|
1
|
+
{"version":3,"names":["React","useImperativeHandle","useRef","A11ySequenceOrderContext","A11yIndexView","Commands","A11yOrderTypeEnum","jsx","_jsx","A11yIndex","memo","forwardRef","children","index","orderType","onScreenReaderSubViewFocusChange","onScreenReaderSubViewFocused","onScreenReaderSubViewBlurred","props","ref","hasHandler","Boolean","onScreenReaderChangeHandler","useCallback","event","nativeEvent","isFocused","onScreenReaderHandlerProp","undefined","orderKey","useContext","Error","indexRef","focus","current","importantForAccessibility","orderFocusType","orderIndex","onScreenReaderFocusChange"],"sourceRoot":"../../../../src","sources":["components/A11yIndex/A11yIndex.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,mBAAmB,EAAEC,MAAM,QAAQ,OAAO;AAC1D,SAASC,wBAAwB,QAAQ,wCAAwC;AACjF,OAAOC,aAAa,IAClBC,QAAQ,QACH,4CAA4C;AACnD,SAEEC,iBAAiB,QAEZ,6BAA6B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAErC,OAAO,MAAMC,SAAS,gBAAGT,KAAK,CAACU,IAAI,cACjCV,KAAK,CAACW,UAAU,CACd,CACE;EACEC,QAAQ;EACRC,KAAK;EACLC,SAAS,GAAG,SAAS;EACrBC,gCAAgC;EAChCC,4BAA4B;EAC5BC,4BAA4B;EAC5B,GAAGC;AACL,CAAC,EACDC,GAAG,KACA;EACH,MAAMC,UAAU,GAAGC,OAAO,CACxBJ,4BAA4B,IAC1BD,4BAA4B,IAC5BD,gCACJ,CAAC;EAED,MAAMO,2BAA2B,GAAGtB,KAAK,CAACuB,WAAW,CAClDC,KAA8C,IAAK;IAClDT,gCAAgC,GAAGS,KAAK,CAACC,WAAW,CAACC,SAAS,CAAC;IAC/D,IAAIF,KAAK,CAACC,WAAW,CAACC,SAAS,EAAE;MAC/BV,4BAA4B,GAAG,CAAC;IAClC,CAAC,MAAM;MACLC,4BAA4B,GAAG,CAAC;IAClC;EACF,CAAC,EACD,CACEF,gCAAgC,EAChCE,4BAA4B,EAC5BD,4BAA4B,CAEhC,CAAC;EAED,MAAMW,yBAAyB,GAAGP,UAAU,GACxCE,2BAA2B,GAC3BM,SAAS;EAEb,MAAMC,QAAQ,GAAG7B,KAAK,CAAC8B,UAAU,CAAC3B,wBAAwB,CAAC;EAC3D,IAAI,CAAC0B,QAAQ,EAAE;IACb,MAAM,IAAIE,KAAK,CACb,sEACF,CAAC;EACH;;EAEA;EACA,MAAMC,QAAQ,GAAG9B,MAAM,CAAwC,IAAI,CAAC;EAEpED,mBAAmB,CAACkB,GAAG,EAAE,OAAO;IAC9Bc,KAAK,EAAEA,CAAA,KAAM;MACX,IAAID,QAAQ,CAACE,OAAO,EAAE;QACpB7B,QAAQ,CAAC4B,KAAK,CAACD,QAAQ,CAACE,OAAO,CAAC;MAClC;IACF;EACF,CAAC,CAAC,CAAC;EAEH,MAAMC,yBAAyB,GAC7BrB,SAAS,KAAK,SAAS,GAAG,KAAK,GAAGc,SAAS;EAE7C,oBACEpB,IAAA,CAACJ,aAAa;IACZ+B,yBAAyB,EACvBjB,KAAK,CAACiB,yBAAyB,IAAIA,yBACpC;IACDC,cAAc,EAAE9B,iBAAiB,CAACQ,SAAS,CAAE;IAC7CK,GAAG,EAAEa,QAA2B;IAChCK,UAAU,EAAExB,KAAM;IAClBgB,QAAQ,EAAEA,QAAS;IAAA,GACfX,KAAK;IACToB,yBAAyB,EAAEX,yBAA0B;IAAAf,QAAA,EAEpDA;EAAQ,CACI,CAAC;AAEpB,CACF,CACF,CAAC","ignoreList":[]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { A11yBaseLock } from '../A11yBaseLock/A11yBaseLock';
|
|
5
|
-
import { A11yFrameProvider } from
|
|
5
|
+
import { A11yFrameProvider } from '../../../context/A11yFocusFrameProviderContext';
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
export const A11yFocusFrame = /*#__PURE__*/React.memo(({
|
|
8
8
|
lockDisabled = false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","A11yBaseLock","A11yFrameProvider","jsx","_jsx","A11yFocusFrame","memo","lockDisabled","props","children","componentType"],"sourceRoot":"../../../../../src","sources":["components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,YAAY,QAAQ,8BAA8B;AAC3D,SAASC,iBAAiB,QAAQ,
|
|
1
|
+
{"version":3,"names":["React","A11yBaseLock","A11yFrameProvider","jsx","_jsx","A11yFocusFrame","memo","lockDisabled","props","children","componentType"],"sourceRoot":"../../../../../src","sources":["components/A11yLock/A11yFocusFrame/A11yFocusFrame.android.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,YAAY,QAAQ,8BAA8B;AAC3D,SAASC,iBAAiB,QAAQ,gDAAgD;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEnF,OAAO,MAAMC,cAAc,gBAAGL,KAAK,CAACM,IAAI,CACtC,CAAC;EAAEC,YAAY,GAAG,KAAK;EAAE,GAAGC;AAAM,CAAC,KAAK;EACtC,oBACEJ,IAAA,CAACF,iBAAiB;IAAAO,QAAA,eAChBL,IAAA,CAACH,YAAY;MAAA,GACPO,KAAK;MACTE,aAAa,EAAE,CAAE;MACjBH,YAAY,EAAEA;IAAa,CAC5B;EAAC,CACe,CAAC;AAExB,CACF,CAAC","ignoreList":[]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { View } from 'react-native';
|
|
5
|
-
import { A11yFrameProvider } from
|
|
5
|
+
import { A11yFrameProvider } from '../../../context/A11yFocusFrameProviderContext';
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
export const A11yFocusFrame = props => /*#__PURE__*/_jsx(A11yFrameProvider, {
|
|
8
8
|
children: /*#__PURE__*/_jsx(View, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","A11yFrameProvider","jsx","_jsx","A11yFocusFrame","props","children"],"sourceRoot":"../../../../../src","sources":["components/A11yLock/A11yFocusFrame/A11yFocusFrame.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAwB,cAAc;AACnD,SAASC,iBAAiB,QAAQ,
|
|
1
|
+
{"version":3,"names":["React","View","A11yFrameProvider","jsx","_jsx","A11yFocusFrame","props","children"],"sourceRoot":"../../../../../src","sources":["components/A11yLock/A11yFocusFrame/A11yFocusFrame.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAwB,cAAc;AACnD,SAASC,iBAAiB,QAAQ,gDAAgD;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEnF,OAAO,MAAMC,cAAc,GAAIC,KAAgB,iBAC7CF,IAAA,CAACF,iBAAiB;EAAAK,QAAA,eAChBH,IAAA,CAACH,IAAI;IAAA,GAAKK;EAAK,CAAG;AAAC,CACF,CACpB","ignoreList":[]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { A11yBaseLock } from '../A11yBaseLock/A11yBaseLock';
|
|
5
|
-
import { A11yFocusTrapMountWrapper } from
|
|
5
|
+
import { A11yFocusTrapMountWrapper } from './A11yFocusTrapMountWrapper';
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
export const A11yFocusTrap = /*#__PURE__*/React.memo(({
|
|
8
8
|
lockDisabled = false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","A11yBaseLock","A11yFocusTrapMountWrapper","jsx","_jsx","A11yFocusTrap","memo","lockDisabled","props","children","componentType"],"sourceRoot":"../../../../../src","sources":["components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,YAAY,QAAQ,8BAA8B;AAC3D,SAASC,yBAAyB,QAAQ,
|
|
1
|
+
{"version":3,"names":["React","A11yBaseLock","A11yFocusTrapMountWrapper","jsx","_jsx","A11yFocusTrap","memo","lockDisabled","props","children","componentType"],"sourceRoot":"../../../../../src","sources":["components/A11yLock/A11yFocusTrap/A11yFocusTrap.android.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,YAAY,QAAQ,8BAA8B;AAC3D,SAASC,yBAAyB,QAAQ,6BAA6B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAExE,OAAO,MAAMC,aAAa,gBAAGL,KAAK,CAACM,IAAI,CACrC,CAAC;EAAEC,YAAY,GAAG,KAAK;EAAE,GAAGC;AAAM,CAAC,kBACjCJ,IAAA,CAACF,yBAAyB;EAAAO,QAAA,eACxBL,IAAA,CAACH,YAAY;IAAA,GAAKO,KAAK;IAAEE,aAAa,EAAE,CAAE;IAACH,YAAY,EAAEA;EAAa,CAAE;AAAC,CAChD,CAE/B,CAAC","ignoreList":[]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { View } from 'react-native';
|
|
5
|
-
import { A11yFocusTrapMountWrapper } from
|
|
5
|
+
import { A11yFocusTrapMountWrapper } from './A11yFocusTrapMountWrapper';
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
export const A11yFocusTrap = props => /*#__PURE__*/_jsx(A11yFocusTrapMountWrapper, {
|
|
8
8
|
children: /*#__PURE__*/_jsx(View, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","A11yFocusTrapMountWrapper","jsx","_jsx","A11yFocusTrap","props","children","collapsable","accessibilityViewIsModal"],"sourceRoot":"../../../../../src","sources":["components/A11yLock/A11yFocusTrap/A11yFocusTrap.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AAEnC,SAASC,yBAAyB,QAAQ,
|
|
1
|
+
{"version":3,"names":["React","View","A11yFocusTrapMountWrapper","jsx","_jsx","A11yFocusTrap","props","children","collapsable","accessibilityViewIsModal"],"sourceRoot":"../../../../../src","sources":["components/A11yLock/A11yFocusTrap/A11yFocusTrap.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,QAAQ,cAAc;AAEnC,SAASC,yBAAyB,QAAQ,6BAA6B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAExE,OAAO,MAAMC,aAAa,GAAIC,KAAoB,iBAChDF,IAAA,CAACF,yBAAyB;EAAAK,QAAA,eACxBH,IAAA,CAACH,IAAI;IAACO,WAAW,EAAE,KAAM;IAACC,wBAAwB,EAAE,IAAK;IAAA,GAAKH;EAAK,CAAG;AAAC,CAC9C,CAC5B","ignoreList":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { useEffect, useRef } from 'react';
|
|
4
|
-
import { useFocusFrameContext } from
|
|
4
|
+
import { useFocusFrameContext } from '../../../context/A11yFocusFrameProviderContext';
|
|
5
5
|
export const A11yFocusTrapMountWrapper = ({
|
|
6
6
|
children
|
|
7
7
|
}) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","useRef","useFocusFrameContext","A11yFocusTrapMountWrapper","children","a11yFrameContext","instanceId","Symbol","console","warn","hasFocusLock","setHasFocusLock","focusLockId","setFocusLockId","isActive","current","id"],"sourceRoot":"../../../../../src","sources":["components/A11yLock/A11yFocusTrap/A11yFocusTrapMountWrapper.ts"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,MAAM,QAAgC,OAAO;AACjE,SAASC,oBAAoB,QAAQ,
|
|
1
|
+
{"version":3,"names":["useEffect","useRef","useFocusFrameContext","A11yFocusTrapMountWrapper","children","a11yFrameContext","instanceId","Symbol","console","warn","hasFocusLock","setHasFocusLock","focusLockId","setFocusLockId","isActive","current","id"],"sourceRoot":"../../../../../src","sources":["components/A11yLock/A11yFocusTrap/A11yFocusTrapMountWrapper.ts"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,MAAM,QAAgC,OAAO;AACjE,SAASC,oBAAoB,QAAQ,gDAAgD;AAErF,OAAO,MAAMC,yBAAsD,GAAGA,CAAC;EACrEC;AACF,CAAC,KAAK;EACJ,MAAMC,gBAAgB,GAAGH,oBAAoB,CAAC,CAAC;EAC/C,MAAMI,UAAU,GAAGL,MAAM,CAACM,MAAM,CAAC,WAAW,CAAC,CAAC;EAE9C,IAAI,CAACF,gBAAgB,EAAE;IACrBG,OAAO,CAACC,IAAI,CAAC,sDAAsD,CAAC;IACpE,OAAOL,QAAQ;EACjB;EAEA,MAAM;IAAEM,YAAY;IAAEC,eAAe;IAAEC,WAAW;IAAEC;EAAe,CAAC,GAClER,gBAAgB;EAClB,MAAMS,QAAQ,GAAG,CAACJ,YAAY,IAAIE,WAAW,KAAKN,UAAU,CAACS,OAAO;;EAEpE;EACAf,SAAS,CAAC,MAAM;IACd,MAAMgB,EAAE,GAAGV,UAAU,CAACS,OAAO;IAE7B,IAAI,CAACL,YAAY,EAAE;MACjBC,eAAe,CAAC,IAAI,CAAC;MACrBE,cAAc,CAACG,EAAE,CAAC;IACpB;IACA,OAAO,MAAM;MACX,IAAIJ,WAAW,KAAKI,EAAE,EAAE;QACtBL,eAAe,CAAC,KAAK,CAAC;QACtBE,cAAc,CAAC,IAAI,CAAC;MACtB;IACF,CAAC;EACH,CAAC,EAAE,CAACH,YAAY,EAAEC,eAAe,EAAEC,WAAW,EAAEC,cAAc,CAAC,CAAC;EAEhE,IAAI,CAACC,QAAQ,EAAE;IACbN,OAAO,CAACC,IAAI,CACV,gEACF,CAAC;EACH;EAEA,OAAOL,QAAQ;AACjB,CAAC","ignoreList":[]}
|
|
@@ -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';
|
|
5
5
|
import A11yOrderNativeComponent from '../../nativeSpecs/A11yOrderNativeComponent';
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
export const A11yIndexSequence = /*#__PURE__*/React.memo(props => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","A11ySequenceOrderContext","A11yOrderNativeComponent","jsx","_jsx","A11yIndexSequence","memo","props","orderKey","useId","Provider","value","children"],"sourceRoot":"../../../../src","sources":["components/A11ySequence/A11ySequence.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,wBAAwB,QAAQ,
|
|
1
|
+
{"version":3,"names":["React","A11ySequenceOrderContext","A11yOrderNativeComponent","jsx","_jsx","A11yIndexSequence","memo","props","orderKey","useId","Provider","value","children"],"sourceRoot":"../../../../src","sources":["components/A11ySequence/A11ySequence.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,wBAAwB,QAAQ,wCAAwC;AACjF,OAAOC,wBAAwB,MAAM,4CAA4C;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAElF,OAAO,MAAMC,iBAAiB,gBAAGL,KAAK,CAACM,IAAI,CAAaC,KAAK,IAAK;EAChE,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":[]}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { default as A11yUIContainerViewNative } from '../../nativeSpecs/A11yUIContainerNativeComponent';
|
|
5
|
-
import { A11yContainerTypeEnum } from
|
|
5
|
+
import { A11yContainerTypeEnum } from '../../types/A11yUIContainerView.types';
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
export const A11yUIContainer = /*#__PURE__*/React.memo(({
|
|
8
8
|
type = 'group',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","default","A11yUIContainerViewNative","A11yContainerTypeEnum","jsx","_jsx","A11yUIContainer","memo","type","props","containerTypeValue","containerType"],"sourceRoot":"../../../../src","sources":["components/A11yUIContainer/A11yUIContainer.ios.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,OAAO,IAAIC,yBAAyB,QAAQ,kDAAkD;AACvG,SAEEC,qBAAqB,QAChB,
|
|
1
|
+
{"version":3,"names":["React","default","A11yUIContainerViewNative","A11yContainerTypeEnum","jsx","_jsx","A11yUIContainer","memo","type","props","containerTypeValue","containerType"],"sourceRoot":"../../../../src","sources":["components/A11yUIContainer/A11yUIContainer.ios.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,OAAO,IAAIC,yBAAyB,QAAQ,kDAAkD;AACvG,SAEEC,qBAAqB,QAChB,uCAAuC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE/C,OAAO,MAAMC,eAAe,gBAAGN,KAAK,CAACO,IAAI,CACvC,CAAC;EAAEC,IAAI,GAAG,OAAO;EAAE,GAAGC;AAAM,CAAC,KAAK;EAChC,MAAMC,kBAAkB,GAAGP,qBAAqB,CAACK,IAAI,CAAC;EAEtD,oBACEH,IAAA,CAACH,yBAAyB;IACxBS,aAAa,EAAED,kBAAmB;IAAA,GAC9BD;EAAK,CACV,CAAC;AAEN,CACF,CAAC","ignoreList":[]}
|
package/lib/module/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { A11yIndex } from './components/A11yIndex/A11yIndex';
|
|
4
|
-
import { A11yIndexSequence } from
|
|
4
|
+
import { A11yIndexSequence } from './components/A11ySequence/A11ySequence';
|
|
5
5
|
import { A11yGroup } from './components/A11yGroup/A11yGroup';
|
|
6
6
|
import { A11yUIContainer } from './components/A11yUIContainer/A11yUIContainer';
|
|
7
|
-
import { A11yPaneTitle, A11yScreenChange } from
|
|
8
|
-
import { A11yView } from
|
|
7
|
+
import { A11yPaneTitle, A11yScreenChange } from './components/A11yPaneTitle/A11yPaneTitle';
|
|
8
|
+
import { A11yView } from './components/A11yView/A11yView';
|
|
9
9
|
import { A11yFocusFrame } from './components/A11yLock/A11yFocusFrame/A11yFocusFrame';
|
|
10
10
|
import { A11yFocusTrap } from './components/A11yLock/A11yFocusTrap/A11yFocusTrap';
|
|
11
11
|
export const A11y = {
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["A11yIndex","A11yIndexSequence","A11yGroup","A11yUIContainer","A11yPaneTitle","A11yScreenChange","A11yView","A11yFocusFrame","A11yFocusTrap","A11y","Order","Index","Group","Container","PaneTitle","ScreenChange","View","FocusFrame","FocusTrap","A11yModule"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,kCAAkC;AAC5D,SAASC,iBAAiB,QAAQ,
|
|
1
|
+
{"version":3,"names":["A11yIndex","A11yIndexSequence","A11yGroup","A11yUIContainer","A11yPaneTitle","A11yScreenChange","A11yView","A11yFocusFrame","A11yFocusTrap","A11y","Order","Index","Group","Container","PaneTitle","ScreenChange","View","FocusFrame","FocusTrap","A11yModule"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,SAAS,QAAQ,kCAAkC;AAC5D,SAASC,iBAAiB,QAAQ,wCAAwC;AAC1E,SAASC,SAAS,QAAQ,kCAAkC;AAC5D,SAASC,eAAe,QAAQ,8CAA8C;AAC9E,SACEC,aAAa,EACbC,gBAAgB,QACX,0CAA0C;AACjD,SAASC,QAAQ,QAAQ,gCAAgC;AACzD,SAASC,cAAc,QAAQ,qDAAqD;AACpF,SAASC,aAAa,QAAQ,mDAAmD;AAmBjF,OAAO,MAAMC,IAAI,GAAG;EAClBC,KAAK,EAAET,iBAAiB;EACxBU,KAAK,EAAEX,SAAS;EAChBY,KAAK,EAAEV,SAAS;EAChBW,SAAS,EAAEV,eAAe;EAC1BW,SAAS,EAAEV,aAAa;EACxBW,YAAY,EAAEV,gBAAgB;EAC9BW,IAAI,EAAEV,QAAQ;EACdW,UAAU,EAAEV,cAAc;EAC1BW,SAAS,EAAEV;AACb,CAAC;AAED,SAASW,UAAU,QAAQ,8BAA8B","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-a11y-order",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "ReactNative library for managing screen reader focus ordering",
|
|
5
|
-
"main": "
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"types": "./lib/typescript/src/index.d.ts",
|
|
11
|
-
"default": "./lib/module/index.js"
|
|
12
|
-
},
|
|
13
|
-
"./package.json": "./package.json"
|
|
14
|
-
},
|
|
5
|
+
"main": "lib/commonjs/index",
|
|
6
|
+
"module": "lib/module/index",
|
|
7
|
+
"types": "lib/typescript/src/index.d.ts",
|
|
8
|
+
"react-native": "src/index",
|
|
9
|
+
"source": "src/index",
|
|
15
10
|
"files": [
|
|
16
11
|
"src",
|
|
17
12
|
"lib",
|
|
@@ -100,12 +95,8 @@
|
|
|
100
95
|
"source": "src",
|
|
101
96
|
"output": "lib",
|
|
102
97
|
"targets": [
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
{
|
|
106
|
-
"esm": true
|
|
107
|
-
}
|
|
108
|
-
],
|
|
98
|
+
"commonjs",
|
|
99
|
+
"module",
|
|
109
100
|
[
|
|
110
101
|
"typescript",
|
|
111
102
|
{
|
package/lib/module/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"module"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"type":"module"}
|