@okta/odyssey-react-mui 1.71.1 → 1.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -5
- package/dist/cjs/Accordion.cjs +1 -1
- package/dist/cjs/AnimationContext.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 +4 -2
- package/dist/cjs/Buttons/BaseButton.cjs.map +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 -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 +10 -3
- package/dist/cjs/Dialog.cjs.map +1 -1
- package/dist/cjs/Drawer.cjs +14 -3
- 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 +20 -13
- package/dist/cjs/FullScreenOverlay.cjs.map +1 -1
- package/dist/cjs/FullScreenOverlayContext.cjs +19 -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 +11 -2
- package/dist/cjs/OdysseyCacheProvider.cjs.map +1 -1
- package/dist/cjs/OdysseyProvider.cjs +8 -1
- package/dist/cjs/OdysseyProvider.cjs.map +1 -1
- package/dist/cjs/OdysseyThemeProvider.cjs +61 -28
- package/dist/cjs/OdysseyThemeProvider.cjs.map +1 -1
- package/dist/cjs/OdysseyThemeProviderPropsContext.cjs +1 -1
- package/dist/cjs/OdysseyThemeProviderPropsContext.cjs.map +1 -1
- package/dist/cjs/Pagination/Pagination.cjs +37 -35
- package/dist/cjs/Pagination/Pagination.cjs.map +1 -1
- package/dist/cjs/PasswordField.cjs +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 +3 -3
- package/dist/cjs/Switch.cjs.map +1 -1
- package/dist/cjs/Tabs.cjs +1 -1
- package/dist/cjs/Tag.cjs +31 -23
- package/dist/cjs/Tag.cjs.map +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 +1 -2
- 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/backdropStack.cjs +75 -0
- package/dist/cjs/backdropStack.cjs.map +1 -0
- package/dist/cjs/charts/BarChart.cjs +1 -1
- package/dist/cjs/charts/LineChart.cjs +1 -1
- package/dist/cjs/charts/components/ChartError.cjs +1 -1
- package/dist/cjs/charts/components/ChartFrame.cjs +1 -1
- package/dist/cjs/charts/components/ChartPopoverContent.cjs +1 -1
- package/dist/cjs/charts/utils/useStableValue.cjs +5 -3
- package/dist/cjs/charts/utils/useStableValue.cjs.map +1 -1
- package/dist/cjs/fullscreen/FullscreenButton.cjs +1 -1
- package/dist/cjs/fullscreen/FullscreenRegion.cjs +3 -1
- package/dist/cjs/fullscreen/FullscreenRegion.cjs.map +1 -1
- package/dist/cjs/{getTypedObjectKeys.cjs → getActionTintChannel.cjs} +7 -6
- package/dist/cjs/getActionTintChannel.cjs.map +1 -0
- package/dist/cjs/getColorSchemeDesignTokensOverride.cjs +33 -0
- package/dist/cjs/getColorSchemeDesignTokensOverride.cjs.map +1 -0
- package/dist/cjs/getDropShadowFilter.cjs +22 -0
- package/dist/cjs/getDropShadowFilter.cjs.map +1 -0
- 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/FullscreenEnter.cjs +1 -1
- package/dist/cjs/icons.generated/FullscreenExit.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 +46 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/isDeepEqual.cjs +93 -0
- package/dist/cjs/isDeepEqual.cjs.map +1 -0
- package/dist/cjs/labs/AppTile.cjs +1 -1
- package/dist/cjs/labs/DataFilters.cjs +2 -2
- 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 +6 -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/DatePickers/DateTimeField.cjs +1 -1
- package/dist/cjs/labs/DatePickers/DateTimePicker.cjs +1 -1
- package/dist/cjs/labs/GroupPicker.cjs +1 -0
- package/dist/cjs/labs/GroupPicker.cjs.map +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/message-bus/messageGuards.cjs +1 -5
- package/dist/cjs/message-bus/messageGuards.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui.cjs +2 -0
- package/dist/cjs/properties/ts/odyssey-react-mui.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs +5 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs +6 -2
- package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs +5 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_eu.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_eu.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs +5 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs +5 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs +6 -2
- package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_hu.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_hu.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_id.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_id.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_it.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_it.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs +7 -3
- package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs +6 -2
- package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ms.cjs +6 -2
- package/dist/cjs/properties/ts/odyssey-react-mui_ms.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs +9 -5
- package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_nl_NL.cjs +4 -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 +2 -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 +2 -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 +4 -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 +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_pt_BR.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ro.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_ro.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs +5 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs +10 -6
- package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_th.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_th.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_tr.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_tr.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs +5 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs +5 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_CN.cjs +5 -1
- 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 +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs.map +1 -1
- package/dist/cjs/remUtils.cjs +1 -3
- package/dist/cjs/remUtils.cjs.map +1 -1
- package/dist/cjs/resolveColorSchemeDesignTokens.cjs +43 -0
- package/dist/cjs/resolveColorSchemeDesignTokens.cjs.map +1 -0
- package/dist/cjs/test-selectors/index.cjs.map +1 -1
- package/dist/cjs/test-selectors/sanityChecks.cjs +1 -19
- package/dist/cjs/test-selectors/sanityChecks.cjs.map +1 -1
- package/dist/cjs/theme/components/Backdrop.cjs +2 -1
- package/dist/cjs/theme/components/Backdrop.cjs.map +1 -1
- package/dist/cjs/theme/components/Button.cjs +7 -6
- package/dist/cjs/theme/components/Button.cjs.map +1 -1
- package/dist/cjs/theme/components/Checkbox.cjs +1 -1
- package/dist/cjs/theme/components/Checkbox.cjs.map +1 -1
- package/dist/cjs/theme/components/Chip.cjs +3 -1
- package/dist/cjs/theme/components/Chip.cjs.map +1 -1
- package/dist/cjs/theme/components/Dialog.cjs +6 -2
- package/dist/cjs/theme/components/Dialog.cjs.map +1 -1
- package/dist/cjs/theme/components/Paper.cjs +3 -0
- package/dist/cjs/theme/components/Paper.cjs.map +1 -1
- package/dist/cjs/theme/components/Tabs.cjs +7 -11
- package/dist/cjs/theme/components/Tabs.cjs.map +1 -1
- package/dist/cjs/theme/components/types.cjs.map +1 -1
- package/dist/cjs/theme/createOdysseyMuiTheme.cjs +3 -0
- package/dist/cjs/theme/createOdysseyMuiTheme.cjs.map +1 -1
- package/dist/cjs/theme/palette.cjs +14 -9
- package/dist/cjs/theme/palette.cjs.map +1 -1
- package/dist/cjs/ui-shell/AppSwitcher/AppSwitcher.cjs +10 -1
- package/dist/cjs/ui-shell/AppSwitcher/AppSwitcher.cjs.map +1 -1
- package/dist/cjs/ui-shell/InnerAppContainer.cjs +1 -1
- package/dist/cjs/ui-shell/NarrowUiShellContent.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/NavAccordion.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNav.cjs +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 +2 -2
- package/dist/cjs/ui-shell/SideNav/SideNavItemLinkContent.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavSortableList.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavToggleButton.cjs +3 -3
- package/dist/cjs/ui-shell/SideNav/SideNavToggleButton.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/UiShell.cjs +7 -2
- package/dist/cjs/ui-shell/UiShell.cjs.map +1 -1
- package/dist/cjs/ui-shell/UiShellLogo.cjs +24 -2
- package/dist/cjs/ui-shell/UiShellLogo.cjs.map +1 -1
- package/dist/cjs/ui-shell/WideUiShellContent.cjs +1 -1
- package/dist/cjs/ui-shell/renderUiShell.cjs +15 -0
- package/dist/cjs/ui-shell/renderUiShell.cjs.map +1 -1
- package/dist/cjs/useColorScheme.cjs +36 -0
- package/dist/cjs/useColorScheme.cjs.map +1 -0
- package/dist/cjs/useContrastMode.cjs +5 -4
- package/dist/cjs/useContrastMode.cjs.map +1 -1
- package/dist/cjs/useStackedBackdropProps.cjs +40 -0
- package/dist/cjs/useStackedBackdropProps.cjs.map +1 -0
- package/dist/cjs/useThemeCache.cjs +22 -14
- package/dist/cjs/useThemeCache.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/esm/Accordion.js +1 -1
- package/dist/esm/AnimationContext.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 +4 -2
- package/dist/esm/Buttons/BaseButton.js.map +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 -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 +10 -3
- package/dist/esm/Dialog.js.map +1 -1
- package/dist/esm/Drawer.js +14 -3
- 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 +21 -12
- package/dist/esm/FullScreenOverlay.js.map +1 -1
- package/dist/esm/FullScreenOverlayContext.js +19 -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 +12 -3
- package/dist/esm/OdysseyCacheProvider.js.map +1 -1
- package/dist/esm/OdysseyProvider.js +8 -1
- package/dist/esm/OdysseyProvider.js.map +1 -1
- package/dist/esm/OdysseyThemeProvider.js +61 -26
- package/dist/esm/OdysseyThemeProvider.js.map +1 -1
- package/dist/esm/OdysseyThemeProviderPropsContext.js +1 -1
- package/dist/esm/OdysseyThemeProviderPropsContext.js.map +1 -1
- package/dist/esm/Pagination/Pagination.js +37 -35
- package/dist/esm/Pagination/Pagination.js.map +1 -1
- package/dist/esm/PasswordField.js +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 +3 -3
- package/dist/esm/Switch.js.map +1 -1
- package/dist/esm/Tabs.js +1 -1
- package/dist/esm/Tag.js +31 -23
- package/dist/esm/Tag.js.map +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 +1 -2
- 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/backdropStack.js +68 -0
- package/dist/esm/backdropStack.js.map +1 -0
- package/dist/esm/charts/BarChart.js +1 -1
- package/dist/esm/charts/LineChart.js +1 -1
- package/dist/esm/charts/components/ChartError.js +1 -1
- package/dist/esm/charts/components/ChartFrame.js +1 -1
- package/dist/esm/charts/components/ChartPopoverContent.js +1 -1
- package/dist/esm/charts/utils/useStableValue.js +5 -2
- package/dist/esm/charts/utils/useStableValue.js.map +1 -1
- package/dist/esm/fullscreen/FullscreenButton.js +1 -1
- package/dist/esm/fullscreen/FullscreenRegion.js +3 -1
- package/dist/esm/fullscreen/FullscreenRegion.js.map +1 -1
- package/dist/esm/{getTypedObjectKeys.js → getActionTintChannel.js} +5 -5
- package/dist/esm/getActionTintChannel.js.map +1 -0
- package/dist/esm/getColorSchemeDesignTokensOverride.js +27 -0
- package/dist/esm/getColorSchemeDesignTokensOverride.js.map +1 -0
- package/dist/{types/getTypedObjectKeys.d.ts → esm/getDropShadowFilter.js} +6 -4
- package/dist/esm/getDropShadowFilter.js.map +1 -0
- 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/FullscreenEnter.js +1 -1
- package/dist/esm/icons.generated/FullscreenExit.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 +4 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/isDeepEqual.js +86 -0
- package/dist/esm/isDeepEqual.js.map +1 -0
- package/dist/esm/labs/AppTile.js +1 -1
- package/dist/esm/labs/DataFilters.js +2 -2
- 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 +6 -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/DatePickers/DateTimeField.js +1 -1
- package/dist/esm/labs/DatePickers/DateTimePicker.js +1 -1
- package/dist/esm/labs/GroupPicker.js +1 -0
- package/dist/esm/labs/GroupPicker.js.map +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/message-bus/messageGuards.js +0 -2
- package/dist/esm/message-bus/messageGuards.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui.js +2 -0
- package/dist/esm/properties/ts/odyssey-react-mui.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_cs.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_cs.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_da.js +5 -1
- package/dist/esm/properties/ts/odyssey-react-mui_da.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_de.js +6 -2
- package/dist/esm/properties/ts/odyssey-react-mui_de.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_el.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_el.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_es.js +5 -1
- package/dist/esm/properties/ts/odyssey-react-mui_es.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_eu.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_eu.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_fi.js +5 -1
- package/dist/esm/properties/ts/odyssey-react-mui_fi.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_fr.js +5 -1
- package/dist/esm/properties/ts/odyssey-react-mui_fr.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ht.js +6 -2
- package/dist/esm/properties/ts/odyssey-react-mui_ht.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_hu.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_hu.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_id.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_id.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_it.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_it.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ja.js +7 -3
- package/dist/esm/properties/ts/odyssey-react-mui_ja.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ko.js +6 -2
- package/dist/esm/properties/ts/odyssey-react-mui_ko.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ms.js +6 -2
- package/dist/esm/properties/ts/odyssey-react-mui_ms.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_nb.js +9 -5
- package/dist/esm/properties/ts/odyssey-react-mui_nb.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_nl_NL.js +4 -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 +2 -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 +2 -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 +4 -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 +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_pt_BR.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ro.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_ro.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ru.js +5 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ru.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_sv.js +10 -6
- package/dist/esm/properties/ts/odyssey-react-mui_sv.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_th.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_th.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_tr.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_tr.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_uk.js +5 -1
- package/dist/esm/properties/ts/odyssey-react-mui_uk.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_vi.js +5 -1
- package/dist/esm/properties/ts/odyssey-react-mui_vi.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_zh_CN.js +5 -1
- 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 +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js.map +1 -1
- package/dist/esm/remUtils.js +0 -1
- package/dist/esm/remUtils.js.map +1 -1
- package/dist/esm/resolveColorSchemeDesignTokens.js +37 -0
- package/dist/esm/resolveColorSchemeDesignTokens.js.map +1 -0
- package/dist/esm/test-selectors/index.js.map +1 -1
- package/dist/esm/test-selectors/sanityChecks.js +0 -15
- package/dist/esm/test-selectors/sanityChecks.js.map +1 -1
- package/dist/esm/theme/components/Backdrop.js +2 -1
- package/dist/esm/theme/components/Backdrop.js.map +1 -1
- package/dist/esm/theme/components/Button.js +7 -6
- package/dist/esm/theme/components/Button.js.map +1 -1
- package/dist/esm/theme/components/Checkbox.js +1 -1
- package/dist/esm/theme/components/Checkbox.js.map +1 -1
- package/dist/esm/theme/components/Chip.js +3 -1
- package/dist/esm/theme/components/Chip.js.map +1 -1
- package/dist/esm/theme/components/Dialog.js +6 -2
- package/dist/esm/theme/components/Dialog.js.map +1 -1
- package/dist/esm/theme/components/Paper.js +3 -0
- package/dist/esm/theme/components/Paper.js.map +1 -1
- package/dist/esm/theme/components/Tabs.js +7 -11
- package/dist/esm/theme/components/Tabs.js.map +1 -1
- package/dist/esm/theme/components/types.js.map +1 -1
- package/dist/esm/theme/createOdysseyMuiTheme.js +3 -0
- package/dist/esm/theme/createOdysseyMuiTheme.js.map +1 -1
- package/dist/esm/theme/palette.js +14 -9
- package/dist/esm/theme/palette.js.map +1 -1
- package/dist/esm/ui-shell/AppSwitcher/AppSwitcher.js +10 -1
- package/dist/esm/ui-shell/AppSwitcher/AppSwitcher.js.map +1 -1
- package/dist/esm/ui-shell/InnerAppContainer.js +1 -1
- package/dist/esm/ui-shell/NarrowUiShellContent.js +1 -1
- package/dist/esm/ui-shell/SideNav/NavAccordion.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNav.js +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 +2 -2
- package/dist/esm/ui-shell/SideNav/SideNavItemLinkContent.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavSortableList.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavToggleButton.js +3 -3
- package/dist/esm/ui-shell/SideNav/SideNavToggleButton.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/UiShell.js +7 -2
- package/dist/esm/ui-shell/UiShell.js.map +1 -1
- package/dist/esm/ui-shell/UiShellLogo.js +23 -2
- package/dist/esm/ui-shell/UiShellLogo.js.map +1 -1
- package/dist/esm/ui-shell/WideUiShellContent.js +1 -1
- package/dist/esm/ui-shell/renderUiShell.js +15 -0
- package/dist/esm/ui-shell/renderUiShell.js.map +1 -1
- package/dist/esm/useColorScheme.js +30 -0
- package/dist/esm/useColorScheme.js.map +1 -0
- package/dist/esm/useContrastMode.js +5 -4
- package/dist/esm/useContrastMode.js.map +1 -1
- package/dist/esm/useStackedBackdropProps.js +35 -0
- package/dist/esm/useStackedBackdropProps.js.map +1 -0
- package/dist/esm/useThemeCache.js +22 -14
- package/dist/esm/useThemeCache.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/tsconfig.production.tsbuildinfo +1 -1
- package/dist/types/Buttons/BaseButton.d.ts +5 -1
- package/dist/types/Buttons/BaseButton.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/FullScreenOverlay.d.ts +4 -1
- package/dist/types/FullScreenOverlay.d.ts.map +1 -1
- package/dist/types/FullScreenOverlayContext.d.ts +5 -0
- package/dist/types/FullScreenOverlayContext.d.ts.map +1 -1
- package/dist/types/OdysseyCacheProvider.d.ts +6 -1
- package/dist/types/OdysseyCacheProvider.d.ts.map +1 -1
- package/dist/types/OdysseyDesignTokensContext.d.ts +3 -0
- package/dist/types/OdysseyDesignTokensContext.d.ts.map +1 -1
- package/dist/types/OdysseyProvider.d.ts +2 -2
- package/dist/types/OdysseyProvider.d.ts.map +1 -1
- package/dist/types/OdysseyThemeProvider.d.ts +9 -1
- package/dist/types/OdysseyThemeProvider.d.ts.map +1 -1
- package/dist/types/OdysseyThemeProviderPropsContext.d.ts +10 -2
- package/dist/types/OdysseyThemeProviderPropsContext.d.ts.map +1 -1
- package/dist/types/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/Tag.d.ts.map +1 -1
- package/dist/types/backdropStack.d.ts +41 -0
- package/dist/types/backdropStack.d.ts.map +1 -0
- package/dist/types/charts/utils/useStableValue.d.ts.map +1 -1
- package/dist/types/fullscreen/FullscreenRegion.d.ts.map +1 -1
- package/dist/types/getActionTintChannel.d.ts +18 -0
- package/dist/types/getActionTintChannel.d.ts.map +1 -0
- package/dist/types/getColorSchemeDesignTokensOverride.d.ts +46 -0
- package/dist/types/getColorSchemeDesignTokensOverride.d.ts.map +1 -0
- package/dist/types/getDropShadowFilter.d.ts +17 -0
- package/dist/types/getDropShadowFilter.d.ts.map +1 -0
- package/dist/types/i18n.generated/i18n.d.ts +4 -0
- package/dist/types/i18n.generated/i18n.d.ts.map +1 -1
- package/dist/types/i18n.generated/i18n.resources.d.ts +148 -30
- package/dist/types/i18n.generated/i18n.resources.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/isDeepEqual.d.ts +22 -0
- package/dist/types/isDeepEqual.d.ts.map +1 -0
- package/dist/types/labs/DataView/DataView.d.ts.map +1 -1
- package/dist/types/labs/GroupPicker.d.ts +2 -1
- package/dist/types/labs/GroupPicker.d.ts.map +1 -1
- package/dist/types/message-bus/messageGuards.d.ts +0 -8
- package/dist/types/message-bus/messageGuards.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui.d.ts +2 -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 +4 -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 +5 -1
- 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 +6 -2
- 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 +4 -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 +5 -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 +4 -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 +5 -1
- 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 +5 -1
- 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 +6 -2
- 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 +4 -0
- 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 +4 -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 +4 -0
- 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 +7 -3
- 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 +6 -2
- 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 +6 -2
- 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 +9 -5
- 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 +4 -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 +2 -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 +2 -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 +4 -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 +4 -0
- 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 +4 -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 +5 -1
- 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 +10 -6
- 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 +4 -0
- 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 +4 -0
- 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 +5 -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 +5 -1
- 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 +5 -1
- 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 +4 -0
- package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts.map +1 -1
- package/dist/types/remUtils.d.ts +0 -4
- package/dist/types/remUtils.d.ts.map +1 -1
- package/dist/types/resolveColorSchemeDesignTokens.d.ts +25 -0
- package/dist/types/resolveColorSchemeDesignTokens.d.ts.map +1 -0
- package/dist/types/test-selectors/index.d.ts +1 -1
- package/dist/types/test-selectors/sanityChecks.d.ts +0 -3
- package/dist/types/test-selectors/sanityChecks.d.ts.map +1 -1
- package/dist/types/theme/components/Backdrop.d.ts.map +1 -1
- package/dist/types/theme/components/Button.d.ts +1 -1
- package/dist/types/theme/components/Button.d.ts.map +1 -1
- package/dist/types/theme/components/Chip.d.ts +1 -1
- package/dist/types/theme/components/Chip.d.ts.map +1 -1
- package/dist/types/theme/components/Dialog.d.ts.map +1 -1
- package/dist/types/theme/components/Paper.d.ts.map +1 -1
- package/dist/types/theme/components/Tabs.d.ts +1 -1
- package/dist/types/theme/components/Tabs.d.ts.map +1 -1
- package/dist/types/theme/components/types.d.ts +5 -0
- package/dist/types/theme/components/types.d.ts.map +1 -1
- package/dist/types/theme/createOdysseyMuiTheme.d.ts +8 -1
- package/dist/types/theme/createOdysseyMuiTheme.d.ts.map +1 -1
- package/dist/types/theme/palette.d.ts +3 -1
- package/dist/types/theme/palette.d.ts.map +1 -1
- package/dist/types/ui-shell/AppSwitcher/AppSwitcher.d.ts.map +1 -1
- package/dist/types/ui-shell/UiShell.d.ts +8 -1
- package/dist/types/ui-shell/UiShell.d.ts.map +1 -1
- package/dist/types/ui-shell/UiShellLogo.d.ts.map +1 -1
- package/dist/types/ui-shell/renderUiShell.d.ts +12 -1
- package/dist/types/ui-shell/renderUiShell.d.ts.map +1 -1
- package/dist/types/useColorScheme.d.ts +41 -0
- package/dist/types/useColorScheme.d.ts.map +1 -0
- package/dist/types/useContrastMode.d.ts +16 -5
- package/dist/types/useContrastMode.d.ts.map +1 -1
- package/dist/types/useStackedBackdropProps.d.ts +36 -0
- package/dist/types/useStackedBackdropProps.d.ts.map +1 -0
- package/dist/types/useThemeCache.d.ts +15 -6
- package/dist/types/useThemeCache.d.ts.map +1 -1
- package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
- package/package.json +19 -38
- package/src/properties/odyssey-react-mui.properties +158 -0
- package/src/properties/translations/odyssey-react-mui_cs.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_da.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_de.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_el.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_es.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_eu.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_fi.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_fr.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_ht.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_hu.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_id.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_it.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_ja.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_ko.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_ms.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_nb.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_nl_NL.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_ok_PL.properties +149 -0
- package/src/properties/translations/odyssey-react-mui_ok_SK.properties +149 -0
- package/src/properties/translations/odyssey-react-mui_pl.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_pt_BR.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_ro.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_ru.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_sv.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_th.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_tr.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_uk.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_vi.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_zh_CN.properties +156 -0
- package/src/properties/translations/odyssey-react-mui_zh_TW.properties +156 -0
- package/src/properties/ts/odyssey-react-mui.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_cs.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_da.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_de.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_el.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_es.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_eu.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_fi.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_fr.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_ht.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_hu.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_id.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_it.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_ja.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_ko.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_ms.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_nb.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_nl_NL.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_ok_PL.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_ok_SK.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_pl.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_pt_BR.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_ro.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_ru.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_sv.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_th.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_tr.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_uk.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_vi.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_zh_CN.ts +1 -0
- package/src/properties/ts/odyssey-react-mui_zh_TW.ts +1 -0
- package/dist/cjs/getTypedObjectKeys.cjs.map +0 -1
- package/dist/cjs/labs/DataTable.cjs +0 -485
- package/dist/cjs/labs/DataTable.cjs.map +0 -1
- package/dist/cjs/test-utils/getControlledElement.cjs +0 -48
- package/dist/cjs/test-utils/getControlledElement.cjs.map +0 -1
- package/dist/cjs/test-utils/renderWithOdysseyProvider.cjs +0 -47
- package/dist/cjs/test-utils/renderWithOdysseyProvider.cjs.map +0 -1
- package/dist/cjs/ui-shell/TopNav/TopNavLinksList.cjs +0 -43
- package/dist/cjs/ui-shell/TopNav/TopNavLinksList.cjs.map +0 -1
- package/dist/cjs/ui-shell/TopNav/TopNavListItem.cjs +0 -137
- package/dist/cjs/ui-shell/TopNav/TopNavListItem.cjs.map +0 -1
- package/dist/esm/getTypedObjectKeys.js.map +0 -1
- package/dist/esm/labs/DataTable.js +0 -478
- package/dist/esm/labs/DataTable.js.map +0 -1
- package/dist/esm/test-utils/getControlledElement.js +0 -41
- package/dist/esm/test-utils/getControlledElement.js.map +0 -1
- package/dist/esm/test-utils/renderWithOdysseyProvider.js +0 -42
- package/dist/esm/test-utils/renderWithOdysseyProvider.js.map +0 -1
- package/dist/esm/ui-shell/TopNav/TopNavLinksList.js +0 -37
- package/dist/esm/ui-shell/TopNav/TopNavLinksList.js.map +0 -1
- package/dist/esm/ui-shell/TopNav/TopNavListItem.js +0 -131
- package/dist/esm/ui-shell/TopNav/TopNavListItem.js.map +0 -1
- package/dist/types/getTypedObjectKeys.d.ts.map +0 -1
- package/dist/types/labs/DataTable.d.ts +0 -186
- package/dist/types/labs/DataTable.d.ts.map +0 -1
- package/dist/types/test-utils/getControlledElement.d.ts +0 -26
- package/dist/types/test-utils/getControlledElement.d.ts.map +0 -1
- package/dist/types/test-utils/renderWithOdysseyProvider.d.ts +0 -37
- package/dist/types/test-utils/renderWithOdysseyProvider.d.ts.map +0 -1
- package/dist/types/ui-shell/TopNav/TopNavLinksList.d.ts +0 -44
- package/dist/types/ui-shell/TopNav/TopNavLinksList.d.ts.map +0 -1
- package/dist/types/ui-shell/TopNav/TopNavListItem.d.ts +0 -41
- package/dist/types/ui-shell/TopNav/TopNavListItem.d.ts.map +0 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.defaultBackdropStack = exports.createBackdropStack = void 0;
|
|
7
|
+
var _createMessageBus = require("./tools/createMessageBus.cjs");
|
|
8
|
+
var _createStore = require("./tools/createStore.cjs");
|
|
9
|
+
/*!
|
|
10
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
11
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
12
|
+
*
|
|
13
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
16
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
*
|
|
18
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
const noOpenBackdrops = [];
|
|
22
|
+
const noOpenBackdropIds = [];
|
|
23
|
+
const getOpenBackdropsWithout = ({
|
|
24
|
+
backdropId,
|
|
25
|
+
openBackdrops
|
|
26
|
+
}) => openBackdrops.filter(openBackdrop => openBackdrop.backdropId !== backdropId);
|
|
27
|
+
const createBackdropStack = () => {
|
|
28
|
+
const store = (0, _createStore.createStore)({
|
|
29
|
+
openBackdropIds: noOpenBackdropIds,
|
|
30
|
+
openBackdrops: noOpenBackdrops
|
|
31
|
+
});
|
|
32
|
+
const openBackdropIdsBus = (0, _createMessageBus.createMessageBus)();
|
|
33
|
+
const getOpenBackdropIds = () => store.getState("openBackdropIds") ?? noOpenBackdropIds;
|
|
34
|
+
const getOpenBackdrops = () => store.getState("openBackdrops") ?? noOpenBackdrops;
|
|
35
|
+
const setOpenBackdrops = openBackdrops => {
|
|
36
|
+
store.setState("openBackdrops", openBackdrops);
|
|
37
|
+
store.setState("openBackdropIds", openBackdrops.map(openBackdrop => openBackdrop.backdropId));
|
|
38
|
+
openBackdropIdsBus.publish();
|
|
39
|
+
};
|
|
40
|
+
const closeBackdrop = ({
|
|
41
|
+
backdropId
|
|
42
|
+
}) => {
|
|
43
|
+
if (getOpenBackdropIds().includes(backdropId)) {
|
|
44
|
+
setOpenBackdrops(getOpenBackdropsWithout({
|
|
45
|
+
backdropId,
|
|
46
|
+
openBackdrops: getOpenBackdrops()
|
|
47
|
+
}));
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
return {
|
|
51
|
+
getOpenBackdropIds,
|
|
52
|
+
openBackdrop: ({
|
|
53
|
+
backdropId,
|
|
54
|
+
layer
|
|
55
|
+
}) => {
|
|
56
|
+
const otherOpenBackdrops = getOpenBackdropsWithout({
|
|
57
|
+
backdropId,
|
|
58
|
+
openBackdrops: getOpenBackdrops()
|
|
59
|
+
});
|
|
60
|
+
const higherLayerIndex = otherOpenBackdrops.findIndex(openBackdrop => openBackdrop.layer > layer);
|
|
61
|
+
const insertionIndex = higherLayerIndex === -1 ? otherOpenBackdrops.length : higherLayerIndex;
|
|
62
|
+
setOpenBackdrops(otherOpenBackdrops.slice(0, insertionIndex).concat({
|
|
63
|
+
backdropId,
|
|
64
|
+
layer
|
|
65
|
+
}).concat(otherOpenBackdrops.slice(insertionIndex)));
|
|
66
|
+
return () => closeBackdrop({
|
|
67
|
+
backdropId
|
|
68
|
+
});
|
|
69
|
+
},
|
|
70
|
+
subscribeToOpenBackdropIds: openBackdropIdsBus.subscribe
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
exports.createBackdropStack = createBackdropStack;
|
|
74
|
+
const defaultBackdropStack = exports.defaultBackdropStack = createBackdropStack();
|
|
75
|
+
//# sourceMappingURL=backdropStack.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"backdropStack.cjs","names":["_createMessageBus","require","_createStore","noOpenBackdrops","noOpenBackdropIds","getOpenBackdropsWithout","backdropId","openBackdrops","filter","openBackdrop","createBackdropStack","store","createStore","openBackdropIds","openBackdropIdsBus","createMessageBus","getOpenBackdropIds","getState","getOpenBackdrops","setOpenBackdrops","setState","map","publish","closeBackdrop","includes","layer","otherOpenBackdrops","higherLayerIndex","findIndex","insertionIndex","length","slice","concat","subscribeToOpenBackdropIds","subscribe","exports","defaultBackdropStack"],"sources":["../../src/backdropStack.ts"],"sourcesContent":["/*!\n * Copyright (c) 2026-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 createMessageBus,\n type UnsubscribeMessageSubscription,\n} from \"./tools/createMessageBus.js\";\nimport { createStore } from \"./tools/createStore.js\";\n\nexport type CloseBackdrop = () => void;\n\nexport type OpenBackdropArgs = {\n backdropId: string;\n /**\n * The z-index the overlay renders at. A higher layer paints above a lower one no matter which opened first, so it decides the order before opening order does.\n */\n layer: number;\n};\n\nexport type CloseBackdropArgs = Pick<OpenBackdropArgs, \"backdropId\">;\n\nexport type BackdropStack = {\n /**\n * The ids of every open backdrop, bottom first: by layer, then by opening order. The last one is on top. The array keeps its identity until the stack changes, so it is safe to return from a `useSyncExternalStore` snapshot.\n */\n getOpenBackdropIds: () => readonly string[];\n /**\n * Put a backdrop on top of every open backdrop in its layer. Returns the function that takes it back off.\n */\n openBackdrop: (args: OpenBackdropArgs) => CloseBackdrop;\n subscribeToOpenBackdropIds: (\n listener: () => void,\n ) => UnsubscribeMessageSubscription;\n};\n\nconst noOpenBackdrops: readonly OpenBackdropArgs[] = [];\nconst noOpenBackdropIds: readonly string[] = [];\n\nconst getOpenBackdropsWithout = ({\n backdropId,\n openBackdrops,\n}: CloseBackdropArgs & { openBackdrops: readonly OpenBackdropArgs[] }) =>\n openBackdrops.filter(\n (openBackdrop) => openBackdrop.backdropId !== backdropId,\n );\n\n/**\n * Create a stack of open backdrops, so stacked overlays can agree on which one paints.\n */\nexport const createBackdropStack = (): BackdropStack => {\n const store = createStore<{\n openBackdropIds: readonly string[];\n openBackdrops: readonly OpenBackdropArgs[];\n }>({\n openBackdropIds: noOpenBackdropIds,\n openBackdrops: noOpenBackdrops,\n });\n\n const openBackdropIdsBus = createMessageBus();\n\n const getOpenBackdropIds = () =>\n store.getState(\"openBackdropIds\") ?? noOpenBackdropIds;\n\n const getOpenBackdrops = () =>\n store.getState(\"openBackdrops\") ?? noOpenBackdrops;\n\n const setOpenBackdrops = (openBackdrops: readonly OpenBackdropArgs[]) => {\n store.setState(\"openBackdrops\", openBackdrops);\n // Derived once here rather than on read, so the snapshot keeps its identity between changes.\n store.setState(\n \"openBackdropIds\",\n openBackdrops.map((openBackdrop) => openBackdrop.backdropId),\n );\n openBackdropIdsBus.publish();\n };\n\n const closeBackdrop = ({ backdropId }: CloseBackdropArgs) => {\n if (getOpenBackdropIds().includes(backdropId)) {\n setOpenBackdrops(\n getOpenBackdropsWithout({\n backdropId,\n openBackdrops: getOpenBackdrops(),\n }),\n );\n }\n };\n\n return {\n getOpenBackdropIds,\n openBackdrop: ({ backdropId, layer }) => {\n const otherOpenBackdrops = getOpenBackdropsWithout({\n backdropId,\n openBackdrops: getOpenBackdrops(),\n });\n\n const higherLayerIndex = otherOpenBackdrops.findIndex(\n (openBackdrop) => openBackdrop.layer > layer,\n );\n\n const insertionIndex =\n higherLayerIndex === -1 ? otherOpenBackdrops.length : higherLayerIndex;\n\n setOpenBackdrops(\n otherOpenBackdrops\n .slice(0, insertionIndex)\n .concat({ backdropId, layer })\n .concat(otherOpenBackdrops.slice(insertionIndex)),\n );\n\n return () => closeBackdrop({ backdropId });\n },\n subscribeToOpenBackdropIds: openBackdropIdsBus.subscribe,\n };\n};\n\n/**\n * The one stack every Odyssey overlay in this bundle shares.\n */\nexport const defaultBackdropStack = createBackdropStack();\n"],"mappings":";;;;;;AAYA,IAAAA,iBAAA,GAAAC,OAAA;AAIA,IAAAC,YAAA,GAAAD,OAAA;AAhBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAkCA,MAAME,eAA4C,GAAG,EAAE;AACvD,MAAMC,iBAAoC,GAAG,EAAE;AAE/C,MAAMC,uBAAuB,GAAGA,CAAC;EAC/BC,UAAU;EACVC;AACkE,CAAC,KACnEA,aAAa,CAACC,MAAM,CACjBC,YAAY,IAAKA,YAAY,CAACH,UAAU,KAAKA,UAChD,CAAC;AAKI,MAAMI,mBAAmB,GAAGA,CAAA,KAAqB;EACtD,MAAMC,KAAK,GAAG,IAAAC,wBAAW,EAGtB;IACDC,eAAe,EAAET,iBAAiB;IAClCG,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,CACdO,kBAAkB,CACfK,KAAK,CAAC,CAAC,EAAEF,cAAc,CAAC,CACxBG,MAAM,CAAC;QAAE1B,UAAU;QAAEmB;MAAM,CAAC,CAAC,CAC7BO,MAAM,CAACN,kBAAkB,CAACK,KAAK,CAACF,cAAc,CAAC,CACpD,CAAC;MAED,OAAO,MAAMN,aAAa,CAAC;QAAEjB;MAAW,CAAC,CAAC;IAC5C,CAAC;IACD2B,0BAA0B,EAAEnB,kBAAkB,CAACoB;EACjD,CAAC;AACH,CAAC;AAACC,OAAA,CAAAzB,mBAAA,GAAAA,mBAAA;AAKK,MAAM0B,oBAAoB,GAAAD,OAAA,CAAAC,oBAAA,GAAG1B,mBAAmB,CAAC,CAAC","ignoreList":[]}
|
|
@@ -219,5 +219,5 @@ const BarChart = props => {
|
|
|
219
219
|
});
|
|
220
220
|
};
|
|
221
221
|
const MemoizedBarChart = exports.BarChart = (0, _react2.memo)(BarChart);
|
|
222
|
-
MemoizedBarChart.displayName = "BarChart::pkg=odyssey&odysseyV=1.
|
|
222
|
+
MemoizedBarChart.displayName = "BarChart::pkg=odyssey&odysseyV=1.73.0";
|
|
223
223
|
//# sourceMappingURL=BarChart.cjs.map
|
|
@@ -238,5 +238,5 @@ const LineChart = props => {
|
|
|
238
238
|
});
|
|
239
239
|
};
|
|
240
240
|
const MemoizedLineChart = exports.LineChart = (0, _react2.memo)(LineChart);
|
|
241
|
-
MemoizedLineChart.displayName = "LineChart::pkg=odyssey&odysseyV=1.
|
|
241
|
+
MemoizedLineChart.displayName = "LineChart::pkg=odyssey&odysseyV=1.73.0";
|
|
242
242
|
//# sourceMappingURL=LineChart.cjs.map
|
|
@@ -69,5 +69,5 @@ const ChartError = ({
|
|
|
69
69
|
});
|
|
70
70
|
};
|
|
71
71
|
const MemoizedChartError = exports.ChartError = (0, _react.memo)(ChartError);
|
|
72
|
-
MemoizedChartError.displayName = "ChartError::pkg=odyssey&odysseyV=1.
|
|
72
|
+
MemoizedChartError.displayName = "ChartError::pkg=odyssey&odysseyV=1.73.0";
|
|
73
73
|
//# sourceMappingURL=ChartError.cjs.map
|
|
@@ -110,5 +110,5 @@ const ChartFrame = ({
|
|
|
110
110
|
});
|
|
111
111
|
};
|
|
112
112
|
const MemoizedChartFrame = exports.ChartFrame = (0, _react.memo)(ChartFrame);
|
|
113
|
-
MemoizedChartFrame.displayName = "ChartFrame::pkg=odyssey&odysseyV=1.
|
|
113
|
+
MemoizedChartFrame.displayName = "ChartFrame::pkg=odyssey&odysseyV=1.73.0";
|
|
114
114
|
//# sourceMappingURL=ChartFrame.cjs.map
|
|
@@ -119,5 +119,5 @@ const ChartPopoverContent = ({
|
|
|
119
119
|
});
|
|
120
120
|
};
|
|
121
121
|
exports.ChartPopoverContent = ChartPopoverContent;
|
|
122
|
-
ChartPopoverContent.displayName = "ChartPopoverContent::pkg=odyssey&odysseyV=1.
|
|
122
|
+
ChartPopoverContent.displayName = "ChartPopoverContent::pkg=odyssey&odysseyV=1.73.0";
|
|
123
123
|
//# sourceMappingURL=ChartPopoverContent.cjs.map
|
|
@@ -4,9 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.useStableValue = void 0;
|
|
7
|
-
var _lodash = _interopRequireDefault(require("lodash.isequal"));
|
|
8
7
|
var _react = require("react");
|
|
9
|
-
|
|
8
|
+
var _isDeepEqual = require("../../isDeepEqual.cjs");
|
|
10
9
|
/*!
|
|
11
10
|
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
12
11
|
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
@@ -19,7 +18,10 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
19
18
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
20
19
|
*/const useStableValue = value => {
|
|
21
20
|
const stableValueRef = (0, _react.useRef)(value);
|
|
22
|
-
if (!(0,
|
|
21
|
+
if (!(0, _isDeepEqual.isDeepEqual)({
|
|
22
|
+
firstValue: stableValueRef.current,
|
|
23
|
+
secondValue: value
|
|
24
|
+
})) {
|
|
23
25
|
stableValueRef.current = value;
|
|
24
26
|
}
|
|
25
27
|
return stableValueRef.current;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useStableValue.cjs","names":["
|
|
1
|
+
{"version":3,"file":"useStableValue.cjs","names":["_react","require","_isDeepEqual","useStableValue","value","stableValueRef","useRef","isDeepEqual","firstValue","current","secondValue","exports"],"sources":["../../../../src/charts/utils/useStableValue.ts"],"sourcesContent":["/*!\n * Copyright (c) 2026-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 { useRef } from \"react\";\n\nimport { isDeepEqual } from \"../../isDeepEqual.js\";\n\n/**\n * Returns the same object for as long as the contents of `value` stay the same. The hook returns the new object after a content change.\n *\n * A chart needs this hook because the chart library rebuilds and redraws the whole chart when the identity of its React children changes. A caller that builds a `series` array inside its own render supplies a new array on each render, and every memo below that point then misses. A comparison of the contents costs one walk over the points, which is far less than one redraw of the chart.\n *\n * The comparison treats a function by its identity, because two functions with the same body can still behave differently. Therefore a caller that supplies a new function on each render, such as an inline formatter, gets a new object from this hook on each render.\n */\nexport const useStableValue = <ValueType>(value: ValueType): ValueType => {\n // This hook writes to the ref during the render. The write is safe here because the new value comes only from `value`, so a second render with the same input reaches the same result.\n const stableValueRef = useRef(value);\n\n if (\n !isDeepEqual({ firstValue: stableValueRef.current, secondValue: value })\n ) {\n stableValueRef.current = value;\n }\n\n return stableValueRef.current;\n};\n"],"mappings":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AAdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAaO,MAAME,cAAc,GAAeC,KAAgB,IAAgB;EAExE,MAAMC,cAAc,GAAG,IAAAC,aAAM,EAACF,KAAK,CAAC;EAEpC,IACE,CAAC,IAAAG,wBAAW,EAAC;IAAEC,UAAU,EAAEH,cAAc,CAACI,OAAO;IAAEC,WAAW,EAAEN;EAAM,CAAC,CAAC,EACxE;IACAC,cAAc,CAACI,OAAO,GAAGL,KAAK;EAChC;EAEA,OAAOC,cAAc,CAACI,OAAO;AAC/B,CAAC;AAACE,OAAA,CAAAR,cAAA,GAAAA,cAAA","ignoreList":[]}
|
|
@@ -51,5 +51,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
51
51
|
});
|
|
52
52
|
};
|
|
53
53
|
const MemoizedFullscreenButton = exports.FullscreenButton = (0, _react.memo)(FullscreenButton);
|
|
54
|
-
MemoizedFullscreenButton.displayName = "FullscreenButton::pkg=odyssey&odysseyV=1.
|
|
54
|
+
MemoizedFullscreenButton.displayName = "FullscreenButton::pkg=odyssey&odysseyV=1.73.0";
|
|
55
55
|
//# sourceMappingURL=FullscreenButton.cjs.map
|
|
@@ -114,6 +114,7 @@ const applyRegionRect = ({
|
|
|
114
114
|
element.style.setProperty("bottom", "auto");
|
|
115
115
|
element.style.setProperty("height", `${rect.height}px`);
|
|
116
116
|
element.style.setProperty("left", `${rect.left}px`);
|
|
117
|
+
element.style.setProperty("overflow", "hidden");
|
|
117
118
|
element.style.setProperty("right", "auto");
|
|
118
119
|
element.style.setProperty("top", `${rect.top}px`);
|
|
119
120
|
element.style.setProperty("width", `${rect.width}px`);
|
|
@@ -124,6 +125,7 @@ const clearRegionRect = ({
|
|
|
124
125
|
ANIMATED_RECT_PROPERTIES.forEach(propertyName => {
|
|
125
126
|
element.style.removeProperty(propertyName);
|
|
126
127
|
});
|
|
128
|
+
element.style.removeProperty("overflow");
|
|
127
129
|
};
|
|
128
130
|
const NON_RENDERED_TAG_NAMES = new Set(["LINK", "META", "SCRIPT", "STYLE", "TEMPLATE"]);
|
|
129
131
|
const getElementsOutside = ({
|
|
@@ -401,5 +403,5 @@ const FullscreenRegion = ({
|
|
|
401
403
|
});
|
|
402
404
|
};
|
|
403
405
|
const MemoizedFullscreenRegion = exports.FullscreenRegion = (0, _react.memo)(FullscreenRegion);
|
|
404
|
-
MemoizedFullscreenRegion.displayName = "FullscreenRegion::pkg=odyssey&odysseyV=1.
|
|
406
|
+
MemoizedFullscreenRegion.displayName = "FullscreenRegion::pkg=odyssey&odysseyV=1.73.0";
|
|
405
407
|
//# sourceMappingURL=FullscreenRegion.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FullscreenRegion.cjs","names":["_utils","require","_react","_AnimationContext","_createOdysseyStyledComponent","_i18n","_index","_fullscreenTransitionTokens","_createStore","_easeFullscreenTransition","_getBackgroundColorBehindElement","_useFullscreen","_jsxRuntime","FULLSCREEN_REGION_BASE_Z_INDEX","ANIMATED_RECT_PROPERTIES","StyledFullscreenRegionPlaceholder","createOdysseyStyledComponent","shouldForwardProp","prop","tag","reservedSize","height","width","StyledFullscreenRegion","fullscreenBackgroundColor","fullscreenStackIndex","isFullscreen","odysseyDesignTokens","backgroundColor","inset","overflow","padding","Spacing5","position","zIndex","Math","max","outline","StyledFullscreenAnnouncement","visuallyHidden","getElementSize","element","getBoundingClientRect","getElementRect","left","top","getViewportRect","document","documentElement","clientHeight","clientWidth","getInterpolatedRect","endRect","progress","startRect","applyRegionRect","rect","style","setProperty","clearRegionRect","forEach","propertyName","removeProperty","NON_RENDERED_TAG_NAMES","Set","getElementsOutside","rootNode","getRootNode","siblingContainer","parentElement","ShadowRoot","undefined","nextElement","host","body","Array","from","children","filter","siblingElement","concat","makeElementsOutsideInert","newlyInertElements","outsideElement","has","tagName","hasAttribute","setAttribute","removeAttribute","getDeepActiveElement","root","activeElement","shadowRoot","getIsFocusable","HTMLElement","isConnected","isolateFullscreenRegion","regionElement","previouslyFocusedElement","restoreElementsOutside","hasMovedFocus","contains","focus","preventScroll","focusedElement","hasFocusStayedInRegion","animateRegionRect","getEndRect","onFinish","animationFrameStore","createStore","animateFrame","frameTime","startTime","min","fullscreenTransitionTokens","durationMilliseconds","easeFullscreenTransition","setState","requestAnimationFrame","nextFrameTime","animationFrameId","getState","cancelAnimationFrame","FullscreenRegion","fullscreenId","hasAnimations","useAnimation","t","useTranslation","exitFullscreen","isInFullscreenStack","useFullscreen","isDisplayedFullscreen","setIsDisplayedFullscreen","useState","placeholderSize","setPlaceholderSize","setFullscreenBackgroundColor","fullscreenAnnouncement","setFullscreenAnnouncement","hasEnteredFullscreenRef","useRef","enterStartRectRef","inlineSizesRef","placeholderRef","regionRef","useLayoutEffect","placeholderElement","current","storeInlineSizes","regionSize","resizeObserver","ResizeObserver","observe","disconnect","inlineSizes","getBackgroundColorBehindElement","enterStartRect","placeholderRect","useEffect","watchElementDisconnection","onDisconnected","jsx","ref","jsxs","id","getFullscreenElementId","role","tabIndex","MemoizedFullscreenRegion","exports","memo","displayName"],"sources":["../../../src/fullscreen/FullscreenRegion.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2026-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 { visuallyHidden } from \"@mui/utils\";\nimport {\n memo,\n type ReactNode,\n useEffect,\n useLayoutEffect,\n useRef,\n useState,\n} from \"react\";\n\nimport { useAnimation } from \"../AnimationContext.js\";\nimport { createOdysseyStyledComponent } from \"../createOdysseyStyledComponent.js\";\nimport { useTranslation } from \"../i18n.generated/i18n.js\";\nimport {\n getFullscreenElementId,\n watchElementDisconnection,\n} from \"../message-bus/index.js\";\nimport { fullscreenTransitionTokens } from \"../pendingDesignTokens/fullscreenTransitionTokens.js\";\nimport { createStore } from \"../tools/createStore.js\";\nimport { easeFullscreenTransition } from \"./easeFullscreenTransition.js\";\nimport { getBackgroundColorBehindElement } from \"./getBackgroundColorBehindElement.js\";\nimport { useFullscreen } from \"./useFullscreen.js\";\n\n// Below MUI's app bar (1100), drawer (1200), and modal (1300) layers, so drawers, dialogs, and menus opened from inside the region still appear above it. A region higher in the fullscreen stack adds its position, so it covers the ones under it while staying below those layers.\nconst FULLSCREEN_REGION_BASE_Z_INDEX = 1000;\n\n// `right` and `bottom` are here because `inset: 0` sets them too. They have to be cleared to `auto`, or they fight the animated `width` and `height`.\nconst ANIMATED_RECT_PROPERTIES = [\n \"bottom\",\n \"height\",\n \"left\",\n \"right\",\n \"top\",\n \"width\",\n] as const;\n\ntype RegionRect = {\n height: number;\n left: number;\n top: number;\n width: number;\n};\n\ntype RegionSize = Pick<RegionRect, \"height\" | \"width\">;\n\nconst StyledFullscreenRegionPlaceholder = createOdysseyStyledComponent({\n shouldForwardProp: (prop) => prop !== \"reservedSize\",\n tag: \"div\",\n})<{ reservedSize?: RegionSize }>(({ reservedSize }) =>\n reservedSize\n ? { height: reservedSize.height, width: reservedSize.width }\n : {},\n);\n\nconst StyledFullscreenRegion = createOdysseyStyledComponent({\n shouldForwardProp: (prop) =>\n prop !== \"fullscreenBackgroundColor\" &&\n prop !== \"fullscreenStackIndex\" &&\n prop !== \"isFullscreen\",\n tag: \"div\",\n})<{\n fullscreenBackgroundColor?: string;\n fullscreenStackIndex: number;\n isFullscreen: boolean;\n}>(\n ({\n fullscreenBackgroundColor,\n fullscreenStackIndex,\n isFullscreen,\n odysseyDesignTokens,\n }) =>\n isFullscreen\n ? {\n backgroundColor: fullscreenBackgroundColor,\n inset: 0,\n overflow: \"auto\",\n ...(isFullscreen ? { padding: odysseyDesignTokens.Spacing5 } : {}),\n position: \"fixed\",\n zIndex:\n FULLSCREEN_REGION_BASE_Z_INDEX + Math.max(fullscreenStackIndex, 0),\n // The region only takes focus so screen readers start reading inside it. It isn't a control, so a focus ring on the whole viewport would only be noise.\n \"&:focus\": {\n outline: \"none\",\n },\n }\n : {},\n);\n\n// The same styles as `ScreenReaderText`, which can't carry the `role` a live region needs. They position it out of flow, so it never changes the region's layout or the margins its placeholder holds.\nconst StyledFullscreenAnnouncement = createOdysseyStyledComponent({\n tag: \"span\",\n})(() => ({ ...visuallyHidden }));\n\nconst getElementSize = ({ element }: { element: Element }): RegionSize => {\n const { height, width } = element.getBoundingClientRect();\n\n return { height, width };\n};\n\nconst getElementRect = ({ element }: { element: Element }): RegionRect => {\n const { height, left, top, width } = element.getBoundingClientRect();\n\n return { height, left, top, width };\n};\n\n// `clientWidth` and `clientHeight` leave out the scrollbar, the same way `inset: 0` on a fixed element does.\nconst getViewportRect = (): RegionRect => ({\n height: document.documentElement.clientHeight,\n left: 0,\n top: 0,\n width: document.documentElement.clientWidth,\n});\n\nconst getInterpolatedRect = ({\n endRect,\n progress,\n startRect,\n}: {\n endRect: RegionRect;\n progress: number;\n startRect: RegionRect;\n}): RegionRect => ({\n height: startRect.height + (endRect.height - startRect.height) * progress,\n left: startRect.left + (endRect.left - startRect.left) * progress,\n top: startRect.top + (endRect.top - startRect.top) * progress,\n width: startRect.width + (endRect.width - startRect.width) * progress,\n});\n\nconst applyRegionRect = ({\n element,\n rect,\n}: {\n element: HTMLElement;\n rect: RegionRect;\n}) => {\n element.style.setProperty(\"bottom\", \"auto\");\n element.style.setProperty(\"height\", `${rect.height}px`);\n element.style.setProperty(\"left\", `${rect.left}px`);\n element.style.setProperty(\"right\", \"auto\");\n element.style.setProperty(\"top\", `${rect.top}px`);\n element.style.setProperty(\"width\", `${rect.width}px`);\n};\n\nconst clearRegionRect = ({ element }: { element: HTMLElement }) => {\n ANIMATED_RECT_PROPERTIES.forEach((propertyName) => {\n element.style.removeProperty(propertyName);\n });\n};\n\n// These never render, so making them inert changes nothing and only adds noise to the DOM.\nconst NON_RENDERED_TAG_NAMES = new Set([\n \"LINK\",\n \"META\",\n \"SCRIPT\",\n \"STYLE\",\n \"TEMPLATE\",\n]);\n\n/**\n * Every element on the page that is not the given element, one of its ancestors, or inside it. Walks out through shadow roots, so a region rendered inside a web component still isolates the page around that component.\n */\nconst getElementsOutside = ({ element }: { element: Element }): Element[] => {\n const rootNode = element.getRootNode();\n const siblingContainer =\n element.parentElement ??\n (rootNode instanceof ShadowRoot ? rootNode : undefined);\n const nextElement =\n element.parentElement ??\n (rootNode instanceof ShadowRoot ? rootNode.host : undefined);\n\n // `<body>` is where the page ends. Its siblings are `<head>` and nothing a user can reach.\n if (element === document.body || !siblingContainer || !nextElement) {\n return [];\n }\n\n return Array.from(siblingContainer.children)\n .filter((siblingElement) => siblingElement !== element)\n .concat(getElementsOutside({ element: nextElement }));\n};\n\n/**\n * Makes everything outside the given element inert, so keyboard and screen reader users can't reach content the element covers.\n *\n * Returns a function that restores those elements. Elements that were already inert are left alone, so restoring never wakes something another component made inert.\n */\nconst makeElementsOutsideInert = ({ element }: { element: Element }) => {\n const newlyInertElements = getElementsOutside({ element }).filter(\n (outsideElement) =>\n !NON_RENDERED_TAG_NAMES.has(outsideElement.tagName) &&\n !outsideElement.hasAttribute(\"inert\"),\n );\n\n newlyInertElements.forEach((outsideElement) => {\n outsideElement.setAttribute(\"inert\", \"\");\n });\n\n return () => {\n newlyInertElements.forEach((outsideElement) => {\n outsideElement.removeAttribute(\"inert\");\n });\n };\n};\n\n/**\n * The focused element, looking inside shadow roots. `document.activeElement` stops at a shadow host.\n */\nconst getDeepActiveElement = (\n root: Document | ShadowRoot = document,\n): Element | null => {\n const { activeElement } = root;\n\n return activeElement?.shadowRoot\n ? (getDeepActiveElement(activeElement.shadowRoot) ?? activeElement)\n : activeElement;\n};\n\nconst getIsFocusable = (element: Element): element is HTMLElement =>\n element instanceof HTMLElement && element.isConnected;\n\n/**\n * Isolates the region while it's in fullscreen and points keyboard and screen reader users at it.\n *\n * Focus moves to the region only when it starts outside, such as when another app or UI Shell put the region in fullscreen. A user who pressed the region's own button keeps focus on it. On exit, focus goes back to where it was, the way a dialog returns focus to its opener, unless focus has since left the region, such as into a menu opened from it.\n *\n * Returns a function that undoes both.\n */\nconst isolateFullscreenRegion = ({\n regionElement,\n}: {\n regionElement: HTMLElement;\n}) => {\n // Read before the page around the region goes inert, because the browser drops focus from an inert element.\n const previouslyFocusedElement = getDeepActiveElement();\n const restoreElementsOutside = makeElementsOutsideInert({\n element: regionElement,\n });\n const hasMovedFocus =\n previouslyFocusedElement === null ||\n !regionElement.contains(previouslyFocusedElement);\n\n if (hasMovedFocus) {\n regionElement.focus({ preventScroll: true });\n }\n\n return () => {\n restoreElementsOutside();\n\n const focusedElement = getDeepActiveElement();\n const hasFocusStayedInRegion =\n focusedElement === null ||\n focusedElement === document.body ||\n regionElement.contains(focusedElement);\n\n if (\n hasMovedFocus &&\n hasFocusStayedInRegion &&\n previouslyFocusedElement &&\n getIsFocusable(previouslyFocusedElement)\n ) {\n previouslyFocusedElement.focus({ preventScroll: true });\n }\n };\n};\n\n/**\n * Moves a fixed element from one rect to another, one frame at a time. The end rect is read every frame because the page underneath it can move while the shell's navigation grows back.\n *\n * Returns a function that stops the animation and clears its inline styles.\n */\nconst animateRegionRect = ({\n element,\n getEndRect,\n onFinish,\n startRect,\n}: {\n element: HTMLElement;\n getEndRect: () => RegionRect;\n onFinish: () => void;\n startRect: RegionRect;\n}) => {\n // Applied before the browser paints, so the region never flashes at its end size first.\n applyRegionRect({ element, rect: startRect });\n\n // The latest frame request, so stopping cancels whichever frame is pending.\n const animationFrameStore = createStore<{ animationFrameId: number }>();\n\n // Timed from the first frame's timestamp, not `performance.now()`. A frame's timestamp can be earlier than the moment it was requested, which would make the first frame's progress negative and move the region backward.\n const animateFrame = ({\n frameTime,\n startTime,\n }: {\n frameTime: number;\n startTime: number;\n }) => {\n const progress = Math.min(\n (frameTime - startTime) / fullscreenTransitionTokens.durationMilliseconds,\n 1,\n );\n\n applyRegionRect({\n element,\n rect: getInterpolatedRect({\n endRect: getEndRect(),\n progress: easeFullscreenTransition(progress),\n startRect,\n }),\n });\n\n if (progress < 1) {\n animationFrameStore.setState(\n \"animationFrameId\",\n requestAnimationFrame((nextFrameTime) =>\n animateFrame({ frameTime: nextFrameTime, startTime }),\n ),\n );\n } else {\n onFinish();\n }\n };\n\n animationFrameStore.setState(\n \"animationFrameId\",\n requestAnimationFrame((frameTime) =>\n animateFrame({ frameTime, startTime: frameTime }),\n ),\n );\n\n return () => {\n const animationFrameId = animationFrameStore.getState(\"animationFrameId\");\n\n if (animationFrameId !== undefined) {\n cancelAnimationFrame(animationFrameId);\n }\n\n clearRegionRect({ element });\n };\n};\n\nexport type FullscreenRegionProps = {\n /**\n * The content that fills the viewport while the region is in fullscreen.\n */\n children: ReactNode;\n /**\n * This region's id, from `useFullscreenId`. Pass the same id to every `FullscreenButton` that controls it, wherever that button sits on the page.\n */\n fullscreenId: string;\n};\n\n/**\n * A part of a page that can go fullscreen on its own. While it's in fullscreen, it fills the viewport, and Unified UI Shell hides its navigation and banners.\n *\n * Give it an id from `useFullscreenId`, and pass the same id to each `FullscreenButton` that controls it. The button can sit inside the region or anywhere else on the page.\n *\n * The region grows from its place on the page to the viewport, and shrinks back when it exits. It keeps its space on the page the whole time, so nothing around it moves.\n *\n * Regions stack. A region that enters fullscreen while another is in fullscreen covers it, and Escape or its own button goes back to the one under it.\n *\n * While it's on top, the rest of the page is `inert`, so keyboard and screen reader users stay inside the region the same way sighted users do. Dialogs, drawers, and menus opened from inside the region still work, because they render after the page around the region was made inert.\n *\n * Entering and exiting fullscreen are announced to screen readers. If focus was outside the region when it entered fullscreen, focus moves to the region, which is labelled \"Fullscreen mode\", and goes back when it exits.\n *\n * If the region's element leaves the page while it's in fullscreen without React unmounting it, such as a host page removing a view, it exits. Otherwise UI Shell's navigation would stay hidden with nothing on screen to bring it back.\n *\n * @experimental The fullscreen API is in alpha and may change in a future release.\n */\nconst FullscreenRegion = ({\n children,\n fullscreenId,\n}: FullscreenRegionProps) => {\n const hasAnimations = useAnimation();\n const { t } = useTranslation();\n const {\n exitFullscreen,\n fullscreenStackIndex,\n isFullscreen,\n isInFullscreenStack,\n } = useFullscreen({ fullscreenId });\n\n // Trails `isInFullscreenStack` while the region shrinks back, so it stays fixed until it lands on its placeholder. A region covered by one above it is still in the stack, so it stays fixed underneath.\n const [isDisplayedFullscreen, setIsDisplayedFullscreen] =\n useState(isInFullscreenStack);\n const [placeholderSize, setPlaceholderSize] = useState<RegionSize>();\n // Read from what's behind the region on the page, so a region inside a `Surface` stays white and one on the UI Shell app area stays gray. Its content was designed against that background.\n const [fullscreenBackgroundColor, setFullscreenBackgroundColor] =\n useState<string>();\n // Empty until the first change, so loading a page never announces anything.\n const [fullscreenAnnouncement, setFullscreenAnnouncement] = useState(\"\");\n const hasEnteredFullscreenRef = useRef(isInFullscreenStack);\n\n const enterStartRectRef = useRef<RegionRect>();\n const inlineSizesRef = useRef<{\n placeholderSize: RegionSize;\n regionSize: RegionSize;\n }>();\n const placeholderRef = useRef<HTMLDivElement>(null);\n const regionRef = useRef<HTMLDivElement>(null);\n\n // The content inside the region can change size in the same commit that enters fullscreen, such as a component that reads `useFullscreen` and changes its layout. Sizes kept from before that commit let the region start from what the user saw, and keep the page around it from moving.\n useLayoutEffect(() => {\n const placeholderElement = placeholderRef.current;\n const regionElement = regionRef.current;\n\n if (isDisplayedFullscreen || !placeholderElement || !regionElement) {\n return;\n }\n\n const storeInlineSizes = () => {\n inlineSizesRef.current = {\n placeholderSize: getElementSize({ element: placeholderElement }),\n regionSize: getElementSize({ element: regionElement }),\n };\n };\n\n storeInlineSizes();\n\n const resizeObserver = new ResizeObserver(storeInlineSizes);\n resizeObserver.observe(placeholderElement);\n resizeObserver.observe(regionElement);\n\n return () => resizeObserver.disconnect();\n }, [isDisplayedFullscreen]);\n\n // A layout effect, so each measurement and first frame happens before the browser paints.\n useLayoutEffect(() => {\n const placeholderElement = placeholderRef.current;\n const regionElement = regionRef.current;\n\n if (!placeholderElement || !regionElement) {\n return;\n }\n\n if (isInFullscreenStack && !isDisplayedFullscreen) {\n const { left, top } = getElementRect({ element: regionElement });\n const inlineSizes = inlineSizesRef.current ?? {\n placeholderSize: getElementSize({ element: placeholderElement }),\n regionSize: getElementSize({ element: regionElement }),\n };\n\n enterStartRectRef.current = hasAnimations\n ? { ...inlineSizes.regionSize, left, top }\n : undefined;\n setFullscreenBackgroundColor(\n getBackgroundColorBehindElement({ element: placeholderElement }),\n );\n setPlaceholderSize(inlineSizes.placeholderSize);\n setIsDisplayedFullscreen(true);\n\n return;\n }\n\n if (isInFullscreenStack && isDisplayedFullscreen) {\n const enterStartRect = enterStartRectRef.current;\n enterStartRectRef.current = undefined;\n\n if (!enterStartRect) {\n return;\n }\n\n return animateRegionRect({\n element: regionElement,\n getEndRect: getViewportRect,\n // Hands the size back to `inset: 0`, so the region follows the viewport when the window resizes.\n onFinish: () => clearRegionRect({ element: regionElement }),\n startRect: enterStartRect,\n });\n }\n\n if (!isInFullscreenStack && isDisplayedFullscreen) {\n if (!hasAnimations) {\n setIsDisplayedFullscreen(false);\n\n return;\n }\n\n // The inline styles stay on after the last frame. This effect's cleanup clears them in the same commit that drops the fixed position, so the region never flashes full size.\n return animateRegionRect({\n element: regionElement,\n getEndRect: () => {\n const placeholderRect = getElementRect({\n element: placeholderElement,\n });\n\n // The placeholder also holds the margin of the region's first and last child, which sits outside the region once it is back inline.\n return {\n ...placeholderRect,\n height:\n inlineSizesRef.current?.regionSize.height ??\n placeholderRect.height,\n };\n },\n onFinish: () => setIsDisplayedFullscreen(false),\n startRect: getElementRect({ element: regionElement }),\n });\n }\n\n return;\n }, [hasAnimations, isDisplayedFullscreen, isInFullscreenStack]);\n\n // Only the region on top isolates. One covered by another region gives that up, so focus and the reading order follow whatever the user can see.\n useEffect(() => {\n const regionElement = regionRef.current;\n\n if (!isFullscreen || !regionElement) {\n return;\n }\n\n return isolateFullscreenRegion({ regionElement });\n }, [isFullscreen]);\n\n useEffect(() => {\n if (isInFullscreenStack) {\n hasEnteredFullscreenRef.current = true;\n setFullscreenAnnouncement(t(\"fullscreen.entered.text\"));\n } else if (hasEnteredFullscreenRef.current) {\n setFullscreenAnnouncement(t(\"fullscreen.exited.text\"));\n }\n }, [isInFullscreenStack, t]);\n\n useEffect(() => {\n const regionElement = regionRef.current;\n\n if (!isInFullscreenStack || !regionElement) {\n return;\n }\n\n return watchElementDisconnection({\n element: regionElement,\n onDisconnected: exitFullscreen,\n });\n }, [exitFullscreen, isInFullscreenStack]);\n\n // A region that unmounts while in fullscreen would otherwise leave the shell's navigation hidden with nothing on screen to bring it back.\n useEffect(() => exitFullscreen, [exitFullscreen]);\n\n return (\n <StyledFullscreenRegionPlaceholder\n ref={placeholderRef}\n reservedSize={isDisplayedFullscreen ? placeholderSize : undefined}\n >\n <StyledFullscreenRegion\n aria-label={\n isInFullscreenStack ? t(\"fullscreen.region.label\") : undefined\n }\n fullscreenBackgroundColor={fullscreenBackgroundColor}\n fullscreenStackIndex={fullscreenStackIndex}\n id={getFullscreenElementId({ fullscreenId })}\n isFullscreen={isDisplayedFullscreen}\n ref={regionRef}\n role={isInFullscreenStack ? \"region\" : undefined}\n tabIndex={isFullscreen ? -1 : undefined}\n >\n {children}\n {/* Inside the region, because everything outside it is inert while it's in fullscreen, and an inert live region is never read. */}\n <StyledFullscreenAnnouncement role=\"status\">\n {fullscreenAnnouncement}\n </StyledFullscreenAnnouncement>\n </StyledFullscreenRegion>\n </StyledFullscreenRegionPlaceholder>\n );\n};\n\nconst MemoizedFullscreenRegion = memo(FullscreenRegion);\nMemoizedFullscreenRegion.displayName = \"FullscreenRegion\";\n\nexport { MemoizedFullscreenRegion as FullscreenRegion };\n"],"mappings":";;;;;;AAYA,IAAAA,MAAA,GAAAC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tD;MACD/C,yBAAyB,EAAEA,yBAA0B;MACrDC,oBAAoB,EAAEA,oBAAqB;MAC3C6I,EAAE,EAAE,IAAAC,6BAAsB,EAAC;QAAE1C;MAAa,CAAC,CAAE;MAC7CnG,YAAY,EAAE2G,qBAAsB;MACpC+B,GAAG,EAAElB,SAAU;MACfsB,IAAI,EAAErC,mBAAmB,GAAG,QAAQ,GAAG5D,SAAU;MACjDkG,QAAQ,EAAE/I,YAAY,GAAG,CAAC,CAAC,GAAG6C,SAAU;MAAAM,QAAA,GAEvCA,QAAQ,EAET,IAAAjE,WAAA,CAAAuJ,GAAA,EAAC7H,4BAA4B;QAACkI,IAAI,EAAC,QAAQ;QAAA3F,QAAA,EACxC8D;MAAsB,CACK,CAAC;IAAA,CACT;EAAC,CACQ,CAAC;AAExC,CAAC;AAED,MAAM+B,wBAAwB,GAAAC,OAAA,CAAA/C,gBAAA,GAAG,IAAAgD,WAAI,EAAChD,gBAAgB,CAAC;AACvD8C,wBAAwB,CAACG,WAAW,kDAAqB","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"FullscreenRegion.cjs","names":["_utils","require","_react","_AnimationContext","_createOdysseyStyledComponent","_i18n","_index","_fullscreenTransitionTokens","_createStore","_easeFullscreenTransition","_getBackgroundColorBehindElement","_useFullscreen","_jsxRuntime","FULLSCREEN_REGION_BASE_Z_INDEX","ANIMATED_RECT_PROPERTIES","StyledFullscreenRegionPlaceholder","createOdysseyStyledComponent","shouldForwardProp","prop","tag","reservedSize","height","width","StyledFullscreenRegion","fullscreenBackgroundColor","fullscreenStackIndex","isFullscreen","odysseyDesignTokens","backgroundColor","inset","overflow","padding","Spacing5","position","zIndex","Math","max","outline","StyledFullscreenAnnouncement","visuallyHidden","getElementSize","element","getBoundingClientRect","getElementRect","left","top","getViewportRect","document","documentElement","clientHeight","clientWidth","getInterpolatedRect","endRect","progress","startRect","applyRegionRect","rect","style","setProperty","clearRegionRect","forEach","propertyName","removeProperty","NON_RENDERED_TAG_NAMES","Set","getElementsOutside","rootNode","getRootNode","siblingContainer","parentElement","ShadowRoot","undefined","nextElement","host","body","Array","from","children","filter","siblingElement","concat","makeElementsOutsideInert","newlyInertElements","outsideElement","has","tagName","hasAttribute","setAttribute","removeAttribute","getDeepActiveElement","root","activeElement","shadowRoot","getIsFocusable","HTMLElement","isConnected","isolateFullscreenRegion","regionElement","previouslyFocusedElement","restoreElementsOutside","hasMovedFocus","contains","focus","preventScroll","focusedElement","hasFocusStayedInRegion","animateRegionRect","getEndRect","onFinish","animationFrameStore","createStore","animateFrame","frameTime","startTime","min","fullscreenTransitionTokens","durationMilliseconds","easeFullscreenTransition","setState","requestAnimationFrame","nextFrameTime","animationFrameId","getState","cancelAnimationFrame","FullscreenRegion","fullscreenId","hasAnimations","useAnimation","t","useTranslation","exitFullscreen","isInFullscreenStack","useFullscreen","isDisplayedFullscreen","setIsDisplayedFullscreen","useState","placeholderSize","setPlaceholderSize","setFullscreenBackgroundColor","fullscreenAnnouncement","setFullscreenAnnouncement","hasEnteredFullscreenRef","useRef","enterStartRectRef","inlineSizesRef","placeholderRef","regionRef","useLayoutEffect","placeholderElement","current","storeInlineSizes","regionSize","resizeObserver","ResizeObserver","observe","disconnect","inlineSizes","getBackgroundColorBehindElement","enterStartRect","placeholderRect","useEffect","watchElementDisconnection","onDisconnected","jsx","ref","jsxs","id","getFullscreenElementId","role","tabIndex","MemoizedFullscreenRegion","exports","memo","displayName"],"sources":["../../../src/fullscreen/FullscreenRegion.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2026-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 { visuallyHidden } from \"@mui/utils\";\nimport {\n memo,\n type ReactNode,\n useEffect,\n useLayoutEffect,\n useRef,\n useState,\n} from \"react\";\n\nimport { useAnimation } from \"../AnimationContext.js\";\nimport { createOdysseyStyledComponent } from \"../createOdysseyStyledComponent.js\";\nimport { useTranslation } from \"../i18n.generated/i18n.js\";\nimport {\n getFullscreenElementId,\n watchElementDisconnection,\n} from \"../message-bus/index.js\";\nimport { fullscreenTransitionTokens } from \"../pendingDesignTokens/fullscreenTransitionTokens.js\";\nimport { createStore } from \"../tools/createStore.js\";\nimport { easeFullscreenTransition } from \"./easeFullscreenTransition.js\";\nimport { getBackgroundColorBehindElement } from \"./getBackgroundColorBehindElement.js\";\nimport { useFullscreen } from \"./useFullscreen.js\";\n\n// Below MUI's app bar (1100), drawer (1200), and modal (1300) layers, so drawers, dialogs, and menus opened from inside the region still appear above it. A region higher in the fullscreen stack adds its position, so it covers the ones under it while staying below those layers.\nconst FULLSCREEN_REGION_BASE_Z_INDEX = 1000;\n\n// `right` and `bottom` are here because `inset: 0` sets them too. They have to be cleared to `auto`, or they fight the animated `width` and `height`.\nconst ANIMATED_RECT_PROPERTIES = [\n \"bottom\",\n \"height\",\n \"left\",\n \"right\",\n \"top\",\n \"width\",\n] as const;\n\ntype RegionRect = {\n height: number;\n left: number;\n top: number;\n width: number;\n};\n\ntype RegionSize = Pick<RegionRect, \"height\" | \"width\">;\n\nconst StyledFullscreenRegionPlaceholder = createOdysseyStyledComponent({\n shouldForwardProp: (prop) => prop !== \"reservedSize\",\n tag: \"div\",\n})<{ reservedSize?: RegionSize }>(({ reservedSize }) =>\n reservedSize\n ? { height: reservedSize.height, width: reservedSize.width }\n : {},\n);\n\nconst StyledFullscreenRegion = createOdysseyStyledComponent({\n shouldForwardProp: (prop) =>\n prop !== \"fullscreenBackgroundColor\" &&\n prop !== \"fullscreenStackIndex\" &&\n prop !== \"isFullscreen\",\n tag: \"div\",\n})<{\n fullscreenBackgroundColor?: string;\n fullscreenStackIndex: number;\n isFullscreen: boolean;\n}>(\n ({\n fullscreenBackgroundColor,\n fullscreenStackIndex,\n isFullscreen,\n odysseyDesignTokens,\n }) =>\n isFullscreen\n ? {\n backgroundColor: fullscreenBackgroundColor,\n inset: 0,\n overflow: \"auto\",\n ...(isFullscreen ? { padding: odysseyDesignTokens.Spacing5 } : {}),\n position: \"fixed\",\n zIndex:\n FULLSCREEN_REGION_BASE_Z_INDEX + Math.max(fullscreenStackIndex, 0),\n // The region only takes focus so screen readers start reading inside it. It isn't a control, so a focus ring on the whole viewport would only be noise.\n \"&:focus\": {\n outline: \"none\",\n },\n }\n : {},\n);\n\n// The same styles as `ScreenReaderText`, which can't carry the `role` a live region needs. They position it out of flow, so it never changes the region's layout or the margins its placeholder holds.\nconst StyledFullscreenAnnouncement = createOdysseyStyledComponent({\n tag: \"span\",\n})(() => ({ ...visuallyHidden }));\n\nconst getElementSize = ({ element }: { element: Element }): RegionSize => {\n const { height, width } = element.getBoundingClientRect();\n\n return { height, width };\n};\n\nconst getElementRect = ({ element }: { element: Element }): RegionRect => {\n const { height, left, top, width } = element.getBoundingClientRect();\n\n return { height, left, top, width };\n};\n\n// `clientWidth` and `clientHeight` leave out the scrollbar, the same way `inset: 0` on a fixed element does.\nconst getViewportRect = (): RegionRect => ({\n height: document.documentElement.clientHeight,\n left: 0,\n top: 0,\n width: document.documentElement.clientWidth,\n});\n\nconst getInterpolatedRect = ({\n endRect,\n progress,\n startRect,\n}: {\n endRect: RegionRect;\n progress: number;\n startRect: RegionRect;\n}): RegionRect => ({\n height: startRect.height + (endRect.height - startRect.height) * progress,\n left: startRect.left + (endRect.left - startRect.left) * progress,\n top: startRect.top + (endRect.top - startRect.top) * progress,\n width: startRect.width + (endRect.width - startRect.width) * progress,\n});\n\nconst applyRegionRect = ({\n element,\n rect,\n}: {\n element: HTMLElement;\n rect: RegionRect;\n}) => {\n element.style.setProperty(\"bottom\", \"auto\");\n element.style.setProperty(\"height\", `${rect.height}px`);\n element.style.setProperty(\"left\", `${rect.left}px`);\n // Between its start and end sizes, the region's content can be larger than the region. With `overflow: auto`, a scrollbar flashes in for those frames and takes width from the content, which reflows and jumps. The scrollbar comes back once the region reaches the viewport.\n element.style.setProperty(\"overflow\", \"hidden\");\n element.style.setProperty(\"right\", \"auto\");\n element.style.setProperty(\"top\", `${rect.top}px`);\n element.style.setProperty(\"width\", `${rect.width}px`);\n};\n\nconst clearRegionRect = ({ element }: { element: HTMLElement }) => {\n ANIMATED_RECT_PROPERTIES.forEach((propertyName) => {\n element.style.removeProperty(propertyName);\n });\n element.style.removeProperty(\"overflow\");\n};\n\n// These never render, so making them inert changes nothing and only adds noise to the DOM.\nconst NON_RENDERED_TAG_NAMES = new Set([\n \"LINK\",\n \"META\",\n \"SCRIPT\",\n \"STYLE\",\n \"TEMPLATE\",\n]);\n\n/**\n * Every element on the page that is not the given element, one of its ancestors, or inside it. Walks out through shadow roots, so a region rendered inside a web component still isolates the page around that component.\n */\nconst getElementsOutside = ({ element }: { element: Element }): Element[] => {\n const rootNode = element.getRootNode();\n const siblingContainer =\n element.parentElement ??\n (rootNode instanceof ShadowRoot ? rootNode : undefined);\n const nextElement =\n element.parentElement ??\n (rootNode instanceof ShadowRoot ? rootNode.host : undefined);\n\n // `<body>` is where the page ends. Its siblings are `<head>` and nothing a user can reach.\n if (element === document.body || !siblingContainer || !nextElement) {\n return [];\n }\n\n return Array.from(siblingContainer.children)\n .filter((siblingElement) => siblingElement !== element)\n .concat(getElementsOutside({ element: nextElement }));\n};\n\n/**\n * Makes everything outside the given element inert, so keyboard and screen reader users can't reach content the element covers.\n *\n * Returns a function that restores those elements. Elements that were already inert are left alone, so restoring never wakes something another component made inert.\n */\nconst makeElementsOutsideInert = ({ element }: { element: Element }) => {\n const newlyInertElements = getElementsOutside({ element }).filter(\n (outsideElement) =>\n !NON_RENDERED_TAG_NAMES.has(outsideElement.tagName) &&\n !outsideElement.hasAttribute(\"inert\"),\n );\n\n newlyInertElements.forEach((outsideElement) => {\n outsideElement.setAttribute(\"inert\", \"\");\n });\n\n return () => {\n newlyInertElements.forEach((outsideElement) => {\n outsideElement.removeAttribute(\"inert\");\n });\n };\n};\n\n/**\n * The focused element, looking inside shadow roots. `document.activeElement` stops at a shadow host.\n */\nconst getDeepActiveElement = (\n root: Document | ShadowRoot = document,\n): Element | null => {\n const { activeElement } = root;\n\n return activeElement?.shadowRoot\n ? (getDeepActiveElement(activeElement.shadowRoot) ?? activeElement)\n : activeElement;\n};\n\nconst getIsFocusable = (element: Element): element is HTMLElement =>\n element instanceof HTMLElement && element.isConnected;\n\n/**\n * Isolates the region while it's in fullscreen and points keyboard and screen reader users at it.\n *\n * Focus moves to the region only when it starts outside, such as when another app or UI Shell put the region in fullscreen. A user who pressed the region's own button keeps focus on it. On exit, focus goes back to where it was, the way a dialog returns focus to its opener, unless focus has since left the region, such as into a menu opened from it.\n *\n * Returns a function that undoes both.\n */\nconst isolateFullscreenRegion = ({\n regionElement,\n}: {\n regionElement: HTMLElement;\n}) => {\n // Read before the page around the region goes inert, because the browser drops focus from an inert element.\n const previouslyFocusedElement = getDeepActiveElement();\n const restoreElementsOutside = makeElementsOutsideInert({\n element: regionElement,\n });\n const hasMovedFocus =\n previouslyFocusedElement === null ||\n !regionElement.contains(previouslyFocusedElement);\n\n if (hasMovedFocus) {\n regionElement.focus({ preventScroll: true });\n }\n\n return () => {\n restoreElementsOutside();\n\n const focusedElement = getDeepActiveElement();\n const hasFocusStayedInRegion =\n focusedElement === null ||\n focusedElement === document.body ||\n regionElement.contains(focusedElement);\n\n if (\n hasMovedFocus &&\n hasFocusStayedInRegion &&\n previouslyFocusedElement &&\n getIsFocusable(previouslyFocusedElement)\n ) {\n previouslyFocusedElement.focus({ preventScroll: true });\n }\n };\n};\n\n/**\n * Moves a fixed element from one rect to another, one frame at a time. The end rect is read every frame because the page underneath it can move while the shell's navigation grows back.\n *\n * Returns a function that stops the animation and clears its inline styles.\n */\nconst animateRegionRect = ({\n element,\n getEndRect,\n onFinish,\n startRect,\n}: {\n element: HTMLElement;\n getEndRect: () => RegionRect;\n onFinish: () => void;\n startRect: RegionRect;\n}) => {\n // Applied before the browser paints, so the region never flashes at its end size first.\n applyRegionRect({ element, rect: startRect });\n\n // The latest frame request, so stopping cancels whichever frame is pending.\n const animationFrameStore = createStore<{ animationFrameId: number }>();\n\n // Timed from the first frame's timestamp, not `performance.now()`. A frame's timestamp can be earlier than the moment it was requested, which would make the first frame's progress negative and move the region backward.\n const animateFrame = ({\n frameTime,\n startTime,\n }: {\n frameTime: number;\n startTime: number;\n }) => {\n const progress = Math.min(\n (frameTime - startTime) / fullscreenTransitionTokens.durationMilliseconds,\n 1,\n );\n\n applyRegionRect({\n element,\n rect: getInterpolatedRect({\n endRect: getEndRect(),\n progress: easeFullscreenTransition(progress),\n startRect,\n }),\n });\n\n if (progress < 1) {\n animationFrameStore.setState(\n \"animationFrameId\",\n requestAnimationFrame((nextFrameTime) =>\n animateFrame({ frameTime: nextFrameTime, startTime }),\n ),\n );\n } else {\n onFinish();\n }\n };\n\n animationFrameStore.setState(\n \"animationFrameId\",\n requestAnimationFrame((frameTime) =>\n animateFrame({ frameTime, startTime: frameTime }),\n ),\n );\n\n return () => {\n const animationFrameId = animationFrameStore.getState(\"animationFrameId\");\n\n if (animationFrameId !== undefined) {\n cancelAnimationFrame(animationFrameId);\n }\n\n clearRegionRect({ element });\n };\n};\n\nexport type FullscreenRegionProps = {\n /**\n * The content that fills the viewport while the region is in fullscreen.\n */\n children: ReactNode;\n /**\n * This region's id, from `useFullscreenId`. Pass the same id to every `FullscreenButton` that controls it, wherever that button sits on the page.\n */\n fullscreenId: string;\n};\n\n/**\n * A part of a page that can go fullscreen on its own. While it's in fullscreen, it fills the viewport, and Unified UI Shell hides its navigation and banners.\n *\n * Give it an id from `useFullscreenId`, and pass the same id to each `FullscreenButton` that controls it. The button can sit inside the region or anywhere else on the page.\n *\n * The region grows from its place on the page to the viewport, and shrinks back when it exits. It keeps its space on the page the whole time, so nothing around it moves.\n *\n * Regions stack. A region that enters fullscreen while another is in fullscreen covers it, and Escape or its own button goes back to the one under it.\n *\n * While it's on top, the rest of the page is `inert`, so keyboard and screen reader users stay inside the region the same way sighted users do. Dialogs, drawers, menus, and toasts opened from inside the region still work. Without shadow DOM, they render after the page around the region was made inert. With shadow DOM, they render into Odyssey's overlay container on `<body>`, which removes `inert` from itself while anything on the page is in fullscreen.\n *\n * Entering and exiting fullscreen are announced to screen readers. If focus was outside the region when it entered fullscreen, focus moves to the region, which is labelled \"Fullscreen mode\", and goes back when it exits.\n *\n * If the region's element leaves the page while it's in fullscreen without React unmounting it, such as a host page removing a view, it exits. Otherwise UI Shell's navigation would stay hidden with nothing on screen to bring it back.\n *\n * @experimental The fullscreen API is in alpha and may change in a future release.\n */\nconst FullscreenRegion = ({\n children,\n fullscreenId,\n}: FullscreenRegionProps) => {\n const hasAnimations = useAnimation();\n const { t } = useTranslation();\n const {\n exitFullscreen,\n fullscreenStackIndex,\n isFullscreen,\n isInFullscreenStack,\n } = useFullscreen({ fullscreenId });\n\n // Trails `isInFullscreenStack` while the region shrinks back, so it stays fixed until it lands on its placeholder. A region covered by one above it is still in the stack, so it stays fixed underneath.\n const [isDisplayedFullscreen, setIsDisplayedFullscreen] =\n useState(isInFullscreenStack);\n const [placeholderSize, setPlaceholderSize] = useState<RegionSize>();\n // Read from what's behind the region on the page, so a region inside a `Surface` stays white and one on the UI Shell app area stays gray. Its content was designed against that background.\n const [fullscreenBackgroundColor, setFullscreenBackgroundColor] =\n useState<string>();\n // Empty until the first change, so loading a page never announces anything.\n const [fullscreenAnnouncement, setFullscreenAnnouncement] = useState(\"\");\n const hasEnteredFullscreenRef = useRef(isInFullscreenStack);\n\n const enterStartRectRef = useRef<RegionRect>();\n const inlineSizesRef = useRef<{\n placeholderSize: RegionSize;\n regionSize: RegionSize;\n }>();\n const placeholderRef = useRef<HTMLDivElement>(null);\n const regionRef = useRef<HTMLDivElement>(null);\n\n // The content inside the region can change size in the same commit that enters fullscreen, such as a component that reads `useFullscreen` and changes its layout. Sizes kept from before that commit let the region start from what the user saw, and keep the page around it from moving.\n useLayoutEffect(() => {\n const placeholderElement = placeholderRef.current;\n const regionElement = regionRef.current;\n\n if (isDisplayedFullscreen || !placeholderElement || !regionElement) {\n return;\n }\n\n const storeInlineSizes = () => {\n inlineSizesRef.current = {\n placeholderSize: getElementSize({ element: placeholderElement }),\n regionSize: getElementSize({ element: regionElement }),\n };\n };\n\n storeInlineSizes();\n\n const resizeObserver = new ResizeObserver(storeInlineSizes);\n resizeObserver.observe(placeholderElement);\n resizeObserver.observe(regionElement);\n\n return () => resizeObserver.disconnect();\n }, [isDisplayedFullscreen]);\n\n // A layout effect, so each measurement and first frame happens before the browser paints.\n useLayoutEffect(() => {\n const placeholderElement = placeholderRef.current;\n const regionElement = regionRef.current;\n\n if (!placeholderElement || !regionElement) {\n return;\n }\n\n if (isInFullscreenStack && !isDisplayedFullscreen) {\n const { left, top } = getElementRect({ element: regionElement });\n const inlineSizes = inlineSizesRef.current ?? {\n placeholderSize: getElementSize({ element: placeholderElement }),\n regionSize: getElementSize({ element: regionElement }),\n };\n\n enterStartRectRef.current = hasAnimations\n ? { ...inlineSizes.regionSize, left, top }\n : undefined;\n setFullscreenBackgroundColor(\n getBackgroundColorBehindElement({ element: placeholderElement }),\n );\n setPlaceholderSize(inlineSizes.placeholderSize);\n setIsDisplayedFullscreen(true);\n\n return;\n }\n\n if (isInFullscreenStack && isDisplayedFullscreen) {\n const enterStartRect = enterStartRectRef.current;\n enterStartRectRef.current = undefined;\n\n if (!enterStartRect) {\n return;\n }\n\n return animateRegionRect({\n element: regionElement,\n getEndRect: getViewportRect,\n // Hands the size back to `inset: 0`, so the region follows the viewport when the window resizes.\n onFinish: () => clearRegionRect({ element: regionElement }),\n startRect: enterStartRect,\n });\n }\n\n if (!isInFullscreenStack && isDisplayedFullscreen) {\n if (!hasAnimations) {\n setIsDisplayedFullscreen(false);\n\n return;\n }\n\n // The inline styles stay on after the last frame. This effect's cleanup clears them in the same commit that drops the fixed position, so the region never flashes full size.\n return animateRegionRect({\n element: regionElement,\n getEndRect: () => {\n const placeholderRect = getElementRect({\n element: placeholderElement,\n });\n\n // The placeholder also holds the margin of the region's first and last child, which sits outside the region once it is back inline.\n return {\n ...placeholderRect,\n height:\n inlineSizesRef.current?.regionSize.height ??\n placeholderRect.height,\n };\n },\n onFinish: () => setIsDisplayedFullscreen(false),\n startRect: getElementRect({ element: regionElement }),\n });\n }\n\n return;\n }, [hasAnimations, isDisplayedFullscreen, isInFullscreenStack]);\n\n // Only the region on top isolates. One covered by another region gives that up, so focus and the reading order follow whatever the user can see.\n useEffect(() => {\n const regionElement = regionRef.current;\n\n if (!isFullscreen || !regionElement) {\n return;\n }\n\n return isolateFullscreenRegion({ regionElement });\n }, [isFullscreen]);\n\n useEffect(() => {\n if (isInFullscreenStack) {\n hasEnteredFullscreenRef.current = true;\n setFullscreenAnnouncement(t(\"fullscreen.entered.text\"));\n } else if (hasEnteredFullscreenRef.current) {\n setFullscreenAnnouncement(t(\"fullscreen.exited.text\"));\n }\n }, [isInFullscreenStack, t]);\n\n useEffect(() => {\n const regionElement = regionRef.current;\n\n if (!isInFullscreenStack || !regionElement) {\n return;\n }\n\n return watchElementDisconnection({\n element: regionElement,\n onDisconnected: exitFullscreen,\n });\n }, [exitFullscreen, isInFullscreenStack]);\n\n // A region that unmounts while in fullscreen would otherwise leave the shell's navigation hidden with nothing on screen to bring it back.\n useEffect(() => exitFullscreen, [exitFullscreen]);\n\n return (\n <StyledFullscreenRegionPlaceholder\n ref={placeholderRef}\n reservedSize={isDisplayedFullscreen ? placeholderSize : undefined}\n >\n <StyledFullscreenRegion\n aria-label={\n isInFullscreenStack ? t(\"fullscreen.region.label\") : undefined\n }\n fullscreenBackgroundColor={fullscreenBackgroundColor}\n fullscreenStackIndex={fullscreenStackIndex}\n id={getFullscreenElementId({ fullscreenId })}\n isFullscreen={isDisplayedFullscreen}\n ref={regionRef}\n role={isInFullscreenStack ? \"region\" : undefined}\n tabIndex={isFullscreen ? -1 : undefined}\n >\n {children}\n {/* Inside the region, because everything outside it is inert while it's in fullscreen, and an inert live region is never read. */}\n <StyledFullscreenAnnouncement role=\"status\">\n {fullscreenAnnouncement}\n </StyledFullscreenAnnouncement>\n </StyledFullscreenRegion>\n </StyledFullscreenRegionPlaceholder>\n );\n};\n\nconst MemoizedFullscreenRegion = memo(FullscreenRegion);\nMemoizedFullscreenRegion.displayName = \"FullscreenRegion\";\n\nexport { MemoizedFullscreenRegion as FullscreenRegion };\n"],"mappings":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AASA,IAAAE,iBAAA,GAAAF,OAAA;AACA,IAAAG,6BAAA,GAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AAIA,IAAAM,2BAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AACA,IAAAQ,yBAAA,GAAAR,OAAA;AACA,IAAAS,gCAAA,GAAAT,OAAA;AACA,IAAAU,cAAA,GAAAV,OAAA;AAAmD,IAAAW,WAAA,GAAAX,OAAA;AAjCnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GA0BA,MAAMY,8BAA8B,GAAG,IAAI;AAG3C,MAAMC,wBAAwB,GAAG,CAC/B,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,OAAO,EACP,KAAK,EACL,OAAO,CACC;AAWV,MAAMC,iCAAiC,GAAG,IAAAC,0DAA4B,EAAC;EACrEC,iBAAiB,EAAGC,IAAI,IAAKA,IAAI,KAAK,cAAc;EACpDC,GAAG,EAAE;AACP,CAAC,CAAC,CAAgC,CAAC;EAAEC;AAAa,CAAC,KACjDA,YAAY,GACR;EAAEC,MAAM,EAAED,YAAY,CAACC,MAAM;EAAEC,KAAK,EAAEF,YAAY,CAACE;AAAM,CAAC,GAC1D,CAAC,CACP,CA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|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.getActionTintChannel = void 0;
|
|
7
7
|
/*!
|
|
8
|
-
* Copyright (c)
|
|
8
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
9
9
|
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
10
10
|
*
|
|
11
11
|
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
@@ -14,7 +14,8 @@ exports.getTypedObjectKeys = void 0;
|
|
|
14
14
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
15
|
*
|
|
16
16
|
* See the License for the specific language governing permissions and limitations under the License.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
*/const getActionTintChannel = ({
|
|
18
|
+
colorScheme
|
|
19
|
+
}) => colorScheme === "dark" ? "255, 255, 255" : "0, 0, 0";
|
|
20
|
+
exports.getActionTintChannel = getActionTintChannel;
|
|
21
|
+
//# sourceMappingURL=getActionTintChannel.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getActionTintChannel.cjs","names":["getActionTintChannel","colorScheme","exports"],"sources":["../../src/getActionTintChannel.ts"],"sourcesContent":["/*!\n * Copyright (c) 2026-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 type { ResolvedColorScheme } from \"./useColorScheme.js\";\n\nexport type GetActionTintChannelArgs = {\n colorScheme: ResolvedColorScheme;\n};\n\n/** Returns comma-separated RGB channels for an action-state tint: white in dark mode and black in light mode. Add opacity with `rgba()` when using the tint. */\nexport const getActionTintChannel = ({\n colorScheme,\n}: GetActionTintChannelArgs): string =>\n colorScheme === \"dark\" ? \"255, 255, 255\" : \"0, 0, 0\";\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GASO,MAAMA,oBAAoB,GAAGA,CAAC;EACnCC;AACwB,CAAC,KACzBA,WAAW,KAAK,MAAM,GAAG,eAAe,GAAG,SAAS;AAACC,OAAA,CAAAF,oBAAA,GAAAA,oBAAA","ignoreList":[]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.isColorSchemeDesignTokensOverride = exports.getColorSchemeDesignTokensOverride = void 0;
|
|
7
|
+
var _useColorScheme = require("./useColorScheme.cjs");
|
|
8
|
+
/*!
|
|
9
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
10
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
11
|
+
*
|
|
12
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
15
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
*
|
|
17
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
18
|
+
*/const isColorSchemeDesignTokensOverride = designTokensOverride => _useColorScheme.resolvedColorSchemeValues.some(colorScheme => designTokensOverride[colorScheme] !== undefined);
|
|
19
|
+
exports.isColorSchemeDesignTokensOverride = isColorSchemeDesignTokensOverride;
|
|
20
|
+
const getColorSchemeDesignTokensOverride = ({
|
|
21
|
+
colorScheme,
|
|
22
|
+
designTokensOverride
|
|
23
|
+
}) => {
|
|
24
|
+
if (!designTokensOverride) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (isColorSchemeDesignTokensOverride(designTokensOverride)) {
|
|
28
|
+
return designTokensOverride[colorScheme];
|
|
29
|
+
}
|
|
30
|
+
return colorScheme === "light" ? designTokensOverride : undefined;
|
|
31
|
+
};
|
|
32
|
+
exports.getColorSchemeDesignTokensOverride = getColorSchemeDesignTokensOverride;
|
|
33
|
+
//# sourceMappingURL=getColorSchemeDesignTokensOverride.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getColorSchemeDesignTokensOverride.cjs","names":["_useColorScheme","require","isColorSchemeDesignTokensOverride","designTokensOverride","resolvedColorSchemeValues","some","colorScheme","undefined","exports","getColorSchemeDesignTokensOverride"],"sources":["../../src/getColorSchemeDesignTokensOverride.ts"],"sourcesContent":["/*!\n * Copyright (c) 2026-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 type { DesignTokens, DesignTokensOverride } from \"./theme/theme.js\";\n\nimport {\n type ResolvedColorScheme,\n resolvedColorSchemeValues,\n} from \"./useColorScheme.js\";\n\n/**\n * A design tokens override for each color scheme, keyed by scheme name. Each scheme reads only its own entry, and a scheme with no entry renders Odyssey's tokens for that scheme unchanged.\n *\n * Token names cannot sit next to the scheme keys. Either every key is a scheme name or the object is a flat `DesignTokensOverride`.\n */\nexport type ColorSchemeDesignTokensOverride = {\n [ColorSchemeName in ResolvedColorScheme]?: DesignTokensOverride;\n} & {\n [TokenName in keyof DesignTokens]?: never;\n};\n\n/**\n * A flat design tokens override, which applies in light mode only. Scheme names cannot appear as keys, so an object that mixes token names and scheme keys fits neither shape and fails to compile.\n */\nexport type FlatDesignTokensOverride = DesignTokensOverride & {\n [ColorSchemeName in ResolvedColorScheme]?: never;\n};\n\n/** Either shape `designTokensOverride` accepts. */\nexport type ColorSchemeAwareDesignTokensOverride =\n | ColorSchemeDesignTokensOverride\n | FlatDesignTokensOverride;\n\n/**\n * Returns `true` when an override is keyed by color scheme rather than by token name. No token is named after a color scheme, so a defined scheme key at the top level settles which shape it is. A scheme key set to `undefined` does not count, because the flat shape allows it when optional properties accept `undefined`.\n */\nexport const isColorSchemeDesignTokensOverride = (\n designTokensOverride: ColorSchemeAwareDesignTokensOverride,\n): designTokensOverride is ColorSchemeDesignTokensOverride =>\n resolvedColorSchemeValues.some(\n (colorScheme) => designTokensOverride[colorScheme] !== undefined,\n );\n\nexport type GetColorSchemeDesignTokensOverrideArgs = {\n colorScheme: ResolvedColorScheme;\n designTokensOverride?: ColorSchemeAwareDesignTokensOverride;\n};\n\n/**\n * Returns the tokens to override for one color scheme, from either shape `designTokensOverride` accepts.\n *\n * A flat override applies to light mode only. That keeps every app that passed `designTokensOverride` before dark mode existed rendering exactly as it did, and a dark render never inherits colors that were picked for a light surface. An app that wants overrides in dark mode passes the keyed shape.\n */\nexport const getColorSchemeDesignTokensOverride = ({\n colorScheme,\n designTokensOverride,\n}: GetColorSchemeDesignTokensOverrideArgs):\n | DesignTokensOverride\n | undefined => {\n if (!designTokensOverride) {\n return undefined;\n }\n\n if (isColorSchemeDesignTokensOverride(designTokensOverride)) {\n return designTokensOverride[colorScheme];\n }\n\n return colorScheme === \"light\" ? designTokensOverride : undefined;\n};\n"],"mappings":";;;;;;AAcA,IAAAA,eAAA,GAAAC,OAAA;AAdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAmCO,MAAMC,iCAAiC,GAC5CC,oBAA0D,IAE1DC,yCAAyB,CAACC,IAAI,CAC3BC,WAAW,IAAKH,oBAAoB,CAACG,WAAW,CAAC,KAAKC,SACzD,CAAC;AAACC,OAAA,CAAAN,iCAAA,GAAAA,iCAAA;AAYG,MAAMO,kCAAkC,GAAGA,CAAC;EACjDH,WAAW;EACXH;AACsC,CAAC,KAExB;EACf,IAAI,CAACA,oBAAoB,EAAE;IACzB,OAAOI,SAAS;EAClB;EAEA,IAAIL,iCAAiC,CAACC,oBAAoB,CAAC,EAAE;IAC3D,OAAOA,oBAAoB,CAACG,WAAW,CAAC;EAC1C;EAEA,OAAOA,WAAW,KAAK,OAAO,GAAGH,oBAAoB,GAAGI,SAAS;AACnE,CAAC;AAACC,OAAA,CAAAC,kCAAA,GAAAA,kCAAA","ignoreList":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getDropShadowFilter = void 0;
|
|
7
|
+
/*!
|
|
8
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
9
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
10
|
+
*
|
|
11
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
14
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
*
|
|
16
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
17
|
+
*/const SHADOW_LIST_SEPARATOR = /,(?![^(]*\))/;
|
|
18
|
+
const getDropShadowFilter = ({
|
|
19
|
+
boxShadow
|
|
20
|
+
}) => boxShadow.split(SHADOW_LIST_SEPARATOR).map(shadow => `drop-shadow(${shadow.trim()})`).join(" ");
|
|
21
|
+
exports.getDropShadowFilter = getDropShadowFilter;
|
|
22
|
+
//# sourceMappingURL=getDropShadowFilter.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDropShadowFilter.cjs","names":["SHADOW_LIST_SEPARATOR","getDropShadowFilter","boxShadow","split","map","shadow","trim","join","exports"],"sources":["../../src/getDropShadowFilter.ts"],"sourcesContent":["/*!\n * Copyright (c) 2026-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\n// Matches commas between shadows, excluding commas inside their `rgba()` colors so each Odyssey shadow token becomes a complete `drop-shadow()` argument.\nconst SHADOW_LIST_SEPARATOR = /,(?![^(]*\\))/;\n\nexport type GetDropShadowFilterArgs = {\n boxShadow: string;\n};\n\n/** Returns a CSS filter from an Odyssey shadow token, such as `ShadowScale1`. Shadows must omit inset and spread radius because `drop-shadow()` does not support them. */\nexport const getDropShadowFilter = ({\n boxShadow,\n}: GetDropShadowFilterArgs): string =>\n boxShadow\n .split(SHADOW_LIST_SEPARATOR)\n .map((shadow) => `drop-shadow(${shadow.trim()})`)\n .join(\" \");\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAGA,MAAMA,qBAAqB,GAAG,cAAc;AAOrC,MAAMC,mBAAmB,GAAGA,CAAC;EAClCC;AACuB,CAAC,KACxBA,SAAS,CACNC,KAAK,CAACH,qBAAqB,CAAC,CAC5BI,GAAG,CAAEC,MAAM,IAAK,eAAeA,MAAM,CAACC,IAAI,CAAC,CAAC,GAAG,CAAC,CAChDC,IAAI,CAAC,GAAG,CAAC;AAACC,OAAA,CAAAP,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedAddIcon = exports.AddIcon = (0, _react.memo)(AddIcon);
|
|
38
|
-
MemoizedAddIcon.displayName = "AddIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedAddIcon.displayName = "AddIcon::pkg=odyssey&odysseyV=1.73.0";
|
|
39
39
|
//# sourceMappingURL=Add.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedAddCircleIcon = exports.AddCircleIcon = (0, _react.memo)(AddCircleIcon);
|
|
38
|
-
MemoizedAddCircleIcon.displayName = "AddCircleIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedAddCircleIcon.displayName = "AddCircleIcon::pkg=odyssey&odysseyV=1.73.0";
|
|
39
39
|
//# sourceMappingURL=AddCircle.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedAppsIcon = exports.AppsIcon = (0, _react.memo)(AppsIcon);
|
|
38
|
-
MemoizedAppsIcon.displayName = "AppsIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedAppsIcon.displayName = "AppsIcon::pkg=odyssey&odysseyV=1.73.0";
|
|
39
39
|
//# sourceMappingURL=Apps.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedAppsSelectedIcon = exports.AppsSelectedIcon = (0, _react.memo)(AppsSelectedIcon);
|
|
38
|
-
MemoizedAppsSelectedIcon.displayName = "AppsSelectedIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedAppsSelectedIcon.displayName = "AppsSelectedIcon::pkg=odyssey&odysseyV=1.73.0";
|
|
39
39
|
//# sourceMappingURL=AppsSelected.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowBottomIcon = exports.ArrowBottomIcon = (0, _react.memo)(ArrowBottomIcon);
|
|
38
|
-
MemoizedArrowBottomIcon.displayName = "ArrowBottomIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowBottomIcon.displayName = "ArrowBottomIcon::pkg=odyssey&odysseyV=1.73.0";
|
|
39
39
|
//# sourceMappingURL=ArrowBottom.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowDownIcon = exports.ArrowDownIcon = (0, _react.memo)(ArrowDownIcon);
|
|
38
|
-
MemoizedArrowDownIcon.displayName = "ArrowDownIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowDownIcon.displayName = "ArrowDownIcon::pkg=odyssey&odysseyV=1.73.0";
|
|
39
39
|
//# sourceMappingURL=ArrowDown.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowLeftIcon = exports.ArrowLeftIcon = (0, _react.memo)(ArrowLeftIcon);
|
|
38
|
-
MemoizedArrowLeftIcon.displayName = "ArrowLeftIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowLeftIcon.displayName = "ArrowLeftIcon::pkg=odyssey&odysseyV=1.73.0";
|
|
39
39
|
//# sourceMappingURL=ArrowLeft.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowLowerLeftIcon = exports.ArrowLowerLeftIcon = (0, _react.memo)(ArrowLowerLeftIcon);
|
|
38
|
-
MemoizedArrowLowerLeftIcon.displayName = "ArrowLowerLeftIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowLowerLeftIcon.displayName = "ArrowLowerLeftIcon::pkg=odyssey&odysseyV=1.73.0";
|
|
39
39
|
//# sourceMappingURL=ArrowLowerLeft.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowLowerRightIcon = exports.ArrowLowerRightIcon = (0, _react.memo)(ArrowLowerRightIcon);
|
|
38
|
-
MemoizedArrowLowerRightIcon.displayName = "ArrowLowerRightIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowLowerRightIcon.displayName = "ArrowLowerRightIcon::pkg=odyssey&odysseyV=1.73.0";
|
|
39
39
|
//# sourceMappingURL=ArrowLowerRight.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowRightIcon = exports.ArrowRightIcon = (0, _react.memo)(ArrowRightIcon);
|
|
38
|
-
MemoizedArrowRightIcon.displayName = "ArrowRightIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowRightIcon.displayName = "ArrowRightIcon::pkg=odyssey&odysseyV=1.73.0";
|
|
39
39
|
//# sourceMappingURL=ArrowRight.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowTopIcon = exports.ArrowTopIcon = (0, _react.memo)(ArrowTopIcon);
|
|
38
|
-
MemoizedArrowTopIcon.displayName = "ArrowTopIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowTopIcon.displayName = "ArrowTopIcon::pkg=odyssey&odysseyV=1.73.0";
|
|
39
39
|
//# sourceMappingURL=ArrowTop.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowUnsortedIcon = exports.ArrowUnsortedIcon = (0, _react.memo)(ArrowUnsortedIcon);
|
|
38
|
-
MemoizedArrowUnsortedIcon.displayName = "ArrowUnsortedIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowUnsortedIcon.displayName = "ArrowUnsortedIcon::pkg=odyssey&odysseyV=1.73.0";
|
|
39
39
|
//# sourceMappingURL=ArrowUnsorted.cjs.map
|