@okta/odyssey-react-mui 1.73.0 → 1.74.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/dist/cjs/Accordion.cjs +1 -1
- package/dist/cjs/AnimationContext.cjs +1 -1
- package/dist/cjs/Autocomplete.cjs +2 -1
- package/dist/cjs/Autocomplete.cjs.map +1 -1
- package/dist/cjs/Badge.cjs +1 -1
- package/dist/cjs/Banner.cjs +2 -1
- package/dist/cjs/Banner.cjs.map +1 -1
- package/dist/cjs/Box.cjs +1 -1
- package/dist/cjs/Breadcrumbs.cjs +1 -1
- package/dist/cjs/Buttons/BaseButton.cjs +1 -1
- package/dist/cjs/Buttons/BaseMenuButton.cjs +1 -1
- package/dist/cjs/Buttons/Button.cjs +1 -1
- package/dist/cjs/Buttons/MenuButton.cjs +1 -1
- package/dist/cjs/Buttons/MenuItem.cjs +1 -1
- package/dist/cjs/Callout.cjs +1 -1
- package/dist/cjs/Card.cjs +1 -1
- package/dist/cjs/CircularProgress.cjs +1 -1
- package/dist/cjs/ConditionalWrapper.cjs +1 -1
- package/dist/cjs/DataTable/DataTable.cjs +7 -3
- package/dist/cjs/DataTable/DataTable.cjs.map +1 -1
- package/dist/cjs/DataTable/DataTableRowActions.cjs +1 -1
- package/dist/cjs/DataTable/DataTableSettings.cjs +1 -1
- package/dist/cjs/DataTable/reorderDataRowsLocally.cjs +16 -3
- package/dist/cjs/DataTable/reorderDataRowsLocally.cjs.map +1 -1
- package/dist/cjs/DataTable/useRowReordering.cjs +26 -8
- package/dist/cjs/DataTable/useRowReordering.cjs.map +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 +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 +7 -3
- package/dist/cjs/Select.cjs.map +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 +3 -7
- package/dist/cjs/Tag.cjs.map +1 -1
- package/dist/cjs/TagList.cjs +14 -11
- package/dist/cjs/TagList.cjs.map +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 +71 -0
- package/dist/cjs/__internal.cjs.map +1 -1
- package/dist/cjs/charts/index.cjs +3 -4
- package/dist/cjs/charts/index.cjs.map +1 -1
- package/dist/cjs/charts/{utils/useStableValue.cjs → movedToOdysseyLabs.cjs} +17 -14
- package/dist/cjs/charts/movedToOdysseyLabs.cjs.map +1 -0
- package/dist/cjs/createUniqueId.cjs +40 -4
- package/dist/cjs/createUniqueId.cjs.map +1 -1
- package/dist/cjs/fullscreen/FullscreenButton.cjs +1 -1
- package/dist/cjs/fullscreen/FullscreenRegion.cjs +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/FullscreenEnter.cjs +1 -1
- package/dist/cjs/icons.generated/FullscreenExit.cjs +1 -1
- package/dist/cjs/icons.generated/Globe.cjs +1 -1
- package/dist/cjs/icons.generated/Grid.cjs +1 -1
- package/dist/cjs/icons.generated/Group.cjs +1 -1
- package/dist/cjs/icons.generated/Happy.cjs +1 -1
- package/dist/cjs/icons.generated/Hide.cjs +1 -1
- package/dist/cjs/icons.generated/Home.cjs +1 -1
- package/dist/cjs/icons.generated/HomeSelected.cjs +1 -1
- package/dist/cjs/icons.generated/IdentityGovernance.cjs +1 -1
- package/dist/cjs/icons.generated/IdentityGovernanceSelected.cjs +1 -1
- package/dist/cjs/icons.generated/InformationCircle.cjs +1 -1
- package/dist/cjs/icons.generated/InformationCircleFilled.cjs +1 -1
- package/dist/cjs/icons.generated/Link.cjs +1 -1
- package/dist/cjs/icons.generated/List.cjs +1 -1
- package/dist/cjs/icons.generated/Lock.cjs +1 -1
- package/dist/cjs/icons.generated/Menu.cjs +1 -1
- package/dist/cjs/icons.generated/More.cjs +1 -1
- package/dist/cjs/icons.generated/Neutral.cjs +1 -1
- package/dist/cjs/icons.generated/Notification.cjs +1 -1
- package/dist/cjs/icons.generated/Pause.cjs +1 -1
- package/dist/cjs/icons.generated/QuestionCircle.cjs +1 -1
- package/dist/cjs/icons.generated/QuestionCircleFilled.cjs +1 -1
- package/dist/cjs/icons.generated/Refresh.cjs +1 -1
- package/dist/cjs/icons.generated/Reports.cjs +1 -1
- package/dist/cjs/icons.generated/ReportsSelected.cjs +1 -1
- package/dist/cjs/icons.generated/Reset.cjs +1 -1
- package/dist/cjs/icons.generated/Resume.cjs +1 -1
- package/dist/cjs/icons.generated/Sad.cjs +1 -1
- package/dist/cjs/icons.generated/Same.cjs +1 -1
- package/dist/cjs/icons.generated/Search.cjs +1 -1
- package/dist/cjs/icons.generated/Security.cjs +1 -1
- package/dist/cjs/icons.generated/SecuritySelected.cjs +1 -1
- package/dist/cjs/icons.generated/Send.cjs +1 -1
- package/dist/cjs/icons.generated/Server.cjs +1 -1
- package/dist/cjs/icons.generated/Settings.cjs +1 -1
- package/dist/cjs/icons.generated/SettingsSelected.cjs +1 -1
- package/dist/cjs/icons.generated/Show.cjs +1 -1
- package/dist/cjs/icons.generated/Sparkle.cjs +1 -1
- package/dist/cjs/icons.generated/Subtract.cjs +1 -1
- package/dist/cjs/icons.generated/Sync.cjs +1 -1
- package/dist/cjs/icons.generated/ThumbsDown.cjs +1 -1
- package/dist/cjs/icons.generated/ThumbsUp.cjs +1 -1
- package/dist/cjs/icons.generated/Unlock.cjs +1 -1
- package/dist/cjs/icons.generated/Upload.cjs +1 -1
- package/dist/cjs/icons.generated/User.cjs +1 -1
- package/dist/cjs/icons.generated/Video.cjs +1 -1
- package/dist/cjs/icons.generated/Warning.cjs +1 -1
- package/dist/cjs/icons.generated/WarningFilled.cjs +1 -1
- package/dist/cjs/icons.generated/Workflows.cjs +1 -1
- package/dist/cjs/icons.generated/WorkflowsSelected.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/labs/AppTile.cjs +1 -1
- package/dist/cjs/labs/DataFilters.cjs +2 -2
- package/dist/cjs/labs/DataTablePagination.cjs +16 -8
- package/dist/cjs/labs/DataTablePagination.cjs.map +1 -1
- package/dist/cjs/labs/DataView/BulkActionsMenu.cjs +9 -6
- package/dist/cjs/labs/DataView/BulkActionsMenu.cjs.map +1 -1
- package/dist/cjs/labs/DataView/CardLayoutContent.cjs +31 -9
- package/dist/cjs/labs/DataView/CardLayoutContent.cjs.map +1 -1
- 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 +14 -8
- package/dist/cjs/labs/DataView/DataView.cjs.map +1 -1
- package/dist/cjs/labs/DataView/DetailPanel.cjs +1 -1
- package/dist/cjs/labs/DataView/LayoutSwitcher.cjs +1 -1
- package/dist/cjs/labs/DataView/RowActions.cjs +11 -9
- package/dist/cjs/labs/DataView/RowActions.cjs.map +1 -1
- package/dist/cjs/labs/DataView/TableLayoutContent.cjs +15 -8
- package/dist/cjs/labs/DataView/TableLayoutContent.cjs.map +1 -1
- package/dist/cjs/labs/DataView/TableSettings.cjs +1 -1
- package/dist/cjs/labs/DatePickers/DateTimeField.cjs +1 -1
- package/dist/cjs/labs/DatePickers/DateTimePicker.cjs +1 -1
- package/dist/cjs/labs/GroupPicker.cjs +10 -1
- package/dist/cjs/labs/GroupPicker.cjs.map +1 -1
- package/dist/cjs/labs/OdysseyPickers/ComposablePicker.cjs +2 -1
- package/dist/cjs/labs/OdysseyPickers/ComposablePicker.cjs.map +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 +4 -1
- package/dist/cjs/labs/PaginatedTable.cjs.map +1 -1
- package/dist/cjs/labs/StaticTable.cjs +4 -1
- package/dist/cjs/labs/StaticTable.cjs.map +1 -1
- package/dist/cjs/labs/UserProfile.cjs +1 -1
- package/dist/cjs/labs/UserProfileMenuButton.cjs +1 -1
- package/dist/cjs/logos.generated/Duo.cjs +1 -1
- package/dist/cjs/logos.generated/GoogleAuth.cjs +1 -1
- package/dist/cjs/logos.generated/OktaVerify.cjs +1 -1
- package/dist/cjs/logos.generated/Persona.cjs +1 -1
- package/dist/cjs/logos.generated/SymantecVip.cjs +1 -1
- package/dist/cjs/logos.generated/Yubikey.cjs +1 -1
- package/dist/cjs/message-bus/fullscreen/createFullscreenId.cjs +3 -1
- package/dist/cjs/message-bus/fullscreen/createFullscreenId.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui.cjs +39 -5
- package/dist/cjs/properties/ts/odyssey-react-mui.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_eu.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_eu.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_hu.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_hu.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_id.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_id.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_it.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_it.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ms.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_ms.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_nl_NL.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_nl_NL.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ok_PL.cjs +39 -5
- package/dist/cjs/properties/ts/odyssey-react-mui_ok_PL.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ok_SK.cjs +39 -5
- package/dist/cjs/properties/ts/odyssey-react-mui_ok_SK.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_pl.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_pl.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_pt_BR.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_pt_BR.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ro.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_ro.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_th.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_th.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_tr.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_tr.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_CN.cjs +0 -4
- 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 +0 -4
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs.map +1 -1
- package/dist/cjs/theme/components/Alert.cjs +26 -15
- package/dist/cjs/theme/components/Alert.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/SideNav/SortableList/SortableItem.cjs +6 -0
- package/dist/cjs/ui-shell/SideNav/SortableList/SortableItem.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/SortableList/SortableList.cjs +3 -0
- package/dist/cjs/ui-shell/SideNav/SortableList/SortableList.cjs.map +1 -1
- package/dist/cjs/ui-shell/SkipToContent.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/HamburgerMenuIcon.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/TopNav.cjs +1 -1
- package/dist/cjs/ui-shell/UiShell.cjs +1 -1
- package/dist/cjs/ui-shell/UiShellLogo.cjs +1 -1
- package/dist/cjs/ui-shell/WideUiShellContent.cjs +1 -1
- package/dist/cjs/useMaterialReactTableLocalization.cjs +74 -0
- package/dist/cjs/useMaterialReactTableLocalization.cjs.map +1 -0
- package/dist/cjs/useStableCallback.cjs +12 -5
- package/dist/cjs/useStableCallback.cjs.map +1 -1
- package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs +1 -1
- package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs.map +1 -1
- package/dist/esm/Accordion.js +1 -1
- package/dist/esm/AnimationContext.js +1 -1
- package/dist/esm/Autocomplete.js +2 -1
- package/dist/esm/Autocomplete.js.map +1 -1
- package/dist/esm/Badge.js +1 -1
- package/dist/esm/Banner.js +2 -1
- package/dist/esm/Banner.js.map +1 -1
- package/dist/esm/Box.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/Buttons/BaseButton.js +1 -1
- package/dist/esm/Buttons/BaseMenuButton.js +1 -1
- package/dist/esm/Buttons/Button.js +1 -1
- package/dist/esm/Buttons/MenuButton.js +1 -1
- package/dist/esm/Buttons/MenuItem.js +1 -1
- package/dist/esm/Callout.js +1 -1
- package/dist/esm/Card.js +1 -1
- package/dist/esm/CircularProgress.js +1 -1
- package/dist/esm/ConditionalWrapper.js +1 -1
- package/dist/esm/DataTable/DataTable.js +7 -3
- package/dist/esm/DataTable/DataTable.js.map +1 -1
- package/dist/esm/DataTable/DataTableRowActions.js +1 -1
- package/dist/esm/DataTable/DataTableSettings.js +1 -1
- package/dist/esm/DataTable/reorderDataRowsLocally.js +13 -2
- package/dist/esm/DataTable/reorderDataRowsLocally.js.map +1 -1
- package/dist/esm/DataTable/useRowReordering.js +27 -9
- package/dist/esm/DataTable/useRowReordering.js.map +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 +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 +7 -3
- package/dist/esm/Select.js.map +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 +4 -8
- package/dist/esm/Tag.js.map +1 -1
- package/dist/esm/TagList.js +12 -11
- package/dist/esm/TagList.js.map +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 +3 -0
- package/dist/esm/__internal.js.map +1 -1
- package/dist/esm/charts/index.js +1 -2
- package/dist/esm/charts/index.js.map +1 -1
- package/dist/{cjs/charts/utils/resolveChartLocale.cjs → esm/charts/movedToOdysseyLabs.js} +16 -17
- package/dist/esm/charts/movedToOdysseyLabs.js.map +1 -0
- package/dist/esm/createUniqueId.js +37 -3
- package/dist/esm/createUniqueId.js.map +1 -1
- package/dist/esm/fullscreen/FullscreenButton.js +1 -1
- package/dist/esm/fullscreen/FullscreenRegion.js +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/FullscreenEnter.js +1 -1
- package/dist/esm/icons.generated/FullscreenExit.js +1 -1
- package/dist/esm/icons.generated/Globe.js +1 -1
- package/dist/esm/icons.generated/Grid.js +1 -1
- package/dist/esm/icons.generated/Group.js +1 -1
- package/dist/esm/icons.generated/Happy.js +1 -1
- package/dist/esm/icons.generated/Hide.js +1 -1
- package/dist/esm/icons.generated/Home.js +1 -1
- package/dist/esm/icons.generated/HomeSelected.js +1 -1
- package/dist/esm/icons.generated/IdentityGovernance.js +1 -1
- package/dist/esm/icons.generated/IdentityGovernanceSelected.js +1 -1
- package/dist/esm/icons.generated/InformationCircle.js +1 -1
- package/dist/esm/icons.generated/InformationCircleFilled.js +1 -1
- package/dist/esm/icons.generated/Link.js +1 -1
- package/dist/esm/icons.generated/List.js +1 -1
- package/dist/esm/icons.generated/Lock.js +1 -1
- package/dist/esm/icons.generated/Menu.js +1 -1
- package/dist/esm/icons.generated/More.js +1 -1
- package/dist/esm/icons.generated/Neutral.js +1 -1
- package/dist/esm/icons.generated/Notification.js +1 -1
- package/dist/esm/icons.generated/Pause.js +1 -1
- package/dist/esm/icons.generated/QuestionCircle.js +1 -1
- package/dist/esm/icons.generated/QuestionCircleFilled.js +1 -1
- package/dist/esm/icons.generated/Refresh.js +1 -1
- package/dist/esm/icons.generated/Reports.js +1 -1
- package/dist/esm/icons.generated/ReportsSelected.js +1 -1
- package/dist/esm/icons.generated/Reset.js +1 -1
- package/dist/esm/icons.generated/Resume.js +1 -1
- package/dist/esm/icons.generated/Sad.js +1 -1
- package/dist/esm/icons.generated/Same.js +1 -1
- package/dist/esm/icons.generated/Search.js +1 -1
- package/dist/esm/icons.generated/Security.js +1 -1
- package/dist/esm/icons.generated/SecuritySelected.js +1 -1
- package/dist/esm/icons.generated/Send.js +1 -1
- package/dist/esm/icons.generated/Server.js +1 -1
- package/dist/esm/icons.generated/Settings.js +1 -1
- package/dist/esm/icons.generated/SettingsSelected.js +1 -1
- package/dist/esm/icons.generated/Show.js +1 -1
- package/dist/esm/icons.generated/Sparkle.js +1 -1
- package/dist/esm/icons.generated/Subtract.js +1 -1
- package/dist/esm/icons.generated/Sync.js +1 -1
- package/dist/esm/icons.generated/ThumbsDown.js +1 -1
- package/dist/esm/icons.generated/ThumbsUp.js +1 -1
- package/dist/esm/icons.generated/Unlock.js +1 -1
- package/dist/esm/icons.generated/Upload.js +1 -1
- package/dist/esm/icons.generated/User.js +1 -1
- package/dist/esm/icons.generated/Video.js +1 -1
- package/dist/esm/icons.generated/Warning.js +1 -1
- package/dist/esm/icons.generated/WarningFilled.js +1 -1
- package/dist/esm/icons.generated/Workflows.js +1 -1
- package/dist/esm/icons.generated/WorkflowsSelected.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/labs/AppTile.js +1 -1
- package/dist/esm/labs/DataFilters.js +2 -2
- package/dist/esm/labs/DataTablePagination.js +17 -9
- package/dist/esm/labs/DataTablePagination.js.map +1 -1
- package/dist/esm/labs/DataView/BulkActionsMenu.js +9 -6
- package/dist/esm/labs/DataView/BulkActionsMenu.js.map +1 -1
- package/dist/esm/labs/DataView/CardLayoutContent.js +31 -9
- package/dist/esm/labs/DataView/CardLayoutContent.js.map +1 -1
- 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 +14 -8
- package/dist/esm/labs/DataView/DataView.js.map +1 -1
- package/dist/esm/labs/DataView/DetailPanel.js +1 -1
- package/dist/esm/labs/DataView/LayoutSwitcher.js +1 -1
- package/dist/esm/labs/DataView/RowActions.js +11 -9
- package/dist/esm/labs/DataView/RowActions.js.map +1 -1
- package/dist/esm/labs/DataView/TableLayoutContent.js +15 -8
- package/dist/esm/labs/DataView/TableLayoutContent.js.map +1 -1
- package/dist/esm/labs/DataView/TableSettings.js +1 -1
- package/dist/esm/labs/DatePickers/DateTimeField.js +1 -1
- package/dist/esm/labs/DatePickers/DateTimePicker.js +1 -1
- package/dist/esm/labs/GroupPicker.js +10 -1
- package/dist/esm/labs/GroupPicker.js.map +1 -1
- package/dist/esm/labs/OdysseyPickers/ComposablePicker.js +2 -1
- package/dist/esm/labs/OdysseyPickers/ComposablePicker.js.map +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 +4 -1
- package/dist/esm/labs/PaginatedTable.js.map +1 -1
- package/dist/esm/labs/StaticTable.js +4 -1
- package/dist/esm/labs/StaticTable.js.map +1 -1
- package/dist/esm/labs/UserProfile.js +1 -1
- package/dist/esm/labs/UserProfileMenuButton.js +1 -1
- package/dist/esm/logos.generated/Duo.js +1 -1
- package/dist/esm/logos.generated/GoogleAuth.js +1 -1
- package/dist/esm/logos.generated/OktaVerify.js +1 -1
- package/dist/esm/logos.generated/Persona.js +1 -1
- package/dist/esm/logos.generated/SymantecVip.js +1 -1
- package/dist/esm/logos.generated/Yubikey.js +1 -1
- package/dist/esm/message-bus/fullscreen/createFullscreenId.js +3 -1
- package/dist/esm/message-bus/fullscreen/createFullscreenId.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui.js +39 -5
- package/dist/esm/properties/ts/odyssey-react-mui.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_cs.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_cs.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_da.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_da.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_de.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_de.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_el.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_el.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_es.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_es.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_eu.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_eu.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_fi.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_fi.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_fr.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_fr.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ht.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_ht.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_hu.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_hu.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_id.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_id.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_it.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_it.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ja.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_ja.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ko.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_ko.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ms.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_ms.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_nb.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_nb.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_nl_NL.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_nl_NL.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ok_PL.js +39 -5
- package/dist/esm/properties/ts/odyssey-react-mui_ok_PL.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ok_SK.js +39 -5
- package/dist/esm/properties/ts/odyssey-react-mui_ok_SK.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_pl.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_pl.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_pt_BR.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_pt_BR.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ro.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_ro.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ru.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_ru.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_sv.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_sv.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_th.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_th.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_tr.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_tr.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_uk.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_uk.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_vi.js +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_vi.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_zh_CN.js +0 -4
- 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 +0 -4
- package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js.map +1 -1
- package/dist/esm/theme/components/Alert.js +26 -13
- package/dist/esm/theme/components/Alert.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/SideNav/SortableList/SortableItem.js +6 -0
- package/dist/esm/ui-shell/SideNav/SortableList/SortableItem.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/SortableList/SortableList.js +3 -0
- package/dist/esm/ui-shell/SideNav/SortableList/SortableList.js.map +1 -1
- package/dist/esm/ui-shell/SkipToContent.js +1 -1
- package/dist/esm/ui-shell/TopNav/HamburgerMenuIcon.js +1 -1
- package/dist/esm/ui-shell/TopNav/TopNav.js +1 -1
- package/dist/esm/ui-shell/UiShell.js +1 -1
- package/dist/esm/ui-shell/UiShellLogo.js +1 -1
- package/dist/esm/ui-shell/WideUiShellContent.js +1 -1
- package/dist/esm/useMaterialReactTableLocalization.js +69 -0
- package/dist/esm/useMaterialReactTableLocalization.js.map +1 -0
- package/dist/esm/useStableCallback.js +12 -3
- package/dist/esm/useStableCallback.js.map +1 -1
- package/dist/esm/web-component/odysseyWebComponentVersion.generated.js +1 -1
- package/dist/esm/web-component/odysseyWebComponentVersion.generated.js.map +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/dist/types/Autocomplete.d.ts.map +1 -1
- package/dist/types/Banner.d.ts.map +1 -1
- package/dist/types/DataTable/DataTable.d.ts.map +1 -1
- package/dist/types/DataTable/reorderDataRowsLocally.d.ts +30 -7
- package/dist/types/DataTable/reorderDataRowsLocally.d.ts.map +1 -1
- package/dist/types/DataTable/useRowReordering.d.ts +11 -1
- package/dist/types/DataTable/useRowReordering.d.ts.map +1 -1
- package/dist/types/Select.d.ts.map +1 -1
- package/dist/types/Tag.d.ts.map +1 -1
- package/dist/types/TagList.d.ts +1 -1
- package/dist/types/TagList.d.ts.map +1 -1
- package/dist/types/__internal.d.ts +3 -0
- package/dist/types/__internal.d.ts.map +1 -1
- package/dist/types/charts/index.d.ts +1 -4
- package/dist/types/charts/index.d.ts.map +1 -1
- package/dist/types/charts/movedToOdysseyLabs.d.ts +26 -0
- package/dist/types/charts/movedToOdysseyLabs.d.ts.map +1 -0
- package/dist/types/createUniqueId.d.ts +31 -1
- package/dist/types/createUniqueId.d.ts.map +1 -1
- package/dist/types/i18n.generated/i18n.d.ts +76 -8
- package/dist/types/i18n.generated/i18n.d.ts.map +1 -1
- package/dist/types/i18n.generated/i18n.resources.d.ts +114 -124
- package/dist/types/i18n.generated/i18n.resources.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/labs/DataTablePagination.d.ts.map +1 -1
- package/dist/types/labs/DataView/BulkActionsMenu.d.ts.map +1 -1
- package/dist/types/labs/DataView/CardLayoutContent.d.ts +7 -0
- package/dist/types/labs/DataView/CardLayoutContent.d.ts.map +1 -1
- package/dist/types/labs/DataView/DataView.d.ts.map +1 -1
- package/dist/types/labs/DataView/RowActions.d.ts +6 -1
- package/dist/types/labs/DataView/RowActions.d.ts.map +1 -1
- package/dist/types/labs/DataView/TableLayoutContent.d.ts +7 -0
- package/dist/types/labs/DataView/TableLayoutContent.d.ts.map +1 -1
- package/dist/types/labs/GroupPicker.d.ts.map +1 -1
- package/dist/types/labs/OdysseyPickers/ComposablePicker.d.ts.map +1 -1
- package/dist/types/labs/PaginatedTable.d.ts.map +1 -1
- package/dist/types/labs/StaticTable.d.ts.map +1 -1
- package/dist/types/message-bus/fullscreen/createFullscreenId.d.ts +1 -1
- package/dist/types/message-bus/fullscreen/createFullscreenId.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui.d.ts +38 -4
- package/dist/types/properties/ts/odyssey-react-mui.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_cs.d.ts +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- package/dist/types/properties/ts/odyssey-react-mui_nl_NL.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ok_PL.d.ts +38 -4
- package/dist/types/properties/ts/odyssey-react-mui_ok_PL.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ok_SK.d.ts +38 -4
- package/dist/types/properties/ts/odyssey-react-mui_ok_SK.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_pl.d.ts +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- 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 +0 -4
- package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts.map +1 -1
- package/dist/types/theme/components/Alert.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/SortableList/SortableItem.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/SortableList/SortableList.d.ts.map +1 -1
- package/dist/types/useMaterialReactTableLocalization.d.ts +21 -0
- package/dist/types/useMaterialReactTableLocalization.d.ts.map +1 -0
- package/dist/types/useStableCallback.d.ts +1 -1
- package/dist/types/useStableCallback.d.ts.map +1 -1
- package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
- package/package.json +8 -10
- package/src/properties/odyssey-react-mui.properties +38 -4
- package/src/properties/translations/odyssey-react-mui_cs.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_da.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_de.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_el.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_es.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_eu.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_fi.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_fr.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_ht.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_hu.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_id.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_it.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_ja.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_ko.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_ms.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_nb.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_nl_NL.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_ok_PL.properties +38 -4
- package/src/properties/translations/odyssey-react-mui_ok_SK.properties +38 -4
- package/src/properties/translations/odyssey-react-mui_pl.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_pt_BR.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_ro.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_ru.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_sv.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_th.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_tr.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_uk.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_vi.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_zh_CN.properties +0 -4
- package/src/properties/translations/odyssey-react-mui_zh_TW.properties +0 -4
- package/src/properties/ts/odyssey-react-mui.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_cs.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_da.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_de.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_el.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_es.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_eu.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_fi.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_fr.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_ht.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_hu.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_id.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_it.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_ja.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_ko.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_ms.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_nb.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_nl_NL.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_ok_PL.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_ok_SK.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_pl.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_pt_BR.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_ro.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_ru.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_sv.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_th.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_tr.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_uk.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_vi.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_zh_CN.ts +1 -1
- package/src/properties/ts/odyssey-react-mui_zh_TW.ts +1 -1
- package/dist/cjs/TagListContext.cjs +0 -23
- package/dist/cjs/TagListContext.cjs.map +0 -1
- package/dist/cjs/charts/BarChart.cjs +0 -223
- package/dist/cjs/charts/BarChart.cjs.map +0 -1
- package/dist/cjs/charts/LineChart.cjs +0 -242
- package/dist/cjs/charts/LineChart.cjs.map +0 -1
- package/dist/cjs/charts/components/ChartContainer.cjs +0 -32
- package/dist/cjs/charts/components/ChartContainer.cjs.map +0 -1
- package/dist/cjs/charts/components/ChartError.cjs +0 -73
- package/dist/cjs/charts/components/ChartError.cjs.map +0 -1
- package/dist/cjs/charts/components/ChartFrame.cjs +0 -114
- package/dist/cjs/charts/components/ChartFrame.cjs.map +0 -1
- package/dist/cjs/charts/components/ChartPopoverContent.cjs +0 -123
- package/dist/cjs/charts/components/ChartPopoverContent.cjs.map +0 -1
- package/dist/cjs/charts/useChartAnimation.cjs +0 -27
- package/dist/cjs/charts/useChartAnimation.cjs.map +0 -1
- package/dist/cjs/charts/utils/chartTokens.cjs +0 -162
- package/dist/cjs/charts/utils/chartTokens.cjs.map +0 -1
- package/dist/cjs/charts/utils/chartTypes.cjs +0 -6
- package/dist/cjs/charts/utils/chartTypes.cjs.map +0 -1
- package/dist/cjs/charts/utils/formatChartValue.cjs +0 -38
- package/dist/cjs/charts/utils/formatChartValue.cjs.map +0 -1
- package/dist/cjs/charts/utils/getChartSeriesPointData.cjs +0 -52
- package/dist/cjs/charts/utils/getChartSeriesPointData.cjs.map +0 -1
- package/dist/cjs/charts/utils/hasDuplicateSeries.cjs +0 -21
- package/dist/cjs/charts/utils/hasDuplicateSeries.cjs.map +0 -1
- package/dist/cjs/charts/utils/resolveChartLocale.cjs.map +0 -1
- package/dist/cjs/charts/utils/useChartValueFormatter.cjs +0 -35
- package/dist/cjs/charts/utils/useChartValueFormatter.cjs.map +0 -1
- package/dist/cjs/charts/utils/useStableValue.cjs.map +0 -1
- package/dist/esm/TagListContext.js +0 -17
- package/dist/esm/TagListContext.js.map +0 -1
- package/dist/esm/charts/BarChart.js +0 -220
- package/dist/esm/charts/BarChart.js.map +0 -1
- package/dist/esm/charts/LineChart.js +0 -239
- package/dist/esm/charts/LineChart.js.map +0 -1
- package/dist/esm/charts/components/ChartContainer.js +0 -28
- package/dist/esm/charts/components/ChartContainer.js.map +0 -1
- package/dist/esm/charts/components/ChartError.js +0 -70
- package/dist/esm/charts/components/ChartError.js.map +0 -1
- package/dist/esm/charts/components/ChartFrame.js +0 -110
- package/dist/esm/charts/components/ChartFrame.js.map +0 -1
- package/dist/esm/charts/components/ChartPopoverContent.js +0 -118
- package/dist/esm/charts/components/ChartPopoverContent.js.map +0 -1
- package/dist/esm/charts/useChartAnimation.js +0 -22
- package/dist/esm/charts/useChartAnimation.js.map +0 -1
- package/dist/esm/charts/utils/chartTokens.js +0 -153
- package/dist/esm/charts/utils/chartTokens.js.map +0 -1
- package/dist/esm/charts/utils/chartTypes.js +0 -2
- package/dist/esm/charts/utils/chartTypes.js.map +0 -1
- package/dist/esm/charts/utils/formatChartValue.js +0 -33
- package/dist/esm/charts/utils/formatChartValue.js.map +0 -1
- package/dist/esm/charts/utils/getChartSeriesPointData.js +0 -45
- package/dist/esm/charts/utils/getChartSeriesPointData.js.map +0 -1
- package/dist/esm/charts/utils/hasDuplicateSeries.js +0 -14
- package/dist/esm/charts/utils/hasDuplicateSeries.js.map +0 -1
- package/dist/esm/charts/utils/resolveChartLocale.js +0 -21
- package/dist/esm/charts/utils/resolveChartLocale.js.map +0 -1
- package/dist/esm/charts/utils/useChartValueFormatter.js +0 -30
- package/dist/esm/charts/utils/useChartValueFormatter.js.map +0 -1
- package/dist/esm/charts/utils/useStableValue.js +0 -25
- package/dist/esm/charts/utils/useStableValue.js.map +0 -1
- package/dist/types/TagListContext.d.ts +0 -17
- package/dist/types/TagListContext.d.ts.map +0 -1
- package/dist/types/charts/BarChart.d.ts +0 -24
- package/dist/types/charts/BarChart.d.ts.map +0 -1
- package/dist/types/charts/LineChart.d.ts +0 -24
- package/dist/types/charts/LineChart.d.ts.map +0 -1
- package/dist/types/charts/components/ChartContainer.d.ts +0 -16
- package/dist/types/charts/components/ChartContainer.d.ts.map +0 -1
- package/dist/types/charts/components/ChartError.d.ts +0 -21
- package/dist/types/charts/components/ChartError.d.ts.map +0 -1
- package/dist/types/charts/components/ChartFrame.d.ts +0 -45
- package/dist/types/charts/components/ChartFrame.d.ts.map +0 -1
- package/dist/types/charts/components/ChartPopoverContent.d.ts +0 -75
- package/dist/types/charts/components/ChartPopoverContent.d.ts.map +0 -1
- package/dist/types/charts/useChartAnimation.d.ts +0 -16
- package/dist/types/charts/useChartAnimation.d.ts.map +0 -1
- package/dist/types/charts/utils/chartTokens.d.ts +0 -279
- package/dist/types/charts/utils/chartTokens.d.ts.map +0 -1
- package/dist/types/charts/utils/chartTypes.d.ts +0 -108
- package/dist/types/charts/utils/chartTypes.d.ts.map +0 -1
- package/dist/types/charts/utils/formatChartValue.d.ts +0 -72
- package/dist/types/charts/utils/formatChartValue.d.ts.map +0 -1
- package/dist/types/charts/utils/getChartSeriesPointData.d.ts +0 -38
- package/dist/types/charts/utils/getChartSeriesPointData.d.ts.map +0 -1
- package/dist/types/charts/utils/hasDuplicateSeries.d.ts +0 -22
- package/dist/types/charts/utils/hasDuplicateSeries.d.ts.map +0 -1
- package/dist/types/charts/utils/resolveChartLocale.d.ts +0 -20
- package/dist/types/charts/utils/resolveChartLocale.d.ts.map +0 -1
- package/dist/types/charts/utils/useChartValueFormatter.d.ts +0 -27
- package/dist/types/charts/utils/useChartValueFormatter.d.ts.map +0 -1
- package/dist/types/charts/utils/useStableValue.d.ts +0 -20
- package/dist/types/charts/utils/useStableValue.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
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 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 has dates or times, put that data into groups of equal length first. A chart that needs a true time axis uses a different series type. See `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 the chart's `categories`.\n *\n * An entry of `null` means the series has no measurement for that category. The chart then draws a gap at that category. It does not draw 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 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 `onPointClick`. The callback receives one point at a time, so the point 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, with `null` removed. The chart draws no point at a gap, so a user cannot 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 parts to a point, whatever axes that chart has.\n *\n * `custom.formattedValue` holds the text that the popover shows. The chart formats a value once, when it builds the point, so the popover does not format that value again on each hover.\n *\n * `events` is absent when the caller supplies no click handler. Highcharts attaches a listener when it finds an `events` property, so a point with no 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 value axis.\n * The layout around a chart often supplies its own heading in surrounding HTML, 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 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 them. Each series in `series` supplies one value for each category, at the same index.\n */\n categories: string[];\n /**\n * If `true`, the chart shows an error state in place of its series. `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. `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 error state. The error state shows no retry button when the caller omits this property.\n *\n * Set `isLoading` to `true` in this function, then set `hasError` to `false` once the data arrives. `isLoading` takes precedence over `hasError`, so the loading state replaces the error state for the length of the request. Leaving `isLoading` alone holds the error state, and its 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 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 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 subtitle gives more information about the title, so the chart ignores a 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":[]}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.formatChartValue = void 0;
|
|
7
|
-
var _resolveChartLocale = require("./resolveChartLocale.cjs");
|
|
8
|
-
/*!
|
|
9
|
-
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
10
|
-
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
11
|
-
*
|
|
12
|
-
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
15
|
-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
-
*
|
|
17
|
-
* See the License for the specific language governing permissions and limitations under the License.
|
|
18
|
-
*/const numberFormatOptionsByPreset = {
|
|
19
|
-
compact: {
|
|
20
|
-
notation: "compact"
|
|
21
|
-
},
|
|
22
|
-
decimal: {},
|
|
23
|
-
percent: {
|
|
24
|
-
style: "percent"
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
const formatChartValue = ({
|
|
28
|
-
format = "decimal",
|
|
29
|
-
languageCode,
|
|
30
|
-
value
|
|
31
|
-
}) => {
|
|
32
|
-
if (typeof format === "function") {
|
|
33
|
-
return format(value);
|
|
34
|
-
}
|
|
35
|
-
return new Intl.NumberFormat((0, _resolveChartLocale.resolveChartLocale)(languageCode), typeof format === "string" ? numberFormatOptionsByPreset[format] : format).format(value);
|
|
36
|
-
};
|
|
37
|
-
exports.formatChartValue = formatChartValue;
|
|
38
|
-
//# sourceMappingURL=formatChartValue.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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 {@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 not here, it resolves to `undefined` options. The value then formats as a 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 example, `0.4567` renders as `46%`. Supply the value as a fraction, not as a percentage that is already scaled to 100. If the value is already scaled, the preset scales it twice. For example, `42` renders as `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 currency, or a function. A function takes the raw number and returns a 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 `Intl.NumberFormatOptions`. That type allows combinations that fail when the code builds them. For example, `{ style: \"currency\" }` without a `currency` field passes the type check. However, it raises a `TypeError` at construction. A caller that needs options outside the preset set can 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 `\"pt_BR\"`. The function converts the language code to a BCP 47 tag 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 returns the result directly and ignores `languageCode`. A caller that supplies a function controls the full presentation of the value. Otherwise, the function formats the value with an `Intl.NumberFormat` instance. It builds the instance from the resolved locale and the 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,GAQA,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;AAsDtD,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":[]}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.getChartSeriesPointData = void 0;
|
|
7
|
-
/*!
|
|
8
|
-
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
9
|
-
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
10
|
-
*
|
|
11
|
-
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
14
|
-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
*
|
|
16
|
-
* See the License for the specific language governing permissions and limitations under the License.
|
|
17
|
-
*/const getChartSeriesPointData = ({
|
|
18
|
-
categories,
|
|
19
|
-
chartSeries,
|
|
20
|
-
formatValue,
|
|
21
|
-
onPointClick,
|
|
22
|
-
pointPopoverValueFormat
|
|
23
|
-
}) => {
|
|
24
|
-
if (chartSeries.data.length !== categories.length) {
|
|
25
|
-
throw new Error(`Series "${chartSeries.name}" has ${chartSeries.data.length} values, but the chart has ${categories.length} categories. Series data and categories must have the same length.`);
|
|
26
|
-
}
|
|
27
|
-
return chartSeries.data.map((value, valueIndex) => {
|
|
28
|
-
if (value === null) {
|
|
29
|
-
return null;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
custom: {
|
|
33
|
-
formattedValue: formatValue({
|
|
34
|
-
format: pointPopoverValueFormat,
|
|
35
|
-
value
|
|
36
|
-
})
|
|
37
|
-
},
|
|
38
|
-
y: value,
|
|
39
|
-
...(onPointClick ? {
|
|
40
|
-
events: {
|
|
41
|
-
click: () => onPointClick({
|
|
42
|
-
category: categories[valueIndex],
|
|
43
|
-
seriesName: chartSeries.name,
|
|
44
|
-
value
|
|
45
|
-
})
|
|
46
|
-
}
|
|
47
|
-
} : {})
|
|
48
|
-
};
|
|
49
|
-
});
|
|
50
|
-
};
|
|
51
|
-
exports.getChartSeriesPointData = getChartSeriesPointData;
|
|
52
|
-
//# sourceMappingURL=getChartSeriesPointData.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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 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 horizontal bar chart, because a bar chart inverts the drawing and not the 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 point type of its own that adds `x`. That type shares `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 with `chartSeries.data`. A `null` entry in `chartSeries.data` returns `null`. Highcharts then draws a gap, instead of a point with the value zero.\n *\n * The function throws if `chartSeries.data` and `categories` have different lengths. A value with no matching category has no position on the axis. If the chart silently cut or padded the series to fit, the chart would look 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,GAkCO,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":[]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.hasDuplicateSeries = void 0;
|
|
7
|
-
/*!
|
|
8
|
-
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
9
|
-
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
10
|
-
*
|
|
11
|
-
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
12
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
14
|
-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
*
|
|
16
|
-
* See the License for the specific language governing permissions and limitations under the License.
|
|
17
|
-
*/const hasDuplicateSeries = ({
|
|
18
|
-
series
|
|
19
|
-
}) => new Set(series.map(chartSeries => chartSeries.name)).size !== series.length;
|
|
20
|
-
exports.hasDuplicateSeries = hasDuplicateSeries;
|
|
21
|
-
//# sourceMappingURL=hasDuplicateSeries.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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. When two series share one name, React drops one of them, and the chart draws 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,GAaO,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":[]}
|
|
@@ -1 +0,0 @@
|
|
|
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 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 subtag, for example `pt_BR`, `zh_CN`, and `nl_NL`. Every `Intl` constructor rejects these codes with a `RangeError`. The Applitools test environment reports the code `en-us@posix`. This code has no BCP 47 equivalent. As a result, six of the codes in `SupportedLanguages` crash an unguarded `Intl` call.\n *\n * If a code has no valid equivalent, the function returns `en-US` instead of raising an error. A chart with the wrong thousands separator is still 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;AASxB,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":[]}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.useChartValueFormatter = void 0;
|
|
7
|
-
var _react = require("react");
|
|
8
|
-
var _i18n = require("../../i18n.generated/i18n.cjs");
|
|
9
|
-
var _formatChartValue = require("./formatChartValue.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 useChartValueFormatter = () => {
|
|
21
|
-
const {
|
|
22
|
-
i18n
|
|
23
|
-
} = (0, _i18n.useTranslation)();
|
|
24
|
-
const languageCode = i18n.language;
|
|
25
|
-
return (0, _react.useCallback)(({
|
|
26
|
-
format,
|
|
27
|
-
value
|
|
28
|
-
}) => (0, _formatChartValue.formatChartValue)({
|
|
29
|
-
format,
|
|
30
|
-
languageCode,
|
|
31
|
-
value
|
|
32
|
-
}), [languageCode]);
|
|
33
|
-
};
|
|
34
|
-
exports.useChartValueFormatter = useChartValueFormatter;
|
|
35
|
-
//# sourceMappingURL=useChartValueFormatter.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
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 props. The props match {@link FormatChartValueProps}, but without `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 context. The hook returns a version of {@link formatChartValue} that uses that locale. A consumer only needs to supply `value` and an optional `format`.\n *\n * The returned function stays referentially stable while the active language stays the same. This makes it safe to add as a dependency of a 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,GA4BO,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":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useStableValue.cjs","names":["_react","require","_isDeepEqual","useStableValue","value","stableValueRef","useRef","isDeepEqual","firstValue","current","secondValue","exports"],"sources":["../../../../src/charts/utils/useStableValue.ts"],"sourcesContent":["/*!\n * Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { useRef } from \"react\";\n\nimport { isDeepEqual } from \"../../isDeepEqual.js\";\n\n/**\n * Returns the same object for as long as the contents of `value` stay the same. The hook returns the new object after a content change.\n *\n * A chart needs this hook because the chart library rebuilds and redraws the whole chart when the identity of its React children changes. A caller that builds a `series` array inside its own render supplies a new array on each render, and every memo below that point then misses. A comparison of the contents costs one walk over the points, which is far less than one redraw of the chart.\n *\n * The comparison treats a function by its identity, because two functions with the same body can still behave differently. Therefore a caller that supplies a new function on each render, such as an inline formatter, gets a new object from this hook on each render.\n */\nexport const useStableValue = <ValueType>(value: ValueType): ValueType => {\n // This hook writes to the ref during the render. The write is safe here because the new value comes only from `value`, so a second render with the same input reaches the same result.\n const stableValueRef = useRef(value);\n\n if (\n !isDeepEqual({ firstValue: stableValueRef.current, secondValue: value })\n ) {\n stableValueRef.current = value;\n }\n\n return stableValueRef.current;\n};\n"],"mappings":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AAdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAaO,MAAME,cAAc,GAAeC,KAAgB,IAAgB;EAExE,MAAMC,cAAc,GAAG,IAAAC,aAAM,EAACF,KAAK,CAAC;EAEpC,IACE,CAAC,IAAAG,wBAAW,EAAC;IAAEC,UAAU,EAAEH,cAAc,CAACI,OAAO;IAAEC,WAAW,EAAEN;EAAM,CAAC,CAAC,EACxE;IACAC,cAAc,CAACI,OAAO,GAAGL,KAAK;EAChC;EAEA,OAAOC,cAAc,CAACI,OAAO;AAC/B,CAAC;AAACE,OAAA,CAAAR,cAAA,GAAAA,cAAA","ignoreList":[]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
-
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
-
*
|
|
5
|
-
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
-
*
|
|
10
|
-
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import { createContext } from "react";
|
|
14
|
-
export const TagListContext = createContext({
|
|
15
|
-
chipElementType: "div"
|
|
16
|
-
});
|
|
17
|
-
//# sourceMappingURL=TagListContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TagListContext.js","names":["createContext","TagListContext","chipElementType"],"sources":["../../src/TagListContext.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 { createContext } from \"react\";\n\nexport type ChipElementType = \"li\" | \"div\";\n\nexport type TagListContextType = {\n chipElementType: ChipElementType;\n};\n\nexport const TagListContext = createContext<TagListContextType>({\n chipElementType: \"div\",\n});\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,aAAa,QAAQ,OAAO;AAQrC,OAAO,MAAMC,cAAc,GAAGD,aAAa,CAAqB;EAC9DE,eAAe,EAAE;AACnB,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
-
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
-
*
|
|
5
|
-
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
-
*
|
|
10
|
-
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
import { Chart, Credits, Legend, PlotOptions, Tooltip as Popover, XAxis, YAxis } from "@highcharts/react";
|
|
14
|
-
import { Accessibility } from "@highcharts/react/modules/Accessibility.js";
|
|
15
|
-
import { BarSeries } from "@highcharts/react/series/Bar.js";
|
|
16
|
-
import { memo, useMemo } from "react";
|
|
17
|
-
import { useStableCallback } from "../useStableCallback.js";
|
|
18
|
-
import { ChartContainer } from "./components/ChartContainer.js";
|
|
19
|
-
import { ChartFrame } from "./components/ChartFrame.js";
|
|
20
|
-
import { ChartPopoverContent } from "./components/ChartPopoverContent.js";
|
|
21
|
-
import { useChartAnimation } from "./useChartAnimation.js";
|
|
22
|
-
import { useChartTokens } from "./utils/chartTokens.js";
|
|
23
|
-
import { getChartSeriesPointData } from "./utils/getChartSeriesPointData.js";
|
|
24
|
-
import { hasDuplicateSeries } from "./utils/hasDuplicateSeries.js";
|
|
25
|
-
import { useChartValueFormatter } from "./utils/useChartValueFormatter.js";
|
|
26
|
-
import { useStableValue } from "./utils/useStableValue.js";
|
|
27
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
28
|
-
const BarChartContent = ({
|
|
29
|
-
ariaDescription,
|
|
30
|
-
categories,
|
|
31
|
-
onPointClick,
|
|
32
|
-
pointPopoverValueFormat,
|
|
33
|
-
series,
|
|
34
|
-
xAxisFormat = "compact",
|
|
35
|
-
xAxisLabel,
|
|
36
|
-
yAxisLabel
|
|
37
|
-
}) => {
|
|
38
|
-
const chartTokens = useChartTokens();
|
|
39
|
-
const formatValue = useChartValueFormatter();
|
|
40
|
-
if (hasDuplicateSeries({
|
|
41
|
-
series
|
|
42
|
-
})) {
|
|
43
|
-
throw new Error("This chart has two or more series with the same name.");
|
|
44
|
-
}
|
|
45
|
-
const animation = useChartAnimation();
|
|
46
|
-
const seriesList = useMemo(() => series.map(chartSeries => ({
|
|
47
|
-
chartSeries,
|
|
48
|
-
pointData: getChartSeriesPointData({
|
|
49
|
-
categories,
|
|
50
|
-
chartSeries,
|
|
51
|
-
formatValue,
|
|
52
|
-
onPointClick,
|
|
53
|
-
pointPopoverValueFormat
|
|
54
|
-
})
|
|
55
|
-
})), [categories, formatValue, onPointClick, pointPopoverValueFormat, series]);
|
|
56
|
-
const hasLegend = useMemo(() => series.length > 1, [series.length]);
|
|
57
|
-
const options = useMemo(() => ({
|
|
58
|
-
chart: {
|
|
59
|
-
animation,
|
|
60
|
-
backgroundColor: chartTokens.chart.backgroundColor,
|
|
61
|
-
spacingBottom: chartTokens.chart.edgeSpacing,
|
|
62
|
-
spacingLeft: chartTokens.chart.edgeSpacing,
|
|
63
|
-
spacingRight: chartTokens.chart.edgeSpacing,
|
|
64
|
-
spacingTop: chartTokens.chart.topEdgeSpacing,
|
|
65
|
-
style: {
|
|
66
|
-
fontFamily: chartTokens.chart.fontFamily
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
colors: chartTokens.seriesColors,
|
|
70
|
-
subtitle: {
|
|
71
|
-
text: undefined
|
|
72
|
-
},
|
|
73
|
-
title: {
|
|
74
|
-
text: undefined
|
|
75
|
-
}
|
|
76
|
-
}), [animation, chartTokens]);
|
|
77
|
-
const keyboardNavigation = useMemo(() => ({
|
|
78
|
-
focusBorder: {
|
|
79
|
-
margin: chartTokens.focusRing.offset,
|
|
80
|
-
style: {
|
|
81
|
-
borderRadius: chartTokens.focusRing.radius,
|
|
82
|
-
color: chartTokens.focusRing.color,
|
|
83
|
-
lineWidth: chartTokens.focusRing.width
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}), [chartTokens]);
|
|
87
|
-
const xAxisCrosshair = useMemo(() => ({
|
|
88
|
-
color: chartTokens.axis.categoryHoverBandColor,
|
|
89
|
-
zIndex: 0
|
|
90
|
-
}), [chartTokens]);
|
|
91
|
-
const xAxisLabels = useMemo(() => ({
|
|
92
|
-
style: chartTokens.axis.valueStyle
|
|
93
|
-
}), [chartTokens]);
|
|
94
|
-
const xAxisTitle = useMemo(() => ({
|
|
95
|
-
align: "middle",
|
|
96
|
-
margin: chartTokens.axis.rotatedLabelSpacing,
|
|
97
|
-
style: chartTokens.axis.labelStyle,
|
|
98
|
-
text: yAxisLabel
|
|
99
|
-
}), [chartTokens, yAxisLabel]);
|
|
100
|
-
const yAxisLabels = useMemo(() => ({
|
|
101
|
-
formatter: context => formatValue({
|
|
102
|
-
format: xAxisFormat,
|
|
103
|
-
value: Number(context.value)
|
|
104
|
-
}),
|
|
105
|
-
style: chartTokens.axis.valueStyle
|
|
106
|
-
}), [chartTokens, formatValue, xAxisFormat]);
|
|
107
|
-
const yAxisTitle = useMemo(() => ({
|
|
108
|
-
align: "middle",
|
|
109
|
-
margin: chartTokens.axis.uprightLabelSpacing,
|
|
110
|
-
style: chartTokens.axis.labelStyle,
|
|
111
|
-
text: xAxisLabel
|
|
112
|
-
}), [chartTokens, xAxisLabel]);
|
|
113
|
-
const barPlotOptions = useMemo(() => ({
|
|
114
|
-
borderRadius: chartTokens.bar.radius,
|
|
115
|
-
borderWidth: 0,
|
|
116
|
-
dataLabels: {
|
|
117
|
-
enabled: false
|
|
118
|
-
},
|
|
119
|
-
states: {
|
|
120
|
-
hover: {
|
|
121
|
-
brightness: 0
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}), [chartTokens]);
|
|
125
|
-
const seriesPlotOptions = useMemo(() => ({
|
|
126
|
-
animation
|
|
127
|
-
}), [animation]);
|
|
128
|
-
return _jsx(ChartContainer, {
|
|
129
|
-
children: _jsxs(Chart, {
|
|
130
|
-
options: options,
|
|
131
|
-
type: "bar",
|
|
132
|
-
children: [_jsx(Accessibility, {
|
|
133
|
-
description: ariaDescription,
|
|
134
|
-
enabled: true,
|
|
135
|
-
keyboardNavigation: keyboardNavigation,
|
|
136
|
-
landmarkVerbosity: "disabled"
|
|
137
|
-
}), _jsx(XAxis, {
|
|
138
|
-
categories: categories,
|
|
139
|
-
crosshair: xAxisCrosshair,
|
|
140
|
-
gridLineColor: chartTokens.axis.lineColor,
|
|
141
|
-
gridLineWidth: 0,
|
|
142
|
-
labels: xAxisLabels,
|
|
143
|
-
lineColor: chartTokens.axis.lineColor,
|
|
144
|
-
lineWidth: 0,
|
|
145
|
-
tickColor: chartTokens.axis.lineColor,
|
|
146
|
-
tickLength: 0,
|
|
147
|
-
title: xAxisTitle
|
|
148
|
-
}), _jsx(YAxis, {
|
|
149
|
-
gridLineColor: chartTokens.axis.lineColor,
|
|
150
|
-
gridLineWidth: chartTokens.axis.gridLineWidth,
|
|
151
|
-
labels: yAxisLabels,
|
|
152
|
-
lineColor: "transparent",
|
|
153
|
-
tickColor: "transparent",
|
|
154
|
-
title: yAxisTitle
|
|
155
|
-
}), _jsx(Legend, {
|
|
156
|
-
enabled: hasLegend,
|
|
157
|
-
...chartTokens.legend.shared,
|
|
158
|
-
...chartTokens.legend.default
|
|
159
|
-
}), _jsx(Popover, {
|
|
160
|
-
backgroundColor: chartTokens.popover.backgroundColor,
|
|
161
|
-
borderColor: chartTokens.popover.borderColor,
|
|
162
|
-
borderRadius: chartTokens.popover.borderRadius,
|
|
163
|
-
borderWidth: chartTokens.popover.borderWidth,
|
|
164
|
-
padding: chartTokens.popover.padding,
|
|
165
|
-
shadow: false,
|
|
166
|
-
shared: true,
|
|
167
|
-
style: chartTokens.popover.containerStyle,
|
|
168
|
-
children: _jsx(ChartPopoverContent, {
|
|
169
|
-
categoryPlaceholder: "{point.key}",
|
|
170
|
-
chartTokens: chartTokens,
|
|
171
|
-
isShared: true,
|
|
172
|
-
seriesLabelPlaceholder: "{series.name}",
|
|
173
|
-
valuePlaceholder: "{point.custom.formattedValue}"
|
|
174
|
-
})
|
|
175
|
-
}), _jsx(PlotOptions, {
|
|
176
|
-
bar: barPlotOptions,
|
|
177
|
-
series: seriesPlotOptions
|
|
178
|
-
}), _jsx(Credits, {
|
|
179
|
-
enabled: false
|
|
180
|
-
}), seriesList.map(({
|
|
181
|
-
chartSeries,
|
|
182
|
-
pointData
|
|
183
|
-
}) => _jsx(BarSeries, {
|
|
184
|
-
data: pointData,
|
|
185
|
-
name: chartSeries.name
|
|
186
|
-
}, chartSeries.name))]
|
|
187
|
-
})
|
|
188
|
-
});
|
|
189
|
-
};
|
|
190
|
-
const MemoizedBarChartContent = memo(BarChartContent);
|
|
191
|
-
const BarChart = props => {
|
|
192
|
-
const stableOnPointClick = useStableCallback(props.onPointClick);
|
|
193
|
-
const stableOnRetry = useStableCallback(props.onRetry);
|
|
194
|
-
const {
|
|
195
|
-
hasError,
|
|
196
|
-
isLoading,
|
|
197
|
-
onRetry,
|
|
198
|
-
subtitle,
|
|
199
|
-
title,
|
|
200
|
-
...chartProps
|
|
201
|
-
} = props;
|
|
202
|
-
const stableChartProps = useStableValue({
|
|
203
|
-
...chartProps,
|
|
204
|
-
onPointClick: props.onPointClick ? stableOnPointClick : undefined
|
|
205
|
-
});
|
|
206
|
-
return _jsx(ChartFrame, {
|
|
207
|
-
hasError: hasError,
|
|
208
|
-
isLoading: isLoading,
|
|
209
|
-
onRetry: onRetry ? stableOnRetry : undefined,
|
|
210
|
-
subtitle: subtitle,
|
|
211
|
-
title: title,
|
|
212
|
-
children: _jsx(MemoizedBarChartContent, {
|
|
213
|
-
...stableChartProps
|
|
214
|
-
})
|
|
215
|
-
});
|
|
216
|
-
};
|
|
217
|
-
const MemoizedBarChart = memo(BarChart);
|
|
218
|
-
MemoizedBarChart.displayName = "BarChart::pkg=odyssey&odysseyV=1.73.0";
|
|
219
|
-
export { MemoizedBarChart as BarChart };
|
|
220
|
-
//# sourceMappingURL=BarChart.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BarChart.js","names":["Chart","Credits","Legend","PlotOptions","Tooltip","Popover","XAxis","YAxis","Accessibility","BarSeries","memo","useMemo","useStableCallback","ChartContainer","ChartFrame","ChartPopoverContent","useChartAnimation","useChartTokens","getChartSeriesPointData","hasDuplicateSeries","useChartValueFormatter","useStableValue","jsx","_jsx","jsxs","_jsxs","BarChartContent","ariaDescription","categories","onPointClick","pointPopoverValueFormat","series","xAxisFormat","xAxisLabel","yAxisLabel","chartTokens","formatValue","Error","animation","seriesList","map","chartSeries","pointData","hasLegend","length","options","chart","backgroundColor","spacingBottom","edgeSpacing","spacingLeft","spacingRight","spacingTop","topEdgeSpacing","style","fontFamily","colors","seriesColors","subtitle","text","undefined","title","keyboardNavigation","focusBorder","margin","focusRing","offset","borderRadius","radius","color","lineWidth","width","xAxisCrosshair","axis","categoryHoverBandColor","zIndex","xAxisLabels","valueStyle","xAxisTitle","align","rotatedLabelSpacing","labelStyle","yAxisLabels","formatter","context","format","value","Number","yAxisTitle","uprightLabelSpacing","barPlotOptions","bar","borderWidth","dataLabels","enabled","states","hover","brightness","seriesPlotOptions","children","type","description","landmarkVerbosity","crosshair","gridLineColor","lineColor","gridLineWidth","labels","tickColor","tickLength","legend","shared","default","popover","borderColor","padding","shadow","containerStyle","categoryPlaceholder","isShared","seriesLabelPlaceholder","valuePlaceholder","data","name","MemoizedBarChartContent","BarChart","props","stableOnPointClick","stableOnRetry","onRetry","hasError","isLoading","chartProps","stableChartProps","MemoizedBarChart","displayName"],"sources":["../../../src/charts/BarChart.tsx"],"sourcesContent":["/*!\n * Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport {\n Chart,\n Credits,\n Legend,\n PlotOptions,\n Tooltip as Popover,\n XAxis,\n YAxis,\n} from \"@highcharts/react\";\nimport { Accessibility } from \"@highcharts/react/modules/Accessibility.js\";\nimport { BarSeries } from \"@highcharts/react/series/Bar.js\";\nimport { memo, useMemo } from \"react\";\n\nimport type { CartesianChartProps } from \"./utils/chartTypes.js\";\nimport type { ChartValueFormat } from \"./utils/formatChartValue.js\";\n\nimport { useStableCallback } from \"../useStableCallback.js\";\nimport { ChartContainer } from \"./components/ChartContainer.js\";\nimport { ChartFrame } from \"./components/ChartFrame.js\";\nimport { ChartPopoverContent } from \"./components/ChartPopoverContent.js\";\nimport { useChartAnimation } from \"./useChartAnimation.js\";\nimport { useChartTokens } from \"./utils/chartTokens.js\";\nimport { getChartSeriesPointData } from \"./utils/getChartSeriesPointData.js\";\nimport { hasDuplicateSeries } from \"./utils/hasDuplicateSeries.js\";\nimport { useChartValueFormatter } from \"./utils/useChartValueFormatter.js\";\nimport { useStableValue } from \"./utils/useStableValue.js\";\n\n/** The props for a bar chart. */\nexport type BarChartProps = CartesianChartProps & {\n /**\n * The format for the values on the horizontal axis. A bar chart shows its numeric values on that axis. If no preset gives the format that you need, supply a function.\n * @default \"compact\"\n */\n xAxisFormat?: ChartValueFormat;\n};\n\nconst BarChartContent = ({\n ariaDescription,\n categories,\n onPointClick,\n pointPopoverValueFormat,\n series,\n xAxisFormat = \"compact\",\n xAxisLabel,\n yAxisLabel,\n}: BarChartProps) => {\n const chartTokens = useChartTokens();\n const formatValue = useChartValueFormatter();\n\n if (hasDuplicateSeries({ series })) {\n throw new Error(\"This chart has two or more series with the same name.\");\n }\n\n const animation = useChartAnimation();\n\n // This memo builds a click handler and formats the value for each point. Highcharts registers a new click handler for a point whenever the identity of that point's data changes. Without this memo, every render would build new data, so Highcharts would tear down and re-register its handlers even when nothing changed.\n //\n // This memo works because BarChart passes its props through useStableValue. That hook keeps `series` at the same identity across a render that does not change the data, so this memo does not rerun. BarChart also passes `onPointClick` through useStableCallback, so an inline handler from the caller keeps the same identity here.\n //\n // useStableValue compares a function by identity, not by what the function does. `pointPopoverValueFormat` accepts a function, and this memo formats each value at build time. So a caller that supplies a new function on every render for that property still defeats this memo. Such a caller needs its own useCallback.\n const seriesList = useMemo(\n () =>\n series.map((chartSeries) => ({\n chartSeries,\n pointData: getChartSeriesPointData({\n categories,\n chartSeries,\n formatValue,\n onPointClick,\n pointPopoverValueFormat,\n }),\n })),\n [categories, formatValue, onPointClick, pointPopoverValueFormat, series],\n );\n\n const hasLegend = useMemo(() => series.length > 1, [series.length]);\n\n const options = useMemo(\n () => ({\n chart: {\n animation,\n backgroundColor: chartTokens.chart.backgroundColor,\n spacingBottom: chartTokens.chart.edgeSpacing,\n spacingLeft: chartTokens.chart.edgeSpacing,\n spacingRight: chartTokens.chart.edgeSpacing,\n spacingTop: chartTokens.chart.topEdgeSpacing,\n style: { fontFamily: chartTokens.chart.fontFamily },\n },\n // Each series takes the next color from this list. So a change to the order of `seriesColors`, in `chartTokens.ts`, changes the color of every series.\n colors: chartTokens.seriesColors,\n // The chart library ships a default title text of \"Chart title\". Its documented way to disable a title is a `text` of undefined, which draws an empty text element that measures zero and so reserves no height. A whole `title` of undefined does not work, because the React wrapper always merges a `title` object over the `options` prop.\n subtitle: { text: undefined },\n title: { text: undefined },\n }),\n [animation, chartTokens],\n );\n\n const keyboardNavigation = useMemo(\n () => ({\n focusBorder: {\n margin: chartTokens.focusRing.offset,\n style: {\n borderRadius: chartTokens.focusRing.radius,\n color: chartTokens.focusRing.color,\n lineWidth: chartTokens.focusRing.width,\n },\n },\n }),\n [chartTokens],\n );\n const xAxisCrosshair = useMemo(\n () => ({\n color: chartTokens.axis.categoryHoverBandColor,\n zIndex: 0,\n }),\n [chartTokens],\n );\n const xAxisLabels = useMemo(\n () => ({ style: chartTokens.axis.valueStyle }),\n [chartTokens],\n );\n const xAxisTitle = useMemo(\n () => ({\n align: \"middle\" as const,\n // This axis draws down the left side, so its label is the rotated one.\n margin: chartTokens.axis.rotatedLabelSpacing,\n style: chartTokens.axis.labelStyle,\n text: yAxisLabel,\n }),\n [chartTokens, yAxisLabel],\n );\n const yAxisLabels = useMemo(\n () => ({\n formatter: (context: { value: unknown }) =>\n formatValue({\n format: xAxisFormat,\n value: Number(context.value),\n }),\n style: chartTokens.axis.valueStyle,\n }),\n [chartTokens, formatValue, xAxisFormat],\n );\n const yAxisTitle = useMemo(\n () => ({\n align: \"middle\" as const,\n margin: chartTokens.axis.uprightLabelSpacing,\n style: chartTokens.axis.labelStyle,\n text: xAxisLabel,\n }),\n [chartTokens, xAxisLabel],\n );\n const barPlotOptions = useMemo(\n () => ({\n borderRadius: chartTokens.bar.radius,\n borderWidth: 0,\n dataLabels: { enabled: false },\n states: {\n hover: { brightness: 0 },\n },\n }),\n [chartTokens],\n );\n const seriesPlotOptions = useMemo(() => ({ animation }), [animation]);\n\n return (\n <ChartContainer>\n <Chart options={options} type=\"bar\">\n <Accessibility\n description={ariaDescription}\n enabled\n keyboardNavigation={keyboardNavigation}\n landmarkVerbosity=\"disabled\"\n />\n <XAxis\n categories={categories}\n crosshair={xAxisCrosshair}\n gridLineColor={chartTokens.axis.lineColor}\n gridLineWidth={0}\n labels={xAxisLabels}\n lineColor={chartTokens.axis.lineColor}\n lineWidth={0}\n tickColor={chartTokens.axis.lineColor}\n tickLength={0}\n title={xAxisTitle}\n />\n <YAxis\n gridLineColor={chartTokens.axis.lineColor}\n gridLineWidth={chartTokens.axis.gridLineWidth}\n labels={yAxisLabels}\n lineColor=\"transparent\"\n tickColor=\"transparent\"\n title={yAxisTitle}\n />\n <Legend\n enabled={hasLegend}\n {...chartTokens.legend.shared}\n {...chartTokens.legend.default}\n />\n <Popover\n backgroundColor={chartTokens.popover.backgroundColor}\n borderColor={chartTokens.popover.borderColor}\n borderRadius={chartTokens.popover.borderRadius}\n borderWidth={chartTokens.popover.borderWidth}\n padding={chartTokens.popover.padding}\n shadow={false}\n shared\n style={chartTokens.popover.containerStyle}\n >\n <ChartPopoverContent\n categoryPlaceholder=\"{point.key}\"\n chartTokens={chartTokens}\n isShared\n seriesLabelPlaceholder=\"{series.name}\"\n valuePlaceholder=\"{point.custom.formattedValue}\"\n />\n </Popover>\n <PlotOptions bar={barPlotOptions} series={seriesPlotOptions} />\n <Credits enabled={false} />\n {seriesList.map(({ chartSeries, pointData }) => (\n <BarSeries\n data={pointData}\n key={chartSeries.name}\n name={chartSeries.name}\n />\n ))}\n </Chart>\n </ChartContainer>\n );\n};\n\n// `BarChart` passes props that keep the same identity across a render. This memo then stops a render of the caller from reaching the children of `Chart`. A new child identity forces Highcharts to rebuild and redraw the whole chart.\nconst MemoizedBarChartContent = memo(BarChartContent);\n\n/**\n * Renders a horizontal bar chart that gets its theme from Odyssey design tokens. The chart plots each series against the shared `categories` of the chart. Each value in a series lines up by index with a category, so a series and `categories` must have the same length. If a value is `null`, the chart draws a gap at that category, and not a bar with a value of zero.\n */\nconst BarChart = (props: BarChartProps) => {\n // Highcharts rebuilds and redraws the whole chart when the identity of any React child changes. A caller that builds the `series` array inside its own render creates a new array on every render. That new array would reach every child below this point.\n //\n // useStableValue holds one chart props object while its contents stay the same, so `MemoizedBarChartContent` keeps the same children across those renders.\n //\n // useStableValue cannot hold `onPointClick`, because it compares a function by identity. An inline handler therefore arrives with a new identity on each render of the caller, and every memo below misses. useStableCallback wraps that handler in one callback of its own that keeps the same identity, and calls the latest handler when a user clicks a point.\n //\n // useStableCallback also turns an absent handler into a callback that does nothing. The chart attaches a click listener to a point as soon as it finds one, so a chart with no `onPointClick` must pass nothing at all. The condition below keeps that behavior, and returns the one stable callback in every other case.\n const stableOnPointClick = useStableCallback(props.onPointClick);\n const stableOnRetry = useStableCallback(props.onRetry);\n const { hasError, isLoading, onRetry, subtitle, title, ...chartProps } =\n props;\n const stableChartProps = useStableValue({\n ...chartProps,\n onPointClick: props.onPointClick ? stableOnPointClick : undefined,\n });\n\n return (\n <ChartFrame\n hasError={hasError}\n isLoading={isLoading}\n onRetry={onRetry ? stableOnRetry : undefined}\n subtitle={subtitle}\n title={title}\n >\n <MemoizedBarChartContent {...stableChartProps} />\n </ChartFrame>\n );\n};\n\nconst MemoizedBarChart = memo(BarChart);\nMemoizedBarChart.displayName = \"BarChart\";\n\nexport { MemoizedBarChart as BarChart };\n"],"mappings":"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","ignoreList":[]}
|