react-native-a11y-order 0.11.0-alpha.0 → 1.0.0-alpha.0
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/android/src/main/java/com/a11yorder/A11yOrderPackage.java +19 -25
- package/lib/commonjs/components/A11yIndex/A11yIndex.js +0 -1
- package/lib/commonjs/components/A11yIndex/A11yIndex.js.map +1 -1
- package/lib/commonjs/nativeSpecs/A11yCardNativeComponent.ts +1 -3
- package/lib/commonjs/nativeSpecs/A11yIndexNativeComponent.ts +5 -5
- package/lib/commonjs/nativeSpecs/A11yLockNativeComponent.ts +1 -3
- package/lib/commonjs/nativeSpecs/A11yOrderNativeComponent.ts +1 -3
- package/lib/commonjs/nativeSpecs/A11yPaneTitleNativeComponent.ts +1 -3
- package/lib/module/components/A11yIndex/A11yIndex.js +0 -1
- package/lib/module/components/A11yIndex/A11yIndex.js.map +1 -1
- package/lib/module/nativeSpecs/A11yCardNativeComponent.ts +1 -3
- package/lib/module/nativeSpecs/A11yIndexNativeComponent.ts +5 -5
- package/lib/module/nativeSpecs/A11yLockNativeComponent.ts +1 -3
- package/lib/module/nativeSpecs/A11yOrderNativeComponent.ts +1 -3
- package/lib/module/nativeSpecs/A11yPaneTitleNativeComponent.ts +1 -3
- package/lib/typescript/src/components/A11yIndex/A11yIndex.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/A11yCardNativeComponent.d.ts +2 -4
- package/lib/typescript/src/nativeSpecs/A11yCardNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/A11yIndexNativeComponent.d.ts +2 -4
- package/lib/typescript/src/nativeSpecs/A11yIndexNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/A11yLockNativeComponent.d.ts +2 -4
- package/lib/typescript/src/nativeSpecs/A11yLockNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/A11yOrderNativeComponent.d.ts +2 -4
- package/lib/typescript/src/nativeSpecs/A11yOrderNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/nativeSpecs/A11yPaneTitleNativeComponent.d.ts +2 -4
- package/lib/typescript/src/nativeSpecs/A11yPaneTitleNativeComponent.d.ts.map +1 -1
- package/package.json +8 -11
- package/src/components/A11yIndex/A11yIndex.tsx +3 -2
- package/src/nativeSpecs/A11yCardNativeComponent.ts +1 -3
- package/src/nativeSpecs/A11yIndexNativeComponent.ts +5 -5
- package/src/nativeSpecs/A11yLockNativeComponent.ts +1 -3
- package/src/nativeSpecs/A11yOrderNativeComponent.ts +1 -3
- package/src/nativeSpecs/A11yPaneTitleNativeComponent.ts +1 -3
|
@@ -1,46 +1,42 @@
|
|
|
1
1
|
package com.a11yorder;
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
import com.a11yorder.modules.A11yAnnounceModule;
|
|
5
4
|
import com.a11yorder.views.A11yCardView.A11yCardViewManager;
|
|
6
5
|
import com.a11yorder.views.A11yIndexView.A11yIndexViewManager;
|
|
7
6
|
import com.a11yorder.views.A11yLockView.A11yLockViewManager;
|
|
8
7
|
import com.a11yorder.views.A11yOrderView.A11yOrderViewManager;
|
|
9
8
|
import com.a11yorder.views.A11yPaneTitle.A11yPaneTitleManager;
|
|
9
|
+
import com.facebook.react.BaseReactPackage;
|
|
10
|
+
import com.facebook.react.bridge.NativeModule;
|
|
11
|
+
import com.facebook.react.bridge.ReactApplicationContext;
|
|
10
12
|
import com.facebook.react.module.model.ReactModuleInfo;
|
|
11
13
|
import com.facebook.react.module.model.ReactModuleInfoProvider;
|
|
12
14
|
import com.facebook.react.uimanager.ViewManager;
|
|
13
|
-
import com.facebook.react.TurboReactPackage;
|
|
14
15
|
|
|
15
|
-
import java.util.
|
|
16
|
+
import java.util.Arrays;
|
|
16
17
|
import java.util.HashMap;
|
|
17
18
|
import java.util.List;
|
|
18
19
|
import java.util.Map;
|
|
19
20
|
|
|
20
|
-
|
|
21
|
-
import com.facebook.react.bridge.ReactApplicationContext;
|
|
22
|
-
|
|
23
|
-
public class A11yOrderPackage extends TurboReactPackage {
|
|
21
|
+
public class A11yOrderPackage extends BaseReactPackage {
|
|
24
22
|
|
|
25
23
|
@Override
|
|
26
24
|
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
return viewManagers;
|
|
25
|
+
return Arrays.asList(
|
|
26
|
+
new A11yIndexViewManager(),
|
|
27
|
+
new A11yOrderViewManager(),
|
|
28
|
+
new A11yPaneTitleManager(),
|
|
29
|
+
new A11yLockViewManager(),
|
|
30
|
+
new A11yCardViewManager()
|
|
31
|
+
);
|
|
35
32
|
}
|
|
36
33
|
|
|
37
34
|
@Override
|
|
38
35
|
public NativeModule getModule(String name, ReactApplicationContext reactContext) {
|
|
39
36
|
if (name.equals(A11yAnnounceModule.NAME)) {
|
|
40
37
|
return new A11yAnnounceModule(reactContext);
|
|
41
|
-
} else {
|
|
42
|
-
return null;
|
|
43
38
|
}
|
|
39
|
+
return null;
|
|
44
40
|
}
|
|
45
41
|
|
|
46
42
|
@Override
|
|
@@ -49,16 +45,14 @@ public class A11yOrderPackage extends TurboReactPackage {
|
|
|
49
45
|
@Override
|
|
50
46
|
public Map<String, ReactModuleInfo> getReactModuleInfos() {
|
|
51
47
|
Map<String, ReactModuleInfo> map = new HashMap<>();
|
|
52
|
-
boolean isTurboModule = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED;
|
|
53
48
|
|
|
54
49
|
map.put(A11yAnnounceModule.NAME, new ReactModuleInfo(
|
|
55
|
-
A11yAnnounceModule.NAME,
|
|
56
|
-
A11yAnnounceModule.NAME,
|
|
57
|
-
false,
|
|
58
|
-
false,
|
|
59
|
-
false,
|
|
60
|
-
|
|
61
|
-
isTurboModule // isTurboModule
|
|
50
|
+
A11yAnnounceModule.NAME, // name
|
|
51
|
+
A11yAnnounceModule.NAME, // className
|
|
52
|
+
false, // canOverrideExistingModule
|
|
53
|
+
false, // needsEagerInit
|
|
54
|
+
false, // isCxxModule
|
|
55
|
+
BuildConfig.IS_NEW_ARCHITECTURE_ENABLED // isTurboModule
|
|
62
56
|
));
|
|
63
57
|
return map;
|
|
64
58
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_A11ySequenceOrderContext","_A11yIndexNativeComponent","_A11yIndex","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","useScreenReaderProps","onScreenReaderFocused","onScreenReaderSubViewFocusChange","onScreenReaderSubViewFocused","onScreenReaderSubViewBlurred","onScreenReaderDescendantFocusChanged","hasHandler","Boolean","onScreenReaderFocusChange","React","useCallback","event","isFocused","nativeEvent","undefined","descendantFocusChangedEnabled","useFocusRef","ref","localRef","useRef","useImperativeHandle","native","current","Proxy","_target","prop","Commands","focus","useOrderProps","index","orderType","importantForAccessibilityProp","orderKey","useContext","A11ySequenceOrderContext","hasOrderInfo","Error","resolvedOrderType","importantForAccessibilityFallback","orderFocusType","A11yOrderTypeEnum","importantForAccessibility","A11yIndex","exports","memo","forwardRef","children","a11yUIContainer","shouldGroupAccessibilityChildren","props","viewProps","containerTypeValue","A11yContainerTypeEnum","shouldGroupChildrenValue","screenReaderNativeProps","jsx","containerType","orderIndex"],"sourceRoot":"../../../../src","sources":["components/A11yIndex/A11yIndex.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,yBAAA,GAAAD,OAAA;AACA,IAAAE,yBAAA,GAAAH,uBAAA,CAAAC,OAAA;AAGA,IAAAG,UAAA,GAAAH,OAAA;AAM2B,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,wBAAAM,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAA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AIA,SAAS,EAAE;MACbT,4BAA4B,GAAG,CAAC;IAClC,CAAC,MAAM;MACLC,4BAA4B,GAAG,CAAC;IAClC;EACF,CAAC,EACD,CACEF,gCAAgC,EAChCE,4BAA4B,EAC5BD,4BAA4B,CAEhC,CAAC;EAED,OAAO;IACLF,qBAAqB;IACrBO,yBAAyB,EAAEF,UAAU,GACjCE,yBAAyB,GACzBM,SAAS;IACbC,6BAA6B,EAAER,OAAO,CACpCF,oCACF,CAAC;IACDA;EACF,CAAC;AACH;AAEA,SAASW,WAAWA,CAACC,GAAsC,EAAE;EAC3D,MAAMC,QAAQ,GAAG,IAAAC,aAAM,EAA2C,IAAI,CAAC;EAEvE,IAAAC,0BAAmB,EAACH,GAAG,EAAE,MAAM;IAC7B,MAAMI,MAAM,GAAGH,QAAQ,CAACI,OAA6C;IAErE,OAAO,IAAIC,KAAK,CAAC,CAAC,CAAC,EAAmB;MACpC9B,GAAGA,CAAC+B,OAAO,EAAEC,IAAY,EAAE;QACzB,IAAIA,IAAI,KAAK,OAAO,EAAE;UACpB,OAAO,MAAM;YACX,IAAIP,QAAQ,CAACI,OAAO,EAAE;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_A11ySequenceOrderContext","_A11yIndexNativeComponent","_A11yIndex","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","useScreenReaderProps","onScreenReaderFocused","onScreenReaderSubViewFocusChange","onScreenReaderSubViewFocused","onScreenReaderSubViewBlurred","onScreenReaderDescendantFocusChanged","hasHandler","Boolean","onScreenReaderFocusChange","React","useCallback","event","isFocused","nativeEvent","undefined","descendantFocusChangedEnabled","useFocusRef","ref","localRef","useRef","useImperativeHandle","native","current","Proxy","_target","prop","Commands","focus","useOrderProps","index","orderType","importantForAccessibilityProp","orderKey","useContext","A11ySequenceOrderContext","hasOrderInfo","Error","resolvedOrderType","importantForAccessibilityFallback","orderFocusType","A11yOrderTypeEnum","importantForAccessibility","A11yIndex","exports","memo","forwardRef","children","a11yUIContainer","shouldGroupAccessibilityChildren","props","viewProps","containerTypeValue","A11yContainerTypeEnum","shouldGroupChildrenValue","screenReaderNativeProps","jsx","containerType","orderIndex"],"sourceRoot":"../../../../src","sources":["components/A11yIndex/A11yIndex.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,yBAAA,GAAAD,OAAA;AACA,IAAAE,yBAAA,GAAAH,uBAAA,CAAAC,OAAA;AAGA,IAAAG,UAAA,GAAAH,OAAA;AAM2B,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,wBAAAM,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAR,uBAAA,YAAAA,CAAAM,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAA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,MAAMuC,wBAAwB,GAC5BL,gCAAgC,KAAKlC,SAAS,GAC1C,CAAC,CAAC,GACFkC,gCAAgC,GAChC,CAAC,GACD,CAAC;EAEP,MAAMM,uBAAuB,GAAGtD,oBAAoB,CAAC;IACnDC,qBAAqB;IACrBC,gCAAgC;IAChCC,4BAA4B;IAC5BC,4BAA4B;IAC5BC;EACF,CAAC,CAAC;EAEF,MAAM;IAAE2B,QAAQ;IAAEO,cAAc;IAAEE;EAA0B,CAAC,GAC3Db,aAAa,CAACC,KAAK,EAAEC,SAAS,EAAEC,6BAA6B,CAAC;EAEhE,MAAMb,QAAQ,GAAGF,WAAW,CAACC,GAAG,CAAC;EAEjC,oBACE,IAAArC,WAAA,CAAA2E,GAAA,EAAC7E,yBAAA,CAAAa,OAAa;IACZ0B,GAAG,EAAEC,QAA2B;IAAA,GAC5BgC,SAAS;IACbM,aAAa,EAAEL,kBAAmB;IAClCH,gCAAgC,EAAEK,wBAAyB;IAC3DZ,yBAAyB,EAAEA,yBAA0B;IACrDF,cAAc,EAAEA,cAAe;IAC/BkB,UAAU,EAAE5B,KAAM;IAClBG,QAAQ,EAAEA,QAAS;IAAA,GACfsB,uBAAuB;IAAAR,QAAA,EAE1BA;EAAQ,CACI,CAAC;AAEpB,CACF,CACF,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import type
|
|
2
|
-
// eslint-disable-next-line @react-native/no-deep-imports
|
|
3
|
-
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
1
|
+
import { codegenNativeComponent, type ViewProps } from 'react-native';
|
|
4
2
|
|
|
5
3
|
export interface A11yCardNativeComponentProps extends ViewProps {}
|
|
6
4
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { ComponentType } from 'react';
|
|
2
|
-
import
|
|
2
|
+
import {
|
|
3
|
+
codegenNativeComponent,
|
|
4
|
+
codegenNativeCommands,
|
|
5
|
+
type ViewProps,
|
|
6
|
+
} from 'react-native';
|
|
3
7
|
import type {
|
|
4
8
|
DirectEventHandler,
|
|
5
9
|
Int32,
|
|
6
10
|
} 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
11
|
|
|
12
12
|
export type ScreenReaderFocusChange = Readonly<{
|
|
13
13
|
isFocused: boolean;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { codegenNativeComponent, type ViewProps } from 'react-native';
|
|
2
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
3
|
|
|
6
4
|
export interface A11yLockNativeComponentProps extends ViewProps {
|
|
7
5
|
componentType: Int32;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import type
|
|
2
|
-
// eslint-disable-next-line @react-native/no-deep-imports
|
|
3
|
-
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
1
|
+
import { codegenNativeComponent, type ViewProps } from 'react-native';
|
|
4
2
|
|
|
5
3
|
export interface A11yOrderNativeComponentProps extends ViewProps {
|
|
6
4
|
orderKey: string;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { codegenNativeComponent, type ViewProps } from 'react-native';
|
|
2
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
3
|
|
|
6
4
|
export interface A11yPaneTitleProps extends ViewProps {
|
|
7
5
|
title?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","useImperativeHandle","useRef","A11ySequenceOrderContext","A11yIndexView","Commands","A11yOrderTypeEnum","A11yContainerTypeEnum","jsx","_jsx","useScreenReaderProps","onScreenReaderFocused","onScreenReaderSubViewFocusChange","onScreenReaderSubViewFocused","onScreenReaderSubViewBlurred","onScreenReaderDescendantFocusChanged","hasHandler","Boolean","onScreenReaderFocusChange","useCallback","event","isFocused","nativeEvent","undefined","descendantFocusChangedEnabled","useFocusRef","ref","localRef","native","current","Proxy","get","_target","prop","focus","useOrderProps","index","orderType","importantForAccessibilityProp","orderKey","useContext","hasOrderInfo","Error","resolvedOrderType","importantForAccessibilityFallback","orderFocusType","importantForAccessibility","A11yIndex","memo","forwardRef","children","a11yUIContainer","shouldGroupAccessibilityChildren","props","viewProps","containerTypeValue","shouldGroupChildrenValue","screenReaderNativeProps","containerType","orderIndex"],"sourceRoot":"../../../../src","sources":["components/A11yIndex/A11yIndex.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,mBAAmB,EAAEC,MAAM,QAAQ,OAAO;AAE1D,SAASC,wBAAwB,QAAQ,wCAAwC;AACjF,OAAOC,aAAa,IAClBC,QAAQ,QACH,4CAA4C;AACnD,SAEEC,iBAAiB,EAGjBC,qBAAqB,QAChB,mBAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAW3B,SAASC,oBAAoBA,CAAC;EAC5BC,qBAAqB;EACrBC,gCAAgC;EAChCC,4BAA4B;EAC5BC,4BAA4B;EAC5BC;AACqB,CAAC,EAAE;EACxB,MAAMC,UAAU,GAAGC,OAAO,CACxBH,4BAA4B,IAC1BD,4BAA4B,IAC5BD,gCACJ,CAAC;EAED,MAAMM,yBAAyB,GAAGlB,KAAK,CAACmB,WAAW,CAChDC,KAA8C,IAAK;IAClD,MAAM;MAAEC;IAAU,CAAC,GAAGD,KAAK,CAACE,WAAW;IACvCV,gCAAgC,GAAGS,SAAS,CAAC;IAC7C,IAAIA,SAAS,EAAE;MACbR,4BAA4B,GAAG,CAAC;IAClC,CAAC,MAAM;MACLC,4BAA4B,GAAG,CAAC;IAClC;EACF,CAAC,EACD,CACEF,gCAAgC,EAChCE,4BAA4B,EAC5BD,4BAA4B,CAEhC,CAAC;EAED,OAAO;IACLF,qBAAqB;IACrBO,yBAAyB,EAAEF,UAAU,GACjCE,yBAAyB,GACzBK,SAAS;IACbC,6BAA6B,EAAEP,OAAO,CACpCF,oCACF,CAAC;IACDA;EACF,CAAC;AACH;AAEA,SAASU,WAAWA,CAACC,GAAsC,EAAE;EAC3D,MAAMC,QAAQ,GAAGzB,MAAM,CAA2C,IAAI,CAAC;EAEvED,mBAAmB,CAACyB,GAAG,EAAE,MAAM;IAC7B,MAAME,MAAM,GAAGD,QAAQ,CAACE,OAA6C;IAErE,OAAO,IAAIC,KAAK,CAAC,CAAC,CAAC,EAAmB;MACpCC,GAAGA,CAACC,OAAO,EAAEC,IAAY,EAAE;QACzB,IAAIA,IAAI,KAAK,OAAO,EAAE;UACpB,OAAO,MAAM;YACX,IAAIN,QAAQ,CAACE,OAAO,EAAE;
|
|
1
|
+
{"version":3,"names":["React","useImperativeHandle","useRef","A11ySequenceOrderContext","A11yIndexView","Commands","A11yOrderTypeEnum","A11yContainerTypeEnum","jsx","_jsx","useScreenReaderProps","onScreenReaderFocused","onScreenReaderSubViewFocusChange","onScreenReaderSubViewFocused","onScreenReaderSubViewBlurred","onScreenReaderDescendantFocusChanged","hasHandler","Boolean","onScreenReaderFocusChange","useCallback","event","isFocused","nativeEvent","undefined","descendantFocusChangedEnabled","useFocusRef","ref","localRef","native","current","Proxy","get","_target","prop","focus","useOrderProps","index","orderType","importantForAccessibilityProp","orderKey","useContext","hasOrderInfo","Error","resolvedOrderType","importantForAccessibilityFallback","orderFocusType","importantForAccessibility","A11yIndex","memo","forwardRef","children","a11yUIContainer","shouldGroupAccessibilityChildren","props","viewProps","containerTypeValue","shouldGroupChildrenValue","screenReaderNativeProps","containerType","orderIndex"],"sourceRoot":"../../../../src","sources":["components/A11yIndex/A11yIndex.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,mBAAmB,EAAEC,MAAM,QAAQ,OAAO;AAE1D,SAASC,wBAAwB,QAAQ,wCAAwC;AACjF,OAAOC,aAAa,IAClBC,QAAQ,QACH,4CAA4C;AACnD,SAEEC,iBAAiB,EAGjBC,qBAAqB,QAChB,mBAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAW3B,SAASC,oBAAoBA,CAAC;EAC5BC,qBAAqB;EACrBC,gCAAgC;EAChCC,4BAA4B;EAC5BC,4BAA4B;EAC5BC;AACqB,CAAC,EAAE;EACxB,MAAMC,UAAU,GAAGC,OAAO,CACxBH,4BAA4B,IAC1BD,4BAA4B,IAC5BD,gCACJ,CAAC;EAED,MAAMM,yBAAyB,GAAGlB,KAAK,CAACmB,WAAW,CAChDC,KAA8C,IAAK;IAClD,MAAM;MAAEC;IAAU,CAAC,GAAGD,KAAK,CAACE,WAAW;IACvCV,gCAAgC,GAAGS,SAAS,CAAC;IAC7C,IAAIA,SAAS,EAAE;MACbR,4BAA4B,GAAG,CAAC;IAClC,CAAC,MAAM;MACLC,4BAA4B,GAAG,CAAC;IAClC;EACF,CAAC,EACD,CACEF,gCAAgC,EAChCE,4BAA4B,EAC5BD,4BAA4B,CAEhC,CAAC;EAED,OAAO;IACLF,qBAAqB;IACrBO,yBAAyB,EAAEF,UAAU,GACjCE,yBAAyB,GACzBK,SAAS;IACbC,6BAA6B,EAAEP,OAAO,CACpCF,oCACF,CAAC;IACDA;EACF,CAAC;AACH;AAEA,SAASU,WAAWA,CAACC,GAAsC,EAAE;EAC3D,MAAMC,QAAQ,GAAGzB,MAAM,CAA2C,IAAI,CAAC;EAEvED,mBAAmB,CAACyB,GAAG,EAAE,MAAM;IAC7B,MAAME,MAAM,GAAGD,QAAQ,CAACE,OAA6C;IAErE,OAAO,IAAIC,KAA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;IACpC+B,yBAAyB,EAAER,6BAA6B;IACxD,GAAGgB;EACL,CAAC,GAAGD,KAAK;EAET,MAAME,kBAAkB,GAAGJ,eAAe,GACtC5C,qBAAqB,CAAC4C,eAAe,CAAC,GACtC5B,SAAS;EAEb,MAAMiC,wBAAwB,GAC5BJ,gCAAgC,KAAK7B,SAAS,GAC1C,CAAC,CAAC,GACF6B,gCAAgC,GAChC,CAAC,GACD,CAAC;EAEP,MAAMK,uBAAuB,GAAG/C,oBAAoB,CAAC;IACnDC,qBAAqB;IACrBC,gCAAgC;IAChCC,4BAA4B;IAC5BC,4BAA4B;IAC5BC;EACF,CAAC,CAAC;EAEF,MAAM;IAAEwB,QAAQ;IAAEM,cAAc;IAAEC;EAA0B,CAAC,GAC3DX,aAAa,CAACC,KAAK,EAAEC,SAAS,EAAEC,6BAA6B,CAAC;EAEhE,MAAMX,QAAQ,GAAGF,WAAW,CAACC,GAAG,CAAC;EAEjC,oBACEjB,IAAA,CAACL,aAAa;IACZsB,GAAG,EAAEC,QAA2B;IAAA,GAC5B2B,SAAS;IACbI,aAAa,EAAEH,kBAAmB;IAClCH,gCAAgC,EAAEI,wBAAyB;IAC3DV,yBAAyB,EAAEA,yBAA0B;IACrDD,cAAc,EAAEA,cAAe;IAC/Bc,UAAU,EAAEvB,KAAM;IAClBG,QAAQ,EAAEA,QAAS;IAAA,GACfkB,uBAAuB;IAAAP,QAAA,EAE1BA;EAAQ,CACI,CAAC;AAEpB,CACF,CACF,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import type
|
|
2
|
-
// eslint-disable-next-line @react-native/no-deep-imports
|
|
3
|
-
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
1
|
+
import { codegenNativeComponent, type ViewProps } from 'react-native';
|
|
4
2
|
|
|
5
3
|
export interface A11yCardNativeComponentProps extends ViewProps {}
|
|
6
4
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { ComponentType } from 'react';
|
|
2
|
-
import
|
|
2
|
+
import {
|
|
3
|
+
codegenNativeComponent,
|
|
4
|
+
codegenNativeCommands,
|
|
5
|
+
type ViewProps,
|
|
6
|
+
} from 'react-native';
|
|
3
7
|
import type {
|
|
4
8
|
DirectEventHandler,
|
|
5
9
|
Int32,
|
|
6
10
|
} 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
11
|
|
|
12
12
|
export type ScreenReaderFocusChange = Readonly<{
|
|
13
13
|
isFocused: boolean;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { codegenNativeComponent, type ViewProps } from 'react-native';
|
|
2
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
3
|
|
|
6
4
|
export interface A11yLockNativeComponentProps extends ViewProps {
|
|
7
5
|
componentType: Int32;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import type
|
|
2
|
-
// eslint-disable-next-line @react-native/no-deep-imports
|
|
3
|
-
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
1
|
+
import { codegenNativeComponent, type ViewProps } from 'react-native';
|
|
4
2
|
|
|
5
3
|
export interface A11yOrderNativeComponentProps extends ViewProps {
|
|
6
4
|
orderKey: string;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { codegenNativeComponent, type ViewProps } from 'react-native';
|
|
2
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
3
|
|
|
6
4
|
export interface A11yPaneTitleProps extends ViewProps {
|
|
7
5
|
title?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yIndex.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yIndex/A11yIndex.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAM3D,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,aAAa,EAEnB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"A11yIndex.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yIndex/A11yIndex.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAM3D,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,aAAa,EAEnB,MAAM,mBAAmB,CAAC;AA0G3B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCAgErB,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ViewProps } from 'react-native';
|
|
2
2
|
export interface A11yCardNativeComponentProps extends ViewProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: (
|
|
5
|
-
ref?: React.Ref<import("react-native").HostInstance>;
|
|
6
|
-
}) => React.ReactNode;
|
|
4
|
+
declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType<A11yCardNativeComponentProps>;
|
|
7
5
|
export default _default;
|
|
8
6
|
//# sourceMappingURL=A11yCardNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yCardNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yCardNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"A11yCardNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yCardNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEtE,MAAM,WAAW,4BAA6B,SAAQ,SAAS;CAAG;;AAElE,wBAEE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentType } from 'react';
|
|
2
|
-
import type
|
|
2
|
+
import { type ViewProps } from 'react-native';
|
|
3
3
|
import type { DirectEventHandler, Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
4
4
|
export type ScreenReaderFocusChange = Readonly<{
|
|
5
5
|
isFocused: boolean;
|
|
@@ -24,8 +24,6 @@ export interface NativeCommands {
|
|
|
24
24
|
focus: (viewRef: React.ElementRef<ComponentType>) => void;
|
|
25
25
|
}
|
|
26
26
|
export declare const Commands: NativeCommands;
|
|
27
|
-
declare const _default: (
|
|
28
|
-
ref?: React.Ref<import("react-native").HostInstance>;
|
|
29
|
-
}) => React.ReactNode;
|
|
27
|
+
declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType<A11yIndexNativeComponentProps>;
|
|
30
28
|
export default _default;
|
|
31
29
|
//# sourceMappingURL=A11yIndexNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yIndexNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yIndexNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"A11yIndexNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yIndexNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAGL,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACV,kBAAkB,EAClB,KAAK,EACN,MAAM,2CAA2C,CAAC;AAEnD,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC;IAC7C,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC,CAAC;AAEH,MAAM,MAAM,kCAAkC,GAAG,QAAQ,CAAC;IACxD,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAEH,MAAM,WAAW,6BAA8B,SAAQ,SAAS;IAC9D,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,KAAK,CAAC;IACvB,gCAAgC,CAAC,EAAE,KAAK,CAAC;IAEzC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6BAA6B,CAAC,EAAE,OAAO,CAAC;IAExC,qBAAqB,CAAC,EAAE,kBAAkB,CAAC,EAAE,CAAC,CAAC;IAC/C,oCAAoC,CAAC,EAAE,kBAAkB,CAAC,kCAAkC,CAAC,CAAC;IAC9F,yBAAyB,CAAC,EAAE,kBAAkB,CAAC,uBAAuB,CAAC,CAAC;IAExE,aAAa,CAAC,EAAE,KAAK,CAAC;CACvB;AAED,MAAM,WAAW,cAAc;IAE7B,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;CAC3D;AAED,eAAO,MAAM,QAAQ,EAAE,cAErB,CAAC;;AAEH,wBAEE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ViewProps } from 'react-native';
|
|
2
2
|
import type { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
3
|
export interface A11yLockNativeComponentProps extends ViewProps {
|
|
4
4
|
componentType: Int32;
|
|
@@ -6,8 +6,6 @@ export interface A11yLockNativeComponentProps extends ViewProps {
|
|
|
6
6
|
lockDisabled?: boolean;
|
|
7
7
|
forceLock?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: (
|
|
10
|
-
ref?: React.Ref<import("react-native").HostInstance>;
|
|
11
|
-
}) => React.ReactNode;
|
|
9
|
+
declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType<A11yLockNativeComponentProps>;
|
|
12
10
|
export default _default;
|
|
13
11
|
//# sourceMappingURL=A11yLockNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yLockNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yLockNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"A11yLockNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yLockNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAEvE,MAAM,WAAW,4BAA6B,SAAQ,SAAS;IAC7D,aAAa,EAAE,KAAK,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;;AAED,wBAAgF"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ViewProps } from 'react-native';
|
|
2
2
|
export interface A11yOrderNativeComponentProps extends ViewProps {
|
|
3
3
|
orderKey: string;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: (
|
|
6
|
-
ref?: React.Ref<import("react-native").HostInstance>;
|
|
7
|
-
}) => React.ReactNode;
|
|
5
|
+
declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType<A11yOrderNativeComponentProps>;
|
|
8
6
|
export default _default;
|
|
9
7
|
//# sourceMappingURL=A11yOrderNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yOrderNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yOrderNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"A11yOrderNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yOrderNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEtE,MAAM,WAAW,6BAA8B,SAAQ,SAAS;IAC9D,QAAQ,EAAE,MAAM,CAAC;CAClB;;AAED,wBAEE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type ViewProps } from 'react-native';
|
|
2
2
|
import type { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
3
|
export interface A11yPaneTitleProps extends ViewProps {
|
|
4
4
|
title?: string;
|
|
@@ -6,8 +6,6 @@ export interface A11yPaneTitleProps extends ViewProps {
|
|
|
6
6
|
type: Int32;
|
|
7
7
|
withFocusRestore?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: (
|
|
10
|
-
ref?: React.Ref<import("react-native").HostInstance>;
|
|
11
|
-
}) => React.ReactNode;
|
|
9
|
+
declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType<A11yPaneTitleProps>;
|
|
12
10
|
export default _default;
|
|
13
11
|
//# sourceMappingURL=A11yPaneTitleNativeComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yPaneTitleNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yPaneTitleNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"A11yPaneTitleNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/nativeSpecs/A11yPaneTitleNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAEvE,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,KAAK,CAAC;IACZ,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;;AAED,wBAA2E"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-a11y-order",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-alpha.0",
|
|
4
4
|
"description": "ReactNative library for managing screen reader focus ordering",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -25,12 +25,10 @@
|
|
|
25
25
|
"!**/__fixtures__",
|
|
26
26
|
"!**/__mocks__",
|
|
27
27
|
"!**/.*",
|
|
28
|
-
"!**/CLAUDE.md"
|
|
29
|
-
"!**/docs"
|
|
28
|
+
"!**/CLAUDE.md"
|
|
30
29
|
],
|
|
31
30
|
"scripts": {
|
|
32
31
|
"example": "yarn workspace a11y-order-example",
|
|
33
|
-
"example-legacy": "yarn workspace A11yOrderExample",
|
|
34
32
|
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
|
|
35
33
|
"prepare": "bob build",
|
|
36
34
|
"typecheck": "tsc",
|
|
@@ -66,11 +64,11 @@
|
|
|
66
64
|
"@eslint/compat": "^1.3.2",
|
|
67
65
|
"@eslint/eslintrc": "^3.3.1",
|
|
68
66
|
"@eslint/js": "^9.35.0",
|
|
69
|
-
"@react-native/babel-preset": "0.
|
|
70
|
-
"@react-native/eslint-config": "0.
|
|
67
|
+
"@react-native/babel-preset": "0.83.0",
|
|
68
|
+
"@react-native/eslint-config": "0.83.0",
|
|
71
69
|
"@release-it/conventional-changelog": "^10.0.1",
|
|
72
70
|
"@types/jest": "^29.5.14",
|
|
73
|
-
"@types/react": "^
|
|
71
|
+
"@types/react": "^19.2.0",
|
|
74
72
|
"commitlint": "^19.8.1",
|
|
75
73
|
"del-cli": "^6.0.0",
|
|
76
74
|
"eslint": "^9.35.0",
|
|
@@ -79,8 +77,8 @@
|
|
|
79
77
|
"jest": "^29.7.0",
|
|
80
78
|
"lefthook": "^2.0.3",
|
|
81
79
|
"prettier": "^2.8.8",
|
|
82
|
-
"react": "
|
|
83
|
-
"react-native": "0.
|
|
80
|
+
"react": "19.2.0",
|
|
81
|
+
"react-native": "0.83.0",
|
|
84
82
|
"react-native-builder-bob": "^0.40.18",
|
|
85
83
|
"release-it": "^19.0.4",
|
|
86
84
|
"turbo": "^2.5.6",
|
|
@@ -91,8 +89,7 @@
|
|
|
91
89
|
"react-native": "*"
|
|
92
90
|
},
|
|
93
91
|
"workspaces": [
|
|
94
|
-
"example"
|
|
95
|
-
"A11yOrderExample"
|
|
92
|
+
"example"
|
|
96
93
|
],
|
|
97
94
|
"packageManager": "yarn@4.11.0",
|
|
98
95
|
"react-native-builder-bob": {
|
|
@@ -74,8 +74,9 @@ function useFocusRef(ref: React.ForwardedRef<IndexCommands>) {
|
|
|
74
74
|
if (prop === 'focus') {
|
|
75
75
|
return () => {
|
|
76
76
|
if (localRef.current) {
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
Commands.focus(
|
|
78
|
+
localRef.current as unknown as React.Component<{}, any, any>
|
|
79
|
+
);
|
|
79
80
|
}
|
|
80
81
|
};
|
|
81
82
|
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import type
|
|
2
|
-
// eslint-disable-next-line @react-native/no-deep-imports
|
|
3
|
-
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
1
|
+
import { codegenNativeComponent, type ViewProps } from 'react-native';
|
|
4
2
|
|
|
5
3
|
export interface A11yCardNativeComponentProps extends ViewProps {}
|
|
6
4
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { ComponentType } from 'react';
|
|
2
|
-
import
|
|
2
|
+
import {
|
|
3
|
+
codegenNativeComponent,
|
|
4
|
+
codegenNativeCommands,
|
|
5
|
+
type ViewProps,
|
|
6
|
+
} from 'react-native';
|
|
3
7
|
import type {
|
|
4
8
|
DirectEventHandler,
|
|
5
9
|
Int32,
|
|
6
10
|
} 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
11
|
|
|
12
12
|
export type ScreenReaderFocusChange = Readonly<{
|
|
13
13
|
isFocused: boolean;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { codegenNativeComponent, type ViewProps } from 'react-native';
|
|
2
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
3
|
|
|
6
4
|
export interface A11yLockNativeComponentProps extends ViewProps {
|
|
7
5
|
componentType: Int32;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import type
|
|
2
|
-
// eslint-disable-next-line @react-native/no-deep-imports
|
|
3
|
-
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
1
|
+
import { codegenNativeComponent, type ViewProps } from 'react-native';
|
|
4
2
|
|
|
5
3
|
export interface A11yOrderNativeComponentProps extends ViewProps {
|
|
6
4
|
orderKey: string;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { codegenNativeComponent, type ViewProps } from 'react-native';
|
|
2
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
3
|
|
|
6
4
|
export interface A11yPaneTitleProps extends ViewProps {
|
|
7
5
|
title?: string;
|