@okta/odyssey-react-mui 0.24.0 → 1.0.1
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 +72 -0
- package/README.md +8 -11
- package/dist/Autocomplete.js +2 -1
- package/dist/Autocomplete.js.map +1 -1
- package/dist/Banner.js +11 -4
- package/dist/Banner.js.map +1 -1
- package/dist/{src/theme/OdysseyTheme.d.ts → Box.js} +20 -12
- package/dist/Box.js.map +1 -0
- package/dist/Button.js +23 -9
- package/dist/Button.js.map +1 -1
- package/dist/{Infobox.js → Callout.js} +18 -9
- package/dist/Callout.js.map +1 -0
- package/dist/Checkbox.js +17 -12
- package/dist/Checkbox.js.map +1 -1
- package/dist/CheckboxGroup.js +2 -1
- package/dist/CheckboxGroup.js.map +1 -1
- package/dist/CircularProgress.js +3 -1
- package/dist/CircularProgress.js.map +1 -1
- package/dist/Dialog.js +15 -9
- package/dist/Dialog.js.map +1 -1
- package/dist/Field.js +11 -4
- package/dist/Field.js.map +1 -1
- package/dist/FieldError.js +3 -2
- package/dist/FieldError.js.map +1 -1
- package/dist/FieldHint.js +3 -2
- package/dist/FieldHint.js.map +1 -1
- package/dist/FieldLabel.js +5 -3
- package/dist/FieldLabel.js.map +1 -1
- package/dist/Fieldset.js +25 -17
- package/dist/Fieldset.js.map +1 -1
- package/{src/theme/useTheme.ts → dist/FieldsetContext.js} +6 -6
- package/dist/FieldsetContext.js.map +1 -0
- package/dist/Form.js +25 -13
- package/dist/Form.js.map +1 -1
- package/dist/Link.js +17 -22
- package/dist/Link.js.map +1 -1
- package/dist/MenuButton.js +41 -22
- package/dist/MenuButton.js.map +1 -1
- package/dist/{src/theme/useTheme.d.ts → MenuContext.js} +7 -3
- package/dist/MenuContext.js.map +1 -0
- package/dist/MenuItem.js +23 -10
- package/dist/MenuItem.js.map +1 -1
- package/dist/MuiPropsChild.js +1 -0
- package/dist/MuiPropsChild.js.map +1 -1
- package/dist/MuiPropsContext.js +2 -1
- package/dist/MuiPropsContext.js.map +1 -1
- package/dist/NativeSelect.js.map +1 -1
- package/dist/NullElement.js +2 -0
- package/dist/NullElement.js.map +1 -0
- package/dist/OdysseyCacheProvider.js +6 -3
- package/dist/OdysseyCacheProvider.js.map +1 -1
- package/dist/OdysseyDesignTokensContext.js +17 -0
- package/dist/OdysseyDesignTokensContext.js.map +1 -0
- package/dist/OdysseyI18n.js +12 -8
- package/dist/OdysseyI18n.js.map +1 -1
- package/dist/OdysseyProvider.js +4 -2
- package/dist/OdysseyProvider.js.map +1 -1
- package/dist/OdysseyThemeProvider.js +15 -8
- package/dist/OdysseyThemeProvider.js.map +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 +7 -5
- package/dist/PasswordField.js.map +1 -1
- package/dist/Radio.js +5 -6
- package/dist/Radio.js.map +1 -1
- package/dist/RadioGroup.js +1 -0
- package/dist/RadioGroup.js.map +1 -1
- package/dist/ScreenReaderText.js +5 -2
- package/dist/ScreenReaderText.js.map +1 -1
- package/dist/SearchField.js +36 -5
- package/dist/SearchField.js.map +1 -1
- package/dist/Select.js +6 -5
- package/dist/Select.js.map +1 -1
- package/dist/Status.js +10 -4
- package/dist/Status.js.map +1 -1
- package/dist/SvgIcon.js.map +1 -0
- package/dist/Tabs.js +6 -4
- package/dist/Tabs.js.map +1 -1
- package/dist/Tag.js +12 -3
- package/dist/Tag.js.map +1 -1
- package/dist/TagList.js +3 -0
- package/dist/TagList.js.map +1 -1
- package/dist/TextField.js +1 -0
- package/dist/TextField.js.map +1 -1
- package/dist/Toast.js +12 -5
- package/dist/Toast.js.map +1 -1
- package/dist/ToastStack.js +10 -6
- package/dist/ToastStack.js.map +1 -1
- package/dist/Tooltip.js +2 -2
- package/dist/Tooltip.js.map +1 -1
- package/dist/Typography.js +283 -0
- package/dist/Typography.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/Add.js +5 -5
- package/dist/icons.generated/Add.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/AddCircle.js +5 -5
- package/dist/icons.generated/AddCircle.js.map +1 -0
- package/dist/icons.generated/Apps.js +33 -0
- package/dist/icons.generated/Apps.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/ArrowDown.js +5 -5
- package/dist/icons.generated/ArrowDown.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/ArrowLeft.js +5 -5
- package/dist/icons.generated/ArrowLeft.js.map +1 -0
- package/dist/icons.generated/ArrowLowerLeft.js +33 -0
- package/dist/icons.generated/ArrowLowerLeft.js.map +1 -0
- package/dist/icons.generated/ArrowLowerRight.js +33 -0
- package/dist/icons.generated/ArrowLowerRight.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/ArrowRight.js +5 -5
- package/dist/icons.generated/ArrowRight.js.map +1 -0
- package/dist/icons.generated/ArrowUnsorted.js +33 -0
- package/dist/icons.generated/ArrowUnsorted.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/ArrowUp.js +5 -5
- package/dist/icons.generated/ArrowUp.js.map +1 -0
- package/dist/icons.generated/ArrowUpperLeft.js +33 -0
- package/dist/icons.generated/ArrowUpperLeft.js.map +1 -0
- package/dist/icons.generated/ArrowUpperRight.js +33 -0
- package/dist/icons.generated/ArrowUpperRight.js.map +1 -0
- package/dist/icons.generated/Bug.js +33 -0
- package/dist/icons.generated/Bug.js.map +1 -0
- package/dist/icons.generated/Calendar.js +33 -0
- package/dist/icons.generated/Calendar.js.map +1 -0
- package/dist/icons.generated/Call.js +33 -0
- package/dist/icons.generated/Call.js.map +1 -0
- package/dist/icons.generated/Chat.js +33 -0
- package/dist/icons.generated/Chat.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/Check.js +5 -5
- package/dist/icons.generated/Check.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/CheckCircleFilled.js +5 -5
- package/dist/icons.generated/CheckCircleFilled.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/ChevronDown.js +5 -5
- package/dist/icons.generated/ChevronDown.js.map +1 -0
- package/dist/icons.generated/ChevronLeft.js +33 -0
- package/dist/icons.generated/ChevronLeft.js.map +1 -0
- package/dist/icons.generated/ChevronRight.js +33 -0
- package/dist/icons.generated/ChevronRight.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/ChevronUp.js +5 -5
- package/dist/icons.generated/ChevronUp.js.map +1 -0
- package/dist/icons.generated/Clock.js +33 -0
- package/dist/icons.generated/Clock.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/Close.js +5 -5
- package/dist/icons.generated/Close.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/CloseCircleFilled.js +5 -5
- package/dist/icons.generated/CloseCircleFilled.js.map +1 -0
- package/dist/{iconDictionary/OverflowVertical.js → icons.generated/CollapseLeft.js} +8 -8
- package/dist/icons.generated/CollapseLeft.js.map +1 -0
- package/dist/icons.generated/CollapseRight.js +33 -0
- package/dist/icons.generated/CollapseRight.js.map +1 -0
- package/dist/icons.generated/Copy.js +33 -0
- package/dist/icons.generated/Copy.js.map +1 -0
- package/dist/icons.generated/DangerDiamond.js +33 -0
- package/dist/icons.generated/DangerDiamond.js.map +1 -0
- package/dist/icons.generated/DangerDiamondFilled.js +33 -0
- package/dist/icons.generated/DangerDiamondFilled.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/Delete.js +5 -5
- package/dist/icons.generated/Delete.js.map +1 -0
- package/dist/icons.generated/Deny.js +33 -0
- package/dist/icons.generated/Deny.js.map +1 -0
- package/dist/icons.generated/Devices.js +33 -0
- package/dist/icons.generated/Devices.js.map +1 -0
- package/dist/icons.generated/Directory.js +33 -0
- package/dist/icons.generated/Directory.js.map +1 -0
- package/dist/icons.generated/Documentation.js +33 -0
- package/dist/icons.generated/Documentation.js.map +1 -0
- package/dist/icons.generated/Download.js +33 -0
- package/dist/icons.generated/Download.js.map +1 -0
- package/dist/icons.generated/DragIndicator.js +33 -0
- package/dist/icons.generated/DragIndicator.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/Edit.js +5 -5
- package/dist/icons.generated/Edit.js.map +1 -0
- package/dist/icons.generated/ExpandLeft.js +33 -0
- package/dist/icons.generated/ExpandLeft.js.map +1 -0
- package/dist/{iconDictionary/ArrowUpDown.js → icons.generated/ExpandRight.js} +8 -8
- package/dist/icons.generated/ExpandRight.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/ExternalLink.js +5 -5
- package/dist/icons.generated/ExternalLink.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/Filter.js +5 -5
- package/dist/icons.generated/Filter.js.map +1 -0
- package/dist/icons.generated/Folder.js +33 -0
- package/dist/icons.generated/Folder.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/Globe.js +5 -5
- package/dist/icons.generated/Globe.js.map +1 -0
- package/dist/icons.generated/Grid.js +74 -0
- package/dist/icons.generated/Grid.js.map +1 -0
- package/dist/icons.generated/Group.js +33 -0
- package/dist/icons.generated/Group.js.map +1 -0
- package/dist/icons.generated/Hide.js +33 -0
- package/dist/icons.generated/Hide.js.map +1 -0
- package/dist/icons.generated/Home.js +33 -0
- package/dist/icons.generated/Home.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/InformationCircle.js +5 -5
- package/dist/icons.generated/InformationCircle.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/InformationCircleFilled.js +5 -5
- package/dist/icons.generated/InformationCircleFilled.js.map +1 -0
- package/dist/icons.generated/Link.js +33 -0
- package/dist/icons.generated/Link.js.map +1 -0
- package/dist/icons.generated/List.js +33 -0
- package/dist/icons.generated/List.js.map +1 -0
- package/dist/{iconDictionary/AlertCircle.js → icons.generated/Lock.js} +8 -8
- package/dist/icons.generated/Lock.js.map +1 -0
- package/dist/icons.generated/More.js +33 -0
- package/dist/icons.generated/More.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/Notification.js +5 -5
- package/dist/icons.generated/Notification.js.map +1 -0
- package/dist/icons.generated/Pause.js +33 -0
- package/dist/icons.generated/Pause.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/QuestionCircle.js +5 -5
- package/dist/icons.generated/QuestionCircle.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/QuestionCircleFilled.js +5 -5
- package/dist/icons.generated/QuestionCircleFilled.js.map +1 -0
- package/dist/icons.generated/Refresh.js +33 -0
- package/dist/icons.generated/Refresh.js.map +1 -0
- package/dist/icons.generated/Reset.js +33 -0
- package/dist/icons.generated/Reset.js.map +1 -0
- package/dist/icons.generated/Resume.js +33 -0
- package/dist/icons.generated/Resume.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/Search.js +5 -5
- package/dist/icons.generated/Search.js.map +1 -0
- package/dist/icons.generated/Server.js +33 -0
- package/dist/icons.generated/Server.js.map +1 -0
- package/dist/icons.generated/Settings.js +33 -0
- package/dist/icons.generated/Settings.js.map +1 -0
- package/dist/icons.generated/Show.js +33 -0
- package/dist/icons.generated/Show.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/Subtract.js +5 -5
- package/dist/icons.generated/Subtract.js.map +1 -0
- package/dist/{iconDictionary/AlertTriangleFilled.js → icons.generated/Sync.js} +8 -8
- package/dist/icons.generated/Sync.js.map +1 -0
- package/dist/{iconDictionary/AlertCircleFilled.js → icons.generated/Unlock.js} +8 -8
- package/dist/icons.generated/Unlock.js.map +1 -0
- package/dist/icons.generated/Upload.js +33 -0
- package/dist/icons.generated/Upload.js.map +1 -0
- package/dist/{iconDictionary → icons.generated}/User.js +5 -5
- package/dist/icons.generated/User.js.map +1 -0
- package/dist/icons.generated/Video.js +33 -0
- package/dist/icons.generated/Video.js.map +1 -0
- package/dist/icons.generated/Warning.js +33 -0
- package/dist/icons.generated/Warning.js.map +1 -0
- package/dist/icons.generated/WarningFilled.js +33 -0
- package/dist/icons.generated/WarningFilled.js.map +1 -0
- package/dist/icons.generated/index.js +85 -0
- package/dist/icons.generated/index.js.map +1 -0
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/dist/labs/DatePicker.js +42 -0
- package/dist/labs/DatePicker.js.map +1 -0
- package/{src/iconDictionary/SvgIcon.ts → dist/labs/DatePicker.types.js} +2 -4
- package/dist/labs/DatePicker.types.js.map +1 -0
- package/dist/labs/PaginatedTable.js +170 -0
- package/dist/labs/PaginatedTable.js.map +1 -0
- package/dist/labs/StaticTable.js +82 -0
- package/dist/labs/StaticTable.js.map +1 -0
- package/dist/labs/datePickerTheme.js +456 -0
- package/dist/labs/datePickerTheme.js.map +1 -0
- package/dist/{src/a11yCheck.d.ts → labs/index.js} +9 -3
- package/dist/labs/index.js.map +1 -0
- package/dist/labs/materialReactTableTypes.js +2 -0
- package/dist/labs/materialReactTableTypes.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui.js +7 -2
- package/dist/properties/ts/odyssey-react-mui.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_cs.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_cs.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_da.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_da.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_de.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_de.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_el.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_el.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_es.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_es.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_fi.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_fi.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_fr.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_fr.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_hu.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_hu.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_id.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_id.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_it.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_it.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_ja.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_ja.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_ko.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_ko.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_ms.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_ms.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_nb.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_nb.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_nl_NL.js +16 -0
- package/dist/properties/ts/odyssey-react-mui_nl_NL.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_ok_PL.js +11 -0
- package/dist/properties/ts/odyssey-react-mui_ok_PL.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_ok_SK.js +11 -0
- package/dist/properties/ts/odyssey-react-mui_ok_SK.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_pl.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_pl.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_pt_BR.js +16 -0
- package/dist/properties/ts/odyssey-react-mui_pt_BR.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_ro.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_ro.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_ru.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_ru.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_sv.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_sv.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_th.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_th.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_tr.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_tr.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_uk.js +15 -1
- package/dist/properties/ts/odyssey-react-mui_uk.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_vi.js +16 -0
- package/dist/properties/ts/odyssey-react-mui_vi.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_zh_CN.js +16 -0
- package/dist/properties/ts/odyssey-react-mui_zh_CN.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_zh_TW.js +16 -0
- package/dist/properties/ts/odyssey-react-mui_zh_TW.js.map +1 -0
- package/{src/theme/temp.ts → dist/scripts/generateIconsIndex.d.ts} +2 -8
- package/dist/scripts/generateIconsIndex.d.ts.map +1 -0
- package/dist/src/Autocomplete.d.ts +34 -1
- package/dist/src/Autocomplete.d.ts.map +1 -1
- package/dist/src/Banner.d.ts +4 -2
- package/dist/src/Banner.d.ts.map +1 -1
- package/dist/src/Box.d.ts +21 -0
- package/dist/src/Box.d.ts.map +1 -0
- package/dist/src/Button.d.ts +66 -9
- package/dist/src/Button.d.ts.map +1 -1
- package/dist/src/{Infobox.d.ts → Callout.d.ts} +12 -11
- package/dist/src/Callout.d.ts.map +1 -0
- package/dist/src/Checkbox.d.ts +39 -6
- package/dist/src/Checkbox.d.ts.map +1 -1
- package/dist/src/CheckboxGroup.d.ts +19 -1
- package/dist/src/CheckboxGroup.d.ts.map +1 -1
- package/dist/src/CircularProgress.d.ts +9 -1
- package/dist/src/CircularProgress.d.ts.map +1 -1
- package/dist/src/Dialog.d.ts +29 -7
- package/dist/src/Dialog.d.ts.map +1 -1
- package/dist/src/Field.d.ts +6 -2
- package/dist/src/Field.d.ts.map +1 -1
- package/dist/src/FieldError.d.ts.map +1 -1
- package/dist/src/FieldHint.d.ts.map +1 -1
- package/dist/src/FieldLabel.d.ts.map +1 -1
- package/dist/src/Fieldset.d.ts +16 -12
- package/dist/src/Fieldset.d.ts.map +1 -1
- package/dist/src/FieldsetContext.d.ts +18 -0
- package/dist/src/FieldsetContext.d.ts.map +1 -0
- package/dist/src/Form.d.ts +31 -28
- package/dist/src/Form.d.ts.map +1 -1
- package/dist/src/Link.d.ts +23 -4
- package/dist/src/Link.d.ts.map +1 -1
- package/dist/src/MenuButton.d.ts +40 -10
- package/dist/src/MenuButton.d.ts.map +1 -1
- package/dist/src/MenuContext.d.ts +18 -0
- package/dist/src/MenuContext.d.ts.map +1 -0
- package/dist/src/MenuItem.d.ts +32 -6
- package/dist/src/MenuItem.d.ts.map +1 -1
- package/dist/src/MuiPropsChild.d.ts.map +1 -1
- package/dist/src/MuiPropsContext.d.ts +1 -0
- package/dist/src/MuiPropsContext.d.ts.map +1 -1
- package/dist/src/NativeSelect.d.ts +39 -0
- package/dist/src/NativeSelect.d.ts.map +1 -1
- package/dist/src/{theme/temp.d.ts → NullElement.d.ts} +2 -5
- package/dist/src/NullElement.d.ts.map +1 -0
- package/dist/src/OdysseyCacheProvider.d.ts +8 -5
- package/dist/src/OdysseyCacheProvider.d.ts.map +1 -1
- package/dist/src/OdysseyDesignTokensContext.d.ts +16 -0
- package/dist/src/OdysseyDesignTokensContext.d.ts.map +1 -0
- package/dist/src/OdysseyI18n.d.ts +400 -25
- package/dist/src/OdysseyI18n.d.ts.map +1 -1
- package/dist/src/OdysseyProvider.d.ts +7 -13
- package/dist/src/OdysseyProvider.d.ts.map +1 -1
- package/dist/src/OdysseyThemeProvider.d.ts +9 -8
- package/dist/src/OdysseyThemeProvider.d.ts.map +1 -1
- package/dist/src/OdysseyTranslationProvider.d.ts +3 -4
- 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.map +1 -1
- package/dist/src/Radio.d.ts +20 -3
- package/dist/src/Radio.d.ts.map +1 -1
- package/dist/src/RadioGroup.d.ts +7 -7
- package/dist/src/RadioGroup.d.ts.map +1 -1
- package/dist/src/ScreenReaderText.d.ts.map +1 -1
- package/dist/src/SearchField.d.ts +4 -0
- package/dist/src/SearchField.d.ts.map +1 -1
- package/dist/src/Select.d.ts +37 -1
- package/dist/src/Select.d.ts.map +1 -1
- package/dist/src/Status.d.ts +11 -5
- package/dist/src/Status.d.ts.map +1 -1
- package/dist/src/{iconDictionary/types.d.ts → SvgIcon.d.ts} +4 -2
- package/dist/src/SvgIcon.d.ts.map +1 -0
- package/dist/src/Tabs.d.ts +31 -7
- package/dist/src/Tabs.d.ts.map +1 -1
- package/dist/src/Tag.d.ts +15 -5
- package/dist/src/Tag.d.ts.map +1 -1
- package/dist/src/TagList.d.ts +4 -1
- package/dist/src/TagList.d.ts.map +1 -1
- package/dist/src/TextField.d.ts +4 -4
- package/dist/src/TextField.d.ts.map +1 -1
- package/dist/src/Toast.d.ts +11 -10
- package/dist/src/Toast.d.ts.map +1 -1
- package/dist/src/ToastStack.d.ts +3 -0
- package/dist/src/ToastStack.d.ts.map +1 -1
- package/dist/src/Tooltip.d.ts +15 -3
- package/dist/src/Tooltip.d.ts.map +1 -1
- package/dist/src/Typography.d.ts +95 -0
- package/dist/src/Typography.d.ts.map +1 -0
- package/dist/src/icons.generated/Add.d.ts +16 -0
- package/dist/src/icons.generated/Add.d.ts.map +1 -0
- package/dist/src/icons.generated/AddCircle.d.ts +16 -0
- package/dist/src/icons.generated/AddCircle.d.ts.map +1 -0
- package/dist/src/icons.generated/Apps.d.ts +16 -0
- package/dist/src/icons.generated/Apps.d.ts.map +1 -0
- package/dist/src/icons.generated/ArrowDown.d.ts +16 -0
- package/dist/src/icons.generated/ArrowDown.d.ts.map +1 -0
- package/dist/src/icons.generated/ArrowLeft.d.ts +16 -0
- package/dist/src/icons.generated/ArrowLeft.d.ts.map +1 -0
- package/dist/src/icons.generated/ArrowLowerLeft.d.ts +16 -0
- package/dist/src/icons.generated/ArrowLowerLeft.d.ts.map +1 -0
- package/dist/src/icons.generated/ArrowLowerRight.d.ts +16 -0
- package/dist/src/icons.generated/ArrowLowerRight.d.ts.map +1 -0
- package/dist/src/icons.generated/ArrowRight.d.ts +16 -0
- package/dist/src/icons.generated/ArrowRight.d.ts.map +1 -0
- package/dist/src/icons.generated/ArrowUnsorted.d.ts +16 -0
- package/dist/src/icons.generated/ArrowUnsorted.d.ts.map +1 -0
- package/dist/src/icons.generated/ArrowUp.d.ts +16 -0
- package/dist/src/icons.generated/ArrowUp.d.ts.map +1 -0
- package/dist/src/icons.generated/ArrowUpperLeft.d.ts +16 -0
- package/dist/src/icons.generated/ArrowUpperLeft.d.ts.map +1 -0
- package/dist/src/icons.generated/ArrowUpperRight.d.ts +16 -0
- package/dist/src/icons.generated/ArrowUpperRight.d.ts.map +1 -0
- package/dist/src/icons.generated/Bug.d.ts +16 -0
- package/dist/src/icons.generated/Bug.d.ts.map +1 -0
- package/dist/src/icons.generated/Calendar.d.ts +16 -0
- package/dist/src/icons.generated/Calendar.d.ts.map +1 -0
- package/dist/src/icons.generated/Call.d.ts +16 -0
- package/dist/src/icons.generated/Call.d.ts.map +1 -0
- package/dist/src/icons.generated/Chat.d.ts +16 -0
- package/dist/src/icons.generated/Chat.d.ts.map +1 -0
- package/dist/src/{iconDictionary/InformationCircleFilled.d.ts → icons.generated/Check.d.ts} +4 -4
- package/dist/src/icons.generated/Check.d.ts.map +1 -0
- package/dist/src/icons.generated/CheckCircleFilled.d.ts +16 -0
- package/dist/src/icons.generated/CheckCircleFilled.d.ts.map +1 -0
- package/dist/src/icons.generated/ChevronDown.d.ts +16 -0
- package/dist/src/icons.generated/ChevronDown.d.ts.map +1 -0
- package/dist/src/icons.generated/ChevronLeft.d.ts +16 -0
- package/dist/src/icons.generated/ChevronLeft.d.ts.map +1 -0
- package/dist/src/icons.generated/ChevronRight.d.ts +16 -0
- package/dist/src/icons.generated/ChevronRight.d.ts.map +1 -0
- package/dist/src/icons.generated/ChevronUp.d.ts +16 -0
- package/dist/src/icons.generated/ChevronUp.d.ts.map +1 -0
- package/dist/src/icons.generated/Clock.d.ts +16 -0
- package/dist/src/icons.generated/Clock.d.ts.map +1 -0
- package/dist/src/icons.generated/Close.d.ts +16 -0
- package/dist/src/icons.generated/Close.d.ts.map +1 -0
- package/dist/src/icons.generated/CloseCircleFilled.d.ts +16 -0
- package/dist/src/icons.generated/CloseCircleFilled.d.ts.map +1 -0
- package/dist/src/icons.generated/CollapseLeft.d.ts +16 -0
- package/dist/src/icons.generated/CollapseLeft.d.ts.map +1 -0
- package/dist/src/icons.generated/CollapseRight.d.ts +16 -0
- package/dist/src/icons.generated/CollapseRight.d.ts.map +1 -0
- package/dist/src/icons.generated/Copy.d.ts +16 -0
- package/dist/src/icons.generated/Copy.d.ts.map +1 -0
- package/dist/src/icons.generated/DangerDiamond.d.ts +16 -0
- package/dist/src/icons.generated/DangerDiamond.d.ts.map +1 -0
- package/dist/src/icons.generated/DangerDiamondFilled.d.ts +16 -0
- package/dist/src/icons.generated/DangerDiamondFilled.d.ts.map +1 -0
- package/dist/src/icons.generated/Delete.d.ts +16 -0
- package/dist/src/icons.generated/Delete.d.ts.map +1 -0
- package/dist/src/icons.generated/Deny.d.ts +16 -0
- package/dist/src/icons.generated/Deny.d.ts.map +1 -0
- package/dist/src/icons.generated/Devices.d.ts +16 -0
- package/dist/src/icons.generated/Devices.d.ts.map +1 -0
- package/dist/src/icons.generated/Directory.d.ts +16 -0
- package/dist/src/icons.generated/Directory.d.ts.map +1 -0
- package/dist/src/icons.generated/Documentation.d.ts +16 -0
- package/dist/src/icons.generated/Documentation.d.ts.map +1 -0
- package/dist/src/icons.generated/Download.d.ts +16 -0
- package/dist/src/icons.generated/Download.d.ts.map +1 -0
- package/dist/src/icons.generated/DragIndicator.d.ts +16 -0
- package/dist/src/icons.generated/DragIndicator.d.ts.map +1 -0
- package/dist/src/icons.generated/Edit.d.ts +16 -0
- package/dist/src/icons.generated/Edit.d.ts.map +1 -0
- package/dist/src/icons.generated/ExpandLeft.d.ts +16 -0
- package/dist/src/icons.generated/ExpandLeft.d.ts.map +1 -0
- package/dist/src/icons.generated/ExpandRight.d.ts +16 -0
- package/dist/src/icons.generated/ExpandRight.d.ts.map +1 -0
- package/dist/src/icons.generated/ExternalLink.d.ts +16 -0
- package/dist/src/icons.generated/ExternalLink.d.ts.map +1 -0
- package/dist/src/icons.generated/Filter.d.ts +16 -0
- package/dist/src/icons.generated/Filter.d.ts.map +1 -0
- package/dist/src/icons.generated/Folder.d.ts +16 -0
- package/dist/src/icons.generated/Folder.d.ts.map +1 -0
- package/dist/src/icons.generated/Globe.d.ts +16 -0
- package/dist/src/icons.generated/Globe.d.ts.map +1 -0
- package/dist/src/icons.generated/Grid.d.ts +16 -0
- package/dist/src/icons.generated/Grid.d.ts.map +1 -0
- package/dist/src/icons.generated/Group.d.ts +16 -0
- package/dist/src/icons.generated/Group.d.ts.map +1 -0
- package/dist/src/icons.generated/Hide.d.ts +16 -0
- package/dist/src/icons.generated/Hide.d.ts.map +1 -0
- package/dist/src/icons.generated/Home.d.ts +16 -0
- package/dist/src/icons.generated/Home.d.ts.map +1 -0
- package/dist/src/icons.generated/InformationCircle.d.ts +16 -0
- package/dist/src/icons.generated/InformationCircle.d.ts.map +1 -0
- package/dist/src/icons.generated/InformationCircleFilled.d.ts +16 -0
- package/dist/src/icons.generated/InformationCircleFilled.d.ts.map +1 -0
- package/dist/src/icons.generated/Link.d.ts +16 -0
- package/dist/src/icons.generated/Link.d.ts.map +1 -0
- package/dist/src/icons.generated/List.d.ts +16 -0
- package/dist/src/icons.generated/List.d.ts.map +1 -0
- package/dist/src/icons.generated/Lock.d.ts +16 -0
- package/dist/src/icons.generated/Lock.d.ts.map +1 -0
- package/dist/src/icons.generated/More.d.ts +16 -0
- package/dist/src/icons.generated/More.d.ts.map +1 -0
- package/dist/src/icons.generated/Notification.d.ts +16 -0
- package/dist/src/icons.generated/Notification.d.ts.map +1 -0
- package/dist/src/icons.generated/Pause.d.ts +16 -0
- package/dist/src/icons.generated/Pause.d.ts.map +1 -0
- package/dist/src/icons.generated/QuestionCircle.d.ts +16 -0
- package/dist/src/icons.generated/QuestionCircle.d.ts.map +1 -0
- package/dist/src/icons.generated/QuestionCircleFilled.d.ts +16 -0
- package/dist/src/icons.generated/QuestionCircleFilled.d.ts.map +1 -0
- package/dist/src/icons.generated/Refresh.d.ts +16 -0
- package/dist/src/icons.generated/Refresh.d.ts.map +1 -0
- package/dist/src/icons.generated/Reset.d.ts +16 -0
- package/dist/src/icons.generated/Reset.d.ts.map +1 -0
- package/dist/src/icons.generated/Resume.d.ts +16 -0
- package/dist/src/icons.generated/Resume.d.ts.map +1 -0
- package/dist/src/icons.generated/Search.d.ts +16 -0
- package/dist/src/icons.generated/Search.d.ts.map +1 -0
- package/dist/src/icons.generated/Server.d.ts +16 -0
- package/dist/src/icons.generated/Server.d.ts.map +1 -0
- package/dist/src/icons.generated/Settings.d.ts +16 -0
- package/dist/src/icons.generated/Settings.d.ts.map +1 -0
- package/dist/src/icons.generated/Show.d.ts +16 -0
- package/dist/src/icons.generated/Show.d.ts.map +1 -0
- package/dist/src/icons.generated/Subtract.d.ts +16 -0
- package/dist/src/icons.generated/Subtract.d.ts.map +1 -0
- package/dist/src/icons.generated/Sync.d.ts +16 -0
- package/dist/src/icons.generated/Sync.d.ts.map +1 -0
- package/dist/src/icons.generated/Unlock.d.ts +16 -0
- package/dist/src/icons.generated/Unlock.d.ts.map +1 -0
- package/dist/src/icons.generated/Upload.d.ts +16 -0
- package/dist/src/icons.generated/Upload.d.ts.map +1 -0
- package/dist/src/icons.generated/User.d.ts +16 -0
- package/dist/src/icons.generated/User.d.ts.map +1 -0
- package/dist/src/icons.generated/Video.d.ts +16 -0
- package/dist/src/icons.generated/Video.d.ts.map +1 -0
- package/dist/src/icons.generated/Warning.d.ts +16 -0
- package/dist/src/icons.generated/Warning.d.ts.map +1 -0
- package/dist/src/icons.generated/WarningFilled.d.ts +16 -0
- package/dist/src/icons.generated/WarningFilled.d.ts.map +1 -0
- package/dist/src/icons.generated/index.d.ts +85 -0
- package/dist/src/icons.generated/index.d.ts.map +1 -0
- package/dist/src/index.d.ts +29 -18
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/labs/DatePicker.d.ts +19 -0
- package/dist/src/labs/DatePicker.d.ts.map +1 -0
- package/dist/src/labs/DatePicker.types.d.ts +19 -0
- package/dist/src/labs/DatePicker.types.d.ts.map +1 -0
- package/dist/src/labs/PaginatedTable.d.ts +35 -0
- package/dist/src/labs/PaginatedTable.d.ts.map +1 -0
- package/dist/src/labs/StaticTable.d.ts +29 -0
- package/dist/src/labs/StaticTable.d.ts.map +1 -0
- package/dist/src/{iconDictionary/SvgIcon.d.ts → labs/datePickerTheme.d.ts} +3 -3
- package/dist/src/labs/datePickerTheme.d.ts.map +1 -0
- package/dist/src/labs/index.d.ts +21 -0
- package/dist/src/labs/index.d.ts.map +1 -0
- package/dist/src/labs/materialReactTableTypes.d.ts +15 -0
- package/dist/src/labs/materialReactTableTypes.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui.d.ts +7 -2
- package/dist/src/properties/ts/odyssey-react-mui.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_cs.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_cs.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_da.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_da.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_de.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_de.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_el.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_el.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_es.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_es.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_fi.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_fi.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_fr.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_fr.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_hu.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_hu.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_id.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_id.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_it.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_it.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_ja.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_ja.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_ko.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_ko.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_ms.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_ms.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_nb.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_nb.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_nl_NL.d.ts +16 -0
- package/dist/src/properties/ts/odyssey-react-mui_nl_NL.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_ok_PL.d.ts +11 -0
- package/dist/src/properties/ts/odyssey-react-mui_ok_PL.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_ok_SK.d.ts +11 -0
- package/dist/src/properties/ts/odyssey-react-mui_ok_SK.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_pl.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_pl.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_pt_BR.d.ts +16 -0
- package/dist/src/properties/ts/odyssey-react-mui_pt_BR.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_ro.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_ro.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_ru.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_ru.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_sv.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_sv.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_th.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_th.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_tr.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_tr.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_uk.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_uk.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_vi.d.ts +16 -0
- package/dist/src/properties/ts/odyssey-react-mui_vi.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_zh_CN.d.ts +16 -0
- package/dist/src/properties/ts/odyssey-react-mui_zh_CN.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_zh_TW.d.ts +16 -0
- package/dist/src/properties/ts/odyssey-react-mui_zh_TW.d.ts.map +1 -0
- package/dist/src/theme/components.d.ts +2 -1
- package/dist/src/theme/components.d.ts.map +1 -1
- package/dist/src/theme/components.types.d.ts +4 -2
- package/dist/src/theme/components.types.d.ts.map +1 -1
- package/dist/src/theme/index.d.ts +0 -3
- package/dist/src/theme/index.d.ts.map +1 -1
- package/dist/src/theme/mixins.d.ts +2 -2
- package/dist/src/theme/mixins.d.ts.map +1 -1
- package/dist/src/theme/palette.d.ts +2 -2
- package/dist/src/theme/palette.d.ts.map +1 -1
- package/dist/src/theme/shape.d.ts +2 -2
- package/dist/src/theme/shape.d.ts.map +1 -1
- package/dist/src/theme/spacing.d.ts +2 -2
- package/dist/src/theme/spacing.d.ts.map +1 -1
- package/dist/src/theme/theme.d.ts +4 -3
- package/dist/src/theme/theme.d.ts.map +1 -1
- package/dist/src/theme/typography.d.ts +2 -2
- package/dist/src/theme/typography.d.ts.map +1 -1
- package/dist/src/theme/typography.types.d.ts +2 -2
- package/dist/src/theme/typography.types.d.ts.map +1 -1
- package/dist/theme/components.js +1674 -1757
- package/dist/theme/components.js.map +1 -1
- package/dist/theme/components.types.js.map +1 -1
- package/dist/theme/index.js +0 -1
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/mixins.js +4 -4
- package/dist/theme/mixins.js.map +1 -1
- package/dist/theme/palette.js +50 -51
- package/dist/theme/palette.js.map +1 -1
- package/dist/theme/shape.js +1 -1
- package/dist/theme/shape.js.map +1 -1
- package/dist/theme/spacing.js +1 -2
- package/dist/theme/spacing.js.map +1 -1
- package/dist/theme/theme.js +8 -12
- package/dist/theme/theme.js.map +1 -1
- package/dist/theme/typography.js +76 -46
- package/dist/theme/typography.js.map +1 -1
- package/dist/theme/typography.types.js.map +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/i18n.config.json +0 -1
- package/package.json +27 -11
- package/scripts/generateIconsIndex.ts +49 -0
- package/scripts/properties-to-ts.js +8 -15
- package/src/Autocomplete.tsx +36 -1
- package/src/Banner.tsx +15 -5
- package/src/Box.tsx +35 -0
- package/src/Button.tsx +100 -19
- package/src/{Infobox.tsx → Callout.tsx} +23 -14
- package/src/Checkbox.tsx +64 -14
- package/src/CheckboxGroup.tsx +20 -1
- package/src/CircularProgress.tsx +13 -1
- package/src/Dialog.tsx +44 -16
- package/src/Field.tsx +18 -4
- package/src/FieldError.tsx +2 -1
- package/src/FieldHint.tsx +2 -1
- package/src/FieldLabel.tsx +4 -5
- package/src/Fieldset.tsx +45 -34
- package/src/FieldsetContext.tsx +23 -0
- package/src/Form.tsx +54 -44
- package/src/Link.tsx +49 -29
- package/src/MenuButton.tsx +89 -39
- package/src/{theme/OdysseyTheme.ts → MenuContext.ts} +11 -11
- package/src/MenuItem.tsx +67 -23
- package/src/MuiPropsChild.tsx +1 -0
- package/src/MuiPropsContext.ts +3 -1
- package/src/NativeSelect.tsx +39 -0
- package/{dist/theme/temp.js → src/NullElement.tsx} +1 -4
- package/src/OdysseyCacheProvider.test.tsx +1 -1
- package/src/OdysseyCacheProvider.tsx +13 -7
- package/src/OdysseyDesignTokensContext.tsx +19 -0
- package/src/OdysseyI18n.ts +12 -8
- package/src/OdysseyProvider.tsx +19 -18
- package/src/OdysseyThemeProvider.tsx +30 -13
- package/src/OdysseyTranslationProvider.tsx +7 -7
- package/src/OdysseyTranslationProvider.types.ts +6 -4
- package/src/PasswordField.tsx +8 -7
- package/src/Radio.tsx +23 -7
- package/src/RadioGroup.tsx +8 -7
- package/src/ScreenReaderText.tsx +6 -2
- package/src/SearchField.tsx +55 -5
- package/src/Select.tsx +42 -4
- package/src/Status.tsx +26 -9
- package/src/{iconDictionary/types.ts → SvgIcon.ts} +4 -1
- package/src/Tabs.tsx +40 -7
- package/src/Tag.tsx +34 -14
- package/src/TagList.tsx +12 -2
- package/src/TextField.tsx +11 -4
- package/src/Toast.tsx +22 -19
- package/src/ToastStack.tsx +12 -2
- package/src/Tooltip.tsx +15 -3
- package/src/Typography.tsx +357 -0
- package/src/{iconDictionary → icons.generated}/Add.tsx +4 -5
- package/src/{iconDictionary → icons.generated}/AddCircle.tsx +4 -5
- package/src/icons.generated/Apps.tsx +43 -0
- package/src/{iconDictionary → icons.generated}/ArrowDown.tsx +4 -5
- package/src/{iconDictionary → icons.generated}/ArrowLeft.tsx +4 -5
- package/src/{iconDictionary/OverflowVertical.tsx → icons.generated/ArrowLowerLeft.tsx} +8 -9
- package/src/icons.generated/ArrowLowerRight.tsx +44 -0
- package/src/{iconDictionary → icons.generated}/ArrowRight.tsx +4 -5
- package/src/{iconDictionary/AlertCircleFilled.tsx → icons.generated/ArrowUnsorted.tsx} +8 -9
- package/src/{iconDictionary → icons.generated}/ArrowUp.tsx +4 -5
- package/src/icons.generated/ArrowUpperLeft.tsx +44 -0
- package/src/icons.generated/ArrowUpperRight.tsx +44 -0
- package/src/{iconDictionary/Eye.tsx → icons.generated/Bug.tsx} +7 -8
- package/src/icons.generated/Calendar.tsx +43 -0
- package/src/icons.generated/Call.tsx +43 -0
- package/src/icons.generated/Chat.tsx +43 -0
- package/src/{iconDictionary → icons.generated}/Check.tsx +4 -5
- package/src/{iconDictionary → icons.generated}/CheckCircleFilled.tsx +4 -5
- package/src/{iconDictionary → icons.generated}/ChevronDown.tsx +4 -5
- package/src/icons.generated/ChevronLeft.tsx +43 -0
- package/src/icons.generated/ChevronRight.tsx +44 -0
- package/src/{iconDictionary → icons.generated}/ChevronUp.tsx +4 -5
- package/src/icons.generated/Clock.tsx +43 -0
- package/src/{iconDictionary → icons.generated}/Close.tsx +4 -5
- package/src/{iconDictionary → icons.generated}/CloseCircleFilled.tsx +4 -5
- package/src/icons.generated/CollapseLeft.tsx +44 -0
- package/src/icons.generated/CollapseRight.tsx +44 -0
- package/src/icons.generated/Copy.tsx +43 -0
- package/src/icons.generated/DangerDiamond.tsx +44 -0
- package/src/icons.generated/DangerDiamondFilled.tsx +44 -0
- package/src/{iconDictionary → icons.generated}/Delete.tsx +4 -5
- package/src/icons.generated/Deny.tsx +43 -0
- package/src/{iconDictionary/AlertCircle.tsx → icons.generated/Devices.tsx} +7 -8
- package/src/icons.generated/Directory.tsx +43 -0
- package/src/icons.generated/Documentation.tsx +44 -0
- package/src/icons.generated/Download.tsx +43 -0
- package/src/icons.generated/DragIndicator.tsx +44 -0
- package/src/{iconDictionary → icons.generated}/Edit.tsx +4 -5
- package/src/icons.generated/ExpandLeft.tsx +43 -0
- package/src/icons.generated/ExpandRight.tsx +43 -0
- package/src/{iconDictionary → icons.generated}/ExternalLink.tsx +4 -5
- package/src/{iconDictionary → icons.generated}/Filter.tsx +4 -5
- package/src/icons.generated/Folder.tsx +43 -0
- package/src/icons.generated/Globe.tsx +43 -0
- package/src/icons.generated/Grid.tsx +46 -0
- package/src/{iconDictionary/Globe.tsx → icons.generated/Group.tsx} +7 -8
- package/src/icons.generated/Hide.tsx +43 -0
- package/src/icons.generated/Home.tsx +43 -0
- package/src/{iconDictionary → icons.generated}/InformationCircle.tsx +4 -5
- package/src/{iconDictionary → icons.generated}/InformationCircleFilled.tsx +4 -5
- package/src/icons.generated/Link.tsx +43 -0
- package/src/icons.generated/List.tsx +43 -0
- package/src/icons.generated/Lock.tsx +43 -0
- package/src/icons.generated/More.tsx +43 -0
- package/src/{iconDictionary → icons.generated}/Notification.tsx +4 -5
- package/src/icons.generated/Pause.tsx +43 -0
- package/src/{iconDictionary → icons.generated}/QuestionCircle.tsx +4 -5
- package/src/{iconDictionary → icons.generated}/QuestionCircleFilled.tsx +4 -5
- package/src/icons.generated/Refresh.tsx +43 -0
- package/src/icons.generated/Reset.tsx +43 -0
- package/src/icons.generated/Resume.tsx +43 -0
- package/src/{iconDictionary → icons.generated}/Search.tsx +4 -5
- package/src/icons.generated/Server.tsx +43 -0
- package/src/icons.generated/Settings.tsx +43 -0
- package/src/icons.generated/Show.tsx +43 -0
- package/src/{iconDictionary → icons.generated}/Subtract.tsx +4 -5
- package/src/{iconDictionary/Copy.tsx → icons.generated/Sync.tsx} +7 -8
- package/src/icons.generated/Unlock.tsx +43 -0
- package/src/icons.generated/Upload.tsx +43 -0
- package/src/{iconDictionary → icons.generated}/User.tsx +4 -5
- package/src/icons.generated/Video.tsx +43 -0
- package/src/icons.generated/Warning.tsx +43 -0
- package/src/icons.generated/WarningFilled.tsx +44 -0
- package/src/icons.generated/index.ts +87 -0
- package/src/index.ts +21 -65
- package/src/labs/DatePicker.tsx +48 -0
- package/src/labs/DatePicker.types.ts +24 -0
- package/src/labs/PaginatedTable.tsx +272 -0
- package/src/labs/README.md +46 -0
- package/src/labs/StaticTable.tsx +122 -0
- package/src/labs/datePickerTheme.tsx +341 -0
- package/src/labs/index.ts +24 -0
- package/{dist/theme/useTheme.js → src/labs/materialReactTableTypes.ts} +7 -5
- package/src/properties/odyssey-react-mui.properties +7 -2
- package/src/properties/translations/odyssey-react-mui_cs.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_da.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_de.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_el.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_es.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_fi.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_fr.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_hu.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_id.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_it.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_ja.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_ko.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_ms.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_nb.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_nl_NL.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_ok_PL.properties +8 -0
- package/src/properties/translations/odyssey-react-mui_ok_SK.properties +8 -0
- package/src/properties/translations/odyssey-react-mui_pl.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_pt_BR.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_ro.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_ru.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_sv.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_th.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_tr.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_uk.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_vi.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_zh_CN.properties +14 -0
- package/src/properties/translations/odyssey-react-mui_zh_TW.properties +14 -0
- package/src/properties/ts/odyssey-react-mui.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_cs.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_da.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_de.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_el.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_es.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_fi.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_fr.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_hu.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_id.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_it.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_ja.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_ko.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_ms.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_nb.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_nl_NL.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_ok_PL.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_ok_SK.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_pl.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_pt_BR.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_ro.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_ru.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_sv.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_th.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_tr.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_uk.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_vi.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_zh_CN.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_zh_TW.ts +1 -0
- package/src/theme/components.tsx +1921 -1737
- package/src/theme/components.types.ts +4 -2
- package/src/theme/index.ts +0 -5
- package/src/theme/mixins.ts +7 -8
- package/src/theme/palette.ts +53 -55
- package/src/theme/shape.ts +6 -7
- package/src/theme/spacing.ts +13 -13
- package/src/theme/theme.ts +6 -8
- package/src/theme/typography.ts +81 -48
- package/src/theme/typography.types.ts +2 -2
- package/tsconfig.json +3 -0
- package/dist/Icon.js +0 -30
- package/dist/Icon.js.map +0 -1
- package/dist/Infobox.js.map +0 -1
- package/dist/a11yCheck.js +0 -25
- package/dist/a11yCheck.js.map +0 -1
- package/dist/iconDictionary/Add.js.map +0 -1
- package/dist/iconDictionary/AddCircle.js.map +0 -1
- package/dist/iconDictionary/AlertCircle.js.map +0 -1
- package/dist/iconDictionary/AlertCircleFilled.js.map +0 -1
- package/dist/iconDictionary/AlertTriangleFilled.js.map +0 -1
- package/dist/iconDictionary/Anchor.js +0 -35
- package/dist/iconDictionary/Anchor.js.map +0 -1
- package/dist/iconDictionary/ArrowDown.js.map +0 -1
- package/dist/iconDictionary/ArrowLeft.js.map +0 -1
- package/dist/iconDictionary/ArrowRight.js.map +0 -1
- package/dist/iconDictionary/ArrowUp.js.map +0 -1
- package/dist/iconDictionary/ArrowUpDown.js.map +0 -1
- package/dist/iconDictionary/Calendar.js +0 -33
- package/dist/iconDictionary/Calendar.js.map +0 -1
- package/dist/iconDictionary/Check.js.map +0 -1
- package/dist/iconDictionary/CheckCircleFilled.js.map +0 -1
- package/dist/iconDictionary/ChevronDown.js.map +0 -1
- package/dist/iconDictionary/ChevronUp.js.map +0 -1
- package/dist/iconDictionary/Close.js.map +0 -1
- package/dist/iconDictionary/CloseCircleFilled.js.map +0 -1
- package/dist/iconDictionary/Copy.js +0 -33
- package/dist/iconDictionary/Copy.js.map +0 -1
- package/dist/iconDictionary/Delete.js.map +0 -1
- package/dist/iconDictionary/Download.js +0 -33
- package/dist/iconDictionary/Download.js.map +0 -1
- package/dist/iconDictionary/DragHandle.js +0 -33
- package/dist/iconDictionary/DragHandle.js.map +0 -1
- package/dist/iconDictionary/Edit.js.map +0 -1
- package/dist/iconDictionary/ExternalLink.js.map +0 -1
- package/dist/iconDictionary/Eye.js +0 -33
- package/dist/iconDictionary/Eye.js.map +0 -1
- package/dist/iconDictionary/EyeOff.js +0 -33
- package/dist/iconDictionary/EyeOff.js.map +0 -1
- package/dist/iconDictionary/Filter.js.map +0 -1
- package/dist/iconDictionary/Globe.js.map +0 -1
- package/dist/iconDictionary/Home.js +0 -33
- package/dist/iconDictionary/Home.js.map +0 -1
- package/dist/iconDictionary/InformationCircle.js.map +0 -1
- package/dist/iconDictionary/InformationCircleFilled.js.map +0 -1
- package/dist/iconDictionary/Notification.js.map +0 -1
- package/dist/iconDictionary/OverflowVertical.js.map +0 -1
- package/dist/iconDictionary/QuestionCircle.js.map +0 -1
- package/dist/iconDictionary/QuestionCircleFilled.js.map +0 -1
- package/dist/iconDictionary/Search.js.map +0 -1
- package/dist/iconDictionary/Settings.js +0 -31
- package/dist/iconDictionary/Settings.js.map +0 -1
- package/dist/iconDictionary/Subtract.js.map +0 -1
- package/dist/iconDictionary/SvgIcon.js.map +0 -1
- package/dist/iconDictionary/User.js.map +0 -1
- package/dist/iconDictionary/UserGroup.js +0 -33
- package/dist/iconDictionary/UserGroup.js.map +0 -1
- package/dist/iconDictionary/index.js +0 -134
- package/dist/iconDictionary/index.js.map +0 -1
- package/dist/iconDictionary/types.js +0 -2
- package/dist/iconDictionary/types.js.map +0 -1
- package/dist/properties/ts/odyssey-react-mui_nl-NL.js +0 -2
- package/dist/properties/ts/odyssey-react-mui_nl-NL.js.map +0 -1
- package/dist/properties/ts/odyssey-react-mui_pt-BR.js +0 -2
- package/dist/properties/ts/odyssey-react-mui_pt-BR.js.map +0 -1
- package/dist/properties/ts/odyssey-react-mui_zh-CN.js +0 -2
- package/dist/properties/ts/odyssey-react-mui_zh-CN.js.map +0 -1
- package/dist/properties/ts/odyssey-react-mui_zh-TW.js +0 -2
- package/dist/properties/ts/odyssey-react-mui_zh-TW.js.map +0 -1
- package/dist/src/Icon.d.ts +0 -29
- package/dist/src/Icon.d.ts.map +0 -1
- package/dist/src/Infobox.d.ts.map +0 -1
- package/dist/src/a11yCheck.d.ts.map +0 -1
- package/dist/src/iconDictionary/Add.d.ts +0 -16
- package/dist/src/iconDictionary/Add.d.ts.map +0 -1
- package/dist/src/iconDictionary/AddCircle.d.ts +0 -16
- package/dist/src/iconDictionary/AddCircle.d.ts.map +0 -1
- package/dist/src/iconDictionary/AlertCircle.d.ts +0 -16
- package/dist/src/iconDictionary/AlertCircle.d.ts.map +0 -1
- package/dist/src/iconDictionary/AlertCircleFilled.d.ts +0 -16
- package/dist/src/iconDictionary/AlertCircleFilled.d.ts.map +0 -1
- package/dist/src/iconDictionary/AlertTriangleFilled.d.ts +0 -16
- package/dist/src/iconDictionary/AlertTriangleFilled.d.ts.map +0 -1
- package/dist/src/iconDictionary/Anchor.d.ts +0 -16
- package/dist/src/iconDictionary/Anchor.d.ts.map +0 -1
- package/dist/src/iconDictionary/ArrowDown.d.ts +0 -16
- package/dist/src/iconDictionary/ArrowDown.d.ts.map +0 -1
- package/dist/src/iconDictionary/ArrowLeft.d.ts +0 -16
- package/dist/src/iconDictionary/ArrowLeft.d.ts.map +0 -1
- package/dist/src/iconDictionary/ArrowRight.d.ts +0 -16
- package/dist/src/iconDictionary/ArrowRight.d.ts.map +0 -1
- package/dist/src/iconDictionary/ArrowUp.d.ts +0 -16
- package/dist/src/iconDictionary/ArrowUp.d.ts.map +0 -1
- package/dist/src/iconDictionary/ArrowUpDown.d.ts +0 -16
- package/dist/src/iconDictionary/ArrowUpDown.d.ts.map +0 -1
- package/dist/src/iconDictionary/Calendar.d.ts +0 -16
- package/dist/src/iconDictionary/Calendar.d.ts.map +0 -1
- package/dist/src/iconDictionary/Check.d.ts +0 -16
- package/dist/src/iconDictionary/Check.d.ts.map +0 -1
- package/dist/src/iconDictionary/CheckCircleFilled.d.ts +0 -16
- package/dist/src/iconDictionary/CheckCircleFilled.d.ts.map +0 -1
- package/dist/src/iconDictionary/ChevronDown.d.ts +0 -16
- package/dist/src/iconDictionary/ChevronDown.d.ts.map +0 -1
- package/dist/src/iconDictionary/ChevronUp.d.ts +0 -16
- package/dist/src/iconDictionary/ChevronUp.d.ts.map +0 -1
- package/dist/src/iconDictionary/Close.d.ts +0 -16
- package/dist/src/iconDictionary/Close.d.ts.map +0 -1
- package/dist/src/iconDictionary/CloseCircleFilled.d.ts +0 -16
- package/dist/src/iconDictionary/CloseCircleFilled.d.ts.map +0 -1
- package/dist/src/iconDictionary/Copy.d.ts +0 -16
- package/dist/src/iconDictionary/Copy.d.ts.map +0 -1
- package/dist/src/iconDictionary/Delete.d.ts +0 -16
- package/dist/src/iconDictionary/Delete.d.ts.map +0 -1
- package/dist/src/iconDictionary/Download.d.ts +0 -16
- package/dist/src/iconDictionary/Download.d.ts.map +0 -1
- package/dist/src/iconDictionary/DragHandle.d.ts +0 -16
- package/dist/src/iconDictionary/DragHandle.d.ts.map +0 -1
- package/dist/src/iconDictionary/Edit.d.ts +0 -16
- package/dist/src/iconDictionary/Edit.d.ts.map +0 -1
- package/dist/src/iconDictionary/ExternalLink.d.ts +0 -16
- package/dist/src/iconDictionary/ExternalLink.d.ts.map +0 -1
- package/dist/src/iconDictionary/Eye.d.ts +0 -16
- package/dist/src/iconDictionary/Eye.d.ts.map +0 -1
- package/dist/src/iconDictionary/EyeOff.d.ts +0 -16
- package/dist/src/iconDictionary/EyeOff.d.ts.map +0 -1
- package/dist/src/iconDictionary/Filter.d.ts +0 -16
- package/dist/src/iconDictionary/Filter.d.ts.map +0 -1
- package/dist/src/iconDictionary/Globe.d.ts +0 -16
- package/dist/src/iconDictionary/Globe.d.ts.map +0 -1
- package/dist/src/iconDictionary/Home.d.ts +0 -16
- package/dist/src/iconDictionary/Home.d.ts.map +0 -1
- package/dist/src/iconDictionary/InformationCircle.d.ts +0 -16
- package/dist/src/iconDictionary/InformationCircle.d.ts.map +0 -1
- package/dist/src/iconDictionary/InformationCircleFilled.d.ts.map +0 -1
- package/dist/src/iconDictionary/Notification.d.ts +0 -16
- package/dist/src/iconDictionary/Notification.d.ts.map +0 -1
- package/dist/src/iconDictionary/OverflowVertical.d.ts +0 -16
- package/dist/src/iconDictionary/OverflowVertical.d.ts.map +0 -1
- package/dist/src/iconDictionary/QuestionCircle.d.ts +0 -16
- package/dist/src/iconDictionary/QuestionCircle.d.ts.map +0 -1
- package/dist/src/iconDictionary/QuestionCircleFilled.d.ts +0 -16
- package/dist/src/iconDictionary/QuestionCircleFilled.d.ts.map +0 -1
- package/dist/src/iconDictionary/Search.d.ts +0 -16
- package/dist/src/iconDictionary/Search.d.ts.map +0 -1
- package/dist/src/iconDictionary/Settings.d.ts +0 -16
- package/dist/src/iconDictionary/Settings.d.ts.map +0 -1
- package/dist/src/iconDictionary/Subtract.d.ts +0 -16
- package/dist/src/iconDictionary/Subtract.d.ts.map +0 -1
- package/dist/src/iconDictionary/SvgIcon.d.ts.map +0 -1
- package/dist/src/iconDictionary/User.d.ts +0 -16
- package/dist/src/iconDictionary/User.d.ts.map +0 -1
- package/dist/src/iconDictionary/UserGroup.d.ts +0 -16
- package/dist/src/iconDictionary/UserGroup.d.ts.map +0 -1
- package/dist/src/iconDictionary/index.d.ts +0 -94
- package/dist/src/iconDictionary/index.d.ts.map +0 -1
- package/dist/src/iconDictionary/types.d.ts.map +0 -1
- package/dist/src/properties/ts/odyssey-react-mui_nl-NL.d.ts +0 -2
- package/dist/src/properties/ts/odyssey-react-mui_nl-NL.d.ts.map +0 -1
- package/dist/src/properties/ts/odyssey-react-mui_pt-BR.d.ts +0 -2
- package/dist/src/properties/ts/odyssey-react-mui_pt-BR.d.ts.map +0 -1
- package/dist/src/properties/ts/odyssey-react-mui_zh-CN.d.ts +0 -2
- package/dist/src/properties/ts/odyssey-react-mui_zh-CN.d.ts.map +0 -1
- package/dist/src/properties/ts/odyssey-react-mui_zh-TW.d.ts +0 -2
- package/dist/src/properties/ts/odyssey-react-mui_zh-TW.d.ts.map +0 -1
- package/dist/src/theme/OdysseyTheme.d.ts.map +0 -1
- package/dist/src/theme/temp.d.ts.map +0 -1
- package/dist/src/theme/useTheme.d.ts.map +0 -1
- package/dist/theme/OdysseyTheme.js +0 -2
- package/dist/theme/OdysseyTheme.js.map +0 -1
- package/dist/theme/temp.js.map +0 -1
- package/dist/theme/useTheme.js.map +0 -1
- package/scripts/resolveIconSrcPath.cjs +0 -20
- package/src/Icon.test.tsx +0 -51
- package/src/Icon.tsx +0 -54
- package/src/a11yCheck.ts +0 -28
- package/src/iconDictionary/AlertTriangleFilled.tsx +0 -45
- package/src/iconDictionary/Anchor.tsx +0 -46
- package/src/iconDictionary/ArrowUpDown.tsx +0 -44
- package/src/iconDictionary/Calendar.tsx +0 -44
- package/src/iconDictionary/Download.tsx +0 -44
- package/src/iconDictionary/DragHandle.tsx +0 -44
- package/src/iconDictionary/EyeOff.tsx +0 -44
- package/src/iconDictionary/Home.tsx +0 -44
- package/src/iconDictionary/Settings.tsx +0 -42
- package/src/iconDictionary/UserGroup.tsx +0 -44
- package/src/iconDictionary/index.ts +0 -176
- package/src/properties/translations/odyssey-react-mui_nl-NL.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_pt-BR.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_zh-CN.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_zh-TW.properties +0 -0
- package/src/properties/ts/odyssey-react-mui_nl-NL.ts +0 -1
- package/src/properties/ts/odyssey-react-mui_pt-BR.ts +0 -1
- package/src/properties/ts/odyssey-react-mui_zh-CN.ts +0 -1
- package/src/properties/ts/odyssey-react-mui_zh-TW.ts +0 -1
- /package/dist/{iconDictionary/SvgIcon.js → SvgIcon.js} +0 -0
package/dist/theme/components.js
CHANGED
|
@@ -8,15 +8,22 @@
|
|
|
8
8
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
9
|
*
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { alertTitleClasses } from "@mui/material/AlertTitle";
|
|
14
|
+
import { buttonClasses } from "@mui/material/Button";
|
|
15
|
+
import { checkboxClasses } from "@mui/material/Checkbox";
|
|
12
16
|
import { chipClasses } from "@mui/material/Chip";
|
|
13
|
-
import { dialogActionsClasses } from "@mui/material/DialogActions";
|
|
14
17
|
import { dividerClasses } from "@mui/material/Divider";
|
|
18
|
+
import { formControlLabelClasses } from "@mui/material/FormControlLabel";
|
|
19
|
+
import { formLabelClasses } from "@mui/material/FormLabel";
|
|
15
20
|
import { inputAdornmentClasses } from "@mui/material/InputAdornment";
|
|
16
21
|
import { inputBaseClasses } from "@mui/material/InputBase";
|
|
17
22
|
import { listItemIconClasses } from "@mui/material/ListItemIcon";
|
|
18
23
|
import { listItemTextClasses } from "@mui/material/ListItemText";
|
|
19
24
|
import { menuItemClasses } from "@mui/material/MenuItem";
|
|
25
|
+
import { radioClasses } from "@mui/material/Radio";
|
|
26
|
+
import { stackClasses } from "@mui/material/Stack";
|
|
20
27
|
import { svgIconClasses } from "@mui/material/SvgIcon";
|
|
21
28
|
import { tableBodyClasses } from "@mui/material/TableBody";
|
|
22
29
|
import { tableCellClasses } from "@mui/material/TableCell";
|
|
@@ -24,756 +31,780 @@ import { tableHeadClasses } from "@mui/material/TableHead";
|
|
|
24
31
|
import { tableRowClasses } from "@mui/material/TableRow";
|
|
25
32
|
import { tableSortLabelClasses } from "@mui/material/TableSortLabel";
|
|
26
33
|
import { tooltipClasses } from "@mui/material/Tooltip";
|
|
27
|
-
import {
|
|
34
|
+
import { typographyClasses } from "@mui/material/Typography";
|
|
35
|
+
import { ArrowDownIcon, CheckCircleFilledIcon, CheckIcon, ChevronDownIcon, CloseCircleFilledIcon, CloseIcon, DangerDiamondFilledIcon, InformationCircleFilledIcon, SubtractIcon, WarningFilledIcon } from "../icons.generated/index.js";
|
|
28
36
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
29
37
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
30
|
-
export const components = {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
styleOverrides: {
|
|
41
|
-
root: _ref => {
|
|
42
|
-
let {
|
|
43
|
-
ownerState,
|
|
44
|
-
theme
|
|
45
|
-
} = _ref;
|
|
46
|
-
return {
|
|
47
|
-
padding: theme.spacing(4),
|
|
48
|
-
gap: theme.spacing(4),
|
|
49
|
-
color: theme.palette.text.primary,
|
|
50
|
-
...(ownerState.severity && {
|
|
51
|
-
backgroundColor: theme.palette[ownerState.severity].lighter,
|
|
52
|
-
borderColor: theme.palette[ownerState.severity].light
|
|
53
|
-
}),
|
|
54
|
-
...(ownerState.variant === "banner" && {
|
|
55
|
-
position: "relative",
|
|
56
|
-
justifyContent: "center",
|
|
57
|
-
alignItems: "center",
|
|
58
|
-
borderWidth: 0,
|
|
59
|
-
borderRadius: 0
|
|
60
|
-
}),
|
|
61
|
-
...(ownerState.variant === "infobox" && {
|
|
62
|
-
borderStyle: theme.mixins.borderStyle,
|
|
63
|
-
borderWidth: theme.mixins.borderWidth,
|
|
64
|
-
borderRadius: theme.mixins.borderRadius,
|
|
65
|
-
"&:not(:last-child)": {
|
|
66
|
-
marginBottom: theme.spacing(4)
|
|
67
|
-
}
|
|
68
|
-
}),
|
|
69
|
-
...(ownerState.variant === "toast" && {
|
|
70
|
-
maxWidth: theme.mixins.maxWidth,
|
|
71
|
-
borderStyle: theme.mixins.borderStyle,
|
|
72
|
-
borderWidth: theme.mixins.borderWidth,
|
|
73
|
-
borderRadius: theme.mixins.borderRadius,
|
|
74
|
-
position: "relative",
|
|
75
|
-
alignItems: "center"
|
|
76
|
-
})
|
|
77
|
-
};
|
|
38
|
+
export const components = odysseyTokens => {
|
|
39
|
+
return {
|
|
40
|
+
MuiAlert: {
|
|
41
|
+
defaultProps: {
|
|
42
|
+
iconMapping: {
|
|
43
|
+
error: _jsx(DangerDiamondFilledIcon, {}),
|
|
44
|
+
info: _jsx(InformationCircleFilledIcon, {}),
|
|
45
|
+
success: _jsx(CheckCircleFilledIcon, {}),
|
|
46
|
+
warning: _jsx(WarningFilledIcon, {})
|
|
47
|
+
}
|
|
78
48
|
},
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
49
|
+
styleOverrides: {
|
|
50
|
+
root: _ref => {
|
|
51
|
+
let {
|
|
52
|
+
ownerState
|
|
53
|
+
} = _ref;
|
|
54
|
+
return {
|
|
55
|
+
padding: odysseyTokens.Spacing4,
|
|
56
|
+
gap: odysseyTokens.Spacing4,
|
|
57
|
+
color: odysseyTokens.TypographyColorBody,
|
|
58
|
+
border: 0,
|
|
59
|
+
...(ownerState.severity === "success" && {
|
|
60
|
+
backgroundColor: odysseyTokens.HueGreen100,
|
|
61
|
+
...(ownerState.variant === "toast" && {
|
|
62
|
+
backgroundColor: odysseyTokens.HueGreen100.concat(odysseyTokens.PaletteAlphaSemi)
|
|
63
|
+
})
|
|
64
|
+
}),
|
|
65
|
+
...(ownerState.severity === "info" && {
|
|
66
|
+
backgroundColor: odysseyTokens.HueBlue100,
|
|
67
|
+
...(ownerState.variant === "toast" && {
|
|
68
|
+
backgroundColor: odysseyTokens.HueBlue100.concat(odysseyTokens.PaletteAlphaSemi)
|
|
69
|
+
})
|
|
70
|
+
}),
|
|
71
|
+
...(ownerState.severity === "error" && {
|
|
72
|
+
backgroundColor: odysseyTokens.HueRed100,
|
|
73
|
+
...(ownerState.variant === "toast" && {
|
|
74
|
+
backgroundColor: odysseyTokens.HueRed100.concat(odysseyTokens.PaletteAlphaSemi)
|
|
75
|
+
})
|
|
76
|
+
}),
|
|
77
|
+
...(ownerState.severity === "warning" && {
|
|
78
|
+
backgroundColor: odysseyTokens.HueYellow100,
|
|
79
|
+
...(ownerState.variant === "toast" && {
|
|
80
|
+
backgroundColor: odysseyTokens.HueYellow100.concat(odysseyTokens.PaletteAlphaSemi)
|
|
81
|
+
})
|
|
82
|
+
}),
|
|
83
|
+
[`& .${alertTitleClasses.root}`]: {
|
|
84
|
+
...(ownerState.severity === "success" && {
|
|
85
|
+
color: odysseyTokens.PaletteSuccessHeading
|
|
86
|
+
}),
|
|
87
|
+
...(ownerState.severity === "info" && {
|
|
88
|
+
color: odysseyTokens.PalettePrimaryHeading
|
|
89
|
+
}),
|
|
90
|
+
...(ownerState.severity === "error" && {
|
|
91
|
+
color: odysseyTokens.PaletteDangerHeading
|
|
92
|
+
}),
|
|
93
|
+
...(ownerState.severity === "warning" && {
|
|
94
|
+
color: odysseyTokens.PaletteWarningHeading
|
|
95
|
+
}),
|
|
96
|
+
...(ownerState.variant === "banner" && {
|
|
97
|
+
marginBlockEnd: 0
|
|
98
|
+
})
|
|
99
|
+
},
|
|
100
|
+
...(ownerState.variant === "banner" && {
|
|
101
|
+
position: "relative",
|
|
102
|
+
justifyContent: "center",
|
|
103
|
+
alignItems: "center",
|
|
104
|
+
borderRadius: 0,
|
|
105
|
+
...(ownerState.onClose !== undefined && {
|
|
106
|
+
paddingInline: odysseyTokens.Spacing6
|
|
107
|
+
})
|
|
108
|
+
}),
|
|
109
|
+
...(ownerState.variant === "callout" && {
|
|
110
|
+
borderRadius: odysseyTokens.BorderRadiusMain,
|
|
111
|
+
"&:not(:last-child)": {
|
|
112
|
+
marginBottom: odysseyTokens.Spacing6
|
|
113
|
+
}
|
|
114
|
+
}),
|
|
115
|
+
...(ownerState.variant === "toast" && {
|
|
116
|
+
maxWidth: odysseyTokens.TypographyLineLengthMax,
|
|
117
|
+
borderRadius: odysseyTokens.BorderRadiusOuter,
|
|
118
|
+
position: "relative",
|
|
119
|
+
alignItems: "center",
|
|
120
|
+
backdropFilter: "blur(10px)"
|
|
121
|
+
})
|
|
122
|
+
};
|
|
123
|
+
},
|
|
124
|
+
action: _ref2 => {
|
|
125
|
+
let {
|
|
126
|
+
ownerState
|
|
127
|
+
} = _ref2;
|
|
128
|
+
return {
|
|
129
|
+
...(ownerState.variant === "banner" && {
|
|
130
|
+
padding: 0,
|
|
131
|
+
marginInlineEnd: 0,
|
|
132
|
+
insetBlockStart: "50%",
|
|
133
|
+
insetInlineEnd: odysseyTokens.Spacing2,
|
|
134
|
+
position: "absolute",
|
|
135
|
+
transform: "translateY(-50%)"
|
|
136
|
+
}),
|
|
137
|
+
...(ownerState.variant === "toast" && {
|
|
138
|
+
padding: 0,
|
|
139
|
+
marginInlineStart: 0,
|
|
140
|
+
marginInlineEnd: 0
|
|
141
|
+
})
|
|
142
|
+
};
|
|
143
|
+
},
|
|
144
|
+
icon: _ref3 => {
|
|
145
|
+
let {
|
|
146
|
+
ownerState
|
|
147
|
+
} = _ref3;
|
|
148
|
+
return {
|
|
87
149
|
marginInlineEnd: 0,
|
|
88
|
-
top: "50%",
|
|
89
|
-
right: theme.spacing(4),
|
|
90
|
-
position: "absolute",
|
|
91
|
-
transform: "translateY(-50%)"
|
|
92
|
-
}),
|
|
93
|
-
...(ownerState.variant === "toast" && {
|
|
94
150
|
padding: 0,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
justifyContent: "space-between",
|
|
133
|
-
gap: theme.spacing(4)
|
|
134
|
-
}),
|
|
135
|
-
...(ownerState.variant === "toast" && {
|
|
136
|
-
flexGrow: 1
|
|
137
|
-
})
|
|
138
|
-
};
|
|
151
|
+
height: `calc(${odysseyTokens.TypographySizeHeading6} * ${odysseyTokens.TypographyLineHeightHeading6})`,
|
|
152
|
+
opacity: 1,
|
|
153
|
+
...(ownerState.severity === "info" && {
|
|
154
|
+
color: odysseyTokens.PalettePrimaryMain
|
|
155
|
+
}),
|
|
156
|
+
...(ownerState.severity === "error" && {
|
|
157
|
+
color: odysseyTokens.PaletteDangerMain
|
|
158
|
+
}),
|
|
159
|
+
...(ownerState.severity === "success" && {
|
|
160
|
+
color: odysseyTokens.PaletteSuccessMain
|
|
161
|
+
}),
|
|
162
|
+
...(ownerState.severity === "warning" && {
|
|
163
|
+
color: odysseyTokens.PaletteWarningDark
|
|
164
|
+
}),
|
|
165
|
+
[`& .${svgIconClasses.root}`]: {
|
|
166
|
+
alignSelf: "center",
|
|
167
|
+
fontSize: odysseyTokens.TypographySizeHeading6
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
},
|
|
171
|
+
message: _ref4 => {
|
|
172
|
+
let {
|
|
173
|
+
ownerState
|
|
174
|
+
} = _ref4;
|
|
175
|
+
return {
|
|
176
|
+
padding: 0,
|
|
177
|
+
overflow: "visible",
|
|
178
|
+
...(ownerState.variant === "banner" && {
|
|
179
|
+
display: "flex",
|
|
180
|
+
justifyContent: "space-between",
|
|
181
|
+
gap: odysseyTokens.Spacing4
|
|
182
|
+
}),
|
|
183
|
+
...(ownerState.variant === "toast" && {
|
|
184
|
+
flexGrow: 1
|
|
185
|
+
})
|
|
186
|
+
};
|
|
187
|
+
}
|
|
139
188
|
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
lineHeight: theme.typography.h6.lineHeight,
|
|
152
|
-
fontSize: theme.typography.h6.fontSize,
|
|
153
|
-
fontWeight: theme.typography.fontWeightBold,
|
|
154
|
-
"&:last-child": {
|
|
189
|
+
},
|
|
190
|
+
MuiAlertTitle: {
|
|
191
|
+
styleOverrides: {
|
|
192
|
+
root: {
|
|
193
|
+
marginBlockStart: 0,
|
|
194
|
+
marginBlockEnd: odysseyTokens.Spacing2,
|
|
195
|
+
lineHeight: odysseyTokens.TypographyLineHeightHeading6,
|
|
196
|
+
fontSize: odysseyTokens.TypographySizeHeading6,
|
|
197
|
+
fontWeight: odysseyTokens.TypographyWeightHeading,
|
|
198
|
+
fontFamily: odysseyTokens.TypographyFamilyHeading,
|
|
199
|
+
[`&:last-child`]: {
|
|
155
200
|
marginBlockEnd: 0
|
|
156
201
|
}
|
|
157
|
-
}
|
|
202
|
+
}
|
|
158
203
|
}
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
MuiAutocomplete: {
|
|
162
|
-
defaultProps: {
|
|
163
|
-
autoHighlight: true,
|
|
164
|
-
autoSelect: false,
|
|
165
|
-
blurOnSelect: false,
|
|
166
|
-
clearIcon: _jsx(CloseIcon, {}),
|
|
167
|
-
clearOnEscape: true,
|
|
168
|
-
disableClearable: false,
|
|
169
|
-
disabledItemsFocusable: false,
|
|
170
|
-
disableListWrap: false,
|
|
171
|
-
disablePortal: false,
|
|
172
|
-
filterSelectedOptions: false,
|
|
173
|
-
fullWidth: false,
|
|
174
|
-
handleHomeEndKeys: true,
|
|
175
|
-
includeInputInList: true,
|
|
176
|
-
limitTags: -1,
|
|
177
|
-
openOnFocus: false,
|
|
178
|
-
popupIcon: _jsx(ChevronDownIcon, {}),
|
|
179
|
-
selectOnFocus: true
|
|
180
204
|
},
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
right: theme.spacing(2),
|
|
201
|
-
maxHeight: "unset",
|
|
202
|
-
alignItems: "center",
|
|
203
|
-
whiteSpace: "nowrap",
|
|
204
|
-
color: theme.palette.action.active,
|
|
205
|
-
...(ownerState.disabled === true && {
|
|
206
|
-
display: "none"
|
|
207
|
-
}),
|
|
208
|
-
...(ownerState.readOnly === true && {
|
|
209
|
-
display: "none"
|
|
210
|
-
})
|
|
211
|
-
};
|
|
205
|
+
MuiAutocomplete: {
|
|
206
|
+
defaultProps: {
|
|
207
|
+
autoHighlight: true,
|
|
208
|
+
autoSelect: false,
|
|
209
|
+
blurOnSelect: false,
|
|
210
|
+
clearIcon: _jsx(CloseIcon, {}),
|
|
211
|
+
clearOnEscape: true,
|
|
212
|
+
disableClearable: false,
|
|
213
|
+
disabledItemsFocusable: false,
|
|
214
|
+
disableListWrap: false,
|
|
215
|
+
disablePortal: false,
|
|
216
|
+
filterSelectedOptions: false,
|
|
217
|
+
fullWidth: false,
|
|
218
|
+
handleHomeEndKeys: true,
|
|
219
|
+
includeInputInList: true,
|
|
220
|
+
limitTags: -1,
|
|
221
|
+
openOnFocus: false,
|
|
222
|
+
popupIcon: _jsx(ChevronDownIcon, {}),
|
|
223
|
+
selectOnFocus: true
|
|
212
224
|
},
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
225
|
+
styleOverrides: {
|
|
226
|
+
clearIndicator: {
|
|
227
|
+
marginRight: "unset",
|
|
228
|
+
padding: odysseyTokens.Spacing1
|
|
229
|
+
},
|
|
230
|
+
endAdornment: _ref5 => {
|
|
231
|
+
let {
|
|
232
|
+
ownerState
|
|
233
|
+
} = _ref5;
|
|
234
|
+
return {
|
|
235
|
+
display: "flex",
|
|
236
|
+
gap: odysseyTokens.Spacing1,
|
|
237
|
+
top: "unset",
|
|
238
|
+
right: "unset",
|
|
239
|
+
insetBlockStart: odysseyTokens.Spacing2,
|
|
240
|
+
insetInlineEnd: odysseyTokens.Spacing2,
|
|
241
|
+
maxHeight: "unset",
|
|
242
|
+
alignItems: "center",
|
|
243
|
+
whiteSpace: "nowrap",
|
|
244
|
+
color: odysseyTokens.TypographyColorSubordinate,
|
|
245
|
+
...(ownerState.disabled === true && {
|
|
246
|
+
display: "none"
|
|
247
|
+
}),
|
|
248
|
+
...(ownerState.readOnly === true && {
|
|
249
|
+
display: "none"
|
|
250
|
+
})
|
|
251
|
+
};
|
|
252
|
+
},
|
|
253
|
+
listbox: {
|
|
254
|
+
paddingBlock: odysseyTokens.Spacing2,
|
|
255
|
+
paddingInline: odysseyTokens.Spacing2,
|
|
256
|
+
borderRadius: odysseyTokens.BorderRadiusMain
|
|
257
|
+
},
|
|
258
|
+
loading: {
|
|
259
|
+
paddingBlock: odysseyTokens.Spacing3,
|
|
260
|
+
paddingInline: odysseyTokens.Spacing4
|
|
261
|
+
},
|
|
262
|
+
option: {
|
|
263
|
+
paddingBlock: odysseyTokens.Spacing3,
|
|
264
|
+
borderRadius: odysseyTokens.BorderRadiusTight
|
|
265
|
+
},
|
|
266
|
+
popupIndicator: {
|
|
267
|
+
padding: odysseyTokens.Spacing1,
|
|
228
268
|
marginRight: "unset"
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
};
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
MuiBackdrop: {
|
|
248
|
-
styleOverrides: {
|
|
249
|
-
root: _ref11 => {
|
|
250
|
-
let {
|
|
251
|
-
ownerState
|
|
252
|
-
} = _ref11;
|
|
253
|
-
return {
|
|
254
|
-
backgroundColor: "rgba(29,29,33,0.75)",
|
|
255
|
-
...(ownerState.invisible === true && {
|
|
256
|
-
backgroundColor: "transparent"
|
|
257
|
-
})
|
|
258
|
-
};
|
|
269
|
+
},
|
|
270
|
+
inputRoot: _ref6 => {
|
|
271
|
+
let {
|
|
272
|
+
ownerState
|
|
273
|
+
} = _ref6;
|
|
274
|
+
return {
|
|
275
|
+
...(ownerState.readOnly === true && {
|
|
276
|
+
backgroundColor: odysseyTokens.HueNeutral50,
|
|
277
|
+
[`&:not(:hover)`]: {
|
|
278
|
+
borderColor: "transparent"
|
|
279
|
+
}
|
|
280
|
+
})
|
|
281
|
+
};
|
|
282
|
+
}
|
|
259
283
|
}
|
|
260
|
-
}
|
|
261
|
-
},
|
|
262
|
-
MuiButton: {
|
|
263
|
-
defaultProps: {
|
|
264
|
-
variant: "primary",
|
|
265
|
-
disableElevation: true
|
|
266
284
|
},
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
"&:hover, &:focus-visible": {
|
|
281
|
-
backgroundColor: theme.palette.primary.dark
|
|
282
|
-
},
|
|
283
|
-
"&:active": {
|
|
284
|
-
backgroundColor: theme.palette.primary.main
|
|
285
|
-
},
|
|
286
|
-
"&:disabled": {
|
|
287
|
-
color: theme.palette.common.white,
|
|
288
|
-
backgroundColor: theme.palette.primary.light,
|
|
289
|
-
pointerEvents: "initial"
|
|
290
|
-
}
|
|
291
|
-
};
|
|
292
|
-
}
|
|
293
|
-
}, {
|
|
294
|
-
props: {
|
|
295
|
-
variant: "secondary"
|
|
296
|
-
},
|
|
297
|
-
style: _ref13 => {
|
|
298
|
-
let {
|
|
299
|
-
theme
|
|
300
|
-
} = _ref13;
|
|
301
|
-
return {
|
|
302
|
-
backgroundColor: theme.palette.grey[50],
|
|
303
|
-
borderColor: theme.palette.grey[200],
|
|
304
|
-
color: theme.palette.text.primary,
|
|
305
|
-
"&:hover, &:focus-visible": {
|
|
306
|
-
backgroundColor: theme.palette.primary.lighter,
|
|
307
|
-
borderColor: theme.palette.primary.light,
|
|
308
|
-
color: theme.palette.primary.main
|
|
309
|
-
},
|
|
310
|
-
"&:active": {
|
|
311
|
-
borderColor: theme.palette.primary.main
|
|
312
|
-
},
|
|
313
|
-
"&:disabled": {
|
|
314
|
-
borderColor: theme.palette.grey[100],
|
|
315
|
-
backgroundColor: theme.palette.grey[100],
|
|
316
|
-
color: theme.palette.grey[500]
|
|
317
|
-
}
|
|
318
|
-
};
|
|
319
|
-
}
|
|
320
|
-
}, {
|
|
321
|
-
props: {
|
|
322
|
-
variant: "danger"
|
|
323
|
-
},
|
|
324
|
-
style: _ref14 => {
|
|
325
|
-
let {
|
|
326
|
-
theme
|
|
327
|
-
} = _ref14;
|
|
328
|
-
return {
|
|
329
|
-
backgroundColor: theme.palette.error.main,
|
|
330
|
-
color: theme.palette.common.white,
|
|
331
|
-
borderColor: "transparent",
|
|
332
|
-
"&:hover": {
|
|
333
|
-
backgroundColor: theme.palette.error.dark
|
|
334
|
-
},
|
|
335
|
-
"&:focus-visible": {
|
|
336
|
-
boxShadow: `0 0 0 2px ${theme.palette.background.default}, 0 0 0 4px ${theme.palette.error.main}`,
|
|
337
|
-
backgroundColor: theme.palette.error.dark
|
|
338
|
-
},
|
|
339
|
-
"&:active": {
|
|
340
|
-
backgroundColor: theme.palette.error.main
|
|
341
|
-
},
|
|
342
|
-
"&:disabled": {
|
|
343
|
-
color: theme.palette.common.white,
|
|
344
|
-
backgroundColor: theme.palette.error.light
|
|
345
|
-
}
|
|
346
|
-
};
|
|
347
|
-
}
|
|
348
|
-
}, {
|
|
349
|
-
props: {
|
|
350
|
-
variant: "floating"
|
|
351
|
-
},
|
|
352
|
-
style: _ref15 => {
|
|
353
|
-
let {
|
|
354
|
-
theme
|
|
355
|
-
} = _ref15;
|
|
356
|
-
return {
|
|
357
|
-
backgroundColor: "transparent",
|
|
358
|
-
color: theme.palette.text.primary,
|
|
359
|
-
borderColor: "transparent",
|
|
360
|
-
"&:hover, &:focus-visible": {
|
|
361
|
-
backgroundColor: "rgba(29, 29, 33, 0.1)",
|
|
362
|
-
borderColor: "transparent"
|
|
363
|
-
},
|
|
364
|
-
"&:active": {
|
|
365
|
-
backgroundColor: "rgba(29, 29, 33, 0.2)",
|
|
366
|
-
borderColor: "transparent"
|
|
367
|
-
},
|
|
368
|
-
"&:disabled": {
|
|
369
|
-
backgroundColor: "transparent",
|
|
370
|
-
color: theme.palette.text.secondary,
|
|
371
|
-
borderColor: "transparent"
|
|
372
|
-
}
|
|
373
|
-
};
|
|
374
|
-
}
|
|
375
|
-
}, {
|
|
376
|
-
props: {
|
|
377
|
-
size: "small"
|
|
378
|
-
},
|
|
379
|
-
style: _ref16 => {
|
|
380
|
-
let {
|
|
381
|
-
theme
|
|
382
|
-
} = _ref16;
|
|
383
|
-
return {
|
|
384
|
-
paddingBlock: `calc(${theme.spacing(2)} - 1px)`,
|
|
385
|
-
paddingInline: `calc(${theme.spacing(2)} - 1px)`,
|
|
386
|
-
fontSize: "1rem"
|
|
387
|
-
};
|
|
388
|
-
}
|
|
389
|
-
}, {
|
|
390
|
-
props: {
|
|
391
|
-
size: "large"
|
|
392
|
-
},
|
|
393
|
-
style: _ref17 => {
|
|
394
|
-
let {
|
|
395
|
-
theme
|
|
396
|
-
} = _ref17;
|
|
397
|
-
return {
|
|
398
|
-
paddingBlock: `calc(${theme.spacing(4)} - 1px)`,
|
|
399
|
-
paddingInline: `calc(${theme.spacing(4)} - 1px)`
|
|
400
|
-
};
|
|
401
|
-
}
|
|
402
|
-
}, {
|
|
403
|
-
props: {
|
|
404
|
-
fullWidth: true
|
|
405
|
-
},
|
|
406
|
-
style: _ref18 => {
|
|
407
|
-
let {
|
|
408
|
-
theme
|
|
409
|
-
} = _ref18;
|
|
410
|
-
return {
|
|
411
|
-
display: "block",
|
|
412
|
-
width: "100%",
|
|
413
|
-
marginBlock: "0",
|
|
414
|
-
marginInline: "0",
|
|
415
|
-
"&:not(:last-child)": {
|
|
416
|
-
marginBlockEnd: theme.spacing(4)
|
|
417
|
-
}
|
|
418
|
-
};
|
|
285
|
+
MuiBackdrop: {
|
|
286
|
+
styleOverrides: {
|
|
287
|
+
root: _ref7 => {
|
|
288
|
+
let {
|
|
289
|
+
ownerState
|
|
290
|
+
} = _ref7;
|
|
291
|
+
return {
|
|
292
|
+
backgroundColor: "rgba(29,29,33,0.75)",
|
|
293
|
+
...(ownerState.invisible === true && {
|
|
294
|
+
backgroundColor: "transparent"
|
|
295
|
+
})
|
|
296
|
+
};
|
|
297
|
+
}
|
|
419
298
|
}
|
|
420
|
-
},
|
|
421
|
-
|
|
422
|
-
|
|
299
|
+
},
|
|
300
|
+
MuiButton: {
|
|
301
|
+
defaultProps: {
|
|
302
|
+
variant: "primary",
|
|
303
|
+
disableElevation: true
|
|
423
304
|
},
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
305
|
+
styleOverrides: {
|
|
306
|
+
root: _ref8 => {
|
|
307
|
+
let {
|
|
308
|
+
ownerState
|
|
309
|
+
} = _ref8;
|
|
310
|
+
return {
|
|
311
|
+
minWidth: "unset",
|
|
312
|
+
paddingBlock: odysseyTokens.Spacing3,
|
|
313
|
+
paddingInline: odysseyTokens.Spacing4,
|
|
314
|
+
display: "inline-flex",
|
|
315
|
+
position: "relative",
|
|
316
|
+
marginBlock: "0",
|
|
317
|
+
marginInline: "0",
|
|
318
|
+
transitionProperty: "color, background-color, border-color, box-shadow",
|
|
319
|
+
transitionDuration: "100ms",
|
|
320
|
+
transitionTimingFunction: "linear",
|
|
321
|
+
borderWidth: odysseyTokens.BorderWidthMain,
|
|
322
|
+
borderStyle: odysseyTokens.BorderStyleMain,
|
|
323
|
+
borderRadius: odysseyTokens.BorderRadiusMain,
|
|
324
|
+
borderColor: "transparent",
|
|
325
|
+
fontSize: odysseyTokens.TypographySizeBody,
|
|
326
|
+
fontWeight: odysseyTokens.TypographyWeightBodyBold,
|
|
327
|
+
fontFamily: odysseyTokens.TypographyFamilyButton,
|
|
328
|
+
lineHeight: odysseyTokens.TypographyLineHeightUi,
|
|
329
|
+
whiteSpace: "nowrap",
|
|
330
|
+
[`.${buttonClasses.root} + &`]: {
|
|
331
|
+
marginInlineStart: odysseyTokens.Spacing2
|
|
332
|
+
},
|
|
333
|
+
"&:focus-visible": {
|
|
334
|
+
boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PalettePrimaryMain}`,
|
|
335
|
+
outline: "2px solid transparent",
|
|
336
|
+
outlineOffset: "1px"
|
|
337
|
+
},
|
|
338
|
+
"&:disabled": {
|
|
339
|
+
pointerEvents: "none"
|
|
340
|
+
},
|
|
341
|
+
[`.${buttonClasses.startIcon}, .${buttonClasses.endIcon}`]: {
|
|
342
|
+
"& > *:nth-of-type(1)": {
|
|
343
|
+
fontSize: `${odysseyTokens.TypographyLineHeightUi}em`
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
...(ownerState.variant === "primary" && {
|
|
347
|
+
color: odysseyTokens.HueNeutralWhite,
|
|
348
|
+
backgroundColor: odysseyTokens.PalettePrimaryMain,
|
|
349
|
+
"&:hover": {
|
|
350
|
+
backgroundColor: odysseyTokens.PalettePrimaryDark
|
|
351
|
+
},
|
|
352
|
+
"&:active": {
|
|
353
|
+
backgroundColor: odysseyTokens.PalettePrimaryDarker
|
|
354
|
+
},
|
|
355
|
+
"&:disabled": {
|
|
356
|
+
color: odysseyTokens.PalettePrimaryLight,
|
|
357
|
+
backgroundColor: odysseyTokens.HueBlue100
|
|
358
|
+
}
|
|
359
|
+
}),
|
|
360
|
+
...(ownerState.variant === "secondary" && {
|
|
361
|
+
backgroundColor: odysseyTokens.HueBlue100,
|
|
362
|
+
color: odysseyTokens.PalettePrimaryDark,
|
|
363
|
+
"&:hover": {
|
|
364
|
+
backgroundColor: odysseyTokens.HueBlue200,
|
|
365
|
+
color: odysseyTokens.HueBlue800
|
|
366
|
+
},
|
|
367
|
+
"&:active": {
|
|
368
|
+
backgroundColor: odysseyTokens.PalettePrimaryLight,
|
|
369
|
+
color: odysseyTokens.HueBlue800
|
|
370
|
+
},
|
|
371
|
+
"&:disabled": {
|
|
372
|
+
backgroundColor: odysseyTokens.HueNeutral100,
|
|
373
|
+
color: odysseyTokens.TypographyColorDisabled
|
|
374
|
+
}
|
|
375
|
+
}),
|
|
376
|
+
...(ownerState.variant === "tertiary" && {
|
|
377
|
+
backgroundColor: odysseyTokens.HueNeutral100,
|
|
378
|
+
color: odysseyTokens.HueNeutral700,
|
|
379
|
+
"&:hover": {
|
|
380
|
+
backgroundColor: odysseyTokens.HueNeutral200,
|
|
381
|
+
color: odysseyTokens.HueNeutral800
|
|
382
|
+
},
|
|
383
|
+
"&:active": {
|
|
384
|
+
backgroundColor: odysseyTokens.HueNeutral300,
|
|
385
|
+
color: odysseyTokens.HueNeutral800
|
|
386
|
+
},
|
|
387
|
+
"&:disabled": {
|
|
388
|
+
backgroundColor: odysseyTokens.HueNeutral100,
|
|
389
|
+
color: odysseyTokens.TypographyColorDisabled
|
|
390
|
+
}
|
|
391
|
+
}),
|
|
392
|
+
...(ownerState.variant === "danger" && {
|
|
393
|
+
backgroundColor: odysseyTokens.PaletteDangerMain,
|
|
394
|
+
color: odysseyTokens.HueNeutralWhite,
|
|
395
|
+
"&:hover": {
|
|
396
|
+
backgroundColor: odysseyTokens.PaletteDangerDark
|
|
397
|
+
},
|
|
398
|
+
"&:focus-visible": {
|
|
399
|
+
boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PaletteDangerMain}`
|
|
400
|
+
},
|
|
401
|
+
"&:active": {
|
|
402
|
+
backgroundColor: odysseyTokens.PaletteDangerDarker
|
|
403
|
+
},
|
|
404
|
+
"&:disabled": {
|
|
405
|
+
color: odysseyTokens.PaletteDangerLight,
|
|
406
|
+
backgroundColor: odysseyTokens.HueRed100
|
|
407
|
+
}
|
|
408
|
+
}),
|
|
409
|
+
...(ownerState.variant === "floating" && {
|
|
410
|
+
backgroundColor: "transparent",
|
|
411
|
+
color: odysseyTokens.TypographyColorBody,
|
|
412
|
+
"&:hover": {
|
|
413
|
+
backgroundColor: odysseyTokens.HueNeutral100
|
|
414
|
+
},
|
|
415
|
+
"&:active": {
|
|
416
|
+
backgroundColor: odysseyTokens.HueNeutral200
|
|
417
|
+
},
|
|
418
|
+
"&:disabled": {
|
|
419
|
+
backgroundColor: "transparent",
|
|
420
|
+
color: odysseyTokens.TypographyColorDisabled
|
|
421
|
+
}
|
|
422
|
+
}),
|
|
423
|
+
...(ownerState.size === "small" && {
|
|
424
|
+
paddingBlock: odysseyTokens.Spacing2,
|
|
425
|
+
paddingInline: odysseyTokens.Spacing3,
|
|
426
|
+
fontSize: odysseyTokens.TypographySizeBody
|
|
427
|
+
}),
|
|
428
|
+
...(ownerState.size === "large" && {
|
|
429
|
+
paddingBlock: odysseyTokens.Spacing4,
|
|
430
|
+
paddingInline: odysseyTokens.Spacing4
|
|
431
|
+
}),
|
|
432
|
+
...(ownerState.fullWidth === true && {
|
|
433
|
+
display: "block",
|
|
434
|
+
width: "100%",
|
|
435
|
+
marginBlock: "0",
|
|
436
|
+
marginInline: "0",
|
|
437
|
+
"&:not(:last-child)": {
|
|
438
|
+
marginBlockEnd: odysseyTokens.Spacing4
|
|
439
|
+
}
|
|
440
|
+
}),
|
|
441
|
+
...(ownerState.children === "" && {
|
|
442
|
+
minWidth: "auto",
|
|
443
|
+
padding: odysseyTokens.Spacing3,
|
|
444
|
+
[`.${buttonClasses.endIcon}, .${buttonClasses.startIcon}`]: {
|
|
445
|
+
margin: "0"
|
|
446
|
+
},
|
|
447
|
+
...(ownerState.size === "small" && {
|
|
448
|
+
padding: odysseyTokens.Spacing2
|
|
449
|
+
})
|
|
450
|
+
})
|
|
451
|
+
};
|
|
452
|
+
},
|
|
453
|
+
endIcon: _ref9 => {
|
|
454
|
+
let {
|
|
455
|
+
ownerState
|
|
456
|
+
} = _ref9;
|
|
457
|
+
return {
|
|
458
|
+
display: "inline-flex",
|
|
459
|
+
margin: 0,
|
|
460
|
+
marginInlineStart: odysseyTokens.Spacing2,
|
|
461
|
+
...(ownerState.children === undefined && {
|
|
462
|
+
marginInlineStart: 0
|
|
463
|
+
})
|
|
464
|
+
};
|
|
465
|
+
},
|
|
466
|
+
startIcon: _ref10 => {
|
|
467
|
+
let {
|
|
468
|
+
ownerState
|
|
469
|
+
} = _ref10;
|
|
470
|
+
return {
|
|
471
|
+
display: "inline-flex",
|
|
472
|
+
margin: 0,
|
|
473
|
+
marginInlineEnd: odysseyTokens.Spacing2,
|
|
474
|
+
...(ownerState.children === undefined && {
|
|
475
|
+
marginInlineEnd: 0
|
|
476
|
+
})
|
|
477
|
+
};
|
|
428
478
|
}
|
|
429
479
|
}
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
theme
|
|
435
|
-
} = _ref19;
|
|
436
|
-
return {
|
|
437
|
-
fontWeight: 600,
|
|
438
|
-
minWidth: "unset",
|
|
439
|
-
padding: `calc(${theme.spacing(3)} - 1px) ${theme.spacing(3)}`,
|
|
440
|
-
display: "inline-flex",
|
|
441
|
-
position: "relative",
|
|
442
|
-
marginBlock: "0",
|
|
443
|
-
marginInline: "0",
|
|
444
|
-
transitionProperty: "color, background-color, border-color, box-shadow",
|
|
445
|
-
transitionDuration: "100ms",
|
|
446
|
-
transitionTimingFunction: "linear",
|
|
447
|
-
borderWidth: theme.mixins.borderWidth,
|
|
448
|
-
borderStyle: theme.mixins.borderStyle,
|
|
449
|
-
borderRadius: theme.mixins.borderRadius,
|
|
450
|
-
fontSize: theme.typography.body1.fontSize,
|
|
451
|
-
lineHeight: theme.typography.ui.lineHeight,
|
|
452
|
-
whiteSpace: "nowrap",
|
|
453
|
-
".MuiButton-root + &": {
|
|
454
|
-
marginInlineStart: theme.spacing(2)
|
|
455
|
-
},
|
|
456
|
-
"&:focus-visible": {
|
|
457
|
-
boxShadow: `0 0 0 2px ${theme.palette.background.default}, 0 0 0 4px ${theme.palette.primary.main}`,
|
|
458
|
-
outline: "2px solid transparent",
|
|
459
|
-
outlineOffset: "1px"
|
|
460
|
-
},
|
|
461
|
-
"&:disabled": {
|
|
462
|
-
cursor: "not-allowed",
|
|
463
|
-
pointerEvents: "initial"
|
|
464
|
-
},
|
|
465
|
-
"&:disabled:active": {
|
|
466
|
-
pointerEvents: "none"
|
|
467
|
-
},
|
|
468
|
-
[`.${buttonClasses.startIcon}, .${buttonClasses.endIcon}`]: {
|
|
469
|
-
"& > *:nth-of-type(1)": {
|
|
470
|
-
fontSize: `${theme.typography.ui.lineHeight}em`
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
};
|
|
474
|
-
},
|
|
475
|
-
endIcon: _ref20 => {
|
|
476
|
-
let {
|
|
477
|
-
theme,
|
|
478
|
-
ownerState
|
|
479
|
-
} = _ref20;
|
|
480
|
-
return {
|
|
481
|
-
display: "inline-flex",
|
|
482
|
-
margin: 0,
|
|
483
|
-
marginInlineStart: theme.spacing(2),
|
|
484
|
-
...(ownerState.children === undefined && {
|
|
485
|
-
marginInlineStart: 0
|
|
486
|
-
})
|
|
487
|
-
};
|
|
488
|
-
},
|
|
489
|
-
startIcon: _ref21 => {
|
|
490
|
-
let {
|
|
491
|
-
theme,
|
|
492
|
-
ownerState
|
|
493
|
-
} = _ref21;
|
|
494
|
-
return {
|
|
495
|
-
display: "inline-flex",
|
|
496
|
-
margin: 0,
|
|
497
|
-
marginInlineEnd: theme.spacing(2),
|
|
498
|
-
...(ownerState.children === undefined && {
|
|
499
|
-
marginInlineEnd: 0
|
|
500
|
-
})
|
|
501
|
-
};
|
|
480
|
+
},
|
|
481
|
+
MuiButtonBase: {
|
|
482
|
+
defaultProps: {
|
|
483
|
+
disableRipple: true
|
|
502
484
|
}
|
|
503
|
-
}
|
|
504
|
-
},
|
|
505
|
-
MuiButtonBase: {
|
|
506
|
-
defaultProps: {
|
|
507
|
-
disableRipple: true
|
|
508
|
-
}
|
|
509
|
-
},
|
|
510
|
-
MuiCheckbox: {
|
|
511
|
-
defaultProps: {
|
|
512
|
-
size: "small",
|
|
513
|
-
icon: _jsx(_Fragment, {}),
|
|
514
|
-
checkedIcon: _jsx(CheckIcon, {}),
|
|
515
|
-
indeterminateIcon: _jsx(SubtractIcon, {})
|
|
516
485
|
},
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
}
|
|
547
|
-
},
|
|
548
|
-
".MuiFormControlLabel-root:hover > &": {
|
|
549
|
-
backgroundColor: "transparent",
|
|
550
|
-
borderColor: theme.palette.grey[900]
|
|
551
|
-
},
|
|
552
|
-
".Mui-error:not(.Mui-valid):hover > &": {
|
|
553
|
-
borderColor: theme.palette.error.dark,
|
|
554
|
-
"&.Mui-checked": {
|
|
555
|
-
backgroundColor: theme.palette.error.dark,
|
|
556
|
-
borderColor: theme.palette.error.dark
|
|
557
|
-
}
|
|
558
|
-
},
|
|
559
|
-
".Mui-error:not(.Mui-valid) > &": {
|
|
560
|
-
borderColor: theme.palette.error.main,
|
|
486
|
+
MuiCheckbox: {
|
|
487
|
+
defaultProps: {
|
|
488
|
+
size: "small",
|
|
489
|
+
icon: _jsx(_Fragment, {}),
|
|
490
|
+
checkedIcon: _jsx(CheckIcon, {}),
|
|
491
|
+
indeterminateIcon: _jsx(SubtractIcon, {})
|
|
492
|
+
},
|
|
493
|
+
styleOverrides: {
|
|
494
|
+
root: _ref11 => {
|
|
495
|
+
let {
|
|
496
|
+
theme
|
|
497
|
+
} = _ref11;
|
|
498
|
+
return {
|
|
499
|
+
width: `${odysseyTokens.TypographyLineHeightUi}em`,
|
|
500
|
+
height: `${odysseyTokens.TypographyLineHeightUi}em`,
|
|
501
|
+
borderRadius: odysseyTokens.BorderRadiusTight,
|
|
502
|
+
borderWidth: odysseyTokens.BorderWidthMain,
|
|
503
|
+
borderStyle: odysseyTokens.BorderStyleMain,
|
|
504
|
+
borderColor: odysseyTokens.HueNeutral500,
|
|
505
|
+
padding: 0,
|
|
506
|
+
boxShadow: `0 0 0 0 transparent`,
|
|
507
|
+
transition: theme.transitions.create(["border-color", "background-color", "box-shadow"], {
|
|
508
|
+
duration: odysseyTokens.TransitionDurationMain
|
|
509
|
+
}),
|
|
510
|
+
[`.${svgIconClasses.root}`]: {
|
|
511
|
+
color: odysseyTokens.HueNeutralWhite,
|
|
512
|
+
transition: theme.transitions.create(["color"], {
|
|
513
|
+
duration: odysseyTokens.TransitionDurationMain
|
|
514
|
+
})
|
|
515
|
+
},
|
|
561
516
|
"&.Mui-checked": {
|
|
562
|
-
backgroundColor:
|
|
563
|
-
borderColor:
|
|
517
|
+
backgroundColor: odysseyTokens.PalettePrimaryMain,
|
|
518
|
+
borderColor: odysseyTokens.PalettePrimaryMain,
|
|
519
|
+
[`.${formControlLabelClasses.root}:hover > &`]: {
|
|
520
|
+
backgroundColor: odysseyTokens.PalettePrimaryDark,
|
|
521
|
+
borderColor: odysseyTokens.PalettePrimaryDark
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
[`.${formControlLabelClasses.root}:hover > &`]: {
|
|
525
|
+
backgroundColor: "transparent",
|
|
526
|
+
borderColor: odysseyTokens.HueNeutral900
|
|
527
|
+
},
|
|
528
|
+
".Mui-error:not(.Mui-valid):hover > &": {
|
|
529
|
+
borderColor: odysseyTokens.BorderColorDangerDark,
|
|
530
|
+
"&.Mui-checked": {
|
|
531
|
+
backgroundColor: odysseyTokens.PaletteDangerDark,
|
|
532
|
+
borderColor: odysseyTokens.BorderColorDangerDark
|
|
533
|
+
}
|
|
564
534
|
},
|
|
565
|
-
"&.Mui-focusVisible": {
|
|
566
|
-
boxShadow: `0 0 0 2px ${theme.palette.background.default}, 0 0 0 4px ${theme.palette.error.main}`
|
|
567
|
-
}
|
|
568
|
-
},
|
|
569
|
-
"&.Mui-focusVisible": {
|
|
570
|
-
borderColor: theme.palette.grey[900],
|
|
571
|
-
boxShadow: `0 0 0 2px ${theme.palette.background.default}, 0 0 0 4px ${theme.palette.primary.main}`,
|
|
572
|
-
outline: "2px solid transparent",
|
|
573
|
-
outlineOffset: "1px"
|
|
574
|
-
},
|
|
575
|
-
"&.Mui-disabled": {
|
|
576
|
-
backgroundColor: theme.palette.grey[50],
|
|
577
|
-
borderColor: theme.palette.grey[300],
|
|
578
535
|
".Mui-error:not(.Mui-valid) > &": {
|
|
579
|
-
|
|
580
|
-
|
|
536
|
+
borderColor: odysseyTokens.BorderColorDangerControl,
|
|
537
|
+
"&.Mui-checked": {
|
|
538
|
+
backgroundColor: odysseyTokens.PaletteDangerMain,
|
|
539
|
+
borderColor: odysseyTokens.BorderColorDangerControl
|
|
540
|
+
},
|
|
541
|
+
"&.Mui-focusVisible": {
|
|
542
|
+
boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PaletteDangerMain}`
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
"&.Mui-focusVisible": {
|
|
546
|
+
borderColor: odysseyTokens.HueNeutral900,
|
|
547
|
+
boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PalettePrimaryMain}`,
|
|
548
|
+
outline: "2px solid transparent",
|
|
549
|
+
outlineOffset: "1px"
|
|
581
550
|
},
|
|
582
|
-
"
|
|
583
|
-
|
|
551
|
+
"&.Mui-disabled": {
|
|
552
|
+
backgroundColor: odysseyTokens.HueNeutral50,
|
|
553
|
+
borderColor: odysseyTokens.HueNeutral300,
|
|
554
|
+
".Mui-error:not(.Mui-valid) > &": {
|
|
555
|
+
backgroundColor: odysseyTokens.HueNeutral50,
|
|
556
|
+
borderColor: odysseyTokens.HueNeutral300
|
|
557
|
+
},
|
|
558
|
+
[`.${svgIconClasses.root}`]: {
|
|
559
|
+
color: odysseyTokens.HueNeutral900
|
|
560
|
+
}
|
|
584
561
|
}
|
|
585
|
-
}
|
|
586
|
-
}
|
|
562
|
+
};
|
|
563
|
+
}
|
|
587
564
|
}
|
|
588
|
-
}
|
|
589
|
-
},
|
|
590
|
-
MuiChip: {
|
|
591
|
-
defaultProps: {
|
|
592
|
-
deleteIcon: _jsx(CloseCircleFilledIcon, {})
|
|
593
565
|
},
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
outlineColor: theme.palette.primary.main,
|
|
624
|
-
outlineOffset: "2px",
|
|
625
|
-
outlineStyle: "solid",
|
|
626
|
-
outlineWidth: "2px"
|
|
627
|
-
},
|
|
628
|
-
"&:active": {
|
|
629
|
-
boxShadow: "none",
|
|
630
|
-
backgroundColor: theme.palette.grey[300]
|
|
631
|
-
}
|
|
632
|
-
}),
|
|
633
|
-
...(ownerState.variant === "status" && {
|
|
634
|
-
paddingBlock: 0,
|
|
635
|
-
paddingInline: 0,
|
|
636
|
-
borderRadius: 0,
|
|
637
|
-
backgroundColor: "transparent",
|
|
638
|
-
color: theme.palette.text.primary,
|
|
639
|
-
"&::before": {
|
|
640
|
-
content: "''",
|
|
641
|
-
width: ".57em",
|
|
642
|
-
height: ".57em",
|
|
643
|
-
marginInlineEnd: theme.spacing(2),
|
|
644
|
-
borderRadius: "100%",
|
|
645
|
-
backgroundColor: theme.palette.text.secondary
|
|
566
|
+
MuiChip: {
|
|
567
|
+
defaultProps: {
|
|
568
|
+
deleteIcon: _jsx(CloseCircleFilledIcon, {})
|
|
569
|
+
},
|
|
570
|
+
styleOverrides: {
|
|
571
|
+
root: _ref12 => {
|
|
572
|
+
let {
|
|
573
|
+
ownerState
|
|
574
|
+
} = _ref12;
|
|
575
|
+
return {
|
|
576
|
+
height: "auto",
|
|
577
|
+
paddingBlock: `calc(${odysseyTokens.Spacing2} - ${odysseyTokens.BorderWidthMain})`,
|
|
578
|
+
paddingInline: odysseyTokens.Spacing3,
|
|
579
|
+
fontSize: odysseyTokens.TypographySizeBody,
|
|
580
|
+
lineHeight: odysseyTokens.TypographyLineHeightUi,
|
|
581
|
+
borderRadius: odysseyTokens.BorderRadiusRound,
|
|
582
|
+
backgroundColor: odysseyTokens.HueNeutral100,
|
|
583
|
+
borderWidth: odysseyTokens.BorderWidthMain,
|
|
584
|
+
borderColor: odysseyTokens.HueNeutral200,
|
|
585
|
+
borderStyle: odysseyTokens.BorderStyleMain,
|
|
586
|
+
color: odysseyTokens.HueNeutral700,
|
|
587
|
+
...(ownerState.onDelete && {
|
|
588
|
+
paddingInlineEnd: odysseyTokens.Spacing2
|
|
589
|
+
}),
|
|
590
|
+
[`&.${chipClasses.disabled}`]: {
|
|
591
|
+
opacity: 1,
|
|
592
|
+
pointerEvents: "none",
|
|
593
|
+
backgroundColor: odysseyTokens.HueNeutral50,
|
|
594
|
+
color: odysseyTokens.TypographyColorDisabled
|
|
646
595
|
},
|
|
647
|
-
|
|
648
|
-
"
|
|
649
|
-
backgroundColor:
|
|
596
|
+
...(ownerState.clickable && {
|
|
597
|
+
"&:hover": {
|
|
598
|
+
backgroundColor: odysseyTokens.HueNeutral200
|
|
599
|
+
},
|
|
600
|
+
[`&.${chipClasses.focusVisible}`]: {
|
|
601
|
+
backgroundColor: odysseyTokens.HueNeutral200,
|
|
602
|
+
outlineColor: odysseyTokens.FocusOutlineColorPrimary,
|
|
603
|
+
outlineOffset: odysseyTokens.FocusOutlineOffsetTight,
|
|
604
|
+
outlineStyle: odysseyTokens.FocusOutlineStyle,
|
|
605
|
+
outlineWidth: odysseyTokens.FocusOutlineWidthMain
|
|
606
|
+
},
|
|
607
|
+
"&:active": {
|
|
608
|
+
boxShadow: "none",
|
|
609
|
+
backgroundColor: odysseyTokens.HueNeutral300
|
|
650
610
|
}
|
|
611
|
+
}),
|
|
612
|
+
[`& .${chipClasses.icon}`]: {
|
|
613
|
+
margin: 0,
|
|
614
|
+
marginInlineEnd: odysseyTokens.Spacing1
|
|
651
615
|
},
|
|
652
|
-
|
|
616
|
+
...(ownerState.variant === "lamp" && {
|
|
617
|
+
paddingBlock: 0,
|
|
618
|
+
paddingInline: 0,
|
|
619
|
+
borderRadius: 0,
|
|
620
|
+
border: 0,
|
|
621
|
+
backgroundColor: "transparent",
|
|
622
|
+
color: odysseyTokens.TypographyColorBody,
|
|
653
623
|
"&::before": {
|
|
654
|
-
|
|
624
|
+
content: "''",
|
|
625
|
+
width: ".64em",
|
|
626
|
+
height: ".64em",
|
|
627
|
+
marginInlineEnd: odysseyTokens.Spacing2,
|
|
628
|
+
borderRadius: "100%",
|
|
629
|
+
backgroundColor: "transparent",
|
|
630
|
+
borderColor: odysseyTokens.TypographyColorBody,
|
|
631
|
+
borderWidth: odysseyTokens.BorderWidthHeavy,
|
|
632
|
+
borderStyle: odysseyTokens.BorderStyleMain
|
|
633
|
+
},
|
|
634
|
+
[`&.${chipClasses.colorError}`]: {
|
|
635
|
+
"&::before": {
|
|
636
|
+
border: 0,
|
|
637
|
+
backgroundColor: odysseyTokens.PaletteDangerMain
|
|
638
|
+
}
|
|
639
|
+
},
|
|
640
|
+
[`&.${chipClasses.colorSuccess}`]: {
|
|
641
|
+
"&::before": {
|
|
642
|
+
border: 0,
|
|
643
|
+
backgroundColor: odysseyTokens.PaletteSuccessMain
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
[`&.${chipClasses.colorWarning}`]: {
|
|
647
|
+
"&::before": {
|
|
648
|
+
border: 0,
|
|
649
|
+
backgroundColor: odysseyTokens.HueYellow200
|
|
650
|
+
}
|
|
655
651
|
}
|
|
656
|
-
},
|
|
657
|
-
|
|
652
|
+
}),
|
|
653
|
+
...(ownerState.variant === "pill" && {
|
|
654
|
+
paddingBlock: odysseyTokens.Spacing1,
|
|
655
|
+
paddingInline: odysseyTokens.Spacing2,
|
|
656
|
+
borderRadius: odysseyTokens.BorderRadiusMain,
|
|
657
|
+
border: 0,
|
|
658
|
+
fontWeight: odysseyTokens.TypographyWeightHeadingBold,
|
|
659
|
+
lineHeight: odysseyTokens.TypographyLineHeightOverline,
|
|
660
|
+
backgroundColor: odysseyTokens.HueNeutral50,
|
|
661
|
+
color: odysseyTokens.TypographyColorSubordinate,
|
|
662
|
+
fontSize: odysseyTokens.TypographySizeSubordinate,
|
|
658
663
|
"&::before": {
|
|
659
|
-
|
|
664
|
+
content: "''",
|
|
665
|
+
width: ".64em",
|
|
666
|
+
height: ".64em",
|
|
667
|
+
marginInlineEnd: odysseyTokens.Spacing1,
|
|
668
|
+
borderRadius: "100%",
|
|
669
|
+
backgroundColor: odysseyTokens.HueNeutral600
|
|
670
|
+
},
|
|
671
|
+
[`&.${chipClasses.colorError}`]: {
|
|
672
|
+
backgroundColor: odysseyTokens.PaletteDangerLighter,
|
|
673
|
+
color: odysseyTokens.TypographyColorDanger,
|
|
674
|
+
"&::before": {
|
|
675
|
+
backgroundColor: odysseyTokens.PaletteDangerMain
|
|
676
|
+
}
|
|
677
|
+
},
|
|
678
|
+
[`&.${chipClasses.colorSuccess}`]: {
|
|
679
|
+
backgroundColor: odysseyTokens.PaletteSuccessLighter,
|
|
680
|
+
color: odysseyTokens.TypographyColorSuccess,
|
|
681
|
+
"&::before": {
|
|
682
|
+
backgroundColor: odysseyTokens.PaletteSuccessMain
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
[`&.${chipClasses.colorWarning}`]: {
|
|
686
|
+
backgroundColor: odysseyTokens.PaletteWarningLighter,
|
|
687
|
+
color: odysseyTokens.TypographyColorWarning,
|
|
688
|
+
"&::before": {
|
|
689
|
+
backgroundColor: odysseyTokens.HueYellow200
|
|
690
|
+
}
|
|
660
691
|
}
|
|
692
|
+
}),
|
|
693
|
+
[`.${inputBaseClasses.root}.${inputBaseClasses.disabled} &`]: {
|
|
694
|
+
backgroundColor: odysseyTokens.HueNeutral200
|
|
661
695
|
}
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
label: {
|
|
669
|
-
padding: 0
|
|
670
|
-
},
|
|
671
|
-
deleteIcon: _ref24 => {
|
|
672
|
-
let {
|
|
673
|
-
theme
|
|
674
|
-
} = _ref24;
|
|
675
|
-
return {
|
|
696
|
+
};
|
|
697
|
+
},
|
|
698
|
+
label: {
|
|
699
|
+
padding: 0
|
|
700
|
+
},
|
|
701
|
+
deleteIcon: {
|
|
676
702
|
WebkitTapHighlightColor: "transparent",
|
|
677
|
-
color:
|
|
703
|
+
color: odysseyTokens.HueNeutral500,
|
|
678
704
|
fontSize: "1em",
|
|
679
705
|
cursor: "pointer",
|
|
680
706
|
margin: "0",
|
|
681
|
-
marginInlineStart:
|
|
707
|
+
marginInlineStart: odysseyTokens.Spacing2,
|
|
682
708
|
"&:hover": {
|
|
683
|
-
color:
|
|
709
|
+
color: odysseyTokens.HueNeutral600
|
|
684
710
|
},
|
|
685
711
|
[`.${inputBaseClasses.root}.${inputBaseClasses.disabled} &`]: {
|
|
686
712
|
display: "none"
|
|
687
713
|
}
|
|
688
|
-
}
|
|
714
|
+
}
|
|
689
715
|
}
|
|
690
|
-
}
|
|
691
|
-
},
|
|
692
|
-
MuiCircularProgress: {
|
|
693
|
-
defaultProps: {
|
|
694
|
-
size: "1.14285714rem",
|
|
695
|
-
thickness: 8,
|
|
696
|
-
color: "primary",
|
|
697
|
-
disableShrink: false,
|
|
698
|
-
variant: "indeterminate"
|
|
699
716
|
},
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
...(ownerState.color !== "inherit" && {
|
|
708
|
-
color: theme.palette.primary.dark
|
|
709
|
-
})
|
|
710
|
-
};
|
|
717
|
+
MuiCircularProgress: {
|
|
718
|
+
defaultProps: {
|
|
719
|
+
size: odysseyTokens.TypographyScale2,
|
|
720
|
+
thickness: 8,
|
|
721
|
+
color: "primary",
|
|
722
|
+
disableShrink: false,
|
|
723
|
+
variant: "indeterminate"
|
|
711
724
|
},
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
725
|
+
styleOverrides: {
|
|
726
|
+
root: _ref13 => {
|
|
727
|
+
let {
|
|
728
|
+
ownerState
|
|
729
|
+
} = _ref13;
|
|
730
|
+
return {
|
|
731
|
+
...(ownerState.color !== "inherit" && {
|
|
732
|
+
color: odysseyTokens.PalettePrimaryDark
|
|
733
|
+
})
|
|
734
|
+
};
|
|
735
|
+
},
|
|
736
|
+
circle: _ref14 => {
|
|
737
|
+
let {
|
|
738
|
+
ownerState
|
|
739
|
+
} = _ref14;
|
|
740
|
+
return {
|
|
741
|
+
...(ownerState.variant === "indeterminate" && {
|
|
742
|
+
strokeDasharray: "160%, 360%"
|
|
743
|
+
})
|
|
744
|
+
};
|
|
745
|
+
}
|
|
721
746
|
}
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
styleOverrides: themeParam => `
|
|
747
|
+
},
|
|
748
|
+
MuiCssBaseline: {
|
|
749
|
+
styleOverrides: themeParam => `
|
|
726
750
|
html {
|
|
727
751
|
font-size: calc((${themeParam.typography.fontSize} / 16) * 100%);
|
|
728
752
|
}
|
|
729
753
|
`
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
let {
|
|
735
|
-
theme
|
|
736
|
-
} = _ref27;
|
|
737
|
-
return {
|
|
754
|
+
},
|
|
755
|
+
MuiScopedCssBaseline: {
|
|
756
|
+
styleOverrides: {
|
|
757
|
+
root: {
|
|
738
758
|
abbr: {
|
|
739
|
-
borderBottomWidth:
|
|
759
|
+
borderBottomWidth: odysseyTokens.BorderWidthMain,
|
|
740
760
|
borderBottomStyle: "dashed",
|
|
741
|
-
borderBottomColor:
|
|
761
|
+
borderBottomColor: odysseyTokens.HueNeutral700,
|
|
742
762
|
textDecoration: "none"
|
|
743
763
|
},
|
|
744
764
|
address: {
|
|
745
|
-
maxWidth:
|
|
765
|
+
maxWidth: odysseyTokens.TypographyLineLengthMax,
|
|
746
766
|
marginBlockStart: 0,
|
|
747
|
-
marginBlockEnd:
|
|
767
|
+
marginBlockEnd: odysseyTokens.Spacing4,
|
|
748
768
|
marginInline: 0,
|
|
769
|
+
fontStyle: "normal",
|
|
749
770
|
"&:last-child": {
|
|
750
771
|
marginBlockEnd: 0
|
|
751
772
|
}
|
|
752
773
|
},
|
|
753
774
|
blockquote: {
|
|
754
|
-
maxWidth:
|
|
775
|
+
maxWidth: odysseyTokens.TypographyLineLengthMax,
|
|
755
776
|
marginBlockStart: 0,
|
|
756
|
-
marginBlockEnd:
|
|
777
|
+
marginBlockEnd: odysseyTokens.Spacing4,
|
|
757
778
|
marginInline: 0,
|
|
758
779
|
paddingBlock: 0,
|
|
759
|
-
paddingInlineStart:
|
|
780
|
+
paddingInlineStart: odysseyTokens.Spacing4,
|
|
760
781
|
paddingInlineEnd: 0,
|
|
761
782
|
borderInlineStartWidth: "3px",
|
|
762
|
-
borderInlineStartStyle:
|
|
763
|
-
borderInlineStartColor:
|
|
783
|
+
borderInlineStartStyle: odysseyTokens.BorderStyleMain,
|
|
784
|
+
borderInlineStartColor: odysseyTokens.HueNeutral200,
|
|
764
785
|
"&:last-child": {
|
|
765
786
|
marginBlockEnd: 0
|
|
766
787
|
}
|
|
767
788
|
},
|
|
768
789
|
cite: {
|
|
769
|
-
fontStyle: "
|
|
790
|
+
fontStyle: "normal"
|
|
770
791
|
},
|
|
771
792
|
code: {
|
|
772
|
-
fontFamily:
|
|
793
|
+
fontFamily: odysseyTokens.TypographyFamilyMono,
|
|
794
|
+
display: "inline-block",
|
|
795
|
+
minWidth: `calc(${odysseyTokens.TypographySizeSubordinate} * ${odysseyTokens.TypographyLineHeightHeading5})`,
|
|
796
|
+
borderStyle: odysseyTokens.BorderStyleMain,
|
|
797
|
+
borderWidth: odysseyTokens.BorderWidthMain,
|
|
798
|
+
borderRadius: odysseyTokens.BorderRadiusTight,
|
|
799
|
+
borderColor: odysseyTokens.BorderColorDisplay,
|
|
800
|
+
backgroundColor: odysseyTokens.HueNeutral50,
|
|
801
|
+
padding: `calc(${odysseyTokens.Spacing1} / 2) ${odysseyTokens.Spacing1}`,
|
|
802
|
+
fontSize: odysseyTokens.TypographySizeSubordinate,
|
|
803
|
+
lineHeight: odysseyTokens.TypographyLineHeightHeading5
|
|
773
804
|
},
|
|
774
805
|
del: {
|
|
775
806
|
display: "inline-block",
|
|
776
|
-
backgroundColor:
|
|
807
|
+
backgroundColor: odysseyTokens.PaletteDangerHighlight,
|
|
777
808
|
"&::before, &::after": {
|
|
778
809
|
clip: "rect(0 0 0 0)",
|
|
779
810
|
clipPath: "inset(50%)",
|
|
@@ -791,18 +822,18 @@ export const components = {
|
|
|
791
822
|
}
|
|
792
823
|
},
|
|
793
824
|
details: {
|
|
794
|
-
fontSize:
|
|
825
|
+
fontSize: odysseyTokens.TypographySizeBody
|
|
795
826
|
},
|
|
796
827
|
dfn: {
|
|
797
828
|
fontStyle: "italic"
|
|
798
829
|
},
|
|
799
830
|
dl: {
|
|
800
831
|
display: "grid",
|
|
801
|
-
gridGap: `${
|
|
832
|
+
gridGap: `${odysseyTokens.Spacing2} ${odysseyTokens.Spacing4}`,
|
|
802
833
|
gridTemplateColumns: "repeat(2, minmax(min-content, max-content))",
|
|
803
|
-
maxWidth:
|
|
834
|
+
maxWidth: odysseyTokens.TypographyLineLengthMax,
|
|
804
835
|
marginBlockStart: 0,
|
|
805
|
-
marginBlockEnd:
|
|
836
|
+
marginBlockEnd: odysseyTokens.Spacing4,
|
|
806
837
|
marginInline: 0,
|
|
807
838
|
padding: 0,
|
|
808
839
|
"&:last-child": {
|
|
@@ -810,10 +841,11 @@ export const components = {
|
|
|
810
841
|
},
|
|
811
842
|
dt: {
|
|
812
843
|
gridColumn: 1,
|
|
813
|
-
fontWeight:
|
|
844
|
+
fontWeight: odysseyTokens.TypographyWeightBodyBold
|
|
814
845
|
},
|
|
815
846
|
dd: {
|
|
816
847
|
gridColumn: 2,
|
|
848
|
+
marginInlineStart: odysseyTokens.Spacing0,
|
|
817
849
|
fontWeight: 400
|
|
818
850
|
}
|
|
819
851
|
},
|
|
@@ -825,31 +857,31 @@ export const components = {
|
|
|
825
857
|
},
|
|
826
858
|
figure: {
|
|
827
859
|
display: "grid",
|
|
828
|
-
gridGap:
|
|
860
|
+
gridGap: odysseyTokens.Spacing2,
|
|
829
861
|
gridTemplateColumns: "minmax(min-content, max-content)",
|
|
830
862
|
justifyContent: "start",
|
|
831
863
|
justifyItems: "start",
|
|
832
864
|
marginBlockStart: 0,
|
|
833
|
-
marginBlockEnd:
|
|
865
|
+
marginBlockEnd: odysseyTokens.Spacing4,
|
|
834
866
|
marginInline: 0,
|
|
835
867
|
"&:last-child": {
|
|
836
868
|
marginBlockEnd: 0
|
|
837
869
|
}
|
|
838
870
|
},
|
|
839
871
|
"figcaption:not([class])": {
|
|
840
|
-
color:
|
|
841
|
-
fontSize:
|
|
872
|
+
color: odysseyTokens.TypographyColorSubordinate,
|
|
873
|
+
fontSize: odysseyTokens.TypographySizeSubordinate
|
|
842
874
|
},
|
|
843
875
|
hr: {
|
|
844
|
-
marginBlock:
|
|
876
|
+
marginBlock: odysseyTokens.Spacing2,
|
|
845
877
|
marginInline: 0,
|
|
846
|
-
borderWidth:
|
|
847
|
-
borderStyle:
|
|
848
|
-
borderColor:
|
|
878
|
+
borderWidth: odysseyTokens.BorderWidthMain,
|
|
879
|
+
borderStyle: odysseyTokens.BorderStyleMain,
|
|
880
|
+
borderColor: odysseyTokens.HueNeutral200
|
|
849
881
|
},
|
|
850
882
|
ins: {
|
|
851
883
|
display: "inline-block",
|
|
852
|
-
backgroundColor:
|
|
884
|
+
backgroundColor: odysseyTokens.PaletteSuccessHighlight,
|
|
853
885
|
"&::before, &::after": {
|
|
854
886
|
clip: "rect(0 0 0 0)",
|
|
855
887
|
clipPath: "inset(50%)",
|
|
@@ -868,21 +900,21 @@ export const components = {
|
|
|
868
900
|
},
|
|
869
901
|
kbd: {
|
|
870
902
|
display: "inline-block",
|
|
871
|
-
minWidth: `calc(${
|
|
872
|
-
borderStyle:
|
|
873
|
-
borderWidth:
|
|
874
|
-
borderRadius:
|
|
875
|
-
borderColor:
|
|
876
|
-
backgroundColor:
|
|
877
|
-
padding: `calc(${
|
|
903
|
+
minWidth: `calc(${odysseyTokens.TypographySizeSubordinate} * ${odysseyTokens.TypographyLineHeightHeading5})`,
|
|
904
|
+
borderStyle: odysseyTokens.BorderStyleMain,
|
|
905
|
+
borderWidth: odysseyTokens.BorderWidthMain,
|
|
906
|
+
borderRadius: odysseyTokens.BorderRadiusMain,
|
|
907
|
+
borderColor: odysseyTokens.HueNeutral200,
|
|
908
|
+
backgroundColor: odysseyTokens.HueNeutral50,
|
|
909
|
+
padding: `calc(${odysseyTokens.Spacing1} / 2) ${odysseyTokens.Spacing1}`,
|
|
878
910
|
fontFamily: "'Inconsolata', 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', 'Courier', monospace",
|
|
879
|
-
fontSize:
|
|
880
|
-
fontWeight:
|
|
881
|
-
lineHeight:
|
|
911
|
+
fontSize: odysseyTokens.TypographySizeSubordinate,
|
|
912
|
+
fontWeight: odysseyTokens.Spacing5,
|
|
913
|
+
lineHeight: odysseyTokens.TypographyLineHeightHeading5,
|
|
882
914
|
boxShadow: `0 1px 1px 0 hsla(240, 6%, 12%, 0.05)`
|
|
883
915
|
},
|
|
884
916
|
mark: {
|
|
885
|
-
backgroundColor:
|
|
917
|
+
backgroundColor: odysseyTokens.PaletteWarningHighlight,
|
|
886
918
|
"&::before, &::after": {
|
|
887
919
|
clip: "rect(0 0 0 0)",
|
|
888
920
|
clipPath: "inset(50%)",
|
|
@@ -900,9 +932,9 @@ export const components = {
|
|
|
900
932
|
}
|
|
901
933
|
},
|
|
902
934
|
"p:not([class])": {
|
|
903
|
-
maxWidth:
|
|
935
|
+
maxWidth: odysseyTokens.TypographyLineLengthMax,
|
|
904
936
|
marginBlockStart: 0,
|
|
905
|
-
marginBlockEnd:
|
|
937
|
+
marginBlockEnd: odysseyTokens.Spacing4,
|
|
906
938
|
"&:last-child": {
|
|
907
939
|
marginBlockEnd: 0
|
|
908
940
|
}
|
|
@@ -910,18 +942,24 @@ export const components = {
|
|
|
910
942
|
pre: {
|
|
911
943
|
marginInline: 0,
|
|
912
944
|
marginBlockStart: 0,
|
|
913
|
-
marginBlockEnd:
|
|
914
|
-
fontFamily:
|
|
945
|
+
marginBlockEnd: odysseyTokens.Spacing4,
|
|
946
|
+
fontFamily: odysseyTokens.TypographyFamilyMono,
|
|
915
947
|
whiteSpace: "pre-wrap",
|
|
916
948
|
tabSize: 2,
|
|
917
949
|
"&:last-child": {
|
|
918
950
|
marginBlockEnd: 0
|
|
919
951
|
}
|
|
920
952
|
},
|
|
953
|
+
ul: {
|
|
954
|
+
[`&.${stackClasses.root}`]: {
|
|
955
|
+
padding: 0,
|
|
956
|
+
margin: 0
|
|
957
|
+
}
|
|
958
|
+
},
|
|
921
959
|
"ul:not([class]), ol:not([class])": {
|
|
922
|
-
maxWidth:
|
|
960
|
+
maxWidth: odysseyTokens.TypographyLineLengthMax,
|
|
923
961
|
marginBlockStart: 0,
|
|
924
|
-
marginBlockEnd:
|
|
962
|
+
marginBlockEnd: odysseyTokens.Spacing4,
|
|
925
963
|
paddingInlineStart: "2ch",
|
|
926
964
|
ol: {
|
|
927
965
|
listStyleType: "lower-alpha",
|
|
@@ -934,11 +972,11 @@ export const components = {
|
|
|
934
972
|
}
|
|
935
973
|
},
|
|
936
974
|
"li:not([class])": {
|
|
937
|
-
marginBlockEnd:
|
|
938
|
-
paddingInlineStart:
|
|
975
|
+
marginBlockEnd: odysseyTokens.Spacing2,
|
|
976
|
+
paddingInlineStart: odysseyTokens.Spacing1,
|
|
939
977
|
"ul, ol": {
|
|
940
|
-
marginBlockStart:
|
|
941
|
-
marginInlineStart: `calc(${
|
|
978
|
+
marginBlockStart: odysseyTokens.Spacing2,
|
|
979
|
+
marginInlineStart: `calc(${odysseyTokens.Spacing6} - 2ch)`
|
|
942
980
|
}
|
|
943
981
|
},
|
|
944
982
|
q: {
|
|
@@ -955,497 +993,438 @@ export const components = {
|
|
|
955
993
|
},
|
|
956
994
|
samp: {
|
|
957
995
|
padding: "0 0.5ch",
|
|
958
|
-
backgroundColor:
|
|
959
|
-
boxShadow: `0 1px 0 ${
|
|
960
|
-
fontSize:
|
|
996
|
+
backgroundColor: odysseyTokens.HueNeutral100,
|
|
997
|
+
boxShadow: `0 1px 0 ${odysseyTokens.HueNeutral50}`,
|
|
998
|
+
fontSize: odysseyTokens.TypographySizeBody,
|
|
961
999
|
kbd: {
|
|
962
|
-
background:
|
|
1000
|
+
background: odysseyTokens.HueNeutralWhite
|
|
963
1001
|
}
|
|
964
1002
|
},
|
|
965
1003
|
small: {
|
|
966
|
-
fontSize:
|
|
1004
|
+
fontSize: odysseyTokens.TypographySizeSubordinate
|
|
1005
|
+
},
|
|
1006
|
+
strong: {
|
|
1007
|
+
fontWeight: odysseyTokens.TypographyWeightBodyBold
|
|
967
1008
|
},
|
|
968
1009
|
sub: {
|
|
969
|
-
fontSize:
|
|
1010
|
+
fontSize: odysseyTokens.TypographySizeSubordinate,
|
|
970
1011
|
lineHeight: 1,
|
|
971
1012
|
verticalAlign: "sub"
|
|
972
1013
|
},
|
|
973
1014
|
summary: {
|
|
974
|
-
|
|
975
|
-
|
|
1015
|
+
marginBlockEnd: odysseyTokens.Spacing2,
|
|
1016
|
+
fontSize: odysseyTokens.TypographySizeBody,
|
|
1017
|
+
fontWeight: odysseyTokens.TypographyWeightBodyBold,
|
|
976
1018
|
cursor: "default",
|
|
977
1019
|
"&:focus-visible": {
|
|
978
|
-
outlineColor:
|
|
979
|
-
outlineOffset:
|
|
980
|
-
outlineStyle:
|
|
981
|
-
outlineWidth:
|
|
1020
|
+
outlineColor: odysseyTokens.FocusOutlineColorPrimary,
|
|
1021
|
+
outlineOffset: odysseyTokens.FocusOutlineOffsetMain,
|
|
1022
|
+
outlineStyle: odysseyTokens.FocusOutlineStyle,
|
|
1023
|
+
outlineWidth: odysseyTokens.FocusOutlineWidthMain
|
|
982
1024
|
}
|
|
983
1025
|
},
|
|
984
1026
|
sup: {
|
|
985
|
-
fontSize:
|
|
1027
|
+
fontSize: odysseyTokens.TypographySizeSubordinate,
|
|
986
1028
|
lineHeight: 1,
|
|
987
1029
|
verticalAlign: "super"
|
|
988
1030
|
},
|
|
989
1031
|
var: {
|
|
990
1032
|
fontStyle: "italic",
|
|
991
|
-
fontWeight:
|
|
1033
|
+
fontWeight: odysseyTokens.TypographyWeightBodyBold
|
|
992
1034
|
}
|
|
993
|
-
}
|
|
1035
|
+
}
|
|
994
1036
|
}
|
|
995
|
-
}
|
|
996
|
-
},
|
|
997
|
-
MuiDialog: {
|
|
998
|
-
defaultProps: {
|
|
999
|
-
scroll: "paper"
|
|
1000
1037
|
},
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
maxWidth: `calc(${
|
|
1038
|
+
MuiDialog: {
|
|
1039
|
+
defaultProps: {
|
|
1040
|
+
scroll: "paper"
|
|
1041
|
+
},
|
|
1042
|
+
styleOverrides: {
|
|
1043
|
+
paper: {
|
|
1044
|
+
maxWidth: `calc(${odysseyTokens.TypographyLineLengthMax} + (${odysseyTokens.Spacing6} * 2))`,
|
|
1045
|
+
borderRadius: odysseyTokens.BorderRadiusOuter,
|
|
1008
1046
|
boxShadow: "none",
|
|
1009
1047
|
filter: "drop-shadow(0px 1px 4px rgba(29, 29, 33, 0.08)) drop-shadow(0px 4px 10px rgba(29, 29, 33, 0.08)) drop-shadow(0px 8px 30px rgba(29, 29, 33, 0.1))"
|
|
1010
|
-
}
|
|
1048
|
+
}
|
|
1011
1049
|
}
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
}
|
|
1050
|
+
},
|
|
1051
|
+
MuiDialogActions: {
|
|
1052
|
+
styleOverrides: {
|
|
1053
|
+
root: {
|
|
1054
|
+
flexWrap: "wrap",
|
|
1055
|
+
gap: odysseyTokens.Spacing2,
|
|
1056
|
+
paddingBlockStart: odysseyTokens.Spacing6,
|
|
1057
|
+
paddingBlockEnd: odysseyTokens.Spacing6,
|
|
1058
|
+
paddingInline: odysseyTokens.Spacing6,
|
|
1059
|
+
"& > .${ buttonClasses.root }": {
|
|
1060
|
+
margin: "0 !important"
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1025
1063
|
}
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
...(ownerState.dividers === false && {
|
|
1043
|
-
[`& + .${dialogActionsClasses.root}`]: {
|
|
1044
|
-
paddingBlockStart: theme.spacing(4)
|
|
1064
|
+
},
|
|
1065
|
+
MuiDialogContent: {
|
|
1066
|
+
styleOverrides: {
|
|
1067
|
+
root: _ref15 => {
|
|
1068
|
+
let {
|
|
1069
|
+
ownerState
|
|
1070
|
+
} = _ref15;
|
|
1071
|
+
return {
|
|
1072
|
+
paddingBlock: 0,
|
|
1073
|
+
paddingInline: odysseyTokens.Spacing6,
|
|
1074
|
+
...(ownerState.dividers === true && {
|
|
1075
|
+
paddingBlock: odysseyTokens.Spacing6,
|
|
1076
|
+
color: odysseyTokens.HueNeutral600
|
|
1077
|
+
}),
|
|
1078
|
+
["&:last-child"]: {
|
|
1079
|
+
paddingBlockEnd: odysseyTokens.Spacing6
|
|
1045
1080
|
}
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1081
|
+
};
|
|
1082
|
+
}
|
|
1048
1083
|
}
|
|
1049
|
-
}
|
|
1050
|
-
},
|
|
1051
|
-
MuiDialogContentText: {
|
|
1052
|
-
defaultProps: {
|
|
1053
|
-
color: "text.primary"
|
|
1054
1084
|
},
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
return {
|
|
1061
|
-
marginBlockEnd: theme.spacing(5),
|
|
1085
|
+
MuiDialogContentText: {
|
|
1086
|
+
styleOverrides: {
|
|
1087
|
+
root: {
|
|
1088
|
+
marginBlockEnd: odysseyTokens.Spacing5,
|
|
1089
|
+
color: odysseyTokens.HueNeutral700,
|
|
1062
1090
|
"&:last-child": {
|
|
1063
1091
|
marginBlockEnd: "0"
|
|
1064
1092
|
}
|
|
1065
|
-
}
|
|
1093
|
+
}
|
|
1066
1094
|
}
|
|
1067
|
-
}
|
|
1068
|
-
},
|
|
1069
|
-
MuiDialogTitle: {
|
|
1070
|
-
defaultProps: {
|
|
1071
|
-
component: "h1",
|
|
1072
|
-
variant: "h5"
|
|
1073
1095
|
},
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1096
|
+
MuiDialogTitle: {
|
|
1097
|
+
defaultProps: {
|
|
1098
|
+
component: "h1",
|
|
1099
|
+
variant: "h5"
|
|
1100
|
+
},
|
|
1101
|
+
styleOverrides: {
|
|
1102
|
+
root: {
|
|
1080
1103
|
display: "flex",
|
|
1081
1104
|
justifyContent: "space-between",
|
|
1082
1105
|
alignItems: "center",
|
|
1083
1106
|
marginBlockEnd: 0,
|
|
1084
1107
|
padding: 0,
|
|
1085
|
-
paddingBlockStart:
|
|
1086
|
-
paddingBlockEnd:
|
|
1087
|
-
paddingInline:
|
|
1088
|
-
|
|
1108
|
+
paddingBlockStart: odysseyTokens.Spacing5,
|
|
1109
|
+
paddingBlockEnd: odysseyTokens.Spacing4,
|
|
1110
|
+
paddingInline: odysseyTokens.Spacing6,
|
|
1111
|
+
fontFamily: odysseyTokens.TypographyFamilyHeading,
|
|
1112
|
+
[`.${buttonClasses.root}`]: {
|
|
1113
|
+
marginInlineEnd: `-${odysseyTokens.Spacing3}`
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1089
1116
|
}
|
|
1090
|
-
}
|
|
1091
|
-
},
|
|
1092
|
-
MuiFormControl: {
|
|
1093
|
-
defaultProps: {
|
|
1094
|
-
margin: "normal"
|
|
1095
1117
|
},
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
"
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
"
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1118
|
+
MuiFormControl: {
|
|
1119
|
+
defaultProps: {
|
|
1120
|
+
margin: "normal"
|
|
1121
|
+
},
|
|
1122
|
+
styleOverrides: {
|
|
1123
|
+
root: _ref16 => {
|
|
1124
|
+
let {
|
|
1125
|
+
ownerState
|
|
1126
|
+
} = _ref16;
|
|
1127
|
+
return {
|
|
1128
|
+
width: "100%",
|
|
1129
|
+
maxWidth: odysseyTokens.TypographyLineLengthMax,
|
|
1130
|
+
...(ownerState.margin === "normal" && {
|
|
1131
|
+
marginTop: 0,
|
|
1132
|
+
marginBottom: odysseyTokens.Spacing4,
|
|
1133
|
+
"&:last-child": {
|
|
1134
|
+
marginBottom: 0
|
|
1135
|
+
}
|
|
1136
|
+
}),
|
|
1137
|
+
...(ownerState.margin === "dense" && {
|
|
1138
|
+
marginTop: 0,
|
|
1139
|
+
marginBottom: odysseyTokens.Spacing5,
|
|
1140
|
+
"&:last-child": {
|
|
1141
|
+
marginBottom: 0
|
|
1142
|
+
}
|
|
1143
|
+
}),
|
|
1144
|
+
...(ownerState.fullWidth && {
|
|
1145
|
+
maxWidth: "100%"
|
|
1146
|
+
})
|
|
1147
|
+
};
|
|
1148
|
+
}
|
|
1123
1149
|
}
|
|
1124
|
-
}
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
return {
|
|
1134
|
-
marginInlineStart: 0,
|
|
1135
|
-
marginInlineEnd: 0,
|
|
1136
|
-
...(ownerState.labelPlacement === "start" && {
|
|
1150
|
+
},
|
|
1151
|
+
MuiFormControlLabel: {
|
|
1152
|
+
styleOverrides: {
|
|
1153
|
+
root: _ref17 => {
|
|
1154
|
+
let {
|
|
1155
|
+
ownerState
|
|
1156
|
+
} = _ref17;
|
|
1157
|
+
return {
|
|
1158
|
+
gap: odysseyTokens.Spacing2,
|
|
1137
1159
|
marginInlineStart: 0,
|
|
1138
|
-
marginInlineEnd: 0
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
}
|
|
1175
|
-
}
|
|
1176
|
-
asterisk: () => ({
|
|
1177
|
-
display: "none"
|
|
1178
|
-
})
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
MuiFormHelperText: {
|
|
1182
|
-
defaultProps: {
|
|
1183
|
-
variant: "standard"
|
|
1160
|
+
marginInlineEnd: 0,
|
|
1161
|
+
...(ownerState.labelPlacement === "start" && {
|
|
1162
|
+
marginInlineStart: 0,
|
|
1163
|
+
marginInlineEnd: 0
|
|
1164
|
+
}),
|
|
1165
|
+
...(ownerState.labelPlacement === "top" && {
|
|
1166
|
+
marginInlineStart: 0
|
|
1167
|
+
}),
|
|
1168
|
+
...(ownerState.labelPlacement === "bottom" && {
|
|
1169
|
+
marginInlineStart: 0
|
|
1170
|
+
}),
|
|
1171
|
+
"&:not(:last-child)": {
|
|
1172
|
+
marginBottom: odysseyTokens.Spacing2
|
|
1173
|
+
},
|
|
1174
|
+
"&.Mui-disabled": {
|
|
1175
|
+
pointerEvents: "none"
|
|
1176
|
+
},
|
|
1177
|
+
[`&:hover .${radioClasses.root}, &:hover .${checkboxClasses.root}`]: {
|
|
1178
|
+
color: odysseyTokens.TypographyColorBody
|
|
1179
|
+
},
|
|
1180
|
+
[`&:hover .${radioClasses.root}.Mui-checked, &:hover .${checkboxClasses.root}.Mui-checked`]: {
|
|
1181
|
+
color: odysseyTokens.PalettePrimaryDark
|
|
1182
|
+
},
|
|
1183
|
+
[`&.Mui-error:hover .${radioClasses.root}, &.Mui-error:hover .${checkboxClasses.root}`]: {
|
|
1184
|
+
color: odysseyTokens.PaletteDangerDark
|
|
1185
|
+
},
|
|
1186
|
+
[`&.Mui-error:hover .${radioClasses.root}.Mui-checked, &.Mui-error:hover .${checkboxClasses.root}.Mui-checked`]: {
|
|
1187
|
+
color: odysseyTokens.PaletteDangerDark
|
|
1188
|
+
}
|
|
1189
|
+
};
|
|
1190
|
+
},
|
|
1191
|
+
label: {
|
|
1192
|
+
gap: odysseyTokens.Spacing1
|
|
1193
|
+
},
|
|
1194
|
+
asterisk: () => ({
|
|
1195
|
+
display: "none"
|
|
1196
|
+
})
|
|
1197
|
+
}
|
|
1184
1198
|
},
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
fontSize:
|
|
1192
|
-
lineHeight:
|
|
1193
|
-
marginBlockStart:
|
|
1194
|
-
|
|
1195
|
-
marginBlockStart: `-${
|
|
1196
|
-
color:
|
|
1197
|
-
},
|
|
1198
|
-
marginBlockEnd:
|
|
1199
|
+
MuiFormHelperText: {
|
|
1200
|
+
defaultProps: {
|
|
1201
|
+
variant: "standard"
|
|
1202
|
+
},
|
|
1203
|
+
styleOverrides: {
|
|
1204
|
+
root: {
|
|
1205
|
+
fontSize: odysseyTokens.TypographySizeSubordinate,
|
|
1206
|
+
lineHeight: odysseyTokens.TypographyLineHeightBody,
|
|
1207
|
+
marginBlockStart: odysseyTokens.Spacing2,
|
|
1208
|
+
[`.${formLabelClasses.root} + &`]: {
|
|
1209
|
+
marginBlockStart: `-${odysseyTokens.Spacing1}`,
|
|
1210
|
+
color: odysseyTokens.TypographyColorSubordinate
|
|
1211
|
+
},
|
|
1212
|
+
marginBlockEnd: odysseyTokens.Spacing2,
|
|
1199
1213
|
"&:last-child": {
|
|
1200
1214
|
marginBlockEnd: 0
|
|
1201
1215
|
},
|
|
1202
1216
|
textAlign: "start"
|
|
1203
|
-
}
|
|
1217
|
+
}
|
|
1204
1218
|
}
|
|
1205
|
-
}
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
fontSize: "1rem",
|
|
1217
|
-
fontWeight: 600,
|
|
1218
|
-
marginBottom: theme.spacing(2),
|
|
1219
|
+
},
|
|
1220
|
+
MuiFormLabel: {
|
|
1221
|
+
styleOverrides: {
|
|
1222
|
+
root: {
|
|
1223
|
+
alignItems: "center",
|
|
1224
|
+
color: odysseyTokens.TypographyColorBody,
|
|
1225
|
+
display: "inline-flex",
|
|
1226
|
+
lineHeight: odysseyTokens.TypographyLineHeightUi,
|
|
1227
|
+
fontSize: odysseyTokens.TypographySizeBody,
|
|
1228
|
+
fontWeight: odysseyTokens.TypographyWeightBodyBold,
|
|
1229
|
+
marginBottom: odysseyTokens.Spacing2,
|
|
1219
1230
|
"&.Mui-focused, &.Mui-error, &.Mui-disabled": {
|
|
1220
|
-
color:
|
|
1231
|
+
color: odysseyTokens.TypographyColorBody
|
|
1232
|
+
},
|
|
1233
|
+
"& > .MuiTypography-root": {
|
|
1234
|
+
margin: "reset",
|
|
1235
|
+
marginInlineStart: odysseyTokens.Spacing1
|
|
1221
1236
|
}
|
|
1222
|
-
}
|
|
1237
|
+
}
|
|
1223
1238
|
}
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
edgeEnd: _ref38 => {
|
|
1229
|
-
let {
|
|
1230
|
-
theme
|
|
1231
|
-
} = _ref38;
|
|
1232
|
-
return {
|
|
1233
|
-
marginInlineEnd: theme.spacing(1)
|
|
1234
|
-
};
|
|
1239
|
+
},
|
|
1240
|
+
MuiInput: {
|
|
1241
|
+
defaultProps: {
|
|
1242
|
+
disableUnderline: true
|
|
1235
1243
|
},
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
return {
|
|
1241
|
-
padding: theme.spacing(1),
|
|
1242
|
-
fontSize: theme.typography.body1.fontSize,
|
|
1243
|
-
backgroundColor: "transparent",
|
|
1244
|
-
color: theme.palette.text.primary,
|
|
1245
|
-
borderColor: "transparent",
|
|
1246
|
-
borderRadius: theme.mixins.borderRadius,
|
|
1247
|
-
"&:hover, &:focus-visible": {
|
|
1248
|
-
backgroundColor: "rgba(29, 29, 33, 0.1)",
|
|
1249
|
-
borderColor: "transparent"
|
|
1250
|
-
},
|
|
1251
|
-
"&:focus-visible": {
|
|
1252
|
-
outlineColor: theme.palette.primary.main
|
|
1253
|
-
},
|
|
1254
|
-
"&:active": {
|
|
1255
|
-
backgroundColor: "rgba(29, 29, 33, 0.2)",
|
|
1256
|
-
borderColor: "transparent"
|
|
1257
|
-
},
|
|
1258
|
-
"&:disabled": {
|
|
1259
|
-
backgroundColor: "rgba(235, 235, 237, 0.6)",
|
|
1260
|
-
color: theme.palette.text.secondary,
|
|
1261
|
-
borderColor: "transparent"
|
|
1244
|
+
styleOverrides: {
|
|
1245
|
+
root: {
|
|
1246
|
+
"label + &": {
|
|
1247
|
+
marginTop: 0
|
|
1262
1248
|
}
|
|
1263
|
-
}
|
|
1249
|
+
}
|
|
1264
1250
|
}
|
|
1265
|
-
}
|
|
1266
|
-
},
|
|
1267
|
-
MuiInput: {
|
|
1268
|
-
defaultProps: {
|
|
1269
|
-
disableUnderline: true
|
|
1270
1251
|
},
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1252
|
+
MuiInputAdornment: {
|
|
1253
|
+
styleOverrides: {
|
|
1254
|
+
root: _ref18 => {
|
|
1255
|
+
let {
|
|
1256
|
+
ownerState
|
|
1257
|
+
} = _ref18;
|
|
1258
|
+
return {
|
|
1259
|
+
display: "flex",
|
|
1260
|
+
minWidth: "1.25em",
|
|
1261
|
+
maxHeight: "unset",
|
|
1262
|
+
margin: 0,
|
|
1263
|
+
alignItems: "center",
|
|
1264
|
+
whiteSpace: "nowrap",
|
|
1265
|
+
color: odysseyTokens.TypographyColorSubordinate,
|
|
1266
|
+
...(ownerState.position === "start" && {
|
|
1267
|
+
marginInlineStart: odysseyTokens.Spacing2
|
|
1268
|
+
}),
|
|
1269
|
+
...(ownerState.position === "end" && {
|
|
1270
|
+
marginInlineEnd: odysseyTokens.Spacing2
|
|
1271
|
+
}),
|
|
1272
|
+
...(ownerState.disablePointerEvents === true && {
|
|
1273
|
+
pointerEvents: "none"
|
|
1274
|
+
})
|
|
1275
|
+
};
|
|
1275
1276
|
}
|
|
1276
1277
|
}
|
|
1277
|
-
}
|
|
1278
|
-
},
|
|
1279
|
-
MuiInputAdornment: {
|
|
1280
|
-
styleOverrides: {
|
|
1281
|
-
root: _ref40 => {
|
|
1282
|
-
let {
|
|
1283
|
-
theme,
|
|
1284
|
-
ownerState
|
|
1285
|
-
} = _ref40;
|
|
1286
|
-
return {
|
|
1287
|
-
display: "flex",
|
|
1288
|
-
minWidth: "1.25em",
|
|
1289
|
-
maxHeight: "unset",
|
|
1290
|
-
margin: 0,
|
|
1291
|
-
alignItems: "center",
|
|
1292
|
-
whiteSpace: "nowrap",
|
|
1293
|
-
color: theme.palette.action.active,
|
|
1294
|
-
...(ownerState.position === "start" && {
|
|
1295
|
-
marginInlineStart: theme.spacing(2)
|
|
1296
|
-
}),
|
|
1297
|
-
...(ownerState.position === "end" && {
|
|
1298
|
-
marginInlineEnd: theme.spacing(2)
|
|
1299
|
-
}),
|
|
1300
|
-
...(ownerState.disablePointerEvents === true && {
|
|
1301
|
-
pointerEvents: "none"
|
|
1302
|
-
})
|
|
1303
|
-
};
|
|
1304
|
-
}
|
|
1305
|
-
}
|
|
1306
|
-
},
|
|
1307
|
-
MuiInputBase: {
|
|
1308
|
-
defaultProps: {
|
|
1309
|
-
minRows: 3,
|
|
1310
|
-
required: true
|
|
1311
1278
|
},
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
theme
|
|
1317
|
-
} = _ref41;
|
|
1318
|
-
return {
|
|
1319
|
-
...theme.typography.body1,
|
|
1320
|
-
flex: "1",
|
|
1321
|
-
width: "auto",
|
|
1322
|
-
color: theme.palette.text.primary,
|
|
1323
|
-
lineHeight: theme.typography.ui.lineHeight,
|
|
1324
|
-
borderWidth: theme.mixins.borderWidth,
|
|
1325
|
-
borderStyle: theme.mixins.borderStyle,
|
|
1326
|
-
borderRadius: theme.mixins.borderRadius,
|
|
1327
|
-
borderColor: theme.palette.grey[500],
|
|
1328
|
-
boxShadow: `0 0 0 0 transparent`,
|
|
1329
|
-
backgroundColor: theme.palette.common.white,
|
|
1330
|
-
transition: theme.transitions.create(["border-color", "background-color", "box-shadow"], {
|
|
1331
|
-
duration: theme.transitions.duration.short
|
|
1332
|
-
}),
|
|
1333
|
-
...(ownerState.fullWidth && {
|
|
1334
|
-
width: "100%"
|
|
1335
|
-
}),
|
|
1336
|
-
...(ownerState.readOnly === true && {
|
|
1337
|
-
borderColor: "transparent",
|
|
1338
|
-
backgroundColor: theme.palette.grey[50]
|
|
1339
|
-
}),
|
|
1340
|
-
[`&:hover`]: {
|
|
1341
|
-
borderColor: theme.palette.grey[900]
|
|
1342
|
-
},
|
|
1343
|
-
[`&.${inputBaseClasses.focused}`]: {
|
|
1344
|
-
borderColor: theme.palette.primary.main,
|
|
1345
|
-
boxShadow: `0 0 0 1px ${theme.palette.primary.main}`,
|
|
1346
|
-
outline: "2px solid transparent",
|
|
1347
|
-
outlineOffset: "1px"
|
|
1348
|
-
},
|
|
1349
|
-
[`&.${inputBaseClasses.error}`]: {
|
|
1350
|
-
borderColor: theme.palette.error.main
|
|
1351
|
-
},
|
|
1352
|
-
[`&.${inputBaseClasses.error}:hover`]: {
|
|
1353
|
-
borderColor: theme.palette.error.dark
|
|
1354
|
-
},
|
|
1355
|
-
[`&.${inputBaseClasses.error}.${inputBaseClasses.focused}`]: {
|
|
1356
|
-
borderColor: theme.palette.error.main,
|
|
1357
|
-
boxShadow: `0 0 0 1px ${theme.palette.error.main}`
|
|
1358
|
-
},
|
|
1359
|
-
[`&.${inputBaseClasses.disabled}`]: {
|
|
1360
|
-
color: theme.palette.text.disabled,
|
|
1361
|
-
borderColor: theme.palette.action.disabled,
|
|
1362
|
-
pointerEvents: "auto",
|
|
1363
|
-
backgroundColor: theme.palette.grey[50],
|
|
1364
|
-
cursor: "not-allowed"
|
|
1365
|
-
}
|
|
1366
|
-
};
|
|
1279
|
+
MuiInputBase: {
|
|
1280
|
+
defaultProps: {
|
|
1281
|
+
minRows: 3,
|
|
1282
|
+
required: true
|
|
1367
1283
|
},
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1284
|
+
styleOverrides: {
|
|
1285
|
+
root: _ref19 => {
|
|
1286
|
+
let {
|
|
1287
|
+
ownerState,
|
|
1288
|
+
theme
|
|
1289
|
+
} = _ref19;
|
|
1290
|
+
return {
|
|
1291
|
+
...theme.typography.body1,
|
|
1292
|
+
flex: "1",
|
|
1293
|
+
width: "auto",
|
|
1294
|
+
color: odysseyTokens.TypographyColorBody,
|
|
1295
|
+
lineHeight: odysseyTokens.TypographyLineHeightUi,
|
|
1296
|
+
borderWidth: odysseyTokens.BorderWidthMain,
|
|
1297
|
+
borderStyle: odysseyTokens.BorderStyleMain,
|
|
1298
|
+
borderRadius: odysseyTokens.BorderRadiusMain,
|
|
1299
|
+
borderColor: odysseyTokens.HueNeutral500,
|
|
1300
|
+
boxShadow: `0 0 0 0 transparent`,
|
|
1301
|
+
backgroundColor: odysseyTokens.HueNeutralWhite,
|
|
1302
|
+
transition: theme.transitions.create(["border-color", "background-color", "box-shadow"], {
|
|
1303
|
+
duration: odysseyTokens.TransitionDurationMain
|
|
1304
|
+
}),
|
|
1305
|
+
...(ownerState.fullWidth && {
|
|
1306
|
+
width: "100%"
|
|
1307
|
+
}),
|
|
1308
|
+
...(ownerState.readOnly === true && {
|
|
1309
|
+
borderColor: "transparent",
|
|
1310
|
+
backgroundColor: odysseyTokens.HueNeutral50
|
|
1311
|
+
}),
|
|
1312
|
+
[`&:hover`]: {
|
|
1313
|
+
borderColor: odysseyTokens.HueNeutral900
|
|
1314
|
+
},
|
|
1315
|
+
[`&.${inputBaseClasses.focused}`]: {
|
|
1316
|
+
borderColor: odysseyTokens.FocusOutlineColorPrimary,
|
|
1317
|
+
boxShadow: `0 0 0 1px ${odysseyTokens.FocusOutlineColorPrimary}`,
|
|
1318
|
+
outline: `${odysseyTokens.FocusOutlineWidthMain} ${odysseyTokens.FocusOutlineStyle} transparent`,
|
|
1319
|
+
outlineOffset: odysseyTokens.FocusOutlineOffsetTight
|
|
1320
|
+
},
|
|
1321
|
+
[`&.${inputBaseClasses.error}`]: {
|
|
1322
|
+
borderColor: odysseyTokens.BorderColorDangerControl
|
|
1323
|
+
},
|
|
1324
|
+
[`&.${inputBaseClasses.error}:hover`]: {
|
|
1325
|
+
borderColor: odysseyTokens.BorderColorDangerDark
|
|
1326
|
+
},
|
|
1327
|
+
[`&.${inputBaseClasses.error}.${inputBaseClasses.focused}`]: {
|
|
1328
|
+
borderColor: odysseyTokens.BorderColorDangerControl,
|
|
1329
|
+
boxShadow: `0 0 0 1px ${odysseyTokens.PaletteDangerMain}`
|
|
1330
|
+
},
|
|
1331
|
+
[`&.${inputBaseClasses.disabled}`]: {
|
|
1332
|
+
color: odysseyTokens.TypographyColorDisabled,
|
|
1333
|
+
borderColor: odysseyTokens.BorderColorDisabled,
|
|
1334
|
+
pointerEvents: "auto",
|
|
1335
|
+
backgroundColor: odysseyTokens.HueNeutral50,
|
|
1336
|
+
cursor: "not-allowed"
|
|
1337
|
+
}
|
|
1338
|
+
};
|
|
1339
|
+
},
|
|
1340
|
+
input: {
|
|
1373
1341
|
boxSizing: "border-box",
|
|
1374
1342
|
height: "auto",
|
|
1375
|
-
paddingBlock:
|
|
1376
|
-
paddingInline:
|
|
1343
|
+
paddingBlock: odysseyTokens.Spacing3,
|
|
1344
|
+
paddingInline: odysseyTokens.Spacing3,
|
|
1377
1345
|
boxShadow: "none",
|
|
1378
1346
|
[`.${inputBaseClasses.disabled} &`]: {
|
|
1379
1347
|
pointerEvents: "auto",
|
|
1380
1348
|
cursor: "not-allowed"
|
|
1381
1349
|
},
|
|
1382
1350
|
[`.${inputAdornmentClasses.root} + &`]: {
|
|
1383
|
-
paddingInlineStart:
|
|
1351
|
+
paddingInlineStart: odysseyTokens.Spacing2
|
|
1384
1352
|
},
|
|
1385
1353
|
[`label[data-shrink=false] + .${inputBaseClasses.formControl} &`]: {
|
|
1386
1354
|
"&::placeholder": {
|
|
1387
|
-
color:
|
|
1355
|
+
color: odysseyTokens.TypographyColorSubordinate,
|
|
1388
1356
|
opacity: "1 !important"
|
|
1389
1357
|
}
|
|
1358
|
+
},
|
|
1359
|
+
[`&::-webkit-search-cancel-button`]: {
|
|
1360
|
+
display: "none",
|
|
1361
|
+
"-webkit-appearance": "none",
|
|
1362
|
+
"-moz-appearance": "none"
|
|
1363
|
+
},
|
|
1364
|
+
[`&::-moz-search-cancel-button`]: {
|
|
1365
|
+
display: "none",
|
|
1366
|
+
"-moz-appearance": "none"
|
|
1367
|
+
},
|
|
1368
|
+
[`&::-ms-clear`]: {
|
|
1369
|
+
display: "none"
|
|
1390
1370
|
}
|
|
1391
|
-
}
|
|
1371
|
+
}
|
|
1392
1372
|
}
|
|
1393
|
-
}
|
|
1394
|
-
},
|
|
1395
|
-
MuiInputLabel: {
|
|
1396
|
-
defaultProps: {
|
|
1397
|
-
disableAnimation: true,
|
|
1398
|
-
shrink: false
|
|
1399
1373
|
},
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1374
|
+
MuiInputLabel: {
|
|
1375
|
+
defaultProps: {
|
|
1376
|
+
disableAnimation: true,
|
|
1377
|
+
shrink: false
|
|
1378
|
+
},
|
|
1379
|
+
styleOverrides: {
|
|
1380
|
+
root: _ref20 => {
|
|
1381
|
+
let {
|
|
1382
|
+
ownerState
|
|
1383
|
+
} = _ref20;
|
|
1384
|
+
return {
|
|
1385
|
+
display: "flex",
|
|
1386
|
+
justifyContent: "space-between",
|
|
1387
|
+
overflow: "unset",
|
|
1388
|
+
whiteSpace: "unset",
|
|
1389
|
+
...(ownerState.formControl && {
|
|
1390
|
+
position: "initial",
|
|
1417
1391
|
transform: "none"
|
|
1418
|
-
})
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1392
|
+
}),
|
|
1393
|
+
...(ownerState.variant === "outlined" && {
|
|
1394
|
+
pointerEvents: "initial",
|
|
1395
|
+
transform: "none",
|
|
1396
|
+
maxWidth: "100%",
|
|
1397
|
+
...(ownerState.size === "small" && {
|
|
1398
|
+
transform: "none"
|
|
1399
|
+
})
|
|
1400
|
+
}),
|
|
1401
|
+
[`& > .${typographyClasses.root}`]: {
|
|
1402
|
+
lineHeight: "unset"
|
|
1403
|
+
}
|
|
1404
|
+
};
|
|
1405
|
+
}
|
|
1424
1406
|
}
|
|
1425
|
-
}
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
let {
|
|
1431
|
-
theme
|
|
1432
|
-
} = _ref44;
|
|
1433
|
-
return {
|
|
1434
|
-
color: theme.palette.primary.main,
|
|
1407
|
+
},
|
|
1408
|
+
MuiLink: {
|
|
1409
|
+
styleOverrides: {
|
|
1410
|
+
root: {
|
|
1411
|
+
color: odysseyTokens.TypographyColorAction,
|
|
1435
1412
|
textDecoration: "underline",
|
|
1436
1413
|
cursor: "pointer",
|
|
1414
|
+
"&:visited": {
|
|
1415
|
+
color: odysseyTokens.TypographyColorAction
|
|
1416
|
+
},
|
|
1437
1417
|
"&:hover": {
|
|
1438
|
-
color:
|
|
1418
|
+
color: odysseyTokens.PalettePrimaryDark,
|
|
1439
1419
|
textDecoration: "underline"
|
|
1440
1420
|
},
|
|
1441
1421
|
"&:focus-visible": {
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
color: theme.palette.primary.main
|
|
1422
|
+
borderRadius: odysseyTokens.BorderRadiusMain,
|
|
1423
|
+
outlineColor: odysseyTokens.FocusOutlineColorPrimary,
|
|
1424
|
+
outlineOffset: odysseyTokens.FocusOutlineOffsetMain,
|
|
1425
|
+
outlineStyle: odysseyTokens.FocusOutlineStyle,
|
|
1426
|
+
outlineWidth: odysseyTokens.FocusOutlineWidthTight,
|
|
1427
|
+
textDecoration: "none"
|
|
1449
1428
|
},
|
|
1450
1429
|
".Link-indicator, .Link-icon": {
|
|
1451
1430
|
display: "inline-block",
|
|
@@ -1453,721 +1432,661 @@ export const components = {
|
|
|
1453
1432
|
lineHeight: 1
|
|
1454
1433
|
},
|
|
1455
1434
|
".Link-indicator": {
|
|
1456
|
-
marginInlineStart:
|
|
1435
|
+
marginInlineStart: odysseyTokens.Spacing2
|
|
1457
1436
|
},
|
|
1458
1437
|
".Link-icon": {
|
|
1459
|
-
marginInlineEnd:
|
|
1438
|
+
marginInlineEnd: odysseyTokens.Spacing2
|
|
1460
1439
|
},
|
|
1461
1440
|
svg: {
|
|
1462
|
-
fontSize: "
|
|
1441
|
+
fontSize: "1em",
|
|
1463
1442
|
height: "1em",
|
|
1464
1443
|
position: "relative",
|
|
1465
|
-
|
|
1444
|
+
insetBlockStart: "-0.0625em",
|
|
1466
1445
|
verticalAlign: "middle",
|
|
1467
1446
|
width: "1em"
|
|
1468
1447
|
}
|
|
1469
|
-
}
|
|
1470
|
-
}
|
|
1471
|
-
},
|
|
1472
|
-
variants: [{
|
|
1473
|
-
props: {
|
|
1474
|
-
variant: "monochrome"
|
|
1448
|
+
}
|
|
1475
1449
|
},
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
color:
|
|
1450
|
+
variants: [{
|
|
1451
|
+
props: {
|
|
1452
|
+
variant: "monochrome"
|
|
1453
|
+
},
|
|
1454
|
+
style: {
|
|
1455
|
+
color: odysseyTokens.TypographyColorBody,
|
|
1482
1456
|
textDecoration: "underline",
|
|
1483
|
-
"&:hover": {
|
|
1484
|
-
color: theme.palette.text.secondary
|
|
1485
|
-
},
|
|
1486
|
-
"&:focus-visible": {
|
|
1487
|
-
outlineColor: theme.palette.primary.main,
|
|
1488
|
-
outlineOffset: "2px",
|
|
1489
|
-
outlineStyle: "solid",
|
|
1490
|
-
outlineWidth: "1px"
|
|
1491
|
-
},
|
|
1492
1457
|
"&:visited": {
|
|
1493
|
-
color:
|
|
1458
|
+
color: odysseyTokens.TypographyColorBody
|
|
1459
|
+
},
|
|
1460
|
+
"&:hover": {
|
|
1461
|
+
color: odysseyTokens.TypographyColorSubordinate
|
|
1494
1462
|
}
|
|
1495
|
-
}
|
|
1496
|
-
}
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1463
|
+
}
|
|
1464
|
+
}]
|
|
1465
|
+
},
|
|
1466
|
+
MuiListItem: {
|
|
1467
|
+
styleOverrides: {
|
|
1468
|
+
root: {
|
|
1469
|
+
textAlign: "start"
|
|
1470
|
+
}
|
|
1503
1471
|
}
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
paddingInline: theme.spacing(4),
|
|
1515
|
-
fontSize: theme.typography.caption.fontSize,
|
|
1516
|
-
fontWeight: theme.typography.fontWeightBold,
|
|
1517
|
-
lineHeight: theme.typography.caption.lineHeight,
|
|
1518
|
-
color: theme.palette.text.secondary,
|
|
1472
|
+
},
|
|
1473
|
+
MuiListSubheader: {
|
|
1474
|
+
styleOverrides: {
|
|
1475
|
+
root: {
|
|
1476
|
+
paddingBlock: odysseyTokens.Spacing2,
|
|
1477
|
+
paddingInline: odysseyTokens.Spacing4,
|
|
1478
|
+
fontSize: odysseyTokens.TypographySizeSubordinate,
|
|
1479
|
+
fontWeight: odysseyTokens.TypographyWeightBodyBold,
|
|
1480
|
+
lineHeight: odysseyTokens.TypographyLineHeightUi,
|
|
1481
|
+
color: odysseyTokens.TypographyColorSubordinate,
|
|
1519
1482
|
textTransform: "uppercase"
|
|
1520
|
-
}
|
|
1483
|
+
}
|
|
1521
1484
|
}
|
|
1522
|
-
}
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
backgroundColor: "transparent",
|
|
1547
|
-
color: theme.palette.primary.main,
|
|
1485
|
+
},
|
|
1486
|
+
MuiMenu: {
|
|
1487
|
+
styleOverrides: {
|
|
1488
|
+
list: {
|
|
1489
|
+
paddingBlock: odysseyTokens.Spacing2,
|
|
1490
|
+
paddingInline: odysseyTokens.Spacing2,
|
|
1491
|
+
borderRadius: odysseyTokens.BorderRadiusMain
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1494
|
+
},
|
|
1495
|
+
MuiMenuItem: {
|
|
1496
|
+
styleOverrides: {
|
|
1497
|
+
root: _ref21 => {
|
|
1498
|
+
let {
|
|
1499
|
+
ownerState
|
|
1500
|
+
} = _ref21;
|
|
1501
|
+
return {
|
|
1502
|
+
gap: odysseyTokens.Spacing2,
|
|
1503
|
+
minHeight: "unset",
|
|
1504
|
+
paddingBlock: odysseyTokens.Spacing3,
|
|
1505
|
+
borderRadius: odysseyTokens.BorderRadiusTight,
|
|
1506
|
+
[`& .${formControlLabelClasses.root}`]: {
|
|
1507
|
+
gap: "unset"
|
|
1508
|
+
},
|
|
1548
1509
|
"&:hover": {
|
|
1549
|
-
|
|
1510
|
+
textDecoration: "none",
|
|
1511
|
+
backgroundColor: odysseyTokens.HueNeutral100,
|
|
1550
1512
|
"@media (hover: none)": {
|
|
1551
|
-
backgroundColor:
|
|
1513
|
+
backgroundColor: "transparent"
|
|
1552
1514
|
}
|
|
1515
|
+
},
|
|
1516
|
+
[`&.${menuItemClasses.root}-destructive`]: {
|
|
1517
|
+
color: odysseyTokens.TypographyColorDanger
|
|
1518
|
+
},
|
|
1519
|
+
[`&.${menuItemClasses.selected}`]: {
|
|
1520
|
+
backgroundColor: "transparent",
|
|
1521
|
+
color: odysseyTokens.TypographyColorAction,
|
|
1522
|
+
"&:hover": {
|
|
1523
|
+
backgroundColor: odysseyTokens.PalettePrimaryLighter,
|
|
1524
|
+
"@media (hover: none)": {
|
|
1525
|
+
backgroundColor: odysseyTokens.PalettePrimaryLighter
|
|
1526
|
+
}
|
|
1527
|
+
}
|
|
1528
|
+
},
|
|
1529
|
+
...(!ownerState.disableGutters && {
|
|
1530
|
+
paddingInline: odysseyTokens.Spacing4
|
|
1531
|
+
}),
|
|
1532
|
+
...(ownerState.divider && {
|
|
1533
|
+
borderBlockEnd: `1px solid ${odysseyTokens.BorderColorDisplay}`
|
|
1534
|
+
}),
|
|
1535
|
+
[`&.${menuItemClasses.disabled}`]: {
|
|
1536
|
+
opacity: 1,
|
|
1537
|
+
color: odysseyTokens.TypographyColorDisabled
|
|
1538
|
+
},
|
|
1539
|
+
[`& + .${dividerClasses.root}`]: {
|
|
1540
|
+
marginBlock: odysseyTokens.Spacing1
|
|
1541
|
+
},
|
|
1542
|
+
[`& .${listItemTextClasses.root}`]: {
|
|
1543
|
+
marginBlock: 0
|
|
1544
|
+
},
|
|
1545
|
+
[`& .${listItemIconClasses.root}`]: {
|
|
1546
|
+
minWidth: "unset"
|
|
1553
1547
|
}
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
paddingInline: theme.spacing(4)
|
|
1557
|
-
}),
|
|
1558
|
-
...(ownerState.divider && {
|
|
1559
|
-
borderBlockEnd: `1px solid ${theme.palette.divider}`
|
|
1560
|
-
}),
|
|
1561
|
-
[`&.${menuItemClasses.disabled}`]: {
|
|
1562
|
-
opacity: 1,
|
|
1563
|
-
color: theme.palette.text.disabled
|
|
1564
|
-
},
|
|
1565
|
-
[`& + .${dividerClasses.root}`]: {
|
|
1566
|
-
marginBlock: theme.spacing(1)
|
|
1567
|
-
},
|
|
1568
|
-
[`& .${listItemTextClasses.root}`]: {
|
|
1569
|
-
marginBlock: 0
|
|
1570
|
-
},
|
|
1571
|
-
[`& .${listItemIconClasses.root}`]: {
|
|
1572
|
-
minWidth: "unset"
|
|
1573
|
-
}
|
|
1574
|
-
};
|
|
1575
|
-
}
|
|
1576
|
-
}
|
|
1577
|
-
},
|
|
1578
|
-
MuiListItemIcon: {
|
|
1579
|
-
styleOverrides: {
|
|
1580
|
-
root: {
|
|
1581
|
-
minWidth: "unset",
|
|
1582
|
-
color: "inherit"
|
|
1548
|
+
};
|
|
1549
|
+
}
|
|
1583
1550
|
}
|
|
1584
|
-
}
|
|
1585
|
-
},
|
|
1586
|
-
MuiNativeSelect: {
|
|
1587
|
-
defaultProps: {
|
|
1588
|
-
variant: "standard"
|
|
1589
1551
|
},
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1552
|
+
MuiListItemIcon: {
|
|
1553
|
+
styleOverrides: {
|
|
1554
|
+
root: {
|
|
1555
|
+
minWidth: "unset",
|
|
1556
|
+
color: "inherit"
|
|
1594
1557
|
}
|
|
1558
|
+
}
|
|
1559
|
+
},
|
|
1560
|
+
MuiNativeSelect: {
|
|
1561
|
+
defaultProps: {
|
|
1562
|
+
variant: "standard"
|
|
1595
1563
|
},
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1564
|
+
styleOverrides: {
|
|
1565
|
+
select: {
|
|
1566
|
+
"&:focus": {
|
|
1567
|
+
backgroundColor: "transparent"
|
|
1568
|
+
}
|
|
1569
|
+
},
|
|
1570
|
+
icon: {
|
|
1571
|
+
right: "unset",
|
|
1572
|
+
insetInlineEnd: odysseyTokens.Spacing3,
|
|
1573
|
+
color: odysseyTokens.TypographyColorBody
|
|
1574
|
+
}
|
|
1604
1575
|
}
|
|
1605
|
-
}
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
marginBlockStart: theme.spacing(1),
|
|
1615
|
-
borderWidth: theme.mixins.borderWidth,
|
|
1616
|
-
borderStyle: theme.mixins.borderStyle,
|
|
1617
|
-
borderColor: theme.palette.grey[200]
|
|
1618
|
-
};
|
|
1576
|
+
},
|
|
1577
|
+
MuiPopover: {
|
|
1578
|
+
styleOverrides: {
|
|
1579
|
+
paper: {
|
|
1580
|
+
marginBlockStart: odysseyTokens.Spacing1,
|
|
1581
|
+
borderWidth: odysseyTokens.BorderWidthMain,
|
|
1582
|
+
borderStyle: odysseyTokens.BorderStyleMain,
|
|
1583
|
+
borderColor: odysseyTokens.HueNeutral200
|
|
1584
|
+
}
|
|
1619
1585
|
}
|
|
1620
|
-
}
|
|
1621
|
-
},
|
|
1622
|
-
MuiRadio: {
|
|
1623
|
-
defaultProps: {
|
|
1624
|
-
size: "small",
|
|
1625
|
-
icon: _jsx(_Fragment, {}),
|
|
1626
|
-
checkedIcon: _jsx(_Fragment, {})
|
|
1627
1586
|
},
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
backgroundColor: "transparent",
|
|
1652
|
-
transition: theme.transitions.create(["background-color"], {
|
|
1653
|
-
duration: theme.transitions.duration.short
|
|
1654
|
-
})
|
|
1655
|
-
},
|
|
1656
|
-
".MuiFormControlLabel-root:hover > &": {
|
|
1657
|
-
backgroundColor: "transparent",
|
|
1658
|
-
borderColor: theme.palette.grey[900]
|
|
1659
|
-
},
|
|
1660
|
-
".Mui-error:hover > &": {
|
|
1661
|
-
backgroundColor: "transparent",
|
|
1662
|
-
borderColor: theme.palette.error.dark,
|
|
1587
|
+
MuiRadio: {
|
|
1588
|
+
defaultProps: {
|
|
1589
|
+
size: "small",
|
|
1590
|
+
icon: _jsx(_Fragment, {}),
|
|
1591
|
+
checkedIcon: _jsx(_Fragment, {})
|
|
1592
|
+
},
|
|
1593
|
+
styleOverrides: {
|
|
1594
|
+
root: _ref22 => {
|
|
1595
|
+
let {
|
|
1596
|
+
theme
|
|
1597
|
+
} = _ref22;
|
|
1598
|
+
return {
|
|
1599
|
+
width: `${odysseyTokens.TypographyLineHeightUi}em`,
|
|
1600
|
+
height: `${odysseyTokens.TypographyLineHeightUi}em`,
|
|
1601
|
+
borderRadius: `${odysseyTokens.TypographyLineHeightUi}em`,
|
|
1602
|
+
borderWidth: odysseyTokens.BorderWidthMain,
|
|
1603
|
+
borderStyle: odysseyTokens.BorderStyleMain,
|
|
1604
|
+
borderColor: odysseyTokens.HueNeutral500,
|
|
1605
|
+
padding: 0,
|
|
1606
|
+
boxShadow: `0 0 0 0 transparent`,
|
|
1607
|
+
transition: theme.transitions.create(["border-color", "background-color", "box-shadow"], {
|
|
1608
|
+
duration: odysseyTokens.TransitionDurationMain
|
|
1609
|
+
}),
|
|
1663
1610
|
"&::before": {
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1611
|
+
content: "''",
|
|
1612
|
+
position: "absolute",
|
|
1613
|
+
width: "0.5em",
|
|
1614
|
+
height: "0.5em",
|
|
1615
|
+
borderRadius: "50%",
|
|
1616
|
+
backgroundColor: "transparent",
|
|
1617
|
+
transition: theme.transitions.create(["background-color"], {
|
|
1618
|
+
duration: odysseyTokens.TransitionDurationMain
|
|
1619
|
+
})
|
|
1620
|
+
},
|
|
1621
|
+
[`.${formControlLabelClasses.root}:hover > &`]: {
|
|
1622
|
+
backgroundColor: "transparent",
|
|
1623
|
+
borderColor: odysseyTokens.HueNeutral900
|
|
1624
|
+
},
|
|
1625
|
+
".Mui-error:hover > &": {
|
|
1626
|
+
backgroundColor: "transparent",
|
|
1627
|
+
borderColor: odysseyTokens.BorderColorDangerDark,
|
|
1628
|
+
"&::before": {
|
|
1629
|
+
backgroundColor: odysseyTokens.PaletteDangerDark
|
|
1630
|
+
}
|
|
1631
|
+
},
|
|
1632
|
+
".Mui-error > &": {
|
|
1633
|
+
borderColor: odysseyTokens.BorderColorDangerControl,
|
|
1634
|
+
"&.Mui-focusVisible": {
|
|
1635
|
+
boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PaletteDangerMain}`
|
|
1636
|
+
}
|
|
1637
|
+
},
|
|
1669
1638
|
"&.Mui-focusVisible": {
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
"
|
|
1682
|
-
backgroundColor:
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
borderColor: theme.palette.grey[300],
|
|
1691
|
-
"&.Mui-checked::before": {
|
|
1692
|
-
backgroundColor: theme.palette.grey[300]
|
|
1639
|
+
borderColor: odysseyTokens.HueNeutral900,
|
|
1640
|
+
boxShadow: `0 0 0 2px ${odysseyTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyTokens.PalettePrimaryMain}`,
|
|
1641
|
+
outline: "2px solid transparent",
|
|
1642
|
+
outlineOffset: "1px"
|
|
1643
|
+
},
|
|
1644
|
+
"&.Mui-checked": {
|
|
1645
|
+
position: "relative",
|
|
1646
|
+
"&::before": {
|
|
1647
|
+
backgroundColor: odysseyTokens.PalettePrimaryMain
|
|
1648
|
+
}
|
|
1649
|
+
},
|
|
1650
|
+
".Mui-error > &.Mui-checked::before": {
|
|
1651
|
+
backgroundColor: odysseyTokens.PaletteDangerMain
|
|
1652
|
+
},
|
|
1653
|
+
"&.Mui-disabled": {
|
|
1654
|
+
backgroundColor: odysseyTokens.HueNeutral50,
|
|
1655
|
+
borderColor: odysseyTokens.HueNeutral300,
|
|
1656
|
+
"&.Mui-checked::before": {
|
|
1657
|
+
backgroundColor: odysseyTokens.HueNeutral300
|
|
1658
|
+
}
|
|
1693
1659
|
}
|
|
1694
|
-
}
|
|
1695
|
-
}
|
|
1696
|
-
}
|
|
1697
|
-
}
|
|
1698
|
-
},
|
|
1699
|
-
MuiSnackbar: {
|
|
1700
|
-
defaultProps: {
|
|
1701
|
-
anchorOrigin: {
|
|
1702
|
-
vertical: "bottom",
|
|
1703
|
-
horizontal: "right"
|
|
1660
|
+
};
|
|
1661
|
+
}
|
|
1704
1662
|
}
|
|
1705
1663
|
},
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1664
|
+
MuiSnackbar: {
|
|
1665
|
+
defaultProps: {
|
|
1666
|
+
anchorOrigin: {
|
|
1667
|
+
vertical: "bottom",
|
|
1668
|
+
horizontal: "right"
|
|
1669
|
+
}
|
|
1670
|
+
},
|
|
1671
|
+
styleOverrides: {
|
|
1672
|
+
root: {
|
|
1673
|
+
"&.Toast": {
|
|
1674
|
+
position: "static"
|
|
1675
|
+
}
|
|
1710
1676
|
}
|
|
1711
1677
|
}
|
|
1712
|
-
}
|
|
1713
|
-
},
|
|
1714
|
-
MuiSelect: {
|
|
1715
|
-
defaultProps: {
|
|
1716
|
-
variant: "standard",
|
|
1717
|
-
IconComponent: ChevronDownIcon
|
|
1718
1678
|
},
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1679
|
+
MuiSelect: {
|
|
1680
|
+
defaultProps: {
|
|
1681
|
+
variant: "standard",
|
|
1682
|
+
IconComponent: ChevronDownIcon
|
|
1683
|
+
},
|
|
1684
|
+
styleOverrides: {
|
|
1685
|
+
select: {
|
|
1686
|
+
paddingBlock: odysseyTokens.Spacing3,
|
|
1687
|
+
paddingInline: odysseyTokens.Spacing3,
|
|
1727
1688
|
"&:focus": {
|
|
1728
1689
|
backgroundColor: "transparent"
|
|
1729
1690
|
},
|
|
1730
1691
|
".MuiBox-root": {
|
|
1731
1692
|
display: "flex",
|
|
1732
1693
|
flexWrap: "wrap",
|
|
1733
|
-
gap:
|
|
1734
|
-
marginBlock: `-${
|
|
1735
|
-
marginInline: `-${
|
|
1694
|
+
gap: odysseyTokens.Spacing1,
|
|
1695
|
+
marginBlock: `-${odysseyTokens.Spacing2}`,
|
|
1696
|
+
marginInline: `-${odysseyTokens.Spacing2}`
|
|
1736
1697
|
}
|
|
1737
|
-
}
|
|
1738
|
-
|
|
1739
|
-
icon: _ref52 => {
|
|
1740
|
-
let {
|
|
1741
|
-
theme
|
|
1742
|
-
} = _ref52;
|
|
1743
|
-
return {
|
|
1698
|
+
},
|
|
1699
|
+
icon: {
|
|
1744
1700
|
right: "unset",
|
|
1745
|
-
insetInlineEnd:
|
|
1746
|
-
color:
|
|
1747
|
-
}
|
|
1701
|
+
insetInlineEnd: odysseyTokens.Spacing3,
|
|
1702
|
+
color: odysseyTokens.TypographyColorBody
|
|
1703
|
+
}
|
|
1748
1704
|
}
|
|
1749
|
-
}
|
|
1750
|
-
},
|
|
1751
|
-
MuiSvgIcon: {
|
|
1752
|
-
defaultProps: {
|
|
1753
|
-
fontSize: "inherit",
|
|
1754
|
-
color: "inherit"
|
|
1755
1705
|
},
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1706
|
+
MuiSvgIcon: {
|
|
1707
|
+
defaultProps: {
|
|
1708
|
+
fontSize: "inherit",
|
|
1709
|
+
color: "inherit"
|
|
1710
|
+
},
|
|
1711
|
+
styleOverrides: {
|
|
1712
|
+
root: _ref23 => {
|
|
1713
|
+
let {
|
|
1714
|
+
ownerState
|
|
1715
|
+
} = _ref23;
|
|
1716
|
+
return {
|
|
1717
|
+
fontSize: `${odysseyTokens.TypographyLineHeightUi}rem`,
|
|
1718
|
+
...(ownerState.fontSize === "small" && {
|
|
1719
|
+
fontSize: `${Number(odysseyTokens.TypographyLineHeightUi) * 0.75}rem`
|
|
1720
|
+
}),
|
|
1721
|
+
...(ownerState.fontSize === "large" && {
|
|
1722
|
+
fontSize: `${Number(odysseyTokens.TypographyLineHeightUi) * 1.25}rem`
|
|
1723
|
+
})
|
|
1724
|
+
};
|
|
1725
|
+
}
|
|
1771
1726
|
}
|
|
1772
|
-
}
|
|
1773
|
-
},
|
|
1774
|
-
MuiTab: {
|
|
1775
|
-
defaultProps: {
|
|
1776
|
-
iconPosition: "start"
|
|
1777
1727
|
},
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
bottom: theme.spacing(4),
|
|
1811
|
-
left: `calc(-1 * ${theme.spacing(2)})`,
|
|
1812
|
-
borderWidth: theme.mixins.borderWidth,
|
|
1813
|
-
borderStyle: theme.mixins.borderStyle,
|
|
1814
|
-
borderColor: theme.palette.primary.main,
|
|
1815
|
-
borderRadius: theme.mixins.borderRadius
|
|
1816
|
-
},
|
|
1817
|
-
"&.Mui-selected": {
|
|
1818
|
-
color: theme.palette.text.primary,
|
|
1819
|
-
fontWeight: theme.typography.fontWeightBold,
|
|
1820
|
-
"&:hover": {
|
|
1821
|
-
color: theme.palette.primary.main
|
|
1822
|
-
}
|
|
1823
|
-
},
|
|
1824
|
-
"&.Mui-disabled": {
|
|
1825
|
-
cursor: "not-allowed",
|
|
1826
|
-
pointerEvents: "unset",
|
|
1728
|
+
MuiTab: {
|
|
1729
|
+
defaultProps: {
|
|
1730
|
+
iconPosition: "start"
|
|
1731
|
+
},
|
|
1732
|
+
styleOverrides: {
|
|
1733
|
+
root: _ref24 => {
|
|
1734
|
+
let {
|
|
1735
|
+
ownerState
|
|
1736
|
+
} = _ref24;
|
|
1737
|
+
return {
|
|
1738
|
+
maxWidth: `calc(${odysseyTokens.TypographyLineLengthMax} / 2)`,
|
|
1739
|
+
minWidth: "unset",
|
|
1740
|
+
minHeight: "unset",
|
|
1741
|
+
padding: `${odysseyTokens.Spacing4} 0`,
|
|
1742
|
+
fontFamily: odysseyTokens.TypographyFamilyHeading,
|
|
1743
|
+
lineHeight: odysseyTokens.TypographyLineHeightUi,
|
|
1744
|
+
overflow: "visible",
|
|
1745
|
+
...(ownerState.textColor === "inherit" && {
|
|
1746
|
+
color: "inherit",
|
|
1747
|
+
opacity: 1
|
|
1748
|
+
}),
|
|
1749
|
+
...(ownerState.selected == true && {
|
|
1750
|
+
color: odysseyTokens.TypographyColorAction,
|
|
1751
|
+
fontWeight: odysseyTokens.TypographyWeightBodyBold
|
|
1752
|
+
}),
|
|
1753
|
+
...(ownerState.disabled && {
|
|
1754
|
+
color: odysseyTokens.TypographyColorDisabled
|
|
1755
|
+
}),
|
|
1756
|
+
...(ownerState.wrapped && {
|
|
1757
|
+
fontSize: odysseyTokens.TypographySizeSubordinate,
|
|
1758
|
+
lineHeight: odysseyTokens.TypographyLineHeightBody
|
|
1759
|
+
}),
|
|
1827
1760
|
"&:hover": {
|
|
1828
|
-
color:
|
|
1761
|
+
color: odysseyTokens.TypographyColorAction
|
|
1762
|
+
},
|
|
1763
|
+
"&:focus-visible::before, &.Mui-focusVisible::before": {
|
|
1764
|
+
content: "''",
|
|
1765
|
+
position: "absolute",
|
|
1766
|
+
insetBlockStart: odysseyTokens.Spacing4,
|
|
1767
|
+
insetInlineEnd: `calc(-1 * ${odysseyTokens.Spacing2})`,
|
|
1768
|
+
insetBlockEnd: odysseyTokens.Spacing4,
|
|
1769
|
+
insetInlineStart: `calc(-1 * ${odysseyTokens.Spacing2})`,
|
|
1770
|
+
borderWidth: odysseyTokens.BorderWidthMain,
|
|
1771
|
+
borderStyle: odysseyTokens.BorderStyleMain,
|
|
1772
|
+
borderColor: odysseyTokens.PalettePrimaryMain,
|
|
1773
|
+
borderRadius: odysseyTokens.BorderRadiusMain
|
|
1774
|
+
},
|
|
1775
|
+
"& .MuiTab-iconWrapper": {
|
|
1776
|
+
marginInlineEnd: odysseyTokens.Spacing1
|
|
1829
1777
|
}
|
|
1830
|
-
}
|
|
1831
|
-
}
|
|
1778
|
+
};
|
|
1779
|
+
}
|
|
1832
1780
|
}
|
|
1833
|
-
}
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1781
|
+
},
|
|
1782
|
+
MuiTabPanel: {
|
|
1783
|
+
styleOverrides: {
|
|
1784
|
+
root: {
|
|
1785
|
+
padding: 0
|
|
1786
|
+
}
|
|
1839
1787
|
}
|
|
1840
|
-
}
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
};
|
|
1788
|
+
},
|
|
1789
|
+
MuiTable: {
|
|
1790
|
+
styleOverrides: {
|
|
1791
|
+
root: _ref25 => {
|
|
1792
|
+
let {
|
|
1793
|
+
ownerState
|
|
1794
|
+
} = _ref25;
|
|
1795
|
+
return {
|
|
1796
|
+
display: "table",
|
|
1797
|
+
width: "auto",
|
|
1798
|
+
borderCollapse: "separate",
|
|
1799
|
+
borderSpacing: 0,
|
|
1800
|
+
border: `${odysseyTokens.BorderWidthMain} ${odysseyTokens.BorderStyleMain} ${odysseyTokens.HueNeutral100}`,
|
|
1801
|
+
borderRadius: odysseyTokens.BorderRadiusMain,
|
|
1802
|
+
marginBlock: odysseyTokens.Spacing0,
|
|
1803
|
+
marginInline: odysseyTokens.Spacing0,
|
|
1804
|
+
lineHeight: odysseyTokens.TypographyLineHeightUi,
|
|
1805
|
+
"&:only-child": {
|
|
1806
|
+
marginBlockEnd: 0
|
|
1807
|
+
},
|
|
1808
|
+
...(ownerState.stickyHeader && {
|
|
1809
|
+
borderCollapse: "separate"
|
|
1810
|
+
}),
|
|
1811
|
+
caption: {
|
|
1812
|
+
clip: "rect(0 0 0 0)",
|
|
1813
|
+
clipPath: "inset(50%)",
|
|
1814
|
+
height: "1px",
|
|
1815
|
+
overflow: "hidden",
|
|
1816
|
+
position: "absolute",
|
|
1817
|
+
whiteSpace: "nowrap",
|
|
1818
|
+
width: "1px"
|
|
1819
|
+
}
|
|
1820
|
+
};
|
|
1821
|
+
}
|
|
1875
1822
|
}
|
|
1876
|
-
}
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
}
|
|
1955
|
-
}
|
|
1823
|
+
},
|
|
1824
|
+
MuiTableCell: {
|
|
1825
|
+
styleOverrides: {
|
|
1826
|
+
root: _ref26 => {
|
|
1827
|
+
let {
|
|
1828
|
+
theme,
|
|
1829
|
+
ownerState
|
|
1830
|
+
} = _ref26;
|
|
1831
|
+
return {
|
|
1832
|
+
...theme.typography.body1,
|
|
1833
|
+
maxWidth: odysseyTokens.TypographyLineLengthMax,
|
|
1834
|
+
borderBottom: `${odysseyTokens.BorderWidthMain} ${odysseyTokens.BorderStyleMain} ${odysseyTokens.HueNeutral100}`,
|
|
1835
|
+
textAlign: "start",
|
|
1836
|
+
verticalAlign: "baseline",
|
|
1837
|
+
padding: "unset",
|
|
1838
|
+
paddingBlock: odysseyTokens.Spacing4,
|
|
1839
|
+
paddingInline: odysseyTokens.Spacing4,
|
|
1840
|
+
overflowWrap: "break-word",
|
|
1841
|
+
[`.${tableRowClasses.root}:hover &[rowspan]`]: {
|
|
1842
|
+
backgroundColor: odysseyTokens.HueNeutralWhite
|
|
1843
|
+
},
|
|
1844
|
+
[`.${tableBodyClasses.root} .${tableRowClasses.root}:last-of-type &`]: {
|
|
1845
|
+
borderBottom: 0
|
|
1846
|
+
},
|
|
1847
|
+
[`.${tableRowClasses.selected} &`]: {
|
|
1848
|
+
borderBottomColor: odysseyTokens.PalettePrimaryLight
|
|
1849
|
+
},
|
|
1850
|
+
[`.${tableRowClasses.selected}:hover &`]: {
|
|
1851
|
+
borderBottomColor: odysseyTokens.PalettePrimaryMain
|
|
1852
|
+
},
|
|
1853
|
+
...(ownerState.variant === "action" && {
|
|
1854
|
+
paddingBlock: 0
|
|
1855
|
+
}),
|
|
1856
|
+
...(ownerState.variant === "body" && {
|
|
1857
|
+
color: odysseyTokens.TypographyColorBody
|
|
1858
|
+
}),
|
|
1859
|
+
...(ownerState.variant === "date" && {
|
|
1860
|
+
whiteSpace: "nowrap"
|
|
1861
|
+
}),
|
|
1862
|
+
...(ownerState.variant === "footer" && {
|
|
1863
|
+
color: odysseyTokens.TypographyColorSubordinate,
|
|
1864
|
+
lineHeight: odysseyTokens.TypographyLineHeightBody,
|
|
1865
|
+
fontSize: odysseyTokens.TypographySizeBody
|
|
1866
|
+
}),
|
|
1867
|
+
[`.${tableHeadClasses.root} &`]: {
|
|
1868
|
+
color: odysseyTokens.TypographyColorBody,
|
|
1869
|
+
lineHeight: odysseyTokens.TypographyLineHeightBody,
|
|
1870
|
+
fontWeight: odysseyTokens.TypographyWeightBodyBold,
|
|
1871
|
+
backgroundColor: odysseyTokens.HueNeutral50
|
|
1872
|
+
},
|
|
1873
|
+
...(ownerState.variant === "head" && {
|
|
1874
|
+
lineHeight: odysseyTokens.TypographyLineHeightBody,
|
|
1875
|
+
fontWeight: odysseyTokens.TypographyWeightBodyBold
|
|
1876
|
+
}),
|
|
1877
|
+
...(ownerState.variant === "number" && {
|
|
1878
|
+
textAlign: "end",
|
|
1879
|
+
fontFeatureSettings: '"lnum", "tnum"'
|
|
1880
|
+
}),
|
|
1881
|
+
...(ownerState.padding === "checkbox" && {
|
|
1882
|
+
width: 48,
|
|
1883
|
+
padding: "0 0 0 4px"
|
|
1884
|
+
}),
|
|
1885
|
+
...(ownerState.padding === "none" && {
|
|
1886
|
+
padding: 0
|
|
1887
|
+
}),
|
|
1888
|
+
...(ownerState.align === "left" && {
|
|
1889
|
+
textAlign: "start"
|
|
1890
|
+
}),
|
|
1891
|
+
...(ownerState.align === "center" && {
|
|
1892
|
+
textAlign: "center"
|
|
1893
|
+
}),
|
|
1894
|
+
...(ownerState.align === "right" && {
|
|
1895
|
+
textAlign: "end",
|
|
1896
|
+
flexDirection: "row-reverse"
|
|
1897
|
+
}),
|
|
1898
|
+
...(ownerState.align === "justify" && {
|
|
1899
|
+
textAlign: "justify"
|
|
1900
|
+
})
|
|
1901
|
+
};
|
|
1902
|
+
}
|
|
1956
1903
|
}
|
|
1957
|
-
}
|
|
1958
|
-
},
|
|
1959
|
-
MuiTableContainer: {
|
|
1960
|
-
defaultProps: {
|
|
1961
|
-
component: "figure"
|
|
1962
1904
|
},
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1905
|
+
MuiTableContainer: {
|
|
1906
|
+
defaultProps: {
|
|
1907
|
+
component: "figure"
|
|
1908
|
+
},
|
|
1909
|
+
styleOverrides: {
|
|
1910
|
+
root: {
|
|
1969
1911
|
width: "unset",
|
|
1970
1912
|
maxWidth: "100%",
|
|
1971
|
-
marginBlockStart:
|
|
1972
|
-
marginBlockEnd:
|
|
1913
|
+
marginBlockStart: odysseyTokens.Spacing0,
|
|
1914
|
+
marginBlockEnd: odysseyTokens.Spacing4,
|
|
1973
1915
|
marginInline: 0,
|
|
1974
1916
|
overflowX: "auto",
|
|
1975
1917
|
"&:last-child": {
|
|
1976
1918
|
marginBlock: 0
|
|
1977
1919
|
}
|
|
1978
|
-
}
|
|
1920
|
+
}
|
|
1979
1921
|
}
|
|
1980
|
-
}
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
root: _ref58 => {
|
|
1985
|
-
let {
|
|
1986
|
-
theme
|
|
1987
|
-
} = _ref58;
|
|
1988
|
-
return {
|
|
1922
|
+
},
|
|
1923
|
+
MuiTableRow: {
|
|
1924
|
+
styleOverrides: {
|
|
1925
|
+
root: {
|
|
1989
1926
|
verticalAlign: "unset",
|
|
1990
1927
|
[`&.${tableRowClasses.root}:hover`]: {
|
|
1991
|
-
backgroundColor:
|
|
1928
|
+
backgroundColor: odysseyTokens.HueNeutral50
|
|
1992
1929
|
},
|
|
1993
1930
|
[`&.${tableRowClasses.selected}`]: {
|
|
1994
|
-
backgroundColor:
|
|
1931
|
+
backgroundColor: odysseyTokens.PalettePrimaryLighter,
|
|
1995
1932
|
"&:hover": {
|
|
1996
|
-
backgroundColor:
|
|
1933
|
+
backgroundColor: odysseyTokens.PalettePrimaryLighter
|
|
1997
1934
|
}
|
|
1998
1935
|
}
|
|
1999
|
-
}
|
|
1936
|
+
}
|
|
2000
1937
|
}
|
|
2001
|
-
}
|
|
2002
|
-
},
|
|
2003
|
-
MuiTableSortLabel: {
|
|
2004
|
-
defaultProps: {
|
|
2005
|
-
IconComponent: ArrowDownIcon
|
|
2006
1938
|
},
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
1939
|
+
MuiTableSortLabel: {
|
|
1940
|
+
defaultProps: {
|
|
1941
|
+
IconComponent: ArrowDownIcon
|
|
1942
|
+
},
|
|
1943
|
+
styleOverrides: {
|
|
1944
|
+
root: {
|
|
2013
1945
|
cursor: "pointer",
|
|
2014
1946
|
display: "inline-flex",
|
|
2015
1947
|
justifyContent: "flex-start",
|
|
2016
1948
|
flexDirection: "inherit",
|
|
2017
1949
|
alignItems: "center",
|
|
2018
1950
|
"&:focus-visible": {
|
|
2019
|
-
color:
|
|
2020
|
-
outlineOffset:
|
|
2021
|
-
outlineStyle:
|
|
2022
|
-
outlineWidth:
|
|
2023
|
-
outlineColor:
|
|
1951
|
+
color: odysseyTokens.TypographyColorBody,
|
|
1952
|
+
outlineOffset: odysseyTokens.Spacing4,
|
|
1953
|
+
outlineStyle: odysseyTokens.FocusOutlineStyle,
|
|
1954
|
+
outlineWidth: odysseyTokens.FocusOutlineWidthMain,
|
|
1955
|
+
outlineColor: odysseyTokens.FocusOutlineColorPrimary
|
|
2024
1956
|
},
|
|
2025
1957
|
"&:hover": {
|
|
2026
|
-
color:
|
|
1958
|
+
color: odysseyTokens.TypographyColorBody,
|
|
2027
1959
|
[`& .${tableSortLabelClasses.icon}`]: {
|
|
2028
1960
|
opacity: 1
|
|
2029
1961
|
}
|
|
2030
1962
|
},
|
|
2031
1963
|
[`&.${tableSortLabelClasses.active}`]: {
|
|
2032
|
-
color:
|
|
1964
|
+
color: odysseyTokens.TypographyColorSubordinate,
|
|
2033
1965
|
[`& .${tableSortLabelClasses.icon}`]: {
|
|
2034
1966
|
opacity: 1,
|
|
2035
1967
|
color: "inherit"
|
|
2036
1968
|
}
|
|
2037
1969
|
}
|
|
2038
|
-
}
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
}
|
|
2067
|
-
}
|
|
1970
|
+
},
|
|
1971
|
+
icon: _ref27 => {
|
|
1972
|
+
let {
|
|
1973
|
+
theme,
|
|
1974
|
+
ownerState
|
|
1975
|
+
} = _ref27;
|
|
1976
|
+
return {
|
|
1977
|
+
fontSize: "inherit",
|
|
1978
|
+
marginInlineEnd: 0,
|
|
1979
|
+
marginInlineStart: 0,
|
|
1980
|
+
opacity: 0,
|
|
1981
|
+
color: "inherit",
|
|
1982
|
+
transition: theme.transitions.create(["opacity", "transform"], {
|
|
1983
|
+
duration: odysseyTokens.TransitionDurationMain
|
|
1984
|
+
}),
|
|
1985
|
+
userSelect: "none",
|
|
1986
|
+
[`.${tableCellClasses.alignRight} &`]: {
|
|
1987
|
+
marginInlineEnd: odysseyTokens.Spacing2
|
|
1988
|
+
},
|
|
1989
|
+
[`.${tableCellClasses.alignLeft} &`]: {
|
|
1990
|
+
marginInlineStart: odysseyTokens.Spacing2
|
|
1991
|
+
},
|
|
1992
|
+
...(ownerState.direction === "desc" && {
|
|
1993
|
+
transform: "rotate(0deg)"
|
|
1994
|
+
}),
|
|
1995
|
+
...(ownerState.direction === "asc" && {
|
|
1996
|
+
transform: "rotate(180deg)"
|
|
1997
|
+
})
|
|
1998
|
+
};
|
|
1999
|
+
}
|
|
2068
2000
|
}
|
|
2069
|
-
}
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
root: _ref61 => {
|
|
2074
|
-
let {
|
|
2075
|
-
theme
|
|
2076
|
-
} = _ref61;
|
|
2077
|
-
return {
|
|
2078
|
-
minHeight: "unset",
|
|
2079
|
-
marginBottom: theme.spacing(5)
|
|
2080
|
-
};
|
|
2001
|
+
},
|
|
2002
|
+
MuiTabs: {
|
|
2003
|
+
defaultProps: {
|
|
2004
|
+
textColor: "inherit"
|
|
2081
2005
|
},
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2006
|
+
styleOverrides: {
|
|
2007
|
+
root: {
|
|
2008
|
+
minHeight: "unset",
|
|
2009
|
+
marginBottom: odysseyTokens.Spacing5
|
|
2010
|
+
},
|
|
2011
|
+
flexContainer: {
|
|
2012
|
+
gap: odysseyTokens.Spacing5,
|
|
2013
|
+
borderBottom: `${odysseyTokens.BorderWidthMain} ${odysseyTokens.BorderStyleMain} ${odysseyTokens.BorderColorDisplay}`
|
|
2014
|
+
}
|
|
2090
2015
|
}
|
|
2091
|
-
}
|
|
2092
|
-
},
|
|
2093
|
-
MuiTooltip: {
|
|
2094
|
-
defaultProps: {
|
|
2095
|
-
arrow: true,
|
|
2096
|
-
enterDelay: 500,
|
|
2097
|
-
enterNextDelay: 250,
|
|
2098
|
-
placement: "top"
|
|
2099
2016
|
},
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2017
|
+
MuiTooltip: {
|
|
2018
|
+
defaultProps: {
|
|
2019
|
+
arrow: true,
|
|
2020
|
+
enterDelay: 500,
|
|
2021
|
+
enterNextDelay: 250,
|
|
2022
|
+
placement: "top"
|
|
2023
|
+
},
|
|
2024
|
+
styleOverrides: {
|
|
2025
|
+
tooltip: _ref28 => {
|
|
2026
|
+
let {
|
|
2027
|
+
ownerState
|
|
2028
|
+
} = _ref28;
|
|
2029
|
+
return {
|
|
2030
|
+
maxWidth: `calc(${odysseyTokens.TypographyLineLengthMax} / 2)`,
|
|
2031
|
+
paddingBlock: odysseyTokens.Spacing2,
|
|
2032
|
+
paddingInline: odysseyTokens.Spacing3,
|
|
2033
|
+
backgroundColor: odysseyTokens.HueNeutral900,
|
|
2034
|
+
color: odysseyTokens.HueNeutralWhite,
|
|
2035
|
+
fontSize: odysseyTokens.TypographySizeSubordinate,
|
|
2036
|
+
lineHeight: odysseyTokens.TypographyLineHeightBody,
|
|
2037
|
+
...(ownerState.touch === true && {
|
|
2038
|
+
paddingBlock: odysseyTokens.Spacing2,
|
|
2039
|
+
paddingInline: odysseyTokens.Spacing3,
|
|
2040
|
+
fontSize: odysseyTokens.TypographySizeSubordinate,
|
|
2041
|
+
lineHeight: odysseyTokens.TypographyLineHeightBody,
|
|
2042
|
+
fontWeight: odysseyTokens.TypographyWeightBody
|
|
2043
|
+
}),
|
|
2044
|
+
[`.${tooltipClasses.popper}[data-popper-placement*="left"] &`]: {
|
|
2045
|
+
transformOrigin: "right center",
|
|
2046
|
+
...(ownerState.isRtl ? {
|
|
2047
|
+
marginInlineStart: odysseyTokens.Spacing3,
|
|
2048
|
+
...(ownerState.touch === true && {
|
|
2049
|
+
marginInlineStart: odysseyTokens.Spacing4
|
|
2050
|
+
})
|
|
2051
|
+
} : {
|
|
2052
|
+
marginInlineEnd: odysseyTokens.Spacing3,
|
|
2053
|
+
...(ownerState.touch === true && {
|
|
2054
|
+
marginInlineEnd: odysseyTokens.Spacing4
|
|
2055
|
+
})
|
|
2127
2056
|
})
|
|
2128
|
-
}
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2057
|
+
},
|
|
2058
|
+
[`.${tooltipClasses.popper}[data-popper-placement*="right"] &`]: {
|
|
2059
|
+
transformOrigin: "left center",
|
|
2060
|
+
...(ownerState.isRtl ? {
|
|
2061
|
+
marginInlineEnd: odysseyTokens.Spacing3,
|
|
2062
|
+
...(ownerState.touch === true && {
|
|
2063
|
+
marginInlineEnd: odysseyTokens.Spacing4
|
|
2064
|
+
})
|
|
2065
|
+
} : {
|
|
2066
|
+
marginInlineStart: odysseyTokens.Spacing3,
|
|
2067
|
+
...(ownerState.touch === true && {
|
|
2068
|
+
marginInlineStart: odysseyTokens.Spacing4
|
|
2069
|
+
})
|
|
2132
2070
|
})
|
|
2133
|
-
}
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
...(ownerState.isRtl ? {
|
|
2138
|
-
marginInlineEnd: theme.spacing(3),
|
|
2071
|
+
},
|
|
2072
|
+
[`.${tooltipClasses.popper}[data-popper-placement*="top"] &`]: {
|
|
2073
|
+
transformOrigin: "center bottom",
|
|
2074
|
+
marginBottom: odysseyTokens.Spacing3,
|
|
2139
2075
|
...(ownerState.touch === true && {
|
|
2140
|
-
|
|
2076
|
+
marginBottom: odysseyTokens.Spacing4
|
|
2141
2077
|
})
|
|
2142
|
-
}
|
|
2143
|
-
|
|
2078
|
+
},
|
|
2079
|
+
[`.${tooltipClasses.popper}[data-popper-placement*="bottom"] &`]: {
|
|
2080
|
+
transformOrigin: "center top",
|
|
2081
|
+
marginTop: odysseyTokens.Spacing3,
|
|
2144
2082
|
...(ownerState.touch === true && {
|
|
2145
|
-
|
|
2083
|
+
marginTop: odysseyTokens.Spacing4
|
|
2146
2084
|
})
|
|
2147
|
-
}
|
|
2148
|
-
}
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
...(ownerState.touch === true && {
|
|
2153
|
-
marginBottom: theme.spacing(4)
|
|
2154
|
-
})
|
|
2155
|
-
},
|
|
2156
|
-
[`.${tooltipClasses.popper}[data-popper-placement*="bottom"] &`]: {
|
|
2157
|
-
transformOrigin: "center top",
|
|
2158
|
-
marginTop: theme.spacing(3),
|
|
2159
|
-
...(ownerState.touch === true && {
|
|
2160
|
-
marginTop: theme.spacing(4)
|
|
2161
|
-
})
|
|
2162
|
-
}
|
|
2163
|
-
};
|
|
2164
|
-
},
|
|
2165
|
-
arrow: _ref64 => {
|
|
2166
|
-
let {
|
|
2167
|
-
theme
|
|
2168
|
-
} = _ref64;
|
|
2169
|
-
return {
|
|
2170
|
-
color: theme.palette.grey[900],
|
|
2085
|
+
}
|
|
2086
|
+
};
|
|
2087
|
+
},
|
|
2088
|
+
arrow: {
|
|
2089
|
+
color: odysseyTokens.HueNeutral900,
|
|
2171
2090
|
"&::before": {
|
|
2172
2091
|
borderRadius: "0"
|
|
2173
2092
|
},
|
|
@@ -2183,36 +2102,34 @@ export const components = {
|
|
|
2183
2102
|
[`.${tooltipClasses.popper}[data-popper-placement*="left"] &::before`]: {
|
|
2184
2103
|
borderRadius: `0 3px 0 0`
|
|
2185
2104
|
}
|
|
2186
|
-
}
|
|
2187
|
-
}
|
|
2188
|
-
}
|
|
2189
|
-
},
|
|
2190
|
-
MuiTypography: {
|
|
2191
|
-
defaultProps: {
|
|
2192
|
-
fontFamily: "'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', 'Noto Sans Arabic', sans-serif",
|
|
2193
|
-
variantMapping: {
|
|
2194
|
-
h1: "h1",
|
|
2195
|
-
h2: "h2",
|
|
2196
|
-
h3: "h3",
|
|
2197
|
-
h4: "h4",
|
|
2198
|
-
h5: "h5",
|
|
2199
|
-
h6: "h6",
|
|
2200
|
-
subtitle1: "p",
|
|
2201
|
-
body1: "p",
|
|
2202
|
-
inherit: "p",
|
|
2203
|
-
legend: "legend"
|
|
2105
|
+
}
|
|
2204
2106
|
}
|
|
2205
2107
|
},
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2108
|
+
MuiTypography: {
|
|
2109
|
+
defaultProps: {
|
|
2110
|
+
fontFamily: "'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', 'Noto Sans Arabic', sans-serif",
|
|
2111
|
+
variantMapping: {
|
|
2112
|
+
h1: "h1",
|
|
2113
|
+
h2: "h2",
|
|
2114
|
+
h3: "h3",
|
|
2115
|
+
h4: "h4",
|
|
2116
|
+
h5: "h5",
|
|
2117
|
+
h6: "h6",
|
|
2118
|
+
subtitle1: "p",
|
|
2119
|
+
body1: "p",
|
|
2120
|
+
inherit: "p",
|
|
2121
|
+
legend: "legend"
|
|
2122
|
+
}
|
|
2123
|
+
},
|
|
2124
|
+
styleOverrides: {
|
|
2125
|
+
paragraph: {
|
|
2126
|
+
marginBlockEnd: odysseyTokens.Spacing4,
|
|
2127
|
+
[`&:last-child`]: {
|
|
2128
|
+
marginBlockEnd: 0
|
|
2129
|
+
}
|
|
2130
|
+
}
|
|
2214
2131
|
}
|
|
2215
2132
|
}
|
|
2216
|
-
}
|
|
2133
|
+
};
|
|
2217
2134
|
};
|
|
2218
2135
|
//# sourceMappingURL=components.js.map
|