@okta/odyssey-react-mui 1.69.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/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/Card.cjs +1 -1
- package/dist/cjs/CircularProgress.cjs +1 -1
- package/dist/cjs/ConditionalWrapper.cjs +1 -1
- package/dist/cjs/DataTable/DataTable.cjs +1 -1
- package/dist/cjs/DataTable/DataTableRowActions.cjs +1 -1
- package/dist/cjs/DataTable/DataTableSettings.cjs +1 -1
- package/dist/cjs/DatePickers/DateField.cjs +1 -1
- package/dist/cjs/DatePickers/DateFieldActionBar.cjs +1 -1
- package/dist/cjs/DatePickers/DateFieldLocalizationProvider.cjs +1 -1
- package/dist/cjs/DatePickers/DatePicker.cjs +1 -1
- package/dist/cjs/DatePickers/TimeZonePicker.cjs +1 -1
- package/dist/cjs/Dialog.cjs +1 -1
- package/dist/cjs/Drawer.cjs +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/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 +12 -12
- 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 → charts/components}/ChartError.cjs +6 -6
- package/dist/cjs/charts/components/ChartError.cjs.map +1 -0
- package/dist/cjs/{Charts → charts/components}/ChartFrame.cjs +9 -7
- 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 → charts}/index.cjs +7 -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.map +1 -0
- package/dist/cjs/charts/utils/formatChartValue.cjs.map +1 -0
- package/dist/cjs/charts/utils/getChartSeriesPointData.cjs.map +1 -0
- package/dist/cjs/charts/utils/hasDuplicateSeries.cjs.map +1 -0
- package/dist/cjs/charts/utils/resolveChartLocale.cjs.map +1 -0
- package/dist/cjs/{Charts → charts/utils}/useChartValueFormatter.cjs +1 -1
- package/dist/cjs/charts/utils/useChartValueFormatter.cjs.map +1 -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/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/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 +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_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 +4 -0
- 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_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 +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.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/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/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/Card.js +1 -1
- package/dist/esm/CircularProgress.js +1 -1
- package/dist/esm/ConditionalWrapper.js +1 -1
- package/dist/esm/DataTable/DataTable.js +1 -1
- package/dist/esm/DataTable/DataTableRowActions.js +1 -1
- package/dist/esm/DataTable/DataTableSettings.js +1 -1
- package/dist/esm/DatePickers/DateField.js +1 -1
- package/dist/esm/DatePickers/DateFieldActionBar.js +1 -1
- package/dist/esm/DatePickers/DateFieldLocalizationProvider.js +1 -1
- package/dist/esm/DatePickers/DatePicker.js +1 -1
- package/dist/esm/DatePickers/TimeZonePicker.js +1 -1
- package/dist/esm/Dialog.js +1 -1
- package/dist/esm/Drawer.js +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/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 +12 -12
- 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 → charts/components}/ChartError.js +6 -6
- package/dist/esm/charts/components/ChartError.js.map +1 -0
- package/dist/esm/{Charts → charts/components}/ChartFrame.js +9 -7
- 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 → charts}/index.js +1 -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.map +1 -0
- package/dist/esm/charts/utils/formatChartValue.js.map +1 -0
- package/dist/esm/charts/utils/getChartSeriesPointData.js.map +1 -0
- package/dist/esm/charts/utils/hasDuplicateSeries.js.map +1 -0
- package/dist/esm/charts/utils/resolveChartLocale.js.map +1 -0
- package/dist/esm/{Charts → charts/utils}/useChartValueFormatter.js +1 -1
- package/dist/esm/charts/utils/useChartValueFormatter.js.map +1 -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/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/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 +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_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 +4 -0
- 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_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 +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.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/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/OdysseyProvider.d.ts +7 -1
- package/dist/types/OdysseyProvider.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 → charts}/LineChart.d.ts +2 -2
- 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.map +1 -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 → charts}/index.d.ts +3 -2
- 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.map +1 -0
- package/dist/types/charts/utils/formatChartValue.d.ts.map +1 -0
- package/dist/types/charts/utils/getChartSeriesPointData.d.ts.map +1 -0
- package/dist/types/charts/utils/hasDuplicateSeries.d.ts.map +1 -0
- package/dist/types/charts/utils/resolveChartLocale.d.ts.map +1 -0
- package/dist/types/charts/utils/useChartValueFormatter.d.ts.map +1 -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.resources.d.ts +116 -4
- package/dist/types/i18n.generated/i18n.resources.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 +4 -0
- 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_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 +4 -0
- package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts.map +1 -1
- package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
- package/package.json +58 -19
- package/dist/cjs/Charts/ChartError.cjs.map +0 -1
- package/dist/cjs/Charts/ChartFrame.cjs.map +0 -1
- package/dist/cjs/Charts/ChartPopoverContent.cjs +0 -56
- package/dist/cjs/Charts/ChartPopoverContent.cjs.map +0 -1
- package/dist/cjs/Charts/LineChart.cjs +0 -268
- package/dist/cjs/Charts/LineChart.cjs.map +0 -1
- package/dist/cjs/Charts/chartTokens.cjs +0 -117
- package/dist/cjs/Charts/chartTokens.cjs.map +0 -1
- package/dist/cjs/Charts/chartTypes.cjs.map +0 -1
- package/dist/cjs/Charts/formatChartValue.cjs.map +0 -1
- package/dist/cjs/Charts/getChartSeriesPointData.cjs.map +0 -1
- package/dist/cjs/Charts/hasDuplicateSeries.cjs.map +0 -1
- package/dist/cjs/Charts/index.cjs.map +0 -1
- package/dist/cjs/Charts/resolveChartLocale.cjs.map +0 -1
- package/dist/cjs/Charts/useChartValueFormatter.cjs.map +0 -1
- package/dist/cjs/Charts/useStableValue.cjs.map +0 -1
- package/dist/esm/Charts/ChartError.js.map +0 -1
- package/dist/esm/Charts/ChartFrame.js.map +0 -1
- package/dist/esm/Charts/ChartPopoverContent.js +0 -49
- package/dist/esm/Charts/ChartPopoverContent.js.map +0 -1
- package/dist/esm/Charts/LineChart.js +0 -263
- package/dist/esm/Charts/LineChart.js.map +0 -1
- package/dist/esm/Charts/chartTokens.js +0 -109
- package/dist/esm/Charts/chartTokens.js.map +0 -1
- package/dist/esm/Charts/chartTypes.js.map +0 -1
- package/dist/esm/Charts/formatChartValue.js.map +0 -1
- package/dist/esm/Charts/getChartSeriesPointData.js.map +0 -1
- package/dist/esm/Charts/hasDuplicateSeries.js.map +0 -1
- package/dist/esm/Charts/index.js.map +0 -1
- package/dist/esm/Charts/resolveChartLocale.js.map +0 -1
- package/dist/esm/Charts/useChartValueFormatter.js.map +0 -1
- package/dist/esm/Charts/useStableValue.js.map +0 -1
- package/dist/types/Charts/ChartError.d.ts.map +0 -1
- package/dist/types/Charts/ChartFrame.d.ts.map +0 -1
- package/dist/types/Charts/ChartPopoverContent.d.ts +0 -97
- package/dist/types/Charts/ChartPopoverContent.d.ts.map +0 -1
- package/dist/types/Charts/LineChart.d.ts.map +0 -1
- package/dist/types/Charts/chartTokens.d.ts +0 -362
- package/dist/types/Charts/chartTokens.d.ts.map +0 -1
- package/dist/types/Charts/chartTypes.d.ts.map +0 -1
- package/dist/types/Charts/formatChartValue.d.ts.map +0 -1
- package/dist/types/Charts/getChartSeriesPointData.d.ts.map +0 -1
- package/dist/types/Charts/hasDuplicateSeries.d.ts.map +0 -1
- package/dist/types/Charts/index.d.ts.map +0 -1
- package/dist/types/Charts/resolveChartLocale.d.ts.map +0 -1
- package/dist/types/Charts/useChartValueFormatter.d.ts.map +0 -1
- package/dist/types/Charts/useStableValue.d.ts.map +0 -1
- /package/dist/cjs/{Charts → charts/utils}/chartTypes.cjs +0 -0
- /package/dist/cjs/{Charts → charts/utils}/formatChartValue.cjs +0 -0
- /package/dist/cjs/{Charts → charts/utils}/getChartSeriesPointData.cjs +0 -0
- /package/dist/cjs/{Charts → charts/utils}/hasDuplicateSeries.cjs +0 -0
- /package/dist/cjs/{Charts → charts/utils}/resolveChartLocale.cjs +0 -0
- /package/dist/cjs/{Charts → charts/utils}/useStableValue.cjs +0 -0
- /package/dist/esm/{Charts → charts/utils}/chartTypes.js +0 -0
- /package/dist/esm/{Charts → charts/utils}/formatChartValue.js +0 -0
- /package/dist/esm/{Charts → charts/utils}/getChartSeriesPointData.js +0 -0
- /package/dist/esm/{Charts → charts/utils}/hasDuplicateSeries.js +0 -0
- /package/dist/esm/{Charts → charts/utils}/resolveChartLocale.js +0 -0
- /package/dist/esm/{Charts → charts/utils}/useStableValue.js +0 -0
- /package/dist/types/{Charts → charts/components}/ChartError.d.ts +0 -0
- /package/dist/types/{Charts → charts/components}/ChartFrame.d.ts +0 -0
- /package/dist/types/{Charts → charts/utils}/chartTypes.d.ts +0 -0
- /package/dist/types/{Charts → charts/utils}/formatChartValue.d.ts +0 -0
- /package/dist/types/{Charts → charts/utils}/getChartSeriesPointData.d.ts +0 -0
- /package/dist/types/{Charts → charts/utils}/hasDuplicateSeries.d.ts +0 -0
- /package/dist/types/{Charts → charts/utils}/resolveChartLocale.d.ts +0 -0
- /package/dist/types/{Charts → charts/utils}/useChartValueFormatter.d.ts +0 -0
- /package/dist/types/{Charts → charts/utils}/useStableValue.d.ts +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useChartAnimation = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _AnimationContext = require("../AnimationContext.cjs");
|
|
9
|
+
var _chartTokens = require("./utils/chartTokens.cjs");
|
|
10
|
+
/*!
|
|
11
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
12
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
13
|
+
*
|
|
14
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
17
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
18
|
+
*
|
|
19
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
20
|
+
*/const useChartAnimation = () => {
|
|
21
|
+
const hasAnimations = (0, _AnimationContext.useAnimation)();
|
|
22
|
+
return (0, _react.useMemo)(() => hasAnimations ? {
|
|
23
|
+
duration: _chartTokens.chartTokens.ChartAnimationDuration
|
|
24
|
+
} : false, [hasAnimations]);
|
|
25
|
+
};
|
|
26
|
+
exports.useChartAnimation = useChartAnimation;
|
|
27
|
+
//# sourceMappingURL=useChartAnimation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChartAnimation.cjs","names":["_react","require","_AnimationContext","_chartTokens","useChartAnimation","hasAnimations","useAnimation","useMemo","duration","chartTokens","ChartAnimationDuration","exports"],"sources":["../../../src/charts/useChartAnimation.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 { useMemo } from \"react\";\n\nimport { useAnimation } from \"../AnimationContext.js\";\nimport { chartTokens } from \"./utils/chartTokens.js\";\n\n/** Returns the stable Highcharts animation setting. */\nexport const useChartAnimation = () => {\n const hasAnimations = useAnimation();\n\n return useMemo(\n () =>\n hasAnimations\n ? { duration: chartTokens.ChartAnimationDuration }\n : (false as const),\n [hasAnimations],\n );\n};\n"],"mappings":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AAfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAQO,MAAMG,iBAAiB,GAAGA,CAAA,KAAM;EACrC,MAAMC,aAAa,GAAG,IAAAC,8BAAY,EAAC,CAAC;EAEpC,OAAO,IAAAC,cAAO,EACZ,MACEF,aAAa,GACT;IAAEG,QAAQ,EAAEC,wBAAW,CAACC;EAAuB,CAAC,GAC/C,KAAe,EACtB,CAACL,aAAa,CAChB,CAAC;AACH,CAAC;AAACM,OAAA,CAAAP,iBAAA,GAAAA,iBAAA","ignoreList":[]}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useChartTokens = exports.getTokenValueAsPixels = exports.getChartTokens = exports.chartTokens = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _OdysseyDesignTokensContext = require("../../OdysseyDesignTokensContext.cjs");
|
|
9
|
+
/*!
|
|
10
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
11
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
12
|
+
*
|
|
13
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
16
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
*
|
|
18
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
const CSS_ROOT_FONT_SIZE_PIXELS = 16;
|
|
22
|
+
const chartTokens = exports.chartTokens = {
|
|
23
|
+
ChartAnimationDuration: 250,
|
|
24
|
+
ChartLegendRectangleVerticalOffset: 1,
|
|
25
|
+
ChartLegendSymbolSize: 14,
|
|
26
|
+
ChartLineHoverStrokeWidthPlus: 1,
|
|
27
|
+
ChartLineMarkerHoverHaloOpacity: 0.25,
|
|
28
|
+
ChartLineMarkerHoverHaloSize: 20,
|
|
29
|
+
ChartLineMarkerHoverSize: 12,
|
|
30
|
+
ChartLineMarkerSize: 8,
|
|
31
|
+
ChartLineStrokeWidth: 2,
|
|
32
|
+
ChartMinHeight: 400,
|
|
33
|
+
ChartYAxisLabelBaselineCompensation: 8
|
|
34
|
+
};
|
|
35
|
+
const getTokenValueAsPixels = ({
|
|
36
|
+
tokenValue,
|
|
37
|
+
typographySizeBase
|
|
38
|
+
}) => tokenValue.trimEnd().endsWith("rem") ? parseFloat(tokenValue) * (parseFloat(typographySizeBase) / 100 * CSS_ROOT_FONT_SIZE_PIXELS) : parseFloat(tokenValue);
|
|
39
|
+
exports.getTokenValueAsPixels = getTokenValueAsPixels;
|
|
40
|
+
const getChartTokens = ({
|
|
41
|
+
odysseyDesignTokens
|
|
42
|
+
}) => {
|
|
43
|
+
const toPixels = tokenValue => getTokenValueAsPixels({
|
|
44
|
+
tokenValue,
|
|
45
|
+
typographySizeBase: odysseyDesignTokens.TypographySizeBase
|
|
46
|
+
});
|
|
47
|
+
const lineHeight = `${toPixels(odysseyDesignTokens.TypographySizeBody) * odysseyDesignTokens.TypographyLineHeightBody}px`;
|
|
48
|
+
const axisValueStyle = {
|
|
49
|
+
color: odysseyDesignTokens.TypographyColorSubordinate,
|
|
50
|
+
fontFamily: odysseyDesignTokens.TypographyFamilyBody,
|
|
51
|
+
fontSize: odysseyDesignTokens.TypographySizeBody,
|
|
52
|
+
fontWeight: odysseyDesignTokens.TypographyWeightBody,
|
|
53
|
+
lineHeight
|
|
54
|
+
};
|
|
55
|
+
return {
|
|
56
|
+
animationDuration: chartTokens.ChartAnimationDuration,
|
|
57
|
+
minHeight: `${chartTokens.ChartMinHeight}px`,
|
|
58
|
+
seriesColors: [odysseyDesignTokens.HueBlue600, odysseyDesignTokens.HueAccentThree400, odysseyDesignTokens.HueAccentTwo400, odysseyDesignTokens.HueAccentOne600, odysseyDesignTokens.HueYellow400, odysseyDesignTokens.HueGreen600],
|
|
59
|
+
axis: {
|
|
60
|
+
categoryHoverBandColor: odysseyDesignTokens.HueNeutral50,
|
|
61
|
+
crosshairColor: odysseyDesignTokens.BorderColorDisplay,
|
|
62
|
+
crosshairWidth: toPixels(odysseyDesignTokens.BorderWidthMain),
|
|
63
|
+
gridLineWidth: toPixels(odysseyDesignTokens.BorderWidthMain),
|
|
64
|
+
labelStyle: axisValueStyle,
|
|
65
|
+
lineColor: odysseyDesignTokens.BorderColorDisplay,
|
|
66
|
+
rotatedLabelSpacing: toPixels(odysseyDesignTokens.Spacing2) + chartTokens.ChartYAxisLabelBaselineCompensation,
|
|
67
|
+
uprightLabelSpacing: toPixels(odysseyDesignTokens.Spacing2),
|
|
68
|
+
valueStyle: axisValueStyle
|
|
69
|
+
},
|
|
70
|
+
bar: {
|
|
71
|
+
radius: odysseyDesignTokens.BorderRadiusTight
|
|
72
|
+
},
|
|
73
|
+
chart: {
|
|
74
|
+
backgroundColor: "transparent",
|
|
75
|
+
edgeSpacing: toPixels(odysseyDesignTokens.Spacing2),
|
|
76
|
+
fontFamily: odysseyDesignTokens.TypographyFamilyBody,
|
|
77
|
+
topEdgeSpacing: toPixels(odysseyDesignTokens.Spacing3)
|
|
78
|
+
},
|
|
79
|
+
focusRing: {
|
|
80
|
+
color: odysseyDesignTokens.BorderColorPrimaryControl,
|
|
81
|
+
offset: toPixels(odysseyDesignTokens.FocusOutlineOffsetMain),
|
|
82
|
+
radius: `${toPixels(odysseyDesignTokens.BorderRadiusTight)}px`,
|
|
83
|
+
width: toPixels(odysseyDesignTokens.FocusOutlineWidthMain)
|
|
84
|
+
},
|
|
85
|
+
legend: {
|
|
86
|
+
default: {
|
|
87
|
+
symbolHeight: chartTokens.ChartLegendSymbolSize,
|
|
88
|
+
symbolRadius: toPixels(odysseyDesignTokens.BorderRadiusTight),
|
|
89
|
+
symbolWidth: chartTokens.ChartLegendSymbolSize
|
|
90
|
+
},
|
|
91
|
+
line: {
|
|
92
|
+
symbolHeight: chartTokens.ChartLineMarkerSize,
|
|
93
|
+
symbolWidth: toPixels(odysseyDesignTokens.Spacing4)
|
|
94
|
+
},
|
|
95
|
+
shared: {
|
|
96
|
+
alignColumns: false,
|
|
97
|
+
borderWidth: 0,
|
|
98
|
+
itemDistance: toPixels(odysseyDesignTokens.Spacing4),
|
|
99
|
+
itemHiddenStyle: {
|
|
100
|
+
color: odysseyDesignTokens.TypographyColorDisabled
|
|
101
|
+
},
|
|
102
|
+
itemHoverStyle: {
|
|
103
|
+
color: odysseyDesignTokens.TypographyColorBody
|
|
104
|
+
},
|
|
105
|
+
itemStyle: {
|
|
106
|
+
color: odysseyDesignTokens.TypographyColorSubordinate,
|
|
107
|
+
fontFamily: odysseyDesignTokens.TypographyFamilyBody,
|
|
108
|
+
fontSize: odysseyDesignTokens.TypographySizeBody,
|
|
109
|
+
fontWeight: odysseyDesignTokens.TypographyWeightBody,
|
|
110
|
+
lineHeight
|
|
111
|
+
},
|
|
112
|
+
margin: toPixels(odysseyDesignTokens.Spacing4),
|
|
113
|
+
padding: 0,
|
|
114
|
+
symbolPadding: toPixels(odysseyDesignTokens.Spacing2)
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
line: {
|
|
118
|
+
hoverStrokeWidthPlus: chartTokens.ChartLineHoverStrokeWidthPlus,
|
|
119
|
+
markerHoverHaloOpacity: chartTokens.ChartLineMarkerHoverHaloOpacity,
|
|
120
|
+
markerHoverHaloRadius: chartTokens.ChartLineMarkerHoverHaloSize / 2,
|
|
121
|
+
markerHoverRadius: chartTokens.ChartLineMarkerHoverSize / 2,
|
|
122
|
+
markerRadius: chartTokens.ChartLineMarkerSize / 2,
|
|
123
|
+
strokeWidth: chartTokens.ChartLineStrokeWidth
|
|
124
|
+
},
|
|
125
|
+
popover: {
|
|
126
|
+
backgroundColor: odysseyDesignTokens.HueNeutralWhite,
|
|
127
|
+
borderColor: odysseyDesignTokens.BorderColorDisplay,
|
|
128
|
+
borderRadius: toPixels(odysseyDesignTokens.BorderRadiusMain),
|
|
129
|
+
borderWidth: toPixels(odysseyDesignTokens.BorderWidthMain),
|
|
130
|
+
padding: toPixels(odysseyDesignTokens.Spacing4),
|
|
131
|
+
containerStyle: {
|
|
132
|
+
boxShadow: odysseyDesignTokens.DepthMedium,
|
|
133
|
+
color: odysseyDesignTokens.TypographyColorBody,
|
|
134
|
+
fontFamily: odysseyDesignTokens.TypographyFamilyBody,
|
|
135
|
+
fontSize: odysseyDesignTokens.TypographySizeBody,
|
|
136
|
+
fontWeight: odysseyDesignTokens.TypographyWeightBody,
|
|
137
|
+
lineHeight
|
|
138
|
+
},
|
|
139
|
+
content: {
|
|
140
|
+
boldFontWeight: odysseyDesignTokens.TypographyWeightBodyBold,
|
|
141
|
+
fontSize: odysseyDesignTokens.TypographySizeBody,
|
|
142
|
+
lineIndicatorSize: odysseyDesignTokens.Spacing4,
|
|
143
|
+
lineIndicatorThickness: `${chartTokens.ChartLineStrokeWidth}px`,
|
|
144
|
+
lineMarkerSize: `${chartTokens.ChartLineMarkerSize}px`,
|
|
145
|
+
rowGap: odysseyDesignTokens.Spacing1,
|
|
146
|
+
rowSpacing: odysseyDesignTokens.Spacing1,
|
|
147
|
+
swatchRadius: odysseyDesignTokens.BorderRadiusTight,
|
|
148
|
+
swatchSize: `${chartTokens.ChartLegendSymbolSize}px`,
|
|
149
|
+
textColor: odysseyDesignTokens.TypographyColorBody
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
exports.getChartTokens = getChartTokens;
|
|
155
|
+
const useChartTokens = () => {
|
|
156
|
+
const odysseyDesignTokens = (0, _OdysseyDesignTokensContext.useOdysseyDesignTokens)();
|
|
157
|
+
return (0, _react.useMemo)(() => getChartTokens({
|
|
158
|
+
odysseyDesignTokens
|
|
159
|
+
}), [odysseyDesignTokens]);
|
|
160
|
+
};
|
|
161
|
+
exports.useChartTokens = useChartTokens;
|
|
162
|
+
//# sourceMappingURL=chartTokens.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chartTokens.cjs","names":["_react","require","_OdysseyDesignTokensContext","CSS_ROOT_FONT_SIZE_PIXELS","chartTokens","exports","ChartAnimationDuration","ChartLegendRectangleVerticalOffset","ChartLegendSymbolSize","ChartLineHoverStrokeWidthPlus","ChartLineMarkerHoverHaloOpacity","ChartLineMarkerHoverHaloSize","ChartLineMarkerHoverSize","ChartLineMarkerSize","ChartLineStrokeWidth","ChartMinHeight","ChartYAxisLabelBaselineCompensation","getTokenValueAsPixels","tokenValue","typographySizeBase","trimEnd","endsWith","parseFloat","getChartTokens","odysseyDesignTokens","toPixels","TypographySizeBase","lineHeight","TypographySizeBody","TypographyLineHeightBody","axisValueStyle","color","TypographyColorSubordinate","fontFamily","TypographyFamilyBody","fontSize","fontWeight","TypographyWeightBody","animationDuration","minHeight","seriesColors","HueBlue600","HueAccentThree400","HueAccentTwo400","HueAccentOne600","HueYellow400","HueGreen600","axis","categoryHoverBandColor","HueNeutral50","crosshairColor","BorderColorDisplay","crosshairWidth","BorderWidthMain","gridLineWidth","labelStyle","lineColor","rotatedLabelSpacing","Spacing2","uprightLabelSpacing","valueStyle","bar","radius","BorderRadiusTight","chart","backgroundColor","edgeSpacing","topEdgeSpacing","Spacing3","focusRing","BorderColorPrimaryControl","offset","FocusOutlineOffsetMain","width","FocusOutlineWidthMain","legend","default","symbolHeight","symbolRadius","symbolWidth","line","Spacing4","shared","alignColumns","borderWidth","itemDistance","itemHiddenStyle","TypographyColorDisabled","itemHoverStyle","TypographyColorBody","itemStyle","margin","padding","symbolPadding","hoverStrokeWidthPlus","markerHoverHaloOpacity","markerHoverHaloRadius","markerHoverRadius","markerRadius","strokeWidth","popover","HueNeutralWhite","borderColor","borderRadius","BorderRadiusMain","containerStyle","boxShadow","DepthMedium","content","boldFontWeight","TypographyWeightBodyBold","lineIndicatorSize","lineIndicatorThickness","lineMarkerSize","rowGap","Spacing1","rowSpacing","swatchRadius","swatchSize","textColor","useChartTokens","useOdysseyDesignTokens","useMemo"],"sources":["../../../../src/charts/utils/chartTokens.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 { useMemo } from \"react\";\n\nimport type { DesignTokens } from \"../../OdysseyDesignTokensContext.js\";\n\nimport { useOdysseyDesignTokens } from \"../../OdysseyDesignTokensContext.js\";\n\nconst CSS_ROOT_FONT_SIZE_PIXELS = 16;\n\n/**\n * The chart values that no Odyssey design token supplies. Each entry is either\n * a Highcharts implementation detail that no token will ever cover, or a chart\n * specification value that the design team has not yet turned into a token.\n */\nexport const chartTokens = {\n // TransitionDurationMainAsNumber is 100, and the spec asks for 250.\n ChartAnimationDuration: 250,\n // Highcharts positions its rectangular legend symbols from the text\n // baseline, so a 14px square needs this downward optical correction.\n ChartLegendRectangleVerticalOffset: 1,\n ChartLegendSymbolSize: 14,\n // The amount Highcharts adds to ChartLineStrokeWidth on hover, for the\n // spec's 3px hover stroke. Set explicitly, so an undocumented Highcharts\n // default cannot move the hover stroke out of spec.\n ChartLineHoverStrokeWidthPlus: 1,\n ChartLineMarkerHoverHaloOpacity: 0.25,\n ChartLineMarkerHoverHaloSize: 20,\n ChartLineMarkerHoverSize: 12,\n ChartLineMarkerSize: 8,\n // The spec asks for 2px, and BorderWidthHeavy is 1.5px.\n ChartLineStrokeWidth: 2,\n // The floor for a consumer that sets no height on the chart container. The\n // spacing scale stops at Spacing9, which is 56px.\n ChartMinHeight: 400,\n // Highcharts gives a rotated axis label less visible space than an upright\n // one at the same `title.margin`. The comment on `axis.rotatedLabelSpacing`\n // below gives the cause.\n ChartYAxisLabelBaselineCompensation: 8,\n} as const;\n\n/**\n * Converts an Odyssey design token length to a pixel number, because the\n * charting library takes numbers and not CSS length strings. The function\n * multiplies a `rem` token by the base font size. The function uses a `px`\n * token without a change, because a `px` value is already absolute. Therefore\n * the function does not scale a value such as `BorderRadiusTight` as a `rem`\n * value.\n */\nexport const getTokenValueAsPixels = ({\n tokenValue,\n typographySizeBase,\n}: {\n tokenValue: string;\n typographySizeBase: string;\n}) =>\n tokenValue.trimEnd().endsWith(\"rem\")\n ? parseFloat(tokenValue) *\n ((parseFloat(typographySizeBase) / 100) * CSS_ROOT_FONT_SIZE_PIXELS)\n : parseFloat(tokenValue);\n\n/**\n * Builds the chart values from the Odyssey design tokens. Every value sits in\n * the group named after the part of the chart that it styles, so a chart reads\n * one group per Highcharts child.\n *\n * {@link useChartTokens} wraps this function for a component. This function\n * takes the tokens as an argument, so a test calls it without a React render.\n */\nexport const getChartTokens = ({\n odysseyDesignTokens,\n}: {\n odysseyDesignTokens: DesignTokens;\n}) => {\n const toPixels = (tokenValue: string) =>\n getTokenValueAsPixels({\n tokenValue,\n typographySizeBase: odysseyDesignTokens.TypographySizeBase,\n });\n\n // Highcharts reads a line height with `parseInt`, so it turns a unitless\n // ratio such as `1.5` into 1 pixel and draws the wrapped lines of a label\n // on top of each other.\n const lineHeight = `${\n toPixels(odysseyDesignTokens.TypographySizeBody) *\n odysseyDesignTokens.TypographyLineHeightBody\n }px`;\n\n // The axis values, the axis labels and the legend items share this\n // one style. The design specifies the same text treatment for all three,\n // so an axis label carries no more weight than an axis value.\n const axisValueStyle = {\n color: odysseyDesignTokens.TypographyColorSubordinate,\n fontFamily: odysseyDesignTokens.TypographyFamilyBody,\n fontSize: odysseyDesignTokens.TypographySizeBody,\n fontWeight: odysseyDesignTokens.TypographyWeightBody,\n lineHeight,\n };\n\n return {\n animationDuration: chartTokens.ChartAnimationDuration,\n minHeight: `${chartTokens.ChartMinHeight}px`,\n\n /**\n * The palette that a chart gives to the charting library as its series\n * colors. The library assigns these colors to the series in order. A\n * caller cannot set the color of a series.\n */\n seriesColors: [\n odysseyDesignTokens.HueBlue600,\n odysseyDesignTokens.HueAccentThree400,\n odysseyDesignTokens.HueAccentTwo400,\n odysseyDesignTokens.HueAccentOne600,\n odysseyDesignTokens.HueYellow400,\n odysseyDesignTokens.HueGreen600,\n ],\n\n axis: {\n categoryHoverBandColor: odysseyDesignTokens.HueNeutral50,\n crosshairColor: odysseyDesignTokens.BorderColorDisplay,\n crosshairWidth: toPixels(odysseyDesignTokens.BorderWidthMain),\n gridLineWidth: toPixels(odysseyDesignTokens.BorderWidthMain),\n labelStyle: axisValueStyle,\n // The grid lines, the axis line and the ticks share this one color.\n lineColor: odysseyDesignTokens.BorderColorDisplay,\n // Highcharts renders the gap beside a rotated axis label about 3px\n // smaller than requested. Add that difference back so both axis labels\n // appear Spacing2 away from their values.\n rotatedLabelSpacing:\n toPixels(odysseyDesignTokens.Spacing2) +\n chartTokens.ChartYAxisLabelBaselineCompensation,\n uprightLabelSpacing: toPixels(odysseyDesignTokens.Spacing2),\n valueStyle: axisValueStyle,\n },\n\n bar: {\n radius: odysseyDesignTokens.BorderRadiusTight,\n },\n\n chart: {\n backgroundColor: \"transparent\",\n // Without some outer spacing, Highcharts clips the left edge of the\n // widest Y axis value.\n edgeSpacing: toPixels(odysseyDesignTokens.Spacing2),\n fontFamily: odysseyDesignTokens.TypographyFamilyBody,\n topEdgeSpacing: toPixels(odysseyDesignTokens.Spacing3),\n },\n\n focusRing: {\n color: odysseyDesignTokens.BorderColorPrimaryControl,\n offset: toPixels(odysseyDesignTokens.FocusOutlineOffsetMain),\n // Highcharts types the focus border style as a `CSSObject`, so this one\n // radius carries its unit while every other length here is a number.\n radius: `${toPixels(odysseyDesignTokens.BorderRadiusTight)}px`,\n width: toPixels(odysseyDesignTokens.FocusOutlineWidthMain),\n },\n\n legend: {\n default: {\n symbolHeight: chartTokens.ChartLegendSymbolSize,\n symbolRadius: toPixels(odysseyDesignTokens.BorderRadiusTight),\n symbolWidth: chartTokens.ChartLegendSymbolSize,\n },\n line: {\n // Highcharts also uses this as the limit for the marker in the\n // legend: it draws that marker at a radius of half this height, or\n // at `line.markerRadius`, whichever is less. Both come from\n // ChartLineMarkerSize, so the legend cannot cut the marker down.\n symbolHeight: chartTokens.ChartLineMarkerSize,\n // The line symbol spans Spacing4, the same width as the line in the\n // popover series indicator.\n symbolWidth: toPixels(odysseyDesignTokens.Spacing4),\n },\n shared: {\n alignColumns: false,\n borderWidth: 0,\n itemDistance: toPixels(odysseyDesignTokens.Spacing4),\n // Highcharts merges this over `itemStyle` for a legend item whose\n // series is hidden (toggled off). The spec's \"Selected\" state is\n // this same toggled-off item, styled with Color/Disabled.\n itemHiddenStyle: {\n color: odysseyDesignTokens.TypographyColorDisabled,\n },\n itemHoverStyle: {\n color: odysseyDesignTokens.TypographyColorBody,\n },\n // The legend spec gives its label text a different default color\n // (Color/Body) than the axis values and labels (subordinate gray),\n // so the legend does not share `axisValueStyle`.\n itemStyle: {\n color: odysseyDesignTokens.TypographyColorSubordinate,\n fontFamily: odysseyDesignTokens.TypographyFamilyBody,\n fontSize: odysseyDesignTokens.TypographySizeBody,\n fontWeight: odysseyDesignTokens.TypographyWeightBody,\n lineHeight,\n },\n margin: toPixels(odysseyDesignTokens.Spacing4),\n padding: 0,\n symbolPadding: toPixels(odysseyDesignTokens.Spacing2),\n },\n },\n\n line: {\n hoverStrokeWidthPlus: chartTokens.ChartLineHoverStrokeWidthPlus,\n markerHoverHaloOpacity: chartTokens.ChartLineMarkerHoverHaloOpacity,\n markerHoverHaloRadius: chartTokens.ChartLineMarkerHoverHaloSize / 2,\n markerHoverRadius: chartTokens.ChartLineMarkerHoverSize / 2,\n markerRadius: chartTokens.ChartLineMarkerSize / 2,\n strokeWidth: chartTokens.ChartLineStrokeWidth,\n },\n\n popover: {\n backgroundColor: odysseyDesignTokens.HueNeutralWhite,\n borderColor: odysseyDesignTokens.BorderColorDisplay,\n borderRadius: toPixels(odysseyDesignTokens.BorderRadiusMain),\n borderWidth: toPixels(odysseyDesignTokens.BorderWidthMain),\n padding: toPixels(odysseyDesignTokens.Spacing4),\n\n containerStyle: {\n // Odyssey has no token named \"Depth/Menu\". DepthMedium is the\n // closest match to the hover spec's \"3-layer soft drop shadow\": it\n // has three shadow layers, and its opacities are lighter than\n // DepthHigh's. The popover's own `shadow` prop stays `false` because\n // Highcharts' built-in shadow is a single-layer SVG filter and\n // cannot reproduce a 3-layer shadow; this CSS box-shadow applies\n // instead through the popover's HTML container (Highcharts' `Tooltip`\n // defaults to `useHTML`).\n boxShadow: odysseyDesignTokens.DepthMedium,\n color: odysseyDesignTokens.TypographyColorBody,\n fontFamily: odysseyDesignTokens.TypographyFamilyBody,\n fontSize: odysseyDesignTokens.TypographySizeBody,\n fontWeight: odysseyDesignTokens.TypographyWeightBody,\n lineHeight,\n },\n\n content: {\n boldFontWeight: odysseyDesignTokens.TypographyWeightBodyBold,\n fontSize: odysseyDesignTokens.TypographySizeBody,\n lineIndicatorSize: odysseyDesignTokens.Spacing4,\n lineIndicatorThickness: `${chartTokens.ChartLineStrokeWidth}px`,\n lineMarkerSize: `${chartTokens.ChartLineMarkerSize}px`,\n rowGap: odysseyDesignTokens.Spacing1,\n rowSpacing: odysseyDesignTokens.Spacing1,\n swatchRadius: odysseyDesignTokens.BorderRadiusTight,\n swatchSize: `${chartTokens.ChartLegendSymbolSize}px`,\n textColor: odysseyDesignTokens.TypographyColorBody,\n },\n },\n };\n};\n\n/**\n * Returns the chart values that come from the Odyssey design tokens in context.\n *\n * A chart component calls this one hook, and does not resolve the tokens\n * itself. Therefore the same token choices apply to every chart in the family.\n *\n * The whole object comes from one `useMemo`. A chart passes these values to the\n * React children of the chart library, and that library rebuilds and redraws the\n * whole chart when the identity of a child changes. A new style object on each\n * render therefore costs a redraw. One memo over the whole object keeps every\n * value stable while the tokens stay the same.\n */\nexport const useChartTokens = () => {\n const odysseyDesignTokens = useOdysseyDesignTokens();\n\n return useMemo(\n () => getChartTokens({ odysseyDesignTokens }),\n [odysseyDesignTokens],\n );\n};\n\n/** The chart tokens that {@link getChartTokens} returns. */\nexport type ChartTokens = ReturnType<typeof getChartTokens>;\n"],"mappings":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AAIA,IAAAC,2BAAA,GAAAD,OAAA;AAhBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAQA,MAAME,yBAAyB,GAAG,EAAE;AAO7B,MAAMC,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAG;EAEzBE,sBAAsB,EAAE,GAAG;EAG3BC,kCAAkC,EAAE,CAAC;EACrCC,qBAAqB,EAAE,EAAE;EAIzBC,6BAA6B,EAAE,CAAC;EAChCC,+BAA+B,EAAE,IAAI;EACrCC,4BAA4B,EAAE,EAAE;EAChCC,wBAAwB,EAAE,EAAE;EAC5BC,mBAAmB,EAAE,CAAC;EAEtBC,oBAAoB,EAAE,CAAC;EAGvBC,cAAc,EAAE,GAAG;EAInBC,mCAAmC,EAAE;AACvC,CAAU;AAUH,MAAMC,qBAAqB,GAAGA,CAAC;EACpCC,UAAU;EACVC;AAIF,CAAC,KACCD,UAAU,CAACE,OAAO,CAAC,CAAC,CAACC,QAAQ,CAAC,KAAK,CAAC,GAChCC,UAAU,CAACJ,UAAU,CAAC,IACpBI,UAAU,CAACH,kBAAkB,CAAC,GAAG,GAAG,GAAIhB,yBAAyB,CAAC,GACpEmB,UAAU,CAACJ,UAAU,CAAC;AAACb,OAAA,CAAAY,qBAAA,GAAAA,qBAAA;AAUtB,MAAMM,cAAc,GAAGA,CAAC;EAC7BC;AAGF,CAAC,KAAK;EACJ,MAAMC,QAAQ,GAAIP,UAAkB,IAClCD,qBAAqB,CAAC;IACpBC,UAAU;IACVC,kBAAkB,EAAEK,mBAAmB,CAACE;EAC1C,CAAC,CAAC;EAKJ,MAAMC,UAAU,GAAG,GACjBF,QAAQ,CAACD,mBAAmB,CAACI,kBAAkB,CAAC,GAChDJ,mBAAmB,CAACK,wBAAwB,IAC1C;EAKJ,MAAMC,cAAc,GAAG;IACrBC,KAAK,EAAEP,mBAAmB,CAACQ,0BAA0B;IACrDC,UAAU,EAAET,mBAAmB,CAACU,oBAAoB;IACpDC,QAAQ,EAAEX,mBAAmB,CAACI,kBAAkB;IAChDQ,UAAU,EAAEZ,mBAAmB,CAACa,oBAAoB;IACpDV;EACF,CAAC;EAED,OAAO;IACLW,iBAAiB,EAAElC,WAAW,CAACE,sBAAsB;IACrDiC,SAAS,EAAE,GAAGnC,WAAW,CAACW,cAAc,IAAI;IAO5CyB,YAAY,EAAE,CACZhB,mBAAmB,CAACiB,UAAU,EAC9BjB,mBAAmB,CAACkB,iBAAiB,EACrClB,mBAAmB,CAACmB,eAAe,EACnCnB,mBAAmB,CAACoB,eAAe,EACnCpB,mBAAmB,CAACqB,YAAY,EAChCrB,mBAAmB,CAACsB,WAAW,CAChC;IAEDC,IAAI,EAAE;MACJC,sBAAsB,EAAExB,mBAAmB,CAACyB,YAAY;MACxDC,cAAc,EAAE1B,mBAAmB,CAAC2B,kBAAkB;MACtDC,cAAc,EAAE3B,QAAQ,CAACD,mBAAmB,CAAC6B,eAAe,CAAC;MAC7DC,aAAa,EAAE7B,QAAQ,CAACD,mBAAmB,CAAC6B,eAAe,CAAC;MAC5DE,UAAU,EAAEzB,cAAc;MAE1B0B,SAAS,EAAEhC,mBAAmB,CAAC2B,kBAAkB;MAIjDM,mBAAmB,EACjBhC,QAAQ,CAACD,mBAAmB,CAACkC,QAAQ,CAAC,GACtCtD,WAAW,CAACY,mCAAmC;MACjD2C,mBAAmB,EAAElC,QAAQ,CAACD,mBAAmB,CAACkC,QAAQ,CAAC;MAC3DE,UAAU,EAAE9B;IACd,CAAC;IAED+B,GAAG,EAAE;MACHC,MAAM,EAAEtC,mBAAmB,CAACuC;IAC9B,CAAC;IAEDC,KAAK,EAAE;MACLC,eAAe,EAAE,aAAa;MAG9BC,WAAW,EAAEzC,QAAQ,CAACD,mBAAmB,CAACkC,QAAQ,CAAC;MACnDzB,UAAU,EAAET,mBAAmB,CAACU,oBAAoB;MACpDiC,cAAc,EAAE1C,QAAQ,CAACD,mBAAmB,CAAC4C,QAAQ;IACvD,CAAC;IAEDC,SAAS,EAAE;MACTtC,KAAK,EAAEP,mBAAmB,CAAC8C,yBAAyB;MACpDC,MAAM,EAAE9C,QAAQ,CAACD,mBAAmB,CAACgD,sBAAsB,CAAC;MAG5DV,MAAM,EAAE,GAAGrC,QAAQ,CAACD,mBAAmB,CAACuC,iBAAiB,CAAC,IAAI;MAC9DU,KAAK,EAAEhD,QAAQ,CAACD,mBAAmB,CAACkD,qBAAqB;IAC3D,CAAC;IAEDC,MAAM,EAAE;MACNC,OAAO,EAAE;QACPC,YAAY,EAAEzE,WAAW,CAACI,qBAAqB;QAC/CsE,YAAY,EAAErD,QAAQ,CAACD,mBAAmB,CAACuC,iBAAiB,CAAC;QAC7DgB,WAAW,EAAE3E,WAAW,CAACI;MAC3B,CAAC;MACDwE,IAAI,EAAE;QAKJH,YAAY,EAAEzE,WAAW,CAACS,mBAAmB;QAG7CkE,WAAW,EAAEtD,QAAQ,CAACD,mBAAmB,CAACyD,QAAQ;MACpD,CAAC;MACDC,MAAM,EAAE;QACNC,YAAY,EAAE,KAAK;QACnBC,WAAW,EAAE,CAAC;QACdC,YAAY,EAAE5D,QAAQ,CAACD,mBAAmB,CAACyD,QAAQ,CAAC;QAIpDK,eAAe,EAAE;UACfvD,KAAK,EAAEP,mBAAmB,CAAC+D;QAC7B,CAAC;QACDC,cAAc,EAAE;UACdzD,KAAK,EAAEP,mBAAmB,CAACiE;QAC7B,CAAC;QAIDC,SAAS,EAAE;UACT3D,KAAK,EAAEP,mBAAmB,CAACQ,0BAA0B;UACrDC,UAAU,EAAET,mBAAmB,CAACU,oBAAoB;UACpDC,QAAQ,EAAEX,mBAAmB,CAACI,kBAAkB;UAChDQ,UAAU,EAAEZ,mBAAmB,CAACa,oBAAoB;UACpDV;QACF,CAAC;QACDgE,MAAM,EAAElE,QAAQ,CAACD,mBAAmB,CAACyD,QAAQ,CAAC;QAC9CW,OAAO,EAAE,CAAC;QACVC,aAAa,EAAEpE,QAAQ,CAACD,mBAAmB,CAACkC,QAAQ;MACtD;IACF,CAAC;IAEDsB,IAAI,EAAE;MACJc,oBAAoB,EAAE1F,WAAW,CAACK,6BAA6B;MAC/DsF,sBAAsB,EAAE3F,WAAW,CAACM,+BAA+B;MACnEsF,qBAAqB,EAAE5F,WAAW,CAACO,4BAA4B,GAAG,CAAC;MACnEsF,iBAAiB,EAAE7F,WAAW,CAACQ,wBAAwB,GAAG,CAAC;MAC3DsF,YAAY,EAAE9F,WAAW,CAACS,mBAAmB,GAAG,CAAC;MACjDsF,WAAW,EAAE/F,WAAW,CAACU;IAC3B,CAAC;IAEDsF,OAAO,EAAE;MACPnC,eAAe,EAAEzC,mBAAmB,CAAC6E,eAAe;MACpDC,WAAW,EAAE9E,mBAAmB,CAAC2B,kBAAkB;MACnDoD,YAAY,EAAE9E,QAAQ,CAACD,mBAAmB,CAACgF,gBAAgB,CAAC;MAC5DpB,WAAW,EAAE3D,QAAQ,CAACD,mBAAmB,CAAC6B,eAAe,CAAC;MAC1DuC,OAAO,EAAEnE,QAAQ,CAACD,mBAAmB,CAACyD,QAAQ,CAAC;MAE/CwB,cAAc,EAAE;QASdC,SAAS,EAAElF,mBAAmB,CAACmF,WAAW;QAC1C5E,KAAK,EAAEP,mBAAmB,CAACiE,mBAAmB;QAC9CxD,UAAU,EAAET,mBAAmB,CAACU,oBAAoB;QACpDC,QAAQ,EAAEX,mBAAmB,CAACI,kBAAkB;QAChDQ,UAAU,EAAEZ,mBAAmB,CAACa,oBAAoB;QACpDV;MACF,CAAC;MAEDiF,OAAO,EAAE;QACPC,cAAc,EAAErF,mBAAmB,CAACsF,wBAAwB;QAC5D3E,QAAQ,EAAEX,mBAAmB,CAACI,kBAAkB;QAChDmF,iBAAiB,EAAEvF,mBAAmB,CAACyD,QAAQ;QAC/C+B,sBAAsB,EAAE,GAAG5G,WAAW,CAACU,oBAAoB,IAAI;QAC/DmG,cAAc,EAAE,GAAG7G,WAAW,CAACS,mBAAmB,IAAI;QACtDqG,MAAM,EAAE1F,mBAAmB,CAAC2F,QAAQ;QACpCC,UAAU,EAAE5F,mBAAmB,CAAC2F,QAAQ;QACxCE,YAAY,EAAE7F,mBAAmB,CAACuC,iBAAiB;QACnDuD,UAAU,EAAE,GAAGlH,WAAW,CAACI,qBAAqB,IAAI;QACpD+G,SAAS,EAAE/F,mBAAmB,CAACiE;MACjC;IACF;EACF,CAAC;AACH,CAAC;AAACpF,OAAA,CAAAkB,cAAA,GAAAA,cAAA;AAcK,MAAMiG,cAAc,GAAGA,CAAA,KAAM;EAClC,MAAMhG,mBAAmB,GAAG,IAAAiG,kDAAsB,EAAC,CAAC;EAEpD,OAAO,IAAAC,cAAO,EACZ,MAAMnG,cAAc,CAAC;IAAEC;EAAoB,CAAC,CAAC,EAC7C,CAACA,mBAAmB,CACtB,CAAC;AACH,CAAC;AAACnB,OAAA,CAAAmH,cAAA,GAAAA,cAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chartTypes.cjs","names":[],"sources":["../../../../src/charts/utils/chartTypes.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 { ChartValueFormat } from \"./formatChartValue.js\";\n\n/**\n * One line on the chart. A series has a name and one value for each category.\n *\n * The chart holds the list of categories. A series holds only the values. Put\n * the values in the same order as the categories.\n *\n * A category is always text, such as `\"Week 1\"` or `\"2026-08\"`. If your data\n * has dates or times, put that data into groups of equal length first. A chart\n * that needs a true time axis uses a different series type. See\n * `docs/decisions/2026-08-21-chart-data-model-and-axis-api.md`.\n */\nexport type ChartSeries = {\n /**\n * The values of this series, one for each category, in the same order as\n * the chart's `categories`.\n *\n * An entry of `null` means the series has no measurement for that\n * category. The chart then draws a gap at that category. It does not draw\n * a point with a value of zero.\n */\n data: Array<number | null>;\n /**\n * The name of the series. The chart shows this name in the legend and in the\n * popover. Each series in one chart must have a different name.\n */\n name: string;\n};\n\n/**\n * A data point that the chart sends to an interaction callback, such as\n * `onPointClick`. The callback receives one point at a time, so the point\n * carries the name of its own series.\n */\nexport type ChartPoint = {\n /** The category that this point belongs to. */\n category: string;\n /** The name of the series that this point belongs to. */\n seriesName: ChartSeries[\"name\"];\n /**\n * The measured value of this point. The type comes from one series value,\n * with `null` removed. The chart draws no point at a gap, so a user cannot\n * click one.\n */\n value: NonNullable<ChartSeries[\"data\"][number]>;\n};\n\n/**\n * The parts of a point that hold no position. Every chart type gives these\n * parts to a point, whatever axes that chart has.\n *\n * `custom.formattedValue` holds the text that the popover shows. The chart\n * formats a value once, when it builds the point, so the popover does not\n * format that value again on each hover.\n *\n * `events` is absent when the caller supplies no click handler. Highcharts\n * attaches a listener when it finds an `events` property, so a point with no\n * click behavior must omit the property.\n */\nexport type ChartPointDecoration = {\n custom: { formattedValue: string };\n events?: { click: () => void };\n};\n\n/**\n * The properties for a chart that plots series against a category axis and a\n * value axis.\n * The layout around a chart often supplies its own heading in surrounding HTML,\n * so a chart may need neither `title` nor `subtitle`.\n */\nexport type CartesianChartProps = {\n /**\n * A text description of the chart for assistive technology. The chart\n * library puts this description in a hidden region of its own.\n */\n ariaDescription: string;\n /**\n * The categories on the horizontal axis, in the order that the chart shows\n * them. Each series in `series` supplies one value for each category, at\n * the same index.\n */\n categories: string[];\n /**\n * If `true`, the chart shows an error state in place of its series.\n * `isLoading` takes precedence over this property.\n */\n hasError?: boolean;\n /**\n * If `true`, the chart shows a loading state in place of its series.\n * `isLoading` takes precedence over `hasError`.\n */\n isLoading?: boolean;\n /** The chart calls this function when a user clicks a point. */\n onPointClick?: (point: ChartPoint) => void;\n /**\n * The chart calls this function when a user clicks the retry button in the\n * error state. The error state shows no retry button when the caller\n * omits this property.\n *\n * Set `isLoading` to `true` in this function, then set `hasError` to\n * `false` once the data arrives. `isLoading` takes precedence over\n * `hasError`, so the loading state replaces the error state for the length\n * of the request. Leaving `isLoading` alone holds the error state, and its\n * retry button, on screen while the request is in flight.\n */\n onRetry?: () => void;\n /**\n * The format for the value in the popover of a point. If you omit this\n * property, the popover shows the value in full.\n */\n pointPopoverValueFormat?: ChartValueFormat;\n /**\n * The series that the chart plots. Each series is a set of values with a\n * name. Each value lines up by index with the chart's `categories`.\n */\n series: ChartSeries[];\n /**\n * The subtitle of the chart. The chart shows the subtitle below the title. A\n * subtitle gives more information about the title, so the chart ignores a\n * subtitle that arrives with no title.\n */\n subtitle?: string;\n /** The title of the chart. */\n title?: string;\n /** The label for the horizontal axis. */\n xAxisLabel?: string;\n /** The label for the vertical axis. */\n yAxisLabel?: string;\n};\n"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatChartValue.cjs","names":["_resolveChartLocale","require","numberFormatOptionsByPreset","compact","notation","decimal","percent","style","formatChartValue","format","languageCode","value","Intl","NumberFormat","resolveChartLocale","exports"],"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":";;;;;;AAYA,IAAAA,mBAAA,GAAAC,OAAA;AAZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAWA,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;AAwEtD,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,CAC1B,IAAAC,sCAAkB,EAACJ,YAAY,CAAC,EAChC,OAAOD,MAAM,KAAK,QAAQ,GAAGP,2BAA2B,CAACO,MAAM,CAAC,GAAGA,MACrE,CAAC,CAACA,MAAM,CAACE,KAAK,CAAC;AACjB,CAAC;AAACI,OAAA,CAAAP,gBAAA,GAAAA,gBAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getChartSeriesPointData.cjs","names":["getChartSeriesPointData","categories","chartSeries","formatValue","onPointClick","pointPopoverValueFormat","data","length","Error","name","map","value","valueIndex","custom","formattedValue","format","y","events","click","category","seriesName","exports"],"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,GA6CO,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;AAACU,OAAA,CAAArB,uBAAA,GAAAA,uBAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hasDuplicateSeries.cjs","names":["hasDuplicateSeries","series","Set","map","chartSeries","name","size","length","exports"],"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,GAeO,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;AAACC,OAAA,CAAAR,kBAAA,GAAAA,kBAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveChartLocale.cjs","names":["FALLBACK_LOCALE","resolveChartLocale","languageCode","Intl","getCanonicalLocales","replaceAll","exports"],"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;AAiBxB,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;AAACM,OAAA,CAAAL,kBAAA,GAAAA,kBAAA","ignoreList":[]}
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.useChartValueFormatter = void 0;
|
|
7
7
|
var _react = require("react");
|
|
8
|
-
var _i18n = require("
|
|
8
|
+
var _i18n = require("../../i18n.generated/i18n.cjs");
|
|
9
9
|
var _formatChartValue = require("./formatChartValue.cjs");
|
|
10
10
|
/*!
|
|
11
11
|
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChartValueFormatter.cjs","names":["_react","require","_i18n","_formatChartValue","useChartValueFormatter","i18n","useTranslation","languageCode","language","useCallback","format","value","formatChartValue","exports"],"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":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,iBAAA,GAAAF,OAAA;AAfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAmCO,MAAMG,sBAAsB,GAAGA,CAAA,KAA2B;EAC/D,MAAM;IAAEC;EAAK,CAAC,GAAG,IAAAC,oBAAc,EAAC,CAAC;EACjC,MAAMC,YAAY,GAAGF,IAAI,CAACG,QAAQ;EAElC,OAAO,IAAAC,kBAAW,EAChB,CAAC;IAAEC,MAAM;IAAEC;EAAM,CAAC,KAAK,IAAAC,kCAAgB,EAAC;IAAEF,MAAM;IAAEH,YAAY;IAAEI;EAAM,CAAC,CAAC,EACxE,CAACJ,YAAY,CACf,CAAC;AACH,CAAC;AAACM,OAAA,CAAAT,sBAAA,GAAAA,sBAAA","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStableValue.cjs","names":["_lodash","_interopRequireDefault","require","_react","e","__esModule","default","useStableValue","value","stableValueRef","useRef","isEqual","current","exports"],"sources":["../../../../src/charts/utils/useStableValue.ts"],"sourcesContent":["/*!\n * Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport 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":";;;;;;AAYA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAA+B,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAb/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAqBO,MAAMG,cAAc,GAAeC,KAAgB,IAAgB;EAIxE,MAAMC,cAAc,GAAG,IAAAC,aAAM,EAACF,KAAK,CAAC;EAEpC,IAAI,CAAC,IAAAG,eAAO,EAACF,cAAc,CAACG,OAAO,EAAEJ,KAAK,CAAC,EAAE;IAC3CC,cAAc,CAACG,OAAO,GAAGJ,KAAK;EAChC;EAEA,OAAOC,cAAc,CAACG,OAAO;AAC/B,CAAC;AAACC,OAAA,CAAAN,cAAA,GAAAA,cAAA","ignoreList":[]}
|
|
@@ -27,13 +27,14 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
27
27
|
shouldForwardProp: prop => prop !== "odysseyDesignTokens" && (shouldForwardProp?.(prop) ?? true)
|
|
28
28
|
})(typeof styleArg === "function" ? styleArg : () => styleArg);
|
|
29
29
|
const InternalComponent = InternalStyled;
|
|
30
|
-
return (0, _react.memo)(function OdysseyStyledComponent(props) {
|
|
30
|
+
return (0, _react.memo)((0, _react.forwardRef)(function OdysseyStyledComponent(props, componentReference) {
|
|
31
31
|
const odysseyDesignTokens = (0, _OdysseyDesignTokensContext.useOdysseyDesignTokens)();
|
|
32
32
|
return (0, _jsxRuntime.jsx)(InternalComponent, {
|
|
33
33
|
...props,
|
|
34
|
-
odysseyDesignTokens: odysseyDesignTokens
|
|
34
|
+
odysseyDesignTokens: odysseyDesignTokens,
|
|
35
|
+
ref: componentReference
|
|
35
36
|
});
|
|
36
|
-
});
|
|
37
|
+
}));
|
|
37
38
|
};
|
|
38
39
|
exports.createOdysseyStyledComponent = createOdysseyStyledComponent;
|
|
39
40
|
//# sourceMappingURL=createOdysseyStyledComponent.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOdysseyStyledComponent.cjs","names":["_styled","_interopRequireDefault","require","_react","_OdysseyDesignTokensContext","_jsxRuntime","e","__esModule","default","createOdysseyStyledComponent","tag","shouldForwardProp","styleArg","InternalStyled","styled","prop","InternalComponent","memo","OdysseyStyledComponent","props","odysseyDesignTokens","useOdysseyDesignTokens","jsx","exports"],"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.cjs","names":["_styled","_interopRequireDefault","require","_react","_OdysseyDesignTokensContext","_jsxRuntime","e","__esModule","default","createOdysseyStyledComponent","tag","shouldForwardProp","styleArg","InternalStyled","styled","prop","InternalComponent","memo","forwardRef","OdysseyStyledComponent","props","componentReference","odysseyDesignTokens","useOdysseyDesignTokens","jsx","ref","exports"],"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":";;;;;;AAmBA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,IAAAE,2BAAA,GAAAF,OAAA;AAGyC,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAzBzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAoEO,MAAMG,4BAA4B,GACvCA,CAA0B;EACxBC,GAAG;EACHC;AACqC,CAAC,KAEtCC,QAA2D,IACxD;EAOH,MAAMC,cAAc,GAAG,IAAAC,eAAM,EAACJ,GAAG,EAAkC;IACjEC,iBAAiB,EAAGI,IAAI,IACtBA,IAAI,KAAK,qBAAqB,KAAKJ,iBAAiB,GAAGI,IAAI,CAAC,IAAI,IAAI;EACxE,CAAC,CAAC,CAAC,OAAOH,QAAQ,KAAK,UAAU,GAAGA,QAAQ,GAAG,MAAMA,QAAQ,CAAC;EAM9D,MAAMI,iBAAiB,GAAGH,cAA+C;EAUzE,OAAO,IAAAI,WAAI,EACT,IAAAC,iBAAU,EACR,SAASC,sBAAsBA,CAACC,KAAK,EAAEC,kBAAkB,EAAE;IACzD,MAAMC,mBAAmB,GAAG,IAAAC,kDAAsB,EAAC,CAAC;IACpD,OACE,IAAAlB,WAAA,CAAAmB,GAAA,EAACR,iBAAiB;MAAA,GACZI,KAAK;MACTE,mBAAmB,EAAEA,mBAAoB;MACzCG,GAAG,EAAEJ;IAAmB,CACzB,CAAC;EAEN,CACF,CACF,CAAC;AACH,CAAC;AAACK,OAAA,CAAAjB,4BAAA,GAAAA,4BAAA","ignoreList":[]}
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedAddIcon = exports.AddIcon = (0, _react.memo)(AddIcon);
|
|
38
|
-
MemoizedAddIcon.displayName = "AddIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedAddIcon.displayName = "AddIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=Add.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedAddCircleIcon = exports.AddCircleIcon = (0, _react.memo)(AddCircleIcon);
|
|
38
|
-
MemoizedAddCircleIcon.displayName = "AddCircleIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedAddCircleIcon.displayName = "AddCircleIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=AddCircle.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedAppsIcon = exports.AppsIcon = (0, _react.memo)(AppsIcon);
|
|
38
|
-
MemoizedAppsIcon.displayName = "AppsIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedAppsIcon.displayName = "AppsIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=Apps.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedAppsSelectedIcon = exports.AppsSelectedIcon = (0, _react.memo)(AppsSelectedIcon);
|
|
38
|
-
MemoizedAppsSelectedIcon.displayName = "AppsSelectedIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedAppsSelectedIcon.displayName = "AppsSelectedIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=AppsSelected.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowBottomIcon = exports.ArrowBottomIcon = (0, _react.memo)(ArrowBottomIcon);
|
|
38
|
-
MemoizedArrowBottomIcon.displayName = "ArrowBottomIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowBottomIcon.displayName = "ArrowBottomIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=ArrowBottom.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowDownIcon = exports.ArrowDownIcon = (0, _react.memo)(ArrowDownIcon);
|
|
38
|
-
MemoizedArrowDownIcon.displayName = "ArrowDownIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowDownIcon.displayName = "ArrowDownIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=ArrowDown.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowLeftIcon = exports.ArrowLeftIcon = (0, _react.memo)(ArrowLeftIcon);
|
|
38
|
-
MemoizedArrowLeftIcon.displayName = "ArrowLeftIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowLeftIcon.displayName = "ArrowLeftIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=ArrowLeft.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowLowerLeftIcon = exports.ArrowLowerLeftIcon = (0, _react.memo)(ArrowLowerLeftIcon);
|
|
38
|
-
MemoizedArrowLowerLeftIcon.displayName = "ArrowLowerLeftIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowLowerLeftIcon.displayName = "ArrowLowerLeftIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=ArrowLowerLeft.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowLowerRightIcon = exports.ArrowLowerRightIcon = (0, _react.memo)(ArrowLowerRightIcon);
|
|
38
|
-
MemoizedArrowLowerRightIcon.displayName = "ArrowLowerRightIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowLowerRightIcon.displayName = "ArrowLowerRightIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=ArrowLowerRight.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowRightIcon = exports.ArrowRightIcon = (0, _react.memo)(ArrowRightIcon);
|
|
38
|
-
MemoizedArrowRightIcon.displayName = "ArrowRightIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowRightIcon.displayName = "ArrowRightIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=ArrowRight.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowTopIcon = exports.ArrowTopIcon = (0, _react.memo)(ArrowTopIcon);
|
|
38
|
-
MemoizedArrowTopIcon.displayName = "ArrowTopIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowTopIcon.displayName = "ArrowTopIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=ArrowTop.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowUnsortedIcon = exports.ArrowUnsortedIcon = (0, _react.memo)(ArrowUnsortedIcon);
|
|
38
|
-
MemoizedArrowUnsortedIcon.displayName = "ArrowUnsortedIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowUnsortedIcon.displayName = "ArrowUnsortedIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=ArrowUnsorted.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowUpIcon = exports.ArrowUpIcon = (0, _react.memo)(ArrowUpIcon);
|
|
38
|
-
MemoizedArrowUpIcon.displayName = "ArrowUpIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowUpIcon.displayName = "ArrowUpIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=ArrowUp.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowUpperLeftIcon = exports.ArrowUpperLeftIcon = (0, _react.memo)(ArrowUpperLeftIcon);
|
|
38
|
-
MemoizedArrowUpperLeftIcon.displayName = "ArrowUpperLeftIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowUpperLeftIcon.displayName = "ArrowUpperLeftIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=ArrowUpperLeft.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedArrowUpperRightIcon = exports.ArrowUpperRightIcon = (0, _react.memo)(ArrowUpperRightIcon);
|
|
38
|
-
MemoizedArrowUpperRightIcon.displayName = "ArrowUpperRightIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedArrowUpperRightIcon.displayName = "ArrowUpperRightIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=ArrowUpperRight.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedBugIcon = exports.BugIcon = (0, _react.memo)(BugIcon);
|
|
38
|
-
MemoizedBugIcon.displayName = "BugIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedBugIcon.displayName = "BugIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=Bug.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedCalendarIcon = exports.CalendarIcon = (0, _react.memo)(CalendarIcon);
|
|
38
|
-
MemoizedCalendarIcon.displayName = "CalendarIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedCalendarIcon.displayName = "CalendarIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=Calendar.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedCallIcon = exports.CallIcon = (0, _react.memo)(CallIcon);
|
|
38
|
-
MemoizedCallIcon.displayName = "CallIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedCallIcon.displayName = "CallIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=Call.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedChatIcon = exports.ChatIcon = (0, _react.memo)(ChatIcon);
|
|
38
|
-
MemoizedChatIcon.displayName = "ChatIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedChatIcon.displayName = "ChatIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=Chat.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedCheckIcon = exports.CheckIcon = (0, _react.memo)(CheckIcon);
|
|
38
|
-
MemoizedCheckIcon.displayName = "CheckIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedCheckIcon.displayName = "CheckIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=Check.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedCheckCircleFilledIcon = exports.CheckCircleFilledIcon = (0, _react.memo)(CheckCircleFilledIcon);
|
|
38
|
-
MemoizedCheckCircleFilledIcon.displayName = "CheckCircleFilledIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedCheckCircleFilledIcon.displayName = "CheckCircleFilledIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=CheckCircleFilled.cjs.map
|
|
@@ -33,5 +33,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
33
33
|
});
|
|
34
34
|
});
|
|
35
35
|
const MemoizedChevronDownIcon = exports.ChevronDownIcon = (0, _react.memo)(ChevronDownIcon);
|
|
36
|
-
MemoizedChevronDownIcon.displayName = "ChevronDownIcon::pkg=odyssey&odysseyV=1.
|
|
36
|
+
MemoizedChevronDownIcon.displayName = "ChevronDownIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
37
37
|
//# sourceMappingURL=ChevronDown.cjs.map
|
|
@@ -33,5 +33,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
33
33
|
});
|
|
34
34
|
});
|
|
35
35
|
const MemoizedChevronLeftIcon = exports.ChevronLeftIcon = (0, _react.memo)(ChevronLeftIcon);
|
|
36
|
-
MemoizedChevronLeftIcon.displayName = "ChevronLeftIcon::pkg=odyssey&odysseyV=1.
|
|
36
|
+
MemoizedChevronLeftIcon.displayName = "ChevronLeftIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
37
37
|
//# sourceMappingURL=ChevronLeft.cjs.map
|
|
@@ -33,5 +33,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
33
33
|
});
|
|
34
34
|
});
|
|
35
35
|
const MemoizedChevronRightIcon = exports.ChevronRightIcon = (0, _react.memo)(ChevronRightIcon);
|
|
36
|
-
MemoizedChevronRightIcon.displayName = "ChevronRightIcon::pkg=odyssey&odysseyV=1.
|
|
36
|
+
MemoizedChevronRightIcon.displayName = "ChevronRightIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
37
37
|
//# sourceMappingURL=ChevronRight.cjs.map
|
|
@@ -40,5 +40,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
42
|
const MemoizedChevronUpIcon = exports.ChevronUpIcon = (0, _react.memo)(ChevronUpIcon);
|
|
43
|
-
MemoizedChevronUpIcon.displayName = "ChevronUpIcon::pkg=odyssey&odysseyV=1.
|
|
43
|
+
MemoizedChevronUpIcon.displayName = "ChevronUpIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
44
44
|
//# sourceMappingURL=ChevronUp.cjs.map
|
|
@@ -35,5 +35,5 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
35
35
|
});
|
|
36
36
|
});
|
|
37
37
|
const MemoizedClockIcon = exports.ClockIcon = (0, _react.memo)(ClockIcon);
|
|
38
|
-
MemoizedClockIcon.displayName = "ClockIcon::pkg=odyssey&odysseyV=1.
|
|
38
|
+
MemoizedClockIcon.displayName = "ClockIcon::pkg=odyssey&odysseyV=1.70.0";
|
|
39
39
|
//# sourceMappingURL=Clock.cjs.map
|