react-native-a11y-order 0.8.0 → 0.8.1-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.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type IndexCommands } from '../../types/A11yIndex.types';
3
- export declare const A11yIndex: React.NamedExoticComponent<{
3
+ export declare const A11yIndex: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
4
4
  children: React.ReactNode;
5
5
  index: number;
6
6
  orderType?: import("../..").A11yOrderType;
@@ -130,5 +130,5 @@ export declare const A11yIndex: React.NamedExoticComponent<{
130
130
  pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
131
131
  removeClippedSubviews?: boolean | undefined;
132
132
  experimental_accessibilityOrder?: Array<string> | undefined;
133
- }>, never>> & React.RefAttributes<IndexCommands>>;
133
+ }>, never>> & React.RefAttributes<IndexCommands>>>;
134
134
  //# 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;AAK3D,OAAO,EAGL,KAAK,aAAa,EACnB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDA8ErB,CAAC"}
1
+ {"version":3,"file":"A11yIndex.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yIndex/A11yIndex.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,OAAO,EAGL,KAAK,aAAa,EACnB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kDA8ErB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare const A11yView: React.NamedExoticComponent<Readonly<Omit<Readonly<{
2
+ export declare const A11yView: React.MemoExoticComponent<React.ForwardRefExoticComponent<Readonly<Omit<Readonly<{
3
3
  onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
4
4
  onAccessibilityTap?: (() => unknown) | undefined;
5
5
  onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
@@ -133,5 +133,5 @@ export declare const A11yView: React.NamedExoticComponent<Readonly<Omit<Readonly
133
133
  ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
134
134
  }> & {
135
135
  ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
136
- }) => React.ReactNode>>;
136
+ }) => React.ReactNode>>>;
137
137
  //# 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;AAK1B,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoBuC,CAAA;;OACW,CAAC;uBAkCvE,CAAC"}
1
+ {"version":3,"file":"A11yView.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yView/A11yView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoBuC,CAAA;;OACW,CAAC;wBAkCvE,CAAC"}
@@ -127,7 +127,7 @@ export declare const A11y: {
127
127
  removeClippedSubviews?: boolean | undefined;
128
128
  experimental_accessibilityOrder?: Array<string> | undefined;
129
129
  }>, never>>>;
130
- Index: import("react").NamedExoticComponent<{
130
+ Index: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
131
131
  children: React.ReactNode;
132
132
  index: number;
133
133
  orderType?: import(".").A11yOrderType;
@@ -257,7 +257,7 @@ export declare const A11y: {
257
257
  pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
258
258
  removeClippedSubviews?: boolean | undefined;
259
259
  experimental_accessibilityOrder?: Array<string> | undefined;
260
- }>, never>> & import("react").RefAttributes<import(".").IndexCommands>>;
260
+ }>, never>> & import("react").RefAttributes<import(".").IndexCommands>>>;
261
261
  Group: import("react").ExoticComponent<import("./types/A11yGroup.types").A11yGroupProps>;
262
262
  Container: import("react").ExoticComponent<import(".").A11yUIContainerProps>;
263
263
  PaneTitle: ({ title, detachMessage, type, children, displayed, withFocusRestore, }: import("react-native").ViewProps & ({
@@ -278,7 +278,7 @@ export declare const A11y: {
278
278
  } & {
279
279
  children?: import("react").ReactNode | undefined;
280
280
  }, "type">) => import("react").JSX.Element;
281
- View: import("react").NamedExoticComponent<Readonly<Omit<Readonly<{
281
+ View: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Readonly<Omit<Readonly<{
282
282
  onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
283
283
  onAccessibilityTap?: (() => unknown) | undefined;
284
284
  onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
@@ -412,7 +412,7 @@ export declare const A11y: {
412
412
  ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
413
413
  }> & {
414
414
  ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
415
- }) => React.ReactNode>>;
415
+ }) => React.ReactNode>>>;
416
416
  FocusFrame: (props: import("react-native").ViewProps) => import("react").JSX.Element;
417
417
  FocusTrap: (props: import("./types/A11yLock.types").A11yLockProps) => import("react").JSX.Element;
418
418
  };
@@ -13,7 +13,7 @@ export declare const A11y: {
13
13
  }> & {
14
14
  ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
15
15
  }) => React.ReactNode;
16
- Index: import("react").NamedExoticComponent<{
16
+ Index: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
17
17
  children: React.ReactNode;
18
18
  index: number;
19
19
  orderType?: import(".").A11yOrderType;
@@ -143,7 +143,7 @@ export declare const A11y: {
143
143
  pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
144
144
  removeClippedSubviews?: boolean | undefined;
145
145
  experimental_accessibilityOrder?: Array<string> | undefined;
146
- }>, never>> & import("react").RefAttributes<import(".").IndexCommands>>;
146
+ }>, never>> & import("react").RefAttributes<import(".").IndexCommands>>>;
147
147
  Container: (props: Omit<import("react-native").ViewProps, keyof {
148
148
  ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
149
149
  }> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-a11y-order",
3
- "version": "0.8.0",
3
+ "version": "0.8.1-rc",
4
4
  "description": "ReactNative library for managing screen reader focus ordering",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -72,7 +72,7 @@
72
72
  "@react-native/eslint-config": "0.83.0",
73
73
  "@release-it/conventional-changelog": "^10.0.1",
74
74
  "@types/jest": "^29.5.14",
75
- "@types/react": "^19.2.0",
75
+ "@types/react": "^18.2.44",
76
76
  "commitlint": "^19.8.1",
77
77
  "del-cli": "^6.0.0",
78
78
  "eslint": "^9.35.0",