react-native-a11y-order 0.8.1-rc1 → 0.8.1-rc2

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.

Potentially problematic release.


This version of react-native-a11y-order might be problematic. Click here for more details.

@@ -1 +1 @@
1
- {"version":3,"names":["React","A11yViewNativeComponent","jsx","_jsx","A11yView","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;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAIhF,OAAO,MAAMC,QAAQ,gBAAGJ,KAAK,CAACK,UAAU,CACtC,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,GAAGf,KAAK,CAACgB,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,oBACElB,IAAA,CAACF,uBAAuB;IAAA,GAClBU,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,CAA2B","ignoreList":[]}
1
+ {"version":3,"names":["React","A11yViewNativeComponent","jsx","_jsx","A11yView","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;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAIhF,OAAO,MAAMC,QAAQ,gBAAGJ,KAAK,CAACK,UAAU,CACtC,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,GAAGf,KAAK,CAACgB,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,oBACElB,IAAA,CAACF,uBAAuB;IAAA,GAClBU,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,CAA+E","ignoreList":[]}
@@ -1,3 +1,5 @@
1
+ import React from 'react';
2
+ import type { A11yViewProps } from '../../types/A11yView.types';
1
3
  import { View } from 'react-native';
2
- export declare const A11yView: typeof View;
4
+ export declare const A11yView: React.ForwardRefExoticComponent<A11yViewProps & React.RefAttributes<View>>;
3
5
  //# sourceMappingURL=A11yView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"A11yView.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yView/A11yView.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,eAAO,MAAM,QAAQ,EAqDL,OAAO,IAAI,CAAC"}
1
+ {"version":3,"file":"A11yView.d.ts","sourceRoot":"","sources":["../../../../../src/components/A11yView/A11yView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,eAAO,MAAM,QAAQ,EAqDhB,KAAK,CAAC,yBAAyB,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC"}
@@ -278,11 +278,141 @@ export declare const A11y: {
278
278
  } & {
279
279
  children?: import("react").ReactNode | undefined;
280
280
  }, "type">) => import("react").JSX.Element;
281
- View: (props: Omit<import("react-native").ViewProps, keyof {
281
+ View: import("react").ForwardRefExoticComponent<Readonly<Omit<Readonly<{
282
+ onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => unknown) | undefined;
283
+ onAccessibilityTap?: (() => unknown) | undefined;
284
+ onLayout?: ((event: import("react-native").LayoutChangeEvent) => unknown) | undefined;
285
+ onMagicTap?: (() => unknown) | undefined;
286
+ onAccessibilityEscape?: (() => unknown) | undefined;
287
+ }>, "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderEnd" | "onResponderTerminate" | "onResponderTerminationRequest" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
288
+ onMoveShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
289
+ onMoveShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
290
+ onResponderGrant?: ((e: import("react-native").GestureResponderEvent) => void | boolean) | undefined;
291
+ onResponderMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
292
+ onResponderReject?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
293
+ onResponderRelease?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
294
+ onResponderStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
295
+ onResponderEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
296
+ onResponderTerminate?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
297
+ onResponderTerminationRequest?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
298
+ onStartShouldSetResponder?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
299
+ onStartShouldSetResponderCapture?: ((e: import("react-native").GestureResponderEvent) => boolean) | undefined;
300
+ }>, "onMouseEnter" | "onMouseLeave" | "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
301
+ onMouseEnter?: ((event: import("react-native").MouseEvent) => void) | undefined;
302
+ onMouseLeave?: ((event: import("react-native").MouseEvent) => void) | undefined;
303
+ }>, "onClick" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
304
+ onClick?: ((event: import("react-native").PointerEvent) => void) | undefined;
305
+ onClickCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
306
+ onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
307
+ onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
308
+ onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
309
+ onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
310
+ onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
311
+ onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
312
+ onPointerCancel?: ((e: import("react-native").PointerEvent) => void) | undefined;
313
+ onPointerCancelCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
314
+ onPointerDown?: ((e: import("react-native").PointerEvent) => void) | undefined;
315
+ onPointerDownCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
316
+ onPointerUp?: ((e: import("react-native").PointerEvent) => void) | undefined;
317
+ onPointerUpCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
318
+ onPointerOver?: ((e: import("react-native").PointerEvent) => void) | undefined;
319
+ onPointerOverCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
320
+ onPointerOut?: ((e: import("react-native").PointerEvent) => void) | undefined;
321
+ onPointerOutCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
322
+ onGotPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
323
+ onGotPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
324
+ onLostPointerCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
325
+ onLostPointerCaptureCapture?: ((e: import("react-native").PointerEvent) => void) | undefined;
326
+ }>, "onClick" | "onBlur" | "onBlurCapture" | "onFocus" | "onFocusCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
327
+ onBlur?: ((event: import("react-native").BlurEvent) => void) | undefined;
328
+ onBlurCapture?: ((event: import("react-native").BlurEvent) => void) | undefined;
329
+ onFocus?: ((event: import("react-native").FocusEvent) => void) | undefined;
330
+ onFocusCapture?: ((event: import("react-native").FocusEvent) => void) | undefined;
331
+ }>, "onClick" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
332
+ onTouchCancel?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
333
+ onTouchCancelCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
334
+ onTouchEnd?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
335
+ onTouchEndCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
336
+ onTouchMove?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
337
+ onTouchMoveCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
338
+ onTouchStart?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
339
+ onTouchStartCapture?: ((e: import("react-native").GestureResponderEvent) => void) | undefined;
340
+ }>, "onClick" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
341
+ nativeBackgroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
342
+ nativeForegroundAndroid?: import("react-native/types_generated/Libraries/Components/View/ViewPropTypes").AndroidDrawable | undefined;
343
+ renderToHardwareTextureAndroid?: boolean | undefined;
344
+ hasTVPreferredFocus?: boolean | undefined;
345
+ nextFocusDown?: number | undefined;
346
+ nextFocusForward?: number | undefined;
347
+ nextFocusLeft?: number | undefined;
348
+ nextFocusRight?: number | undefined;
349
+ nextFocusUp?: number | undefined;
350
+ focusable?: boolean | undefined;
351
+ tabIndex?: 0 | -1;
352
+ onClick?: ((event: import("react-native").GestureResponderEvent) => unknown) | undefined;
353
+ }>, "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
354
+ shouldRasterizeIOS?: boolean | undefined;
355
+ }>, "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<Omit<Readonly<{
356
+ accessibilityLabelledBy?: (string | undefined) | (Array<string> | undefined);
357
+ "aria-labelledby"?: string | undefined;
358
+ accessibilityLiveRegion?: ("none" | "polite" | "assertive") | undefined;
359
+ "aria-live"?: ("polite" | "assertive" | "off") | undefined;
360
+ importantForAccessibility?: ("auto" | "yes" | "no" | "no-hide-descendants") | undefined;
361
+ screenReaderFocusable?: boolean;
362
+ }>, "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & Omit<Readonly<{
363
+ accessibilityIgnoresInvertColors?: boolean | undefined;
364
+ accessibilityViewIsModal?: boolean | undefined;
365
+ accessibilityShowsLargeContentViewer?: boolean | undefined;
366
+ accessibilityLargeContentTitle?: string | undefined;
367
+ "aria-modal"?: boolean | undefined;
368
+ accessibilityElementsHidden?: boolean | undefined;
369
+ accessibilityLanguage?: string | undefined;
370
+ accessibilityRespondsToUserInteraction?: boolean | undefined;
371
+ }>, "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "role" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden"> & {
372
+ accessible?: boolean | undefined;
373
+ accessibilityLabel?: string | undefined;
374
+ accessibilityHint?: string | undefined;
375
+ "aria-label"?: string | undefined;
376
+ accessibilityRole?: import("react-native").AccessibilityRole | undefined;
377
+ role?: import("react-native").Role | undefined;
378
+ accessibilityState?: import("react-native").AccessibilityState | undefined;
379
+ accessibilityValue?: import("react-native").AccessibilityValue | undefined;
380
+ "aria-valuemax"?: import("react-native").AccessibilityValue["max"] | undefined;
381
+ "aria-valuemin"?: import("react-native").AccessibilityValue["min"] | undefined;
382
+ "aria-valuenow"?: import("react-native").AccessibilityValue["now"] | undefined;
383
+ "aria-valuetext"?: import("react-native").AccessibilityValue["text"] | undefined;
384
+ accessibilityActions?: ReadonlyArray<import("react-native/types_generated/Libraries/Components/View/ViewAccessibility").AccessibilityActionInfo> | undefined;
385
+ "aria-busy"?: boolean | undefined;
386
+ "aria-checked"?: (boolean | undefined) | "mixed";
387
+ "aria-disabled"?: boolean | undefined;
388
+ "aria-expanded"?: boolean | undefined;
389
+ "aria-selected"?: boolean | undefined;
390
+ "aria-hidden"?: boolean | undefined;
391
+ }>, "children" | "style" | "collapsable" | "collapsableChildren" | "id" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "hitSlop" | "pointerEvents" | "removeClippedSubviews" | "experimental_accessibilityOrder"> & Omit<Readonly<{
392
+ children?: React.ReactNode;
393
+ style?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheet").ViewStyleProp | undefined;
394
+ collapsable?: boolean | undefined;
395
+ collapsableChildren?: boolean | undefined;
396
+ id?: string;
397
+ testID?: string | undefined;
398
+ nativeID?: string | undefined;
399
+ needsOffscreenAlphaCompositing?: boolean | undefined;
400
+ hitSlop?: import("react-native/types_generated/Libraries/StyleSheet/EdgeInsetsPropType").EdgeInsetsOrSizeProp | undefined;
401
+ pointerEvents?: ("auto" | "box-none" | "box-only" | "none") | undefined;
402
+ removeClippedSubviews?: boolean | undefined;
403
+ experimental_accessibilityOrder?: Array<string> | undefined;
404
+ }>, never>> & {
405
+ autoFocus?: boolean;
406
+ onScreenReaderFocused?: () => void;
407
+ onScreenReaderSubViewFocusChange?: (isFocused: boolean) => void;
408
+ onScreenReaderSubViewFocused?: () => void;
409
+ onScreenReaderSubViewBlurred?: () => void;
410
+ onScreenReaderDescendantFocusChanged?: (e: import(".").ScreenReaderDescendantFocusChangedEvent) => void;
411
+ } & import("react").RefAttributes<(props: Omit<import("react-native").ViewProps, keyof {
282
412
  ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
283
413
  }> & {
284
414
  ref?: React.Ref<React.ComponentRef<typeof import("react-native").unstable_NativeView>>;
285
- }) => React.ReactNode;
415
+ }) => React.ReactNode>>;
286
416
  FocusFrame: (props: import("react-native").ViewProps) => import("react").JSX.Element;
287
417
  FocusTrap: (props: import("./types/A11yLock.types").A11yLockProps) => import("react").JSX.Element;
288
418
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAYA,YAAY,EACV,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,cAAc,GACf,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EACV,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,mCAAmC,CAAC;AAE3C,YAAY,EAAE,uCAAuC,EAAE,MAAM,wBAAwB,CAAC;AAEtF,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WANE,CAAC;;WAE4B,CAAC;;;;CAchD,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAYA,YAAY,EACV,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,cAAc,GACf,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EACV,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,mCAAmC,CAAC;AAE3C,YAAY,EAAE,uCAAuC,EAAE,MAAM,wBAAwB,CAAC;AAEtF,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE5D,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WANE,CAAC;;WAE4B,CAAC;;;;CAchD,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-a11y-order",
3
- "version": "0.8.1-rc1",
3
+ "version": "0.8.1-rc2",
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",
@@ -56,4 +56,4 @@ export const A11yView = React.forwardRef<View, A11yViewProps>(
56
56
  />
57
57
  );
58
58
  }
59
- ) as unknown as typeof View;
59
+ ) as React.ForwardRefExoticComponent<A11yViewProps & React.RefAttributes<View>>;