@okta/odyssey-react-mui 1.70.0 → 1.71.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 +8 -20
- package/dist/cjs/@types/react-augment.d.cjs.map +1 -1
- package/dist/cjs/Accordion.cjs +1 -1
- package/dist/cjs/Accordion.cjs.map +1 -1
- package/dist/cjs/AnimationContext.cjs +1 -1
- package/dist/cjs/Autocomplete.cjs +1 -1
- package/dist/cjs/Autocomplete.cjs.map +1 -1
- package/dist/cjs/Badge.cjs +1 -1
- package/dist/cjs/Badge.cjs.map +1 -1
- package/dist/cjs/Banner.cjs +1 -1
- package/dist/cjs/Banner.cjs.map +1 -1
- package/dist/cjs/Box.cjs +1 -1
- package/dist/cjs/Box.cjs.map +1 -1
- package/dist/cjs/Breadcrumbs.cjs +1 -1
- package/dist/cjs/Breadcrumbs.cjs.map +1 -1
- package/dist/cjs/Buttons/BaseButton.cjs +1 -1
- package/dist/cjs/Buttons/BaseButton.cjs.map +1 -1
- package/dist/cjs/Buttons/BaseMenuButton.cjs +1 -1
- package/dist/cjs/Buttons/BaseMenuButton.cjs.map +1 -1
- package/dist/cjs/Buttons/Button.cjs +1 -1
- package/dist/cjs/Buttons/Button.cjs.map +1 -1
- package/dist/cjs/Buttons/MenuButton.cjs +1 -1
- package/dist/cjs/Buttons/MenuButton.cjs.map +1 -1
- package/dist/cjs/Buttons/MenuItem.cjs +1 -1
- package/dist/cjs/Buttons/MenuItem.cjs.map +1 -1
- package/dist/cjs/Callout.cjs +1 -1
- package/dist/cjs/Callout.cjs.map +1 -1
- package/dist/cjs/Card.cjs +1 -1
- package/dist/cjs/Card.cjs.map +1 -1
- package/dist/cjs/CircularProgress.cjs +1 -1
- package/dist/cjs/CircularProgress.cjs.map +1 -1
- package/dist/cjs/ConditionalWrapper.cjs +1 -1
- package/dist/cjs/ConditionalWrapper.cjs.map +1 -1
- package/dist/cjs/CssBaseline.cjs.map +1 -1
- package/dist/cjs/DataTable/DataTable.cjs +1 -1
- 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/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/DatePicker.cjs.map +1 -1
- package/dist/cjs/DatePickers/TimeZonePicker.cjs +1 -1
- package/dist/cjs/DatePickers/TimeZonePicker.cjs.map +1 -1
- package/dist/cjs/DatePickers/datePickerTheme.cjs +57 -27
- package/dist/cjs/DatePickers/datePickerTheme.cjs.map +1 -1
- package/dist/cjs/DatePickers/useOdysseyDateFields.cjs.map +1 -1
- package/dist/cjs/Dialog.cjs +1 -1
- package/dist/cjs/Dialog.cjs.map +1 -1
- package/dist/cjs/Drawer.cjs +1 -1
- package/dist/cjs/Drawer.cjs.map +1 -1
- package/dist/cjs/EmptyState.cjs +1 -1
- package/dist/cjs/EmptyState.cjs.map +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/Checkbox.cjs.map +1 -1
- package/dist/cjs/Fields/CheckboxGroup.cjs +1 -1
- package/dist/cjs/Fields/CheckboxGroup.cjs.map +1 -1
- package/dist/cjs/Fields/Hint.cjs.map +1 -1
- package/dist/cjs/Fields/Radio.cjs +1 -1
- package/dist/cjs/Fields/RadioGroup.cjs +1 -1
- package/dist/cjs/Fields/RadioGroup.cjs.map +1 -1
- package/dist/cjs/Fieldset.cjs +1 -1
- package/dist/cjs/Fieldset.cjs.map +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/FileUploader/FileUploader.cjs.map +1 -1
- package/dist/cjs/Form.cjs +1 -1
- package/dist/cjs/Form.cjs.map +1 -1
- package/dist/cjs/FormCheckedProps.cjs.map +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/IconWithTooltip.cjs.map +1 -1
- package/dist/cjs/Link.cjs +1 -1
- package/dist/cjs/Link.cjs.map +1 -1
- package/dist/cjs/MuiPropsChild.cjs +1 -1
- package/dist/cjs/NativeSelect.cjs +1 -1
- package/dist/cjs/NativeSelect.cjs.map +1 -1
- package/dist/cjs/OdysseyCacheProvider.cjs +1 -1
- package/dist/cjs/OdysseyCacheProvider.cjs.map +1 -1
- package/dist/cjs/OdysseyDesignTokensContext.cjs.map +1 -1
- package/dist/cjs/OdysseyProvider.cjs +1 -1
- package/dist/cjs/OdysseyProvider.cjs.map +1 -1
- package/dist/cjs/OdysseyThemeProvider.cjs +1 -1
- package/dist/cjs/OdysseyThemeProvider.cjs.map +1 -1
- package/dist/cjs/OdysseyThemeProviderPropsContext.cjs +1 -1
- package/dist/cjs/Pagination/Pagination.cjs +1 -1
- package/dist/cjs/Pagination/Pagination.cjs.map +1 -1
- package/dist/cjs/PasswordField.cjs +1 -1
- package/dist/cjs/PasswordField.cjs.map +1 -1
- package/dist/cjs/ScreenReaderText.cjs +1 -1
- package/dist/cjs/ScreenReaderText.cjs.map +1 -1
- package/dist/cjs/SearchField.cjs +1 -1
- package/dist/cjs/SearchField.cjs.map +1 -1
- package/dist/cjs/Select.cjs +1 -1
- package/dist/cjs/Select.cjs.map +1 -1
- package/dist/cjs/Stack.cjs +1 -1
- package/dist/cjs/Stack.cjs.map +1 -1
- package/dist/cjs/Status.cjs +1 -1
- package/dist/cjs/Status.cjs.map +1 -1
- package/dist/cjs/Surface.cjs +1 -1
- package/dist/cjs/Surface.cjs.map +1 -1
- package/dist/cjs/Switch.cjs +2 -2
- package/dist/cjs/Switch.cjs.map +1 -1
- package/dist/cjs/Tabs.cjs +1 -1
- package/dist/cjs/Tabs.cjs.map +1 -1
- package/dist/cjs/Tag.cjs +1 -1
- package/dist/cjs/Tag.cjs.map +1 -1
- package/dist/cjs/TagList.cjs +1 -1
- package/dist/cjs/TagList.cjs.map +1 -1
- package/dist/cjs/TextField.cjs +1 -1
- package/dist/cjs/TextField.cjs.map +1 -1
- package/dist/cjs/Toast.cjs +1 -1
- package/dist/cjs/Toast.cjs.map +1 -1
- package/dist/cjs/ToastStack.cjs +1 -1
- package/dist/cjs/ToastStack.cjs.map +1 -1
- package/dist/cjs/Tooltip.cjs +1 -1
- package/dist/cjs/Tooltip.cjs.map +1 -1
- package/dist/cjs/Typography.cjs +12 -12
- package/dist/cjs/Typography.cjs.map +1 -1
- package/dist/cjs/__internal.cjs.map +1 -1
- package/dist/cjs/charts/BarChart.cjs +1 -1
- package/dist/cjs/charts/BarChart.cjs.map +1 -1
- package/dist/cjs/charts/LineChart.cjs +1 -1
- package/dist/cjs/charts/LineChart.cjs.map +1 -1
- package/dist/cjs/charts/components/ChartContainer.cjs.map +1 -1
- package/dist/cjs/charts/components/ChartError.cjs +1 -1
- package/dist/cjs/charts/components/ChartError.cjs.map +1 -1
- package/dist/cjs/charts/components/ChartFrame.cjs +1 -1
- package/dist/cjs/charts/components/ChartFrame.cjs.map +1 -1
- package/dist/cjs/charts/components/ChartPopoverContent.cjs +1 -1
- package/dist/cjs/charts/components/ChartPopoverContent.cjs.map +1 -1
- package/dist/cjs/charts/utils/chartTokens.cjs.map +1 -1
- package/dist/cjs/charts/utils/chartTypes.cjs.map +1 -1
- package/dist/cjs/charts/utils/formatChartValue.cjs.map +1 -1
- package/dist/cjs/charts/utils/getChartSeriesPointData.cjs.map +1 -1
- package/dist/cjs/charts/utils/hasDuplicateSeries.cjs.map +1 -1
- package/dist/cjs/charts/utils/resolveChartLocale.cjs.map +1 -1
- package/dist/cjs/charts/utils/useChartValueFormatter.cjs.map +1 -1
- package/dist/cjs/charts/utils/useStableValue.cjs.map +1 -1
- package/dist/cjs/createContrastColors.cjs.map +1 -1
- package/dist/cjs/createOdysseyStyledComponent.cjs.map +1 -1
- package/dist/cjs/getLogicalBoundaries.cjs.map +1 -1
- package/dist/cjs/icons.generated/Add.cjs +1 -1
- package/dist/cjs/icons.generated/AddCircle.cjs +1 -1
- package/dist/cjs/icons.generated/Apps.cjs +1 -1
- package/dist/cjs/icons.generated/AppsSelected.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowBottom.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowDown.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowLowerLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowLowerRight.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowRight.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowTop.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowUnsorted.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowUp.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowUpperLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowUpperRight.cjs +1 -1
- package/dist/cjs/icons.generated/Bug.cjs +1 -1
- package/dist/cjs/icons.generated/Calendar.cjs +1 -1
- package/dist/cjs/icons.generated/Call.cjs +1 -1
- package/dist/cjs/icons.generated/Chat.cjs +1 -1
- package/dist/cjs/icons.generated/Check.cjs +1 -1
- package/dist/cjs/icons.generated/CheckCircleFilled.cjs +1 -1
- package/dist/cjs/icons.generated/ChevronDown.cjs +1 -1
- package/dist/cjs/icons.generated/ChevronLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ChevronRight.cjs +1 -1
- package/dist/cjs/icons.generated/ChevronUp.cjs +1 -1
- package/dist/cjs/icons.generated/Clock.cjs +1 -1
- package/dist/cjs/icons.generated/Close.cjs +1 -1
- package/dist/cjs/icons.generated/CloseCircleFilled.cjs +1 -1
- package/dist/cjs/icons.generated/CollapseLeft.cjs +1 -1
- package/dist/cjs/icons.generated/CollapseRight.cjs +1 -1
- package/dist/cjs/icons.generated/Copy.cjs +1 -1
- package/dist/cjs/icons.generated/Customizations.cjs +1 -1
- package/dist/cjs/icons.generated/CustomizationsSelected.cjs +1 -1
- package/dist/cjs/icons.generated/DangerDiamond.cjs +1 -1
- package/dist/cjs/icons.generated/DangerDiamondFilled.cjs +1 -1
- package/dist/cjs/icons.generated/Delete.cjs +1 -1
- package/dist/cjs/icons.generated/Deny.cjs +1 -1
- package/dist/cjs/icons.generated/Devices.cjs +1 -1
- package/dist/cjs/icons.generated/Directory.cjs +1 -1
- package/dist/cjs/icons.generated/DirectorySelected.cjs +1 -1
- package/dist/cjs/icons.generated/Documentation.cjs +1 -1
- package/dist/cjs/icons.generated/Download.cjs +1 -1
- package/dist/cjs/icons.generated/DragIndicator.cjs +1 -1
- package/dist/cjs/icons.generated/Edit.cjs +1 -1
- package/dist/cjs/icons.generated/ExpandLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ExpandRight.cjs +1 -1
- package/dist/cjs/icons.generated/ExternalLink.cjs +1 -1
- package/dist/cjs/icons.generated/Filter.cjs +1 -1
- package/dist/cjs/icons.generated/Folder.cjs +1 -1
- package/dist/cjs/icons.generated/Globe.cjs +1 -1
- package/dist/cjs/icons.generated/Grid.cjs +1 -1
- package/dist/cjs/icons.generated/Group.cjs +1 -1
- package/dist/cjs/icons.generated/Happy.cjs +1 -1
- package/dist/cjs/icons.generated/Hide.cjs +1 -1
- package/dist/cjs/icons.generated/Home.cjs +1 -1
- package/dist/cjs/icons.generated/HomeSelected.cjs +1 -1
- package/dist/cjs/icons.generated/IdentityGovernance.cjs +1 -1
- package/dist/cjs/icons.generated/IdentityGovernanceSelected.cjs +1 -1
- package/dist/cjs/icons.generated/InformationCircle.cjs +1 -1
- package/dist/cjs/icons.generated/InformationCircleFilled.cjs +1 -1
- package/dist/cjs/icons.generated/Link.cjs +1 -1
- package/dist/cjs/icons.generated/List.cjs +1 -1
- package/dist/cjs/icons.generated/Lock.cjs +1 -1
- package/dist/cjs/icons.generated/Menu.cjs +1 -1
- package/dist/cjs/icons.generated/More.cjs +1 -1
- package/dist/cjs/icons.generated/Neutral.cjs +1 -1
- package/dist/cjs/icons.generated/Notification.cjs +1 -1
- package/dist/cjs/icons.generated/Pause.cjs +1 -1
- package/dist/cjs/icons.generated/QuestionCircle.cjs +1 -1
- package/dist/cjs/icons.generated/QuestionCircleFilled.cjs +1 -1
- package/dist/cjs/icons.generated/Refresh.cjs +1 -1
- package/dist/cjs/icons.generated/Reports.cjs +1 -1
- package/dist/cjs/icons.generated/ReportsSelected.cjs +1 -1
- package/dist/cjs/icons.generated/Reset.cjs +1 -1
- package/dist/cjs/icons.generated/Resume.cjs +1 -1
- package/dist/cjs/icons.generated/Sad.cjs +1 -1
- package/dist/cjs/icons.generated/Same.cjs +1 -1
- package/dist/cjs/icons.generated/Search.cjs +1 -1
- package/dist/cjs/icons.generated/Security.cjs +1 -1
- package/dist/cjs/icons.generated/SecuritySelected.cjs +1 -1
- package/dist/cjs/icons.generated/Send.cjs +1 -1
- package/dist/cjs/icons.generated/Server.cjs +1 -1
- package/dist/cjs/icons.generated/Settings.cjs +1 -1
- package/dist/cjs/icons.generated/SettingsSelected.cjs +1 -1
- package/dist/cjs/icons.generated/Show.cjs +1 -1
- package/dist/cjs/icons.generated/Sparkle.cjs +1 -1
- package/dist/cjs/icons.generated/Subtract.cjs +1 -1
- package/dist/cjs/icons.generated/Sync.cjs +1 -1
- package/dist/cjs/icons.generated/ThumbsDown.cjs +1 -1
- package/dist/cjs/icons.generated/ThumbsUp.cjs +1 -1
- package/dist/cjs/icons.generated/Unlock.cjs +1 -1
- package/dist/cjs/icons.generated/Upload.cjs +1 -1
- package/dist/cjs/icons.generated/User.cjs +1 -1
- package/dist/cjs/icons.generated/Video.cjs +1 -1
- package/dist/cjs/icons.generated/Warning.cjs +1 -1
- package/dist/cjs/icons.generated/WarningFilled.cjs +1 -1
- package/dist/cjs/icons.generated/Workflows.cjs +1 -1
- package/dist/cjs/icons.generated/WorkflowsSelected.cjs +1 -1
- package/dist/cjs/inputUtils.cjs.map +1 -1
- package/dist/cjs/labs/AppTile.cjs +1 -1
- package/dist/cjs/labs/AppTile.cjs.map +1 -1
- package/dist/cjs/labs/DataFilters.cjs +2 -2
- package/dist/cjs/labs/DataFilters.cjs.map +1 -1
- package/dist/cjs/labs/DataTable.cjs +1 -1
- package/dist/cjs/labs/DataTable.cjs.map +1 -1
- package/dist/cjs/labs/DataTablePagination.cjs +1 -1
- package/dist/cjs/labs/DataView/BulkActionsMenu.cjs +1 -1
- package/dist/cjs/labs/DataView/BulkActionsMenu.cjs.map +1 -1
- package/dist/cjs/labs/DataView/CardLayoutContent.cjs +2 -2
- package/dist/cjs/labs/DataView/CardLayoutContent.cjs.map +1 -1
- package/dist/cjs/labs/DataView/DataCard.cjs +1 -1
- package/dist/cjs/labs/DataView/DataCard.cjs.map +1 -1
- package/dist/cjs/labs/DataView/DataTable.cjs +1 -1
- package/dist/cjs/labs/DataView/DataTable.cjs.map +1 -1
- package/dist/cjs/labs/DataView/DataView.cjs +1 -1
- package/dist/cjs/labs/DataView/DataView.cjs.map +1 -1
- package/dist/cjs/labs/DataView/DetailPanel.cjs +1 -1
- package/dist/cjs/labs/DataView/LayoutSwitcher.cjs +1 -1
- package/dist/cjs/labs/DataView/RowActions.cjs +1 -1
- package/dist/cjs/labs/DataView/RowActions.cjs.map +1 -1
- package/dist/cjs/labs/DataView/TableLayoutContent.cjs +1 -1
- package/dist/cjs/labs/DataView/TableLayoutContent.cjs.map +1 -1
- package/dist/cjs/labs/DataView/TableSettings.cjs +1 -1
- package/dist/cjs/labs/DataView/TableSettings.cjs.map +1 -1
- package/dist/cjs/labs/DataView/componentTypes.cjs.map +1 -1
- package/dist/cjs/labs/DataView/tableConstants.cjs.map +1 -1
- package/dist/cjs/labs/DataView/testSupportData.cjs.map +1 -1
- package/dist/cjs/labs/DataView/useFilterConversion.cjs.map +1 -1
- package/dist/cjs/labs/DatePickers/DateTimeField.cjs +1 -1
- package/dist/cjs/labs/DatePickers/DateTimePicker.cjs +2 -2
- package/dist/cjs/labs/DatePickers/DateTimePicker.cjs.map +1 -1
- package/dist/cjs/labs/DatePickers/dateTimePickerTheme.cjs +4 -4
- package/dist/cjs/labs/DatePickers/dateTimePickerTheme.cjs.map +1 -1
- package/dist/cjs/labs/OdysseyPickers/ComposablePicker.cjs +1 -1
- package/dist/cjs/labs/OdysseyPickers/Picker.cjs +1 -1
- package/dist/cjs/labs/OdysseyPickers/PickerVirtualizationListBox.cjs +1 -1
- package/dist/cjs/labs/OdysseyPickers/PickerVirtualizationListBox.cjs.map +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/Layout.cjs.map +1 -1
- package/dist/cjs/labs/PageTemplate/PageTemplate.cjs +1 -1
- package/dist/cjs/labs/PaginatedTable.cjs +1 -1
- package/dist/cjs/labs/StaticTable.cjs +1 -1
- package/dist/cjs/labs/UserProfile.cjs +1 -1
- package/dist/cjs/labs/UserProfileMenuButton.cjs +1 -1
- package/dist/cjs/logos.generated/Duo.cjs +1 -1
- package/dist/cjs/logos.generated/GoogleAuth.cjs +1 -1
- package/dist/cjs/logos.generated/OktaVerify.cjs +1 -1
- package/dist/cjs/logos.generated/Persona.cjs +1 -1
- package/dist/cjs/logos.generated/SymantecVip.cjs +1 -1
- package/dist/cjs/logos.generated/Yubikey.cjs +1 -1
- package/dist/cjs/test-utils/appendToSandbox.cjs.map +1 -1
- package/dist/cjs/test-utils/getControlledElement.cjs.map +1 -1
- package/dist/cjs/test-utils/renderWithOdysseyProvider.cjs.map +1 -1
- package/dist/cjs/test-utils/viewportTestSizes.cjs.map +1 -1
- package/dist/cjs/theme/components/Autocomplete.cjs.map +1 -1
- package/dist/cjs/theme/components/Button.cjs.map +1 -1
- package/dist/cjs/theme/components/CircularProgress.cjs.map +1 -1
- package/dist/cjs/theme/components/Drawer.cjs.map +1 -1
- package/dist/cjs/theme/components/Form.cjs.map +1 -1
- package/dist/cjs/theme/components/Input.cjs.map +1 -1
- package/dist/cjs/theme/components/Table.cjs.map +1 -1
- package/dist/cjs/theme/useAppElementContainerQuery.cjs.map +1 -1
- package/dist/cjs/theme/useContainerQuery.cjs.map +1 -1
- package/dist/cjs/theme/useMediaQuery.cjs.map +1 -1
- package/dist/cjs/tools/addSpecificity.cjs.map +1 -1
- package/dist/cjs/tools/createBrowserMessageBus.cjs +48 -0
- package/dist/cjs/tools/createBrowserMessageBus.cjs.map +1 -0
- 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/NarrowUiShellContent.cjs.map +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/SideNav.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavFooterContent.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavHeader.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavItemContent.cjs +2 -2
- package/dist/cjs/ui-shell/SideNav/SideNavItemContent.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavItemContentContext.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavItemLinkContent.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavSortableList.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavToggleButton.cjs +2 -2
- package/dist/cjs/ui-shell/SideNav/SideNavToggleButton.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/SortableList/SortableItem.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/SortableList/SortableList.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/SortableList/SortableOverlay.cjs.map +1 -1
- package/dist/cjs/ui-shell/SideNav/types.cjs.map +1 -1
- package/dist/cjs/ui-shell/SkipToContent.cjs +1 -1
- package/dist/cjs/ui-shell/SkipToContent.cjs.map +1 -1
- package/dist/cjs/ui-shell/TopNav/HamburgerMenuIcon.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/TopNav.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/TopNavLinksList.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/TopNavListItem.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/TopNavListItem.cjs.map +1 -1
- package/dist/cjs/ui-shell/UiShell.cjs +1 -1
- package/dist/cjs/ui-shell/UiShell.cjs.map +1 -1
- package/dist/cjs/ui-shell/UiShellLogo.cjs +1 -1
- package/dist/cjs/ui-shell/UiShellProvider.cjs.map +1 -1
- package/dist/cjs/ui-shell/WideUiShellContent.cjs +1 -1
- package/dist/cjs/ui-shell/renderUiShell.cjs.map +1 -1
- package/dist/cjs/ui-shell/uiShellContentTypes.cjs.map +1 -1
- package/dist/cjs/ui-shell/uiShellSharedConstants.cjs.map +1 -1
- package/dist/cjs/useContrastMode.cjs.map +1 -1
- package/dist/cjs/useStableCallback.cjs.map +1 -1
- package/dist/cjs/useThemeCache.cjs.map +1 -1
- package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs +1 -1
- package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs.map +1 -1
- package/dist/cjs/web-component/renderReactInWebComponent.cjs.map +1 -1
- package/dist/esm/@types/react-augment.d.js.map +1 -1
- package/dist/esm/Accordion.js +1 -1
- package/dist/esm/Accordion.js.map +1 -1
- package/dist/esm/AnimationContext.js +1 -1
- package/dist/esm/Autocomplete.js +1 -1
- package/dist/esm/Autocomplete.js.map +1 -1
- package/dist/esm/Badge.js +1 -1
- package/dist/esm/Badge.js.map +1 -1
- package/dist/esm/Banner.js +1 -1
- package/dist/esm/Banner.js.map +1 -1
- package/dist/esm/Box.js +1 -1
- package/dist/esm/Box.js.map +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/Breadcrumbs.js.map +1 -1
- package/dist/esm/Buttons/BaseButton.js +1 -1
- package/dist/esm/Buttons/BaseButton.js.map +1 -1
- package/dist/esm/Buttons/BaseMenuButton.js +1 -1
- package/dist/esm/Buttons/BaseMenuButton.js.map +1 -1
- package/dist/esm/Buttons/Button.js +1 -1
- package/dist/esm/Buttons/Button.js.map +1 -1
- package/dist/esm/Buttons/MenuButton.js +1 -1
- package/dist/esm/Buttons/MenuButton.js.map +1 -1
- package/dist/esm/Buttons/MenuItem.js +1 -1
- package/dist/esm/Buttons/MenuItem.js.map +1 -1
- package/dist/esm/Callout.js +1 -1
- package/dist/esm/Callout.js.map +1 -1
- package/dist/esm/Card.js +1 -1
- package/dist/esm/Card.js.map +1 -1
- package/dist/esm/CircularProgress.js +1 -1
- package/dist/esm/CircularProgress.js.map +1 -1
- package/dist/esm/ConditionalWrapper.js +1 -1
- package/dist/esm/ConditionalWrapper.js.map +1 -1
- package/dist/esm/CssBaseline.js.map +1 -1
- package/dist/esm/DataTable/DataTable.js +1 -1
- 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/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/DatePicker.js.map +1 -1
- package/dist/esm/DatePickers/TimeZonePicker.js +1 -1
- package/dist/esm/DatePickers/TimeZonePicker.js.map +1 -1
- package/dist/esm/DatePickers/datePickerTheme.js +57 -27
- package/dist/esm/DatePickers/datePickerTheme.js.map +1 -1
- package/dist/esm/DatePickers/useOdysseyDateFields.js.map +1 -1
- package/dist/esm/Dialog.js +1 -1
- package/dist/esm/Dialog.js.map +1 -1
- package/dist/esm/Drawer.js +1 -1
- package/dist/esm/Drawer.js.map +1 -1
- package/dist/esm/EmptyState.js +1 -1
- package/dist/esm/EmptyState.js.map +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/Checkbox.js.map +1 -1
- package/dist/esm/Fields/CheckboxGroup.js +1 -1
- package/dist/esm/Fields/CheckboxGroup.js.map +1 -1
- package/dist/esm/Fields/Hint.js.map +1 -1
- package/dist/esm/Fields/Radio.js +1 -1
- package/dist/esm/Fields/RadioGroup.js +1 -1
- package/dist/esm/Fields/RadioGroup.js.map +1 -1
- package/dist/esm/Fieldset.js +1 -1
- package/dist/esm/Fieldset.js.map +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/FileUploader/FileUploader.js.map +1 -1
- package/dist/esm/Form.js +1 -1
- package/dist/esm/Form.js.map +1 -1
- package/dist/esm/FormCheckedProps.js.map +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/IconWithTooltip.js.map +1 -1
- package/dist/esm/Link.js +1 -1
- package/dist/esm/Link.js.map +1 -1
- package/dist/esm/MuiPropsChild.js +1 -1
- package/dist/esm/NativeSelect.js +1 -1
- package/dist/esm/NativeSelect.js.map +1 -1
- package/dist/esm/OdysseyCacheProvider.js +1 -1
- package/dist/esm/OdysseyCacheProvider.js.map +1 -1
- package/dist/esm/OdysseyDesignTokensContext.js.map +1 -1
- package/dist/esm/OdysseyProvider.js +1 -1
- package/dist/esm/OdysseyProvider.js.map +1 -1
- package/dist/esm/OdysseyThemeProvider.js +1 -1
- package/dist/esm/OdysseyThemeProvider.js.map +1 -1
- package/dist/esm/OdysseyThemeProviderPropsContext.js +1 -1
- package/dist/esm/Pagination/Pagination.js +1 -1
- package/dist/esm/Pagination/Pagination.js.map +1 -1
- package/dist/esm/PasswordField.js +1 -1
- package/dist/esm/PasswordField.js.map +1 -1
- package/dist/esm/ScreenReaderText.js +1 -1
- package/dist/esm/ScreenReaderText.js.map +1 -1
- package/dist/esm/SearchField.js +1 -1
- package/dist/esm/SearchField.js.map +1 -1
- package/dist/esm/Select.js +1 -1
- package/dist/esm/Select.js.map +1 -1
- package/dist/esm/Stack.js +1 -1
- package/dist/esm/Stack.js.map +1 -1
- package/dist/esm/Status.js +1 -1
- package/dist/esm/Status.js.map +1 -1
- package/dist/esm/Surface.js +1 -1
- package/dist/esm/Surface.js.map +1 -1
- package/dist/esm/Switch.js +2 -2
- package/dist/esm/Switch.js.map +1 -1
- package/dist/esm/Tabs.js +1 -1
- package/dist/esm/Tabs.js.map +1 -1
- package/dist/esm/Tag.js +1 -1
- package/dist/esm/Tag.js.map +1 -1
- package/dist/esm/TagList.js +1 -1
- package/dist/esm/TagList.js.map +1 -1
- package/dist/esm/TextField.js +1 -1
- package/dist/esm/TextField.js.map +1 -1
- package/dist/esm/Toast.js +1 -1
- package/dist/esm/Toast.js.map +1 -1
- package/dist/esm/ToastStack.js +1 -1
- package/dist/esm/ToastStack.js.map +1 -1
- package/dist/esm/Tooltip.js +1 -1
- package/dist/esm/Tooltip.js.map +1 -1
- package/dist/esm/Typography.js +12 -12
- package/dist/esm/Typography.js.map +1 -1
- package/dist/esm/__internal.js.map +1 -1
- package/dist/esm/charts/BarChart.js +1 -1
- package/dist/esm/charts/BarChart.js.map +1 -1
- package/dist/esm/charts/LineChart.js +1 -1
- package/dist/esm/charts/LineChart.js.map +1 -1
- package/dist/esm/charts/components/ChartContainer.js.map +1 -1
- package/dist/esm/charts/components/ChartError.js +1 -1
- package/dist/esm/charts/components/ChartError.js.map +1 -1
- package/dist/esm/charts/components/ChartFrame.js +1 -1
- package/dist/esm/charts/components/ChartFrame.js.map +1 -1
- package/dist/esm/charts/components/ChartPopoverContent.js +1 -1
- package/dist/esm/charts/components/ChartPopoverContent.js.map +1 -1
- package/dist/esm/charts/utils/chartTokens.js.map +1 -1
- package/dist/esm/charts/utils/chartTypes.js.map +1 -1
- package/dist/esm/charts/utils/formatChartValue.js.map +1 -1
- package/dist/esm/charts/utils/getChartSeriesPointData.js.map +1 -1
- package/dist/esm/charts/utils/hasDuplicateSeries.js.map +1 -1
- package/dist/esm/charts/utils/resolveChartLocale.js.map +1 -1
- package/dist/esm/charts/utils/useChartValueFormatter.js.map +1 -1
- package/dist/esm/charts/utils/useStableValue.js.map +1 -1
- package/dist/esm/createContrastColors.js.map +1 -1
- package/dist/esm/createOdysseyStyledComponent.js.map +1 -1
- package/dist/esm/getLogicalBoundaries.js.map +1 -1
- package/dist/esm/icons.generated/Add.js +1 -1
- package/dist/esm/icons.generated/AddCircle.js +1 -1
- package/dist/esm/icons.generated/Apps.js +1 -1
- package/dist/esm/icons.generated/AppsSelected.js +1 -1
- package/dist/esm/icons.generated/ArrowBottom.js +1 -1
- package/dist/esm/icons.generated/ArrowDown.js +1 -1
- package/dist/esm/icons.generated/ArrowLeft.js +1 -1
- package/dist/esm/icons.generated/ArrowLowerLeft.js +1 -1
- package/dist/esm/icons.generated/ArrowLowerRight.js +1 -1
- package/dist/esm/icons.generated/ArrowRight.js +1 -1
- package/dist/esm/icons.generated/ArrowTop.js +1 -1
- package/dist/esm/icons.generated/ArrowUnsorted.js +1 -1
- package/dist/esm/icons.generated/ArrowUp.js +1 -1
- package/dist/esm/icons.generated/ArrowUpperLeft.js +1 -1
- package/dist/esm/icons.generated/ArrowUpperRight.js +1 -1
- package/dist/esm/icons.generated/Bug.js +1 -1
- package/dist/esm/icons.generated/Calendar.js +1 -1
- package/dist/esm/icons.generated/Call.js +1 -1
- package/dist/esm/icons.generated/Chat.js +1 -1
- package/dist/esm/icons.generated/Check.js +1 -1
- package/dist/esm/icons.generated/CheckCircleFilled.js +1 -1
- package/dist/esm/icons.generated/ChevronDown.js +1 -1
- package/dist/esm/icons.generated/ChevronLeft.js +1 -1
- package/dist/esm/icons.generated/ChevronRight.js +1 -1
- package/dist/esm/icons.generated/ChevronUp.js +1 -1
- package/dist/esm/icons.generated/Clock.js +1 -1
- package/dist/esm/icons.generated/Close.js +1 -1
- package/dist/esm/icons.generated/CloseCircleFilled.js +1 -1
- package/dist/esm/icons.generated/CollapseLeft.js +1 -1
- package/dist/esm/icons.generated/CollapseRight.js +1 -1
- package/dist/esm/icons.generated/Copy.js +1 -1
- package/dist/esm/icons.generated/Customizations.js +1 -1
- package/dist/esm/icons.generated/CustomizationsSelected.js +1 -1
- package/dist/esm/icons.generated/DangerDiamond.js +1 -1
- package/dist/esm/icons.generated/DangerDiamondFilled.js +1 -1
- package/dist/esm/icons.generated/Delete.js +1 -1
- package/dist/esm/icons.generated/Deny.js +1 -1
- package/dist/esm/icons.generated/Devices.js +1 -1
- package/dist/esm/icons.generated/Directory.js +1 -1
- package/dist/esm/icons.generated/DirectorySelected.js +1 -1
- package/dist/esm/icons.generated/Documentation.js +1 -1
- package/dist/esm/icons.generated/Download.js +1 -1
- package/dist/esm/icons.generated/DragIndicator.js +1 -1
- package/dist/esm/icons.generated/Edit.js +1 -1
- package/dist/esm/icons.generated/ExpandLeft.js +1 -1
- package/dist/esm/icons.generated/ExpandRight.js +1 -1
- package/dist/esm/icons.generated/ExternalLink.js +1 -1
- package/dist/esm/icons.generated/Filter.js +1 -1
- package/dist/esm/icons.generated/Folder.js +1 -1
- package/dist/esm/icons.generated/Globe.js +1 -1
- package/dist/esm/icons.generated/Grid.js +1 -1
- package/dist/esm/icons.generated/Group.js +1 -1
- package/dist/esm/icons.generated/Happy.js +1 -1
- package/dist/esm/icons.generated/Hide.js +1 -1
- package/dist/esm/icons.generated/Home.js +1 -1
- package/dist/esm/icons.generated/HomeSelected.js +1 -1
- package/dist/esm/icons.generated/IdentityGovernance.js +1 -1
- package/dist/esm/icons.generated/IdentityGovernanceSelected.js +1 -1
- package/dist/esm/icons.generated/InformationCircle.js +1 -1
- package/dist/esm/icons.generated/InformationCircleFilled.js +1 -1
- package/dist/esm/icons.generated/Link.js +1 -1
- package/dist/esm/icons.generated/List.js +1 -1
- package/dist/esm/icons.generated/Lock.js +1 -1
- package/dist/esm/icons.generated/Menu.js +1 -1
- package/dist/esm/icons.generated/More.js +1 -1
- package/dist/esm/icons.generated/Neutral.js +1 -1
- package/dist/esm/icons.generated/Notification.js +1 -1
- package/dist/esm/icons.generated/Pause.js +1 -1
- package/dist/esm/icons.generated/QuestionCircle.js +1 -1
- package/dist/esm/icons.generated/QuestionCircleFilled.js +1 -1
- package/dist/esm/icons.generated/Refresh.js +1 -1
- package/dist/esm/icons.generated/Reports.js +1 -1
- package/dist/esm/icons.generated/ReportsSelected.js +1 -1
- package/dist/esm/icons.generated/Reset.js +1 -1
- package/dist/esm/icons.generated/Resume.js +1 -1
- package/dist/esm/icons.generated/Sad.js +1 -1
- package/dist/esm/icons.generated/Same.js +1 -1
- package/dist/esm/icons.generated/Search.js +1 -1
- package/dist/esm/icons.generated/Security.js +1 -1
- package/dist/esm/icons.generated/SecuritySelected.js +1 -1
- package/dist/esm/icons.generated/Send.js +1 -1
- package/dist/esm/icons.generated/Server.js +1 -1
- package/dist/esm/icons.generated/Settings.js +1 -1
- package/dist/esm/icons.generated/SettingsSelected.js +1 -1
- package/dist/esm/icons.generated/Show.js +1 -1
- package/dist/esm/icons.generated/Sparkle.js +1 -1
- package/dist/esm/icons.generated/Subtract.js +1 -1
- package/dist/esm/icons.generated/Sync.js +1 -1
- package/dist/esm/icons.generated/ThumbsDown.js +1 -1
- package/dist/esm/icons.generated/ThumbsUp.js +1 -1
- package/dist/esm/icons.generated/Unlock.js +1 -1
- package/dist/esm/icons.generated/Upload.js +1 -1
- package/dist/esm/icons.generated/User.js +1 -1
- package/dist/esm/icons.generated/Video.js +1 -1
- package/dist/esm/icons.generated/Warning.js +1 -1
- package/dist/esm/icons.generated/WarningFilled.js +1 -1
- package/dist/esm/icons.generated/Workflows.js +1 -1
- package/dist/esm/icons.generated/WorkflowsSelected.js +1 -1
- package/dist/esm/inputUtils.js.map +1 -1
- package/dist/esm/labs/AppTile.js +1 -1
- package/dist/esm/labs/AppTile.js.map +1 -1
- package/dist/esm/labs/DataFilters.js +2 -2
- package/dist/esm/labs/DataFilters.js.map +1 -1
- package/dist/esm/labs/DataTable.js +1 -1
- package/dist/esm/labs/DataTable.js.map +1 -1
- package/dist/esm/labs/DataTablePagination.js +1 -1
- package/dist/esm/labs/DataView/BulkActionsMenu.js +1 -1
- package/dist/esm/labs/DataView/BulkActionsMenu.js.map +1 -1
- package/dist/esm/labs/DataView/CardLayoutContent.js +2 -2
- package/dist/esm/labs/DataView/CardLayoutContent.js.map +1 -1
- package/dist/esm/labs/DataView/DataCard.js +1 -1
- package/dist/esm/labs/DataView/DataCard.js.map +1 -1
- package/dist/esm/labs/DataView/DataTable.js +1 -1
- package/dist/esm/labs/DataView/DataTable.js.map +1 -1
- package/dist/esm/labs/DataView/DataView.js +1 -1
- package/dist/esm/labs/DataView/DataView.js.map +1 -1
- package/dist/esm/labs/DataView/DetailPanel.js +1 -1
- package/dist/esm/labs/DataView/LayoutSwitcher.js +1 -1
- package/dist/esm/labs/DataView/RowActions.js +1 -1
- package/dist/esm/labs/DataView/RowActions.js.map +1 -1
- package/dist/esm/labs/DataView/TableLayoutContent.js +1 -1
- package/dist/esm/labs/DataView/TableLayoutContent.js.map +1 -1
- package/dist/esm/labs/DataView/TableSettings.js +1 -1
- package/dist/esm/labs/DataView/TableSettings.js.map +1 -1
- package/dist/esm/labs/DataView/componentTypes.js.map +1 -1
- package/dist/esm/labs/DataView/tableConstants.js.map +1 -1
- package/dist/esm/labs/DataView/testSupportData.js.map +1 -1
- package/dist/esm/labs/DataView/useFilterConversion.js.map +1 -1
- package/dist/esm/labs/DatePickers/DateTimeField.js +1 -1
- package/dist/esm/labs/DatePickers/DateTimePicker.js +2 -2
- package/dist/esm/labs/DatePickers/DateTimePicker.js.map +1 -1
- package/dist/esm/labs/DatePickers/dateTimePickerTheme.js +4 -4
- package/dist/esm/labs/DatePickers/dateTimePickerTheme.js.map +1 -1
- package/dist/esm/labs/OdysseyPickers/ComposablePicker.js +1 -1
- package/dist/esm/labs/OdysseyPickers/Picker.js +1 -1
- package/dist/esm/labs/OdysseyPickers/PickerVirtualizationListBox.js +1 -1
- package/dist/esm/labs/OdysseyPickers/PickerVirtualizationListBox.js.map +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/Layout.js.map +1 -1
- package/dist/esm/labs/PageTemplate/PageTemplate.js +1 -1
- package/dist/esm/labs/PaginatedTable.js +1 -1
- package/dist/esm/labs/StaticTable.js +1 -1
- package/dist/esm/labs/UserProfile.js +1 -1
- package/dist/esm/labs/UserProfileMenuButton.js +1 -1
- package/dist/esm/logos.generated/Duo.js +1 -1
- package/dist/esm/logos.generated/GoogleAuth.js +1 -1
- package/dist/esm/logos.generated/OktaVerify.js +1 -1
- package/dist/esm/logos.generated/Persona.js +1 -1
- package/dist/esm/logos.generated/SymantecVip.js +1 -1
- package/dist/esm/logos.generated/Yubikey.js +1 -1
- package/dist/esm/test-utils/appendToSandbox.js.map +1 -1
- package/dist/esm/test-utils/getControlledElement.js.map +1 -1
- package/dist/esm/test-utils/renderWithOdysseyProvider.js.map +1 -1
- package/dist/esm/test-utils/viewportTestSizes.js.map +1 -1
- package/dist/esm/theme/components/Autocomplete.js.map +1 -1
- package/dist/esm/theme/components/Button.js.map +1 -1
- package/dist/esm/theme/components/CircularProgress.js.map +1 -1
- package/dist/esm/theme/components/Drawer.js.map +1 -1
- package/dist/esm/theme/components/Form.js.map +1 -1
- package/dist/esm/theme/components/Input.js.map +1 -1
- package/dist/esm/theme/components/Table.js.map +1 -1
- package/dist/esm/theme/useAppElementContainerQuery.js.map +1 -1
- package/dist/esm/theme/useContainerQuery.js.map +1 -1
- package/dist/esm/theme/useMediaQuery.js.map +1 -1
- package/dist/esm/tools/addSpecificity.js.map +1 -1
- package/dist/esm/tools/createBrowserMessageBus.js +41 -0
- package/dist/esm/tools/createBrowserMessageBus.js.map +1 -0
- 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/NarrowUiShellContent.js.map +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/SideNav.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavFooterContent.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavHeader.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavItemContent.js +2 -2
- package/dist/esm/ui-shell/SideNav/SideNavItemContent.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavItemContentContext.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavItemLinkContent.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavSortableList.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavToggleButton.js +2 -2
- package/dist/esm/ui-shell/SideNav/SideNavToggleButton.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/SortableList/SortableItem.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/SortableList/SortableList.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/SortableList/SortableOverlay.js.map +1 -1
- package/dist/esm/ui-shell/SideNav/types.js.map +1 -1
- package/dist/esm/ui-shell/SkipToContent.js +1 -1
- package/dist/esm/ui-shell/SkipToContent.js.map +1 -1
- package/dist/esm/ui-shell/TopNav/HamburgerMenuIcon.js +1 -1
- package/dist/esm/ui-shell/TopNav/TopNav.js +1 -1
- package/dist/esm/ui-shell/TopNav/TopNavLinksList.js +1 -1
- package/dist/esm/ui-shell/TopNav/TopNavListItem.js +1 -1
- package/dist/esm/ui-shell/TopNav/TopNavListItem.js.map +1 -1
- package/dist/esm/ui-shell/UiShell.js +1 -1
- package/dist/esm/ui-shell/UiShell.js.map +1 -1
- package/dist/esm/ui-shell/UiShellLogo.js +1 -1
- package/dist/esm/ui-shell/UiShellProvider.js.map +1 -1
- package/dist/esm/ui-shell/WideUiShellContent.js +1 -1
- package/dist/esm/ui-shell/renderUiShell.js.map +1 -1
- package/dist/esm/ui-shell/uiShellContentTypes.js.map +1 -1
- package/dist/esm/ui-shell/uiShellSharedConstants.js.map +1 -1
- package/dist/esm/useContrastMode.js.map +1 -1
- package/dist/esm/useStableCallback.js.map +1 -1
- package/dist/esm/useThemeCache.js.map +1 -1
- package/dist/esm/web-component/odysseyWebComponentVersion.generated.js +1 -1
- package/dist/esm/web-component/odysseyWebComponentVersion.generated.js.map +1 -1
- package/dist/esm/web-component/renderReactInWebComponent.js.map +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/dist/types/Accordion.d.ts.map +1 -1
- package/dist/types/Autocomplete.d.ts +5 -17
- package/dist/types/Autocomplete.d.ts.map +1 -1
- package/dist/types/Badge.d.ts.map +1 -1
- package/dist/types/Banner.d.ts.map +1 -1
- package/dist/types/Box.d.ts.map +1 -1
- package/dist/types/Breadcrumbs.d.ts +4 -8
- package/dist/types/Breadcrumbs.d.ts.map +1 -1
- package/dist/types/Buttons/BaseButton.d.ts +2 -6
- package/dist/types/Buttons/BaseButton.d.ts.map +1 -1
- package/dist/types/Buttons/BaseMenuButton.d.ts +1 -2
- package/dist/types/Buttons/BaseMenuButton.d.ts.map +1 -1
- package/dist/types/Buttons/Button.d.ts.map +1 -1
- package/dist/types/Buttons/MenuButton.d.ts.map +1 -1
- package/dist/types/Buttons/MenuItem.d.ts.map +1 -1
- package/dist/types/Callout.d.ts.map +1 -1
- package/dist/types/Card.d.ts.map +1 -1
- package/dist/types/CircularProgress.d.ts +1 -2
- package/dist/types/CircularProgress.d.ts.map +1 -1
- package/dist/types/ConditionalWrapper.d.ts +1 -2
- package/dist/types/ConditionalWrapper.d.ts.map +1 -1
- package/dist/types/CssBaseline.d.ts +1 -2
- package/dist/types/CssBaseline.d.ts.map +1 -1
- package/dist/types/DataTable/DataTable.d.ts +9 -19
- package/dist/types/DataTable/DataTable.d.ts.map +1 -1
- package/dist/types/DataTable/useRowReordering.d.ts.map +1 -1
- package/dist/types/DatePickers/DatePicker.d.ts.map +1 -1
- package/dist/types/DatePickers/TimeZonePicker.d.ts +1 -2
- package/dist/types/DatePickers/TimeZonePicker.d.ts.map +1 -1
- package/dist/types/DatePickers/datePickerTheme.d.ts.map +1 -1
- package/dist/types/DatePickers/useOdysseyDateFields.d.ts +4 -8
- package/dist/types/DatePickers/useOdysseyDateFields.d.ts.map +1 -1
- package/dist/types/Dialog.d.ts +5 -10
- package/dist/types/Dialog.d.ts.map +1 -1
- package/dist/types/Drawer.d.ts +4 -9
- package/dist/types/Drawer.d.ts.map +1 -1
- package/dist/types/EmptyState.d.ts.map +1 -1
- package/dist/types/Fields/Checkbox.d.ts.map +1 -1
- package/dist/types/Fields/CheckboxGroup.d.ts.map +1 -1
- package/dist/types/Fields/Hint.d.ts.map +1 -1
- package/dist/types/Fields/RadioGroup.d.ts.map +1 -1
- package/dist/types/Fieldset.d.ts.map +1 -1
- package/dist/types/FileUploader/FileUploader.d.ts +2 -4
- package/dist/types/FileUploader/FileUploader.d.ts.map +1 -1
- package/dist/types/Form.d.ts +6 -13
- package/dist/types/Form.d.ts.map +1 -1
- package/dist/types/FormCheckedProps.d.ts +4 -8
- package/dist/types/FormCheckedProps.d.ts.map +1 -1
- package/dist/types/IconWithTooltip.d.ts.map +1 -1
- package/dist/types/Link.d.ts.map +1 -1
- package/dist/types/NativeSelect.d.ts +2 -4
- package/dist/types/NativeSelect.d.ts.map +1 -1
- package/dist/types/OdysseyCacheProvider.d.ts +5 -11
- package/dist/types/OdysseyCacheProvider.d.ts.map +1 -1
- package/dist/types/OdysseyDesignTokensContext.d.ts.map +1 -1
- package/dist/types/OdysseyProvider.d.ts +1 -2
- package/dist/types/OdysseyProvider.d.ts.map +1 -1
- package/dist/types/OdysseyThemeProvider.d.ts +1 -2
- package/dist/types/OdysseyThemeProvider.d.ts.map +1 -1
- package/dist/types/Pagination/Pagination.d.ts +1 -2
- package/dist/types/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/PasswordField.d.ts +2 -14
- package/dist/types/PasswordField.d.ts.map +1 -1
- package/dist/types/ScreenReaderText.d.ts +1 -2
- package/dist/types/ScreenReaderText.d.ts.map +1 -1
- package/dist/types/SearchField.d.ts +2 -4
- package/dist/types/SearchField.d.ts.map +1 -1
- package/dist/types/Select.d.ts.map +1 -1
- package/dist/types/Stack.d.ts.map +1 -1
- package/dist/types/Status.d.ts.map +1 -1
- package/dist/types/Surface.d.ts.map +1 -1
- package/dist/types/Switch.d.ts.map +1 -1
- package/dist/types/Tabs.d.ts +1 -2
- package/dist/types/Tabs.d.ts.map +1 -1
- package/dist/types/Tag.d.ts.map +1 -1
- package/dist/types/TagList.d.ts.map +1 -1
- package/dist/types/TextField.d.ts +6 -12
- package/dist/types/TextField.d.ts.map +1 -1
- package/dist/types/Toast.d.ts +2 -4
- package/dist/types/Toast.d.ts.map +1 -1
- package/dist/types/ToastStack.d.ts.map +1 -1
- package/dist/types/Tooltip.d.ts.map +1 -1
- package/dist/types/Typography.d.ts +3 -6
- package/dist/types/Typography.d.ts.map +1 -1
- package/dist/types/__internal.d.ts +1 -2
- package/dist/types/__internal.d.ts.map +1 -1
- package/dist/types/charts/BarChart.d.ts +1 -3
- package/dist/types/charts/BarChart.d.ts.map +1 -1
- package/dist/types/charts/LineChart.d.ts +1 -3
- package/dist/types/charts/LineChart.d.ts.map +1 -1
- package/dist/types/charts/components/ChartContainer.d.ts +1 -3
- package/dist/types/charts/components/ChartContainer.d.ts.map +1 -1
- package/dist/types/charts/components/ChartError.d.ts +1 -3
- package/dist/types/charts/components/ChartError.d.ts.map +1 -1
- package/dist/types/charts/components/ChartFrame.d.ts +7 -16
- package/dist/types/charts/components/ChartFrame.d.ts.map +1 -1
- package/dist/types/charts/components/ChartPopoverContent.d.ts +14 -36
- package/dist/types/charts/components/ChartPopoverContent.d.ts.map +1 -1
- package/dist/types/charts/utils/chartTokens.d.ts +7 -25
- package/dist/types/charts/utils/chartTokens.d.ts.map +1 -1
- package/dist/types/charts/utils/chartTypes.d.ts +21 -55
- package/dist/types/charts/utils/chartTypes.d.ts.map +1 -1
- package/dist/types/charts/utils/formatChartValue.d.ts +7 -28
- package/dist/types/charts/utils/formatChartValue.d.ts.map +1 -1
- package/dist/types/charts/utils/getChartSeriesPointData.d.ts +5 -16
- package/dist/types/charts/utils/getChartSeriesPointData.d.ts.map +1 -1
- package/dist/types/charts/utils/hasDuplicateSeries.d.ts +1 -3
- package/dist/types/charts/utils/hasDuplicateSeries.d.ts.map +1 -1
- package/dist/types/charts/utils/resolveChartLocale.d.ts +3 -11
- package/dist/types/charts/utils/resolveChartLocale.d.ts.map +1 -1
- package/dist/types/charts/utils/useChartValueFormatter.d.ts +3 -10
- package/dist/types/charts/utils/useChartValueFormatter.d.ts.map +1 -1
- package/dist/types/charts/utils/useStableValue.d.ts +3 -12
- package/dist/types/charts/utils/useStableValue.d.ts.map +1 -1
- package/dist/types/createContrastColors.d.ts.map +1 -1
- package/dist/types/createOdysseyStyledComponent.d.ts +1 -3
- package/dist/types/createOdysseyStyledComponent.d.ts.map +1 -1
- package/dist/types/getLogicalBoundaries.d.ts +1 -2
- package/dist/types/getLogicalBoundaries.d.ts.map +1 -1
- package/dist/types/inputUtils.d.ts +2 -4
- package/dist/types/inputUtils.d.ts.map +1 -1
- package/dist/types/labs/AppTile.d.ts.map +1 -1
- package/dist/types/labs/DataFilters.d.ts +9 -20
- package/dist/types/labs/DataFilters.d.ts.map +1 -1
- package/dist/types/labs/DataTable.d.ts +10 -21
- package/dist/types/labs/DataTable.d.ts.map +1 -1
- package/dist/types/labs/DataView/BulkActionsMenu.d.ts.map +1 -1
- package/dist/types/labs/DataView/CardLayoutContent.d.ts +1 -1
- package/dist/types/labs/DataView/CardLayoutContent.d.ts.map +1 -1
- package/dist/types/labs/DataView/DataCard.d.ts +1 -2
- package/dist/types/labs/DataView/DataCard.d.ts.map +1 -1
- package/dist/types/labs/DataView/DataTable.d.ts +1 -0
- package/dist/types/labs/DataView/DataTable.d.ts.map +1 -1
- package/dist/types/labs/DataView/DataView.d.ts +1 -0
- package/dist/types/labs/DataView/DataView.d.ts.map +1 -1
- package/dist/types/labs/DataView/RowActions.d.ts.map +1 -1
- package/dist/types/labs/DataView/TableLayoutContent.d.ts +1 -1
- package/dist/types/labs/DataView/TableLayoutContent.d.ts.map +1 -1
- package/dist/types/labs/DataView/TableSettings.d.ts +1 -1
- package/dist/types/labs/DataView/TableSettings.d.ts.map +1 -1
- package/dist/types/labs/DataView/componentTypes.d.ts +4 -13
- package/dist/types/labs/DataView/componentTypes.d.ts.map +1 -1
- package/dist/types/labs/DataView/tableConstants.d.ts.map +1 -1
- package/dist/types/labs/DataView/testSupportData.d.ts.map +1 -1
- package/dist/types/labs/DataView/useFilterConversion.d.ts.map +1 -1
- package/dist/types/labs/OdysseyPickers/PickerVirtualizationListBox.d.ts.map +1 -1
- package/dist/types/labs/PageTemplate/Layout.d.ts +1 -2
- package/dist/types/labs/PageTemplate/Layout.d.ts.map +1 -1
- package/dist/types/test-utils/appendToSandbox.d.ts +3 -16
- package/dist/types/test-utils/appendToSandbox.d.ts.map +1 -1
- package/dist/types/test-utils/getControlledElement.d.ts +1 -2
- package/dist/types/test-utils/getControlledElement.d.ts.map +1 -1
- package/dist/types/test-utils/renderWithOdysseyProvider.d.ts.map +1 -1
- package/dist/types/test-utils/viewportTestSizes.d.ts.map +1 -1
- package/dist/types/theme/components/Autocomplete.d.ts.map +1 -1
- package/dist/types/theme/components/Button.d.ts.map +1 -1
- package/dist/types/theme/components/CircularProgress.d.ts.map +1 -1
- package/dist/types/theme/components/Drawer.d.ts.map +1 -1
- package/dist/types/theme/components/Form.d.ts.map +1 -1
- package/dist/types/theme/components/Input.d.ts.map +1 -1
- package/dist/types/theme/components/Table.d.ts.map +1 -1
- package/dist/types/theme/useAppElementContainerQuery.d.ts +1 -7
- package/dist/types/theme/useAppElementContainerQuery.d.ts.map +1 -1
- package/dist/types/theme/useContainerQuery.d.ts +2 -8
- package/dist/types/theme/useContainerQuery.d.ts.map +1 -1
- package/dist/types/theme/useMediaQuery.d.ts +12 -38
- package/dist/types/theme/useMediaQuery.d.ts.map +1 -1
- package/dist/types/tools/addSpecificity.d.ts +1 -2
- package/dist/types/tools/addSpecificity.d.ts.map +1 -1
- package/dist/types/tools/createBrowserMessageBus.d.ts +45 -0
- package/dist/types/tools/createBrowserMessageBus.d.ts.map +1 -0
- package/dist/types/ui-shell/NarrowUiShellContent.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/SideNav.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/SideNavItemContent.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/SideNavItemContentContext.d.ts +1 -3
- package/dist/types/ui-shell/SideNav/SideNavItemContentContext.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/SideNavToggleButton.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 +1 -3
- package/dist/types/ui-shell/SideNav/SortableList/SortableList.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/SortableList/SortableOverlay.d.ts.map +1 -1
- package/dist/types/ui-shell/SideNav/types.d.ts +6 -13
- package/dist/types/ui-shell/SideNav/types.d.ts.map +1 -1
- package/dist/types/ui-shell/SkipToContent.d.ts.map +1 -1
- package/dist/types/ui-shell/TopNav/TopNavListItem.d.ts +1 -2
- package/dist/types/ui-shell/TopNav/TopNavListItem.d.ts.map +1 -1
- package/dist/types/ui-shell/UiShell.d.ts +4 -8
- package/dist/types/ui-shell/UiShell.d.ts.map +1 -1
- package/dist/types/ui-shell/UiShellProvider.d.ts +2 -4
- package/dist/types/ui-shell/UiShellProvider.d.ts.map +1 -1
- package/dist/types/ui-shell/renderUiShell.d.ts +2 -5
- package/dist/types/ui-shell/renderUiShell.d.ts.map +1 -1
- package/dist/types/ui-shell/uiShellContentTypes.d.ts +1 -2
- package/dist/types/ui-shell/uiShellContentTypes.d.ts.map +1 -1
- package/dist/types/ui-shell/uiShellSharedConstants.d.ts.map +1 -1
- package/dist/types/useContrastMode.d.ts +2 -7
- package/dist/types/useContrastMode.d.ts.map +1 -1
- package/dist/types/useStableCallback.d.ts +5 -16
- package/dist/types/useStableCallback.d.ts.map +1 -1
- package/dist/types/useThemeCache.d.ts.map +1 -1
- package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
- package/dist/types/web-component/renderReactInWebComponent.d.ts +6 -12
- package/dist/types/web-component/renderReactInWebComponent.d.ts.map +1 -1
- package/package.json +9 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__internal.cjs","names":["_Field","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_HtmlProps","_inputUtils","_Badge","_BaseButton","_BaseMenuButton","_ConditionalWrapper","_useRowReordering","_useScrollIndication","_DateField","_DateFieldActionBar","_DateFieldLocalizationProvider","_FileUploader","_FileUploadIllustration","_FileUploadPreview","_FullScreenOverlay","_FullScreenOverlayContext","_DataFilters","_BulkActionsMenu","_CardLayoutContent","_constants","_DataCard","_fetchData","_LayoutSwitcher","_RowActions","_tableConstants","_TableLayoutContent","_TableSettings","_testSupportData","_useFilterConversion","_ComposablePicker","_MuiPropsChild","_MuiPropsContext","_OdysseyDesignTokensContext","_SearchField","_createMessageBus","_createReactRootElements"],"sources":["../../src/__internal.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\n/**\n * Internal exports for all components, utilities, and types.\n * This module provides access to internal/unexported items for advanced use cases.\n * These exports are not part of the stable public API and may change without notice.\n */\n\nexport * from \"./Field.js\";\nexport * from \"./HtmlProps.js\";\nexport * from \"./inputUtils.js\";\n\n// Badge\nexport * from \"./Badge.js\";\n// Buttons\nexport * from \"./Buttons/BaseButton.js\";\nexport * from \"./Buttons/BaseMenuButton.js\";\n// ConditionalWrapper\nexport * from \"./ConditionalWrapper.js\";\n// DataView & DataTable\nexport * from \"./DataTable/useRowReordering.js\";\nexport * from \"./DataTable/useScrollIndication.js\";\n// DatePickers\nexport * from \"./DatePickers/DateField.js\";\nexport * from \"./DatePickers/DateFieldActionBar.js\";\nexport * from \"./DatePickers/DateFieldLocalizationProvider.js\";\n// FileUploader\nexport * from \"./FileUploader/FileUploader.js\";\nexport * from \"./FileUploader/FileUploadIllustration.js\";\nexport * from \"./FileUploader/FileUploadPreview.js\";\n// FullScreenOverlay\nexport * from \"./FullScreenOverlay.js\";\nexport * from \"./FullScreenOverlayContext.js\";\n// Miscellaneous Labs\nexport * from \"./labs/DataFilters.js\";\nexport * from \"./labs/DataView/BulkActionsMenu.js\";\nexport * from \"./labs/DataView/CardLayoutContent.js\";\nexport * from \"./labs/DataView/constants.js\";\nexport * from \"./labs/DataView/DataCard.js\";\nexport * from \"./labs/DataView/fetchData.js\";\nexport * from \"./labs/DataView/LayoutSwitcher.js\";\nexport * from \"./labs/DataView/RowActions.js\";\nexport * from \"./labs/DataView/tableConstants.js\";\nexport * from \"./labs/DataView/TableLayoutContent.js\";\nexport * from \"./labs/DataView/TableSettings.js\";\nexport * from \"./labs/DataView/testSupportData.js\";\nexport * from \"./labs/DataView/useFilterConversion.js\";\n// Odyssey Pickers\nexport * from \"./labs/OdysseyPickers/ComposablePicker.js\";\n// MuiProps\n// Exported so a component outside this package can be the child of Odyssey's\n// Tooltip: Tooltip wraps its child in MuiPropsChild, which puts MUI's injected\n// hover/focus props and ref into context, and the child has to call useMuiProps\n// to receive them.\nexport * from \"./MuiPropsChild.js\";\nexport * from \"./MuiPropsContext.js\";\n// OdysseyDesignTokensContext\nexport * from \"./OdysseyDesignTokensContext.js\";\n// SearchField\nexport * from \"./SearchField.js\";\nexport * from \"./tools/createMessageBus.js\";\nexport * from \"./web-component/createReactRootElements.js\";\n"],"mappings":";;;;;AAkBA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAA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Object","keys","forEach","key","exports","defineProperty","enumerable","get","_HtmlProps","_inputUtils","_Badge","_BaseButton","_BaseMenuButton","_ConditionalWrapper","_useRowReordering","_useScrollIndication","_DateField","_DateFieldActionBar","_DateFieldLocalizationProvider","_FileUploader","_FileUploadIllustration","_FileUploadPreview","_FullScreenOverlay","_FullScreenOverlayContext","_DataFilters","_BulkActionsMenu","_CardLayoutContent","_constants","_DataCard","_fetchData","_LayoutSwitcher","_RowActions","_tableConstants","_TableLayoutContent","_TableSettings","_testSupportData","_useFilterConversion","_ComposablePicker","_MuiPropsChild","_MuiPropsContext","_OdysseyDesignTokensContext","_SearchField","_createMessageBus","_createReactRootElements"],"sources":["../../src/__internal.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\n/**\n * Internal exports for all components, utilities, and types.\n * This module provides access to internal/unexported items for advanced use cases. These exports are not part of the stable public API and may change without notice.\n */\n\nexport * from \"./Field.js\";\nexport * from \"./HtmlProps.js\";\nexport * from \"./inputUtils.js\";\n\n// Badge\nexport * from \"./Badge.js\";\n// Buttons\nexport * from \"./Buttons/BaseButton.js\";\nexport * from \"./Buttons/BaseMenuButton.js\";\n// ConditionalWrapper\nexport * from \"./ConditionalWrapper.js\";\n// DataView & DataTable\nexport * from \"./DataTable/useRowReordering.js\";\nexport * from \"./DataTable/useScrollIndication.js\";\n// DatePickers\nexport * from \"./DatePickers/DateField.js\";\nexport * from \"./DatePickers/DateFieldActionBar.js\";\nexport * from \"./DatePickers/DateFieldLocalizationProvider.js\";\n// FileUploader\nexport * from \"./FileUploader/FileUploader.js\";\nexport * from \"./FileUploader/FileUploadIllustration.js\";\nexport * from \"./FileUploader/FileUploadPreview.js\";\n// FullScreenOverlay\nexport * from \"./FullScreenOverlay.js\";\nexport * from \"./FullScreenOverlayContext.js\";\n// Miscellaneous Labs\nexport * from \"./labs/DataFilters.js\";\nexport * from \"./labs/DataView/BulkActionsMenu.js\";\nexport * from \"./labs/DataView/CardLayoutContent.js\";\nexport * from \"./labs/DataView/constants.js\";\nexport * from \"./labs/DataView/DataCard.js\";\nexport * from \"./labs/DataView/fetchData.js\";\nexport * from \"./labs/DataView/LayoutSwitcher.js\";\nexport * from \"./labs/DataView/RowActions.js\";\nexport * from \"./labs/DataView/tableConstants.js\";\nexport * from \"./labs/DataView/TableLayoutContent.js\";\nexport * from \"./labs/DataView/TableSettings.js\";\nexport * from \"./labs/DataView/testSupportData.js\";\nexport * from \"./labs/DataView/useFilterConversion.js\";\n// Odyssey Pickers\nexport * from \"./labs/OdysseyPickers/ComposablePicker.js\";\n// MuiProps\n// Exported so a component outside this package can be the child of Odyssey's Tooltip: Tooltip wraps its child in MuiPropsChild, which puts MUI's injected hover/focus props and ref into context, and the child has to call useMuiProps to receive them.\nexport * from \"./MuiPropsChild.js\";\nexport * from \"./MuiPropsContext.js\";\n// OdysseyDesignTokensContext\nexport * from \"./OdysseyDesignTokensContext.js\";\n// SearchField\nexport * from \"./SearchField.js\";\nexport * from \"./tools/createMessageBus.js\";\nexport * from \"./web-component/createReactRootElements.js\";\n"],"mappings":";;;;;AAiBA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAA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EAAAvC,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAsC,YAAA,CAAAtC,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAkC,YAAA,CAAAtC,GAAA;IAAA;EAAA;AAAA;AACA,IAAAuC,iBAAA,GAAA3C,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAyC,iBAAA,EAAAxC,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAuC,iBAAA,CAAAvC,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAmC,iBAAA,CAAAvC,GAAA;IAAA;EAAA;AAAA;AACA,IAAAwC,wBAAA,GAAA5C,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAA0C,wBAAA,EAAAzC,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAwC,wBAAA,CAAAxC,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAoC,wBAAA,CAAAxC,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -219,5 +219,5 @@ const BarChart = props => {
|
|
|
219
219
|
});
|
|
220
220
|
};
|
|
221
221
|
const MemoizedBarChart = exports.BarChart = (0, _react2.memo)(BarChart);
|
|
222
|
-
MemoizedBarChart.displayName = "BarChart::pkg=odyssey&odysseyV=1.
|
|
222
|
+
MemoizedBarChart.displayName = "BarChart::pkg=odyssey&odysseyV=1.71.0";
|
|
223
223
|
//# sourceMappingURL=BarChart.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BarChart.cjs","names":["_react","require","_Accessibility","_Bar","_react2","_useStableCallback","_ChartContainer","_ChartFrame","_ChartPopoverContent","_useChartAnimation","_chartTokens","_getChartSeriesPointData","_hasDuplicateSeries","_useChartValueFormatter","_useStableValue","_jsxRuntime","BarChartContent","ariaDescription","categories","onPointClick","pointPopoverValueFormat","series","xAxisFormat","xAxisLabel","yAxisLabel","chartTokens","useChartTokens","formatValue","useChartValueFormatter","hasDuplicateSeries","Error","animation","useChartAnimation","seriesList","useMemo","map","chartSeries","pointData","getChartSeriesPointData","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","jsx","ChartContainer","children","jsxs","Chart","type","Accessibility","description","landmarkVerbosity","XAxis","crosshair","gridLineColor","lineColor","gridLineWidth","labels","tickColor","tickLength","YAxis","Legend","legend","shared","default","Tooltip","popover","borderColor","padding","shadow","containerStyle","ChartPopoverContent","categoryPlaceholder","isShared","seriesLabelPlaceholder","valuePlaceholder","PlotOptions","Credits","BarSeries","data","name","MemoizedBarChartContent","memo","BarChart","props","stableOnPointClick","useStableCallback","stableOnRetry","onRetry","hasError","isLoading","chartProps","stableChartProps","useStableValue","ChartFrame","MemoizedBarChart","exports","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\n * numeric values on that axis. If no preset gives the format that you need,\n * 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.\n // Highcharts registers a new click handler for a point whenever the\n // identity of that point's data changes. Without this memo, every render\n // would build new data, so Highcharts would tear down and re-register its\n // handlers even when nothing changed.\n //\n // This memo works because BarChart passes its props through\n // useStableValue. That hook keeps `series` at the same identity across a\n // render that does not change the data, so this memo does not rerun.\n // BarChart also passes `onPointClick` through useStableCallback, so an\n // inline handler from the caller keeps the same identity here.\n //\n // useStableValue compares a function by identity, not by what the function\n // does. `pointPopoverValueFormat` accepts a function, and this memo formats\n // each value at build time. So a caller that supplies a new function on\n // every render for that property still defeats this memo. Such a caller\n // 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\n // order of `seriesColors`, in `chartTokens.ts`, changes the color of every\n // series.\n colors: chartTokens.seriesColors,\n // The chart library ships a default title text of \"Chart title\". Its\n // documented way to disable a title is a `text` of undefined, which draws\n // an empty text element that measures zero and so reserves no height. A\n // whole `title` of undefined does not work, because the React wrapper\n // 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\n// memo then stops a render of the caller from reaching the children of\n// `Chart`. A new child identity forces Highcharts to rebuild and redraw the\n// whole chart.\nconst MemoizedBarChartContent = memo(BarChartContent);\n\n/**\n * Renders a horizontal bar chart that gets its theme from Odyssey design\n * tokens. The chart plots each series against the shared `categories` of the\n * chart. Each value in a series lines up by index with a category, so a\n * series and `categories` must have the same length. If a value is `null`,\n * the chart draws a gap at that category, and not a bar with a value of\n * zero.\n */\nconst BarChart = (props: BarChartProps) => {\n // Highcharts rebuilds and redraws the whole chart when the identity of any\n // React child changes. A caller that builds the `series` array inside its\n // own render creates a new array on every render. That new array would\n // reach every child below this point.\n //\n // useStableValue holds one chart props object while its contents stay the same,\n // so `MemoizedBarChartContent` keeps the same children across those\n // renders.\n //\n // useStableValue cannot hold `onPointClick`, because it compares a function\n // by identity. An inline handler therefore arrives with a new identity on\n // each render of the caller, and every memo below misses. useStableCallback\n // wraps that handler in one callback of its own that keeps the same\n // 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\n // nothing. The chart attaches a click listener to a point as soon as it\n // finds one, so a chart with no `onPointClick` must pass nothing at all.\n // The condition below keeps that behavior, and returns the one stable\n // 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":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AASA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,IAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAKA,IAAAI,kBAAA,GAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AACA,IAAAO,oBAAA,GAAAP,OAAA;AACA,IAAAQ,kBAAA,GAAAR,OAAA;AACA,IAAAS,YAAA,GAAAT,OAAA;AACA,IAAAU,wBAAA,GAAAV,OAAA;AACA,IAAAW,mBAAA,GAAAX,OAAA;AACA,IAAAY,uBAAA,GAAAZ,OAAA;AACA,IAAAa,eAAA,GAAAb,OAAA;AAA2D,IAAAc,WAAA,GAAAd,OAAA;AArC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAwCA,MAAMe,eAAe,GAAG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CAAiB,EAACF,KAAK,CAACI,OAAO,CAAC;EACtD,MAAM;IAAEC,QAAQ;IAAEC,SAAS;IAAEF,OAAO;IAAEtF,QAAQ;IAAEG,KAAK;IAAE,GAAGsF;EAAW,CAAC,GACpEP,KAAK;EACP,MAAMQ,gBAAgB,GAAG,IAAAC,8BAAc,EAAC;IACtC,GAAGF,UAAU;IACb5H,YAAY,EAAEqH,KAAK,CAACrH,YAAY,GAAGsH,kBAAkB,GAAGjF;EAC1D,CAAC,CAAC;EAEF,OACE,IAAAzC,WAAA,CAAAgF,GAAA,EAACxF,WAAA,CAAA2I,UAAU;IACTL,QAAQ,EAAEA,QAAS;IACnBC,SAAS,EAAEA,SAAU;IACrBF,OAAO,EAAEA,OAAO,GAAGD,aAAa,GAAGnF,SAAU;IAC7CF,QAAQ,EAAEA,QAAS;IACnBG,KAAK,EAAEA,KAAM;IAAAwC,QAAA,EAEb,IAAAlF,WAAA,CAAAgF,GAAA,EAACsC,uBAAuB;MAAA,GAAKW;IAAgB,CAAG;EAAC,CACvC,CAAC;AAEjB,CAAC;AAED,MAAMG,gBAAgB,GAAAC,OAAA,CAAAb,QAAA,GAAG,IAAAD,YAAI,EAACC,QAAQ,CAAC;AACvCY,gBAAgB,CAACE,WAAW,0CAAa","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"BarChart.cjs","names":["_react","require","_Accessibility","_Bar","_react2","_useStableCallback","_ChartContainer","_ChartFrame","_ChartPopoverContent","_useChartAnimation","_chartTokens","_getChartSeriesPointData","_hasDuplicateSeries","_useChartValueFormatter","_useStableValue","_jsxRuntime","BarChartContent","ariaDescription","categories","onPointClick","pointPopoverValueFormat","series","xAxisFormat","xAxisLabel","yAxisLabel","chartTokens","useChartTokens","formatValue","useChartValueFormatter","hasDuplicateSeries","Error","animation","useChartAnimation","seriesList","useMemo","map","chartSeries","pointData","getChartSeriesPointData","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","jsx","ChartContainer","children","jsxs","Chart","type","Accessibility","description","landmarkVerbosity","XAxis","crosshair","gridLineColor","lineColor","gridLineWidth","labels","tickColor","tickLength","YAxis","Legend","legend","shared","default","Tooltip","popover","borderColor","padding","shadow","containerStyle","ChartPopoverContent","categoryPlaceholder","isShared","seriesLabelPlaceholder","valuePlaceholder","PlotOptions","Credits","BarSeries","data","name","MemoizedBarChartContent","memo","BarChart","props","stableOnPointClick","useStableCallback","stableOnRetry","onRetry","hasError","isLoading","chartProps","stableChartProps","useStableValue","ChartFrame","MemoizedBarChart","exports","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":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AASA,IAAAC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AAG,IAAAD,YAAI,EAACC,QAAQ,CAAC;AACvCY,gBAAgB,CAACE,WAAW,0CAAa","ignoreList":[]}
|
|
@@ -238,5 +238,5 @@ const LineChart = props => {
|
|
|
238
238
|
});
|
|
239
239
|
};
|
|
240
240
|
const MemoizedLineChart = exports.LineChart = (0, _react2.memo)(LineChart);
|
|
241
|
-
MemoizedLineChart.displayName = "LineChart::pkg=odyssey&odysseyV=1.
|
|
241
|
+
MemoizedLineChart.displayName = "LineChart::pkg=odyssey&odysseyV=1.71.0";
|
|
242
242
|
//# sourceMappingURL=LineChart.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineChart.cjs","names":["_react","require","_Accessibility","_Line","_react2","_useStableCallback","_ChartContainer","_ChartFrame","_ChartPopoverContent","_useChartAnimation","_chartTokens","_getChartSeriesPointData","_hasDuplicateSeries","_useChartValueFormatter","_useStableValue","_jsxRuntime","LINE_SERIES_MARKER_SYMBOLS","LineChartContent","ariaDescription","categories","onPointClick","pointPopoverValueFormat","series","xAxisLabel","yAxisFormat","yAxisLabel","chartTokens","useChartTokens","formatValue","useChartValueFormatter","hasDuplicateSeries","Error","animation","useChartAnimation","seriesList","useMemo","map","chartSeries","pointData","getChartSeriesPointData","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","crosshairColor","crosshairWidth","xAxisLabels","valueStyle","xAxisTitle","align","uprightLabelSpacing","labelStyle","yAxisLabels","formatter","context","format","value","Number","yAxisTitle","rotatedLabelSpacing","seriesIndicator","symbols","type","linePlotOptions","dataLabels","enabled","line","strokeWidth","marker","markerRadius","states","hover","lineWidthPlus","markerHoverRadius","halo","opacity","markerHoverHaloOpacity","size","markerHoverHaloRadius","hoverStrokeWidthPlus","seriesPlotOptions","jsx","ChartContainer","children","jsxs","Chart","Accessibility","description","landmarkVerbosity","XAxis","crosshair","gridLineColor","lineColor","gridLineWidth","labels","tickColor","tickLength","YAxis","Legend","legend","shared","Tooltip","popover","borderColor","borderWidth","padding","shadow","containerStyle","ChartPopoverContent","categoryPlaceholder","isShared","seriesLabelPlaceholder","valuePlaceholder","PlotOptions","Credits","LineSeries","data","name","MemoizedLineChartContent","memo","LineChart","props","stableOnPointClick","useStableCallback","stableOnRetry","onRetry","hasError","isLoading","chartProps","stableChartProps","useStableValue","ChartFrame","MemoizedLineChart","exports","displayName"],"sources":["../../../src/charts/LineChart.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 { LineSeries } from \"@highcharts/react/series/Line.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 {\n type ChartMarkerSymbol,\n ChartPopoverContent,\n} 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 Highcharts default marker symbols, in the order that Highcharts gives\n// them to the series of a chart. The chart draws these markers itself. This\n// list exists so that the popover can draw the same marker next to the name of\n// a series, and the popover selects one entry by `series.symbolIndex`.\n//\n// A change to this order, a Highcharts release that changes its own default\n// list, or a `marker.symbol` set on a series all make the popover show the\n// wrong shape.\nconst LINE_SERIES_MARKER_SYMBOLS = [\n \"circle\",\n \"diamond\",\n \"square\",\n \"triangle\",\n \"triangleDown\",\n] as const satisfies readonly ChartMarkerSymbol[];\n\n/** The props for a line chart. */\nexport type LineChartProps = CartesianChartProps & {\n /**\n * The format for the values on the vertical axis. A line chart shows its\n * numeric values on that axis. If no preset gives the format that you need,\n * supply a function.\n * @default \"compact\"\n */\n yAxisFormat?: ChartValueFormat;\n};\n\nconst LineChartContent = ({\n ariaDescription,\n categories,\n onPointClick,\n pointPopoverValueFormat,\n series,\n xAxisLabel,\n yAxisFormat = \"compact\",\n yAxisLabel,\n}: LineChartProps) => {\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.\n // Highcharts registers a new click handler for a point whenever the\n // identity of that point's data changes. Without this memo, every render\n // would build new data, so Highcharts would tear down and re-register its\n // handlers even when nothing changed.\n //\n // This memo works because LineChart passes its props through\n // useStableValue. That hook keeps `series` at the same identity across a\n // render that does not change the data, so this memo does not rerun.\n // LineChart also passes `onPointClick` through useStableCallback, so an\n // inline handler from the caller keeps the same identity here.\n //\n // useStableValue compares a function by identity, not by what the function\n // does. `pointPopoverValueFormat` accepts a function, and this memo formats\n // each value at build time. So a caller that supplies a new function on\n // every render for that property still defeats this memo. Such a caller\n // 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 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\n // order of `seriesColors`, in `chartTokens.ts`, changes the color of every\n // series.\n colors: chartTokens.seriesColors,\n // The chart library ships a default title text of \"Chart title\". Its\n // documented way to disable a title is a `text` of undefined, which draws\n // an empty text element that measures zero and so reserves no height. A\n // whole `title` of undefined does not work, because the React wrapper\n // 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.crosshairColor,\n width: chartTokens.axis.crosshairWidth,\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 margin: chartTokens.axis.uprightLabelSpacing,\n style: chartTokens.axis.labelStyle,\n text: xAxisLabel,\n }),\n [chartTokens, xAxisLabel],\n );\n const yAxisLabels = useMemo(\n () => ({\n formatter: (context: { value: unknown }) =>\n formatValue({\n format: yAxisFormat,\n value: Number(context.value),\n }),\n style: chartTokens.axis.valueStyle,\n }),\n [chartTokens, formatValue, yAxisFormat],\n );\n const yAxisTitle = useMemo(\n () => ({\n align: \"middle\" as const,\n // This axis draws up 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 seriesIndicator = useMemo(\n () => ({\n symbols: LINE_SERIES_MARKER_SYMBOLS,\n type: \"lineMarker\" as const,\n }),\n [],\n );\n const linePlotOptions = useMemo(\n () => ({\n dataLabels: { enabled: false },\n lineWidth: chartTokens.line.strokeWidth,\n marker: {\n lineWidth: 0,\n radius: chartTokens.line.markerRadius,\n states: {\n hover: {\n lineWidthPlus: 0,\n radius: chartTokens.line.markerHoverRadius,\n },\n },\n },\n states: {\n hover: {\n halo: {\n opacity: chartTokens.line.markerHoverHaloOpacity,\n size: chartTokens.line.markerHoverHaloRadius,\n },\n lineWidthPlus: chartTokens.line.hoverStrokeWidthPlus,\n },\n },\n }),\n [chartTokens],\n );\n const seriesPlotOptions = useMemo(() => ({ animation }), [animation]);\n\n return (\n <ChartContainer>\n <Chart options={options} type=\"line\">\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.line}\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 seriesIndicator={seriesIndicator}\n seriesLabelPlaceholder=\"{series.name}\"\n valuePlaceholder=\"{point.custom.formattedValue}\"\n />\n </Popover>\n <PlotOptions line={linePlotOptions} series={seriesPlotOptions} />\n <Credits enabled={false} />\n {seriesList.map(({ chartSeries, pointData }) => (\n <LineSeries\n data={pointData}\n key={chartSeries.name}\n name={chartSeries.name}\n />\n ))}\n </Chart>\n </ChartContainer>\n );\n};\n\n// `LineChart` passes props that keep the same identity across a render. This\n// memo then stops a render of the caller from reaching the children of\n// `Chart`. A new child identity forces Highcharts to rebuild and redraw the\n// whole chart.\nconst MemoizedLineChartContent = memo(LineChartContent);\n\n/**\n * Renders a line chart that gets its theme from Odyssey design tokens. The\n * chart plots each series against the shared `categories` of the chart. Each\n * value in a series lines up by index with a category, so a series and\n * `categories` must have the same length. If a value is `null`, the chart\n * draws a gap at that category, and not a point with a value of zero.\n *\n * The chart also gives a different marker shape to each series. The shape lets\n * a user identify a series without color. The chart library applies its five\n * built-in shapes in series order. A sixth series repeats the first shape.\n */\nconst LineChart = (props: LineChartProps) => {\n // Highcharts rebuilds and redraws the whole chart when the identity of any\n // React child changes. A caller that builds the `series` array inside its\n // own render creates a new array on every render. That new array would\n // reach every child below this point.\n //\n // useStableValue holds one chart props object while its contents stay the same,\n // so `MemoizedLineChartContent` keeps the same children across those\n // renders.\n //\n // useStableValue cannot hold `onPointClick`, because it compares a function\n // by identity. An inline handler therefore arrives with a new identity on\n // each render of the caller, and every memo below misses. useStableCallback\n // wraps that handler in one callback of its own that keeps the same\n // 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\n // nothing. The chart attaches a click listener to a point as soon as it\n // finds one, so a chart with no `onPointClick` must pass nothing at all.\n // The condition below keeps that behavior, and returns the one stable\n // 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 <MemoizedLineChartContent {...stableChartProps} />\n </ChartFrame>\n );\n};\n\nconst MemoizedLineChart = memo(LineChart);\nMemoizedLineChart.displayName = \"LineChart\";\n\nexport { MemoizedLineChart as LineChart };\n"],"mappings":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AASA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAKA,IAAAI,kBAAA,GAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AACA,IAAAO,oBAAA,GAAAP,OAAA;AAIA,IAAAQ,kBAAA,GAAAR,OAAA;AACA,IAAAS,YAAA,GAAAT,OAAA;AACA,IAAAU,wBAAA,GAAAV,OAAA;AACA,IAAAW,mBAAA,GAAAX,OAAA;AACA,IAAAY,uBAAA,GAAAZ,OAAA;AACA,IAAAa,eAAA,GAAAb,OAAA;AAA2D,IAAAc,WAAA,GAAAd,OAAA;AAxC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAwCA,MAAMe,0BAA0B,GAAG,CACjC,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,UAAU,EACV,cAAc,CACiC;AAajD,MAAMC,gBAAgB,GAAGA,CAAC;EACxB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AA,CAAAb,SAAA,GAAG,IAAAD,YAAI,EAACC,SAAS,CAAC;AACzCY,iBAAiB,CAACE,WAAW,2CAAc","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"LineChart.cjs","names":["_react","require","_Accessibility","_Line","_react2","_useStableCallback","_ChartContainer","_ChartFrame","_ChartPopoverContent","_useChartAnimation","_chartTokens","_getChartSeriesPointData","_hasDuplicateSeries","_useChartValueFormatter","_useStableValue","_jsxRuntime","LINE_SERIES_MARKER_SYMBOLS","LineChartContent","ariaDescription","categories","onPointClick","pointPopoverValueFormat","series","xAxisLabel","yAxisFormat","yAxisLabel","chartTokens","useChartTokens","formatValue","useChartValueFormatter","hasDuplicateSeries","Error","animation","useChartAnimation","seriesList","useMemo","map","chartSeries","pointData","getChartSeriesPointData","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","crosshairColor","crosshairWidth","xAxisLabels","valueStyle","xAxisTitle","align","uprightLabelSpacing","labelStyle","yAxisLabels","formatter","context","format","value","Number","yAxisTitle","rotatedLabelSpacing","seriesIndicator","symbols","type","linePlotOptions","dataLabels","enabled","line","strokeWidth","marker","markerRadius","states","hover","lineWidthPlus","markerHoverRadius","halo","opacity","markerHoverHaloOpacity","size","markerHoverHaloRadius","hoverStrokeWidthPlus","seriesPlotOptions","jsx","ChartContainer","children","jsxs","Chart","Accessibility","description","landmarkVerbosity","XAxis","crosshair","gridLineColor","lineColor","gridLineWidth","labels","tickColor","tickLength","YAxis","Legend","legend","shared","Tooltip","popover","borderColor","borderWidth","padding","shadow","containerStyle","ChartPopoverContent","categoryPlaceholder","isShared","seriesLabelPlaceholder","valuePlaceholder","PlotOptions","Credits","LineSeries","data","name","MemoizedLineChartContent","memo","LineChart","props","stableOnPointClick","useStableCallback","stableOnRetry","onRetry","hasError","isLoading","chartProps","stableChartProps","useStableValue","ChartFrame","MemoizedLineChart","exports","displayName"],"sources":["../../../src/charts/LineChart.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 { LineSeries } from \"@highcharts/react/series/Line.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 {\n type ChartMarkerSymbol,\n ChartPopoverContent,\n} 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 Highcharts default marker symbols, in the order that Highcharts gives them to the series of a chart. The chart draws these markers itself. This list exists so that the popover can draw the same marker next to the name of a series, and the popover selects one entry by `series.symbolIndex`.\n//\n// A change to this order, a Highcharts release that changes its own default list, or a `marker.symbol` set on a series all make the popover show the wrong shape.\nconst LINE_SERIES_MARKER_SYMBOLS = [\n \"circle\",\n \"diamond\",\n \"square\",\n \"triangle\",\n \"triangleDown\",\n] as const satisfies readonly ChartMarkerSymbol[];\n\n/** The props for a line chart. */\nexport type LineChartProps = CartesianChartProps & {\n /**\n * The format for the values on the vertical axis. A line 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 yAxisFormat?: ChartValueFormat;\n};\n\nconst LineChartContent = ({\n ariaDescription,\n categories,\n onPointClick,\n pointPopoverValueFormat,\n series,\n xAxisLabel,\n yAxisFormat = \"compact\",\n yAxisLabel,\n}: LineChartProps) => {\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 LineChart 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. LineChart 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 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.crosshairColor,\n width: chartTokens.axis.crosshairWidth,\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 margin: chartTokens.axis.uprightLabelSpacing,\n style: chartTokens.axis.labelStyle,\n text: xAxisLabel,\n }),\n [chartTokens, xAxisLabel],\n );\n const yAxisLabels = useMemo(\n () => ({\n formatter: (context: { value: unknown }) =>\n formatValue({\n format: yAxisFormat,\n value: Number(context.value),\n }),\n style: chartTokens.axis.valueStyle,\n }),\n [chartTokens, formatValue, yAxisFormat],\n );\n const yAxisTitle = useMemo(\n () => ({\n align: \"middle\" as const,\n // This axis draws up 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 seriesIndicator = useMemo(\n () => ({\n symbols: LINE_SERIES_MARKER_SYMBOLS,\n type: \"lineMarker\" as const,\n }),\n [],\n );\n const linePlotOptions = useMemo(\n () => ({\n dataLabels: { enabled: false },\n lineWidth: chartTokens.line.strokeWidth,\n marker: {\n lineWidth: 0,\n radius: chartTokens.line.markerRadius,\n states: {\n hover: {\n lineWidthPlus: 0,\n radius: chartTokens.line.markerHoverRadius,\n },\n },\n },\n states: {\n hover: {\n halo: {\n opacity: chartTokens.line.markerHoverHaloOpacity,\n size: chartTokens.line.markerHoverHaloRadius,\n },\n lineWidthPlus: chartTokens.line.hoverStrokeWidthPlus,\n },\n },\n }),\n [chartTokens],\n );\n const seriesPlotOptions = useMemo(() => ({ animation }), [animation]);\n\n return (\n <ChartContainer>\n <Chart options={options} type=\"line\">\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.line}\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 seriesIndicator={seriesIndicator}\n seriesLabelPlaceholder=\"{series.name}\"\n valuePlaceholder=\"{point.custom.formattedValue}\"\n />\n </Popover>\n <PlotOptions line={linePlotOptions} series={seriesPlotOptions} />\n <Credits enabled={false} />\n {seriesList.map(({ chartSeries, pointData }) => (\n <LineSeries\n data={pointData}\n key={chartSeries.name}\n name={chartSeries.name}\n />\n ))}\n </Chart>\n </ChartContainer>\n );\n};\n\n// `LineChart` 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 MemoizedLineChartContent = memo(LineChartContent);\n\n/**\n * Renders a line 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 point with a value of zero.\n *\n * The chart also gives a different marker shape to each series. The shape lets a user identify a series without color. The chart library applies its five built-in shapes in series order. A sixth series repeats the first shape.\n */\nconst LineChart = (props: LineChartProps) => {\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 `MemoizedLineChartContent` 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 <MemoizedLineChartContent {...stableChartProps} />\n </ChartFrame>\n );\n};\n\nconst MemoizedLineChart = memo(LineChart);\nMemoizedLineChart.displayName = \"LineChart\";\n\nexport { MemoizedLineChart as LineChart };\n"],"mappings":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AASA,IAAAC,cAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AAKA,IAAAI,kBAAA,GAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AACA,IAAAO,oBAAA,GAAAP,OAAA;AAIA,IAAAQ,kBAAA,GAAAR,OAAA;AACA,IAAAS,YAAA,GAAAT,OAAA;AACA,IAAAU,wBAAA,GAAAV,OAAA;AACA,IAAAW,mBAAA,GAAAX,OAAA;AACA,IAAAY,uBAAA,GAAAZ,OAAA;AACA,IAAAa,eAAA,GAAAb,OAAA;AAA2D,IAAAc,WAAA,GAAAd,OAAA;AAxC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAmCA,MAAMe,0BAA0B,GAAG,CACjC,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,UAAU,EACV,cAAc,CACiC;AAWjD,MAAMC,gBAAgB,GAAGA,CAAC;EACxBC,eAAe;EACfC,UAAU;EACVC,YAAY;EACZC,uBAAuB;EACvBC,MAAM;EACNC,UAAU;EACVC,WAAW,GAAG,SAAS;EACvBC;AACc,CAAC,KAAK;EACpB,MAAMC,WAAW,GAAG,IAAAC,2BAAc,EAAC,CAAC;EACpC,MAAMC,WAAW,GAAG,IAAAC,8CAAsB,EAAC,CAAC;EAE5C,IAAI,IAAAC,sCAAkB,EAAC;IAAER;EAAO,CAAC,CAAC,EAAE;IAClC,MAAM,IAAIS,KAAK,CAAC,uDAAuD,CAAC;EAC1E;EAEA,MAAMC,SAAS,GAAG,IAAAC,oCAAiB,EAAC,CAAC;EAOrC,MAAMC,UAAU,GAAG,IAAAC,eAAO,EACxB,MACEb,MAAM,C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IAAAC,oCAAiB,EAACF,KAAK,CAAChI,YAAY,CAAC;EAChE,MAAMmI,aAAa,GAAG,IAAAD,oCAAiB,EAACF,KAAK,CAACI,OAAO,CAAC;EACtD,MAAM;IAAEC,QAAQ;IAAEC,SAAS;IAAEF,OAAO;IAAEjG,QAAQ;IAAEG,KAAK;IAAE,GAAGiG;EAAW,CAAC,GACpEP,KAAK;EACP,MAAMQ,gBAAgB,GAAG,IAAAC,8BAAc,EAAC;IACtC,GAAGF,UAAU;IACbvI,YAAY,EAAEgI,KAAK,CAAChI,YAAY,GAAGiI,kBAAkB,GAAG5F;EAC1D,CAAC,CAAC;EAEF,OACE,IAAA1C,WAAA,CAAA6F,GAAA,EAACrG,WAAA,CAAAuJ,UAAU;IACTL,QAAQ,EAAEA,QAAS;IACnBC,SAAS,EAAEA,SAAU;IACrBF,OAAO,EAAEA,OAAO,GAAGD,aAAa,GAAG9F,SAAU;IAC7CF,QAAQ,EAAEA,QAAS;IACnBG,KAAK,EAAEA,KAAM;IAAAoD,QAAA,EAEb,IAAA/F,WAAA,CAAA6F,GAAA,EAACqC,wBAAwB;MAAA,GAAKW;IAAgB,CAAG;EAAC,CACxC,CAAC;AAEjB,CAAC;AAED,MAAMG,iBAAiB,GAAAC,OAAA,CAAAb,SAAA,GAAG,IAAAD,YAAI,EAACC,SAAS,CAAC;AACzCY,iBAAiB,CAACE,WAAW,2CAAc","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartContainer.cjs","names":["_createOdysseyStyledComponent","require","_chartTokens","ChartContainer","exports","createOdysseyStyledComponent","tag","height","minHeight","minWidth","transform","chartTokens","ChartLegendRectangleVerticalOffset"],"sources":["../../../../src/charts/components/ChartContainer.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 { createOdysseyStyledComponent } from \"../../createOdysseyStyledComponent.js\";\nimport { chartTokens } from \"../utils/chartTokens.js\";\n\n/**\n * A full-height container for a Highcharts React chart. The container also
|
|
1
|
+
{"version":3,"file":"ChartContainer.cjs","names":["_createOdysseyStyledComponent","require","_chartTokens","ChartContainer","exports","createOdysseyStyledComponent","tag","height","minHeight","minWidth","transform","chartTokens","ChartLegendRectangleVerticalOffset"],"sources":["../../../../src/charts/components/ChartContainer.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 { createOdysseyStyledComponent } from \"../../createOdysseyStyledComponent.js\";\nimport { chartTokens } from \"../utils/chartTokens.js\";\n\n/**\n * A full-height container for a Highcharts React chart. The container also corrects the optical alignment of rectangular legend symbols. Highcharts positions line and marker symbols with a separate rule.\n */\nexport const ChartContainer = createOdysseyStyledComponent({ tag: \"div\" })({\n height: \"100%\",\n minHeight: 0,\n minWidth: 0,\n \"& > div\": { height: \"100%\" },\n \"& .highcharts-legend-item rect.highcharts-point\": {\n transform: `translateY(${chartTokens.ChartLegendRectangleVerticalOffset}px)`,\n },\n});\n"],"mappings":";;;;;;AAYA,IAAAA,6BAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAQO,MAAME,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAG,IAAAE,0DAA4B,EAAC;EAAEC,GAAG,EAAE;AAAM,CAAC,CAAC,CAAC;EACzEC,MAAM,EAAE,MAAM;EACdC,SAAS,EAAE,CAAC;EACZC,QAAQ,EAAE,CAAC;EACX,SAAS,EAAE;IAAEF,MAAM,EAAE;EAAO,CAAC;EAC7B,iDAAiD,EAAE;IACjDG,SAAS,EAAE,cAAcC,wBAAW,CAACC,kCAAkC;EACzE;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -69,5 +69,5 @@ const ChartError = ({
|
|
|
69
69
|
});
|
|
70
70
|
};
|
|
71
71
|
const MemoizedChartError = exports.ChartError = (0, _react.memo)(ChartError);
|
|
72
|
-
MemoizedChartError.displayName = "ChartError::pkg=odyssey&odysseyV=1.
|
|
72
|
+
MemoizedChartError.displayName = "ChartError::pkg=odyssey&odysseyV=1.71.0";
|
|
73
73
|
//# sourceMappingURL=ChartError.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartError.cjs","names":["_react","require","_Button","_createOdysseyStyledComponent","_i18n","_Warning","_Typography","_jsxRuntime","OuterContainer","createOdysseyStyledComponent","tag","odysseyDesignTokens","alignItems","display","flexDirection","gap","Spacing5","height","justifyContent","textAlign","TextGroup","Spacing2","maxWidth","TypographyLineLengthMax","marginBlock","ChartError","onRetry","t","useTranslation","jsxs","children","jsx","WarningIcon","role","Heading5","Paragraph","Button","label","onClick","variant","MemoizedChartError","exports","memo","displayName"],"sources":["../../../../src/charts/components/ChartError.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 { memo } from \"react\";\n\nimport { Button } from \"../../Buttons/Button.js\";\nimport { createOdysseyStyledComponent } from \"../../createOdysseyStyledComponent.js\";\nimport { useTranslation } from \"../../i18n.generated/i18n.js\";\nimport { WarningIcon } from \"../../icons.generated/Warning.js\";\nimport { Heading5, Paragraph } from \"../../Typography.js\";\n\n/** The props for a chart error state. */\nexport type ChartErrorProps = {\n /**\n * The chart calls this function when a user clicks the retry button in the
|
|
1
|
+
{"version":3,"file":"ChartError.cjs","names":["_react","require","_Button","_createOdysseyStyledComponent","_i18n","_Warning","_Typography","_jsxRuntime","OuterContainer","createOdysseyStyledComponent","tag","odysseyDesignTokens","alignItems","display","flexDirection","gap","Spacing5","height","justifyContent","textAlign","TextGroup","Spacing2","maxWidth","TypographyLineLengthMax","marginBlock","ChartError","onRetry","t","useTranslation","jsxs","children","jsx","WarningIcon","role","Heading5","Paragraph","Button","label","onClick","variant","MemoizedChartError","exports","memo","displayName"],"sources":["../../../../src/charts/components/ChartError.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 { memo } from \"react\";\n\nimport { Button } from \"../../Buttons/Button.js\";\nimport { createOdysseyStyledComponent } from \"../../createOdysseyStyledComponent.js\";\nimport { useTranslation } from \"../../i18n.generated/i18n.js\";\nimport { WarningIcon } from \"../../icons.generated/Warning.js\";\nimport { Heading5, Paragraph } from \"../../Typography.js\";\n\n/** The props for a chart error state. */\nexport type ChartErrorProps = {\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 onRetry?: () => void;\n};\n\n// The parent is a single-row grid that stretches this component to the chart's full height. Centering here, rather than in the parent, keeps the centering rule next to the content it centers.\nconst OuterContainer = createOdysseyStyledComponent({ tag: \"div\" })(\n ({ odysseyDesignTokens }) => ({\n alignItems: \"center\",\n display: \"flex\",\n flexDirection: \"column\",\n gap: odysseyDesignTokens.Spacing5,\n height: \"100%\",\n justifyContent: \"center\",\n textAlign: \"center\",\n }),\n);\n\n// `Heading4` renders an `h4` and `Paragraph` renders a `p`, and each carries its own block margins. Those margins would add to the gap below and throw off the measured spacing, so this resets them. The selector names both elements rather than every child, so a later child keeps its own margins.\nconst TextGroup = createOdysseyStyledComponent({ tag: \"div\" })(\n ({ odysseyDesignTokens }) => ({\n display: \"flex\",\n flexDirection: \"column\",\n gap: odysseyDesignTokens.Spacing2,\n maxWidth: odysseyDesignTokens.TypographyLineLengthMax,\n\n \"& > h4, & > p\": {\n marginBlock: 0,\n },\n }),\n);\n\n/**\n * Renders the error state for a chart. A chart shows this component in place of its plot when the chart fails to load its data.\n */\nconst ChartError = ({ onRetry }: ChartErrorProps) => {\n const { t } = useTranslation();\n\n return (\n <OuterContainer>\n <WarningIcon />\n <TextGroup role=\"alert\">\n <Heading5>{t(\"chart.error.heading\")}</Heading5>\n <Paragraph>{t(\"chart.error.text\")}</Paragraph>\n </TextGroup>\n {onRetry && (\n <Button\n label={t(\"chart.error.retry\")}\n onClick={onRetry}\n variant=\"secondary\"\n />\n )}\n </OuterContainer>\n );\n};\n\nconst MemoizedChartError = memo(ChartError);\nMemoizedChartError.displayName = \"ChartError\";\n\nexport { MemoizedChartError as ChartError };\n"],"mappings":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,6BAAA,GAAAF,OAAA;AACA,IAAA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A,CAAA4B,QAAQ;QAAAJ,QAAA,EAAEH,CAAC,CAAC,qBAAqB;MAAC,CAAW,CAAC,EAC/C,IAAApB,WAAA,CAAAwB,GAAA,EAACzB,WAAA,CAAA6B,SAAS;QAAAL,QAAA,EAAEH,CAAC,CAAC,kBAAkB;MAAC,CAAY,CAAC;IAAA,CACrC,CAAC,EACXD,OAAO,IACN,IAAAnB,WAAA,CAAAwB,GAAA,EAAC7B,OAAA,CAAAkC,MAAM;MACLC,KAAK,EAAEV,CAAC,CAAC,mBAAmB,CAAE;MAC9BW,OAAO,EAAEZ,OAAQ;MACjBa,OAAO,EAAC;IAAW,CACpB,CACF;EAAA,CACa,CAAC;AAErB,CAAC;AAED,MAAMC,kBAAkB,GAAAC,OAAA,CAAAhB,UAAA,GAAG,IAAAiB,WAAI,EAACjB,UAAU,CAAC;AAC3Ce,kBAAkB,CAACG,WAAW,4CAAe","ignoreList":[]}
|
|
@@ -110,5 +110,5 @@ const ChartFrame = ({
|
|
|
110
110
|
});
|
|
111
111
|
};
|
|
112
112
|
const MemoizedChartFrame = exports.ChartFrame = (0, _react.memo)(ChartFrame);
|
|
113
|
-
MemoizedChartFrame.displayName = "ChartFrame::pkg=odyssey&odysseyV=1.
|
|
113
|
+
MemoizedChartFrame.displayName = "ChartFrame::pkg=odyssey&odysseyV=1.71.0";
|
|
114
114
|
//# sourceMappingURL=ChartFrame.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartFrame.cjs","names":["_Skeleton2","_interopRequireWildcard","require","_react","_createOdysseyStyledComponent","_i18n","_Typography","_chartTokens","_ChartError","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","Frame","createOdysseyStyledComponent","tag","shouldForwardProp","prop","odysseyDesignTokens","minHeight","display","flexDirection","gap","Spacing4","height","minWidth","Header","flexShrink","Spacing2","marginBlock","Body","flex","gridTemplateRows","LoadingSkeleton","width","skeletonClasses","root","ChartFrame","children","hasError","isLoading","onRetry","subtitle","title","useChartTokens","useTranslation","headingId","useId","hasHeader","Boolean","subtitleText","undefined","jsxs","jsx","Heading4","id","Paragraph","role","variant","ChartError","MemoizedChartFrame","exports","memo","displayName"],"sources":["../../../../src/charts/components/ChartFrame.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 { Skeleton as MuiSkeleton } from \"@mui/material\";\nimport { skeletonClasses } from \"@mui/material/Skeleton\";\nimport { memo, type ReactElement, useId } from \"react\";\n\nimport { createOdysseyStyledComponent } from \"../../createOdysseyStyledComponent.js\";\nimport { useTranslation } from \"../../i18n.generated/i18n.js\";\nimport { Heading4, Paragraph } from \"../../Typography.js\";\nimport { useChartTokens } from \"../utils/chartTokens.js\";\nimport { ChartError } from \"./ChartError.js\";\n\n/** The props for a chart frame. */\nexport type ChartFrameProps = {\n /**\n * The chart. The frame shows this element when there is no error state and\n * no loading state.\n */\n children: ReactElement;\n /**\n * If `true`, the frame shows an error state in place of the chart body.\n * `isLoading` takes precedence over this property.\n */\n hasError?: boolean;\n /**\n * If `true`, the frame shows a loading skeleton in place of the chart\n * body. `isLoading` takes precedence over `hasError`.\n */\n isLoading?: boolean;\n /**\n * The frame calls this function when a user clicks the retry button in\n * the error state. The error state shows no retry button when the caller\n * omits this property.\n *\n * @see {@link CartesianChartProps.onRetry} for the retry flow that a\n * consumer follows. That property is the public one, so it owns the\n * description.\n */\n onRetry?: () => void;\n /**\n * The subtitle text, shown below the title. The frame ignores this text\n * when `title` has no value, because a subtitle explains a title and means\n * nothing alone.\n */\n subtitle?: string;\n /**\n * The title text, shown as a real heading above the chart body. The heading\n * survives every state: loaded, loading, and error.\n */\n title?: string;\n};\n\n// This frame supplies only a height floor. A consumer that sets a real height\n// on the parent element still controls the final height, because this value\n// is a minimum and not a fixed size.\nconst Frame = createOdysseyStyledComponent({\n tag: \"section\",\n shouldForwardProp: (prop) => prop !== \"minHeight\",\n})<{ minHeight: string }>(({ odysseyDesignTokens, minHeight }) => ({\n display: \"flex\",\n flexDirection: \"column\",\n gap: odysseyDesignTokens.Spacing4,\n height: \"100%\",\n minHeight,\n minWidth: 0,\n}));\n\n// The header must not shrink, so the body takes every pixel of height that\n// the header does not need.\n//\n// `gap` needs a flex or grid container to have any effect, and a `header` is\n// a block element by default. `Heading4` renders an `h4` and `Paragraph`\n// renders a `p`, and each carries its own block margins, which would add to\n// the gap, so the margin reset names both elements.\nconst Header = createOdysseyStyledComponent({ tag: \"header\" })(\n ({ odysseyDesignTokens }) => ({\n display: \"flex\",\n flexDirection: \"column\",\n flexShrink: 0,\n gap: odysseyDesignTokens.Spacing2,\n\n \"& > h4, & > p\": {\n marginBlock: 0,\n },\n }),\n);\n\n// A flex item defaults to a minimum height equal to its content, so this item\n// would otherwise refuse to shrink below the height of the chart it holds.\n// The zero minimum height lets the body take the flex space that `flex: 1`\n// assigns to it.\n//\n// The body is also a single-row grid. The charting library draws a bare div\n// with no class name and no height of its own. A block-level child of a flex\n// column collapses to the height of its own content, which is zero before\n// the chart draws, and the library then picks a fixed height of its own. A\n// grid child stretches to fill its row by default, so the bare div fills the\n// body without this file naming a class or reaching into a child with a\n// selector.\nconst Body = createOdysseyStyledComponent({ tag: \"div\" })({\n display: \"grid\",\n flex: 1,\n gridTemplateRows: \"1fr\",\n minHeight: 0,\n minWidth: 0,\n});\n\n// The real chart also fills the height of its parent rather than setting a\n// height of its own, so this fills the same `Body` grid cell the same way.\nconst LoadingSkeleton = createOdysseyStyledComponent({ tag: \"div\" })({\n height: \"100%\",\n width: \"100%\",\n [`& .${skeletonClasses.root}`]: {\n height: \"100%\",\n width: \"100%\",\n },\n});\n\n/**\n * A layout wrapper for a chart. The frame holds two parts: a header that\n * shows the title and the subtitle as real HTML, and a body below it. The\n * body shows exactly one of three states: a loading skeleton, an error\n * state, or the chart itself. The header stays on screen in all three\n * states.\n */\nconst ChartFrame = ({\n children,\n hasError,\n isLoading,\n onRetry,\n subtitle,\n title,\n}: ChartFrameProps) => {\n const { minHeight } = useChartTokens();\n const { t } = useTranslation();\n const headingId = useId();\n\n const hasHeader = Boolean(title);\n const subtitleText = hasHeader ? subtitle : undefined;\n\n return (\n <Frame\n aria-labelledby={hasHeader ? headingId : undefined}\n minHeight={minHeight}\n >\n {hasHeader && (\n <Header>\n <Heading4 id={headingId}>{title}</Heading4>\n {subtitleText && <Paragraph>{subtitleText}</Paragraph>}\n </Header>\n )}\n <Body>\n {/*\n * A retry sets isLoading while the failed data is still on record.\n * Loading must win here, or the user who just clicked retry would\n * still see the error they were trying to clear, instead of seeing\n * that their request is in flight.\n */}\n {isLoading ? (\n <LoadingSkeleton\n aria-label={t(\"chart.loading.arialabel\")}\n role=\"status\"\n >\n <MuiSkeleton variant=\"rounded\" />\n </LoadingSkeleton>\n ) : hasError ? (\n <ChartError onRetry={onRetry} />\n ) : (\n children\n )}\n </Body>\n </Frame>\n );\n};\n\nconst MemoizedChartFrame = memo(ChartFrame);\nMemoizedChartFrame.displayName = \"ChartFrame\";\n\nexport { MemoizedChartFrame as ChartFrame };\n"],"mappings":";;;;;;AAaA,IAAAA,UAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AAEA,IAAAE,6BAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AAA6C,IAAAO,WAAA,GAA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
|
|
1
|
+
{"version":3,"file":"ChartFrame.cjs","names":["_Skeleton2","_interopRequireWildcard","require","_react","_createOdysseyStyledComponent","_i18n","_Typography","_chartTokens","_ChartError","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","Frame","createOdysseyStyledComponent","tag","shouldForwardProp","prop","odysseyDesignTokens","minHeight","display","flexDirection","gap","Spacing4","height","minWidth","Header","flexShrink","Spacing2","marginBlock","Body","flex","gridTemplateRows","LoadingSkeleton","width","skeletonClasses","root","ChartFrame","children","hasError","isLoading","onRetry","subtitle","title","useChartTokens","useTranslation","headingId","useId","hasHeader","Boolean","subtitleText","undefined","jsxs","jsx","Heading4","id","Paragraph","role","variant","ChartError","MemoizedChartFrame","exports","memo","displayName"],"sources":["../../../../src/charts/components/ChartFrame.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 { Skeleton as MuiSkeleton } from \"@mui/material\";\nimport { skeletonClasses } from \"@mui/material/Skeleton\";\nimport { memo, type ReactElement, useId } from \"react\";\n\nimport { createOdysseyStyledComponent } from \"../../createOdysseyStyledComponent.js\";\nimport { useTranslation } from \"../../i18n.generated/i18n.js\";\nimport { Heading4, Paragraph } from \"../../Typography.js\";\nimport { useChartTokens } from \"../utils/chartTokens.js\";\nimport { ChartError } from \"./ChartError.js\";\n\n/** The props for a chart frame. */\nexport type ChartFrameProps = {\n /**\n * The chart. The frame shows this element when there is no error state and no loading state.\n */\n children: ReactElement;\n /**\n * If `true`, the frame shows an error state in place of the chart body. `isLoading` takes precedence over this property.\n */\n hasError?: boolean;\n /**\n * If `true`, the frame shows a loading skeleton in place of the chart body. `isLoading` takes precedence over `hasError`.\n */\n isLoading?: boolean;\n /**\n * The frame 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 * @see {@link CartesianChartProps.onRetry} for the retry flow that a\n * consumer follows. That property is the public one, so it owns the description.\n */\n onRetry?: () => void;\n /**\n * The subtitle text, shown below the title. The frame ignores this text when `title` has no value, because a subtitle explains a title and means nothing alone.\n */\n subtitle?: string;\n /**\n * The title text, shown as a real heading above the chart body. The heading survives every state: loaded, loading, and error.\n */\n title?: string;\n};\n\n// This frame supplies only a height floor. A consumer that sets a real height on the parent element still controls the final height, because this value is a minimum and not a fixed size.\nconst Frame = createOdysseyStyledComponent({\n tag: \"section\",\n shouldForwardProp: (prop) => prop !== \"minHeight\",\n})<{ minHeight: string }>(({ odysseyDesignTokens, minHeight }) => ({\n display: \"flex\",\n flexDirection: \"column\",\n gap: odysseyDesignTokens.Spacing4,\n height: \"100%\",\n minHeight,\n minWidth: 0,\n}));\n\n// The header must not shrink, so the body takes every pixel of height that the header does not need.\n//\n// `gap` needs a flex or grid container to have any effect, and a `header` is a block element by default. `Heading4` renders an `h4` and `Paragraph` renders a `p`, and each carries its own block margins, which would add to the gap, so the margin reset names both elements.\nconst Header = createOdysseyStyledComponent({ tag: \"header\" })(\n ({ odysseyDesignTokens }) => ({\n display: \"flex\",\n flexDirection: \"column\",\n flexShrink: 0,\n gap: odysseyDesignTokens.Spacing2,\n\n \"& > h4, & > p\": {\n marginBlock: 0,\n },\n }),\n);\n\n// A flex item defaults to a minimum height equal to its content, so this item would otherwise refuse to shrink below the height of the chart it holds. The zero minimum height lets the body take the flex space that `flex: 1` assigns to it.\n//\n// The body is also a single-row grid. The charting library draws a bare div with no class name and no height of its own. A block-level child of a flex column collapses to the height of its own content, which is zero before the chart draws, and the library then picks a fixed height of its own. A grid child stretches to fill its row by default, so the bare div fills the body without this file naming a class or reaching into a child with a selector.\nconst Body = createOdysseyStyledComponent({ tag: \"div\" })({\n display: \"grid\",\n flex: 1,\n gridTemplateRows: \"1fr\",\n minHeight: 0,\n minWidth: 0,\n});\n\n// The real chart also fills the height of its parent rather than setting a height of its own, so this fills the same `Body` grid cell the same way.\nconst LoadingSkeleton = createOdysseyStyledComponent({ tag: \"div\" })({\n height: \"100%\",\n width: \"100%\",\n [`& .${skeletonClasses.root}`]: {\n height: \"100%\",\n width: \"100%\",\n },\n});\n\n/**\n * A layout wrapper for a chart. The frame holds two parts: a header that shows the title and the subtitle as real HTML, and a body below it. The body shows exactly one of three states: a loading skeleton, an error state, or the chart itself. The header stays on screen in all three states.\n */\nconst ChartFrame = ({\n children,\n hasError,\n isLoading,\n onRetry,\n subtitle,\n title,\n}: ChartFrameProps) => {\n const { minHeight } = useChartTokens();\n const { t } = useTranslation();\n const headingId = useId();\n\n const hasHeader = Boolean(title);\n const subtitleText = hasHeader ? subtitle : undefined;\n\n return (\n <Frame\n aria-labelledby={hasHeader ? headingId : undefined}\n minHeight={minHeight}\n >\n {hasHeader && (\n <Header>\n <Heading4 id={headingId}>{title}</Heading4>\n {subtitleText && <Paragraph>{subtitleText}</Paragraph>}\n </Header>\n )}\n <Body>\n {/*\n * A retry sets isLoading while the failed data is still on record.\n * Loading must win here, or the user who just clicked retry would\n * still see the error they were trying to clear, instead of seeing\n * that their request is in flight.\n */}\n {isLoading ? (\n <LoadingSkeleton\n aria-label={t(\"chart.loading.arialabel\")}\n role=\"status\"\n >\n <MuiSkeleton variant=\"rounded\" />\n </LoadingSkeleton>\n ) : hasError ? (\n <ChartError onRetry={onRetry} />\n ) : (\n children\n )}\n </Body>\n </Frame>\n );\n};\n\nconst MemoizedChartFrame = memo(ChartFrame);\nMemoizedChartFrame.displayName = \"ChartFrame\";\n\nexport { MemoizedChartFrame as ChartFrame };\n"],"mappings":";;;;;;AAaA,IAAAA,UAAA,GAA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AmE,UAAU;QAAClB,OAAO,EAAEA;MAAQ,CAAE,CAAC,GAEhCH;IACD,CACG,CAAC;EAAA,CACF,CAAC;AAEZ,CAAC;AAED,MAAMsB,kBAAkB,GAAAC,OAAA,CAAAxB,UAAA,GAAG,IAAAyB,WAAI,EAACzB,UAAU,CAAC;AAC3CuB,kBAAkB,CAACG,WAAW,4CAAe","ignoreList":[]}
|
|
@@ -119,5 +119,5 @@ const ChartPopoverContent = ({
|
|
|
119
119
|
});
|
|
120
120
|
};
|
|
121
121
|
exports.ChartPopoverContent = ChartPopoverContent;
|
|
122
|
-
ChartPopoverContent.displayName = "ChartPopoverContent::pkg=odyssey&odysseyV=1.
|
|
122
|
+
ChartPopoverContent.displayName = "ChartPopoverContent::pkg=odyssey&odysseyV=1.71.0";
|
|
123
123
|
//# sourceMappingURL=ChartPopoverContent.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartPopoverContent.cjs","names":["_react","require","_jsxRuntime","MARKER_SYMBOL_STYLES","circle","borderRadius","diamond","clipPath","square","triangle","triangleDown","ChartPopoverContent","categoryPlaceholder","chartTokens","isShared","seriesIndicator","type","seriesLabelPlaceholder","valuePlaceholder","indicator","jsxs","style","display","height","popover","content","lineIndicatorSize","position","width","children","jsx","backgroundColor","lineIndicatorThickness","insetBlockStart","insetInlineStart","transform","symbols","map","symbol","symbolIndex","Fragment","lineMarkerSize","swatchRadius","swatchSize","row","alignItems","color","textColor","fontSize","gap","rowGap","marginBlockStart","rowSpacing","className","fontWeight","boldFontWeight","exports","displayName"],"sources":["../../../../src/charts/components/ChartPopoverContent.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 { type CSSProperties, Fragment } from \"react\";\n\nimport type { ChartTokens } from \"../utils/chartTokens.js\";\n\n/**\n * The marker shapes that a chart popover can draw. The names match the\n * Highcharts marker symbols of the same shape.\n */\nexport type ChartMarkerSymbol =\n | \"circle\"\n | \"diamond\"\n | \"square\"\n | \"triangle\"\n | \"triangleDown\";\n\n/**\n * The visual mark that sits before a series label in a chart popover. It\n * carries the color of the series.\n * - If `'swatch'`, the popover draws the color in a rounded square. A chart\n * whose series fill a shape, such as a bar chart, asks for this.\n * - If `'lineMarker'`, the popover draws the color as a line with the marker\n * of the series at its center. A line chart asks for this, and it passes the\n * marker symbols of its series in plotted order.\n */\nexport type ChartPopoverIndicator =\n | { type: \"swatch\" }\n | { symbols: readonly ChartMarkerSymbol[]; type: \"lineMarker\" };\n\n// The CSS that draws each marker shape inside a popover. The chart itself\n// draws its markers as SVG through Highcharts, which the popover cannot reuse,\n// because Highcharts serializes the popover to HTML. The square needs no rule,\n// because a plain box is already a square.\nconst MARKER_SYMBOL_STYLES = {\n circle: { borderRadius: \"50%\" },\n diamond: { clipPath: \"polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)\" },\n square: {},\n triangle: { clipPath: \"polygon(50% 0%, 100% 100%, 0% 100%)\" },\n triangleDown: { clipPath: \"polygon(0% 0%, 100% 0%, 50% 100%)\" },\n} as const satisfies Record<ChartMarkerSymbol, CSSProperties>;\n\nexport type ChartPopoverContentProps = {\n /**\n * The Highcharts format-string placeholder for the popover header.\n * Highcharts substitutes the value when it renders the popover. For example\n * `\"{point.key}\"`.\n */\n categoryPlaceholder: string;\n /**\n * The chart tokens from `useChartTokens`. The caller passes them as a prop\n * because this component cannot read the token context. See the note on\n * {@link ChartPopoverContent}.\n */\n chartTokens: ChartTokens;\n /**\n * If `true`, the series row repeats once for each point in the category\n * under the pointer. The component puts that row inside the Highcharts\n * `{#each points}` block, which repeats it. If `false`, the component\n * renders the one row that a per-point popover needs.\n * @default false\n */\n isShared?: boolean;\n /**\n * The visual mark that sits before the series label. The chart that owns the\n * popover chooses the mark, and it passes the marker symbols that its own\n * series use. See {@link ChartPopoverIndicator}.\n * @default { type: \"swatch\" }\n */\n seriesIndicator?: ChartPopoverIndicator;\n /**\n * The Highcharts format-string placeholder for the series label line. For\n * example `\"{series.name}\"`.\n */\n seriesLabelPlaceholder: string;\n /**\n * The Highcharts format-string placeholder for the value that the popover\n * shows. For example `\"{point.custom.formattedValue}\"`, which holds the\n * value already formatted for the user's locale. The placeholder\n * `\"{point.y}\"` renders the raw number and ignores the locale format.\n */\n valuePlaceholder: string;\n};\n\n/**\n * Renders chart popover contents as JSX that `@highcharts/react` serializes\n * into a Highcharts format string. It is not mounted as a React component.\n *\n * Keep this component plain and serializable:\n * - Pass tokens as props. Do not add hooks, styled wrappers, or memoization.\n * - Keep `{#each points}` and `{/each}` as separate string expressions around\n * the row. Do not parenthesize `points` or put the row markup in a string;\n * Highcharts otherwise treats the loop as text or escapes the markup.\n * - Include units in inline style values. Highcharts drops numeric values\n * instead of adding units to them.\n *\n * The component owns the markup and indicator choice so callers do not have to\n * reproduce these serialization rules. Highcharts escapes values substituted\n * into placeholders, so this component does not escape them again.\n *\n * @see docs/decisions/2026-08-18-chart-tooltip-plain-serializable-component.md\n * @see docs/decisions/2026-08-21-shared-chart-tooltip-each-block.md\n */\nexport const ChartPopoverContent = ({\n categoryPlaceholder,\n chartTokens,\n isShared,\n seriesIndicator = { type: \"swatch\" },\n seriesLabelPlaceholder,\n valuePlaceholder,\n}: ChartPopoverContentProps) => {\n const indicator =\n seriesIndicator.type === \"lineMarker\" ? (\n <span\n aria-hidden=\"true\"\n style={{\n display: \"inline-block\",\n height: chartTokens.popover.content.lineIndicatorSize,\n position: \"relative\",\n width: chartTokens.popover.content.lineIndicatorSize,\n }}\n >\n <span\n style={{\n backgroundColor: \"{point.color}\",\n height: chartTokens.popover.content.lineIndicatorThickness,\n insetBlockStart: \"50%\",\n insetInlineStart: \"0px\",\n position: \"absolute\",\n transform: \"translateY(-50%)\",\n width: \"100%\",\n }}\n />\n\n {seriesIndicator.symbols.map((symbol, symbolIndex) => (\n <Fragment key={symbol}>\n {`{#if (eq series.symbolIndex ${symbolIndex})}`}\n <span\n style={{\n backgroundColor: \"{point.color}\",\n display: \"block\",\n height: chartTokens.popover.content.lineMarkerSize,\n insetBlockStart: \"50%\",\n insetInlineStart: \"50%\",\n position: \"absolute\",\n transform: \"translate(-50%, -50%)\",\n width: chartTokens.popover.content.lineMarkerSize,\n ...MARKER_SYMBOL_STYLES[symbol],\n }}\n />\n {\"{/if}\"}\n </Fragment>\n ))}\n </span>\n ) : (\n <span\n aria-hidden=\"true\"\n style={{\n backgroundColor: \"{point.color}\",\n borderRadius: chartTokens.popover.content.swatchRadius,\n display: \"inline-block\",\n height: chartTokens.popover.content.swatchSize,\n width: chartTokens.popover.content.swatchSize,\n }}\n />\n );\n\n const row = (\n <div\n style={{\n alignItems: \"center\",\n color: chartTokens.popover.content.textColor,\n display: \"flex\",\n fontSize: chartTokens.popover.content.fontSize,\n gap: chartTokens.popover.content.rowGap,\n marginBlockStart: chartTokens.popover.content.rowSpacing,\n }}\n >\n {indicator}\n <span>\n {seriesLabelPlaceholder}\n {/*\n * Highcharts removes the `translate=\"no\"` attribute when it\n * serializes this markup. It keeps the `notranslate` class name,\n * which browsers' translation tools also respect.\n */}\n <span className=\"notranslate\">{\": \"}</span>\n <span\n style={{ fontWeight: chartTokens.popover.content.boldFontWeight }}\n >\n {valuePlaceholder}\n </span>\n </span>\n </div>\n );\n\n return (\n <div>\n <div\n style={{\n color: chartTokens.popover.content.textColor,\n fontSize: chartTokens.popover.content.fontSize,\n fontWeight: chartTokens.popover.content.boldFontWeight,\n }}\n >\n {categoryPlaceholder}\n </div>\n {isShared ? (\n <>\n {\"{#each points}\"}\n {row}\n {\"{/each}\"}\n </>\n ) : (\n row\n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","MARKER_SYMBOL_STYLES","circle","borderRadius","diamond","clipPath","square","triangle","triangleDown","ChartPopoverContent","categoryPlaceholder","chartTokens","isShared","seriesIndicator","type","seriesLabelPlaceholder","valuePlaceholder","indicator","jsxs","style","display","height","popover","content","lineIndicatorSize","position","width","children","jsx","backgroundColor","lineIndicatorThickness","insetBlockStart","insetInlineStart","transform","symbols","map","symbol","symbolIndex","Fragment","lineMarkerSize","swatchRadius","swatchSize","row","alignItems","color","textColor","fontSize","gap","rowGap","marginBlockStart","rowSpacing","className","fontWeight","boldFontWeight","exports","displayName"],"sources":["../../../../src/charts/components/ChartPopoverContent.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 { type CSSProperties, Fragment } from \"react\";\n\nimport type { ChartTokens } from \"../utils/chartTokens.js\";\n\n/**\n * The marker shapes that a chart popover can draw. The names match the Highcharts marker symbols of the same shape.\n */\nexport type ChartMarkerSymbol =\n | \"circle\"\n | \"diamond\"\n | \"square\"\n | \"triangle\"\n | \"triangleDown\";\n\n/**\n * The visual mark that sits before a series label in a chart popover. It carries the color of the series.\n * - If `'swatch'`, the popover draws the color in a rounded square. A chart whose series fill a shape, such as a bar chart, asks for this.\n * - If `'lineMarker'`, the popover draws the color as a line with the marker of the series at its center. A line chart asks for this, and it passes the marker symbols of its series in plotted order.\n */\nexport type ChartPopoverIndicator =\n | { type: \"swatch\" }\n | { symbols: readonly ChartMarkerSymbol[]; type: \"lineMarker\" };\n\n// The CSS that draws each marker shape inside a popover. The chart itself draws its markers as SVG through Highcharts, which the popover cannot reuse, because Highcharts serializes the popover to HTML. The square needs no rule, because a plain box is already a square.\nconst MARKER_SYMBOL_STYLES = {\n circle: { borderRadius: \"50%\" },\n diamond: { clipPath: \"polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)\" },\n square: {},\n triangle: { clipPath: \"polygon(50% 0%, 100% 100%, 0% 100%)\" },\n triangleDown: { clipPath: \"polygon(0% 0%, 100% 0%, 50% 100%)\" },\n} as const satisfies Record<ChartMarkerSymbol, CSSProperties>;\n\nexport type ChartPopoverContentProps = {\n /**\n * The Highcharts format-string placeholder for the popover header. Highcharts substitutes the value when it renders the popover. For example `\"{point.key}\"`.\n */\n categoryPlaceholder: string;\n /**\n * The chart tokens from `useChartTokens`. The caller passes them as a prop because this component cannot read the token context. See the note on {@link ChartPopoverContent}.\n */\n chartTokens: ChartTokens;\n /**\n * If `true`, the series row repeats once for each point in the category under the pointer. The component puts that row inside the Highcharts `{#each points}` block, which repeats it. If `false`, the component\n * renders the one row that a per-point popover needs.\n * @default false\n */\n isShared?: boolean;\n /**\n * The visual mark that sits before the series label. The chart that owns the popover chooses the mark, and it passes the marker symbols that its own series use. See {@link ChartPopoverIndicator}.\n * @default { type: \"swatch\" }\n */\n seriesIndicator?: ChartPopoverIndicator;\n /**\n * The Highcharts format-string placeholder for the series label line. For example `\"{series.name}\"`.\n */\n seriesLabelPlaceholder: string;\n /**\n * The Highcharts format-string placeholder for the value that the popover shows. For example `\"{point.custom.formattedValue}\"`, which holds the value already formatted for the user's locale. The placeholder `\"{point.y}\"` renders the raw number and ignores the locale format.\n */\n valuePlaceholder: string;\n};\n\n/**\n * Renders chart popover contents as JSX that `@highcharts/react` serializes into a Highcharts format string. It is not mounted as a React component.\n *\n * Keep this component plain and serializable:\n * - Pass tokens as props. Do not add hooks, styled wrappers, or memoization.\n * - Keep `{#each points}` and `{/each}` as separate string expressions around the row. Do not parenthesize `points` or put the row markup in a string;\n * Highcharts otherwise treats the loop as text or escapes the markup.\n * - Include units in inline style values. Highcharts drops numeric values instead of adding units to them.\n *\n * The component owns the markup and indicator choice so callers do not have to reproduce these serialization rules. Highcharts escapes values substituted into placeholders, so this component does not escape them again.\n *\n * @see docs/decisions/2026-08-18-chart-tooltip-plain-serializable-component.md\n * @see docs/decisions/2026-08-21-shared-chart-tooltip-each-block.md\n */\nexport const ChartPopoverContent = ({\n categoryPlaceholder,\n chartTokens,\n isShared,\n seriesIndicator = { type: \"swatch\" },\n seriesLabelPlaceholder,\n valuePlaceholder,\n}: ChartPopoverContentProps) => {\n const indicator =\n seriesIndicator.type === \"lineMarker\" ? (\n <span\n aria-hidden=\"true\"\n style={{\n display: \"inline-block\",\n height: chartTokens.popover.content.lineIndicatorSize,\n position: \"relative\",\n width: chartTokens.popover.content.lineIndicatorSize,\n }}\n >\n <span\n style={{\n backgroundColor: \"{point.color}\",\n height: chartTokens.popover.content.lineIndicatorThickness,\n insetBlockStart: \"50%\",\n insetInlineStart: \"0px\",\n position: \"absolute\",\n transform: \"translateY(-50%)\",\n width: \"100%\",\n }}\n />\n\n {seriesIndicator.symbols.map((symbol, symbolIndex) => (\n <Fragment key={symbol}>\n {`{#if (eq series.symbolIndex ${symbolIndex})}`}\n <span\n style={{\n backgroundColor: \"{point.color}\",\n display: \"block\",\n height: chartTokens.popover.content.lineMarkerSize,\n insetBlockStart: \"50%\",\n insetInlineStart: \"50%\",\n position: \"absolute\",\n transform: \"translate(-50%, -50%)\",\n width: chartTokens.popover.content.lineMarkerSize,\n ...MARKER_SYMBOL_STYLES[symbol],\n }}\n />\n {\"{/if}\"}\n </Fragment>\n ))}\n </span>\n ) : (\n <span\n aria-hidden=\"true\"\n style={{\n backgroundColor: \"{point.color}\",\n borderRadius: chartTokens.popover.content.swatchRadius,\n display: \"inline-block\",\n height: chartTokens.popover.content.swatchSize,\n width: chartTokens.popover.content.swatchSize,\n }}\n />\n );\n\n const row = (\n <div\n style={{\n alignItems: \"center\",\n color: chartTokens.popover.content.textColor,\n display: \"flex\",\n fontSize: chartTokens.popover.content.fontSize,\n gap: chartTokens.popover.content.rowGap,\n marginBlockStart: chartTokens.popover.content.rowSpacing,\n }}\n >\n {indicator}\n <span>\n {seriesLabelPlaceholder}\n {/*\n * Highcharts removes the `translate=\"no\"` attribute when it\n * serializes this markup. It keeps the `notranslate` class name,\n * which browsers' translation tools also respect.\n */}\n <span className=\"notranslate\">{\": \"}</span>\n <span\n style={{ fontWeight: chartTokens.popover.content.boldFontWeight }}\n >\n {valuePlaceholder}\n </span>\n </span>\n </div>\n );\n\n return (\n <div>\n <div\n style={{\n color: chartTokens.popover.content.textColor,\n fontSize: chartTokens.popover.content.fontSize,\n fontWeight: chartTokens.popover.content.boldFontWeight,\n }}\n >\n {categoryPlaceholder}\n </div>\n {isShared ? (\n <>\n {\"{#each points}\"}\n {row}\n {\"{/each}\"}\n </>\n ) : (\n row\n )}\n </div>\n );\n};\n\nChartPopoverContent.displayName = \"ChartPopoverContent\";\n"],"mappings":";;;;;;AAYA,IAAAA,MAAA,GAAAC,OAAA;AAAqD,IAAAC,WAAA,GAAAD,OAAA;AAZrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GA0BA,MAAME,oBAAoB,GAAG;EAC3BC,MAAM,EAAE;IAAEC,YAAY,EAAE;EAAM,CAAC;EAC/BC,OAAO,EAAE;IAAEC,QAAQ,EAAE;EAA8C,CAAC;EACpEC,MAAM,EAAE,CAAC,CAAC;EACVC,QAAQ,EAAE;IAAEF,QAAQ,EAAE;EAAsC,CAAC;EAC7DG,YAAY,EAAE;IAAEH,QAAQ,EAAE;EAAoC;AAChE,CAA6D;AA8CtD,MAAMI,mBAAmB,GAAGA,CAAC;EAClCC,mBAAmB;EACnBC,WAAW;EACXC,QAAQ;EACRC,eAAe,GAAG;IAAEC,IAAI,EAAE;EAAS,CAAC;EACpCC,sBAAsB;EACtBC;AACwB,CAAC,KAAK;EAC9B,MAAMC,SAAS,GACbJ,eAAe,CAACC,IAAI,KAAK,YAAY,GACnC,I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