@okta/odyssey-react-mui 0.22.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/README.md +43 -7
- package/dist/@types/i18next.d.js +14 -0
- package/dist/@types/i18next.d.js.map +1 -0
- package/dist/Autocomplete.js +18 -4
- package/dist/Autocomplete.js.map +1 -1
- package/dist/Banner.js +9 -6
- package/dist/Banner.js.map +1 -1
- package/dist/Button.js +20 -10
- package/dist/Button.js.map +1 -1
- package/dist/Checkbox.js +44 -10
- package/dist/Checkbox.js.map +1 -1
- package/dist/CheckboxGroup.js +25 -26
- package/dist/CheckboxGroup.js.map +1 -1
- package/dist/CircularProgress.js +11 -0
- package/dist/CircularProgress.js.map +1 -1
- package/dist/Dialog.js +72 -0
- package/dist/Dialog.js.map +1 -0
- package/dist/Field.js +28 -10
- package/dist/Field.js.map +1 -1
- package/dist/FieldError.js +6 -3
- package/dist/FieldError.js.map +1 -1
- package/dist/FieldHint.js +1 -2
- package/dist/FieldHint.js.map +1 -1
- package/dist/FieldLabel.js +19 -7
- package/dist/FieldLabel.js.map +1 -1
- package/dist/Fieldset.js +55 -0
- package/dist/Fieldset.js.map +1 -0
- package/dist/Form.js +69 -0
- package/dist/Form.js.map +1 -0
- package/dist/Icon.js +8 -8
- package/dist/Icon.js.map +1 -1
- package/dist/Infobox.js +7 -4
- package/dist/Infobox.js.map +1 -1
- package/dist/Link.js +10 -3
- package/dist/Link.js.map +1 -1
- package/dist/MenuButton.js +3 -7
- package/dist/MenuButton.js.map +1 -1
- package/dist/MenuItem.js +4 -2
- package/dist/MenuItem.js.map +1 -1
- package/dist/MuiPropsChild.js +32 -0
- package/dist/MuiPropsChild.js.map +1 -0
- package/dist/MuiPropsContext.js +15 -0
- package/dist/MuiPropsContext.js.map +1 -0
- package/dist/NativeSelect.js +61 -0
- package/dist/NativeSelect.js.map +1 -0
- package/dist/OdysseyCacheProvider.js +1 -2
- package/dist/OdysseyCacheProvider.js.map +1 -1
- package/dist/OdysseyI18n.js +93 -0
- package/dist/OdysseyI18n.js.map +1 -0
- package/dist/OdysseyProvider.js +42 -0
- package/dist/OdysseyProvider.js.map +1 -0
- package/dist/OdysseyThemeProvider.js +11 -5
- package/dist/OdysseyThemeProvider.js.map +1 -1
- package/dist/OdysseyTranslationProvider.js +47 -0
- package/dist/OdysseyTranslationProvider.js.map +1 -0
- package/dist/OdysseyTranslationProvider.types.js +14 -0
- package/dist/OdysseyTranslationProvider.types.js.map +1 -0
- package/dist/PasswordField.js +20 -3
- package/dist/PasswordField.js.map +1 -1
- package/dist/Radio.js +11 -2
- package/dist/Radio.js.map +1 -1
- package/dist/RadioGroup.js +36 -28
- package/dist/RadioGroup.js.map +1 -1
- package/dist/ScreenReaderText.js +3 -3
- package/dist/ScreenReaderText.js.map +1 -1
- package/dist/SearchField.js +17 -4
- package/dist/SearchField.js.map +1 -1
- package/dist/Select.js +131 -0
- package/dist/Select.js.map +1 -0
- package/dist/Status.js.map +1 -1
- package/dist/Tabs.js +46 -0
- package/dist/Tabs.js.map +1 -0
- package/dist/Tag.js +11 -2
- package/dist/Tag.js.map +1 -1
- package/dist/TagList.js +11 -2
- package/dist/TagList.js.map +1 -1
- package/dist/TagListContext.js +1 -0
- package/dist/TagListContext.js.map +1 -1
- package/dist/TextField.js +28 -9
- package/dist/TextField.js.map +1 -1
- package/dist/Toast.js +78 -0
- package/dist/Toast.js.map +1 -0
- package/dist/{ThemeProvider.js → ToastStack.js} +12 -10
- package/dist/ToastStack.js.map +1 -0
- package/dist/Tooltip.js +31 -0
- package/dist/Tooltip.js.map +1 -0
- package/dist/a11yCheck.js +1 -2
- package/dist/a11yCheck.js.map +1 -1
- package/dist/createUniqueAlphabeticalId.js +1 -2
- package/dist/createUniqueAlphabeticalId.js.map +1 -1
- package/dist/createUniqueId.js +1 -2
- package/dist/createUniqueId.js.map +1 -1
- package/dist/iconDictionary/Add.js +5 -6
- package/dist/iconDictionary/Add.js.map +1 -1
- package/dist/iconDictionary/AddCircle.js +5 -6
- package/dist/iconDictionary/AddCircle.js.map +1 -1
- package/dist/iconDictionary/AlertCircle.js +5 -6
- package/dist/iconDictionary/AlertCircle.js.map +1 -1
- package/dist/iconDictionary/AlertCircleFilled.js +5 -6
- package/dist/iconDictionary/AlertCircleFilled.js.map +1 -1
- package/dist/iconDictionary/AlertTriangleFilled.js +5 -6
- package/dist/iconDictionary/AlertTriangleFilled.js.map +1 -1
- package/dist/iconDictionary/Anchor.js +6 -7
- package/dist/iconDictionary/Anchor.js.map +1 -1
- package/dist/iconDictionary/ArrowDown.js +5 -6
- package/dist/iconDictionary/ArrowDown.js.map +1 -1
- package/dist/iconDictionary/ArrowLeft.js +5 -6
- package/dist/iconDictionary/ArrowLeft.js.map +1 -1
- package/dist/iconDictionary/ArrowRight.js +5 -6
- package/dist/iconDictionary/ArrowRight.js.map +1 -1
- package/dist/iconDictionary/ArrowUp.js +5 -6
- package/dist/iconDictionary/ArrowUp.js.map +1 -1
- package/dist/iconDictionary/ArrowUpDown.js +5 -6
- package/dist/iconDictionary/ArrowUpDown.js.map +1 -1
- package/dist/iconDictionary/Calendar.js +5 -6
- package/dist/iconDictionary/Calendar.js.map +1 -1
- package/dist/iconDictionary/Check.js +5 -6
- package/dist/iconDictionary/Check.js.map +1 -1
- package/dist/iconDictionary/CheckCircleFilled.js +5 -6
- package/dist/iconDictionary/CheckCircleFilled.js.map +1 -1
- package/dist/iconDictionary/ChevronDown.js +5 -6
- package/dist/iconDictionary/ChevronDown.js.map +1 -1
- package/dist/iconDictionary/ChevronUp.js +5 -6
- package/dist/iconDictionary/ChevronUp.js.map +1 -1
- package/dist/iconDictionary/Close.js +5 -6
- package/dist/iconDictionary/Close.js.map +1 -1
- package/dist/iconDictionary/CloseCircleFilled.js +5 -6
- package/dist/iconDictionary/CloseCircleFilled.js.map +1 -1
- package/dist/iconDictionary/Copy.js +5 -6
- package/dist/iconDictionary/Copy.js.map +1 -1
- package/dist/iconDictionary/Delete.js +5 -6
- package/dist/iconDictionary/Delete.js.map +1 -1
- package/dist/iconDictionary/Download.js +5 -6
- package/dist/iconDictionary/Download.js.map +1 -1
- package/dist/iconDictionary/DragHandle.js +5 -6
- package/dist/iconDictionary/DragHandle.js.map +1 -1
- package/dist/iconDictionary/Edit.js +5 -6
- package/dist/iconDictionary/Edit.js.map +1 -1
- package/dist/iconDictionary/ExternalLink.js +5 -6
- package/dist/iconDictionary/ExternalLink.js.map +1 -1
- package/dist/iconDictionary/Eye.js +5 -6
- package/dist/iconDictionary/Eye.js.map +1 -1
- package/dist/iconDictionary/EyeOff.js +5 -6
- package/dist/iconDictionary/EyeOff.js.map +1 -1
- package/dist/iconDictionary/Filter.js +5 -6
- package/dist/iconDictionary/Filter.js.map +1 -1
- package/dist/iconDictionary/Globe.js +5 -6
- package/dist/iconDictionary/Globe.js.map +1 -1
- package/dist/iconDictionary/Home.js +5 -6
- package/dist/iconDictionary/Home.js.map +1 -1
- package/dist/iconDictionary/InformationCircle.js +5 -6
- package/dist/iconDictionary/InformationCircle.js.map +1 -1
- package/dist/iconDictionary/InformationCircleFilled.js +5 -6
- package/dist/iconDictionary/InformationCircleFilled.js.map +1 -1
- package/dist/iconDictionary/Notification.js +5 -6
- package/dist/iconDictionary/Notification.js.map +1 -1
- package/dist/iconDictionary/OverflowVertical.js +5 -6
- package/dist/iconDictionary/OverflowVertical.js.map +1 -1
- package/dist/iconDictionary/QuestionCircle.js +5 -6
- package/dist/iconDictionary/QuestionCircle.js.map +1 -1
- package/dist/iconDictionary/QuestionCircleFilled.js +5 -6
- package/dist/iconDictionary/QuestionCircleFilled.js.map +1 -1
- package/dist/iconDictionary/Search.js +5 -6
- package/dist/iconDictionary/Search.js.map +1 -1
- package/dist/iconDictionary/Settings.js +4 -5
- package/dist/iconDictionary/Settings.js.map +1 -1
- package/dist/iconDictionary/Subtract.js +5 -6
- package/dist/iconDictionary/Subtract.js.map +1 -1
- package/dist/iconDictionary/SvgIcon.js +1 -0
- package/dist/iconDictionary/SvgIcon.js.map +1 -1
- package/dist/iconDictionary/User.js +5 -6
- package/dist/iconDictionary/User.js.map +1 -1
- package/dist/iconDictionary/UserGroup.js +5 -6
- package/dist/iconDictionary/UserGroup.js.map +1 -1
- package/dist/iconDictionary/index.js.map +1 -1
- package/dist/index.js +13 -6
- package/dist/index.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui.js +11 -0
- package/dist/properties/ts/odyssey-react-mui.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_cs.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_cs.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_da.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_da.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_de.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_de.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_el.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_el.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_es.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_es.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_fi.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_fi.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_fr.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_fr.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_hu.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_hu.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_id.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_id.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_it.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_it.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_ja.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_ja.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_ko.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_ko.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_ms.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_ms.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_nb.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_nb.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_nl-NL.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_nl-NL.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_pl.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_pl.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_pt-BR.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_pt-BR.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_ro.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_ro.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_ru.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_ru.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_sv.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_sv.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_th.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_th.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_tr.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_tr.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_uk.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_uk.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_zh-CN.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_zh-CN.js.map +1 -0
- package/dist/properties/ts/odyssey-react-mui_zh-TW.js +2 -0
- package/dist/properties/ts/odyssey-react-mui_zh-TW.js.map +1 -0
- package/dist/src/Autocomplete.d.ts +2 -1
- package/dist/src/Autocomplete.d.ts.map +1 -1
- package/dist/src/Banner.d.ts +19 -19
- package/dist/src/Banner.d.ts.map +1 -1
- package/dist/src/Button.d.ts +4 -3
- package/dist/src/Button.d.ts.map +1 -1
- package/dist/src/Checkbox.d.ts +4 -2
- package/dist/src/Checkbox.d.ts.map +1 -1
- package/dist/src/CheckboxGroup.d.ts +8 -4
- package/dist/src/CheckboxGroup.d.ts.map +1 -1
- package/dist/src/Dialog.d.ts +25 -0
- package/dist/src/Dialog.d.ts.map +1 -0
- package/dist/src/Field.d.ts +18 -7
- package/dist/src/Field.d.ts.map +1 -1
- package/dist/src/FieldError.d.ts.map +1 -1
- package/dist/src/FieldLabel.d.ts +2 -3
- package/dist/src/FieldLabel.d.ts.map +1 -1
- package/dist/src/Fieldset.d.ts +42 -0
- package/dist/src/Fieldset.d.ts.map +1 -0
- package/dist/src/Form.d.ts +73 -0
- package/dist/src/Form.d.ts.map +1 -0
- package/dist/src/Icon.d.ts +9 -8
- package/dist/src/Icon.d.ts.map +1 -1
- package/dist/src/Infobox.d.ts +7 -7
- package/dist/src/Infobox.d.ts.map +1 -1
- package/dist/src/Link.d.ts +9 -4
- package/dist/src/Link.d.ts.map +1 -1
- package/dist/src/MenuButton.d.ts +7 -3
- package/dist/src/MenuButton.d.ts.map +1 -1
- package/dist/src/MenuItem.d.ts +1 -1
- package/dist/src/MenuItem.d.ts.map +1 -1
- package/dist/src/MuiPropsChild.d.ts +18 -0
- package/dist/src/MuiPropsChild.d.ts.map +1 -0
- package/dist/src/MuiPropsContext.d.ts +15 -0
- package/dist/src/MuiPropsContext.d.ts.map +1 -0
- package/dist/src/NativeSelect.d.ts +36 -0
- package/dist/src/NativeSelect.d.ts.map +1 -0
- package/dist/src/OdysseyI18n.d.ts +54 -0
- package/dist/src/OdysseyI18n.d.ts.map +1 -0
- package/dist/src/OdysseyProvider.d.ts +27 -0
- package/dist/src/OdysseyProvider.d.ts.map +1 -0
- package/dist/src/OdysseyThemeProvider.d.ts +4 -2
- package/dist/src/OdysseyThemeProvider.d.ts.map +1 -1
- package/dist/src/OdysseyTranslationProvider.d.ts +25 -0
- package/dist/src/OdysseyTranslationProvider.d.ts.map +1 -0
- package/dist/src/OdysseyTranslationProvider.types.d.ts +14 -0
- package/dist/src/OdysseyTranslationProvider.types.d.ts.map +1 -0
- package/dist/src/PasswordField.d.ts +8 -8
- package/dist/src/PasswordField.d.ts.map +1 -1
- package/dist/src/RadioGroup.d.ts +8 -8
- package/dist/src/RadioGroup.d.ts.map +1 -1
- package/dist/src/SearchField.d.ts +4 -4
- package/dist/src/SearchField.d.ts.map +1 -1
- package/dist/src/Select.d.ts +35 -0
- package/dist/src/Select.d.ts.map +1 -0
- package/dist/src/Status.d.ts +2 -2
- package/dist/src/Status.d.ts.map +1 -1
- package/dist/src/Tabs.d.ts +27 -0
- package/dist/src/Tabs.d.ts.map +1 -0
- package/dist/src/TextField.d.ts +12 -15
- package/dist/src/TextField.d.ts.map +1 -1
- package/dist/src/Toast.d.ts +60 -0
- package/dist/src/Toast.d.ts.map +1 -0
- package/dist/src/ToastStack.d.ts +19 -0
- package/dist/src/ToastStack.d.ts.map +1 -0
- package/dist/src/{ThemeProvider.d.ts → Tooltip.d.ts} +8 -4
- package/dist/src/Tooltip.d.ts.map +1 -0
- package/dist/src/iconDictionary/Add.d.ts +2 -2
- package/dist/src/iconDictionary/AddCircle.d.ts +2 -2
- package/dist/src/iconDictionary/AlertCircle.d.ts +2 -2
- package/dist/src/iconDictionary/AlertCircleFilled.d.ts +2 -2
- package/dist/src/iconDictionary/AlertTriangleFilled.d.ts +2 -2
- package/dist/src/iconDictionary/Anchor.d.ts +2 -2
- package/dist/src/iconDictionary/ArrowDown.d.ts +2 -2
- package/dist/src/iconDictionary/ArrowLeft.d.ts +2 -2
- package/dist/src/iconDictionary/ArrowRight.d.ts +2 -2
- package/dist/src/iconDictionary/ArrowUp.d.ts +2 -2
- package/dist/src/iconDictionary/ArrowUpDown.d.ts +2 -2
- package/dist/src/iconDictionary/Calendar.d.ts +2 -2
- package/dist/src/iconDictionary/Check.d.ts +2 -2
- package/dist/src/iconDictionary/CheckCircleFilled.d.ts +2 -2
- package/dist/src/iconDictionary/ChevronDown.d.ts +2 -2
- package/dist/src/iconDictionary/ChevronUp.d.ts +2 -2
- package/dist/src/iconDictionary/Close.d.ts +2 -2
- package/dist/src/iconDictionary/CloseCircleFilled.d.ts +2 -2
- package/dist/src/iconDictionary/Copy.d.ts +2 -2
- package/dist/src/iconDictionary/Delete.d.ts +2 -2
- package/dist/src/iconDictionary/Download.d.ts +2 -2
- package/dist/src/iconDictionary/DragHandle.d.ts +2 -2
- package/dist/src/iconDictionary/Edit.d.ts +2 -2
- package/dist/src/iconDictionary/ExternalLink.d.ts +2 -2
- package/dist/src/iconDictionary/Eye.d.ts +2 -2
- package/dist/src/iconDictionary/EyeOff.d.ts +2 -2
- package/dist/src/iconDictionary/Filter.d.ts +2 -2
- package/dist/src/iconDictionary/Globe.d.ts +2 -2
- package/dist/src/iconDictionary/Home.d.ts +2 -2
- package/dist/src/iconDictionary/InformationCircle.d.ts +2 -2
- package/dist/src/iconDictionary/InformationCircleFilled.d.ts +2 -2
- package/dist/src/iconDictionary/Notification.d.ts +2 -2
- package/dist/src/iconDictionary/OverflowVertical.d.ts +2 -2
- package/dist/src/iconDictionary/QuestionCircle.d.ts +2 -2
- package/dist/src/iconDictionary/QuestionCircleFilled.d.ts +2 -2
- package/dist/src/iconDictionary/Search.d.ts +2 -2
- package/dist/src/iconDictionary/Settings.d.ts +2 -2
- package/dist/src/iconDictionary/Subtract.d.ts +2 -2
- package/dist/src/iconDictionary/User.d.ts +2 -2
- package/dist/src/iconDictionary/UserGroup.d.ts +2 -2
- package/dist/src/iconDictionary/index.d.ts +40 -40
- package/dist/src/index.d.ts +15 -10
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui.d.ts +11 -0
- package/dist/src/properties/ts/odyssey-react-mui.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_cs.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_cs.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_da.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_da.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_de.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_de.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_el.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_el.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_es.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_es.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_fi.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_fi.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_fr.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_fr.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_hu.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_hu.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_id.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_id.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_it.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_it.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_ja.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_ja.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_ko.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_ko.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_ms.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_ms.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_nb.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_nb.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_nl-NL.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_nl-NL.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_pl.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_pl.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_pt-BR.d.ts +2 -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 +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_ro.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_ru.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_ru.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_sv.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_sv.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_th.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_th.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_tr.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_tr.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_uk.d.ts +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_uk.d.ts.map +1 -0
- package/dist/src/properties/ts/odyssey-react-mui_zh-CN.d.ts +2 -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 +2 -0
- package/dist/src/properties/ts/odyssey-react-mui_zh-TW.d.ts.map +1 -0
- package/dist/src/theme/components.d.ts.map +1 -1
- package/dist/src/theme/index.d.ts +3 -1
- package/dist/src/theme/index.d.ts.map +1 -1
- package/dist/src/theme/mixins.d.ts +2 -1
- package/dist/src/theme/mixins.d.ts.map +1 -1
- package/dist/src/theme/palette.d.ts +2 -1
- package/dist/src/theme/palette.d.ts.map +1 -1
- package/dist/src/theme/shape.d.ts +2 -1
- package/dist/src/theme/shape.d.ts.map +1 -1
- package/dist/src/theme/spacing.d.ts +2 -1
- package/dist/src/theme/spacing.d.ts.map +1 -1
- package/dist/src/theme/theme.d.ts +3 -2
- package/dist/src/theme/theme.d.ts.map +1 -1
- package/dist/src/theme/typography.d.ts +2 -1
- package/dist/src/theme/typography.d.ts.map +1 -1
- package/dist/theme/components.js +123 -85
- package/dist/theme/components.js.map +1 -1
- package/dist/theme/components.types.js +1 -0
- package/dist/theme/components.types.js.map +1 -1
- package/dist/theme/index.js +1 -1
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/mixins.js +8 -6
- package/dist/theme/mixins.js.map +1 -1
- package/dist/theme/mixins.types.js +1 -0
- package/dist/theme/mixins.types.js.map +1 -1
- package/dist/theme/palette.js +89 -86
- package/dist/theme/palette.js.map +1 -1
- package/dist/theme/palette.types.js +1 -0
- package/dist/theme/palette.types.js.map +1 -1
- package/dist/theme/shape.js +6 -4
- package/dist/theme/shape.js.map +1 -1
- package/dist/theme/spacing.js +4 -1
- package/dist/theme/spacing.js.map +1 -1
- package/dist/theme/temp.js +1 -0
- package/dist/theme/temp.js.map +1 -1
- package/dist/theme/theme.js +12 -9
- package/dist/theme/theme.js.map +1 -1
- package/dist/theme/typography.js +85 -83
- package/dist/theme/typography.js.map +1 -1
- package/dist/theme/typography.types.js +1 -0
- package/dist/theme/typography.types.js.map +1 -1
- package/dist/theme/useTheme.js +1 -0
- package/dist/theme/useTheme.js.map +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/dist/useUniqueAlphabeticalId.js +1 -0
- package/dist/useUniqueAlphabeticalId.js.map +1 -1
- package/dist/useUniqueId.js +1 -0
- package/dist/useUniqueId.js.map +1 -1
- package/i18n.config.json +8 -0
- package/package.json +9 -4
- package/scripts/properties-to-ts.js +103 -0
- package/src/@types/i18next.d.ts +22 -0
- package/src/Autocomplete.tsx +10 -1
- package/src/Banner.tsx +37 -32
- package/src/Button.tsx +38 -18
- package/src/Checkbox.tsx +47 -21
- package/src/CheckboxGroup.tsx +30 -34
- package/src/Dialog.tsx +110 -0
- package/src/Field.tsx +56 -24
- package/src/FieldError.tsx +6 -1
- package/src/FieldLabel.tsx +13 -10
- package/src/Fieldset.tsx +95 -0
- package/src/Form.tsx +142 -0
- package/src/Icon.test.tsx +1 -1
- package/src/Icon.tsx +27 -13
- package/src/Infobox.tsx +18 -13
- package/src/Link.tsx +14 -6
- package/src/MenuButton.tsx +8 -3
- package/src/MenuItem.tsx +1 -0
- package/src/MuiPropsChild.tsx +41 -0
- package/src/MuiPropsContext.ts +17 -0
- package/src/NativeSelect.tsx +107 -0
- package/src/OdysseyI18n.ts +101 -0
- package/src/OdysseyProvider.tsx +59 -0
- package/src/OdysseyThemeProvider.tsx +9 -3
- package/src/OdysseyTranslationProvider.test.tsx +63 -0
- package/src/OdysseyTranslationProvider.tsx +65 -0
- package/src/OdysseyTranslationProvider.types.ts +42 -0
- package/src/PasswordField.tsx +18 -11
- package/src/RadioGroup.tsx +31 -46
- package/src/SearchField.tsx +10 -8
- package/src/Select.tsx +226 -0
- package/src/Status.tsx +2 -2
- package/src/Tabs.tsx +70 -0
- package/src/TextField.tsx +31 -25
- package/src/Toast.tsx +140 -0
- package/src/{ThemeProvider.tsx → ToastStack.tsx} +16 -9
- package/src/Tooltip.tsx +39 -0
- package/src/iconDictionary/Add.tsx +3 -3
- package/src/iconDictionary/AddCircle.tsx +3 -3
- package/src/iconDictionary/AlertCircle.tsx +3 -3
- package/src/iconDictionary/AlertCircleFilled.tsx +3 -3
- package/src/iconDictionary/AlertTriangleFilled.tsx +3 -3
- package/src/iconDictionary/Anchor.tsx +3 -3
- package/src/iconDictionary/ArrowDown.tsx +3 -3
- package/src/iconDictionary/ArrowLeft.tsx +3 -3
- package/src/iconDictionary/ArrowRight.tsx +3 -3
- package/src/iconDictionary/ArrowUp.tsx +3 -3
- package/src/iconDictionary/ArrowUpDown.tsx +3 -3
- package/src/iconDictionary/Calendar.tsx +3 -3
- package/src/iconDictionary/Check.tsx +3 -3
- package/src/iconDictionary/CheckCircleFilled.tsx +3 -3
- package/src/iconDictionary/ChevronDown.tsx +3 -3
- package/src/iconDictionary/ChevronUp.tsx +3 -3
- package/src/iconDictionary/Close.tsx +3 -3
- package/src/iconDictionary/CloseCircleFilled.tsx +3 -3
- package/src/iconDictionary/Copy.tsx +3 -3
- package/src/iconDictionary/Delete.tsx +3 -3
- package/src/iconDictionary/Download.tsx +3 -3
- package/src/iconDictionary/DragHandle.tsx +3 -3
- package/src/iconDictionary/Edit.tsx +3 -3
- package/src/iconDictionary/ExternalLink.tsx +3 -3
- package/src/iconDictionary/Eye.tsx +3 -3
- package/src/iconDictionary/EyeOff.tsx +3 -3
- package/src/iconDictionary/Filter.tsx +3 -3
- package/src/iconDictionary/Globe.tsx +3 -3
- package/src/iconDictionary/Home.tsx +3 -3
- package/src/iconDictionary/InformationCircle.tsx +3 -3
- package/src/iconDictionary/InformationCircleFilled.tsx +3 -3
- package/src/iconDictionary/Notification.tsx +3 -3
- package/src/iconDictionary/OverflowVertical.tsx +3 -3
- package/src/iconDictionary/QuestionCircle.tsx +3 -3
- package/src/iconDictionary/QuestionCircleFilled.tsx +3 -3
- package/src/iconDictionary/Search.tsx +3 -3
- package/src/iconDictionary/Settings.tsx +2 -2
- package/src/iconDictionary/Subtract.tsx +3 -3
- package/src/iconDictionary/User.tsx +3 -3
- package/src/iconDictionary/UserGroup.tsx +3 -3
- package/src/iconDictionary/index.ts +1 -1
- package/src/index.ts +11 -23
- package/src/properties/odyssey-react-mui.properties +8 -0
- package/src/properties/translations/odyssey-react-mui_cs.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_da.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_de.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_el.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_es.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_fi.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_fr.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_hu.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_id.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_it.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_ja.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_ko.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_ms.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_nb.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_nl-NL.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_pl.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_pt-BR.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_ro.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_ru.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_sv.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_th.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_tr.properties +0 -0
- package/src/properties/translations/odyssey-react-mui_uk.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.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_cs.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_da.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_de.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_el.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_es.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_fi.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_fr.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_hu.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_id.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_it.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_ja.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_ko.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_ms.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_nb.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_nl-NL.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_pl.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_pt-BR.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_ro.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_ru.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_sv.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_th.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_tr.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_uk.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 +44 -13
- package/src/theme/index.ts +5 -1
- package/src/theme/mixins.ts +10 -6
- package/src/theme/palette.ts +95 -88
- package/src/theme/shape.ts +12 -8
- package/src/theme/spacing.ts +17 -12
- package/src/theme/theme.ts +14 -10
- package/src/theme/typography.ts +87 -83
- package/dist/ThemeProvider.js.map +0 -1
- package/dist/src/ThemeProvider.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
3
|
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
4
|
*
|
|
5
5
|
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
@@ -30,10 +30,10 @@ export const UserIcon = forwardRef<SVGSVGElement, UserIconProps>(
|
|
|
30
30
|
>
|
|
31
31
|
<>
|
|
32
32
|
<path
|
|
33
|
+
fill="currentColor"
|
|
33
34
|
fillRule="evenodd"
|
|
35
|
+
d="M10 3v2a2 2 0 1 1-4 0V3a2 2 0 1 1 4 0ZM5 3a3 3 0 0 1 6 0v2a3 3 0 0 1-6 0V3Zm-.87 7.074c.138-.056.329-.074 1.284-.074h5.172c.955 0 1.146.018 1.284.074.16.066.3.172.408.308.091.117.161.296.424 1.214L13.674 15H2.326l.972-3.404c.263-.918.333-1.097.424-1.214.107-.136.248-.242.408-.308Zm9.533 1.247L14.714 15 15 16H1l.286-1 1.05-3.68c.239-.831.357-1.247.6-1.556a2 2 0 0 1 .816-.616C4.116 9 4.55 9 5.414 9h5.172c.865 0 1.298 0 1.662.148a2 2 0 0 1 .816.616c.243.309.361.725.6 1.557Z"
|
|
34
36
|
clipRule="evenodd"
|
|
35
|
-
d="M10 3V5C10 6.10457 9.10457 7 8 7C6.89543 7 6 6.10457 6 5V3C6 1.89543 6.89543 1 8 1C9.10457 1 10 1.89543 10 3ZM5 3C5 1.34315 6.34315 0 8 0C9.65685 0 11 1.34315 11 3V5C11 6.65685 9.65685 8 8 8C6.34315 8 5 6.65685 5 5V3ZM4.1305 10.0742C4.26803 10.0181 4.459 10 5.41376 10H10.5862C11.541 10 11.732 10.0181 11.8695 10.0742C12.0299 10.1398 12.1706 10.2459 12.2777 10.3821C12.3695 10.4989 12.4393 10.6776 12.7016 11.5956L13.6743 15H2.32573L3.29841 11.5956C3.5607 10.6776 3.63054 10.4989 3.72233 10.3821C3.82941 10.2459 3.97006 10.1398 4.1305 10.0742ZM13.6631 11.3209L14.7143 15L15 16H13.96H2.04002H1L1.28571 15L2.33689 11.3209C2.57458 10.489 2.69343 10.073 2.93606 9.76423C3.15022 9.49171 3.43152 9.27953 3.75239 9.14848C4.11592 9 4.54854 9 5.41376 9H10.5862C11.4515 9 11.8841 9 12.2476 9.14848C12.5685 9.27953 12.8498 9.49171 13.0639 9.76423C13.3066 10.073 13.4254 10.489 13.6631 11.3209Z"
|
|
36
|
-
fill="currentColor"
|
|
37
37
|
/>
|
|
38
38
|
</>
|
|
39
39
|
</SvgIcon>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Copyright (c)
|
|
2
|
+
* Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
3
|
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
4
|
*
|
|
5
5
|
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
@@ -30,10 +30,10 @@ export const UserGroupIcon = forwardRef<SVGSVGElement, UserGroupIconProps>(
|
|
|
30
30
|
>
|
|
31
31
|
<>
|
|
32
32
|
<path
|
|
33
|
+
fill="currentColor"
|
|
33
34
|
fillRule="evenodd"
|
|
35
|
+
d="M12 4V3a1 1 0 1 0-2 0v1a1 1 0 1 0 2 0Zm-1-3a2 2 0 0 0-2 2v1a2 2 0 1 0 4 0V3a2 2 0 0 0-2-2Zm2.45 8.71a15.26 15.26 0 0 0-.239-.97c-.064-.208-.11-.286-.14-.328l.81-.588c.24.331.342.775.545 1.663L14.77 11 15 12H8.313c.035.146.072.307.113.487L8.77 14 9 15H1l.229-1 .345-1.513c.203-.888.305-1.332.546-1.663a2 2 0 0 1 .831-.663C3.328 10 3.783 10 4.694 10h.612c.91 0 1.366 0 1.743.16a2 2 0 0 1 .33.18l.195-.853c.203-.888.305-1.332.546-1.663a2 2 0 0 1 .831-.663C9.328 7 9.783 7 10.694 7h.612c.91 0 1.366 0 1.743.16a2 2 0 0 1 .832.664l-.81.588a1 1 0 0 0-.415-.332c-.048-.02-.134-.047-.351-.063A15.32 15.32 0 0 0 11.306 8h-.612c-.47 0-.769 0-.999.017-.217.016-.303.043-.35.063a1 1 0 0 0-.417.332c-.03.042-.075.12-.14.328-.067.22-.134.512-.239.97L8.254 11h5.492l-.278-1.214-.017-.076ZM6 7V6a1 1 0 0 0-2 0v1a1 1 0 0 0 2 0ZM5 4a2 2 0 0 0-2 2v1a2 2 0 1 0 4 0V6a2 2 0 0 0-2-2Zm.306 7h-.612c-.47 0-.769 0-.999.017-.217.016-.303.043-.35.063a1 1 0 0 0-.417.332c-.03.042-.075.12-.14.328-.067.22-.134.512-.239.97L2.254 14h5.492l-.295-1.29c-.105-.458-.172-.75-.24-.97-.064-.208-.11-.286-.14-.328a1 1 0 0 0-.415-.332c-.048-.02-.134-.047-.351-.063-.23-.016-.53-.017-.999-.017Z"
|
|
34
36
|
clipRule="evenodd"
|
|
35
|
-
d="M12 4V3C12 2.44772 11.5523 2 11 2C10.4477 2 10 2.44772 10 3V4C10 4.55228 10.4477 5 11 5C11.5523 5 12 4.55228 12 4ZM11 1C9.89543 1 9 1.89543 9 3V4C9 5.10457 9.89543 6 11 6C12.1046 6 13 5.10457 13 4V3C13 1.89543 12.1046 1 11 1ZM13.4507 9.70979C13.3461 9.25176 13.2788 8.96046 13.2112 8.74017C13.1473 8.53193 13.1019 8.45367 13.0716 8.41204L13.8805 7.82408C14.1212 8.15524 14.2227 8.59915 14.4256 9.48696L14.7714 11L15 12H13.9742H8.31292C8.34765 12.146 8.38455 12.3074 8.42559 12.487L8.77143 14L9 15H7.97421H2.02579H1L1.22857 14L1.57441 12.487C1.77734 11.5991 1.8788 11.1552 2.11952 10.8241C2.33185 10.532 2.61932 10.3028 2.95142 10.1609C3.32789 10 3.78325 10 4.69396 10H5.30604C6.21675 10 6.67211 10 7.04858 10.1609C7.16471 10.2105 7.27538 10.2708 7.37928 10.3407L7.57443 9.48696C7.77735 8.59915 7.87882 8.15524 8.11953 7.82408C8.33187 7.53195 8.61934 7.30278 8.95143 7.16087C9.32791 7 9.78326 7 10.694 7H11.3061C12.2168 7 12.6721 7 13.0486 7.16087C13.3807 7.30278 13.6682 7.53195 13.8805 7.82408L13.0716 8.41204C12.9654 8.26598 12.8217 8.15139 12.6557 8.08044C12.6083 8.06021 12.5219 8.03334 12.3047 8.01744C12.0748 8.00062 11.7759 8 11.3061 8H10.694C10.2241 8 9.92519 8.00062 9.69536 8.01744C9.47812 8.03334 9.3917 8.06021 9.34437 8.08044C9.17833 8.15139 9.03459 8.26598 8.92842 8.41204C8.89816 8.45367 8.85271 8.53193 8.7888 8.74017C8.72119 8.96047 8.65397 9.25177 8.54928 9.70979L8.25438 11H13.7457L13.4681 9.78588L13.4507 9.70979ZM6 7V6C6 5.44772 5.55228 5 5 5C4.44772 5 4 5.44772 4 6V7C4 7.55228 4.44772 8 5 8C5.55228 8 6 7.55228 6 7ZM5 4C3.89543 4 3 4.89543 3 6V7C3 8.10457 3.89543 9 5 9C6.10457 9 7 8.10457 7 7V6C7 4.89543 6.10457 4 5 4ZM5.30604 11H4.69396C4.22413 11 3.92517 11.0006 3.69534 11.0174C3.4781 11.0333 3.39168 11.0602 3.34436 11.0804C3.17831 11.1514 3.03457 11.266 2.92841 11.412C2.89815 11.4537 2.85269 11.5319 2.78879 11.7402C2.72118 11.9605 2.65396 12.2518 2.54927 12.7098L2.25436 14H7.74564L7.45073 12.7098C7.34604 12.2518 7.27882 11.9605 7.21122 11.7402C7.14731 11.5319 7.10185 11.4537 7.0716 11.412C6.96543 11.266 6.82169 11.1514 6.65565 11.0804C6.60832 11.0602 6.5219 11.0333 6.30466 11.0174C6.07483 11.0006 5.77587 11 5.30604 11Z"
|
|
36
|
-
fill="currentColor"
|
|
37
37
|
/>
|
|
38
38
|
</>
|
|
39
39
|
</SvgIcon>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
//
|
|
13
|
+
// This file used to be generated, but now that's not possible. We need to maintain this file by-hand when icons are added.
|
|
14
14
|
|
|
15
15
|
import { AddCircleIcon } from "./AddCircle";
|
|
16
16
|
export * from "./AddCircle";
|
package/src/index.ts
CHANGED
|
@@ -17,11 +17,7 @@ export {
|
|
|
17
17
|
Chip,
|
|
18
18
|
createTheme,
|
|
19
19
|
CssBaseline,
|
|
20
|
-
Dialog,
|
|
21
|
-
DialogActions,
|
|
22
|
-
DialogContent,
|
|
23
20
|
DialogContentText,
|
|
24
|
-
DialogTitle,
|
|
25
21
|
Divider,
|
|
26
22
|
FormControl,
|
|
27
23
|
FormControlLabel,
|
|
@@ -44,11 +40,9 @@ export {
|
|
|
44
40
|
MenuList,
|
|
45
41
|
Paper,
|
|
46
42
|
ScopedCssBaseline,
|
|
47
|
-
Select,
|
|
48
43
|
Snackbar,
|
|
49
44
|
Stack,
|
|
50
45
|
SvgIcon,
|
|
51
|
-
Tab,
|
|
52
46
|
Table,
|
|
53
47
|
TableBody,
|
|
54
48
|
TableCell,
|
|
@@ -57,7 +51,6 @@ export {
|
|
|
57
51
|
TableRow,
|
|
58
52
|
TableSortLabel,
|
|
59
53
|
ThemeProvider as MuiThemeProvider,
|
|
60
|
-
Tooltip,
|
|
61
54
|
Typography,
|
|
62
55
|
} from "@mui/material";
|
|
63
56
|
|
|
@@ -67,11 +60,6 @@ export type {
|
|
|
67
60
|
BoxProps,
|
|
68
61
|
ChipProps,
|
|
69
62
|
CssBaselineProps,
|
|
70
|
-
DialogProps,
|
|
71
|
-
DialogActionsProps,
|
|
72
|
-
DialogContentProps,
|
|
73
|
-
DialogContentTextProps,
|
|
74
|
-
DialogTitleProps,
|
|
75
63
|
DividerProps,
|
|
76
64
|
FormControlLabelProps,
|
|
77
65
|
FormControlProps,
|
|
@@ -95,11 +83,9 @@ export type {
|
|
|
95
83
|
PaperProps,
|
|
96
84
|
ScopedCssBaselineProps,
|
|
97
85
|
SelectChangeEvent,
|
|
98
|
-
SelectProps,
|
|
99
86
|
SnackbarProps,
|
|
100
87
|
StackProps,
|
|
101
88
|
SvgIconProps,
|
|
102
|
-
TabProps,
|
|
103
89
|
TableBodyProps,
|
|
104
90
|
TableCellProps,
|
|
105
91
|
TableContainerProps,
|
|
@@ -108,14 +94,9 @@ export type {
|
|
|
108
94
|
TableRowProps,
|
|
109
95
|
TableSortLabelProps,
|
|
110
96
|
ThemeOptions,
|
|
111
|
-
TooltipProps,
|
|
112
97
|
TypographyProps,
|
|
113
98
|
} from "@mui/material";
|
|
114
99
|
|
|
115
|
-
export { TabContext, TabList, TabPanel } from "@mui/lab";
|
|
116
|
-
|
|
117
|
-
export type { TabContextProps, TabListProps, TabPanelProps } from "@mui/lab";
|
|
118
|
-
|
|
119
100
|
export { default as FavoriteIcon } from "@mui/icons-material/Favorite";
|
|
120
101
|
|
|
121
102
|
export { deepmerge, visuallyHidden } from "@mui/utils";
|
|
@@ -127,26 +108,33 @@ export * from "./Checkbox";
|
|
|
127
108
|
export * from "./CheckboxGroup";
|
|
128
109
|
export * from "./CircularProgress";
|
|
129
110
|
export * from "./createUniqueId";
|
|
130
|
-
export * from "./
|
|
131
|
-
export * from "./
|
|
132
|
-
export * from "./
|
|
111
|
+
export * from "./Dialog";
|
|
112
|
+
export * from "./Fieldset";
|
|
113
|
+
export * from "./Form";
|
|
133
114
|
export * from "./Icon";
|
|
134
115
|
export * from "./iconDictionary";
|
|
135
116
|
export * from "./Infobox";
|
|
136
117
|
export * from "./Link";
|
|
137
118
|
export * from "./MenuButton";
|
|
138
119
|
export * from "./MenuItem";
|
|
120
|
+
export * from "./NativeSelect";
|
|
139
121
|
export * from "./OdysseyCacheProvider";
|
|
122
|
+
export * from "./OdysseyProvider";
|
|
140
123
|
export * from "./OdysseyThemeProvider";
|
|
124
|
+
export * from "./OdysseyTranslationProvider";
|
|
141
125
|
export * from "./PasswordField";
|
|
142
126
|
export * from "./Radio";
|
|
143
127
|
export * from "./RadioGroup";
|
|
144
128
|
export * from "./ScreenReaderText";
|
|
145
129
|
export * from "./SearchField";
|
|
130
|
+
export * from "./Select";
|
|
146
131
|
export * from "./Status";
|
|
132
|
+
export * from "./Tabs";
|
|
147
133
|
export * from "./Tag";
|
|
148
134
|
export * from "./TagList";
|
|
149
135
|
export * from "./TextField";
|
|
150
136
|
export * from "./theme";
|
|
151
|
-
export * from "./
|
|
137
|
+
export * from "./Tooltip";
|
|
138
|
+
export * from "./Toast";
|
|
139
|
+
export * from "./ToastStack";
|
|
152
140
|
export * from "./useUniqueId";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {"fielderror.screenreader.text":"Error","fieldlabel.optional.text":"Optional","fieldlabel.required.text":"Required","severity.success":"success","severity.warning":"warning","severity.info":"info","severity.error":"error","toast.close.text":"close"};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const translation = {};
|
package/src/theme/components.tsx
CHANGED
|
@@ -243,6 +243,7 @@ export const components: ThemeOptions["components"] = {
|
|
|
243
243
|
"&:disabled": {
|
|
244
244
|
color: theme.palette.common.white,
|
|
245
245
|
backgroundColor: theme.palette.primary.light,
|
|
246
|
+
pointerEvents: "initial",
|
|
246
247
|
},
|
|
247
248
|
}),
|
|
248
249
|
},
|
|
@@ -388,7 +389,11 @@ export const components: ThemeOptions["components"] = {
|
|
|
388
389
|
|
|
389
390
|
"&:disabled": {
|
|
390
391
|
cursor: "not-allowed",
|
|
391
|
-
pointerEvents: "
|
|
392
|
+
pointerEvents: "initial",
|
|
393
|
+
},
|
|
394
|
+
|
|
395
|
+
"&:disabled:active": {
|
|
396
|
+
pointerEvents: "none",
|
|
392
397
|
},
|
|
393
398
|
|
|
394
399
|
[`.${buttonClasses.startIcon}, .${buttonClasses.endIcon}`]: {
|
|
@@ -450,8 +455,6 @@ export const components: ThemeOptions["components"] = {
|
|
|
450
455
|
|
|
451
456
|
".MuiSvgIcon-root": {
|
|
452
457
|
color: theme.palette.common.white,
|
|
453
|
-
width: "0.5em",
|
|
454
|
-
height: "0.5em",
|
|
455
458
|
transition: theme.transitions.create(["color"], {
|
|
456
459
|
duration: theme.transitions.duration.short,
|
|
457
460
|
}),
|
|
@@ -471,7 +474,7 @@ export const components: ThemeOptions["components"] = {
|
|
|
471
474
|
backgroundColor: "transparent",
|
|
472
475
|
borderColor: theme.palette.grey[900],
|
|
473
476
|
},
|
|
474
|
-
".Mui-error:hover > &": {
|
|
477
|
+
".Mui-error:not(.Mui-valid):hover > &": {
|
|
475
478
|
borderColor: theme.palette.error.dark,
|
|
476
479
|
|
|
477
480
|
"&.Mui-checked": {
|
|
@@ -479,7 +482,7 @@ export const components: ThemeOptions["components"] = {
|
|
|
479
482
|
borderColor: theme.palette.error.dark,
|
|
480
483
|
},
|
|
481
484
|
},
|
|
482
|
-
".Mui-error > &": {
|
|
485
|
+
".Mui-error:not(.Mui-valid) > &": {
|
|
483
486
|
borderColor: theme.palette.error.main,
|
|
484
487
|
|
|
485
488
|
"&.Mui-checked": {
|
|
@@ -501,7 +504,7 @@ export const components: ThemeOptions["components"] = {
|
|
|
501
504
|
backgroundColor: theme.palette.grey[50],
|
|
502
505
|
borderColor: theme.palette.grey[300],
|
|
503
506
|
|
|
504
|
-
".Mui-error > &": {
|
|
507
|
+
".Mui-error:not(.Mui-valid) > &": {
|
|
505
508
|
backgroundColor: theme.palette.grey[50],
|
|
506
509
|
borderColor: theme.palette.grey[300],
|
|
507
510
|
},
|
|
@@ -993,6 +996,10 @@ export const components: ThemeOptions["components"] = {
|
|
|
993
996
|
paddingBlock: theme.spacing(4),
|
|
994
997
|
paddingInline: theme.spacing(6),
|
|
995
998
|
|
|
999
|
+
"&:last-child": {
|
|
1000
|
+
paddingBlockEnd: theme.spacing(6),
|
|
1001
|
+
},
|
|
1002
|
+
|
|
996
1003
|
...(ownerState.dividers === false && {
|
|
997
1004
|
[`& + .${dialogActionsClasses.root}`]: {
|
|
998
1005
|
paddingBlockStart: theme.spacing(4),
|
|
@@ -1064,7 +1071,6 @@ export const components: ThemeOptions["components"] = {
|
|
|
1064
1071
|
MuiFormControlLabel: {
|
|
1065
1072
|
styleOverrides: {
|
|
1066
1073
|
root: ({ theme, ownerState }) => ({
|
|
1067
|
-
gap: theme.spacing(2),
|
|
1068
1074
|
marginInlineStart: 0,
|
|
1069
1075
|
marginInlineEnd: 0, // used for row presentation of radio/checkbox
|
|
1070
1076
|
...(ownerState.labelPlacement === "start" && {
|
|
@@ -1102,6 +1108,14 @@ export const components: ThemeOptions["components"] = {
|
|
|
1102
1108
|
color: theme.palette.error.dark,
|
|
1103
1109
|
},
|
|
1104
1110
|
}),
|
|
1111
|
+
label: ({ theme }) => ({
|
|
1112
|
+
"&:not(:first-child)": {
|
|
1113
|
+
marginInlineStart: theme.spacing(2),
|
|
1114
|
+
},
|
|
1115
|
+
}),
|
|
1116
|
+
asterisk: () => ({
|
|
1117
|
+
display: "none",
|
|
1118
|
+
}),
|
|
1105
1119
|
},
|
|
1106
1120
|
},
|
|
1107
1121
|
MuiFormHelperText: {
|
|
@@ -1318,6 +1332,9 @@ export const components: ThemeOptions["components"] = {
|
|
|
1318
1332
|
transform: "none",
|
|
1319
1333
|
}),
|
|
1320
1334
|
}),
|
|
1335
|
+
"& > .MuiTypography-root": {
|
|
1336
|
+
lineHeight: "unset",
|
|
1337
|
+
},
|
|
1321
1338
|
}),
|
|
1322
1339
|
},
|
|
1323
1340
|
},
|
|
@@ -1326,6 +1343,7 @@ export const components: ThemeOptions["components"] = {
|
|
|
1326
1343
|
root: ({ theme }) => ({
|
|
1327
1344
|
color: theme.palette.primary.main,
|
|
1328
1345
|
textDecoration: "underline",
|
|
1346
|
+
cursor: "pointer",
|
|
1329
1347
|
|
|
1330
1348
|
"&:hover": {
|
|
1331
1349
|
color: theme.palette.primary.dark,
|
|
@@ -1554,9 +1572,6 @@ export const components: ThemeOptions["components"] = {
|
|
|
1554
1572
|
},
|
|
1555
1573
|
".Mui-error > &": {
|
|
1556
1574
|
borderColor: theme.palette.error.main,
|
|
1557
|
-
"&::before": {
|
|
1558
|
-
backgroundColor: theme.palette.error.main,
|
|
1559
|
-
},
|
|
1560
1575
|
|
|
1561
1576
|
"&.Mui-focusVisible": {
|
|
1562
1577
|
boxShadow: `0 0 0 2px ${theme.palette.background.default}, 0 0 0 4px ${theme.palette.error.main}`,
|
|
@@ -1582,7 +1597,7 @@ export const components: ThemeOptions["components"] = {
|
|
|
1582
1597
|
backgroundColor: theme.palette.grey[50],
|
|
1583
1598
|
borderColor: theme.palette.grey[300],
|
|
1584
1599
|
|
|
1585
|
-
"
|
|
1600
|
+
"&.Mui-checked::before": {
|
|
1586
1601
|
backgroundColor: theme.palette.grey[300],
|
|
1587
1602
|
},
|
|
1588
1603
|
},
|
|
@@ -1596,6 +1611,13 @@ export const components: ThemeOptions["components"] = {
|
|
|
1596
1611
|
horizontal: "right",
|
|
1597
1612
|
},
|
|
1598
1613
|
},
|
|
1614
|
+
styleOverrides: {
|
|
1615
|
+
root: {
|
|
1616
|
+
"&.Toast": {
|
|
1617
|
+
position: "static",
|
|
1618
|
+
},
|
|
1619
|
+
},
|
|
1620
|
+
},
|
|
1599
1621
|
},
|
|
1600
1622
|
MuiSelect: {
|
|
1601
1623
|
defaultProps: {
|
|
@@ -1620,6 +1642,7 @@ export const components: ThemeOptions["components"] = {
|
|
|
1620
1642
|
},
|
|
1621
1643
|
}),
|
|
1622
1644
|
icon: ({ theme }) => ({
|
|
1645
|
+
right: "unset",
|
|
1623
1646
|
insetInlineEnd: theme.spacing(3),
|
|
1624
1647
|
color: theme.palette.text.primary,
|
|
1625
1648
|
}),
|
|
@@ -1631,8 +1654,16 @@ export const components: ThemeOptions["components"] = {
|
|
|
1631
1654
|
color: "inherit",
|
|
1632
1655
|
},
|
|
1633
1656
|
styleOverrides: {
|
|
1634
|
-
root: ({ theme }) => ({
|
|
1657
|
+
root: ({ theme, ownerState }) => ({
|
|
1635
1658
|
fontSize: `${theme.typography.ui.lineHeight}rem`,
|
|
1659
|
+
|
|
1660
|
+
...(ownerState.fontSize === "small" && {
|
|
1661
|
+
fontSize: `${Number(theme.typography.ui.lineHeight) * 0.75}rem`,
|
|
1662
|
+
}),
|
|
1663
|
+
|
|
1664
|
+
...(ownerState.fontSize === "large" && {
|
|
1665
|
+
fontSize: `${Number(theme.typography.ui.lineHeight) * 1.25}rem`,
|
|
1666
|
+
}),
|
|
1636
1667
|
}),
|
|
1637
1668
|
},
|
|
1638
1669
|
},
|
|
@@ -2031,7 +2062,7 @@ export const components: ThemeOptions["components"] = {
|
|
|
2031
2062
|
MuiTypography: {
|
|
2032
2063
|
defaultProps: {
|
|
2033
2064
|
fontFamily:
|
|
2034
|
-
"'
|
|
2065
|
+
"'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', 'Noto Sans Arabic', sans-serif",
|
|
2035
2066
|
variantMapping: {
|
|
2036
2067
|
h1: "h1",
|
|
2037
2068
|
h2: "h2",
|
package/src/theme/index.ts
CHANGED
|
@@ -10,5 +10,9 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
import * as Tokens from "@okta/odyssey-design-tokens";
|
|
14
|
+
|
|
15
|
+
export * from "./theme";
|
|
14
16
|
export { useTheme } from "./useTheme";
|
|
17
|
+
|
|
18
|
+
export type DesignTokensOverride = Partial<typeof Tokens>;
|
package/src/theme/mixins.ts
CHANGED
|
@@ -11,11 +11,15 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import type { ThemeOptions } from "@mui/material";
|
|
14
|
-
import
|
|
14
|
+
import { DesignTokensOverride } from ".";
|
|
15
15
|
|
|
16
|
-
export const mixins
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
export const mixins = (
|
|
17
|
+
odysseyTokens: DesignTokensOverride
|
|
18
|
+
): ThemeOptions["mixins"] => {
|
|
19
|
+
return {
|
|
20
|
+
maxWidth: odysseyTokens.FontLineLengthMax,
|
|
21
|
+
borderRadius: odysseyTokens.BorderRadiusBase,
|
|
22
|
+
borderStyle: odysseyTokens.BorderStyleBase,
|
|
23
|
+
borderWidth: odysseyTokens.BorderWidthBase,
|
|
24
|
+
};
|
|
21
25
|
};
|