@okta/odyssey-react-mui 1.0.2 → 1.2.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.
- package/CHANGELOG.md +54 -0
- package/README.md +1 -1
- package/dist/Autocomplete.js +20 -3
- package/dist/Autocomplete.js.map +1 -1
- package/dist/Banner.js +3 -1
- package/dist/Banner.js.map +1 -1
- package/dist/Box.js +8 -4
- package/dist/Box.js.map +1 -1
- package/dist/Button.js +3 -1
- package/dist/Button.js.map +1 -1
- package/dist/Callout.js +2 -0
- package/dist/Callout.js.map +1 -1
- package/dist/Checkbox.js +6 -2
- package/dist/Checkbox.js.map +1 -1
- package/dist/CheckboxGroup.js +5 -7
- package/dist/CheckboxGroup.js.map +1 -1
- package/dist/CircularProgress.js +2 -0
- package/dist/CircularProgress.js.map +1 -1
- package/dist/Dialog.js +2 -0
- package/dist/Dialog.js.map +1 -1
- package/dist/Field.js.map +1 -1
- package/dist/FieldError.js +2 -0
- package/dist/FieldError.js.map +1 -1
- package/dist/FieldHint.js +2 -0
- package/dist/FieldHint.js.map +1 -1
- package/dist/FieldLabel.js +3 -1
- package/dist/FieldLabel.js.map +1 -1
- package/dist/Fieldset.js +3 -1
- package/dist/Fieldset.js.map +1 -1
- package/dist/Form.js +5 -3
- package/dist/Form.js.map +1 -1
- package/dist/Link.js +3 -1
- package/dist/Link.js.map +1 -1
- package/dist/MenuButton.js +8 -2
- package/dist/MenuButton.js.map +1 -1
- package/dist/MenuItem.js +6 -2
- package/dist/MenuItem.js.map +1 -1
- package/dist/NativeSelect.js +3 -1
- package/dist/NativeSelect.js.map +1 -1
- package/dist/OdysseyCacheProvider.js +4 -1
- package/dist/OdysseyCacheProvider.js.map +1 -1
- package/dist/OdysseyProvider.js +12 -5
- package/dist/OdysseyProvider.js.map +1 -1
- package/dist/OdysseyThemeProvider.js +8 -7
- package/dist/OdysseyThemeProvider.js.map +1 -1
- package/dist/OdysseyTranslationProvider.js +1 -1
- package/dist/OdysseyTranslationProvider.js.map +1 -1
- package/dist/OdysseyTranslationProvider.types.js +1 -1
- package/dist/OdysseyTranslationProvider.types.js.map +1 -1
- package/dist/PasswordField.js +18 -9
- package/dist/PasswordField.js.map +1 -1
- package/dist/Radio.js +2 -0
- package/dist/Radio.js.map +1 -1
- package/dist/RadioGroup.js +5 -2
- package/dist/RadioGroup.js.map +1 -1
- package/dist/SearchField.js +11 -10
- package/dist/SearchField.js.map +1 -1
- package/dist/Select.js +39 -35
- package/dist/Select.js.map +1 -1
- package/dist/SeleniumProps.js +2 -0
- package/dist/SeleniumProps.js.map +1 -0
- package/dist/Status.js +4 -2
- package/dist/Status.js.map +1 -1
- package/dist/Tabs.js +11 -4
- package/dist/Tabs.js.map +1 -1
- package/dist/Tag.js +4 -2
- package/dist/Tag.js.map +1 -1
- package/dist/TagList.js +3 -1
- package/dist/TagList.js.map +1 -1
- package/dist/TextField.js +6 -2
- package/dist/TextField.js.map +1 -1
- package/dist/Toast.js +2 -0
- package/dist/Toast.js.map +1 -1
- package/dist/Tooltip.js +2 -0
- package/dist/Tooltip.js.map +1 -1
- package/dist/Typography.js +71 -59
- package/dist/Typography.js.map +1 -1
- package/dist/createShadowDom.js +26 -0
- package/dist/createShadowDom.js.map +1 -0
- package/dist/{OdysseyI18n.js → i18n.js} +5 -2
- package/dist/i18n.js.map +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/labs/DatePicker.js +4 -2
- package/dist/labs/DatePicker.js.map +1 -1
- package/dist/labs/PaginatedTable.js +6 -4
- package/dist/labs/PaginatedTable.js.map +1 -1
- package/dist/labs/StaticTable.js +9 -4
- package/dist/labs/StaticTable.js.map +1 -1
- package/dist/labs/datePickerTheme.js +4 -2
- package/dist/labs/datePickerTheme.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui.js +2 -0
- package/dist/properties/ts/odyssey-react-mui.js.map +1 -1
- package/dist/src/Autocomplete.d.ts +29 -4
- package/dist/src/Autocomplete.d.ts.map +1 -1
- package/dist/src/Banner.d.ts +3 -2
- package/dist/src/Banner.d.ts.map +1 -1
- package/dist/src/Box.d.ts +9 -2
- package/dist/src/Box.d.ts.map +1 -1
- package/dist/src/Button.d.ts +3 -2
- package/dist/src/Button.d.ts.map +1 -1
- package/dist/src/Callout.d.ts +3 -2
- package/dist/src/Callout.d.ts.map +1 -1
- package/dist/src/Checkbox.d.ts +8 -3
- package/dist/src/Checkbox.d.ts.map +1 -1
- package/dist/src/CheckboxGroup.d.ts +3 -6
- package/dist/src/CheckboxGroup.d.ts.map +1 -1
- package/dist/src/CircularProgress.d.ts +3 -2
- package/dist/src/CircularProgress.d.ts.map +1 -1
- package/dist/src/Dialog.d.ts +3 -2
- package/dist/src/Dialog.d.ts.map +1 -1
- package/dist/src/Field.d.ts +2 -1
- package/dist/src/Field.d.ts.map +1 -1
- package/dist/src/FieldError.d.ts +3 -2
- package/dist/src/FieldError.d.ts.map +1 -1
- package/dist/src/FieldHint.d.ts +3 -2
- package/dist/src/FieldHint.d.ts.map +1 -1
- package/dist/src/FieldLabel.d.ts +3 -2
- package/dist/src/FieldLabel.d.ts.map +1 -1
- package/dist/src/Fieldset.d.ts +3 -2
- package/dist/src/Fieldset.d.ts.map +1 -1
- package/dist/src/Form.d.ts +3 -2
- package/dist/src/Form.d.ts.map +1 -1
- package/dist/src/Link.d.ts +3 -2
- package/dist/src/Link.d.ts.map +1 -1
- package/dist/src/MenuButton.d.ts +12 -3
- package/dist/src/MenuButton.d.ts.map +1 -1
- package/dist/src/MenuItem.d.ts +5 -4
- package/dist/src/MenuItem.d.ts.map +1 -1
- package/dist/src/NativeSelect.d.ts +56 -2
- package/dist/src/NativeSelect.d.ts.map +1 -1
- package/dist/src/OdysseyCacheProvider.d.ts +6 -1
- package/dist/src/OdysseyCacheProvider.d.ts.map +1 -1
- package/dist/src/OdysseyProvider.d.ts +1 -1
- package/dist/src/OdysseyProvider.d.ts.map +1 -1
- package/dist/src/OdysseyThemeProvider.d.ts +2 -1
- package/dist/src/OdysseyThemeProvider.d.ts.map +1 -1
- package/dist/src/OdysseyTranslationProvider.d.ts +1 -1
- package/dist/src/OdysseyTranslationProvider.d.ts.map +1 -1
- package/dist/src/OdysseyTranslationProvider.types.d.ts +1 -1
- package/dist/src/OdysseyTranslationProvider.types.d.ts.map +1 -1
- package/dist/src/PasswordField.d.ts +78 -2
- package/dist/src/PasswordField.d.ts.map +1 -1
- package/dist/src/Radio.d.ts +3 -2
- package/dist/src/Radio.d.ts.map +1 -1
- package/dist/src/RadioGroup.d.ts +8 -3
- package/dist/src/RadioGroup.d.ts.map +1 -1
- package/dist/src/SearchField.d.ts +58 -2
- package/dist/src/SearchField.d.ts.map +1 -1
- package/dist/src/Select.d.ts +7 -2
- package/dist/src/Select.d.ts.map +1 -1
- package/dist/src/SeleniumProps.d.ts +20 -0
- package/dist/src/SeleniumProps.d.ts.map +1 -0
- package/dist/src/Status.d.ts +3 -2
- package/dist/src/Status.d.ts.map +1 -1
- package/dist/src/Tabs.d.ts +9 -3
- package/dist/src/Tabs.d.ts.map +1 -1
- package/dist/src/Tag.d.ts +3 -2
- package/dist/src/Tag.d.ts.map +1 -1
- package/dist/src/TagList.d.ts +3 -2
- package/dist/src/TagList.d.ts.map +1 -1
- package/dist/src/TextField.d.ts +86 -2
- package/dist/src/TextField.d.ts.map +1 -1
- package/dist/src/Toast.d.ts +3 -2
- package/dist/src/Toast.d.ts.map +1 -1
- package/dist/src/Tooltip.d.ts +3 -2
- package/dist/src/Tooltip.d.ts.map +1 -1
- package/dist/src/Typography.d.ts +14 -49
- package/dist/src/Typography.d.ts.map +1 -1
- package/dist/src/createShadowDom.d.ts +16 -0
- package/dist/src/createShadowDom.d.ts.map +1 -0
- package/dist/src/{OdysseyI18n.d.ts → i18n.d.ts} +20 -2
- package/dist/src/i18n.d.ts.map +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/labs/DatePicker.d.ts +5 -1
- package/dist/src/labs/DatePicker.d.ts.map +1 -1
- package/dist/src/labs/PaginatedTable.d.ts.map +1 -1
- package/dist/src/labs/StaticTable.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui.d.ts.map +1 -1
- package/dist/src/theme/components.d.ts +4 -1
- package/dist/src/theme/components.d.ts.map +1 -1
- package/dist/src/theme/createOdysseyMuiTheme.d.ts +23 -0
- package/dist/src/theme/createOdysseyMuiTheme.d.ts.map +1 -0
- package/dist/src/theme/mixins.d.ts +3 -1
- package/dist/src/theme/mixins.d.ts.map +1 -1
- package/dist/src/theme/palette.d.ts +3 -1
- package/dist/src/theme/palette.d.ts.map +1 -1
- package/dist/src/theme/shape.d.ts +3 -1
- package/dist/src/theme/shape.d.ts.map +1 -1
- package/dist/src/theme/spacing.d.ts +3 -1
- package/dist/src/theme/spacing.d.ts.map +1 -1
- package/dist/src/theme/theme.d.ts +1 -8
- package/dist/src/theme/theme.d.ts.map +1 -1
- package/dist/src/theme/typography.d.ts +3 -1
- package/dist/src/theme/typography.d.ts.map +1 -1
- package/dist/theme/components.js +118 -73
- package/dist/theme/components.js.map +1 -1
- package/dist/theme/createOdysseyMuiTheme.js +51 -0
- package/dist/theme/createOdysseyMuiTheme.js.map +1 -0
- package/dist/theme/mixins.js +4 -1
- package/dist/theme/mixins.js.map +1 -1
- package/dist/theme/palette.js +4 -1
- package/dist/theme/palette.js.map +1 -1
- package/dist/theme/shape.js +4 -1
- package/dist/theme/shape.js.map +1 -1
- package/dist/theme/spacing.js +4 -1
- package/dist/theme/spacing.js.map +1 -1
- package/dist/theme/theme.js +1 -20
- package/dist/theme/theme.js.map +1 -1
- package/dist/theme/typography.js +4 -1
- package/dist/theme/typography.js.map +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/package.json +7 -6
- package/src/Autocomplete.tsx +56 -4
- package/src/Banner.tsx +11 -2
- package/src/Box.tsx +11 -5
- package/src/Button.tsx +6 -1
- package/src/Callout.tsx +5 -3
- package/src/Checkbox.tsx +14 -4
- package/src/CheckboxGroup.tsx +6 -10
- package/src/CircularProgress.tsx +5 -1
- package/src/Dialog.tsx +5 -2
- package/src/Field.tsx +2 -0
- package/src/FieldError.tsx +5 -3
- package/src/FieldHint.tsx +9 -3
- package/src/FieldLabel.tsx +5 -3
- package/src/Fieldset.tsx +4 -1
- package/src/Form.tsx +7 -4
- package/src/Link.tsx +18 -3
- package/src/MenuButton.tsx +33 -4
- package/src/MenuItem.tsx +11 -6
- package/src/NativeSelect.tsx +7 -2
- package/src/OdysseyCacheProvider.tsx +9 -1
- package/src/OdysseyProvider.tsx +18 -8
- package/src/OdysseyThemeProvider.tsx +12 -8
- package/src/OdysseyTranslationProvider.test.tsx +2 -2
- package/src/OdysseyTranslationProvider.tsx +1 -1
- package/src/OdysseyTranslationProvider.types.ts +1 -0
- package/src/PasswordField.tsx +37 -13
- package/src/Radio.tsx +5 -1
- package/src/RadioGroup.tsx +12 -4
- package/src/SearchField.tsx +23 -15
- package/src/Select.tsx +154 -149
- package/src/SeleniumProps.ts +20 -0
- package/src/Status.tsx +15 -3
- package/src/Tabs.tsx +18 -4
- package/src/Tag.tsx +12 -3
- package/src/TagList.tsx +4 -2
- package/src/TextField.tsx +14 -2
- package/src/Toast.tsx +4 -1
- package/src/Tooltip.tsx +4 -1
- package/src/Typography.tsx +76 -54
- package/src/createShadowDom.ts +46 -0
- package/src/{OdysseyI18n.ts → i18n.ts} +4 -2
- package/src/index.ts +1 -0
- package/src/labs/DatePicker.tsx +15 -7
- package/src/labs/PaginatedTable.tsx +12 -3
- package/src/labs/README.md +2 -2
- package/src/labs/StaticTable.tsx +13 -3
- package/src/labs/datePickerTheme.tsx +2 -2
- package/src/properties/odyssey-react-mui.properties +2 -0
- package/src/properties/ts/odyssey-react-mui.ts +1 -1
- package/src/theme/components.tsx +69 -18
- package/src/theme/createOdysseyMuiTheme.ts +47 -0
- package/src/theme/mixins.ts +5 -1
- package/src/theme/palette.ts +5 -3
- package/src/theme/shape.ts +5 -1
- package/src/theme/spacing.ts +5 -3
- package/src/theme/theme.ts +1 -26
- package/src/theme/typography.ts +5 -3
- package/dist/OdysseyI18n.js.map +0 -1
- package/dist/src/OdysseyI18n.d.ts.map +0 -1
package/dist/src/RadioGroup.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ChangeEventHandler, ReactElement } from "react";
|
|
13
13
|
import { Radio, RadioProps } from "./Radio";
|
|
14
|
+
import type { SeleniumProps } from "./SeleniumProps";
|
|
14
15
|
export type RadioGroupProps = {
|
|
15
16
|
/**
|
|
16
17
|
* The Radio components within the group. Must include two or more.
|
|
@@ -29,7 +30,7 @@ export type RadioGroupProps = {
|
|
|
29
30
|
*/
|
|
30
31
|
hint?: string;
|
|
31
32
|
/**
|
|
32
|
-
* The id of the `input` element.
|
|
33
|
+
* The id of the `input` element.
|
|
33
34
|
*/
|
|
34
35
|
id?: string;
|
|
35
36
|
/**
|
|
@@ -40,6 +41,10 @@ export type RadioGroupProps = {
|
|
|
40
41
|
* The text label for the RadioGroup
|
|
41
42
|
*/
|
|
42
43
|
label: string;
|
|
44
|
+
/**
|
|
45
|
+
* The name of the `input` element. Defaults to the `id` if not set.
|
|
46
|
+
*/
|
|
47
|
+
name?: string;
|
|
43
48
|
/**
|
|
44
49
|
* Listen for changes in the browser that change `value`
|
|
45
50
|
*/
|
|
@@ -48,7 +53,7 @@ export type RadioGroupProps = {
|
|
|
48
53
|
* The `value` on the selected Radio
|
|
49
54
|
*/
|
|
50
55
|
value?: RadioProps["value"];
|
|
51
|
-
};
|
|
52
|
-
declare const MemoizedRadioGroup: import("react").MemoExoticComponent<({ children, defaultValue, errorMessage, hint, id: idOverride, isDisabled, label, onChange, value, }: RadioGroupProps) => JSX.Element>;
|
|
56
|
+
} & SeleniumProps;
|
|
57
|
+
declare const MemoizedRadioGroup: import("react").MemoExoticComponent<({ children, defaultValue, errorMessage, hint, id: idOverride, isDisabled, label, name: nameOverride, onChange, testId, value, }: RadioGroupProps) => JSX.Element>;
|
|
53
58
|
export { MemoizedRadioGroup as RadioGroup };
|
|
54
59
|
//# sourceMappingURL=RadioGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../src/RadioGroup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,kBAAkB,EAAQ,YAAY,EAAe,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"RadioGroup.d.ts","sourceRoot":"","sources":["../../src/RadioGroup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,kBAAkB,EAAQ,YAAY,EAAe,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC;IAC5C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC3C;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC7B,GAAG,aAAa,CAAC;AA8ClB,QAAA,MAAM,kBAAkB,wKAhCrB,eAAe,iBAgCyB,CAAC;AAG5C,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
import { ChangeEventHandler, FocusEventHandler, InputHTMLAttributes } from "react";
|
|
13
|
+
import type { SeleniumProps } from "./SeleniumProps";
|
|
13
14
|
export type SearchFieldProps = {
|
|
14
15
|
/**
|
|
15
16
|
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
@@ -33,6 +34,10 @@ export type SearchFieldProps = {
|
|
|
33
34
|
* This label won't show up visually, but it's required for accessibility.
|
|
34
35
|
*/
|
|
35
36
|
label: string;
|
|
37
|
+
/**
|
|
38
|
+
* The name of the `input` element. Defaults to the `id` if not set.
|
|
39
|
+
*/
|
|
40
|
+
name?: string;
|
|
36
41
|
/**
|
|
37
42
|
* Callback fired when the `input` element loses focus.
|
|
38
43
|
*/
|
|
@@ -57,7 +62,58 @@ export type SearchFieldProps = {
|
|
|
57
62
|
* The value of the `input` element, required for a controlled component.
|
|
58
63
|
*/
|
|
59
64
|
value?: string;
|
|
60
|
-
};
|
|
61
|
-
declare const MemoizedSearchField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<
|
|
65
|
+
} & SeleniumProps;
|
|
66
|
+
declare const MemoizedSearchField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
67
|
+
/**
|
|
68
|
+
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
69
|
+
* The name can be confusing, as it's more like an autofill.
|
|
70
|
+
* You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
|
|
71
|
+
*/
|
|
72
|
+
autoCompleteType?: InputHTMLAttributes<HTMLInputElement>["autoComplete"];
|
|
73
|
+
/**
|
|
74
|
+
* If `true`, the component will receive focus automatically.
|
|
75
|
+
*/
|
|
76
|
+
hasInitialFocus?: boolean | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* The id of the `input` element.
|
|
79
|
+
*/
|
|
80
|
+
id?: string | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* If `true`, the component is disabled.
|
|
83
|
+
*/
|
|
84
|
+
isDisabled?: boolean | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* This label won't show up visually, but it's required for accessibility.
|
|
87
|
+
*/
|
|
88
|
+
label: string;
|
|
89
|
+
/**
|
|
90
|
+
* The name of the `input` element. Defaults to the `id` if not set.
|
|
91
|
+
*/
|
|
92
|
+
name?: string | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* Callback fired when the `input` element loses focus.
|
|
95
|
+
*/
|
|
96
|
+
onBlur?: FocusEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* Callback fired when the clear button is pressed.
|
|
99
|
+
*/
|
|
100
|
+
onClear?: (() => void) | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* Callback fired when the value is changed.
|
|
103
|
+
*/
|
|
104
|
+
onChange?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* Callback fired when the `input` element get focus.
|
|
107
|
+
*/
|
|
108
|
+
onFocus?: FocusEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* The short hint displayed in the `input` before the user enters a value.
|
|
111
|
+
*/
|
|
112
|
+
placeholder?: string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* The value of the `input` element, required for a controlled component.
|
|
115
|
+
*/
|
|
116
|
+
value?: string | undefined;
|
|
117
|
+
} & SeleniumProps & import("react").RefAttributes<HTMLInputElement>>>;
|
|
62
118
|
export { MemoizedSearchField as SearchField };
|
|
63
119
|
//# sourceMappingURL=SearchField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchField.d.ts","sourceRoot":"","sources":["../../src/SearchField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAEjB,mBAAmB,EAGpB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SearchField.d.ts","sourceRoot":"","sources":["../../src/SearchField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAEjB,mBAAmB,EAGpB,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,cAAc,CAAC,CAAC;IACzE;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;IACnE;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,mBAAmB,GAAG,gBAAgB,CAAC,CAAC;IACtE;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;IACpE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,aAAa,CAAC;AAkHlB,QAAA,MAAM,mBAAmB;IApKvB;;;;OAIG;uBACgB,oBAAoB,gBAAgB,CAAC,CAAC,cAAc,CAAC;IACxE;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;WACI,MAAM;IACb;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;qBACa,IAAI;IACpB;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;qEAoHwC,CAAC;AAG9C,OAAO,EAAE,mBAAmB,IAAI,WAAW,EAAE,CAAC"}
|
package/dist/src/Select.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/// <reference types="react" />
|
|
13
13
|
import { SelectProps as MuiSelectProps } from "@mui/material";
|
|
14
|
+
import type { SeleniumProps } from "./SeleniumProps";
|
|
14
15
|
export type SelectOption = {
|
|
15
16
|
text: string;
|
|
16
17
|
type?: "heading" | "option";
|
|
@@ -45,6 +46,10 @@ export type SelectProps = {
|
|
|
45
46
|
* The label text for the Select
|
|
46
47
|
*/
|
|
47
48
|
label: string;
|
|
49
|
+
/**
|
|
50
|
+
* The name of the `input` element. Defaults to the `id` if not set.
|
|
51
|
+
*/
|
|
52
|
+
name?: string;
|
|
48
53
|
/**
|
|
49
54
|
* Callback fired when the Select loses focus
|
|
50
55
|
*/
|
|
@@ -65,7 +70,7 @@ export type SelectProps = {
|
|
|
65
70
|
* The value or values selected in the Select
|
|
66
71
|
*/
|
|
67
72
|
value?: string | string[];
|
|
68
|
-
};
|
|
69
|
-
declare const MemoizedSelect: import("react").MemoExoticComponent<
|
|
73
|
+
} & SeleniumProps;
|
|
74
|
+
declare const MemoizedSelect: import("react").MemoExoticComponent<({ errorMessage, hint, id: idOverride, isDisabled, isMultiSelect, isOptional, label, name: nameOverride, onBlur, onChange: onChangeProp, onFocus, value, testId, options, }: SelectProps) => JSX.Element>;
|
|
70
75
|
export { MemoizedSelect as Select };
|
|
71
76
|
//# sourceMappingURL=Select.d.ts.map
|
package/dist/src/Select.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/Select.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAYH,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,eAAe,CAAC;AAE9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC;;OAEG;IACH,OAAO,EAAE,CAAC,MAAM,GAAG,YAAY,CAAC,EAAE,CAAC;IACnC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B,GAAG,aAAa,CAAC;AAoLlB,QAAA,MAAM,cAAc,mNApJjB,WAAW,iBAoJqB,CAAC;AAGpC,OAAO,EAAE,cAAc,IAAI,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
export type SeleniumProps = {
|
|
13
|
+
/**
|
|
14
|
+
* This prop puts a `data` attribute on an HTML element in this component with the value provided.
|
|
15
|
+
*
|
|
16
|
+
* @deprecated **WARNING:** You should be using Semantic Selectors instead of this property. This is a temporary measure for backwards compatibility with existing Selenium tests.
|
|
17
|
+
*/
|
|
18
|
+
testId?: string;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=SeleniumProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeleniumProps.d.ts","sourceRoot":"","sources":["../../src/SeleniumProps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,MAAM,aAAa,GAAG;IAC1B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
package/dist/src/Status.d.ts
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
|
+
import type { SeleniumProps } from "./SeleniumProps";
|
|
12
13
|
export declare const statusSeverityValues: readonly ["default", "error", "success", "warning"];
|
|
13
14
|
export declare const statusVariantValues: readonly ["lamp", "pill"];
|
|
14
15
|
export type StatusProps = {
|
|
@@ -24,6 +25,6 @@ export type StatusProps = {
|
|
|
24
25
|
* The style of the Status indicator
|
|
25
26
|
*/
|
|
26
27
|
variant?: (typeof statusVariantValues)[number];
|
|
27
|
-
};
|
|
28
|
-
export declare const Status: ({ severity,
|
|
28
|
+
} & SeleniumProps;
|
|
29
|
+
export declare const Status: ({ label, severity, testId, variant, }: StatusProps) => JSX.Element;
|
|
29
30
|
//# sourceMappingURL=Status.d.ts.map
|
package/dist/src/Status.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../src/Status.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../src/Status.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,eAAO,MAAM,oBAAoB,qDAKvB,CAAC;AACX,eAAO,MAAM,mBAAmB,2BAA4B,CAAC;AAE7D,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;IAChD;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;CAChD,GAAG,aAAa,CAAC;AAElB,eAAO,MAAM,MAAM,0CAKhB,WAAW,gBAYb,CAAC"}
|
package/dist/src/Tabs.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
import React, { ReactElement, ReactNode } from "react";
|
|
13
|
+
import { SeleniumProps } from "./SeleniumProps";
|
|
13
14
|
export type TabItemProps = {
|
|
14
15
|
/**
|
|
15
16
|
* The content of the Tab itself
|
|
@@ -31,21 +32,26 @@ export type TabItemProps = {
|
|
|
31
32
|
* The value associated with the TabItem
|
|
32
33
|
*/
|
|
33
34
|
value?: string;
|
|
34
|
-
};
|
|
35
|
+
} & SeleniumProps;
|
|
35
36
|
export type TabsProps = {
|
|
36
37
|
/**
|
|
37
38
|
* The ARIA label for the full Tabs group
|
|
38
39
|
*/
|
|
39
40
|
ariaLabel?: string;
|
|
40
41
|
/**
|
|
41
|
-
*
|
|
42
|
+
* @deprecated please use the `value` prop instead
|
|
43
|
+
* When `value` is provided, `initialValue` isn't used.
|
|
42
44
|
*/
|
|
43
45
|
initialValue?: string;
|
|
44
46
|
/**
|
|
45
47
|
* The TabItems to be included in the Tabs group
|
|
46
48
|
*/
|
|
47
49
|
tabs: TabItemProps[];
|
|
50
|
+
/**
|
|
51
|
+
* Identifier for the selected tab.
|
|
52
|
+
*/
|
|
53
|
+
value?: string;
|
|
48
54
|
};
|
|
49
|
-
declare const MemoizedTabs: React.MemoExoticComponent<({ ariaLabel, initialValue, tabs }: TabsProps) => JSX.Element>;
|
|
55
|
+
declare const MemoizedTabs: React.MemoExoticComponent<({ ariaLabel, initialValue, tabs, value }: TabsProps) => JSX.Element>;
|
|
50
56
|
export { MemoizedTabs as Tabs };
|
|
51
57
|
//# sourceMappingURL=Tabs.d.ts.map
|
package/dist/src/Tabs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../src/Tabs.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,EACZ,YAAY,EACZ,SAAS,
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../src/Tabs.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,EACZ,YAAY,EACZ,SAAS,EAKV,MAAM,OAAO,CAAC;AAOf,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,aAAa,CAAC;AAElB,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AA4CF,QAAA,MAAM,YAAY,uEA1CsC,SAAS,iBA0ClC,CAAC;AAGhC,OAAO,EAAE,YAAY,IAAI,IAAI,EAAE,CAAC"}
|
package/dist/src/Tag.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ChipProps as MuiChipProps } from "@mui/material";
|
|
13
13
|
import { ReactElement } from "react";
|
|
14
|
+
import { SeleniumProps } from "./SeleniumProps";
|
|
14
15
|
export type TagProps = {
|
|
15
16
|
icon?: ReactElement;
|
|
16
17
|
isDisabled?: boolean;
|
|
@@ -26,7 +27,7 @@ export type TagProps = {
|
|
|
26
27
|
* Callback fired when the remove button of the Tag is clicked
|
|
27
28
|
*/
|
|
28
29
|
onRemove?: MuiChipProps["onDelete"];
|
|
29
|
-
};
|
|
30
|
-
declare const MemoizedTag: import("react").MemoExoticComponent<({ icon, isDisabled, label, onClick, onRemove }: TagProps) => JSX.Element>;
|
|
30
|
+
} & SeleniumProps;
|
|
31
|
+
declare const MemoizedTag: import("react").MemoExoticComponent<({ icon, isDisabled, label, onClick, onRemove, testId, }: TagProps) => JSX.Element>;
|
|
31
32
|
export { MemoizedTag as Tag };
|
|
32
33
|
//# sourceMappingURL=Tag.d.ts.map
|
package/dist/src/Tag.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../src/Tag.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAmB,SAAS,IAAI,YAAY,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAQ,YAAY,EAA2B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../src/Tag.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAmB,SAAS,IAAI,YAAY,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAQ,YAAY,EAA2B,MAAM,OAAO,CAAC;AAGpE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;CACrC,GAAG,aAAa,CAAC;AAiClB,QAAA,MAAM,WAAW,gGAxBd,QAAQ,iBAwBkB,CAAC;AAG9B,OAAO,EAAE,WAAW,IAAI,GAAG,EAAE,CAAC"}
|
package/dist/src/TagList.d.ts
CHANGED
|
@@ -11,12 +11,13 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Tag } from "./Tag";
|
|
13
13
|
import { ReactElement } from "react";
|
|
14
|
+
import { SeleniumProps } from "./SeleniumProps";
|
|
14
15
|
export type TagListProps = {
|
|
15
16
|
/**
|
|
16
17
|
* The Tag or array of Tags within the TagList
|
|
17
18
|
*/
|
|
18
19
|
children: ReactElement<typeof Tag> | Array<ReactElement<typeof Tag>>;
|
|
19
|
-
};
|
|
20
|
-
declare const MemoizedTagList: import("react").MemoExoticComponent<({ children }: TagListProps) => JSX.Element>;
|
|
20
|
+
} & SeleniumProps;
|
|
21
|
+
declare const MemoizedTagList: import("react").MemoExoticComponent<({ children, testId }: TagListProps) => JSX.Element>;
|
|
21
22
|
export { MemoizedTagList as TagList };
|
|
22
23
|
//# sourceMappingURL=TagList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagList.d.ts","sourceRoot":"","sources":["../../src/TagList.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,OAAO,EAAQ,YAAY,EAAW,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TagList.d.ts","sourceRoot":"","sources":["../../src/TagList.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAE5B,OAAO,EAAQ,YAAY,EAAW,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC,OAAO,GAAG,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;CACtE,GAAG,aAAa,CAAC;AA4BlB,QAAA,MAAM,eAAe,6DA1BkB,YAAY,iBA0Bd,CAAC;AAGtC,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,CAAC"}
|
package/dist/src/TextField.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
import { ChangeEventHandler, FocusEventHandler, InputHTMLAttributes, ReactElement } from "react";
|
|
13
|
+
import { SeleniumProps } from "./SeleniumProps";
|
|
13
14
|
export declare const textFieldTypeValues: readonly ["email", "number", "tel", "text", "url"];
|
|
14
15
|
export type TextFieldProps = {
|
|
15
16
|
/**
|
|
@@ -58,6 +59,10 @@ export type TextFieldProps = {
|
|
|
58
59
|
* The label for the `input` element.
|
|
59
60
|
*/
|
|
60
61
|
label: string;
|
|
62
|
+
/**
|
|
63
|
+
* The name of the `input` element. Defaults to the `id` if not set.
|
|
64
|
+
*/
|
|
65
|
+
name?: string;
|
|
61
66
|
/**
|
|
62
67
|
* Callback fired when the `input` element loses focus.
|
|
63
68
|
*/
|
|
@@ -86,7 +91,86 @@ export type TextFieldProps = {
|
|
|
86
91
|
* The value of the `input` element, required for a controlled component.
|
|
87
92
|
*/
|
|
88
93
|
value?: string;
|
|
89
|
-
};
|
|
90
|
-
declare const MemoizedTextField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<
|
|
94
|
+
} & SeleniumProps;
|
|
95
|
+
declare const MemoizedTextField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
96
|
+
/**
|
|
97
|
+
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
98
|
+
* The name can be confusing, as it's more like an autofill.
|
|
99
|
+
* You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
|
|
100
|
+
*/
|
|
101
|
+
autoCompleteType?: InputHTMLAttributes<HTMLInputElement>["autoComplete"];
|
|
102
|
+
/**
|
|
103
|
+
* End `InputAdornment` for this component.
|
|
104
|
+
*/
|
|
105
|
+
endAdornment?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* If `error` is not undefined, the `input` will indicate an error.
|
|
108
|
+
*/
|
|
109
|
+
errorMessage?: string | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* If `true`, the component will receive focus automatically.
|
|
112
|
+
*/
|
|
113
|
+
hasInitialFocus?: boolean | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* The helper text content.
|
|
116
|
+
*/
|
|
117
|
+
hint?: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* The id of the `input` element.
|
|
120
|
+
*/
|
|
121
|
+
id?: string | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* If `true`, the component is disabled.
|
|
124
|
+
*/
|
|
125
|
+
isDisabled?: boolean | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* If `true`, a [TextareaAutosize](/material-ui/react-textarea-autosize/) element is rendered.
|
|
128
|
+
*/
|
|
129
|
+
isMultiline?: boolean | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* If `true`, the `input` element is not required.
|
|
132
|
+
*/
|
|
133
|
+
isOptional?: boolean | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* It prevents the user from changing the value of the field
|
|
136
|
+
*/
|
|
137
|
+
isReadOnly?: boolean | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* The label for the `input` element.
|
|
140
|
+
*/
|
|
141
|
+
label: string;
|
|
142
|
+
/**
|
|
143
|
+
* The name of the `input` element. Defaults to the `id` if not set.
|
|
144
|
+
*/
|
|
145
|
+
name?: string | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* Callback fired when the `input` element loses focus.
|
|
148
|
+
*/
|
|
149
|
+
onBlur?: FocusEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* Callback fired when the value is changed.
|
|
152
|
+
*/
|
|
153
|
+
onChange?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* Callback fired when the `input` element get focus.
|
|
156
|
+
*/
|
|
157
|
+
onFocus?: FocusEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* The short hint displayed in the `input` before the user enters a value.
|
|
160
|
+
*/
|
|
161
|
+
placeholder?: string | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* Start `InputAdornment` for this component.
|
|
164
|
+
*/
|
|
165
|
+
startAdornment?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
|
|
168
|
+
*/
|
|
169
|
+
type?: "number" | "text" | "tel" | "url" | "email" | undefined;
|
|
170
|
+
/**
|
|
171
|
+
* The value of the `input` element, required for a controlled component.
|
|
172
|
+
*/
|
|
173
|
+
value?: string | undefined;
|
|
174
|
+
} & SeleniumProps & import("react").RefAttributes<HTMLInputElement>>>;
|
|
91
175
|
export { MemoizedTextField as TextField };
|
|
92
176
|
//# sourceMappingURL=TextField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../src/TextField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAEjB,mBAAmB,EAEnB,YAAY,EAEb,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../src/TextField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAEjB,mBAAmB,EAEnB,YAAY,EAEb,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,eAAO,MAAM,mBAAmB,oDAMtB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,cAAc,CAAC,CAAC;IACzE;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IACrC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;IACnE;;OAEG;IACH,QAAQ,CAAC,EAAE,kBAAkB,CAAC,mBAAmB,GAAG,gBAAgB,CAAC,CAAC;IACtE;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,CAAC;IACpE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC5C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,aAAa,CAAC;AAgGlB,QAAA,MAAM,iBAAiB;IA9KrB;;;;OAIG;uBACgB,oBAAoB,gBAAgB,CAAC,CAAC,cAAc,CAAC;IACxE;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;WACI,MAAM;IACb;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;qEAkGoC,CAAC;AAG1C,OAAO,EAAE,iBAAiB,IAAI,SAAS,EAAE,CAAC"}
|
package/dist/src/Toast.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
/// <reference types="react" />
|
|
13
|
+
import { SeleniumProps } from "./SeleniumProps";
|
|
13
14
|
export declare const toastRoleValues: readonly ["status", "alert"];
|
|
14
15
|
export declare const toastSeverityValues: readonly ["success", "info", "warning", "error"];
|
|
15
16
|
export type ToastProps = {
|
|
@@ -55,7 +56,7 @@ export type ToastProps = {
|
|
|
55
56
|
* The text content of the Toast
|
|
56
57
|
*/
|
|
57
58
|
text: string;
|
|
58
|
-
};
|
|
59
|
-
declare const MemoizedToast: import("react").MemoExoticComponent<({ autoHideDuration, isDismissable, linkText, linkUrl, isVisible: isVisibleProp, onHide: onHideProp, role, severity, text, }: ToastProps) => JSX.Element>;
|
|
59
|
+
} & SeleniumProps;
|
|
60
|
+
declare const MemoizedToast: import("react").MemoExoticComponent<({ autoHideDuration, isDismissable, linkText, linkUrl, isVisible: isVisibleProp, onHide: onHideProp, role, severity, testId, text, }: ToastProps) => JSX.Element>;
|
|
60
61
|
export { MemoizedToast as Toast };
|
|
61
62
|
//# sourceMappingURL=Toast.d.ts.map
|
package/dist/src/Toast.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../src/Toast.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../src/Toast.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AASH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,eAAO,MAAM,eAAe,8BAA+B,CAAC;AAC5D,eAAO,MAAM,mBAAmB,kDAKtB,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG;IACvB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC;;OAEG;IACH,QAAQ,EAAE,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC/C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,aAAa,CAAC;AAsElB,QAAA,MAAM,aAAa,4KAvDhB,UAAU,iBAuDoB,CAAC;AAGlC,OAAO,EAAE,aAAa,IAAI,KAAK,EAAE,CAAC"}
|
package/dist/src/Tooltip.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { TooltipProps as MuiTooltipProps } from "@mui/material";
|
|
13
13
|
import { ReactElement } from "react";
|
|
14
|
+
import { SeleniumProps } from "./SeleniumProps";
|
|
14
15
|
export type TooltipProps = {
|
|
15
16
|
/**
|
|
16
17
|
* The type of ARIA attribute to use
|
|
@@ -28,6 +29,6 @@ export type TooltipProps = {
|
|
|
28
29
|
* The text to display in the Tooltip
|
|
29
30
|
*/
|
|
30
31
|
text: string;
|
|
31
|
-
};
|
|
32
|
-
export declare const Tooltip: ({ ariaType, children, placement, text, }: TooltipProps) => JSX.Element;
|
|
32
|
+
} & SeleniumProps;
|
|
33
|
+
export declare const Tooltip: ({ ariaType, children, placement, testId, text, }: TooltipProps) => JSX.Element;
|
|
33
34
|
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../src/Tooltip.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AAGrE,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../src/Tooltip.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,IAAI,eAAe,EAAE,MAAM,eAAe,CAAC;AAGrE,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,QAAQ,EAAE,aAAa,GAAG,OAAO,CAAC;IAClC;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC,WAAW,CAAC,CAAC;IACzC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,aAAa,CAAC;AAElB,eAAO,MAAM,OAAO,qDAMjB,YAAY,gBASd,CAAC"}
|
package/dist/src/Typography.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { TypographyProps as MuiTypographyProps } from "@mui/material";
|
|
13
13
|
import { ElementType, ReactNode } from "react";
|
|
14
|
+
import { SeleniumProps } from "./SeleniumProps";
|
|
14
15
|
export type TypographyVariantValue = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body" | "subordinate" | "support" | "legend";
|
|
15
16
|
export declare const typographyVariantMapping: Record<TypographyVariantValue, MuiTypographyProps["variant"]>;
|
|
16
17
|
export declare const typographyColorValues: readonly ["primary", "textPrimary", "secondary", "textSecondary", "error"];
|
|
@@ -31,10 +32,6 @@ export type TypographyProps = {
|
|
|
31
32
|
* The text content of the component.
|
|
32
33
|
*/
|
|
33
34
|
children: ReactNode;
|
|
34
|
-
/**
|
|
35
|
-
* Additional classes to add to the component.
|
|
36
|
-
*/
|
|
37
|
-
classes?: object;
|
|
38
35
|
/**
|
|
39
36
|
* The color of the text.
|
|
40
37
|
*/
|
|
@@ -47,49 +44,17 @@ export type TypographyProps = {
|
|
|
47
44
|
* The variant of Typography to render.
|
|
48
45
|
*/
|
|
49
46
|
variant?: keyof typeof typographyVariantMapping;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
};
|
|
63
|
-
export declare const Heading3: {
|
|
64
|
-
({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, }: TypographyProps): JSX.Element;
|
|
65
|
-
displayName: string;
|
|
66
|
-
};
|
|
67
|
-
export declare const Heading4: {
|
|
68
|
-
({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, }: TypographyProps): JSX.Element;
|
|
69
|
-
displayName: string;
|
|
70
|
-
};
|
|
71
|
-
export declare const Heading5: {
|
|
72
|
-
({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, }: TypographyProps): JSX.Element;
|
|
73
|
-
displayName: string;
|
|
74
|
-
};
|
|
75
|
-
export declare const Heading6: {
|
|
76
|
-
({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, }: TypographyProps): JSX.Element;
|
|
77
|
-
displayName: string;
|
|
78
|
-
};
|
|
79
|
-
export declare const Paragraph: {
|
|
80
|
-
({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, }: TypographyProps): JSX.Element;
|
|
81
|
-
displayName: string;
|
|
82
|
-
};
|
|
83
|
-
export declare const Subordinate: {
|
|
84
|
-
({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, }: TypographyProps): JSX.Element;
|
|
85
|
-
displayName: string;
|
|
86
|
-
};
|
|
87
|
-
export declare const Support: {
|
|
88
|
-
({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, }: TypographyProps): JSX.Element;
|
|
89
|
-
displayName: string;
|
|
90
|
-
};
|
|
91
|
-
export declare const Legend: {
|
|
92
|
-
({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, classes, color, component, }: TypographyProps): JSX.Element;
|
|
93
|
-
displayName: string;
|
|
94
|
-
};
|
|
47
|
+
} & SeleniumProps;
|
|
48
|
+
declare const MemoizedTypography: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component: componentProp, testId, variant, }: TypographyProps) => JSX.Element>;
|
|
49
|
+
declare const MemoizedHeading1: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
50
|
+
declare const MemoizedHeading2: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
51
|
+
declare const MemoizedHeading3: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
52
|
+
declare const MemoizedHeading4: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
53
|
+
declare const MemoizedHeading5: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
54
|
+
declare const MemoizedHeading6: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
55
|
+
declare const MemoizedParagraph: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
56
|
+
declare const MemoizedSubordinate: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
57
|
+
declare const MemoizedSupport: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
58
|
+
declare const MemoizedLegend: import("react").MemoExoticComponent<({ ariaDescribedBy, ariaLabel, ariaLabelledBy, children, color, component, testId, }: TypographyProps) => JSX.Element>;
|
|
59
|
+
export { MemoizedTypography as Typography, MemoizedHeading1 as Heading1, MemoizedHeading2 as Heading2, MemoizedHeading3 as Heading3, MemoizedHeading4 as Heading4, MemoizedHeading5 as Heading5, MemoizedHeading6 as Heading6, MemoizedLegend as Legend, MemoizedParagraph as Paragraph, MemoizedSubordinate as Subordinate, MemoizedSupport as Support, };
|
|
95
60
|
//# sourceMappingURL=Typography.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../src/Typography.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,eAAe,IAAI,kBAAkB,EACtC,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../src/Typography.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,eAAe,IAAI,kBAAkB,EACtC,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,SAAS,EAAiB,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,MAAM,sBAAsB,GAC9B,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,MAAM,GACN,aAAa,GACb,SAAS,GACT,QAAQ,CAAC;AAEb,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAC3C,sBAAsB,EACtB,kBAAkB,CAAC,SAAS,CAAC,CAYrB,CAAC;AAEX,eAAO,MAAM,qBAAqB,4EAMxB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC/C;;OAEG;IACH,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,OAAO,wBAAwB,CAAC;CACjD,GAAG,aAAa,CAAC;AAuClB,QAAA,MAAM,kBAAkB,oJA5BrB,eAAe,iBA4ByB,CAAC;AAwB5C,QAAA,MAAM,gBAAgB,4HAbnB,eAAe,iBAaqB,CAAC;AAwBxC,QAAA,MAAM,gBAAgB,4HAbnB,eAAe,iBAaqB,CAAC;AAwBxC,QAAA,MAAM,gBAAgB,4HAbnB,eAAe,iBAaqB,CAAC;AAwBxC,QAAA,MAAM,gBAAgB,4HAbnB,eAAe,iBAaqB,CAAC;AAwBxC,QAAA,MAAM,gBAAgB,4HAbnB,eAAe,iBAaqB,CAAC;AAwBxC,QAAA,MAAM,gBAAgB,4HAbnB,eAAe,iBAaqB,CAAC;AAwBxC,QAAA,MAAM,iBAAiB,4HAbpB,eAAe,iBAauB,CAAC;AAwB1C,QAAA,MAAM,mBAAmB,4HAbtB,eAAe,iBAa2B,CAAC;AAwB9C,QAAA,MAAM,eAAe,4HAblB,eAAe,iBAamB,CAAC;AAwBtC,QAAA,MAAM,cAAc,4HAbjB,eAAe,iBAaiB,CAAC;AAGpC,OAAO,EACL,kBAAkB,IAAI,UAAU,EAChC,gBAAgB,IAAI,QAAQ,EAC5B,gBAAgB,IAAI,QAAQ,EAC5B,gBAAgB,IAAI,QAAQ,EAC5B,gBAAgB,IAAI,QAAQ,EAC5B,gBAAgB,IAAI,QAAQ,EAC5B,gBAAgB,IAAI,QAAQ,EAC5B,cAAc,IAAI,MAAM,EACxB,iBAAiB,IAAI,SAAS,EAC9B,mBAAmB,IAAI,WAAW,EAClC,eAAe,IAAI,OAAO,GAC3B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
export declare const createShadowDom: (containerElement: HTMLElement) => {
|
|
13
|
+
emotionRootElement: HTMLStyleElement;
|
|
14
|
+
shadowRootElement: HTMLDivElement;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=createShadowDom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createShadowDom.d.ts","sourceRoot":"","sources":["../../src/createShadowDom.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,eAAe,qBAAsB,WAAW;;;CAY5D,CAAC"}
|