@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CircularProgress.d.ts","sourceRoot":"","sources":["../../src/CircularProgress.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;
|
|
1
|
+
{"version":3,"file":"CircularProgress.d.ts","sourceRoot":"","sources":["../../src/CircularProgress.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,aAAa,CAAC;AAElB,eAAO,MAAM,gBAAgB,kCAI1B,qBAAqB,gBAOvB,CAAC"}
|
package/dist/src/Dialog.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Button } from "./Button";
|
|
13
13
|
import { ReactNode, ReactElement } from "react";
|
|
14
|
+
import type { SeleniumProps } from "./SeleniumProps";
|
|
14
15
|
export type DialogProps = {
|
|
15
16
|
/**
|
|
16
17
|
* An optional Button object to be situated in the Dialog footer. Should almost always be of variant `primary`.
|
|
@@ -41,7 +42,7 @@ export type DialogProps = {
|
|
|
41
42
|
*/
|
|
42
43
|
title: string;
|
|
43
44
|
ariaLabel: string;
|
|
44
|
-
};
|
|
45
|
-
declare const MemoizedDialog: import("react").MemoExoticComponent<({ callToActionFirstComponent, callToActionSecondComponent, callToActionLastComponent, children, isOpen, onClose, title, ariaLabel, }: DialogProps) => JSX.Element>;
|
|
45
|
+
} & SeleniumProps;
|
|
46
|
+
declare const MemoizedDialog: import("react").MemoExoticComponent<({ callToActionFirstComponent, callToActionSecondComponent, callToActionLastComponent, children, isOpen, onClose, testId, title, ariaLabel, }: DialogProps) => JSX.Element>;
|
|
46
47
|
export { MemoizedDialog as Dialog };
|
|
47
48
|
//# sourceMappingURL=Dialog.d.ts.map
|
package/dist/src/Dialog.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../src/Dialog.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AASH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,EAEL,SAAS,EAIT,YAAY,EACb,MAAM,OAAO,CAAC;AAEf,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,0BAA0B,CAAC,EAAE,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;IACzD;;OAEG;IACH,2BAA2B,CAAC,EAAE,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;IAC1D;;OAEG;IACH,yBAAyB,CAAC,EAAE,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;IACxD;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../src/Dialog.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AASH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,EAEL,SAAS,EAIT,YAAY,EACb,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,0BAA0B,CAAC,EAAE,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;IACzD;;OAEG;IACH,2BAA2B,CAAC,EAAE,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;IAC1D;;OAEG;IACH,yBAAyB,CAAC,EAAE,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;IACxD;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB,GAAG,aAAa,CAAC;AA2ElB,QAAA,MAAM,cAAc,qLA/DjB,WAAW,iBA+DqB,CAAC;AAGpC,OAAO,EAAE,cAAc,IAAI,MAAM,EAAE,CAAC"}
|
package/dist/src/Field.d.ts
CHANGED
|
@@ -59,8 +59,9 @@ export type FieldProps = {
|
|
|
59
59
|
/**
|
|
60
60
|
* Render-props function that sends back ARIA props to your field component.
|
|
61
61
|
*/
|
|
62
|
-
renderFieldComponent: ({ ariaDescribedBy, id, }: {
|
|
62
|
+
renderFieldComponent: ({ ariaDescribedBy, dataSe, id, }: {
|
|
63
63
|
ariaDescribedBy?: string;
|
|
64
|
+
dataSe?: string;
|
|
64
65
|
id: string;
|
|
65
66
|
}) => ReactElement;
|
|
66
67
|
};
|
package/dist/src/Field.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../src/Field.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,YAAY,EAAW,MAAM,OAAO,CAAC;AAcpD,eAAO,MAAM,eAAe,8BAA+B,CAAC;AAE5D,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,SAAS,EAAE,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;IAC5C;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;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,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,oBAAoB,EAAE,CAAC,EACrB,eAAe,EACf,EAAE,GACH,EAAE;QACD,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,EAAE,EAAE,MAAM,CAAC;KACZ,KAAK,YAAY,CAAC;CACpB,CAAC;AAuEF,QAAA,MAAM,aAAa,+LA1DhB,UAAU,iBA0DoB,CAAC;AAGlC,OAAO,EAAE,aAAa,IAAI,KAAK,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../src/Field.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,YAAY,EAAW,MAAM,OAAO,CAAC;AAcpD,eAAO,MAAM,eAAe,8BAA+B,CAAC;AAE5D,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,SAAS,EAAE,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;IAC5C;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;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,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,oBAAoB,EAAE,CAAC,EACrB,eAAe,EACf,MAAM,EACN,EAAE,GACH,EAAE;QACD,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,EAAE,EAAE,MAAM,CAAC;KACZ,KAAK,YAAY,CAAC;CACpB,CAAC;AAuEF,QAAA,MAAM,aAAa,+LA1DhB,UAAU,iBA0DoB,CAAC;AAGlC,OAAO,EAAE,aAAa,IAAI,KAAK,EAAE,CAAC"}
|
package/dist/src/FieldError.d.ts
CHANGED
|
@@ -10,10 +10,11 @@
|
|
|
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 type { SeleniumProps } from "./SeleniumProps";
|
|
13
14
|
export type FieldErrorProps = {
|
|
14
15
|
id?: string;
|
|
15
16
|
text: string;
|
|
16
|
-
};
|
|
17
|
-
declare const MemoizedFieldError: import("react").MemoExoticComponent<({ id, text }: FieldErrorProps) => JSX.Element>;
|
|
17
|
+
} & SeleniumProps;
|
|
18
|
+
declare const MemoizedFieldError: import("react").MemoExoticComponent<({ id, testId, text }: FieldErrorProps) => JSX.Element>;
|
|
18
19
|
export { MemoizedFieldError as FieldError };
|
|
19
20
|
//# sourceMappingURL=FieldError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldError.d.ts","sourceRoot":"","sources":["../../src/FieldError.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAQH,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;
|
|
1
|
+
{"version":3,"file":"FieldError.d.ts","sourceRoot":"","sources":["../../src/FieldError.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAQH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,aAAa,CAAC;AAelB,QAAA,MAAM,kBAAkB,6DAbkB,eAAe,iBAad,CAAC;AAG5C,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAC"}
|
package/dist/src/FieldHint.d.ts
CHANGED
|
@@ -10,10 +10,11 @@
|
|
|
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 type { SeleniumProps } from "./SeleniumProps";
|
|
13
14
|
export type FieldHintProps = {
|
|
14
15
|
id?: string;
|
|
15
16
|
text: string;
|
|
16
|
-
};
|
|
17
|
-
declare const MemoizedFieldHint: import("react").MemoExoticComponent<({ id, text }: FieldHintProps) => JSX.Element>;
|
|
17
|
+
} & SeleniumProps;
|
|
18
|
+
declare const MemoizedFieldHint: import("react").MemoExoticComponent<({ id, testId, text }: FieldHintProps) => JSX.Element>;
|
|
18
19
|
export { MemoizedFieldHint as FieldHint };
|
|
19
20
|
//# sourceMappingURL=FieldHint.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldHint.d.ts","sourceRoot":"","sources":["../../src/FieldHint.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAMH,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;
|
|
1
|
+
{"version":3,"file":"FieldHint.d.ts","sourceRoot":"","sources":["../../src/FieldHint.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAMH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,aAAa,CAAC;AAUlB,QAAA,MAAM,iBAAiB,6DARkB,cAAc,iBAQd,CAAC;AAG1C,OAAO,EAAE,iBAAiB,IAAI,SAAS,EAAE,CAAC"}
|
package/dist/src/FieldLabel.d.ts
CHANGED
|
@@ -10,13 +10,14 @@
|
|
|
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 type { SeleniumProps } from "./SeleniumProps";
|
|
13
14
|
export type FieldLabelProps = {
|
|
14
15
|
hasVisibleLabel: boolean;
|
|
15
16
|
id: string;
|
|
16
17
|
inputId: string;
|
|
17
18
|
isOptional: boolean;
|
|
18
19
|
text: string;
|
|
19
|
-
};
|
|
20
|
-
declare const MemoizedFieldLabel: import("react").MemoExoticComponent<({ hasVisibleLabel, id, inputId, isOptional, text, }: FieldLabelProps) => JSX.Element>;
|
|
20
|
+
} & SeleniumProps;
|
|
21
|
+
declare const MemoizedFieldLabel: import("react").MemoExoticComponent<({ hasVisibleLabel, id, inputId, isOptional, testId, text, }: FieldLabelProps) => JSX.Element>;
|
|
21
22
|
export { MemoizedFieldLabel as FieldLabel };
|
|
22
23
|
//# sourceMappingURL=FieldLabel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldLabel.d.ts","sourceRoot":"","sources":["../../src/FieldLabel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;
|
|
1
|
+
{"version":3,"file":"FieldLabel.d.ts","sourceRoot":"","sources":["../../src/FieldLabel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAQH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,eAAe,GAAG;IAC5B,eAAe,EAAE,OAAO,CAAC;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,aAAa,CAAC;AA+BlB,QAAA,MAAM,kBAAkB,oGAtBrB,eAAe,iBAsByB,CAAC;AAG5C,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAC"}
|
package/dist/src/Fieldset.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ReactElement } from "react";
|
|
13
13
|
import { Callout } from "./Callout";
|
|
14
|
+
import type { SeleniumProps } from "./SeleniumProps";
|
|
14
15
|
export type FieldsetProps = {
|
|
15
16
|
/**
|
|
16
17
|
* A Callout indicating a Fieldset-wide error or status update.
|
|
@@ -40,7 +41,7 @@ export type FieldsetProps = {
|
|
|
40
41
|
* The name associated with the group.
|
|
41
42
|
*/
|
|
42
43
|
name?: string;
|
|
43
|
-
};
|
|
44
|
-
declare const MemoizedFieldset: import("react").MemoExoticComponent<({ alert, children, description, id: idOverride, isDisabled, legend, name, }: FieldsetProps) => JSX.Element>;
|
|
44
|
+
} & SeleniumProps;
|
|
45
|
+
declare const MemoizedFieldset: import("react").MemoExoticComponent<({ alert, children, description, id: idOverride, isDisabled, legend, name, testId, }: FieldsetProps) => JSX.Element>;
|
|
45
46
|
export { MemoizedFieldset as Fieldset };
|
|
46
47
|
//# sourceMappingURL=Fieldset.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fieldset.d.ts","sourceRoot":"","sources":["../../src/Fieldset.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAQ,YAAY,EAAW,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"Fieldset.d.ts","sourceRoot":"","sources":["../../src/Fieldset.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAAQ,YAAY,EAAW,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAKpC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC;IACrC;;OAEG;IACH,QAAQ,EAAE,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC;IAC7C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,aAAa,CAAC;AAsDlB,QAAA,MAAM,gBAAgB,4HA3CnB,aAAa,iBA2CuB,CAAC;AAGxC,OAAO,EAAE,gBAAgB,IAAI,QAAQ,EAAE,CAAC"}
|
package/dist/src/Form.d.ts
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { ReactElement } from "react";
|
|
13
13
|
import { Button } from "./Button";
|
|
14
14
|
import { Callout } from "./Callout";
|
|
15
|
+
import type { SeleniumProps } from "./SeleniumProps";
|
|
15
16
|
export declare const formEncodingTypeValues: readonly ["application/x-www-form-urlencoded", "application/json", "multipart/form-data", "text/plain"];
|
|
16
17
|
export declare const formAutoCompleteTypeValues: readonly ["on", "off"];
|
|
17
18
|
export declare const formMethodValues: readonly ["post", "get", "dialog"];
|
|
@@ -70,7 +71,7 @@ export type FormProps = {
|
|
|
70
71
|
* The title of the Form
|
|
71
72
|
*/
|
|
72
73
|
title?: string;
|
|
73
|
-
};
|
|
74
|
-
declare const MemoizedForm: import("react").MemoExoticComponent<({ alert, autoCompleteType, children, description, encodingType, formActions, id: idOverride, method, name, noValidate, target, title, }: FormProps) => JSX.Element>;
|
|
74
|
+
} & SeleniumProps;
|
|
75
|
+
declare const MemoizedForm: import("react").MemoExoticComponent<({ alert, autoCompleteType, children, description, encodingType, formActions, id: idOverride, method, name, noValidate, target, testId, title, }: FormProps) => JSX.Element>;
|
|
75
76
|
export { MemoizedForm as Form };
|
|
76
77
|
//# sourceMappingURL=Form.d.ts.map
|
package/dist/src/Form.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../src/Form.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,YAAY,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../src/Form.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,YAAY,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,eAAO,MAAM,sBAAsB,yGAKzB,CAAC;AACX,eAAO,MAAM,0BAA0B,wBAAyB,CAAC;AACjE,eAAO,MAAM,gBAAgB,oCAAqC,CAAC;AAEnE,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC;IACrC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;IAC/D;;OAEG;IACH,QAAQ,EAAE,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC;IAC7C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC;IACvD;;OAEG;IACH,WAAW,CAAC,EACR,YAAY,CAAC,OAAO,MAAM,CAAC,GAC3B,KAAK,CAAC,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC;IACvC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;IAC3C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,aAAa,CAAC;AAgElB,QAAA,MAAM,YAAY,wLAhDf,SAAS,iBAgDmB,CAAC;AAGhC,OAAO,EAAE,YAAY,IAAI,IAAI,EAAE,CAAC"}
|
package/dist/src/Link.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 { ReactElement } from "react";
|
|
13
|
+
import type { SeleniumProps } from "./SeleniumProps";
|
|
13
14
|
export declare const linkVariantValues: readonly ["default", "monochrome"];
|
|
14
15
|
export type LinkProps = {
|
|
15
16
|
/**
|
|
@@ -36,7 +37,7 @@ export type LinkProps = {
|
|
|
36
37
|
* The visual presentation of the Link (default or monochrome)
|
|
37
38
|
*/
|
|
38
39
|
variant?: (typeof linkVariantValues)[number];
|
|
39
|
-
};
|
|
40
|
-
declare const MemoizedLink: import("react").MemoExoticComponent<({ children, href, icon, target,
|
|
40
|
+
} & SeleniumProps;
|
|
41
|
+
declare const MemoizedLink: import("react").MemoExoticComponent<({ children, href, icon, rel, target, testId, variant, }: LinkProps) => JSX.Element>;
|
|
41
42
|
export { MemoizedLink as Link };
|
|
42
43
|
//# sourceMappingURL=Link.d.ts.map
|
package/dist/src/Link.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/Link.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/Link.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,YAAY,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAIrD,eAAO,MAAM,iBAAiB,oCAAqC,CAAC;AAEpE,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,CAAC,EACH,OAAO,GACP,QAAQ,GACR,SAAS,GACT,MAAM,GACN,CAAC,MAAM,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;CAC9C,GAAG,aAAa,CAAC;AA8BlB,QAAA,MAAM,YAAY,gGApBf,SAAS,iBAoBmB,CAAC;AAIhC,OAAO,EAAE,YAAY,IAAI,IAAI,EAAE,CAAC"}
|
package/dist/src/MenuButton.d.ts
CHANGED
|
@@ -9,10 +9,11 @@
|
|
|
9
9
|
*
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
|
-
import { buttonVariantValues, MenuItem } from "./";
|
|
12
|
+
import { buttonSizeValues, buttonVariantValues, MenuItem } from "./";
|
|
13
13
|
import { Divider, ListSubheader } from "@mui/material";
|
|
14
14
|
import { type ReactElement } from "react";
|
|
15
15
|
import { NullElement } from "./NullElement";
|
|
16
|
+
import type { SeleniumProps } from "./SeleniumProps";
|
|
16
17
|
export type MenuButtonProps = {
|
|
17
18
|
/**
|
|
18
19
|
* The ARIA label for the Button
|
|
@@ -46,6 +47,14 @@ export type MenuButtonProps = {
|
|
|
46
47
|
* The id of the Button
|
|
47
48
|
*/
|
|
48
49
|
id?: string;
|
|
50
|
+
/**
|
|
51
|
+
* If the MenuButton is an overflow menu or standard menu.
|
|
52
|
+
*/
|
|
53
|
+
isOverflow?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* The size of the button
|
|
56
|
+
*/
|
|
57
|
+
size?: (typeof buttonSizeValues)[number];
|
|
49
58
|
/**
|
|
50
59
|
* The tooltip text for the Button if it's icon-only
|
|
51
60
|
*/
|
|
@@ -62,7 +71,7 @@ export type MenuButtonProps = {
|
|
|
62
71
|
ariaLabel?: string;
|
|
63
72
|
ariaLabelledBy: string;
|
|
64
73
|
buttonLabel?: undefined | "";
|
|
65
|
-
});
|
|
66
|
-
declare const MemoizedMenuButton: import("react").MemoExoticComponent<({ ariaLabel, ariaLabelledBy, ariaDescribedBy, buttonLabel, buttonVariant, children, endIcon, id: idOverride, tooltipText, }: MenuButtonProps) => JSX.Element>;
|
|
74
|
+
}) & SeleniumProps;
|
|
75
|
+
declare const MemoizedMenuButton: import("react").MemoExoticComponent<({ ariaLabel, ariaLabelledBy, ariaDescribedBy, buttonLabel, buttonVariant, children, endIcon: endIconProp, id: idOverride, isOverflow, size, testId, tooltipText, }: MenuButtonProps) => JSX.Element>;
|
|
67
76
|
export { MemoizedMenuButton as MenuButton };
|
|
68
77
|
//# sourceMappingURL=MenuButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuButton.d.ts","sourceRoot":"","sources":["../../src/MenuButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"MenuButton.d.ts","sourceRoot":"","sources":["../../src/MenuButton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,gBAAgB,EAChB,mBAAmB,EACnB,QAAQ,EAET,MAAM,IAAI,CAAC;AACZ,OAAO,EAAE,OAAO,EAAE,aAAa,EAAQ,MAAM,eAAe,CAAC;AAE7D,OAAO,EAAQ,KAAK,YAAY,EAAkC,MAAM,OAAO,CAAC;AAGhF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;IACrD;;OAEG;IACH,QAAQ,EAAE,KAAK,CACb,YAAY,CACV,OAAO,QAAQ,GAAG,OAAO,OAAO,GAAG,OAAO,aAAa,GAAG,WAAW,CACtE,CACF,CAAC;IACF;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;IACzC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,CACA;IACE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACrB,GACD;IACE,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,SAAS,GAAG,EAAE,CAAC;CAC9B,GACD;IACE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,SAAS,GAAG,EAAE,CAAC;CAC9B,CACJ,GACC,aAAa,CAAC;AAqFhB,QAAA,MAAM,kBAAkB,2MAtErB,eAAe,iBAsEyB,CAAC;AAG5C,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAC"}
|
package/dist/src/MenuItem.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { MenuItemProps as MuiMenuItemProps } from "@mui/material";
|
|
13
13
|
import { type ReactNode } from "react";
|
|
14
|
+
import type { SeleniumProps } from "./SeleniumProps";
|
|
14
15
|
export type MenuItemProps = {
|
|
15
16
|
/**
|
|
16
17
|
* The content of the menu item.
|
|
@@ -25,9 +26,9 @@ export type MenuItemProps = {
|
|
|
25
26
|
*/
|
|
26
27
|
isSelected?: boolean;
|
|
27
28
|
/**
|
|
28
|
-
* If `true`, the menu item will be visually marked as
|
|
29
|
+
* If `true`, the menu item will be visually marked as disabled.
|
|
29
30
|
*/
|
|
30
|
-
|
|
31
|
+
isDisabled?: boolean;
|
|
31
32
|
/**
|
|
32
33
|
* Callback fired when the menu item is clicked.
|
|
33
34
|
*/
|
|
@@ -42,7 +43,7 @@ export type MenuItemProps = {
|
|
|
42
43
|
* - "destructive": A variant indicating a destructive action.
|
|
43
44
|
*/
|
|
44
45
|
variant?: "default" | "destructive";
|
|
45
|
-
};
|
|
46
|
-
declare const MemoizedMenuItem: import("react").MemoExoticComponent<({ children, hasInitialFocus, isSelected, onClick: onClickProp, value, variant, }: MenuItemProps) => JSX.Element>;
|
|
46
|
+
} & SeleniumProps;
|
|
47
|
+
declare const MemoizedMenuItem: import("react").MemoExoticComponent<({ children, hasInitialFocus, isSelected, isDisabled, onClick: onClickProp, testId, value, variant, }: MenuItemProps) => JSX.Element>;
|
|
47
48
|
export { MemoizedMenuItem as MenuItem };
|
|
48
49
|
//# sourceMappingURL=MenuItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../src/MenuItem.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,aAAa,IAAI,gBAAgB,EAClC,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../src/MenuItem.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAEL,aAAa,IAAI,gBAAgB,EAClC,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACtC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;CACrC,GAAG,aAAa,CAAC;AA0ClB,QAAA,MAAM,gBAAgB,6IA/BnB,aAAa,iBA+BuB,CAAC;AAGxC,OAAO,EAAE,gBAAgB,IAAI,QAAQ,EAAE,CAAC"}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ReactElement } from "react";
|
|
13
13
|
import { SelectProps as MuiSelectProps } from "@mui/material";
|
|
14
|
+
import type { SeleniumProps } from "./SeleniumProps";
|
|
14
15
|
export type NativeSelectOption = {
|
|
15
16
|
text: string;
|
|
16
17
|
value?: string;
|
|
@@ -69,7 +70,60 @@ export type NativeSelectProps = {
|
|
|
69
70
|
* The value or values selected in the NativeSelect
|
|
70
71
|
*/
|
|
71
72
|
value?: string | string[];
|
|
72
|
-
};
|
|
73
|
-
declare const MemoizedNativeSelect: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<
|
|
73
|
+
} & SeleniumProps;
|
|
74
|
+
declare const MemoizedNativeSelect: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
75
|
+
/**
|
|
76
|
+
* The options or optgroup elements within the NativeSelect
|
|
77
|
+
*/
|
|
78
|
+
children?: ReactElement<"option", string | import("react").JSXElementConstructor<any>> | ReactElement<"optgroup", string | import("react").JSXElementConstructor<any>> | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* The default value of the NativeSelect. Only applicable if `value` is not provided
|
|
81
|
+
*/
|
|
82
|
+
defaultValue?: string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* The error message for the NativeSelect
|
|
85
|
+
*/
|
|
86
|
+
errorMessage?: string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* The hint text for the NativeSelect
|
|
89
|
+
*/
|
|
90
|
+
hint?: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* The id attribute of the NativeSelect
|
|
93
|
+
*/
|
|
94
|
+
id?: string | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* If `true`, the NativeSelect is disabled
|
|
97
|
+
*/
|
|
98
|
+
isDisabled?: boolean | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* If `true`, the NativeSelect allows multiple selections
|
|
101
|
+
*/
|
|
102
|
+
isMultiSelect?: boolean | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* If `true`, the NativeSelect is optional
|
|
105
|
+
*/
|
|
106
|
+
isOptional?: boolean | undefined;
|
|
107
|
+
/**
|
|
108
|
+
* The label text for the NativeSelect
|
|
109
|
+
*/
|
|
110
|
+
label: string;
|
|
111
|
+
/**
|
|
112
|
+
* Callback fired when the NativeSelect loses focus
|
|
113
|
+
*/
|
|
114
|
+
onBlur?: MuiSelectProps["onBlur"];
|
|
115
|
+
/**
|
|
116
|
+
* Callback fired when the value of the NativeSelect changes
|
|
117
|
+
*/
|
|
118
|
+
onChange?: MuiSelectProps["onChange"];
|
|
119
|
+
/**
|
|
120
|
+
* Callback fired when the NativeSelect gains focus
|
|
121
|
+
*/
|
|
122
|
+
onFocus?: MuiSelectProps["onFocus"];
|
|
123
|
+
/**
|
|
124
|
+
* The value or values selected in the NativeSelect
|
|
125
|
+
*/
|
|
126
|
+
value?: string | string[] | undefined;
|
|
127
|
+
} & SeleniumProps & import("react").RefAttributes<HTMLSelectElement>>>;
|
|
74
128
|
export { MemoizedNativeSelect as NativeSelect };
|
|
75
129
|
//# sourceMappingURL=NativeSelect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeSelect.d.ts","sourceRoot":"","sources":["../../src/NativeSelect.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,YAAY,EAAiC,MAAM,OAAO,CAAC;AAEpE,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,eAAe,CAAC;AAG9D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC,QAAQ,CAAC,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC;IAC7D;;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,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,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,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B,CAAC;
|
|
1
|
+
{"version":3,"file":"NativeSelect.d.ts","sourceRoot":"","sources":["../../src/NativeSelect.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,YAAY,EAAiC,MAAM,OAAO,CAAC;AAEpE,OAAO,EAAE,WAAW,IAAI,cAAc,EAAE,MAAM,eAAe,CAAC;AAG9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC,QAAQ,CAAC,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC;IAC7D;;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,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,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,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B,GAAG,aAAa,CAAC;AAqElB,QAAA,MAAM,oBAAoB;IAzHxB;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;WACI,MAAM;IACb;;OAEG;aACM,cAAc,CAAC,QAAQ,CAAC;IACjC;;OAEG;eACQ,cAAc,CAAC,UAAU,CAAC;IACrC;;OAEG;cACO,cAAc,CAAC,SAAS,CAAC;IACnC;;OAEG;;sEAuE0C,CAAC;AAGhD,OAAO,EAAE,oBAAoB,IAAI,YAAY,EAAE,CAAC"}
|
|
@@ -18,9 +18,14 @@ import { StylisPlugin } from "@emotion/cache";
|
|
|
18
18
|
import { ReactNode } from "react";
|
|
19
19
|
export type OdysseyCacheProviderProps = {
|
|
20
20
|
children: ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Emotion renders into this HTML element.
|
|
23
|
+
* When enabling this prop, Emotion renders at the top of this component rather than the bottom like it does in the HTML `<head>`.
|
|
24
|
+
*/
|
|
25
|
+
emotionRootElement?: HTMLStyleElement;
|
|
21
26
|
nonce?: string;
|
|
22
27
|
stylisPlugins?: StylisPlugin[];
|
|
23
28
|
};
|
|
24
|
-
declare const MemoizedOdysseyCacheProvider: import("react").MemoExoticComponent<({ children, nonce, stylisPlugins, }: OdysseyCacheProviderProps) => JSX.Element>;
|
|
29
|
+
declare const MemoizedOdysseyCacheProvider: import("react").MemoExoticComponent<({ children, emotionRootElement, nonce, stylisPlugins, }: OdysseyCacheProviderProps) => JSX.Element>;
|
|
25
30
|
export { MemoizedOdysseyCacheProvider as OdysseyCacheProvider };
|
|
26
31
|
//# sourceMappingURL=OdysseyCacheProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OdysseyCacheProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyCacheProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB;CACF;AAED,OAAoB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAQ,SAAS,EAAW,MAAM,OAAO,CAAC;AAIjD,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;CAChC,CAAC;
|
|
1
|
+
{"version":3,"file":"OdysseyCacheProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyCacheProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,QAAQ,EAAE,MAAM,CAAC;KAClB;CACF;AAED,OAAoB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAQ,SAAS,EAAW,MAAM,OAAO,CAAC;AAIjD,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,gBAAgB,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;CAChC,CAAC;AAyBF,QAAA,MAAM,4BAA4B,gGAlB/B,yBAAyB,iBAkBmC,CAAC;AAGhE,OAAO,EAAE,4BAA4B,IAAI,oBAAoB,EAAE,CAAC"}
|
|
@@ -16,6 +16,6 @@ import { OdysseyTranslationProviderProps } from "./OdysseyTranslationProvider";
|
|
|
16
16
|
export type OdysseyProviderProps = OdysseyCacheProviderProps & OdysseyThemeProviderProps & OdysseyTranslationProviderProps & {
|
|
17
17
|
children: ReactNode;
|
|
18
18
|
};
|
|
19
|
-
declare const MemoizedThemeProvider: import("react").MemoExoticComponent<({ children, designTokensOverride, languageCode, nonce, stylisPlugins, themeOverride, translationOverrides, }: OdysseyProviderProps) => JSX.Element>;
|
|
19
|
+
declare const MemoizedThemeProvider: import("react").MemoExoticComponent<({ children, designTokensOverride, emotionRootElement, shadowRootElement, languageCode, nonce, stylisPlugins, themeOverride, translationOverrides, }: OdysseyProviderProps) => JSX.Element>;
|
|
20
20
|
export { MemoizedThemeProvider as OdysseyProvider };
|
|
21
21
|
//# sourceMappingURL=OdysseyProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OdysseyProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"OdysseyProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAC;AAGxC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,yBAAyB,EAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,+BAA+B,EAChC,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,oBAAoB,GAAG,yBAAyB,GAC1D,yBAAyB,GACzB,+BAA+B,GAAG;IAChC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAmCJ,QAAA,MAAM,qBAAqB,4LAvBxB,oBAAoB,iBAuB4B,CAAC;AAEpD,OAAO,EAAE,qBAAqB,IAAI,eAAe,EAAE,CAAC"}
|
|
@@ -15,8 +15,9 @@ import { DesignTokensOverride } from "./theme";
|
|
|
15
15
|
export type OdysseyThemeProviderProps = {
|
|
16
16
|
children: ReactNode;
|
|
17
17
|
designTokensOverride?: DesignTokensOverride;
|
|
18
|
+
shadowRootElement?: HTMLDivElement;
|
|
18
19
|
themeOverride?: ThemeOptions;
|
|
19
20
|
};
|
|
20
|
-
declare const MemoizedOdysseyThemeProvider: import("react").MemoExoticComponent<({ children, designTokensOverride, themeOverride, }: OdysseyThemeProviderProps) => JSX.Element>;
|
|
21
|
+
declare const MemoizedOdysseyThemeProvider: import("react").MemoExoticComponent<({ children, designTokensOverride, shadowRootElement, themeOverride, }: OdysseyThemeProviderProps) => JSX.Element>;
|
|
21
22
|
export { MemoizedOdysseyThemeProvider as OdysseyThemeProvider };
|
|
22
23
|
//# sourceMappingURL=OdysseyThemeProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OdysseyThemeProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyThemeProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH,OAAO,EAAQ,SAAS,EAAW,MAAM,OAAO,CAAC;AAEjD,OAAO,
|
|
1
|
+
{"version":3,"file":"OdysseyThemeProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyThemeProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAMH,OAAO,EAAQ,SAAS,EAAW,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,OAAO,EAAyB,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAItE,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,EAAE,SAAS,CAAC;IACpB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,iBAAiB,CAAC,EAAE,cAAc,CAAC;IACnC,aAAa,CAAC,EAAE,YAAY,CAAC;CAC9B,CAAC;AAmCF,QAAA,MAAM,4BAA4B,8GA5B/B,yBAAyB,iBA4BmC,CAAC;AAEhE,OAAO,EAAE,4BAA4B,IAAI,oBAAoB,EAAE,CAAC"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ReactNode } from "react";
|
|
13
13
|
import { SupportedLanguages } from "./OdysseyTranslationProvider.types";
|
|
14
|
-
import { resources } from "./
|
|
14
|
+
import { resources } from "./i18n";
|
|
15
15
|
export type TranslationOverrides = {
|
|
16
16
|
[key in SupportedLanguages]?: Partial<(typeof resources)["en"]>;
|
|
17
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OdysseyTranslationProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyTranslationProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAExE,
|
|
1
|
+
{"version":3,"file":"OdysseyTranslationProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyTranslationProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,SAAS,EAAa,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAExE,OAAO,EAAmB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGpD,MAAM,MAAM,oBAAoB,GAAG;KAChC,GAAG,IAAI,kBAAkB,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,OAAO,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;CAChE,CAAC;AAcF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,0BAA0B,sDAIpC,+BAA+B,gBAmBjC,CAAC"}
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
*
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
|
-
export declare const supportedLanguages: readonly ["cs", "da", "de", "el", "en", "es", "fi", "fr", "hu", "id", "it", "ja", "ko", "ms", "nb", "nl_NL", "ok_PL", "ok_SK", "pl", "pt_BR", "ro", "ru", "sv", "th", "tr", "uk", "zh_CN", "zh_TW"];
|
|
12
|
+
export declare const supportedLanguages: readonly ["cs", "da", "de", "el", "en", "es", "fi", "fr", "hu", "id", "it", "ja", "ko", "ms", "nb", "nl_NL", "ok_PL", "ok_SK", "pl", "pt_BR", "ro", "ru", "sv", "th", "tr", "uk", "vi", "zh_CN", "zh_TW"];
|
|
13
13
|
export type SupportedLanguages = (typeof supportedLanguages)[number];
|
|
14
14
|
//# sourceMappingURL=OdysseyTranslationProvider.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OdysseyTranslationProvider.types.d.ts","sourceRoot":"","sources":["../../src/OdysseyTranslationProvider.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"OdysseyTranslationProvider.types.d.ts","sourceRoot":"","sources":["../../src/OdysseyTranslationProvider.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,kBAAkB,2MA8BrB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,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 } from "react";
|
|
13
|
+
import type { SeleniumProps } from "./SeleniumProps";
|
|
13
14
|
export type PasswordFieldProps = {
|
|
14
15
|
/**
|
|
15
16
|
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
@@ -25,6 +26,10 @@ export type PasswordFieldProps = {
|
|
|
25
26
|
* If `true`, the component will receive focus automatically.
|
|
26
27
|
*/
|
|
27
28
|
hasInitialFocus?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* If `true`, the show/hide icon is not shown to the user
|
|
31
|
+
*/
|
|
32
|
+
hasShowPassword?: boolean;
|
|
28
33
|
/**
|
|
29
34
|
* The helper text content.
|
|
30
35
|
*/
|
|
@@ -49,6 +54,10 @@ export type PasswordFieldProps = {
|
|
|
49
54
|
* The label for the `input` element.
|
|
50
55
|
*/
|
|
51
56
|
label: string;
|
|
57
|
+
/**
|
|
58
|
+
* The name of the `input` element. Defaults to the `id` if not set.
|
|
59
|
+
*/
|
|
60
|
+
name?: string;
|
|
52
61
|
/**
|
|
53
62
|
* Callback fired when the `input` element loses focus.
|
|
54
63
|
*/
|
|
@@ -69,7 +78,74 @@ export type PasswordFieldProps = {
|
|
|
69
78
|
* The value of the `input` element, required for a controlled component.
|
|
70
79
|
*/
|
|
71
80
|
value?: string;
|
|
72
|
-
};
|
|
73
|
-
declare const MemoizedPasswordField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<
|
|
81
|
+
} & SeleniumProps;
|
|
82
|
+
declare const MemoizedPasswordField: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
83
|
+
/**
|
|
84
|
+
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
85
|
+
* The name can be confusing, as it's more like an autofill.
|
|
86
|
+
* You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
|
|
87
|
+
*/
|
|
88
|
+
autoCompleteType?: "current-password" | "new-password" | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* If `error` is not undefined, the `input` will indicate an error.
|
|
91
|
+
*/
|
|
92
|
+
errorMessage?: string | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* If `true`, the component will receive focus automatically.
|
|
95
|
+
*/
|
|
96
|
+
hasInitialFocus?: boolean | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* If `true`, the show/hide icon is not shown to the user
|
|
99
|
+
*/
|
|
100
|
+
hasShowPassword?: boolean | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* The helper text content.
|
|
103
|
+
*/
|
|
104
|
+
hint?: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* The id of the `input` element.
|
|
107
|
+
*/
|
|
108
|
+
id?: string | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* If `true`, the component is disabled.
|
|
111
|
+
*/
|
|
112
|
+
isDisabled?: boolean | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* If `true`, the `input` element is not required.
|
|
115
|
+
*/
|
|
116
|
+
isOptional?: boolean | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* It prevents the user from changing the value of the field
|
|
119
|
+
*/
|
|
120
|
+
isReadOnly?: boolean | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* The label for the `input` element.
|
|
123
|
+
*/
|
|
124
|
+
label: string;
|
|
125
|
+
/**
|
|
126
|
+
* The name of the `input` element. Defaults to the `id` if not set.
|
|
127
|
+
*/
|
|
128
|
+
name?: string | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* Callback fired when the `input` element loses focus.
|
|
131
|
+
*/
|
|
132
|
+
onBlur?: FocusEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* Callback fired when the value is changed.
|
|
135
|
+
*/
|
|
136
|
+
onChange?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
|
|
137
|
+
/**
|
|
138
|
+
* Callback fired when the `input` element get focus.
|
|
139
|
+
*/
|
|
140
|
+
onFocus?: FocusEventHandler<HTMLTextAreaElement | HTMLInputElement> | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* The short hint displayed in the `input` before the user enters a value.
|
|
143
|
+
*/
|
|
144
|
+
placeholder?: string | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* The value of the `input` element, required for a controlled component.
|
|
147
|
+
*/
|
|
148
|
+
value?: string | undefined;
|
|
149
|
+
} & SeleniumProps & import("react").RefAttributes<HTMLInputElement>>>;
|
|
74
150
|
export { MemoizedPasswordField as PasswordField };
|
|
75
151
|
//# sourceMappingURL=PasswordField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../src/PasswordField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAKlB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../src/PasswordField.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EAKlB,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGrD,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,kBAAkB,GAAG,cAAc,CAAC;IACvD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;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,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,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,aAAa,CAAC;AA4GlB,QAAA,MAAM,qBAAqB;IA9KzB;;;;OAIG;;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;;qEA8G4C,CAAC;AAGlD,OAAO,EAAE,qBAAqB,IAAI,aAAa,EAAE,CAAC"}
|
package/dist/src/Radio.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 type { SeleniumProps } from "./SeleniumProps";
|
|
13
14
|
export type RadioProps = {
|
|
14
15
|
/**
|
|
15
16
|
* If `true`, the Radio is selected
|
|
@@ -35,7 +36,7 @@ export type RadioProps = {
|
|
|
35
36
|
* The value attribute of the Radio
|
|
36
37
|
*/
|
|
37
38
|
value: string;
|
|
38
|
-
};
|
|
39
|
-
declare const MemoizedRadio: import("react").MemoExoticComponent<({ isChecked, isDisabled, isInvalid, label, name, value, }: RadioProps) => JSX.Element>;
|
|
39
|
+
} & SeleniumProps;
|
|
40
|
+
declare const MemoizedRadio: import("react").MemoExoticComponent<({ isChecked, isDisabled, isInvalid, label, name, testId, value, }: RadioProps) => JSX.Element>;
|
|
40
41
|
export { MemoizedRadio as Radio };
|
|
41
42
|
//# sourceMappingURL=Radio.d.ts.map
|
package/dist/src/Radio.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../src/Radio.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAOH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;
|
|
1
|
+
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../src/Radio.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAOH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,aAAa,CAAC;AAuBlB,QAAA,MAAM,aAAa,0GAbhB,UAAU,iBAaoB,CAAC;AAGlC,OAAO,EAAE,aAAa,IAAI,KAAK,EAAE,CAAC"}
|