@12-apps/ui 6.35.0 → 6.37.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/_internal/components/data-display/Alert/Alert.js +3 -3
- package/dist/_internal/components/data-display/Alert/Alert.styles.js +2 -2
- package/dist/_internal/components/data-display/AlertDialog/AlertDialog.js +2 -2
- package/dist/_internal/components/data-display/AsyncStateContainer/AsyncStateContainer.js +5 -5
- package/dist/_internal/components/data-display/Avatar/Avatar.animations.js +2 -1
- package/dist/_internal/components/data-display/Avatar/Avatar.js +4 -4
- package/dist/_internal/components/data-display/Avatar/Avatar.view.js +3 -3
- package/dist/_internal/components/data-display/Badge/Badge.animations.js +2 -1
- package/dist/_internal/components/data-display/Badge/Badge.js +6 -6
- package/dist/_internal/components/data-display/Badge/Badge.styles.js +4 -4
- package/dist/_internal/components/data-display/Badge/Badge.variants.js +2 -2
- package/dist/_internal/components/data-display/Badge/BadgeContent.js +5 -5
- package/dist/_internal/components/data-display/Banner/Banner.js +3 -3
- package/dist/_internal/components/data-display/Banner/Banner.styles.js +2 -2
- package/dist/_internal/components/data-display/CardKit/CardKebab.js +4 -4
- package/dist/_internal/components/data-display/CardKit/card-actions-context.js +4 -4
- package/dist/_internal/components/data-display/CardKit/list-card-parts.js +1 -1
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +12 -12
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +9 -9
- package/dist/_internal/components/data-display/Carousel/Carousel.chrome.js +3 -3
- package/dist/_internal/components/data-display/Carousel/Carousel.js +6 -6
- package/dist/_internal/components/data-display/Carousel/Carousel.parts.js +2 -2
- package/dist/_internal/components/data-display/Carousel/Carousel.slide.js +2 -1
- package/dist/_internal/components/data-display/Carousel/Carousel.styles.js +6 -4
- package/dist/_internal/components/data-display/Chart/Chart.js +7 -7
- package/dist/_internal/components/data-display/Chart/ChartComposables.js +2 -1
- package/dist/_internal/components/data-display/Chart/SpecChart.js +8 -8
- package/dist/_internal/components/data-display/Chart/chart-axis.js +2 -1
- package/dist/_internal/components/data-display/Chart/chart-context.js +4 -4
- package/dist/_internal/components/data-display/Chart/chart-internals.js +4 -2
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +6 -6
- package/dist/_internal/components/data-display/Chip/Chip.js +3 -2
- package/dist/_internal/components/data-display/Chip/Chip.styles.js +2 -1
- package/dist/_internal/components/data-display/DataGrid/DataGrid.js +3 -2
- package/dist/_internal/components/data-display/DataGrid/DataGrid.states.js +2 -1
- package/dist/_internal/components/data-display/DataViews/DataViewsBoard.js +2 -2
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +47 -47
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +66 -66
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +4 -4
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +9 -9
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +11 -11
- package/dist/_internal/components/data-display/DataViews/base-card.js +6 -6
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +12 -12
- package/dist/_internal/components/data-display/DataViews/base-list-card-gutters.js +4 -4
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +8 -8
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +15 -15
- package/dist/_internal/components/data-display/DataViews/card-surface.js +3 -2
- package/dist/_internal/components/data-display/DataViews/data-views-bar-controls.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +12 -12
- package/dist/_internal/components/data-display/DataViews/data-views-columns-tab.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-columns.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-day-input.js +2 -1
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +11 -11
- package/dist/_internal/components/data-display/DataViews/data-views-display-tabs.js +7 -7
- package/dist/_internal/components/data-display/DataViews/data-views-drag.js +2 -1
- package/dist/_internal/components/data-display/DataViews/data-views-empty.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-export.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +16 -16
- package/dist/_internal/components/data-display/DataViews/data-views-glyphs.js +2 -1
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +14 -14
- package/dist/_internal/components/data-display/DataViews/data-views-grid-helpers.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +44 -44
- package/dist/_internal/components/data-display/DataViews/data-views-header-row.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +21 -21
- package/dist/_internal/components/data-display/DataViews/data-views-layout-context.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +8 -8
- package/dist/_internal/components/data-display/DataViews/data-views-number-input.js +2 -1
- package/dist/_internal/components/data-display/DataViews/data-views-pagination.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-scope-tabs.js +7 -7
- package/dist/_internal/components/data-display/DataViews/data-views-scopes.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-search.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-select-all-strip.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +15 -15
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +20 -20
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +14 -14
- package/dist/_internal/components/data-display/DataViews/data-views-view-nav.js +4 -4
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +6 -6
- package/dist/_internal/components/data-display/DataViews/save-view-preview.js +2 -2
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +7 -7
- package/dist/_internal/components/data-display/DateTimeDisplay/DateTimeDisplay.js +2 -1
- package/dist/_internal/components/data-display/DateTimeDisplay/index.js +2 -1
- package/dist/_internal/components/data-display/DescriptionItem/DescriptionItem.js +2 -2
- package/dist/_internal/components/data-display/EmptyState/EmptyState.js +2 -1
- package/dist/_internal/components/data-display/ErrorState/ErrorState.js +1 -1
- package/dist/_internal/components/data-display/FleetMap/FleetBody.js +15 -15
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +13 -13
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +18 -18
- package/dist/_internal/components/data-display/FleetMap/FleetRoster.js +2 -1
- package/dist/_internal/components/data-display/HoverCard/HoverCard.animations.js +2 -1
- package/dist/_internal/components/data-display/HoverCard/HoverCard.content.js +2 -1
- package/dist/_internal/components/data-display/HoverCard/HoverCard.js +5 -4
- package/dist/_internal/components/data-display/HoverCard/HoverCard.styles.js +3 -2
- package/dist/_internal/components/data-display/InteractiveTooltip/InteractiveTooltip.hooks.js +1 -1
- package/dist/_internal/components/data-display/InteractiveTooltip/InteractiveTooltip.js +4 -4
- package/dist/_internal/components/data-display/InteractiveTooltip/InteractiveTooltip.styles.js +4 -2
- package/dist/_internal/components/data-display/LazyImage/LazyImage.hooks.js +2 -1
- package/dist/_internal/components/data-display/LazyImage/LazyImage.js +3 -2
- package/dist/_internal/components/data-display/Lightbox/Lightbox.constants.js +4 -4
- package/dist/_internal/components/data-display/Lightbox/Lightbox.hooks.js +3 -3
- package/dist/_internal/components/data-display/Lightbox/Lightbox.js +9 -9
- package/dist/_internal/components/data-display/Lightbox/LightboxControls.js +3 -3
- package/dist/_internal/components/data-display/Lightbox/LightboxOverlay.js +4 -4
- package/dist/_internal/components/data-display/Lightbox/LightboxStage.js +3 -3
- package/dist/_internal/components/data-display/Lightbox/LightboxThumbnails.js +3 -3
- package/dist/_internal/components/data-display/Lightbox/useLightbox.js +4 -4
- package/dist/_internal/components/data-display/LoadingState/LoadingState.js +2 -1
- package/dist/_internal/components/data-display/MapPreview/MapControlBar.js +2 -1
- package/dist/_internal/components/data-display/MapPreview/MapDecorations.js +3 -3
- package/dist/_internal/components/data-display/MapPreview/MapLayers.js +5 -4
- package/dist/_internal/components/data-display/MapPreview/MapMarkers.js +3 -3
- package/dist/_internal/components/data-display/MapPreview/MapOverlays.js +1 -1
- package/dist/_internal/components/data-display/MapPreview/MapPreview.helpers.js +2 -1
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +12 -12
- package/dist/_internal/components/data-display/MapPreview/MapSearchBar.js +2 -1
- package/dist/_internal/components/data-display/MapPreview/MapTiles.js +3 -2
- package/dist/_internal/components/data-display/MapPreview/StaticMapView.js +5 -5
- package/dist/_internal/components/data-display/MapPreview/mapSurface.js +4 -3
- package/dist/_internal/components/data-display/Popover/Popover.js +2 -1
- package/dist/_internal/components/data-display/Progress/Progress.js +3 -3
- package/dist/_internal/components/data-display/Progress/Progress.styles.js +2 -2
- package/dist/_internal/components/data-display/SectionOnboarding/SectionOnboarding.js +4 -4
- package/dist/_internal/components/data-display/Sheet/Sheet.animations.js +2 -1
- package/dist/_internal/components/data-display/Sheet/Sheet.body.js +4 -4
- package/dist/_internal/components/data-display/Sheet/Sheet.hooks.js +3 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.js +7 -7
- package/dist/_internal/components/data-display/Sheet/Sheet.parts.js +3 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.styles.js +3 -3
- package/dist/_internal/components/data-display/StatCard/StatCard.js +2 -2
- package/dist/_internal/components/data-display/Stepper/Stepper.js +2 -2
- package/dist/_internal/components/data-display/Table/Table.js +2 -2
- package/dist/_internal/components/data-display/Table/Table.styles.js +1 -1
- package/dist/_internal/components/data-display/Timeline/Timeline.js +3 -3
- package/dist/_internal/components/data-display/Timeline/TimelineRow.js +2 -2
- package/dist/_internal/components/data-display/TimingDiagram/TimingDiagram.js +3 -3
- package/dist/_internal/components/data-display/TimingDiagram/TimingDiagram.views.js +2 -2
- package/dist/_internal/components/data-display/Tooltip/Tooltip.js +2 -2
- package/dist/_internal/components/data-display/index.js +88 -88
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmAction.js +4 -4
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmAction.parts.js +3 -3
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmButton.js +7 -7
- package/dist/_internal/components/feedback/ConfirmAction/with-confirmation.js +4 -4
- package/dist/_internal/components/feedback/NotificationStatusNotice/NotificationStatusNotice.js +6 -6
- package/dist/_internal/components/feedback/Sonner/Sonner.js +1 -1
- package/dist/_internal/components/feedback/Sonner/SonnerToast.js +1 -1
- package/dist/_internal/components/feedback/index.js +11 -11
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.js +7 -7
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocompleteField.js +5 -5
- package/dist/_internal/components/form/AddressAutocomplete/AddressFallbackField.js +3 -2
- package/dist/_internal/components/form/AddressAutocomplete/AddressInputField.js +3 -2
- package/dist/_internal/components/form/AddressAutocomplete/AddressSuggestionsPaper.js +2 -1
- package/dist/_internal/components/form/AddressAutocomplete/AddressTextField.js +2 -1
- package/dist/_internal/components/form/Autocomplete/Autocomplete.js +3 -2
- package/dist/_internal/components/form/Autocomplete/Autocomplete.parts.js +2 -1
- package/dist/_internal/components/form/Button/Button.js +3 -3
- package/dist/_internal/components/form/Button/Button.styles.js +2 -2
- package/dist/_internal/components/form/CategorySelect/CategoryPanel.js +7 -7
- package/dist/_internal/components/form/CategorySelect/CategoryPanelFoot.js +3 -3
- package/dist/_internal/components/form/CategorySelect/CategoryPanelHead.js +3 -3
- package/dist/_internal/components/form/CategorySelect/CategoryPanelList.js +4 -4
- package/dist/_internal/components/form/CategorySelect/CategoryPanelSurface.js +2 -1
- package/dist/_internal/components/form/CategorySelect/CategoryRows.js +3 -3
- package/dist/_internal/components/form/CategorySelect/CategorySelect.js +11 -11
- package/dist/_internal/components/form/CategorySelect/CategorySelect.styles.js +2 -2
- package/dist/_internal/components/form/CategorySelect/CategoryTrigger.js +3 -3
- package/dist/_internal/components/form/CepField/CepField.js +5 -5
- package/dist/_internal/components/form/Checkbox/Checkbox.js +2 -2
- package/dist/_internal/components/form/CodeEditor/CodeEditor.helpers.js +1 -1
- package/dist/_internal/components/form/CodeEditor/CodeEditor.js +3 -3
- package/dist/_internal/components/form/Command/Command.hooks.js +1 -1
- package/dist/_internal/components/form/Command/Command.js +5 -5
- package/dist/_internal/components/form/Command/Command.parts.js +2 -1
- package/dist/_internal/components/form/Command/Command.styles.js +2 -2
- package/dist/_internal/components/form/CreatableSelect/CreatableSelect.js +3 -3
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.hooks.js +4 -3
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +7 -7
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.range.js +3 -2
- package/dist/_internal/components/form/DateRangePicker/DateRangePickerFields.js +4 -3
- package/dist/_internal/components/form/DateRangePicker/DateRangePickerQuickList.js +1 -1
- package/dist/_internal/components/form/Form/Form.js +1 -1
- package/dist/_internal/components/form/HeaderActions/HeaderActions.js +1 -1
- package/dist/_internal/components/form/Input/Input.js +3 -2
- package/dist/_internal/components/form/Input/Input.styles.js +2 -1
- package/dist/_internal/components/form/InputOTP/InputOTP.js +3 -3
- package/dist/_internal/components/form/InputOTP/InputOTP.styles.js +2 -2
- package/dist/_internal/components/form/Label/Label.js +3 -3
- package/dist/_internal/components/form/Label/Label.styles.js +2 -2
- package/dist/_internal/components/form/Menubar/Menubar.item.js +3 -3
- package/dist/_internal/components/form/Menubar/Menubar.js +5 -5
- package/dist/_internal/components/form/Menubar/Menubar.styles.js +2 -2
- package/dist/_internal/components/form/Menubar/Menubar.toolbar.js +4 -4
- package/dist/_internal/components/form/PasswordStrength/PasswordStrength.js +1 -1
- package/dist/_internal/components/form/PhoneInput/PhoneInput.js +2 -2
- package/dist/_internal/components/form/RadioGroup/RadioGroup.animations.js +2 -1
- package/dist/_internal/components/form/RadioGroup/RadioGroup.js +5 -5
- package/dist/_internal/components/form/RadioGroup/RadioGroup.styles.js +3 -3
- package/dist/_internal/components/form/RadioGroup/RadioGroup.variants.js +4 -4
- package/dist/_internal/components/form/RichTextEditor/RichTextEditor.js +3 -3
- package/dist/_internal/components/form/RichTextEditor/RichTextEditorToolbar.js +2 -1
- package/dist/_internal/components/form/SearchPalette/SearchPalette.js +2 -2
- package/dist/_internal/components/form/SearchPalette/SearchPalette.parts.js +1 -1
- package/dist/_internal/components/form/Select/Select.js +2 -1
- package/dist/_internal/components/form/Slider/Slider.animations.js +2 -1
- package/dist/_internal/components/form/Slider/Slider.js +4 -4
- package/dist/_internal/components/form/Slider/Slider.styles.js +3 -3
- package/dist/_internal/components/form/Switch/Switch.animations.js +2 -1
- package/dist/_internal/components/form/Switch/Switch.js +5 -5
- package/dist/_internal/components/form/Switch/Switch.parts.js +4 -4
- package/dist/_internal/components/form/Switch/Switch.styles.js +3 -3
- package/dist/_internal/components/form/Textarea/Textarea.js +3 -3
- package/dist/_internal/components/form/Textarea/Textarea.styles.js +2 -1
- package/dist/_internal/components/form/Textarea/TextareaRichEditor.js +14 -13
- package/dist/_internal/components/form/Textarea/TextareaRichEditor.js.map +1 -1
- package/dist/_internal/components/form/Toggle/Toggle.js +3 -3
- package/dist/_internal/components/form/Toggle/Toggle.styles.js +2 -2
- package/dist/_internal/components/form/ToggleGroup/ToggleGroup.js +2 -2
- package/dist/_internal/components/form/UploadButton/UploadButton.js +2 -2
- package/dist/_internal/components/form/UploadButton/UploadButton.parts.js +1 -1
- package/dist/_internal/components/form/index.js +61 -61
- package/dist/_internal/components/form/total-form/Fields/CategoryField.js +12 -12
- package/dist/_internal/components/form/total-form/Fields/CepField.js +6 -6
- package/dist/_internal/components/form/total-form/Fields/SelectField.js +4 -4
- package/dist/_internal/components/form/total-form/Fields/TextField.js +5 -5
- package/dist/_internal/components/form/total-form/Fields/ToggleField.js +4 -4
- package/dist/_internal/components/form/total-form/Fields/index.js +22 -22
- package/dist/_internal/components/form/total-form/FormContainer.js +2 -2
- package/dist/_internal/components/form/total-form/SubmitButton.js +4 -4
- package/dist/_internal/components/index.js +165 -165
- package/dist/_internal/components/layout/Box/Box.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/ColumnsMenu.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/FilterTrigger.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/MultiSelectDropdown.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/MultiSelectTriggers.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/SavedViewsMenu.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/SortByDropdown.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/ViewSelector.js +1 -1
- package/dist/_internal/components/layout/Dashboard/Dashboard.js +3 -3
- package/dist/_internal/components/layout/Dashboard/DashboardParts.js +2 -2
- package/dist/_internal/components/layout/Stack/Stack.js +1 -1
- package/dist/_internal/components/layout/TableFilter/TableFilter.js +1 -1
- package/dist/_internal/components/layout/index.js +4 -4
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +10 -10
- package/dist/_internal/components/navigation/AppHeader/AppHeader.identity.js +1 -1
- package/dist/_internal/components/navigation/Breadcrumbs/BreadcrumbEntry.js +3 -3
- package/dist/_internal/components/navigation/Breadcrumbs/Breadcrumbs.js +4 -4
- package/dist/_internal/components/navigation/Breadcrumbs/Breadcrumbs.styles.js +2 -2
- package/dist/_internal/components/navigation/CommandPalette/CommandPalette.js +1 -1
- package/dist/_internal/components/navigation/ContextMenu/ContextMenu.js +1 -1
- package/dist/_internal/components/navigation/DropdownMenu/DropdownMenu.js +1 -1
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMegaSection.js +5 -5
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenu.js +7 -7
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenu.shell.js +3 -3
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenu.styles.js +2 -2
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenuItem.js +3 -3
- package/dist/_internal/components/navigation/NavigationMenu/NavigationStandardBody.js +5 -5
- package/dist/_internal/components/navigation/Pagination/Pagination.js +1 -1
- package/dist/_internal/components/navigation/index.js +19 -19
- package/dist/_internal/components/typography/Blockquote/Blockquote.js +1 -1
- package/dist/_internal/components/typography/Code/Code.js +1 -1
- package/dist/_internal/components/typography/Text/Text.js +1 -1
- package/dist/_internal/components/typography/index.js +1 -1
- package/dist/_internal/components/utility/AnimatedIcon/AnimatedIcon.js +1 -1
- package/dist/_internal/components/utility/AnimatedIcon/AnimatedIcon.styles.js +1 -1
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.js +1 -1
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.parts.js +1 -1
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStepRow.js +1 -1
- package/dist/_internal/components/utility/index.js +1 -1
- package/dist/_internal/icons/Icon.js +1 -1
- package/dist/_internal/provider/UiProvider.js +1 -1
- package/dist/_internal/provider/mui-bridge.js +1 -1
- package/dist/_internal/provider/use-ui-theme.js +1 -1
- package/dist/_internal/social-login-button/social-login-button.js +4 -4
- package/dist/_internal/user-avatar/user-avatar.js +7 -7
- package/dist/charts.js +8 -8
- package/dist/chunk-2BIVCYTO.js +271 -0
- package/dist/chunk-2EAAWOZ2.js +131 -0
- package/dist/chunk-2EAAWOZ2.js.map +1 -0
- package/dist/chunk-2FM5SUQV.js +97 -0
- package/dist/chunk-2FM5SUQV.js.map +1 -0
- package/dist/chunk-2JNHWKQK.js +159 -0
- package/dist/chunk-2LIRGFEK.js +72 -0
- package/dist/chunk-2XX45PC5.js +83 -0
- package/dist/chunk-2ZIHZLF5.js +229 -0
- package/dist/chunk-2ZIHZLF5.js.map +1 -0
- package/dist/chunk-34BZXJGT.js +158 -0
- package/dist/chunk-35S6QI5G.js +67 -0
- package/dist/chunk-3AOQBR7N.js +21 -0
- package/dist/chunk-3AQD2EA6.js +114 -0
- package/dist/chunk-3AQD2EA6.js.map +1 -0
- package/dist/chunk-3GTMGPNQ.js +66 -0
- package/dist/chunk-3GTMGPNQ.js.map +1 -0
- package/dist/chunk-3KA6MYIR.js +65 -0
- package/dist/chunk-3KA6MYIR.js.map +1 -0
- package/dist/chunk-3U3H3BZM.js +97 -0
- package/dist/chunk-3U3H3BZM.js.map +1 -0
- package/dist/chunk-3UIDKLML.js +79 -0
- package/dist/chunk-3UIDKLML.js.map +1 -0
- package/dist/chunk-4B5XUQQS.js +38 -0
- package/dist/chunk-4CHROSWR.js +174 -0
- package/dist/chunk-4CHROSWR.js.map +1 -0
- package/dist/chunk-4CXEWFKO.js +120 -0
- package/dist/chunk-4CXEWFKO.js.map +1 -0
- package/dist/chunk-4JFL62K3.js +223 -0
- package/dist/chunk-4JFL62K3.js.map +1 -0
- package/dist/chunk-4NQXHPQR.js +40 -0
- package/dist/chunk-4NQXHPQR.js.map +1 -0
- package/dist/chunk-4OW4O4A2.js +246 -0
- package/dist/chunk-4OW4O4A2.js.map +1 -0
- package/dist/chunk-4PRZLII7.js +183 -0
- package/dist/chunk-4PRZLII7.js.map +1 -0
- package/dist/chunk-4RDJMIWL.js +97 -0
- package/dist/chunk-4RDJMIWL.js.map +1 -0
- package/dist/chunk-4RWPGWJW.js +237 -0
- package/dist/chunk-4RWPGWJW.js.map +1 -0
- package/dist/chunk-4T6UIYJB.js +77 -0
- package/dist/chunk-4T6UIYJB.js.map +1 -0
- package/dist/chunk-4WCDMCIS.js +43 -0
- package/dist/chunk-4WNFOBTH.js +220 -0
- package/dist/chunk-4WNFOBTH.js.map +1 -0
- package/dist/chunk-57FZM6GH.js +78 -0
- package/dist/chunk-57FZM6GH.js.map +1 -0
- package/dist/chunk-57JLS55D.js +276 -0
- package/dist/chunk-5HDYTTE7.js +99 -0
- package/dist/chunk-5IAVC4BT.js +266 -0
- package/dist/chunk-5IAVC4BT.js.map +1 -0
- package/dist/chunk-5KGABAQB.js +76 -0
- package/dist/chunk-5QWQR7XT.js +59 -0
- package/dist/chunk-5W4BLTDI.js +266 -0
- package/dist/chunk-62UAI62O.js +157 -0
- package/dist/chunk-62UAI62O.js.map +1 -0
- package/dist/chunk-67O4GPJJ.js +86 -0
- package/dist/chunk-67O4GPJJ.js.map +1 -0
- package/dist/chunk-6BDYC4RA.js +175 -0
- package/dist/chunk-6CTPDNNX.js +194 -0
- package/dist/chunk-6GRZ77IS.js +173 -0
- package/dist/chunk-6JNQLW5L.js +131 -0
- package/dist/chunk-6KKQHJE7.js +122 -0
- package/dist/chunk-6KKQHJE7.js.map +1 -0
- package/dist/chunk-6LOGBWLG.js +49 -0
- package/dist/chunk-6LOGBWLG.js.map +1 -0
- package/dist/chunk-6RLCBNDV.js +147 -0
- package/dist/chunk-6RLCBNDV.js.map +1 -0
- package/dist/chunk-6WLHEZXI.js +181 -0
- package/dist/chunk-6WLHEZXI.js.map +1 -0
- package/dist/chunk-75LOTMSN.js +169 -0
- package/dist/chunk-75LOTMSN.js.map +1 -0
- package/dist/chunk-7EH4D6FU.js +247 -0
- package/dist/chunk-7EIOXZWL.js +204 -0
- package/dist/chunk-7EM4THID.js +177 -0
- package/dist/chunk-7EM4THID.js.map +1 -0
- package/dist/chunk-7GHYCQCJ.js +92 -0
- package/dist/chunk-A5UYPUS2.js +188 -0
- package/dist/chunk-A5UYPUS2.js.map +1 -0
- package/dist/chunk-AER4245J.js +160 -0
- package/dist/chunk-AJ5SDHX5.js +294 -0
- package/dist/chunk-AJ5SDHX5.js.map +1 -0
- package/dist/chunk-AUHYR7ID.js +295 -0
- package/dist/chunk-AUHYR7ID.js.map +1 -0
- package/dist/chunk-AUSUCZYR.js +294 -0
- package/dist/chunk-AUSUCZYR.js.map +1 -0
- package/dist/chunk-AYLEZM6T.js +187 -0
- package/dist/chunk-AYLEZM6T.js.map +1 -0
- package/dist/chunk-BAFDSAWY.js +86 -0
- package/dist/chunk-BAFDSAWY.js.map +1 -0
- package/dist/chunk-BAQBUKDU.js +88 -0
- package/dist/chunk-BJZOBG24.js +107 -0
- package/dist/chunk-BN742L2M.js +270 -0
- package/dist/chunk-BN742L2M.js.map +1 -0
- package/dist/chunk-BNEWMFVB.js +194 -0
- package/dist/chunk-BNEWMFVB.js.map +1 -0
- package/dist/chunk-BSYPPO2I.js +157 -0
- package/dist/chunk-BSYPPO2I.js.map +1 -0
- package/dist/chunk-BW62QQAG.js +179 -0
- package/dist/chunk-BW62QQAG.js.map +1 -0
- package/dist/chunk-BYH5GPLT.js +154 -0
- package/dist/chunk-BYH5GPLT.js.map +1 -0
- package/dist/chunk-C3LZ3OGJ.js +67 -0
- package/dist/chunk-C3LZ3OGJ.js.map +1 -0
- package/dist/chunk-C55AWF3U.js +192 -0
- package/dist/chunk-C55AWF3U.js.map +1 -0
- package/dist/chunk-C5RQBTRZ.js +31 -0
- package/dist/chunk-C5RQBTRZ.js.map +1 -0
- package/dist/chunk-CPAJYJUD.js +58 -0
- package/dist/chunk-CPWWMGYR.js +49 -0
- package/dist/chunk-CQLPDY2J.js +30 -0
- package/dist/chunk-CQPFSEJB.js +83 -0
- package/dist/chunk-CQPFSEJB.js.map +1 -0
- package/dist/chunk-CS3KOKL3.js +82 -0
- package/dist/chunk-CSN3F36H.js +166 -0
- package/dist/chunk-CSN3F36H.js.map +1 -0
- package/dist/chunk-CX66M55F.js +288 -0
- package/dist/chunk-CX66M55F.js.map +1 -0
- package/dist/chunk-CZBND7AY.js +218 -0
- package/dist/chunk-CZBND7AY.js.map +1 -0
- package/dist/chunk-D2UDM2SU.js +138 -0
- package/dist/chunk-D2UDM2SU.js.map +1 -0
- package/dist/chunk-D6KL74KI.js +110 -0
- package/dist/chunk-D6KL74KI.js.map +1 -0
- package/dist/chunk-DB2ZFZVW.js +82 -0
- package/dist/chunk-DB2ZFZVW.js.map +1 -0
- package/dist/chunk-DCJSHYE5.js +62 -0
- package/dist/chunk-DJYL2LC6.js +90 -0
- package/dist/chunk-DJYL2LC6.js.map +1 -0
- package/dist/chunk-DUNG7D4B.js +228 -0
- package/dist/chunk-DUNG7D4B.js.map +1 -0
- package/dist/chunk-DVAAUWTC.js +41 -0
- package/dist/chunk-E4TNDTWV.js +145 -0
- package/dist/chunk-E4TNDTWV.js.map +1 -0
- package/dist/chunk-E7T3A4IR.js +223 -0
- package/dist/chunk-E7T3A4IR.js.map +1 -0
- package/dist/chunk-EA2UNEL6.js +132 -0
- package/dist/chunk-EA2UNEL6.js.map +1 -0
- package/dist/chunk-EARWC6PD.js +59 -0
- package/dist/chunk-EARWC6PD.js.map +1 -0
- package/dist/chunk-ECNJGROX.js +299 -0
- package/dist/chunk-ECNJGROX.js.map +1 -0
- package/dist/chunk-EIYTS5VZ.js +270 -0
- package/dist/chunk-EIYTS5VZ.js.map +1 -0
- package/dist/chunk-EJYJLVPK.js +203 -0
- package/dist/chunk-EJYJLVPK.js.map +1 -0
- package/dist/chunk-F6D6HXZU.js +125 -0
- package/dist/chunk-FC7NQ6XM.js +68 -0
- package/dist/chunk-FERUQ7OB.js +76 -0
- package/dist/chunk-FERUQ7OB.js.map +1 -0
- package/dist/chunk-FFOQZRFC.js +55 -0
- package/dist/chunk-FNG33MKA.js +41 -0
- package/dist/chunk-FNRPQE2D.js +184 -0
- package/dist/chunk-FNRPQE2D.js.map +1 -0
- package/dist/chunk-FPVYD7BO.js +214 -0
- package/dist/chunk-FPVYD7BO.js.map +1 -0
- package/dist/chunk-FWPFCK4D.js +26 -0
- package/dist/chunk-G3XLFQ2Z.js +267 -0
- package/dist/chunk-G3XLFQ2Z.js.map +1 -0
- package/dist/chunk-G4HBNILE.js +120 -0
- package/dist/chunk-GHTBUJ6E.js +208 -0
- package/dist/chunk-GHTBUJ6E.js.map +1 -0
- package/dist/chunk-GHXFCMFP.js +213 -0
- package/dist/chunk-GJRKWDRR.js +89 -0
- package/dist/chunk-GJRKWDRR.js.map +1 -0
- package/dist/chunk-GRDPGHQJ.js +165 -0
- package/dist/chunk-GS3RP2QE.js +37 -0
- package/dist/chunk-GY4NBSCN.js +120 -0
- package/dist/chunk-GY4NBSCN.js.map +1 -0
- package/dist/chunk-GZT7MLLO.js +137 -0
- package/dist/chunk-GZT7MLLO.js.map +1 -0
- package/dist/chunk-H5BEWPEY.js +37 -0
- package/dist/chunk-HB7ISSLK.js +195 -0
- package/dist/chunk-HCT5ELST.js +174 -0
- package/dist/chunk-HCT5ELST.js.map +1 -0
- package/dist/chunk-HGMBY5LP.js +64 -0
- package/dist/chunk-HJPPNVCF.js +64 -0
- package/dist/chunk-HN3PZTUK.js +207 -0
- package/dist/chunk-HN3PZTUK.js.map +1 -0
- package/dist/chunk-HNPWZ3W2.js +268 -0
- package/dist/chunk-HNPWZ3W2.js.map +1 -0
- package/dist/chunk-HU7TX7RB.js +223 -0
- package/dist/chunk-HVXIOIM5.js +310 -0
- package/dist/chunk-HVXIOIM5.js.map +1 -0
- package/dist/chunk-IGGXKT5B.js +196 -0
- package/dist/chunk-IKLOIONQ.js +175 -0
- package/dist/chunk-IM4DMKH4.js +51 -0
- package/dist/chunk-IM4DMKH4.js.map +1 -0
- package/dist/chunk-IVJKILIX.js +63 -0
- package/dist/chunk-JC22FNFA.js +348 -0
- package/dist/chunk-JC22FNFA.js.map +1 -0
- package/dist/chunk-JGRE56GQ.js +57 -0
- package/dist/chunk-JGRE56GQ.js.map +1 -0
- package/dist/chunk-JJJM75XF.js +328 -0
- package/dist/chunk-JJJM75XF.js.map +1 -0
- package/dist/chunk-JL75FJRG.js +181 -0
- package/dist/chunk-JLQGRZMN.js +249 -0
- package/dist/chunk-JLQGRZMN.js.map +1 -0
- package/dist/chunk-JOKWTRWL.js +112 -0
- package/dist/chunk-JOKWTRWL.js.map +1 -0
- package/dist/chunk-JSD5TFDK.js +33 -0
- package/dist/chunk-JU4MSYYH.js +41 -0
- package/dist/chunk-K4EKTMTC.js +100 -0
- package/dist/chunk-K4EKTMTC.js.map +1 -0
- package/dist/chunk-KJDBY2KN.js +201 -0
- package/dist/chunk-KJDBY2KN.js.map +1 -0
- package/dist/chunk-KN5J3NEZ.js +87 -0
- package/dist/chunk-KN5J3NEZ.js.map +1 -0
- package/dist/chunk-KREWQAEV.js +69 -0
- package/dist/chunk-KREWQAEV.js.map +1 -0
- package/dist/chunk-LNHYBA4B.js +351 -0
- package/dist/chunk-LNHYBA4B.js.map +1 -0
- package/dist/chunk-LP3JCXER.js +98 -0
- package/dist/chunk-LP3JCXER.js.map +1 -0
- package/dist/chunk-LT4NEKXB.js +131 -0
- package/dist/chunk-LXT3X33C.js +96 -0
- package/dist/chunk-LXT3X33C.js.map +1 -0
- package/dist/chunk-LYVTJLCF.js +216 -0
- package/dist/chunk-M3MHYE2M.js +154 -0
- package/dist/chunk-M3MHYE2M.js.map +1 -0
- package/dist/chunk-M5ZXL52T.js +127 -0
- package/dist/chunk-M5ZXL52T.js.map +1 -0
- package/dist/chunk-M6PWPEAV.js +179 -0
- package/dist/chunk-M6PWPEAV.js.map +1 -0
- package/dist/chunk-MBC55H6M.js +170 -0
- package/dist/chunk-MK4CH4VT.js +312 -0
- package/dist/chunk-MLQYIJTO.js +104 -0
- package/dist/chunk-MLQYIJTO.js.map +1 -0
- package/dist/chunk-MNHIK2OR.js +118 -0
- package/dist/chunk-MO47Y26B.js +270 -0
- package/dist/chunk-MO47Y26B.js.map +1 -0
- package/dist/chunk-MTEQEPNY.js +54 -0
- package/dist/chunk-MTEQEPNY.js.map +1 -0
- package/dist/chunk-N2GEKC4J.js +111 -0
- package/dist/chunk-N2GEKC4J.js.map +1 -0
- package/dist/chunk-N5GVW6RO.js +184 -0
- package/dist/chunk-N5GVW6RO.js.map +1 -0
- package/dist/chunk-NB3FGWU4.js +132 -0
- package/dist/chunk-NCPWLHZT.js +77 -0
- package/dist/chunk-NDNYD4FG.js +182 -0
- package/dist/chunk-NIF4IXQU.js +96 -0
- package/dist/chunk-NIF4IXQU.js.map +1 -0
- package/dist/chunk-NNQCWXGY.js +93 -0
- package/dist/chunk-NNQCWXGY.js.map +1 -0
- package/dist/chunk-NR5TW4AH.js +67 -0
- package/dist/chunk-NRIV2CQ2.js +108 -0
- package/dist/chunk-NRIV2CQ2.js.map +1 -0
- package/dist/chunk-NSKQANRY.js +57 -0
- package/dist/chunk-ODFJTEIL.js +86 -0
- package/dist/chunk-ODFJTEIL.js.map +1 -0
- package/dist/chunk-OG6LYQ7C.js +310 -0
- package/dist/chunk-OG6LYQ7C.js.map +1 -0
- package/dist/chunk-OHZU4IT3.js +66 -0
- package/dist/chunk-OHZU4IT3.js.map +1 -0
- package/dist/chunk-OJ2XR3WH.js +65 -0
- package/dist/chunk-ORRI6FMN.js +161 -0
- package/dist/chunk-ORRI6FMN.js.map +1 -0
- package/dist/chunk-OZPLAOI4.js +79 -0
- package/dist/chunk-PBMCRDZI.js +151 -0
- package/dist/chunk-PBMCRDZI.js.map +1 -0
- package/dist/chunk-PGPPN63I.js +178 -0
- package/dist/chunk-PGPPN63I.js.map +1 -0
- package/dist/chunk-PH36XEB3.js +134 -0
- package/dist/chunk-PL2AB5HJ.js +211 -0
- package/dist/chunk-PL2AB5HJ.js.map +1 -0
- package/dist/chunk-PMOEG36E.js +187 -0
- package/dist/chunk-POV2KL2P.js +205 -0
- package/dist/chunk-POV2KL2P.js.map +1 -0
- package/dist/chunk-PT2XADGH.js +116 -0
- package/dist/chunk-PWZHCBG3.js +39 -0
- package/dist/chunk-PZ7PU4AP.js +96 -0
- package/dist/chunk-Q2YNXJEL.js +114 -0
- package/dist/chunk-Q2YNXJEL.js.map +1 -0
- package/dist/chunk-Q73PTVNO.js +208 -0
- package/dist/chunk-QB3TVUPD.js +127 -0
- package/dist/chunk-QEG3P5D4.js +241 -0
- package/dist/chunk-QI5CRSOW.js +193 -0
- package/dist/chunk-QKPD322X.js +215 -0
- package/dist/chunk-QOLIBVGS.js +53 -0
- package/dist/chunk-QXSW3CNN.js +174 -0
- package/dist/chunk-QXSW3CNN.js.map +1 -0
- package/dist/chunk-QYY37ECA.js +53 -0
- package/dist/chunk-QYY37ECA.js.map +1 -0
- package/dist/chunk-R2WMSXQR.js +183 -0
- package/dist/chunk-RDCHT2WN.js +47 -0
- package/dist/chunk-RDCHT2WN.js.map +1 -0
- package/dist/chunk-RIEV4VXF.js +71 -0
- package/dist/chunk-RIEV4VXF.js.map +1 -0
- package/dist/chunk-RIF6L54B.js +100 -0
- package/dist/chunk-RIF6L54B.js.map +1 -0
- package/dist/chunk-RIRTW5EU.js +82 -0
- package/dist/chunk-RIRTW5EU.js.map +1 -0
- package/dist/chunk-RL2UIC4E.js +138 -0
- package/dist/chunk-RL2UIC4E.js.map +1 -0
- package/dist/chunk-S3D5VBHW.js +298 -0
- package/dist/chunk-S3D5VBHW.js.map +1 -0
- package/dist/chunk-S5UY5U73.js +63 -0
- package/dist/chunk-S5UY5U73.js.map +1 -0
- package/dist/chunk-SJO3K7SB.js +124 -0
- package/dist/chunk-SOHQPPYJ.js +60 -0
- package/dist/chunk-SOHQPPYJ.js.map +1 -0
- package/dist/chunk-SSS64KYB.js +41 -0
- package/dist/chunk-SYN46YL6.js +271 -0
- package/dist/chunk-SYN46YL6.js.map +1 -0
- package/dist/chunk-TCV3N44E.js +148 -0
- package/dist/chunk-THMT3G3L.js +186 -0
- package/dist/chunk-THMT3G3L.js.map +1 -0
- package/dist/chunk-TNQDSTIA.js +280 -0
- package/dist/chunk-TNQDSTIA.js.map +1 -0
- package/dist/chunk-TQCQCW2P.js +103 -0
- package/dist/chunk-TQCQCW2P.js.map +1 -0
- package/dist/chunk-TRHWA74K.js +175 -0
- package/dist/chunk-TRHWA74K.js.map +1 -0
- package/dist/chunk-TU5A2CV7.js +242 -0
- package/dist/chunk-TU5A2CV7.js.map +1 -0
- package/dist/chunk-TXEN3QJ4.js +64 -0
- package/dist/chunk-TXEN3QJ4.js.map +1 -0
- package/dist/chunk-TXGB2WSW.js +321 -0
- package/dist/chunk-TXGB2WSW.js.map +1 -0
- package/dist/chunk-TYBZ4XZZ.js +157 -0
- package/dist/chunk-TYBZ4XZZ.js.map +1 -0
- package/dist/chunk-TZASFX6G.js +159 -0
- package/dist/chunk-TZASFX6G.js.map +1 -0
- package/dist/chunk-U4QUDFPJ.js +46 -0
- package/dist/chunk-UAVSBSV5.js +109 -0
- package/dist/chunk-UZ6AUTE6.js +139 -0
- package/dist/chunk-UZ6AUTE6.js.map +1 -0
- package/dist/chunk-VIUDWOV6.js +59 -0
- package/dist/chunk-VIUDWOV6.js.map +1 -0
- package/dist/chunk-VNOFFVRQ.js +113 -0
- package/dist/chunk-VNOFFVRQ.js.map +1 -0
- package/dist/chunk-VT5HQ2AD.js +72 -0
- package/dist/chunk-VURQZBFH.js +125 -0
- package/dist/chunk-VURQZBFH.js.map +1 -0
- package/dist/chunk-VY2BMSHN.js +150 -0
- package/dist/chunk-VY2BMSHN.js.map +1 -0
- package/dist/chunk-VZIB5W5L.js +127 -0
- package/dist/chunk-W5TI46QN.js +143 -0
- package/dist/chunk-W5TI46QN.js.map +1 -0
- package/dist/chunk-WE3LJPRN.js +28 -0
- package/dist/chunk-WFAJTO2B.js +304 -0
- package/dist/chunk-WFAJTO2B.js.map +1 -0
- package/dist/chunk-WOAXKWAB.js +62 -0
- package/dist/chunk-WRCLYSTX.js +66 -0
- package/dist/chunk-WRCLYSTX.js.map +1 -0
- package/dist/chunk-WVZBYTIK.js +160 -0
- package/dist/chunk-WVZBYTIK.js.map +1 -0
- package/dist/chunk-X3OWMTLO.js +24 -0
- package/dist/chunk-X3OWMTLO.js.map +1 -0
- package/dist/chunk-X6AIKCAV.js +43 -0
- package/dist/chunk-X6AIKCAV.js.map +1 -0
- package/dist/chunk-XJPJ6ESI.js +111 -0
- package/dist/chunk-XJPJ6ESI.js.map +1 -0
- package/dist/chunk-XLTHZI5W.js +68 -0
- package/dist/chunk-XLTHZI5W.js.map +1 -0
- package/dist/chunk-XR46FSOH.js +300 -0
- package/dist/chunk-XR46FSOH.js.map +1 -0
- package/dist/chunk-XZW2U6KR.js +143 -0
- package/dist/chunk-XZW2U6KR.js.map +1 -0
- package/dist/chunk-YAFBUYVW.js +267 -0
- package/dist/chunk-YAFBUYVW.js.map +1 -0
- package/dist/chunk-YLGY3D52.js +62 -0
- package/dist/chunk-YLGY3D52.js.map +1 -0
- package/dist/chunk-YOKUDQIJ.js +138 -0
- package/dist/chunk-YOKUDQIJ.js.map +1 -0
- package/dist/chunk-YYVB7IWQ.js +133 -0
- package/dist/chunk-YYVB7IWQ.js.map +1 -0
- package/dist/chunk-YZ2DMP23.js +90 -0
- package/dist/chunk-YZ2DMP23.js.map +1 -0
- package/dist/chunk-Z6WSW6B4.js +56 -0
- package/dist/chunk-Z6WSW6B4.js.map +1 -0
- package/dist/chunk-ZHV7TCAC.js +80 -0
- package/dist/chunk-ZHV7TCAC.js.map +1 -0
- package/dist/chunk-ZXSWXE6U.js +151 -0
- package/dist/chunk-ZXSWXE6U.js.map +1 -0
- package/dist/chunk-ZZ4MMUBY.js +52 -0
- package/dist/chunk-ZZ4MMUBY.js.map +1 -0
- package/dist/data-display/Alert.js +3 -3
- package/dist/data-display/AlertDialog.js +2 -2
- package/dist/data-display/AsyncStateContainer.js +5 -5
- package/dist/data-display/Avatar.js +4 -4
- package/dist/data-display/Badge.js +6 -6
- package/dist/data-display/Banner.js +3 -3
- package/dist/data-display/CardKit.js +15 -15
- package/dist/data-display/Carousel.js +6 -6
- package/dist/data-display/Chart.js +8 -8
- package/dist/data-display/Chip.js +3 -2
- package/dist/data-display/DataGrid.js +3 -2
- package/dist/data-display/DataViews.js +76 -76
- package/dist/data-display/DescriptionItem.js +2 -2
- package/dist/data-display/EmptyState.js +2 -1
- package/dist/data-display/ErrorState.js +1 -1
- package/dist/data-display/FleetMap.js +18 -18
- package/dist/data-display/HoverCard.js +5 -4
- package/dist/data-display/InteractiveTooltip.js +4 -4
- package/dist/data-display/LazyImage.js +3 -2
- package/dist/data-display/Lightbox.js +9 -9
- package/dist/data-display/LoadingState.js +2 -1
- package/dist/data-display/MapPreview.js +12 -12
- package/dist/data-display/Popover.js +2 -1
- package/dist/data-display/Progress.js +3 -3
- package/dist/data-display/SectionOnboarding.js +4 -4
- package/dist/data-display/Sheet.js +7 -7
- package/dist/data-display/StatCard.js +2 -2
- package/dist/data-display/Stepper.js +2 -2
- package/dist/data-display/Table.js +2 -2
- package/dist/data-display/Timeline.js +3 -3
- package/dist/data-display/TimingDiagram.js +3 -3
- package/dist/data-display/Tooltip.js +2 -2
- package/dist/feedback/ConfirmAction.js +8 -8
- package/dist/feedback/NotificationStatusNotice.js +6 -6
- package/dist/feedback/Sonner.js +1 -1
- package/dist/form/AddressAutocomplete.js +7 -7
- package/dist/form/Autocomplete.js +3 -2
- package/dist/form/Button.js +3 -3
- package/dist/form/CategorySelect.js +11 -11
- package/dist/form/CepField.js +5 -5
- package/dist/form/Checkbox.js +2 -2
- package/dist/form/CodeEditor.js +3 -3
- package/dist/form/Command.js +5 -5
- package/dist/form/CreatableSelect.js +3 -3
- package/dist/form/DateRangePicker.js +7 -7
- package/dist/form/Form.js +1 -1
- package/dist/form/HeaderActions.js +1 -1
- package/dist/form/Input.js +3 -2
- package/dist/form/InputOTP.js +3 -3
- package/dist/form/Label.js +3 -3
- package/dist/form/Menubar.js +5 -5
- package/dist/form/PasswordStrength.js +1 -1
- package/dist/form/PhoneInput.js +2 -2
- package/dist/form/RadioGroup.js +5 -5
- package/dist/form/RichTextEditor.js +3 -3
- package/dist/form/SearchPalette.js +2 -2
- package/dist/form/Select.js +2 -1
- package/dist/form/Slider.js +4 -4
- package/dist/form/Switch.js +5 -5
- package/dist/form/Textarea.js +3 -3
- package/dist/form/Toggle.js +3 -3
- package/dist/form/ToggleGroup.js +2 -2
- package/dist/form/UploadButton.js +2 -2
- package/dist/form/total-form.js +26 -26
- package/dist/icons.js +1 -1
- package/dist/layout/Box.js +1 -1
- package/dist/layout/ContentToolbar.js +1 -1
- package/dist/layout/Dashboard.js +3 -3
- package/dist/layout/Stack.js +1 -1
- package/dist/layout/TableFilter.js +1 -1
- package/dist/navigation/AppHeader.js +10 -10
- package/dist/navigation/Breadcrumbs.js +4 -4
- package/dist/navigation/CommandPalette.js +1 -1
- package/dist/navigation/ContextMenu.js +1 -1
- package/dist/navigation/DropdownMenu.js +1 -1
- package/dist/navigation/NavigationMenu.js +7 -7
- package/dist/navigation/Pagination.js +1 -1
- package/dist/provider.js +1 -1
- package/dist/social-login-button.js +4 -4
- package/dist/tokens.js +7 -7
- package/dist/types/components/data-display/Alert/Alert.styles.d.ts +4 -4
- package/dist/types/components/data-display/Alert/Alert.styles.d.ts.map +1 -1
- package/dist/types/components/data-display/AlertDialog/AlertDialog.d.ts.map +1 -1
- package/dist/types/components/data-display/Avatar/Avatar.animations.d.ts +2 -1
- package/dist/types/components/data-display/Avatar/Avatar.animations.d.ts.map +1 -1
- package/dist/types/components/data-display/Avatar/Avatar.d.ts.map +1 -1
- package/dist/types/components/data-display/Avatar/Avatar.view.d.ts.map +1 -1
- package/dist/types/components/data-display/Badge/Badge.animations.d.ts +4 -3
- package/dist/types/components/data-display/Badge/Badge.animations.d.ts.map +1 -1
- package/dist/types/components/data-display/Badge/Badge.styles.d.ts +6 -5
- package/dist/types/components/data-display/Badge/Badge.styles.d.ts.map +1 -1
- package/dist/types/components/data-display/Badge/BadgeContent.d.ts.map +1 -1
- package/dist/types/components/data-display/Banner/Banner.styles.d.ts +1 -1
- package/dist/types/components/data-display/Banner/Banner.styles.d.ts.map +1 -1
- package/dist/types/components/data-display/Carousel/Carousel.d.ts.map +1 -1
- package/dist/types/components/data-display/Carousel/Carousel.parts.d.ts.map +1 -1
- package/dist/types/components/data-display/Carousel/Carousel.slide.d.ts.map +1 -1
- package/dist/types/components/data-display/Carousel/Carousel.styles.d.ts +14 -2
- package/dist/types/components/data-display/Carousel/Carousel.styles.d.ts.map +1 -1
- package/dist/types/components/data-display/Chart/ChartComposables.d.ts +3 -1
- package/dist/types/components/data-display/Chart/ChartComposables.d.ts.map +1 -1
- package/dist/types/components/data-display/Chart/chart-axis.d.ts +9 -3
- package/dist/types/components/data-display/Chart/chart-axis.d.ts.map +1 -1
- package/dist/types/components/data-display/Chart/chart-context.d.ts.map +1 -1
- package/dist/types/components/data-display/Chart/chart-internals.d.ts +5 -1
- package/dist/types/components/data-display/Chart/chart-internals.d.ts.map +1 -1
- package/dist/types/components/data-display/Chart/chart-renderers.d.ts.map +1 -1
- package/dist/types/components/data-display/Chip/Chip.styles.d.ts.map +1 -1
- package/dist/types/components/data-display/DataGrid/DataGrid.states.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/DataViewsBoard.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/base-card.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/base-list-card-geometry.d.ts +21 -17
- package/dist/types/components/data-display/DataViews/base-list-card-geometry.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/base-list-card-gutters.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/base-list-card-slots.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/card-surface.d.ts +1 -1
- package/dist/types/components/data-display/DataViews/card-surface.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-day-input.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-display-panel.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-drag.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-empty.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-export.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-glyphs.d.ts +3 -2
- package/dist/types/components/data-display/DataViews/data-views-glyphs.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-grid-helpers.d.ts +2 -1
- package/dist/types/components/data-display/DataViews/data-views-grid-helpers.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-more-filters.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-number-input.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-scopes.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-search.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-toolbar.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/save-view-preview.d.ts.map +1 -1
- package/dist/types/components/data-display/DateTimeDisplay/DateTimeDisplay.d.ts.map +1 -1
- package/dist/types/components/data-display/DescriptionItem/DescriptionItem.d.ts.map +1 -1
- package/dist/types/components/data-display/EmptyState/EmptyState.d.ts.map +1 -1
- package/dist/types/components/data-display/FleetMap/FleetBody.d.ts.map +1 -1
- package/dist/types/components/data-display/FleetMap/FleetMap.d.ts.map +1 -1
- package/dist/types/components/data-display/FleetMap/FleetRoster.d.ts.map +1 -1
- package/dist/types/components/data-display/HoverCard/HoverCard.animations.d.ts +6 -5
- package/dist/types/components/data-display/HoverCard/HoverCard.animations.d.ts.map +1 -1
- package/dist/types/components/data-display/HoverCard/HoverCard.content.d.ts.map +1 -1
- package/dist/types/components/data-display/HoverCard/HoverCard.d.ts.map +1 -1
- package/dist/types/components/data-display/HoverCard/HoverCard.styles.d.ts.map +1 -1
- package/dist/types/components/data-display/InteractiveTooltip/InteractiveTooltip.d.ts.map +1 -1
- package/dist/types/components/data-display/InteractiveTooltip/InteractiveTooltip.hooks.d.ts +1 -1
- package/dist/types/components/data-display/InteractiveTooltip/InteractiveTooltip.hooks.d.ts.map +1 -1
- package/dist/types/components/data-display/InteractiveTooltip/InteractiveTooltip.styles.d.ts +6 -1
- package/dist/types/components/data-display/InteractiveTooltip/InteractiveTooltip.styles.d.ts.map +1 -1
- package/dist/types/components/data-display/LazyImage/LazyImage.d.ts.map +1 -1
- package/dist/types/components/data-display/LazyImage/LazyImage.hooks.d.ts +1 -1
- package/dist/types/components/data-display/LazyImage/LazyImage.hooks.d.ts.map +1 -1
- package/dist/types/components/data-display/Lightbox/Lightbox.constants.d.ts +5 -1
- package/dist/types/components/data-display/Lightbox/Lightbox.constants.d.ts.map +1 -1
- package/dist/types/components/data-display/Lightbox/Lightbox.d.ts.map +1 -1
- package/dist/types/components/data-display/Lightbox/Lightbox.hooks.d.ts.map +1 -1
- package/dist/types/components/data-display/Lightbox/LightboxControls.d.ts.map +1 -1
- package/dist/types/components/data-display/Lightbox/LightboxStage.d.ts.map +1 -1
- package/dist/types/components/data-display/Lightbox/LightboxThumbnails.d.ts.map +1 -1
- package/dist/types/components/data-display/LoadingState/LoadingState.d.ts.map +1 -1
- package/dist/types/components/data-display/MapPreview/MapControlBar.d.ts.map +1 -1
- package/dist/types/components/data-display/MapPreview/MapLayers.d.ts.map +1 -1
- package/dist/types/components/data-display/MapPreview/MapOverlays.d.ts +5 -2
- package/dist/types/components/data-display/MapPreview/MapOverlays.d.ts.map +1 -1
- package/dist/types/components/data-display/MapPreview/MapPreview.d.ts.map +1 -1
- package/dist/types/components/data-display/MapPreview/MapPreview.helpers.d.ts +1 -1
- package/dist/types/components/data-display/MapPreview/MapPreview.helpers.d.ts.map +1 -1
- package/dist/types/components/data-display/MapPreview/MapSearchBar.d.ts.map +1 -1
- package/dist/types/components/data-display/MapPreview/mapSurface.d.ts +2 -2
- package/dist/types/components/data-display/MapPreview/mapSurface.d.ts.map +1 -1
- package/dist/types/components/data-display/Popover/Popover.d.ts.map +1 -1
- package/dist/types/components/data-display/Progress/Progress.d.ts.map +1 -1
- package/dist/types/components/data-display/Progress/Progress.styles.d.ts +9 -7
- package/dist/types/components/data-display/Progress/Progress.styles.d.ts.map +1 -1
- package/dist/types/components/data-display/Sheet/Sheet.animations.d.ts +4 -3
- package/dist/types/components/data-display/Sheet/Sheet.animations.d.ts.map +1 -1
- package/dist/types/components/data-display/Sheet/Sheet.body.d.ts.map +1 -1
- package/dist/types/components/data-display/Sheet/Sheet.parts.d.ts.map +1 -1
- package/dist/types/components/data-display/Sheet/Sheet.styles.d.ts.map +1 -1
- package/dist/types/components/data-display/StatCard/StatCard.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/Table.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/Table.styles.d.ts.map +1 -1
- package/dist/types/components/data-display/Timeline/Timeline.d.ts.map +1 -1
- package/dist/types/components/data-display/Timeline/TimelineRow.d.ts.map +1 -1
- package/dist/types/components/data-display/TimingDiagram/TimingDiagram.d.ts.map +1 -1
- package/dist/types/components/data-display/TimingDiagram/TimingDiagram.views.d.ts +2 -1
- package/dist/types/components/data-display/TimingDiagram/TimingDiagram.views.d.ts.map +1 -1
- package/dist/types/components/data-display/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/AddressFallbackField.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/AddressInputField.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/AddressSuggestionsPaper.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/AddressTextField.d.ts.map +1 -1
- package/dist/types/components/form/Autocomplete/Autocomplete.parts.d.ts.map +1 -1
- package/dist/types/components/form/Button/Button.styles.d.ts +1 -1
- package/dist/types/components/form/Button/Button.styles.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanelFoot.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanelHead.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanelList.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanelSurface.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryRows.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategorySelect.styles.d.ts +26 -24
- package/dist/types/components/form/CategorySelect/CategorySelect.styles.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryTrigger.d.ts.map +1 -1
- package/dist/types/components/form/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/types/components/form/CodeEditor/CodeEditor.helpers.d.ts +1 -1
- package/dist/types/components/form/CodeEditor/CodeEditor.helpers.d.ts.map +1 -1
- package/dist/types/components/form/CodeEditor/CodeEditor.types.d.ts +1 -1
- package/dist/types/components/form/CodeEditor/CodeEditor.types.d.ts.map +1 -1
- package/dist/types/components/form/Command/Command.d.ts.map +1 -1
- package/dist/types/components/form/Command/Command.hooks.d.ts +1 -1
- package/dist/types/components/form/Command/Command.hooks.d.ts.map +1 -1
- package/dist/types/components/form/Command/Command.parts.d.ts.map +1 -1
- package/dist/types/components/form/CreatableSelect/CreatableSelect.d.ts.map +1 -1
- package/dist/types/components/form/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/dist/types/components/form/DateRangePicker/DateRangePickerQuickList.d.ts.map +1 -1
- package/dist/types/components/form/Form/Form.d.ts.map +1 -1
- package/dist/types/components/form/HeaderActions/HeaderActions.d.ts.map +1 -1
- package/dist/types/components/form/Input/Input.d.ts.map +1 -1
- package/dist/types/components/form/Input/Input.styles.d.ts.map +1 -1
- package/dist/types/components/form/Label/Label.styles.d.ts +2 -2
- package/dist/types/components/form/Label/Label.styles.d.ts.map +1 -1
- package/dist/types/components/form/Menubar/Menubar.toolbar.d.ts +1 -1
- package/dist/types/components/form/Menubar/Menubar.toolbar.d.ts.map +1 -1
- package/dist/types/components/form/PasswordStrength/PasswordStrength.d.ts.map +1 -1
- package/dist/types/components/form/RadioGroup/RadioGroup.animations.d.ts +3 -2
- package/dist/types/components/form/RadioGroup/RadioGroup.animations.d.ts.map +1 -1
- package/dist/types/components/form/RadioGroup/RadioGroup.styles.d.ts.map +1 -1
- package/dist/types/components/form/RichTextEditor/RichTextEditor.d.ts.map +1 -1
- package/dist/types/components/form/RichTextEditor/RichTextEditorToolbar.d.ts.map +1 -1
- package/dist/types/components/form/SearchPalette/SearchPalette.parts.d.ts +1 -1
- package/dist/types/components/form/SearchPalette/SearchPalette.parts.d.ts.map +1 -1
- package/dist/types/components/form/Select/Select.d.ts.map +1 -1
- package/dist/types/components/form/Slider/Slider.animations.d.ts +2 -1
- package/dist/types/components/form/Slider/Slider.animations.d.ts.map +1 -1
- package/dist/types/components/form/Slider/Slider.styles.d.ts.map +1 -1
- package/dist/types/components/form/Switch/Switch.animations.d.ts +2 -1
- package/dist/types/components/form/Switch/Switch.animations.d.ts.map +1 -1
- package/dist/types/components/form/Switch/Switch.styles.d.ts.map +1 -1
- package/dist/types/components/form/Textarea/Textarea.d.ts.map +1 -1
- package/dist/types/components/form/Textarea/Textarea.styles.d.ts +1 -1
- package/dist/types/components/form/Textarea/Textarea.styles.d.ts.map +1 -1
- package/dist/types/components/form/Toggle/Toggle.d.ts.map +1 -1
- package/dist/types/components/form/Toggle/Toggle.styles.d.ts.map +1 -1
- package/dist/types/components/form/ToggleGroup/ToggleGroup.d.ts.map +1 -1
- package/dist/types/components/form/UploadButton/UploadButton.parts.d.ts.map +1 -1
- package/dist/typography/Blockquote.js +1 -1
- package/dist/typography/Code.js +1 -1
- package/dist/typography/Text.js +1 -1
- package/dist/user-avatar.js +7 -7
- package/dist/utility/AnimatedIcon.js +1 -1
- package/dist/utility/WorkflowStep.js +1 -1
- package/package.json +1 -1
- package/src/components/data-display/Alert/Alert.styles.tsx +22 -21
- package/src/components/data-display/Alert/Alert.tsx +8 -8
- package/src/components/data-display/AlertDialog/AlertDialog.tsx +12 -10
- package/src/components/data-display/Avatar/Avatar.animations.ts +5 -2
- package/src/components/data-display/Avatar/Avatar.tsx +4 -3
- package/src/components/data-display/Avatar/Avatar.view.tsx +31 -37
- package/src/components/data-display/Badge/Badge.animations.ts +13 -10
- package/src/components/data-display/Badge/Badge.styles.ts +30 -40
- package/src/components/data-display/Badge/Badge.variants.ts +13 -13
- package/src/components/data-display/Badge/BadgeContent.tsx +10 -4
- package/src/components/data-display/Banner/Banner.styles.ts +8 -8
- package/src/components/data-display/Banner/Banner.tsx +4 -4
- package/src/components/data-display/CardKit/list-card-parts.tsx +1 -1
- package/src/components/data-display/Carousel/Carousel.parts.tsx +13 -11
- package/src/components/data-display/Carousel/Carousel.slide.tsx +3 -2
- package/src/components/data-display/Carousel/Carousel.styles.ts +34 -16
- package/src/components/data-display/Carousel/Carousel.tsx +2 -3
- package/src/components/data-display/Chart/Chart.tsx +4 -4
- package/src/components/data-display/Chart/ChartComposables.tsx +16 -5
- package/src/components/data-display/Chart/chart-axis.ts +13 -9
- package/src/components/data-display/Chart/chart-context.ts +17 -2
- package/src/components/data-display/Chart/chart-internals.ts +30 -13
- package/src/components/data-display/Chart/chart-renderers.tsx +2 -1
- package/src/components/data-display/Chip/Chip.styles.tsx +4 -3
- package/src/components/data-display/DataGrid/DataGrid.states.tsx +3 -1
- package/src/components/data-display/DataViews/DataViewsBoard.tsx +16 -8
- package/src/components/data-display/DataViews/base-card.tsx +12 -11
- package/src/components/data-display/DataViews/base-list-card-geometry.tsx +28 -19
- package/src/components/data-display/DataViews/base-list-card-gutters.tsx +2 -1
- package/src/components/data-display/DataViews/base-list-card-slots.tsx +13 -11
- package/src/components/data-display/DataViews/card-surface.ts +19 -18
- package/src/components/data-display/DataViews/data-views-day-input.tsx +2 -1
- package/src/components/data-display/DataViews/data-views-display-panel.tsx +5 -4
- package/src/components/data-display/DataViews/data-views-display-tabs.tsx +6 -6
- package/src/components/data-display/DataViews/data-views-drag.tsx +7 -5
- package/src/components/data-display/DataViews/data-views-empty.tsx +2 -1
- package/src/components/data-display/DataViews/data-views-export.tsx +5 -3
- package/src/components/data-display/DataViews/data-views-glyphs.tsx +17 -14
- package/src/components/data-display/DataViews/data-views-grid-helpers.tsx +8 -5
- package/src/components/data-display/DataViews/data-views-more-filters.tsx +5 -4
- package/src/components/data-display/DataViews/data-views-number-input.tsx +2 -1
- package/src/components/data-display/DataViews/data-views-range-pill.tsx +1 -1
- package/src/components/data-display/DataViews/data-views-scopes.tsx +12 -6
- package/src/components/data-display/DataViews/data-views-search.tsx +9 -8
- package/src/components/data-display/DataViews/data-views-toolbar.tsx +2 -1
- package/src/components/data-display/DataViews/data-views-view-nav.tsx +4 -4
- package/src/components/data-display/DataViews/save-view-preview.tsx +3 -2
- package/src/components/data-display/DateTimeDisplay/DateTimeDisplay.tsx +4 -3
- package/src/components/data-display/DescriptionItem/DescriptionItem.tsx +6 -3
- package/src/components/data-display/EmptyState/EmptyState.tsx +6 -5
- package/src/components/data-display/ErrorState/ErrorState.tsx +6 -6
- package/src/components/data-display/FleetMap/FleetBody.tsx +4 -1
- package/src/components/data-display/FleetMap/FleetMap.tsx +6 -4
- package/src/components/data-display/FleetMap/FleetRoster.tsx +7 -5
- package/src/components/data-display/HoverCard/HoverCard.animations.ts +13 -11
- package/src/components/data-display/HoverCard/HoverCard.content.tsx +8 -5
- package/src/components/data-display/HoverCard/HoverCard.styles.ts +40 -38
- package/src/components/data-display/HoverCard/HoverCard.tsx +19 -8
- package/src/components/data-display/InteractiveTooltip/InteractiveTooltip.hooks.ts +2 -2
- package/src/components/data-display/InteractiveTooltip/InteractiveTooltip.styles.ts +25 -12
- package/src/components/data-display/InteractiveTooltip/InteractiveTooltip.tsx +3 -2
- package/src/components/data-display/LazyImage/LazyImage.hooks.ts +8 -3
- package/src/components/data-display/LazyImage/LazyImage.tsx +48 -23
- package/src/components/data-display/Lightbox/Lightbox.constants.ts +7 -2
- package/src/components/data-display/Lightbox/Lightbox.hooks.ts +7 -4
- package/src/components/data-display/Lightbox/Lightbox.tsx +3 -2
- package/src/components/data-display/Lightbox/LightboxControls.tsx +6 -5
- package/src/components/data-display/Lightbox/LightboxStage.tsx +30 -18
- package/src/components/data-display/Lightbox/LightboxThumbnails.tsx +10 -8
- package/src/components/data-display/LoadingState/LoadingState.tsx +4 -3
- package/src/components/data-display/MapPreview/MapControlBar.tsx +3 -2
- package/src/components/data-display/MapPreview/MapDecorations.tsx +12 -12
- package/src/components/data-display/MapPreview/MapLayers.tsx +1 -2
- package/src/components/data-display/MapPreview/MapMarkers.tsx +8 -8
- package/src/components/data-display/MapPreview/MapOverlays.tsx +8 -5
- package/src/components/data-display/MapPreview/MapPreview.helpers.ts +3 -4
- package/src/components/data-display/MapPreview/MapPreview.tsx +3 -1
- package/src/components/data-display/MapPreview/MapSearchBar.tsx +4 -3
- package/src/components/data-display/MapPreview/mapSurface.ts +6 -4
- package/src/components/data-display/Popover/Popover.tsx +23 -11
- package/src/components/data-display/Progress/Progress.styles.ts +20 -11
- package/src/components/data-display/Progress/Progress.tsx +12 -9
- package/src/components/data-display/Sheet/Sheet.animations.ts +11 -9
- package/src/components/data-display/Sheet/Sheet.body.tsx +2 -1
- package/src/components/data-display/Sheet/Sheet.parts.tsx +8 -7
- package/src/components/data-display/Sheet/Sheet.styles.ts +35 -30
- package/src/components/data-display/StatCard/StatCard.tsx +4 -3
- package/src/components/data-display/Stepper/Stepper.tsx +17 -17
- package/src/components/data-display/Table/Table.styles.ts +21 -20
- package/src/components/data-display/Table/Table.tsx +26 -16
- package/src/components/data-display/Timeline/Timeline.tsx +4 -3
- package/src/components/data-display/Timeline/TimelineRow.tsx +23 -22
- package/src/components/data-display/TimingDiagram/TimingDiagram.tsx +8 -7
- package/src/components/data-display/TimingDiagram/TimingDiagram.views.tsx +29 -28
- package/src/components/data-display/Tooltip/Tooltip.tsx +23 -10
- package/src/components/form/AddressAutocomplete/AddressFallbackField.tsx +5 -1
- package/src/components/form/AddressAutocomplete/AddressInputField.tsx +36 -29
- package/src/components/form/AddressAutocomplete/AddressSuggestionsPaper.tsx +4 -2
- package/src/components/form/AddressAutocomplete/AddressTextField.tsx +4 -3
- package/src/components/form/Autocomplete/Autocomplete.parts.tsx +10 -7
- package/src/components/form/Button/Button.styles.ts +28 -25
- package/src/components/form/Button/Button.tsx +2 -2
- package/src/components/form/CategorySelect/CategoryPanelFoot.tsx +5 -4
- package/src/components/form/CategorySelect/CategoryPanelHead.tsx +13 -12
- package/src/components/form/CategorySelect/CategoryPanelList.tsx +3 -2
- package/src/components/form/CategorySelect/CategoryPanelSurface.tsx +2 -1
- package/src/components/form/CategorySelect/CategoryRows.tsx +4 -3
- package/src/components/form/CategorySelect/CategorySelect.styles.ts +98 -96
- package/src/components/form/CategorySelect/CategoryTrigger.tsx +5 -2
- package/src/components/form/Checkbox/Checkbox.tsx +21 -15
- package/src/components/form/CodeEditor/CodeEditor.helpers.ts +0 -2
- package/src/components/form/CodeEditor/CodeEditor.md +1 -1
- package/src/components/form/CodeEditor/CodeEditor.tsx +5 -5
- package/src/components/form/CodeEditor/CodeEditor.types.ts +1 -1
- package/src/components/form/Command/Command.hooks.ts +0 -2
- package/src/components/form/Command/Command.parts.tsx +7 -2
- package/src/components/form/Command/Command.styles.ts +11 -11
- package/src/components/form/Command/Command.tsx +14 -5
- package/src/components/form/CreatableSelect/CreatableSelect.tsx +12 -8
- package/src/components/form/DateRangePicker/DateRangePicker.tsx +10 -8
- package/src/components/form/DateRangePicker/DateRangePickerQuickList.tsx +8 -4
- package/src/components/form/Form/Form.tsx +6 -10
- package/src/components/form/HeaderActions/HeaderActions.tsx +2 -1
- package/src/components/form/Input/Input.styles.ts +17 -16
- package/src/components/form/Input/Input.tsx +4 -2
- package/src/components/form/InputOTP/InputOTP.styles.ts +3 -3
- package/src/components/form/Label/Label.styles.ts +8 -8
- package/src/components/form/Menubar/Menubar.item.tsx +2 -2
- package/src/components/form/Menubar/Menubar.styles.ts +13 -13
- package/src/components/form/Menubar/Menubar.toolbar.tsx +4 -2
- package/src/components/form/PasswordStrength/PasswordStrength.tsx +19 -18
- package/src/components/form/PhoneInput/PhoneInput.tsx +9 -9
- package/src/components/form/RadioGroup/RadioGroup.animations.ts +9 -6
- package/src/components/form/RadioGroup/RadioGroup.styles.ts +45 -43
- package/src/components/form/RichTextEditor/RichTextEditor.tsx +7 -6
- package/src/components/form/RichTextEditor/RichTextEditorToolbar.tsx +3 -1
- package/src/components/form/SearchPalette/SearchPalette.parts.tsx +8 -6
- package/src/components/form/Select/Select.tsx +14 -12
- package/src/components/form/Slider/Slider.animations.ts +7 -4
- package/src/components/form/Slider/Slider.styles.ts +43 -42
- package/src/components/form/Switch/Switch.animations.ts +7 -4
- package/src/components/form/Switch/Switch.parts.tsx +2 -2
- package/src/components/form/Switch/Switch.styles.ts +26 -22
- package/src/components/form/Textarea/Textarea.styles.ts +13 -12
- package/src/components/form/Textarea/Textarea.tsx +28 -22
- package/src/components/form/Textarea/TextareaRichEditor.tsx +10 -10
- package/src/components/form/Toggle/Toggle.styles.ts +29 -26
- package/src/components/form/Toggle/Toggle.tsx +5 -2
- package/src/components/form/ToggleGroup/ToggleGroup.tsx +18 -15
- package/src/components/form/UploadButton/UploadButton.parts.tsx +6 -5
- package/dist/chunk-24NXQG5F.js +0 -85
- package/dist/chunk-24NXQG5F.js.map +0 -1
- package/dist/chunk-2AKQPXSJ.js +0 -64
- package/dist/chunk-2B76FIMN.js +0 -206
- package/dist/chunk-2B76FIMN.js.map +0 -1
- package/dist/chunk-2F4YEGYG.js +0 -75
- package/dist/chunk-2F4YEGYG.js.map +0 -1
- package/dist/chunk-2HVNPWFV.js +0 -116
- package/dist/chunk-2HVNPWFV.js.map +0 -1
- package/dist/chunk-2PBT2HQH.js +0 -293
- package/dist/chunk-2PBT2HQH.js.map +0 -1
- package/dist/chunk-2PWVPTS3.js +0 -293
- package/dist/chunk-2PWVPTS3.js.map +0 -1
- package/dist/chunk-2WGMMFGV.js +0 -126
- package/dist/chunk-2WGMMFGV.js.map +0 -1
- package/dist/chunk-2X5OQDPH.js +0 -63
- package/dist/chunk-2X5OQDPH.js.map +0 -1
- package/dist/chunk-35ETD7ML.js +0 -67
- package/dist/chunk-35ETD7ML.js.map +0 -1
- package/dist/chunk-3A22SBIU.js +0 -82
- package/dist/chunk-3A22SBIU.js.map +0 -1
- package/dist/chunk-3GQ6PNEM.js +0 -51
- package/dist/chunk-3GQ6PNEM.js.map +0 -1
- package/dist/chunk-4GYEIWQP.js +0 -350
- package/dist/chunk-4GYEIWQP.js.map +0 -1
- package/dist/chunk-4LQZH4PU.js +0 -187
- package/dist/chunk-4M34ALEP.js +0 -155
- package/dist/chunk-4M34ALEP.js.map +0 -1
- package/dist/chunk-4V532JF6.js +0 -58
- package/dist/chunk-4V532JF6.js.map +0 -1
- package/dist/chunk-4WQ3YXQL.js +0 -72
- package/dist/chunk-56QVP2MU.js +0 -96
- package/dist/chunk-56QVP2MU.js.map +0 -1
- package/dist/chunk-57IB5NTM.js +0 -195
- package/dist/chunk-5E3XZAED.js +0 -55
- package/dist/chunk-5E3XZAED.js.map +0 -1
- package/dist/chunk-5IXHJXJX.js +0 -93
- package/dist/chunk-5IXHJXJX.js.map +0 -1
- package/dist/chunk-5NFPO3YY.js +0 -84
- package/dist/chunk-5NFPO3YY.js.map +0 -1
- package/dist/chunk-5RP3KXC7.js +0 -267
- package/dist/chunk-5RP3KXC7.js.map +0 -1
- package/dist/chunk-5SJWDABY.js +0 -266
- package/dist/chunk-5SJWDABY.js.map +0 -1
- package/dist/chunk-5VWYCVXF.js +0 -94
- package/dist/chunk-5VWYCVXF.js.map +0 -1
- package/dist/chunk-5ZQUJ7LT.js +0 -80
- package/dist/chunk-5ZQUJ7LT.js.map +0 -1
- package/dist/chunk-5ZT4ZIZB.js +0 -110
- package/dist/chunk-5ZT4ZIZB.js.map +0 -1
- package/dist/chunk-5ZTQTJAJ.js +0 -124
- package/dist/chunk-65CEXQ4L.js +0 -52
- package/dist/chunk-65CEXQ4L.js.map +0 -1
- package/dist/chunk-65YAR3OZ.js +0 -110
- package/dist/chunk-65YAR3OZ.js.map +0 -1
- package/dist/chunk-6DC5SVHM.js +0 -57
- package/dist/chunk-6DN4ZULV.js +0 -139
- package/dist/chunk-6DN4ZULV.js.map +0 -1
- package/dist/chunk-6KL2CJBO.js +0 -118
- package/dist/chunk-6M33XQLZ.js +0 -70
- package/dist/chunk-6M33XQLZ.js.map +0 -1
- package/dist/chunk-6Q5GZUQ5.js +0 -64
- package/dist/chunk-6SKXV236.js +0 -176
- package/dist/chunk-6SKXV236.js.map +0 -1
- package/dist/chunk-6SS5C74Q.js +0 -37
- package/dist/chunk-6SYFPRTT.js +0 -271
- package/dist/chunk-73HBIIRB.js +0 -134
- package/dist/chunk-73HBIIRB.js.map +0 -1
- package/dist/chunk-7BZTZ2WG.js +0 -149
- package/dist/chunk-7BZTZ2WG.js.map +0 -1
- package/dist/chunk-7DN4UXJ3.js +0 -76
- package/dist/chunk-7DN4UXJ3.js.map +0 -1
- package/dist/chunk-7EQCZO56.js +0 -67
- package/dist/chunk-7EQCZO56.js.map +0 -1
- package/dist/chunk-7HFGVT3G.js +0 -197
- package/dist/chunk-7HFGVT3G.js.map +0 -1
- package/dist/chunk-7LIXQZBG.js +0 -193
- package/dist/chunk-7VJH4FYU.js +0 -300
- package/dist/chunk-7VJH4FYU.js.map +0 -1
- package/dist/chunk-7ZG7T2YN.js +0 -92
- package/dist/chunk-7ZWC5CKA.js +0 -85
- package/dist/chunk-7ZWC5CKA.js.map +0 -1
- package/dist/chunk-A2CTAEIS.js +0 -269
- package/dist/chunk-A2CTAEIS.js.map +0 -1
- package/dist/chunk-A2DYU5WN.js +0 -60
- package/dist/chunk-A2DYU5WN.js.map +0 -1
- package/dist/chunk-A6AKFPIQ.js +0 -247
- package/dist/chunk-AATIHNPI.js +0 -312
- package/dist/chunk-ACZH2NUW.js +0 -38
- package/dist/chunk-ACZH2NUW.js.map +0 -1
- package/dist/chunk-AI7NVWIG.js +0 -112
- package/dist/chunk-AI7NVWIG.js.map +0 -1
- package/dist/chunk-AJSPLHG4.js +0 -90
- package/dist/chunk-AJSPLHG4.js.map +0 -1
- package/dist/chunk-AMTFP7QA.js +0 -94
- package/dist/chunk-AMTFP7QA.js.map +0 -1
- package/dist/chunk-APT5L7V5.js +0 -72
- package/dist/chunk-AQSX3YH2.js +0 -184
- package/dist/chunk-AQSX3YH2.js.map +0 -1
- package/dist/chunk-BD2GGIGS.js +0 -116
- package/dist/chunk-BD2GGIGS.js.map +0 -1
- package/dist/chunk-BNU4RLEC.js +0 -93
- package/dist/chunk-BNU4RLEC.js.map +0 -1
- package/dist/chunk-BO2SDMNQ.js +0 -46
- package/dist/chunk-BR7RM3WR.js +0 -79
- package/dist/chunk-BXAL7OIS.js +0 -347
- package/dist/chunk-BXAL7OIS.js.map +0 -1
- package/dist/chunk-C6FRVGMC.js +0 -176
- package/dist/chunk-C6FRVGMC.js.map +0 -1
- package/dist/chunk-C6NI3FAV.js +0 -109
- package/dist/chunk-C7TCBAVX.js +0 -55
- package/dist/chunk-CJHP6E34.js +0 -264
- package/dist/chunk-CJHP6E34.js.map +0 -1
- package/dist/chunk-CMK4DJDR.js +0 -60
- package/dist/chunk-CMK4DJDR.js.map +0 -1
- package/dist/chunk-CMTR3WEA.js +0 -283
- package/dist/chunk-CMTR3WEA.js.map +0 -1
- package/dist/chunk-CS3RKXT5.js +0 -67
- package/dist/chunk-CSSCGM27.js +0 -25
- package/dist/chunk-CSSCGM27.js.map +0 -1
- package/dist/chunk-CU4TF7C7.js +0 -173
- package/dist/chunk-CZT3AV7I.js +0 -172
- package/dist/chunk-CZT3AV7I.js.map +0 -1
- package/dist/chunk-D2HKCPEH.js +0 -45
- package/dist/chunk-D2HKCPEH.js.map +0 -1
- package/dist/chunk-D5X4FRYX.js +0 -131
- package/dist/chunk-DBCITC4P.js +0 -127
- package/dist/chunk-DHBYO7AO.js +0 -148
- package/dist/chunk-DMYBTD5Y.js +0 -49
- package/dist/chunk-DRE6DSJ7.js +0 -30
- package/dist/chunk-DZHN5FFX.js +0 -150
- package/dist/chunk-DZHN5FFX.js.map +0 -1
- package/dist/chunk-E6RYO4QZ.js +0 -180
- package/dist/chunk-E6RYO4QZ.js.map +0 -1
- package/dist/chunk-E6YBXAZN.js +0 -266
- package/dist/chunk-E6YBXAZN.js.map +0 -1
- package/dist/chunk-EAE5Z5HL.js +0 -65
- package/dist/chunk-EDO2WS5B.js +0 -318
- package/dist/chunk-EDO2WS5B.js.map +0 -1
- package/dist/chunk-EFV5QJNM.js +0 -158
- package/dist/chunk-EFV5QJNM.js.map +0 -1
- package/dist/chunk-EFVOT3G5.js +0 -96
- package/dist/chunk-EXZSHZRS.js +0 -39
- package/dist/chunk-F52N6ACD.js +0 -46
- package/dist/chunk-F52N6ACD.js.map +0 -1
- package/dist/chunk-F5KEWLZK.js +0 -68
- package/dist/chunk-F7HQVKIR.js +0 -223
- package/dist/chunk-FXNYV5Z6.js +0 -125
- package/dist/chunk-GE2EKMDT.js +0 -90
- package/dist/chunk-GE2EKMDT.js.map +0 -1
- package/dist/chunk-GEXM6DNR.js +0 -76
- package/dist/chunk-GGWICBJD.js +0 -58
- package/dist/chunk-GIRRCEVH.js +0 -116
- package/dist/chunk-GN5EZPSL.js +0 -195
- package/dist/chunk-GN5EZPSL.js.map +0 -1
- package/dist/chunk-GUVBR62X.js +0 -62
- package/dist/chunk-GVLMG5WQ.js +0 -143
- package/dist/chunk-GVLMG5WQ.js.map +0 -1
- package/dist/chunk-GVLZZCSX.js +0 -38
- package/dist/chunk-GW64UQXI.js +0 -213
- package/dist/chunk-GXCOXJS3.js +0 -41
- package/dist/chunk-H2YBVBPW.js +0 -75
- package/dist/chunk-H2YBVBPW.js.map +0 -1
- package/dist/chunk-H3B5PIM3.js +0 -125
- package/dist/chunk-H3B5PIM3.js.map +0 -1
- package/dist/chunk-H6YVO55T.js +0 -62
- package/dist/chunk-H6YVO55T.js.map +0 -1
- package/dist/chunk-HAQMKV5P.js +0 -168
- package/dist/chunk-HAQMKV5P.js.map +0 -1
- package/dist/chunk-HBICO6AX.js +0 -218
- package/dist/chunk-HBICO6AX.js.map +0 -1
- package/dist/chunk-HC5ZSCRG.js +0 -139
- package/dist/chunk-HC5ZSCRG.js.map +0 -1
- package/dist/chunk-HJWOB62A.js +0 -276
- package/dist/chunk-I2CRLUS7.js +0 -160
- package/dist/chunk-I62ALI7F.js +0 -208
- package/dist/chunk-I6EVBLFX.js +0 -123
- package/dist/chunk-I6EVBLFX.js.map +0 -1
- package/dist/chunk-IBGX6H4J.js +0 -121
- package/dist/chunk-IBGX6H4J.js.map +0 -1
- package/dist/chunk-IDO4EV7T.js +0 -67
- package/dist/chunk-IFSUKWE7.js +0 -219
- package/dist/chunk-IFSUKWE7.js.map +0 -1
- package/dist/chunk-IT7ATXU7.js +0 -76
- package/dist/chunk-IT7ATXU7.js.map +0 -1
- package/dist/chunk-IUCTYNIR.js +0 -287
- package/dist/chunk-IUCTYNIR.js.map +0 -1
- package/dist/chunk-IWOVENC3.js +0 -83
- package/dist/chunk-J4NXTSJY.js +0 -223
- package/dist/chunk-J4NXTSJY.js.map +0 -1
- package/dist/chunk-JCBIPBGZ.js +0 -235
- package/dist/chunk-JCBIPBGZ.js.map +0 -1
- package/dist/chunk-JCJGJX7V.js +0 -96
- package/dist/chunk-JCJGJX7V.js.map +0 -1
- package/dist/chunk-JFBEZXNL.js +0 -88
- package/dist/chunk-JFEEV3XI.js +0 -132
- package/dist/chunk-JHEGDDZQ.js +0 -176
- package/dist/chunk-JHEGDDZQ.js.map +0 -1
- package/dist/chunk-JOR6E23V.js +0 -196
- package/dist/chunk-JWK4GI2I.js +0 -99
- package/dist/chunk-JWK4GI2I.js.map +0 -1
- package/dist/chunk-JYRQBZEV.js +0 -41
- package/dist/chunk-K7WSPGI7.js +0 -181
- package/dist/chunk-K7WSPGI7.js.map +0 -1
- package/dist/chunk-KE5MX4PI.js +0 -165
- package/dist/chunk-KH25WUSX.js +0 -131
- package/dist/chunk-KH25WUSX.js.map +0 -1
- package/dist/chunk-KLMP2BYC.js +0 -63
- package/dist/chunk-KTYZRAB7.js +0 -108
- package/dist/chunk-KTYZRAB7.js.map +0 -1
- package/dist/chunk-KUVOMH5I.js +0 -51
- package/dist/chunk-KUVOMH5I.js.map +0 -1
- package/dist/chunk-L4V2LRKH.js +0 -161
- package/dist/chunk-L4V2LRKH.js.map +0 -1
- package/dist/chunk-LDDN254Q.js +0 -77
- package/dist/chunk-LI6OLYUB.js +0 -131
- package/dist/chunk-LMXWI3DD.js +0 -50
- package/dist/chunk-LMXWI3DD.js.map +0 -1
- package/dist/chunk-LOJK733T.js +0 -165
- package/dist/chunk-LOJK733T.js.map +0 -1
- package/dist/chunk-LWRI6HGT.js +0 -297
- package/dist/chunk-LWRI6HGT.js.map +0 -1
- package/dist/chunk-M5BTIIL7.js +0 -173
- package/dist/chunk-M5BTIIL7.js.map +0 -1
- package/dist/chunk-M5T3COS2.js +0 -70
- package/dist/chunk-M5T3COS2.js.map +0 -1
- package/dist/chunk-MGC4QOMP.js +0 -230
- package/dist/chunk-MGC4QOMP.js.map +0 -1
- package/dist/chunk-MISZGWO7.js +0 -210
- package/dist/chunk-MISZGWO7.js.map +0 -1
- package/dist/chunk-MLBKACV6.js +0 -308
- package/dist/chunk-MLBKACV6.js.map +0 -1
- package/dist/chunk-MRB6GROF.js +0 -328
- package/dist/chunk-MRB6GROF.js.map +0 -1
- package/dist/chunk-MXZ43UCQ.js +0 -53
- package/dist/chunk-MZMGQKT3.js +0 -203
- package/dist/chunk-MZMGQKT3.js.map +0 -1
- package/dist/chunk-NE6XUN5Z.js +0 -41
- package/dist/chunk-NIS523UM.js +0 -26
- package/dist/chunk-NNQLDFKG.js +0 -151
- package/dist/chunk-NNQLDFKG.js.map +0 -1
- package/dist/chunk-NSJVQ5YJ.js +0 -117
- package/dist/chunk-NSJVQ5YJ.js.map +0 -1
- package/dist/chunk-NVNZFT5X.js +0 -269
- package/dist/chunk-NVNZFT5X.js.map +0 -1
- package/dist/chunk-NXX3ZQKO.js +0 -149
- package/dist/chunk-NXX3ZQKO.js.map +0 -1
- package/dist/chunk-O26MKGIC.js +0 -102
- package/dist/chunk-O26MKGIC.js.map +0 -1
- package/dist/chunk-OGTTJKHI.js +0 -59
- package/dist/chunk-OLZTGVBT.js +0 -216
- package/dist/chunk-OOSD7363.js +0 -249
- package/dist/chunk-OOSD7363.js.map +0 -1
- package/dist/chunk-OWA7GPWR.js +0 -86
- package/dist/chunk-OWA7GPWR.js.map +0 -1
- package/dist/chunk-OYP27CYE.js +0 -62
- package/dist/chunk-PGNJCUDA.js +0 -201
- package/dist/chunk-PGNJCUDA.js.map +0 -1
- package/dist/chunk-PNLM35GU.js +0 -159
- package/dist/chunk-PYIASGI7.js +0 -237
- package/dist/chunk-PYIASGI7.js.map +0 -1
- package/dist/chunk-QHUTSAFG.js +0 -194
- package/dist/chunk-QO6QWBDI.js +0 -142
- package/dist/chunk-QO6QWBDI.js.map +0 -1
- package/dist/chunk-QTWXVOPT.js +0 -240
- package/dist/chunk-QTWXVOPT.js.map +0 -1
- package/dist/chunk-QWHURFJ3.js +0 -134
- package/dist/chunk-QWHURFJ3.js.map +0 -1
- package/dist/chunk-QY4XNTNG.js +0 -98
- package/dist/chunk-QY4XNTNG.js.map +0 -1
- package/dist/chunk-RORP6DWR.js +0 -228
- package/dist/chunk-RORP6DWR.js.map +0 -1
- package/dist/chunk-RQ5HZDBV.js +0 -264
- package/dist/chunk-RQ5HZDBV.js.map +0 -1
- package/dist/chunk-RV4Y4O67.js +0 -103
- package/dist/chunk-RV4Y4O67.js.map +0 -1
- package/dist/chunk-SCRN2RE4.js +0 -64
- package/dist/chunk-SCRN2RE4.js.map +0 -1
- package/dist/chunk-SE6ERQY5.js +0 -156
- package/dist/chunk-SE6ERQY5.js.map +0 -1
- package/dist/chunk-SKX4NA6E.js +0 -241
- package/dist/chunk-SN2YMCTL.js +0 -82
- package/dist/chunk-SNR537TI.js +0 -59
- package/dist/chunk-SNR537TI.js.map +0 -1
- package/dist/chunk-ST4YYVUK.js +0 -27
- package/dist/chunk-ST4YYVUK.js.map +0 -1
- package/dist/chunk-SX3MEC3Q.js +0 -127
- package/dist/chunk-SYNMQWT4.js +0 -135
- package/dist/chunk-SYNMQWT4.js.map +0 -1
- package/dist/chunk-TEUX42YW.js +0 -156
- package/dist/chunk-TEUX42YW.js.map +0 -1
- package/dist/chunk-TFZI36UD.js +0 -64
- package/dist/chunk-TFZI36UD.js.map +0 -1
- package/dist/chunk-TOXTJ7MU.js +0 -144
- package/dist/chunk-TOXTJ7MU.js.map +0 -1
- package/dist/chunk-TPQVLBTY.js +0 -183
- package/dist/chunk-TTAP5XFX.js +0 -85
- package/dist/chunk-TTAP5XFX.js.map +0 -1
- package/dist/chunk-TU3EGIKB.js +0 -41
- package/dist/chunk-U2IRCTAR.js +0 -43
- package/dist/chunk-U4H6MGVE.js +0 -186
- package/dist/chunk-U4H6MGVE.js.map +0 -1
- package/dist/chunk-UCA47HM7.js +0 -21
- package/dist/chunk-UCTJJYVC.js +0 -120
- package/dist/chunk-UFLTL2RJ.js +0 -134
- package/dist/chunk-ULIM42PE.js +0 -98
- package/dist/chunk-ULIM42PE.js.map +0 -1
- package/dist/chunk-UMP5MQ7X.js +0 -303
- package/dist/chunk-UMP5MQ7X.js.map +0 -1
- package/dist/chunk-UO7ERXYX.js +0 -288
- package/dist/chunk-UO7ERXYX.js.map +0 -1
- package/dist/chunk-V3LOHY4N.js +0 -215
- package/dist/chunk-VAGHW3K2.js +0 -64
- package/dist/chunk-VAGHW3K2.js.map +0 -1
- package/dist/chunk-VDGJV7MP.js +0 -114
- package/dist/chunk-VDGJV7MP.js.map +0 -1
- package/dist/chunk-VDZQJBAV.js +0 -117
- package/dist/chunk-VDZQJBAV.js.map +0 -1
- package/dist/chunk-VECWMANF.js +0 -44
- package/dist/chunk-VECWMANF.js.map +0 -1
- package/dist/chunk-VR3U4QA5.js +0 -186
- package/dist/chunk-VR3U4QA5.js.map +0 -1
- package/dist/chunk-VV7MGILP.js +0 -181
- package/dist/chunk-VZAGBDZ2.js +0 -107
- package/dist/chunk-W3CLJ7JE.js +0 -175
- package/dist/chunk-W5ENK5CM.js +0 -182
- package/dist/chunk-WNUZK7NS.js +0 -308
- package/dist/chunk-WNUZK7NS.js.map +0 -1
- package/dist/chunk-WR7ELCIL.js +0 -168
- package/dist/chunk-WR7ELCIL.js.map +0 -1
- package/dist/chunk-WVC3BG6J.js +0 -91
- package/dist/chunk-WVC3BG6J.js.map +0 -1
- package/dist/chunk-WW4N2LRM.js +0 -170
- package/dist/chunk-X2AKLDPW.js +0 -28
- package/dist/chunk-X4PS3E3V.js +0 -40
- package/dist/chunk-X4PS3E3V.js.map +0 -1
- package/dist/chunk-X7PVFAYJ.js +0 -54
- package/dist/chunk-X7PVFAYJ.js.map +0 -1
- package/dist/chunk-XLYFOBBT.js +0 -180
- package/dist/chunk-XLYFOBBT.js.map +0 -1
- package/dist/chunk-XREYLKUX.js +0 -270
- package/dist/chunk-XREYLKUX.js.map +0 -1
- package/dist/chunk-XRMZMBE3.js +0 -50
- package/dist/chunk-XRMZMBE3.js.map +0 -1
- package/dist/chunk-XSMMFCMQ.js +0 -183
- package/dist/chunk-XSMMFCMQ.js.map +0 -1
- package/dist/chunk-XWWFBH2G.js +0 -148
- package/dist/chunk-XWWFBH2G.js.map +0 -1
- package/dist/chunk-XZBCPL4N.js +0 -266
- package/dist/chunk-Y2E73IG2.js +0 -294
- package/dist/chunk-Y2E73IG2.js.map +0 -1
- package/dist/chunk-YDPUBGJ7.js +0 -190
- package/dist/chunk-YDPUBGJ7.js.map +0 -1
- package/dist/chunk-YESTO24O.js +0 -59
- package/dist/chunk-YESTO24O.js.map +0 -1
- package/dist/chunk-YG2VQUZO.js +0 -175
- package/dist/chunk-YH37X6JT.js +0 -183
- package/dist/chunk-YH37X6JT.js.map +0 -1
- package/dist/chunk-YLBRXDYH.js +0 -204
- package/dist/chunk-YSKGLU2V.js +0 -136
- package/dist/chunk-YSKGLU2V.js.map +0 -1
- package/dist/chunk-YU647YW4.js +0 -79
- package/dist/chunk-YU647YW4.js.map +0 -1
- package/dist/chunk-Z35J5B6D.js +0 -156
- package/dist/chunk-Z35J5B6D.js.map +0 -1
- package/dist/chunk-ZHEZISMI.js +0 -37
- package/dist/chunk-ZMC3N23A.js +0 -33
- package/dist/chunk-ZTKLKOOO.js +0 -204
- package/dist/chunk-ZTKLKOOO.js.map +0 -1
- package/dist/chunk-ZUQIOWLN.js +0 -153
- package/dist/chunk-ZUQIOWLN.js.map +0 -1
- package/dist/chunk-ZW5K4XCQ.js +0 -158
- package/dist/chunk-ZWSS3K4F.js +0 -206
- package/dist/chunk-ZWSS3K4F.js.map +0 -1
- package/dist/chunk-ZXSUWFQX.js +0 -175
- package/dist/chunk-ZXSUWFQX.js.map +0 -1
- package/dist/chunk-ZZM3DOEK.js +0 -99
- /package/dist/{chunk-6SYFPRTT.js.map → chunk-2BIVCYTO.js.map} +0 -0
- /package/dist/{chunk-PNLM35GU.js.map → chunk-2JNHWKQK.js.map} +0 -0
- /package/dist/{chunk-APT5L7V5.js.map → chunk-2LIRGFEK.js.map} +0 -0
- /package/dist/{chunk-IWOVENC3.js.map → chunk-2XX45PC5.js.map} +0 -0
- /package/dist/{chunk-ZW5K4XCQ.js.map → chunk-34BZXJGT.js.map} +0 -0
- /package/dist/{chunk-CS3RKXT5.js.map → chunk-35S6QI5G.js.map} +0 -0
- /package/dist/{chunk-UCA47HM7.js.map → chunk-3AOQBR7N.js.map} +0 -0
- /package/dist/{chunk-GVLZZCSX.js.map → chunk-4B5XUQQS.js.map} +0 -0
- /package/dist/{chunk-U2IRCTAR.js.map → chunk-4WCDMCIS.js.map} +0 -0
- /package/dist/{chunk-HJWOB62A.js.map → chunk-57JLS55D.js.map} +0 -0
- /package/dist/{chunk-ZZM3DOEK.js.map → chunk-5HDYTTE7.js.map} +0 -0
- /package/dist/{chunk-GEXM6DNR.js.map → chunk-5KGABAQB.js.map} +0 -0
- /package/dist/{chunk-OGTTJKHI.js.map → chunk-5QWQR7XT.js.map} +0 -0
- /package/dist/{chunk-XZBCPL4N.js.map → chunk-5W4BLTDI.js.map} +0 -0
- /package/dist/{chunk-YG2VQUZO.js.map → chunk-6BDYC4RA.js.map} +0 -0
- /package/dist/{chunk-QHUTSAFG.js.map → chunk-6CTPDNNX.js.map} +0 -0
- /package/dist/{chunk-CU4TF7C7.js.map → chunk-6GRZ77IS.js.map} +0 -0
- /package/dist/{chunk-D5X4FRYX.js.map → chunk-6JNQLW5L.js.map} +0 -0
- /package/dist/{chunk-A6AKFPIQ.js.map → chunk-7EH4D6FU.js.map} +0 -0
- /package/dist/{chunk-YLBRXDYH.js.map → chunk-7EIOXZWL.js.map} +0 -0
- /package/dist/{chunk-7ZG7T2YN.js.map → chunk-7GHYCQCJ.js.map} +0 -0
- /package/dist/{chunk-I2CRLUS7.js.map → chunk-AER4245J.js.map} +0 -0
- /package/dist/{chunk-JFBEZXNL.js.map → chunk-BAQBUKDU.js.map} +0 -0
- /package/dist/{chunk-VZAGBDZ2.js.map → chunk-BJZOBG24.js.map} +0 -0
- /package/dist/{chunk-GGWICBJD.js.map → chunk-CPAJYJUD.js.map} +0 -0
- /package/dist/{chunk-DMYBTD5Y.js.map → chunk-CPWWMGYR.js.map} +0 -0
- /package/dist/{chunk-DRE6DSJ7.js.map → chunk-CQLPDY2J.js.map} +0 -0
- /package/dist/{chunk-SN2YMCTL.js.map → chunk-CS3KOKL3.js.map} +0 -0
- /package/dist/{chunk-GUVBR62X.js.map → chunk-DCJSHYE5.js.map} +0 -0
- /package/dist/{chunk-JYRQBZEV.js.map → chunk-DVAAUWTC.js.map} +0 -0
- /package/dist/{chunk-FXNYV5Z6.js.map → chunk-F6D6HXZU.js.map} +0 -0
- /package/dist/{chunk-F5KEWLZK.js.map → chunk-FC7NQ6XM.js.map} +0 -0
- /package/dist/{chunk-C7TCBAVX.js.map → chunk-FFOQZRFC.js.map} +0 -0
- /package/dist/{chunk-GXCOXJS3.js.map → chunk-FNG33MKA.js.map} +0 -0
- /package/dist/{chunk-NIS523UM.js.map → chunk-FWPFCK4D.js.map} +0 -0
- /package/dist/{chunk-UCTJJYVC.js.map → chunk-G4HBNILE.js.map} +0 -0
- /package/dist/{chunk-GW64UQXI.js.map → chunk-GHXFCMFP.js.map} +0 -0
- /package/dist/{chunk-KE5MX4PI.js.map → chunk-GRDPGHQJ.js.map} +0 -0
- /package/dist/{chunk-6SS5C74Q.js.map → chunk-GS3RP2QE.js.map} +0 -0
- /package/dist/{chunk-ZHEZISMI.js.map → chunk-H5BEWPEY.js.map} +0 -0
- /package/dist/{chunk-57IB5NTM.js.map → chunk-HB7ISSLK.js.map} +0 -0
- /package/dist/{chunk-6Q5GZUQ5.js.map → chunk-HGMBY5LP.js.map} +0 -0
- /package/dist/{chunk-2AKQPXSJ.js.map → chunk-HJPPNVCF.js.map} +0 -0
- /package/dist/{chunk-F7HQVKIR.js.map → chunk-HU7TX7RB.js.map} +0 -0
- /package/dist/{chunk-JOR6E23V.js.map → chunk-IGGXKT5B.js.map} +0 -0
- /package/dist/{chunk-W3CLJ7JE.js.map → chunk-IKLOIONQ.js.map} +0 -0
- /package/dist/{chunk-KLMP2BYC.js.map → chunk-IVJKILIX.js.map} +0 -0
- /package/dist/{chunk-VV7MGILP.js.map → chunk-JL75FJRG.js.map} +0 -0
- /package/dist/{chunk-ZMC3N23A.js.map → chunk-JSD5TFDK.js.map} +0 -0
- /package/dist/{chunk-NE6XUN5Z.js.map → chunk-JU4MSYYH.js.map} +0 -0
- /package/dist/{chunk-LI6OLYUB.js.map → chunk-LT4NEKXB.js.map} +0 -0
- /package/dist/{chunk-OLZTGVBT.js.map → chunk-LYVTJLCF.js.map} +0 -0
- /package/dist/{chunk-WW4N2LRM.js.map → chunk-MBC55H6M.js.map} +0 -0
- /package/dist/{chunk-AATIHNPI.js.map → chunk-MK4CH4VT.js.map} +0 -0
- /package/dist/{chunk-6KL2CJBO.js.map → chunk-MNHIK2OR.js.map} +0 -0
- /package/dist/{chunk-JFEEV3XI.js.map → chunk-NB3FGWU4.js.map} +0 -0
- /package/dist/{chunk-LDDN254Q.js.map → chunk-NCPWLHZT.js.map} +0 -0
- /package/dist/{chunk-W5ENK5CM.js.map → chunk-NDNYD4FG.js.map} +0 -0
- /package/dist/{chunk-IDO4EV7T.js.map → chunk-NR5TW4AH.js.map} +0 -0
- /package/dist/{chunk-6DC5SVHM.js.map → chunk-NSKQANRY.js.map} +0 -0
- /package/dist/{chunk-EAE5Z5HL.js.map → chunk-OJ2XR3WH.js.map} +0 -0
- /package/dist/{chunk-BR7RM3WR.js.map → chunk-OZPLAOI4.js.map} +0 -0
- /package/dist/{chunk-UFLTL2RJ.js.map → chunk-PH36XEB3.js.map} +0 -0
- /package/dist/{chunk-4LQZH4PU.js.map → chunk-PMOEG36E.js.map} +0 -0
- /package/dist/{chunk-GIRRCEVH.js.map → chunk-PT2XADGH.js.map} +0 -0
- /package/dist/{chunk-EXZSHZRS.js.map → chunk-PWZHCBG3.js.map} +0 -0
- /package/dist/{chunk-EFVOT3G5.js.map → chunk-PZ7PU4AP.js.map} +0 -0
- /package/dist/{chunk-I62ALI7F.js.map → chunk-Q73PTVNO.js.map} +0 -0
- /package/dist/{chunk-DBCITC4P.js.map → chunk-QB3TVUPD.js.map} +0 -0
- /package/dist/{chunk-SKX4NA6E.js.map → chunk-QEG3P5D4.js.map} +0 -0
- /package/dist/{chunk-7LIXQZBG.js.map → chunk-QI5CRSOW.js.map} +0 -0
- /package/dist/{chunk-V3LOHY4N.js.map → chunk-QKPD322X.js.map} +0 -0
- /package/dist/{chunk-MXZ43UCQ.js.map → chunk-QOLIBVGS.js.map} +0 -0
- /package/dist/{chunk-TPQVLBTY.js.map → chunk-R2WMSXQR.js.map} +0 -0
- /package/dist/{chunk-5ZTQTJAJ.js.map → chunk-SJO3K7SB.js.map} +0 -0
- /package/dist/{chunk-TU3EGIKB.js.map → chunk-SSS64KYB.js.map} +0 -0
- /package/dist/{chunk-DHBYO7AO.js.map → chunk-TCV3N44E.js.map} +0 -0
- /package/dist/{chunk-BO2SDMNQ.js.map → chunk-U4QUDFPJ.js.map} +0 -0
- /package/dist/{chunk-C6NI3FAV.js.map → chunk-UAVSBSV5.js.map} +0 -0
- /package/dist/{chunk-4WQ3YXQL.js.map → chunk-VT5HQ2AD.js.map} +0 -0
- /package/dist/{chunk-SX3MEC3Q.js.map → chunk-VZIB5W5L.js.map} +0 -0
- /package/dist/{chunk-X2AKLDPW.js.map → chunk-WE3LJPRN.js.map} +0 -0
- /package/dist/{chunk-OYP27CYE.js.map → chunk-WOAXKWAB.js.map} +0 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MARKER_PIXELS_PER_DEGREE
|
|
3
|
+
} from "./chunk-H2J2MTRE.js";
|
|
4
|
+
import {
|
|
5
|
+
bounceKeyframes
|
|
6
|
+
} from "./chunk-X6AIKCAV.js";
|
|
7
|
+
import {
|
|
8
|
+
shadowInk
|
|
9
|
+
} from "./chunk-FQ6UW7IY.js";
|
|
10
|
+
import {
|
|
11
|
+
rem,
|
|
12
|
+
rems
|
|
13
|
+
} from "./chunk-YKCAJ2TN.js";
|
|
14
|
+
|
|
15
|
+
// src/components/data-display/MapPreview/MapMarkers.tsx
|
|
16
|
+
import LocationIcon from "@mui/icons-material/LocationOn";
|
|
17
|
+
import Box from "@mui/material/Box/index.js";
|
|
18
|
+
import Tooltip from "@mui/material/Tooltip/index.js";
|
|
19
|
+
import Typography from "@mui/material/Typography/index.js";
|
|
20
|
+
import { alpha, styled, useTheme } from "@mui/material/styles/index.js";
|
|
21
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
22
|
+
var CoordinatesDisplay = styled(Box)(({ theme }) => ({
|
|
23
|
+
position: "absolute",
|
|
24
|
+
bottom: theme.spacing(2),
|
|
25
|
+
left: theme.spacing(2),
|
|
26
|
+
padding: theme.spacing(1, 1.5),
|
|
27
|
+
background: alpha(theme.palette.background.paper, 0.95),
|
|
28
|
+
backdropFilter: `blur(${rem(theme, 10)})`,
|
|
29
|
+
WebkitBackdropFilter: `blur(${rem(theme, 10)})`,
|
|
30
|
+
border: `1px solid ${alpha(theme.palette.divider, 0.2)}`,
|
|
31
|
+
borderRadius: theme.shape.borderRadius,
|
|
32
|
+
zIndex: 1
|
|
33
|
+
}));
|
|
34
|
+
var MapMarkers = ({ markers, centre, animated }) => {
|
|
35
|
+
const theme = useTheme();
|
|
36
|
+
return /* @__PURE__ */ jsx(Fragment, { children: markers.map((markerItem, index) => /* @__PURE__ */ jsx(
|
|
37
|
+
Box,
|
|
38
|
+
{
|
|
39
|
+
"data-testid": `map-marker-${index}`,
|
|
40
|
+
sx: {
|
|
41
|
+
position: "absolute",
|
|
42
|
+
top: "50%",
|
|
43
|
+
left: "50%",
|
|
44
|
+
transform: `translate(
|
|
45
|
+
${rem(theme, (markerItem.position.lng - centre.lng) * MARKER_PIXELS_PER_DEGREE)},
|
|
46
|
+
${rem(theme, -(markerItem.position.lat - centre.lat) * MARKER_PIXELS_PER_DEGREE)}
|
|
47
|
+
)`,
|
|
48
|
+
zIndex: 3,
|
|
49
|
+
cursor: markerItem.onClick ? "pointer" : "default"
|
|
50
|
+
},
|
|
51
|
+
onClick: markerItem.onClick,
|
|
52
|
+
title: markerItem.title,
|
|
53
|
+
children: /* @__PURE__ */ jsx(Tooltip, { title: markerItem.description || markerItem.title || "", children: /* @__PURE__ */ jsx(
|
|
54
|
+
LocationIcon,
|
|
55
|
+
{
|
|
56
|
+
sx: {
|
|
57
|
+
fontSize: rem(theme, 32),
|
|
58
|
+
color: theme.palette.error.main,
|
|
59
|
+
filter: `drop-shadow(${rems(theme, 0, 2, 4)} ${shadowInk(theme, 0.3)})`,
|
|
60
|
+
animation: animated ? "bounce 2s infinite" : "none",
|
|
61
|
+
"@keyframes bounce": bounceKeyframes(theme)
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
) })
|
|
65
|
+
},
|
|
66
|
+
`${markerItem.position.lat}-${markerItem.position.lng}-${index}`
|
|
67
|
+
)) });
|
|
68
|
+
};
|
|
69
|
+
var MapCoordinates = ({ position, zoom }) => /* @__PURE__ */ jsxs(CoordinatesDisplay, { "data-testid": "coordinates-display", children: [
|
|
70
|
+
/* @__PURE__ */ jsxs(Typography, { variant: "caption", sx: { fontFamily: "monospace" }, children: [
|
|
71
|
+
"Lat: ",
|
|
72
|
+
position.lat.toFixed(6),
|
|
73
|
+
", Lng: ",
|
|
74
|
+
position.lng.toFixed(6)
|
|
75
|
+
] }),
|
|
76
|
+
zoom > 0 && /* @__PURE__ */ jsxs(Typography, { variant: "caption", sx: { fontFamily: "monospace", display: "block" }, children: [
|
|
77
|
+
"Zoom: ",
|
|
78
|
+
zoom
|
|
79
|
+
] })
|
|
80
|
+
] });
|
|
81
|
+
|
|
82
|
+
export {
|
|
83
|
+
MapMarkers,
|
|
84
|
+
MapCoordinates
|
|
85
|
+
};
|
|
86
|
+
//# sourceMappingURL=chunk-ODFJTEIL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/data-display/MapPreview/MapMarkers.tsx"],"sourcesContent":["import LocationIcon from '@mui/icons-material/LocationOn';\nimport Box from '@mui/material/Box/index.js';\nimport Tooltip from '@mui/material/Tooltip/index.js';\nimport Typography from '@mui/material/Typography/index.js';\nimport { alpha, styled, useTheme } from '@mui/material/styles/index.js';\nimport type { FC } from 'react';\nimport React from 'react';\n\nimport { MARKER_PIXELS_PER_DEGREE } from './MapPreview.constants';\nimport type { LatLng, MapMarker } from './MapPreview.types';\nimport { bounceKeyframes } from './mapSurface';\nimport { shadowInk } from '../../../tokens/ink';\nimport { rem, rems } from '../../../tokens/relative';\n\n// Kept module-local: styled() components cannot be exported across a module\n// boundary here without tripping TS2742.\nconst CoordinatesDisplay = styled(Box)(({ theme }) => ({\n position: 'absolute',\n bottom: theme.spacing(2),\n left: theme.spacing(2),\n padding: theme.spacing(1, 1.5),\n background: alpha(theme.palette.background.paper, 0.95),\n backdropFilter: `blur(${rem(theme, 10)})`,\n WebkitBackdropFilter: `blur(${rem(theme, 10)})`,\n border: `1px solid ${alpha(theme.palette.divider, 0.2)}`,\n borderRadius: theme.shape.borderRadius,\n zIndex: 1,\n}));\n\nexport interface MapMarkersProps {\n markers: MapMarker[];\n centre: LatLng;\n animated: boolean;\n}\n\n// Markers are placed relative to the current centre, so panning moves them with\n// the surface.\nexport const MapMarkers: FC<MapMarkersProps> = ({ markers, centre, animated }) => {\n const theme = useTheme();\n\n return (\n <>\n {markers.map((markerItem, index) => (\n <Box\n key={`${markerItem.position.lat}-${markerItem.position.lng}-${index}`}\n data-testid={`map-marker-${index}`}\n sx={{\n position: 'absolute',\n top: '50%',\n left: '50%',\n transform: `translate(\n ${rem(theme, (markerItem.position.lng - centre.lng) * MARKER_PIXELS_PER_DEGREE)},\n ${rem(theme, -(markerItem.position.lat - centre.lat) * MARKER_PIXELS_PER_DEGREE)}\n )`,\n zIndex: 3,\n cursor: markerItem.onClick ? 'pointer' : 'default',\n }}\n onClick={markerItem.onClick}\n title={markerItem.title}\n >\n <Tooltip title={markerItem.description || markerItem.title || ''}>\n <LocationIcon\n sx={{\n fontSize: rem(theme, 32),\n color: theme.palette.error.main,\n filter: `drop-shadow(${rems(theme, 0, 2, 4)} ${shadowInk(theme, 0.3)})`,\n animation: animated ? 'bounce 2s infinite' : 'none',\n '@keyframes bounce': bounceKeyframes(theme),\n }}\n />\n </Tooltip>\n </Box>\n ))}\n </>\n );\n};\n\nexport const MapCoordinates: FC<{ position: LatLng; zoom: number }> = ({ position, zoom }) => (\n <CoordinatesDisplay data-testid=\"coordinates-display\">\n <Typography variant=\"caption\" sx={{ fontFamily: 'monospace' }}>\n Lat: {position.lat.toFixed(6)}, Lng: {position.lng.toFixed(6)}\n </Typography>\n {zoom > 0 && (\n <Typography variant=\"caption\" sx={{ fontFamily: 'monospace', display: 'block' }}>\n Zoom: {zoom}\n </Typography>\n )}\n </CoordinatesDisplay>\n);\n"],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,kBAAkB;AACzB,OAAO,SAAS;AAChB,OAAO,aAAa;AACpB,OAAO,gBAAgB;AACvB,SAAS,OAAO,QAAQ,gBAAgB;AAqCpC,mBAoBQ,KAkBR,YAtCA;AAzBJ,IAAM,qBAAqB,OAAO,GAAG,EAAE,CAAC,EAAE,MAAM,OAAO;AAAA,EACrD,UAAU;AAAA,EACV,QAAQ,MAAM,QAAQ,CAAC;AAAA,EACvB,MAAM,MAAM,QAAQ,CAAC;AAAA,EACrB,SAAS,MAAM,QAAQ,GAAG,GAAG;AAAA,EAC7B,YAAY,MAAM,MAAM,QAAQ,WAAW,OAAO,IAAI;AAAA,EACtD,gBAAgB,QAAQ,IAAI,OAAO,EAAE,CAAC;AAAA,EACtC,sBAAsB,QAAQ,IAAI,OAAO,EAAE,CAAC;AAAA,EAC5C,QAAQ,aAAa,MAAM,MAAM,QAAQ,SAAS,GAAG,CAAC;AAAA,EACtD,cAAc,MAAM,MAAM;AAAA,EAC1B,QAAQ;AACV,EAAE;AAUK,IAAM,aAAkC,CAAC,EAAE,SAAS,QAAQ,SAAS,MAAM;AAChF,QAAM,QAAQ,SAAS;AAEvB,SACE,gCACG,kBAAQ,IAAI,CAAC,YAAY,UACxB;AAAA,IAAC;AAAA;AAAA,MAEC,eAAa,cAAc,KAAK;AAAA,MAChC,IAAI;AAAA,QACF,UAAU;AAAA,QACV,KAAK;AAAA,QACL,MAAM;AAAA,QACN,WAAW;AAAA,gBACP,IAAI,QAAQ,WAAW,SAAS,MAAM,OAAO,OAAO,wBAAwB,CAAC;AAAA,gBAC7E,IAAI,OAAO,EAAE,WAAW,SAAS,MAAM,OAAO,OAAO,wBAAwB,CAAC;AAAA;AAAA,QAElF,QAAQ;AAAA,QACR,QAAQ,WAAW,UAAU,YAAY;AAAA,MAC3C;AAAA,MACA,SAAS,WAAW;AAAA,MACpB,OAAO,WAAW;AAAA,MAElB,8BAAC,WAAQ,OAAO,WAAW,eAAe,WAAW,SAAS,IAC5D;AAAA,QAAC;AAAA;AAAA,UACC,IAAI;AAAA,YACF,UAAU,IAAI,OAAO,EAAE;AAAA,YACvB,OAAO,MAAM,QAAQ,MAAM;AAAA,YAC3B,QAAQ,eAAe,KAAK,OAAO,GAAG,GAAG,CAAC,CAAC,IAAI,UAAU,OAAO,GAAG,CAAC;AAAA,YACpE,WAAW,WAAW,uBAAuB;AAAA,YAC7C,qBAAqB,gBAAgB,KAAK;AAAA,UAC5C;AAAA;AAAA,MACF,GACF;AAAA;AAAA,IA1BK,GAAG,WAAW,SAAS,GAAG,IAAI,WAAW,SAAS,GAAG,IAAI,KAAK;AAAA,EA2BrE,CACD,GACH;AAEJ;AAEO,IAAM,iBAAyD,CAAC,EAAE,UAAU,KAAK,MACtF,qBAAC,sBAAmB,eAAY,uBAC9B;AAAA,uBAAC,cAAW,SAAQ,WAAU,IAAI,EAAE,YAAY,YAAY,GAAG;AAAA;AAAA,IACvD,SAAS,IAAI,QAAQ,CAAC;AAAA,IAAE;AAAA,IAAQ,SAAS,IAAI,QAAQ,CAAC;AAAA,KAC9D;AAAA,EACC,OAAO,KACN,qBAAC,cAAW,SAAQ,WAAU,IAAI,EAAE,YAAY,aAAa,SAAS,QAAQ,GAAG;AAAA;AAAA,IACxE;AAAA,KACT;AAAA,GAEJ;","names":[]}
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
import {
|
|
2
|
+
neutralTones
|
|
3
|
+
} from "./chunk-FQ6UW7IY.js";
|
|
4
|
+
import {
|
|
5
|
+
rem,
|
|
6
|
+
rems
|
|
7
|
+
} from "./chunk-YKCAJ2TN.js";
|
|
8
|
+
|
|
9
|
+
// src/components/data-display/AlertDialog/AlertDialog.tsx
|
|
10
|
+
import Close from "@mui/icons-material/Close";
|
|
11
|
+
import Error from "@mui/icons-material/Error";
|
|
12
|
+
import Info from "@mui/icons-material/Info";
|
|
13
|
+
import Button from "@mui/material/Button/index.js";
|
|
14
|
+
import CircularProgress from "@mui/material/CircularProgress/index.js";
|
|
15
|
+
import Dialog from "@mui/material/Dialog/index.js";
|
|
16
|
+
import DialogActions from "@mui/material/DialogActions/index.js";
|
|
17
|
+
import DialogContent from "@mui/material/DialogContent/index.js";
|
|
18
|
+
import DialogContentText from "@mui/material/DialogContentText/index.js";
|
|
19
|
+
import DialogTitle from "@mui/material/DialogTitle/index.js";
|
|
20
|
+
import IconButton from "@mui/material/IconButton/index.js";
|
|
21
|
+
import Typography from "@mui/material/Typography/index.js";
|
|
22
|
+
import { alpha, keyframes, styled, useTheme } from "@mui/material/styles/index.js";
|
|
23
|
+
import React from "react";
|
|
24
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
25
|
+
var pulseAnimation = (theme) => keyframes`
|
|
26
|
+
0% {
|
|
27
|
+
box-shadow: 0 0 0 0 currentColor;
|
|
28
|
+
opacity: 1;
|
|
29
|
+
}
|
|
30
|
+
70% {
|
|
31
|
+
box-shadow: 0 0 0 ${rem(theme, 15)} currentColor;
|
|
32
|
+
opacity: 0;
|
|
33
|
+
}
|
|
34
|
+
100% {
|
|
35
|
+
box-shadow: 0 0 0 0 currentColor;
|
|
36
|
+
opacity: 0;
|
|
37
|
+
}
|
|
38
|
+
`;
|
|
39
|
+
var StyledDialog = styled(Dialog, {
|
|
40
|
+
shouldForwardProp: (prop) => !["customVariant", "glow", "pulse"].includes(prop)
|
|
41
|
+
})(({ theme, customVariant, glow, pulse }) => ({
|
|
42
|
+
"& .MuiDialog-paper": {
|
|
43
|
+
borderRadius: theme.spacing(2),
|
|
44
|
+
transition: "all 0.3s ease",
|
|
45
|
+
position: "relative",
|
|
46
|
+
overflow: "hidden",
|
|
47
|
+
// Variant styles
|
|
48
|
+
...customVariant === "default" && {
|
|
49
|
+
backgroundColor: theme.palette.background.paper,
|
|
50
|
+
border: `1px solid ${alpha(theme.palette.divider, 0.2)}`
|
|
51
|
+
},
|
|
52
|
+
// The error tint is LAYERED over the paper, not used as the background
|
|
53
|
+
// itself: `alpha(error, 0.05)` alone leaves the panel 95% transparent, so
|
|
54
|
+
// the page behind it showed straight through the question and its buttons.
|
|
55
|
+
// A confirm nobody can read is the one dialog that must never be hard to
|
|
56
|
+
// read. Same tint, opaque base.
|
|
57
|
+
...customVariant === "destructive" && {
|
|
58
|
+
backgroundColor: theme.palette.background.paper,
|
|
59
|
+
backgroundImage: `linear-gradient(${alpha(theme.palette.error.main, 0.05)}, ${alpha(
|
|
60
|
+
theme.palette.error.main,
|
|
61
|
+
0.05
|
|
62
|
+
)})`,
|
|
63
|
+
border: `1px solid ${alpha(theme.palette.error.main, 0.2)}`
|
|
64
|
+
},
|
|
65
|
+
...customVariant === "glass" && {
|
|
66
|
+
backgroundColor: alpha(theme.palette.background.paper, 0.1),
|
|
67
|
+
backdropFilter: `blur(${rem(theme, 20)})`,
|
|
68
|
+
border: `1px solid ${alpha(theme.palette.divider, 0.2)}`
|
|
69
|
+
},
|
|
70
|
+
// Glow effect
|
|
71
|
+
...glow && !pulse && {
|
|
72
|
+
boxShadow: `0 0 ${rems(theme, 30, 10)} ${alpha(theme.palette.primary.main, 0.3)} !important`,
|
|
73
|
+
filter: "brightness(1.05)"
|
|
74
|
+
},
|
|
75
|
+
// Pulse animation
|
|
76
|
+
...pulse && !glow && {
|
|
77
|
+
position: "relative",
|
|
78
|
+
"&::after": {
|
|
79
|
+
content: '""',
|
|
80
|
+
position: "absolute",
|
|
81
|
+
top: 0,
|
|
82
|
+
left: 0,
|
|
83
|
+
right: 0,
|
|
84
|
+
bottom: 0,
|
|
85
|
+
borderRadius: "inherit",
|
|
86
|
+
backgroundColor: theme.palette.primary.main,
|
|
87
|
+
opacity: 0.1,
|
|
88
|
+
animation: `${pulseAnimation(theme)} 2s infinite`,
|
|
89
|
+
pointerEvents: "none",
|
|
90
|
+
zIndex: -1
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
// Both glow and pulse
|
|
94
|
+
...glow && pulse && {
|
|
95
|
+
position: "relative",
|
|
96
|
+
boxShadow: `0 0 ${rems(theme, 30, 10)} ${alpha(theme.palette.primary.main, 0.3)} !important`,
|
|
97
|
+
filter: "brightness(1.05)",
|
|
98
|
+
"&::after": {
|
|
99
|
+
content: '""',
|
|
100
|
+
position: "absolute",
|
|
101
|
+
top: 0,
|
|
102
|
+
left: 0,
|
|
103
|
+
right: 0,
|
|
104
|
+
bottom: 0,
|
|
105
|
+
borderRadius: "inherit",
|
|
106
|
+
backgroundColor: theme.palette.primary.main,
|
|
107
|
+
opacity: 0.1,
|
|
108
|
+
animation: `${pulseAnimation(theme)} 2s infinite`,
|
|
109
|
+
pointerEvents: "none",
|
|
110
|
+
zIndex: -1
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}));
|
|
115
|
+
var StyledDialogTitle = styled(DialogTitle)(({ theme }) => ({
|
|
116
|
+
display: "flex",
|
|
117
|
+
alignItems: "center",
|
|
118
|
+
gap: theme.spacing(1.5),
|
|
119
|
+
paddingRight: theme.spacing(6),
|
|
120
|
+
// Space for close button
|
|
121
|
+
"& .MuiTypography-root": {
|
|
122
|
+
fontWeight: 600,
|
|
123
|
+
fontSize: rem(theme, 20)
|
|
124
|
+
}
|
|
125
|
+
}));
|
|
126
|
+
var StyledDialogContent = styled(DialogContent)(({ theme }) => ({
|
|
127
|
+
paddingTop: theme.spacing(1),
|
|
128
|
+
paddingBottom: theme.spacing(2)
|
|
129
|
+
}));
|
|
130
|
+
var StyledDialogActions = styled(DialogActions)(({ theme }) => ({
|
|
131
|
+
padding: theme.spacing(2, 3, 3, 3),
|
|
132
|
+
gap: theme.spacing(1)
|
|
133
|
+
}));
|
|
134
|
+
var CloseButton = styled(IconButton)(({ theme }) => ({
|
|
135
|
+
position: "absolute",
|
|
136
|
+
right: theme.spacing(1),
|
|
137
|
+
top: theme.spacing(1),
|
|
138
|
+
color: neutralTones(theme).muted
|
|
139
|
+
}));
|
|
140
|
+
var variantIcon = (variant, icon) => {
|
|
141
|
+
if (icon) return icon;
|
|
142
|
+
return variant === "destructive" ? /* @__PURE__ */ jsx(Error, { color: "error" }) : /* @__PURE__ */ jsx(Info, { color: "primary" });
|
|
143
|
+
};
|
|
144
|
+
var titleId = (dataTestId) => `${dataTestId}-title`;
|
|
145
|
+
var descriptionId = (dataTestId) => `${dataTestId}-description`;
|
|
146
|
+
var ALERT_ROLE = "alertdialog";
|
|
147
|
+
function ariaSlotProps(dataTestId, title, description) {
|
|
148
|
+
return {
|
|
149
|
+
paper: {
|
|
150
|
+
role: ALERT_ROLE,
|
|
151
|
+
...title ? { "aria-labelledby": titleId(dataTestId) } : {},
|
|
152
|
+
...description ? { "aria-describedby": descriptionId(dataTestId) } : {}
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
var CONFIRM_BUTTON_VARIANT = "contained";
|
|
157
|
+
var confirmButtonColor = (variant) => variant === "destructive" ? "error" : "primary";
|
|
158
|
+
function AlertDialogHeader({
|
|
159
|
+
title,
|
|
160
|
+
icon,
|
|
161
|
+
variant,
|
|
162
|
+
dataTestId
|
|
163
|
+
}) {
|
|
164
|
+
if (!title) return null;
|
|
165
|
+
return /* @__PURE__ */ jsxs(StyledDialogTitle, { id: titleId(dataTestId), "data-testid": `${dataTestId}-title`, children: [
|
|
166
|
+
icon !== null && /* @__PURE__ */ jsx("span", { "data-testid": `${dataTestId}-icon`, children: variantIcon(variant, icon) }),
|
|
167
|
+
/* @__PURE__ */ jsx(Typography, { variant: "h6", component: "span", children: title })
|
|
168
|
+
] });
|
|
169
|
+
}
|
|
170
|
+
function AlertDialogFooter({
|
|
171
|
+
variant,
|
|
172
|
+
cancelText = "Cancel",
|
|
173
|
+
confirmText = "Confirm",
|
|
174
|
+
showCancel = true,
|
|
175
|
+
loading = false,
|
|
176
|
+
confirmDisabled = false,
|
|
177
|
+
initialFocus = "confirm",
|
|
178
|
+
onCancel,
|
|
179
|
+
onConfirm,
|
|
180
|
+
dataTestId
|
|
181
|
+
}) {
|
|
182
|
+
const theme = useTheme();
|
|
183
|
+
return /* @__PURE__ */ jsxs(StyledDialogActions, { "data-testid": `${dataTestId}-actions`, children: [
|
|
184
|
+
showCancel && /* @__PURE__ */ jsx(
|
|
185
|
+
Button,
|
|
186
|
+
{
|
|
187
|
+
onClick: onCancel,
|
|
188
|
+
variant: "outlined",
|
|
189
|
+
color: "inherit",
|
|
190
|
+
disabled: loading,
|
|
191
|
+
autoFocus: initialFocus === "cancel",
|
|
192
|
+
"data-testid": `${dataTestId}-cancel-button`,
|
|
193
|
+
children: cancelText
|
|
194
|
+
}
|
|
195
|
+
),
|
|
196
|
+
/* @__PURE__ */ jsx(
|
|
197
|
+
Button,
|
|
198
|
+
{
|
|
199
|
+
onClick: onConfirm,
|
|
200
|
+
variant: CONFIRM_BUTTON_VARIANT,
|
|
201
|
+
color: confirmButtonColor(variant),
|
|
202
|
+
disabled: confirmDisabled || loading,
|
|
203
|
+
startIcon: loading ? /* @__PURE__ */ jsx(
|
|
204
|
+
CircularProgress,
|
|
205
|
+
{
|
|
206
|
+
size: rem(theme, 16),
|
|
207
|
+
color: "inherit",
|
|
208
|
+
"data-testid": `${dataTestId}-loading-spinner`
|
|
209
|
+
}
|
|
210
|
+
) : void 0,
|
|
211
|
+
autoFocus: initialFocus !== "cancel",
|
|
212
|
+
"data-testid": `${dataTestId}-confirm-button`,
|
|
213
|
+
children: confirmText
|
|
214
|
+
}
|
|
215
|
+
)
|
|
216
|
+
] });
|
|
217
|
+
}
|
|
218
|
+
var AlertDialog = React.forwardRef(
|
|
219
|
+
({
|
|
220
|
+
variant = "default",
|
|
221
|
+
glow = false,
|
|
222
|
+
pulse = false,
|
|
223
|
+
title,
|
|
224
|
+
description,
|
|
225
|
+
icon,
|
|
226
|
+
cancelText,
|
|
227
|
+
confirmText,
|
|
228
|
+
onCancel,
|
|
229
|
+
onConfirm,
|
|
230
|
+
showCancel,
|
|
231
|
+
loading,
|
|
232
|
+
confirmDisabled,
|
|
233
|
+
initialFocus,
|
|
234
|
+
children,
|
|
235
|
+
onClose,
|
|
236
|
+
"data-testid": dataTestId = "alert-dialog",
|
|
237
|
+
...props
|
|
238
|
+
}, ref) => {
|
|
239
|
+
const handleCancel = () => {
|
|
240
|
+
onCancel?.();
|
|
241
|
+
onClose?.({}, "backdropClick");
|
|
242
|
+
};
|
|
243
|
+
return /* @__PURE__ */ jsxs(
|
|
244
|
+
StyledDialog,
|
|
245
|
+
{
|
|
246
|
+
ref,
|
|
247
|
+
customVariant: variant,
|
|
248
|
+
glow,
|
|
249
|
+
pulse,
|
|
250
|
+
onClose,
|
|
251
|
+
"data-testid": dataTestId,
|
|
252
|
+
slotProps: ariaSlotProps(dataTestId, title, description),
|
|
253
|
+
...props,
|
|
254
|
+
children: [
|
|
255
|
+
/* @__PURE__ */ jsx(
|
|
256
|
+
CloseButton,
|
|
257
|
+
{
|
|
258
|
+
"aria-label": "close",
|
|
259
|
+
onClick: handleCancel,
|
|
260
|
+
size: "small",
|
|
261
|
+
"data-testid": `${dataTestId}-close-button`,
|
|
262
|
+
children: /* @__PURE__ */ jsx(Close, {})
|
|
263
|
+
}
|
|
264
|
+
),
|
|
265
|
+
/* @__PURE__ */ jsx(
|
|
266
|
+
AlertDialogHeader,
|
|
267
|
+
{
|
|
268
|
+
title,
|
|
269
|
+
icon,
|
|
270
|
+
variant,
|
|
271
|
+
dataTestId
|
|
272
|
+
}
|
|
273
|
+
),
|
|
274
|
+
/* @__PURE__ */ jsxs(StyledDialogContent, { "data-testid": `${dataTestId}-content`, children: [
|
|
275
|
+
description && /* @__PURE__ */ jsx(
|
|
276
|
+
DialogContentText,
|
|
277
|
+
{
|
|
278
|
+
id: descriptionId(dataTestId),
|
|
279
|
+
"data-testid": `${dataTestId}-description`,
|
|
280
|
+
children: description
|
|
281
|
+
}
|
|
282
|
+
),
|
|
283
|
+
children
|
|
284
|
+
] }),
|
|
285
|
+
/* @__PURE__ */ jsx(
|
|
286
|
+
AlertDialogFooter,
|
|
287
|
+
{
|
|
288
|
+
variant,
|
|
289
|
+
cancelText,
|
|
290
|
+
confirmText,
|
|
291
|
+
showCancel,
|
|
292
|
+
loading,
|
|
293
|
+
confirmDisabled,
|
|
294
|
+
initialFocus,
|
|
295
|
+
onCancel: handleCancel,
|
|
296
|
+
onConfirm: () => onConfirm?.(),
|
|
297
|
+
dataTestId
|
|
298
|
+
}
|
|
299
|
+
)
|
|
300
|
+
]
|
|
301
|
+
}
|
|
302
|
+
);
|
|
303
|
+
}
|
|
304
|
+
);
|
|
305
|
+
AlertDialog.displayName = "AlertDialog";
|
|
306
|
+
|
|
307
|
+
export {
|
|
308
|
+
AlertDialog
|
|
309
|
+
};
|
|
310
|
+
//# sourceMappingURL=chunk-OG6LYQ7C.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/data-display/AlertDialog/AlertDialog.tsx"],"sourcesContent":["import Close from '@mui/icons-material/Close';\nimport Error from '@mui/icons-material/Error';\nimport Info from '@mui/icons-material/Info';\nimport type { ButtonProps } from '@mui/material/Button/index.js';\nimport Button from '@mui/material/Button/index.js';\nimport CircularProgress from '@mui/material/CircularProgress/index.js';\nimport Dialog from '@mui/material/Dialog/index.js';\nimport DialogActions from '@mui/material/DialogActions/index.js';\nimport DialogContent from '@mui/material/DialogContent/index.js';\nimport DialogContentText from '@mui/material/DialogContentText/index.js';\nimport DialogTitle from '@mui/material/DialogTitle/index.js';\nimport IconButton from '@mui/material/IconButton/index.js';\nimport Typography from '@mui/material/Typography/index.js';\nimport { alpha, keyframes, styled, useTheme } from '@mui/material/styles/index.js';\nimport type { Theme } from '@mui/material/styles/index.js';\nimport React from 'react';\n\nimport { neutralTones } from '../../../tokens/ink';\n\nimport type { AlertDialogProps } from './AlertDialog.types';\nimport { rem, rems } from '../../../tokens/relative';\n\n// Define pulse animation\nconst pulseAnimation = (theme: Theme) => keyframes`\n 0% {\n box-shadow: 0 0 0 0 currentColor;\n opacity: 1;\n }\n 70% {\n box-shadow: 0 0 0 ${rem(theme, 15)} currentColor;\n opacity: 0;\n }\n 100% {\n box-shadow: 0 0 0 0 currentColor;\n opacity: 0;\n }\n`;\n\nconst StyledDialog = styled(Dialog, {\n shouldForwardProp: (prop) => \n !['customVariant', 'glow', 'pulse'].includes(prop as string),\n})<{ \n customVariant?: string; \n glow?: boolean; \n pulse?: boolean; \n}>(({ theme, customVariant, glow, pulse }) => ({\n '& .MuiDialog-paper': {\n borderRadius: theme.spacing(2),\n transition: 'all 0.3s ease',\n position: 'relative',\n overflow: 'hidden',\n\n // Variant styles\n ...(customVariant === 'default' && {\n backgroundColor: theme.palette.background.paper,\n border: `1px solid ${alpha(theme.palette.divider, 0.2)}`,\n }),\n\n // The error tint is LAYERED over the paper, not used as the background\n // itself: `alpha(error, 0.05)` alone leaves the panel 95% transparent, so\n // the page behind it showed straight through the question and its buttons.\n // A confirm nobody can read is the one dialog that must never be hard to\n // read. Same tint, opaque base.\n ...(customVariant === 'destructive' && {\n backgroundColor: theme.palette.background.paper,\n backgroundImage: `linear-gradient(${alpha(theme.palette.error.main, 0.05)}, ${alpha(\n theme.palette.error.main,\n 0.05,\n )})`,\n border: `1px solid ${alpha(theme.palette.error.main, 0.2)}`,\n }),\n\n ...(customVariant === 'glass' && {\n backgroundColor: alpha(theme.palette.background.paper, 0.1),\n backdropFilter: `blur(${rem(theme, 20)})`,\n border: `1px solid ${alpha(theme.palette.divider, 0.2)}`,\n }),\n\n // Glow effect\n ...(glow && !pulse && {\n boxShadow: `0 0 ${rems(theme, 30, 10)} ${alpha(theme.palette.primary.main, 0.3)} !important`,\n filter: 'brightness(1.05)',\n }),\n\n // Pulse animation\n ...(pulse && !glow && {\n position: 'relative',\n '&::after': {\n content: '\"\"',\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n borderRadius: 'inherit',\n backgroundColor: theme.palette.primary.main,\n opacity: 0.1,\n animation: `${pulseAnimation(theme)} 2s infinite`,\n pointerEvents: 'none',\n zIndex: -1,\n },\n }),\n\n // Both glow and pulse\n ...(glow && pulse && {\n position: 'relative',\n boxShadow: `0 0 ${rems(theme, 30, 10)} ${alpha(theme.palette.primary.main, 0.3)} !important`,\n filter: 'brightness(1.05)',\n '&::after': {\n content: '\"\"',\n position: 'absolute',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n borderRadius: 'inherit',\n backgroundColor: theme.palette.primary.main,\n opacity: 0.1,\n animation: `${pulseAnimation(theme)} 2s infinite`,\n pointerEvents: 'none',\n zIndex: -1,\n },\n }),\n },\n}));\n\nconst StyledDialogTitle = styled(DialogTitle)(({ theme }) => ({\n display: 'flex',\n alignItems: 'center',\n gap: theme.spacing(1.5),\n paddingRight: theme.spacing(6), // Space for close button\n '& .MuiTypography-root': {\n fontWeight: 600,\n fontSize: rem(theme, 20),\n },\n}));\n\nconst StyledDialogContent = styled(DialogContent)(({ theme }) => ({\n paddingTop: theme.spacing(1),\n paddingBottom: theme.spacing(2),\n}));\n\nconst StyledDialogActions = styled(DialogActions)(({ theme }) => ({\n padding: theme.spacing(2, 3, 3, 3),\n gap: theme.spacing(1),\n}));\n\nconst CloseButton = styled(IconButton)(({ theme }) => ({\n position: 'absolute',\n right: theme.spacing(1),\n top: theme.spacing(1),\n color: neutralTones(theme).muted,\n}));\n\n/**\n * Per-variant lookups, hoisted out of the render function. They depend on\n * nothing but their arguments, so keeping them at module scope means they are\n * not rebuilt on every render — and it keeps the component's own branch count\n * inside the repo's complexity budget.\n */\nconst variantIcon = (\n variant: AlertDialogProps['variant'],\n icon: AlertDialogProps['icon'],\n): React.ReactNode => {\n if (icon) return icon;\n return variant === 'destructive' ? <Error color=\"error\" /> : <Info color=\"primary\" />;\n};\n\n/**\n * Ids for the two elements that give the dialog its accessible name and\n * description. Derived from the test id so they are stable and unique per\n * dialog without a generated id that would change on every render.\n */\nconst titleId = (dataTestId: string): string => `${dataTestId}-title`;\nconst descriptionId = (dataTestId: string): string => `${dataTestId}-description`;\n\n/**\n * `alertdialog`, not `dialog`.\n *\n * This component interrupts what the operator was doing and will not go away\n * until they answer — which is exactly the distinction the two roles draw, and\n * it is what makes a screen reader announce the message itself on open rather\n * than just the dialog's name. MUI hardcodes `role=\"dialog\"` on the paper, so\n * it has to be overridden through the paper slot.\n */\nconst ALERT_ROLE = 'alertdialog';\n\n/**\n * The paper slot's a11y props: the role, plus the name and description wired to\n * the elements that actually carry them, so the announcement is the QUESTION\n * rather than the word \"dialog\".\n *\n * Both references are conditional — pointing `aria-labelledby` at an element\n * that was never rendered leaves a dangling id, which screen readers treat as\n * no name at all, i.e. worse than omitting it.\n */\nfunction ariaSlotProps(\n dataTestId: string,\n title: AlertDialogProps['title'],\n description: AlertDialogProps['description'],\n): { paper: Record<string, string> } {\n return {\n paper: {\n role: ALERT_ROLE,\n ...(title ? { 'aria-labelledby': titleId(dataTestId) } : {}),\n ...(description ? { 'aria-describedby': descriptionId(dataTestId) } : {}),\n },\n };\n}\n\n/** Both variants render a filled confirm; only the colour distinguishes them. */\nconst CONFIRM_BUTTON_VARIANT: ButtonProps['variant'] = 'contained';\nconst confirmButtonColor = (variant: AlertDialogProps['variant']): 'error' | 'primary' =>\n variant === 'destructive' ? 'error' : 'primary';\n\n/** Title row: the variant icon (unless explicitly suppressed with `null`) + the title. */\nfunction AlertDialogHeader({\n title,\n icon,\n variant,\n dataTestId,\n}: {\n title: AlertDialogProps['title'];\n icon: AlertDialogProps['icon'];\n variant: AlertDialogProps['variant'];\n dataTestId: string;\n}): React.ReactElement | null {\n if (!title) return null;\n return (\n <StyledDialogTitle id={titleId(dataTestId)} data-testid={`${dataTestId}-title`}>\n {icon !== null && (\n <span data-testid={`${dataTestId}-icon`}>{variantIcon(variant, icon)}</span>\n )}\n <Typography variant=\"h6\" component=\"span\">\n {title}\n </Typography>\n </StyledDialogTitle>\n );\n}\n\n/** Action row: the optional cancel button and the (variant-coloured) confirm. */\nfunction AlertDialogFooter({\n variant,\n cancelText = 'Cancel',\n confirmText = 'Confirm',\n showCancel = true,\n loading = false,\n confirmDisabled = false,\n initialFocus = 'confirm',\n onCancel,\n onConfirm,\n dataTestId,\n}: Pick<\n AlertDialogProps,\n | 'variant'\n | 'cancelText'\n | 'confirmText'\n | 'showCancel'\n | 'loading'\n | 'confirmDisabled'\n | 'initialFocus'\n> & {\n onCancel: () => void;\n onConfirm: () => void;\n dataTestId: string;\n}): React.ReactElement {\n const theme = useTheme();\n return (\n <StyledDialogActions data-testid={`${dataTestId}-actions`}>\n {showCancel && (\n <Button\n onClick={onCancel}\n variant=\"outlined\"\n color=\"inherit\"\n disabled={loading}\n autoFocus={initialFocus === 'cancel'}\n data-testid={`${dataTestId}-cancel-button`}\n >\n {cancelText}\n </Button>\n )}\n <Button\n onClick={onConfirm}\n variant={CONFIRM_BUTTON_VARIANT}\n color={confirmButtonColor(variant)}\n disabled={confirmDisabled || loading}\n startIcon={\n loading ? (\n <CircularProgress\n size={rem(theme, 16)}\n color=\"inherit\"\n data-testid={`${dataTestId}-loading-spinner`}\n />\n ) : undefined\n }\n autoFocus={initialFocus !== 'cancel'}\n data-testid={`${dataTestId}-confirm-button`}\n >\n {confirmText}\n </Button>\n </StyledDialogActions>\n );\n}\n\nexport const AlertDialog = React.forwardRef<HTMLDivElement, AlertDialogProps>(\n ({\n variant = 'default',\n glow = false,\n pulse = false,\n title,\n description,\n icon,\n cancelText,\n confirmText,\n onCancel,\n onConfirm,\n showCancel,\n loading,\n confirmDisabled,\n initialFocus,\n children,\n onClose,\n 'data-testid': dataTestId = 'alert-dialog',\n ...props\n }, ref) => {\n const handleCancel = () => {\n onCancel?.();\n onClose?.({}, 'backdropClick');\n };\n\n return (\n <StyledDialog\n ref={ref}\n customVariant={variant}\n glow={glow}\n pulse={pulse}\n onClose={onClose}\n data-testid={dataTestId}\n slotProps={ariaSlotProps(dataTestId, title, description)}\n {...props}\n >\n <CloseButton\n aria-label=\"close\"\n onClick={handleCancel}\n size=\"small\"\n data-testid={`${dataTestId}-close-button`}\n >\n <Close />\n </CloseButton>\n\n <AlertDialogHeader\n title={title}\n icon={icon}\n variant={variant}\n dataTestId={dataTestId}\n />\n\n <StyledDialogContent data-testid={`${dataTestId}-content`}>\n {description && (\n <DialogContentText\n id={descriptionId(dataTestId)}\n data-testid={`${dataTestId}-description`}\n >\n {description}\n </DialogContentText>\n )}\n {children}\n </StyledDialogContent>\n\n <AlertDialogFooter\n variant={variant}\n cancelText={cancelText}\n confirmText={confirmText}\n showCancel={showCancel}\n loading={loading}\n confirmDisabled={confirmDisabled}\n initialFocus={initialFocus}\n onCancel={handleCancel}\n onConfirm={() => onConfirm?.()}\n dataTestId={dataTestId}\n />\n </StyledDialog>\n );\n }\n);\n\nAlertDialog.displayName = 'AlertDialog';"],"mappings":";;;;;;;;;AAAA,OAAO,WAAW;AAClB,OAAO,WAAW;AAClB,OAAO,UAAU;AAEjB,OAAO,YAAY;AACnB,OAAO,sBAAsB;AAC7B,OAAO,YAAY;AACnB,OAAO,mBAAmB;AAC1B,OAAO,mBAAmB;AAC1B,OAAO,uBAAuB;AAC9B,OAAO,iBAAiB;AACxB,OAAO,gBAAgB;AACvB,OAAO,gBAAgB;AACvB,SAAS,OAAO,WAAW,QAAQ,gBAAgB;AAEnD,OAAO,WAAW;AAsJmB,cAgEjC,YAhEiC;AA9IrC,IAAM,iBAAiB,CAAC,UAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAMjB,IAAI,OAAO,EAAE,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAStC,IAAM,eAAe,OAAO,QAAQ;AAAA,EAClC,mBAAmB,CAAC,SAClB,CAAC,CAAC,iBAAiB,QAAQ,OAAO,EAAE,SAAS,IAAc;AAC/D,CAAC,EAIE,CAAC,EAAE,OAAO,eAAe,MAAM,MAAM,OAAO;AAAA,EAC7C,sBAAsB;AAAA,IACpB,cAAc,MAAM,QAAQ,CAAC;AAAA,IAC7B,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,UAAU;AAAA;AAAA,IAGV,GAAI,kBAAkB,aAAa;AAAA,MACjC,iBAAiB,MAAM,QAAQ,WAAW;AAAA,MAC1C,QAAQ,aAAa,MAAM,MAAM,QAAQ,SAAS,GAAG,CAAC;AAAA,IACxD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOA,GAAI,kBAAkB,iBAAiB;AAAA,MACrC,iBAAiB,MAAM,QAAQ,WAAW;AAAA,MAC1C,iBAAiB,mBAAmB,MAAM,MAAM,QAAQ,MAAM,MAAM,IAAI,CAAC,KAAK;AAAA,QAC5E,MAAM,QAAQ,MAAM;AAAA,QACpB;AAAA,MACF,CAAC;AAAA,MACD,QAAQ,aAAa,MAAM,MAAM,QAAQ,MAAM,MAAM,GAAG,CAAC;AAAA,IAC3D;AAAA,IAEA,GAAI,kBAAkB,WAAW;AAAA,MAC/B,iBAAiB,MAAM,MAAM,QAAQ,WAAW,OAAO,GAAG;AAAA,MAC1D,gBAAgB,QAAQ,IAAI,OAAO,EAAE,CAAC;AAAA,MACtC,QAAQ,aAAa,MAAM,MAAM,QAAQ,SAAS,GAAG,CAAC;AAAA,IACxD;AAAA;AAAA,IAGA,GAAI,QAAQ,CAAC,SAAS;AAAA,MACpB,WAAW,OAAO,KAAK,OAAO,IAAI,EAAE,CAAC,IAAI,MAAM,MAAM,QAAQ,QAAQ,MAAM,GAAG,CAAC;AAAA,MAC/E,QAAQ;AAAA,IACV;AAAA;AAAA,IAGA,GAAI,SAAS,CAAC,QAAQ;AAAA,MACpB,UAAU;AAAA,MACV,YAAY;AAAA,QACV,SAAS;AAAA,QACT,UAAU;AAAA,QACV,KAAK;AAAA,QACL,MAAM;AAAA,QACN,OAAO;AAAA,QACP,QAAQ;AAAA,QACR,cAAc;AAAA,QACd,iBAAiB,MAAM,QAAQ,QAAQ;AAAA,QACvC,SAAS;AAAA,QACT,WAAW,GAAG,eAAe,KAAK,CAAC;AAAA,QACnC,eAAe;AAAA,QACf,QAAQ;AAAA,MACV;AAAA,IACF;AAAA;AAAA,IAGA,GAAI,QAAQ,SAAS;AAAA,MACnB,UAAU;AAAA,MACV,WAAW,OAAO,KAAK,OAAO,IAAI,EAAE,CAAC,IAAI,MAAM,MAAM,QAAQ,QAAQ,MAAM,GAAG,CAAC;AAAA,MAC/E,QAAQ;AAAA,MACR,YAAY;AAAA,QACV,SAAS;AAAA,QACT,UAAU;AAAA,QACV,KAAK;AAAA,QACL,MAAM;AAAA,QACN,OAAO;AAAA,QACP,QAAQ;AAAA,QACR,cAAc;AAAA,QACd,iBAAiB,MAAM,QAAQ,QAAQ;AAAA,QACvC,SAAS;AAAA,QACT,WAAW,GAAG,eAAe,KAAK,CAAC;AAAA,QACnC,eAAe;AAAA,QACf,QAAQ;AAAA,MACV;AAAA,IACF;AAAA,EACF;AACF,EAAE;AAEF,IAAM,oBAAoB,OAAO,WAAW,EAAE,CAAC,EAAE,MAAM,OAAO;AAAA,EAC5D,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,KAAK,MAAM,QAAQ,GAAG;AAAA,EACtB,cAAc,MAAM,QAAQ,CAAC;AAAA;AAAA,EAC7B,yBAAyB;AAAA,IACvB,YAAY;AAAA,IACZ,UAAU,IAAI,OAAO,EAAE;AAAA,EACzB;AACF,EAAE;AAEF,IAAM,sBAAsB,OAAO,aAAa,EAAE,CAAC,EAAE,MAAM,OAAO;AAAA,EAChE,YAAY,MAAM,QAAQ,CAAC;AAAA,EAC3B,eAAe,MAAM,QAAQ,CAAC;AAChC,EAAE;AAEF,IAAM,sBAAsB,OAAO,aAAa,EAAE,CAAC,EAAE,MAAM,OAAO;AAAA,EAChE,SAAS,MAAM,QAAQ,GAAG,GAAG,GAAG,CAAC;AAAA,EACjC,KAAK,MAAM,QAAQ,CAAC;AACtB,EAAE;AAEF,IAAM,cAAc,OAAO,UAAU,EAAE,CAAC,EAAE,MAAM,OAAO;AAAA,EACrD,UAAU;AAAA,EACV,OAAO,MAAM,QAAQ,CAAC;AAAA,EACtB,KAAK,MAAM,QAAQ,CAAC;AAAA,EACpB,OAAO,aAAa,KAAK,EAAE;AAC7B,EAAE;AAQF,IAAM,cAAc,CAClB,SACA,SACoB;AACpB,MAAI,KAAM,QAAO;AACjB,SAAO,YAAY,gBAAgB,oBAAC,SAAM,OAAM,SAAQ,IAAK,oBAAC,QAAK,OAAM,WAAU;AACrF;AAOA,IAAM,UAAU,CAAC,eAA+B,GAAG,UAAU;AAC7D,IAAM,gBAAgB,CAAC,eAA+B,GAAG,UAAU;AAWnE,IAAM,aAAa;AAWnB,SAAS,cACP,YACA,OACA,aACmC;AACnC,SAAO;AAAA,IACL,OAAO;AAAA,MACL,MAAM;AAAA,MACN,GAAI,QAAQ,EAAE,mBAAmB,QAAQ,UAAU,EAAE,IAAI,CAAC;AAAA,MAC1D,GAAI,cAAc,EAAE,oBAAoB,cAAc,UAAU,EAAE,IAAI,CAAC;AAAA,IACzE;AAAA,EACF;AACF;AAGA,IAAM,yBAAiD;AACvD,IAAM,qBAAqB,CAAC,YAC1B,YAAY,gBAAgB,UAAU;AAGxC,SAAS,kBAAkB;AAAA,EACzB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAK8B;AAC5B,MAAI,CAAC,MAAO,QAAO;AACnB,SACE,qBAAC,qBAAkB,IAAI,QAAQ,UAAU,GAAG,eAAa,GAAG,UAAU,UACnE;AAAA,aAAS,QACR,oBAAC,UAAK,eAAa,GAAG,UAAU,SAAU,sBAAY,SAAS,IAAI,GAAE;AAAA,IAEvE,oBAAC,cAAW,SAAQ,MAAK,WAAU,QAChC,iBACH;AAAA,KACF;AAEJ;AAGA,SAAS,kBAAkB;AAAA,EACzB;AAAA,EACA,aAAa;AAAA,EACb,cAAc;AAAA,EACd,aAAa;AAAA,EACb,UAAU;AAAA,EACV,kBAAkB;AAAA,EAClB,eAAe;AAAA,EACf;AAAA,EACA;AAAA,EACA;AACF,GAauB;AACrB,QAAM,QAAQ,SAAS;AACvB,SACE,qBAAC,uBAAoB,eAAa,GAAG,UAAU,YAC5C;AAAA,kBACC;AAAA,MAAC;AAAA;AAAA,QACC,SAAS;AAAA,QACT,SAAQ;AAAA,QACR,OAAM;AAAA,QACN,UAAU;AAAA,QACV,WAAW,iBAAiB;AAAA,QAC5B,eAAa,GAAG,UAAU;AAAA,QAEzB;AAAA;AAAA,IACH;AAAA,IAEF;AAAA,MAAC;AAAA;AAAA,QACC,SAAS;AAAA,QACT,SAAS;AAAA,QACT,OAAO,mBAAmB,OAAO;AAAA,QACjC,UAAU,mBAAmB;AAAA,QAC7B,WACE,UACE;AAAA,UAAC;AAAA;AAAA,YACC,MAAM,IAAI,OAAO,EAAE;AAAA,YACnB,OAAM;AAAA,YACN,eAAa,GAAG,UAAU;AAAA;AAAA,QAC5B,IACE;AAAA,QAEN,WAAW,iBAAiB;AAAA,QAC5B,eAAa,GAAG,UAAU;AAAA,QAEzB;AAAA;AAAA,IACH;AAAA,KACF;AAEJ;AAEO,IAAM,cAAc,MAAM;AAAA,EAC/B,CAAC;AAAA,IACC,UAAU;AAAA,IACV,OAAO;AAAA,IACP,QAAQ;AAAA,IACR;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,eAAe,aAAa;AAAA,IAC5B,GAAG;AAAA,EACL,GAAG,QAAQ;AACT,UAAM,eAAe,MAAM;AACzB,iBAAW;AACX,gBAAU,CAAC,GAAG,eAAe;AAAA,IAC/B;AAEA,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,eAAe;AAAA,QACf;AAAA,QACA;AAAA,QACA;AAAA,QACA,eAAa;AAAA,QACb,WAAW,cAAc,YAAY,OAAO,WAAW;AAAA,QACtD,GAAG;AAAA,QAEJ;AAAA;AAAA,YAAC;AAAA;AAAA,cACC,cAAW;AAAA,cACX,SAAS;AAAA,cACT,MAAK;AAAA,cACL,eAAa,GAAG,UAAU;AAAA,cAE1B,8BAAC,SAAM;AAAA;AAAA,UACT;AAAA,UAEA;AAAA,YAAC;AAAA;AAAA,cACC;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA;AAAA,UACF;AAAA,UAEA,qBAAC,uBAAoB,eAAa,GAAG,UAAU,YAC5C;AAAA,2BACC;AAAA,cAAC;AAAA;AAAA,gBACC,IAAI,cAAc,UAAU;AAAA,gBAC5B,eAAa,GAAG,UAAU;AAAA,gBAEzB;AAAA;AAAA,YACH;AAAA,YAED;AAAA,aACH;AAAA,UAEA;AAAA,YAAC;AAAA;AAAA,cACC;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA;AAAA,cACA,UAAU;AAAA,cACV,WAAW,MAAM,YAAY;AAAA,cAC7B;AAAA;AAAA,UACF;AAAA;AAAA;AAAA,IACF;AAAA,EAEJ;AACF;AAEA,YAAY,cAAc;","names":[]}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import {
|
|
2
|
+
accentFor
|
|
3
|
+
} from "./chunk-TCAQOUIB.js";
|
|
4
|
+
import {
|
|
5
|
+
rem,
|
|
6
|
+
sxRem
|
|
7
|
+
} from "./chunk-YKCAJ2TN.js";
|
|
8
|
+
|
|
9
|
+
// src/components/data-display/Carousel/Carousel.styles.ts
|
|
10
|
+
import { alpha } from "@mui/material/styles/index.js";
|
|
11
|
+
var SIZES = {
|
|
12
|
+
xs: { height: sxRem(200), fontSize: sxRem(12) },
|
|
13
|
+
sm: { height: sxRem(300), fontSize: sxRem(14) },
|
|
14
|
+
md: { height: sxRem(400), fontSize: sxRem(16) },
|
|
15
|
+
lg: { height: sxRem(500), fontSize: sxRem(18) },
|
|
16
|
+
xl: { height: sxRem(600), fontSize: sxRem(20) }
|
|
17
|
+
};
|
|
18
|
+
var sizeStyles = (size) => SIZES[size] ?? SIZES.md;
|
|
19
|
+
var frameBox = (theme, size, height, width) => ({
|
|
20
|
+
width: typeof width === "number" ? rem(theme, width) : width,
|
|
21
|
+
height: typeof height === "number" || height === void 0 ? rem(theme, height ?? 400) : sizeStyles(size).height(theme)
|
|
22
|
+
});
|
|
23
|
+
var SURFACES = {
|
|
24
|
+
glass: ({ theme, color, glass }) => ({
|
|
25
|
+
backgroundColor: alpha(theme.palette.background.paper, glass ? 0.1 : 0.9),
|
|
26
|
+
backdropFilter: `blur(${rem(theme, 20)})`,
|
|
27
|
+
border: `1px solid ${alpha(accentFor(theme, color).main, 0.2)}`
|
|
28
|
+
}),
|
|
29
|
+
gradient: ({ theme, color, gradient }) => ({
|
|
30
|
+
background: gradient ? `linear-gradient(135deg, ${alpha(accentFor(theme, color).light, 0.1)}, ${alpha(accentFor(theme, color).dark, 0.1)})` : "transparent"
|
|
31
|
+
}),
|
|
32
|
+
elevated: ({ theme }) => ({ boxShadow: theme.shadows[8] }),
|
|
33
|
+
minimal: () => ({ border: "none", boxShadow: "none" }),
|
|
34
|
+
cards: ({ theme }) => ({ padding: theme.spacing(2) }),
|
|
35
|
+
default: () => ({})
|
|
36
|
+
};
|
|
37
|
+
var containerStyles = (input) => {
|
|
38
|
+
const { theme, variant, color, height, width, glow, pulse } = input;
|
|
39
|
+
const accent = accentFor(theme, color).main;
|
|
40
|
+
return {
|
|
41
|
+
position: "relative",
|
|
42
|
+
width,
|
|
43
|
+
height,
|
|
44
|
+
overflow: "hidden",
|
|
45
|
+
borderRadius: theme.spacing(1),
|
|
46
|
+
transition: theme.transitions.create(["all"], {
|
|
47
|
+
duration: theme.transitions.duration.standard
|
|
48
|
+
}),
|
|
49
|
+
...glow && { boxShadow: `0 0 ${rem(theme, 30)} ${alpha(accent, 0.4)}` },
|
|
50
|
+
...pulse && {
|
|
51
|
+
animation: "pulse 2s infinite",
|
|
52
|
+
"@keyframes pulse": {
|
|
53
|
+
"0%": { boxShadow: `0 0 0 0 ${alpha(accent, 0.4)}` },
|
|
54
|
+
"70%": { boxShadow: `0 0 0 ${rem(theme, 20)} ${alpha(accent, 0)}` },
|
|
55
|
+
"100%": { boxShadow: `0 0 0 0 ${alpha(accent, 0)}` }
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
...(SURFACES[variant] ?? SURFACES.default)(input)
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export {
|
|
63
|
+
frameBox,
|
|
64
|
+
containerStyles
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=chunk-OHZU4IT3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/data-display/Carousel/Carousel.styles.ts"],"sourcesContent":["import { alpha } from '@mui/material/styles/index.js';\nimport type { CSSObject, Theme } from '@mui/material/styles/index.js';\n\nimport type { CarouselProps } from './Carousel.types';\nimport { accentFor, rem, sxRem } from '../../../tokens/scales';\n\ntype Variant = NonNullable<CarouselProps['variant']>;\ntype Size = NonNullable<CarouselProps['size']>;\ntype Color = NonNullable<CarouselProps['color']>;\n\nconst SIZES: Record<Size, { height: (theme: Theme) => string; fontSize: (theme: Theme) => string }> = {\n xs: { height: sxRem(200), fontSize: sxRem(12) },\n sm: { height: sxRem(300), fontSize: sxRem(14) },\n md: { height: sxRem(400), fontSize: sxRem(16) },\n lg: { height: sxRem(500), fontSize: sxRem(18) },\n xl: { height: sxRem(600), fontSize: sxRem(20) },\n};\n\nconst sizeStyles = (size: Size) => SIZES[size] ?? SIZES.md;\n\n/**\n * The frame's box as CSS. A numeric `height`/`width` is design px, drawn\n * through the type scale; an unset height is the documented 400. A numeric\n * height is taken literally; any other falls back to the size preset, since a\n * percentage cannot resolve against an unsized parent here. A string width\n * passes through.\n */\nexport const frameBox = (\n theme: Theme,\n size: Size,\n height: number | string | undefined,\n width: number | string,\n): { width: string; height: string } => ({\n width: typeof width === 'number' ? rem(theme, width) : width,\n height: typeof height === 'number' || height === undefined\n ? rem(theme, height ?? 400)\n : sizeStyles(size).height(theme),\n});\n\ninterface ContainerStyleInput {\n theme: Theme;\n variant: Variant;\n size: Size;\n color: Color;\n /** The frame's box, resolved by {@link frameBox}. */\n height: string;\n width: string;\n glow: boolean;\n pulse: boolean;\n glass: boolean;\n gradient: boolean;\n}\n\n/**\n * Each variant's own additions to the shared frame. The old switch re-spread the\n * same base, glow and pulse objects in all six arms before adding these; only\n * these differ, so the shared prefix is applied once by `containerStyles`.\n */\nconst SURFACES: Record<Variant, (input: ContainerStyleInput) => CSSObject> = {\n glass: ({ theme, color, glass }) => ({\n backgroundColor: alpha(theme.palette.background.paper, glass ? 0.1 : 0.9),\n backdropFilter: `blur(${rem(theme, 20)})`,\n border: `1px solid ${alpha(accentFor(theme, color).main, 0.2)}`,\n }),\n\n gradient: ({ theme, color, gradient }) => ({\n background: gradient\n ? `linear-gradient(135deg, ${alpha(accentFor(theme, color).light, 0.1)}, ${alpha(accentFor(theme, color).dark, 0.1)})`\n : 'transparent',\n }),\n\n elevated: ({ theme }) => ({ boxShadow: theme.shadows[8] }),\n\n minimal: () => ({ border: 'none', boxShadow: 'none' }),\n\n cards: ({ theme }) => ({ padding: theme.spacing(2) }),\n\n default: () => ({}),\n};\n\nexport const containerStyles = (input: ContainerStyleInput): CSSObject => {\n const { theme, variant, color, height, width, glow, pulse } = input;\n const accent = accentFor(theme, color).main;\n\n return {\n position: 'relative' as const,\n width,\n height,\n overflow: 'hidden',\n borderRadius: theme.spacing(1),\n transition: theme.transitions.create(['all'], {\n duration: theme.transitions.duration.standard,\n }),\n ...(glow && { boxShadow: `0 0 ${rem(theme, 30)} ${alpha(accent, 0.4)}` }),\n ...(pulse && {\n animation: 'pulse 2s infinite',\n '@keyframes pulse': {\n '0%': { boxShadow: `0 0 0 0 ${alpha(accent, 0.4)}` },\n '70%': { boxShadow: `0 0 0 ${rem(theme, 20)} ${alpha(accent, 0)}` },\n '100%': { boxShadow: `0 0 0 0 ${alpha(accent, 0)}` },\n },\n }),\n ...(SURFACES[variant] ?? SURFACES.default)(input),\n };\n};\n"],"mappings":";;;;;;;;;AAAA,SAAS,aAAa;AAUtB,IAAM,QAAgG;AAAA,EACpG,IAAI,EAAE,QAAQ,MAAM,GAAG,GAAG,UAAU,MAAM,EAAE,EAAE;AAAA,EAC9C,IAAI,EAAE,QAAQ,MAAM,GAAG,GAAG,UAAU,MAAM,EAAE,EAAE;AAAA,EAC9C,IAAI,EAAE,QAAQ,MAAM,GAAG,GAAG,UAAU,MAAM,EAAE,EAAE;AAAA,EAC9C,IAAI,EAAE,QAAQ,MAAM,GAAG,GAAG,UAAU,MAAM,EAAE,EAAE;AAAA,EAC9C,IAAI,EAAE,QAAQ,MAAM,GAAG,GAAG,UAAU,MAAM,EAAE,EAAE;AAChD;AAEA,IAAM,aAAa,CAAC,SAAe,MAAM,IAAI,KAAK,MAAM;AASjD,IAAM,WAAW,CACtB,OACA,MACA,QACA,WACuC;AAAA,EACvC,OAAO,OAAO,UAAU,WAAW,IAAI,OAAO,KAAK,IAAI;AAAA,EACvD,QAAQ,OAAO,WAAW,YAAY,WAAW,SAC7C,IAAI,OAAO,UAAU,GAAG,IACxB,WAAW,IAAI,EAAE,OAAO,KAAK;AACnC;AAqBA,IAAM,WAAuE;AAAA,EAC3E,OAAO,CAAC,EAAE,OAAO,OAAO,MAAM,OAAO;AAAA,IACnC,iBAAiB,MAAM,MAAM,QAAQ,WAAW,OAAO,QAAQ,MAAM,GAAG;AAAA,IACxE,gBAAgB,QAAQ,IAAI,OAAO,EAAE,CAAC;AAAA,IACtC,QAAQ,aAAa,MAAM,UAAU,OAAO,KAAK,EAAE,MAAM,GAAG,CAAC;AAAA,EAC/D;AAAA,EAEA,UAAU,CAAC,EAAE,OAAO,OAAO,SAAS,OAAO;AAAA,IACzC,YAAY,WACR,2BAA2B,MAAM,UAAU,OAAO,KAAK,EAAE,OAAO,GAAG,CAAC,KAAK,MAAM,UAAU,OAAO,KAAK,EAAE,MAAM,GAAG,CAAC,MACjH;AAAA,EACN;AAAA,EAEA,UAAU,CAAC,EAAE,MAAM,OAAO,EAAE,WAAW,MAAM,QAAQ,CAAC,EAAE;AAAA,EAExD,SAAS,OAAO,EAAE,QAAQ,QAAQ,WAAW,OAAO;AAAA,EAEpD,OAAO,CAAC,EAAE,MAAM,OAAO,EAAE,SAAS,MAAM,QAAQ,CAAC,EAAE;AAAA,EAEnD,SAAS,OAAO,CAAC;AACnB;AAEO,IAAM,kBAAkB,CAAC,UAA0C;AACxE,QAAM,EAAE,OAAO,SAAS,OAAO,QAAQ,OAAO,MAAM,MAAM,IAAI;AAC9D,QAAM,SAAS,UAAU,OAAO,KAAK,EAAE;AAEvC,SAAO;AAAA,IACL,UAAU;AAAA,IACV;AAAA,IACA;AAAA,IACA,UAAU;AAAA,IACV,cAAc,MAAM,QAAQ,CAAC;AAAA,IAC7B,YAAY,MAAM,YAAY,OAAO,CAAC,KAAK,GAAG;AAAA,MAC5C,UAAU,MAAM,YAAY,SAAS;AAAA,IACvC,CAAC;AAAA,IACD,GAAI,QAAQ,EAAE,WAAW,OAAO,IAAI,OAAO,EAAE,CAAC,IAAI,MAAM,QAAQ,GAAG,CAAC,GAAG;AAAA,IACvE,GAAI,SAAS;AAAA,MACX,WAAW;AAAA,MACX,oBAAoB;AAAA,QAClB,MAAM,EAAE,WAAW,WAAW,MAAM,QAAQ,GAAG,CAAC,GAAG;AAAA,QACnD,OAAO,EAAE,WAAW,SAAS,IAAI,OAAO,EAAE,CAAC,IAAI,MAAM,QAAQ,CAAC,CAAC,GAAG;AAAA,QAClE,QAAQ,EAAE,WAAW,WAAW,MAAM,QAAQ,CAAC,CAAC,GAAG;AAAA,MACrD;AAAA,IACF;AAAA,IACA,IAAI,SAAS,OAAO,KAAK,SAAS,SAAS,KAAK;AAAA,EAClD;AACF;","names":[]}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import {
|
|
2
|
+
dayCount,
|
|
3
|
+
isAfterDay
|
|
4
|
+
} from "./chunk-FRAVVI4A.js";
|
|
5
|
+
import {
|
|
6
|
+
isoToMasked
|
|
7
|
+
} from "./chunk-GY4NBSCN.js";
|
|
8
|
+
|
|
9
|
+
// src/components/form/DateRangePicker/DateRangePicker.range.ts
|
|
10
|
+
function resolveDayRange(draft, maxRangeDays) {
|
|
11
|
+
const { from, to } = draft;
|
|
12
|
+
if (!from || !to) return { ok: false, problem: "incomplete", days: 0 };
|
|
13
|
+
if (isAfterDay(from, to)) return { ok: false, problem: "reversed", days: 0 };
|
|
14
|
+
const days = dayCount(from, to);
|
|
15
|
+
if (maxRangeDays !== void 0 && days > maxRangeDays) {
|
|
16
|
+
return { ok: false, problem: "over-max", days };
|
|
17
|
+
}
|
|
18
|
+
return { ok: true, window: { from, to }, days };
|
|
19
|
+
}
|
|
20
|
+
function defaultMessages() {
|
|
21
|
+
const dayMask = "dd/mm/yyyy";
|
|
22
|
+
return {
|
|
23
|
+
from: "Start date",
|
|
24
|
+
to: "End date",
|
|
25
|
+
quickRanges: "Quick ranges",
|
|
26
|
+
incomplete: "Choose both dates.",
|
|
27
|
+
reversed: "The end date must be on or after the start date.",
|
|
28
|
+
overMax: ({ maxRangeDays }) => `Choose a range of at most ${maxRangeDays} days.`,
|
|
29
|
+
summary: ({ from, to }) => `${isoToMasked(from, dayMask)} \u2013 ${isoToMasked(to, dayMask)}`,
|
|
30
|
+
calendarLabel: "Calendar",
|
|
31
|
+
dayMask
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
function statusMessage(status, messages, maxRangeDays) {
|
|
35
|
+
if (status.ok) return messages.summary(status.window);
|
|
36
|
+
if (status.problem === "incomplete") return messages.incomplete;
|
|
37
|
+
if (status.problem === "reversed") return messages.reversed;
|
|
38
|
+
return messages.overMax({ maxRangeDays: maxRangeDays ?? status.days, days: status.days });
|
|
39
|
+
}
|
|
40
|
+
function resolveQuickRanges(quickRanges, context, maxRangeDays) {
|
|
41
|
+
return quickRanges.map((quickRange) => {
|
|
42
|
+
const window = quickRange.resolve(context);
|
|
43
|
+
const days = dayCount(window.from, window.to);
|
|
44
|
+
return {
|
|
45
|
+
...quickRange,
|
|
46
|
+
window,
|
|
47
|
+
days,
|
|
48
|
+
overMax: maxRangeDays !== void 0 && days > maxRangeDays
|
|
49
|
+
};
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
function activeQuickRangeId(options, draft) {
|
|
53
|
+
return options.find(
|
|
54
|
+
(option) => option.window.from === draft.from && option.window.to === draft.to
|
|
55
|
+
)?.id;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export {
|
|
59
|
+
resolveDayRange,
|
|
60
|
+
defaultMessages,
|
|
61
|
+
statusMessage,
|
|
62
|
+
resolveQuickRanges,
|
|
63
|
+
activeQuickRangeId
|
|
64
|
+
};
|
|
65
|
+
//# sourceMappingURL=chunk-OJ2XR3WH.js.map
|