@okta/odyssey-react-mui 0.24.0 → 1.0.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 +36 -0
- 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} +18 -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 +26 -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 +20 -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 +26 -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 +28 -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 +44 -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
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import MaterialReactTable, {
|
|
14
|
+
type MRT_ColumnFiltersState,
|
|
15
|
+
type MRT_TableInstance,
|
|
16
|
+
type MRT_Virtualizer,
|
|
17
|
+
} from "material-react-table";
|
|
18
|
+
import {
|
|
19
|
+
FunctionComponent,
|
|
20
|
+
memo,
|
|
21
|
+
useCallback,
|
|
22
|
+
useEffect,
|
|
23
|
+
useRef,
|
|
24
|
+
useState,
|
|
25
|
+
} from "react";
|
|
26
|
+
import { useTranslation } from "react-i18next";
|
|
27
|
+
|
|
28
|
+
import type {
|
|
29
|
+
DefaultMaterialReactTableData,
|
|
30
|
+
MaterialReactTableProps,
|
|
31
|
+
} from "./materialReactTableTypes";
|
|
32
|
+
|
|
33
|
+
export type StaticTableProps<TData extends DefaultMaterialReactTableData> = {
|
|
34
|
+
columns: MaterialReactTableProps<TData>["columns"];
|
|
35
|
+
data: MaterialReactTableProps<TData>["data"];
|
|
36
|
+
getRowId?: MaterialReactTableProps<TData>["getRowId"];
|
|
37
|
+
hasError?: boolean;
|
|
38
|
+
initialState?: MaterialReactTableProps<TData>["initialState"];
|
|
39
|
+
onGlobalFilterChange?: MaterialReactTableProps<TData>["onGlobalFilterChange"];
|
|
40
|
+
state?: MaterialReactTableProps<TData>["state"];
|
|
41
|
+
ToolbarButtons?: FunctionComponent<
|
|
42
|
+
{ table: MRT_TableInstance<TData> } & unknown
|
|
43
|
+
>;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
const StaticTable = <TData extends DefaultMaterialReactTableData>({
|
|
47
|
+
columns,
|
|
48
|
+
data,
|
|
49
|
+
getRowId,
|
|
50
|
+
hasError,
|
|
51
|
+
initialState,
|
|
52
|
+
onGlobalFilterChange,
|
|
53
|
+
state,
|
|
54
|
+
ToolbarButtons,
|
|
55
|
+
}: StaticTableProps<TData>) => {
|
|
56
|
+
const { t } = useTranslation();
|
|
57
|
+
|
|
58
|
+
const rowVirtualizerInstanceRef =
|
|
59
|
+
useRef<MRT_Virtualizer<HTMLDivElement, HTMLTableRowElement>>(null);
|
|
60
|
+
|
|
61
|
+
const [columnFilters, setColumnFilters] = useState<MRT_ColumnFiltersState>(
|
|
62
|
+
[]
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
const [globalFilter, setGlobalFilter] = useState<string>();
|
|
66
|
+
|
|
67
|
+
useEffect(() => {
|
|
68
|
+
if (globalFilter) {
|
|
69
|
+
onGlobalFilterChange?.(globalFilter);
|
|
70
|
+
}
|
|
71
|
+
}, [globalFilter, onGlobalFilterChange]);
|
|
72
|
+
|
|
73
|
+
const renderTopToolbarCustomActions = useCallback<
|
|
74
|
+
Exclude<
|
|
75
|
+
MaterialReactTableProps<TData>["renderTopToolbarCustomActions"],
|
|
76
|
+
undefined
|
|
77
|
+
>
|
|
78
|
+
>(
|
|
79
|
+
({ table }) => <>{ToolbarButtons && <ToolbarButtons table={table} />}</>,
|
|
80
|
+
[ToolbarButtons]
|
|
81
|
+
);
|
|
82
|
+
|
|
83
|
+
useEffect(() => {
|
|
84
|
+
try {
|
|
85
|
+
// Scroll to top of table when sorting or filters change.
|
|
86
|
+
rowVirtualizerInstanceRef.current?.scrollToIndex?.(0);
|
|
87
|
+
} catch (error) {
|
|
88
|
+
console.error(error);
|
|
89
|
+
}
|
|
90
|
+
}, [columnFilters, globalFilter]);
|
|
91
|
+
|
|
92
|
+
return (
|
|
93
|
+
<MaterialReactTable
|
|
94
|
+
columns={columns}
|
|
95
|
+
data={data}
|
|
96
|
+
enableBottomToolbar={false}
|
|
97
|
+
enablePagination={false}
|
|
98
|
+
enableRowVirtualization={data.length > 50}
|
|
99
|
+
enableSorting={false}
|
|
100
|
+
getRowId={getRowId}
|
|
101
|
+
initialState={initialState}
|
|
102
|
+
muiToolbarAlertBannerProps={
|
|
103
|
+
hasError
|
|
104
|
+
? {
|
|
105
|
+
children: t("table.error"),
|
|
106
|
+
color: "error",
|
|
107
|
+
}
|
|
108
|
+
: undefined
|
|
109
|
+
}
|
|
110
|
+
onColumnFiltersChange={setColumnFilters}
|
|
111
|
+
onGlobalFilterChange={setGlobalFilter}
|
|
112
|
+
renderTopToolbarCustomActions={renderTopToolbarCustomActions}
|
|
113
|
+
rowVirtualizerInstanceRef={rowVirtualizerInstanceRef}
|
|
114
|
+
rowVirtualizerProps={{ overscan: 4 }}
|
|
115
|
+
state={state}
|
|
116
|
+
/>
|
|
117
|
+
);
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
const MemoizedStaticTable = memo(StaticTable) as typeof StaticTable;
|
|
121
|
+
|
|
122
|
+
export { MemoizedStaticTable as StaticTable };
|
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { CSSInterpolation } from "@mui/material/styles";
|
|
14
|
+
import {
|
|
15
|
+
ArrowLeftIcon,
|
|
16
|
+
ArrowRightIcon,
|
|
17
|
+
CalendarIcon,
|
|
18
|
+
ChevronDownIcon,
|
|
19
|
+
} from "../icons.generated";
|
|
20
|
+
import { createOdysseyMuiTheme } from "../theme";
|
|
21
|
+
import { ThemeOptions } from "@mui/material";
|
|
22
|
+
import * as Tokens from "@okta/odyssey-design-tokens";
|
|
23
|
+
|
|
24
|
+
const popupSpacingValue = 5;
|
|
25
|
+
|
|
26
|
+
const odysseyTheme = createOdysseyMuiTheme(Tokens);
|
|
27
|
+
|
|
28
|
+
type ThemeStyles = ({
|
|
29
|
+
theme,
|
|
30
|
+
}: {
|
|
31
|
+
theme: typeof odysseyTheme;
|
|
32
|
+
}) => CSSInterpolation;
|
|
33
|
+
|
|
34
|
+
type StateStyles = Record<string, ThemeStyles>;
|
|
35
|
+
|
|
36
|
+
const dateStyles: StateStyles = {
|
|
37
|
+
default: ({ theme }) => ({
|
|
38
|
+
color: theme.palette.text.primary,
|
|
39
|
+
}),
|
|
40
|
+
disabled: ({ theme }) => ({
|
|
41
|
+
backgroundColor: "transparent",
|
|
42
|
+
color: theme.palette.text.disabled,
|
|
43
|
+
}),
|
|
44
|
+
hover: ({ theme }) => ({
|
|
45
|
+
backgroundColor: theme.palette.grey[100],
|
|
46
|
+
}),
|
|
47
|
+
hoverSelected: ({ theme }) => ({
|
|
48
|
+
backgroundColor: theme.palette.primary.dark,
|
|
49
|
+
color: theme.palette.primary.contrastText,
|
|
50
|
+
}),
|
|
51
|
+
outsideOfMonth: ({ theme }) => ({
|
|
52
|
+
backgroundColor: "transparent",
|
|
53
|
+
color: theme.palette.text.secondary,
|
|
54
|
+
}),
|
|
55
|
+
selected: ({ theme }) => ({
|
|
56
|
+
backgroundColor: theme.palette.primary.main,
|
|
57
|
+
color: theme.palette.primary.contrastText,
|
|
58
|
+
}),
|
|
59
|
+
today: ({ theme }) => ({
|
|
60
|
+
backgroundColor: "transparent",
|
|
61
|
+
color: theme.palette.primary.main,
|
|
62
|
+
}),
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
const todayDotStyles: StateStyles = {
|
|
66
|
+
default: ({ theme }) => ({
|
|
67
|
+
backgroundColor: theme.palette.primary.main,
|
|
68
|
+
borderRadius: "50%",
|
|
69
|
+
bottom: theme.spacing(1),
|
|
70
|
+
content: '" "',
|
|
71
|
+
height: `${2 / theme.typography.fontSize}em`,
|
|
72
|
+
position: "absolute",
|
|
73
|
+
transform: "translateY(-50%)",
|
|
74
|
+
width: `${2 / theme.typography.fontSize}em`,
|
|
75
|
+
}),
|
|
76
|
+
hover: ({ theme }) => ({
|
|
77
|
+
backgroundColor: theme.palette.primary.main,
|
|
78
|
+
}),
|
|
79
|
+
selected: ({ theme }) => ({
|
|
80
|
+
backgroundColor: theme.palette.primary.contrastText,
|
|
81
|
+
}),
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
const yearStyles: StateStyles = {
|
|
85
|
+
default: ({ theme }) => ({
|
|
86
|
+
backgroundColor: "transparent",
|
|
87
|
+
color: theme.palette.text.primary,
|
|
88
|
+
}),
|
|
89
|
+
disabled: ({ theme }) => ({
|
|
90
|
+
backgroundColor: "transparent",
|
|
91
|
+
color: theme.palette.text.disabled,
|
|
92
|
+
}),
|
|
93
|
+
hover: ({ theme }) => ({
|
|
94
|
+
backgroundColor: theme.palette.grey[100],
|
|
95
|
+
}),
|
|
96
|
+
hoverSelected: ({ theme }) => ({
|
|
97
|
+
backgroundColor: theme.palette.primary.lighter,
|
|
98
|
+
color: theme.palette.primary.main,
|
|
99
|
+
}),
|
|
100
|
+
outsideOfMonth: ({ theme }) => ({
|
|
101
|
+
backgroundColor: "transparent",
|
|
102
|
+
color: theme.palette.text.secondary,
|
|
103
|
+
}),
|
|
104
|
+
selected: ({ theme }) => ({
|
|
105
|
+
backgroundColor: "transparent",
|
|
106
|
+
color: theme.palette.primary.main,
|
|
107
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
108
|
+
}),
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
const yearCheckStyles: StateStyles = {
|
|
112
|
+
default: ({ theme }) => ({
|
|
113
|
+
backgroundColor: theme.palette.primary.main,
|
|
114
|
+
content: '""',
|
|
115
|
+
height: theme.typography.h6.fontSize,
|
|
116
|
+
maskImage:
|
|
117
|
+
"url(\"data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%0A%3E%3Cpath fillRule='evenodd' clipRule='evenodd' d='M14.3536 4.35355L6.35355 12.3536C6.15829 12.5488 5.84171 12.5488 5.64645 12.3536L1.64645 8.35355L2.35355 7.64645L6 11.2929L13.6464 3.64645L14.3536 4.35355Z' fill='currentColor' /%3E%3C/svg%3E%0A\")",
|
|
118
|
+
maskPosition: "50% 50%",
|
|
119
|
+
maskRepeat: "no-repeat",
|
|
120
|
+
position: "absolute",
|
|
121
|
+
right: theme.spacing(4),
|
|
122
|
+
width: theme.typography.h6.fontSize,
|
|
123
|
+
}),
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
export const datePickerTheme: ThemeOptions = {
|
|
127
|
+
components: {
|
|
128
|
+
MuiCalendarPicker: {
|
|
129
|
+
styleOverrides: {
|
|
130
|
+
root: ({ theme }) => ({
|
|
131
|
+
borderColor: theme.palette.divider,
|
|
132
|
+
borderStyle: theme.mixins.borderStyle,
|
|
133
|
+
borderWidth: theme.mixins.borderWidth,
|
|
134
|
+
borderRadius: theme.mixins.borderRadius,
|
|
135
|
+
paddingBottom: theme.spacing(popupSpacingValue),
|
|
136
|
+
paddingTop: theme.spacing(4),
|
|
137
|
+
width: "100%",
|
|
138
|
+
}),
|
|
139
|
+
},
|
|
140
|
+
},
|
|
141
|
+
MuiCalendarOrClockPicker: {
|
|
142
|
+
styleOverrides: {
|
|
143
|
+
root: () => ({
|
|
144
|
+
"& > div": {
|
|
145
|
+
width: `${(296 / 16) * (16 / 14)}rem`,
|
|
146
|
+
},
|
|
147
|
+
}),
|
|
148
|
+
},
|
|
149
|
+
defaultProps: {
|
|
150
|
+
components: {
|
|
151
|
+
LeftArrowIcon: ArrowLeftIcon,
|
|
152
|
+
RightArrowIcon: ArrowRightIcon,
|
|
153
|
+
SwitchViewIcon: ChevronDownIcon,
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
MuiDesktopDatePicker: {
|
|
158
|
+
defaultProps: {
|
|
159
|
+
components: {
|
|
160
|
+
OpenPickerIcon: CalendarIcon,
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
MuiDayPicker: {
|
|
165
|
+
styleOverrides: {
|
|
166
|
+
header: ({ theme }) => ({
|
|
167
|
+
gap: theme.spacing(1),
|
|
168
|
+
justifyContent: "space-between",
|
|
169
|
+
paddingLeft: theme.spacing(popupSpacingValue),
|
|
170
|
+
paddingRight: theme.spacing(popupSpacingValue),
|
|
171
|
+
}),
|
|
172
|
+
slideTransition: () => ({
|
|
173
|
+
minHeight: `${(214 / 16) * (16 / 14)}rem`,
|
|
174
|
+
}),
|
|
175
|
+
weekContainer: ({ theme }) => ({
|
|
176
|
+
gap: theme.spacing(1),
|
|
177
|
+
justifyContent: "space-between",
|
|
178
|
+
marginBottom: theme.spacing(1),
|
|
179
|
+
marginLeft: 0,
|
|
180
|
+
marginRight: 0,
|
|
181
|
+
paddingLeft: theme.spacing(popupSpacingValue),
|
|
182
|
+
paddingRight: theme.spacing(popupSpacingValue),
|
|
183
|
+
|
|
184
|
+
"&:last-child": {
|
|
185
|
+
marginBottom: 0,
|
|
186
|
+
},
|
|
187
|
+
}),
|
|
188
|
+
weekDayLabel: ({ theme }) => ({
|
|
189
|
+
color: theme.palette.grey[900],
|
|
190
|
+
flexBasis: theme.spacing(6),
|
|
191
|
+
flexShrink: 0,
|
|
192
|
+
fontSize: theme.typography.subtitle1.fontSize,
|
|
193
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
194
|
+
height: theme.spacing(6),
|
|
195
|
+
marginBottom: theme.spacing(2),
|
|
196
|
+
marginLeft: 0,
|
|
197
|
+
marginRight: 0,
|
|
198
|
+
width: theme.spacing(6),
|
|
199
|
+
}),
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
MuiDatePicker: {
|
|
203
|
+
defaultProps: {
|
|
204
|
+
PopperProps: {
|
|
205
|
+
popperOptions: {
|
|
206
|
+
placement: "auto-start",
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
showDaysOutsideCurrentMonth: true,
|
|
210
|
+
views: ["year", "day"],
|
|
211
|
+
},
|
|
212
|
+
},
|
|
213
|
+
MuiPickersCalendarHeader: {
|
|
214
|
+
styleOverrides: {
|
|
215
|
+
label: ({ theme }) => ({
|
|
216
|
+
fontSize: theme.typography.h6.fontSize,
|
|
217
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
218
|
+
}),
|
|
219
|
+
root: ({ theme }) => ({
|
|
220
|
+
marginBottom: theme.spacing(1),
|
|
221
|
+
marginTop: 0,
|
|
222
|
+
paddingLeft: `calc(${theme.spacing(
|
|
223
|
+
popupSpacingValue
|
|
224
|
+
)} + ${theme.spacing(2)})`,
|
|
225
|
+
paddingRight: theme.spacing(popupSpacingValue),
|
|
226
|
+
width: "auto",
|
|
227
|
+
}),
|
|
228
|
+
},
|
|
229
|
+
},
|
|
230
|
+
MuiPickersDay: {
|
|
231
|
+
styleOverrides: {
|
|
232
|
+
dayWithMargin: () => ({
|
|
233
|
+
marginLeft: 0,
|
|
234
|
+
marginRight: 0,
|
|
235
|
+
}),
|
|
236
|
+
root: ({ theme }) => [
|
|
237
|
+
dateStyles.default({ theme }),
|
|
238
|
+
{
|
|
239
|
+
border: "none",
|
|
240
|
+
borderRadius: theme.mixins.borderRadius,
|
|
241
|
+
flexBasis: theme.spacing(6),
|
|
242
|
+
flexShrink: 0,
|
|
243
|
+
fontSize: theme.typography.body1.fontSize,
|
|
244
|
+
height: theme.spacing(6),
|
|
245
|
+
width: theme.spacing(6),
|
|
246
|
+
|
|
247
|
+
"&.MuiPickersDay-today": [
|
|
248
|
+
dateStyles.today({ theme }),
|
|
249
|
+
{
|
|
250
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
251
|
+
},
|
|
252
|
+
],
|
|
253
|
+
|
|
254
|
+
"&.MuiPickersDay-today::after": todayDotStyles.default({ theme }),
|
|
255
|
+
"&.MuiPickersDay-today.Mui-selected::after":
|
|
256
|
+
todayDotStyles.selected({ theme }),
|
|
257
|
+
"&.MuiPickersDay-dayOutsideMonth": dateStyles.outsideOfMonth({
|
|
258
|
+
theme,
|
|
259
|
+
}),
|
|
260
|
+
"&:hover": dateStyles.hover({ theme }),
|
|
261
|
+
|
|
262
|
+
"&:not(.Mui-selected)": {
|
|
263
|
+
border: "none",
|
|
264
|
+
},
|
|
265
|
+
|
|
266
|
+
"&.Mui-selected, &.Mui-selected:focus": dateStyles.selected({
|
|
267
|
+
theme,
|
|
268
|
+
}),
|
|
269
|
+
"&.Mui-selected:hover": dateStyles.hoverSelected({ theme }),
|
|
270
|
+
"&.Mui-disabled": dateStyles.disabled({ theme }),
|
|
271
|
+
},
|
|
272
|
+
],
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
MuiPickersPopper: {
|
|
276
|
+
styleOverrides: {
|
|
277
|
+
paper: ({ theme }) => ({
|
|
278
|
+
boxShadow: `0 ${(1 / 16) * (16 / 14)}rem ${
|
|
279
|
+
(4 / 16) * (16 / 14)
|
|
280
|
+
}rem rgba(29, 29, 33, 0.08), 0 ${(4 / 16) * (16 / 14)}rem ${
|
|
281
|
+
(10 / 16) * (16 / 14)
|
|
282
|
+
}rem rgba(29, 29, 33, 0.08), 0 ${(8 / 16) * (16 / 14)}rem ${
|
|
283
|
+
(30 / 16) * (16 / 14)
|
|
284
|
+
}rem rgba(29, 29, 33, 0.1)`,
|
|
285
|
+
marginTop: theme.spacing(1),
|
|
286
|
+
}),
|
|
287
|
+
},
|
|
288
|
+
},
|
|
289
|
+
MuiYearPicker: {
|
|
290
|
+
styleOverrides: {
|
|
291
|
+
root: ({ theme }) => ({
|
|
292
|
+
alignItems: "flex-start",
|
|
293
|
+
flexDirection: "column",
|
|
294
|
+
flexWrap: "nowrap",
|
|
295
|
+
marginBottom: `-${theme.spacing(popupSpacingValue)}`,
|
|
296
|
+
marginInlineEnd: 0,
|
|
297
|
+
maxHeight: `${(284 / 16) * (16 / 14)}rem`,
|
|
298
|
+
paddingLeft: 0,
|
|
299
|
+
paddingRight: 0,
|
|
300
|
+
}),
|
|
301
|
+
},
|
|
302
|
+
},
|
|
303
|
+
PrivatePickersYear: {
|
|
304
|
+
styleOverrides: {
|
|
305
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
306
|
+
// @ts-expect-error TEMP. Arrays are valid styles return values for Emotion.
|
|
307
|
+
button: ({ theme }) => [
|
|
308
|
+
yearStyles.default({ theme }),
|
|
309
|
+
{
|
|
310
|
+
alignItems: "center",
|
|
311
|
+
borderRadius: 0,
|
|
312
|
+
display: "flex",
|
|
313
|
+
fontSize: theme.typography.body1.fontSize,
|
|
314
|
+
justifyContent: "flex-start",
|
|
315
|
+
marginBottom: 0,
|
|
316
|
+
marginTop: 0,
|
|
317
|
+
paddingLeft: theme.spacing(7),
|
|
318
|
+
position: "relative",
|
|
319
|
+
width: "100%",
|
|
320
|
+
|
|
321
|
+
"&:hover": yearStyles.hover({ theme }),
|
|
322
|
+
|
|
323
|
+
"&:not(.Mui-selected)": {
|
|
324
|
+
border: "none",
|
|
325
|
+
},
|
|
326
|
+
|
|
327
|
+
"&.Mui-disabled": yearStyles.disabled({ theme }),
|
|
328
|
+
},
|
|
329
|
+
],
|
|
330
|
+
root: () => ({
|
|
331
|
+
width: "100%",
|
|
332
|
+
}),
|
|
333
|
+
selected: ({ theme }) => ({
|
|
334
|
+
"&, &:focus": yearStyles.selected({ theme }),
|
|
335
|
+
"&:hover": yearStyles.hoverSelected({ theme }),
|
|
336
|
+
"&::after": yearCheckStyles.default({ theme }),
|
|
337
|
+
}),
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
},
|
|
341
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export { AdapterDateFns } from "@mui/x-date-pickers/AdapterDateFns";
|
|
14
|
+
export { LocalizationProvider } from "@mui/x-date-pickers";
|
|
15
|
+
export type { LocalizationProviderProps } from "@mui/x-date-pickers";
|
|
16
|
+
|
|
17
|
+
export type { MRT_ColumnDef as TableColumn } from "material-react-table";
|
|
18
|
+
|
|
19
|
+
export * from "./DatePicker";
|
|
20
|
+
export * from "./datePickerTheme";
|
|
21
|
+
|
|
22
|
+
export * from "./materialReactTableTypes";
|
|
23
|
+
export * from "./PaginatedTable";
|
|
24
|
+
export * from "./StaticTable";
|
|
@@ -10,8 +10,10 @@
|
|
|
10
10
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
import MaterialReactTable from "material-react-table";
|
|
14
|
+
|
|
15
|
+
export type DefaultMaterialReactTableData = Record<string, unknown>;
|
|
16
|
+
|
|
17
|
+
export type MaterialReactTableProps<
|
|
18
|
+
TData extends DefaultMaterialReactTableData
|
|
19
|
+
> = Parameters<typeof MaterialReactTable<TData>>[0];
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
fielderror.screenreader.text = Error
|
|
2
2
|
fieldlabel.optional.text = Optional
|
|
3
3
|
fieldlabel.required.text = Required
|
|
4
|
+
severity.error = error
|
|
5
|
+
severity.info = info
|
|
4
6
|
severity.success = success
|
|
5
7
|
severity.warning = warning
|
|
6
|
-
|
|
7
|
-
|
|
8
|
+
table.error = Error loading data.
|
|
9
|
+
table.fetchedrows.text = Fetched {{totalRows}} row
|
|
10
|
+
table.fetchedrows.text_plural = Fetched {{totalRows}} total rows
|
|
11
|
+
table.rows.text = {{totalRows}} row
|
|
12
|
+
table.rows.text_plural = {{totalRows}} rows
|
|
8
13
|
toast.close.text = close
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
fielderror.screenreader.text = Chyba
|
|
2
|
+
fieldlabel.optional.text = Voliteln\u00E9
|
|
3
|
+
fieldlabel.required.text = Povinn\u00E9
|
|
4
|
+
severity.error = chyba
|
|
5
|
+
severity.info = informace
|
|
6
|
+
severity.success = \u00FAsp\u011Bch
|
|
7
|
+
severity.warning = upozorn\u011Bn\u00ED
|
|
8
|
+
table.error = Chyba p\u0159i na\u010D\u00EDt\u00E1n\u00ED dat
|
|
9
|
+
table.fetchedrows.text = Byl na\u010Dten {{totalRows}} \u0159\u00E1dek
|
|
10
|
+
table.fetchedrows.text_plural = Celkem na\u010Dteno \u0159\u00E1dk\u016F: {{totalRows}}
|
|
11
|
+
table.rows.text = {{totalRows}} \u0159\u00E1dek
|
|
12
|
+
table.rows.text_plural = Po\u010Det \u0159\u00E1dk\u016F: {{totalRows}}
|
|
13
|
+
toast.close.text = zav\u0159\u00EDt
|
|
14
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
fielderror.screenreader.text = Fejl
|
|
2
|
+
fieldlabel.optional.text = Valgfrit
|
|
3
|
+
fieldlabel.required.text = P\u00E5kr\u00E6vet
|
|
4
|
+
severity.error = fejl
|
|
5
|
+
severity.info = oplysninger
|
|
6
|
+
severity.success = fuldf\u00F8rt
|
|
7
|
+
severity.warning = advarsel
|
|
8
|
+
table.error = Fejl ved indl\u00E6sning af data.
|
|
9
|
+
table.fetchedrows.text = Hentet {{totalRows}} r\u00E6kke
|
|
10
|
+
table.fetchedrows.text_plural = Hentet {{totalRows}} total antal r\u00E6kker
|
|
11
|
+
table.rows.text = {{totalRows}} r\u00E6kke
|
|
12
|
+
table.rows.text_plural = {{totalRows}} r\u00E6kker
|
|
13
|
+
toast.close.text = luk
|
|
14
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
fielderror.screenreader.text = Fehler
|
|
2
|
+
fieldlabel.optional.text = Optional
|
|
3
|
+
fieldlabel.required.text = Erforderlich
|
|
4
|
+
severity.error = Fehler
|
|
5
|
+
severity.info = Infos
|
|
6
|
+
severity.success = Erfolg
|
|
7
|
+
severity.warning = Warnung
|
|
8
|
+
table.error = Fehler beim Laden der Daten.
|
|
9
|
+
table.fetchedrows.text = {{totalRows}} Zeile abgerufen
|
|
10
|
+
table.fetchedrows.text_plural = {{totalRows}} Zeilen insgesamt abgerufen
|
|
11
|
+
table.rows.text = {{totalRows}} Zeile
|
|
12
|
+
table.rows.text_plural = {{totalRows}} Zeilen
|
|
13
|
+
toast.close.text = schlie\u00DFen
|
|
14
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
fielderror.screenreader.text = \u03A3\u03C6\u03AC\u03BB\u03BC\u03B1
|
|
2
|
+
fieldlabel.optional.text = \u03A0\u03C1\u03BF\u03B1\u03B9\u03C1\u03B5\u03C4\u03B9\u03BA\u03CC
|
|
3
|
+
fieldlabel.required.text = \u0391\u03C0\u03B1\u03B9\u03C4\u03B5\u03AF\u03C4\u03B1\u03B9
|
|
4
|
+
severity.error = \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1
|
|
5
|
+
severity.info = \u03C0\u03BB\u03B7\u03C1\u03BF\u03C6\u03BF\u03C1\u03AF\u03B5\u03C2
|
|
6
|
+
severity.success = \u03B5\u03C0\u03B9\u03C4\u03C5\u03C7\u03AF\u03B1
|
|
7
|
+
severity.warning = \u03C0\u03C1\u03BF\u03B5\u03B9\u03B4\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7
|
|
8
|
+
table.error = \u03A3\u03C6\u03AC\u03BB\u03BC\u03B1 \u03BA\u03B1\u03C4\u03AC \u03C4\u03B7 \u03C6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7 \u03B4\u03B5\u03B4\u03BF\u03BC\u03AD\u03BD\u03C9\u03BD.
|
|
9
|
+
table.fetchedrows.text = \u0391\u03BD\u03B1\u03BA\u03C4\u03AE\u03B8\u03B7\u03BA\u03B5 {{totalRows}} \u03C3\u03B5\u03B9\u03C1\u03AC
|
|
10
|
+
table.fetchedrows.text_plural = \u0391\u03BD\u03B1\u03BA\u03C4\u03AE\u03B8\u03B7\u03BA\u03B1\u03BD \u03C3\u03C5\u03BD\u03BF\u03BB\u03B9\u03BA\u03AC {{totalRows}} \u03C3\u03B5\u03B9\u03C1\u03AD\u03C2
|
|
11
|
+
table.rows.text = {{totalRows}} \u03C3\u03B5\u03B9\u03C1\u03AC
|
|
12
|
+
table.rows.text_plural = {{totalRows}} \u03C3\u03B5\u03B9\u03C1\u03AD\u03C2
|
|
13
|
+
toast.close.text = \u03BA\u03BB\u03B5\u03AF\u03C3\u03B9\u03BC\u03BF
|
|
14
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
fielderror.screenreader.text = Error
|
|
2
|
+
fieldlabel.optional.text = Opcional
|
|
3
|
+
fieldlabel.required.text = Obligatorio
|
|
4
|
+
severity.error = error
|
|
5
|
+
severity.info = informaci\u00F3n
|
|
6
|
+
severity.success = correcto
|
|
7
|
+
severity.warning = advertencia
|
|
8
|
+
table.error = Error al cargar datos.
|
|
9
|
+
table.fetchedrows.text = Se ha recuperado {{totalRows}} fila
|
|
10
|
+
table.fetchedrows.text_plural = Se ha recuperado un total de {{totalRows}} filas
|
|
11
|
+
table.rows.text = {{totalRows}} fila
|
|
12
|
+
table.rows.text_plural = {{totalRows}} filas
|
|
13
|
+
toast.close.text = cerrar
|
|
14
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
fielderror.screenreader.text = Virhe
|
|
2
|
+
fieldlabel.optional.text = Valinnainen
|
|
3
|
+
fieldlabel.required.text = Pakollinen
|
|
4
|
+
severity.error = virhe
|
|
5
|
+
severity.info = tietoa
|
|
6
|
+
severity.success = onnistui
|
|
7
|
+
severity.warning = varoitus
|
|
8
|
+
table.error = Virhe tietojen lataamisessa.
|
|
9
|
+
table.fetchedrows.text = Haettu {{totalRows}} rivi
|
|
10
|
+
table.fetchedrows.text_plural = Haettu yhteens\u00E4 {{totalRows}} rivi\u00E4
|
|
11
|
+
table.rows.text = {{totalRows}} rivi
|
|
12
|
+
table.rows.text_plural = {{totalRows}} rivi\u00E4
|
|
13
|
+
toast.close.text = sulje
|
|
14
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
fielderror.screenreader.text = Erreur
|
|
2
|
+
fieldlabel.optional.text = Facultatif
|
|
3
|
+
fieldlabel.required.text = Obligatoire
|
|
4
|
+
severity.error = erreur
|
|
5
|
+
severity.info = informations
|
|
6
|
+
severity.success = op\u00E9ration r\u00E9ussie
|
|
7
|
+
severity.warning = avertissement
|
|
8
|
+
table.error = Erreur lors du chargement des donn\u00E9es.
|
|
9
|
+
table.fetchedrows.text = {{totalRows}}\u00A0ligne extraite
|
|
10
|
+
table.fetchedrows.text_plural = {{totalRows}}\u00A0lignes extraites au total
|
|
11
|
+
table.rows.text = {{totalRows}}\u00A0ligne
|
|
12
|
+
table.rows.text_plural = {{totalRows}}\u00A0lignes
|
|
13
|
+
toast.close.text = fermer
|
|
14
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
fielderror.screenreader.text = Hiba
|
|
2
|
+
fieldlabel.optional.text = Nem k\u00F6telez\u0151
|
|
3
|
+
fieldlabel.required.text = K\u00F6telez\u0151
|
|
4
|
+
severity.error = hiba
|
|
5
|
+
severity.info = inform\u00E1ci\u00F3
|
|
6
|
+
severity.success = sikeres
|
|
7
|
+
severity.warning = figyelmeztet\u00E9s
|
|
8
|
+
table.error = Hiba t\u00F6rt\u00E9nt az adatok bet\u00F6lt\u00E9sekor.
|
|
9
|
+
table.fetchedrows.text = {{totalRows}} sor beolvasva
|
|
10
|
+
table.fetchedrows.text_plural = \u00D6sszesen {{totalRows}} sor beolvasva
|
|
11
|
+
table.rows.text = {{totalRows}} sor
|
|
12
|
+
table.rows.text_plural = {{totalRows}} sor
|
|
13
|
+
toast.close.text = bez\u00E1r\u00E1s
|
|
14
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
fielderror.screenreader.text = Kesalahan
|
|
2
|
+
fieldlabel.optional.text = Opsional
|
|
3
|
+
fieldlabel.required.text = Wajib diisi
|
|
4
|
+
severity.error = kesalahan
|
|
5
|
+
severity.info = info
|
|
6
|
+
severity.success = berhasil
|
|
7
|
+
severity.warning = peringatan
|
|
8
|
+
table.error = Terjadi kesalahan saat memuat data.
|
|
9
|
+
table.fetchedrows.text = Mendapatkan {{totalRows}} baris
|
|
10
|
+
table.fetchedrows.text_plural = Mendapatkan total {{totalRows}} baris
|
|
11
|
+
table.rows.text = {{totalRows}} baris
|
|
12
|
+
table.rows.text_plural = {{totalRows}} baris
|
|
13
|
+
toast.close.text = tutup
|
|
14
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
fielderror.screenreader.text = Errore
|
|
2
|
+
fieldlabel.optional.text = Facoltativo
|
|
3
|
+
fieldlabel.required.text = Obbligatorio
|
|
4
|
+
severity.error = errore
|
|
5
|
+
severity.info = info
|
|
6
|
+
severity.success = operazione riuscita
|
|
7
|
+
severity.warning = avviso
|
|
8
|
+
table.error = Errore durante il caricamento dei dati.
|
|
9
|
+
table.fetchedrows.text = Recuperata {{totalRows}} riga
|
|
10
|
+
table.fetchedrows.text_plural = Recuperate {{totalRows}} righe in totale
|
|
11
|
+
table.rows.text = {{totalRows}} riga
|
|
12
|
+
table.rows.text_plural = {{totalRows}} righe
|
|
13
|
+
toast.close.text = chiudi
|
|
14
|
+
|