@okta/odyssey-react-mui 1.67.0 → 1.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Accordion.cjs +1 -1
- package/dist/cjs/Autocomplete.cjs +1 -1
- package/dist/cjs/Badge.cjs +1 -1
- package/dist/cjs/Banner.cjs +1 -1
- package/dist/cjs/Banner.cjs.map +1 -1
- package/dist/cjs/Box.cjs +1 -1
- package/dist/cjs/Breadcrumbs.cjs +1 -1
- package/dist/cjs/Buttons/BaseButton.cjs +24 -6
- package/dist/cjs/Buttons/BaseButton.cjs.map +1 -1
- package/dist/cjs/Buttons/BaseMenuButton.cjs +1 -1
- package/dist/cjs/Buttons/Button.cjs +1 -1
- package/dist/cjs/Buttons/MenuButton.cjs +1 -1
- package/dist/cjs/Buttons/MenuItem.cjs +1 -1
- package/dist/cjs/Callout.cjs +1 -1
- package/dist/cjs/Callout.cjs.map +1 -1
- package/dist/cjs/Card.cjs +1 -1
- package/dist/cjs/Charts/ChartError.cjs +73 -0
- package/dist/cjs/Charts/ChartError.cjs.map +1 -0
- package/dist/cjs/Charts/ChartFrame.cjs +112 -0
- package/dist/cjs/Charts/ChartFrame.cjs.map +1 -0
- package/dist/cjs/Charts/ChartPopoverContent.cjs +56 -0
- package/dist/cjs/Charts/ChartPopoverContent.cjs.map +1 -0
- package/dist/cjs/Charts/LineChart.cjs +268 -0
- package/dist/cjs/Charts/LineChart.cjs.map +1 -0
- package/dist/cjs/Charts/chartTokens.cjs +117 -0
- package/dist/cjs/Charts/chartTokens.cjs.map +1 -0
- package/dist/cjs/Charts/chartTypes.cjs +6 -0
- package/dist/cjs/Charts/chartTypes.cjs.map +1 -0
- package/dist/cjs/Charts/formatChartValue.cjs +38 -0
- package/dist/cjs/Charts/formatChartValue.cjs.map +1 -0
- package/dist/cjs/Charts/getChartSeriesPointData.cjs +52 -0
- package/dist/cjs/Charts/getChartSeriesPointData.cjs.map +1 -0
- package/dist/cjs/Charts/hasDuplicateSeries.cjs +21 -0
- package/dist/cjs/Charts/hasDuplicateSeries.cjs.map +1 -0
- package/dist/cjs/Charts/index.cjs +13 -0
- package/dist/cjs/Charts/index.cjs.map +1 -0
- package/dist/cjs/Charts/resolveChartLocale.cjs +28 -0
- package/dist/cjs/Charts/resolveChartLocale.cjs.map +1 -0
- package/dist/cjs/Charts/useChartValueFormatter.cjs +35 -0
- package/dist/cjs/Charts/useChartValueFormatter.cjs.map +1 -0
- package/dist/cjs/Charts/useStableValue.cjs +28 -0
- package/dist/cjs/Charts/useStableValue.cjs.map +1 -0
- package/dist/cjs/CircularProgress.cjs +1 -1
- package/dist/cjs/ConditionalWrapper.cjs +1 -1
- package/dist/cjs/DataTable/DataTable.cjs +1 -1
- package/dist/cjs/DataTable/DataTableRowActions.cjs +1 -1
- package/dist/cjs/DataTable/DataTableSettings.cjs +1 -1
- package/dist/cjs/DatePickers/DateField.cjs +1 -1
- package/dist/cjs/DatePickers/DateFieldActionBar.cjs +1 -1
- package/dist/cjs/DatePickers/DateFieldLocalizationProvider.cjs +1 -1
- package/dist/cjs/DatePickers/DateFieldLocalizationProvider.cjs.map +1 -1
- package/dist/cjs/DatePickers/DatePicker.cjs +3 -4
- package/dist/cjs/DatePickers/DatePicker.cjs.map +1 -1
- package/dist/cjs/DatePickers/TimeZonePicker.cjs +1 -1
- package/dist/cjs/DatePickers/useOdysseyDateFields.cjs +10 -28
- package/dist/cjs/DatePickers/useOdysseyDateFields.cjs.map +1 -1
- package/dist/cjs/Dialog.cjs +1 -1
- package/dist/cjs/Drawer.cjs +19 -6
- package/dist/cjs/Drawer.cjs.map +1 -1
- package/dist/cjs/EmptyState.cjs +1 -1
- package/dist/cjs/ErrorMessageList.cjs +1 -1
- package/dist/cjs/Field.cjs +1 -1
- package/dist/cjs/FieldError.cjs +1 -1
- package/dist/cjs/FieldHint.cjs +1 -1
- package/dist/cjs/FieldLabel.cjs +1 -1
- package/dist/cjs/Fields/Checkbox.cjs +1 -1
- package/dist/cjs/Fields/CheckboxGroup.cjs +1 -1
- package/dist/cjs/Fields/Radio.cjs +1 -1
- package/dist/cjs/Fields/RadioGroup.cjs +1 -1
- package/dist/cjs/Fieldset.cjs +1 -1
- package/dist/cjs/FileUploader/FileUploadIllustration.cjs +1 -1
- package/dist/cjs/FileUploader/FileUploadPreview.cjs +1 -1
- package/dist/cjs/FileUploader/FileUploader.cjs +1 -1
- package/dist/cjs/Form.cjs +1 -1
- package/dist/cjs/FullScreenOverlay.cjs +1 -1
- package/dist/cjs/FullScreenOverlayContext.cjs +1 -1
- package/dist/cjs/HintLink.cjs +1 -1
- package/dist/cjs/IconWithTooltip.cjs +1 -1
- package/dist/cjs/Link.cjs +1 -1
- package/dist/cjs/MuiPropsChild.cjs +1 -1
- package/dist/cjs/NativeSelect.cjs +1 -1
- package/dist/cjs/OdysseyCacheProvider.cjs +1 -1
- package/dist/cjs/OdysseyProvider.cjs +1 -1
- package/dist/cjs/OdysseyThemeProvider.cjs +3 -2
- package/dist/cjs/OdysseyThemeProvider.cjs.map +1 -1
- package/dist/cjs/OdysseyThemeProviderPropsContext.cjs +1 -1
- package/dist/cjs/OdysseyThemeProviderPropsContext.cjs.map +1 -1
- package/dist/cjs/Pagination/Pagination.cjs +1 -1
- package/dist/cjs/PasswordField.cjs +1 -1
- package/dist/cjs/ScreenReaderText.cjs +1 -1
- package/dist/cjs/SearchField.cjs +1 -1
- package/dist/cjs/Select.cjs +1 -1
- package/dist/cjs/Stack.cjs +1 -1
- package/dist/cjs/Status.cjs +1 -1
- package/dist/cjs/Surface.cjs +1 -1
- package/dist/cjs/Switch.cjs +2 -2
- package/dist/cjs/Tabs.cjs +1 -1
- package/dist/cjs/Tag.cjs +1 -1
- package/dist/cjs/TagList.cjs +1 -1
- package/dist/cjs/TextField.cjs +1 -1
- package/dist/cjs/Toast.cjs +1 -1
- package/dist/cjs/ToastStack.cjs +1 -1
- package/dist/cjs/Tooltip.cjs +1 -1
- package/dist/cjs/Typography.cjs +40 -13
- package/dist/cjs/Typography.cjs.map +1 -1
- package/dist/cjs/icons.generated/Add.cjs +1 -1
- package/dist/cjs/icons.generated/AddCircle.cjs +1 -1
- package/dist/cjs/icons.generated/Apps.cjs +1 -1
- package/dist/cjs/icons.generated/AppsSelected.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowBottom.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowDown.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowLowerLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowLowerRight.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowRight.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowTop.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowUnsorted.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowUp.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowUpperLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ArrowUpperRight.cjs +1 -1
- package/dist/cjs/icons.generated/Bug.cjs +1 -1
- package/dist/cjs/icons.generated/Calendar.cjs +1 -1
- package/dist/cjs/icons.generated/Call.cjs +1 -1
- package/dist/cjs/icons.generated/Chat.cjs +1 -1
- package/dist/cjs/icons.generated/Check.cjs +1 -1
- package/dist/cjs/icons.generated/CheckCircleFilled.cjs +1 -1
- package/dist/cjs/icons.generated/ChevronDown.cjs +1 -1
- package/dist/cjs/icons.generated/ChevronLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ChevronRight.cjs +1 -1
- package/dist/cjs/icons.generated/ChevronUp.cjs +1 -1
- package/dist/cjs/icons.generated/Clock.cjs +1 -1
- package/dist/cjs/icons.generated/Close.cjs +1 -1
- package/dist/cjs/icons.generated/CloseCircleFilled.cjs +1 -1
- package/dist/cjs/icons.generated/CollapseLeft.cjs +1 -1
- package/dist/cjs/icons.generated/CollapseRight.cjs +1 -1
- package/dist/cjs/icons.generated/Copy.cjs +1 -1
- package/dist/cjs/icons.generated/Customizations.cjs +1 -1
- package/dist/cjs/icons.generated/CustomizationsSelected.cjs +1 -1
- package/dist/cjs/icons.generated/DangerDiamond.cjs +1 -1
- package/dist/cjs/icons.generated/DangerDiamondFilled.cjs +1 -1
- package/dist/cjs/icons.generated/Delete.cjs +1 -1
- package/dist/cjs/icons.generated/Deny.cjs +1 -1
- package/dist/cjs/icons.generated/Devices.cjs +1 -1
- package/dist/cjs/icons.generated/Directory.cjs +1 -1
- package/dist/cjs/icons.generated/DirectorySelected.cjs +1 -1
- package/dist/cjs/icons.generated/Documentation.cjs +1 -1
- package/dist/cjs/icons.generated/Download.cjs +1 -1
- package/dist/cjs/icons.generated/DragIndicator.cjs +1 -1
- package/dist/cjs/icons.generated/Edit.cjs +1 -1
- package/dist/cjs/icons.generated/ExpandLeft.cjs +1 -1
- package/dist/cjs/icons.generated/ExpandRight.cjs +1 -1
- package/dist/cjs/icons.generated/ExternalLink.cjs +1 -1
- package/dist/cjs/icons.generated/Filter.cjs +1 -1
- package/dist/cjs/icons.generated/Folder.cjs +1 -1
- package/dist/cjs/icons.generated/Globe.cjs +1 -1
- package/dist/cjs/icons.generated/Grid.cjs +1 -1
- package/dist/cjs/icons.generated/Group.cjs +1 -1
- package/dist/cjs/icons.generated/Happy.cjs +1 -1
- package/dist/cjs/icons.generated/Hide.cjs +1 -1
- package/dist/cjs/icons.generated/Home.cjs +1 -1
- package/dist/cjs/icons.generated/HomeSelected.cjs +1 -1
- package/dist/cjs/icons.generated/IdentityGovernance.cjs +1 -1
- package/dist/cjs/icons.generated/IdentityGovernanceSelected.cjs +1 -1
- package/dist/cjs/icons.generated/IdentityGovernanceSelected.cjs.map +1 -1
- package/dist/cjs/icons.generated/InformationCircle.cjs +1 -1
- package/dist/cjs/icons.generated/InformationCircleFilled.cjs +1 -1
- package/dist/cjs/icons.generated/Link.cjs +1 -1
- package/dist/cjs/icons.generated/List.cjs +1 -1
- package/dist/cjs/icons.generated/Lock.cjs +1 -1
- package/dist/cjs/icons.generated/Menu.cjs +1 -1
- package/dist/cjs/icons.generated/More.cjs +1 -1
- package/dist/cjs/icons.generated/Neutral.cjs +1 -1
- package/dist/cjs/icons.generated/Notification.cjs +1 -1
- package/dist/cjs/icons.generated/Pause.cjs +1 -1
- package/dist/cjs/icons.generated/QuestionCircle.cjs +1 -1
- package/dist/cjs/icons.generated/QuestionCircleFilled.cjs +1 -1
- package/dist/cjs/icons.generated/Refresh.cjs +1 -1
- package/dist/cjs/icons.generated/Reports.cjs +1 -1
- package/dist/cjs/icons.generated/ReportsSelected.cjs +1 -1
- package/dist/cjs/icons.generated/Reset.cjs +1 -1
- package/dist/cjs/icons.generated/Resume.cjs +1 -1
- package/dist/cjs/icons.generated/Sad.cjs +1 -1
- package/dist/cjs/icons.generated/Same.cjs +1 -1
- package/dist/cjs/icons.generated/Search.cjs +1 -1
- package/dist/cjs/icons.generated/Security.cjs +1 -1
- package/dist/cjs/icons.generated/SecuritySelected.cjs +1 -1
- package/dist/cjs/icons.generated/Send.cjs +1 -1
- package/dist/cjs/icons.generated/Server.cjs +1 -1
- package/dist/cjs/icons.generated/Settings.cjs +1 -1
- package/dist/cjs/icons.generated/SettingsSelected.cjs +1 -1
- package/dist/cjs/icons.generated/Show.cjs +1 -1
- package/dist/cjs/icons.generated/Sparkle.cjs +1 -1
- package/dist/cjs/icons.generated/Subtract.cjs +1 -1
- package/dist/cjs/icons.generated/Sync.cjs +1 -1
- package/dist/cjs/icons.generated/ThumbsDown.cjs +1 -1
- package/dist/cjs/icons.generated/ThumbsUp.cjs +1 -1
- package/dist/cjs/icons.generated/Unlock.cjs +1 -1
- package/dist/cjs/icons.generated/Upload.cjs +1 -1
- package/dist/cjs/icons.generated/User.cjs +1 -1
- package/dist/cjs/icons.generated/Video.cjs +1 -1
- package/dist/cjs/icons.generated/Warning.cjs +1 -1
- package/dist/cjs/icons.generated/WarningFilled.cjs +1 -1
- package/dist/cjs/icons.generated/Workflows.cjs +1 -1
- package/dist/cjs/icons.generated/WorkflowsSelected.cjs +1 -1
- package/dist/cjs/index.cjs +25 -18
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/labs/AppTile.cjs +1 -1
- package/dist/cjs/labs/DataFilters.cjs +2 -2
- package/dist/cjs/labs/DataTable.cjs +1 -1
- package/dist/cjs/labs/DataTablePagination.cjs +1 -1
- package/dist/cjs/labs/DataView/BulkActionsMenu.cjs +1 -1
- package/dist/cjs/labs/DataView/CardLayoutContent.cjs +2 -2
- package/dist/cjs/labs/DataView/DataCard.cjs +1 -1
- package/dist/cjs/labs/DataView/DataTable.cjs +1 -1
- package/dist/cjs/labs/DataView/DataView.cjs +1 -1
- package/dist/cjs/labs/DataView/DetailPanel.cjs +1 -1
- package/dist/cjs/labs/DataView/LayoutSwitcher.cjs +1 -1
- package/dist/cjs/labs/DataView/RowActions.cjs +1 -1
- package/dist/cjs/labs/DataView/TableLayoutContent.cjs +1 -1
- package/dist/cjs/labs/DataView/TableSettings.cjs +1 -1
- package/dist/cjs/labs/DatePickers/DateTimeField.cjs +1 -1
- package/dist/cjs/labs/DatePickers/DateTimePicker.cjs +3 -4
- package/dist/cjs/labs/DatePickers/DateTimePicker.cjs.map +1 -1
- package/dist/cjs/labs/OdysseyPickers/ComposablePicker.cjs +1 -1
- package/dist/cjs/labs/OdysseyPickers/Picker.cjs +1 -1
- package/dist/cjs/labs/OdysseyPickers/PickerVirtualizationListBox.cjs +1 -1
- package/dist/cjs/labs/OdysseyPickers/PickerWithOptionAdornment.cjs +1 -1
- package/dist/cjs/labs/OdysseyPickers/SearchDropdown.cjs +1 -1
- package/dist/cjs/labs/PageTemplate/DocumentationLink.cjs +1 -1
- package/dist/cjs/labs/PageTemplate/Layout.cjs +1 -1
- package/dist/cjs/labs/PageTemplate/PageTemplate.cjs +1 -1
- package/dist/cjs/labs/PaginatedTable.cjs +1 -1
- package/dist/cjs/labs/StaticTable.cjs +1 -1
- package/dist/cjs/labs/UserProfile.cjs +1 -1
- package/dist/cjs/labs/UserProfileMenuButton.cjs +1 -1
- package/dist/cjs/logos.generated/Duo.cjs +1 -1
- package/dist/cjs/logos.generated/GoogleAuth.cjs +1 -1
- package/dist/cjs/logos.generated/OktaVerify.cjs +1 -1
- package/dist/cjs/logos.generated/Persona.cjs +1 -1
- package/dist/cjs/logos.generated/SymantecVip.cjs +1 -1
- package/dist/cjs/logos.generated/Yubikey.cjs +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ok_PL.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_ok_PL.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_ok_SK.cjs +4 -0
- package/dist/cjs/properties/ts/odyssey-react-mui_ok_SK.cjs.map +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs +1 -1
- package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs.map +1 -1
- package/dist/cjs/theme/components/Button.cjs +6 -6
- package/dist/cjs/theme/components/Button.cjs.map +1 -1
- package/dist/cjs/theme/components/Dialog.cjs +1 -1
- package/dist/cjs/theme/components/Dialog.cjs.map +1 -1
- package/dist/cjs/theme/components/Drawer.cjs +5 -1
- package/dist/cjs/theme/components/Drawer.cjs.map +1 -1
- package/dist/cjs/theme/theme.cjs +22 -0
- package/dist/cjs/theme/theme.cjs.map +1 -1
- package/dist/cjs/theme/useAppElementContainerQuery.cjs +37 -0
- package/dist/cjs/theme/useAppElementContainerQuery.cjs.map +1 -0
- package/dist/cjs/theme/useContainerQuery.cjs +94 -0
- package/dist/cjs/theme/useContainerQuery.cjs.map +1 -0
- package/dist/cjs/theme/useMediaQuery.cjs +9 -6
- package/dist/cjs/theme/useMediaQuery.cjs.map +1 -1
- package/dist/cjs/ui-shell/AppSwitcher/AppSwitcher.cjs +1 -1
- package/dist/cjs/ui-shell/InnerAppContainer.cjs +1 -1
- package/dist/cjs/ui-shell/NarrowUiShellContent.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/NavAccordion.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNav.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavFooterContent.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavHeader.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavItemContent.cjs +2 -2
- package/dist/cjs/ui-shell/SideNav/SideNavItemLinkContent.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavSortableList.cjs +1 -1
- package/dist/cjs/ui-shell/SideNav/SideNavToggleButton.cjs +2 -2
- package/dist/cjs/ui-shell/SkipToContent.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/HamburgerMenuIcon.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/TopNav.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/TopNavLinksList.cjs +1 -1
- package/dist/cjs/ui-shell/TopNav/TopNavListItem.cjs +1 -1
- package/dist/cjs/ui-shell/UiShell.cjs +1 -1
- package/dist/cjs/ui-shell/UiShellLogo.cjs +1 -1
- package/dist/cjs/ui-shell/WideUiShellContent.cjs +1 -1
- package/dist/cjs/useContrastMode.cjs.map +1 -1
- package/dist/cjs/useStableCallback.cjs +23 -0
- package/dist/cjs/useStableCallback.cjs.map +1 -0
- package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs +1 -1
- package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs.map +1 -1
- package/dist/esm/Accordion.js +1 -1
- package/dist/esm/Autocomplete.js +1 -1
- package/dist/esm/Badge.js +1 -1
- package/dist/esm/Banner.js +1 -1
- package/dist/esm/Banner.js.map +1 -1
- package/dist/esm/Box.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/Buttons/BaseButton.js +24 -6
- package/dist/esm/Buttons/BaseButton.js.map +1 -1
- package/dist/esm/Buttons/BaseMenuButton.js +1 -1
- package/dist/esm/Buttons/Button.js +1 -1
- package/dist/esm/Buttons/MenuButton.js +1 -1
- package/dist/esm/Buttons/MenuItem.js +1 -1
- package/dist/esm/Callout.js +1 -1
- package/dist/esm/Callout.js.map +1 -1
- package/dist/esm/Card.js +1 -1
- package/dist/esm/Charts/ChartError.js +70 -0
- package/dist/esm/Charts/ChartError.js.map +1 -0
- package/dist/esm/Charts/ChartFrame.js +108 -0
- package/dist/esm/Charts/ChartFrame.js.map +1 -0
- package/dist/esm/Charts/ChartPopoverContent.js +49 -0
- package/dist/esm/Charts/ChartPopoverContent.js.map +1 -0
- package/dist/esm/Charts/LineChart.js +263 -0
- package/dist/esm/Charts/LineChart.js.map +1 -0
- package/dist/esm/Charts/chartTokens.js +109 -0
- package/dist/esm/Charts/chartTokens.js.map +1 -0
- package/dist/esm/Charts/chartTypes.js +2 -0
- package/dist/esm/Charts/chartTypes.js.map +1 -0
- package/dist/esm/Charts/formatChartValue.js +33 -0
- package/dist/esm/Charts/formatChartValue.js.map +1 -0
- package/dist/esm/Charts/getChartSeriesPointData.js +45 -0
- package/dist/esm/Charts/getChartSeriesPointData.js.map +1 -0
- package/dist/esm/Charts/hasDuplicateSeries.js +14 -0
- package/dist/esm/Charts/hasDuplicateSeries.js.map +1 -0
- package/dist/esm/Charts/index.js +14 -0
- package/dist/esm/Charts/index.js.map +1 -0
- package/dist/esm/Charts/resolveChartLocale.js +21 -0
- package/dist/esm/Charts/resolveChartLocale.js.map +1 -0
- package/dist/esm/Charts/useChartValueFormatter.js +30 -0
- package/dist/esm/Charts/useChartValueFormatter.js.map +1 -0
- package/dist/esm/Charts/useStableValue.js +22 -0
- package/dist/esm/Charts/useStableValue.js.map +1 -0
- package/dist/esm/CircularProgress.js +1 -1
- package/dist/esm/ConditionalWrapper.js +1 -1
- package/dist/esm/DataTable/DataTable.js +1 -1
- package/dist/esm/DataTable/DataTableRowActions.js +1 -1
- package/dist/esm/DataTable/DataTableSettings.js +1 -1
- package/dist/esm/DatePickers/DateField.js +1 -1
- package/dist/esm/DatePickers/DateFieldActionBar.js +1 -1
- package/dist/esm/DatePickers/DateFieldLocalizationProvider.js +1 -1
- package/dist/esm/DatePickers/DateFieldLocalizationProvider.js.map +1 -1
- package/dist/esm/DatePickers/DatePicker.js +3 -4
- package/dist/esm/DatePickers/DatePicker.js.map +1 -1
- package/dist/esm/DatePickers/TimeZonePicker.js +1 -1
- package/dist/esm/DatePickers/useOdysseyDateFields.js +10 -28
- package/dist/esm/DatePickers/useOdysseyDateFields.js.map +1 -1
- package/dist/esm/Dialog.js +1 -1
- package/dist/esm/Drawer.js +15 -2
- package/dist/esm/Drawer.js.map +1 -1
- package/dist/esm/EmptyState.js +1 -1
- package/dist/esm/ErrorMessageList.js +1 -1
- package/dist/esm/Field.js +1 -1
- package/dist/esm/FieldError.js +1 -1
- package/dist/esm/FieldHint.js +1 -1
- package/dist/esm/FieldLabel.js +1 -1
- package/dist/esm/Fields/Checkbox.js +1 -1
- package/dist/esm/Fields/CheckboxGroup.js +1 -1
- package/dist/esm/Fields/Radio.js +1 -1
- package/dist/esm/Fields/RadioGroup.js +1 -1
- package/dist/esm/Fieldset.js +1 -1
- package/dist/esm/FileUploader/FileUploadIllustration.js +1 -1
- package/dist/esm/FileUploader/FileUploadPreview.js +1 -1
- package/dist/esm/FileUploader/FileUploader.js +1 -1
- package/dist/esm/Form.js +1 -1
- package/dist/esm/FullScreenOverlay.js +1 -1
- package/dist/esm/FullScreenOverlayContext.js +1 -1
- package/dist/esm/HintLink.js +1 -1
- package/dist/esm/IconWithTooltip.js +1 -1
- package/dist/esm/Link.js +1 -1
- package/dist/esm/MuiPropsChild.js +1 -1
- package/dist/esm/NativeSelect.js +1 -1
- package/dist/esm/OdysseyCacheProvider.js +1 -1
- package/dist/esm/OdysseyProvider.js +1 -1
- package/dist/esm/OdysseyThemeProvider.js +3 -2
- package/dist/esm/OdysseyThemeProvider.js.map +1 -1
- package/dist/esm/OdysseyThemeProviderPropsContext.js +1 -1
- package/dist/esm/OdysseyThemeProviderPropsContext.js.map +1 -1
- package/dist/esm/Pagination/Pagination.js +1 -1
- package/dist/esm/PasswordField.js +1 -1
- package/dist/esm/ScreenReaderText.js +1 -1
- package/dist/esm/SearchField.js +1 -1
- package/dist/esm/Select.js +1 -1
- package/dist/esm/Stack.js +1 -1
- package/dist/esm/Status.js +1 -1
- package/dist/esm/Surface.js +1 -1
- package/dist/esm/Switch.js +2 -2
- package/dist/esm/Tabs.js +1 -1
- package/dist/esm/Tag.js +1 -1
- package/dist/esm/TagList.js +1 -1
- package/dist/esm/TextField.js +1 -1
- package/dist/esm/Toast.js +1 -1
- package/dist/esm/ToastStack.js +1 -1
- package/dist/esm/Tooltip.js +1 -1
- package/dist/esm/Typography.js +39 -12
- package/dist/esm/Typography.js.map +1 -1
- package/dist/esm/icons.generated/Add.js +1 -1
- package/dist/esm/icons.generated/AddCircle.js +1 -1
- package/dist/esm/icons.generated/Apps.js +1 -1
- package/dist/esm/icons.generated/AppsSelected.js +1 -1
- package/dist/esm/icons.generated/ArrowBottom.js +1 -1
- package/dist/esm/icons.generated/ArrowDown.js +1 -1
- package/dist/esm/icons.generated/ArrowLeft.js +1 -1
- package/dist/esm/icons.generated/ArrowLowerLeft.js +1 -1
- package/dist/esm/icons.generated/ArrowLowerRight.js +1 -1
- package/dist/esm/icons.generated/ArrowRight.js +1 -1
- package/dist/esm/icons.generated/ArrowTop.js +1 -1
- package/dist/esm/icons.generated/ArrowUnsorted.js +1 -1
- package/dist/esm/icons.generated/ArrowUp.js +1 -1
- package/dist/esm/icons.generated/ArrowUpperLeft.js +1 -1
- package/dist/esm/icons.generated/ArrowUpperRight.js +1 -1
- package/dist/esm/icons.generated/Bug.js +1 -1
- package/dist/esm/icons.generated/Calendar.js +1 -1
- package/dist/esm/icons.generated/Call.js +1 -1
- package/dist/esm/icons.generated/Chat.js +1 -1
- package/dist/esm/icons.generated/Check.js +1 -1
- package/dist/esm/icons.generated/CheckCircleFilled.js +1 -1
- package/dist/esm/icons.generated/ChevronDown.js +1 -1
- package/dist/esm/icons.generated/ChevronLeft.js +1 -1
- package/dist/esm/icons.generated/ChevronRight.js +1 -1
- package/dist/esm/icons.generated/ChevronUp.js +1 -1
- package/dist/esm/icons.generated/Clock.js +1 -1
- package/dist/esm/icons.generated/Close.js +1 -1
- package/dist/esm/icons.generated/CloseCircleFilled.js +1 -1
- package/dist/esm/icons.generated/CollapseLeft.js +1 -1
- package/dist/esm/icons.generated/CollapseRight.js +1 -1
- package/dist/esm/icons.generated/Copy.js +1 -1
- package/dist/esm/icons.generated/Customizations.js +1 -1
- package/dist/esm/icons.generated/CustomizationsSelected.js +1 -1
- package/dist/esm/icons.generated/DangerDiamond.js +1 -1
- package/dist/esm/icons.generated/DangerDiamondFilled.js +1 -1
- package/dist/esm/icons.generated/Delete.js +1 -1
- package/dist/esm/icons.generated/Deny.js +1 -1
- package/dist/esm/icons.generated/Devices.js +1 -1
- package/dist/esm/icons.generated/Directory.js +1 -1
- package/dist/esm/icons.generated/DirectorySelected.js +1 -1
- package/dist/esm/icons.generated/Documentation.js +1 -1
- package/dist/esm/icons.generated/Download.js +1 -1
- package/dist/esm/icons.generated/DragIndicator.js +1 -1
- package/dist/esm/icons.generated/Edit.js +1 -1
- package/dist/esm/icons.generated/ExpandLeft.js +1 -1
- package/dist/esm/icons.generated/ExpandRight.js +1 -1
- package/dist/esm/icons.generated/ExternalLink.js +1 -1
- package/dist/esm/icons.generated/Filter.js +1 -1
- package/dist/esm/icons.generated/Folder.js +1 -1
- package/dist/esm/icons.generated/Globe.js +1 -1
- package/dist/esm/icons.generated/Grid.js +1 -1
- package/dist/esm/icons.generated/Group.js +1 -1
- package/dist/esm/icons.generated/Happy.js +1 -1
- package/dist/esm/icons.generated/Hide.js +1 -1
- package/dist/esm/icons.generated/Home.js +1 -1
- package/dist/esm/icons.generated/HomeSelected.js +1 -1
- package/dist/esm/icons.generated/IdentityGovernance.js +1 -1
- package/dist/esm/icons.generated/IdentityGovernanceSelected.js +1 -1
- package/dist/esm/icons.generated/IdentityGovernanceSelected.js.map +1 -1
- package/dist/esm/icons.generated/InformationCircle.js +1 -1
- package/dist/esm/icons.generated/InformationCircleFilled.js +1 -1
- package/dist/esm/icons.generated/Link.js +1 -1
- package/dist/esm/icons.generated/List.js +1 -1
- package/dist/esm/icons.generated/Lock.js +1 -1
- package/dist/esm/icons.generated/Menu.js +1 -1
- package/dist/esm/icons.generated/More.js +1 -1
- package/dist/esm/icons.generated/Neutral.js +1 -1
- package/dist/esm/icons.generated/Notification.js +1 -1
- package/dist/esm/icons.generated/Pause.js +1 -1
- package/dist/esm/icons.generated/QuestionCircle.js +1 -1
- package/dist/esm/icons.generated/QuestionCircleFilled.js +1 -1
- package/dist/esm/icons.generated/Refresh.js +1 -1
- package/dist/esm/icons.generated/Reports.js +1 -1
- package/dist/esm/icons.generated/ReportsSelected.js +1 -1
- package/dist/esm/icons.generated/Reset.js +1 -1
- package/dist/esm/icons.generated/Resume.js +1 -1
- package/dist/esm/icons.generated/Sad.js +1 -1
- package/dist/esm/icons.generated/Same.js +1 -1
- package/dist/esm/icons.generated/Search.js +1 -1
- package/dist/esm/icons.generated/Security.js +1 -1
- package/dist/esm/icons.generated/SecuritySelected.js +1 -1
- package/dist/esm/icons.generated/Send.js +1 -1
- package/dist/esm/icons.generated/Server.js +1 -1
- package/dist/esm/icons.generated/Settings.js +1 -1
- package/dist/esm/icons.generated/SettingsSelected.js +1 -1
- package/dist/esm/icons.generated/Show.js +1 -1
- package/dist/esm/icons.generated/Sparkle.js +1 -1
- package/dist/esm/icons.generated/Subtract.js +1 -1
- package/dist/esm/icons.generated/Sync.js +1 -1
- package/dist/esm/icons.generated/ThumbsDown.js +1 -1
- package/dist/esm/icons.generated/ThumbsUp.js +1 -1
- package/dist/esm/icons.generated/Unlock.js +1 -1
- package/dist/esm/icons.generated/Upload.js +1 -1
- package/dist/esm/icons.generated/User.js +1 -1
- package/dist/esm/icons.generated/Video.js +1 -1
- package/dist/esm/icons.generated/Warning.js +1 -1
- package/dist/esm/icons.generated/WarningFilled.js +1 -1
- package/dist/esm/icons.generated/Workflows.js +1 -1
- package/dist/esm/icons.generated/WorkflowsSelected.js +1 -1
- package/dist/esm/index.js +3 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/labs/AppTile.js +1 -1
- package/dist/esm/labs/DataFilters.js +2 -2
- package/dist/esm/labs/DataTable.js +1 -1
- package/dist/esm/labs/DataTablePagination.js +1 -1
- package/dist/esm/labs/DataView/BulkActionsMenu.js +1 -1
- package/dist/esm/labs/DataView/CardLayoutContent.js +2 -2
- package/dist/esm/labs/DataView/DataCard.js +1 -1
- package/dist/esm/labs/DataView/DataTable.js +1 -1
- package/dist/esm/labs/DataView/DataView.js +1 -1
- package/dist/esm/labs/DataView/DetailPanel.js +1 -1
- package/dist/esm/labs/DataView/LayoutSwitcher.js +1 -1
- package/dist/esm/labs/DataView/RowActions.js +1 -1
- package/dist/esm/labs/DataView/TableLayoutContent.js +1 -1
- package/dist/esm/labs/DataView/TableSettings.js +1 -1
- package/dist/esm/labs/DatePickers/DateTimeField.js +1 -1
- package/dist/esm/labs/DatePickers/DateTimePicker.js +3 -4
- package/dist/esm/labs/DatePickers/DateTimePicker.js.map +1 -1
- package/dist/esm/labs/OdysseyPickers/ComposablePicker.js +1 -1
- package/dist/esm/labs/OdysseyPickers/Picker.js +1 -1
- package/dist/esm/labs/OdysseyPickers/PickerVirtualizationListBox.js +1 -1
- package/dist/esm/labs/OdysseyPickers/PickerWithOptionAdornment.js +1 -1
- package/dist/esm/labs/OdysseyPickers/SearchDropdown.js +1 -1
- package/dist/esm/labs/PageTemplate/DocumentationLink.js +1 -1
- package/dist/esm/labs/PageTemplate/Layout.js +1 -1
- package/dist/esm/labs/PageTemplate/PageTemplate.js +1 -1
- package/dist/esm/labs/PaginatedTable.js +1 -1
- package/dist/esm/labs/StaticTable.js +1 -1
- package/dist/esm/labs/UserProfile.js +1 -1
- package/dist/esm/labs/UserProfileMenuButton.js +1 -1
- package/dist/esm/logos.generated/Duo.js +1 -1
- package/dist/esm/logos.generated/GoogleAuth.js +1 -1
- package/dist/esm/logos.generated/OktaVerify.js +1 -1
- package/dist/esm/logos.generated/Persona.js +1 -1
- package/dist/esm/logos.generated/SymantecVip.js +1 -1
- package/dist/esm/logos.generated/Yubikey.js +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ht.js +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ht.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ok_PL.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_ok_PL.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_ok_SK.js +4 -0
- package/dist/esm/properties/ts/odyssey-react-mui_ok_SK.js.map +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js +1 -1
- package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js.map +1 -1
- package/dist/esm/theme/components/Button.js +6 -6
- package/dist/esm/theme/components/Button.js.map +1 -1
- package/dist/esm/theme/components/Dialog.js +2 -2
- package/dist/esm/theme/components/Dialog.js.map +1 -1
- package/dist/esm/theme/components/Drawer.js +5 -1
- package/dist/esm/theme/components/Drawer.js.map +1 -1
- package/dist/esm/theme/theme.js +2 -0
- package/dist/esm/theme/theme.js.map +1 -1
- package/dist/esm/theme/useAppElementContainerQuery.js +32 -0
- package/dist/esm/theme/useAppElementContainerQuery.js.map +1 -0
- package/dist/esm/theme/useContainerQuery.js +87 -0
- package/dist/esm/theme/useContainerQuery.js.map +1 -0
- package/dist/esm/theme/useMediaQuery.js +7 -5
- package/dist/esm/theme/useMediaQuery.js.map +1 -1
- package/dist/esm/ui-shell/AppSwitcher/AppSwitcher.js +1 -1
- package/dist/esm/ui-shell/InnerAppContainer.js +1 -1
- package/dist/esm/ui-shell/NarrowUiShellContent.js +1 -1
- package/dist/esm/ui-shell/SideNav/NavAccordion.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNav.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavFooterContent.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavHeader.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavItemContent.js +2 -2
- package/dist/esm/ui-shell/SideNav/SideNavItemLinkContent.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavSortableList.js +1 -1
- package/dist/esm/ui-shell/SideNav/SideNavToggleButton.js +2 -2
- package/dist/esm/ui-shell/SkipToContent.js +1 -1
- package/dist/esm/ui-shell/TopNav/HamburgerMenuIcon.js +1 -1
- package/dist/esm/ui-shell/TopNav/TopNav.js +1 -1
- package/dist/esm/ui-shell/TopNav/TopNavLinksList.js +1 -1
- package/dist/esm/ui-shell/TopNav/TopNavListItem.js +1 -1
- package/dist/esm/ui-shell/UiShell.js +1 -1
- package/dist/esm/ui-shell/UiShellLogo.js +1 -1
- package/dist/esm/ui-shell/WideUiShellContent.js +1 -1
- package/dist/esm/useContrastMode.js.map +1 -1
- package/dist/esm/useStableCallback.js +16 -0
- package/dist/esm/useStableCallback.js.map +1 -0
- package/dist/esm/web-component/odysseyWebComponentVersion.generated.js +1 -1
- package/dist/esm/web-component/odysseyWebComponentVersion.generated.js.map +1 -1
- package/dist/tsconfig.production.tsbuildinfo +1 -1
- package/dist/types/Banner.d.ts.map +1 -1
- package/dist/types/Buttons/BaseButton.d.ts +8 -1
- package/dist/types/Buttons/BaseButton.d.ts.map +1 -1
- package/dist/types/Callout.d.ts.map +1 -1
- package/dist/types/Charts/ChartError.d.ts +23 -0
- package/dist/types/Charts/ChartError.d.ts.map +1 -0
- package/dist/types/Charts/ChartFrame.d.ts +54 -0
- package/dist/types/Charts/ChartFrame.d.ts.map +1 -0
- package/dist/types/Charts/ChartPopoverContent.d.ts +97 -0
- package/dist/types/Charts/ChartPopoverContent.d.ts.map +1 -0
- package/dist/types/Charts/LineChart.d.ts +26 -0
- package/dist/types/Charts/LineChart.d.ts.map +1 -0
- package/dist/types/Charts/chartTokens.d.ts +362 -0
- package/dist/types/Charts/chartTokens.d.ts.map +1 -0
- package/dist/types/Charts/chartTypes.d.ts +142 -0
- package/dist/types/Charts/chartTypes.d.ts.map +1 -0
- package/dist/types/Charts/formatChartValue.d.ts +93 -0
- package/dist/types/Charts/formatChartValue.d.ts.map +1 -0
- package/dist/types/Charts/getChartSeriesPointData.d.ts +49 -0
- package/dist/types/Charts/getChartSeriesPointData.d.ts.map +1 -0
- package/dist/types/Charts/hasDuplicateSeries.d.ts +24 -0
- package/dist/types/Charts/hasDuplicateSeries.d.ts.map +1 -0
- package/dist/types/Charts/index.d.ts +15 -0
- package/dist/types/Charts/index.d.ts.map +1 -0
- package/dist/types/Charts/resolveChartLocale.d.ts +28 -0
- package/dist/types/Charts/resolveChartLocale.d.ts.map +1 -0
- package/dist/types/Charts/useChartValueFormatter.d.ts +34 -0
- package/dist/types/Charts/useChartValueFormatter.d.ts.map +1 -0
- package/dist/types/Charts/useStableValue.d.ts +29 -0
- package/dist/types/Charts/useStableValue.d.ts.map +1 -0
- package/dist/types/DatePickers/DateFieldLocalizationProvider.d.ts +1 -1
- package/dist/types/DatePickers/DateFieldLocalizationProvider.d.ts.map +1 -1
- package/dist/types/DatePickers/DatePicker.d.ts.map +1 -1
- package/dist/types/DatePickers/useOdysseyDateFields.d.ts +27 -15
- package/dist/types/DatePickers/useOdysseyDateFields.d.ts.map +1 -1
- package/dist/types/Drawer.d.ts +4 -0
- package/dist/types/Drawer.d.ts.map +1 -1
- package/dist/types/OdysseyThemeProvider.d.ts.map +1 -1
- package/dist/types/OdysseyThemeProviderPropsContext.d.ts +1 -1
- package/dist/types/OdysseyThemeProviderPropsContext.d.ts.map +1 -1
- package/dist/types/Typography.d.ts +26 -12
- package/dist/types/Typography.d.ts.map +1 -1
- package/dist/types/i18n.generated/i18n.d.ts +8 -0
- package/dist/types/i18n.generated/i18n.d.ts.map +1 -1
- package/dist/types/i18n.generated/i18n.resources.d.ts +14 -2
- package/dist/types/i18n.generated/i18n.resources.d.ts.map +1 -1
- package/dist/types/icons.generated/IdentityGovernanceSelected.d.ts +1 -1
- package/dist/types/icons.generated/IdentityGovernanceSelected.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/labs/DatePickers/DateTimePicker.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui.d.ts +4 -0
- package/dist/types/properties/ts/odyssey-react-mui.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ht.d.ts +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ok_PL.d.ts +4 -0
- package/dist/types/properties/ts/odyssey-react-mui_ok_PL.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_ok_SK.d.ts +4 -0
- package/dist/types/properties/ts/odyssey-react-mui_ok_SK.d.ts.map +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts +1 -1
- package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts.map +1 -1
- package/dist/types/theme/components/Button.d.ts.map +1 -1
- package/dist/types/theme/components/Drawer.d.ts.map +1 -1
- package/dist/types/theme/theme.d.ts +2 -0
- package/dist/types/theme/theme.d.ts.map +1 -1
- package/dist/types/theme/useAppElementContainerQuery.d.ts +24 -0
- package/dist/types/theme/useAppElementContainerQuery.d.ts.map +1 -0
- package/dist/types/theme/useContainerQuery.d.ts +37 -0
- package/dist/types/theme/useContainerQuery.d.ts.map +1 -0
- package/dist/types/theme/useMediaQuery.d.ts +29 -15
- package/dist/types/theme/useMediaQuery.d.ts.map +1 -1
- package/dist/types/useContrastMode.d.ts +10 -1
- package/dist/types/useContrastMode.d.ts.map +1 -1
- package/dist/types/useStableCallback.d.ts +45 -0
- package/dist/types/useStableCallback.d.ts.map +1 -0
- package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
- package/package.json +49 -17
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import type { ChartValueFormat } from "./formatChartValue.js";
|
|
13
|
+
/**
|
|
14
|
+
* One line on the chart. A series has a name and one value for each category.
|
|
15
|
+
*
|
|
16
|
+
* The chart holds the list of categories. A series holds only the values. Put
|
|
17
|
+
* the values in the same order as the categories.
|
|
18
|
+
*
|
|
19
|
+
* A category is always text, such as `"Week 1"` or `"2026-08"`. If your data
|
|
20
|
+
* has dates or times, put that data into groups of equal length first. A chart
|
|
21
|
+
* that needs a true time axis uses a different series type. See
|
|
22
|
+
* `docs/decisions/2026-08-21-chart-data-model-and-axis-api.md`.
|
|
23
|
+
*/
|
|
24
|
+
export type ChartSeries = {
|
|
25
|
+
/**
|
|
26
|
+
* The values of this series, one for each category, in the same order as
|
|
27
|
+
* the chart's `categories`.
|
|
28
|
+
*
|
|
29
|
+
* An entry of `null` means the series has no measurement for that
|
|
30
|
+
* category. The chart then draws a gap at that category. It does not draw
|
|
31
|
+
* a point with a value of zero.
|
|
32
|
+
*/
|
|
33
|
+
data: Array<number | null>;
|
|
34
|
+
/**
|
|
35
|
+
* The name of the series. The chart shows this name in the legend and in the
|
|
36
|
+
* popover. Each series in one chart must have a different name.
|
|
37
|
+
*/
|
|
38
|
+
name: string;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* A data point that the chart sends to an interaction callback, such as
|
|
42
|
+
* `onPointClick`. The callback receives one point at a time, so the point
|
|
43
|
+
* carries the name of its own series.
|
|
44
|
+
*/
|
|
45
|
+
export type ChartPoint = {
|
|
46
|
+
/** The category that this point belongs to. */
|
|
47
|
+
category: string;
|
|
48
|
+
/** The name of the series that this point belongs to. */
|
|
49
|
+
seriesName: ChartSeries["name"];
|
|
50
|
+
/**
|
|
51
|
+
* The measured value of this point. The type comes from one series value,
|
|
52
|
+
* with `null` removed. The chart draws no point at a gap, so a user cannot
|
|
53
|
+
* click one.
|
|
54
|
+
*/
|
|
55
|
+
value: NonNullable<ChartSeries["data"][number]>;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* The parts of a point that hold no position. Every chart type gives these
|
|
59
|
+
* parts to a point, whatever axes that chart has.
|
|
60
|
+
*
|
|
61
|
+
* `custom.formattedValue` holds the text that the popover shows. The chart
|
|
62
|
+
* formats a value once, when it builds the point, so the popover does not
|
|
63
|
+
* format that value again on each hover.
|
|
64
|
+
*
|
|
65
|
+
* `events` is absent when the caller supplies no click handler. Highcharts
|
|
66
|
+
* attaches a listener when it finds an `events` property, so a point with no
|
|
67
|
+
* click behavior must omit the property.
|
|
68
|
+
*/
|
|
69
|
+
export type ChartPointDecoration = {
|
|
70
|
+
custom: {
|
|
71
|
+
formattedValue: string;
|
|
72
|
+
};
|
|
73
|
+
events?: {
|
|
74
|
+
click: () => void;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* The properties for a chart that plots series against a category axis and a
|
|
79
|
+
* value axis.
|
|
80
|
+
* The layout around a chart often supplies its own heading in surrounding HTML,
|
|
81
|
+
* so a chart may need neither `title` nor `subtitle`.
|
|
82
|
+
*/
|
|
83
|
+
export type CartesianChartProps = {
|
|
84
|
+
/**
|
|
85
|
+
* A text description of the chart for assistive technology. The chart
|
|
86
|
+
* library puts this description in a hidden region of its own.
|
|
87
|
+
*/
|
|
88
|
+
ariaDescription: string;
|
|
89
|
+
/**
|
|
90
|
+
* The categories on the horizontal axis, in the order that the chart shows
|
|
91
|
+
* them. Each series in `series` supplies one value for each category, at
|
|
92
|
+
* the same index.
|
|
93
|
+
*/
|
|
94
|
+
categories: string[];
|
|
95
|
+
/**
|
|
96
|
+
* If `true`, the chart shows an error state in place of its series.
|
|
97
|
+
* `isLoading` takes precedence over this property.
|
|
98
|
+
*/
|
|
99
|
+
hasError?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* If `true`, the chart shows a loading state in place of its series.
|
|
102
|
+
* `isLoading` takes precedence over `hasError`.
|
|
103
|
+
*/
|
|
104
|
+
isLoading?: boolean;
|
|
105
|
+
/** The chart calls this function when a user clicks a point. */
|
|
106
|
+
onPointClick?: (point: ChartPoint) => void;
|
|
107
|
+
/**
|
|
108
|
+
* The chart calls this function when a user clicks the retry button in the
|
|
109
|
+
* error state. The error state shows no retry button when the caller
|
|
110
|
+
* omits this property.
|
|
111
|
+
*
|
|
112
|
+
* Set `isLoading` to `true` in this function, then set `hasError` to
|
|
113
|
+
* `false` once the data arrives. `isLoading` takes precedence over
|
|
114
|
+
* `hasError`, so the loading state replaces the error state for the length
|
|
115
|
+
* of the request. Leaving `isLoading` alone holds the error state, and its
|
|
116
|
+
* retry button, on screen while the request is in flight.
|
|
117
|
+
*/
|
|
118
|
+
onRetry?: () => void;
|
|
119
|
+
/**
|
|
120
|
+
* The format for the value in the popover of a point. If you omit this
|
|
121
|
+
* property, the popover shows the value in full.
|
|
122
|
+
*/
|
|
123
|
+
pointPopoverValueFormat?: ChartValueFormat;
|
|
124
|
+
/**
|
|
125
|
+
* The series that the chart plots. Each series is a set of values with a
|
|
126
|
+
* name. Each value lines up by index with the chart's `categories`.
|
|
127
|
+
*/
|
|
128
|
+
series: ChartSeries[];
|
|
129
|
+
/**
|
|
130
|
+
* The subtitle of the chart. The chart shows the subtitle below the title. A
|
|
131
|
+
* subtitle gives more information about the title, so the chart ignores a
|
|
132
|
+
* subtitle that arrives with no title.
|
|
133
|
+
*/
|
|
134
|
+
subtitle?: string;
|
|
135
|
+
/** The title of the chart. */
|
|
136
|
+
title?: string;
|
|
137
|
+
/** The label for the horizontal axis. */
|
|
138
|
+
xAxisLabel?: string;
|
|
139
|
+
/** The label for the vertical axis. */
|
|
140
|
+
yAxisLabel?: string;
|
|
141
|
+
};
|
|
142
|
+
//# sourceMappingURL=chartTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chartTypes.d.ts","sourceRoot":"","sources":["../../../src/Charts/chartTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D;;;;;;;;;;GAUG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;;;;;;OAOG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC3B;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,+CAA+C;IAC/C,QAAQ,EAAE,MAAM,CAAC;IACjB,yDAAyD;IACzD,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAChC;;;;OAIG;IACH,KAAK,EAAE,WAAW,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;CACjD,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE;QAAE,cAAc,EAAE,MAAM,CAAA;KAAE,CAAC;IACnC,MAAM,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC;CAChC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gEAAgE;IAChE,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3C;;;;;;;;;;OAUG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;OAGG;IACH,uBAAuB,CAAC,EAAE,gBAAgB,CAAC;IAC3C;;;OAGG;IACH,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8BAA8B;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yCAAyC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uCAAuC;IACvC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The `Intl.NumberFormat` options for each preset name. The preset union type
|
|
14
|
+
* {@link ChartValueFormat} takes its members from the keys of this object.
|
|
15
|
+
* This keeps the two lists in agreement. If a name exists in the union but
|
|
16
|
+
* not here, it resolves to `undefined` options. The value then formats as a
|
|
17
|
+
* plain decimal. The code gives no error.
|
|
18
|
+
*/
|
|
19
|
+
declare const numberFormatOptionsByPreset: {
|
|
20
|
+
readonly compact: {
|
|
21
|
+
readonly notation: "compact";
|
|
22
|
+
};
|
|
23
|
+
readonly decimal: {};
|
|
24
|
+
readonly percent: {
|
|
25
|
+
readonly style: "percent";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The named presets accepted by {@link ChartValueFormat}.
|
|
30
|
+
*
|
|
31
|
+
* - `"decimal"` renders the value in full, for example `1,234.5`.
|
|
32
|
+
* - `"compact"` shortens large values, for example `1.2K`.
|
|
33
|
+
* - `"percent"` multiplies the value by 100 and adds a percent sign. For
|
|
34
|
+
* example, `0.4567` renders as `46%`. Supply the value as a fraction, not
|
|
35
|
+
* as a percentage that is already scaled to 100. If the value is already
|
|
36
|
+
* scaled, the preset scales it twice. For example, `42` renders as
|
|
37
|
+
* `4,200%`.
|
|
38
|
+
*/
|
|
39
|
+
export type ChartValueFormatPreset = keyof typeof numberFormatOptionsByPreset;
|
|
40
|
+
/**
|
|
41
|
+
* A chart renders a value in this currency.
|
|
42
|
+
*/
|
|
43
|
+
export type ChartValueCurrencyFormat = {
|
|
44
|
+
/**
|
|
45
|
+
* An ISO 4217 currency code such as `"USD"` or `"JPY"`.
|
|
46
|
+
*/
|
|
47
|
+
currency: string;
|
|
48
|
+
style: "currency";
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* A chart value format is one of three kinds: a named preset, an explicit
|
|
52
|
+
* currency, or a function. A function takes the raw number and returns a
|
|
53
|
+
* string. A function gives the caller full control over the presentation.
|
|
54
|
+
*
|
|
55
|
+
* The presets are a closed set. They do not use the general type
|
|
56
|
+
* `Intl.NumberFormatOptions`. That type allows combinations that fail when
|
|
57
|
+
* the code builds them. For example, `{ style: "currency" }` without a
|
|
58
|
+
* `currency` field passes the type check. However, it raises a `TypeError`
|
|
59
|
+
* at construction. A caller that needs options outside the preset set can
|
|
60
|
+
* pass a function instead.
|
|
61
|
+
*/
|
|
62
|
+
export type ChartValueFormat = ChartValueFormatPreset | ChartValueCurrencyFormat | ((value: number) => string);
|
|
63
|
+
/**
|
|
64
|
+
* Props for {@link formatChartValue}.
|
|
65
|
+
*/
|
|
66
|
+
export type FormatChartValueProps = {
|
|
67
|
+
/**
|
|
68
|
+
* How to format the value.
|
|
69
|
+
* @default "decimal"
|
|
70
|
+
*/
|
|
71
|
+
format?: ChartValueFormat;
|
|
72
|
+
/**
|
|
73
|
+
* A language code from the Odyssey translation context, such as `"en"` or
|
|
74
|
+
* `"pt_BR"`. The function converts the language code to a BCP 47 tag
|
|
75
|
+
* before the value reaches `Intl`.
|
|
76
|
+
*/
|
|
77
|
+
languageCode: string;
|
|
78
|
+
/** The number to format. */
|
|
79
|
+
value: number;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Formats a single chart value into a locale aware string.
|
|
83
|
+
*
|
|
84
|
+
* When `format` is a function, the code calls it with `value`. The code
|
|
85
|
+
* returns the result directly and ignores `languageCode`. A caller that
|
|
86
|
+
* supplies a function controls the full presentation of the value.
|
|
87
|
+
* Otherwise, the function formats the value with an `Intl.NumberFormat`
|
|
88
|
+
* instance. It builds the instance from the resolved locale and the
|
|
89
|
+
* requested preset or currency.
|
|
90
|
+
*/
|
|
91
|
+
export declare const formatChartValue: ({ format, languageCode, value, }: FormatChartValueProps) => string;
|
|
92
|
+
export {};
|
|
93
|
+
//# sourceMappingURL=formatChartValue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatChartValue.d.ts","sourceRoot":"","sources":["../../../src/Charts/formatChartValue.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH;;;;;;GAMG;AACH,QAAA,MAAM,2BAA2B;;;;;;;;CAI4B,CAAC;AAE9D;;;;;;;;;;GAUG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,OAAO,2BAA2B,CAAC;AAE9E;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,UAAU,CAAC;CACnB,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,gBAAgB,GACxB,sBAAsB,GACtB,wBAAwB,GACxB,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;OAGG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,GAAI,kCAI9B,qBAAqB,KAAG,MAS1B,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import type { ChartPoint, ChartPointDecoration, ChartSeries } from "./chartTypes.js";
|
|
13
|
+
import type { ChartValueFormat } from "./formatChartValue.js";
|
|
14
|
+
import type { ChartValueFormatter } from "./useChartValueFormatter.js";
|
|
15
|
+
/**
|
|
16
|
+
* One point of a series that plots against a category axis. The category axis
|
|
17
|
+
* gives the position, so the point holds only its value.
|
|
18
|
+
*
|
|
19
|
+
* Highcharts names the value axis `y` for a line chart and also for a
|
|
20
|
+
* horizontal bar chart, because a bar chart inverts the drawing and not the
|
|
21
|
+
* data. So `y` means the measured value here, and not a vertical position.
|
|
22
|
+
*
|
|
23
|
+
* A chart that needs a position on both axes, such as a scatter chart, takes a
|
|
24
|
+
* point type of its own that adds `x`. That type shares
|
|
25
|
+
* `ChartPointDecoration` and does not extend this type.
|
|
26
|
+
*/
|
|
27
|
+
export type ChartSeriesPointDatum = ChartPointDecoration & {
|
|
28
|
+
y: number;
|
|
29
|
+
};
|
|
30
|
+
export type GetChartSeriesPointDataProps = {
|
|
31
|
+
categories: string[];
|
|
32
|
+
chartSeries: ChartSeries;
|
|
33
|
+
formatValue: ChartValueFormatter;
|
|
34
|
+
onPointClick?: (point: ChartPoint) => void;
|
|
35
|
+
pointPopoverValueFormat?: ChartValueFormat;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Returns one data point for each entry in `categories`, lined up by index
|
|
39
|
+
* with `chartSeries.data`. A `null` entry in `chartSeries.data` returns
|
|
40
|
+
* `null`. Highcharts then draws a gap, instead of a point with the value
|
|
41
|
+
* zero.
|
|
42
|
+
*
|
|
43
|
+
* The function throws if `chartSeries.data` and `categories` have different
|
|
44
|
+
* lengths. A value with no matching category has no position on the axis. If
|
|
45
|
+
* the chart silently cut or padded the series to fit, the chart would look
|
|
46
|
+
* correct while showing the wrong data. Throwing catches the mistake instead.
|
|
47
|
+
*/
|
|
48
|
+
export declare const getChartSeriesPointData: ({ categories, chartSeries, formatValue, onPointClick, pointPopoverValueFormat, }: GetChartSeriesPointDataProps) => Array<ChartSeriesPointDatum | null>;
|
|
49
|
+
//# sourceMappingURL=getChartSeriesPointData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getChartSeriesPointData.d.ts","sourceRoot":"","sources":["../../../src/Charts/getChartSeriesPointData.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EACV,UAAU,EACV,oBAAoB,EACpB,WAAW,EACZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,qBAAqB,GAAG,oBAAoB,GAAG;IACzD,CAAC,EAAE,MAAM,CAAC;CACX,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,EAAE,mBAAmB,CAAC;IACjC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3C,uBAAuB,CAAC,EAAE,gBAAgB,CAAC;CAC5C,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,uBAAuB,GAAI,kFAMrC,4BAA4B,KAAG,KAAK,CAAC,qBAAqB,GAAG,IAAI,CAkCnE,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import type { ChartSeries } from "./chartTypes.js";
|
|
13
|
+
export type HasDuplicateSeriesProps = {
|
|
14
|
+
series: ChartSeries[];
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Returns `true` when two or more series share one name.
|
|
18
|
+
*
|
|
19
|
+
* A chart uses the name of a series as its React key and as its legend label.
|
|
20
|
+
* When two series share one name, React drops one of them, and the chart draws
|
|
21
|
+
* fewer lines than the data holds.
|
|
22
|
+
*/
|
|
23
|
+
export declare const hasDuplicateSeries: ({ series }: HasDuplicateSeriesProps) => boolean;
|
|
24
|
+
//# sourceMappingURL=hasDuplicateSeries.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hasDuplicateSeries.d.ts","sourceRoot":"","sources":["../../../src/Charts/hasDuplicateSeries.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,MAAM,MAAM,uBAAuB,GAAG;IACpC,MAAM,EAAE,WAAW,EAAE,CAAC;CACvB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAAI,YAAY,uBAAuB,YACS,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
export type { ChartPoint, ChartSeries } from "./chartTypes.js";
|
|
13
|
+
export { type ChartValueFormat } from "./formatChartValue.js";
|
|
14
|
+
export { LineChart, type LineChartProps } from "./LineChart.js";
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Charts/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The function converts a language code from the Odyssey translation
|
|
14
|
+
* context to a BCP 47 locale tag. `Intl` constructors accept this tag.
|
|
15
|
+
*
|
|
16
|
+
* Okta's translation codes use an underscore to separate the region
|
|
17
|
+
* subtag, for example `pt_BR`, `zh_CN`, and `nl_NL`. Every `Intl`
|
|
18
|
+
* constructor rejects these codes with a `RangeError`. The Applitools test
|
|
19
|
+
* environment reports the code `en-us@posix`. This code has no BCP 47
|
|
20
|
+
* equivalent. As a result, six of the codes in `SupportedLanguages` crash
|
|
21
|
+
* an unguarded `Intl` call.
|
|
22
|
+
*
|
|
23
|
+
* If a code has no valid equivalent, the function returns `en-US` instead
|
|
24
|
+
* of raising an error. A chart with the wrong thousands separator is still
|
|
25
|
+
* better than a chart that fails to render.
|
|
26
|
+
*/
|
|
27
|
+
export declare const resolveChartLocale: (languageCode: string) => string;
|
|
28
|
+
//# sourceMappingURL=resolveChartLocale.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveChartLocale.d.ts","sourceRoot":"","sources":["../../../src/Charts/resolveChartLocale.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,GAAI,cAAc,MAAM,KAAG,MASzD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
import { type FormatChartValueProps } from "./formatChartValue.js";
|
|
13
|
+
/**
|
|
14
|
+
* The formatter functions from {@link useChartValueFormatter} accept these
|
|
15
|
+
* props. The props match {@link FormatChartValueProps}, but without
|
|
16
|
+
* `languageCode`. The hook binds the `languageCode` field from context.
|
|
17
|
+
*/
|
|
18
|
+
export type ChartValueFormatterProps = Omit<FormatChartValueProps, "languageCode">;
|
|
19
|
+
/**
|
|
20
|
+
* Formats a chart value with the active locale.
|
|
21
|
+
*/
|
|
22
|
+
export type ChartValueFormatter = (props: ChartValueFormatterProps) => string;
|
|
23
|
+
/**
|
|
24
|
+
* The hook reads the active language code from the Odyssey translation
|
|
25
|
+
* context. The hook returns a version of {@link formatChartValue} that uses
|
|
26
|
+
* that locale. A consumer only needs to supply `value` and an optional
|
|
27
|
+
* `format`.
|
|
28
|
+
*
|
|
29
|
+
* The returned function stays referentially stable while the active
|
|
30
|
+
* language stays the same. This makes it safe to add as a dependency of a
|
|
31
|
+
* consumer's `useMemo`.
|
|
32
|
+
*/
|
|
33
|
+
export declare const useChartValueFormatter: () => ChartValueFormatter;
|
|
34
|
+
//# sourceMappingURL=useChartValueFormatter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChartValueFormatter.d.ts","sourceRoot":"","sources":["../../../src/Charts/useChartValueFormatter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,EAEL,KAAK,qBAAqB,EAC3B,MAAM,uBAAuB,CAAC;AAE/B;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,IAAI,CACzC,qBAAqB,EACrB,cAAc,CACf,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,wBAAwB,KAAK,MAAM,CAAC;AAE9E;;;;;;;;;GASG;AACH,eAAO,MAAM,sBAAsB,QAAO,mBAQzC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright (c) 2026-present, Okta, Inc. and/or its affiliates. All rights reserved.
|
|
3
|
+
* The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
|
|
4
|
+
*
|
|
5
|
+
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
|
|
6
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
8
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
*
|
|
10
|
+
* See the License for the specific language governing permissions and limitations under the License.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Returns the same object for as long as the contents of `value` stay the same.
|
|
14
|
+
* The hook returns the new object after a content change.
|
|
15
|
+
*
|
|
16
|
+
* A chart needs this hook because the chart library rebuilds and redraws the
|
|
17
|
+
* whole chart when the identity of its React children changes. A caller that
|
|
18
|
+
* builds a `series` array inside its own render supplies a new array on each
|
|
19
|
+
* render, and every memo below that point then misses. A comparison of the
|
|
20
|
+
* contents costs one walk over the points, which is far less than one redraw of
|
|
21
|
+
* the chart.
|
|
22
|
+
*
|
|
23
|
+
* The comparison treats a function by its identity, because two functions with
|
|
24
|
+
* the same body can still behave differently. Therefore a caller that supplies a
|
|
25
|
+
* new function on each render, such as an inline formatter, gets a new object
|
|
26
|
+
* from this hook on each render.
|
|
27
|
+
*/
|
|
28
|
+
export declare const useStableValue: <ValueType>(value: ValueType) => ValueType;
|
|
29
|
+
//# sourceMappingURL=useStableValue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStableValue.d.ts","sourceRoot":"","sources":["../../../src/Charts/useStableValue.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,cAAc,GAAI,SAAS,EAAE,OAAO,SAAS,KAAG,SAW5D,CAAC"}
|
|
@@ -16,5 +16,5 @@ type DateFieldLocalizationProviderProps = {
|
|
|
16
16
|
localeText: DateFieldsTranslations;
|
|
17
17
|
};
|
|
18
18
|
declare const MemoizedDateFieldLocalizationProvider: import("react").MemoExoticComponent<({ children, defaultedLanguageCode, localeText, }: PropsWithChildren<DateFieldLocalizationProviderProps>) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
19
|
-
export { MemoizedDateFieldLocalizationProvider as DateFieldLocalizationProvider };
|
|
19
|
+
export { MemoizedDateFieldLocalizationProvider as DateFieldLocalizationProvider, };
|
|
20
20
|
//# sourceMappingURL=DateFieldLocalizationProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateFieldLocalizationProvider.d.ts","sourceRoot":"","sources":["../../../src/DatePickers/DateFieldLocalizationProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,EAAQ,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAExE,KAAK,kCAAkC,GAAG;IACxC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,UAAU,EAAE,sBAAsB,CAAC;CACpC,CAAC;AAkBF,QAAA,MAAM,qCAAqC,yFAZxC,iBAAiB,CAAC,kCAAkC,CAAC,sDAcvD,CAAC;AAIF,OAAO,
|
|
1
|
+
{"version":3,"file":"DateFieldLocalizationProvider.d.ts","sourceRoot":"","sources":["../../../src/DatePickers/DateFieldLocalizationProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,EAAQ,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAExE,KAAK,kCAAkC,GAAG;IACxC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,UAAU,EAAE,sBAAsB,CAAC;CACpC,CAAC;AAkBF,QAAA,MAAM,qCAAqC,yFAZxC,iBAAiB,CAAC,kCAAkC,CAAC,sDAcvD,CAAC;AAIF,OAAO,EACL,qCAAqC,IAAI,6BAA6B,GACvE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/DatePickers/DatePicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAaH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAahE,OAAO,EACL,qBAAqB,EAEtB,MAAM,2BAA2B,CAAC;AA4BnC,MAAM,MAAM,eAAe,GAAG,qBAAqB,GACjD,IAAI,CACF,mBAAmB,EACjB,cAAc,GACd,MAAM,GACN,mBAAmB,GACnB,IAAI,GACJ,YAAY,GACZ,YAAY,GACZ,YAAY,CACf,CAAC;
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/DatePickers/DatePicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAaH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAahE,OAAO,EACL,qBAAqB,EAEtB,MAAM,2BAA2B,CAAC;AA4BnC,MAAM,MAAM,eAAe,GAAG,qBAAqB,GACjD,IAAI,CACF,mBAAmB,EACjB,cAAc,GACd,MAAM,GACN,mBAAmB,GACnB,IAAI,GACJ,YAAY,GACZ,YAAY,GACZ,YAAY,CACf,CAAC;AAmOJ,QAAA,MAAM,kBAAkB,0YAtMrB,eAAe,sDAsMyB,CAAC;AAG5C,OAAO,EAAE,kBAAkB,IAAI,UAAU,EAAE,CAAC"}
|
|
@@ -13,13 +13,36 @@ import { DateTime } from "luxon";
|
|
|
13
13
|
import { FocusEventHandler } from "react";
|
|
14
14
|
import { FieldComponentProps } from "../FieldComponentProps.js";
|
|
15
15
|
import { TimeZoneOption, TimeZonePickerProps } from "./TimeZonePicker.js";
|
|
16
|
-
export type
|
|
16
|
+
export type UncontrolledDateFieldProps = {
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Value the field is seeded with while it mounts. Read only on that first
|
|
19
|
+
* render, so a later change is ignored.
|
|
19
20
|
*
|
|
20
21
|
* NOTE: Must be a date string in ISO format
|
|
21
22
|
*/
|
|
22
23
|
defaultValue?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Value the field displays for its whole life.
|
|
26
|
+
* Should not be used if `defaultValue` is used
|
|
27
|
+
*/
|
|
28
|
+
value?: never;
|
|
29
|
+
};
|
|
30
|
+
export type ControlledDateFieldProps = {
|
|
31
|
+
/**
|
|
32
|
+
* Value the field is seeded with while it mounts.
|
|
33
|
+
* Should not be used if `value` is used
|
|
34
|
+
*/
|
|
35
|
+
defaultValue?: never;
|
|
36
|
+
/**
|
|
37
|
+
* Value the field displays for its whole life, so passing an empty value
|
|
38
|
+
* clears it.
|
|
39
|
+
*
|
|
40
|
+
* NOTE: Must be a date string in ISO format. Anything that cannot be parsed
|
|
41
|
+
* leaves the field empty
|
|
42
|
+
*/
|
|
43
|
+
value?: string;
|
|
44
|
+
};
|
|
45
|
+
export type OdysseyDateFieldBaseProps = {
|
|
23
46
|
/**
|
|
24
47
|
* Disable specific date(s).
|
|
25
48
|
*
|
|
@@ -77,13 +100,8 @@ export type OdysseyDateFieldProps = {
|
|
|
77
100
|
* label for `TimeZonePicker`
|
|
78
101
|
*/
|
|
79
102
|
timeZonePickerLabel?: TimeZonePickerProps["label"];
|
|
80
|
-
/**
|
|
81
|
-
* value when controlled.
|
|
82
|
-
*
|
|
83
|
-
* NOTE: Must be a date string in ISO format or it will not be applied
|
|
84
|
-
*/
|
|
85
|
-
value?: string;
|
|
86
103
|
};
|
|
104
|
+
export type OdysseyDateFieldProps = OdysseyDateFieldBaseProps & (ControlledDateFieldProps | UncontrolledDateFieldProps);
|
|
87
105
|
type FormatDateTimeToUtcIsoDateString = (value: DateTime) => string | undefined;
|
|
88
106
|
export declare const useOdysseyDateFields: ({ defaultValue, isDateEnabled, isMonthEnabled, isYearEnabled, minDate: minDateProp, maxDate: maxDateProp, onInputChange: onInputChangeProp, timeZone, value, }: Pick<OdysseyDateFieldProps, "defaultValue" | "isDateEnabled" | "isMonthEnabled" | "isYearEnabled" | "minDate" | "maxDate" | "onInputChange" | "timeZone" | "value"> & Pick<FieldComponentProps, "errorMessage">) => {
|
|
89
107
|
closeCalendar: () => void;
|
|
@@ -96,13 +114,6 @@ export declare const useOdysseyDateFields: ({ defaultValue, isDateEnabled, isMon
|
|
|
96
114
|
defaultedLanguageCode: string;
|
|
97
115
|
formatDateTimeToUtcIsoDateString: FormatDateTimeToUtcIsoDateString;
|
|
98
116
|
formatDayOfWeek: (date: DateTime) => string;
|
|
99
|
-
inputValues: {
|
|
100
|
-
value: DateTime<true> | DateTime<false>;
|
|
101
|
-
defaultValue?: undefined;
|
|
102
|
-
} | {
|
|
103
|
-
defaultValue: DateTime<true> | DateTime<false>;
|
|
104
|
-
value?: undefined;
|
|
105
|
-
} | null;
|
|
106
117
|
internalTimeZone: string;
|
|
107
118
|
internalValueRef: import("react").MutableRefObject<DateTime<boolean> | null>;
|
|
108
119
|
isOpen: boolean;
|
|
@@ -113,6 +124,7 @@ export declare const useOdysseyDateFields: ({ defaultValue, isDateEnabled, isMon
|
|
|
113
124
|
popperElement: HTMLInputElement | null | undefined;
|
|
114
125
|
onInputChange: (value: string) => void;
|
|
115
126
|
onTimeZoneChange: (timeZone: string | undefined) => void;
|
|
127
|
+
pickerValue: DateTime<true> | DateTime<false> | null;
|
|
116
128
|
setInternalTimeZone: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
117
129
|
setIsOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
118
130
|
setPopperElement: import("react").Dispatch<import("react").SetStateAction<HTMLInputElement | null | undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOdysseyDateFields.d.ts","sourceRoot":"","sources":["../../../src/DatePickers/useOdysseyDateFields.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EACL,iBAAiB,EAMlB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"useOdysseyDateFields.d.ts","sourceRoot":"","sources":["../../../src/DatePickers/useOdysseyDateFields.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EACL,iBAAiB,EAMlB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAQhE,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAkB1E,MAAM,MAAM,0BAA0B,GAAG;IACvC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC;;;;OAIG;IACH,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IACxC;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IACzC;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IACxC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IAC7C;;OAEG;IACH,oBAAoB,CAAC,EAAE,CAAC,EACtB,KAAK,EACL,QAAQ,GACT,EAAE;QACD,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;KAC3B,KAAK,IAAI,CAAC;IACX;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,eAAe,CAAC,EAAE,cAAc,EAAE,CAAC;IACnC;;OAEG;IACH,mBAAmB,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC,CAAC;CACpD,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,yBAAyB,GAC3D,CAAC,wBAAwB,GAAG,0BAA0B,CAAC,CAAC;AAE1D,KAAK,gCAAgC,GAAG,CAAC,KAAK,EAAE,QAAQ,KAAK,MAAM,GAAG,SAAS,CAAC;AAOhF,eAAO,MAAM,oBAAoB,GAAI,gKAUlC,IAAI,CACL,qBAAqB,EACnB,cAAc,GACd,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,SAAS,GACT,SAAS,GACT,eAAe,GACf,UAAU,GACV,OAAO,CACV,GACC,IAAI,CAAC,mBAAmB,EAAE,cAAc,CAAC;;;;;;;;;;4BA4GV,QAAQ;;;;gCAhE1B,MAAM;;;;;2BAkEuB,MAAM,KAAK,IAAI;iCAnB5C,MAAM,GAAG,SAAS;;;;;8BApCtB,QAAQ;+BAKR,QAAQ;8BAKR,QAAQ;;CAoFlB,CAAC"}
|
package/dist/types/Drawer.d.ts
CHANGED
|
@@ -53,6 +53,10 @@ export type DrawerProps = {
|
|
|
53
53
|
* Controls how the Drawer positions relative to page content.
|
|
54
54
|
* - If `'temporary'`, overlays content and dismisses when the user clicks the backdrop.
|
|
55
55
|
* - If `'persistent'`, pushes the page layout to the side and stays open until explicitly closed.
|
|
56
|
+
*
|
|
57
|
+
* A `'temporary'` Drawer spans the full viewport width at 400 pixels and
|
|
58
|
+
* below. A `'persistent'` Drawer keeps its width of about 360 pixels at every
|
|
59
|
+
* viewport size.
|
|
56
60
|
* @default "temporary"
|
|
57
61
|
*/
|
|
58
62
|
variant?: (typeof variantValues)[number];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../src/Drawer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAEL,WAAW,IAAI,cAAc,EAC9B,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../src/Drawer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,EAEL,WAAW,IAAI,cAAc,EAC9B,MAAM,eAAe,CAAC;AAGvB,OAAO,EAEL,YAAY,EACZ,SAAS,EAMV,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,EAAE,MAAM,EAAe,MAAM,qBAAqB,CAAC;AAU1D,KAAK,eAAe,GAAG,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1E,KAAK,gBAAgB,GAAG,UAAU,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC3E,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,GAAG,kBAAkB,CAAC;AAExE,eAAO,MAAM,aAAa,sCAAuC,CAAC;AAElE,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,CAAC,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACvE;;;OAGG;IACH,4BAA4B,CAAC,EAAE,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;IAC3D;;;OAGG;IACH,8BAA8B,CAAC,EAAE,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;IAC7D;;;OAGG;IACH,6BAA6B,CAAC,EAAE,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;IAC5D;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;CAC1C,GAAG,IAAI,CAAC,SAAS,EAAE,WAAW,GAAG,QAAQ,GAAG,WAAW,CAAC,GACvD,CACI;IACE;;;OAGG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB;;;;;OAKG;IACH,YAAY,EAAE,OAAO,CAAC;CACvB,GACD;IACE;;;OAGG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB,CACJ,CAAC;AAmPJ,QAAA,MAAM,cAAc,8PA7IjB,WAAW,sDA6IqB,CAAC;AAGpC,OAAO,EAAE,cAAc,IAAI,MAAM,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OdysseyThemeProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyThemeProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AASH,OAAO,EAAQ,SAAS,EAAW,MAAM,OAAO,CAAC;AAMjD,OAAO,EACL,KAAK,gCAAgC,EAGtC,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,YAAY,EAGb,MAAM,sBAAsB,CAAC;AAO9B,MAAM,MAAM,yBAAyB,GAAG,gCAAgC,GAAG;IACzE,8DAA8D;IAC9D,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC;CACjD,CAAC;
|
|
1
|
+
{"version":3,"file":"OdysseyThemeProvider.d.ts","sourceRoot":"","sources":["../../src/OdysseyThemeProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AASH,OAAO,EAAQ,SAAS,EAAW,MAAM,OAAO,CAAC;AAMjD,OAAO,EACL,KAAK,gCAAgC,EAGtC,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,YAAY,EAGb,MAAM,sBAAsB,CAAC;AAO9B,MAAM,MAAM,yBAAyB,GAAG,gCAAgC,GAAG;IACzE,8DAA8D;IAC9D,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC;CACjD,CAAC;AA6GF,QAAA,MAAM,4BAA4B,uPA5F/B,yBAAyB,sDA4FmC,CAAC;AAGhE,OAAO,EAAE,4BAA4B,IAAI,oBAAoB,EAAE,CAAC"}
|
|
@@ -23,5 +23,5 @@ export type OdysseyThemeProviderPropsProviderProps = OdysseyThemeProviderContext
|
|
|
23
23
|
children: ReactNode;
|
|
24
24
|
};
|
|
25
25
|
declare const MemoizedOdysseyThemeProviderPropsProvider: import("react").MemoExoticComponent<({ children, designTokensOverride, shadowRootElement, themeOverride, }: OdysseyThemeProviderPropsProviderProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
|
|
26
|
-
export { MemoizedOdysseyThemeProviderPropsProvider as OdysseyThemeProviderPropsProvider };
|
|
26
|
+
export { MemoizedOdysseyThemeProviderPropsProvider as OdysseyThemeProviderPropsProvider, };
|
|
27
27
|
//# sourceMappingURL=OdysseyThemeProviderPropsContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OdysseyThemeProviderPropsContext.d.ts","sourceRoot":"","sources":["../../src/OdysseyThemeProviderPropsContext.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAGL,KAAK,SAAS,EAGf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAExD,MAAM,MAAM,gCAAgC,GAAG;IAC7C,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,iBAAiB,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC;IACjD,aAAa,CAAC,EAAE,YAAY,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,gCAAgC,2DACQ,CAAC;AAEtD,eAAO,MAAM,mCAAmC,wCACF,CAAC;AAE/C,MAAM,MAAM,sCAAsC,GAChD,gCAAgC,GAAG;IACjC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAiCJ,QAAA,MAAM,yCAAyC,8GA1B5C,sCAAsC,sDA4BxC,CAAC;AAIF,OAAO,
|
|
1
|
+
{"version":3,"file":"OdysseyThemeProviderPropsContext.d.ts","sourceRoot":"","sources":["../../src/OdysseyThemeProviderPropsContext.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAGL,KAAK,SAAS,EAGf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAExD,MAAM,MAAM,gCAAgC,GAAG;IAC7C,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,iBAAiB,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC;IACjD,aAAa,CAAC,EAAE,YAAY,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,gCAAgC,2DACQ,CAAC;AAEtD,eAAO,MAAM,mCAAmC,wCACF,CAAC;AAE/C,MAAM,MAAM,sCAAsC,GAChD,gCAAgC,GAAG;IACjC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAiCJ,QAAA,MAAM,yCAAyC,8GA1B5C,sCAAsC,sDA4BxC,CAAC;AAIF,OAAO,EACL,yCAAyC,IAAI,iCAAiC,GAC/E,CAAC"}
|