@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,294 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NumberBoundInput
|
|
3
|
+
} from "./chunk-57FZM6GH.js";
|
|
4
|
+
import {
|
|
5
|
+
RangePresets
|
|
6
|
+
} from "./chunk-7D7CJRL7.js";
|
|
7
|
+
import {
|
|
8
|
+
presetsFor
|
|
9
|
+
} from "./chunk-CBOB5AV6.js";
|
|
10
|
+
import {
|
|
11
|
+
isRangeInverted,
|
|
12
|
+
isRangeSet,
|
|
13
|
+
numericRange,
|
|
14
|
+
rangeChipLabel
|
|
15
|
+
} from "./chunk-GCZJH4XL.js";
|
|
16
|
+
import {
|
|
17
|
+
useDataViewsCopy
|
|
18
|
+
} from "./chunk-KHG57NAE.js";
|
|
19
|
+
import {
|
|
20
|
+
TableFilter
|
|
21
|
+
} from "./chunk-HXEBKOSM.js";
|
|
22
|
+
import {
|
|
23
|
+
DayBoundInput
|
|
24
|
+
} from "./chunk-GY4NBSCN.js";
|
|
25
|
+
import {
|
|
26
|
+
fieldHeight
|
|
27
|
+
} from "./chunk-CGO452DC.js";
|
|
28
|
+
import {
|
|
29
|
+
fieldRadiusPx
|
|
30
|
+
} from "./chunk-GDN2LUTZ.js";
|
|
31
|
+
import {
|
|
32
|
+
fieldEdge
|
|
33
|
+
} from "./chunk-7FDU3FIN.js";
|
|
34
|
+
import {
|
|
35
|
+
sxRem
|
|
36
|
+
} from "./chunk-YKCAJ2TN.js";
|
|
37
|
+
|
|
38
|
+
// src/components/data-display/DataViews/data-views-range-pill.tsx
|
|
39
|
+
import CloseIcon from "@mui/icons-material/Close";
|
|
40
|
+
import ChevronDownIcon from "@mui/icons-material/KeyboardArrowDown";
|
|
41
|
+
import Box from "@mui/material/Box/index.js";
|
|
42
|
+
import Button from "@mui/material/Button/index.js";
|
|
43
|
+
import Popover from "@mui/material/Popover/index.js";
|
|
44
|
+
import Typography from "@mui/material/Typography/index.js";
|
|
45
|
+
import { useState } from "react";
|
|
46
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
47
|
+
function BoundField({
|
|
48
|
+
field,
|
|
49
|
+
label,
|
|
50
|
+
value,
|
|
51
|
+
onChange,
|
|
52
|
+
testId
|
|
53
|
+
}) {
|
|
54
|
+
const copy = useDataViewsCopy();
|
|
55
|
+
if (field.kind === "day") {
|
|
56
|
+
return /* @__PURE__ */ jsx(
|
|
57
|
+
DayBoundInput,
|
|
58
|
+
{
|
|
59
|
+
mask: copy.filters.dayMask,
|
|
60
|
+
label,
|
|
61
|
+
value: value == null ? void 0 : String(value),
|
|
62
|
+
onChange,
|
|
63
|
+
testId
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
return /* @__PURE__ */ jsx(
|
|
68
|
+
NumberBoundInput,
|
|
69
|
+
{
|
|
70
|
+
label,
|
|
71
|
+
value,
|
|
72
|
+
unit: field.unit,
|
|
73
|
+
onChange,
|
|
74
|
+
testId
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
function RangeBounds({
|
|
79
|
+
field,
|
|
80
|
+
value,
|
|
81
|
+
onChange,
|
|
82
|
+
testId
|
|
83
|
+
}) {
|
|
84
|
+
const copy = useDataViewsCopy();
|
|
85
|
+
const inverted = isRangeInverted(value);
|
|
86
|
+
return /* @__PURE__ */ jsxs(Box, { "data-testid": `${testId}-panel`, children: [
|
|
87
|
+
/* @__PURE__ */ jsx(Box, { sx: { "&:not(:empty)": { mb: 1.5 } }, children: /* @__PURE__ */ jsx(RangePresets, { presets: presetsFor(field, copy), value, onChange, testId }) }),
|
|
88
|
+
/* @__PURE__ */ jsxs(Box, { sx: { display: "flex", alignItems: "center", gap: 1.5 }, children: [
|
|
89
|
+
/* @__PURE__ */ jsx(
|
|
90
|
+
BoundField,
|
|
91
|
+
{
|
|
92
|
+
field,
|
|
93
|
+
label: copy.filters.rangeStart,
|
|
94
|
+
value: value.min,
|
|
95
|
+
onChange: (min) => onChange({ ...value, min }),
|
|
96
|
+
testId: `${testId}-min`
|
|
97
|
+
}
|
|
98
|
+
),
|
|
99
|
+
/* @__PURE__ */ jsx(
|
|
100
|
+
BoundField,
|
|
101
|
+
{
|
|
102
|
+
field,
|
|
103
|
+
label: copy.filters.rangeEnd,
|
|
104
|
+
value: value.max,
|
|
105
|
+
onChange: (max) => onChange({ ...value, max }),
|
|
106
|
+
testId: `${testId}-max`
|
|
107
|
+
}
|
|
108
|
+
)
|
|
109
|
+
] }),
|
|
110
|
+
inverted && /* @__PURE__ */ jsx(
|
|
111
|
+
Typography,
|
|
112
|
+
{
|
|
113
|
+
component: "p",
|
|
114
|
+
"data-testid": `${testId}-inverted`,
|
|
115
|
+
sx: { mt: 0.75, fontSize: sxRem(12), color: "error.main" },
|
|
116
|
+
children: copy.filters.rangeInvalid
|
|
117
|
+
}
|
|
118
|
+
),
|
|
119
|
+
field.kind === "day" && !inverted && /* @__PURE__ */ jsx(
|
|
120
|
+
Typography,
|
|
121
|
+
{
|
|
122
|
+
component: "p",
|
|
123
|
+
"data-testid": `${testId}-inclusive`,
|
|
124
|
+
sx: { mt: 0.75, fontSize: sxRem(12), color: "text.disabled" },
|
|
125
|
+
children: copy.filters.rangeInclusiveNote
|
|
126
|
+
}
|
|
127
|
+
)
|
|
128
|
+
] });
|
|
129
|
+
}
|
|
130
|
+
function ClearAffordance({
|
|
131
|
+
label,
|
|
132
|
+
onClear,
|
|
133
|
+
testId
|
|
134
|
+
}) {
|
|
135
|
+
const copy = useDataViewsCopy();
|
|
136
|
+
const clear = (event) => {
|
|
137
|
+
event.stopPropagation();
|
|
138
|
+
onClear();
|
|
139
|
+
};
|
|
140
|
+
return /* @__PURE__ */ jsx(
|
|
141
|
+
Box,
|
|
142
|
+
{
|
|
143
|
+
component: "span",
|
|
144
|
+
role: "button",
|
|
145
|
+
tabIndex: 0,
|
|
146
|
+
"aria-label": copy.filters.clearRange(label),
|
|
147
|
+
"data-testid": testId,
|
|
148
|
+
onClick: clear,
|
|
149
|
+
onKeyDown: (event) => {
|
|
150
|
+
if (event.key !== "Enter" && event.key !== " ") return;
|
|
151
|
+
event.preventDefault();
|
|
152
|
+
clear(event);
|
|
153
|
+
},
|
|
154
|
+
sx: { display: "inline-flex", borderRadius: 999, p: 0.125, "&:hover": { bgcolor: "action.selected" } },
|
|
155
|
+
children: /* @__PURE__ */ jsx(CloseIcon, { sx: { fontSize: sxRem(14) } })
|
|
156
|
+
}
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
function RangeTrigger({
|
|
160
|
+
field,
|
|
161
|
+
value,
|
|
162
|
+
onChange,
|
|
163
|
+
onOpen,
|
|
164
|
+
open,
|
|
165
|
+
testId
|
|
166
|
+
}) {
|
|
167
|
+
const active = isRangeSet(value);
|
|
168
|
+
const inverted = isRangeInverted(value);
|
|
169
|
+
const tone = inverted ? "error.main" : active ? "primary.main" : null;
|
|
170
|
+
return /* @__PURE__ */ jsx(
|
|
171
|
+
Button,
|
|
172
|
+
{
|
|
173
|
+
variant: "outlined",
|
|
174
|
+
color: "inherit",
|
|
175
|
+
size: "small",
|
|
176
|
+
"data-testid": testId,
|
|
177
|
+
"aria-haspopup": "dialog",
|
|
178
|
+
"aria-expanded": open,
|
|
179
|
+
onClick: (event) => onOpen(event.currentTarget),
|
|
180
|
+
startIcon: active ? /* @__PURE__ */ jsx(ClearAffordance, { label: field.label, onClear: () => onChange({}), testId: `${testId}-clear-inline` }) : void 0,
|
|
181
|
+
endIcon: /* @__PURE__ */ jsx(ChevronDownIcon, { sx: { fontSize: sxRem(16) } }),
|
|
182
|
+
sx: {
|
|
183
|
+
borderRadius: fieldRadiusPx,
|
|
184
|
+
height: fieldHeight,
|
|
185
|
+
px: 1.5,
|
|
186
|
+
maxWidth: sxRem(280),
|
|
187
|
+
color: inverted ? "error.main" : "text.primary",
|
|
188
|
+
fontWeight: 600,
|
|
189
|
+
fontSize: sxRem(13),
|
|
190
|
+
textTransform: "none",
|
|
191
|
+
whiteSpace: "nowrap",
|
|
192
|
+
borderColor: (theme) => tone ?? fieldEdge(theme),
|
|
193
|
+
bgcolor: active ? "action.selected" : "background.paper",
|
|
194
|
+
"&:hover": {
|
|
195
|
+
borderColor: active ? tone : "text.primary",
|
|
196
|
+
bgcolor: active ? "action.selected" : "action.hover"
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
children: /* @__PURE__ */ jsx(Box, { component: "span", sx: { overflow: "hidden", textOverflow: "ellipsis" }, children: active ? rangeChipLabel(field, value) : field.label })
|
|
200
|
+
}
|
|
201
|
+
);
|
|
202
|
+
}
|
|
203
|
+
function RangePill({
|
|
204
|
+
field,
|
|
205
|
+
value,
|
|
206
|
+
onChange,
|
|
207
|
+
onOpenChange,
|
|
208
|
+
testIdPrefix
|
|
209
|
+
}) {
|
|
210
|
+
const copy = useDataViewsCopy();
|
|
211
|
+
const [anchor, setAnchor] = useState(null);
|
|
212
|
+
const active = isRangeSet(value);
|
|
213
|
+
const testId = `${testIdPrefix}-range-${field.id}`;
|
|
214
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
215
|
+
/* @__PURE__ */ jsx(
|
|
216
|
+
RangeTrigger,
|
|
217
|
+
{
|
|
218
|
+
field,
|
|
219
|
+
value,
|
|
220
|
+
onChange,
|
|
221
|
+
onOpen: (element) => {
|
|
222
|
+
setAnchor(element);
|
|
223
|
+
onOpenChange?.(true);
|
|
224
|
+
},
|
|
225
|
+
open: Boolean(anchor),
|
|
226
|
+
testId
|
|
227
|
+
}
|
|
228
|
+
),
|
|
229
|
+
/* @__PURE__ */ jsxs(
|
|
230
|
+
Popover,
|
|
231
|
+
{
|
|
232
|
+
open: Boolean(anchor),
|
|
233
|
+
anchorEl: anchor,
|
|
234
|
+
onClose: () => {
|
|
235
|
+
setAnchor(null);
|
|
236
|
+
onOpenChange?.(false);
|
|
237
|
+
},
|
|
238
|
+
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
239
|
+
slotProps: { paper: { sx: { p: 2, mt: 0.5 } } },
|
|
240
|
+
children: [
|
|
241
|
+
/* @__PURE__ */ jsx(RangeBounds, { field, value, onChange, testId }),
|
|
242
|
+
active && /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", alignItems: "center", justifyContent: "space-between", gap: 2, mt: 1.5 }, children: [
|
|
243
|
+
/* @__PURE__ */ jsx(Typography, { component: "span", sx: { fontSize: sxRem(12), color: "text.secondary" }, children: rangeChipLabel(field, value) }),
|
|
244
|
+
/* @__PURE__ */ jsx(
|
|
245
|
+
Button,
|
|
246
|
+
{
|
|
247
|
+
variant: "text",
|
|
248
|
+
size: "small",
|
|
249
|
+
onClick: () => onChange({}),
|
|
250
|
+
"data-testid": `${testId}-clear`,
|
|
251
|
+
sx: { textTransform: "none" },
|
|
252
|
+
children: copy.filters.clear
|
|
253
|
+
}
|
|
254
|
+
)
|
|
255
|
+
] })
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
)
|
|
259
|
+
] });
|
|
260
|
+
}
|
|
261
|
+
function PanelRangeField({
|
|
262
|
+
field,
|
|
263
|
+
value,
|
|
264
|
+
onChange,
|
|
265
|
+
testId
|
|
266
|
+
}) {
|
|
267
|
+
const copy = useDataViewsCopy();
|
|
268
|
+
if (field.kind === "day") {
|
|
269
|
+
return /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
270
|
+
/* @__PURE__ */ jsx(Typography, { component: "span", sx: { fontSize: sxRem(12), fontWeight: 500, color: "text.secondary" }, children: field.label }),
|
|
271
|
+
/* @__PURE__ */ jsx(RangeBounds, { field, value, onChange, testId })
|
|
272
|
+
] });
|
|
273
|
+
}
|
|
274
|
+
return /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
275
|
+
/* @__PURE__ */ jsx(
|
|
276
|
+
TableFilter.RangeField,
|
|
277
|
+
{
|
|
278
|
+
label: field.label,
|
|
279
|
+
unit: field.unit,
|
|
280
|
+
value: numericRange(value),
|
|
281
|
+
onChange: (range) => onChange(range),
|
|
282
|
+
testId
|
|
283
|
+
}
|
|
284
|
+
),
|
|
285
|
+
/* @__PURE__ */ jsx(RangePresets, { presets: presetsFor(field, copy), value, onChange, testId })
|
|
286
|
+
] });
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export {
|
|
290
|
+
RangeBounds,
|
|
291
|
+
RangePill,
|
|
292
|
+
PanelRangeField
|
|
293
|
+
};
|
|
294
|
+
//# sourceMappingURL=chunk-AJ5SDHX5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/data-display/DataViews/data-views-range-pill.tsx"],"sourcesContent":["'use client';\n\n/**\n * A range filter as a PILL in the inline filter bar — the same affordance the\n * multi-select facets use, so \"Data\" and \"Valor\" sit in the filter row beside\n * \"Pagamento\"/\"Situação\"/\"Método\" instead of floating above the grid.\n *\n * Before this the inline bar rendered pills only, and `rangeFields` had a\n * surface on the slide-in panel alone — which `inlineFilters` REPLACES on a wide\n * screen. So a range filter was invisible on exactly the screens that use it,\n * and a page wanting one had to hang its own inputs outside the grid, outside\n * `DataViewState`, and outside the grid's \"Limpar filtros\" (FUT-668).\n */\nimport CloseIcon from '@mui/icons-material/Close';\nimport ChevronDownIcon from '@mui/icons-material/KeyboardArrowDown';\nimport Box from '@mui/material/Box/index.js';\nimport Button from '@mui/material/Button/index.js';\nimport Popover from '@mui/material/Popover/index.js';\nimport Typography from '@mui/material/Typography/index.js';\nimport React, { useState } from 'react';\n\nimport { useDataViewsCopy } from \"./data-views-copy-context\";\nimport { TableFilter } from '../../layout/TableFilter';\nimport { DayBoundInput } from './data-views-day-input';\nimport { NumberBoundInput } from './data-views-number-input';\nimport { RangePresets } from './data-views-preset-chips';\nimport { presetsFor } from './data-views-range-presets';\nimport {\n isRangeInverted,\n isRangeSet,\n numericRange,\n rangeChipLabel,\n} from './data-views-range-values';\nimport type { RangeFieldConfig, RangeValue } from './data-views-types';\nimport { fieldRadiusPx } from '../../../tokens/field-radius';\nimport { fieldHeight } from '../../../tokens/field-height';\nimport { fieldEdge } from '../../../tokens/field-edge';\nimport { sxRem } from '../../../tokens/relative';\n\n\n\n/**\n * One end of the range. A day keeps its `AAAA-MM-DD` string verbatim (the form\n * both the field and the backend speak) and is typed through the masked\n * `dd/mm/aaaa` field rather than a native date input — see\n * {@link DayBoundInput} for why. A number parses, and an unparseable/blank\n * entry CLEARS the bound rather than writing `NaN`.\n */\nfunction BoundField<T extends Record<string, unknown>>({\n field,\n label,\n value,\n onChange,\n testId,\n}: {\n field: RangeFieldConfig<T>;\n label: string;\n value: number | string | undefined;\n onChange: (bound: number | string | undefined) => void;\n testId: string;\n}): React.JSX.Element {\n const copy = useDataViewsCopy();\n if (field.kind === 'day') {\n return (\n <DayBoundInput\n mask={copy.filters.dayMask}\n label={label}\n value={value == null ? undefined : String(value)}\n onChange={onChange}\n testId={testId}\n />\n );\n }\n return (\n <NumberBoundInput\n label={label}\n value={value}\n unit={field.unit}\n onChange={onChange}\n testId={testId}\n />\n );\n}\n\n\n/**\n * The `De`/`Até` pair for a range — shared by the pill's popover and the\n * slide-in panel's day fields, so the two surfaces cannot drift on what a bound\n * accepts or how it clears.\n */\nexport function RangeBounds<T extends Record<string, unknown>>({\n field,\n value,\n onChange,\n testId,\n}: {\n field: RangeFieldConfig<T>;\n value: RangeValue;\n onChange: (range: RangeValue) => void;\n testId: string;\n}): React.JSX.Element {\n const copy = useDataViewsCopy();\n const inverted = isRangeInverted(value);\n return (\n <Box data-testid={`${testId}-panel`}>\n {/* Above the inputs, not below: the presets are the answer for most\n merchants, and the two date pickers are the escape hatch. */}\n <Box sx={{ '&:not(:empty)': { mb: 1.5 } }}>\n <RangePresets presets={presetsFor(field, copy)} value={value} onChange={onChange} testId={testId} />\n </Box>\n <Box sx={{ display: 'flex', alignItems: 'center', gap: 1.5 }}>\n <BoundField\n field={field}\n label={copy.filters.rangeStart}\n value={value.min}\n onChange={(min) => onChange({ ...value, min })}\n testId={`${testId}-min`}\n />\n <BoundField\n field={field}\n label={copy.filters.rangeEnd}\n value={value.max}\n onChange={(max) => onChange({ ...value, max })}\n testId={`${testId}-max`}\n />\n </Box>\n {inverted && (\n <Typography\n component=\"p\"\n data-testid={`${testId}-inverted`}\n sx={{ mt: 0.75, fontSize: sxRem(12), color: 'error.main' }}\n >\n {copy.filters.rangeInvalid}\n </Typography>\n )}\n {/* BOTH days are in the result. Saying so is FUT-668's other half: the\n bounds compare as ISO strings precisely so `até` keeps its whole day,\n and nothing on screen would otherwise tell the merchant that. */}\n {field.kind === 'day' && !inverted && (\n <Typography\n component=\"p\"\n data-testid={`${testId}-inclusive`}\n sx={{ mt: 0.75, fontSize: sxRem(12), color: 'text.disabled' }}\n >\n {copy.filters.rangeInclusiveNote}\n </Typography>\n )}\n </Box>\n );\n}\n\n/**\n * The pill + its popover. Bounds commit on change (the list is server-driven, so\n * each edit is a query) and the popover stays open, which is what lets a\n * merchant set \"de\" and then \"até\" without re-opening it.\n */\n/** An applied range clears from the pill itself — re-opening to empty two fields is three gestures for one intent. */\nfunction ClearAffordance({\n label,\n onClear,\n testId,\n}: {\n label: string;\n onClear: () => void;\n testId: string;\n}): React.JSX.Element {\n const copy = useDataViewsCopy();\n const clear = (event: React.SyntheticEvent): void => {\n event.stopPropagation();\n onClear();\n };\n return (\n <Box\n component=\"span\"\n role=\"button\"\n tabIndex={0}\n aria-label={copy.filters.clearRange(label)}\n data-testid={testId}\n onClick={clear}\n onKeyDown={(event: React.KeyboardEvent) => {\n if (event.key !== 'Enter' && event.key !== ' ') return;\n event.preventDefault();\n clear(event);\n }}\n sx={{ display: 'inline-flex', borderRadius: 999, p: 0.125, '&:hover': { bgcolor: 'action.selected' } }}\n >\n <CloseIcon sx={{ fontSize: sxRem(14) }} />\n </Box>\n );\n}\n\n/** The pill button: its label carries the applied window, and its tone the state. */\nfunction RangeTrigger<T extends Record<string, unknown>>({\n field,\n value,\n onChange,\n onOpen,\n open,\n testId,\n}: {\n field: RangeFieldConfig<T>;\n value: RangeValue;\n onChange: (range: RangeValue) => void;\n onOpen: (anchor: HTMLElement) => void;\n open: boolean;\n testId: string;\n}): React.JSX.Element {\n const active = isRangeSet(value);\n const inverted = isRangeInverted(value);\n // An INVERTED window gets its own tone rather than the ordinary \"applied\"\n // one: it is applied, and it matches nothing, and those are different states.\n // At rest the pill draws the one field border (`fieldEdge`).\n const tone = inverted ? 'error.main' : active ? 'primary.main' : null;\n return (\n <Button\n variant=\"outlined\"\n color=\"inherit\"\n size=\"small\"\n data-testid={testId}\n aria-haspopup=\"dialog\"\n aria-expanded={open}\n onClick={(event) => onOpen(event.currentTarget)}\n // ✕ FIRST, chevron LAST — the same shape as every other pill. It used to\n // replace the chevron at the end, so a range pill and a multi-select pill\n // put the clear in different places, and an applied range lost the\n // affordance that says it opens.\n startIcon={\n active ? (\n <ClearAffordance label={field.label} onClear={() => onChange({})} testId={`${testId}-clear-inline`} />\n ) : undefined\n }\n endIcon={<ChevronDownIcon sx={{ fontSize: sxRem(16) }} />}\n sx={{\n borderRadius: fieldRadiusPx,\n height: fieldHeight,\n px: 1.5,\n maxWidth: sxRem(280),\n color: inverted ? 'error.main' : 'text.primary',\n fontWeight: 600,\n fontSize: sxRem(13),\n textTransform: 'none',\n whiteSpace: 'nowrap',\n borderColor: (theme) => tone ?? fieldEdge(theme),\n bgcolor: active ? 'action.selected' : 'background.paper',\n '&:hover': {\n borderColor: active ? tone : 'text.primary',\n bgcolor: active ? 'action.selected' : 'action.hover',\n },\n }}\n >\n {/* The applied bounds, in the label — a pill reading only \"Valor\" hides\n the very thing that is narrowing the list. */}\n <Box component=\"span\" sx={{ overflow: 'hidden', textOverflow: 'ellipsis' }}>\n {active ? rangeChipLabel(field, value) : field.label}\n </Box>\n </Button>\n );\n}\n\nexport function RangePill<T extends Record<string, unknown>>({\n field,\n value,\n onChange,\n onOpenChange,\n testIdPrefix,\n}: {\n field: RangeFieldConfig<T>;\n value: RangeValue;\n onChange: (range: RangeValue) => void;\n /** So a measured toolbar can hold still while this is open. */\n onOpenChange?: (open: boolean) => void;\n testIdPrefix: string;\n}): React.JSX.Element {\n const copy = useDataViewsCopy();\n const [anchor, setAnchor] = useState<HTMLElement | null>(null);\n const active = isRangeSet(value);\n const testId = `${testIdPrefix}-range-${field.id}`;\n return (\n <>\n <RangeTrigger\n field={field}\n value={value}\n onChange={onChange}\n onOpen={(element) => {\n setAnchor(element);\n onOpenChange?.(true);\n }}\n open={Boolean(anchor)}\n testId={testId}\n />\n <Popover\n open={Boolean(anchor)}\n anchorEl={anchor}\n onClose={() => {\n setAnchor(null);\n onOpenChange?.(false);\n }}\n anchorOrigin={{ vertical: 'bottom', horizontal: 'left' }}\n slotProps={{ paper: { sx: { p: 2, mt: 0.5 } } }}\n >\n <RangeBounds field={field} value={value} onChange={onChange} testId={testId} />\n {/* An inverted window is not an error the merchant must fix before the\n list responds — it simply matches nothing, and saying so beats an\n empty grid with no explanation (FUT-668). */}\n {active && (\n <Box sx={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', gap: 2, mt: 1.5 }}>\n <Typography component=\"span\" sx={{ fontSize: sxRem(12), color: 'text.secondary' }}>\n {rangeChipLabel(field, value)}\n </Typography>\n <Button\n variant=\"text\"\n size=\"small\"\n onClick={() => onChange({})}\n data-testid={`${testId}-clear`}\n sx={{ textTransform: 'none' }}\n >\n {copy.filters.clear}\n </Button>\n </Box>\n )}\n </Popover>\n </>\n );\n}\n\n\n/**\n * One range on the SLIDE-IN panel (and the narrow-screen modal): the numeric\n * control the panel already had, or — for a day range, which that control cannot\n * express — the same `De`/`Até` pair the pill's popover uses.\n */\nexport function PanelRangeField<T extends Record<string, unknown>>({\n field,\n value,\n onChange,\n testId,\n}: {\n field: RangeFieldConfig<T>;\n value: RangeValue;\n onChange: (range: RangeValue) => void;\n testId: string;\n}): React.JSX.Element {\n const copy = useDataViewsCopy();\n if (field.kind === \"day\") {\n return (\n <Box sx={{ display: \"flex\", flexDirection: \"column\", gap: 1 }}>\n <Typography component=\"span\" sx={{ fontSize: sxRem(12), fontWeight: 500, color: \"text.secondary\" }}>\n {field.label}\n </Typography>\n <RangeBounds field={field} value={value} onChange={onChange} testId={testId} />\n </Box>\n );\n }\n return (\n <Box sx={{ display: \"flex\", flexDirection: \"column\", gap: 1 }}>\n <TableFilter.RangeField\n label={field.label}\n unit={field.unit}\n value={numericRange(value)}\n onChange={(range) => onChange(range)}\n testId={testId}\n />\n {/* Below the numeric control here, unlike the pill's popover: this one\n renders its own label, and chips above it would separate the label\n from the field it names. */}\n <RangePresets presets={presetsFor(field, copy)} value={value} onChange={onChange} testId={testId} />\n </Box>\n );\n}\n"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import {
|
|
2
|
+
alertEmphasisStyles,
|
|
3
|
+
alertLayoutStyles,
|
|
4
|
+
alertVariantStyles,
|
|
5
|
+
fadeInScale,
|
|
6
|
+
getColorFromTheme,
|
|
7
|
+
getVariantIcon
|
|
8
|
+
} from "./chunk-MO47Y26B.js";
|
|
9
|
+
import {
|
|
10
|
+
resolveAlertProps,
|
|
11
|
+
resolveAnnouncement,
|
|
12
|
+
testIdFor
|
|
13
|
+
} from "./chunk-L7VH6IMR.js";
|
|
14
|
+
import {
|
|
15
|
+
ACTIVE,
|
|
16
|
+
ALERT_EASING,
|
|
17
|
+
ALERT_RADIUS_UNITS,
|
|
18
|
+
ALERT_TRANSITION_MS,
|
|
19
|
+
CLOSE_BUTTON,
|
|
20
|
+
CLOSE_DELAY_MS,
|
|
21
|
+
COLLAPSE_MS,
|
|
22
|
+
DESCRIPTION,
|
|
23
|
+
FADE_IN,
|
|
24
|
+
FOCUS,
|
|
25
|
+
GLOW,
|
|
26
|
+
HOVER,
|
|
27
|
+
TITLE,
|
|
28
|
+
seconds
|
|
29
|
+
} from "./chunk-P2UIXDEG.js";
|
|
30
|
+
import {
|
|
31
|
+
resolveTestId,
|
|
32
|
+
withoutTestIdProps
|
|
33
|
+
} from "./chunk-TYJR4GOF.js";
|
|
34
|
+
import {
|
|
35
|
+
absoluteInk,
|
|
36
|
+
modeInk
|
|
37
|
+
} from "./chunk-FQ6UW7IY.js";
|
|
38
|
+
import {
|
|
39
|
+
rem,
|
|
40
|
+
rems,
|
|
41
|
+
sxRem
|
|
42
|
+
} from "./chunk-YKCAJ2TN.js";
|
|
43
|
+
|
|
44
|
+
// src/components/data-display/Alert/Alert.tsx
|
|
45
|
+
import Close from "@mui/icons-material/Close";
|
|
46
|
+
import MuiAlert from "@mui/material/Alert/index.js";
|
|
47
|
+
import AlertTitle from "@mui/material/AlertTitle/index.js";
|
|
48
|
+
import Box from "@mui/material/Box/index.js";
|
|
49
|
+
import Collapse from "@mui/material/Collapse/index.js";
|
|
50
|
+
import IconButton from "@mui/material/IconButton/index.js";
|
|
51
|
+
import { alpha, styled } from "@mui/material/styles/index.js";
|
|
52
|
+
import React from "react";
|
|
53
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
54
|
+
var transition = `all ${seconds(ALERT_TRANSITION_MS)} ${ALERT_EASING}`;
|
|
55
|
+
function pointerShadow(theme, colorPalette, glow, variant) {
|
|
56
|
+
const ink = variant === "gradient" ? absoluteInk(theme).black : modeInk(theme);
|
|
57
|
+
const glowShadow = glow ? `0 0 ${rems(theme, GLOW.blur, GLOW.spread)} ${alpha(colorPalette.main, GLOW.alpha)}` : null;
|
|
58
|
+
return (alpha_) => [`inset 0 0 0 100vmax ${alpha(ink, alpha_)}`, glowShadow].filter(Boolean).join(", ");
|
|
59
|
+
}
|
|
60
|
+
var StyledAlert = styled(MuiAlert, {
|
|
61
|
+
shouldForwardProp: (prop) => !["customVariant", "customColor", "glow", "pulse", "animate"].includes(prop)
|
|
62
|
+
})(({ theme, customVariant, customColor, glow, pulse, animate }) => {
|
|
63
|
+
const colorPalette = getColorFromTheme(theme, customColor || customVariant || "info");
|
|
64
|
+
const withTint = pointerShadow(theme, colorPalette, Boolean(glow), customVariant);
|
|
65
|
+
return {
|
|
66
|
+
borderRadius: theme.spacing(ALERT_RADIUS_UNITS),
|
|
67
|
+
transition: `${transition}, box-shadow ${seconds(ACTIVE.ms)} ${ALERT_EASING}`,
|
|
68
|
+
position: "relative",
|
|
69
|
+
overflow: "hidden",
|
|
70
|
+
animation: animate ? `${fadeInScale(theme)} ${seconds(FADE_IN.ms)} ease-out` : "none",
|
|
71
|
+
willChange: "transform, opacity",
|
|
72
|
+
...alertLayoutStyles(theme, colorPalette, animate),
|
|
73
|
+
// Hover: one tint step, and nothing that moves. An alert is a surface
|
|
74
|
+
// rather than a control, so the pointer only needs telling it is here. The
|
|
75
|
+
// icon keeps its own place for the same reason — it is the variant's
|
|
76
|
+
// meaning, not an affordance to animate.
|
|
77
|
+
"&:hover": {
|
|
78
|
+
boxShadow: withTint(HOVER.tintAlpha),
|
|
79
|
+
"&::before": {
|
|
80
|
+
opacity: 1
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
// Press: a 20% tint, landing at once and easing back. Still no geometry.
|
|
84
|
+
//
|
|
85
|
+
// `transition: none` here is what makes the dip INSTANT: a click's
|
|
86
|
+
// `:active` lasts about as long as the finger is down, so easing into it
|
|
87
|
+
// would be cut off in its first tenth and read as a flicker. The ease is on
|
|
88
|
+
// the way back, governed by the root.
|
|
89
|
+
//
|
|
90
|
+
// Neither `:hover` nor `:focus-visible` may declare `transition`, and that
|
|
91
|
+
// is not a style preference. `:active` under a mouse ALWAYS implies
|
|
92
|
+
// `:hover`, so a bare shorthand in the hover block outranks the root's
|
|
93
|
+
// (0,2,0 beats 0,1,0) and silently resets the timing this state rests on.
|
|
94
|
+
//
|
|
95
|
+
// The `:not(:has(…))` names CONTROLS, not any descendant. `:active`
|
|
96
|
+
// matches an ancestor of whatever is pressed, so dismissing an alert
|
|
97
|
+
// dimmed the alert being dismissed and pressing a call to action dimmed
|
|
98
|
+
// the message explaining it. Excluding `:has(:active)` wholesale does not
|
|
99
|
+
// work and was the first attempt: pressing the TEXT makes that text
|
|
100
|
+
// `:active` too, so the guard matched on every press and the state never
|
|
101
|
+
// fired at all.
|
|
102
|
+
'&:active:not(:has(button:active, a:active, [role="button"]:active))': {
|
|
103
|
+
boxShadow: withTint(ACTIVE.tintAlpha),
|
|
104
|
+
transition: "none"
|
|
105
|
+
},
|
|
106
|
+
// Focus: `:focus-visible`, not `:focus-within`.
|
|
107
|
+
//
|
|
108
|
+
// The alert carries `tabIndex={0}`, so a MOUSE CLICK focused it and painted
|
|
109
|
+
// the ring — a keyboard affordance answering a pointer, which is what made
|
|
110
|
+
// clicking one look like an error state. `:focus-visible` is the browser's
|
|
111
|
+
// own answer to "did this focus come from the keyboard": the ring stays for
|
|
112
|
+
// whoever tabs here and never fires on a click.
|
|
113
|
+
//
|
|
114
|
+
// One ring, not three. It was a 3px outline at 3px offset UNDER a 6px halo,
|
|
115
|
+
// and stacking two rings on one edge is what read as unfinished rather than
|
|
116
|
+
// as emphasis.
|
|
117
|
+
// It declares no `transition`: `outline-style` is discrete, so the ring
|
|
118
|
+
// arrives at full width with only its COLOUR easing — from `currentcolor`,
|
|
119
|
+
// the near-black alert ink, to the blue. That is a visible dark flash on
|
|
120
|
+
// every keyboard focus, and it would also outrank the root's opacity
|
|
121
|
+
// transition the way the hover block did.
|
|
122
|
+
"&:focus-visible": {
|
|
123
|
+
outline: `${rem(theme, FOCUS.ringWidth)} solid ${alpha(colorPalette.main, FOCUS.ringAlpha)}`,
|
|
124
|
+
outlineOffset: rem(theme, FOCUS.offset)
|
|
125
|
+
},
|
|
126
|
+
...alertVariantStyles(theme, customVariant, colorPalette),
|
|
127
|
+
...alertEmphasisStyles(theme, colorPalette, Boolean(glow), Boolean(pulse))
|
|
128
|
+
};
|
|
129
|
+
});
|
|
130
|
+
var MUI_SEVERITY = {
|
|
131
|
+
danger: "error",
|
|
132
|
+
glass: "info",
|
|
133
|
+
gradient: "info"
|
|
134
|
+
};
|
|
135
|
+
var toMuiSeverity = (variant) => MUI_SEVERITY[variant] ?? variant;
|
|
136
|
+
var AlertContent = ({ title, description, dataTestId, children }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
137
|
+
title && /* @__PURE__ */ jsx(
|
|
138
|
+
AlertTitle,
|
|
139
|
+
{
|
|
140
|
+
"data-testid": testIdFor(dataTestId, "title"),
|
|
141
|
+
sx: {
|
|
142
|
+
fontWeight: TITLE.fontWeight,
|
|
143
|
+
fontSize: sxRem(TITLE.fontSize),
|
|
144
|
+
marginBottom: description ? TITLE.marginBottomUnits : 0,
|
|
145
|
+
wordWrap: "break-word",
|
|
146
|
+
overflowWrap: "break-word",
|
|
147
|
+
wordBreak: "break-word"
|
|
148
|
+
},
|
|
149
|
+
children: title
|
|
150
|
+
}
|
|
151
|
+
),
|
|
152
|
+
description && /* @__PURE__ */ jsx(
|
|
153
|
+
Box,
|
|
154
|
+
{
|
|
155
|
+
component: "div",
|
|
156
|
+
"data-testid": testIdFor(dataTestId, "message"),
|
|
157
|
+
sx: {
|
|
158
|
+
opacity: DESCRIPTION.opacity,
|
|
159
|
+
fontSize: sxRem(DESCRIPTION.fontSize),
|
|
160
|
+
wordWrap: "break-word",
|
|
161
|
+
overflowWrap: "break-word",
|
|
162
|
+
wordBreak: "break-word"
|
|
163
|
+
},
|
|
164
|
+
children: description
|
|
165
|
+
}
|
|
166
|
+
),
|
|
167
|
+
children
|
|
168
|
+
] });
|
|
169
|
+
var AlertCloseButton = ({
|
|
170
|
+
dataTestId,
|
|
171
|
+
label,
|
|
172
|
+
onClose
|
|
173
|
+
}) => /* @__PURE__ */ jsx(
|
|
174
|
+
IconButton,
|
|
175
|
+
{
|
|
176
|
+
"data-testid": testIdFor(dataTestId, "close"),
|
|
177
|
+
"aria-label": label,
|
|
178
|
+
color: "inherit",
|
|
179
|
+
size: "small",
|
|
180
|
+
onClick: onClose,
|
|
181
|
+
sx: (theme) => ({
|
|
182
|
+
transition,
|
|
183
|
+
opacity: CLOSE_BUTTON.opacity,
|
|
184
|
+
// Opacity and a wash only: the button used to spin 90deg and grow 1.1,
|
|
185
|
+
// which drew the eye to the dismiss rather than to the message.
|
|
186
|
+
"&:hover": {
|
|
187
|
+
opacity: 1,
|
|
188
|
+
backgroundColor: alpha(theme.palette.action.hover, CLOSE_BUTTON.washAlpha)
|
|
189
|
+
},
|
|
190
|
+
// A REAL ring, on the keyboard-only selector.
|
|
191
|
+
//
|
|
192
|
+
// This used to be `&:focus` setting `outline: 'none'` over a
|
|
193
|
+
// `rgba(0,0,0,0.1)` wash — 1.25:1 against the info surface, and MUI's
|
|
194
|
+
// ButtonBase already sets `outline: 0`, so there was no UA fallback
|
|
195
|
+
// either. It went unnoticed while the ROOT still matched `:focus-within`
|
|
196
|
+
// and drew a ring around the whole alert; moving the root to
|
|
197
|
+
// `:focus-visible` took that away and left this button with no visible
|
|
198
|
+
// focus at all. `Banner`'s dismiss already draws its own outline, so
|
|
199
|
+
// this is also what keeps the two surfaces telling a keyboard user the
|
|
200
|
+
// same thing.
|
|
201
|
+
"&:focus-visible": {
|
|
202
|
+
opacity: 1,
|
|
203
|
+
// `currentColor` is the alert's own ink, inherited through
|
|
204
|
+
// `color="inherit"`, so the ring is drawn in whatever colour was
|
|
205
|
+
// already chosen to be READ on this surface. Measured 11.2:1 on the
|
|
206
|
+
// semantic variants and 5.7:1 on `gradient`.
|
|
207
|
+
//
|
|
208
|
+
// That is a reasoned choice, not a test-backed one, and the difference
|
|
209
|
+
// matters: `alert-contrast.test.tsx` covers the ink of the four
|
|
210
|
+
// semantic variants only — its `glass` case asserts the pane's alpha
|
|
211
|
+
// rather than its ink, and `gradient` it does not render at all. A
|
|
212
|
+
// translucent surface's contrast depends on what sits behind it, which
|
|
213
|
+
// is why that test stops where it does and why this comment does not
|
|
214
|
+
// borrow a guarantee it never made.
|
|
215
|
+
outline: `${rem(theme, FOCUS.ringWidth)} solid currentColor`,
|
|
216
|
+
outlineOffset: rem(theme, FOCUS.offset),
|
|
217
|
+
backgroundColor: alpha(theme.palette.action.focus, CLOSE_BUTTON.washAlpha)
|
|
218
|
+
}
|
|
219
|
+
}),
|
|
220
|
+
children: /* @__PURE__ */ jsx(Close, { fontSize: "inherit" })
|
|
221
|
+
}
|
|
222
|
+
);
|
|
223
|
+
function dismissButton(props, dataTestId, onClose) {
|
|
224
|
+
if (!props.closable) return null;
|
|
225
|
+
return /* @__PURE__ */ jsx(AlertCloseButton, { dataTestId, label: props.closeLabel, onClose });
|
|
226
|
+
}
|
|
227
|
+
var Alert = React.forwardRef((alertProps, ref) => {
|
|
228
|
+
const {
|
|
229
|
+
variant,
|
|
230
|
+
color,
|
|
231
|
+
glow,
|
|
232
|
+
pulse,
|
|
233
|
+
icon,
|
|
234
|
+
showIcon,
|
|
235
|
+
onClose,
|
|
236
|
+
title,
|
|
237
|
+
description,
|
|
238
|
+
children,
|
|
239
|
+
animate,
|
|
240
|
+
role: _role,
|
|
241
|
+
announce: _announce,
|
|
242
|
+
// resolved from `alertProps` — see `resolveAnnouncement`
|
|
243
|
+
"aria-atomic": ariaAtomic,
|
|
244
|
+
...others
|
|
245
|
+
} = resolveAlertProps(alertProps);
|
|
246
|
+
const dataTestId = resolveTestId(others, "alert");
|
|
247
|
+
const props = withoutAlertOnlyProps(withoutTestIdProps(others));
|
|
248
|
+
const announcement = resolveAnnouncement(alertProps, variant);
|
|
249
|
+
const [open, setOpen] = React.useState(true);
|
|
250
|
+
const [isClosing, setIsClosing] = React.useState(false);
|
|
251
|
+
const handleClose = () => {
|
|
252
|
+
setIsClosing(true);
|
|
253
|
+
window.setTimeout(() => {
|
|
254
|
+
setOpen(false);
|
|
255
|
+
onClose?.();
|
|
256
|
+
}, CLOSE_DELAY_MS);
|
|
257
|
+
};
|
|
258
|
+
const severity = toMuiSeverity(variant);
|
|
259
|
+
const displayIcon = showIcon ? /* @__PURE__ */ jsx(Box, { component: "span", "data-testid": testIdFor(dataTestId, "icon"), children: icon || getVariantIcon(variant) }) : false;
|
|
260
|
+
const content = /* @__PURE__ */ jsx(AlertContent, { title, description, dataTestId, children });
|
|
261
|
+
return /* @__PURE__ */ jsx(Collapse, { in: open && !isClosing, timeout: COLLAPSE_MS, children: /* @__PURE__ */ jsx(
|
|
262
|
+
StyledAlert,
|
|
263
|
+
{
|
|
264
|
+
ref,
|
|
265
|
+
"data-testid": dataTestId,
|
|
266
|
+
severity,
|
|
267
|
+
customVariant: variant,
|
|
268
|
+
customColor: color,
|
|
269
|
+
glow,
|
|
270
|
+
pulse,
|
|
271
|
+
animate,
|
|
272
|
+
icon: displayIcon,
|
|
273
|
+
role: announcement.role,
|
|
274
|
+
"aria-live": announcement["aria-live"],
|
|
275
|
+
"aria-atomic": ariaAtomic,
|
|
276
|
+
tabIndex: 0,
|
|
277
|
+
action: dismissButton(alertProps, dataTestId, handleClose),
|
|
278
|
+
...props,
|
|
279
|
+
children: content
|
|
280
|
+
}
|
|
281
|
+
) });
|
|
282
|
+
});
|
|
283
|
+
var ALERT_ONLY_PROPS = ["closable", "closeLabel"];
|
|
284
|
+
function withoutAlertOnlyProps(rest) {
|
|
285
|
+
const html = { ...rest };
|
|
286
|
+
for (const key of ALERT_ONLY_PROPS) delete html[key];
|
|
287
|
+
return html;
|
|
288
|
+
}
|
|
289
|
+
Alert.displayName = "Alert";
|
|
290
|
+
|
|
291
|
+
export {
|
|
292
|
+
Alert,
|
|
293
|
+
ALERT_ONLY_PROPS
|
|
294
|
+
};
|
|
295
|
+
//# sourceMappingURL=chunk-AUHYR7ID.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/data-display/Alert/Alert.tsx"],"sourcesContent":["import Close from '@mui/icons-material/Close';\nimport MuiAlert from '@mui/material/Alert/index.js';\nimport AlertTitle from '@mui/material/AlertTitle/index.js';\nimport Box from '@mui/material/Box/index.js';\nimport Collapse from '@mui/material/Collapse/index.js';\nimport IconButton from '@mui/material/IconButton/index.js';\nimport { alpha, styled } from '@mui/material/styles/index.js';\nimport type { Theme } from '@mui/material/styles/index.js';\nimport React from 'react';\n\nimport { absoluteInk, modeInk } from '../../../tokens/ink';\n\nimport { resolveAlertProps, resolveAnnouncement, testIdFor } from './Alert.helpers';\nimport type { AlertPalette } from './Alert.metrics';\nimport {\n ACTIVE,\n GLOW,\n ALERT_EASING,\n ALERT_RADIUS_UNITS,\n ALERT_TRANSITION_MS,\n CLOSE_BUTTON,\n CLOSE_DELAY_MS,\n COLLAPSE_MS,\n DESCRIPTION,\n FADE_IN,\n FOCUS,\n HOVER,\n seconds,\n TITLE,\n} from './Alert.metrics';\nimport {\n alertEmphasisStyles,\n alertLayoutStyles,\n alertVariantStyles,\n fadeInScale,\n getColorFromTheme,\n getVariantIcon,\n} from './Alert.styles';\nimport type { AlertColor } from '@mui/material/Alert/index.js';\nimport type { AlertProps } from './Alert.types';\nimport { resolveTestId, withoutTestIdProps } from '../../../platform/test-id';\nimport { rem, rems, sxRem } from '../../../tokens/relative';\n\nconst transition = `all ${seconds(ALERT_TRANSITION_MS)} ${ALERT_EASING}`;\n\n// Define animations\n/**\n * The pointer states' shadow: a flat tint, plus the glow when the alert has one.\n *\n * The tint is an inset spread at 100vmax, which always exceeds the element, so\n * it covers the surface edge to edge. It paints ABOVE the background and BELOW\n * the content, which is what keeps the ink's own contrast out of these states\n * entirely — see `ACTIVE` in `Alert.metrics.ts` for why a layer replaced the\n * opacity dip and the brightness multiplier that each preceded it.\n *\n * The glow is COMPOSED rather than replaced, so hovering a glowing alert keeps\n * its glow; `glowStyles` gave up its `!important` for this.\n */\nfunction pointerShadow(\n theme: Theme,\n colorPalette: AlertPalette,\n glow: boolean,\n variant: string | undefined,\n): (alpha_: number) => string {\n // The tint moves the surface AWAY from its own ink, which is why this reads\n // the variant and not only the mode.\n //\n // `gradient` is the one variant where the two disagree: it paints a\n // mid-lightness sweep (L* 42–61) under WHITE ink in BOTH modes, so the\n // mode-keyed answer tinted it white in dark mode — toward the text. Measured:\n // white-on-gradient fell to 2.90:1 on hover and 2.41:1 pressed, under the 3:1\n // floor and below its own idle. Every other variant's surface tracks the mode,\n // so for them the two rules agree.\n const ink = variant === 'gradient' ? absoluteInk(theme).black : modeInk(theme);\n const glowShadow = glow\n ? `0 0 ${rems(theme, GLOW.blur, GLOW.spread)} ${alpha(colorPalette.main, GLOW.alpha)}`\n : null;\n return (alpha_) =>\n [`inset 0 0 0 100vmax ${alpha(ink, alpha_)}`, glowShadow].filter(Boolean).join(', ');\n}\n\nconst StyledAlert = styled(MuiAlert, {\n shouldForwardProp: (prop) =>\n !['customVariant', 'customColor', 'glow', 'pulse', 'animate'].includes(prop as string),\n})<{\n customVariant?: string;\n customColor?: string;\n glow?: boolean;\n pulse?: boolean;\n animate?: boolean;\n}>(({ theme, customVariant, customColor, glow, pulse, animate }) => {\n const colorPalette = getColorFromTheme(theme, customColor || customVariant || 'info');\n\n const withTint = pointerShadow(theme, colorPalette, Boolean(glow), customVariant);\n\n return {\n borderRadius: theme.spacing(ALERT_RADIUS_UNITS),\n transition: `${transition}, box-shadow ${seconds(ACTIVE.ms)} ${ALERT_EASING}`,\n position: 'relative',\n overflow: 'hidden',\n animation: animate ? `${fadeInScale(theme)} ${seconds(FADE_IN.ms)} ease-out` : 'none',\n willChange: 'transform, opacity',\n\n ...alertLayoutStyles(theme, colorPalette, animate),\n\n // Hover: one tint step, and nothing that moves. An alert is a surface\n // rather than a control, so the pointer only needs telling it is here. The\n // icon keeps its own place for the same reason — it is the variant's\n // meaning, not an affordance to animate.\n '&:hover': {\n boxShadow: withTint(HOVER.tintAlpha),\n\n '&::before': {\n opacity: 1,\n },\n },\n\n // Press: a 20% tint, landing at once and easing back. Still no geometry.\n //\n // `transition: none` here is what makes the dip INSTANT: a click's\n // `:active` lasts about as long as the finger is down, so easing into it\n // would be cut off in its first tenth and read as a flicker. The ease is on\n // the way back, governed by the root.\n //\n // Neither `:hover` nor `:focus-visible` may declare `transition`, and that\n // is not a style preference. `:active` under a mouse ALWAYS implies\n // `:hover`, so a bare shorthand in the hover block outranks the root's\n // (0,2,0 beats 0,1,0) and silently resets the timing this state rests on.\n //\n // The `:not(:has(…))` names CONTROLS, not any descendant. `:active`\n // matches an ancestor of whatever is pressed, so dismissing an alert\n // dimmed the alert being dismissed and pressing a call to action dimmed\n // the message explaining it. Excluding `:has(:active)` wholesale does not\n // work and was the first attempt: pressing the TEXT makes that text\n // `:active` too, so the guard matched on every press and the state never\n // fired at all.\n '&:active:not(:has(button:active, a:active, [role=\"button\"]:active))': {\n boxShadow: withTint(ACTIVE.tintAlpha),\n transition: 'none',\n },\n\n // Focus: `:focus-visible`, not `:focus-within`.\n //\n // The alert carries `tabIndex={0}`, so a MOUSE CLICK focused it and painted\n // the ring — a keyboard affordance answering a pointer, which is what made\n // clicking one look like an error state. `:focus-visible` is the browser's\n // own answer to \"did this focus come from the keyboard\": the ring stays for\n // whoever tabs here and never fires on a click.\n //\n // One ring, not three. It was a 3px outline at 3px offset UNDER a 6px halo,\n // and stacking two rings on one edge is what read as unfinished rather than\n // as emphasis.\n // It declares no `transition`: `outline-style` is discrete, so the ring\n // arrives at full width with only its COLOUR easing — from `currentcolor`,\n // the near-black alert ink, to the blue. That is a visible dark flash on\n // every keyboard focus, and it would also outrank the root's opacity\n // transition the way the hover block did.\n '&:focus-visible': {\n outline: `${rem(theme, FOCUS.ringWidth)} solid ${alpha(colorPalette.main, FOCUS.ringAlpha)}`,\n outlineOffset: rem(theme, FOCUS.offset),\n },\n\n ...alertVariantStyles(theme, customVariant, colorPalette),\n ...alertEmphasisStyles(theme, colorPalette, Boolean(glow), Boolean(pulse)),\n };\n});\n\n// glass and gradient are our own looks with no MUI severity of their own; both\n// borrow info's. danger is MUI's error.\nconst MUI_SEVERITY: Record<string, AlertColor> = {\n danger: 'error',\n glass: 'info',\n gradient: 'info',\n};\n\nconst toMuiSeverity = (variant: string): AlertColor =>\n MUI_SEVERITY[variant] ?? (variant as AlertColor);\n\nconst AlertContent: React.FC<{\n title?: AlertProps['title'];\n description?: AlertProps['description'];\n dataTestId?: string;\n children?: React.ReactNode;\n}> = ({ title, description, dataTestId, children }) => (\n <>\n {title && (\n <AlertTitle\n data-testid={testIdFor(dataTestId, 'title')}\n sx={{\n fontWeight: TITLE.fontWeight,\n fontSize: sxRem(TITLE.fontSize),\n marginBottom: description ? TITLE.marginBottomUnits : 0,\n wordWrap: 'break-word',\n overflowWrap: 'break-word',\n wordBreak: 'break-word',\n }}\n >\n {title}\n </AlertTitle>\n )}\n {description && (\n <Box\n component=\"div\"\n data-testid={testIdFor(dataTestId, 'message')}\n sx={{\n opacity: DESCRIPTION.opacity,\n fontSize: sxRem(DESCRIPTION.fontSize),\n wordWrap: 'break-word',\n overflowWrap: 'break-word',\n wordBreak: 'break-word',\n }}\n >\n {description}\n </Box>\n )}\n {children}\n </>\n);\n\nconst AlertCloseButton: React.FC<{ dataTestId?: string; label: string; onClose: () => void }> = ({\n dataTestId,\n label,\n onClose,\n}) => (\n <IconButton\n data-testid={testIdFor(dataTestId, 'close')}\n aria-label={label}\n color=\"inherit\"\n size=\"small\"\n onClick={onClose}\n sx={(theme) => ({\n transition,\n opacity: CLOSE_BUTTON.opacity,\n // Opacity and a wash only: the button used to spin 90deg and grow 1.1,\n // which drew the eye to the dismiss rather than to the message.\n '&:hover': {\n opacity: 1,\n backgroundColor: alpha(theme.palette.action.hover, CLOSE_BUTTON.washAlpha),\n },\n // A REAL ring, on the keyboard-only selector.\n //\n // This used to be `&:focus` setting `outline: 'none'` over a\n // `rgba(0,0,0,0.1)` wash — 1.25:1 against the info surface, and MUI's\n // ButtonBase already sets `outline: 0`, so there was no UA fallback\n // either. It went unnoticed while the ROOT still matched `:focus-within`\n // and drew a ring around the whole alert; moving the root to\n // `:focus-visible` took that away and left this button with no visible\n // focus at all. `Banner`'s dismiss already draws its own outline, so\n // this is also what keeps the two surfaces telling a keyboard user the\n // same thing.\n '&:focus-visible': {\n opacity: 1,\n // `currentColor` is the alert's own ink, inherited through\n // `color=\"inherit\"`, so the ring is drawn in whatever colour was\n // already chosen to be READ on this surface. Measured 11.2:1 on the\n // semantic variants and 5.7:1 on `gradient`.\n //\n // That is a reasoned choice, not a test-backed one, and the difference\n // matters: `alert-contrast.test.tsx` covers the ink of the four\n // semantic variants only — its `glass` case asserts the pane's alpha\n // rather than its ink, and `gradient` it does not render at all. A\n // translucent surface's contrast depends on what sits behind it, which\n // is why that test stops where it does and why this comment does not\n // borrow a guarantee it never made.\n outline: `${rem(theme, FOCUS.ringWidth)} solid currentColor`,\n outlineOffset: rem(theme, FOCUS.offset),\n backgroundColor: alpha(theme.palette.action.focus, CLOSE_BUTTON.washAlpha),\n },\n })}\n >\n <Close fontSize=\"inherit\" />\n </IconButton>\n);\n\n/**\n * The dismiss button, or nothing.\n *\n * Reads `closeLabel` straight off the props rather than through the\n * `definedProps` merge, which would widen it to `string | undefined` and hand\n * the button an empty name. The UNION in `AlertProps` guarantees the label\n * wherever `closable` is true — that narrowing is gone inside the component,\n * which is why the fallback below exists and why it is unreachable.\n */\nfunction dismissButton(\n props: AlertProps,\n dataTestId: string | undefined,\n onClose: () => void,\n): React.JSX.Element | null {\n if (!props.closable) return null;\n return <AlertCloseButton dataTestId={dataTestId} label={props.closeLabel} onClose={onClose} />;\n}\n\nexport const Alert = React.forwardRef<HTMLDivElement, AlertProps>((alertProps, ref) => {\n const {\n variant,\n color,\n glow,\n pulse,\n icon,\n showIcon,\n onClose,\n title,\n description,\n children,\n animate,\n role: _role, announce: _announce, // resolved from `alertProps` — see `resolveAnnouncement`\n 'aria-atomic': ariaAtomic,\n ...others\n } = resolveAlertProps(alertProps);\n\n // Every spelling of the test id the shared contract allows, mapped to the\n // one the DOM reads and defaulted to `alert`; the native Alert does the same.\n const dataTestId = resolveTestId(others, 'alert');\n // Then the dismiss union, which `dismissButton` reads off `alertProps` rather\n // than through this destructure — so without this strip it rides `...props`\n // onto the DOM. `ALERT_DEFAULTS` supplies `closable: false`, so that happened\n // on EVERY alert, not only the closable ones.\n const props = withoutAlertOnlyProps(withoutTestIdProps(others));\n\n // Depends on `variant`, so it cannot live in the static defaults above.\n const announcement = resolveAnnouncement(alertProps, variant);\n const [open, setOpen] = React.useState(true);\n const [isClosing, setIsClosing] = React.useState(false);\n\n const handleClose = () => {\n setIsClosing(true);\n window.setTimeout(() => {\n setOpen(false);\n onClose?.();\n }, CLOSE_DELAY_MS);\n };\n\n const severity = toMuiSeverity(variant);\n\n const displayIcon = showIcon ? (\n <Box component=\"span\" data-testid={testIdFor(dataTestId, 'icon')}>\n {icon || getVariantIcon(variant)}\n </Box>\n ) : (\n false\n );\n\n const content = (\n <AlertContent title={title} description={description} dataTestId={dataTestId}>\n {children}\n </AlertContent>\n );\n\n return (\n <Collapse in={open && !isClosing} timeout={COLLAPSE_MS}>\n <StyledAlert\n ref={ref}\n data-testid={dataTestId}\n severity={severity}\n customVariant={variant}\n customColor={color}\n glow={glow}\n pulse={pulse}\n animate={animate}\n icon={displayIcon}\n role={announcement.role}\n aria-live={announcement['aria-live']}\n aria-atomic={ariaAtomic}\n tabIndex={0}\n action={dismissButton(alertProps, dataTestId, handleClose)}\n {...props}\n >\n {content}\n </StyledAlert>\n </Collapse>\n );\n});\n\n/**\n * The props `Alert` OWNS, which must never reach the DOM.\n *\n * `AlertProps` extends MUI's, whose rest-spread is how a host's real HTML\n * attributes get onto the root — so the same spread carries the alert's own\n * configuration unless it is named here. Everything else the component consumes\n * leaves through the destructure above; these two do not, because\n * `dismissButton` reads them off the original props to keep the dismiss union's\n * narrowing intact.\n *\n * Exported so a test can render an alert carrying every name on it and assert\n * none reaches the DOM — the check that would have caught `closable`.\n */\nexport const ALERT_ONLY_PROPS = ['closable', 'closeLabel'] as const;\n\nfunction withoutAlertOnlyProps<P extends object>(rest: P): P {\n const html = { ...rest } as Record<string, unknown>;\n for (const key of ALERT_ONLY_PROPS) delete html[key];\n return html as P;\n}\n\nAlert.displayName = 'Alert';\n"],"mappings":"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","names":[]}
|