react-native-a11y-order 0.8.1-rc4 → 0.8.1
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/module/components/A11yView/A11yView.js +2 -0
- package/lib/module/components/A11yView/A11yView.js.map +1 -1
- package/lib/typescript/src/components/A11yView/A11yView.d.ts +3 -1
- package/lib/typescript/src/components/A11yView/A11yView.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/A11yView/A11yView.tsx +4 -1
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import A11yViewNativeComponent from '../../nativeSpecs/A11yViewNativeComponent';
|
|
5
|
+
|
|
6
|
+
// Unknown ref type for better react-native support
|
|
5
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
8
|
export const A11yView = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(({
|
|
7
9
|
onScreenReaderFocused,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","A11yViewNativeComponent","jsx","_jsx","A11yView","memo","forwardRef","onScreenReaderFocused","onScreenReaderSubViewFocusChange","onScreenReaderSubViewFocused","onScreenReaderSubViewBlurred","onScreenReaderDescendantFocusChanged","props","ref","hasHandler","Boolean","onScreenReaderChangeHandler","useCallback","event","nativeEvent","isFocused","onScreenReaderHandlerProp","undefined","descendantFocusChangedEnabled","onScreenReaderFocusChange"],"sourceRoot":"../../../../src","sources":["components/A11yView/A11yView.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,uBAAuB,MAAM,2CAA2C;
|
|
1
|
+
{"version":3,"names":["React","A11yViewNativeComponent","jsx","_jsx","A11yView","memo","forwardRef","onScreenReaderFocused","onScreenReaderSubViewFocusChange","onScreenReaderSubViewFocused","onScreenReaderSubViewBlurred","onScreenReaderDescendantFocusChanged","props","ref","hasHandler","Boolean","onScreenReaderChangeHandler","useCallback","event","nativeEvent","isFocused","onScreenReaderHandlerProp","undefined","descendantFocusChangedEnabled","onScreenReaderFocusChange"],"sourceRoot":"../../../../src","sources":["components/A11yView/A11yView.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,uBAAuB,MAAM,2CAA2C;;AAG/E;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAGA,OAAO,MAAMC,QAAQ,gBAAGJ,KAAK,CAACK,IAAI,cAChCL,KAAK,CAACM,UAAU,CACd,CACE;EACEC,qBAAqB;EACrBC,gCAAgC;EAChCC,4BAA4B;EAC5BC,4BAA4B;EAC5BC,oCAAoC;EACpC,GAAGC;AACL,CAAC,EACDC,GAAG,KACA;EACH,MAAMC,UAAU,GAAGC,OAAO,CACxBL,4BAA4B,IAC1BD,4BAA4B,IAC5BD,gCACJ,CAAC;EAED,MAAMQ,2BAA2B,GAAGhB,KAAK,CAACiB,WAAW,CAClDC,KAA8C,IAAK;IAClDV,gCAAgC,GAAGU,KAAK,CAACC,WAAW,CAACC,SAAS,CAAC;IAC/D,IAAIF,KAAK,CAACC,WAAW,CAACC,SAAS,EAAE;MAC/BX,4BAA4B,GAAG,CAAC;IAClC,CAAC,MAAM;MACLC,4BAA4B,GAAG,CAAC;IAClC;EACF,CAAC,EACD,CACEF,gCAAgC,EAChCE,4BAA4B,EAC5BD,4BAA4B,CAEhC,CAAC;EAED,MAAMY,yBAAyB,GAAGP,UAAU,GACxCE,2BAA2B,GAC3BM,SAAS;EAEb,oBACEnB,IAAA,CAACF,uBAAuB;IAAA,GAClBW,KAAK;IACTC,GAAG,EAAEA,GAAsB;IAC3BU,6BAA6B,EAAER,OAAO,CACpCJ,oCACF,CAAE;IACFJ,qBAAqB,EAAEA,qBAAsB;IAC7CiB,yBAAyB,EAAEH,yBAA0B;IACrDV,oCAAoC,EAClCA;EACD,CACF,CAAC;AAEN,CACF,CACF,CAAC","ignoreList":[]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
type ViewRefType = {};
|
|
2
3
|
export declare const A11yView: React.NamedExoticComponent<Readonly<Omit<Readonly<{
|
|
3
4
|
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
|
|
4
5
|
onAccessibilityTap?: (() => unknown) | undefined;
|
|
@@ -129,5 +130,6 @@ export declare const A11yView: React.NamedExoticComponent<Readonly<Omit<Readonly
|
|
|
129
130
|
onScreenReaderSubViewFocused?: () => void;
|
|
130
131
|
onScreenReaderSubViewBlurred?: () => void;
|
|
131
132
|
onScreenReaderDescendantFocusChanged?: (e: import("../..").ScreenReaderDescendantFocusChangedEvent) => void;
|
|
132
|
-
} & React.RefAttributes<
|
|
133
|
+
} & React.RefAttributes<ViewRefType>>;
|
|
134
|
+
export {};
|
|
133
135
|
//# sourceMappingURL=A11yView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A11yView.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yView/A11yView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"A11yView.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yView/A11yView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,WAAW,GAAG,EAAE,CAAC;AAEtB,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAuDpB,CAAC"}
|
package/package.json
CHANGED
|
@@ -2,8 +2,11 @@ import React from 'react';
|
|
|
2
2
|
import A11yViewNativeComponent from '../../nativeSpecs/A11yViewNativeComponent';
|
|
3
3
|
import type { A11yViewProps } from '../../types/A11yView.types';
|
|
4
4
|
|
|
5
|
+
// Unknown ref type for better react-native support
|
|
6
|
+
type ViewRefType = {};
|
|
7
|
+
|
|
5
8
|
export const A11yView = React.memo(
|
|
6
|
-
React.forwardRef<
|
|
9
|
+
React.forwardRef<ViewRefType, A11yViewProps>(
|
|
7
10
|
(
|
|
8
11
|
{
|
|
9
12
|
onScreenReaderFocused,
|