@elliemae/ds-accessibility 3.14.0-next.8 → 3.14.0-rc.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.
@@ -0,0 +1,2 @@
1
+ export * from './skip-to';
2
+ export * from './live-region';
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { DSLiveRegionT } from './propTypes';
3
+ declare const DSLiveRegion: {
4
+ (props: DSLiveRegionT.Props): JSX.Element | null;
5
+ propTypes: React.WeakValidationMap<unknown>;
6
+ displayName: string;
7
+ };
8
+ declare const DSLiveRegionWithSchema: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").DocumentedReactComponent<DSLiveRegionT.Props>;
9
+ export { DSLiveRegion, DSLiveRegionWithSchema };
@@ -0,0 +1 @@
1
+ export * from './useLiveRegion';
@@ -0,0 +1,20 @@
1
+ import type { Dispatch, MutableRefObject, SetStateAction, WeakValidationMap } from 'react';
2
+ export declare namespace UseLiveRegionT {
3
+ interface Props {
4
+ id?: string;
5
+ portal?: React.MutableRefObject<HTMLElement>;
6
+ }
7
+ }
8
+ export declare namespace DSLiveRegionT {
9
+ interface Props {
10
+ id?: string;
11
+ portal?: MutableRefObject<HTMLElement>;
12
+ role?: string;
13
+ 'aria-live'?: string;
14
+ methods?: MutableRefObject<{
15
+ read?: Dispatch<SetStateAction<string>>;
16
+ }>;
17
+ }
18
+ }
19
+ export declare const UseLiveRegionPropTypes: WeakValidationMap<unknown>;
20
+ export declare const DSLiveRegionPropTypes: WeakValidationMap<unknown>;
@@ -0,0 +1 @@
1
+ export declare const StyledContainer: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & object, never>;
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import type { UseLiveRegionT } from './propTypes';
3
+ interface Options {
4
+ assertive?: boolean;
5
+ unsafe_emulateAssertiveNVDA?: boolean;
6
+ delay?: number;
7
+ }
8
+ interface Methods {
9
+ read?: (message: string, options: Options) => void;
10
+ }
11
+ export interface Props {
12
+ methods?: React.MutableRefObject<Methods>;
13
+ id?: string;
14
+ portal?: React.MutableRefObject<HTMLElement>;
15
+ }
16
+ declare const useLiveRegion: {
17
+ (props: UseLiveRegionT.Props): {
18
+ LiveRegion: () => JSX.Element;
19
+ read: (message: string, options: Options) => void | undefined;
20
+ };
21
+ displayName: string;
22
+ };
23
+ declare const UseLiveRegionWithSchema: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").DocumentedReactComponent<UseLiveRegionT.Props>;
24
+ export { useLiveRegion, UseLiveRegionWithSchema };
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { DSSkipToPropsT as Props } from './index.d';
3
+ declare const DSSkipTo: {
4
+ (props: Props): JSX.Element;
5
+ propTypes: React.WeakValidationMap<unknown>;
6
+ displayName: string;
7
+ };
8
+ declare const DSSkipToWithSchema: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").DocumentedReactComponent<Props>;
9
+ export { DSSkipTo, DSSkipToWithSchema };
@@ -0,0 +1,4 @@
1
+ export interface DSSkipToPropsT {
2
+ goTo: string;
3
+ message?: string;
4
+ }
@@ -0,0 +1 @@
1
+ export { DSSkipTo, DSSkipToWithSchema } from './DSSkipTo';
@@ -0,0 +1,2 @@
1
+ import type { WeakValidationMap } from 'react';
2
+ export declare const propTypes: WeakValidationMap<unknown>;
@@ -0,0 +1 @@
1
+ export declare const StyledButton: import("styled-components").StyledComponent<keyof JSX.IntrinsicElements, import("@elliemae/ds-system").Theme, Record<string, unknown> & object, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-accessibility",
3
- "version": "3.14.0-next.8",
3
+ "version": "3.14.0-rc.0",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Accessibility",
6
6
  "files": [
@@ -52,8 +52,8 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "uid": "~2.0.0",
55
- "@elliemae/ds-system": "3.14.0-next.8",
56
- "@elliemae/ds-utilities": "3.14.0-next.8"
55
+ "@elliemae/ds-system": "3.14.0-rc.0",
56
+ "@elliemae/ds-utilities": "3.14.0-rc.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "styled-components": "~5.3.6"