@12-apps/ui 6.86.1 → 6.87.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/NATIVE.md +1 -1
- package/components-catalog.md +16 -2
- package/dist/_internal/components/data-display/Alert/Alert.js +3 -3
- package/dist/_internal/components/data-display/AlertDialog/AlertDialog.js +3 -3
- package/dist/_internal/components/data-display/AlertDialog/AlertDialog.parts.js +2 -2
- package/dist/_internal/components/data-display/AsyncStateContainer/AsyncStateContainer.js +8 -8
- package/dist/_internal/components/data-display/Avatar/Avatar.js +4 -4
- package/dist/_internal/components/data-display/Avatar/Avatar.view.js +2 -2
- package/dist/_internal/components/data-display/Badge/Badge.js +1 -1
- package/dist/_internal/components/data-display/Badge/Badge.styles.js +1 -1
- package/dist/_internal/components/data-display/Badge/BadgeContent.js +1 -1
- package/dist/_internal/components/data-display/CardKit/CardKebab.js +3 -3
- package/dist/_internal/components/data-display/CardKit/card-actions-context.js +4 -4
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +14 -14
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +10 -10
- package/dist/_internal/components/data-display/Carousel/Carousel.chrome.js +1 -1
- package/dist/_internal/components/data-display/Carousel/Carousel.js +5 -5
- package/dist/_internal/components/data-display/Carousel/Carousel.parts.js +1 -1
- package/dist/_internal/components/data-display/Carousel/Carousel.styles.js +1 -1
- package/dist/_internal/components/data-display/Chart/Chart.js +4 -4
- package/dist/_internal/components/data-display/Chart/SpecChart.js +8 -8
- package/dist/_internal/components/data-display/Chart/chart-context.js +1 -1
- package/dist/_internal/components/data-display/Chart/chart-internals.js +1 -1
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +3 -3
- package/dist/_internal/components/data-display/Chart/chart-spec.js +2 -2
- package/dist/_internal/components/data-display/DataGrid/DataGrid.js +2 -2
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +59 -59
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +81 -81
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +5 -5
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +11 -11
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +9 -9
- package/dist/_internal/components/data-display/DataViews/base-card.js +3 -3
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +1 -1
- package/dist/_internal/components/data-display/DataViews/base-list-card-layout.js +1 -1
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-card-body.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +16 -16
- package/dist/_internal/components/data-display/DataViews/data-views-columns.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-empty.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-export.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +25 -25
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +8 -8
- package/dist/_internal/components/data-display/DataViews/data-views-grid-helpers.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +54 -54
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +29 -29
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +24 -24
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +27 -27
- package/dist/_internal/components/data-display/DataViews/data-views-pagination.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-select-all-strip.js +3 -3
- 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 +25 -25
- 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 +3 -3
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +6 -6
- package/dist/_internal/components/data-display/DayRuler/DayRuler.js +33 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.keyboard.js +12 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.keyboard.js.map +1 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.metrics.js +8 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.metrics.js.map +1 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.parts.js +30 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.parts.js.map +1 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.styles.js +54 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.styles.js.map +1 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.types.js +1 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.types.js.map +1 -0
- package/dist/_internal/components/data-display/DayRuler/day-ruler-model.js +26 -0
- package/dist/_internal/components/data-display/DayRuler/day-ruler-model.js.map +1 -0
- package/dist/_internal/components/data-display/DayRuler/useRulerDrag.js +11 -0
- package/dist/_internal/components/data-display/DayRuler/useRulerDrag.js.map +1 -0
- package/dist/_internal/components/data-display/DayRuler/useTextFits.js +8 -0
- package/dist/_internal/components/data-display/DayRuler/useTextFits.js.map +1 -0
- package/dist/_internal/components/data-display/EmptyState/EmptyState.js +2 -2
- package/dist/_internal/components/data-display/ErrorState/ErrorState.js +2 -2
- package/dist/_internal/components/data-display/FleetMap/FleetBody.js +15 -15
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +9 -9
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +21 -21
- package/dist/_internal/components/data-display/FleetMap/FleetRoster.js +3 -3
- package/dist/_internal/components/data-display/HoverCard/HoverCard.js +3 -3
- package/dist/_internal/components/data-display/LazyImage/LazyImage.js +4 -4
- package/dist/_internal/components/data-display/Lightbox/Lightbox.js +7 -7
- package/dist/_internal/components/data-display/Lightbox/LightboxControls.js +2 -2
- package/dist/_internal/components/data-display/Lightbox/LightboxOverlay.js +3 -3
- package/dist/_internal/components/data-display/Lightbox/LightboxThumbnails.js +2 -2
- package/dist/_internal/components/data-display/LoadingState/LoadingState.js +5 -5
- package/dist/_internal/components/data-display/MapPreview/MapLayers.js +3 -3
- package/dist/_internal/components/data-display/MapPreview/MapMarkers.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +8 -8
- package/dist/_internal/components/data-display/RegionMap/RegionMap.js +5 -5
- package/dist/_internal/components/data-display/RegionMap/RegionMapDrawing.js +2 -2
- package/dist/_internal/components/data-display/RegionMap/RegionMapList.js +1 -1
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.js +30 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.js.map +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.keyboard.js +11 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.keyboard.js.map +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.metrics.js +10 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.metrics.js.map +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.parts.js +25 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.parts.js.map +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.styles.js +59 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.styles.js.map +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.types.js +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.types.js.map +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleNameCell.js +18 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleNameCell.js.map +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/drag-session.js +10 -0
- package/dist/_internal/components/data-display/ScheduleGrid/drag-session.js.map +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/schedule-grid-model.js +18 -0
- package/dist/_internal/components/data-display/ScheduleGrid/schedule-grid-model.js.map +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/schedule-name.styles.js +25 -0
- package/dist/_internal/components/data-display/ScheduleGrid/schedule-name.styles.js.map +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/schedule-tones.js +26 -0
- package/dist/_internal/components/data-display/ScheduleGrid/schedule-tones.js.map +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/useAnnouncer.js +8 -0
- package/dist/_internal/components/data-display/ScheduleGrid/useAnnouncer.js.map +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/useGridDrag.js +10 -0
- package/dist/_internal/components/data-display/ScheduleGrid/useGridDrag.js.map +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/useSidewaysScroll.js +9 -0
- package/dist/_internal/components/data-display/ScheduleGrid/useSidewaysScroll.js.map +1 -0
- package/dist/_internal/components/data-display/SectionOnboarding/SectionOnboarding.js +4 -4
- package/dist/_internal/components/data-display/Sheet/Sheet.body.js +4 -4
- package/dist/_internal/components/data-display/Sheet/Sheet.hooks.js +2 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.js +7 -7
- package/dist/_internal/components/data-display/Sheet/Sheet.parts.js +2 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.styles.js +1 -1
- package/dist/_internal/components/data-display/StatCard/StatCard.js +3 -3
- package/dist/_internal/components/data-display/Stepper/Stepper.js +2 -2
- package/dist/_internal/components/data-display/Table/Table.js +4 -4
- package/dist/_internal/components/data-display/Table/TableParts.hooks.js +2 -2
- package/dist/_internal/components/data-display/Table/TableParts.js +2 -2
- package/dist/_internal/components/data-display/Timeline/Timeline.js +2 -2
- package/dist/_internal/components/data-display/index.js +152 -123
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmAction.js +5 -5
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmAction.parts.js +4 -4
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmButton.js +8 -8
- package/dist/_internal/components/feedback/ConfirmAction/with-confirmation.js +5 -5
- package/dist/_internal/components/feedback/Dialog/Dialog.js +2 -2
- package/dist/_internal/components/feedback/Modal/Modal.js +2 -2
- package/dist/_internal/components/feedback/NotificationStatusNotice/NotificationStatusNotice.js +6 -6
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.header.js +38 -0
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.header.js.map +1 -0
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.header.styles.js +14 -0
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.header.styles.js.map +1 -0
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.js +16 -13
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.metrics.js +1 -1
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.overview.js +40 -0
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.overview.js.map +1 -0
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.parts.js +8 -15
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.styles.js +10 -2
- package/dist/_internal/components/feedback/SequenceResolver/sequence-model.js +7 -1
- package/dist/_internal/components/feedback/SequenceResolver/useSequenceRun.js +2 -2
- package/dist/_internal/components/feedback/Sonner/Sonner.js +2 -2
- package/dist/_internal/components/feedback/StackedModal/StackedModal.js +4 -4
- package/dist/_internal/components/feedback/StackedModal/StackedModal.parts.js +2 -2
- package/dist/_internal/components/feedback/Toast/Toast.js +2 -2
- package/dist/_internal/components/feedback/TutorialOverlay/TutorialOverlay.js +2 -2
- package/dist/_internal/components/feedback/index.js +49 -46
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.js +5 -5
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocompleteField.js +3 -3
- package/dist/_internal/components/form/AddressAutocomplete/AddressSuggestionsPaper.js +1 -1
- package/dist/_internal/components/form/Autocomplete/Autocomplete.js +2 -2
- package/dist/_internal/components/form/Button/Button.js +2 -2
- package/dist/_internal/components/form/Calendar/Calendar.band.js +18 -0
- package/dist/_internal/components/form/Calendar/Calendar.band.js.map +1 -0
- package/dist/_internal/components/form/Calendar/Calendar.js +10 -8
- package/dist/_internal/components/form/Calendar/CalendarDay.js +4 -1
- package/dist/_internal/components/form/Calendar/CalendarDayCell.js +4 -2
- package/dist/_internal/components/form/Calendar/CalendarMonth.js +5 -3
- package/dist/_internal/components/form/Calendar/CalendarSelectorsMonth.js +8 -6
- package/dist/_internal/components/form/CategorySelect/CategoryPanel.js +5 -5
- package/dist/_internal/components/form/CategorySelect/CategoryPanelList.js +3 -3
- package/dist/_internal/components/form/CategorySelect/CategoryRows.js +2 -2
- package/dist/_internal/components/form/CategorySelect/CategorySelect.js +9 -9
- package/dist/_internal/components/form/Command/Command.hooks.js +2 -2
- package/dist/_internal/components/form/Command/Command.js +6 -6
- package/dist/_internal/components/form/Command/Command.parts.js +2 -2
- package/dist/_internal/components/form/Command/Command.styles.js +1 -1
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.hooks.js +3 -3
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +15 -14
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.range.js +2 -2
- package/dist/_internal/components/form/DateRangePicker/DateRangePickerFields.js +3 -3
- package/dist/_internal/components/form/Label/Label.js +1 -1
- package/dist/_internal/components/form/Label/Label.styles.js +1 -1
- package/dist/_internal/components/form/Menubar/Menubar.item.js +1 -1
- package/dist/_internal/components/form/Menubar/Menubar.js +5 -5
- package/dist/_internal/components/form/Menubar/Menubar.styles.js +1 -1
- package/dist/_internal/components/form/Menubar/Menubar.toolbar.js +3 -3
- package/dist/_internal/components/form/PickerSheet/PickerSheet.js +4 -4
- package/dist/_internal/components/form/RichTextEditor/RichTextEditor.dom.js +2 -2
- package/dist/_internal/components/form/RichTextEditor/RichTextEditor.format.js +3 -3
- package/dist/_internal/components/form/RichTextEditor/RichTextEditor.hooks.js +4 -4
- package/dist/_internal/components/form/RichTextEditor/RichTextEditor.js +5 -5
- package/dist/_internal/components/form/Switch/Switch.js +4 -4
- package/dist/_internal/components/form/Switch/Switch.parts.js +3 -3
- package/dist/_internal/components/form/Switch/Switch.styles.js +2 -2
- package/dist/_internal/components/form/index.js +89 -88
- package/dist/_internal/components/form/total-form/Fields/CategoryField.js +10 -10
- package/dist/_internal/components/form/total-form/Fields/index.js +17 -17
- package/dist/_internal/components/form/total-form/FormErrorSnackbar.js +3 -3
- package/dist/_internal/components/form/total-form/SubmitButton.js +3 -3
- package/dist/_internal/components/index.js +372 -339
- package/dist/_internal/components/layout/Box/Box.js +1 -1
- package/dist/_internal/components/layout/Card/Card.js +2 -2
- package/dist/_internal/components/layout/ContentToolbar/ColumnsMenu.js +2 -2
- package/dist/_internal/components/layout/ContentToolbar/FilterTrigger.js +3 -3
- package/dist/_internal/components/layout/ContentToolbar/MultiSelectDropdown.js +2 -2
- package/dist/_internal/components/layout/ContentToolbar/ViewSelector.js +2 -2
- package/dist/_internal/components/layout/Dashboard/Dashboard.js +2 -2
- package/dist/_internal/components/layout/Drawer/Drawer.js +2 -2
- package/dist/_internal/components/layout/Screen/Screen.js +1 -1
- package/dist/_internal/components/layout/ScrollArea/ScrollArea.js +3 -3
- package/dist/_internal/components/layout/SettingCard/SettingCard.js +6 -6
- package/dist/_internal/components/layout/SettingCard/SettingCard.parts.js +4 -4
- package/dist/_internal/components/layout/SettingCard/SettingCard.summary.js +5 -5
- package/dist/_internal/components/layout/SettingCard/SettingGrid.js +5 -5
- package/dist/_internal/components/layout/SettingCard/SettingGroup.js +12 -12
- package/dist/_internal/components/layout/SettingCard/SettingSwitch.js +11 -11
- package/dist/_internal/components/layout/SettingCard/SettingToggle.js +12 -12
- package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.js +7 -7
- package/dist/_internal/components/layout/SettingsLayout/SettingsPanel.js +4 -4
- package/dist/_internal/components/layout/SettingsLayout/SettingsSectionChips.js +2 -2
- package/dist/_internal/components/layout/Skeleton/Skeleton.js +2 -2
- package/dist/_internal/components/layout/Stack/Stack.js +1 -1
- package/dist/_internal/components/layout/TableFilter/TableFilter.js +2 -2
- package/dist/_internal/components/layout/index.js +65 -65
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +11 -11
- package/dist/_internal/components/navigation/AppHeader/AppHeader.identity.js +3 -3
- package/dist/_internal/components/navigation/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/_internal/components/navigation/CommandPalette/CommandPalette.helpers.js +2 -2
- package/dist/_internal/components/navigation/CommandPalette/CommandPalette.hooks.js +3 -3
- package/dist/_internal/components/navigation/CommandPalette/CommandPalette.js +5 -5
- package/dist/_internal/components/navigation/CommandPalette/CommandPaletteResults.js +2 -2
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMegaSection.js +3 -3
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenu.js +6 -6
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenuItem.js +2 -2
- package/dist/_internal/components/navigation/NavigationMenu/NavigationStandardBody.js +4 -4
- package/dist/_internal/components/navigation/Pagination/Pagination.js +2 -2
- package/dist/_internal/components/navigation/SectionNav/SectionNav.bar.js +5 -5
- package/dist/_internal/components/navigation/SectionNav/SectionNav.js +6 -6
- package/dist/_internal/components/navigation/SectionNav/SectionNav.parts.js +1 -1
- package/dist/_internal/components/navigation/SectionNav/SectionNav.primary.js +1 -1
- package/dist/_internal/components/navigation/SectionNav/SectionNav.rail.js +1 -1
- package/dist/_internal/components/navigation/SectionNav/SectionNav.railCreate.js +1 -1
- package/dist/_internal/components/navigation/SectionNav/SectionNav.sheet.js +4 -4
- package/dist/_internal/components/navigation/SectionNav/__stories__/fixtures.js +1 -1
- package/dist/_internal/components/navigation/index.js +43 -43
- package/dist/_internal/components/typography/Code/Code.js +2 -2
- package/dist/_internal/components/typography/index.js +6 -6
- package/dist/_internal/components/utility/AnimatedIcon/AnimatedIcon.js +2 -2
- package/dist/_internal/components/utility/InfiniteScroll/InfiniteScroll.js +3 -3
- package/dist/_internal/components/utility/InfiniteScroll/InfiniteScroll.parts.js +2 -2
- package/dist/_internal/components/utility/InstallPrompt/InstallPrompt.js +2 -2
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.helpers.js +3 -3
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.js +6 -6
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.parts.js +4 -4
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStepRow.js +5 -5
- package/dist/_internal/components/utility/index.js +23 -23
- package/dist/_internal/en-US.labels.js +1 -1
- package/dist/_internal/en-US.navigation.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/pt-BR.labels.js +1 -1
- package/dist/_internal/pt-BR.navigation.js +1 -1
- package/dist/_internal/social-login-button/social-login-button.js +6 -6
- package/dist/_internal/user-avatar/user-avatar.js +9 -9
- package/dist/charts.js +18 -18
- package/dist/{chunk-DYRZRY2T.js → chunk-2CRNOJGL.js} +7 -7
- package/dist/{chunk-L5KPBMMF.js → chunk-2ENMRK3U.js} +2 -2
- package/dist/{chunk-FZEDQNUN.js → chunk-2KBATUOZ.js} +4 -4
- package/dist/{chunk-33AVAYCR.js → chunk-2L6TANRY.js} +5 -5
- package/dist/{chunk-ENJOBJPK.js → chunk-2MT6VSS2.js} +2 -2
- package/dist/{chunk-VKTF3GAP.js → chunk-2MYSXWZQ.js} +9 -9
- package/dist/{chunk-CHP3QIS3.js → chunk-2ORD2FMN.js} +37 -3
- package/dist/{chunk-CHP3QIS3.js.map → chunk-2ORD2FMN.js.map} +1 -1
- package/dist/{chunk-7QKFMMWK.js → chunk-2Q2DUGH7.js} +2 -2
- package/dist/chunk-2SRWPNQ7.js +60 -0
- package/dist/chunk-2SRWPNQ7.js.map +1 -0
- package/dist/{chunk-VQ6V5TO7.js → chunk-2UNZG4JK.js} +3 -3
- package/dist/chunk-35HMJQLO.js +26 -0
- package/dist/chunk-35HMJQLO.js.map +1 -0
- package/dist/{chunk-Q7XLTN2D.js → chunk-3B4NXP4N.js} +4 -4
- package/dist/{chunk-UT545JBQ.js → chunk-3EIRRLCQ.js} +2 -2
- package/dist/{chunk-MSJP2AEN.js → chunk-3EKY63LD.js} +2 -2
- package/dist/{chunk-B32554CQ.js → chunk-3KMP2F4R.js} +18 -18
- package/dist/chunk-3R6BR22L.js +72 -0
- package/dist/chunk-3R6BR22L.js.map +1 -0
- package/dist/{chunk-D3W5A4N6.js → chunk-3STNOYYO.js} +3 -3
- package/dist/{chunk-TVDHA7BT.js → chunk-3Y6NO5XL.js} +8 -8
- package/dist/{chunk-ABQZFK7M.js → chunk-44PBCQ7E.js} +6 -6
- package/dist/chunk-4HK4FVMV.js +106 -0
- package/dist/chunk-4HK4FVMV.js.map +1 -0
- package/dist/{chunk-VYQZ5U3N.js → chunk-4NG3LTRX.js} +2 -2
- package/dist/{chunk-PGHSNG33.js → chunk-4PZZJ2AE.js} +5 -5
- package/dist/{chunk-TRAMTVIO.js → chunk-4QTPERAY.js} +2 -2
- package/dist/{chunk-W2RXXF7K.js → chunk-4XBAEKQQ.js} +4 -4
- package/dist/{chunk-KR4TN3OF.js → chunk-4ZQQUICR.js} +2 -2
- package/dist/{chunk-XCUHGPPZ.js → chunk-55PFFAAY.js} +2 -2
- package/dist/{chunk-LYVTJLCF.js → chunk-56JF5PZK.js} +4 -4
- package/dist/{chunk-XOXXG7Q5.js → chunk-57FIUJJJ.js} +18 -1
- package/dist/chunk-57FIUJJJ.js.map +1 -0
- package/dist/{chunk-IYDXKLCE.js → chunk-5BVAUUWL.js} +5 -5
- package/dist/{chunk-6OISIUZM.js → chunk-5F7HYYGM.js} +2 -2
- package/dist/{chunk-TMUGBHHG.js → chunk-5QUH53HV.js} +6 -6
- package/dist/{chunk-DAFFZED3.js → chunk-5YVMFK7Y.js} +2 -2
- package/dist/{chunk-TI4FGQYV.js → chunk-62PTREG5.js} +2 -2
- package/dist/{chunk-3DPPDGOF.js → chunk-62SXUU5U.js} +5 -5
- package/dist/{chunk-BP3ZKIPE.js → chunk-64UNVW6D.js} +4 -4
- package/dist/{chunk-SSCEX5NY.js → chunk-656DBMWT.js} +3 -2
- package/dist/{chunk-SSCEX5NY.js.map → chunk-656DBMWT.js.map} +1 -1
- package/dist/{chunk-QADTI63U.js → chunk-6ATXOJVQ.js} +4 -4
- package/dist/{chunk-7W5X3KQ2.js → chunk-6BQ3YKLD.js} +2 -2
- package/dist/chunk-6D5AMANO.js +50 -0
- package/dist/chunk-6D5AMANO.js.map +1 -0
- package/dist/{chunk-VPH3TENY.js → chunk-6DGNMASB.js} +2 -2
- package/dist/chunk-6HZYRKOB.js +94 -0
- package/dist/chunk-6HZYRKOB.js.map +1 -0
- package/dist/{chunk-NOF2FF4K.js → chunk-7CPLKAL6.js} +4 -4
- package/dist/{chunk-ABRVOPC2.js → chunk-7FFY4LJY.js} +2 -2
- package/dist/{chunk-DVX4HDNP.js → chunk-7IBFGOLF.js} +3 -3
- package/dist/chunk-7RXL4ONS.js +1 -0
- package/dist/chunk-7RXL4ONS.js.map +1 -0
- package/dist/{chunk-EOQ6EKTS.js → chunk-7XSCEHGA.js} +7 -7
- package/dist/{chunk-QCYQL3ST.js → chunk-7XUQJJPK.js} +2 -2
- package/dist/chunk-7ZQ3KQ7J.js +49 -0
- package/dist/chunk-7ZQ3KQ7J.js.map +1 -0
- package/dist/{chunk-7VUXSNVZ.js → chunk-A4B27HYU.js} +2 -2
- package/dist/chunk-AC7K7IJE.js +28 -0
- package/dist/chunk-AC7K7IJE.js.map +1 -0
- package/dist/{chunk-EOIRU62W.js → chunk-AD6GRJFV.js} +3 -3
- package/dist/{chunk-CAOL4AIB.js → chunk-AEAVVKGY.js} +2 -2
- package/dist/{chunk-HHPFWEJY.js → chunk-ALDS5ISD.js} +14 -2
- package/dist/chunk-ALDS5ISD.js.map +1 -0
- package/dist/{chunk-HI7JPDD6.js → chunk-AMLHEKSV.js} +5 -5
- package/dist/{chunk-UTUYXH72.js → chunk-AN37BIIO.js} +9 -9
- package/dist/{chunk-ABVIMFSD.js → chunk-AWUB3T7C.js} +2 -2
- package/dist/{chunk-ALOEOGQV.js → chunk-AXGQB24R.js} +2 -2
- package/dist/chunk-B3SL5FP2.js +94 -0
- package/dist/chunk-B3SL5FP2.js.map +1 -0
- package/dist/{chunk-ZO2GZRZS.js → chunk-B5SBDLRS.js} +3 -3
- package/dist/{chunk-CARUHKZW.js → chunk-B7GGLFJB.js} +8 -8
- package/dist/{chunk-C347NNZJ.js → chunk-B7ZAEZJW.js} +2 -2
- package/dist/chunk-BK3YLYL6.js +62 -0
- package/dist/chunk-BK3YLYL6.js.map +1 -0
- package/dist/{chunk-WXZCNHBX.js → chunk-BQBEN44R.js} +19 -65
- package/dist/chunk-BQBEN44R.js.map +1 -0
- package/dist/{chunk-GANJRIT3.js → chunk-C3MXURP3.js} +2 -2
- package/dist/{chunk-7YJYIMWP.js → chunk-CTN4BRAH.js} +3 -3
- package/dist/{chunk-ZANWHTXH.js → chunk-CVB26LLB.js} +2 -2
- package/dist/{chunk-PGYYDSNX.js → chunk-CW5Z67NA.js} +2 -2
- package/dist/{chunk-CY4XIZNW.js → chunk-D3B4V44W.js} +2 -2
- package/dist/{chunk-U2DRE36S.js → chunk-D3SIZ2CX.js} +9 -9
- package/dist/chunk-D6JKCCRQ.js +120 -0
- package/dist/chunk-D6JKCCRQ.js.map +1 -0
- package/dist/chunk-DJNKSDQH.js +1 -0
- package/dist/chunk-DJNKSDQH.js.map +1 -0
- package/dist/{chunk-YGLAGY74.js → chunk-DM57YWZH.js} +2 -2
- package/dist/{chunk-NASLJO2R.js → chunk-DRJGHTQU.js} +2 -2
- package/dist/{chunk-BLZDSCIZ.js → chunk-DYHOBKPU.js} +6 -6
- package/dist/{chunk-FCLON3MO.js → chunk-EE6DJPB7.js} +6 -6
- package/dist/chunk-EEK2NK4W.js +281 -0
- package/dist/chunk-EEK2NK4W.js.map +1 -0
- package/dist/{chunk-ANUO67JQ.js → chunk-EIMFA7KP.js} +2 -2
- package/dist/{chunk-C5RQBTRZ.js → chunk-EIOGJBJ5.js} +25 -5
- package/dist/chunk-EIOGJBJ5.js.map +1 -0
- package/dist/{chunk-AKE6KVQG.js → chunk-EVIQUBC6.js} +4 -4
- package/dist/{chunk-A5CKUJP2.js → chunk-EXKEPOL7.js} +7 -7
- package/dist/{chunk-ULAZDF6D.js → chunk-FF22F7FA.js} +2 -2
- package/dist/{chunk-LIN4A2BW.js → chunk-FKS2PNJF.js} +9 -9
- package/dist/{chunk-ZYZPSBNQ.js → chunk-G3G5W4OF.js} +3 -3
- package/dist/{chunk-N5OEDOJT.js → chunk-GBB23QLL.js} +3 -3
- package/dist/{chunk-KTXJQ4YJ.js → chunk-GBVNY2LG.js} +6 -6
- package/dist/{chunk-MW7P2C2C.js → chunk-GCR6VE5S.js} +2 -2
- package/dist/{chunk-KYTFGW4R.js → chunk-GMIMHQ6H.js} +2 -2
- package/dist/chunk-GONPUJIE.js +92 -0
- package/dist/chunk-GONPUJIE.js.map +1 -0
- package/dist/{chunk-KRPDBVUB.js → chunk-GS3QDXDP.js} +4 -4
- package/dist/chunk-H2UUMZQR.js +74 -0
- package/dist/chunk-H2UUMZQR.js.map +1 -0
- package/dist/{chunk-WNNA6YYE.js → chunk-H5R2EZYI.js} +4 -4
- package/dist/{chunk-JZQYVGPV.js → chunk-HED2CZDZ.js} +4 -4
- package/dist/{chunk-JVOEVTCZ.js → chunk-HQCZT6TO.js} +5 -5
- package/dist/{chunk-67ADHGA2.js → chunk-HWJ3FLZY.js} +6 -6
- package/dist/{chunk-Z445LLFN.js → chunk-I44XL4Z4.js} +7 -6
- package/dist/chunk-I44XL4Z4.js.map +1 -0
- package/dist/{chunk-LXIPBHNJ.js → chunk-I5SIHPOG.js} +2 -2
- package/dist/{chunk-NCI74EOS.js → chunk-I62SKY4E.js} +7 -7
- package/dist/{chunk-GOQOVKUZ.js → chunk-I6CP3ZTP.js} +3 -3
- package/dist/chunk-I7CVC2DW.js +229 -0
- package/dist/chunk-I7CVC2DW.js.map +1 -0
- package/dist/{chunk-OKRITX4S.js → chunk-ICHM2LQA.js} +8 -8
- package/dist/{chunk-4LUWZ6UE.js → chunk-IMMPY4Q7.js} +4 -4
- package/dist/{chunk-FZUAB2KS.js → chunk-INFBO356.js} +2 -2
- package/dist/chunk-IP424VZD.js +208 -0
- package/dist/chunk-IP424VZD.js.map +1 -0
- package/dist/{chunk-EXVCVXFX.js → chunk-IQ5MBELJ.js} +7 -7
- package/dist/{chunk-FRUDRDJX.js → chunk-IZ7JTG3Z.js} +4 -4
- package/dist/{chunk-5ZOJLYD2.js → chunk-JE6RZ5L6.js} +4 -4
- package/dist/{chunk-KF3Q3C3P.js → chunk-JJFLCEJJ.js} +2 -2
- package/dist/chunk-JO6D7YGN.js +111 -0
- package/dist/chunk-JO6D7YGN.js.map +1 -0
- package/dist/{chunk-XW44IFYE.js → chunk-K2VDRODL.js} +2 -2
- package/dist/{chunk-CFDWKQZT.js → chunk-KILA7LCC.js} +4 -4
- package/dist/{chunk-IMYKJTVX.js → chunk-KLLHCPA2.js} +2 -2
- package/dist/{chunk-5UBP2DJ4.js → chunk-KZ5F52D6.js} +39 -5
- package/dist/chunk-KZ5F52D6.js.map +1 -0
- package/dist/{chunk-FORQEHRQ.js → chunk-L5GZZUTY.js} +2 -2
- package/dist/{chunk-N557OEZR.js → chunk-L62HC3UB.js} +2 -2
- package/dist/chunk-LE5JYNR7.js +58 -0
- package/dist/chunk-LE5JYNR7.js.map +1 -0
- package/dist/{chunk-OPY2AGAU.js → chunk-LR56OANO.js} +6 -6
- package/dist/{chunk-V6KQ5R4T.js → chunk-LSGZLFKX.js} +6 -6
- package/dist/{chunk-QJLOWBFW.js → chunk-LXTNWQWF.js} +2 -2
- package/dist/{chunk-W5WYTVLS.js → chunk-LY5I3ZSV.js} +4 -4
- package/dist/{chunk-T77OVQEO.js → chunk-LZKS3NER.js} +2 -2
- package/dist/{chunk-ZAPP32GD.js → chunk-M7HYNXCU.js} +2 -2
- package/dist/{chunk-FQMLTCXT.js → chunk-MAHY7PK3.js} +4 -4
- package/dist/chunk-MAYAJXO6.js +104 -0
- package/dist/chunk-MAYAJXO6.js.map +1 -0
- package/dist/{chunk-D34PZJH3.js → chunk-MBMZNSBP.js} +2 -2
- package/dist/{chunk-HUXAIQC5.js → chunk-MJDSXQV7.js} +2 -2
- package/dist/{chunk-NTRWUDP6.js → chunk-MKVDHR3B.js} +2 -2
- package/dist/{chunk-PEVBSNCD.js → chunk-MLAIXRVL.js} +2 -2
- package/dist/chunk-MQVYJVKV.js +32 -0
- package/dist/chunk-MQVYJVKV.js.map +1 -0
- package/dist/{chunk-5U7LBO2V.js → chunk-MUHRPJQT.js} +4 -4
- package/dist/{chunk-COK65GX2.js → chunk-N2KHISGH.js} +2 -2
- package/dist/{chunk-UQ5GJPVZ.js → chunk-N3C4J6Z2.js} +3 -3
- package/dist/{chunk-P4Q7JK4L.js → chunk-NQ6P7O7C.js} +2 -2
- package/dist/{chunk-QVDEGBME.js → chunk-NQCTANF3.js} +7 -7
- package/dist/{chunk-I2LMLQGQ.js → chunk-NQUYBJKJ.js} +2 -2
- package/dist/{chunk-LOHQLARB.js → chunk-NTCWIMIU.js} +4 -4
- package/dist/{chunk-Q4GAPZDA.js → chunk-O2MR6U7Q.js} +5 -5
- package/dist/{chunk-2FQF4CNE.js → chunk-OPP6USJC.js} +2 -2
- package/dist/{chunk-GLR5MSU3.js → chunk-OY437NRJ.js} +2 -2
- package/dist/{chunk-CJUK32UH.js → chunk-OZYUE2BI.js} +4 -4
- package/dist/{chunk-HNEZWVDR.js → chunk-P5C4DTO4.js} +3 -3
- package/dist/{chunk-6EZQLNPK.js → chunk-PGJIWCQR.js} +4 -4
- package/dist/{chunk-TJUWSQYQ.js → chunk-PSIUFPXA.js} +18 -1
- package/dist/{chunk-TJUWSQYQ.js.map → chunk-PSIUFPXA.js.map} +1 -1
- package/dist/{chunk-3LUT2C5M.js → chunk-QMRR35W2.js} +19 -11
- package/dist/chunk-QMRR35W2.js.map +1 -0
- package/dist/chunk-QQFFE3CQ.js +90 -0
- package/dist/chunk-QQFFE3CQ.js.map +1 -0
- package/dist/{chunk-6PTP5NID.js → chunk-R2ODLE6G.js} +2 -2
- package/dist/{chunk-PJNIJIE6.js → chunk-RCTHCXS6.js} +2 -2
- package/dist/{chunk-YBAK2WN5.js → chunk-RFMQBIE6.js} +4 -4
- package/dist/{chunk-EYFDIUVR.js → chunk-RZTUMBRD.js} +2 -2
- package/dist/{chunk-SGFRSRAL.js → chunk-S5VIN3EB.js} +4 -4
- package/dist/{chunk-TIM4PXWN.js → chunk-SB2SEGR6.js} +3 -3
- package/dist/{chunk-5CP6VW5H.js → chunk-SFNVAM7I.js} +6 -6
- package/dist/{chunk-MVNFUIJS.js → chunk-SKIAWOUC.js} +4 -4
- package/dist/{chunk-KES3HNSU.js → chunk-T7NEXLW6.js} +2 -2
- package/dist/{chunk-EWFBDAB7.js → chunk-TOLCZ4XT.js} +2 -2
- package/dist/{chunk-HBH7V3IP.js → chunk-TOOEEQ46.js} +2 -2
- package/dist/{chunk-L7HNQRFS.js → chunk-TSID4257.js} +8 -8
- package/dist/chunk-TTRWOI6Z.js +1 -0
- package/dist/chunk-TTRWOI6Z.js.map +1 -0
- package/dist/{chunk-5CP5Z3YU.js → chunk-TYGVNTUP.js} +2 -2
- package/dist/{chunk-ZVZTQF7E.js → chunk-UBMH5MED.js} +9 -9
- package/dist/chunk-UIHPFELH.js +228 -0
- package/dist/chunk-UIHPFELH.js.map +1 -0
- package/dist/{chunk-WTOA52EQ.js → chunk-UKNMPGEM.js} +2 -2
- package/dist/{chunk-UXOFA3ZP.js → chunk-UNCDOLF5.js} +7 -7
- package/dist/{chunk-UYKIUUWP.js → chunk-V2QTL6VI.js} +2 -2
- package/dist/{chunk-6GICMRDX.js → chunk-VMTOLAZ5.js} +5 -5
- package/dist/{chunk-4QGMUHAU.js → chunk-VQ7YNAK2.js} +2 -2
- package/dist/{chunk-P772HCHI.js → chunk-W676GY42.js} +4 -4
- package/dist/chunk-WCETCAZO.js +140 -0
- package/dist/chunk-WCETCAZO.js.map +1 -0
- package/dist/{chunk-B32XH7NK.js → chunk-WHOD6LVN.js} +3 -3
- package/dist/{chunk-52RHAAIH.js → chunk-WLC56R2I.js} +7 -7
- package/dist/{chunk-T2G4LDU5.js → chunk-WLLUARTC.js} +2 -2
- package/dist/{chunk-X4J576GR.js → chunk-WTACWJSF.js} +2 -2
- package/dist/{chunk-5S5K73I6.js → chunk-WUBMJSBR.js} +2 -2
- package/dist/{chunk-MK6UXAWY.js → chunk-X2GWR75Q.js} +2 -2
- package/dist/{chunk-2VRJ577J.js → chunk-X3EB67O2.js} +4 -4
- package/dist/{chunk-HKGKQKQT.js → chunk-X5OGIT2F.js} +52 -20
- package/dist/chunk-X5OGIT2F.js.map +1 -0
- package/dist/{chunk-56GWNA5V.js → chunk-X6D5JEUV.js} +12 -5
- package/dist/chunk-X6D5JEUV.js.map +1 -0
- package/dist/{chunk-KRYOT3KB.js → chunk-XALFZ25A.js} +4 -4
- package/dist/{chunk-BNBWUXT3.js → chunk-XEKJ7L7I.js} +2 -2
- package/dist/{chunk-D72GD4XC.js → chunk-XHIBFBNP.js} +8 -4
- package/dist/chunk-XHIBFBNP.js.map +1 -0
- package/dist/{chunk-QAH3XILB.js → chunk-XNIHDUOP.js} +3 -3
- package/dist/{chunk-65KJLPF5.js → chunk-XRVXQJNB.js} +3 -3
- package/dist/{chunk-K6WY2CHG.js → chunk-XZFTRGRW.js} +2 -2
- package/dist/{chunk-LLPPIO3K.js → chunk-Y4ZWPOUV.js} +2 -2
- package/dist/{chunk-OQN2FHEL.js → chunk-Y6IIWGZB.js} +3 -3
- package/dist/{chunk-WMAS6DZR.js → chunk-YAQE7QVC.js} +4 -4
- package/dist/{chunk-POUNFTG3.js → chunk-YDIC6LSP.js} +9 -3
- package/dist/chunk-YDIC6LSP.js.map +1 -0
- package/dist/chunk-YE44HUFF.js +72 -0
- package/dist/chunk-YE44HUFF.js.map +1 -0
- package/dist/{chunk-PVIQDBUN.js → chunk-YFG6XXBB.js} +2 -2
- package/dist/{chunk-UBVKMM3V.js → chunk-YGQ2DLIM.js} +2 -2
- package/dist/{chunk-XQJPR57I.js → chunk-YKONJEI4.js} +3 -3
- package/dist/{chunk-COKPPU42.js → chunk-YLZXIR6B.js} +11 -11
- package/dist/chunk-YMYJO2CZ.js +32 -0
- package/dist/chunk-YMYJO2CZ.js.map +1 -0
- package/dist/{chunk-V4CWJ7Q6.js → chunk-YNZUYZ2O.js} +3 -3
- package/dist/{chunk-HJJR2WGL.js → chunk-YOXYSAUI.js} +4 -4
- package/dist/chunk-YSUJCKEE.js +341 -0
- package/dist/chunk-YSUJCKEE.js.map +1 -0
- package/dist/{chunk-CPZGFIFH.js → chunk-YWBPASB2.js} +3 -3
- package/dist/{chunk-2DDCRHJE.js → chunk-Z7CBLQQR.js} +4 -4
- package/dist/{chunk-H7CZRKN7.js → chunk-ZCNR4DN5.js} +6 -6
- package/dist/{chunk-4V37DAMA.js → chunk-ZDAAHCIS.js} +6 -6
- package/dist/{chunk-2SBQ47RI.js → chunk-ZF2LZVDO.js} +7 -7
- package/dist/{chunk-G76PIGF7.js → chunk-ZHQAVW2V.js} +3 -2
- package/dist/chunk-ZHQAVW2V.js.map +1 -0
- package/dist/{chunk-4IG73U2X.js → chunk-ZIA774ZW.js} +2 -2
- package/dist/{chunk-E5OBAS3U.js → chunk-ZLIES3XR.js} +2 -2
- package/dist/data-display/Alert.js +3 -3
- package/dist/data-display/AlertDialog.js +3 -3
- package/dist/data-display/AsyncStateContainer.js +8 -8
- package/dist/data-display/Avatar.js +4 -4
- package/dist/data-display/Badge.js +1 -1
- package/dist/data-display/CardKit.js +21 -21
- package/dist/data-display/Carousel.js +5 -5
- package/dist/data-display/Chart.js +18 -18
- package/dist/data-display/DataGrid.js +2 -2
- package/dist/data-display/DataViews.js +92 -92
- package/dist/data-display/DayRuler.js +33 -0
- package/dist/data-display/DayRuler.js.map +1 -0
- package/dist/data-display/EmptyState.js +2 -2
- package/dist/data-display/ErrorState.js +2 -2
- package/dist/data-display/FleetMap.js +21 -21
- package/dist/data-display/HoverCard.js +3 -3
- package/dist/data-display/LazyImage.js +4 -4
- package/dist/data-display/Lightbox.js +7 -7
- package/dist/data-display/LoadingState.js +5 -5
- package/dist/data-display/MapPreview.js +8 -8
- package/dist/data-display/RegionMap.js +6 -6
- package/dist/data-display/ScheduleGrid.js +30 -0
- package/dist/data-display/ScheduleGrid.js.map +1 -0
- package/dist/data-display/SectionOnboarding.js +4 -4
- package/dist/data-display/Sheet.js +7 -7
- package/dist/data-display/StatCard.js +3 -3
- package/dist/data-display/Stepper.js +2 -2
- package/dist/data-display/Table.js +4 -4
- package/dist/data-display/Timeline.js +2 -2
- package/dist/en-US.js +2 -2
- package/dist/feedback/ConfirmAction.js +11 -11
- package/dist/feedback/Dialog.js +2 -2
- package/dist/feedback/Modal.js +2 -2
- package/dist/feedback/NotificationStatusNotice.js +6 -6
- package/dist/feedback/SequenceResolver.js +16 -13
- package/dist/feedback/Sonner.js +2 -2
- package/dist/feedback/StackedModal.js +4 -4
- package/dist/feedback/Toast.js +2 -2
- package/dist/feedback/TutorialOverlay.js +2 -2
- package/dist/form/AddressAutocomplete.js +5 -5
- package/dist/form/Autocomplete.js +2 -2
- package/dist/form/Button.js +2 -2
- package/dist/form/Calendar.js +10 -8
- package/dist/form/CategorySelect.js +9 -9
- package/dist/form/Command.js +6 -6
- package/dist/form/DateRangePicker.js +15 -14
- package/dist/form/Label.js +1 -1
- package/dist/form/Menubar.js +5 -5
- package/dist/form/PickerSheet.js +4 -4
- package/dist/form/RichTextEditor.js +5 -5
- package/dist/form/Switch.js +4 -4
- package/dist/form/total-form.js +21 -21
- package/dist/icons.js +1 -1
- package/dist/layout/Box.js +1 -1
- package/dist/layout/Card.js +2 -2
- package/dist/layout/ContentToolbar.js +8 -8
- package/dist/layout/Dashboard.js +2 -2
- package/dist/layout/Drawer.js +2 -2
- package/dist/layout/Screen.js +1 -1
- package/dist/layout/ScrollArea.js +3 -3
- package/dist/layout/SettingCard.js +18 -18
- package/dist/layout/SettingsLayout.js +8 -8
- package/dist/layout/Skeleton.js +2 -2
- package/dist/layout/Stack.js +1 -1
- package/dist/layout/TableFilter.js +2 -2
- package/dist/locales.js +28 -28
- package/dist/native/chunks/{chunk-FXA5DLKR.js → chunk-4G634E3Q.js} +3 -3
- package/dist/native/chunks/{chunk-QHW7JEPZ.js → chunk-E5UA5XVN.js} +18 -1
- package/dist/native/chunks/chunk-E5UA5XVN.js.map +1 -0
- package/dist/native/chunks/{chunk-IN3XZ7EK.js → chunk-WLG3KT2V.js} +2 -2
- package/dist/native/data-display/Avatar.js +1 -1
- package/dist/native/data-display/Badge.js +1 -1
- package/dist/native/data-display/Chip.js +1 -1
- package/dist/native/data-display/EmptyState.js +3 -3
- package/dist/native/data-display/ErrorState.js +2 -2
- package/dist/native/data-display/FleetMap.js +3 -3
- package/dist/native/data-display/LoadingState.js +1 -1
- package/dist/native/feedback/Dialog.js +1 -1
- package/dist/native/form/Button.js +2 -2
- package/dist/native/form/Checkbox.js +1 -1
- package/dist/native/form/Input.js +1 -1
- package/dist/native/form/Switch.js +1 -1
- package/dist/navigation/AppHeader.js +15 -15
- package/dist/navigation/Breadcrumbs.js +2 -2
- package/dist/navigation/CommandPalette.js +5 -5
- package/dist/navigation/NavigationMenu.js +6 -6
- package/dist/navigation/Pagination.js +2 -2
- package/dist/navigation/SectionNav.js +6 -6
- package/dist/provider.js +1 -1
- package/dist/pt-BR.js +24 -24
- package/dist/social-login-button.js +6 -6
- package/dist/tokens.js +6 -6
- package/dist/types/components/data-display/DayRuler/DayRuler.d.ts +13 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.d.ts.map +1 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.keyboard.d.ts +31 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.keyboard.d.ts.map +1 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.metrics.d.ts +86 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.metrics.d.ts.map +1 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.parts.d.ts +37 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.parts.d.ts.map +1 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.styles.d.ts +45 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.styles.d.ts.map +1 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.types.d.ts +105 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.types.d.ts.map +1 -0
- package/dist/types/components/data-display/DayRuler/day-ruler-model.d.ts +26 -0
- package/dist/types/components/data-display/DayRuler/day-ruler-model.d.ts.map +1 -0
- package/dist/types/components/data-display/DayRuler/index.d.ts +4 -0
- package/dist/types/components/data-display/DayRuler/index.d.ts.map +1 -0
- package/dist/types/components/data-display/DayRuler/useRulerDrag.d.ts +45 -0
- package/dist/types/components/data-display/DayRuler/useRulerDrag.d.ts.map +1 -0
- package/dist/types/components/data-display/DayRuler/useTextFits.d.ts +14 -0
- package/dist/types/components/data-display/DayRuler/useTextFits.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.d.ts +15 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.keyboard.d.ts +32 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.keyboard.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.metrics.d.ts +105 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.metrics.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.parts.d.ts +51 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.parts.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.styles.d.ts +75 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.styles.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.types.d.ts +136 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.types.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleNameCell.d.ts +33 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleNameCell.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/drag-session.d.ts +47 -0
- package/dist/types/components/data-display/ScheduleGrid/drag-session.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/index.d.ts +4 -0
- package/dist/types/components/data-display/ScheduleGrid/index.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/schedule-grid-model.d.ts +18 -0
- package/dist/types/components/data-display/ScheduleGrid/schedule-grid-model.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/schedule-name.styles.d.ts +16 -0
- package/dist/types/components/data-display/ScheduleGrid/schedule-name.styles.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/schedule-tones.d.ts +32 -0
- package/dist/types/components/data-display/ScheduleGrid/schedule-tones.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/useAnnouncer.d.ts +13 -0
- package/dist/types/components/data-display/ScheduleGrid/useAnnouncer.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/useGridDrag.d.ts +56 -0
- package/dist/types/components/data-display/ScheduleGrid/useGridDrag.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/useSidewaysScroll.d.ts +26 -0
- package/dist/types/components/data-display/ScheduleGrid/useSidewaysScroll.d.ts.map +1 -0
- package/dist/types/components/data-display/index.d.ts +2 -0
- package/dist/types/components/data-display/index.d.ts.map +1 -1
- package/dist/types/components/feedback/SequenceResolver/SequenceResolver.d.ts.map +1 -1
- package/dist/types/components/feedback/SequenceResolver/SequenceResolver.header.d.ts +33 -0
- package/dist/types/components/feedback/SequenceResolver/SequenceResolver.header.d.ts.map +1 -0
- package/dist/types/components/feedback/SequenceResolver/SequenceResolver.header.styles.d.ts +17 -0
- package/dist/types/components/feedback/SequenceResolver/SequenceResolver.header.styles.d.ts.map +1 -0
- package/dist/types/components/feedback/SequenceResolver/SequenceResolver.metrics.d.ts +12 -0
- package/dist/types/components/feedback/SequenceResolver/SequenceResolver.metrics.d.ts.map +1 -1
- package/dist/types/components/feedback/SequenceResolver/SequenceResolver.overview.d.ts +22 -0
- package/dist/types/components/feedback/SequenceResolver/SequenceResolver.overview.d.ts.map +1 -0
- package/dist/types/components/feedback/SequenceResolver/SequenceResolver.parts.d.ts +6 -18
- package/dist/types/components/feedback/SequenceResolver/SequenceResolver.parts.d.ts.map +1 -1
- package/dist/types/components/feedback/SequenceResolver/SequenceResolver.styles.d.ts +17 -0
- package/dist/types/components/feedback/SequenceResolver/SequenceResolver.styles.d.ts.map +1 -1
- package/dist/types/components/feedback/SequenceResolver/SequenceResolver.types.d.ts +56 -1
- package/dist/types/components/feedback/SequenceResolver/SequenceResolver.types.d.ts.map +1 -1
- package/dist/types/components/feedback/SequenceResolver/index.d.ts +1 -1
- package/dist/types/components/feedback/SequenceResolver/index.d.ts.map +1 -1
- package/dist/types/components/feedback/SequenceResolver/sequence-model.d.ts +27 -3
- package/dist/types/components/feedback/SequenceResolver/sequence-model.d.ts.map +1 -1
- package/dist/types/components/feedback/SequenceResolver/useSequenceRun.d.ts +9 -0
- package/dist/types/components/feedback/SequenceResolver/useSequenceRun.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/AddressAutocompleteField.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/AddressSuggestionsPaper.d.ts +11 -1
- package/dist/types/components/form/AddressAutocomplete/AddressSuggestionsPaper.d.ts.map +1 -1
- package/dist/types/components/form/Calendar/Calendar.band.d.ts +44 -0
- package/dist/types/components/form/Calendar/Calendar.band.d.ts.map +1 -0
- package/dist/types/components/form/Calendar/CalendarDay.d.ts +2 -0
- package/dist/types/components/form/Calendar/CalendarDay.d.ts.map +1 -1
- package/dist/types/components/form/Calendar/CalendarDayCell.d.ts.map +1 -1
- package/dist/types/components/form/Calendar/CalendarMonth.d.ts +3 -2
- package/dist/types/components/form/Calendar/CalendarMonth.d.ts.map +1 -1
- package/dist/types/components/navigation/CommandPalette/CommandPalette.d.ts.map +1 -1
- package/dist/types/copy/labels.d.ts +34 -0
- package/dist/types/copy/labels.d.ts.map +1 -1
- package/dist/types/copy/navigation.d.ts +2 -0
- package/dist/types/copy/navigation.d.ts.map +1 -1
- package/dist/types/en-US.labels.d.ts.map +1 -1
- package/dist/types/en-US.navigation.d.ts.map +1 -1
- package/dist/types/pt-BR.labels.d.ts.map +1 -1
- package/dist/types/pt-BR.navigation.d.ts.map +1 -1
- package/dist/types-native/copy/labels.d.ts +34 -0
- package/dist/types-native/copy/labels.d.ts.map +1 -1
- package/dist/types-native/en-US.labels.d.ts.map +1 -1
- package/dist/typography/Code.js +2 -2
- package/dist/user-avatar.js +9 -9
- package/dist/utility/AnimatedIcon.js +2 -2
- package/dist/utility/InfiniteScroll.js +3 -3
- package/dist/utility/InstallPrompt.js +2 -2
- package/dist/utility/WorkflowStep.js +6 -6
- package/package.json +9 -1
- package/src/components/data-display/DayRuler/DayRuler.keyboard.ts +94 -0
- package/src/components/data-display/DayRuler/DayRuler.md +84 -0
- package/src/components/data-display/DayRuler/DayRuler.metrics.ts +47 -0
- package/src/components/data-display/DayRuler/DayRuler.parts.tsx +272 -0
- package/src/components/data-display/DayRuler/DayRuler.styles.ts +288 -0
- package/src/components/data-display/DayRuler/DayRuler.tsx +130 -0
- package/src/components/data-display/DayRuler/DayRuler.types.ts +107 -0
- package/src/components/data-display/DayRuler/day-ruler-model.ts +83 -0
- package/src/components/data-display/DayRuler/index.ts +9 -0
- package/src/components/data-display/DayRuler/useRulerDrag.ts +167 -0
- package/src/components/data-display/DayRuler/useTextFits.ts +41 -0
- package/src/components/data-display/ScheduleGrid/ScheduleGrid.keyboard.ts +138 -0
- package/src/components/data-display/ScheduleGrid/ScheduleGrid.md +140 -0
- package/src/components/data-display/ScheduleGrid/ScheduleGrid.metrics.ts +75 -0
- package/src/components/data-display/ScheduleGrid/ScheduleGrid.parts.tsx +357 -0
- package/src/components/data-display/ScheduleGrid/ScheduleGrid.styles.ts +386 -0
- package/src/components/data-display/ScheduleGrid/ScheduleGrid.tsx +142 -0
- package/src/components/data-display/ScheduleGrid/ScheduleGrid.types.ts +144 -0
- package/src/components/data-display/ScheduleGrid/ScheduleNameCell.tsx +66 -0
- package/src/components/data-display/ScheduleGrid/drag-session.ts +120 -0
- package/src/components/data-display/ScheduleGrid/index.ts +12 -0
- package/src/components/data-display/ScheduleGrid/schedule-grid-model.ts +39 -0
- package/src/components/data-display/ScheduleGrid/schedule-name.styles.ts +96 -0
- package/src/components/data-display/ScheduleGrid/schedule-tones.ts +126 -0
- package/src/components/data-display/ScheduleGrid/useAnnouncer.ts +32 -0
- package/src/components/data-display/ScheduleGrid/useGridDrag.ts +137 -0
- package/src/components/data-display/ScheduleGrid/useSidewaysScroll.ts +126 -0
- package/src/components/data-display/index.ts +2 -0
- package/src/components/feedback/SequenceResolver/SequenceResolver.header.styles.ts +65 -0
- package/src/components/feedback/SequenceResolver/SequenceResolver.header.tsx +153 -0
- package/src/components/feedback/SequenceResolver/SequenceResolver.md +43 -2
- package/src/components/feedback/SequenceResolver/SequenceResolver.metrics.ts +12 -0
- package/src/components/feedback/SequenceResolver/SequenceResolver.overview.tsx +74 -0
- package/src/components/feedback/SequenceResolver/SequenceResolver.parts.tsx +37 -83
- package/src/components/feedback/SequenceResolver/SequenceResolver.styles.ts +47 -0
- package/src/components/feedback/SequenceResolver/SequenceResolver.tsx +152 -35
- package/src/components/feedback/SequenceResolver/SequenceResolver.types.ts +58 -1
- package/src/components/feedback/SequenceResolver/index.ts +2 -0
- package/src/components/feedback/SequenceResolver/sequence-model.ts +66 -5
- package/src/components/feedback/SequenceResolver/useSequenceRun.ts +28 -10
- package/src/components/form/AddressAutocomplete/AddressAutocompleteField.tsx +17 -4
- package/src/components/form/AddressAutocomplete/AddressSuggestionsPaper.tsx +32 -3
- package/src/components/form/Calendar/Calendar.band.ts +118 -0
- package/src/components/form/Calendar/CalendarDay.tsx +73 -23
- package/src/components/form/Calendar/CalendarDayCell.tsx +2 -0
- package/src/components/form/Calendar/CalendarMonth.tsx +14 -4
- package/src/components/navigation/CommandPalette/CommandPalette.md +1 -0
- package/src/components/navigation/CommandPalette/CommandPalette.tsx +4 -2
- package/src/copy/labels.ts +36 -0
- package/src/copy/navigation.ts +2 -0
- package/src/en-US.labels.ts +17 -0
- package/src/en-US.navigation.ts +1 -0
- package/src/pt-BR.labels.ts +17 -0
- package/src/pt-BR.navigation.ts +1 -0
- package/dist/chunk-3LUT2C5M.js.map +0 -1
- package/dist/chunk-56GWNA5V.js.map +0 -1
- package/dist/chunk-5UBP2DJ4.js.map +0 -1
- package/dist/chunk-ABRUOINB.js +0 -1
- package/dist/chunk-C5RQBTRZ.js.map +0 -1
- package/dist/chunk-D72GD4XC.js.map +0 -1
- package/dist/chunk-G76PIGF7.js.map +0 -1
- package/dist/chunk-HHPFWEJY.js.map +0 -1
- package/dist/chunk-HKGKQKQT.js.map +0 -1
- package/dist/chunk-POUNFTG3.js.map +0 -1
- package/dist/chunk-WXZCNHBX.js.map +0 -1
- package/dist/chunk-XOXXG7Q5.js.map +0 -1
- package/dist/chunk-Z445LLFN.js.map +0 -1
- package/dist/chunk-ZHYLOB7Q.js +0 -162
- package/dist/chunk-ZHYLOB7Q.js.map +0 -1
- package/dist/native/chunks/chunk-QHW7JEPZ.js.map +0 -1
- /package/dist/{chunk-ABRUOINB.js.map → _internal/components/data-display/DayRuler/DayRuler.js.map} +0 -0
- /package/dist/{chunk-DYRZRY2T.js.map → chunk-2CRNOJGL.js.map} +0 -0
- /package/dist/{chunk-L5KPBMMF.js.map → chunk-2ENMRK3U.js.map} +0 -0
- /package/dist/{chunk-FZEDQNUN.js.map → chunk-2KBATUOZ.js.map} +0 -0
- /package/dist/{chunk-33AVAYCR.js.map → chunk-2L6TANRY.js.map} +0 -0
- /package/dist/{chunk-ENJOBJPK.js.map → chunk-2MT6VSS2.js.map} +0 -0
- /package/dist/{chunk-VKTF3GAP.js.map → chunk-2MYSXWZQ.js.map} +0 -0
- /package/dist/{chunk-7QKFMMWK.js.map → chunk-2Q2DUGH7.js.map} +0 -0
- /package/dist/{chunk-VQ6V5TO7.js.map → chunk-2UNZG4JK.js.map} +0 -0
- /package/dist/{chunk-Q7XLTN2D.js.map → chunk-3B4NXP4N.js.map} +0 -0
- /package/dist/{chunk-UT545JBQ.js.map → chunk-3EIRRLCQ.js.map} +0 -0
- /package/dist/{chunk-MSJP2AEN.js.map → chunk-3EKY63LD.js.map} +0 -0
- /package/dist/{chunk-B32554CQ.js.map → chunk-3KMP2F4R.js.map} +0 -0
- /package/dist/{chunk-D3W5A4N6.js.map → chunk-3STNOYYO.js.map} +0 -0
- /package/dist/{chunk-TVDHA7BT.js.map → chunk-3Y6NO5XL.js.map} +0 -0
- /package/dist/{chunk-ABQZFK7M.js.map → chunk-44PBCQ7E.js.map} +0 -0
- /package/dist/{chunk-VYQZ5U3N.js.map → chunk-4NG3LTRX.js.map} +0 -0
- /package/dist/{chunk-PGHSNG33.js.map → chunk-4PZZJ2AE.js.map} +0 -0
- /package/dist/{chunk-TRAMTVIO.js.map → chunk-4QTPERAY.js.map} +0 -0
- /package/dist/{chunk-W2RXXF7K.js.map → chunk-4XBAEKQQ.js.map} +0 -0
- /package/dist/{chunk-KR4TN3OF.js.map → chunk-4ZQQUICR.js.map} +0 -0
- /package/dist/{chunk-XCUHGPPZ.js.map → chunk-55PFFAAY.js.map} +0 -0
- /package/dist/{chunk-LYVTJLCF.js.map → chunk-56JF5PZK.js.map} +0 -0
- /package/dist/{chunk-IYDXKLCE.js.map → chunk-5BVAUUWL.js.map} +0 -0
- /package/dist/{chunk-6OISIUZM.js.map → chunk-5F7HYYGM.js.map} +0 -0
- /package/dist/{chunk-TMUGBHHG.js.map → chunk-5QUH53HV.js.map} +0 -0
- /package/dist/{chunk-DAFFZED3.js.map → chunk-5YVMFK7Y.js.map} +0 -0
- /package/dist/{chunk-TI4FGQYV.js.map → chunk-62PTREG5.js.map} +0 -0
- /package/dist/{chunk-3DPPDGOF.js.map → chunk-62SXUU5U.js.map} +0 -0
- /package/dist/{chunk-BP3ZKIPE.js.map → chunk-64UNVW6D.js.map} +0 -0
- /package/dist/{chunk-QADTI63U.js.map → chunk-6ATXOJVQ.js.map} +0 -0
- /package/dist/{chunk-7W5X3KQ2.js.map → chunk-6BQ3YKLD.js.map} +0 -0
- /package/dist/{chunk-VPH3TENY.js.map → chunk-6DGNMASB.js.map} +0 -0
- /package/dist/{chunk-NOF2FF4K.js.map → chunk-7CPLKAL6.js.map} +0 -0
- /package/dist/{chunk-ABRVOPC2.js.map → chunk-7FFY4LJY.js.map} +0 -0
- /package/dist/{chunk-DVX4HDNP.js.map → chunk-7IBFGOLF.js.map} +0 -0
- /package/dist/{chunk-EOQ6EKTS.js.map → chunk-7XSCEHGA.js.map} +0 -0
- /package/dist/{chunk-QCYQL3ST.js.map → chunk-7XUQJJPK.js.map} +0 -0
- /package/dist/{chunk-7VUXSNVZ.js.map → chunk-A4B27HYU.js.map} +0 -0
- /package/dist/{chunk-EOIRU62W.js.map → chunk-AD6GRJFV.js.map} +0 -0
- /package/dist/{chunk-CAOL4AIB.js.map → chunk-AEAVVKGY.js.map} +0 -0
- /package/dist/{chunk-HI7JPDD6.js.map → chunk-AMLHEKSV.js.map} +0 -0
- /package/dist/{chunk-UTUYXH72.js.map → chunk-AN37BIIO.js.map} +0 -0
- /package/dist/{chunk-ABVIMFSD.js.map → chunk-AWUB3T7C.js.map} +0 -0
- /package/dist/{chunk-ALOEOGQV.js.map → chunk-AXGQB24R.js.map} +0 -0
- /package/dist/{chunk-ZO2GZRZS.js.map → chunk-B5SBDLRS.js.map} +0 -0
- /package/dist/{chunk-CARUHKZW.js.map → chunk-B7GGLFJB.js.map} +0 -0
- /package/dist/{chunk-C347NNZJ.js.map → chunk-B7ZAEZJW.js.map} +0 -0
- /package/dist/{chunk-GANJRIT3.js.map → chunk-C3MXURP3.js.map} +0 -0
- /package/dist/{chunk-7YJYIMWP.js.map → chunk-CTN4BRAH.js.map} +0 -0
- /package/dist/{chunk-ZANWHTXH.js.map → chunk-CVB26LLB.js.map} +0 -0
- /package/dist/{chunk-PGYYDSNX.js.map → chunk-CW5Z67NA.js.map} +0 -0
- /package/dist/{chunk-CY4XIZNW.js.map → chunk-D3B4V44W.js.map} +0 -0
- /package/dist/{chunk-U2DRE36S.js.map → chunk-D3SIZ2CX.js.map} +0 -0
- /package/dist/{chunk-YGLAGY74.js.map → chunk-DM57YWZH.js.map} +0 -0
- /package/dist/{chunk-NASLJO2R.js.map → chunk-DRJGHTQU.js.map} +0 -0
- /package/dist/{chunk-BLZDSCIZ.js.map → chunk-DYHOBKPU.js.map} +0 -0
- /package/dist/{chunk-FCLON3MO.js.map → chunk-EE6DJPB7.js.map} +0 -0
- /package/dist/{chunk-ANUO67JQ.js.map → chunk-EIMFA7KP.js.map} +0 -0
- /package/dist/{chunk-AKE6KVQG.js.map → chunk-EVIQUBC6.js.map} +0 -0
- /package/dist/{chunk-A5CKUJP2.js.map → chunk-EXKEPOL7.js.map} +0 -0
- /package/dist/{chunk-ULAZDF6D.js.map → chunk-FF22F7FA.js.map} +0 -0
- /package/dist/{chunk-LIN4A2BW.js.map → chunk-FKS2PNJF.js.map} +0 -0
- /package/dist/{chunk-ZYZPSBNQ.js.map → chunk-G3G5W4OF.js.map} +0 -0
- /package/dist/{chunk-N5OEDOJT.js.map → chunk-GBB23QLL.js.map} +0 -0
- /package/dist/{chunk-KTXJQ4YJ.js.map → chunk-GBVNY2LG.js.map} +0 -0
- /package/dist/{chunk-MW7P2C2C.js.map → chunk-GCR6VE5S.js.map} +0 -0
- /package/dist/{chunk-KYTFGW4R.js.map → chunk-GMIMHQ6H.js.map} +0 -0
- /package/dist/{chunk-KRPDBVUB.js.map → chunk-GS3QDXDP.js.map} +0 -0
- /package/dist/{chunk-WNNA6YYE.js.map → chunk-H5R2EZYI.js.map} +0 -0
- /package/dist/{chunk-JZQYVGPV.js.map → chunk-HED2CZDZ.js.map} +0 -0
- /package/dist/{chunk-JVOEVTCZ.js.map → chunk-HQCZT6TO.js.map} +0 -0
- /package/dist/{chunk-67ADHGA2.js.map → chunk-HWJ3FLZY.js.map} +0 -0
- /package/dist/{chunk-LXIPBHNJ.js.map → chunk-I5SIHPOG.js.map} +0 -0
- /package/dist/{chunk-NCI74EOS.js.map → chunk-I62SKY4E.js.map} +0 -0
- /package/dist/{chunk-GOQOVKUZ.js.map → chunk-I6CP3ZTP.js.map} +0 -0
- /package/dist/{chunk-OKRITX4S.js.map → chunk-ICHM2LQA.js.map} +0 -0
- /package/dist/{chunk-4LUWZ6UE.js.map → chunk-IMMPY4Q7.js.map} +0 -0
- /package/dist/{chunk-FZUAB2KS.js.map → chunk-INFBO356.js.map} +0 -0
- /package/dist/{chunk-EXVCVXFX.js.map → chunk-IQ5MBELJ.js.map} +0 -0
- /package/dist/{chunk-FRUDRDJX.js.map → chunk-IZ7JTG3Z.js.map} +0 -0
- /package/dist/{chunk-5ZOJLYD2.js.map → chunk-JE6RZ5L6.js.map} +0 -0
- /package/dist/{chunk-KF3Q3C3P.js.map → chunk-JJFLCEJJ.js.map} +0 -0
- /package/dist/{chunk-XW44IFYE.js.map → chunk-K2VDRODL.js.map} +0 -0
- /package/dist/{chunk-CFDWKQZT.js.map → chunk-KILA7LCC.js.map} +0 -0
- /package/dist/{chunk-IMYKJTVX.js.map → chunk-KLLHCPA2.js.map} +0 -0
- /package/dist/{chunk-FORQEHRQ.js.map → chunk-L5GZZUTY.js.map} +0 -0
- /package/dist/{chunk-N557OEZR.js.map → chunk-L62HC3UB.js.map} +0 -0
- /package/dist/{chunk-OPY2AGAU.js.map → chunk-LR56OANO.js.map} +0 -0
- /package/dist/{chunk-V6KQ5R4T.js.map → chunk-LSGZLFKX.js.map} +0 -0
- /package/dist/{chunk-QJLOWBFW.js.map → chunk-LXTNWQWF.js.map} +0 -0
- /package/dist/{chunk-W5WYTVLS.js.map → chunk-LY5I3ZSV.js.map} +0 -0
- /package/dist/{chunk-T77OVQEO.js.map → chunk-LZKS3NER.js.map} +0 -0
- /package/dist/{chunk-ZAPP32GD.js.map → chunk-M7HYNXCU.js.map} +0 -0
- /package/dist/{chunk-FQMLTCXT.js.map → chunk-MAHY7PK3.js.map} +0 -0
- /package/dist/{chunk-D34PZJH3.js.map → chunk-MBMZNSBP.js.map} +0 -0
- /package/dist/{chunk-HUXAIQC5.js.map → chunk-MJDSXQV7.js.map} +0 -0
- /package/dist/{chunk-NTRWUDP6.js.map → chunk-MKVDHR3B.js.map} +0 -0
- /package/dist/{chunk-PEVBSNCD.js.map → chunk-MLAIXRVL.js.map} +0 -0
- /package/dist/{chunk-5U7LBO2V.js.map → chunk-MUHRPJQT.js.map} +0 -0
- /package/dist/{chunk-COK65GX2.js.map → chunk-N2KHISGH.js.map} +0 -0
- /package/dist/{chunk-UQ5GJPVZ.js.map → chunk-N3C4J6Z2.js.map} +0 -0
- /package/dist/{chunk-P4Q7JK4L.js.map → chunk-NQ6P7O7C.js.map} +0 -0
- /package/dist/{chunk-QVDEGBME.js.map → chunk-NQCTANF3.js.map} +0 -0
- /package/dist/{chunk-I2LMLQGQ.js.map → chunk-NQUYBJKJ.js.map} +0 -0
- /package/dist/{chunk-LOHQLARB.js.map → chunk-NTCWIMIU.js.map} +0 -0
- /package/dist/{chunk-Q4GAPZDA.js.map → chunk-O2MR6U7Q.js.map} +0 -0
- /package/dist/{chunk-2FQF4CNE.js.map → chunk-OPP6USJC.js.map} +0 -0
- /package/dist/{chunk-GLR5MSU3.js.map → chunk-OY437NRJ.js.map} +0 -0
- /package/dist/{chunk-CJUK32UH.js.map → chunk-OZYUE2BI.js.map} +0 -0
- /package/dist/{chunk-HNEZWVDR.js.map → chunk-P5C4DTO4.js.map} +0 -0
- /package/dist/{chunk-6EZQLNPK.js.map → chunk-PGJIWCQR.js.map} +0 -0
- /package/dist/{chunk-6PTP5NID.js.map → chunk-R2ODLE6G.js.map} +0 -0
- /package/dist/{chunk-PJNIJIE6.js.map → chunk-RCTHCXS6.js.map} +0 -0
- /package/dist/{chunk-YBAK2WN5.js.map → chunk-RFMQBIE6.js.map} +0 -0
- /package/dist/{chunk-EYFDIUVR.js.map → chunk-RZTUMBRD.js.map} +0 -0
- /package/dist/{chunk-SGFRSRAL.js.map → chunk-S5VIN3EB.js.map} +0 -0
- /package/dist/{chunk-TIM4PXWN.js.map → chunk-SB2SEGR6.js.map} +0 -0
- /package/dist/{chunk-5CP6VW5H.js.map → chunk-SFNVAM7I.js.map} +0 -0
- /package/dist/{chunk-MVNFUIJS.js.map → chunk-SKIAWOUC.js.map} +0 -0
- /package/dist/{chunk-KES3HNSU.js.map → chunk-T7NEXLW6.js.map} +0 -0
- /package/dist/{chunk-EWFBDAB7.js.map → chunk-TOLCZ4XT.js.map} +0 -0
- /package/dist/{chunk-HBH7V3IP.js.map → chunk-TOOEEQ46.js.map} +0 -0
- /package/dist/{chunk-L7HNQRFS.js.map → chunk-TSID4257.js.map} +0 -0
- /package/dist/{chunk-5CP5Z3YU.js.map → chunk-TYGVNTUP.js.map} +0 -0
- /package/dist/{chunk-ZVZTQF7E.js.map → chunk-UBMH5MED.js.map} +0 -0
- /package/dist/{chunk-WTOA52EQ.js.map → chunk-UKNMPGEM.js.map} +0 -0
- /package/dist/{chunk-UXOFA3ZP.js.map → chunk-UNCDOLF5.js.map} +0 -0
- /package/dist/{chunk-UYKIUUWP.js.map → chunk-V2QTL6VI.js.map} +0 -0
- /package/dist/{chunk-6GICMRDX.js.map → chunk-VMTOLAZ5.js.map} +0 -0
- /package/dist/{chunk-4QGMUHAU.js.map → chunk-VQ7YNAK2.js.map} +0 -0
- /package/dist/{chunk-P772HCHI.js.map → chunk-W676GY42.js.map} +0 -0
- /package/dist/{chunk-B32XH7NK.js.map → chunk-WHOD6LVN.js.map} +0 -0
- /package/dist/{chunk-52RHAAIH.js.map → chunk-WLC56R2I.js.map} +0 -0
- /package/dist/{chunk-T2G4LDU5.js.map → chunk-WLLUARTC.js.map} +0 -0
- /package/dist/{chunk-X4J576GR.js.map → chunk-WTACWJSF.js.map} +0 -0
- /package/dist/{chunk-5S5K73I6.js.map → chunk-WUBMJSBR.js.map} +0 -0
- /package/dist/{chunk-MK6UXAWY.js.map → chunk-X2GWR75Q.js.map} +0 -0
- /package/dist/{chunk-2VRJ577J.js.map → chunk-X3EB67O2.js.map} +0 -0
- /package/dist/{chunk-KRYOT3KB.js.map → chunk-XALFZ25A.js.map} +0 -0
- /package/dist/{chunk-BNBWUXT3.js.map → chunk-XEKJ7L7I.js.map} +0 -0
- /package/dist/{chunk-QAH3XILB.js.map → chunk-XNIHDUOP.js.map} +0 -0
- /package/dist/{chunk-65KJLPF5.js.map → chunk-XRVXQJNB.js.map} +0 -0
- /package/dist/{chunk-K6WY2CHG.js.map → chunk-XZFTRGRW.js.map} +0 -0
- /package/dist/{chunk-LLPPIO3K.js.map → chunk-Y4ZWPOUV.js.map} +0 -0
- /package/dist/{chunk-OQN2FHEL.js.map → chunk-Y6IIWGZB.js.map} +0 -0
- /package/dist/{chunk-WMAS6DZR.js.map → chunk-YAQE7QVC.js.map} +0 -0
- /package/dist/{chunk-PVIQDBUN.js.map → chunk-YFG6XXBB.js.map} +0 -0
- /package/dist/{chunk-UBVKMM3V.js.map → chunk-YGQ2DLIM.js.map} +0 -0
- /package/dist/{chunk-XQJPR57I.js.map → chunk-YKONJEI4.js.map} +0 -0
- /package/dist/{chunk-COKPPU42.js.map → chunk-YLZXIR6B.js.map} +0 -0
- /package/dist/{chunk-V4CWJ7Q6.js.map → chunk-YNZUYZ2O.js.map} +0 -0
- /package/dist/{chunk-HJJR2WGL.js.map → chunk-YOXYSAUI.js.map} +0 -0
- /package/dist/{chunk-CPZGFIFH.js.map → chunk-YWBPASB2.js.map} +0 -0
- /package/dist/{chunk-2DDCRHJE.js.map → chunk-Z7CBLQQR.js.map} +0 -0
- /package/dist/{chunk-H7CZRKN7.js.map → chunk-ZCNR4DN5.js.map} +0 -0
- /package/dist/{chunk-4V37DAMA.js.map → chunk-ZDAAHCIS.js.map} +0 -0
- /package/dist/{chunk-2SBQ47RI.js.map → chunk-ZF2LZVDO.js.map} +0 -0
- /package/dist/{chunk-4IG73U2X.js.map → chunk-ZIA774ZW.js.map} +0 -0
- /package/dist/{chunk-E5OBAS3U.js.map → chunk-ZLIES3XR.js.map} +0 -0
- /package/dist/native/chunks/{chunk-FXA5DLKR.js.map → chunk-4G634E3Q.js.map} +0 -0
- /package/dist/native/chunks/{chunk-IN3XZ7EK.js.map → chunk-WLG3KT2V.js.map} +0 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import type { CSSObject, SxProps, Theme } from '@mui/material/styles/index.js';
|
|
2
|
+
|
|
3
|
+
import { FIELD_BORDER_WIDTH } from '../../../tokens/field-height.core';
|
|
4
|
+
import { rem, sxRem } from '../../../tokens/relative';
|
|
5
|
+
import { softSignal } from '../../../tokens/surfaces';
|
|
6
|
+
import { actualBarColor, blockToneStyles, breakHatch } from '../ScheduleGrid/schedule-tones';
|
|
7
|
+
import type { ScheduleBlockTone } from '../ScheduleGrid/ScheduleGrid.types';
|
|
8
|
+
import { DAY_RULER_METRICS as M } from './DayRuler.metrics';
|
|
9
|
+
|
|
10
|
+
/** The container narrow rows answer to (container queries, never media queries). */
|
|
11
|
+
/**
|
|
12
|
+
* `--dr-actions`: the actions column, 220px when any row has actions and
|
|
13
|
+
* nothing when none does (no empty column at the end of every row).
|
|
14
|
+
*/
|
|
15
|
+
export function rootSx(hasActions: boolean): SxProps<Theme> {
|
|
16
|
+
return (theme: Theme) => ({
|
|
17
|
+
containerType: 'inline-size',
|
|
18
|
+
minWidth: 0,
|
|
19
|
+
width: '100%',
|
|
20
|
+
userSelect: 'none',
|
|
21
|
+
'--dr-actions': hasActions ? rem(theme, M.sideColumn) : '0%',
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** `@container` below which a row stacks (the coverage and axis rows go full width). Bounds are "from px up". */
|
|
26
|
+
function compact(theme: Theme): string {
|
|
27
|
+
return `@container (width < ${rem(theme, M.compactBelow)})`;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/** `@container` below which the pane is phone-sized: no coverage row, no axis. Bounds are "from px up". */
|
|
31
|
+
function phone(theme: Theme): string {
|
|
32
|
+
return `@container (width < ${rem(theme, M.phoneBelow)})`;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/** Name · track · actions, the coverage row and the axis row share these columns on a computer. */
|
|
36
|
+
export const lineSx: SxProps<Theme> = (theme: Theme) => ({
|
|
37
|
+
display: 'grid',
|
|
38
|
+
gridTemplateColumns: `${rem(theme, M.sideColumn)} minmax(0, 1fr) var(--dr-actions)`,
|
|
39
|
+
columnGap: rem(theme, M.gap),
|
|
40
|
+
alignItems: 'center',
|
|
41
|
+
// Stacked: across the full width, like the tracks; the label above the counts.
|
|
42
|
+
[compact(theme)]: {
|
|
43
|
+
gridTemplateColumns: 'minmax(0, 1fr)',
|
|
44
|
+
rowGap: rem(theme, M.coverage.gap),
|
|
45
|
+
'& > span:empty': { display: 'none' },
|
|
46
|
+
},
|
|
47
|
+
[phone(theme)]: { display: 'none' },
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
export const coverageLabelSx: SxProps<Theme> = { fontSize: sxRem(M.meta), color: 'text.secondary' };
|
|
51
|
+
|
|
52
|
+
export function coverageSx(hours: number): SxProps<Theme> {
|
|
53
|
+
return (theme: Theme) => ({
|
|
54
|
+
display: 'grid',
|
|
55
|
+
gridTemplateColumns: `repeat(${hours}, minmax(0, 1fr))`,
|
|
56
|
+
gap: rem(theme, M.coverage.gap),
|
|
57
|
+
height: rem(theme, M.coverage.height),
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function coverageCellSx(count: number): SxProps<Theme> {
|
|
62
|
+
return (theme: Theme) => ({
|
|
63
|
+
display: 'flex',
|
|
64
|
+
alignItems: 'center',
|
|
65
|
+
justifyContent: 'center',
|
|
66
|
+
fontSize: rem(theme, M.coverage.font),
|
|
67
|
+
borderRadius: rem(theme, M.coverage.radius),
|
|
68
|
+
color: theme.palette.text.primary,
|
|
69
|
+
backgroundColor: count > 0 ? softSignal(theme, 'success') : theme.palette.action.hover,
|
|
70
|
+
border: count > 0 ? `1px solid ${theme.palette.success.main}` : '1px solid transparent',
|
|
71
|
+
minWidth: 0,
|
|
72
|
+
overflow: 'hidden',
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export const axisSx: SxProps<Theme> = (theme: Theme) => ({
|
|
77
|
+
position: 'relative',
|
|
78
|
+
height: rem(theme, M.axis.height),
|
|
79
|
+
fontSize: rem(theme, M.axis.font),
|
|
80
|
+
color: theme.palette.text.secondary,
|
|
81
|
+
mt: 0.5,
|
|
82
|
+
'& > span': { position: 'absolute', transform: 'translateX(-50%)', whiteSpace: 'nowrap' },
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
export const groupTitleSx: SxProps<Theme> = {
|
|
86
|
+
fontSize: sxRem(M.groupTitle),
|
|
87
|
+
letterSpacing: '0.05em',
|
|
88
|
+
textTransform: 'uppercase',
|
|
89
|
+
color: 'text.secondary',
|
|
90
|
+
fontWeight: 500,
|
|
91
|
+
pt: 1.5,
|
|
92
|
+
pb: 0.5,
|
|
93
|
+
m: 0,
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* One person's row. A computer: name · track · actions on one line. A narrow
|
|
98
|
+
* ruler (a phone): name and actions on top, the track under them, full width.
|
|
99
|
+
*/
|
|
100
|
+
export const rowSx: SxProps<Theme> = (theme: Theme) => ({
|
|
101
|
+
display: 'grid',
|
|
102
|
+
gridTemplateColumns: `${rem(theme, M.sideColumn)} minmax(0, 1fr) var(--dr-actions)`,
|
|
103
|
+
gridTemplateAreas: '"who track actions"',
|
|
104
|
+
columnGap: rem(theme, M.gap),
|
|
105
|
+
alignItems: 'center',
|
|
106
|
+
py: rem(theme, M.rowPaddingY),
|
|
107
|
+
borderBottom: `1px solid ${theme.palette.divider}`,
|
|
108
|
+
[compact(theme)]: {
|
|
109
|
+
gridTemplateColumns: 'minmax(0, 1fr) auto',
|
|
110
|
+
gridTemplateAreas: '"who actions" "track track"',
|
|
111
|
+
rowGap: theme.spacing(1),
|
|
112
|
+
py: theme.spacing(1.5),
|
|
113
|
+
},
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
export const whoSx: SxProps<Theme> = { gridArea: 'who', minWidth: 0 };
|
|
117
|
+
|
|
118
|
+
export const actionsSx: SxProps<Theme> = {
|
|
119
|
+
gridArea: 'actions',
|
|
120
|
+
display: 'flex',
|
|
121
|
+
gap: 1,
|
|
122
|
+
alignItems: 'center',
|
|
123
|
+
justifyContent: 'flex-end',
|
|
124
|
+
flexWrap: 'wrap',
|
|
125
|
+
minWidth: 0,
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
/** A break inside a block: a hatched band across its height, under its text. `span` is in % of the block. */
|
|
129
|
+
export function breakSx(span: Span): SxProps<Theme> {
|
|
130
|
+
return (theme: Theme) => ({
|
|
131
|
+
position: 'absolute',
|
|
132
|
+
top: 0,
|
|
133
|
+
bottom: 0,
|
|
134
|
+
left: `${span.at}%`,
|
|
135
|
+
width: `${span.share}%`,
|
|
136
|
+
background: breakHatch(theme, rem(theme, M.breakStripe.ink), rem(theme, M.breakStripe.ink + M.breakStripe.gap)),
|
|
137
|
+
pointerEvents: 'none',
|
|
138
|
+
// Where the band meets an end of the block it takes the block's rounding:
|
|
139
|
+
// on a phone the block does not clip (its hit area reaches past it).
|
|
140
|
+
...(span.at <= 0.01 ? { borderTopLeftRadius: 'inherit', borderBottomLeftRadius: 'inherit' } : {}),
|
|
141
|
+
...(span.at + span.share >= 99.99 ? { borderTopRightRadius: 'inherit', borderBottomRightRadius: 'inherit' } : {}),
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/** The hour lines: one every `every` hours of a `hours`-long ruler. */
|
|
146
|
+
function hourLines(theme: Theme, hours: number, every: number): string {
|
|
147
|
+
const line = theme.palette.divider;
|
|
148
|
+
const step = `${(100 * every) / hours}%`;
|
|
149
|
+
const hairline = `${FIELD_BORDER_WIDTH}px`;
|
|
150
|
+
return `repeating-linear-gradient(to right, ${line} 0, ${line} ${hairline}, transparent ${hairline}, transparent ${step})`;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export function trackSx(opts: { hours: number; tickHours: number; interactive: boolean }): SxProps<Theme> {
|
|
154
|
+
return (theme: Theme) => ({
|
|
155
|
+
gridArea: 'track',
|
|
156
|
+
position: 'relative',
|
|
157
|
+
height: rem(theme, M.track.height),
|
|
158
|
+
borderRadius: rem(theme, M.track.radius),
|
|
159
|
+
backgroundColor: theme.palette.action.hover,
|
|
160
|
+
backgroundImage: hourLines(theme, opts.hours, 1),
|
|
161
|
+
cursor: opts.interactive ? 'crosshair' : 'default',
|
|
162
|
+
touchAction: 'auto',
|
|
163
|
+
outline: 'none',
|
|
164
|
+
'&:focus-visible': { boxShadow: `0 0 0 ${rem(theme, M.ring)} ${theme.palette.primary.main}` },
|
|
165
|
+
[compact(theme)]: {
|
|
166
|
+
height: rem(theme, M.track.compactHeight),
|
|
167
|
+
borderRadius: rem(theme, M.track.compactRadius),
|
|
168
|
+
backgroundImage: hourLines(theme, opts.hours, opts.tickHours),
|
|
169
|
+
},
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/** Where a bar starts and how long it is, both in % of the track. */
|
|
174
|
+
export interface Span {
|
|
175
|
+
at: number;
|
|
176
|
+
share: number;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export function blockSx(tone: ScheduleBlockTone, span: Span, opts: { selected: boolean; movable: boolean }): SxProps<Theme> {
|
|
180
|
+
return (theme: Theme): CSSObject => ({
|
|
181
|
+
...blockToneStyles(theme, tone, true),
|
|
182
|
+
position: 'absolute',
|
|
183
|
+
left: `${span.at}%`,
|
|
184
|
+
width: `${span.share}%`,
|
|
185
|
+
top: rem(theme, M.block.top),
|
|
186
|
+
height: rem(theme, M.block.height),
|
|
187
|
+
boxSizing: 'border-box',
|
|
188
|
+
borderRadius: rem(theme, M.block.radius),
|
|
189
|
+
display: 'flex',
|
|
190
|
+
alignItems: 'center',
|
|
191
|
+
justifyContent: 'center',
|
|
192
|
+
padding: `0 ${rem(theme, M.block.paddingX)}`,
|
|
193
|
+
margin: 0,
|
|
194
|
+
font: 'inherit',
|
|
195
|
+
fontSize: rem(theme, M.block.font),
|
|
196
|
+
fontWeight: 500,
|
|
197
|
+
whiteSpace: 'nowrap',
|
|
198
|
+
overflow: 'hidden',
|
|
199
|
+
cursor: opts.movable ? 'grab' : 'pointer',
|
|
200
|
+
boxShadow: opts.selected ? `0 0 0 ${rem(theme, M.ring)} ${theme.palette.primary.main}` : 'none',
|
|
201
|
+
'&:focus-visible': { outline: `${rem(theme, M.ring)} solid ${theme.palette.primary.main}`, outlineOffset: rem(theme, M.ringOffset) },
|
|
202
|
+
'& [data-dr-text]': { position: 'relative', overflow: 'hidden', textOverflow: 'ellipsis', minWidth: 0 },
|
|
203
|
+
'& [data-dr-text="short"]': { display: 'none' },
|
|
204
|
+
[compact(theme)]: {
|
|
205
|
+
top: rem(theme, M.block.compactTop),
|
|
206
|
+
height: rem(theme, M.block.compactHeight),
|
|
207
|
+
// A 40px hit area around the 20px bar, the look unchanged: the text cuts
|
|
208
|
+
// itself (its spans ellipsize), so the block need not clip.
|
|
209
|
+
overflow: 'visible',
|
|
210
|
+
'&::after': {
|
|
211
|
+
content: '""',
|
|
212
|
+
position: 'absolute',
|
|
213
|
+
left: 0,
|
|
214
|
+
right: 0,
|
|
215
|
+
top: '50%',
|
|
216
|
+
height: rem(theme, M.block.hitArea),
|
|
217
|
+
transform: 'translateY(-50%)',
|
|
218
|
+
},
|
|
219
|
+
'&[data-narrow] [data-dr-text="full"]': { display: 'none' },
|
|
220
|
+
'&[data-narrow] [data-dr-text="short"]': { display: 'inline' },
|
|
221
|
+
},
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export function handleSx(side: 'l' | 'r'): SxProps<Theme> {
|
|
226
|
+
return (theme: Theme) => ({
|
|
227
|
+
position: 'absolute',
|
|
228
|
+
top: 0,
|
|
229
|
+
bottom: 0,
|
|
230
|
+
[side === 'l' ? 'left' : 'right']: 0,
|
|
231
|
+
width: rem(theme, M.handle),
|
|
232
|
+
cursor: 'ew-resize',
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export function actualSx(span: Span): SxProps<Theme> {
|
|
237
|
+
return (theme: Theme) => ({
|
|
238
|
+
position: 'absolute',
|
|
239
|
+
left: `${span.at}%`,
|
|
240
|
+
width: `${span.share}%`,
|
|
241
|
+
top: rem(theme, M.actual.top),
|
|
242
|
+
height: rem(theme, M.actual.height),
|
|
243
|
+
borderRadius: rem(theme, M.actual.radius),
|
|
244
|
+
backgroundColor: actualBarColor(theme),
|
|
245
|
+
pointerEvents: 'none',
|
|
246
|
+
[compact(theme)]: { top: rem(theme, M.actual.compactTop), height: rem(theme, M.actual.compactHeight) },
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export function actualLabelSx(left: number): SxProps<Theme> {
|
|
251
|
+
return (theme: Theme) => ({
|
|
252
|
+
position: 'absolute',
|
|
253
|
+
left: `calc(${left}% + ${rem(theme, M.actualLabel.offset)})`,
|
|
254
|
+
top: rem(theme, M.actualLabel.top),
|
|
255
|
+
fontSize: rem(theme, M.actualLabel.font),
|
|
256
|
+
color: theme.palette.text.secondary,
|
|
257
|
+
whiteSpace: 'nowrap',
|
|
258
|
+
pointerEvents: 'none',
|
|
259
|
+
[compact(theme)]: { display: 'none' },
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export function nowSx(left: number): SxProps<Theme> {
|
|
264
|
+
return (theme: Theme) => ({
|
|
265
|
+
position: 'absolute',
|
|
266
|
+
left: `${left}%`,
|
|
267
|
+
top: rem(theme, -M.now.overhang),
|
|
268
|
+
bottom: rem(theme, -M.now.overhang),
|
|
269
|
+
width: rem(theme, M.now.width),
|
|
270
|
+
backgroundColor: theme.palette.primary.main,
|
|
271
|
+
pointerEvents: 'none',
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export const skeletonTrackSx: SxProps<Theme> = (theme: Theme) => ({
|
|
276
|
+
gridArea: 'track',
|
|
277
|
+
height: rem(theme, M.track.height),
|
|
278
|
+
borderRadius: rem(theme, M.track.radius),
|
|
279
|
+
backgroundColor: theme.palette.action.hover,
|
|
280
|
+
});
|
|
281
|
+
|
|
282
|
+
export const skeletonNameSx: SxProps<Theme> = (theme: Theme) => ({
|
|
283
|
+
gridArea: 'who',
|
|
284
|
+
height: rem(theme, M.name),
|
|
285
|
+
width: '60%',
|
|
286
|
+
borderRadius: rem(theme, M.skeletonNameRadius),
|
|
287
|
+
backgroundColor: theme.palette.action.hover,
|
|
288
|
+
});
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import Box from '@mui/material/Box/index.js';
|
|
4
|
+
import type React from 'react';
|
|
5
|
+
|
|
6
|
+
import { EN_US_UI_LABELS } from '../../../en-US.labels';
|
|
7
|
+
import { resolveLabels } from '../../../utils/resolve-labels';
|
|
8
|
+
import { SR_ONLY_SX } from '../ScheduleGrid/ScheduleGrid.styles';
|
|
9
|
+
import { useAnnouncer } from '../ScheduleGrid/useAnnouncer';
|
|
10
|
+
import { handleBlockKey, keyCreateSpan, type RulerAbilities, type RulerScale } from './DayRuler.keyboard';
|
|
11
|
+
import { DAY_RULER_METRICS as M } from './DayRuler.metrics';
|
|
12
|
+
import { Axis, Coverage, RulerRow, type RowContext } from './DayRuler.parts';
|
|
13
|
+
import { groupTitleSx, rootSx, rowSx, skeletonNameSx, skeletonTrackSx } from './DayRuler.styles';
|
|
14
|
+
import type { DayRulerProps, DayRulerRow } from './DayRuler.types';
|
|
15
|
+
import { useRulerDrag } from './useRulerDrag';
|
|
16
|
+
|
|
17
|
+
/** The rows, grouped under a heading each time `row.group` changes. */
|
|
18
|
+
function grouped(rows: readonly DayRulerRow[]): { title?: string; rows: DayRulerRow[] }[] {
|
|
19
|
+
const out: { title?: string; rows: DayRulerRow[] }[] = [];
|
|
20
|
+
for (const row of rows) {
|
|
21
|
+
const last = out[out.length - 1];
|
|
22
|
+
if (last && last.title === row.group) last.rows.push(row);
|
|
23
|
+
else out.push({ title: row.group, rows: [row] });
|
|
24
|
+
}
|
|
25
|
+
return out;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function scaleOf(props: DayRulerProps): RulerScale {
|
|
29
|
+
return {
|
|
30
|
+
from: props.from ?? 6,
|
|
31
|
+
to: props.to ?? 26,
|
|
32
|
+
snap: (props.snapMinutes ?? 15) / 60,
|
|
33
|
+
createHours: props.createHours ?? 4,
|
|
34
|
+
tickHours: props.tickHours ?? 4,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function abilitiesOf(props: DayRulerProps): RulerAbilities {
|
|
39
|
+
const open = !props.readOnly && !props.loading;
|
|
40
|
+
return { create: open && Boolean(props.onCreate), move: open && Boolean(props.onMove), resize: open && Boolean(props.onResize) };
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/** The groups and their rows — or the skeleton, the host's error, or the host's empty state. */
|
|
44
|
+
function RulerBody({ props, ctx }: { props: DayRulerProps; ctx: RowContext }): React.JSX.Element {
|
|
45
|
+
if (props.error) return <>{props.error}</>;
|
|
46
|
+
if (props.loading) {
|
|
47
|
+
return (
|
|
48
|
+
<>
|
|
49
|
+
{Array.from({ length: M.skeletonRows }, (_, index) => (
|
|
50
|
+
<Box key={index} sx={rowSx} aria-hidden data-testid={`${ctx.testId}-loading`}>
|
|
51
|
+
<Box sx={skeletonNameSx} />
|
|
52
|
+
<Box sx={skeletonTrackSx} />
|
|
53
|
+
</Box>
|
|
54
|
+
))}
|
|
55
|
+
</>
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
if (props.rows.length === 0) return <>{props.empty ?? null}</>;
|
|
59
|
+
return (
|
|
60
|
+
<>
|
|
61
|
+
{grouped(props.rows).map((group, index) => (
|
|
62
|
+
<Box key={`${index}-${group.title ?? ''}`} role="list" aria-label={group.title}>
|
|
63
|
+
{group.title ? (
|
|
64
|
+
<Box component="p" sx={groupTitleSx} aria-hidden>
|
|
65
|
+
{group.title}
|
|
66
|
+
</Box>
|
|
67
|
+
) : null}
|
|
68
|
+
{group.rows.map((row) => (
|
|
69
|
+
<RulerRow key={row.id} row={row} ctx={ctx} />
|
|
70
|
+
))}
|
|
71
|
+
</Box>
|
|
72
|
+
))}
|
|
73
|
+
</>
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* One day as an hour ruler per row — who is on the escala when, and who is
|
|
79
|
+
* really on shift (FUT-3825). Drag on an empty stretch to create (a click
|
|
80
|
+
* alone is `createHours`), drag a block to move it, drag its ends to change
|
|
81
|
+
* them; every hour snaps to `snapMinutes`. On a narrow ruler (a phone) each row
|
|
82
|
+
* stacks and the blocks are tap-only: touch scrolls and never drags.
|
|
83
|
+
*
|
|
84
|
+
* The ruler reports gestures; hours, limits and refusals are the host's.
|
|
85
|
+
*/
|
|
86
|
+
export function DayRuler(props: DayRulerProps): React.JSX.Element {
|
|
87
|
+
const { now, onCreate, onMove, onResize } = props;
|
|
88
|
+
const testId = props.dataTestId ?? 'day-ruler';
|
|
89
|
+
const labels = resolveLabels(EN_US_UI_LABELS.dayRuler, props.labels);
|
|
90
|
+
const scale = scaleOf(props);
|
|
91
|
+
const can = abilitiesOf(props);
|
|
92
|
+
const dragApi = useRulerDrag(scale, { onCreate, onMove, onResize });
|
|
93
|
+
const { text: announcement, say } = useAnnouncer();
|
|
94
|
+
|
|
95
|
+
const ctx: RowContext = {
|
|
96
|
+
scale,
|
|
97
|
+
now,
|
|
98
|
+
can,
|
|
99
|
+
drag: dragApi.drag,
|
|
100
|
+
dragApi,
|
|
101
|
+
onBlockClick: props.onBlockClick,
|
|
102
|
+
onKeyCreate: (row) => {
|
|
103
|
+
const [start, end] = keyCreateSpan(scale, now, props.createStart?.(row.id));
|
|
104
|
+
onCreate?.(row.id, start, end);
|
|
105
|
+
},
|
|
106
|
+
onBlockKey: (event, block) => handleBlockKey(event, block, { scale, can, onMove, onResize, labels, say }),
|
|
107
|
+
createLabel: labels.createTrack,
|
|
108
|
+
testId,
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
return (
|
|
112
|
+
<Box
|
|
113
|
+
sx={rootSx(props.rows.some((row) => row.actions !== undefined && row.actions !== null))}
|
|
114
|
+
data-testid={testId}
|
|
115
|
+
role="region"
|
|
116
|
+
aria-label={props['aria-label']}
|
|
117
|
+
aria-busy={props.loading || undefined}
|
|
118
|
+
aria-description={props.loading ? labels.loading : undefined}
|
|
119
|
+
>
|
|
120
|
+
{props.coverage && props.coverage.length > 0 ? (
|
|
121
|
+
<Coverage coverage={props.coverage} label={props.coverageLabel} scale={scale} testId={testId} />
|
|
122
|
+
) : null}
|
|
123
|
+
<Axis scale={scale} testId={testId} />
|
|
124
|
+
<RulerBody props={props} ctx={ctx} />
|
|
125
|
+
<Box sx={SR_ONLY_SX} aria-live="polite" role="status" data-testid={`${testId}-live`}>
|
|
126
|
+
{announcement}
|
|
127
|
+
</Box>
|
|
128
|
+
</Box>
|
|
129
|
+
);
|
|
130
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
|
|
3
|
+
import type { DayRulerLabels } from '../../../copy/labels';
|
|
4
|
+
import type { ScheduleBlockTone } from '../ScheduleGrid/ScheduleGrid.types';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Times on the ruler are HOURS from the day's midnight, fractions included:
|
|
8
|
+
* `20.75` is 20:45, and a value past 24 is the next morning (`26` is 02:00).
|
|
9
|
+
*/
|
|
10
|
+
export type RulerHour = number;
|
|
11
|
+
|
|
12
|
+
/** A scheduled block on a row's track. */
|
|
13
|
+
export interface DayRulerBlock {
|
|
14
|
+
id: string;
|
|
15
|
+
start: RulerHour;
|
|
16
|
+
end: RulerHour;
|
|
17
|
+
/** What the block says ("↻ 20:39–00:00", "Ausente"). One line, cut with an ellipsis. */
|
|
18
|
+
label: string;
|
|
19
|
+
/** What a NARROW block says on a narrow ruler (a phone) instead of a cut label — its start ("20:39"). */
|
|
20
|
+
shortLabel?: string;
|
|
21
|
+
tone: ScheduleBlockTone;
|
|
22
|
+
/** Its middle can be dragged along the row (and Alt+←/→ moves it). */
|
|
23
|
+
movable?: boolean;
|
|
24
|
+
/** Its ends can be dragged (and Shift+←/→ moves its end, Shift+Alt+←/→ its start). */
|
|
25
|
+
resizable?: boolean;
|
|
26
|
+
/** Drawn with a ring (the block whose window is open). */
|
|
27
|
+
selected?: boolean;
|
|
28
|
+
/** Tooltip and full text. Default: `label`. */
|
|
29
|
+
title?: string;
|
|
30
|
+
/**
|
|
31
|
+
* A stretch inside the block that is not worked (a meal break), in ruler
|
|
32
|
+
* hours, drawn as a hatched gap. It travels with the block while it is
|
|
33
|
+
* dragged and is cut to the block's ends. The words for it are the host's
|
|
34
|
+
* (`label`, `title`).
|
|
35
|
+
*/
|
|
36
|
+
breakSpan?: { start: RulerHour; end: RulerHour };
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/** The shift as it really runs: a thin bar under the blocks. */
|
|
40
|
+
export interface DayRulerActual {
|
|
41
|
+
start: RulerHour;
|
|
42
|
+
end: RulerHour;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** One person (or resource) on the day. */
|
|
46
|
+
export interface DayRulerRow {
|
|
47
|
+
id: string;
|
|
48
|
+
label: string;
|
|
49
|
+
/** Under the name ("em turno desde 08:26 · sem escala", "atrasado · era 20:39"). */
|
|
50
|
+
meta?: string;
|
|
51
|
+
metaTone?: 'default' | 'warning';
|
|
52
|
+
/** Beside the name, on its line (a "Freela" tag); moves under the name when the column has no room for both. */
|
|
53
|
+
nameAdornment?: React.ReactNode;
|
|
54
|
+
/** Under the meta: the host's chips (praça, "Em pausa desde …"). One line; a chip that does not fit shrinks, its label cut. */
|
|
55
|
+
chips?: React.ReactNode;
|
|
56
|
+
/** The row's own buttons ("Encerrar turno", "Iniciar agora"), at the end of the row. */
|
|
57
|
+
actions?: React.ReactNode;
|
|
58
|
+
blocks: readonly DayRulerBlock[];
|
|
59
|
+
actual?: DayRulerActual;
|
|
60
|
+
/** Written on the track at the actual bar's start ("sem escala · desde 08:26"). */
|
|
61
|
+
actualLabel?: string;
|
|
62
|
+
/** The heading of the group this row opens or continues ("Entregas"); a new value starts a new group. */
|
|
63
|
+
group?: string;
|
|
64
|
+
/** Makes the name a button. */
|
|
65
|
+
onLabelClick?: () => void;
|
|
66
|
+
labelAccessible?: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export interface DayRulerProps {
|
|
70
|
+
rows: readonly DayRulerRow[];
|
|
71
|
+
/** The ruler's first hour (default 6, 06:00). */
|
|
72
|
+
from?: RulerHour;
|
|
73
|
+
/** Its last hour (default 26, 02:00 the next day). */
|
|
74
|
+
to?: RulerHour;
|
|
75
|
+
/** "Agora": a line across every track, when it falls on the ruler. */
|
|
76
|
+
now?: RulerHour;
|
|
77
|
+
/** People per hour, one entry per hour from `from` (index 0 = `from…from+1`). Drawn above the axis. */
|
|
78
|
+
coverage?: readonly number[];
|
|
79
|
+
/** Beside the coverage row ("Na escala, por hora"). */
|
|
80
|
+
coverageLabel?: string;
|
|
81
|
+
/** An axis label every this many hours (default 4). */
|
|
82
|
+
tickHours?: number;
|
|
83
|
+
/** Every gesture snaps to this (default 15 minutes). */
|
|
84
|
+
snapMinutes?: number;
|
|
85
|
+
/** A click alone on a track creates this long (default 4 hours). */
|
|
86
|
+
createHours?: number;
|
|
87
|
+
/** Where Enter on a focused track creates (default: `now` snapped up, else `from`). */
|
|
88
|
+
createStart?: (rowId: string) => RulerHour;
|
|
89
|
+
/** No create, move or resize. Block clicks still reach `onBlockClick`. */
|
|
90
|
+
readOnly?: boolean;
|
|
91
|
+
onCreate?: (rowId: string, start: RulerHour, end: RulerHour) => void;
|
|
92
|
+
onMove?: (blockId: string, start: RulerHour, end: RulerHour) => void;
|
|
93
|
+
onResize?: (blockId: string, start: RulerHour, end: RulerHour) => void;
|
|
94
|
+
onBlockClick?: (blockId: string) => void;
|
|
95
|
+
loading?: boolean;
|
|
96
|
+
error?: React.ReactNode;
|
|
97
|
+
empty?: React.ReactNode;
|
|
98
|
+
'aria-label'?: string;
|
|
99
|
+
/** The component's own words. Default: the English pack. */
|
|
100
|
+
labels?: Partial<DayRulerLabels>;
|
|
101
|
+
/**
|
|
102
|
+
* Base test id (default `day-ruler`). Parts: `-coverage`, `-axis`, `-row-${rowId}`,
|
|
103
|
+
* `-track-${rowId}`, `-block-${blockId}`, `-handle-l-${blockId}`, `-handle-r-${blockId}`, `-break-${blockId}`,
|
|
104
|
+
* `-actual-${rowId}`, `-now`, `-preview`, `-live`, `-loading`.
|
|
105
|
+
*/
|
|
106
|
+
dataTestId?: string;
|
|
107
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { RulerHour } from './DayRuler.types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* THE RULER'S ARITHMETIC, as pure functions (FUT-3825): snapping, clamping,
|
|
5
|
+
* positions and the HH:MM the ruler writes. Hours are from the day's
|
|
6
|
+
* midnight; past 24 is the next morning.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
/** `h` on the `snap`-hour grid (0.25 for 15 minutes). */
|
|
10
|
+
export function snapTo(h: RulerHour, snap: number): RulerHour {
|
|
11
|
+
return snap > 0 ? Math.round(h / snap) * snap : h;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export function clamp(h: RulerHour, from: RulerHour, to: RulerHour): RulerHour {
|
|
15
|
+
return Math.min(to, Math.max(from, h));
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/** The hour under `x` on a track whose box starts at `left` and is `width` wide, snapped and clamped. */
|
|
19
|
+
export function hourAt(x: number, left: number, width: number, from: RulerHour, to: RulerHour, snap: number): RulerHour {
|
|
20
|
+
const share = width > 0 ? (x - left) / width : 0;
|
|
21
|
+
return clamp(snapTo(from + share * (to - from), snap), from, to);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** Where `h` sits along the ruler, 0..100 (%), clamped to it. */
|
|
25
|
+
export function percentOf(h: RulerHour, from: RulerHour, to: RulerHour): number {
|
|
26
|
+
return ((clamp(h, from, to) - from) / (to - from)) * 100;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/** "20:45"; 26 → "02:00", 24 → "00:00". */
|
|
30
|
+
export function formatHour(h: RulerHour): string {
|
|
31
|
+
const minutes = Math.round(h * 60);
|
|
32
|
+
const hh = Math.floor(minutes / 60) % 24;
|
|
33
|
+
const mm = minutes % 60;
|
|
34
|
+
return `${String(hh).padStart(2, '0')}:${String(mm).padStart(2, '0')}`;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/** "20:45–00:45". */
|
|
38
|
+
export function formatRange(start: RulerHour, end: RulerHour): string {
|
|
39
|
+
return `${formatHour(start)}–${formatHour(end)}`;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/** A block slid by `delta`, keeping its length and staying on the ruler. */
|
|
43
|
+
export function moved(start: RulerHour, end: RulerHour, delta: number, from: RulerHour, to: RulerHour): [RulerHour, RulerHour] {
|
|
44
|
+
const length = end - start;
|
|
45
|
+
const next = clamp(start + delta, from, to - length);
|
|
46
|
+
return [next, next + length];
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/** A block whose `side` was dragged to `h`, never shorter than `minHours`, never off the ruler. */
|
|
50
|
+
export function resized(
|
|
51
|
+
start: RulerHour,
|
|
52
|
+
end: RulerHour,
|
|
53
|
+
side: 'start' | 'end',
|
|
54
|
+
h: RulerHour,
|
|
55
|
+
minHours: number,
|
|
56
|
+
from: RulerHour,
|
|
57
|
+
to: RulerHour,
|
|
58
|
+
): [RulerHour, RulerHour] {
|
|
59
|
+
if (side === 'start') return [clamp(Math.min(h, end - minHours), from, to), end];
|
|
60
|
+
return [start, clamp(Math.max(h, start + minHours), from, to)];
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/** A click alone (shorter than `minHours`) becomes `createHours` from where it was pressed. */
|
|
64
|
+
export function createdSpan(
|
|
65
|
+
a: RulerHour,
|
|
66
|
+
b: RulerHour,
|
|
67
|
+
minHours: number,
|
|
68
|
+
createHours: number,
|
|
69
|
+
to: RulerHour,
|
|
70
|
+
): [RulerHour, RulerHour] {
|
|
71
|
+
const start = Math.min(a, b);
|
|
72
|
+
const end = Math.max(a, b);
|
|
73
|
+
if (end - start >= minHours) return [start, end];
|
|
74
|
+
return [start, Math.min(to, start + createHours)];
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/** The axis labels: every `step` hours from `from` to `to`, both ends included. */
|
|
78
|
+
export function ticksOf(from: RulerHour, to: RulerHour, step: number): RulerHour[] {
|
|
79
|
+
const out: RulerHour[] = [];
|
|
80
|
+
if (step <= 0) return [from, to];
|
|
81
|
+
for (let h = from; h <= to + 1e-9; h += step) out.push(h);
|
|
82
|
+
return out;
|
|
83
|
+
}
|