@skyscanner/backpack-web 23.1.0-beta.1 → 23.1.0-beta.2
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,23 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const POLITENESS_SETTINGS: {
|
|
4
|
+
readonly off: 'off';
|
|
5
|
+
readonly polite: 'polite';
|
|
6
|
+
readonly assertive: 'assertive';
|
|
7
|
+
};
|
|
8
|
+
export type PolitenessSetting =
|
|
9
|
+
typeof POLITENESS_SETTINGS[keyof typeof POLITENESS_SETTINGS];
|
|
10
|
+
export type Props = {
|
|
11
|
+
children: ReactElement | string;
|
|
12
|
+
politenessSetting?: PolitenessSetting;
|
|
13
|
+
visible?: boolean;
|
|
14
|
+
className?: string | null;
|
|
15
|
+
[rest: string]: any;
|
|
16
|
+
};
|
|
17
|
+
declare const BpkAriaLive: ({
|
|
18
|
+
className,
|
|
19
|
+
politenessSetting,
|
|
20
|
+
visible,
|
|
21
|
+
...rest
|
|
22
|
+
}: Props) => JSX.Element;
|
|
23
|
+
export default BpkAriaLive;
|