@okta/odyssey-react-mui 1.21.2 → 1.22.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 +15 -0
- package/dist/Autocomplete.js +76 -38
- package/dist/Autocomplete.js.map +1 -1
- package/dist/Checkbox.js +26 -11
- package/dist/Checkbox.js.map +1 -1
- package/dist/CheckboxGroup.js +14 -3
- package/dist/CheckboxGroup.js.map +1 -1
- package/dist/DataTable/DataTable.js +10 -2
- package/dist/DataTable/DataTable.js.map +1 -1
- package/dist/DataTable/useScrollIndication.js +2 -2
- package/dist/DataTable/useScrollIndication.js.map +1 -1
- package/dist/Field.js +3 -1
- package/dist/Field.js.map +1 -1
- package/dist/OdysseyCacheProvider.js +4 -3
- package/dist/OdysseyCacheProvider.js.map +1 -1
- package/dist/OdysseyProvider.js +6 -3
- package/dist/OdysseyProvider.js.map +1 -1
- package/dist/OdysseyThemeProvider.js +3 -2
- package/dist/OdysseyThemeProvider.js.map +1 -1
- package/dist/Radio.js +34 -7
- package/dist/Radio.js.map +1 -1
- package/dist/RadioGroup.js +17 -5
- package/dist/RadioGroup.js.map +1 -1
- package/dist/Select.js +53 -31
- package/dist/Select.js.map +1 -1
- package/dist/ToastStack.js.map +1 -1
- package/dist/{createShadowRootElement.js → createShadowDomElements.js} +22 -6
- package/dist/createShadowDomElements.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.scss +5 -5
- package/dist/labs/AppTile.js +124 -0
- package/dist/labs/AppTile.js.map +1 -0
- package/dist/labs/DataView/BulkActionsMenu.js.map +1 -0
- package/dist/labs/{DataComponents/StackContent.js → DataView/CardLayoutContent.js} +14 -14
- package/dist/labs/DataView/CardLayoutContent.js.map +1 -0
- package/dist/labs/{DataComponents/StackCard.js → DataView/DataCard.js} +6 -6
- package/dist/labs/DataView/DataCard.js.map +1 -0
- package/dist/labs/{DataComponents → DataView}/DataTable.js +6 -2
- package/dist/labs/DataView/DataTable.js.map +1 -0
- package/dist/labs/{DataComponents → DataView}/DataView.js +25 -15
- package/dist/labs/DataView/DataView.js.map +1 -0
- package/dist/labs/DataView/DetailPanel.js.map +1 -0
- package/dist/labs/DataView/LayoutSwitcher.js.map +1 -0
- package/dist/labs/DataView/RowActions.js.map +1 -0
- package/dist/labs/{DataComponents/TableContent.js → DataView/TableLayoutContent.js} +17 -17
- package/dist/labs/DataView/TableLayoutContent.js.map +1 -0
- package/dist/labs/{DataComponents → DataView}/TableSettings.js +2 -2
- package/dist/labs/DataView/TableSettings.js.map +1 -0
- package/dist/labs/DataView/componentTypes.js.map +1 -0
- package/dist/labs/{DataComponents → DataView}/constants.js +2 -2
- package/dist/labs/DataView/constants.js.map +1 -0
- package/dist/labs/DataView/dataTypes.js.map +1 -0
- package/dist/labs/DataView/fetchData.js.map +1 -0
- package/dist/labs/{DataComponents → DataView}/index.js +0 -1
- package/dist/labs/DataView/index.js.map +1 -0
- package/dist/labs/DataView/tableConstants.js.map +1 -0
- package/dist/labs/DataView/useFilterConversion.js.map +1 -0
- package/dist/labs/SideNav/CollapseIcon.js +44 -0
- package/dist/labs/SideNav/CollapseIcon.js.map +1 -0
- package/dist/labs/SideNav/SideNav.js +246 -0
- package/dist/labs/SideNav/SideNav.js.map +1 -0
- package/dist/labs/SideNav/SideNavFooterContent.js +49 -0
- package/dist/labs/SideNav/SideNavFooterContent.js.map +1 -0
- package/dist/labs/SideNav/SideNavHeader.js +58 -0
- package/dist/labs/SideNav/SideNavHeader.js.map +1 -0
- package/dist/labs/SideNav/SideNavItemContent.js +157 -0
- package/dist/labs/SideNav/SideNavItemContent.js.map +1 -0
- package/dist/labs/SideNav/SideNavItemLinkContent.js +71 -0
- package/dist/labs/SideNav/SideNavItemLinkContent.js.map +1 -0
- package/dist/labs/SideNav/index.js +14 -0
- package/dist/labs/SideNav/index.js.map +1 -0
- package/dist/labs/SideNav/types.js +2 -0
- package/dist/labs/SideNav/types.js.map +1 -0
- package/dist/labs/Switch.js +70 -16
- package/dist/labs/Switch.js.map +1 -1
- package/dist/labs/index.js +3 -2
- package/dist/labs/index.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_cs.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_cs.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_da.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_da.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_de.js +16 -2
- package/dist/properties/ts/odyssey-react-mui_de.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_el.js +18 -4
- package/dist/properties/ts/odyssey-react-mui_el.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_es.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_es.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_fi.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_fi.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_fr.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_fr.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_ht.js +18 -4
- package/dist/properties/ts/odyssey-react-mui_ht.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_hu.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_hu.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_id.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_id.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_it.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_it.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_ja.js +16 -2
- package/dist/properties/ts/odyssey-react-mui_ja.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_ko.js +16 -2
- package/dist/properties/ts/odyssey-react-mui_ko.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_ms.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_ms.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_nb.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_nb.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_nl_NL.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_nl_NL.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_pl.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_pl.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_pt_BR.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_pt_BR.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_ro.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_ro.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_ru.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_ru.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_sv.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_sv.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_th.js +16 -2
- package/dist/properties/ts/odyssey-react-mui_th.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_tr.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_tr.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_uk.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_uk.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_vi.js +17 -3
- package/dist/properties/ts/odyssey-react-mui_vi.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_zh_CN.js +16 -2
- package/dist/properties/ts/odyssey-react-mui_zh_CN.js.map +1 -1
- package/dist/properties/ts/odyssey-react-mui_zh_TW.js +16 -2
- package/dist/properties/ts/odyssey-react-mui_zh_TW.js.map +1 -1
- package/dist/src/Autocomplete.d.ts.map +1 -1
- package/dist/src/Checkbox.d.ts +2 -2
- package/dist/src/Checkbox.d.ts.map +1 -1
- package/dist/src/CheckboxGroup.d.ts +3 -3
- package/dist/src/CheckboxGroup.d.ts.map +1 -1
- package/dist/src/DataTable/DataTable.d.ts +9 -1
- package/dist/src/DataTable/DataTable.d.ts.map +1 -1
- package/dist/src/Field.d.ts +3 -2
- package/dist/src/Field.d.ts.map +1 -1
- package/dist/src/OdysseyCacheProvider.d.ts +7 -3
- package/dist/src/OdysseyCacheProvider.d.ts.map +1 -1
- package/dist/src/OdysseyProvider.d.ts +1 -1
- package/dist/src/OdysseyProvider.d.ts.map +1 -1
- package/dist/src/OdysseyThemeProvider.d.ts +3 -1
- package/dist/src/OdysseyThemeProvider.d.ts.map +1 -1
- package/dist/src/Radio.d.ts +6 -8
- package/dist/src/Radio.d.ts.map +1 -1
- package/dist/src/RadioGroup.d.ts +4 -5
- package/dist/src/RadioGroup.d.ts.map +1 -1
- package/dist/src/Select.d.ts +2 -2
- package/dist/src/Select.d.ts.map +1 -1
- package/dist/src/ToastStack.d.ts +2 -2
- package/dist/src/ToastStack.d.ts.map +1 -1
- package/dist/src/{createShadowRootElement.d.ts → createShadowDomElements.d.ts} +6 -1
- package/dist/src/createShadowDomElements.d.ts.map +1 -0
- package/dist/src/index.d.ts +1 -1
- package/dist/src/labs/AppTile.d.ts +39 -0
- package/dist/src/labs/AppTile.d.ts.map +1 -0
- package/dist/src/labs/DataView/BulkActionsMenu.d.ts.map +1 -0
- package/dist/src/labs/{DataComponents/StackContent.d.ts → DataView/CardLayoutContent.d.ts} +7 -7
- package/dist/src/labs/DataView/CardLayoutContent.d.ts.map +1 -0
- package/dist/src/labs/{DataComponents/StackCard.d.ts → DataView/DataCard.d.ts} +4 -4
- package/dist/src/labs/DataView/DataCard.d.ts.map +1 -0
- package/dist/src/labs/DataView/DataTable.d.ts +16 -0
- package/dist/src/labs/DataView/DataTable.d.ts.map +1 -0
- package/dist/src/labs/{DataComponents → DataView}/DataView.d.ts +1 -1
- package/dist/src/labs/DataView/DataView.d.ts.map +1 -0
- package/dist/src/labs/{DataComponents → DataView}/DetailPanel.d.ts +2 -2
- package/dist/src/labs/DataView/DetailPanel.d.ts.map +1 -0
- package/dist/src/labs/DataView/LayoutSwitcher.d.ts.map +1 -0
- package/dist/src/labs/DataView/RowActions.d.ts.map +1 -0
- package/dist/src/labs/{DataComponents/TableContent.d.ts → DataView/TableLayoutContent.d.ts} +7 -7
- package/dist/src/labs/DataView/TableLayoutContent.d.ts.map +1 -0
- package/dist/src/labs/{DataComponents → DataView}/TableSettings.d.ts +3 -3
- package/dist/src/labs/DataView/TableSettings.d.ts.map +1 -0
- package/dist/src/labs/{DataComponents → DataView}/componentTypes.d.ts +11 -9
- package/dist/src/labs/DataView/componentTypes.d.ts.map +1 -0
- package/dist/src/labs/{DataComponents → DataView}/constants.d.ts +1 -1
- package/dist/src/labs/DataView/constants.d.ts.map +1 -0
- package/dist/src/labs/DataView/dataTypes.d.ts.map +1 -0
- package/dist/src/labs/DataView/fetchData.d.ts.map +1 -0
- package/dist/src/labs/{DataComponents → DataView}/index.d.ts +0 -1
- package/dist/src/labs/DataView/index.d.ts.map +1 -0
- package/dist/src/labs/DataView/tableConstants.d.ts.map +1 -0
- package/dist/src/labs/{DataComponents → DataView}/useFilterConversion.d.ts +2 -2
- package/dist/src/labs/DataView/useFilterConversion.d.ts.map +1 -0
- package/dist/src/labs/SideNav/CollapseIcon.d.ts +17 -0
- package/dist/src/labs/SideNav/CollapseIcon.d.ts.map +1 -0
- package/dist/src/labs/SideNav/SideNav.d.ts +15 -0
- package/dist/src/labs/SideNav/SideNav.d.ts.map +1 -0
- package/dist/src/labs/SideNav/SideNavFooterContent.d.ts +17 -0
- package/dist/src/labs/SideNav/SideNavFooterContent.d.ts.map +1 -0
- package/dist/src/labs/SideNav/SideNavHeader.d.ts +16 -0
- package/dist/src/labs/SideNav/SideNavHeader.d.ts.map +1 -0
- package/dist/src/labs/SideNav/SideNavItemContent.d.ts +33 -0
- package/dist/src/labs/SideNav/SideNavItemContent.d.ts.map +1 -0
- package/dist/src/labs/SideNav/SideNavItemLinkContent.d.ts +16 -0
- package/dist/src/labs/SideNav/SideNavItemLinkContent.d.ts.map +1 -0
- package/dist/src/labs/SideNav/index.d.ts +14 -0
- package/dist/src/labs/SideNav/index.d.ts.map +1 -0
- package/dist/src/labs/{SideNav.d.ts → SideNav/types.d.ts} +31 -33
- package/dist/src/labs/SideNav/types.d.ts.map +1 -0
- package/dist/src/labs/Switch.d.ts +5 -1
- package/dist/src/labs/Switch.d.ts.map +1 -1
- package/dist/src/labs/index.d.ts +2 -1
- package/dist/src/labs/index.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_ht.d.ts +16 -2
- package/dist/src/properties/ts/odyssey-react-mui_ht.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 +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_nl_NL.d.ts.map +1 -1
- 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 +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_pt_BR.d.ts.map +1 -1
- 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 +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_vi.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_zh_CN.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_zh_CN.d.ts.map +1 -1
- package/dist/src/properties/ts/odyssey-react-mui_zh_TW.d.ts +15 -1
- package/dist/src/properties/ts/odyssey-react-mui_zh_TW.d.ts.map +1 -1
- package/dist/src/theme/components.d.ts +3 -1
- package/dist/src/theme/components.d.ts.map +1 -1
- package/dist/src/theme/createOdysseyMuiTheme.d.ts +3 -1
- package/dist/src/theme/createOdysseyMuiTheme.d.ts.map +1 -1
- package/dist/theme/components.js +232 -146
- package/dist/theme/components.js.map +1 -1
- package/dist/theme/createOdysseyMuiTheme.js +3 -2
- package/dist/theme/createOdysseyMuiTheme.js.map +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/package.json +3 -4
- package/src/Autocomplete.tsx +108 -45
- package/src/Checkbox.tsx +39 -9
- package/src/CheckboxGroup.tsx +20 -4
- package/src/DataTable/DataTable.tsx +24 -1
- package/src/DataTable/useScrollIndication.tsx +2 -2
- package/src/Field.tsx +5 -2
- package/src/OdysseyCacheProvider.tsx +18 -4
- package/src/OdysseyProvider.tsx +6 -3
- package/src/OdysseyThemeProvider.tsx +6 -2
- package/src/Radio.tsx +42 -13
- package/src/RadioGroup.tsx +26 -7
- package/src/Select.tsx +78 -45
- package/src/ToastStack.tsx +2 -2
- package/src/{createShadowRootElement.ts → createShadowDomElements.ts} +24 -5
- package/src/index.ts +1 -1
- package/src/labs/AppTile.tsx +200 -0
- package/src/labs/{DataComponents/StackContent.tsx → DataView/CardLayoutContent.tsx} +24 -19
- package/src/labs/{DataComponents/StackCard.tsx → DataView/DataCard.tsx} +7 -7
- package/src/labs/{DataComponents → DataView}/DataTable.tsx +8 -4
- package/src/labs/{DataComponents → DataView}/DataView.tsx +46 -17
- package/src/labs/{DataComponents → DataView}/DetailPanel.tsx +2 -2
- package/src/labs/{DataComponents/TableContent.tsx → DataView/TableLayoutContent.tsx} +31 -26
- package/src/labs/{DataComponents → DataView}/TableSettings.tsx +5 -4
- package/src/labs/{DataComponents → DataView}/componentTypes.ts +11 -9
- package/src/labs/{DataComponents → DataView}/constants.tsx +2 -2
- package/src/labs/{DataComponents → DataView}/index.tsx +0 -1
- package/src/labs/{DataComponents → DataView}/useFilterConversion.ts +2 -2
- package/src/labs/SideNav/CollapseIcon.tsx +48 -0
- package/src/labs/SideNav/SideNav.tsx +350 -0
- package/src/labs/SideNav/SideNavFooterContent.tsx +64 -0
- package/src/labs/SideNav/SideNavHeader.tsx +65 -0
- package/src/labs/SideNav/SideNavItemContent.tsx +216 -0
- package/src/labs/SideNav/SideNavItemLinkContent.tsx +87 -0
- package/src/labs/SideNav/index.ts +15 -0
- package/src/labs/SideNav/types.ts +125 -0
- package/src/labs/Switch.tsx +85 -31
- package/src/labs/index.ts +3 -1
- package/src/properties/translations/odyssey-react-mui_cs.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_da.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_de.properties +14 -2
- package/src/properties/translations/odyssey-react-mui_el.properties +16 -4
- package/src/properties/translations/odyssey-react-mui_es.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_fi.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_fr.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_ht.properties +17 -6
- package/src/properties/translations/odyssey-react-mui_hu.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_id.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_it.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_ja.properties +14 -2
- package/src/properties/translations/odyssey-react-mui_ko.properties +14 -2
- package/src/properties/translations/odyssey-react-mui_ms.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_nb.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_nl_NL.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_pl.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_pt_BR.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_ro.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_ru.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_sv.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_th.properties +14 -2
- package/src/properties/translations/odyssey-react-mui_tr.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_uk.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_vi.properties +15 -3
- package/src/properties/translations/odyssey-react-mui_zh_CN.properties +14 -2
- package/src/properties/translations/odyssey-react-mui_zh_TW.properties +14 -2
- 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_ht.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 -1
- package/src/properties/ts/odyssey-react-mui_pl.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_pt_BR.ts +1 -1
- 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 -1
- package/src/properties/ts/odyssey-react-mui_zh_CN.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_zh_TW.ts +1 -1
- package/src/theme/components.tsx +240 -150
- package/src/theme/createOdysseyMuiTheme.ts +4 -1
- package/dist/createShadowRootElement.js.map +0 -1
- package/dist/labs/DataComponents/BulkActionsMenu.js.map +0 -1
- package/dist/labs/DataComponents/DataStack.js +0 -85
- package/dist/labs/DataComponents/DataStack.js.map +0 -1
- package/dist/labs/DataComponents/DataTable.js.map +0 -1
- package/dist/labs/DataComponents/DataView.js.map +0 -1
- package/dist/labs/DataComponents/DetailPanel.js.map +0 -1
- package/dist/labs/DataComponents/LayoutSwitcher.js.map +0 -1
- package/dist/labs/DataComponents/RowActions.js.map +0 -1
- package/dist/labs/DataComponents/StackCard.js.map +0 -1
- package/dist/labs/DataComponents/StackContent.js.map +0 -1
- package/dist/labs/DataComponents/TableContent.js.map +0 -1
- package/dist/labs/DataComponents/TableSettings.js.map +0 -1
- package/dist/labs/DataComponents/componentTypes.js.map +0 -1
- package/dist/labs/DataComponents/constants.js.map +0 -1
- package/dist/labs/DataComponents/dataTypes.js.map +0 -1
- package/dist/labs/DataComponents/fetchData.js.map +0 -1
- package/dist/labs/DataComponents/index.js.map +0 -1
- package/dist/labs/DataComponents/tableConstants.js.map +0 -1
- package/dist/labs/DataComponents/useFilterConversion.js.map +0 -1
- package/dist/labs/SideNav.js +0 -478
- package/dist/labs/SideNav.js.map +0 -1
- package/dist/src/createShadowRootElement.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/BulkActionsMenu.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/DataStack.d.ts +0 -20
- package/dist/src/labs/DataComponents/DataStack.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/DataTable.d.ts +0 -16
- package/dist/src/labs/DataComponents/DataTable.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/DataView.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/DetailPanel.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/LayoutSwitcher.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/RowActions.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/StackCard.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/StackContent.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/TableContent.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/TableSettings.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/componentTypes.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/constants.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/dataTypes.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/fetchData.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/index.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/tableConstants.d.ts.map +0 -1
- package/dist/src/labs/DataComponents/useFilterConversion.d.ts.map +0 -1
- package/dist/src/labs/SideNav.d.ts.map +0 -1
- package/src/labs/DataComponents/DataStack.tsx +0 -105
- package/src/labs/SideNav.tsx +0 -745
- /package/dist/labs/{DataComponents → DataView}/BulkActionsMenu.js +0 -0
- /package/dist/labs/{DataComponents → DataView}/DetailPanel.js +0 -0
- /package/dist/labs/{DataComponents → DataView}/LayoutSwitcher.js +0 -0
- /package/dist/labs/{DataComponents → DataView}/RowActions.js +0 -0
- /package/dist/labs/{DataComponents → DataView}/componentTypes.js +0 -0
- /package/dist/labs/{DataComponents → DataView}/dataTypes.js +0 -0
- /package/dist/labs/{DataComponents → DataView}/fetchData.js +0 -0
- /package/dist/labs/{DataComponents → DataView}/tableConstants.js +0 -0
- /package/dist/labs/{DataComponents → DataView}/useFilterConversion.js +0 -0
- /package/dist/src/labs/{DataComponents → DataView}/BulkActionsMenu.d.ts +0 -0
- /package/dist/src/labs/{DataComponents → DataView}/LayoutSwitcher.d.ts +0 -0
- /package/dist/src/labs/{DataComponents → DataView}/RowActions.d.ts +0 -0
- /package/dist/src/labs/{DataComponents → DataView}/dataTypes.d.ts +0 -0
- /package/dist/src/labs/{DataComponents → DataView}/fetchData.d.ts +0 -0
- /package/dist/src/labs/{DataComponents → DataView}/tableConstants.d.ts +0 -0
- /package/src/labs/{DataComponents → DataView}/BulkActionsMenu.tsx +0 -0
- /package/src/labs/{DataComponents → DataView}/LayoutSwitcher.tsx +0 -0
- /package/src/labs/{DataComponents → DataView}/RowActions.tsx +0 -0
- /package/src/labs/{DataComponents → DataView}/dataTypes.ts +0 -0
- /package/src/labs/{DataComponents → DataView}/fetchData.ts +0 -0
- /package/src/labs/{DataComponents → DataView}/tableConstants.tsx +0 -0
package/dist/labs/Switch.js
CHANGED
|
@@ -27,7 +27,7 @@ import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
|
27
27
|
const {
|
|
28
28
|
CONTROLLED
|
|
29
29
|
} = ComponentControlledState;
|
|
30
|
-
const nonForwardedProps = ["isChecked", "isDisabled", "isFullWidth", "odysseyDesignTokens"];
|
|
30
|
+
const nonForwardedProps = ["isChecked", "isDisabled", "isFullWidth", "isReadOnly", "odysseyDesignTokens"];
|
|
31
31
|
const SwitchAndLabelContainer = styled("div", {
|
|
32
32
|
shouldForwardProp: prop => !nonForwardedProps.includes(prop)
|
|
33
33
|
})(({
|
|
@@ -46,18 +46,29 @@ const StyledSwitchLabel = styled(_FormLabel, {
|
|
|
46
46
|
shouldForwardProp: prop => !nonForwardedProps.includes(prop)
|
|
47
47
|
})(({
|
|
48
48
|
isDisabled,
|
|
49
|
+
isReadOnly,
|
|
49
50
|
odysseyDesignTokens
|
|
50
51
|
}) => ({
|
|
51
52
|
display: "block",
|
|
52
53
|
margin: 0,
|
|
53
|
-
color:
|
|
54
|
+
color: odysseyDesignTokens.PaletteNeutralDark,
|
|
54
55
|
...(isDisabled && {
|
|
56
|
+
color: odysseyDesignTokens.TypographyColorDisabled,
|
|
55
57
|
p: {
|
|
56
58
|
color: odysseyDesignTokens.TypographyColorDisabled
|
|
57
59
|
},
|
|
58
60
|
a: {
|
|
59
61
|
color: `${odysseyDesignTokens.TypographyColorDisabled} !important`
|
|
60
62
|
}
|
|
63
|
+
}),
|
|
64
|
+
...(isReadOnly && {
|
|
65
|
+
color: odysseyDesignTokens.HueNeutral700,
|
|
66
|
+
p: {
|
|
67
|
+
color: odysseyDesignTokens.HueNeutral700
|
|
68
|
+
},
|
|
69
|
+
a: {
|
|
70
|
+
color: `${odysseyDesignTokens.HueNeutral700} !important`
|
|
71
|
+
}
|
|
61
72
|
})
|
|
62
73
|
}));
|
|
63
74
|
const SwitchTrack = styled("div", {
|
|
@@ -65,20 +76,31 @@ const SwitchTrack = styled("div", {
|
|
|
65
76
|
})(({
|
|
66
77
|
isChecked,
|
|
67
78
|
isDisabled,
|
|
79
|
+
isReadOnly,
|
|
68
80
|
odysseyDesignTokens
|
|
69
81
|
}) => ({
|
|
70
82
|
position: "relative",
|
|
71
83
|
width: odysseyDesignTokens.Spacing7,
|
|
72
84
|
height: `calc(${odysseyDesignTokens.Spacing4} + ${odysseyDesignTokens.Spacing1})`,
|
|
73
85
|
borderRadius: odysseyDesignTokens.BorderRadiusOuter,
|
|
74
|
-
backgroundColor:
|
|
75
|
-
transition: `background-color ${odysseyDesignTokens.TransitionDurationMain}
|
|
86
|
+
backgroundColor: odysseyDesignTokens.HueNeutral300,
|
|
87
|
+
transition: `background-color ${odysseyDesignTokens.TransitionDurationMain}`,
|
|
88
|
+
...(isDisabled && {
|
|
89
|
+
backgroundColor: odysseyDesignTokens.HueNeutral200
|
|
90
|
+
}),
|
|
91
|
+
...(isReadOnly && {
|
|
92
|
+
backgroundColor: odysseyDesignTokens.HueNeutral600
|
|
93
|
+
}),
|
|
94
|
+
...(isChecked && !isDisabled && !isReadOnly && {
|
|
95
|
+
backgroundColor: odysseyDesignTokens.PaletteSuccessLight
|
|
96
|
+
})
|
|
76
97
|
}));
|
|
77
98
|
const SwitchThumb = styled("span", {
|
|
78
99
|
shouldForwardProp: prop => !nonForwardedProps.includes(prop)
|
|
79
100
|
})(({
|
|
80
101
|
isChecked,
|
|
81
102
|
isDisabled,
|
|
103
|
+
isReadOnly,
|
|
82
104
|
odysseyDesignTokens
|
|
83
105
|
}) => {
|
|
84
106
|
const thumbOffset = toRem(3);
|
|
@@ -92,9 +114,18 @@ const SwitchThumb = styled("span", {
|
|
|
92
114
|
width: `calc(${odysseyDesignTokens.Spacing4} - ${toRem(2)}rem)`,
|
|
93
115
|
height: `calc(${odysseyDesignTokens.Spacing4} - ${toRem(2)}rem)`,
|
|
94
116
|
borderRadius: odysseyDesignTokens.BorderRadiusRound,
|
|
95
|
-
backgroundColor:
|
|
96
|
-
transform:
|
|
97
|
-
transition: `transform ${odysseyDesignTokens.TransitionDurationMain}
|
|
117
|
+
backgroundColor: odysseyDesignTokens.HueNeutralWhite,
|
|
118
|
+
transform: "translate3d(0, -50%, 0)",
|
|
119
|
+
transition: `transform ${odysseyDesignTokens.TransitionDurationMain}`,
|
|
120
|
+
...(isDisabled && {
|
|
121
|
+
backgroundColor: odysseyDesignTokens.HueNeutral50
|
|
122
|
+
}),
|
|
123
|
+
...(isReadOnly && {
|
|
124
|
+
backgroundColor: odysseyDesignTokens.HueNeutral400
|
|
125
|
+
}),
|
|
126
|
+
...(isChecked && {
|
|
127
|
+
transform: `translate3d(${transformDistance}rem, -50%, 0)`
|
|
128
|
+
})
|
|
98
129
|
};
|
|
99
130
|
});
|
|
100
131
|
const SwitchCheckMark = styled(CheckIcon, {
|
|
@@ -102,6 +133,7 @@ const SwitchCheckMark = styled(CheckIcon, {
|
|
|
102
133
|
})(({
|
|
103
134
|
isChecked,
|
|
104
135
|
isDisabled,
|
|
136
|
+
isReadOnly,
|
|
105
137
|
odysseyDesignTokens
|
|
106
138
|
}) => ({
|
|
107
139
|
position: "absolute",
|
|
@@ -110,13 +142,22 @@ const SwitchCheckMark = styled(CheckIcon, {
|
|
|
110
142
|
width: odysseyDesignTokens.Spacing4,
|
|
111
143
|
transform: "translateY(-50%)",
|
|
112
144
|
transition: `opacity ${odysseyDesignTokens.TransitionDurationMain}`,
|
|
113
|
-
opacity:
|
|
145
|
+
opacity: 0,
|
|
114
146
|
path: {
|
|
115
|
-
fill:
|
|
116
|
-
}
|
|
147
|
+
fill: odysseyDesignTokens.HueNeutralWhite
|
|
148
|
+
},
|
|
149
|
+
...(isChecked && {
|
|
150
|
+
opacity: 1
|
|
151
|
+
}),
|
|
152
|
+
...((isDisabled || isReadOnly) && {
|
|
153
|
+
path: {
|
|
154
|
+
fill: odysseyDesignTokens.HueNeutral50
|
|
155
|
+
}
|
|
156
|
+
})
|
|
117
157
|
}));
|
|
118
158
|
const HiddenCheckbox = styled.input(({
|
|
119
|
-
odysseyDesignTokens
|
|
159
|
+
odysseyDesignTokens,
|
|
160
|
+
isReadOnly
|
|
120
161
|
}) => ({
|
|
121
162
|
position: "absolute",
|
|
122
163
|
top: 0,
|
|
@@ -125,7 +166,7 @@ const HiddenCheckbox = styled.input(({
|
|
|
125
166
|
height: "100%",
|
|
126
167
|
margin: 0,
|
|
127
168
|
opacity: 0,
|
|
128
|
-
cursor: "pointer",
|
|
169
|
+
cursor: isReadOnly ? "default" : "pointer",
|
|
129
170
|
zIndex: 2,
|
|
130
171
|
"&:focus-visible": {
|
|
131
172
|
"~ [data-switch-track='true']": {
|
|
@@ -139,13 +180,15 @@ const SwitchLabel = ({
|
|
|
139
180
|
HintLinkComponent,
|
|
140
181
|
inputId,
|
|
141
182
|
isDisabled,
|
|
142
|
-
label
|
|
183
|
+
label,
|
|
184
|
+
isReadOnly
|
|
143
185
|
}) => {
|
|
144
186
|
const odysseyDesignTokens = useOdysseyDesignTokens();
|
|
145
187
|
return _jsx(_Fragment, {
|
|
146
188
|
children: _jsxs(StyledSwitchLabel, {
|
|
147
189
|
htmlFor: inputId,
|
|
148
190
|
isDisabled: isDisabled,
|
|
191
|
+
isReadOnly: isReadOnly,
|
|
149
192
|
odysseyDesignTokens: odysseyDesignTokens,
|
|
150
193
|
children: [label, hint && _jsx(FieldHint, {
|
|
151
194
|
id: hintId,
|
|
@@ -165,6 +208,7 @@ const Switch = ({
|
|
|
165
208
|
isDefaultChecked,
|
|
166
209
|
isDisabled,
|
|
167
210
|
isFullWidth = false,
|
|
211
|
+
isReadOnly = false,
|
|
168
212
|
label,
|
|
169
213
|
name,
|
|
170
214
|
onChange,
|
|
@@ -199,6 +243,10 @@ const Switch = ({
|
|
|
199
243
|
const hintId = hint ? `${inputId}-hint` : undefined;
|
|
200
244
|
const labelElementId = `${inputId}-label`;
|
|
201
245
|
const handleOnChange = useCallback(event => {
|
|
246
|
+
if (isReadOnly) {
|
|
247
|
+
event.preventDefault();
|
|
248
|
+
return;
|
|
249
|
+
}
|
|
202
250
|
const target = event.target;
|
|
203
251
|
const {
|
|
204
252
|
checked,
|
|
@@ -209,7 +257,7 @@ const Switch = ({
|
|
|
209
257
|
checked,
|
|
210
258
|
value
|
|
211
259
|
});
|
|
212
|
-
}, [onChange, setInternalSwitchChecked]);
|
|
260
|
+
}, [onChange, setInternalSwitchChecked, isReadOnly]);
|
|
213
261
|
return _jsx(Box, {
|
|
214
262
|
sx: {
|
|
215
263
|
marginBlockEnd: odysseyDesignTokens.Spacing2,
|
|
@@ -227,7 +275,8 @@ const Switch = ({
|
|
|
227
275
|
inputId: inputId,
|
|
228
276
|
isDisabled: isDisabled,
|
|
229
277
|
isFullWidth: isFullWidth,
|
|
230
|
-
label: label
|
|
278
|
+
label: label,
|
|
279
|
+
isReadOnly: isReadOnly
|
|
231
280
|
}), _jsxs(SwitchContainer, {
|
|
232
281
|
children: [_jsx(HiddenCheckbox, {
|
|
233
282
|
...inputValues,
|
|
@@ -242,19 +291,24 @@ const Switch = ({
|
|
|
242
291
|
onChange: handleOnChange,
|
|
243
292
|
odysseyDesignTokens: odysseyDesignTokens,
|
|
244
293
|
type: "checkbox",
|
|
245
|
-
value: value
|
|
294
|
+
value: value,
|
|
295
|
+
readOnly: isReadOnly,
|
|
296
|
+
isReadOnly: isReadOnly
|
|
246
297
|
}), _jsxs(SwitchTrack, {
|
|
247
298
|
"data-switch-track": true,
|
|
248
299
|
isChecked: internalSwitchChecked,
|
|
249
300
|
isDisabled: isDisabled,
|
|
301
|
+
isReadOnly: isReadOnly,
|
|
250
302
|
odysseyDesignTokens: odysseyDesignTokens,
|
|
251
303
|
children: [_jsx(SwitchThumb, {
|
|
252
304
|
isChecked: internalSwitchChecked,
|
|
253
305
|
isDisabled: isDisabled,
|
|
306
|
+
isReadOnly: isReadOnly,
|
|
254
307
|
odysseyDesignTokens: odysseyDesignTokens
|
|
255
308
|
}), _jsx(SwitchCheckMark, {
|
|
256
309
|
isChecked: internalSwitchChecked,
|
|
257
310
|
isDisabled: isDisabled,
|
|
311
|
+
isReadOnly: isReadOnly,
|
|
258
312
|
odysseyDesignTokens: odysseyDesignTokens
|
|
259
313
|
})]
|
|
260
314
|
})]
|
package/dist/labs/Switch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.js","names":["memo","useCallback","useEffect","useMemo","useRef","useState","useTranslation","styled","Box","FieldHint","CheckIcon","ComponentControlledState","getControlState","useOdysseyDesignTokens","stripRem","toRem","useUniqueId","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","CONTROLLED","nonForwardedProps","SwitchAndLabelContainer","shouldForwardProp","prop","includes","isFullWidth","odysseyDesignTokens","display","alignItems","justifyContent","maxWidth","TypographyLineLengthMax","SwitchContainer","div","position","StyledSwitchLabel","_FormLabel","isDisabled","margin","color","TypographyColorDisabled","PaletteNeutralDark","p","a","SwitchTrack","isChecked","width","Spacing7","height","Spacing4","Spacing1","borderRadius","BorderRadiusOuter","backgroundColor","HueNeutral200","PaletteSuccessLight","HueNeutral300","transition","TransitionDurationMain","SwitchThumb","thumbOffset","trackWidth","thumbWidth","transformDistance","top","left","BorderRadiusRound","HueNeutral50","HueNeutralWhite","transform","SwitchCheckMark","opacity","path","fill","HiddenCheckbox","input","cursor","zIndex","boxShadow","PalettePrimaryMain","SwitchLabel","hint","hintId","HintLinkComponent","inputId","label","children","htmlFor","id","text","LinkComponent","MemoizedSwitchLabel","displayName","Switch","idProp","isDefaultChecked","name","onChange","testId","value","t","controlledStateRef","controlledValue","uncontrolledValue","inputValues","current","checked","defaultChecked","internalSwitchChecked","setInternalSwitchChecked","Boolean","undefined","labelElementId","handleOnChange","event","target","sx","marginBlockEnd","Spacing2","disabled","type","MemoizedSwitch"],"sources":["../../src/labs/Switch.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport {\n ChangeEventHandler,\n memo,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport { SwitchProps as MuiSwitchProps, FormLabel } from \"@mui/material\";\nimport { useTranslation } from \"react-i18next\";\nimport styled from \"@emotion/styled\";\n\nimport { Box } from \"../Box\";\nimport { FieldComponentProps } from \"../FieldComponentProps\";\nimport { FieldHint } from \"../FieldHint\";\nimport { CheckedFieldProps } from \"../FormCheckedProps\";\nimport type { HtmlProps } from \"../HtmlProps\";\nimport { CheckIcon } from \"../icons.generated\";\nimport { ComponentControlledState, getControlState } from \"../inputUtils\";\nimport {\n DesignTokens,\n useOdysseyDesignTokens,\n} from \"../OdysseyDesignTokensContext\";\nimport { stripRem, toRem } from \"../remUtils\";\nimport { useUniqueId } from \"../useUniqueId\";\n\nconst { CONTROLLED } = ComponentControlledState;\n\nconst nonForwardedProps = [\n \"isChecked\",\n \"isDisabled\",\n \"isFullWidth\",\n \"odysseyDesignTokens\",\n];\n\nconst SwitchAndLabelContainer = styled(\"div\", {\n shouldForwardProp: (prop) => !nonForwardedProps.includes(prop),\n})<\n Pick<SwitchProps, \"isFullWidth\" | \"isDisabled\"> & {\n odysseyDesignTokens: DesignTokens;\n }\n>(({ isFullWidth, odysseyDesignTokens }) => ({\n display: \"flex\",\n alignItems: \"flex-start\",\n justifyContent: \"space-between\",\n maxWidth: isFullWidth ? \"100%\" : odysseyDesignTokens.TypographyLineLengthMax,\n}));\n\nconst SwitchContainer = styled.div({\n position: \"relative\",\n});\n\nconst StyledSwitchLabel = styled(FormLabel, {\n shouldForwardProp: (prop) => !nonForwardedProps.includes(prop),\n})<\n Pick<SwitchLabelComponentProps, \"isDisabled\"> & {\n odysseyDesignTokens: DesignTokens;\n }\n>(({ isDisabled, odysseyDesignTokens }) => ({\n display: \"block\",\n margin: 0,\n color: isDisabled\n ? odysseyDesignTokens.TypographyColorDisabled\n : odysseyDesignTokens.PaletteNeutralDark,\n\n ...(isDisabled && {\n p: {\n color: odysseyDesignTokens.TypographyColorDisabled,\n },\n a: {\n color: `${odysseyDesignTokens.TypographyColorDisabled} !important`,\n },\n }),\n}));\n\nconst SwitchTrack = styled(\"div\", {\n shouldForwardProp: (prop) => !nonForwardedProps.includes(prop),\n})<\n Pick<SwitchProps, \"isChecked\" | \"isDisabled\"> & {\n odysseyDesignTokens: DesignTokens;\n }\n>(({ isChecked, isDisabled, odysseyDesignTokens }) => ({\n position: \"relative\",\n width: odysseyDesignTokens.Spacing7,\n height: `calc(${odysseyDesignTokens.Spacing4} + ${odysseyDesignTokens.Spacing1})`,\n borderRadius: odysseyDesignTokens.BorderRadiusOuter,\n backgroundColor: isDisabled\n ? odysseyDesignTokens.HueNeutral200\n : isChecked\n ? odysseyDesignTokens.PaletteSuccessLight\n : odysseyDesignTokens.HueNeutral300,\n transition: `background-color ${odysseyDesignTokens.TransitionDurationMain}`,\n}));\n\nconst SwitchThumb = styled(\"span\", {\n shouldForwardProp: (prop) => !nonForwardedProps.includes(prop),\n})<\n Pick<SwitchProps, \"isChecked\" | \"isDisabled\"> & {\n odysseyDesignTokens: DesignTokens;\n }\n>(({ isChecked, isDisabled, odysseyDesignTokens }) => {\n const thumbOffset = toRem(3);\n const trackWidth = stripRem(odysseyDesignTokens.Spacing7);\n const thumbWidth = stripRem(odysseyDesignTokens.Spacing4) - toRem(2);\n\n const transformDistance = trackWidth - thumbWidth - thumbOffset * 2;\n\n return {\n position: \"absolute\",\n top: \"50%\",\n left: `${thumbOffset}rem`,\n width: `calc(${odysseyDesignTokens.Spacing4} - ${toRem(2)}rem)`,\n height: `calc(${odysseyDesignTokens.Spacing4} - ${toRem(2)}rem)`,\n borderRadius: odysseyDesignTokens.BorderRadiusRound,\n backgroundColor: isDisabled\n ? odysseyDesignTokens.HueNeutral50\n : odysseyDesignTokens.HueNeutralWhite,\n transform: isChecked\n ? `translate3d(${transformDistance}rem, -50%, 0)`\n : \"translate3d(0, -50%, 0)\",\n transition: `transform ${odysseyDesignTokens.TransitionDurationMain}`,\n };\n});\n\nconst SwitchCheckMark = styled(CheckIcon, {\n shouldForwardProp: (prop) => !nonForwardedProps.includes(prop),\n})<\n Pick<SwitchProps, \"isChecked\" | \"isDisabled\"> & {\n odysseyDesignTokens: DesignTokens;\n }\n>(({ isChecked, isDisabled, odysseyDesignTokens }) => ({\n position: \"absolute\",\n top: \"50%\",\n left: 3,\n width: odysseyDesignTokens.Spacing4,\n transform: \"translateY(-50%)\",\n transition: `opacity ${odysseyDesignTokens.TransitionDurationMain}`,\n opacity: isChecked ? 1 : 0,\n path: {\n fill: isDisabled\n ? odysseyDesignTokens.HueNeutral50\n : odysseyDesignTokens.HueNeutralWhite,\n },\n}));\n\nconst HiddenCheckbox = styled.input<{\n odysseyDesignTokens: DesignTokens;\n}>(({ odysseyDesignTokens }) => ({\n position: \"absolute\",\n top: 0,\n left: 0,\n width: \"100%\",\n height: \"100%\",\n margin: 0,\n opacity: 0,\n cursor: \"pointer\",\n zIndex: 2,\n\n \"&:focus-visible\": {\n \"~ [data-switch-track='true']\": {\n boxShadow: `0 0 0 2px ${odysseyDesignTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyDesignTokens.PalettePrimaryMain}`,\n },\n },\n}));\n\ntype OnChangeCallbackArguments = {\n checked: boolean;\n value: string;\n};\n\nexport type SwitchProps = {\n /**\n * The label text for the Switch\n */\n label: string;\n /**\n * The change event handler for the Switch\n */\n onChange?: ({ checked, value }: OnChangeCallbackArguments) => void;\n /**\n * The value attribute of the Switch\n */\n value: string;\n} & Pick<\n FieldComponentProps,\n \"hint\" | \"HintLinkComponent\" | \"id\" | \"isFullWidth\" | \"isDisabled\" | \"name\"\n> &\n Pick<CheckedFieldProps<MuiSwitchProps>, \"isChecked\" | \"isDefaultChecked\"> &\n Pick<HtmlProps, \"testId\">;\n\ntype SwitchLabelComponentProps = {\n hint: SwitchProps[\"hint\"];\n hintId?: string;\n HintLinkComponent: SwitchProps[\"HintLinkComponent\"];\n inputId: string;\n isDisabled: SwitchProps[\"isDisabled\"];\n isFullWidth: SwitchProps[\"isFullWidth\"];\n label: SwitchProps[\"label\"];\n};\n\nconst SwitchLabel = ({\n hint,\n hintId,\n HintLinkComponent,\n inputId,\n isDisabled,\n label,\n}: SwitchLabelComponentProps) => {\n const odysseyDesignTokens = useOdysseyDesignTokens();\n\n return (\n <>\n <StyledSwitchLabel\n htmlFor={inputId}\n isDisabled={isDisabled}\n odysseyDesignTokens={odysseyDesignTokens}\n >\n {label}\n {hint && (\n <FieldHint\n id={hintId}\n text={hint}\n LinkComponent={HintLinkComponent}\n />\n )}\n </StyledSwitchLabel>\n </>\n );\n};\n\nconst MemoizedSwitchLabel = memo(SwitchLabel);\nSwitchLabel.displayName = \"SwitchLabel\";\n\nconst Switch = ({\n hint,\n HintLinkComponent,\n id: idProp,\n isChecked,\n isDefaultChecked,\n isDisabled,\n isFullWidth = false,\n label,\n name,\n onChange,\n testId,\n value,\n}: SwitchProps) => {\n const { t } = useTranslation();\n const odysseyDesignTokens = useOdysseyDesignTokens();\n const controlledStateRef = useRef(\n getControlState({\n controlledValue: isChecked,\n uncontrolledValue: isDefaultChecked,\n }),\n );\n const inputValues = useMemo(() => {\n if (controlledStateRef.current === CONTROLLED) {\n return { checked: isChecked };\n }\n return { defaultChecked: isDefaultChecked };\n }, [isDefaultChecked, isChecked]);\n\n const [internalSwitchChecked, setInternalSwitchChecked] = useState(\n controlledStateRef.current === CONTROLLED\n ? Boolean(isChecked)\n : Boolean(isDefaultChecked),\n );\n\n useEffect(() => {\n if (controlledStateRef.current === CONTROLLED) {\n setInternalSwitchChecked(Boolean(isChecked));\n }\n }, [isChecked]);\n\n const inputId = useUniqueId(idProp);\n\n const hintId = hint ? `${inputId}-hint` : undefined;\n const labelElementId = `${inputId}-label`;\n\n const handleOnChange = useCallback<ChangeEventHandler<HTMLInputElement>>(\n (event) => {\n const target = event.target;\n const { checked, value } = target;\n setInternalSwitchChecked(checked);\n onChange?.({ checked, value });\n },\n [onChange, setInternalSwitchChecked],\n );\n\n return (\n <Box\n sx={{\n marginBlockEnd: odysseyDesignTokens.Spacing2,\n \"&:last-child\": {\n marginBlockEnd: 0,\n },\n }}\n >\n <SwitchAndLabelContainer\n isFullWidth={isFullWidth}\n odysseyDesignTokens={odysseyDesignTokens}\n >\n <MemoizedSwitchLabel\n hint={hint}\n hintId={hintId}\n HintLinkComponent={HintLinkComponent}\n inputId={inputId}\n isDisabled={isDisabled}\n isFullWidth={isFullWidth}\n label={label}\n />\n <SwitchContainer>\n <HiddenCheckbox\n {...inputValues}\n aria-checked={internalSwitchChecked}\n aria-describedby={hintId}\n aria-label={\n internalSwitchChecked\n ? `${label}: ${t(\"switch.active\")}`\n : `${label}: ${t(\"switch.inactive\")}`\n }\n aria-labelledby={labelElementId}\n data-se={testId}\n disabled={isDisabled}\n id={inputId}\n name={name ?? inputId}\n onChange={handleOnChange}\n odysseyDesignTokens={odysseyDesignTokens}\n type=\"checkbox\"\n value={value}\n />\n <SwitchTrack\n data-switch-track\n isChecked={internalSwitchChecked}\n isDisabled={isDisabled}\n odysseyDesignTokens={odysseyDesignTokens}\n >\n <SwitchThumb\n isChecked={internalSwitchChecked}\n isDisabled={isDisabled}\n odysseyDesignTokens={odysseyDesignTokens}\n />\n <SwitchCheckMark\n isChecked={internalSwitchChecked}\n isDisabled={isDisabled}\n odysseyDesignTokens={odysseyDesignTokens}\n />\n </SwitchTrack>\n </SwitchContainer>\n </SwitchAndLabelContainer>\n </Box>\n );\n};\n\nconst MemoizedSwitch = memo(Switch);\nMemoizedSwitch.displayName = \"Switch\";\n\nexport { MemoizedSwitch as Switch };\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAEEA,IAAI,EACJC,WAAW,EACXC,SAAS,EACTC,OAAO,EACPC,MAAM,EACNC,QAAQ,QACH,OAAO;AAEd,SAASC,cAAc,QAAQ,eAAe;AAC9C,OAAOC,MAAM,MAAM,iBAAiB;AAAC,SAE5BC,GAAG;AAAA,SAEHC,SAAS;AAAA,SAGTC,SAAS;AAAA,SACTC,wBAAwB,EAAEC,eAAe;AAAA,SAGhDC,sBAAsB;AAAA,SAEfC,QAAQ,EAAEC,KAAK;AAAA,SACfC,WAAW;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAAA,SAAAC,IAAA,IAAAC,KAAA;AAAA,SAAAC,QAAA,IAAAC,SAAA;AAEpB,MAAM;EAAEC;AAAW,CAAC,GAAGZ,wBAAwB;AAE/C,MAAMa,iBAAiB,GAAG,CACxB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,qBAAqB,CACtB;AAED,MAAMC,uBAAuB,GAAGlB,MAAM,CAAC,KAAK,EAAE;EAC5CmB,iBAAiB,EAAGC,IAAI,IAAK,CAACH,iBAAiB,CAACI,QAAQ,CAACD,IAAI;AAC/D,CAAC,CAAC,CAIA,CAAC;EAAEE,WAAW;EAAEC;AAAoB,CAAC,MAA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cAAc,CAAC7B,WAAW,GAAG,QAAQ;AAErC,SAAS6B,cAAc,IAAI5B,MAAM"}
|
|
1
|
+
{"version":3,"file":"Switch.js","names":["memo","useCallback","useEffect","useMemo","useRef","useState","useTranslation","styled","Box","FieldHint","CheckIcon","ComponentControlledState","getControlState","useOdysseyDesignTokens","stripRem","toRem","useUniqueId","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","CONTROLLED","nonForwardedProps","SwitchAndLabelContainer","shouldForwardProp","prop","includes","isFullWidth","odysseyDesignTokens","display","alignItems","justifyContent","maxWidth","TypographyLineLengthMax","SwitchContainer","div","position","StyledSwitchLabel","_FormLabel","isDisabled","isReadOnly","margin","color","PaletteNeutralDark","TypographyColorDisabled","p","a","HueNeutral700","SwitchTrack","isChecked","width","Spacing7","height","Spacing4","Spacing1","borderRadius","BorderRadiusOuter","backgroundColor","HueNeutral300","transition","TransitionDurationMain","HueNeutral200","HueNeutral600","PaletteSuccessLight","SwitchThumb","thumbOffset","trackWidth","thumbWidth","transformDistance","top","left","BorderRadiusRound","HueNeutralWhite","transform","HueNeutral50","HueNeutral400","SwitchCheckMark","opacity","path","fill","HiddenCheckbox","input","cursor","zIndex","boxShadow","PalettePrimaryMain","SwitchLabel","hint","hintId","HintLinkComponent","inputId","label","children","htmlFor","id","text","LinkComponent","MemoizedSwitchLabel","displayName","Switch","idProp","isDefaultChecked","name","onChange","testId","value","t","controlledStateRef","controlledValue","uncontrolledValue","inputValues","current","checked","defaultChecked","internalSwitchChecked","setInternalSwitchChecked","Boolean","undefined","labelElementId","handleOnChange","event","preventDefault","target","sx","marginBlockEnd","Spacing2","disabled","type","readOnly","MemoizedSwitch"],"sources":["../../src/labs/Switch.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport {\n ChangeEventHandler,\n memo,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport { SwitchProps as MuiSwitchProps, FormLabel } from \"@mui/material\";\nimport { useTranslation } from \"react-i18next\";\nimport styled from \"@emotion/styled\";\n\nimport { Box } from \"../Box\";\nimport { FieldComponentProps } from \"../FieldComponentProps\";\nimport { FieldHint } from \"../FieldHint\";\nimport { CheckedFieldProps } from \"../FormCheckedProps\";\nimport type { HtmlProps } from \"../HtmlProps\";\nimport { CheckIcon } from \"../icons.generated\";\nimport { ComponentControlledState, getControlState } from \"../inputUtils\";\nimport {\n DesignTokens,\n useOdysseyDesignTokens,\n} from \"../OdysseyDesignTokensContext\";\nimport { stripRem, toRem } from \"../remUtils\";\nimport { useUniqueId } from \"../useUniqueId\";\n\nconst { CONTROLLED } = ComponentControlledState;\n\nconst nonForwardedProps = [\n \"isChecked\",\n \"isDisabled\",\n \"isFullWidth\",\n \"isReadOnly\",\n \"odysseyDesignTokens\",\n];\n\nconst SwitchAndLabelContainer = styled(\"div\", {\n shouldForwardProp: (prop) => !nonForwardedProps.includes(prop),\n})<\n Pick<SwitchProps, \"isFullWidth\" | \"isDisabled\" | \"isReadOnly\"> & {\n odysseyDesignTokens: DesignTokens;\n }\n>(({ isFullWidth, odysseyDesignTokens }) => ({\n display: \"flex\",\n alignItems: \"flex-start\",\n justifyContent: \"space-between\",\n maxWidth: isFullWidth ? \"100%\" : odysseyDesignTokens.TypographyLineLengthMax,\n}));\n\nconst SwitchContainer = styled.div({\n position: \"relative\",\n});\n\nconst StyledSwitchLabel = styled(FormLabel, {\n shouldForwardProp: (prop) => !nonForwardedProps.includes(prop),\n})<\n Pick<SwitchLabelComponentProps, \"isDisabled\" | \"isReadOnly\"> & {\n odysseyDesignTokens: DesignTokens;\n }\n>(({ isDisabled, isReadOnly, odysseyDesignTokens }) => ({\n display: \"block\",\n margin: 0,\n color: odysseyDesignTokens.PaletteNeutralDark,\n\n ...(isDisabled && {\n color: odysseyDesignTokens.TypographyColorDisabled,\n p: {\n color: odysseyDesignTokens.TypographyColorDisabled,\n },\n a: {\n color: `${odysseyDesignTokens.TypographyColorDisabled} !important`,\n },\n }),\n\n ...(isReadOnly && {\n color: odysseyDesignTokens.HueNeutral700,\n p: {\n color: odysseyDesignTokens.HueNeutral700,\n },\n a: {\n color: `${odysseyDesignTokens.HueNeutral700} !important`,\n },\n }),\n}));\n\nconst SwitchTrack = styled(\"div\", {\n shouldForwardProp: (prop) => !nonForwardedProps.includes(prop),\n})<\n Pick<SwitchProps, \"isChecked\" | \"isDisabled\" | \"isReadOnly\"> & {\n odysseyDesignTokens: DesignTokens;\n }\n>(({ isChecked, isDisabled, isReadOnly, odysseyDesignTokens }) => ({\n position: \"relative\",\n width: odysseyDesignTokens.Spacing7,\n height: `calc(${odysseyDesignTokens.Spacing4} + ${odysseyDesignTokens.Spacing1})`,\n borderRadius: odysseyDesignTokens.BorderRadiusOuter,\n backgroundColor: odysseyDesignTokens.HueNeutral300,\n transition: `background-color ${odysseyDesignTokens.TransitionDurationMain}`,\n\n ...(isDisabled && {\n backgroundColor: odysseyDesignTokens.HueNeutral200,\n }),\n\n ...(isReadOnly && {\n backgroundColor: odysseyDesignTokens.HueNeutral600,\n }),\n\n ...(isChecked &&\n !isDisabled &&\n !isReadOnly && {\n backgroundColor: odysseyDesignTokens.PaletteSuccessLight,\n }),\n}));\n\nconst SwitchThumb = styled(\"span\", {\n shouldForwardProp: (prop) => !nonForwardedProps.includes(prop),\n})<\n Pick<SwitchProps, \"isChecked\" | \"isDisabled\" | \"isReadOnly\"> & {\n odysseyDesignTokens: DesignTokens;\n }\n>(({ isChecked, isDisabled, isReadOnly, odysseyDesignTokens }) => {\n const thumbOffset = toRem(3);\n const trackWidth = stripRem(odysseyDesignTokens.Spacing7);\n const thumbWidth = stripRem(odysseyDesignTokens.Spacing4) - toRem(2);\n const transformDistance = trackWidth - thumbWidth - thumbOffset * 2;\n\n return {\n position: \"absolute\",\n top: \"50%\",\n left: `${thumbOffset}rem`,\n width: `calc(${odysseyDesignTokens.Spacing4} - ${toRem(2)}rem)`,\n height: `calc(${odysseyDesignTokens.Spacing4} - ${toRem(2)}rem)`,\n borderRadius: odysseyDesignTokens.BorderRadiusRound,\n backgroundColor: odysseyDesignTokens.HueNeutralWhite,\n transform: \"translate3d(0, -50%, 0)\",\n transition: `transform ${odysseyDesignTokens.TransitionDurationMain}`,\n\n ...(isDisabled && {\n backgroundColor: odysseyDesignTokens.HueNeutral50,\n }),\n\n ...(isReadOnly && {\n backgroundColor: odysseyDesignTokens.HueNeutral400,\n }),\n\n ...(isChecked && {\n transform: `translate3d(${transformDistance}rem, -50%, 0)`,\n }),\n };\n});\n\nconst SwitchCheckMark = styled(CheckIcon, {\n shouldForwardProp: (prop) => !nonForwardedProps.includes(prop),\n})<\n Pick<SwitchProps, \"isChecked\" | \"isDisabled\" | \"isReadOnly\"> & {\n odysseyDesignTokens: DesignTokens;\n }\n>(({ isChecked, isDisabled, isReadOnly, odysseyDesignTokens }) => ({\n position: \"absolute\",\n top: \"50%\",\n left: 3,\n width: odysseyDesignTokens.Spacing4,\n transform: \"translateY(-50%)\",\n transition: `opacity ${odysseyDesignTokens.TransitionDurationMain}`,\n opacity: 0,\n path: {\n fill: odysseyDesignTokens.HueNeutralWhite,\n },\n\n ...(isChecked && {\n opacity: 1,\n }),\n\n ...((isDisabled || isReadOnly) && {\n path: {\n fill: odysseyDesignTokens.HueNeutral50,\n },\n }),\n}));\n\nconst HiddenCheckbox = styled.input<{\n odysseyDesignTokens: DesignTokens;\n isReadOnly?: boolean;\n}>(({ odysseyDesignTokens, isReadOnly }) => ({\n position: \"absolute\",\n top: 0,\n left: 0,\n width: \"100%\",\n height: \"100%\",\n margin: 0,\n opacity: 0,\n cursor: isReadOnly ? \"default\" : \"pointer\",\n zIndex: 2,\n\n \"&:focus-visible\": {\n \"~ [data-switch-track='true']\": {\n boxShadow: `0 0 0 2px ${odysseyDesignTokens.HueNeutralWhite}, 0 0 0 4px ${odysseyDesignTokens.PalettePrimaryMain}`,\n },\n },\n}));\n\ntype OnChangeCallbackArguments = {\n checked: boolean;\n value: string;\n};\n\nexport type SwitchProps = {\n /**\n * The label text for the Switch\n */\n label: string;\n /**\n * The change event handler for the Switch\n */\n onChange?: ({ checked, value }: OnChangeCallbackArguments) => void;\n /**\n * The value attribute of the Switch\n */\n value: string;\n /**\n * Determines whether the Switch is read-only\n */\n isReadOnly?: boolean;\n} & Pick<\n FieldComponentProps,\n \"hint\" | \"HintLinkComponent\" | \"id\" | \"isFullWidth\" | \"isDisabled\" | \"name\"\n> &\n Pick<CheckedFieldProps<MuiSwitchProps>, \"isChecked\" | \"isDefaultChecked\"> &\n Pick<HtmlProps, \"testId\">;\n\ntype SwitchLabelComponentProps = {\n hint: SwitchProps[\"hint\"];\n hintId?: string;\n HintLinkComponent: SwitchProps[\"HintLinkComponent\"];\n inputId: string;\n isDisabled: SwitchProps[\"isDisabled\"];\n isFullWidth: SwitchProps[\"isFullWidth\"];\n label: SwitchProps[\"label\"];\n isReadOnly: SwitchProps[\"isReadOnly\"];\n};\n\nconst SwitchLabel = ({\n hint,\n hintId,\n HintLinkComponent,\n inputId,\n isDisabled,\n label,\n isReadOnly,\n}: SwitchLabelComponentProps) => {\n const odysseyDesignTokens = useOdysseyDesignTokens();\n\n return (\n <>\n <StyledSwitchLabel\n htmlFor={inputId}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n odysseyDesignTokens={odysseyDesignTokens}\n >\n {label}\n {hint && (\n <FieldHint\n id={hintId}\n text={hint}\n LinkComponent={HintLinkComponent}\n />\n )}\n </StyledSwitchLabel>\n </>\n );\n};\n\nconst MemoizedSwitchLabel = memo(SwitchLabel);\nSwitchLabel.displayName = \"SwitchLabel\";\n\nconst Switch = ({\n hint,\n HintLinkComponent,\n id: idProp,\n isChecked,\n isDefaultChecked,\n isDisabled,\n isFullWidth = false,\n isReadOnly = false,\n label,\n name,\n onChange,\n testId,\n value,\n}: SwitchProps) => {\n const { t } = useTranslation();\n const odysseyDesignTokens = useOdysseyDesignTokens();\n const controlledStateRef = useRef(\n getControlState({\n controlledValue: isChecked,\n uncontrolledValue: isDefaultChecked,\n }),\n );\n const inputValues = useMemo(() => {\n if (controlledStateRef.current === CONTROLLED) {\n return { checked: isChecked };\n }\n return { defaultChecked: isDefaultChecked };\n }, [isDefaultChecked, isChecked]);\n\n const [internalSwitchChecked, setInternalSwitchChecked] = useState(\n controlledStateRef.current === CONTROLLED\n ? Boolean(isChecked)\n : Boolean(isDefaultChecked),\n );\n\n useEffect(() => {\n if (controlledStateRef.current === CONTROLLED) {\n setInternalSwitchChecked(Boolean(isChecked));\n }\n }, [isChecked]);\n\n const inputId = useUniqueId(idProp);\n\n const hintId = hint ? `${inputId}-hint` : undefined;\n const labelElementId = `${inputId}-label`;\n\n const handleOnChange = useCallback<ChangeEventHandler<HTMLInputElement>>(\n (event) => {\n if (isReadOnly) {\n event.preventDefault();\n return;\n }\n const target = event.target;\n const { checked, value } = target;\n setInternalSwitchChecked(checked);\n onChange?.({ checked, value });\n },\n [onChange, setInternalSwitchChecked, isReadOnly],\n );\n\n return (\n <Box\n sx={{\n marginBlockEnd: odysseyDesignTokens.Spacing2,\n \"&:last-child\": {\n marginBlockEnd: 0,\n },\n }}\n >\n <SwitchAndLabelContainer\n isFullWidth={isFullWidth}\n odysseyDesignTokens={odysseyDesignTokens}\n >\n <MemoizedSwitchLabel\n hint={hint}\n hintId={hintId}\n HintLinkComponent={HintLinkComponent}\n inputId={inputId}\n isDisabled={isDisabled}\n isFullWidth={isFullWidth}\n label={label}\n isReadOnly={isReadOnly}\n />\n <SwitchContainer>\n <HiddenCheckbox\n {...inputValues}\n aria-checked={internalSwitchChecked}\n aria-describedby={hintId}\n aria-label={\n internalSwitchChecked\n ? `${label}: ${t(\"switch.active\")}`\n : `${label}: ${t(\"switch.inactive\")}`\n }\n aria-labelledby={labelElementId}\n data-se={testId}\n disabled={isDisabled}\n id={inputId}\n name={name ?? inputId}\n onChange={handleOnChange}\n odysseyDesignTokens={odysseyDesignTokens}\n type=\"checkbox\"\n value={value}\n readOnly={isReadOnly}\n isReadOnly={isReadOnly}\n />\n <SwitchTrack\n data-switch-track\n isChecked={internalSwitchChecked}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n odysseyDesignTokens={odysseyDesignTokens}\n >\n <SwitchThumb\n isChecked={internalSwitchChecked}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n odysseyDesignTokens={odysseyDesignTokens}\n />\n <SwitchCheckMark\n isChecked={internalSwitchChecked}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n odysseyDesignTokens={odysseyDesignTokens}\n />\n </SwitchTrack>\n </SwitchContainer>\n </SwitchAndLabelContainer>\n </Box>\n );\n};\n\nconst MemoizedSwitch = memo(Switch);\nMemoizedSwitch.displayName = \"Switch\";\n\nexport { MemoizedSwitch as Switch };\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAEEA,IAAI,EACJC,WAAW,EACXC,SAAS,EACTC,OAAO,EACPC,MAAM,EACNC,QAAQ,QACH,OAAO;AAEd,SAASC,cAAc,QAAQ,eAAe;AAC9C,OAAOC,MAAM,MAAM,iBAAiB;AAAC,SAE5BC,GAAG;AAAA,SAEHC,SAAS;AAAA,SAGTC,SAAS;AAAA,SACTC,wBAAwB,EAAEC,eAAe;AAAA,SAGhDC,sBAAsB;AAAA,SAEfC,QAAQ,EAAEC,KAAK;AAAA,SACfC,WAAW;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAAA,SAAAC,IAAA,IAAAC,KAAA;AAAA,SAAAC,QAAA,IAAAC,SAAA;AAEpB,MAAM;EAAEC;AAAW,CA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UAAU,EAAEA,UAAW;YACvBZ,mBAAmB,EAAEA;UAAoB,CAC1C,CAAC;QAAA,CACS,CAAC;MAAA,CACC,CAAC;IAAA,CACK;EAAC,CACvB,CAAC;AAEV,CAAC;AAED,MAAMqG,cAAc,GAAGnI,IAAI,CAACqG,MAAM,CAAC;AACnC8B,cAAc,CAAC/B,WAAW,GAAG,QAAQ;AAErC,SAAS+B,cAAc,IAAI9B,MAAM"}
|
package/dist/labs/index.js
CHANGED
|
@@ -12,9 +12,10 @@
|
|
|
12
12
|
|
|
13
13
|
export { AdapterDateFns } from "@mui/x-date-pickers/AdapterDateFns";
|
|
14
14
|
export { LocalizationProvider } from "@mui/x-date-pickers";
|
|
15
|
+
export * from "./AppTile.js";
|
|
15
16
|
export * from "./DatePicker.js";
|
|
16
17
|
export * from "./datePickerTheme.js";
|
|
17
|
-
export * from "./
|
|
18
|
+
export * from "./DataView/index.js";
|
|
18
19
|
export * from "./DataTablePagination.js";
|
|
19
20
|
export * from "./DataFilters.js";
|
|
20
21
|
export * from "./FileUpload.js";
|
|
@@ -26,6 +27,6 @@ export * from "./PaginatedTable.js";
|
|
|
26
27
|
export * from "./GroupPicker.js";
|
|
27
28
|
export * from "./Switch.js";
|
|
28
29
|
export * from "./NavAccordion.js";
|
|
29
|
-
export * from "./SideNav.js";
|
|
30
|
+
export * from "./SideNav/index.js";
|
|
30
31
|
export * from "./TopNav.js";
|
|
31
32
|
//# sourceMappingURL=index.js.map
|
package/dist/labs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["AdapterDateFns","LocalizationProvider"],"sources":["../../src/labs/index.ts"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nexport { AdapterDateFns } from \"@mui/x-date-pickers/AdapterDateFns\";\nexport { LocalizationProvider } from \"@mui/x-date-pickers\";\nexport type { LocalizationProviderProps } from \"@mui/x-date-pickers\";\n\nexport * from \"./DatePicker\";\nexport * from \"./datePickerTheme\";\n\nexport * from \"./
|
|
1
|
+
{"version":3,"file":"index.js","names":["AdapterDateFns","LocalizationProvider"],"sources":["../../src/labs/index.ts"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nexport { AdapterDateFns } from \"@mui/x-date-pickers/AdapterDateFns\";\nexport { LocalizationProvider } from \"@mui/x-date-pickers\";\nexport type { LocalizationProviderProps } from \"@mui/x-date-pickers\";\n\nexport * from \"./AppTile\";\n\nexport * from \"./DatePicker\";\nexport * from \"./datePickerTheme\";\n\nexport * from \"./DataView\";\n\n/** @deprecated Will be removed in a future Odyssey version in lieu of the one shipping with DataTable */\nexport * from \"./DataTablePagination\";\nexport * from \"./DataFilters\";\nexport * from \"./FileUpload\";\nexport * from \"./Layout\";\nexport * from \"./materialReactTableTypes\";\n/** @deprecated Will be removed in a future Odyssey version in lieu of DataTable */\nexport * from \"./StaticTable\";\nexport * from \"./PageTemplate\";\n/** @deprecated Will be removed in a future Odyssey version in lieu of DataTable */\nexport * from \"./PaginatedTable\";\n\nexport * from \"./GroupPicker\";\n\nexport * from \"./Switch\";\n\nexport * from \"./NavAccordion\";\nexport * from \"./SideNav\";\nexport * from \"./TopNav\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,cAAc,QAAQ,oCAAoC;AACnE,SAASC,oBAAoB,QAAQ,qBAAqB;AAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA"}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
export const translation = {
|
|
2
2
|
"breadcrumbs.home.text": "Domovská stránka",
|
|
3
3
|
"breadcrumbs.label.text": "Drobečková navigace",
|
|
4
|
-
"close.text": "
|
|
4
|
+
"close.text": "Zavřít",
|
|
5
5
|
"clear.text": "Vymazat",
|
|
6
|
+
"open.text": "Otevřít",
|
|
6
7
|
"picker.calendar.navigation.nextmonth": "Další měsíc",
|
|
7
8
|
"picker.calendar.navigation.previousmonth": "Předchozí měsíc",
|
|
8
9
|
"picker.date.toolbar.title": "Vybrané datum",
|
|
9
10
|
"picker.daterange.toolbar.title": "Vybrat rozmezí dat",
|
|
10
11
|
"picker.datetime.toolbar.title": "Vybrat datum a čas",
|
|
12
|
+
"picker.error.invalid": "Opravte formát data nebo vyberte datum z kalendáře.",
|
|
13
|
+
"picker.error.mindate": "Zadané datum je dřívější, než je povoleno. Vyberte datum v rozmezí dostupném v kalendáři.",
|
|
14
|
+
"picker.error.maxdate": "Zadané datum je pozdější, než je povoleno. Vyberte datum v rozmezí dostupném v kalendáři.",
|
|
11
15
|
"picker.field.placeholder.day": "DD",
|
|
12
16
|
"picker.field.placeholder.hours": "hh",
|
|
13
17
|
"picker.field.placeholder.meridiem": "dop./odp.",
|
|
@@ -70,11 +74,11 @@ export const translation = {
|
|
|
70
74
|
"severity.warning": "upozornění",
|
|
71
75
|
"switch.active": "Aktivní",
|
|
72
76
|
"switch.inactive": "Neaktivní",
|
|
73
|
-
"table.actions": "Akce",
|
|
74
77
|
"table.columnvisibility.arialabel": "Zobrazit nebo skrýt sloupce",
|
|
75
78
|
"table.density.arialabel": "Hustota tabulky",
|
|
76
79
|
"table.draghandle.arialabel": "Pořadí řádků můžete změnit přetažením. Změny pořadí můžete také zahájit a dokončit stisknutím mezerníku nebo klávesy Enter a zrušit stisknutím klávesy Esc.",
|
|
77
80
|
"table.draghandle.tooltip": "Pořadí řádků můžete změnit přetažením, případně můžete změny pořadí zahájit a dokončit stisknutím mezerníku nebo klávesy Enter.",
|
|
81
|
+
"table.actions": "Akce",
|
|
78
82
|
"table.error": "Chyba při načítání dat",
|
|
79
83
|
"table.fetchedrows.text": "Byl načten {{totalRows}} řádek",
|
|
80
84
|
"table.fetchedrows.text_plural": "Celkem načteno řádků: {{totalRows}}",
|
|
@@ -93,6 +97,16 @@ export const translation = {
|
|
|
93
97
|
"pagination.page": "Stránka",
|
|
94
98
|
"pagination.rowsperpage": "Počet řádků na stránku",
|
|
95
99
|
"pagination.rowswithtotal": "Řádky {{firstRow}}–{{lastRow}} z {{totalRows}}",
|
|
96
|
-
"pagination.rowswithouttotal": "Řádky {{firstRow}}–{{lastRow}}"
|
|
100
|
+
"pagination.rowswithouttotal": "Řádky {{firstRow}}–{{lastRow}}",
|
|
101
|
+
"table.actions.selectall": "Vybrat vše",
|
|
102
|
+
"table.actions.selectnone": "Zrušit výběr",
|
|
103
|
+
"table.actions.selectsome": "Vybráno: {{selectedRowCount}}",
|
|
104
|
+
"table.rowexpansion.expand": "Rozbalit",
|
|
105
|
+
"table.rowexpansion.expandall": "Rozbalit vše",
|
|
106
|
+
"table.rowexpansion.collapse": "Sbalit",
|
|
107
|
+
"table.rowexpansion.collapseall": "Sbalit vše",
|
|
108
|
+
"dataview.layout.table": "Tabulka",
|
|
109
|
+
"dataview.layout.grid": "Mřížka",
|
|
110
|
+
"dataview.layout.list": "Seznam"
|
|
97
111
|
};
|
|
98
112
|
//# sourceMappingURL=odyssey-react-mui_cs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"odyssey-react-mui_cs.js","names":["translation"],"sources":["../../../src/properties/ts/odyssey-react-mui_cs.ts"],"sourcesContent":["export const translation = {\"breadcrumbs.home.text\":\"Domovská stránka\",\"breadcrumbs.label.text\":\"Drobečková navigace\",\"close.text\":\"
|
|
1
|
+
{"version":3,"file":"odyssey-react-mui_cs.js","names":["translation"],"sources":["../../../src/properties/ts/odyssey-react-mui_cs.ts"],"sourcesContent":["export const translation = {\"breadcrumbs.home.text\":\"Domovská stránka\",\"breadcrumbs.label.text\":\"Drobečková navigace\",\"close.text\":\"Zavřít\",\"clear.text\":\"Vymazat\",\"open.text\":\"Otevřít\",\"picker.calendar.navigation.nextmonth\":\"Další měsíc\",\"picker.calendar.navigation.previousmonth\":\"Předchozí měsíc\",\"picker.date.toolbar.title\":\"Vybrané datum\",\"picker.daterange.toolbar.title\":\"Vybrat rozmezí dat\",\"picker.datetime.toolbar.title\":\"Vybrat datum a čas\",\"picker.error.invalid\":\"Opravte formát data nebo vyberte datum z kalendáře.\",\"picker.error.mindate\":\"Zadané datum je dřívější, než je povoleno. Vyberte datum v rozmezí dostupném v kalendáři.\",\"picker.error.maxdate\":\"Zadané datum je pozdější, než je povoleno. Vyberte datum v rozmezí dostupném v kalendáři.\",\"picker.field.placeholder.day\":\"DD\",\"picker.field.placeholder.hours\":\"hh\",\"picker.field.placeholder.meridiem\":\"dop./odp.\",\"picker.field.placeholder.minutes\":\"mm\",\"picker.field.placeholder.month\":\"MM\",\"picker.field.placeholder.seconds\":\"ss\",\"picker.field.placeholder.year\":\"RRRR\",\"picker.labels.action.apply\":\"Použít\",\"picker.labels.action.cancel\":\"Zrušit\",\"picker.labels.action.today\":\"Dnes\",\"picker.labels.clock.empty\":\"Není vybraný čas\",\"picker.labels.clock.hours\":\"hod\",\"picker.labels.clock.minutes\":\"s\",\"picker.labels.clock.selected\":\"Vybraný čas je\",\"picker.labels.date.choose\":\"Zvolit datum\",\"picker.labels.date.selected\":\"Vybrané datum je\",\"picker.labels.empty\":\"Prázdné\",\"picker.labels.field.clear\":\"Vymazat hodnotu\",\"picker.labels.range.end\":\"Konec\",\"picker.labels.range.enddate\":\"Koncové datum\",\"picker.labels.range.endtime\":\"Koncový čas\",\"picker.labels.range.start\":\"Začátek\",\"picker.labels.range.startdate\":\"Počáteční datum\",\"picker.labels.range.starttime\":\"Počáteční čas\",\"picker.labels.select\":\"Vybrat\",\"picker.labels.table.date\":\"vybrat datum\",\"picker.labels.table.time\":\"vybrat čas\",\"picker.labels.time.choose\":\"Zvolit čas\",\"picker.time.toolbar.title\":\"Vybrat čas\",\"picker.view.name.day\":\"Den\",\"picker.view.name.hours\":\"Hodiny\",\"picker.view.name.meridiem\":\"Dopoledne/odpoledne\",\"picker.view.name.minutes\":\"Minuty\",\"picker.view.name.month\":\"Měsíc\",\"picker.view.name.seconds\":\"Sekundy\",\"picker.view.name.weekday\":\"Den v týdnu\",\"picker.view.name.year\":\"Rok\",\"picker.view.navigation.open.nextview\":\"Otevřít další zobrazení\",\"picker.view.navigation.open.previousview\":\"Otevřít předchozí zobrazení\",\"picker.view.navigation.switch.calendarview\":\"je otevřeno zobrazení roku, můžete přepnout do zobrazení kalendáře\",\"picker.view.navigation.switch.yearview\":\"je otevřeno zobrazení kalendáře, můžete přepnout do zobrazení roku\",\"fielderror.screenreader.text\":\"Chyba\",\"fieldlabel.optional.text\":\"Volitelné\",\"fieldlabel.required.text\":\"Povinné\",\"filters.clear.label\":\"Vymazat filtry\",\"filters.filter.any\":\"Libovolné\",\"filters.filter.clear\":\"Vymazat filtr\",\"filters.filters.arialabel\":\"Filtry\",\"filters.menuitem.any\":\"Libovolné: {{label}}\",\"filters.menuitem.selected\":\"Vybráno: {{selected}}\",\"filters.search.label\":\"Hledat\",\"fileupload.button.text\":\"Přidat soubory\",\"fileupload.prompt.text\":\"Přetáhněte soubory sem nebo klikněte a přidejte je\",\"fileupload.removefile.text\":\"Odebrat soubor\",\"passwordfield.icon.label.hide\":\"Skrýt heslo\",\"passwordfield.icon.label.show\":\"Zobrazit heslo\",\"severity.error\":\"chyba\",\"severity.info\":\"informace\",\"severity.success\":\"úspěch\",\"severity.warning\":\"upozornění\",\"switch.active\":\"Aktivní\",\"switch.inactive\":\"Neaktivní\",\"table.columnvisibility.arialabel\":\"Zobrazit nebo skrýt sloupce\",\"table.density.arialabel\":\"Hustota tabulky\",\"table.draghandle.arialabel\":\"Pořadí řádků můžete změnit přetažením. Změny pořadí můžete také zahájit a dokončit stisknutím mezerníku nebo klávesy Enter a zrušit stisknutím klávesy Esc.\",\"table.draghandle.tooltip\":\"Pořadí řádků můžete změnit přetažením, případně můžete změny pořadí zahájit a dokončit stisknutím mezerníku nebo klávesy Enter.\",\"table.actions\":\"Akce\",\"table.error\":\"Chyba při načítání dat\",\"table.fetchedrows.text\":\"Byl načten {{totalRows}} řádek\",\"table.fetchedrows.text_plural\":\"Celkem načteno řádků: {{totalRows}}\",\"table.moreactions.arialabel\":\"Další akce\",\"table.noresults.heading\":\"Nejsou k dispozici žádné výsledky.\",\"table.noresults.text\":\"Zkuste zadat jiný dotaz.\",\"table.reorder.backward\":\"Odeslat dozadu\",\"table.reorder.forward\":\"Přenést dopředu\",\"table.reorder.toback\":\"Odeslat na pozadí\",\"table.reorder.tofront\":\"Přenést do popředí\",\"table.rows.text\":\"{{totalRows}} řádek\",\"table.rows.text_plural\":\"Počet řádků: {{totalRows}}\",\"pagination.loadmore\":\"Zobrazit více\",\"pagination.next\":\"Další stránka\",\"pagination.previous\":\"Předchozí stránka\",\"pagination.page\":\"Stránka\",\"pagination.rowsperpage\":\"Počet řádků na stránku\",\"pagination.rowswithtotal\":\"Řádky {{firstRow}}–{{lastRow}} z {{totalRows}}\",\"pagination.rowswithouttotal\":\"Řádky {{firstRow}}–{{lastRow}}\",\"table.actions.selectall\":\"Vybrat vše\",\"table.actions.selectnone\":\"Zrušit výběr\",\"table.actions.selectsome\":\"Vybráno: {{selectedRowCount}}\",\"table.rowexpansion.expand\":\"Rozbalit\",\"table.rowexpansion.expandall\":\"Rozbalit vše\",\"table.rowexpansion.collapse\":\"Sbalit\",\"table.rowexpansion.collapseall\":\"Sbalit vše\",\"dataview.layout.table\":\"Tabulka\",\"dataview.layout.grid\":\"Mřížka\",\"dataview.layout.list\":\"Seznam\"};"],"mappings":"AAAA,OAAO,MAAMA,WAAW,GAAG;EAAC,uBAAuB,EAAC,kBAAkB;EAAC,wBAAwB,EAAC,qBAAqB;EAAC,YAAY,EAAC,QAAQ;EAAC,YAAY,EAAC,SAAS;EAAC,WAAW,EAAC,SAAS;EAAC,sCAAsC,EAAC,aAAa;EAAC,0CAA0C,EAAC,iBAAiB;EAAC,2BAA2B,EAAC,eAAe;EAAC,gCAAgC,EAAC,oBAAoB;EAAC,+BAA+B,EAAC,oBAAoB;EAAC,sBAAsB,EAAC,qDAAqD;EAAC,sBAAsB,EAAC,2FAA2F;EAAC,sBAAsB,EAAC,2FAA2F;EAAC,8BAA8B,EAAC,IAAI;EAAC,gCAAgC,EAAC,IAAI;EAAC,mCAAmC,EAAC,WAAW;EAAC,kCAAkC,EAAC,IAAI;EAAC,gCAAgC,EAAC,IAAI;EAAC,kCAAkC,EAAC,IAAI;EAAC,+BAA+B,EAAC,MAAM;EAAC,4BAA4B,EAAC,QAAQ;EAAC,6BAA6B,EAAC,QAAQ;EAAC,4BAA4B,EAAC,MAAM;EAAC,2BAA2B,EAAC,kBAAkB;EAAC,2BAA2B,EAAC,KAAK;EAAC,6BAA6B,EAAC,GAAG;EAAC,8BAA8B,EAAC,gBAAgB;EAAC,2BAA2B,EAAC,cAAc;EAAC,6BAA6B,EAAC,kBAAkB;EAAC,qBAAqB,EAAC,SAAS;EAAC,2BAA2B,EAAC,iBAAiB;EAAC,yBAAyB,EAAC,OAAO;EAAC,6BAA6B,EAAC,eAAe;EAAC,6BAA6B,EAAC,aAAa;EAAC,2BAA2B,EAAC,SAAS;EAAC,+BAA+B,EAAC,iBAAiB;EAAC,+BAA+B,EAAC,eAAe;E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AAC,+BAA+B,EAAC,qCAAqC;EAAC,6BAA6B,EAAC,YAAY;EAAC,yBAAyB,EAAC,oCAAoC;EAAC,sBAAsB,EAAC,0BAA0B;EAAC,wBAAwB,EAAC,gBAAgB;EAAC,uBAAuB,EAAC,iBAAiB;EAAC,sBAAsB,EAAC,mBAAmB;EAAC,uBAAuB,EAAC,oBAAoB;EAAC,iBAAiB,EAAC,qBAAqB;EAAC,wBAAwB,EAAC,4BAA4B;EAAC,qBAAqB,EAAC,eAAe;EAAC,iBAAiB,EAAC,eAAe;EAAC,qBAAqB,EAAC,mBAAmB;EAAC,iBAAiB,EAAC,SAAS;EAAC,wBAAwB,EAAC,wBAAwB;EAAC,0BAA0B,EAAC,gDAAgD;EAAC,6BAA6B,EAAC,gCAAgC;EAAC,yBAAyB,EAAC,YAAY;EAAC,0BAA0B,EAAC,cAAc;EAAC,0BAA0B,EAAC,+BAA+B;EAAC,2BAA2B,EAAC,UAAU;EAAC,8BAA8B,EAAC,cAAc;EAAC,6BAA6B,EAAC,QAAQ;EAAC,gCAAgC,EAAC,YAAY;EAAC,uBAAuB,EAAC,SAAS;EAAC,sBAAsB,EAAC,QAAQ;EAAC,sBAAsB,EAAC;AAAQ,CAAC"}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
export const translation = {
|
|
2
2
|
"breadcrumbs.home.text": "Start",
|
|
3
3
|
"breadcrumbs.label.text": "Rasp",
|
|
4
|
-
"close.text": "
|
|
4
|
+
"close.text": "Luk",
|
|
5
5
|
"clear.text": "Slet",
|
|
6
|
+
"open.text": "Åbn",
|
|
6
7
|
"picker.calendar.navigation.nextmonth": "Næste måned",
|
|
7
8
|
"picker.calendar.navigation.previousmonth": "Forrige måned",
|
|
8
9
|
"picker.date.toolbar.title": "Valgt dato",
|
|
9
10
|
"picker.daterange.toolbar.title": "Vælg datointerval",
|
|
10
11
|
"picker.datetime.toolbar.title": "Vælg dato og tidspunkt",
|
|
12
|
+
"picker.error.invalid": "Ret datoformatet, eller vælg datoen i kalenderen.",
|
|
13
|
+
"picker.error.mindate": "Den indtastede dato ligger tidligere end de tilladte datoer. Vælg en dato fra det interval, der er tilgængeligt i kalenderen.",
|
|
14
|
+
"picker.error.maxdate": "Den indtastede dato ligger senere end de tilladte datoer. Vælg en dato fra det interval, der er tilgængeligt i kalenderen.",
|
|
11
15
|
"picker.field.placeholder.day": "DD",
|
|
12
16
|
"picker.field.placeholder.hours": "tt",
|
|
13
17
|
"picker.field.placeholder.meridiem": "aa",
|
|
@@ -70,11 +74,11 @@ export const translation = {
|
|
|
70
74
|
"severity.warning": "advarsel",
|
|
71
75
|
"switch.active": "Aktiv",
|
|
72
76
|
"switch.inactive": "Inaktiv",
|
|
73
|
-
"table.actions": "Handlinger",
|
|
74
77
|
"table.columnvisibility.arialabel": "Vis/skjul kolonner",
|
|
75
78
|
"table.density.arialabel": "Tabeltæthed",
|
|
76
79
|
"table.draghandle.arialabel": "Træk i rækken for at omrokere. Eller tryk på mellemrum eller enter for at starte og stoppe omrokeringen og esc for at annullere.",
|
|
77
80
|
"table.draghandle.tooltip": "Træk i rækken, eller tryk på mellemrum/enter for at starte og stoppe omrokeringen",
|
|
81
|
+
"table.actions": "Handlinger",
|
|
78
82
|
"table.error": "Fejl ved indlæsning af data.",
|
|
79
83
|
"table.fetchedrows.text": "Hentet {{totalRows}} række",
|
|
80
84
|
"table.fetchedrows.text_plural": "Hentet {{totalRows}} total antal rækker",
|
|
@@ -93,6 +97,16 @@ export const translation = {
|
|
|
93
97
|
"pagination.page": "Side",
|
|
94
98
|
"pagination.rowsperpage": "Rækker pr. side",
|
|
95
99
|
"pagination.rowswithtotal": "{{firstRow}} – {{lastRow}} af {{totalRows}} rækker",
|
|
96
|
-
"pagination.rowswithouttotal": "{{firstRow}}–{{lastRow}} rækker"
|
|
100
|
+
"pagination.rowswithouttotal": "{{firstRow}}–{{lastRow}} rækker",
|
|
101
|
+
"table.actions.selectall": "Vælg alle",
|
|
102
|
+
"table.actions.selectnone": "Vælg ingen",
|
|
103
|
+
"table.actions.selectsome": "{{selectedRowCount}} valgt",
|
|
104
|
+
"table.rowexpansion.expand": "Udvid",
|
|
105
|
+
"table.rowexpansion.expandall": "Udvid alle",
|
|
106
|
+
"table.rowexpansion.collapse": "Skjul",
|
|
107
|
+
"table.rowexpansion.collapseall": "Skjul alle",
|
|
108
|
+
"dataview.layout.table": "Tabel",
|
|
109
|
+
"dataview.layout.grid": "Gitter",
|
|
110
|
+
"dataview.layout.list": "Liste"
|
|
97
111
|
};
|
|
98
112
|
//# sourceMappingURL=odyssey-react-mui_da.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"odyssey-react-mui_da.js","names":["translation"],"sources":["../../../src/properties/ts/odyssey-react-mui_da.ts"],"sourcesContent":["export const translation = {\"breadcrumbs.home.text\":\"Start\",\"breadcrumbs.label.text\":\"Rasp\",\"close.text\":\"
|
|
1
|
+
{"version":3,"file":"odyssey-react-mui_da.js","names":["translation"],"sources":["../../../src/properties/ts/odyssey-react-mui_da.ts"],"sourcesContent":["export const translation = {\"breadcrumbs.home.text\":\"Start\",\"breadcrumbs.label.text\":\"Rasp\",\"close.text\":\"Luk\",\"clear.text\":\"Slet\",\"open.text\":\"Åbn\",\"picker.calendar.navigation.nextmonth\":\"Næste måned\",\"picker.calendar.navigation.previousmonth\":\"Forrige måned\",\"picker.date.toolbar.title\":\"Valgt dato\",\"picker.daterange.toolbar.title\":\"Vælg datointerval\",\"picker.datetime.toolbar.title\":\"Vælg dato og tidspunkt\",\"picker.error.invalid\":\"Ret datoformatet, eller vælg datoen i kalenderen.\",\"picker.error.mindate\":\"Den indtastede dato ligger tidligere end de tilladte datoer. Vælg en dato fra det interval, der er tilgængeligt i kalenderen.\",\"picker.error.maxdate\":\"Den indtastede dato ligger senere end de tilladte datoer. Vælg en dato fra det interval, der er tilgængeligt i kalenderen.\",\"picker.field.placeholder.day\":\"DD\",\"picker.field.placeholder.hours\":\"tt\",\"picker.field.placeholder.meridiem\":\"aa\",\"picker.field.placeholder.minutes\":\"mm\",\"picker.field.placeholder.month\":\"MM\",\"picker.field.placeholder.seconds\":\"ss\",\"picker.field.placeholder.year\":\"ÅÅÅÅ\",\"picker.labels.action.apply\":\"Anvend\",\"picker.labels.action.cancel\":\"Annullér\",\"picker.labels.action.today\":\"I dag\",\"picker.labels.clock.empty\":\"Intet tidspunkt valgt\",\"picker.labels.clock.hours\":\"timer\",\"picker.labels.clock.minutes\":\"sekunder\",\"picker.labels.clock.selected\":\"Det valgte tidspunkt er\",\"picker.labels.date.choose\":\"Vælg dato\",\"picker.labels.date.selected\":\"Den valgte dato er\",\"picker.labels.empty\":\"Tom\",\"picker.labels.field.clear\":\"Slet værdi\",\"picker.labels.range.end\":\"Slut\",\"picker.labels.range.enddate\":\"Slutdato\",\"picker.labels.range.endtime\":\"Sluttidspunkt\",\"picker.labels.range.start\":\"Start\",\"picker.labels.range.startdate\":\"Startdato\",\"picker.labels.range.starttime\":\"Starttidspunkt\",\"picker.labels.select\":\"Vælg\",\"picker.labels.table.date\":\"vælg dato\",\"picker.labels.table.time\":\"vælg tidspunkt\",\"picker.labels.time.choose\":\"Vælg tidspunkt\",\"picker.time.toolbar.title\":\"Vælg tidspunkt\",\"picker.view.name.day\":\"Dag\",\"picker.view.name.hours\":\"Timer\",\"picker.view.name.meridiem\":\"Middag\",\"picker.view.name.minutes\":\"Minutter\",\"picker.view.name.month\":\"Måned\",\"picker.view.name.seconds\":\"Sekunder\",\"picker.view.name.weekday\":\"Ugedag\",\"picker.view.name.year\":\"År\",\"picker.view.navigation.open.nextview\":\"Åbn næste visning\",\"picker.view.navigation.open.previousview\":\"Åbn forrige visning\",\"picker.view.navigation.switch.calendarview\":\"visning af år er åben. Skift til kalendervisning\",\"picker.view.navigation.switch.yearview\":\"visning af kalender er åben. Skift til visning af år\",\"fielderror.screenreader.text\":\"Fejl\",\"fieldlabel.optional.text\":\"Valgfrit\",\"fieldlabel.required.text\":\"Påkrævet\",\"filters.clear.label\":\"Ryd filtre\",\"filters.filter.any\":\"Hvilket som helst\",\"filters.filter.clear\":\"Ryd filter\",\"filters.filters.arialabel\":\"Filter\",\"filters.menuitem.any\":\"Alle {{label}}\",\"filters.menuitem.selected\":\"{{selected}} valgt\",\"filters.search.label\":\"Søg efter\",\"fileupload.button.text\":\"Tilføj filer\",\"fileupload.prompt.text\":\"Træk og slip filer her, eller klik for at tilføje filer\",\"fileupload.removefile.text\":\"Fjern fil\",\"passwordfield.icon.label.hide\":\"Skjul adgangskode\",\"passwordfield.icon.label.show\":\"Vis adgangskode\",\"severity.error\":\"fejl\",\"severity.info\":\"oplysninger\",\"severity.success\":\"fuldført\",\"severity.warning\":\"advarsel\",\"switch.active\":\"Aktiv\",\"switch.inactive\":\"Inaktiv\",\"table.columnvisibility.arialabel\":\"Vis/skjul kolonner\",\"table.density.arialabel\":\"Tabeltæthed\",\"table.draghandle.arialabel\":\"Træk i rækken for at omrokere. Eller tryk på mellemrum eller enter for at starte og stoppe omrokeringen og esc for at annullere.\",\"table.draghandle.tooltip\":\"Træk i rækken, eller tryk på mellemrum/enter for at starte og stoppe omrokeringen\",\"table.actions\":\"Handlinger\",\"table.error\":\"Fejl ved indlæsning af data.\",\"table.fetchedrows.text\":\"Hentet {{totalRows}} række\",\"table.fetchedrows.text_plural\":\"Hentet {{totalRows}} total antal rækker\",\"table.moreactions.arialabel\":\"Flere handlinger\",\"table.noresults.heading\":\"Der er ingen resultater.\",\"table.noresults.text\":\"Prøv en anden forespørgsel.\",\"table.reorder.backward\":\"Placer bagud\",\"table.reorder.forward\":\"Placer fremad\",\"table.reorder.toback\":\"Placer bagerst\",\"table.reorder.tofront\":\"Placer forrest\",\"table.rows.text\":\"{{totalRows}} række\",\"table.rows.text_plural\":\"{{totalRows}} rækker\",\"pagination.loadmore\":\"Vis mere\",\"pagination.next\":\"Næste side\",\"pagination.previous\":\"Forrige side\",\"pagination.page\":\"Side\",\"pagination.rowsperpage\":\"Rækker pr. side\",\"pagination.rowswithtotal\":\"{{firstRow}} – {{lastRow}} af {{totalRows}} rækker\",\"pagination.rowswithouttotal\":\"{{firstRow}}–{{lastRow}} rækker\",\"table.actions.selectall\":\"Vælg alle\",\"table.actions.selectnone\":\"Vælg ingen\",\"table.actions.selectsome\":\"{{selectedRowCount}} valgt\",\"table.rowexpansion.expand\":\"Udvid\",\"table.rowexpansion.expandall\":\"Udvid alle\",\"table.rowexpansion.collapse\":\"Skjul\",\"table.rowexpansion.collapseall\":\"Skjul alle\",\"dataview.layout.table\":\"Tabel\",\"dataview.layout.grid\":\"Gitter\",\"dataview.layout.list\":\"Liste\"};"],"mappings":"AAAA,OAAO,MAAMA,WAAW,GAAG;EAAC,uBAAuB,EAAC,OAAO;EAAC,wBAAwB,EAAC,MAAM;EAAC,YAAY,EAAC,KAAK;EAAC,YAAY,EAAC,MAAM;EAAC,WAAW,EAAC,KAAK;EAAC,sCAAsC,EAAC,aAAa;EAAC,0CAA0C,EAAC,eAAe;EAAC,2BAA2B,EAAC,YAAY;EAAC,gCAAgC,EAAC,mBAAmB;EAAC,+BAA+B,EAAC,wBAAwB;EAAC,sBAAsB,EAAC,mDAAmD;EAAC,sBAAsB,EAAC,+HAA+H;EAAC,sBAAsB,EAAC,4HAA4H;EAAC,8BAA8B,EAAC,IAAI;EAAC,gCAAgC,EAAC,IAAI;EAAC,mCAAmC,EAAC,IAAI;EAAC,kCAAkC,EAAC,IAAI;EAAC,gCAAgC,EAAC,IAAI;EAAC,kCAAkC,EAAC,IAAI;EAAC,+BAA+B,EAAC,MAAM;EAAC,4BAA4B,EAAC,QAAQ;EAAC,6BAA6B,EAAC,UAAU;EAAC,4BAA4B,EAAC,OAAO;EAAC,2BAA2B,EAAC,uBAAuB;EAAC,2BAA2B,EAAC,OAAO;EAAC,6BAA6B,EAAC,UAAU;EAAC,8BAA8B,EAAC,yBAAyB;EAAC,2BAA2B,EAAC,WAAW;EAAC,6BAA6B,EAAC,oBAAoB;EAAC,qBAAqB,EAAC,KAAK;EAAC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,EAAC,oBAAoB;EAAC,yBAAyB,EAAC,aAAa;EAAC,4BAA4B,EAAC,kIAAkI;EAAC,0BAA0B,EAAC,mFAAmF;EAAC,eAAe,EAAC,YAAY;EAAC,aAAa,EAAC,8BAA8B;EAAC,wBAAwB,EAAC,4BAA4B;EAAC,+BAA+B,EAAC,yCAAyC;EAAC,6BAA6B,EAAC,kBAAkB;EAAC,yBAAyB,EAAC,0BAA0B;EAAC,sBAAsB,EAAC,6BAA6B;EAAC,wBAAwB,EAAC,cAAc;EAAC,uBAAuB,EAAC,eAAe;EAAC,sBAAsB,EAAC,gBAAgB;EAAC,uBAAuB,EAAC,gBAAgB;EAAC,iBAAiB,EAAC,qBAAqB;EAAC,wBAAwB,EAAC,sBAAsB;EAAC,qBAAqB,EAAC,UAAU;EAAC,iBAAiB,EAAC,YAAY;EAAC,qBAAqB,EAAC,cAAc;EAAC,iBAAiB,EAAC,MAAM;EAAC,wBAAwB,EAAC,iBAAiB;EAAC,0BAA0B,EAAC,oDAAoD;EAAC,6BAA6B,EAAC,iCAAiC;EAAC,yBAAyB,EAAC,WAAW;EAAC,0BAA0B,EAAC,YAAY;EAAC,0BAA0B,EAAC,4BAA4B;EAAC,2BAA2B,EAAC,OAAO;EAAC,8BAA8B,EAAC,YAAY;EAAC,6BAA6B,EAAC,OAAO;EAAC,gCAAgC,EAAC,YAAY;EAAC,uBAAuB,EAAC,OAAO;EAAC,sBAAsB,EAAC,QAAQ;EAAC,sBAAsB,EAAC;AAAO,CAAC"}
|
|
@@ -3,11 +3,15 @@ export const translation = {
|
|
|
3
3
|
"breadcrumbs.label.text": "Breadcrumbs",
|
|
4
4
|
"close.text": "Schließen",
|
|
5
5
|
"clear.text": "Löschen",
|
|
6
|
+
"open.text": "Öffnen",
|
|
6
7
|
"picker.calendar.navigation.nextmonth": "Nächster Monat",
|
|
7
8
|
"picker.calendar.navigation.previousmonth": "Vorheriger Monat",
|
|
8
9
|
"picker.date.toolbar.title": "Gewähltes Datum",
|
|
9
10
|
"picker.daterange.toolbar.title": "Datumsbereich auswählen",
|
|
10
11
|
"picker.datetime.toolbar.title": "Datum und Uhrzeit auswählen",
|
|
12
|
+
"picker.error.invalid": "Korrigieren Sie das Datumsformat oder wählen Sie ein Datum aus dem Kalender.",
|
|
13
|
+
"picker.error.mindate": "Das eingegebene Datum liegt vor den zugelassenen Daten. Wählen Sie ein Datum aus dem im Kalender verfügbaren Bereich.",
|
|
14
|
+
"picker.error.maxdate": "Das eingegebene Datum ist später als die zugelassenen Daten. Wählen Sie ein Datum aus dem im Kalender verfügbaren Bereich.",
|
|
11
15
|
"picker.field.placeholder.day": "TT",
|
|
12
16
|
"picker.field.placeholder.hours": "hh",
|
|
13
17
|
"picker.field.placeholder.meridiem": "aa",
|
|
@@ -70,11 +74,11 @@ export const translation = {
|
|
|
70
74
|
"severity.warning": "Warnung",
|
|
71
75
|
"switch.active": "Aktiv",
|
|
72
76
|
"switch.inactive": "Inaktiv",
|
|
73
|
-
"table.actions": "Aktionen",
|
|
74
77
|
"table.columnvisibility.arialabel": "Säulen anzeigen/verbergen",
|
|
75
78
|
"table.density.arialabel": "Tabellendichte",
|
|
76
79
|
"table.draghandle.arialabel": "Für Neuanordnung Reihe ziehen Oder Leer- oder Eingabetaste drücken, um Neuanordnung zu starten oder zu beenden, und ESC zum Abbrechen drücken",
|
|
77
80
|
"table.draghandle.tooltip": "Reihe ziehen oder Leer-/Eingabetaste drücken, um Neuanordnung zu starten oder zu beenden",
|
|
81
|
+
"table.actions": "Aktionen",
|
|
78
82
|
"table.error": "Fehler beim Laden der Daten.",
|
|
79
83
|
"table.fetchedrows.text": "{{totalRows}} Zeile abgerufen",
|
|
80
84
|
"table.fetchedrows.text_plural": "{{totalRows}} Zeilen insgesamt abgerufen",
|
|
@@ -93,6 +97,16 @@ export const translation = {
|
|
|
93
97
|
"pagination.page": "Seite",
|
|
94
98
|
"pagination.rowsperpage": "Zeilen pro Seite",
|
|
95
99
|
"pagination.rowswithtotal": "{{firstRow}}–{{lastRow}} von {{totalRows}} Zeilen",
|
|
96
|
-
"pagination.rowswithouttotal": "{{firstRow}}–{{lastRow}} Zeilen"
|
|
100
|
+
"pagination.rowswithouttotal": "{{firstRow}}–{{lastRow}} Zeilen",
|
|
101
|
+
"table.actions.selectall": "Alle auswählen",
|
|
102
|
+
"table.actions.selectnone": "Keinen auswählen",
|
|
103
|
+
"table.actions.selectsome": "{{selectedRowCount}} ausgewählt",
|
|
104
|
+
"table.rowexpansion.expand": "Ausklappen",
|
|
105
|
+
"table.rowexpansion.expandall": "Alle ausklappen",
|
|
106
|
+
"table.rowexpansion.collapse": "Zuklappen",
|
|
107
|
+
"table.rowexpansion.collapseall": "Alle zuklappen",
|
|
108
|
+
"dataview.layout.table": "Tabelle",
|
|
109
|
+
"dataview.layout.grid": "Raster",
|
|
110
|
+
"dataview.layout.list": "Liste"
|
|
97
111
|
};
|
|
98
112
|
//# sourceMappingURL=odyssey-react-mui_de.js.map
|