@okta/odyssey-react-mui 1.68.0 → 1.70.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/dist/cjs/Accordion.cjs +1 -1
- package/dist/cjs/AnimationContext.cjs +42 -0
- package/dist/cjs/AnimationContext.cjs.map +1 -0
- package/dist/cjs/Autocomplete.cjs +1 -1
- package/dist/cjs/Badge.cjs +1 -1
- package/dist/cjs/Banner.cjs +1 -1
- package/dist/cjs/Banner.cjs.map +1 -1
- package/dist/cjs/Box.cjs +1 -1
- package/dist/cjs/Breadcrumbs.cjs +1 -1
- package/dist/cjs/Buttons/BaseButton.cjs +1 -1
- package/dist/cjs/Buttons/BaseMenuButton.cjs +1 -1
- package/dist/cjs/Buttons/Button.cjs +1 -1
- package/dist/cjs/Buttons/MenuButton.cjs +1 -1
- package/dist/cjs/Buttons/MenuItem.cjs +1 -1
- package/dist/cjs/Callout.cjs +1 -1
- package/dist/cjs/Callout.cjs.map +1 -1
- package/dist/cjs/Card.cjs +1 -1
- package/dist/cjs/CircularProgress.cjs +1 -1
- package/dist/cjs/ConditionalWrapper.cjs +1 -1
- package/dist/cjs/DataTable/DataTable.cjs +1 -1
- package/dist/cjs/DataTable/DataTableRowActions.cjs +1 -1
- package/dist/cjs/DataTable/DataTableSettings.cjs +1 -1
- package/dist/cjs/DatePickers/DateField.cjs +1 -1
- package/dist/cjs/DatePickers/DateFieldActionBar.cjs +1 -1
- package/dist/cjs/DatePickers/DateFieldLocalizationProvider.cjs +1 -1
- package/dist/cjs/DatePickers/DateFieldLocalizationProvider.cjs.map +1 -1
- package/dist/cjs/DatePickers/DatePicker.cjs +3 -4
- package/dist/cjs/DatePickers/DatePicker.cjs.map +1 -1
- package/dist/cjs/DatePickers/TimeZonePicker.cjs +1 -1
- package/dist/cjs/DatePickers/useOdysseyDateFields.cjs +10 -28
- package/dist/cjs/DatePickers/useOdysseyDateFields.cjs.map +1 -1
- package/dist/cjs/Dialog.cjs +1 -1
- package/dist/cjs/Drawer.cjs +19 -6
- package/dist/cjs/Drawer.cjs.map +1 -1
- package/dist/cjs/EmptyState.cjs +1 -1
- package/dist/cjs/ErrorMessageList.cjs +1 -1
- package/dist/cjs/Field.cjs +1 -1
- package/dist/cjs/FieldError.cjs +1 -1
- package/dist/cjs/FieldHint.cjs +1 -1
- package/dist/cjs/FieldLabel.cjs +1 -1
- package/dist/cjs/Fields/Checkbox.cjs +1 -1
- package/dist/cjs/Fields/CheckboxGroup.cjs +1 -1
- package/dist/cjs/Fields/Radio.cjs +1 -1
- package/dist/cjs/Fields/RadioGroup.cjs +1 -1
- package/dist/cjs/Fieldset.cjs +1 -1
- package/dist/cjs/FileUploader/FileUploadIllustration.cjs +1 -1
- package/dist/cjs/FileUploader/FileUploadPreview.cjs +1 -1
- package/dist/cjs/FileUploader/FileUploader.cjs +1 -1
- package/dist/cjs/Form.cjs +1 -1
- package/dist/cjs/FullScreenOverlay.cjs +1 -1
- package/dist/cjs/FullScreenOverlayContext.cjs +1 -1
- package/dist/cjs/HintLink.cjs +1 -1
- package/dist/cjs/IconWithTooltip.cjs +1 -1
- package/dist/cjs/Link.cjs +1 -1
- package/dist/cjs/MuiPropsChild.cjs +1 -1
- package/dist/cjs/NativeSelect.cjs +1 -1
- package/dist/cjs/OdysseyCacheProvider.cjs +1 -1
- package/dist/cjs/OdysseyProvider.cjs +18 -13
- package/dist/cjs/OdysseyProvider.cjs.map +1 -1
- package/dist/cjs/OdysseyThemeProvider.cjs +1 -1
- package/dist/cjs/OdysseyThemeProviderPropsContext.cjs +1 -1
- package/dist/cjs/OdysseyThemeProviderPropsContext.cjs.map +1 -1
- package/dist/cjs/Pagination/Pagination.cjs +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 +2 -2
- package/dist/cjs/Tabs.cjs +1 -1
- package/dist/cjs/Tag.cjs +1 -1
- package/dist/cjs/TagList.cjs +1 -1
- package/dist/cjs/TextField.cjs +1 -1
- package/dist/cjs/Toast.cjs +1 -1
- package/dist/cjs/ToastStack.cjs +1 -1
- package/dist/cjs/Tooltip.cjs +1 -1
- package/dist/cjs/Typography.cjs +40 -13
- package/dist/cjs/Typography.cjs.map +1 -1
- package/dist/cjs/__internal.cjs +22 -0
- package/dist/cjs/__internal.cjs.map +1 -1
- package/dist/cjs/charts/BarChart.cjs +223 -0
- package/dist/cjs/charts/BarChart.cjs.map +1 -0
- package/dist/cjs/charts/LineChart.cjs +242 -0
- package/dist/cjs/charts/LineChart.cjs.map +1 -0
- package/dist/cjs/charts/components/ChartContainer.cjs +32 -0
- package/dist/cjs/charts/components/ChartContainer.cjs.map +1 -0
- package/dist/cjs/charts/components/ChartError.cjs +73 -0
- package/dist/cjs/charts/components/ChartError.cjs.map +1 -0
- package/dist/cjs/charts/components/ChartFrame.cjs +114 -0
- package/dist/cjs/charts/components/ChartFrame.cjs.map +1 -0
- package/dist/cjs/charts/components/ChartPopoverContent.cjs +123 -0
- package/dist/cjs/charts/components/ChartPopoverContent.cjs.map +1 -0
- package/dist/cjs/charts/index.cjs +20 -0
- package/dist/cjs/charts/index.cjs.map +1 -0
- package/dist/cjs/charts/useChartAnimation.cjs +27 -0
- package/dist/cjs/charts/useChartAnimation.cjs.map +1 -0
- package/dist/cjs/charts/utils/chartTokens.cjs +162 -0
- package/dist/cjs/charts/utils/chartTokens.cjs.map +1 -0
- package/dist/cjs/charts/utils/chartTypes.cjs +6 -0
- package/dist/cjs/charts/utils/chartTypes.cjs.map +1 -0
- package/dist/cjs/charts/utils/formatChartValue.cjs +38 -0
- package/dist/cjs/charts/utils/formatChartValue.cjs.map +1 -0
- package/dist/cjs/charts/utils/getChartSeriesPointData.cjs +52 -0
- package/dist/cjs/charts/utils/getChartSeriesPointData.cjs.map +1 -0
- package/dist/cjs/charts/utils/hasDuplicateSeries.cjs +21 -0
- package/dist/cjs/charts/utils/hasDuplicateSeries.cjs.map +1 -0
- package/dist/cjs/charts/utils/resolveChartLocale.cjs +28 -0
- package/dist/cjs/charts/utils/resolveChartLocale.cjs.map +1 -0
- package/dist/cjs/charts/utils/useChartValueFormatter.cjs +35 -0
- package/dist/cjs/charts/utils/useChartValueFormatter.cjs.map +1 -0
- package/dist/cjs/charts/utils/useStableValue.cjs +28 -0
- package/dist/cjs/charts/utils/useStableValue.cjs.map +1 -0
- package/dist/cjs/createOdysseyStyledComponent.cjs +4 -3
- package/dist/cjs/createOdysseyStyledComponent.cjs.map +1 -1
- package/dist/cjs/icons.generated/Add.cjs +1 -1
- package/dist/cjs/icons.generated/AddCircle.cjs +1 -1
- package/dist/cjs/icons.generated/Apps.cjs +1 -1
- package/dist/cjs/icons.generated/AppsSelected.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowBottom.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowDown.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowLowerLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowLowerRight.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowRight.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowTop.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowUnsorted.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowUp.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowUpperLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowUpperRight.cjs +1 -1
- package/dist/cjs/icons.generated/Bug.cjs +1 -1
- package/dist/cjs/icons.generated/Calendar.cjs +1 -1
- package/dist/cjs/icons.generated/Call.cjs +1 -1
- package/dist/cjs/icons.generated/Chat.cjs +1 -1
- package/dist/cjs/icons.generated/Check.cjs +1 -1
- package/dist/cjs/icons.generated/CheckCircleFilled.cjs +1 -1
- package/dist/cjs/icons.generated/ChevronDown.cjs +1 -1
- package/dist/cjs/icons.generated/ChevronLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ChevronRight.cjs +1 -1
- package/dist/cjs/icons.generated/ChevronUp.cjs +1 -1
- package/dist/cjs/icons.generated/Clock.cjs +1 -1
- package/dist/cjs/icons.generated/Close.cjs +1 -1
- package/dist/cjs/icons.generated/CloseCircleFilled.cjs +1 -1
- package/dist/cjs/icons.generated/CollapseLeft.cjs +1 -1
- package/dist/cjs/icons.generated/CollapseRight.cjs +1 -1
- package/dist/cjs/icons.generated/Copy.cjs +1 -1
- package/dist/cjs/icons.generated/Customizations.cjs +1 -1
- package/dist/cjs/icons.generated/CustomizationsSelected.cjs +1 -1
- package/dist/cjs/icons.generated/DangerDiamond.cjs +1 -1
- package/dist/cjs/icons.generated/DangerDiamondFilled.cjs +1 -1
- package/dist/cjs/icons.generated/Delete.cjs +1 -1
- package/dist/cjs/icons.generated/Deny.cjs +1 -1
- package/dist/cjs/icons.generated/Devices.cjs +1 -1
- package/dist/cjs/icons.generated/Directory.cjs +1 -1
- package/dist/cjs/icons.generated/DirectorySelected.cjs +1 -1
- package/dist/cjs/icons.generated/Documentation.cjs +1 -1
- package/dist/cjs/icons.generated/Download.cjs +1 -1
- package/dist/cjs/icons.generated/DragIndicator.cjs +1 -1
- package/dist/cjs/icons.generated/Edit.cjs +1 -1
- package/dist/cjs/icons.generated/ExpandLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ExpandRight.cjs +1 -1
- package/dist/cjs/icons.generated/ExternalLink.cjs +1 -1
- package/dist/cjs/icons.generated/Filter.cjs +1 -1
- package/dist/cjs/icons.generated/Folder.cjs +1 -1
- package/dist/cjs/icons.generated/Globe.cjs +1 -1
- package/dist/cjs/icons.generated/Grid.cjs +1 -1
- package/dist/cjs/icons.generated/Group.cjs +1 -1
- package/dist/cjs/icons.generated/Happy.cjs +1 -1
- package/dist/cjs/icons.generated/Hide.cjs +1 -1
- package/dist/cjs/icons.generated/Home.cjs +1 -1
- package/dist/cjs/icons.generated/HomeSelected.cjs +1 -1
- package/dist/cjs/icons.generated/IdentityGovernance.cjs +1 -1
- package/dist/cjs/icons.generated/IdentityGovernanceSelected.cjs +1 -1
- package/dist/cjs/icons.generated/IdentityGovernanceSelected.cjs.map +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 +13 -18
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/labs/AppTile.cjs +1 -1
- package/dist/cjs/labs/DataFilters.cjs +2 -2
- package/dist/cjs/labs/DataTable.cjs +1 -1
- package/dist/cjs/labs/DataTablePagination.cjs +1 -1
- package/dist/cjs/labs/DataView/BulkActionsMenu.cjs +1 -1
- package/dist/cjs/labs/DataView/CardLayoutContent.cjs +2 -2
- package/dist/cjs/labs/DataView/DataCard.cjs +1 -1
- package/dist/cjs/labs/DataView/DataTable.cjs +1 -1
- package/dist/cjs/labs/DataView/DataView.cjs +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 +3 -4
- package/dist/cjs/labs/DatePickers/DateTimePicker.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/properties/ts/odyssey-react-mui.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs +5 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs +5 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs +4 -0
- 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 +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs +5 -1
- 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 +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs +4 -0
- 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 +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_nl_NL.cjs +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 +4 -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 +4 -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 +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs +4 -0
- 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 +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_CN.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_CN.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs +5 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs.map +1 -1
- package/dist/cjs/theme/components/Dialog.cjs +1 -1
- package/dist/cjs/theme/components/Dialog.cjs.map +1 -1
- package/dist/cjs/theme/components/Drawer.cjs +5 -1
- package/dist/cjs/theme/components/Drawer.cjs.map +1 -1
- package/dist/cjs/theme/useMediaQuery.cjs +9 -6
- package/dist/cjs/theme/useMediaQuery.cjs.map +1 -1
- package/dist/cjs/ui-shell/AppSwitcher/AppSwitcher.cjs +1 -1
- package/dist/cjs/ui-shell/InnerAppContainer.cjs +1 -1
- package/dist/cjs/ui-shell/NarrowUiShellContent.cjs +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 +2 -2
- package/dist/cjs/ui-shell/SkipToContent.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/HamburgerMenuIcon.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/TopNav.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/TopNavLinksList.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/TopNavListItem.cjs +1 -1
- package/dist/cjs/ui-shell/UiShell.cjs +1 -1
- package/dist/cjs/ui-shell/UiShellLogo.cjs +1 -1
- package/dist/cjs/ui-shell/WideUiShellContent.cjs +1 -1
- package/dist/cjs/useStableCallback.cjs +23 -0
- package/dist/cjs/useStableCallback.cjs.map +1 -0
- 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 +36 -0
- package/dist/esm/AnimationContext.js.map +1 -0
- package/dist/esm/Autocomplete.js +1 -1
- package/dist/esm/Badge.js +1 -1
- package/dist/esm/Banner.js +1 -1
- package/dist/esm/Banner.js.map +1 -1
- package/dist/esm/Box.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/Buttons/BaseButton.js +1 -1
- package/dist/esm/Buttons/BaseMenuButton.js +1 -1
- package/dist/esm/Buttons/Button.js +1 -1
- package/dist/esm/Buttons/MenuButton.js +1 -1
- package/dist/esm/Buttons/MenuItem.js +1 -1
- package/dist/esm/Callout.js +1 -1
- package/dist/esm/Callout.js.map +1 -1
- package/dist/esm/Card.js +1 -1
- package/dist/esm/CircularProgress.js +1 -1
- package/dist/esm/ConditionalWrapper.js +1 -1
- package/dist/esm/DataTable/DataTable.js +1 -1
- package/dist/esm/DataTable/DataTableRowActions.js +1 -1
- package/dist/esm/DataTable/DataTableSettings.js +1 -1
- package/dist/esm/DatePickers/DateField.js +1 -1
- package/dist/esm/DatePickers/DateFieldActionBar.js +1 -1
- package/dist/esm/DatePickers/DateFieldLocalizationProvider.js +1 -1
- package/dist/esm/DatePickers/DateFieldLocalizationProvider.js.map +1 -1
- package/dist/esm/DatePickers/DatePicker.js +3 -4
- package/dist/esm/DatePickers/DatePicker.js.map +1 -1
- package/dist/esm/DatePickers/TimeZonePicker.js +1 -1
- package/dist/esm/DatePickers/useOdysseyDateFields.js +10 -28
- package/dist/esm/DatePickers/useOdysseyDateFields.js.map +1 -1
- package/dist/esm/Dialog.js +1 -1
- package/dist/esm/Drawer.js +15 -2
- package/dist/esm/Drawer.js.map +1 -1
- package/dist/esm/EmptyState.js +1 -1
- package/dist/esm/ErrorMessageList.js +1 -1
- package/dist/esm/Field.js +1 -1
- package/dist/esm/FieldError.js +1 -1
- package/dist/esm/FieldHint.js +1 -1
- package/dist/esm/FieldLabel.js +1 -1
- package/dist/esm/Fields/Checkbox.js +1 -1
- package/dist/esm/Fields/CheckboxGroup.js +1 -1
- package/dist/esm/Fields/Radio.js +1 -1
- package/dist/esm/Fields/RadioGroup.js +1 -1
- package/dist/esm/Fieldset.js +1 -1
- package/dist/esm/FileUploader/FileUploadIllustration.js +1 -1
- package/dist/esm/FileUploader/FileUploadPreview.js +1 -1
- package/dist/esm/FileUploader/FileUploader.js +1 -1
- package/dist/esm/Form.js +1 -1
- package/dist/esm/FullScreenOverlay.js +1 -1
- package/dist/esm/FullScreenOverlayContext.js +1 -1
- package/dist/esm/HintLink.js +1 -1
- package/dist/esm/IconWithTooltip.js +1 -1
- package/dist/esm/Link.js +1 -1
- package/dist/esm/MuiPropsChild.js +1 -1
- package/dist/esm/NativeSelect.js +1 -1
- package/dist/esm/OdysseyCacheProvider.js +1 -1
- package/dist/esm/OdysseyProvider.js +18 -13
- package/dist/esm/OdysseyProvider.js.map +1 -1
- package/dist/esm/OdysseyThemeProvider.js +1 -1
- package/dist/esm/OdysseyThemeProviderPropsContext.js +1 -1
- package/dist/esm/OdysseyThemeProviderPropsContext.js.map +1 -1
- package/dist/esm/Pagination/Pagination.js +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 +2 -2
- package/dist/esm/Tabs.js +1 -1
- package/dist/esm/Tag.js +1 -1
- package/dist/esm/TagList.js +1 -1
- package/dist/esm/TextField.js +1 -1
- package/dist/esm/Toast.js +1 -1
- package/dist/esm/ToastStack.js +1 -1
- package/dist/esm/Tooltip.js +1 -1
- package/dist/esm/Typography.js +39 -12
- package/dist/esm/Typography.js.map +1 -1
- package/dist/esm/__internal.js +2 -0
- package/dist/esm/__internal.js.map +1 -1
- package/dist/esm/charts/BarChart.js +220 -0
- package/dist/esm/charts/BarChart.js.map +1 -0
- package/dist/esm/charts/LineChart.js +239 -0
- package/dist/esm/charts/LineChart.js.map +1 -0
- package/dist/esm/charts/components/ChartContainer.js +28 -0
- package/dist/esm/charts/components/ChartContainer.js.map +1 -0
- package/dist/esm/charts/components/ChartError.js +70 -0
- package/dist/esm/charts/components/ChartError.js.map +1 -0
- package/dist/esm/charts/components/ChartFrame.js +110 -0
- package/dist/esm/charts/components/ChartFrame.js.map +1 -0
- package/dist/esm/charts/components/ChartPopoverContent.js +118 -0
- package/dist/esm/charts/components/ChartPopoverContent.js.map +1 -0
- package/dist/esm/charts/index.js +15 -0
- package/dist/esm/charts/index.js.map +1 -0
- package/dist/esm/charts/useChartAnimation.js +22 -0
- package/dist/esm/charts/useChartAnimation.js.map +1 -0
- package/dist/esm/charts/utils/chartTokens.js +153 -0
- package/dist/esm/charts/utils/chartTokens.js.map +1 -0
- package/dist/esm/charts/utils/chartTypes.js +2 -0
- package/dist/esm/charts/utils/chartTypes.js.map +1 -0
- package/dist/esm/charts/utils/formatChartValue.js +33 -0
- package/dist/esm/charts/utils/formatChartValue.js.map +1 -0
- package/dist/esm/charts/utils/getChartSeriesPointData.js +45 -0
- package/dist/esm/charts/utils/getChartSeriesPointData.js.map +1 -0
- package/dist/esm/charts/utils/hasDuplicateSeries.js +14 -0
- package/dist/esm/charts/utils/hasDuplicateSeries.js.map +1 -0
- package/dist/esm/charts/utils/resolveChartLocale.js +21 -0
- package/dist/esm/charts/utils/resolveChartLocale.js.map +1 -0
- package/dist/esm/charts/utils/useChartValueFormatter.js +30 -0
- package/dist/esm/charts/utils/useChartValueFormatter.js.map +1 -0
- package/dist/esm/charts/utils/useStableValue.js +22 -0
- package/dist/esm/charts/utils/useStableValue.js.map +1 -0
- package/dist/esm/createOdysseyStyledComponent.js +5 -4
- package/dist/esm/createOdysseyStyledComponent.js.map +1 -1
- package/dist/esm/icons.generated/Add.js +1 -1
- package/dist/esm/icons.generated/AddCircle.js +1 -1
- package/dist/esm/icons.generated/Apps.js +1 -1
- package/dist/esm/icons.generated/AppsSelected.js +1 -1
- package/dist/esm/icons.generated/ArrowBottom.js +1 -1
- package/dist/esm/icons.generated/ArrowDown.js +1 -1
- package/dist/esm/icons.generated/ArrowLeft.js +1 -1
- package/dist/esm/icons.generated/ArrowLowerLeft.js +1 -1
- package/dist/esm/icons.generated/ArrowLowerRight.js +1 -1
- package/dist/esm/icons.generated/ArrowRight.js +1 -1
- package/dist/esm/icons.generated/ArrowTop.js +1 -1
- package/dist/esm/icons.generated/ArrowUnsorted.js +1 -1
- package/dist/esm/icons.generated/ArrowUp.js +1 -1
- package/dist/esm/icons.generated/ArrowUpperLeft.js +1 -1
- package/dist/esm/icons.generated/ArrowUpperRight.js +1 -1
- package/dist/esm/icons.generated/Bug.js +1 -1
- package/dist/esm/icons.generated/Calendar.js +1 -1
- package/dist/esm/icons.generated/Call.js +1 -1
- package/dist/esm/icons.generated/Chat.js +1 -1
- package/dist/esm/icons.generated/Check.js +1 -1
- package/dist/esm/icons.generated/CheckCircleFilled.js +1 -1
- package/dist/esm/icons.generated/ChevronDown.js +1 -1
- package/dist/esm/icons.generated/ChevronLeft.js +1 -1
- package/dist/esm/icons.generated/ChevronRight.js +1 -1
- package/dist/esm/icons.generated/ChevronUp.js +1 -1
- package/dist/esm/icons.generated/Clock.js +1 -1
- package/dist/esm/icons.generated/Close.js +1 -1
- package/dist/esm/icons.generated/CloseCircleFilled.js +1 -1
- package/dist/esm/icons.generated/CollapseLeft.js +1 -1
- package/dist/esm/icons.generated/CollapseRight.js +1 -1
- package/dist/esm/icons.generated/Copy.js +1 -1
- package/dist/esm/icons.generated/Customizations.js +1 -1
- package/dist/esm/icons.generated/CustomizationsSelected.js +1 -1
- package/dist/esm/icons.generated/DangerDiamond.js +1 -1
- package/dist/esm/icons.generated/DangerDiamondFilled.js +1 -1
- package/dist/esm/icons.generated/Delete.js +1 -1
- package/dist/esm/icons.generated/Deny.js +1 -1
- package/dist/esm/icons.generated/Devices.js +1 -1
- package/dist/esm/icons.generated/Directory.js +1 -1
- package/dist/esm/icons.generated/DirectorySelected.js +1 -1
- package/dist/esm/icons.generated/Documentation.js +1 -1
- package/dist/esm/icons.generated/Download.js +1 -1
- package/dist/esm/icons.generated/DragIndicator.js +1 -1
- package/dist/esm/icons.generated/Edit.js +1 -1
- package/dist/esm/icons.generated/ExpandLeft.js +1 -1
- package/dist/esm/icons.generated/ExpandRight.js +1 -1
- package/dist/esm/icons.generated/ExternalLink.js +1 -1
- package/dist/esm/icons.generated/Filter.js +1 -1
- package/dist/esm/icons.generated/Folder.js +1 -1
- package/dist/esm/icons.generated/Globe.js +1 -1
- package/dist/esm/icons.generated/Grid.js +1 -1
- package/dist/esm/icons.generated/Group.js +1 -1
- package/dist/esm/icons.generated/Happy.js +1 -1
- package/dist/esm/icons.generated/Hide.js +1 -1
- package/dist/esm/icons.generated/Home.js +1 -1
- package/dist/esm/icons.generated/HomeSelected.js +1 -1
- package/dist/esm/icons.generated/IdentityGovernance.js +1 -1
- package/dist/esm/icons.generated/IdentityGovernanceSelected.js +1 -1
- package/dist/esm/icons.generated/IdentityGovernanceSelected.js.map +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 +3 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/labs/AppTile.js +1 -1
- package/dist/esm/labs/DataFilters.js +2 -2
- package/dist/esm/labs/DataTable.js +1 -1
- package/dist/esm/labs/DataTablePagination.js +1 -1
- package/dist/esm/labs/DataView/BulkActionsMenu.js +1 -1
- package/dist/esm/labs/DataView/CardLayoutContent.js +2 -2
- package/dist/esm/labs/DataView/DataCard.js +1 -1
- package/dist/esm/labs/DataView/DataTable.js +1 -1
- package/dist/esm/labs/DataView/DataView.js +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 +3 -4
- package/dist/esm/labs/DatePickers/DateTimePicker.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/properties/ts/odyssey-react-mui.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_cs.js +5 -1
- package/dist/esm/properties/ts/odyssey-react-mui_cs.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_da.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_da.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_de.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_de.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_el.js +5 -1
- package/dist/esm/properties/ts/odyssey-react-mui_el.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_es.js +4 -0
- 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 +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_fi.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_fr.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_fr.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ht.js +5 -1
- 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 +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_ja.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ko.js +4 -0
- 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 +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_nb.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_nl_NL.js +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 +4 -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 +4 -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 +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_ru.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_sv.js +4 -0
- 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 +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_uk.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_vi.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_vi.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_zh_CN.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_zh_CN.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js +5 -1
- package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js.map +1 -1
- package/dist/esm/theme/components/Dialog.js +2 -2
- package/dist/esm/theme/components/Dialog.js.map +1 -1
- package/dist/esm/theme/components/Drawer.js +5 -1
- package/dist/esm/theme/components/Drawer.js.map +1 -1
- package/dist/esm/theme/useMediaQuery.js +7 -5
- package/dist/esm/theme/useMediaQuery.js.map +1 -1
- package/dist/esm/ui-shell/AppSwitcher/AppSwitcher.js +1 -1
- package/dist/esm/ui-shell/InnerAppContainer.js +1 -1
- package/dist/esm/ui-shell/NarrowUiShellContent.js +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 +2 -2
- package/dist/esm/ui-shell/SkipToContent.js +1 -1
- package/dist/esm/ui-shell/TopNav/HamburgerMenuIcon.js +1 -1
- package/dist/esm/ui-shell/TopNav/TopNav.js +1 -1
- package/dist/esm/ui-shell/TopNav/TopNavLinksList.js +1 -1
- package/dist/esm/ui-shell/TopNav/TopNavListItem.js +1 -1
- package/dist/esm/ui-shell/UiShell.js +1 -1
- package/dist/esm/ui-shell/UiShellLogo.js +1 -1
- package/dist/esm/ui-shell/WideUiShellContent.js +1 -1
- package/dist/esm/useStableCallback.js +16 -0
- package/dist/esm/useStableCallback.js.map +1 -0
- 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/AnimationContext.d.ts +29 -0
- package/dist/types/AnimationContext.d.ts.map +1 -0
- package/dist/types/Banner.d.ts.map +1 -1
- package/dist/types/Callout.d.ts.map +1 -1
- package/dist/types/DatePickers/DateFieldLocalizationProvider.d.ts +1 -1
- package/dist/types/DatePickers/DateFieldLocalizationProvider.d.ts.map +1 -1
- package/dist/types/DatePickers/DatePicker.d.ts.map +1 -1
- package/dist/types/DatePickers/useOdysseyDateFields.d.ts +27 -15
- package/dist/types/DatePickers/useOdysseyDateFields.d.ts.map +1 -1
- package/dist/types/Drawer.d.ts +4 -0
- package/dist/types/Drawer.d.ts.map +1 -1
- package/dist/types/OdysseyProvider.d.ts +7 -1
- package/dist/types/OdysseyProvider.d.ts.map +1 -1
- package/dist/types/OdysseyThemeProviderPropsContext.d.ts +1 -1
- package/dist/types/OdysseyThemeProviderPropsContext.d.ts.map +1 -1
- package/dist/types/Typography.d.ts +26 -12
- package/dist/types/Typography.d.ts.map +1 -1
- package/dist/types/__internal.d.ts +2 -0
- package/dist/types/__internal.d.ts.map +1 -1
- package/dist/types/charts/BarChart.d.ts +26 -0
- package/dist/types/charts/BarChart.d.ts.map +1 -0
- package/dist/types/charts/LineChart.d.ts +26 -0
- package/dist/types/charts/LineChart.d.ts.map +1 -0
- package/dist/types/charts/components/ChartContainer.d.ts +18 -0
- package/dist/types/charts/components/ChartContainer.d.ts.map +1 -0
- package/dist/types/charts/components/ChartError.d.ts +23 -0
- package/dist/types/charts/components/ChartError.d.ts.map +1 -0
- package/dist/types/charts/components/ChartFrame.d.ts +54 -0
- package/dist/types/charts/components/ChartFrame.d.ts.map +1 -0
- package/dist/types/charts/components/ChartPopoverContent.d.ts +97 -0
- package/dist/types/charts/components/ChartPopoverContent.d.ts.map +1 -0
- package/dist/types/charts/index.d.ts +16 -0
- package/dist/types/charts/index.d.ts.map +1 -0
- package/dist/types/charts/useChartAnimation.d.ts +16 -0
- package/dist/types/charts/useChartAnimation.d.ts.map +1 -0
- package/dist/types/charts/utils/chartTokens.d.ts +297 -0
- package/dist/types/charts/utils/chartTokens.d.ts.map +1 -0
- package/dist/types/charts/utils/chartTypes.d.ts +142 -0
- package/dist/types/charts/utils/chartTypes.d.ts.map +1 -0
- package/dist/types/charts/utils/formatChartValue.d.ts +93 -0
- package/dist/types/charts/utils/formatChartValue.d.ts.map +1 -0
- package/dist/types/charts/utils/getChartSeriesPointData.d.ts +49 -0
- package/dist/types/charts/utils/getChartSeriesPointData.d.ts.map +1 -0
- package/dist/types/charts/utils/hasDuplicateSeries.d.ts +24 -0
- package/dist/types/charts/utils/hasDuplicateSeries.d.ts.map +1 -0
- package/dist/types/charts/utils/resolveChartLocale.d.ts +28 -0
- package/dist/types/charts/utils/resolveChartLocale.d.ts.map +1 -0
- package/dist/types/charts/utils/useChartValueFormatter.d.ts +34 -0
- package/dist/types/charts/utils/useChartValueFormatter.d.ts.map +1 -0
- package/dist/types/charts/utils/useStableValue.d.ts +29 -0
- package/dist/types/charts/utils/useStableValue.d.ts.map +1 -0
- package/dist/types/createOdysseyStyledComponent.d.ts +10 -2
- package/dist/types/createOdysseyStyledComponent.d.ts.map +1 -1
- package/dist/types/i18n.generated/i18n.d.ts +8 -0
- package/dist/types/i18n.generated/i18n.d.ts.map +1 -1
- package/dist/types/i18n.generated/i18n.resources.d.ts +130 -6
- package/dist/types/i18n.generated/i18n.resources.d.ts.map +1 -1
- package/dist/types/icons.generated/IdentityGovernanceSelected.d.ts +1 -1
- package/dist/types/icons.generated/IdentityGovernanceSelected.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/labs/DatePickers/DateTimePicker.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui.d.ts +4 -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 +5 -1
- 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 +4 -0
- package/dist/types/properties/ts/odyssey-react-mui_da.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_de.d.ts +4 -0
- package/dist/types/properties/ts/odyssey-react-mui_de.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_el.d.ts +5 -1
- 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 +4 -0
- 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 +4 -0
- package/dist/types/properties/ts/odyssey-react-mui_fi.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_fr.d.ts +4 -0
- package/dist/types/properties/ts/odyssey-react-mui_fr.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ht.d.ts +5 -1
- 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 +4 -0
- 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 +4 -0
- package/dist/types/properties/ts/odyssey-react-mui_ko.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ms.d.ts +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 +4 -0
- package/dist/types/properties/ts/odyssey-react-mui_nb.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_nl_NL.d.ts +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 +4 -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 +4 -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 +4 -0
- package/dist/types/properties/ts/odyssey-react-mui_ru.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_sv.d.ts +4 -0
- 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 +4 -0
- 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 +4 -0
- package/dist/types/properties/ts/odyssey-react-mui_vi.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_zh_CN.d.ts +4 -0
- package/dist/types/properties/ts/odyssey-react-mui_zh_CN.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts +5 -1
- package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts.map +1 -1
- package/dist/types/theme/components/Drawer.d.ts.map +1 -1
- package/dist/types/theme/useMediaQuery.d.ts +29 -15
- package/dist/types/theme/useMediaQuery.d.ts.map +1 -1
- package/dist/types/useStableCallback.d.ts +45 -0
- package/dist/types/useStableCallback.d.ts.map +1 -0
- package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
- package/package.json +60 -9
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { resolveChartLocale } from "./resolveChartLocale.js";
|
|
14
|
+
const numberFormatOptionsByPreset = {
|
|
15
|
+
compact: {
|
|
16
|
+
notation: "compact"
|
|
17
|
+
},
|
|
18
|
+
decimal: {},
|
|
19
|
+
percent: {
|
|
20
|
+
style: "percent"
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
export const formatChartValue = ({
|
|
24
|
+
format = "decimal",
|
|
25
|
+
languageCode,
|
|
26
|
+
value
|
|
27
|
+
}) => {
|
|
28
|
+
if (typeof format === "function") {
|
|
29
|
+
return format(value);
|
|
30
|
+
}
|
|
31
|
+
return new Intl.NumberFormat(resolveChartLocale(languageCode), typeof format === "string" ? numberFormatOptionsByPreset[format] : format).format(value);
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=formatChartValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatChartValue.js","names":["resolveChartLocale","numberFormatOptionsByPreset","compact","notation","decimal","percent","style","formatChartValue","format","languageCode","value","Intl","NumberFormat"],"sources":["../../../../src/charts/utils/formatChartValue.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 { resolveChartLocale } from \"./resolveChartLocale.js\";\n\n/**\n * The `Intl.NumberFormat` options for each preset name. The preset union type\n * {@link ChartValueFormat} takes its members from the keys of this object.\n * This keeps the two lists in agreement. If a name exists in the union but\n * not here, it resolves to `undefined` options. The value then formats as a\n * plain decimal. The code gives no error.\n */\nconst numberFormatOptionsByPreset = {\n compact: { notation: \"compact\" },\n decimal: {},\n percent: { style: \"percent\" },\n} as const satisfies Record<string, Intl.NumberFormatOptions>;\n\n/**\n * The named presets accepted by {@link ChartValueFormat}.\n *\n * - `\"decimal\"` renders the value in full, for example `1,234.5`.\n * - `\"compact\"` shortens large values, for example `1.2K`.\n * - `\"percent\"` multiplies the value by 100 and adds a percent sign. For\n * example, `0.4567` renders as `46%`. Supply the value as a fraction, not\n * as a percentage that is already scaled to 100. If the value is already\n * scaled, the preset scales it twice. For example, `42` renders as\n * `4,200%`.\n */\nexport type ChartValueFormatPreset = keyof typeof numberFormatOptionsByPreset;\n\n/**\n * A chart renders a value in this currency.\n */\nexport type ChartValueCurrencyFormat = {\n /**\n * An ISO 4217 currency code such as `\"USD\"` or `\"JPY\"`.\n */\n currency: string;\n style: \"currency\";\n};\n\n/**\n * A chart value format is one of three kinds: a named preset, an explicit\n * currency, or a function. A function takes the raw number and returns a\n * string. A function gives the caller full control over the presentation.\n *\n * The presets are a closed set. They do not use the general type\n * `Intl.NumberFormatOptions`. That type allows combinations that fail when\n * the code builds them. For example, `{ style: \"currency\" }` without a\n * `currency` field passes the type check. However, it raises a `TypeError`\n * at construction. A caller that needs options outside the preset set can\n * pass a function instead.\n */\nexport type ChartValueFormat =\n | ChartValueFormatPreset\n | ChartValueCurrencyFormat\n | ((value: number) => string);\n\n/**\n * Props for {@link formatChartValue}.\n */\nexport type FormatChartValueProps = {\n /**\n * How to format the value.\n * @default \"decimal\"\n */\n format?: ChartValueFormat;\n /**\n * A language code from the Odyssey translation context, such as `\"en\"` or\n * `\"pt_BR\"`. The function converts the language code to a BCP 47 tag\n * before the value reaches `Intl`.\n */\n languageCode: string;\n /** The number to format. */\n value: number;\n};\n\n/**\n * Formats a single chart value into a locale aware string.\n *\n * When `format` is a function, the code calls it with `value`. The code\n * returns the result directly and ignores `languageCode`. A caller that\n * supplies a function controls the full presentation of the value.\n * Otherwise, the function formats the value with an `Intl.NumberFormat`\n * instance. It builds the instance from the resolved locale and the\n * requested preset or currency.\n */\nexport const formatChartValue = ({\n format = \"decimal\",\n languageCode,\n value,\n}: FormatChartValueProps): string => {\n if (typeof format === \"function\") {\n return format(value);\n }\n\n return new Intl.NumberFormat(\n resolveChartLocale(languageCode),\n typeof format === \"string\" ? numberFormatOptionsByPreset[format] : format,\n ).format(value);\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,kBAAkB,QAAQ,yBAAyB;AAS5D,MAAMC,2BAA2B,GAAG;EAClCC,OAAO,EAAE;IAAEC,QAAQ,EAAE;EAAU,CAAC;EAChCC,OAAO,EAAE,CAAC,CAAC;EACXC,OAAO,EAAE;IAAEC,KAAK,EAAE;EAAU;AAC9B,CAA6D;AAwE7D,OAAO,MAAMC,gBAAgB,GAAGA,CAAC;EAC/BC,MAAM,GAAG,SAAS;EAClBC,YAAY;EACZC;AACqB,CAAC,KAAa;EACnC,IAAI,OAAOF,MAAM,KAAK,UAAU,EAAE;IAChC,OAAOA,MAAM,CAACE,KAAK,CAAC;EACtB;EAEA,OAAO,IAAIC,IAAI,CAACC,YAAY,CAC1BZ,kBAAkB,CAACS,YAAY,CAAC,EAChC,OAAOD,MAAM,KAAK,QAAQ,GAAGP,2BAA2B,CAACO,MAAM,CAAC,GAAGA,MACrE,CAAC,CAACA,MAAM,CAACE,KAAK,CAAC;AACjB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/export const getChartSeriesPointData = ({
|
|
12
|
+
categories,
|
|
13
|
+
chartSeries,
|
|
14
|
+
formatValue,
|
|
15
|
+
onPointClick,
|
|
16
|
+
pointPopoverValueFormat
|
|
17
|
+
}) => {
|
|
18
|
+
if (chartSeries.data.length !== categories.length) {
|
|
19
|
+
throw new Error(`Series "${chartSeries.name}" has ${chartSeries.data.length} values, but the chart has ${categories.length} categories. Series data and categories must have the same length.`);
|
|
20
|
+
}
|
|
21
|
+
return chartSeries.data.map((value, valueIndex) => {
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
custom: {
|
|
27
|
+
formattedValue: formatValue({
|
|
28
|
+
format: pointPopoverValueFormat,
|
|
29
|
+
value
|
|
30
|
+
})
|
|
31
|
+
},
|
|
32
|
+
y: value,
|
|
33
|
+
...(onPointClick ? {
|
|
34
|
+
events: {
|
|
35
|
+
click: () => onPointClick({
|
|
36
|
+
category: categories[valueIndex],
|
|
37
|
+
seriesName: chartSeries.name,
|
|
38
|
+
value
|
|
39
|
+
})
|
|
40
|
+
}
|
|
41
|
+
} : {})
|
|
42
|
+
};
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=getChartSeriesPointData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getChartSeriesPointData.js","names":["getChartSeriesPointData","categories","chartSeries","formatValue","onPointClick","pointPopoverValueFormat","data","length","Error","name","map","value","valueIndex","custom","formattedValue","format","y","events","click","category","seriesName"],"sources":["../../../../src/charts/utils/getChartSeriesPointData.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 {\n ChartPoint,\n ChartPointDecoration,\n ChartSeries,\n} from \"./chartTypes.js\";\nimport type { ChartValueFormat } from \"./formatChartValue.js\";\nimport type { ChartValueFormatter } from \"./useChartValueFormatter.js\";\n\n/**\n * One point of a series that plots against a category axis. The category axis\n * gives the position, so the point holds only its value.\n *\n * Highcharts names the value axis `y` for a line chart and also for a\n * horizontal bar chart, because a bar chart inverts the drawing and not the\n * data. So `y` means the measured value here, and not a vertical position.\n *\n * A chart that needs a position on both axes, such as a scatter chart, takes a\n * point type of its own that adds `x`. That type shares\n * `ChartPointDecoration` and does not extend this type.\n */\nexport type ChartSeriesPointDatum = ChartPointDecoration & {\n y: number;\n};\n\nexport type GetChartSeriesPointDataProps = {\n categories: string[];\n chartSeries: ChartSeries;\n formatValue: ChartValueFormatter;\n onPointClick?: (point: ChartPoint) => void;\n pointPopoverValueFormat?: ChartValueFormat;\n};\n\n/**\n * Returns one data point for each entry in `categories`, lined up by index\n * with `chartSeries.data`. A `null` entry in `chartSeries.data` returns\n * `null`. Highcharts then draws a gap, instead of a point with the value\n * zero.\n *\n * The function throws if `chartSeries.data` and `categories` have different\n * lengths. A value with no matching category has no position on the axis. If\n * the chart silently cut or padded the series to fit, the chart would look\n * correct while showing the wrong data. Throwing catches the mistake instead.\n */\nexport const getChartSeriesPointData = ({\n categories,\n chartSeries,\n formatValue,\n onPointClick,\n pointPopoverValueFormat,\n}: GetChartSeriesPointDataProps): Array<ChartSeriesPointDatum | null> => {\n if (chartSeries.data.length !== categories.length) {\n throw new Error(\n `Series \"${chartSeries.name}\" has ${chartSeries.data.length} values, but the chart has ${categories.length} categories. Series data and categories must have the same length.`,\n );\n }\n\n return chartSeries.data.map((value, valueIndex) => {\n if (value === null) {\n return null;\n }\n\n return {\n custom: {\n formattedValue: formatValue({\n format: pointPopoverValueFormat,\n value,\n }),\n },\n y: value,\n ...(onPointClick\n ? {\n events: {\n click: () =>\n onPointClick({\n category: categories[valueIndex],\n seriesName: chartSeries.name,\n value,\n }),\n },\n }\n : {}),\n };\n });\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GA6CA,OAAO,MAAMA,uBAAuB,GAAGA,CAAC;EACtCC,UAAU;EACVC,WAAW;EACXC,WAAW;EACXC,YAAY;EACZC;AAC4B,CAAC,KAA0C;EACvE,IAAIH,WAAW,CAACI,IAAI,CAACC,MAAM,KAAKN,UAAU,CAACM,MAAM,EAAE;IACjD,MAAM,IAAIC,KAAK,CACb,WAAWN,WAAW,CAACO,IAAI,SAASP,WAAW,CAACI,IAAI,CAACC,MAAM,8BAA8BN,UAAU,CAACM,MAAM,oEAC5G,CAAC;EACH;EAEA,OAAOL,WAAW,CAACI,IAAI,CAACI,GAAG,CAAC,CAACC,KAAK,EAAEC,UAAU,KAAK;IACjD,IAAID,KAAK,KAAK,IAAI,EAAE;MAClB,OAAO,IAAI;IACb;IAEA,OAAO;MACLE,MAAM,EAAE;QACNC,cAAc,EAAEX,WAAW,CAAC;UAC1BY,MAAM,EAAEV,uBAAuB;UAC/BM;QACF,CAAC;MACH,CAAC;MACDK,CAAC,EAAEL,KAAK;MACR,IAAIP,YAAY,GACZ;QACEa,MAAM,EAAE;UACNC,KAAK,EAAEA,CAAA,KACLd,YAAY,CAAC;YACXe,QAAQ,EAAElB,UAAU,CAACW,UAAU,CAAC;YAChCQ,UAAU,EAAElB,WAAW,CAACO,IAAI;YAC5BE;UACF,CAAC;QACL;MACF,CAAC,GACD,CAAC,CAAC;IACR,CAAC;EACH,CAAC,CAAC;AACJ,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/export const hasDuplicateSeries = ({
|
|
12
|
+
series
|
|
13
|
+
}) => new Set(series.map(chartSeries => chartSeries.name)).size !== series.length;
|
|
14
|
+
//# sourceMappingURL=hasDuplicateSeries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hasDuplicateSeries.js","names":["hasDuplicateSeries","series","Set","map","chartSeries","name","size","length"],"sources":["../../../../src/charts/utils/hasDuplicateSeries.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 { ChartSeries } from \"./chartTypes.js\";\n\nexport type HasDuplicateSeriesProps = {\n series: ChartSeries[];\n};\n\n/**\n * Returns `true` when two or more series share one name.\n *\n * A chart uses the name of a series as its React key and as its legend label.\n * When two series share one name, React drops one of them, and the chart draws\n * fewer lines than the data holds.\n */\nexport const hasDuplicateSeries = ({ series }: HasDuplicateSeriesProps) =>\n new Set(series.map((chartSeries) => chartSeries.name)).size !== series.length;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAeA,OAAO,MAAMA,kBAAkB,GAAGA,CAAC;EAAEC;AAAgC,CAAC,KACpE,IAAIC,GAAG,CAACD,MAAM,CAACE,GAAG,CAAEC,WAAW,IAAKA,WAAW,CAACC,IAAI,CAAC,CAAC,CAACC,IAAI,KAAKL,MAAM,CAACM,MAAM","ignoreList":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
const FALLBACK_LOCALE = "en-US";
|
|
14
|
+
export const resolveChartLocale = languageCode => {
|
|
15
|
+
try {
|
|
16
|
+
return Intl.getCanonicalLocales(languageCode.replaceAll("_", "-"))[0] ?? FALLBACK_LOCALE;
|
|
17
|
+
} catch {
|
|
18
|
+
return FALLBACK_LOCALE;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=resolveChartLocale.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveChartLocale.js","names":["FALLBACK_LOCALE","resolveChartLocale","languageCode","Intl","getCanonicalLocales","replaceAll"],"sources":["../../../../src/charts/utils/resolveChartLocale.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\nconst FALLBACK_LOCALE = \"en-US\";\n\n/**\n * The function converts a language code from the Odyssey translation\n * context to a BCP 47 locale tag. `Intl` constructors accept this tag.\n *\n * Okta's translation codes use an underscore to separate the region\n * subtag, for example `pt_BR`, `zh_CN`, and `nl_NL`. Every `Intl`\n * constructor rejects these codes with a `RangeError`. The Applitools test\n * environment reports the code `en-us@posix`. This code has no BCP 47\n * equivalent. As a result, six of the codes in `SupportedLanguages` crash\n * an unguarded `Intl` call.\n *\n * If a code has no valid equivalent, the function returns `en-US` instead\n * of raising an error. A chart with the wrong thousands separator is still\n * better than a chart that fails to render.\n */\nexport const resolveChartLocale = (languageCode: string): string => {\n try {\n return (\n Intl.getCanonicalLocales(languageCode.replaceAll(\"_\", \"-\"))[0] ??\n FALLBACK_LOCALE\n );\n } catch {\n return FALLBACK_LOCALE;\n }\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAMA,eAAe,GAAG,OAAO;AAiB/B,OAAO,MAAMC,kBAAkB,GAAIC,YAAoB,IAAa;EAClE,IAAI;IACF,OACEC,IAAI,CAACC,mBAAmB,CAACF,YAAY,CAACG,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAC9DL,eAAe;EAEnB,CAAC,CAAC,MAAM;IACN,OAAOA,eAAe;EACxB;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { useCallback } from "react";
|
|
14
|
+
import { useTranslation } from "../../i18n.generated/i18n.js";
|
|
15
|
+
import { formatChartValue } from "./formatChartValue.js";
|
|
16
|
+
export const useChartValueFormatter = () => {
|
|
17
|
+
const {
|
|
18
|
+
i18n
|
|
19
|
+
} = useTranslation();
|
|
20
|
+
const languageCode = i18n.language;
|
|
21
|
+
return useCallback(({
|
|
22
|
+
format,
|
|
23
|
+
value
|
|
24
|
+
}) => formatChartValue({
|
|
25
|
+
format,
|
|
26
|
+
languageCode,
|
|
27
|
+
value
|
|
28
|
+
}), [languageCode]);
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=useChartValueFormatter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChartValueFormatter.js","names":["useCallback","useTranslation","formatChartValue","useChartValueFormatter","i18n","languageCode","language","format","value"],"sources":["../../../../src/charts/utils/useChartValueFormatter.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 { useCallback } from \"react\";\n\nimport { useTranslation } from \"../../i18n.generated/i18n.js\";\nimport {\n formatChartValue,\n type FormatChartValueProps,\n} from \"./formatChartValue.js\";\n\n/**\n * The formatter functions from {@link useChartValueFormatter} accept these\n * props. The props match {@link FormatChartValueProps}, but without\n * `languageCode`. The hook binds the `languageCode` field from context.\n */\nexport type ChartValueFormatterProps = Omit<\n FormatChartValueProps,\n \"languageCode\"\n>;\n\n/**\n * Formats a chart value with the active locale.\n */\nexport type ChartValueFormatter = (props: ChartValueFormatterProps) => string;\n\n/**\n * The hook reads the active language code from the Odyssey translation\n * context. The hook returns a version of {@link formatChartValue} that uses\n * that locale. A consumer only needs to supply `value` and an optional\n * `format`.\n *\n * The returned function stays referentially stable while the active\n * language stays the same. This makes it safe to add as a dependency of a\n * consumer's `useMemo`.\n */\nexport const useChartValueFormatter = (): ChartValueFormatter => {\n const { i18n } = useTranslation();\n const languageCode = i18n.language;\n\n return useCallback<ChartValueFormatter>(\n ({ format, value }) => formatChartValue({ format, languageCode, value }),\n [languageCode],\n );\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,WAAW,QAAQ,OAAO;AAEnC,SAASC,cAAc,QAAQ,8BAA8B;AAC7D,SACEC,gBAAgB,QAEX,uBAAuB;AA2B9B,OAAO,MAAMC,sBAAsB,GAAGA,CAAA,KAA2B;EAC/D,MAAM;IAAEC;EAAK,CAAC,GAAGH,cAAc,CAAC,CAAC;EACjC,MAAMI,YAAY,GAAGD,IAAI,CAACE,QAAQ;EAElC,OAAON,WAAW,CAChB,CAAC;IAAEO,MAAM;IAAEC;EAAM,CAAC,KAAKN,gBAAgB,CAAC;IAAEK,MAAM;IAAEF,YAAY;IAAEG;EAAM,CAAC,CAAC,EACxE,CAACH,YAAY,CACf,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import isEqual from "lodash.isequal";
|
|
14
|
+
import { useRef } from "react";
|
|
15
|
+
export const useStableValue = value => {
|
|
16
|
+
const stableValueRef = useRef(value);
|
|
17
|
+
if (!isEqual(stableValueRef.current, value)) {
|
|
18
|
+
stableValueRef.current = value;
|
|
19
|
+
}
|
|
20
|
+
return stableValueRef.current;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=useStableValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStableValue.js","names":["isEqual","useRef","useStableValue","value","stableValueRef","current"],"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 isEqual from \"lodash.isequal\";\nimport { useRef } from \"react\";\n\n/**\n * Returns the same object for as long as the contents of `value` stay the same.\n * 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\n * whole chart when the identity of its React children changes. A caller that\n * builds a `series` array inside its own render supplies a new array on each\n * render, and every memo below that point then misses. A comparison of the\n * contents costs one walk over the points, which is far less than one redraw of\n * the chart.\n *\n * The comparison treats a function by its identity, because two functions with\n * the same body can still behave differently. Therefore a caller that supplies a\n * new function on each render, such as an inline formatter, gets a new object\n * 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\n // because the new value comes only from `value`, so a second render with the\n // same input reaches the same result.\n const stableValueRef = useRef(value);\n\n if (!isEqual(stableValueRef.current, value)) {\n stableValueRef.current = value;\n }\n\n return stableValueRef.current;\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,OAAO,MAAM,gBAAgB;AACpC,SAASC,MAAM,QAAQ,OAAO;AAkB9B,OAAO,MAAMC,cAAc,GAAeC,KAAgB,IAAgB;EAIxE,MAAMC,cAAc,GAAGH,MAAM,CAACE,KAAK,CAAC;EAEpC,IAAI,CAACH,OAAO,CAACI,cAAc,CAACC,OAAO,EAAEF,KAAK,CAAC,EAAE;IAC3CC,cAAc,CAACC,OAAO,GAAGF,KAAK;EAChC;EAEA,OAAOC,cAAc,CAACC,OAAO;AAC/B,CAAC","ignoreList":[]}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import styled from "@emotion/styled";
|
|
14
|
-
import { memo } from "react";
|
|
14
|
+
import { forwardRef, memo } from "react";
|
|
15
15
|
import { useOdysseyDesignTokens } from "./OdysseyDesignTokensContext.js";
|
|
16
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
17
|
export const createOdysseyStyledComponent = ({
|
|
@@ -22,12 +22,13 @@ export const createOdysseyStyledComponent = ({
|
|
|
22
22
|
shouldForwardProp: prop => prop !== "odysseyDesignTokens" && (shouldForwardProp?.(prop) ?? true)
|
|
23
23
|
})(typeof styleArg === "function" ? styleArg : () => styleArg);
|
|
24
24
|
const InternalComponent = InternalStyled;
|
|
25
|
-
return memo(function OdysseyStyledComponent(props) {
|
|
25
|
+
return memo(forwardRef(function OdysseyStyledComponent(props, componentReference) {
|
|
26
26
|
const odysseyDesignTokens = useOdysseyDesignTokens();
|
|
27
27
|
return _jsx(InternalComponent, {
|
|
28
28
|
...props,
|
|
29
|
-
odysseyDesignTokens: odysseyDesignTokens
|
|
29
|
+
odysseyDesignTokens: odysseyDesignTokens,
|
|
30
|
+
ref: componentReference
|
|
30
31
|
});
|
|
31
|
-
});
|
|
32
|
+
}));
|
|
32
33
|
};
|
|
33
34
|
//# sourceMappingURL=createOdysseyStyledComponent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOdysseyStyledComponent.js","names":["styled","memo","useOdysseyDesignTokens","jsx","_jsx","createOdysseyStyledComponent","tag","shouldForwardProp","styleArg","InternalStyled","prop","InternalComponent","OdysseyStyledComponent","props","odysseyDesignTokens"],"sources":["../../src/createOdysseyStyledComponent.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport type {\n ComponentPropsWithoutRef,\n ComponentType,\n ElementType,\n} from \"react\";\n\nimport styled, { type CSSObject } from \"@emotion/styled\";\nimport { memo } from \"react\";\n\nimport {\n type DesignTokens,\n useOdysseyDesignTokens,\n} from \"./OdysseyDesignTokensContext.js\";\n\nexport type CreateOdysseyStyledComponentArgs<Tag extends ElementType> = {\n shouldForwardProp?: (prop: string) => boolean;\n tag: Tag;\n};\n\ntype OdysseyStyleFunction<\n Tag extends ElementType,\n StyleProps extends object,\n> = (\n props: ComponentPropsWithoutRef<Tag> &\n StyleProps & { odysseyDesignTokens: DesignTokens },\n) => CSSObject;\n\n/**\n * Creates a styled component that automatically receives Odyssey design tokens\n * from context, eliminating the need to pass `odysseyDesignTokens` as a prop at\n * every call site.\n *\n * @example Basic usage\n * ```tsx\n * const StyledCard = createOdysseyStyledComponent({ tag: \"div\" })(\n * ({ odysseyDesignTokens }) => ({\n * padding: odysseyDesignTokens.Spacing4,\n * borderRadius: odysseyDesignTokens.BorderRadiusTight,\n * })\n * );\n * // No need to call useOdysseyDesignTokens or pass tokens as a prop:\n * <StyledCard>content</StyledCard>\n * ```\n *\n * @example With custom styling props\n * ```tsx\n * const StyledButton = createOdysseyStyledComponent({\n * tag: \"button\",\n * shouldForwardProp: (prop) => prop !== \"isActive\",\n * })<{ isActive: boolean }>(({ odysseyDesignTokens, isActive }) => ({\n * backgroundColor: isActive\n * ? odysseyDesignTokens.PalettePrimaryMain\n * : \"transparent\",\n * }));\n * <StyledButton isActive={true}>click me</StyledButton>\n * ```\n */\nexport const createOdysseyStyledComponent =\n <Tag extends ElementType>({\n tag,\n shouldForwardProp,\n }: CreateOdysseyStyledComponentArgs<Tag>) =>\n <StyleProps extends object = Record<never, never>>(\n styleArg: OdysseyStyleFunction<Tag, StyleProps> | CSSObject,\n ) => {\n type InternalProps = ComponentPropsWithoutRef<Tag> &\n StyleProps & { odysseyDesignTokens: DesignTokens };\n\n // Cast to ComponentType<InternalProps> so emotion's overload resolver sees\n // a concrete component type — ElementType is too broad for styled() to pick\n // the correct overload signature.\n const InternalStyled = styled(tag as ComponentType<InternalProps>, {\n shouldForwardProp: (prop) =>\n prop !== \"odysseyDesignTokens\" && (shouldForwardProp?.(prop) ?? true),\n })(typeof styleArg === \"function\" ? styleArg : () => styleArg);\n\n // LibraryManagedAttributes wraps StyledComponent and cannot be satisfied\n // with a generic Tag. Cast to ComponentType<any> for the render site;\n // the public API is typed by the outer curried function.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const InternalComponent = InternalStyled as unknown as ComponentType<any>;\n\n type PublicProps = ComponentPropsWithoutRef<Tag> & StyleProps;\n\n return memo(function OdysseyStyledComponent(props
|
|
1
|
+
{"version":3,"file":"createOdysseyStyledComponent.js","names":["styled","forwardRef","memo","useOdysseyDesignTokens","jsx","_jsx","createOdysseyStyledComponent","tag","shouldForwardProp","styleArg","InternalStyled","prop","InternalComponent","OdysseyStyledComponent","props","componentReference","odysseyDesignTokens","ref"],"sources":["../../src/createOdysseyStyledComponent.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport type {\n ComponentPropsWithoutRef,\n ComponentRef,\n ComponentType,\n ElementType,\n} from \"react\";\n\nimport styled, { type CSSObject } from \"@emotion/styled\";\nimport { forwardRef, memo } from \"react\";\n\nimport {\n type DesignTokens,\n useOdysseyDesignTokens,\n} from \"./OdysseyDesignTokensContext.js\";\n\nexport type CreateOdysseyStyledComponentArgs<Tag extends ElementType> = {\n shouldForwardProp?: (prop: string) => boolean;\n tag: Tag;\n};\n\ntype OdysseyStyleFunction<\n Tag extends ElementType,\n StyleProps extends object,\n> = (\n props: ComponentPropsWithoutRef<Tag> &\n StyleProps & { odysseyDesignTokens: DesignTokens },\n) => CSSObject;\n\n/**\n * Creates a styled component that automatically receives Odyssey design tokens\n * from context, eliminating the need to pass `odysseyDesignTokens` as a prop at\n * every call site.\n *\n * @example Basic usage\n * ```tsx\n * const StyledCard = createOdysseyStyledComponent({ tag: \"div\" })(\n * ({ odysseyDesignTokens }) => ({\n * padding: odysseyDesignTokens.Spacing4,\n * borderRadius: odysseyDesignTokens.BorderRadiusTight,\n * })\n * );\n * // No need to call useOdysseyDesignTokens or pass tokens as a prop:\n * <StyledCard>content</StyledCard>\n * ```\n *\n * @example With custom styling props\n * ```tsx\n * const StyledButton = createOdysseyStyledComponent({\n * tag: \"button\",\n * shouldForwardProp: (prop) => prop !== \"isActive\",\n * })<{ isActive: boolean }>(({ odysseyDesignTokens, isActive }) => ({\n * backgroundColor: isActive\n * ? odysseyDesignTokens.PalettePrimaryMain\n * : \"transparent\",\n * }));\n * <StyledButton isActive={true}>click me</StyledButton>\n * ```\n *\n * @example As a ref target\n * ```tsx\n * // The returned component forwards its ref to the underlying DOM node, so it\n * // can anchor a MUI Tooltip or Popper, or be focused and measured directly.\n * const buttonRef = useRef<HTMLButtonElement>(null);\n * <StyledButton isActive={false} ref={buttonRef} />\n * ```\n */\nexport const createOdysseyStyledComponent =\n <Tag extends ElementType>({\n tag,\n shouldForwardProp,\n }: CreateOdysseyStyledComponentArgs<Tag>) =>\n <StyleProps extends object = Record<never, never>>(\n styleArg: OdysseyStyleFunction<Tag, StyleProps> | CSSObject,\n ) => {\n type InternalProps = ComponentPropsWithoutRef<Tag> &\n StyleProps & { odysseyDesignTokens: DesignTokens };\n\n // Cast to ComponentType<InternalProps> so emotion's overload resolver sees\n // a concrete component type — ElementType is too broad for styled() to pick\n // the correct overload signature.\n const InternalStyled = styled(tag as ComponentType<InternalProps>, {\n shouldForwardProp: (prop) =>\n prop !== \"odysseyDesignTokens\" && (shouldForwardProp?.(prop) ?? true),\n })(typeof styleArg === \"function\" ? styleArg : () => styleArg);\n\n // LibraryManagedAttributes wraps StyledComponent and cannot be satisfied\n // with a generic Tag. Cast to ComponentType<any> for the render site;\n // the public API is typed by the outer curried function.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const InternalComponent = InternalStyled as unknown as ComponentType<any>;\n\n type PublicProps = ComponentPropsWithoutRef<Tag> & StyleProps;\n\n // forwardRef, not a plain function component: emotion's styled(tag) already\n // forwards a ref to the underlying DOM node, so without this wrapper passing\n // one through, the ref is dropped and the DOM node is unreachable. MUI\n // clones a Tooltip/Popper child with an injected ref to anchor the popper\n // (childNode/anchorEl in @mui/material/Tooltip/Tooltip.js), so a component\n // that cannot carry a ref silently fails to open on hover.\n return memo(\n forwardRef<ComponentRef<Tag>, PublicProps>(\n function OdysseyStyledComponent(props, componentReference) {\n const odysseyDesignTokens = useOdysseyDesignTokens();\n return (\n <InternalComponent\n {...props}\n odysseyDesignTokens={odysseyDesignTokens}\n ref={componentReference}\n />\n );\n },\n ),\n );\n };\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AASA,OAAOA,MAAM,MAA0B,iBAAiB;AACxD,SAASC,UAAU,EAAEC,IAAI,QAAQ,OAAO;AAExC,SAEEC,sBAAsB,QACjB,iCAAiC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAqDzC,OAAO,MAAMC,4BAA4B,GACvCA,CAA0B;EACxBC,GAAG;EACHC;AACqC,CAAC,KAEtCC,QAA2D,IACxD;EAOH,MAAMC,cAAc,GAAGV,MAAM,CAACO,GAAG,EAAkC;IACjEC,iBAAiB,EAAGG,IAAI,IACtBA,IAAI,KAAK,qBAAqB,KAAKH,iBAAiB,GAAGG,IAAI,CAAC,IAAI,IAAI;EACxE,CAAC,CAAC,CAAC,OAAOF,QAAQ,KAAK,UAAU,GAAGA,QAAQ,GAAG,MAAMA,QAAQ,CAAC;EAM9D,MAAMG,iBAAiB,GAAGF,cAA+C;EAUzE,OAAOR,IAAI,CACTD,UAAU,CACR,SAASY,sBAAsBA,CAACC,KAAK,EAAEC,kBAAkB,EAAE;IACzD,MAAMC,mBAAmB,GAAGb,sBAAsB,CAAC,CAAC;IACpD,OACEE,IAAA,CAACO,iBAAiB;MAAA,GACZE,KAAK;MACTE,mBAAmB,EAAEA,mBAAoB;MACzCC,GAAG,EAAEF;IAAmB,CACzB,CAAC;EAEN,CACF,CACF,CAAC;AACH,CAAC","ignoreList":[]}
|
|
@@ -29,6 +29,6 @@ const AddIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedAddIcon = memo(AddIcon);
|
|
32
|
-
MemoizedAddIcon.displayName = "AddIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedAddIcon.displayName = "AddIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedAddIcon as AddIcon };
|
|
34
34
|
//# sourceMappingURL=Add.js.map
|
|
@@ -29,6 +29,6 @@ const AddCircleIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedAddCircleIcon = memo(AddCircleIcon);
|
|
32
|
-
MemoizedAddCircleIcon.displayName = "AddCircleIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedAddCircleIcon.displayName = "AddCircleIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedAddCircleIcon as AddCircleIcon };
|
|
34
34
|
//# sourceMappingURL=AddCircle.js.map
|
|
@@ -29,6 +29,6 @@ const AppsIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedAppsIcon = memo(AppsIcon);
|
|
32
|
-
MemoizedAppsIcon.displayName = "AppsIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedAppsIcon.displayName = "AppsIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedAppsIcon as AppsIcon };
|
|
34
34
|
//# sourceMappingURL=Apps.js.map
|
|
@@ -29,6 +29,6 @@ const AppsSelectedIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedAppsSelectedIcon = memo(AppsSelectedIcon);
|
|
32
|
-
MemoizedAppsSelectedIcon.displayName = "AppsSelectedIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedAppsSelectedIcon.displayName = "AppsSelectedIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedAppsSelectedIcon as AppsSelectedIcon };
|
|
34
34
|
//# sourceMappingURL=AppsSelected.js.map
|
|
@@ -29,6 +29,6 @@ const ArrowBottomIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedArrowBottomIcon = memo(ArrowBottomIcon);
|
|
32
|
-
MemoizedArrowBottomIcon.displayName = "ArrowBottomIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedArrowBottomIcon.displayName = "ArrowBottomIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedArrowBottomIcon as ArrowBottomIcon };
|
|
34
34
|
//# sourceMappingURL=ArrowBottom.js.map
|
|
@@ -29,6 +29,6 @@ const ArrowDownIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedArrowDownIcon = memo(ArrowDownIcon);
|
|
32
|
-
MemoizedArrowDownIcon.displayName = "ArrowDownIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedArrowDownIcon.displayName = "ArrowDownIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedArrowDownIcon as ArrowDownIcon };
|
|
34
34
|
//# sourceMappingURL=ArrowDown.js.map
|
|
@@ -29,6 +29,6 @@ const ArrowLeftIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedArrowLeftIcon = memo(ArrowLeftIcon);
|
|
32
|
-
MemoizedArrowLeftIcon.displayName = "ArrowLeftIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedArrowLeftIcon.displayName = "ArrowLeftIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedArrowLeftIcon as ArrowLeftIcon };
|
|
34
34
|
//# sourceMappingURL=ArrowLeft.js.map
|
|
@@ -29,6 +29,6 @@ const ArrowLowerLeftIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedArrowLowerLeftIcon = memo(ArrowLowerLeftIcon);
|
|
32
|
-
MemoizedArrowLowerLeftIcon.displayName = "ArrowLowerLeftIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedArrowLowerLeftIcon.displayName = "ArrowLowerLeftIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedArrowLowerLeftIcon as ArrowLowerLeftIcon };
|
|
34
34
|
//# sourceMappingURL=ArrowLowerLeft.js.map
|
|
@@ -29,6 +29,6 @@ const ArrowLowerRightIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedArrowLowerRightIcon = memo(ArrowLowerRightIcon);
|
|
32
|
-
MemoizedArrowLowerRightIcon.displayName = "ArrowLowerRightIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedArrowLowerRightIcon.displayName = "ArrowLowerRightIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedArrowLowerRightIcon as ArrowLowerRightIcon };
|
|
34
34
|
//# sourceMappingURL=ArrowLowerRight.js.map
|
|
@@ -29,6 +29,6 @@ const ArrowRightIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedArrowRightIcon = memo(ArrowRightIcon);
|
|
32
|
-
MemoizedArrowRightIcon.displayName = "ArrowRightIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedArrowRightIcon.displayName = "ArrowRightIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedArrowRightIcon as ArrowRightIcon };
|
|
34
34
|
//# sourceMappingURL=ArrowRight.js.map
|
|
@@ -29,6 +29,6 @@ const ArrowTopIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedArrowTopIcon = memo(ArrowTopIcon);
|
|
32
|
-
MemoizedArrowTopIcon.displayName = "ArrowTopIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedArrowTopIcon.displayName = "ArrowTopIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedArrowTopIcon as ArrowTopIcon };
|
|
34
34
|
//# sourceMappingURL=ArrowTop.js.map
|
|
@@ -29,6 +29,6 @@ const ArrowUnsortedIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedArrowUnsortedIcon = memo(ArrowUnsortedIcon);
|
|
32
|
-
MemoizedArrowUnsortedIcon.displayName = "ArrowUnsortedIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedArrowUnsortedIcon.displayName = "ArrowUnsortedIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedArrowUnsortedIcon as ArrowUnsortedIcon };
|
|
34
34
|
//# sourceMappingURL=ArrowUnsorted.js.map
|
|
@@ -29,6 +29,6 @@ const ArrowUpIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedArrowUpIcon = memo(ArrowUpIcon);
|
|
32
|
-
MemoizedArrowUpIcon.displayName = "ArrowUpIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedArrowUpIcon.displayName = "ArrowUpIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedArrowUpIcon as ArrowUpIcon };
|
|
34
34
|
//# sourceMappingURL=ArrowUp.js.map
|
|
@@ -29,6 +29,6 @@ const ArrowUpperLeftIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedArrowUpperLeftIcon = memo(ArrowUpperLeftIcon);
|
|
32
|
-
MemoizedArrowUpperLeftIcon.displayName = "ArrowUpperLeftIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedArrowUpperLeftIcon.displayName = "ArrowUpperLeftIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedArrowUpperLeftIcon as ArrowUpperLeftIcon };
|
|
34
34
|
//# sourceMappingURL=ArrowUpperLeft.js.map
|
|
@@ -29,6 +29,6 @@ const ArrowUpperRightIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedArrowUpperRightIcon = memo(ArrowUpperRightIcon);
|
|
32
|
-
MemoizedArrowUpperRightIcon.displayName = "ArrowUpperRightIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedArrowUpperRightIcon.displayName = "ArrowUpperRightIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedArrowUpperRightIcon as ArrowUpperRightIcon };
|
|
34
34
|
//# sourceMappingURL=ArrowUpperRight.js.map
|
|
@@ -29,6 +29,6 @@ const BugIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedBugIcon = memo(BugIcon);
|
|
32
|
-
MemoizedBugIcon.displayName = "BugIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedBugIcon.displayName = "BugIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedBugIcon as BugIcon };
|
|
34
34
|
//# sourceMappingURL=Bug.js.map
|
|
@@ -29,6 +29,6 @@ const CalendarIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedCalendarIcon = memo(CalendarIcon);
|
|
32
|
-
MemoizedCalendarIcon.displayName = "CalendarIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedCalendarIcon.displayName = "CalendarIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedCalendarIcon as CalendarIcon };
|
|
34
34
|
//# sourceMappingURL=Calendar.js.map
|
|
@@ -29,6 +29,6 @@ const CallIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedCallIcon = memo(CallIcon);
|
|
32
|
-
MemoizedCallIcon.displayName = "CallIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedCallIcon.displayName = "CallIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedCallIcon as CallIcon };
|
|
34
34
|
//# sourceMappingURL=Call.js.map
|
|
@@ -29,6 +29,6 @@ const ChatIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedChatIcon = memo(ChatIcon);
|
|
32
|
-
MemoizedChatIcon.displayName = "ChatIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedChatIcon.displayName = "ChatIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedChatIcon as ChatIcon };
|
|
34
34
|
//# sourceMappingURL=Chat.js.map
|
|
@@ -29,6 +29,6 @@ const CheckIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedCheckIcon = memo(CheckIcon);
|
|
32
|
-
MemoizedCheckIcon.displayName = "CheckIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedCheckIcon.displayName = "CheckIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedCheckIcon as CheckIcon };
|
|
34
34
|
//# sourceMappingURL=Check.js.map
|
|
@@ -29,6 +29,6 @@ const CheckCircleFilledIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedCheckCircleFilledIcon = memo(CheckCircleFilledIcon);
|
|
32
|
-
MemoizedCheckCircleFilledIcon.displayName = "CheckCircleFilledIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedCheckCircleFilledIcon.displayName = "CheckCircleFilledIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedCheckCircleFilledIcon as CheckCircleFilledIcon };
|
|
34
34
|
//# sourceMappingURL=CheckCircleFilled.js.map
|
|
@@ -27,6 +27,6 @@ const ChevronDownIcon = forwardRef((props, ref) => {
|
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
29
|
const MemoizedChevronDownIcon = memo(ChevronDownIcon);
|
|
30
|
-
MemoizedChevronDownIcon.displayName = "ChevronDownIcon::pkg=odyssey&odysseyV=1.
|
|
30
|
+
MemoizedChevronDownIcon.displayName = "ChevronDownIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
31
31
|
export { MemoizedChevronDownIcon as ChevronDownIcon };
|
|
32
32
|
//# sourceMappingURL=ChevronDown.js.map
|
|
@@ -27,6 +27,6 @@ const ChevronLeftIcon = forwardRef((props, ref) => {
|
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
29
|
const MemoizedChevronLeftIcon = memo(ChevronLeftIcon);
|
|
30
|
-
MemoizedChevronLeftIcon.displayName = "ChevronLeftIcon::pkg=odyssey&odysseyV=1.
|
|
30
|
+
MemoizedChevronLeftIcon.displayName = "ChevronLeftIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
31
31
|
export { MemoizedChevronLeftIcon as ChevronLeftIcon };
|
|
32
32
|
//# sourceMappingURL=ChevronLeft.js.map
|
|
@@ -27,6 +27,6 @@ const ChevronRightIcon = forwardRef((props, ref) => {
|
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
29
|
const MemoizedChevronRightIcon = memo(ChevronRightIcon);
|
|
30
|
-
MemoizedChevronRightIcon.displayName = "ChevronRightIcon::pkg=odyssey&odysseyV=1.
|
|
30
|
+
MemoizedChevronRightIcon.displayName = "ChevronRightIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
31
31
|
export { MemoizedChevronRightIcon as ChevronRightIcon };
|
|
32
32
|
//# sourceMappingURL=ChevronRight.js.map
|
|
@@ -34,6 +34,6 @@ const ChevronUpIcon = forwardRef((props, ref) => {
|
|
|
34
34
|
});
|
|
35
35
|
});
|
|
36
36
|
const MemoizedChevronUpIcon = memo(ChevronUpIcon);
|
|
37
|
-
MemoizedChevronUpIcon.displayName = "ChevronUpIcon::pkg=odyssey&odysseyV=1.
|
|
37
|
+
MemoizedChevronUpIcon.displayName = "ChevronUpIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
38
38
|
export { MemoizedChevronUpIcon as ChevronUpIcon };
|
|
39
39
|
//# sourceMappingURL=ChevronUp.js.map
|
|
@@ -29,6 +29,6 @@ const ClockIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedClockIcon = memo(ClockIcon);
|
|
32
|
-
MemoizedClockIcon.displayName = "ClockIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedClockIcon.displayName = "ClockIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedClockIcon as ClockIcon };
|
|
34
34
|
//# sourceMappingURL=Clock.js.map
|
|
@@ -29,6 +29,6 @@ const CloseIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedCloseIcon = memo(CloseIcon);
|
|
32
|
-
MemoizedCloseIcon.displayName = "CloseIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedCloseIcon.displayName = "CloseIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedCloseIcon as CloseIcon };
|
|
34
34
|
//# sourceMappingURL=Close.js.map
|
|
@@ -29,6 +29,6 @@ const CloseCircleFilledIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedCloseCircleFilledIcon = memo(CloseCircleFilledIcon);
|
|
32
|
-
MemoizedCloseCircleFilledIcon.displayName = "CloseCircleFilledIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedCloseCircleFilledIcon.displayName = "CloseCircleFilledIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedCloseCircleFilledIcon as CloseCircleFilledIcon };
|
|
34
34
|
//# sourceMappingURL=CloseCircleFilled.js.map
|
|
@@ -29,6 +29,6 @@ const CollapseLeftIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedCollapseLeftIcon = memo(CollapseLeftIcon);
|
|
32
|
-
MemoizedCollapseLeftIcon.displayName = "CollapseLeftIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedCollapseLeftIcon.displayName = "CollapseLeftIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedCollapseLeftIcon as CollapseLeftIcon };
|
|
34
34
|
//# sourceMappingURL=CollapseLeft.js.map
|
|
@@ -29,6 +29,6 @@ const CollapseRightIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedCollapseRightIcon = memo(CollapseRightIcon);
|
|
32
|
-
MemoizedCollapseRightIcon.displayName = "CollapseRightIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedCollapseRightIcon.displayName = "CollapseRightIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedCollapseRightIcon as CollapseRightIcon };
|
|
34
34
|
//# sourceMappingURL=CollapseRight.js.map
|
|
@@ -29,6 +29,6 @@ const CopyIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedCopyIcon = memo(CopyIcon);
|
|
32
|
-
MemoizedCopyIcon.displayName = "CopyIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedCopyIcon.displayName = "CopyIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedCopyIcon as CopyIcon };
|
|
34
34
|
//# sourceMappingURL=Copy.js.map
|
|
@@ -29,6 +29,6 @@ const CustomizationsIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedCustomizationsIcon = memo(CustomizationsIcon);
|
|
32
|
-
MemoizedCustomizationsIcon.displayName = "CustomizationsIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedCustomizationsIcon.displayName = "CustomizationsIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedCustomizationsIcon as CustomizationsIcon };
|
|
34
34
|
//# sourceMappingURL=Customizations.js.map
|
|
@@ -29,6 +29,6 @@ const CustomizationsSelectedIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedCustomizationsSelectedIcon = memo(CustomizationsSelectedIcon);
|
|
32
|
-
MemoizedCustomizationsSelectedIcon.displayName = "CustomizationsSelectedIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedCustomizationsSelectedIcon.displayName = "CustomizationsSelectedIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedCustomizationsSelectedIcon as CustomizationsSelectedIcon };
|
|
34
34
|
//# sourceMappingURL=CustomizationsSelected.js.map
|
|
@@ -29,6 +29,6 @@ const DangerDiamondIcon = forwardRef((props, ref) => {
|
|
|
29
29
|
});
|
|
30
30
|
});
|
|
31
31
|
const MemoizedDangerDiamondIcon = memo(DangerDiamondIcon);
|
|
32
|
-
MemoizedDangerDiamondIcon.displayName = "DangerDiamondIcon::pkg=odyssey&odysseyV=1.
|
|
32
|
+
MemoizedDangerDiamondIcon.displayName = "DangerDiamondIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
33
33
|
export { MemoizedDangerDiamondIcon as DangerDiamondIcon };
|
|
34
34
|
//# sourceMappingURL=DangerDiamond.js.map
|