@okta/odyssey-react-mui 1.64.0 → 1.65.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/cjs/Accordion.cjs +1 -1
- package/dist/cjs/Autocomplete.cjs +1 -1
- package/dist/cjs/Badge.cjs +1 -1
- package/dist/cjs/Banner.cjs +1 -1
- package/dist/cjs/Box.cjs +1 -1
- package/dist/cjs/Breadcrumbs.cjs +1 -1
- package/dist/cjs/Buttons/BaseButton.cjs +1 -1
- package/dist/cjs/Buttons/BaseMenuButton.cjs +1 -1
- package/dist/cjs/Buttons/Button.cjs +1 -1
- package/dist/cjs/Buttons/MenuButton.cjs +1 -1
- package/dist/cjs/Buttons/MenuItem.cjs +1 -1
- package/dist/cjs/Callout.cjs +1 -6
- package/dist/cjs/Callout.cjs.map +1 -1
- package/dist/cjs/Card.cjs +1 -1
- package/dist/cjs/CircularProgress.cjs +1 -1
- package/dist/cjs/ConditionalWrapper.cjs +1 -1
- package/dist/cjs/DataTable/DataTable.cjs +1 -1
- package/dist/cjs/DataTable/DataTableRowActions.cjs +1 -1
- package/dist/cjs/DataTable/DataTableSettings.cjs +1 -1
- package/dist/cjs/DatePickers/DateField.cjs +1 -1
- package/dist/cjs/DatePickers/DateFieldActionBar.cjs +1 -1
- package/dist/cjs/DatePickers/DateFieldLocalizationProvider.cjs +1 -1
- package/dist/cjs/DatePickers/DatePicker.cjs +1 -1
- package/dist/cjs/DatePickers/TimeZonePicker.cjs +1 -1
- package/dist/cjs/Dialog.cjs +8 -1
- package/dist/cjs/Dialog.cjs.map +1 -1
- package/dist/cjs/Drawer.cjs +4 -1
- package/dist/cjs/Drawer.cjs.map +1 -1
- package/dist/cjs/EmptyState.cjs +1 -1
- package/dist/cjs/ErrorMessageList.cjs +1 -1
- package/dist/cjs/Field.cjs +1 -1
- package/dist/cjs/FieldError.cjs +1 -1
- package/dist/cjs/FieldHint.cjs +1 -1
- package/dist/cjs/FieldLabel.cjs +1 -1
- package/dist/cjs/Fields/Checkbox.cjs +1 -1
- package/dist/cjs/Fields/CheckboxGroup.cjs +1 -1
- package/dist/cjs/Fields/Radio.cjs +1 -1
- package/dist/cjs/Fields/RadioGroup.cjs +1 -1
- package/dist/cjs/Fieldset.cjs +1 -1
- package/dist/cjs/FileUploader/FileUploadIllustration.cjs +1 -1
- package/dist/cjs/FileUploader/FileUploadPreview.cjs +1 -1
- package/dist/cjs/FileUploader/FileUploader.cjs +1 -1
- package/dist/cjs/Form.cjs +1 -1
- package/dist/cjs/FullScreenOverlay.cjs +1 -1
- package/dist/cjs/FullScreenOverlayContext.cjs +2 -1
- package/dist/cjs/FullScreenOverlayContext.cjs.map +1 -1
- package/dist/cjs/HintLink.cjs +1 -1
- package/dist/cjs/IconWithTooltip.cjs +1 -1
- package/dist/cjs/Link.cjs +1 -1
- package/dist/cjs/MuiPropsChild.cjs +1 -1
- package/dist/cjs/NativeSelect.cjs +1 -1
- package/dist/cjs/OdysseyCacheProvider.cjs +1 -1
- package/dist/cjs/OdysseyProvider.cjs +1 -1
- package/dist/cjs/OdysseyThemeProvider.cjs +1 -1
- package/dist/cjs/OdysseyThemeProviderPropsContext.cjs +1 -1
- package/dist/cjs/Pagination/Pagination.cjs +1 -1
- package/dist/cjs/PasswordField.cjs +4 -3
- package/dist/cjs/PasswordField.cjs.map +1 -1
- package/dist/cjs/ScreenReaderText.cjs +1 -1
- package/dist/cjs/SearchField.cjs +1 -1
- package/dist/cjs/Select.cjs +1 -1
- package/dist/cjs/Stack.cjs +1 -1
- package/dist/cjs/Status.cjs +1 -1
- package/dist/cjs/Surface.cjs +1 -1
- package/dist/cjs/Switch.cjs +2 -2
- package/dist/cjs/Tabs.cjs +1 -1
- package/dist/cjs/Tag.cjs +1 -1
- package/dist/cjs/TagList.cjs +1 -1
- package/dist/cjs/TextField.cjs +1 -1
- package/dist/cjs/Toast.cjs +1 -1
- package/dist/cjs/ToastStack.cjs +29 -10
- package/dist/cjs/ToastStack.cjs.map +1 -1
- package/dist/cjs/Tooltip.cjs +1 -1
- package/dist/cjs/Typography.cjs +12 -12
- package/dist/cjs/icons.generated/Add.cjs +1 -1
- package/dist/cjs/icons.generated/AddCircle.cjs +1 -1
- package/dist/cjs/icons.generated/Apps.cjs +1 -1
- package/dist/cjs/icons.generated/AppsSelected.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowBottom.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowDown.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowLowerLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowLowerRight.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowRight.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowTop.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowUnsorted.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowUp.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowUpperLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowUpperRight.cjs +1 -1
- package/dist/cjs/icons.generated/Bug.cjs +1 -1
- package/dist/cjs/icons.generated/Calendar.cjs +1 -1
- package/dist/cjs/icons.generated/Call.cjs +1 -1
- package/dist/cjs/icons.generated/Chat.cjs +1 -1
- package/dist/cjs/icons.generated/Check.cjs +1 -1
- package/dist/cjs/icons.generated/CheckCircleFilled.cjs +1 -1
- package/dist/cjs/icons.generated/ChevronDown.cjs +1 -1
- package/dist/cjs/icons.generated/ChevronLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ChevronRight.cjs +1 -1
- package/dist/cjs/icons.generated/ChevronUp.cjs +1 -1
- package/dist/cjs/icons.generated/Clock.cjs +1 -1
- package/dist/cjs/icons.generated/Close.cjs +1 -1
- package/dist/cjs/icons.generated/CloseCircleFilled.cjs +1 -1
- package/dist/cjs/icons.generated/CollapseLeft.cjs +1 -1
- package/dist/cjs/icons.generated/CollapseRight.cjs +1 -1
- package/dist/cjs/icons.generated/Copy.cjs +1 -1
- package/dist/cjs/icons.generated/Customizations.cjs +1 -1
- package/dist/cjs/icons.generated/CustomizationsSelected.cjs +1 -1
- package/dist/cjs/icons.generated/DangerDiamond.cjs +1 -1
- package/dist/cjs/icons.generated/DangerDiamondFilled.cjs +1 -1
- package/dist/cjs/icons.generated/Delete.cjs +1 -1
- package/dist/cjs/icons.generated/Deny.cjs +1 -1
- package/dist/cjs/icons.generated/Devices.cjs +1 -1
- package/dist/cjs/icons.generated/Directory.cjs +1 -1
- package/dist/cjs/icons.generated/DirectorySelected.cjs +1 -1
- package/dist/cjs/icons.generated/Documentation.cjs +1 -1
- package/dist/cjs/icons.generated/Download.cjs +1 -1
- package/dist/cjs/icons.generated/DragIndicator.cjs +1 -1
- package/dist/cjs/icons.generated/Edit.cjs +1 -1
- package/dist/cjs/icons.generated/ExpandLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ExpandRight.cjs +1 -1
- package/dist/cjs/icons.generated/ExternalLink.cjs +1 -1
- package/dist/cjs/icons.generated/Filter.cjs +1 -1
- package/dist/cjs/icons.generated/Folder.cjs +1 -1
- package/dist/cjs/icons.generated/Globe.cjs +1 -1
- package/dist/cjs/icons.generated/Grid.cjs +1 -1
- package/dist/cjs/icons.generated/Group.cjs +1 -1
- package/dist/cjs/icons.generated/Happy.cjs +1 -1
- package/dist/cjs/icons.generated/Hide.cjs +1 -1
- package/dist/cjs/icons.generated/Home.cjs +1 -1
- package/dist/cjs/icons.generated/HomeSelected.cjs +1 -1
- package/dist/cjs/icons.generated/IdentityGovernance.cjs +1 -1
- package/dist/cjs/icons.generated/IdentityGovernanceSelected.cjs +1 -1
- package/dist/cjs/icons.generated/InformationCircle.cjs +1 -1
- package/dist/cjs/icons.generated/InformationCircleFilled.cjs +1 -1
- package/dist/cjs/icons.generated/Link.cjs +1 -1
- package/dist/cjs/icons.generated/List.cjs +1 -1
- package/dist/cjs/icons.generated/Lock.cjs +1 -1
- package/dist/cjs/icons.generated/Menu.cjs +1 -1
- package/dist/cjs/icons.generated/More.cjs +1 -1
- package/dist/cjs/icons.generated/Neutral.cjs +1 -1
- package/dist/cjs/icons.generated/Notification.cjs +1 -1
- package/dist/cjs/icons.generated/Pause.cjs +1 -1
- package/dist/cjs/icons.generated/QuestionCircle.cjs +1 -1
- package/dist/cjs/icons.generated/QuestionCircleFilled.cjs +1 -1
- package/dist/cjs/icons.generated/Refresh.cjs +1 -1
- package/dist/cjs/icons.generated/Reports.cjs +1 -1
- package/dist/cjs/icons.generated/ReportsSelected.cjs +1 -1
- package/dist/cjs/icons.generated/Reset.cjs +1 -1
- package/dist/cjs/icons.generated/Resume.cjs +1 -1
- package/dist/cjs/icons.generated/Sad.cjs +1 -1
- package/dist/cjs/icons.generated/Same.cjs +1 -1
- package/dist/cjs/icons.generated/Search.cjs +1 -1
- package/dist/cjs/icons.generated/Security.cjs +1 -1
- package/dist/cjs/icons.generated/SecuritySelected.cjs +1 -1
- package/dist/cjs/icons.generated/Send.cjs +1 -1
- package/dist/cjs/icons.generated/Server.cjs +1 -1
- package/dist/cjs/icons.generated/Settings.cjs +1 -1
- package/dist/cjs/icons.generated/SettingsSelected.cjs +1 -1
- package/dist/cjs/icons.generated/Show.cjs +1 -1
- package/dist/cjs/icons.generated/Sparkle.cjs +1 -1
- package/dist/cjs/icons.generated/Subtract.cjs +1 -1
- package/dist/cjs/icons.generated/Sync.cjs +1 -1
- package/dist/cjs/icons.generated/ThumbsDown.cjs +1 -1
- package/dist/cjs/icons.generated/ThumbsUp.cjs +1 -1
- package/dist/cjs/icons.generated/Unlock.cjs +1 -1
- package/dist/cjs/icons.generated/Upload.cjs +1 -1
- package/dist/cjs/icons.generated/User.cjs +1 -1
- package/dist/cjs/icons.generated/Video.cjs +1 -1
- package/dist/cjs/icons.generated/Warning.cjs +1 -1
- package/dist/cjs/icons.generated/WarningFilled.cjs +1 -1
- package/dist/cjs/icons.generated/Workflows.cjs +1 -1
- package/dist/cjs/icons.generated/WorkflowsSelected.cjs +1 -1
- package/dist/cjs/index.cjs +48 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/labs/AppTile.cjs +1 -1
- package/dist/cjs/labs/DataFilters.cjs +21 -13
- package/dist/cjs/labs/DataFilters.cjs.map +1 -1
- package/dist/cjs/labs/DataTable.cjs +1 -1
- package/dist/cjs/labs/DataTablePagination.cjs +1 -1
- package/dist/cjs/labs/DataView/BulkActionsMenu.cjs +1 -1
- package/dist/cjs/labs/DataView/CardLayoutContent.cjs +2 -2
- package/dist/cjs/labs/DataView/DataCard.cjs +1 -1
- package/dist/cjs/labs/DataView/DataTable.cjs +1 -1
- package/dist/cjs/labs/DataView/DataView.cjs +5 -3
- package/dist/cjs/labs/DataView/DataView.cjs.map +1 -1
- package/dist/cjs/labs/DataView/DetailPanel.cjs +1 -1
- package/dist/cjs/labs/DataView/LayoutSwitcher.cjs +1 -1
- package/dist/cjs/labs/DataView/RowActions.cjs +1 -1
- package/dist/cjs/labs/DataView/TableLayoutContent.cjs +1 -1
- package/dist/cjs/labs/DataView/TableSettings.cjs +1 -1
- package/dist/cjs/labs/DataView/componentTypes.cjs.map +1 -1
- package/dist/cjs/labs/DatePickers/DateTimeField.cjs +1 -1
- package/dist/cjs/labs/DatePickers/DateTimePicker.cjs +1 -1
- package/dist/cjs/labs/OdysseyPickers/ComposablePicker.cjs +1 -1
- package/dist/cjs/labs/OdysseyPickers/Picker.cjs +1 -1
- package/dist/cjs/labs/OdysseyPickers/PickerVirtualizationListBox.cjs +1 -1
- package/dist/cjs/labs/OdysseyPickers/PickerWithOptionAdornment.cjs +1 -1
- package/dist/cjs/labs/OdysseyPickers/SearchDropdown.cjs +1 -1
- package/dist/cjs/labs/PageTemplate/DocumentationLink.cjs +1 -1
- package/dist/cjs/labs/PageTemplate/Layout.cjs +1 -1
- package/dist/cjs/labs/PageTemplate/PageTemplate.cjs +1 -1
- package/dist/cjs/labs/PaginatedTable.cjs +1 -1
- package/dist/cjs/labs/StaticTable.cjs +1 -1
- package/dist/cjs/labs/UserProfile.cjs +1 -1
- package/dist/cjs/labs/UserProfileMenuButton.cjs +1 -1
- package/dist/cjs/logos.generated/Duo.cjs +1 -1
- package/dist/cjs/logos.generated/GoogleAuth.cjs +1 -1
- package/dist/cjs/logos.generated/OktaVerify.cjs +1 -1
- package/dist/cjs/logos.generated/Persona.cjs +1 -1
- package/dist/cjs/logos.generated/SymantecVip.cjs +1 -1
- package/dist/cjs/logos.generated/Yubikey.cjs +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_eu.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_eu.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs +11 -10
- package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_hu.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_hu.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_id.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_id.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_it.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_it.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ms.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_ms.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_nl_NL.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_nl_NL.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ok_PL.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_ok_PL.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ok_SK.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_ok_SK.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_pl.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_pl.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_pt_BR.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_pt_BR.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ro.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_ro.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_th.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_th.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_tr.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_tr.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs +2 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_CN.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_CN.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs +1 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs.map +1 -1
- package/dist/cjs/test-utils/renderWithOdysseyProvider.cjs +2 -3
- package/dist/cjs/test-utils/renderWithOdysseyProvider.cjs.map +1 -1
- package/dist/cjs/test-utils/viewportTestSizes.cjs +21 -0
- package/dist/cjs/test-utils/viewportTestSizes.cjs.map +1 -0
- package/dist/cjs/theme/components/Dialog.cjs +6 -2
- package/dist/cjs/theme/components/Dialog.cjs.map +1 -1
- package/dist/cjs/theme/components/Form.cjs +1 -1
- package/dist/cjs/theme/components/Form.cjs.map +1 -1
- package/dist/cjs/theme/useMediaQuery.cjs +34 -13
- package/dist/cjs/theme/useMediaQuery.cjs.map +1 -1
- package/dist/cjs/ui-shell/AppSwitcher/AppSwitcher.cjs +1 -1
- package/dist/cjs/ui-shell/InnerAppContainer.cjs +1 -1
- package/dist/cjs/ui-shell/NarrowUiShellContent.cjs +19 -1
- package/dist/cjs/ui-shell/NarrowUiShellContent.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/NavAccordion.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNav.cjs +22 -12
- package/dist/cjs/ui-shell/SideNav/SideNav.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavFooterContent.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavHeader.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavItemContent.cjs +74 -18
- package/dist/cjs/ui-shell/SideNav/SideNavItemContent.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavItemContentContext.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavItemLinkContent.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavSortableList.cjs +3 -2
- package/dist/cjs/ui-shell/SideNav/SideNavSortableList.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavToggleButton.cjs +2 -2
- package/dist/cjs/ui-shell/SideNav/SortableList/SortableItem.cjs +45 -23
- package/dist/cjs/ui-shell/SideNav/SortableList/SortableItem.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/SortableList/SortableList.cjs +2 -1
- package/dist/cjs/ui-shell/SideNav/SortableList/SortableList.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/SortableList/SortableOverlay.cjs +14 -1
- package/dist/cjs/ui-shell/SideNav/SortableList/SortableOverlay.cjs.map +1 -1
- package/dist/cjs/ui-shell/SkipToContent.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/HamburgerMenuIcon.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/TopNav.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/TopNavLinksList.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/TopNavListItem.cjs +1 -1
- package/dist/cjs/ui-shell/UiShell.cjs +1 -1
- package/dist/cjs/ui-shell/UiShellLogo.cjs +1 -1
- package/dist/cjs/ui-shell/WideUiShellContent.cjs +1 -1
- package/dist/cjs/ui-shell/index.cjs +0 -12
- package/dist/cjs/ui-shell/index.cjs.map +1 -1
- package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs +1 -1
- package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs.map +1 -1
- package/dist/cjs/web-component/renderReactInWebComponent.cjs +29 -62
- package/dist/cjs/web-component/renderReactInWebComponent.cjs.map +1 -1
- package/dist/esm/Accordion.js +1 -1
- package/dist/esm/Autocomplete.js +1 -1
- package/dist/esm/Badge.js +1 -1
- package/dist/esm/Banner.js +1 -1
- package/dist/esm/Box.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/Buttons/BaseButton.js +1 -1
- package/dist/esm/Buttons/BaseMenuButton.js +1 -1
- package/dist/esm/Buttons/Button.js +1 -1
- package/dist/esm/Buttons/MenuButton.js +1 -1
- package/dist/esm/Buttons/MenuItem.js +1 -1
- package/dist/esm/Callout.js +1 -6
- package/dist/esm/Callout.js.map +1 -1
- package/dist/esm/Card.js +1 -1
- package/dist/esm/CircularProgress.js +1 -1
- package/dist/esm/ConditionalWrapper.js +1 -1
- package/dist/esm/DataTable/DataTable.js +1 -1
- package/dist/esm/DataTable/DataTableRowActions.js +1 -1
- package/dist/esm/DataTable/DataTableSettings.js +1 -1
- package/dist/esm/DatePickers/DateField.js +1 -1
- package/dist/esm/DatePickers/DateFieldActionBar.js +1 -1
- package/dist/esm/DatePickers/DateFieldLocalizationProvider.js +1 -1
- package/dist/esm/DatePickers/DatePicker.js +1 -1
- package/dist/esm/DatePickers/TimeZonePicker.js +1 -1
- package/dist/esm/Dialog.js +8 -1
- package/dist/esm/Dialog.js.map +1 -1
- package/dist/esm/Drawer.js +4 -1
- package/dist/esm/Drawer.js.map +1 -1
- package/dist/esm/EmptyState.js +1 -1
- package/dist/esm/ErrorMessageList.js +1 -1
- package/dist/esm/Field.js +1 -1
- package/dist/esm/FieldError.js +1 -1
- package/dist/esm/FieldHint.js +1 -1
- package/dist/esm/FieldLabel.js +1 -1
- package/dist/esm/Fields/Checkbox.js +1 -1
- package/dist/esm/Fields/CheckboxGroup.js +1 -1
- package/dist/esm/Fields/Radio.js +1 -1
- package/dist/esm/Fields/RadioGroup.js +1 -1
- package/dist/esm/Fieldset.js +1 -1
- package/dist/esm/FileUploader/FileUploadIllustration.js +1 -1
- package/dist/esm/FileUploader/FileUploadPreview.js +1 -1
- package/dist/esm/FileUploader/FileUploader.js +1 -1
- package/dist/esm/Form.js +1 -1
- package/dist/esm/FullScreenOverlay.js +1 -1
- package/dist/esm/FullScreenOverlayContext.js +2 -1
- package/dist/esm/FullScreenOverlayContext.js.map +1 -1
- package/dist/esm/HintLink.js +1 -1
- package/dist/esm/IconWithTooltip.js +1 -1
- package/dist/esm/Link.js +1 -1
- package/dist/esm/MuiPropsChild.js +1 -1
- package/dist/esm/NativeSelect.js +1 -1
- package/dist/esm/OdysseyCacheProvider.js +1 -1
- package/dist/esm/OdysseyProvider.js +1 -1
- package/dist/esm/OdysseyThemeProvider.js +1 -1
- package/dist/esm/OdysseyThemeProviderPropsContext.js +1 -1
- package/dist/esm/Pagination/Pagination.js +1 -1
- package/dist/esm/PasswordField.js +4 -3
- package/dist/esm/PasswordField.js.map +1 -1
- package/dist/esm/ScreenReaderText.js +1 -1
- package/dist/esm/SearchField.js +1 -1
- package/dist/esm/Select.js +1 -1
- package/dist/esm/Stack.js +1 -1
- package/dist/esm/Status.js +1 -1
- package/dist/esm/Surface.js +1 -1
- package/dist/esm/Switch.js +2 -2
- package/dist/esm/Tabs.js +1 -1
- package/dist/esm/Tag.js +1 -1
- package/dist/esm/TagList.js +1 -1
- package/dist/esm/TextField.js +1 -1
- package/dist/esm/Toast.js +1 -1
- package/dist/esm/ToastStack.js +28 -9
- package/dist/esm/ToastStack.js.map +1 -1
- package/dist/esm/Tooltip.js +1 -1
- package/dist/esm/Typography.js +12 -12
- package/dist/esm/icons.generated/Add.js +1 -1
- package/dist/esm/icons.generated/AddCircle.js +1 -1
- package/dist/esm/icons.generated/Apps.js +1 -1
- package/dist/esm/icons.generated/AppsSelected.js +1 -1
- package/dist/esm/icons.generated/ArrowBottom.js +1 -1
- package/dist/esm/icons.generated/ArrowDown.js +1 -1
- package/dist/esm/icons.generated/ArrowLeft.js +1 -1
- package/dist/esm/icons.generated/ArrowLowerLeft.js +1 -1
- package/dist/esm/icons.generated/ArrowLowerRight.js +1 -1
- package/dist/esm/icons.generated/ArrowRight.js +1 -1
- package/dist/esm/icons.generated/ArrowTop.js +1 -1
- package/dist/esm/icons.generated/ArrowUnsorted.js +1 -1
- package/dist/esm/icons.generated/ArrowUp.js +1 -1
- package/dist/esm/icons.generated/ArrowUpperLeft.js +1 -1
- package/dist/esm/icons.generated/ArrowUpperRight.js +1 -1
- package/dist/esm/icons.generated/Bug.js +1 -1
- package/dist/esm/icons.generated/Calendar.js +1 -1
- package/dist/esm/icons.generated/Call.js +1 -1
- package/dist/esm/icons.generated/Chat.js +1 -1
- package/dist/esm/icons.generated/Check.js +1 -1
- package/dist/esm/icons.generated/CheckCircleFilled.js +1 -1
- package/dist/esm/icons.generated/ChevronDown.js +1 -1
- package/dist/esm/icons.generated/ChevronLeft.js +1 -1
- package/dist/esm/icons.generated/ChevronRight.js +1 -1
- package/dist/esm/icons.generated/ChevronUp.js +1 -1
- package/dist/esm/icons.generated/Clock.js +1 -1
- package/dist/esm/icons.generated/Close.js +1 -1
- package/dist/esm/icons.generated/CloseCircleFilled.js +1 -1
- package/dist/esm/icons.generated/CollapseLeft.js +1 -1
- package/dist/esm/icons.generated/CollapseRight.js +1 -1
- package/dist/esm/icons.generated/Copy.js +1 -1
- package/dist/esm/icons.generated/Customizations.js +1 -1
- package/dist/esm/icons.generated/CustomizationsSelected.js +1 -1
- package/dist/esm/icons.generated/DangerDiamond.js +1 -1
- package/dist/esm/icons.generated/DangerDiamondFilled.js +1 -1
- package/dist/esm/icons.generated/Delete.js +1 -1
- package/dist/esm/icons.generated/Deny.js +1 -1
- package/dist/esm/icons.generated/Devices.js +1 -1
- package/dist/esm/icons.generated/Directory.js +1 -1
- package/dist/esm/icons.generated/DirectorySelected.js +1 -1
- package/dist/esm/icons.generated/Documentation.js +1 -1
- package/dist/esm/icons.generated/Download.js +1 -1
- package/dist/esm/icons.generated/DragIndicator.js +1 -1
- package/dist/esm/icons.generated/Edit.js +1 -1
- package/dist/esm/icons.generated/ExpandLeft.js +1 -1
- package/dist/esm/icons.generated/ExpandRight.js +1 -1
- package/dist/esm/icons.generated/ExternalLink.js +1 -1
- package/dist/esm/icons.generated/Filter.js +1 -1
- package/dist/esm/icons.generated/Folder.js +1 -1
- package/dist/esm/icons.generated/Globe.js +1 -1
- package/dist/esm/icons.generated/Grid.js +1 -1
- package/dist/esm/icons.generated/Group.js +1 -1
- package/dist/esm/icons.generated/Happy.js +1 -1
- package/dist/esm/icons.generated/Hide.js +1 -1
- package/dist/esm/icons.generated/Home.js +1 -1
- package/dist/esm/icons.generated/HomeSelected.js +1 -1
- package/dist/esm/icons.generated/IdentityGovernance.js +1 -1
- package/dist/esm/icons.generated/IdentityGovernanceSelected.js +1 -1
- package/dist/esm/icons.generated/InformationCircle.js +1 -1
- package/dist/esm/icons.generated/InformationCircleFilled.js +1 -1
- package/dist/esm/icons.generated/Link.js +1 -1
- package/dist/esm/icons.generated/List.js +1 -1
- package/dist/esm/icons.generated/Lock.js +1 -1
- package/dist/esm/icons.generated/Menu.js +1 -1
- package/dist/esm/icons.generated/More.js +1 -1
- package/dist/esm/icons.generated/Neutral.js +1 -1
- package/dist/esm/icons.generated/Notification.js +1 -1
- package/dist/esm/icons.generated/Pause.js +1 -1
- package/dist/esm/icons.generated/QuestionCircle.js +1 -1
- package/dist/esm/icons.generated/QuestionCircleFilled.js +1 -1
- package/dist/esm/icons.generated/Refresh.js +1 -1
- package/dist/esm/icons.generated/Reports.js +1 -1
- package/dist/esm/icons.generated/ReportsSelected.js +1 -1
- package/dist/esm/icons.generated/Reset.js +1 -1
- package/dist/esm/icons.generated/Resume.js +1 -1
- package/dist/esm/icons.generated/Sad.js +1 -1
- package/dist/esm/icons.generated/Same.js +1 -1
- package/dist/esm/icons.generated/Search.js +1 -1
- package/dist/esm/icons.generated/Security.js +1 -1
- package/dist/esm/icons.generated/SecuritySelected.js +1 -1
- package/dist/esm/icons.generated/Send.js +1 -1
- package/dist/esm/icons.generated/Server.js +1 -1
- package/dist/esm/icons.generated/Settings.js +1 -1
- package/dist/esm/icons.generated/SettingsSelected.js +1 -1
- package/dist/esm/icons.generated/Show.js +1 -1
- package/dist/esm/icons.generated/Sparkle.js +1 -1
- package/dist/esm/icons.generated/Subtract.js +1 -1
- package/dist/esm/icons.generated/Sync.js +1 -1
- package/dist/esm/icons.generated/ThumbsDown.js +1 -1
- package/dist/esm/icons.generated/ThumbsUp.js +1 -1
- package/dist/esm/icons.generated/Unlock.js +1 -1
- package/dist/esm/icons.generated/Upload.js +1 -1
- package/dist/esm/icons.generated/User.js +1 -1
- package/dist/esm/icons.generated/Video.js +1 -1
- package/dist/esm/icons.generated/Warning.js +1 -1
- package/dist/esm/icons.generated/WarningFilled.js +1 -1
- package/dist/esm/icons.generated/Workflows.js +1 -1
- package/dist/esm/icons.generated/WorkflowsSelected.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/labs/AppTile.js +1 -1
- package/dist/esm/labs/DataFilters.js +21 -13
- package/dist/esm/labs/DataFilters.js.map +1 -1
- package/dist/esm/labs/DataTable.js +1 -1
- package/dist/esm/labs/DataTablePagination.js +1 -1
- package/dist/esm/labs/DataView/BulkActionsMenu.js +1 -1
- package/dist/esm/labs/DataView/CardLayoutContent.js +2 -2
- package/dist/esm/labs/DataView/DataCard.js +1 -1
- package/dist/esm/labs/DataView/DataTable.js +1 -1
- package/dist/esm/labs/DataView/DataView.js +5 -3
- package/dist/esm/labs/DataView/DataView.js.map +1 -1
- package/dist/esm/labs/DataView/DetailPanel.js +1 -1
- package/dist/esm/labs/DataView/LayoutSwitcher.js +1 -1
- package/dist/esm/labs/DataView/RowActions.js +1 -1
- package/dist/esm/labs/DataView/TableLayoutContent.js +1 -1
- package/dist/esm/labs/DataView/TableSettings.js +1 -1
- package/dist/esm/labs/DataView/componentTypes.js.map +1 -1
- package/dist/esm/labs/DatePickers/DateTimeField.js +1 -1
- package/dist/esm/labs/DatePickers/DateTimePicker.js +1 -1
- package/dist/esm/labs/OdysseyPickers/ComposablePicker.js +1 -1
- package/dist/esm/labs/OdysseyPickers/Picker.js +1 -1
- package/dist/esm/labs/OdysseyPickers/PickerVirtualizationListBox.js +1 -1
- package/dist/esm/labs/OdysseyPickers/PickerWithOptionAdornment.js +1 -1
- package/dist/esm/labs/OdysseyPickers/SearchDropdown.js +1 -1
- package/dist/esm/labs/PageTemplate/DocumentationLink.js +1 -1
- package/dist/esm/labs/PageTemplate/Layout.js +1 -1
- package/dist/esm/labs/PageTemplate/PageTemplate.js +1 -1
- package/dist/esm/labs/PaginatedTable.js +1 -1
- package/dist/esm/labs/StaticTable.js +1 -1
- package/dist/esm/labs/UserProfile.js +1 -1
- package/dist/esm/labs/UserProfileMenuButton.js +1 -1
- package/dist/esm/logos.generated/Duo.js +1 -1
- package/dist/esm/logos.generated/GoogleAuth.js +1 -1
- package/dist/esm/logos.generated/OktaVerify.js +1 -1
- package/dist/esm/logos.generated/Persona.js +1 -1
- package/dist/esm/logos.generated/SymantecVip.js +1 -1
- package/dist/esm/logos.generated/Yubikey.js +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_cs.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_cs.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_da.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_da.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_de.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_de.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_el.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_el.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_es.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_es.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_eu.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_eu.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_fi.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_fi.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_fr.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_fr.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ht.js +11 -10
- package/dist/esm/properties/ts/odyssey-react-mui_ht.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_hu.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_hu.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_id.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_id.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_it.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_it.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ja.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ja.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ko.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_ko.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ms.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_ms.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_nb.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_nb.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_nl_NL.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_nl_NL.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ok_PL.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_ok_PL.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ok_SK.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_ok_SK.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_pl.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_pl.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_pt_BR.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_pt_BR.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ro.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_ro.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ru.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_ru.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_sv.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_sv.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_th.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_th.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_tr.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_tr.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_uk.js +2 -1
- package/dist/esm/properties/ts/odyssey-react-mui_uk.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_vi.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_vi.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_zh_CN.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_zh_CN.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js +1 -0
- package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js.map +1 -1
- package/dist/esm/test-utils/renderWithOdysseyProvider.js +2 -3
- package/dist/esm/test-utils/renderWithOdysseyProvider.js.map +1 -1
- package/dist/esm/test-utils/viewportTestSizes.js +17 -0
- package/dist/esm/test-utils/viewportTestSizes.js.map +1 -0
- package/dist/esm/theme/components/Dialog.js +6 -2
- package/dist/esm/theme/components/Dialog.js.map +1 -1
- package/dist/esm/theme/components/Form.js +1 -1
- package/dist/esm/theme/components/Form.js.map +1 -1
- package/dist/esm/theme/useMediaQuery.js +32 -10
- package/dist/esm/theme/useMediaQuery.js.map +1 -1
- package/dist/esm/ui-shell/AppSwitcher/AppSwitcher.js +1 -1
- package/dist/esm/ui-shell/InnerAppContainer.js +1 -1
- package/dist/esm/ui-shell/NarrowUiShellContent.js +20 -2
- package/dist/esm/ui-shell/NarrowUiShellContent.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/NavAccordion.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNav.js +22 -12
- package/dist/esm/ui-shell/SideNav/SideNav.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavFooterContent.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavHeader.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavItemContent.js +76 -20
- package/dist/esm/ui-shell/SideNav/SideNavItemContent.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavItemContentContext.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavItemLinkContent.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavSortableList.js +3 -2
- package/dist/esm/ui-shell/SideNav/SideNavSortableList.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavToggleButton.js +2 -2
- package/dist/esm/ui-shell/SideNav/SortableList/SortableItem.js +45 -23
- package/dist/esm/ui-shell/SideNav/SortableList/SortableItem.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/SortableList/SortableList.js +2 -1
- package/dist/esm/ui-shell/SideNav/SortableList/SortableList.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/SortableList/SortableOverlay.js +12 -1
- package/dist/esm/ui-shell/SideNav/SortableList/SortableOverlay.js.map +1 -1
- package/dist/esm/ui-shell/SkipToContent.js +1 -1
- package/dist/esm/ui-shell/TopNav/HamburgerMenuIcon.js +1 -1
- package/dist/esm/ui-shell/TopNav/TopNav.js +1 -1
- package/dist/esm/ui-shell/TopNav/TopNavLinksList.js +1 -1
- package/dist/esm/ui-shell/TopNav/TopNavListItem.js +1 -1
- package/dist/esm/ui-shell/UiShell.js +1 -1
- package/dist/esm/ui-shell/UiShellLogo.js +1 -1
- package/dist/esm/ui-shell/WideUiShellContent.js +1 -1
- package/dist/esm/ui-shell/index.js +0 -1
- package/dist/esm/ui-shell/index.js.map +1 -1
- package/dist/esm/web-component/odysseyWebComponentVersion.generated.js +1 -1
- package/dist/esm/web-component/odysseyWebComponentVersion.generated.js.map +1 -1
- package/dist/esm/web-component/renderReactInWebComponent.js +18 -28
- package/dist/esm/web-component/renderReactInWebComponent.js.map +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/dist/types/Callout.d.ts.map +1 -1
- package/dist/types/Dialog.d.ts.map +1 -1
- package/dist/types/Drawer.d.ts.map +1 -1
- package/dist/types/FullScreenOverlayContext.d.ts +1 -0
- package/dist/types/FullScreenOverlayContext.d.ts.map +1 -1
- package/dist/types/PasswordField.d.ts +20 -0
- package/dist/types/PasswordField.d.ts.map +1 -1
- package/dist/types/ToastStack.d.ts.map +1 -1
- package/dist/types/i18n.generated/i18n.d.ts +2 -0
- package/dist/types/i18n.generated/i18n.d.ts.map +1 -1
- package/dist/types/i18n.generated/i18n.resources.d.ts +50 -19
- package/dist/types/i18n.generated/i18n.resources.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/labs/DataFilters.d.ts.map +1 -1
- package/dist/types/labs/DataView/DataView.d.ts.map +1 -1
- package/dist/types/labs/DataView/componentTypes.d.ts +7 -0
- package/dist/types/labs/DataView/componentTypes.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_cs.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_cs.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_da.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_da.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_de.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_de.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_el.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_el.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_es.d.ts +2 -1
- package/dist/types/properties/ts/odyssey-react-mui_es.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_eu.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_eu.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_fi.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_fi.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_fr.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_fr.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ht.d.ts +11 -10
- package/dist/types/properties/ts/odyssey-react-mui_ht.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_hu.d.ts +2 -1
- package/dist/types/properties/ts/odyssey-react-mui_hu.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_id.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_id.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_it.d.ts +2 -1
- package/dist/types/properties/ts/odyssey-react-mui_it.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ja.d.ts +2 -1
- package/dist/types/properties/ts/odyssey-react-mui_ja.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ko.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_ko.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ms.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_ms.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_nb.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_nb.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_nl_NL.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_nl_NL.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ok_PL.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_ok_PL.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ok_SK.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_ok_SK.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_pl.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_pl.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_pt_BR.d.ts +2 -1
- package/dist/types/properties/ts/odyssey-react-mui_pt_BR.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ro.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_ro.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ru.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_ru.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_sv.d.ts +2 -1
- package/dist/types/properties/ts/odyssey-react-mui_sv.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_th.d.ts +2 -1
- package/dist/types/properties/ts/odyssey-react-mui_th.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_tr.d.ts +2 -1
- package/dist/types/properties/ts/odyssey-react-mui_tr.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_uk.d.ts +2 -1
- package/dist/types/properties/ts/odyssey-react-mui_uk.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_vi.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_vi.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_zh_CN.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_zh_CN.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts +1 -0
- package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts.map +1 -1
- package/dist/types/test-utils/renderWithOdysseyProvider.d.ts +14 -1
- package/dist/types/test-utils/renderWithOdysseyProvider.d.ts.map +1 -1
- package/dist/types/test-utils/viewportTestSizes.d.ts +16 -0
- package/dist/types/test-utils/viewportTestSizes.d.ts.map +1 -0
- package/dist/types/theme/components/Dialog.d.ts.map +1 -1
- package/dist/types/theme/components/Form.d.ts.map +1 -1
- package/dist/types/theme/useMediaQuery.d.ts +63 -0
- package/dist/types/theme/useMediaQuery.d.ts.map +1 -1
- package/dist/types/ui-shell/NarrowUiShellContent.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/SideNav.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/SideNavItemContent.d.ts +8 -8
- package/dist/types/ui-shell/SideNav/SideNavItemContent.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/SideNavItemContentContext.d.ts +6 -0
- package/dist/types/ui-shell/SideNav/SideNavItemContentContext.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/SideNavSortableList.d.ts +1 -1
- package/dist/types/ui-shell/SideNav/SideNavSortableList.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/SortableList/SortableItem.d.ts +5 -3
- package/dist/types/ui-shell/SideNav/SortableList/SortableItem.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/SortableList/SortableList.d.ts +8 -1
- package/dist/types/ui-shell/SideNav/SortableList/SortableList.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/SortableList/SortableOverlay.d.ts +5 -0
- package/dist/types/ui-shell/SideNav/SortableList/SortableOverlay.d.ts.map +1 -1
- package/dist/types/ui-shell/index.d.ts +0 -1
- package/dist/types/ui-shell/index.d.ts.map +1 -1
- package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
- package/dist/types/web-component/renderReactInWebComponent.d.ts +0 -2
- package/dist/types/web-component/renderReactInWebComponent.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FullScreenOverlayContext.js","names":["createContext","memo","useContext","useEffect","useMemo","createShadowDomElements","jsx","_jsx","FullScreenOverlayContext","useFullScreenOverlayContext","OVERLAY_DATA_ATTRIBUTES","dialog","drawer","default","FullScreenOverlayProvider","children","hasShadowDom","overlayParentElement","overlayParentElementProp","overlayType","fullScreenOverlayId","overlayEmotionRootElement","overlayShadowRootElement","document","createElement","emotionRootElement","shadowRootElement","undefined","id","removeAttribute","setAttribute","body","append","remove","providerValue","Provider","value","MemoizedFullScreenOverlayProvider","displayName"],"sources":["../../src/FullScreenOverlayContext.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2025-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 createContext,\n memo,\n type ReactNode,\n useContext,\n useEffect,\n useMemo,\n} from \"react\";\n\nimport { createShadowDomElements } from \"./web-component/createShadowDomElements.js\";\n\nexport type FullScreenOverlayContextType = {\n overlayEmotionRootElement?: HTMLDivElement | HTMLElement;\n overlayShadowRootElement?: HTMLDivElement | HTMLElement;\n};\n\nexport const FullScreenOverlayContext =\n createContext<FullScreenOverlayContextType>({});\n\nexport const useFullScreenOverlayContext = () =>\n useContext(FullScreenOverlayContext);\n\nexport const OVERLAY_DATA_ATTRIBUTES = {\n dialog: \"data-odyssey-react-dialog-overlay-component\",\n drawer: \"data-odyssey-react-drawer-overlay-component\",\n default: \"data-odyssey-react-overlay-component\",\n} as const;\n\nexport type OverlayType = keyof typeof OVERLAY_DATA_ATTRIBUTES;\n\nexport type FullScreenOverlayProviderProps = {\n children: ReactNode;\n /**\n * An optional HTML `id` attribute to be applied to the overlay's container element.\n */\n fullScreenOverlayId?: string;\n hasShadowDom?: boolean;\n /**\n * @experimental This is the element overlays will render into. By default, it's set to `document.body`.\n *\n * If you specify this value , it will render overlays into this container, such as the `shadowRootElement` over the document body. Most likely, you don't need to change this value, but you might run into strange issues related iframes and other shadow roots. This is here as a safeguard; not meant to be used.\n */\n overlayParentElement?: HTMLDivElement | HTMLElement;\n /**\n * Type of overlay being rendered. This controls the data attribute set on the overlay parent element.\n * @default \"default\"\n */\n overlayType?: OverlayType;\n};\n\nconst FullScreenOverlayProvider = ({\n children,\n hasShadowDom,\n overlayParentElement: overlayParentElementProp,\n overlayType = \"default\",\n fullScreenOverlayId,\n}: FullScreenOverlayProviderProps) => {\n const {\n overlayEmotionRootElement,\n overlayParentElement,\n overlayShadowRootElement,\n } = useMemo(() => {\n const overlayParentElement =\n overlayParentElementProp || document.createElement(\"div\");\n\n if (hasShadowDom) {\n const { emotionRootElement, shadowRootElement } =\n createShadowDomElements(overlayParentElement);\n\n return {\n overlayEmotionRootElement: emotionRootElement,\n overlayParentElement,\n overlayShadowRootElement: shadowRootElement,\n };\n }\n\n return {\n overlayEmotionRootElement: undefined,\n overlayParentElement,\n overlayShadowRootElement: undefined,\n };\n }, [hasShadowDom, overlayParentElementProp]);\n\n useEffect(() => {\n if (overlayParentElement) {\n if (fullScreenOverlayId) {\n overlayParentElement.id = fullScreenOverlayId;\n } else {\n overlayParentElement.removeAttribute(\"id\");\n }\n overlayParentElement.setAttribute(\n OVERLAY_DATA_ATTRIBUTES[overlayType],\n \"\",\n );\n document.body.append(overlayParentElement);\n }\n\n return () => {\n overlayParentElement.remove();\n };\n }, [fullScreenOverlayId, overlayParentElement, overlayType]);\n\n const providerValue = useMemo(\n () => ({\n overlayEmotionRootElement,\n overlayShadowRootElement,\n }),\n [overlayEmotionRootElement, overlayShadowRootElement],\n );\n\n return (\n <FullScreenOverlayContext.Provider value={providerValue}>\n {children}\n </FullScreenOverlayContext.Provider>\n );\n};\n\nconst MemoizedFullScreenOverlayProvider = memo(FullScreenOverlayProvider);\nMemoizedFullScreenOverlayProvider.displayName = \"FullScreenOverlayProvider\";\n\nexport { MemoizedFullScreenOverlayProvider as FullScreenOverlayProvider };\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SACEA,aAAa,EACbC,IAAI,EAEJC,UAAU,EACVC,SAAS,EACTC,OAAO,QACF,OAAO;AAEd,SAASC,uBAAuB,QAAQ,4CAA4C;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAOrF,OAAO,MAAMC,wBAAwB,GACnCR,aAAa,CAA+B,CAAC,CAAC,CAAC;AAEjD,OAAO,MAAMS,2BAA2B,GAAGA,CAAA,KACzCP,UAAU,CAACM,wBAAwB,CAAC;AAEtC,OAAO,MAAME,uBAAuB,GAAG;EACrCC,MAAM,EAAE,6CAA6C;EACrDC,MAAM,EAAE,6CAA6C;EACrDC,OAAO,EAAE;AACX,CAAU;AAwBV,MAAMC,yBAAyB,GAAGA,CAAC;EACjCC,QAAQ;EACRC,YAAY;EACZC,oBAAoB,EAAEC,wBAAwB;EAC9CC,WAAW,GAAG,SAAS;EACvBC;AAC8B,CAAC,KAAK;EACpC,MAAM;IACJC,yBAAyB;IACzBJ,oBAAoB;IACpBK;EACF,CAAC,
|
|
1
|
+
{"version":3,"file":"FullScreenOverlayContext.js","names":["createContext","memo","useContext","useEffect","useMemo","createShadowDomElements","jsx","_jsx","FullScreenOverlayContext","useFullScreenOverlayContext","OVERLAY_DATA_ATTRIBUTES","dialog","drawer","toastStack","default","FullScreenOverlayProvider","children","hasShadowDom","overlayParentElement","overlayParentElementProp","overlayType","fullScreenOverlayId","overlayEmotionRootElement","overlayShadowRootElement","document","createElement","emotionRootElement","shadowRootElement","undefined","id","removeAttribute","setAttribute","body","append","remove","providerValue","Provider","value","MemoizedFullScreenOverlayProvider","displayName"],"sources":["../../src/FullScreenOverlayContext.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2025-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 createContext,\n memo,\n type ReactNode,\n useContext,\n useEffect,\n useMemo,\n} from \"react\";\n\nimport { createShadowDomElements } from \"./web-component/createShadowDomElements.js\";\n\nexport type FullScreenOverlayContextType = {\n overlayEmotionRootElement?: HTMLDivElement | HTMLElement;\n overlayShadowRootElement?: HTMLDivElement | HTMLElement;\n};\n\nexport const FullScreenOverlayContext =\n createContext<FullScreenOverlayContextType>({});\n\nexport const useFullScreenOverlayContext = () =>\n useContext(FullScreenOverlayContext);\n\nexport const OVERLAY_DATA_ATTRIBUTES = {\n dialog: \"data-odyssey-react-dialog-overlay-component\",\n drawer: \"data-odyssey-react-drawer-overlay-component\",\n toastStack: \"data-odyssey-react-toast-stack-overlay-component\",\n default: \"data-odyssey-react-overlay-component\",\n} as const;\n\nexport type OverlayType = keyof typeof OVERLAY_DATA_ATTRIBUTES;\n\nexport type FullScreenOverlayProviderProps = {\n children: ReactNode;\n /**\n * An optional HTML `id` attribute to be applied to the overlay's container element.\n */\n fullScreenOverlayId?: string;\n hasShadowDom?: boolean;\n /**\n * @experimental This is the element overlays will render into. By default, it's set to `document.body`.\n *\n * If you specify this value , it will render overlays into this container, such as the `shadowRootElement` over the document body. Most likely, you don't need to change this value, but you might run into strange issues related iframes and other shadow roots. This is here as a safeguard; not meant to be used.\n */\n overlayParentElement?: HTMLDivElement | HTMLElement;\n /**\n * Type of overlay being rendered. This controls the data attribute set on the overlay parent element.\n * @default \"default\"\n */\n overlayType?: OverlayType;\n};\n\nconst FullScreenOverlayProvider = ({\n children,\n hasShadowDom,\n overlayParentElement: overlayParentElementProp,\n overlayType = \"default\",\n fullScreenOverlayId,\n}: FullScreenOverlayProviderProps) => {\n const {\n overlayEmotionRootElement,\n overlayParentElement,\n overlayShadowRootElement,\n } = useMemo(() => {\n const overlayParentElement =\n overlayParentElementProp || document.createElement(\"div\");\n\n if (hasShadowDom) {\n const { emotionRootElement, shadowRootElement } =\n createShadowDomElements(overlayParentElement);\n\n return {\n overlayEmotionRootElement: emotionRootElement,\n overlayParentElement,\n overlayShadowRootElement: shadowRootElement,\n };\n }\n\n return {\n overlayEmotionRootElement: undefined,\n overlayParentElement,\n overlayShadowRootElement: undefined,\n };\n }, [hasShadowDom, overlayParentElementProp]);\n\n useEffect(() => {\n if (overlayParentElement) {\n if (fullScreenOverlayId) {\n overlayParentElement.id = fullScreenOverlayId;\n } else {\n overlayParentElement.removeAttribute(\"id\");\n }\n overlayParentElement.setAttribute(\n OVERLAY_DATA_ATTRIBUTES[overlayType],\n \"\",\n );\n document.body.append(overlayParentElement);\n }\n\n return () => {\n overlayParentElement.remove();\n };\n }, [fullScreenOverlayId, overlayParentElement, overlayType]);\n\n const providerValue = useMemo(\n () => ({\n overlayEmotionRootElement,\n overlayShadowRootElement,\n }),\n [overlayEmotionRootElement, overlayShadowRootElement],\n );\n\n return (\n <FullScreenOverlayContext.Provider value={providerValue}>\n {children}\n </FullScreenOverlayContext.Provider>\n );\n};\n\nconst MemoizedFullScreenOverlayProvider = memo(FullScreenOverlayProvider);\nMemoizedFullScreenOverlayProvider.displayName = \"FullScreenOverlayProvider\";\n\nexport { MemoizedFullScreenOverlayProvider as FullScreenOverlayProvider };\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SACEA,aAAa,EACbC,IAAI,EAEJC,UAAU,EACVC,SAAS,EACTC,OAAO,QACF,OAAO;AAEd,SAASC,uBAAuB,QAAQ,4CAA4C;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAOrF,OAAO,MAAMC,wBAAwB,GACnCR,aAAa,CAA+B,CAAC,CAAC,CAAC;AAEjD,OAAO,MAAMS,2BAA2B,GAAGA,CAAA,KACzCP,UAAU,CAACM,wBAAwB,CAAC;AAEtC,OAAO,MAAME,uBAAuB,GAAG;EACrCC,MAAM,EAAE,6CAA6C;EACrDC,MAAM,EAAE,6CAA6C;EACrDC,UAAU,EAAE,kDAAkD;EAC9DC,OAAO,EAAE;AACX,CAAU;AAwBV,MAAMC,yBAAyB,GAAGA,CAAC;EACjCC,QAAQ;EACRC,YAAY;EACZC,oBAAoB,EAAEC,wBAAwB;EAC9CC,WAAW,GAAG,SAAS;EACvBC;AAC8B,CAAC,KAAK;EACpC,MAAM;IACJC,yBAAyB;IACzBJ,oBAAoB;IACpBK;EACF,CAAC,GAAGnB,OAAO,CAAC,MAAM;IAChB,MAAMc,oBAAoB,GACxBC,wBAAwB,IAAIK,QAAQ,CAACC,aAAa,CAAC,KAAK,CAAC;IAE3D,IAAIR,YAAY,EAAE;MAChB,MAAM;QAAES,kBAAkB;QAAEC;MAAkB,CAAC,GAC7CtB,uBAAuB,CAACa,oBAAoB,CAAC;MAE/C,OAAO;QACLI,yBAAyB,EAAEI,kBAAkB;QAC7CR,oBAAoB;QACpBK,wBAAwB,EAAEI;MAC5B,CAAC;IACH;IAEA,OAAO;MACLL,yBAAyB,EAAEM,SAAS;MACpCV,oBAAoB;MACpBK,wBAAwB,EAAEK;IAC5B,CAAC;EACH,CAAC,EAAE,CAACX,YAAY,EAAEE,wBAAwB,CAAC,CAAC;EAE5ChB,SAAS,CAAC,MAAM;IACd,IAAIe,oBAAoB,EAAE;MACxB,IAAIG,mBAAmB,EAAE;QACvBH,oBAAoB,CAACW,EAAE,GAAGR,mBAAmB;MAC/C,CAAC,MAAM;QACLH,oBAAoB,CAACY,eAAe,CAAC,IAAI,CAAC;MAC5C;MACAZ,oBAAoB,CAACa,YAAY,CAC/BrB,uBAAuB,CAACU,WAAW,CAAC,EACpC,EACF,CAAC;MACDI,QAAQ,CAACQ,IAAI,CAACC,MAAM,CAACf,oBAAoB,CAAC;IAC5C;IAEA,OAAO,MAAM;MACXA,oBAAoB,CAACgB,MAAM,CAAC,CAAC;IAC/B,CAAC;EACH,CAAC,EAAE,CAACb,mBAAmB,EAAEH,oBAAoB,EAAEE,WAAW,CAAC,CAAC;EAE5D,MAAMe,aAAa,GAAG/B,OAAO,CAC3B,OAAO;IACLkB,yBAAyB;IACzBC;EACF,CAAC,CAAC,EACF,CAACD,yBAAyB,EAAEC,wBAAwB,CACtD,CAAC;EAED,OACEhB,IAAA,CAACC,wBAAwB,CAAC4B,QAAQ;IAACC,KAAK,EAAEF,aAAc;IAAAnB,QAAA,EACrDA;EAAQ,CACwB,CAAC;AAExC,CAAC;AAED,MAAMsB,iCAAiC,GAAGrC,IAAI,CAACc,yBAAyB,CAAC;AACzEuB,iCAAiC,CAACC,WAAW,2DAA8B;AAE3E,SAASD,iCAAiC,IAAIvB,yBAAyB","ignoreList":[]}
|
package/dist/esm/HintLink.js
CHANGED
|
@@ -18,6 +18,6 @@ const HintLink = props => _jsx(Link, {
|
|
|
18
18
|
variant: "monochrome"
|
|
19
19
|
});
|
|
20
20
|
const MemoizedHintLink = memo(HintLink);
|
|
21
|
-
MemoizedHintLink.displayName = "HintLink::pkg=odyssey&odysseyV=1.
|
|
21
|
+
MemoizedHintLink.displayName = "HintLink::pkg=odyssey&odysseyV=1.65.1";
|
|
22
22
|
export { MemoizedHintLink as HintLink };
|
|
23
23
|
//# sourceMappingURL=HintLink.js.map
|
|
@@ -60,6 +60,6 @@ const IconWithTooltip = ({
|
|
|
60
60
|
});
|
|
61
61
|
};
|
|
62
62
|
const MemoizedIconWithTooltip = memo(IconWithTooltip);
|
|
63
|
-
MemoizedIconWithTooltip.displayName = "IconWithTooltip::pkg=odyssey&odysseyV=1.
|
|
63
|
+
MemoizedIconWithTooltip.displayName = "IconWithTooltip::pkg=odyssey&odysseyV=1.65.1";
|
|
64
64
|
export { MemoizedIconWithTooltip as IconWithTooltip };
|
|
65
65
|
//# sourceMappingURL=IconWithTooltip.js.map
|
package/dist/esm/Link.js
CHANGED
|
@@ -74,6 +74,6 @@ const Link = ({
|
|
|
74
74
|
});
|
|
75
75
|
};
|
|
76
76
|
const MemoizedLink = memo(Link);
|
|
77
|
-
MemoizedLink.displayName = "Link::pkg=odyssey&odysseyV=1.
|
|
77
|
+
MemoizedLink.displayName = "Link::pkg=odyssey&odysseyV=1.65.1";
|
|
78
78
|
export { MemoizedLink as Link };
|
|
79
79
|
//# sourceMappingURL=Link.js.map
|
|
@@ -27,6 +27,6 @@ const MuiPropsChild = forwardRef(({
|
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
29
|
const MemoizedMuiPropsChild = memo(MuiPropsChild);
|
|
30
|
-
MemoizedMuiPropsChild.displayName = "MuiPropsChild::pkg=odyssey&odysseyV=1.
|
|
30
|
+
MemoizedMuiPropsChild.displayName = "MuiPropsChild::pkg=odyssey&odysseyV=1.65.1";
|
|
31
31
|
export { MemoizedMuiPropsChild as MuiPropsChild };
|
|
32
32
|
//# sourceMappingURL=MuiPropsChild.js.map
|
package/dist/esm/NativeSelect.js
CHANGED
|
@@ -101,6 +101,6 @@ const NativeSelect = forwardRef(({
|
|
|
101
101
|
});
|
|
102
102
|
});
|
|
103
103
|
const MemoizedNativeSelect = memo(NativeSelect);
|
|
104
|
-
MemoizedNativeSelect.displayName = "NativeSelect::pkg=odyssey&odysseyV=1.
|
|
104
|
+
MemoizedNativeSelect.displayName = "NativeSelect::pkg=odyssey&odysseyV=1.65.1";
|
|
105
105
|
export { MemoizedNativeSelect as NativeSelect };
|
|
106
106
|
//# sourceMappingURL=NativeSelect.js.map
|
|
@@ -41,6 +41,6 @@ const OdysseyCacheProvider = ({
|
|
|
41
41
|
});
|
|
42
42
|
};
|
|
43
43
|
const MemoizedOdysseyCacheProvider = memo(OdysseyCacheProvider);
|
|
44
|
-
MemoizedOdysseyCacheProvider.displayName = "OdysseyCacheProvider::pkg=odyssey&odysseyV=1.
|
|
44
|
+
MemoizedOdysseyCacheProvider.displayName = "OdysseyCacheProvider::pkg=odyssey&odysseyV=1.65.1";
|
|
45
45
|
export { MemoizedOdysseyCacheProvider as OdysseyCacheProvider };
|
|
46
46
|
//# sourceMappingURL=OdysseyCacheProvider.js.map
|
|
@@ -75,6 +75,6 @@ const OdysseyProvider = ({
|
|
|
75
75
|
});
|
|
76
76
|
};
|
|
77
77
|
const MemoizedOdysseyProvider = memo(OdysseyProvider);
|
|
78
|
-
MemoizedOdysseyProvider.displayName = "OdysseyProvider::pkg=odyssey&odysseyV=1.
|
|
78
|
+
MemoizedOdysseyProvider.displayName = "OdysseyProvider::pkg=odyssey&odysseyV=1.65.1";
|
|
79
79
|
export { MemoizedOdysseyProvider as OdysseyProvider };
|
|
80
80
|
//# sourceMappingURL=OdysseyProvider.js.map
|
|
@@ -83,6 +83,6 @@ const OdysseyThemeProvider = ({
|
|
|
83
83
|
}) : providerComponents;
|
|
84
84
|
};
|
|
85
85
|
const MemoizedOdysseyThemeProvider = memo(OdysseyThemeProvider);
|
|
86
|
-
MemoizedOdysseyThemeProvider.displayName = "OdysseyThemeProvider::pkg=odyssey&odysseyV=1.
|
|
86
|
+
MemoizedOdysseyThemeProvider.displayName = "OdysseyThemeProvider::pkg=odyssey&odysseyV=1.65.1";
|
|
87
87
|
export { MemoizedOdysseyThemeProvider as OdysseyThemeProvider };
|
|
88
88
|
//# sourceMappingURL=OdysseyThemeProvider.js.map
|
|
@@ -33,6 +33,6 @@ const OdysseyThemeProviderPropsProvider = ({
|
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
35
|
const MemoizedOdysseyThemeProviderPropsProvider = memo(OdysseyThemeProviderPropsProvider);
|
|
36
|
-
MemoizedOdysseyThemeProviderPropsProvider.displayName = "OdysseyThemeProviderPropsProvider::pkg=odyssey&odysseyV=1.
|
|
36
|
+
MemoizedOdysseyThemeProviderPropsProvider.displayName = "OdysseyThemeProviderPropsProvider::pkg=odyssey&odysseyV=1.65.1";
|
|
37
37
|
export { MemoizedOdysseyThemeProviderPropsProvider as OdysseyThemeProviderPropsProvider };
|
|
38
38
|
//# sourceMappingURL=OdysseyThemeProviderPropsContext.js.map
|
|
@@ -255,6 +255,6 @@ const Pagination = ({
|
|
|
255
255
|
});
|
|
256
256
|
};
|
|
257
257
|
const MemoizedPagination = memo(Pagination);
|
|
258
|
-
MemoizedPagination.displayName = "Pagination::pkg=odyssey&odysseyV=1.
|
|
258
|
+
MemoizedPagination.displayName = "Pagination::pkg=odyssey&odysseyV=1.65.1";
|
|
259
259
|
export { MemoizedPagination as Pagination };
|
|
260
260
|
//# sourceMappingURL=Pagination.js.map
|
|
@@ -39,6 +39,7 @@ const PasswordField = forwardRef(({
|
|
|
39
39
|
onFocus,
|
|
40
40
|
onBlur,
|
|
41
41
|
placeholder,
|
|
42
|
+
showPasswordToggleAriaLabel,
|
|
42
43
|
testId,
|
|
43
44
|
translate,
|
|
44
45
|
value
|
|
@@ -84,7 +85,7 @@ const PasswordField = forwardRef(({
|
|
|
84
85
|
position: "end",
|
|
85
86
|
children: _jsx(_IconButton, {
|
|
86
87
|
"aria-controls": id,
|
|
87
|
-
"aria-label": t("passwordfield.icon.label.show"),
|
|
88
|
+
"aria-label": showPasswordToggleAriaLabel ?? t("passwordfield.icon.label.show"),
|
|
88
89
|
"aria-pressed": inputType === "text",
|
|
89
90
|
onClick: togglePasswordVisibility,
|
|
90
91
|
children: inputType === "password" ? _jsx(ShowIcon, {}) : _jsx(HideIcon, {})
|
|
@@ -109,7 +110,7 @@ const PasswordField = forwardRef(({
|
|
|
109
110
|
required: !isOptional,
|
|
110
111
|
translate: translate,
|
|
111
112
|
type: inputType
|
|
112
|
-
}), [autoCompleteType, hasInitialFocus, inputValues, t, togglePasswordVisibility, inputType, nameOverride, onChange, onFocus, onBlur, placeholder, isOptional, isReadOnly, hasShowPassword, ref, testId, translate]);
|
|
113
|
+
}), [autoCompleteType, hasInitialFocus, inputValues, t, togglePasswordVisibility, inputType, nameOverride, onChange, onFocus, onBlur, placeholder, isOptional, isReadOnly, hasShowPassword, ref, showPasswordToggleAriaLabel, testId, translate]);
|
|
113
114
|
return _jsx(Field, {
|
|
114
115
|
ariaDescribedBy: ariaDescribedBy,
|
|
115
116
|
errorMessage: errorMessage,
|
|
@@ -127,6 +128,6 @@ const PasswordField = forwardRef(({
|
|
|
127
128
|
});
|
|
128
129
|
});
|
|
129
130
|
const MemoizedPasswordField = memo(PasswordField);
|
|
130
|
-
MemoizedPasswordField.displayName = "PasswordField::pkg=odyssey&odysseyV=1.
|
|
131
|
+
MemoizedPasswordField.displayName = "PasswordField::pkg=odyssey&odysseyV=1.65.1";
|
|
131
132
|
export { MemoizedPasswordField as PasswordField };
|
|
132
133
|
//# sourceMappingURL=PasswordField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordField.js","names":["forwardRef","memo","useCallback","useImperativeHandle","useRef","useState","Field","useTranslation","HideIcon","ShowIcon","getControlState","useInputValues","jsx","_jsx","PasswordField","ariaDescribedBy","autoCompleteType","defaultValue","errorMessage","errorMessageList","hasInitialFocus","hint","id","idOverride","inputRef","isDisabled","isFullWidth","isOptional","hasShowPassword","isReadOnly","label","name","nameOverride","onChange","onChangeProp","onFocus","onBlur","placeholder","testId","translate","value","ref","t","inputType","setInputType","togglePasswordVisibility","controlledStateRef","controlledValue","uncontrolledValue","inputValues","controlState","current","localInputRef","focus","event","renderFieldComponent","errorMessageElementId","labelElementId","_InputBase","autoComplete","autoFocus","endAdornment","_InputAdornment","position","children","_IconButton","onClick","inputProps","role","readOnly","required","type","fieldType","hasVisibleLabel","MemoizedPasswordField","displayName"],"sources":["../../src/PasswordField.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 { IconButton, InputAdornment, InputBase } from \"@mui/material\";\nimport {\n ChangeEventHandler,\n FocusEventHandler,\n forwardRef,\n memo,\n useCallback,\n useImperativeHandle,\n useRef,\n useState,\n} from \"react\";\n\nimport type { HtmlProps } from \"./HtmlProps.js\";\n\nimport { Field } from \"./Field.js\";\nimport {\n FieldComponentProps,\n FieldComponentRenderProps,\n} from \"./FieldComponentProps.js\";\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\nimport { HideIcon, ShowIcon } from \"./icons.generated/index.js\";\nimport { FocusHandle, getControlState, useInputValues } from \"./inputUtils.js\";\n\nexport type PasswordFieldProps = {\n /**\n * Controls the browser autocomplete hint for the password field.\n * - If `'current-password'`, hints that the field is for signing in with an existing password.\n * - If `'new-password'`, hints that the field is for creating or updating a password; browsers may suggest a strong password.\n */\n autoCompleteType?: \"current-password\" | \"new-password\";\n /**\n * initial value for input. Use when component in uncontrolled.\n */\n defaultValue?: string;\n /**\n * If `true`, the input receives focus automatically on mount.\n */\n hasInitialFocus?: boolean;\n /**\n * If `true`, renders a toggle button that lets the user reveal or hide the password value.\n * @default true\n */\n hasShowPassword?: boolean;\n /**\n * Ref attached to the underlying <input> element.\n */\n inputRef?: React.RefObject<FocusHandle>;\n /**\n * The label for the `input` element.\n */\n label: string;\n /**\n * Called when the input loses focus.\n */\n onBlur?: FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;\n /**\n * Called when the input value changes.\n */\n onChange?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;\n /**\n * Called when the input gains focus.\n */\n onFocus?: FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder?: string;\n /**\n * The value of the `input` element. Use when component is controlled.\n */\n value?: string;\n} & FieldComponentProps &\n Pick<HtmlProps, \"ariaDescribedBy\" | \"testId\" | \"translate\">;\n\ntype FieldRenderProps = Partial<\n Pick<FieldComponentRenderProps, \"ariaDescribedBy\" | \"errorMessageElementId\">\n> &\n Pick<FieldComponentRenderProps, \"id\" | \"labelElementId\">;\n\n/**\n * A text field for collecting sensitive input such as passwords. Renders a masked\n * input with an optional toggle button that lets users reveal or hide the entered value.\n */\nconst PasswordField = forwardRef<HTMLInputElement, PasswordFieldProps>(\n (\n {\n ariaDescribedBy,\n autoCompleteType,\n defaultValue,\n errorMessage,\n errorMessageList,\n hasInitialFocus,\n hint,\n id: idOverride,\n inputRef,\n isDisabled = false,\n isFullWidth = false,\n isOptional = false,\n hasShowPassword = true,\n isReadOnly,\n label,\n name: nameOverride,\n onChange: onChangeProp,\n onFocus,\n onBlur,\n placeholder,\n testId,\n translate,\n value,\n },\n ref,\n ) => {\n const { t } = useTranslation();\n const [inputType, setInputType] = useState(\"password\");\n\n const togglePasswordVisibility = useCallback(() => {\n setInputType((inputType) =>\n inputType === \"password\" ? \"text\" : \"password\",\n );\n }, []);\n\n const controlledStateRef = useRef(\n getControlState({\n controlledValue: value,\n uncontrolledValue: defaultValue,\n }),\n );\n const inputValues = useInputValues({\n defaultValue,\n value,\n controlState: controlledStateRef.current,\n });\n\n const localInputRef = useRef<HTMLInputElement>(null);\n useImperativeHandle(inputRef, () => {\n return {\n focus: () => {\n localInputRef.current?.focus();\n },\n };\n }, []);\n\n const onChange = useCallback<\n ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>\n >(\n (event) => {\n onChangeProp?.(event);\n },\n [onChangeProp],\n );\n\n const renderFieldComponent = useCallback(\n ({\n ariaDescribedBy,\n errorMessageElementId,\n id,\n labelElementId,\n }: FieldRenderProps) => (\n <InputBase\n {...inputValues}\n aria-describedby={ariaDescribedBy}\n autoComplete={inputType === \"password\" ? autoCompleteType : \"off\"}\n /* eslint-disable-next-line jsx-a11y/no-autofocus */\n autoFocus={hasInitialFocus}\n endAdornment={\n hasShowPassword && (\n <InputAdornment position=\"end\">\n <IconButton\n aria-controls={id}\n aria-label={t(\"passwordfield.icon.label.show\")}\n aria-pressed={inputType === \"text\"}\n onClick={togglePasswordVisibility}\n >\n {inputType === \"password\" ? <ShowIcon /> : <HideIcon />}\n </IconButton>\n </InputAdornment>\n )\n }\n id={id}\n inputProps={{\n \"aria-errormessage\": errorMessageElementId,\n \"aria-labelledby\": labelElementId,\n \"aria-readonly\": isReadOnly,\n \"data-se\": testId,\n // role: \"textbox\" Added because password inputs don't have an implicit role assigned. This causes problems with element selection.\n role: \"textbox\",\n }}\n inputRef={localInputRef}\n name={nameOverride ?? id}\n onBlur={onBlur}\n onChange={onChange}\n onFocus={onFocus}\n placeholder={placeholder}\n readOnly={isReadOnly}\n ref={ref}\n required={!isOptional}\n translate={translate}\n type={inputType}\n />\n ),\n [\n autoCompleteType,\n hasInitialFocus,\n inputValues,\n t,\n togglePasswordVisibility,\n inputType,\n nameOverride,\n onChange,\n onFocus,\n onBlur,\n placeholder,\n isOptional,\n isReadOnly,\n hasShowPassword,\n ref,\n testId,\n translate,\n ],\n );\n\n return (\n <Field\n ariaDescribedBy={ariaDescribedBy}\n errorMessage={errorMessage}\n errorMessageList={errorMessageList}\n fieldType=\"single\"\n hasVisibleLabel\n hint={hint}\n id={idOverride}\n isDisabled={isDisabled}\n isFullWidth={isFullWidth}\n isOptional={isOptional}\n isReadOnly={isReadOnly}\n label={label}\n renderFieldComponent={renderFieldComponent}\n />\n );\n },\n);\n\nconst MemoizedPasswordField = memo(PasswordField);\nMemoizedPasswordField.displayName = \"PasswordField\";\n\nexport { MemoizedPasswordField as PasswordField };\n"],"mappings":"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","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"PasswordField.js","names":["forwardRef","memo","useCallback","useImperativeHandle","useRef","useState","Field","useTranslation","HideIcon","ShowIcon","getControlState","useInputValues","jsx","_jsx","PasswordField","ariaDescribedBy","autoCompleteType","defaultValue","errorMessage","errorMessageList","hasInitialFocus","hint","id","idOverride","inputRef","isDisabled","isFullWidth","isOptional","hasShowPassword","isReadOnly","label","name","nameOverride","onChange","onChangeProp","onFocus","onBlur","placeholder","showPasswordToggleAriaLabel","testId","translate","value","ref","t","inputType","setInputType","togglePasswordVisibility","controlledStateRef","controlledValue","uncontrolledValue","inputValues","controlState","current","localInputRef","focus","event","renderFieldComponent","errorMessageElementId","labelElementId","_InputBase","autoComplete","autoFocus","endAdornment","_InputAdornment","position","children","_IconButton","onClick","inputProps","role","readOnly","required","type","fieldType","hasVisibleLabel","MemoizedPasswordField","displayName"],"sources":["../../src/PasswordField.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 { IconButton, InputAdornment, InputBase } from \"@mui/material\";\nimport {\n ChangeEventHandler,\n FocusEventHandler,\n forwardRef,\n memo,\n useCallback,\n useImperativeHandle,\n useRef,\n useState,\n} from \"react\";\n\nimport type { HtmlProps } from \"./HtmlProps.js\";\n\nimport { Field } from \"./Field.js\";\nimport {\n FieldComponentProps,\n FieldComponentRenderProps,\n} from \"./FieldComponentProps.js\";\nimport { useTranslation } from \"./i18n.generated/i18n.js\";\nimport { HideIcon, ShowIcon } from \"./icons.generated/index.js\";\nimport { FocusHandle, getControlState, useInputValues } from \"./inputUtils.js\";\n\nexport type PasswordFieldProps = {\n /**\n * Controls the browser autocomplete hint for the password field.\n * - If `'current-password'`, hints that the field is for signing in with an existing password.\n * - If `'new-password'`, hints that the field is for creating or updating a password; browsers may suggest a strong password.\n */\n autoCompleteType?: \"current-password\" | \"new-password\";\n /**\n * initial value for input. Use when component in uncontrolled.\n */\n defaultValue?: string;\n /**\n * If `true`, the input receives focus automatically on mount.\n */\n hasInitialFocus?: boolean;\n /**\n * If `true`, renders a toggle button that lets the user reveal or hide the password value.\n * @default true\n */\n hasShowPassword?: boolean;\n /**\n * Ref attached to the underlying <input> element.\n */\n inputRef?: React.RefObject<FocusHandle>;\n /**\n * The label for the `input` element.\n */\n label: string;\n /**\n * Called when the input loses focus.\n */\n onBlur?: FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;\n /**\n * Called when the input value changes.\n */\n onChange?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;\n /**\n * Called when the input gains focus.\n */\n onFocus?: FocusEventHandler<HTMLInputElement | HTMLTextAreaElement>;\n /**\n * The short hint displayed in the `input` before the user enters a value.\n */\n placeholder?: string;\n /**\n * Accessible name for the password visibility toggle. This is a stable name\n * that does not change when the password is shown or hidden — the toggle's\n * pressed state is conveyed through `aria-pressed`, so the name must stay\n * constant to follow the ARIA toggle-button pattern. Override per instance\n * when a page has more than one PasswordField (or when collecting other\n * sensitive input such as a security answer) so screen-reader users can tell\n * the toggles apart (e.g. \"Show re-entered password\").\n */\n showPasswordToggleAriaLabel?: string;\n /**\n * The value of the `input` element. Use when component is controlled.\n */\n value?: string;\n} & FieldComponentProps &\n Pick<HtmlProps, \"ariaDescribedBy\" | \"testId\" | \"translate\">;\n\ntype FieldRenderProps = Partial<\n Pick<FieldComponentRenderProps, \"ariaDescribedBy\" | \"errorMessageElementId\">\n> &\n Pick<FieldComponentRenderProps, \"id\" | \"labelElementId\">;\n\n/**\n * A text field for collecting sensitive input such as passwords. Renders a masked\n * input with an optional toggle button that lets users reveal or hide the entered value.\n */\nconst PasswordField = forwardRef<HTMLInputElement, PasswordFieldProps>(\n (\n {\n ariaDescribedBy,\n autoCompleteType,\n defaultValue,\n errorMessage,\n errorMessageList,\n hasInitialFocus,\n hint,\n id: idOverride,\n inputRef,\n isDisabled = false,\n isFullWidth = false,\n isOptional = false,\n hasShowPassword = true,\n isReadOnly,\n label,\n name: nameOverride,\n onChange: onChangeProp,\n onFocus,\n onBlur,\n placeholder,\n showPasswordToggleAriaLabel,\n testId,\n translate,\n value,\n },\n ref,\n ) => {\n const { t } = useTranslation();\n const [inputType, setInputType] = useState(\"password\");\n\n const togglePasswordVisibility = useCallback(() => {\n setInputType((inputType) =>\n inputType === \"password\" ? \"text\" : \"password\",\n );\n }, []);\n\n const controlledStateRef = useRef(\n getControlState({\n controlledValue: value,\n uncontrolledValue: defaultValue,\n }),\n );\n const inputValues = useInputValues({\n defaultValue,\n value,\n controlState: controlledStateRef.current,\n });\n\n const localInputRef = useRef<HTMLInputElement>(null);\n useImperativeHandle(inputRef, () => {\n return {\n focus: () => {\n localInputRef.current?.focus();\n },\n };\n }, []);\n\n const onChange = useCallback<\n ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>\n >(\n (event) => {\n onChangeProp?.(event);\n },\n [onChangeProp],\n );\n\n const renderFieldComponent = useCallback(\n ({\n ariaDescribedBy,\n errorMessageElementId,\n id,\n labelElementId,\n }: FieldRenderProps) => (\n <InputBase\n {...inputValues}\n aria-describedby={ariaDescribedBy}\n autoComplete={inputType === \"password\" ? autoCompleteType : \"off\"}\n /* eslint-disable-next-line jsx-a11y/no-autofocus */\n autoFocus={hasInitialFocus}\n endAdornment={\n hasShowPassword && (\n <InputAdornment position=\"end\">\n <IconButton\n aria-controls={id}\n aria-label={\n showPasswordToggleAriaLabel ??\n t(\"passwordfield.icon.label.show\")\n }\n aria-pressed={inputType === \"text\"}\n onClick={togglePasswordVisibility}\n >\n {inputType === \"password\" ? <ShowIcon /> : <HideIcon />}\n </IconButton>\n </InputAdornment>\n )\n }\n id={id}\n inputProps={{\n \"aria-errormessage\": errorMessageElementId,\n \"aria-labelledby\": labelElementId,\n \"aria-readonly\": isReadOnly,\n \"data-se\": testId,\n // role: \"textbox\" Added because password inputs don't have an implicit role assigned. This causes problems with element selection.\n role: \"textbox\",\n }}\n inputRef={localInputRef}\n name={nameOverride ?? id}\n onBlur={onBlur}\n onChange={onChange}\n onFocus={onFocus}\n placeholder={placeholder}\n readOnly={isReadOnly}\n ref={ref}\n required={!isOptional}\n translate={translate}\n type={inputType}\n />\n ),\n [\n autoCompleteType,\n hasInitialFocus,\n inputValues,\n t,\n togglePasswordVisibility,\n inputType,\n nameOverride,\n onChange,\n onFocus,\n onBlur,\n placeholder,\n isOptional,\n isReadOnly,\n hasShowPassword,\n ref,\n showPasswordToggleAriaLabel,\n testId,\n translate,\n ],\n );\n\n return (\n <Field\n ariaDescribedBy={ariaDescribedBy}\n errorMessage={errorMessage}\n errorMessageList={errorMessageList}\n fieldType=\"single\"\n hasVisibleLabel\n hint={hint}\n id={idOverride}\n isDisabled={isDisabled}\n isFullWidth={isFullWidth}\n isOptional={isOptional}\n isReadOnly={isReadOnly}\n label={label}\n renderFieldComponent={renderFieldComponent}\n />\n );\n },\n);\n\nconst MemoizedPasswordField = memo(PasswordField);\nMemoizedPasswordField.displayName = \"PasswordField\";\n\nexport { MemoizedPasswordField as PasswordField };\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -30,6 +30,6 @@ const ScreenReaderText = ({
|
|
|
30
30
|
children: children
|
|
31
31
|
});
|
|
32
32
|
const MemoizedScreenReaderText = memo(ScreenReaderText);
|
|
33
|
-
MemoizedScreenReaderText.displayName = "ScreenReaderText::pkg=odyssey&odysseyV=1.
|
|
33
|
+
MemoizedScreenReaderText.displayName = "ScreenReaderText::pkg=odyssey&odysseyV=1.65.1";
|
|
34
34
|
export { MemoizedScreenReaderText as ScreenReaderText };
|
|
35
35
|
//# sourceMappingURL=ScreenReaderText.js.map
|
package/dist/esm/SearchField.js
CHANGED
|
@@ -119,6 +119,6 @@ const SearchField = forwardRef(({
|
|
|
119
119
|
});
|
|
120
120
|
});
|
|
121
121
|
const MemoizedSearchField = memo(SearchField);
|
|
122
|
-
MemoizedSearchField.displayName = "SearchField::pkg=odyssey&odysseyV=1.
|
|
122
|
+
MemoizedSearchField.displayName = "SearchField::pkg=odyssey&odysseyV=1.65.1";
|
|
123
123
|
export { MemoizedSearchField as SearchField };
|
|
124
124
|
//# sourceMappingURL=SearchField.js.map
|
package/dist/esm/Select.js
CHANGED
|
@@ -308,6 +308,6 @@ const Select = ({
|
|
|
308
308
|
});
|
|
309
309
|
};
|
|
310
310
|
const MemoizedSelect = memo(Select);
|
|
311
|
-
MemoizedSelect.displayName = "Select::pkg=odyssey&odysseyV=1.
|
|
311
|
+
MemoizedSelect.displayName = "Select::pkg=odyssey&odysseyV=1.65.1";
|
|
312
312
|
export { MemoizedSelect as Select };
|
|
313
313
|
//# sourceMappingURL=Select.js.map
|
package/dist/esm/Stack.js
CHANGED
|
@@ -26,6 +26,6 @@ const Stack = ({
|
|
|
26
26
|
});
|
|
27
27
|
};
|
|
28
28
|
const MemoizedStack = memo(Stack);
|
|
29
|
-
MemoizedStack.displayName = "Stack::pkg=odyssey&odysseyV=1.
|
|
29
|
+
MemoizedStack.displayName = "Stack::pkg=odyssey&odysseyV=1.65.1";
|
|
30
30
|
export { MemoizedStack as Stack };
|
|
31
31
|
//# sourceMappingURL=Stack.js.map
|
package/dist/esm/Status.js
CHANGED
|
@@ -35,6 +35,6 @@ const Status = ({
|
|
|
35
35
|
});
|
|
36
36
|
};
|
|
37
37
|
const MemoizedStatus = memo(Status);
|
|
38
|
-
MemoizedStatus.displayName = "Status::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedStatus.displayName = "Status::pkg=odyssey&odysseyV=1.65.1";
|
|
39
39
|
export { MemoizedStatus as Status };
|
|
40
40
|
//# sourceMappingURL=Status.js.map
|
package/dist/esm/Surface.js
CHANGED
|
@@ -44,6 +44,6 @@ const Surface = ({
|
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
46
|
const MemoizedSurface = memo(Surface);
|
|
47
|
-
MemoizedSurface.displayName = "Surface::pkg=odyssey&odysseyV=1.
|
|
47
|
+
MemoizedSurface.displayName = "Surface::pkg=odyssey&odysseyV=1.65.1";
|
|
48
48
|
export { MemoizedSurface as Surface };
|
|
49
49
|
//# sourceMappingURL=Surface.js.map
|
package/dist/esm/Switch.js
CHANGED
|
@@ -197,7 +197,7 @@ const SwitchLabel = ({
|
|
|
197
197
|
});
|
|
198
198
|
};
|
|
199
199
|
const MemoizedSwitchLabel = memo(SwitchLabel);
|
|
200
|
-
SwitchLabel.displayName = "SwitchLabel::pkg=odyssey&odysseyV=1.
|
|
200
|
+
SwitchLabel.displayName = "SwitchLabel::pkg=odyssey&odysseyV=1.65.1";
|
|
201
201
|
const Switch = ({
|
|
202
202
|
hint,
|
|
203
203
|
HintLinkComponent,
|
|
@@ -318,6 +318,6 @@ const Switch = ({
|
|
|
318
318
|
});
|
|
319
319
|
};
|
|
320
320
|
const MemoizedSwitch = memo(Switch);
|
|
321
|
-
MemoizedSwitch.displayName = "Switch::pkg=odyssey&odysseyV=1.
|
|
321
|
+
MemoizedSwitch.displayName = "Switch::pkg=odyssey&odysseyV=1.65.1";
|
|
322
322
|
export { MemoizedSwitch as Switch };
|
|
323
323
|
//# sourceMappingURL=Switch.js.map
|
package/dist/esm/Tabs.js
CHANGED
|
@@ -115,6 +115,6 @@ const Tabs = ({
|
|
|
115
115
|
});
|
|
116
116
|
};
|
|
117
117
|
const MemoizedTabs = memo(Tabs);
|
|
118
|
-
MemoizedTabs.displayName = "Tabs::pkg=odyssey&odysseyV=1.
|
|
118
|
+
MemoizedTabs.displayName = "Tabs::pkg=odyssey&odysseyV=1.65.1";
|
|
119
119
|
export { MemoizedTabs as Tabs };
|
|
120
120
|
//# sourceMappingURL=Tabs.js.map
|
package/dist/esm/Tag.js
CHANGED
|
@@ -245,6 +245,6 @@ const Tag = ({
|
|
|
245
245
|
});
|
|
246
246
|
};
|
|
247
247
|
const MemoizedTag = memo(Tag);
|
|
248
|
-
MemoizedTag.displayName = "Tag::pkg=odyssey&odysseyV=1.
|
|
248
|
+
MemoizedTag.displayName = "Tag::pkg=odyssey&odysseyV=1.65.1";
|
|
249
249
|
export { MemoizedTag as Tag };
|
|
250
250
|
//# sourceMappingURL=Tag.js.map
|
package/dist/esm/TagList.js
CHANGED
|
@@ -36,6 +36,6 @@ const TagList = ({
|
|
|
36
36
|
});
|
|
37
37
|
};
|
|
38
38
|
const MemoizedTagList = memo(TagList);
|
|
39
|
-
MemoizedTagList.displayName = "TagList::pkg=odyssey&odysseyV=1.
|
|
39
|
+
MemoizedTagList.displayName = "TagList::pkg=odyssey&odysseyV=1.65.1";
|
|
40
40
|
export { MemoizedTagList as TagList };
|
|
41
41
|
//# sourceMappingURL=TagList.js.map
|
package/dist/esm/TextField.js
CHANGED
|
@@ -131,6 +131,6 @@ const TextField = forwardRef(({
|
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
const MemoizedTextField = memo(TextField);
|
|
134
|
-
MemoizedTextField.displayName = "TextField::pkg=odyssey&odysseyV=1.
|
|
134
|
+
MemoizedTextField.displayName = "TextField::pkg=odyssey&odysseyV=1.65.1";
|
|
135
135
|
export { MemoizedTextField as TextField };
|
|
136
136
|
//# sourceMappingURL=TextField.js.map
|
package/dist/esm/Toast.js
CHANGED
|
@@ -84,6 +84,6 @@ const Toast = ({
|
|
|
84
84
|
});
|
|
85
85
|
};
|
|
86
86
|
const MemoizedToast = memo(Toast);
|
|
87
|
-
MemoizedToast.displayName = "Toast::pkg=odyssey&odysseyV=1.
|
|
87
|
+
MemoizedToast.displayName = "Toast::pkg=odyssey&odysseyV=1.65.1";
|
|
88
88
|
export { MemoizedToast as Toast };
|
|
89
89
|
//# sourceMappingURL=Toast.js.map
|
package/dist/esm/ToastStack.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import _Portal from "@mui/material/Portal";
|
|
1
2
|
import _Snackbar from "@mui/material/Snackbar";
|
|
2
3
|
import _Box from "@mui/material/Box";
|
|
3
4
|
/*!
|
|
@@ -12,23 +13,41 @@ import _Box from "@mui/material/Box";
|
|
|
12
13
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
13
14
|
*/
|
|
14
15
|
import { memo } from "react";
|
|
16
|
+
import { FullScreenOverlay } from "./FullScreenOverlay.js";
|
|
17
|
+
import { useOdysseyThemeProviderPropsContext } from "./OdysseyThemeProviderPropsContext.js";
|
|
15
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
|
+
const ToastStackContent = ({
|
|
20
|
+
children
|
|
21
|
+
}) => {
|
|
22
|
+
const {
|
|
23
|
+
shadowRootElement
|
|
24
|
+
} = useOdysseyThemeProviderPropsContext();
|
|
25
|
+
return _jsx(_Portal, {
|
|
26
|
+
container: shadowRootElement,
|
|
27
|
+
children: _jsx(_Snackbar, {
|
|
28
|
+
open: true,
|
|
29
|
+
children: _jsx(_Box, {
|
|
30
|
+
sx: {
|
|
31
|
+
display: "flex",
|
|
32
|
+
flexDirection: "column-reverse",
|
|
33
|
+
gap: 2
|
|
34
|
+
},
|
|
35
|
+
children: children
|
|
36
|
+
})
|
|
37
|
+
})
|
|
38
|
+
});
|
|
39
|
+
};
|
|
16
40
|
const ToastStack = ({
|
|
17
41
|
children
|
|
18
42
|
}) => {
|
|
19
|
-
return _jsx(
|
|
20
|
-
|
|
21
|
-
children: _jsx(
|
|
22
|
-
sx: {
|
|
23
|
-
display: "flex",
|
|
24
|
-
flexDirection: "column-reverse",
|
|
25
|
-
gap: 2
|
|
26
|
-
},
|
|
43
|
+
return _jsx(FullScreenOverlay, {
|
|
44
|
+
overlayType: "toastStack",
|
|
45
|
+
children: _jsx(ToastStackContent, {
|
|
27
46
|
children: children
|
|
28
47
|
})
|
|
29
48
|
});
|
|
30
49
|
};
|
|
31
50
|
const MemoizedToastStack = memo(ToastStack);
|
|
32
|
-
MemoizedToastStack.displayName = "ToastStack::pkg=odyssey&odysseyV=1.
|
|
51
|
+
MemoizedToastStack.displayName = "ToastStack::pkg=odyssey&odysseyV=1.65.1";
|
|
33
52
|
export { MemoizedToastStack as ToastStack };
|
|
34
53
|
//# sourceMappingURL=ToastStack.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastStack.js","names":["memo","jsx","_jsx","
|
|
1
|
+
{"version":3,"file":"ToastStack.js","names":["memo","FullScreenOverlay","useOdysseyThemeProviderPropsContext","jsx","_jsx","ToastStackContent","children","shadowRootElement","_Portal","container","_Snackbar","open","_Box","sx","display","flexDirection","gap","ToastStack","overlayType","MemoizedToastStack","displayName"],"sources":["../../src/ToastStack.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 { Box, Portal, Snackbar } from \"@mui/material\";\nimport { memo, ReactElement } from \"react\";\n\nimport { FullScreenOverlay } from \"./FullScreenOverlay.js\";\nimport { useOdysseyThemeProviderPropsContext } from \"./OdysseyThemeProviderPropsContext.js\";\nimport { Toast } from \"./Toast.js\";\n\nexport type ToastListProps = {\n /**\n * The Toast or array of Toasts within the ToastStack\n */\n children: ReactElement<typeof Toast> | Array<ReactElement<typeof Toast>>;\n};\n\n// Inside `FullScreenOverlay`, `shadowRootElement` is the shared overlay root\n// Dialog's Modal also uses. MUI's Snackbar renders inline, so we Portal it\n// there ourselves — placing its DOM (and thus its z-index) in the same\n// stacking context as the Dialog backdrop.\nconst ToastStackContent = ({ children }: ToastListProps) => {\n const { shadowRootElement } = useOdysseyThemeProviderPropsContext();\n\n return (\n <Portal container={shadowRootElement}>\n <Snackbar open={true}>\n <Box\n sx={{\n display: \"flex\",\n flexDirection: \"column-reverse\",\n gap: 2,\n }}\n >\n {children}\n </Box>\n </Snackbar>\n </Portal>\n );\n};\n\n/**\n * A container that stacks Toast notifications in a fixed position on the screen. Renders\n * its Toast children in a vertically stacked column for simultaneous display.\n */\nconst ToastStack = ({ children }: ToastListProps) => {\n return (\n <FullScreenOverlay overlayType=\"toastStack\">\n <ToastStackContent>{children}</ToastStackContent>\n </FullScreenOverlay>\n );\n};\n\nconst MemoizedToastStack = memo(ToastStack);\nMemoizedToastStack.displayName = \"ToastStack\";\n\nexport { MemoizedToastStack as ToastStack };\n"],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA,SAASA,IAAI,QAAsB,OAAO;AAE1C,SAASC,iBAAiB,QAAQ,wBAAwB;AAC1D,SAASC,mCAAmC,QAAQ,uCAAuC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAc5F,MAAMC,iBAAiB,GAAGA,CAAC;EAAEC;AAAyB,CAAC,KAAK;EAC1D,MAAM;IAAEC;EAAkB,CAAC,GAAGL,mCAAmC,CAAC,CAAC;EAEnE,OACEE,IAAA,CAAAI,OAAA;IAAQC,SAAS,EAAEF,iBAAkB;IAAAD,QAAA,EACnCF,IAAA,CAAAM,SAAA;MAAUC,IAAI,EAAE,IAAK;MAAAL,QAAA,EACnBF,IAAA,CAAAQ,IAAA;QACEC,EAAE,EAAE;UACFC,OAAO,EAAE,MAAM;UACfC,aAAa,EAAE,gBAAgB;UAC/BC,GAAG,EAAE;QACP,CAAE;QAAAV,QAAA,EAEDA;MAAQ,CACN;IAAC,CACE;EAAC,CACL,CAAC;AAEb,CAAC;AAMD,MAAMW,UAAU,GAAGA,CAAC;EAAEX;AAAyB,CAAC,KAAK;EACnD,OACEF,IAAA,CAACH,iBAAiB;IAACiB,WAAW,EAAC,YAAY;IAAAZ,QAAA,EACzCF,IAAA,CAACC,iBAAiB;MAAAC,QAAA,EAAEA;IAAQ,CAAoB;EAAC,CAChC,CAAC;AAExB,CAAC;AAED,MAAMa,kBAAkB,GAAGnB,IAAI,CAACiB,UAAU,CAAC;AAC3CE,kBAAkB,CAACC,WAAW,4CAAe;AAE7C,SAASD,kBAAkB,IAAIF,UAAU","ignoreList":[]}
|
package/dist/esm/Tooltip.js
CHANGED
|
@@ -31,6 +31,6 @@ const Tooltip = ({
|
|
|
31
31
|
})
|
|
32
32
|
});
|
|
33
33
|
const MemoizedTooltip = memo(Tooltip);
|
|
34
|
-
MemoizedTooltip.displayName = "Tooltip::pkg=odyssey&odysseyV=1.
|
|
34
|
+
MemoizedTooltip.displayName = "Tooltip::pkg=odyssey&odysseyV=1.65.1";
|
|
35
35
|
export { MemoizedTooltip as Tooltip };
|
|
36
36
|
//# sourceMappingURL=Tooltip.js.map
|
package/dist/esm/Typography.js
CHANGED
|
@@ -77,7 +77,7 @@ const Typography = ({
|
|
|
77
77
|
});
|
|
78
78
|
};
|
|
79
79
|
const MemoizedTypography = memo(Typography);
|
|
80
|
-
MemoizedTypography.displayName = "Typography::pkg=odyssey&odysseyV=1.
|
|
80
|
+
MemoizedTypography.displayName = "Typography::pkg=odyssey&odysseyV=1.65.1";
|
|
81
81
|
const Heading1 = ({
|
|
82
82
|
ariaCurrent,
|
|
83
83
|
ariaDescribedBy,
|
|
@@ -105,7 +105,7 @@ const Heading1 = ({
|
|
|
105
105
|
variant: "h1"
|
|
106
106
|
});
|
|
107
107
|
const MemoizedHeading1 = memo(Heading1);
|
|
108
|
-
MemoizedHeading1.displayName = "Heading1::pkg=odyssey&odysseyV=1.
|
|
108
|
+
MemoizedHeading1.displayName = "Heading1::pkg=odyssey&odysseyV=1.65.1";
|
|
109
109
|
const Heading2 = ({
|
|
110
110
|
ariaCurrent,
|
|
111
111
|
ariaDescribedBy,
|
|
@@ -131,7 +131,7 @@ const Heading2 = ({
|
|
|
131
131
|
variant: "h2"
|
|
132
132
|
});
|
|
133
133
|
const MemoizedHeading2 = memo(Heading2);
|
|
134
|
-
MemoizedHeading2.displayName = "Heading2::pkg=odyssey&odysseyV=1.
|
|
134
|
+
MemoizedHeading2.displayName = "Heading2::pkg=odyssey&odysseyV=1.65.1";
|
|
135
135
|
const Heading3 = ({
|
|
136
136
|
ariaCurrent,
|
|
137
137
|
ariaDescribedBy,
|
|
@@ -157,7 +157,7 @@ const Heading3 = ({
|
|
|
157
157
|
variant: "h3"
|
|
158
158
|
});
|
|
159
159
|
const MemoizedHeading3 = memo(Heading3);
|
|
160
|
-
MemoizedHeading3.displayName = "Heading3::pkg=odyssey&odysseyV=1.
|
|
160
|
+
MemoizedHeading3.displayName = "Heading3::pkg=odyssey&odysseyV=1.65.1";
|
|
161
161
|
const Heading4 = ({
|
|
162
162
|
ariaCurrent,
|
|
163
163
|
ariaDescribedBy,
|
|
@@ -183,7 +183,7 @@ const Heading4 = ({
|
|
|
183
183
|
variant: "h4"
|
|
184
184
|
});
|
|
185
185
|
const MemoizedHeading4 = memo(Heading4);
|
|
186
|
-
MemoizedHeading4.displayName = "Heading4::pkg=odyssey&odysseyV=1.
|
|
186
|
+
MemoizedHeading4.displayName = "Heading4::pkg=odyssey&odysseyV=1.65.1";
|
|
187
187
|
const Heading5 = ({
|
|
188
188
|
ariaCurrent,
|
|
189
189
|
ariaDescribedBy,
|
|
@@ -209,7 +209,7 @@ const Heading5 = ({
|
|
|
209
209
|
variant: "h5"
|
|
210
210
|
});
|
|
211
211
|
const MemoizedHeading5 = memo(Heading5);
|
|
212
|
-
MemoizedHeading5.displayName = "Heading5::pkg=odyssey&odysseyV=1.
|
|
212
|
+
MemoizedHeading5.displayName = "Heading5::pkg=odyssey&odysseyV=1.65.1";
|
|
213
213
|
const Heading6 = ({
|
|
214
214
|
ariaCurrent,
|
|
215
215
|
ariaDescribedBy,
|
|
@@ -235,7 +235,7 @@ const Heading6 = ({
|
|
|
235
235
|
variant: "h6"
|
|
236
236
|
});
|
|
237
237
|
const MemoizedHeading6 = memo(Heading6);
|
|
238
|
-
MemoizedHeading6.displayName = "Heading6::pkg=odyssey&odysseyV=1.
|
|
238
|
+
MemoizedHeading6.displayName = "Heading6::pkg=odyssey&odysseyV=1.65.1";
|
|
239
239
|
const Paragraph = ({
|
|
240
240
|
ariaCurrent,
|
|
241
241
|
ariaDescribedBy,
|
|
@@ -261,7 +261,7 @@ const Paragraph = ({
|
|
|
261
261
|
variant: "body"
|
|
262
262
|
});
|
|
263
263
|
const MemoizedParagraph = memo(Paragraph);
|
|
264
|
-
MemoizedParagraph.displayName = "Paragraph::pkg=odyssey&odysseyV=1.
|
|
264
|
+
MemoizedParagraph.displayName = "Paragraph::pkg=odyssey&odysseyV=1.65.1";
|
|
265
265
|
const Subordinate = ({
|
|
266
266
|
ariaCurrent,
|
|
267
267
|
ariaDescribedBy,
|
|
@@ -287,7 +287,7 @@ const Subordinate = ({
|
|
|
287
287
|
variant: "subordinate"
|
|
288
288
|
});
|
|
289
289
|
const MemoizedSubordinate = memo(Subordinate);
|
|
290
|
-
MemoizedSubordinate.displayName = "Subordinate::pkg=odyssey&odysseyV=1.
|
|
290
|
+
MemoizedSubordinate.displayName = "Subordinate::pkg=odyssey&odysseyV=1.65.1";
|
|
291
291
|
const Support = ({
|
|
292
292
|
ariaCurrent,
|
|
293
293
|
ariaDescribedBy,
|
|
@@ -313,7 +313,7 @@ const Support = ({
|
|
|
313
313
|
variant: "support"
|
|
314
314
|
});
|
|
315
315
|
const MemoizedSupport = memo(Support);
|
|
316
|
-
MemoizedSupport.displayName = "Support::pkg=odyssey&odysseyV=1.
|
|
316
|
+
MemoizedSupport.displayName = "Support::pkg=odyssey&odysseyV=1.65.1";
|
|
317
317
|
const Legend = ({
|
|
318
318
|
ariaDescribedBy,
|
|
319
319
|
ariaLabel,
|
|
@@ -337,7 +337,7 @@ const Legend = ({
|
|
|
337
337
|
variant: "legend"
|
|
338
338
|
});
|
|
339
339
|
const MemoizedLegend = memo(Legend);
|
|
340
|
-
MemoizedLegend.displayName = "Legend::pkg=odyssey&odysseyV=1.
|
|
340
|
+
MemoizedLegend.displayName = "Legend::pkg=odyssey&odysseyV=1.65.1";
|
|
341
341
|
const Overline = ({
|
|
342
342
|
ariaDescribedBy,
|
|
343
343
|
ariaLabel,
|
|
@@ -361,6 +361,6 @@ const Overline = ({
|
|
|
361
361
|
variant: "overline"
|
|
362
362
|
});
|
|
363
363
|
const MemoizedOverline = memo(Overline);
|
|
364
|
-
MemoizedOverline.displayName = "Overline::pkg=odyssey&odysseyV=1.
|
|
364
|
+
MemoizedOverline.displayName = "Overline::pkg=odyssey&odysseyV=1.65.1";
|
|
365
365
|
export { MemoizedHeading1 as Heading1, MemoizedHeading2 as Heading2, MemoizedHeading3 as Heading3, MemoizedHeading4 as Heading4, MemoizedHeading5 as Heading5, MemoizedHeading6 as Heading6, MemoizedLegend as Legend, MemoizedOverline as Overline, MemoizedParagraph as Paragraph, MemoizedSubordinate as Subordinate, MemoizedSupport as Support, MemoizedTypography as Typography };
|
|
366
366
|
//# sourceMappingURL=Typography.js.map
|
|
@@ -29,6 +29,6 @@ const AddIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedAddIcon = memo(AddIcon);
|
|
32
|
-
MemoizedAddIcon.displayName = "AddIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedAddIcon.displayName = "AddIcon::pkg=odyssey&odysseyV=1.65.1";
|
|
33
33
|
export { MemoizedAddIcon as AddIcon };
|
|
34
34
|
//# sourceMappingURL=Add.js.map
|
|
@@ -29,6 +29,6 @@ const AddCircleIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedAddCircleIcon = memo(AddCircleIcon);
|
|
32
|
-
MemoizedAddCircleIcon.displayName = "AddCircleIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedAddCircleIcon.displayName = "AddCircleIcon::pkg=odyssey&odysseyV=1.65.1";
|
|
33
33
|
export { MemoizedAddCircleIcon as AddCircleIcon };
|
|
34
34
|
//# sourceMappingURL=AddCircle.js.map
|
|
@@ -29,6 +29,6 @@ const AppsIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedAppsIcon = memo(AppsIcon);
|
|
32
|
-
MemoizedAppsIcon.displayName = "AppsIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedAppsIcon.displayName = "AppsIcon::pkg=odyssey&odysseyV=1.65.1";
|
|
33
33
|
export { MemoizedAppsIcon as AppsIcon };
|
|
34
34
|
//# sourceMappingURL=Apps.js.map
|
|
@@ -29,6 +29,6 @@ const AppsSelectedIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedAppsSelectedIcon = memo(AppsSelectedIcon);
|
|
32
|
-
MemoizedAppsSelectedIcon.displayName = "AppsSelectedIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedAppsSelectedIcon.displayName = "AppsSelectedIcon::pkg=odyssey&odysseyV=1.65.1";
|
|
33
33
|
export { MemoizedAppsSelectedIcon as AppsSelectedIcon };
|
|
34
34
|
//# sourceMappingURL=AppsSelected.js.map
|
|
@@ -29,6 +29,6 @@ const ArrowBottomIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedArrowBottomIcon = memo(ArrowBottomIcon);
|
|
32
|
-
MemoizedArrowBottomIcon.displayName = "ArrowBottomIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedArrowBottomIcon.displayName = "ArrowBottomIcon::pkg=odyssey&odysseyV=1.65.1";
|
|
33
33
|
export { MemoizedArrowBottomIcon as ArrowBottomIcon };
|
|
34
34
|
//# sourceMappingURL=ArrowBottom.js.map
|
|
@@ -29,6 +29,6 @@ const ArrowDownIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedArrowDownIcon = memo(ArrowDownIcon);
|
|
32
|
-
MemoizedArrowDownIcon.displayName = "ArrowDownIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedArrowDownIcon.displayName = "ArrowDownIcon::pkg=odyssey&odysseyV=1.65.1";
|
|
33
33
|
export { MemoizedArrowDownIcon as ArrowDownIcon };
|
|
34
34
|
//# sourceMappingURL=ArrowDown.js.map
|
|
@@ -29,6 +29,6 @@ const ArrowLeftIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedArrowLeftIcon = memo(ArrowLeftIcon);
|
|
32
|
-
MemoizedArrowLeftIcon.displayName = "ArrowLeftIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedArrowLeftIcon.displayName = "ArrowLeftIcon::pkg=odyssey&odysseyV=1.65.1";
|
|
33
33
|
export { MemoizedArrowLeftIcon as ArrowLeftIcon };
|
|
34
34
|
//# sourceMappingURL=ArrowLeft.js.map
|
|
@@ -29,6 +29,6 @@ const ArrowLowerLeftIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedArrowLowerLeftIcon = memo(ArrowLowerLeftIcon);
|
|
32
|
-
MemoizedArrowLowerLeftIcon.displayName = "ArrowLowerLeftIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedArrowLowerLeftIcon.displayName = "ArrowLowerLeftIcon::pkg=odyssey&odysseyV=1.65.1";
|
|
33
33
|
export { MemoizedArrowLowerLeftIcon as ArrowLowerLeftIcon };
|
|
34
34
|
//# sourceMappingURL=ArrowLowerLeft.js.map
|