@12-apps/ui 6.88.0 → 6.89.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/components-catalog.md +1 -1
- 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 +5 -5
- package/dist/_internal/components/data-display/Avatar/Avatar.js +3 -3
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +8 -8
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +8 -8
- package/dist/_internal/components/data-display/Carousel/Carousel.js +3 -3
- package/dist/_internal/components/data-display/Chart/SpecChart.js +3 -3
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +34 -34
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +47 -47
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +3 -3
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +9 -9
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +3 -3
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +6 -6
- package/dist/_internal/components/data-display/DataViews/base-list-card-layout.js +7 -7
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +5 -5
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +9 -9
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +7 -7
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +12 -12
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +31 -31
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +15 -15
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +12 -12
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +13 -13
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +11 -11
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +16 -16
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +10 -10
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +4 -4
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +2 -2
- package/dist/_internal/components/data-display/DayRuler/DayRuler.en-US.js +8 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.js +11 -11
- package/dist/_internal/components/data-display/DayRuler/DayRuler.keyboard.js +2 -2
- package/dist/_internal/components/data-display/DayRuler/DayRuler.labels.js +10 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.parts.js +6 -6
- package/dist/_internal/components/data-display/DayRuler/DayRuler.pt-BR.js +8 -0
- package/dist/_internal/components/data-display/DayRuler/DayRuler.pt-BR.js.map +1 -0
- package/dist/_internal/components/data-display/DayRuler/useRulerDrag.js +2 -2
- 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 +10 -10
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +9 -9
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +14 -14
- package/dist/_internal/components/data-display/HoverCard/HoverCard.js +3 -3
- package/dist/_internal/components/data-display/LazyImage/LazyImage.js +2 -2
- 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 +2 -2
- 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 +4 -4
- package/dist/_internal/components/data-display/RegionMap/RegionMapDrawing.js +2 -2
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.en-US.js +8 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.en-US.js.map +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.js +9 -8
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.keyboard.js +1 -1
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.labels.js +10 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.labels.js.map +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.parts.js +5 -5
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.pt-BR.js +8 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.pt-BR.js.map +1 -0
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleGrid.styles.js +2 -2
- package/dist/_internal/components/data-display/ScheduleGrid/ScheduleNameCell.js +3 -3
- package/dist/_internal/components/data-display/ScheduleGrid/schedule-name.styles.js +2 -2
- package/dist/_internal/components/data-display/ScheduleGrid/useScrollToDay.js +8 -0
- package/dist/_internal/components/data-display/ScheduleGrid/useScrollToDay.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 +3 -3
- package/dist/_internal/components/data-display/Sheet/Sheet.js +4 -4
- package/dist/_internal/components/data-display/Sheet/Sheet.parts.js +2 -2
- package/dist/_internal/components/data-display/Stepper/Stepper.js +2 -2
- package/dist/_internal/components/data-display/Table/Table.js +3 -3
- 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 +87 -74
- 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 +6 -6
- 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/SequenceResolver/SequenceResolver.js +3 -3
- package/dist/_internal/components/feedback/Sonner/Sonner.js +2 -2
- package/dist/_internal/components/feedback/StackedModal/StackedModal.js +3 -3
- 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/index.js +13 -13
- package/dist/_internal/components/form/Calendar/Calendar.js +2 -2
- package/dist/_internal/components/form/Command/Command.hooks.js +2 -2
- package/dist/_internal/components/form/Command/Command.js +4 -4
- package/dist/_internal/components/form/Command/Command.parts.js +2 -2
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.hooks.js +3 -3
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +6 -6
- 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/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/index.js +13 -13
- package/dist/_internal/components/form/total-form/FormErrorSnackbar.js +3 -3
- package/dist/_internal/components/index.js +133 -120
- 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/SettingsLayout/SettingsLayout.js +2 -2
- package/dist/_internal/components/layout/TableFilter/TableFilter.js +2 -2
- package/dist/_internal/components/layout/index.js +9 -9
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +6 -6
- package/dist/_internal/components/navigation/AppHeader/AppHeader.identity.js +2 -2
- package/dist/_internal/components/navigation/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenu.js +3 -3
- package/dist/_internal/components/navigation/NavigationMenu/NavigationStandardBody.js +2 -2
- package/dist/_internal/components/navigation/SectionNav/SectionNav.bar.js +4 -4
- package/dist/_internal/components/navigation/SectionNav/SectionNav.js +5 -5
- package/dist/_internal/components/navigation/SectionNav/SectionNav.sheet.js +3 -3
- package/dist/_internal/components/navigation/index.js +15 -15
- package/dist/_internal/components/typography/Code/Code.js +2 -2
- package/dist/_internal/components/typography/index.js +2 -2
- 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/WorkflowStep/WorkflowStep.helpers.js +2 -2
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.js +5 -5
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.parts.js +3 -3
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStepRow.js +4 -4
- package/dist/_internal/components/utility/index.js +8 -8
- package/dist/_internal/en-US.labels.js +1 -1
- package/dist/_internal/pt-BR.labels.js +1 -1
- package/dist/_internal/social-login-button/social-login-button.js +2 -2
- package/dist/_internal/user-avatar/user-avatar.js +4 -4
- package/dist/charts.js +11 -11
- package/dist/{chunk-C3MXURP3.js → chunk-2M3W6ACW.js} +2 -2
- package/dist/{chunk-7IBFGOLF.js → chunk-3YFDGFEK.js} +2 -2
- package/dist/{chunk-O2MR6U7Q.js → chunk-3Z6JX7UN.js} +2 -2
- package/dist/{chunk-ZIA774ZW.js → chunk-4IG73U2X.js} +2 -2
- package/dist/{chunk-VQ7YNAK2.js → chunk-4QGMUHAU.js} +2 -2
- package/dist/{chunk-TYGVNTUP.js → chunk-5CP5Z3YU.js} +2 -2
- package/dist/chunk-5EP37B4F.js +57 -0
- package/dist/chunk-5EP37B4F.js.map +1 -0
- package/dist/{chunk-WLC56R2I.js → chunk-5KK3I42O.js} +6 -6
- package/dist/{chunk-B7GGLFJB.js → chunk-5RSK5M6M.js} +2 -2
- package/dist/{chunk-WUBMJSBR.js → chunk-5S5K73I6.js} +2 -2
- package/dist/{chunk-EE6DJPB7.js → chunk-6HXNFNOB.js} +4 -4
- package/dist/{chunk-XALFZ25A.js → chunk-7F6D73NL.js} +4 -4
- package/dist/{chunk-2Q2DUGH7.js → chunk-7QKFMMWK.js} +2 -2
- package/dist/{chunk-UBMH5MED.js → chunk-7QKIL5YF.js} +4 -4
- package/dist/{chunk-6BQ3YKLD.js → chunk-7W5X3KQ2.js} +2 -2
- package/dist/{chunk-6HZYRKOB.js → chunk-A5OERY43.js} +4 -4
- package/dist/{chunk-AWUB3T7C.js → chunk-ABVIMFSD.js} +2 -2
- package/dist/{chunk-I6CP3ZTP.js → chunk-AJ6KFHEE.js} +2 -2
- package/dist/{chunk-EVIQUBC6.js → chunk-AKE6KVQG.js} +4 -4
- package/dist/{chunk-AXGQB24R.js → chunk-ALOEOGQV.js} +2 -2
- package/dist/{chunk-WHOD6LVN.js → chunk-B32XH7NK.js} +3 -3
- package/dist/{chunk-3B4NXP4N.js → chunk-B5STMM3R.js} +3 -3
- package/dist/{chunk-B5SBDLRS.js → chunk-BAQ3ITZV.js} +2 -2
- package/dist/{chunk-HWJ3FLZY.js → chunk-BEHT4IHH.js} +5 -5
- package/dist/{chunk-BBBHPK2Q.js → chunk-BMTIBQQC.js} +6 -6
- package/dist/{chunk-XEKJ7L7I.js → chunk-BNBWUXT3.js} +2 -2
- package/dist/{chunk-LSGZLFKX.js → chunk-BO6MT2S2.js} +5 -5
- package/dist/{chunk-64UNVW6D.js → chunk-BP3ZKIPE.js} +4 -4
- package/dist/{chunk-B7ZAEZJW.js → chunk-C347NNZJ.js} +2 -2
- package/dist/{chunk-AEAVVKGY.js → chunk-CAOL4AIB.js} +2 -2
- package/dist/{chunk-OZYUE2BI.js → chunk-CJUK32UH.js} +4 -4
- package/dist/{chunk-N2KHISGH.js → chunk-COK65GX2.js} +2 -2
- package/dist/{chunk-YLZXIR6B.js → chunk-COKPPU42.js} +11 -11
- package/dist/{chunk-D3B4V44W.js → chunk-CY4XIZNW.js} +2 -2
- package/dist/chunk-D3OXTS7Y.js +14 -0
- package/dist/chunk-D3OXTS7Y.js.map +1 -0
- package/dist/{chunk-5YVMFK7Y.js → chunk-DAFFZED3.js} +2 -2
- package/dist/{chunk-UMOHHWXY.js → chunk-DAHSKQBV.js} +2 -2
- package/dist/chunk-DDGYTY4E.js +17 -0
- package/dist/chunk-DDGYTY4E.js.map +1 -0
- package/dist/{chunk-HED2CZDZ.js → chunk-E2UOEI7N.js} +2 -2
- package/dist/{chunk-ZLIES3XR.js → chunk-E5OBAS3U.js} +2 -2
- package/dist/{chunk-MAYAJXO6.js → chunk-EKSJES5E.js} +4 -4
- package/dist/{chunk-AD6GRJFV.js → chunk-EOIRU62W.js} +3 -3
- package/dist/chunk-ESOM4KVQ.js +1 -0
- package/dist/chunk-ESOM4KVQ.js.map +1 -0
- package/dist/{chunk-CSJ7WNXU.js → chunk-EUR2ORTN.js} +2 -2
- package/dist/{chunk-TOLCZ4XT.js → chunk-EWFBDAB7.js} +2 -2
- package/dist/{chunk-IQ5MBELJ.js → chunk-EXVCVXFX.js} +7 -7
- package/dist/{chunk-RZTUMBRD.js → chunk-EYFDIUVR.js} +2 -2
- package/dist/{chunk-NTCWIMIU.js → chunk-F7LBTMCA.js} +2 -2
- package/dist/{chunk-MLIBJWQZ.js → chunk-FKF34YJV.js} +11 -11
- package/dist/chunk-FKF34YJV.js.map +1 -0
- package/dist/{chunk-L5GZZUTY.js → chunk-FORQEHRQ.js} +2 -2
- package/dist/{chunk-TOOEEQ46.js → chunk-HBH7V3IP.js} +2 -2
- package/dist/{chunk-P5C4DTO4.js → chunk-HNEZWVDR.js} +3 -3
- package/dist/chunk-HNW7IZPV.js +17 -0
- package/dist/chunk-HNW7IZPV.js.map +1 -0
- package/dist/{chunk-MJDSXQV7.js → chunk-HUXAIQC5.js} +2 -2
- package/dist/{chunk-YAQE7QVC.js → chunk-I4DG3PP4.js} +2 -2
- package/dist/{chunk-KLLHCPA2.js → chunk-IMYKJTVX.js} +2 -2
- package/dist/{chunk-CTN4BRAH.js → chunk-JIEVKHOH.js} +7 -7
- package/dist/chunk-K3IB7S7Q.js +14 -0
- package/dist/chunk-K3IB7S7Q.js.map +1 -0
- package/dist/{chunk-I62SKY4E.js → chunk-K6FCSB6T.js} +4 -4
- package/dist/{chunk-2KBATUOZ.js → chunk-K7IDOTSU.js} +3 -3
- package/dist/{chunk-T7NEXLW6.js → chunk-KES3HNSU.js} +2 -2
- package/dist/{chunk-JJFLCEJJ.js → chunk-KF3Q3C3P.js} +2 -2
- package/dist/{chunk-2ENMRK3U.js → chunk-L5KPBMMF.js} +2 -2
- package/dist/{chunk-Y4ZWPOUV.js → chunk-LLPPIO3K.js} +2 -2
- package/dist/{chunk-ZCNR4DN5.js → chunk-LOLYBFYY.js} +5 -5
- package/dist/{chunk-D3SIZ2CX.js → chunk-LV6AD6XC.js} +3 -3
- package/dist/chunk-LVZYKETN.js +15 -0
- package/dist/chunk-LVZYKETN.js.map +1 -0
- package/dist/{chunk-I5SIHPOG.js → chunk-LXIPBHNJ.js} +2 -2
- package/dist/chunk-M6K6PCOS.js +1 -0
- package/dist/chunk-M6K6PCOS.js.map +1 -0
- package/dist/{chunk-3EKY63LD.js → chunk-MSJP2AEN.js} +2 -2
- package/dist/{chunk-GCR6VE5S.js → chunk-MW7P2C2C.js} +2 -2
- package/dist/{chunk-ARPOWDEO.js → chunk-MX2RF34M.js} +3 -3
- package/dist/chunk-MX2RF34M.js.map +1 -0
- package/dist/{chunk-L62HC3UB.js → chunk-N557OEZR.js} +2 -2
- package/dist/{chunk-DRJGHTQU.js → chunk-NASLJO2R.js} +2 -2
- package/dist/chunk-NMXYHPOG.js +15 -0
- package/dist/chunk-NMXYHPOG.js.map +1 -0
- package/dist/{chunk-UNCDOLF5.js → chunk-NQDOKJLI.js} +2 -2
- package/dist/{chunk-2CRNOJGL.js → chunk-NXQ6PXLJ.js} +3 -3
- package/dist/{chunk-UIJU5X26.js → chunk-O3OU3ED7.js} +17 -10
- package/dist/chunk-O3OU3ED7.js.map +1 -0
- package/dist/{chunk-FKS2PNJF.js → chunk-O63ZROSY.js} +9 -9
- package/dist/{chunk-Y6IIWGZB.js → chunk-OBA75Y5O.js} +2 -2
- package/dist/{chunk-ICHM2LQA.js → chunk-OKRITX4S.js} +8 -8
- package/dist/{chunk-Z7CBLQQR.js → chunk-OLHAUGVQ.js} +2 -2
- package/dist/{chunk-5QUH53HV.js → chunk-OWRQOYUE.js} +6 -6
- package/dist/{chunk-W676GY42.js → chunk-P772HCHI.js} +4 -4
- package/dist/{chunk-MLAIXRVL.js → chunk-PEVBSNCD.js} +2 -2
- package/dist/{chunk-2UNZG4JK.js → chunk-PNZH6CDD.js} +2 -2
- package/dist/{chunk-YFG6XXBB.js → chunk-PVIQDBUN.js} +2 -2
- package/dist/{chunk-GS3QDXDP.js → chunk-Q2ERGAQO.js} +2 -2
- package/dist/{chunk-7XUQJJPK.js → chunk-QCYQL3ST.js} +2 -2
- package/dist/{chunk-E6K2UZGR.js → chunk-QKOJ4637.js} +3 -3
- package/dist/{chunk-XRVXQJNB.js → chunk-QRRWLLXW.js} +3 -3
- package/dist/{chunk-WMTW4JXT.js → chunk-RYJ6XGFA.js} +9 -5
- package/dist/chunk-RYJ6XGFA.js.map +1 -0
- package/dist/{chunk-IP424VZD.js → chunk-S4ITA3FA.js} +8 -8
- package/dist/{chunk-UIHPFELH.js → chunk-S6D7NOV7.js} +2 -2
- package/dist/{chunk-WLLUARTC.js → chunk-T2G4LDU5.js} +2 -2
- package/dist/{chunk-YKONJEI4.js → chunk-T5RFH2T5.js} +2 -2
- package/dist/{chunk-LZKS3NER.js → chunk-T77OVQEO.js} +2 -2
- package/dist/{chunk-4PZZJ2AE.js → chunk-TAHO2LCU.js} +3 -3
- package/dist/{chunk-62PTREG5.js → chunk-TI4FGQYV.js} +2 -2
- package/dist/{chunk-PSIUFPXA.js → chunk-TJUWSQYQ.js} +1 -18
- package/dist/{chunk-PSIUFPXA.js.map → chunk-TJUWSQYQ.js.map} +1 -1
- package/dist/{chunk-3KMP2F4R.js → chunk-TYXFFNPM.js} +10 -10
- package/dist/{chunk-AC7K7IJE.js → chunk-TZ44F6W7.js} +2 -2
- package/dist/{chunk-YGQ2DLIM.js → chunk-UBVKMM3V.js} +2 -2
- package/dist/{chunk-N3C4J6Z2.js → chunk-UQ5GJPVZ.js} +3 -3
- package/dist/{chunk-V2QTL6VI.js → chunk-UYKIUUWP.js} +2 -2
- package/dist/{chunk-3STNOYYO.js → chunk-VM4UYCD4.js} +2 -2
- package/dist/{chunk-EXKEPOL7.js → chunk-WAO7UQRS.js} +4 -4
- package/dist/{chunk-IMMPY4Q7.js → chunk-WJMSND5Q.js} +3 -3
- package/dist/{chunk-H5R2EZYI.js → chunk-WNNA6YYE.js} +4 -4
- package/dist/{chunk-SFNVAM7I.js → chunk-WQO5WONV.js} +3 -3
- package/dist/{chunk-NQUYBJKJ.js → chunk-WW3F7DCX.js} +2 -2
- package/dist/{chunk-XNIHDUOP.js → chunk-WYRH6OSN.js} +2 -2
- package/dist/{chunk-WTACWJSF.js → chunk-X4J576GR.js} +2 -2
- package/dist/{chunk-55PFFAAY.js → chunk-XCUHGPPZ.js} +2 -2
- package/dist/{chunk-ZF2LZVDO.js → chunk-XE33EZVS.js} +3 -3
- package/dist/{chunk-LR56OANO.js → chunk-XLU5WFSY.js} +6 -6
- package/dist/{native/chunks/chunk-E5UA5XVN.js → chunk-XOXXG7Q5.js} +1 -18
- package/dist/chunk-XOXXG7Q5.js.map +1 -0
- package/dist/{chunk-BK3YLYL6.js → chunk-Y3F2F36I.js} +4 -4
- package/dist/chunk-Y3F2F36I.js.map +1 -0
- package/dist/{chunk-RFMQBIE6.js → chunk-YBAK2WN5.js} +4 -4
- package/dist/{chunk-DM57YWZH.js → chunk-YGLAGY74.js} +2 -2
- package/dist/{chunk-YWBPASB2.js → chunk-YNVTUQ5B.js} +2 -2
- package/dist/{chunk-AN37BIIO.js → chunk-YOLLISEY.js} +2 -2
- package/dist/{chunk-CVB26LLB.js → chunk-ZANWHTXH.js} +2 -2
- package/dist/{chunk-MPUOLKFT.js → chunk-ZHKCE5LR.js} +1 -1
- package/dist/chunk-ZHKCE5LR.js.map +1 -0
- package/dist/{chunk-G3G5W4OF.js → chunk-ZYZPSBNQ.js} +3 -3
- package/dist/data-display/AlertDialog.js +3 -3
- package/dist/data-display/AsyncStateContainer.js +5 -5
- package/dist/data-display/Avatar.js +3 -3
- package/dist/data-display/CardKit.js +9 -9
- package/dist/data-display/Carousel.js +3 -3
- package/dist/data-display/Chart.js +11 -11
- package/dist/data-display/DataViews.js +54 -54
- package/dist/data-display/DayRuler.js +17 -12
- package/dist/data-display/EmptyState.js +2 -2
- package/dist/data-display/ErrorState.js +2 -2
- package/dist/data-display/FleetMap.js +14 -14
- package/dist/data-display/HoverCard.js +3 -3
- package/dist/data-display/LazyImage.js +2 -2
- package/dist/data-display/Lightbox.js +7 -7
- package/dist/data-display/LoadingState.js +2 -2
- package/dist/data-display/MapPreview.js +8 -8
- package/dist/data-display/RegionMap.js +5 -5
- package/dist/data-display/ScheduleGrid.js +15 -9
- package/dist/data-display/SectionOnboarding.js +4 -4
- package/dist/data-display/Sheet.js +4 -4
- package/dist/data-display/Stepper.js +2 -2
- package/dist/data-display/Table.js +3 -3
- package/dist/data-display/Timeline.js +2 -2
- package/dist/en-US.js +1 -1
- package/dist/feedback/ConfirmAction.js +7 -7
- package/dist/feedback/Dialog.js +2 -2
- package/dist/feedback/SequenceResolver.js +3 -3
- package/dist/feedback/Sonner.js +2 -2
- package/dist/feedback/StackedModal.js +3 -3
- package/dist/feedback/Toast.js +2 -2
- package/dist/form/Calendar.js +2 -2
- package/dist/form/Command.js +4 -4
- package/dist/form/DateRangePicker.js +6 -6
- package/dist/form/RichTextEditor.js +5 -5
- package/dist/form/total-form.js +3 -3
- package/dist/layout/ContentToolbar.js +6 -6
- package/dist/layout/Dashboard.js +2 -2
- package/dist/layout/Drawer.js +2 -2
- package/dist/layout/SettingsLayout.js +2 -2
- package/dist/layout/TableFilter.js +2 -2
- package/dist/locales.js +2 -2
- package/dist/native/chunks/{chunk-4G634E3Q.js → chunk-FXA5DLKR.js} +3 -3
- package/dist/native/chunks/{chunk-WLG3KT2V.js → chunk-IN3XZ7EK.js} +2 -2
- package/dist/{chunk-57FIUJJJ.js → native/chunks/chunk-QHW7JEPZ.js} +1 -18
- package/dist/native/chunks/chunk-QHW7JEPZ.js.map +1 -0
- 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 +8 -8
- package/dist/navigation/Breadcrumbs.js +2 -2
- package/dist/navigation/NavigationMenu.js +3 -3
- package/dist/navigation/SectionNav.js +5 -5
- package/dist/pt-BR.js +1 -1
- package/dist/social-login-button.js +2 -2
- package/dist/types/components/data-display/DayRuler/DayRuler.en-US.d.ts +4 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.en-US.d.ts.map +1 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.keyboard.d.ts +1 -1
- package/dist/types/components/data-display/DayRuler/DayRuler.keyboard.d.ts.map +1 -1
- package/dist/types/components/data-display/DayRuler/DayRuler.labels.d.ts +24 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.labels.d.ts.map +1 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.pt-BR.d.ts +4 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.pt-BR.d.ts.map +1 -0
- package/dist/types/components/data-display/DayRuler/DayRuler.types.d.ts +1 -1
- package/dist/types/components/data-display/DayRuler/DayRuler.types.d.ts.map +1 -1
- package/dist/types/components/data-display/DayRuler/index.d.ts +2 -1
- package/dist/types/components/data-display/DayRuler/index.d.ts.map +1 -1
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.d.ts.map +1 -1
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.en-US.d.ts +4 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.en-US.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.keyboard.d.ts +1 -1
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.keyboard.d.ts.map +1 -1
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.labels.d.ts +26 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.labels.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.parts.d.ts +1 -1
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.parts.d.ts.map +1 -1
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.pt-BR.d.ts +4 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.pt-BR.d.ts.map +1 -0
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.styles.d.ts +4 -1
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.styles.d.ts.map +1 -1
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.types.d.ts +12 -1
- package/dist/types/components/data-display/ScheduleGrid/ScheduleGrid.types.d.ts.map +1 -1
- package/dist/types/components/data-display/ScheduleGrid/index.d.ts +2 -1
- package/dist/types/components/data-display/ScheduleGrid/index.d.ts.map +1 -1
- package/dist/types/components/data-display/ScheduleGrid/useScrollToDay.d.ts +26 -0
- package/dist/types/components/data-display/ScheduleGrid/useScrollToDay.d.ts.map +1 -0
- package/dist/types/copy/labels.d.ts +0 -34
- package/dist/types/copy/labels.d.ts.map +1 -1
- package/dist/types/en-US.labels.d.ts.map +1 -1
- package/dist/types/pt-BR.labels.d.ts.map +1 -1
- package/dist/types-native/copy/labels.d.ts +0 -34
- 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 +4 -4
- package/dist/utility/AnimatedIcon.js +2 -2
- package/dist/utility/InfiniteScroll.js +3 -3
- package/dist/utility/WorkflowStep.js +5 -5
- package/package.json +1 -1
- package/src/components/data-display/DayRuler/DayRuler.en-US.ts +11 -0
- package/src/components/data-display/DayRuler/DayRuler.keyboard.ts +1 -1
- package/src/components/data-display/DayRuler/DayRuler.labels.ts +37 -0
- package/src/components/data-display/DayRuler/DayRuler.md +1 -1
- package/src/components/data-display/DayRuler/DayRuler.pt-BR.ts +11 -0
- package/src/components/data-display/DayRuler/DayRuler.tsx +2 -2
- package/src/components/data-display/DayRuler/DayRuler.types.ts +1 -1
- package/src/components/data-display/DayRuler/index.ts +2 -1
- package/src/components/data-display/ScheduleGrid/ScheduleGrid.en-US.ts +12 -0
- package/src/components/data-display/ScheduleGrid/ScheduleGrid.keyboard.ts +1 -1
- package/src/components/data-display/ScheduleGrid/ScheduleGrid.labels.ts +39 -0
- package/src/components/data-display/ScheduleGrid/ScheduleGrid.md +5 -1
- package/src/components/data-display/ScheduleGrid/ScheduleGrid.parts.tsx +1 -1
- package/src/components/data-display/ScheduleGrid/ScheduleGrid.pt-BR.ts +12 -0
- package/src/components/data-display/ScheduleGrid/ScheduleGrid.styles.ts +9 -2
- package/src/components/data-display/ScheduleGrid/ScheduleGrid.tsx +9 -2
- package/src/components/data-display/ScheduleGrid/ScheduleGrid.types.ts +12 -1
- package/src/components/data-display/ScheduleGrid/index.ts +2 -1
- package/src/components/data-display/ScheduleGrid/useScrollToDay.ts +99 -0
- package/src/copy/labels.ts +0 -36
- package/src/en-US.labels.ts +0 -17
- package/src/pt-BR.labels.ts +0 -17
- package/dist/chunk-57FIUJJJ.js.map +0 -1
- package/dist/chunk-7RXL4ONS.js +0 -1
- package/dist/chunk-ARPOWDEO.js.map +0 -1
- package/dist/chunk-BK3YLYL6.js.map +0 -1
- package/dist/chunk-MLIBJWQZ.js.map +0 -1
- package/dist/chunk-MPUOLKFT.js.map +0 -1
- package/dist/chunk-TTRWOI6Z.js +0 -1
- package/dist/chunk-UIJU5X26.js.map +0 -1
- package/dist/chunk-WMTW4JXT.js.map +0 -1
- package/dist/native/chunks/chunk-E5UA5XVN.js.map +0 -1
- /package/dist/{chunk-7RXL4ONS.js.map → _internal/components/data-display/DayRuler/DayRuler.en-US.js.map} +0 -0
- /package/dist/{chunk-TTRWOI6Z.js.map → _internal/components/data-display/DayRuler/DayRuler.labels.js.map} +0 -0
- /package/dist/{chunk-C3MXURP3.js.map → chunk-2M3W6ACW.js.map} +0 -0
- /package/dist/{chunk-7IBFGOLF.js.map → chunk-3YFDGFEK.js.map} +0 -0
- /package/dist/{chunk-O2MR6U7Q.js.map → chunk-3Z6JX7UN.js.map} +0 -0
- /package/dist/{chunk-ZIA774ZW.js.map → chunk-4IG73U2X.js.map} +0 -0
- /package/dist/{chunk-VQ7YNAK2.js.map → chunk-4QGMUHAU.js.map} +0 -0
- /package/dist/{chunk-TYGVNTUP.js.map → chunk-5CP5Z3YU.js.map} +0 -0
- /package/dist/{chunk-WLC56R2I.js.map → chunk-5KK3I42O.js.map} +0 -0
- /package/dist/{chunk-B7GGLFJB.js.map → chunk-5RSK5M6M.js.map} +0 -0
- /package/dist/{chunk-WUBMJSBR.js.map → chunk-5S5K73I6.js.map} +0 -0
- /package/dist/{chunk-EE6DJPB7.js.map → chunk-6HXNFNOB.js.map} +0 -0
- /package/dist/{chunk-XALFZ25A.js.map → chunk-7F6D73NL.js.map} +0 -0
- /package/dist/{chunk-2Q2DUGH7.js.map → chunk-7QKFMMWK.js.map} +0 -0
- /package/dist/{chunk-UBMH5MED.js.map → chunk-7QKIL5YF.js.map} +0 -0
- /package/dist/{chunk-6BQ3YKLD.js.map → chunk-7W5X3KQ2.js.map} +0 -0
- /package/dist/{chunk-6HZYRKOB.js.map → chunk-A5OERY43.js.map} +0 -0
- /package/dist/{chunk-AWUB3T7C.js.map → chunk-ABVIMFSD.js.map} +0 -0
- /package/dist/{chunk-I6CP3ZTP.js.map → chunk-AJ6KFHEE.js.map} +0 -0
- /package/dist/{chunk-EVIQUBC6.js.map → chunk-AKE6KVQG.js.map} +0 -0
- /package/dist/{chunk-AXGQB24R.js.map → chunk-ALOEOGQV.js.map} +0 -0
- /package/dist/{chunk-WHOD6LVN.js.map → chunk-B32XH7NK.js.map} +0 -0
- /package/dist/{chunk-3B4NXP4N.js.map → chunk-B5STMM3R.js.map} +0 -0
- /package/dist/{chunk-B5SBDLRS.js.map → chunk-BAQ3ITZV.js.map} +0 -0
- /package/dist/{chunk-HWJ3FLZY.js.map → chunk-BEHT4IHH.js.map} +0 -0
- /package/dist/{chunk-BBBHPK2Q.js.map → chunk-BMTIBQQC.js.map} +0 -0
- /package/dist/{chunk-XEKJ7L7I.js.map → chunk-BNBWUXT3.js.map} +0 -0
- /package/dist/{chunk-LSGZLFKX.js.map → chunk-BO6MT2S2.js.map} +0 -0
- /package/dist/{chunk-64UNVW6D.js.map → chunk-BP3ZKIPE.js.map} +0 -0
- /package/dist/{chunk-B7ZAEZJW.js.map → chunk-C347NNZJ.js.map} +0 -0
- /package/dist/{chunk-AEAVVKGY.js.map → chunk-CAOL4AIB.js.map} +0 -0
- /package/dist/{chunk-OZYUE2BI.js.map → chunk-CJUK32UH.js.map} +0 -0
- /package/dist/{chunk-N2KHISGH.js.map → chunk-COK65GX2.js.map} +0 -0
- /package/dist/{chunk-YLZXIR6B.js.map → chunk-COKPPU42.js.map} +0 -0
- /package/dist/{chunk-D3B4V44W.js.map → chunk-CY4XIZNW.js.map} +0 -0
- /package/dist/{chunk-5YVMFK7Y.js.map → chunk-DAFFZED3.js.map} +0 -0
- /package/dist/{chunk-UMOHHWXY.js.map → chunk-DAHSKQBV.js.map} +0 -0
- /package/dist/{chunk-HED2CZDZ.js.map → chunk-E2UOEI7N.js.map} +0 -0
- /package/dist/{chunk-ZLIES3XR.js.map → chunk-E5OBAS3U.js.map} +0 -0
- /package/dist/{chunk-MAYAJXO6.js.map → chunk-EKSJES5E.js.map} +0 -0
- /package/dist/{chunk-AD6GRJFV.js.map → chunk-EOIRU62W.js.map} +0 -0
- /package/dist/{chunk-CSJ7WNXU.js.map → chunk-EUR2ORTN.js.map} +0 -0
- /package/dist/{chunk-TOLCZ4XT.js.map → chunk-EWFBDAB7.js.map} +0 -0
- /package/dist/{chunk-IQ5MBELJ.js.map → chunk-EXVCVXFX.js.map} +0 -0
- /package/dist/{chunk-RZTUMBRD.js.map → chunk-EYFDIUVR.js.map} +0 -0
- /package/dist/{chunk-NTCWIMIU.js.map → chunk-F7LBTMCA.js.map} +0 -0
- /package/dist/{chunk-L5GZZUTY.js.map → chunk-FORQEHRQ.js.map} +0 -0
- /package/dist/{chunk-TOOEEQ46.js.map → chunk-HBH7V3IP.js.map} +0 -0
- /package/dist/{chunk-P5C4DTO4.js.map → chunk-HNEZWVDR.js.map} +0 -0
- /package/dist/{chunk-MJDSXQV7.js.map → chunk-HUXAIQC5.js.map} +0 -0
- /package/dist/{chunk-YAQE7QVC.js.map → chunk-I4DG3PP4.js.map} +0 -0
- /package/dist/{chunk-KLLHCPA2.js.map → chunk-IMYKJTVX.js.map} +0 -0
- /package/dist/{chunk-CTN4BRAH.js.map → chunk-JIEVKHOH.js.map} +0 -0
- /package/dist/{chunk-I62SKY4E.js.map → chunk-K6FCSB6T.js.map} +0 -0
- /package/dist/{chunk-2KBATUOZ.js.map → chunk-K7IDOTSU.js.map} +0 -0
- /package/dist/{chunk-T7NEXLW6.js.map → chunk-KES3HNSU.js.map} +0 -0
- /package/dist/{chunk-JJFLCEJJ.js.map → chunk-KF3Q3C3P.js.map} +0 -0
- /package/dist/{chunk-2ENMRK3U.js.map → chunk-L5KPBMMF.js.map} +0 -0
- /package/dist/{chunk-Y4ZWPOUV.js.map → chunk-LLPPIO3K.js.map} +0 -0
- /package/dist/{chunk-ZCNR4DN5.js.map → chunk-LOLYBFYY.js.map} +0 -0
- /package/dist/{chunk-D3SIZ2CX.js.map → chunk-LV6AD6XC.js.map} +0 -0
- /package/dist/{chunk-I5SIHPOG.js.map → chunk-LXIPBHNJ.js.map} +0 -0
- /package/dist/{chunk-3EKY63LD.js.map → chunk-MSJP2AEN.js.map} +0 -0
- /package/dist/{chunk-GCR6VE5S.js.map → chunk-MW7P2C2C.js.map} +0 -0
- /package/dist/{chunk-L62HC3UB.js.map → chunk-N557OEZR.js.map} +0 -0
- /package/dist/{chunk-DRJGHTQU.js.map → chunk-NASLJO2R.js.map} +0 -0
- /package/dist/{chunk-UNCDOLF5.js.map → chunk-NQDOKJLI.js.map} +0 -0
- /package/dist/{chunk-2CRNOJGL.js.map → chunk-NXQ6PXLJ.js.map} +0 -0
- /package/dist/{chunk-FKS2PNJF.js.map → chunk-O63ZROSY.js.map} +0 -0
- /package/dist/{chunk-Y6IIWGZB.js.map → chunk-OBA75Y5O.js.map} +0 -0
- /package/dist/{chunk-ICHM2LQA.js.map → chunk-OKRITX4S.js.map} +0 -0
- /package/dist/{chunk-Z7CBLQQR.js.map → chunk-OLHAUGVQ.js.map} +0 -0
- /package/dist/{chunk-5QUH53HV.js.map → chunk-OWRQOYUE.js.map} +0 -0
- /package/dist/{chunk-W676GY42.js.map → chunk-P772HCHI.js.map} +0 -0
- /package/dist/{chunk-MLAIXRVL.js.map → chunk-PEVBSNCD.js.map} +0 -0
- /package/dist/{chunk-2UNZG4JK.js.map → chunk-PNZH6CDD.js.map} +0 -0
- /package/dist/{chunk-YFG6XXBB.js.map → chunk-PVIQDBUN.js.map} +0 -0
- /package/dist/{chunk-GS3QDXDP.js.map → chunk-Q2ERGAQO.js.map} +0 -0
- /package/dist/{chunk-7XUQJJPK.js.map → chunk-QCYQL3ST.js.map} +0 -0
- /package/dist/{chunk-E6K2UZGR.js.map → chunk-QKOJ4637.js.map} +0 -0
- /package/dist/{chunk-XRVXQJNB.js.map → chunk-QRRWLLXW.js.map} +0 -0
- /package/dist/{chunk-IP424VZD.js.map → chunk-S4ITA3FA.js.map} +0 -0
- /package/dist/{chunk-UIHPFELH.js.map → chunk-S6D7NOV7.js.map} +0 -0
- /package/dist/{chunk-WLLUARTC.js.map → chunk-T2G4LDU5.js.map} +0 -0
- /package/dist/{chunk-YKONJEI4.js.map → chunk-T5RFH2T5.js.map} +0 -0
- /package/dist/{chunk-LZKS3NER.js.map → chunk-T77OVQEO.js.map} +0 -0
- /package/dist/{chunk-4PZZJ2AE.js.map → chunk-TAHO2LCU.js.map} +0 -0
- /package/dist/{chunk-62PTREG5.js.map → chunk-TI4FGQYV.js.map} +0 -0
- /package/dist/{chunk-3KMP2F4R.js.map → chunk-TYXFFNPM.js.map} +0 -0
- /package/dist/{chunk-AC7K7IJE.js.map → chunk-TZ44F6W7.js.map} +0 -0
- /package/dist/{chunk-YGQ2DLIM.js.map → chunk-UBVKMM3V.js.map} +0 -0
- /package/dist/{chunk-N3C4J6Z2.js.map → chunk-UQ5GJPVZ.js.map} +0 -0
- /package/dist/{chunk-V2QTL6VI.js.map → chunk-UYKIUUWP.js.map} +0 -0
- /package/dist/{chunk-3STNOYYO.js.map → chunk-VM4UYCD4.js.map} +0 -0
- /package/dist/{chunk-EXKEPOL7.js.map → chunk-WAO7UQRS.js.map} +0 -0
- /package/dist/{chunk-IMMPY4Q7.js.map → chunk-WJMSND5Q.js.map} +0 -0
- /package/dist/{chunk-H5R2EZYI.js.map → chunk-WNNA6YYE.js.map} +0 -0
- /package/dist/{chunk-SFNVAM7I.js.map → chunk-WQO5WONV.js.map} +0 -0
- /package/dist/{chunk-NQUYBJKJ.js.map → chunk-WW3F7DCX.js.map} +0 -0
- /package/dist/{chunk-XNIHDUOP.js.map → chunk-WYRH6OSN.js.map} +0 -0
- /package/dist/{chunk-WTACWJSF.js.map → chunk-X4J576GR.js.map} +0 -0
- /package/dist/{chunk-55PFFAAY.js.map → chunk-XCUHGPPZ.js.map} +0 -0
- /package/dist/{chunk-ZF2LZVDO.js.map → chunk-XE33EZVS.js.map} +0 -0
- /package/dist/{chunk-LR56OANO.js.map → chunk-XLU5WFSY.js.map} +0 -0
- /package/dist/{chunk-RFMQBIE6.js.map → chunk-YBAK2WN5.js.map} +0 -0
- /package/dist/{chunk-DM57YWZH.js.map → chunk-YGLAGY74.js.map} +0 -0
- /package/dist/{chunk-YWBPASB2.js.map → chunk-YNVTUQ5B.js.map} +0 -0
- /package/dist/{chunk-AN37BIIO.js.map → chunk-YOLLISEY.js.map} +0 -0
- /package/dist/{chunk-CVB26LLB.js.map → chunk-ZANWHTXH.js.map} +0 -0
- /package/dist/{chunk-G3G5W4OF.js.map → chunk-ZYZPSBNQ.js.map} +0 -0
- /package/dist/native/chunks/{chunk-4G634E3Q.js.map → chunk-FXA5DLKR.js.map} +0 -0
- /package/dist/native/chunks/{chunk-WLG3KT2V.js.map → chunk-IN3XZ7EK.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{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,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,eAAO,MAAM,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"en-US.labels.d.ts","sourceRoot":"","sources":["../../src/en-US.labels.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,eAAO,MAAM,eAAe,EAAE,QAkJ7B,CAAC"}
|
package/dist/typography/Code.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../chunk-DURAH4VI.js";
|
|
2
2
|
import {
|
|
3
3
|
Code
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-KF3Q3C3P.js";
|
|
5
|
+
import "../chunk-XOXXG7Q5.js";
|
|
6
6
|
import "../chunk-XJAD6E3V.js";
|
|
7
7
|
import "../chunk-F5H2ZXST.js";
|
|
8
8
|
import "../chunk-N3GAFIXG.js";
|
package/dist/user-avatar.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UserAvatar,
|
|
3
3
|
UserMenu
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-E2UOEI7N.js";
|
|
5
5
|
import "./chunk-DQ22UKMZ.js";
|
|
6
6
|
import "./chunk-UDQSIRAP.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-3ZVUNSFF.js";
|
|
7
|
+
import "./chunk-JIEVKHOH.js";
|
|
9
8
|
import "./chunk-7XSCEHGA.js";
|
|
10
9
|
import "./chunk-MTEQEPNY.js";
|
|
11
10
|
import "./chunk-6ZZGK5DT.js";
|
|
11
|
+
import "./chunk-3ZVUNSFF.js";
|
|
12
12
|
import "./chunk-VUHLNYAE.js";
|
|
13
13
|
import "./chunk-2GSIEDGN.js";
|
|
14
14
|
import "./chunk-4XBAEKQQ.js";
|
|
@@ -22,7 +22,7 @@ import "./chunk-G2FUZALJ.js";
|
|
|
22
22
|
import "./chunk-TAMIZE4Q.js";
|
|
23
23
|
import "./chunk-AJBRO76D.js";
|
|
24
24
|
import "./chunk-36VXZCJT.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-XOXXG7Q5.js";
|
|
26
26
|
import "./chunk-TYJR4GOF.js";
|
|
27
27
|
import "./chunk-RGVNXES5.js";
|
|
28
28
|
import "./chunk-GDN2LUTZ.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunk-H2PTB6FD.js";
|
|
2
2
|
import {
|
|
3
3
|
AnimatedIcon
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-ABVIMFSD.js";
|
|
5
5
|
import "../chunk-B5CUV4ZK.js";
|
|
6
6
|
import "../chunk-KM3Y5TCG.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-XOXXG7Q5.js";
|
|
8
8
|
import "../chunk-HPK33ACY.js";
|
|
9
9
|
import "../chunk-XJAD6E3V.js";
|
|
10
10
|
import "../chunk-F5H2ZXST.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunk-H7NA4TXY.js";
|
|
2
2
|
import {
|
|
3
3
|
InfiniteScroll
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-7QKFMMWK.js";
|
|
5
|
+
import "../chunk-PEVBSNCD.js";
|
|
6
6
|
import "../chunk-Y2X7LYIN.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-XOXXG7Q5.js";
|
|
8
8
|
import "../chunk-YKCAJ2TN.js";
|
|
9
9
|
import "../chunk-PZ5AY32C.js";
|
|
10
10
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../chunk-IO36MEBD.js";
|
|
2
2
|
import {
|
|
3
3
|
WorkflowStep
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-UQ5GJPVZ.js";
|
|
5
|
+
import "../chunk-CAOL4AIB.js";
|
|
6
|
+
import "../chunk-IMYKJTVX.js";
|
|
7
|
+
import "../chunk-UBVKMM3V.js";
|
|
8
8
|
import "../chunk-LL2BWQPM.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-XOXXG7Q5.js";
|
|
10
10
|
import "../chunk-B7ZHEOQQ.js";
|
|
11
11
|
import "../chunk-BRHRK7BK.js";
|
|
12
12
|
import "../chunk-25MSGLNU.js";
|
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** `DayRuler`'s en-US words, and the component's own fallback when `labels` is not given. */
|
|
2
|
+
import type { DayRulerLabels } from './DayRuler.labels';
|
|
3
|
+
|
|
4
|
+
export const EN_US_DAY_RULER_LABELS: DayRulerLabels = {
|
|
5
|
+
createTrack: (row) => `Schedule ${row}`,
|
|
6
|
+
moved: (block, range) => `${block} now ${range}`,
|
|
7
|
+
resized: (block, range) => `${block} now ${range}`,
|
|
8
|
+
refused: "It cannot go further",
|
|
9
|
+
notMovable: "This shift cannot be changed here",
|
|
10
|
+
loading: "Loading the day",
|
|
11
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
2
|
|
|
3
|
-
import type { DayRulerLabels } from '
|
|
3
|
+
import type { DayRulerLabels } from './DayRuler.labels';
|
|
4
4
|
import { DAY_RULER_METRICS as M } from './DayRuler.metrics';
|
|
5
5
|
import { clamp, formatRange, moved, resized, snapTo } from './day-ruler-model';
|
|
6
6
|
import type { DayRulerBlock, RulerHour } from './DayRuler.types';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `DayRuler`'s words, in both languages. They live with the component rather
|
|
3
|
+
* than in `UiLabels` so they load only with it: `EN_US_UI_LABELS` and
|
|
4
|
+
* `PT_BR_UI_LABELS` are imported by eagerly loaded components (`Avatar`), and
|
|
5
|
+
* every family in them ships to every host that renders any of those (FUT-3831).
|
|
6
|
+
*
|
|
7
|
+
* Each language is a named pack beside the component (`DayRuler.pt-BR.ts`,
|
|
8
|
+
* `DayRuler.en-US.ts`). A pt-BR host passes `DAY_RULER_LABELS['pt-BR']` to
|
|
9
|
+
* `labels`; the ruler falls back to `'en-US'` on its own.
|
|
10
|
+
*/
|
|
11
|
+
import { EN_US_DAY_RULER_LABELS } from './DayRuler.en-US';
|
|
12
|
+
import { PT_BR_DAY_RULER_LABELS } from './DayRuler.pt-BR';
|
|
13
|
+
|
|
14
|
+
/** `DayRuler`'s track names and the sentences its live region reads after a keyboard move or resize. */
|
|
15
|
+
export interface DayRulerLabels {
|
|
16
|
+
/** A row's empty track: Enter schedules this row. */
|
|
17
|
+
createTrack(row: string): string;
|
|
18
|
+
/** After Alt+←/→ moved a block; `range` is "20:45–00:45". */
|
|
19
|
+
moved(block: string, range: string): string;
|
|
20
|
+
/** After Shift(+Alt)+←/→ changed a block's end or start. */
|
|
21
|
+
resized(block: string, range: string): string;
|
|
22
|
+
/** A keyboard move or resize past the ruler's ends or under the shortest length. */
|
|
23
|
+
refused: string;
|
|
24
|
+
/** Shift/Alt+←/→ on a block that is not `movable` / `resizable`: the block is fixed. */
|
|
25
|
+
notMovable: string;
|
|
26
|
+
/** The ruler's busy state. */
|
|
27
|
+
loading: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Both packs, in the shape `locales.ts`'s `pack(...)` yields. The component
|
|
32
|
+
* itself imports only the en-US file, its fallback.
|
|
33
|
+
*/
|
|
34
|
+
export const DAY_RULER_LABELS: { readonly 'pt-BR': DayRulerLabels; readonly 'en-US': DayRulerLabels } = {
|
|
35
|
+
'pt-BR': PT_BR_DAY_RULER_LABELS,
|
|
36
|
+
'en-US': EN_US_DAY_RULER_LABELS,
|
|
37
|
+
};
|
|
@@ -55,7 +55,7 @@ Times are **hours from the day's midnight**, fractions included: `20.75` is 20:4
|
|
|
55
55
|
| `onCreate` / `onMove` / `onResize` / `onBlockClick` | see Gestures | Each is offered only when its handler is given. |
|
|
56
56
|
| `loading` / `error` / `empty` | `boolean` / node / node | Skeleton rows with `aria-busy`; the host's error; the host's empty sentence. |
|
|
57
57
|
| `aria-label` | `string?` | The region's name. |
|
|
58
|
-
| `labels` | `Partial<DayRulerLabels>` | `createTrack(row)`, `moved(block, range)`, `resized(block, range)`, `refused`, `loading`. Default: the English pack; pt-BR: `
|
|
58
|
+
| `labels` | `Partial<DayRulerLabels>` | `createTrack(row)`, `moved(block, range)`, `resized(block, range)`, `refused`, `loading`. Default: the English pack; pt-BR: `DAY_RULER_LABELS['pt-BR']` from `@12-apps/ui/data-display/DayRuler`. |
|
|
59
59
|
| `dataTestId` | `string?` (default `day-ruler`) | Parts: `-coverage`, `-axis`, `-row-${rowId}`, `-track-${rowId}`, `-block-${blockId}`, `-handle-l/-r-${blockId}`, `-break-${blockId}`, `-actual-${rowId}`, `-now`, `-preview`, `-live`, `-loading`. |
|
|
60
60
|
|
|
61
61
|
Tones are `ScheduleGrid`'s; on the ruler a `plan` block is a dashed outline over a faint ground.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** `DayRuler`'s pt-BR words. A pt-BR host passes `DAY_RULER_LABELS['pt-BR']` (or this) to `labels`. */
|
|
2
|
+
import type { DayRulerLabels } from './DayRuler.labels';
|
|
3
|
+
|
|
4
|
+
export const PT_BR_DAY_RULER_LABELS: DayRulerLabels = {
|
|
5
|
+
createTrack: (row) => `Agendar ${row}`,
|
|
6
|
+
moved: (block, range) => `${block} agora ${range}`,
|
|
7
|
+
resized: (block, range) => `${block} agora ${range}`,
|
|
8
|
+
refused: "Não dá para ir além",
|
|
9
|
+
notMovable: "Este turno não muda por aqui",
|
|
10
|
+
loading: "Carregando o dia",
|
|
11
|
+
};
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import Box from '@mui/material/Box/index.js';
|
|
4
4
|
import type React from 'react';
|
|
5
5
|
|
|
6
|
-
import { EN_US_UI_LABELS } from '../../../en-US.labels';
|
|
7
6
|
import { resolveLabels } from '../../../utils/resolve-labels';
|
|
8
7
|
import { SR_ONLY_SX } from '../ScheduleGrid/ScheduleGrid.styles';
|
|
9
8
|
import { useAnnouncer } from '../ScheduleGrid/useAnnouncer';
|
|
10
9
|
import { handleBlockKey, keyCreateSpan, type RulerAbilities, type RulerScale } from './DayRuler.keyboard';
|
|
10
|
+
import { EN_US_DAY_RULER_LABELS } from './DayRuler.en-US';
|
|
11
11
|
import { DAY_RULER_METRICS as M } from './DayRuler.metrics';
|
|
12
12
|
import { Axis, Coverage, RulerRow, type RowContext } from './DayRuler.parts';
|
|
13
13
|
import { groupTitleSx, rootSx, rowSx, skeletonNameSx, skeletonTrackSx } from './DayRuler.styles';
|
|
@@ -86,7 +86,7 @@ function RulerBody({ props, ctx }: { props: DayRulerProps; ctx: RowContext }): R
|
|
|
86
86
|
export function DayRuler(props: DayRulerProps): React.JSX.Element {
|
|
87
87
|
const { now, onCreate, onMove, onResize } = props;
|
|
88
88
|
const testId = props.dataTestId ?? 'day-ruler';
|
|
89
|
-
const labels = resolveLabels(
|
|
89
|
+
const labels = resolveLabels(EN_US_DAY_RULER_LABELS, props.labels);
|
|
90
90
|
const scale = scaleOf(props);
|
|
91
91
|
const can = abilitiesOf(props);
|
|
92
92
|
const dragApi = useRulerDrag(scale, { onCreate, onMove, onResize });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** `ScheduleGrid`'s en-US words, and the component's own fallback when `labels` is not given. */
|
|
2
|
+
import type { ScheduleGridLabels } from './ScheduleGrid.labels';
|
|
3
|
+
|
|
4
|
+
export const EN_US_SCHEDULE_GRID_LABELS: ScheduleGridLabels = {
|
|
5
|
+
createCell: (row, column) => `Schedule ${row}, ${column}`,
|
|
6
|
+
blockedCell: (row, column) => `${row}, ${column}: closed`,
|
|
7
|
+
copied: (block, column) => `${block} copied to ${column}`,
|
|
8
|
+
moved: (block, row, column) => `${block} moved to ${row}, ${column}`,
|
|
9
|
+
refused: "Not there: that day is taken or closed",
|
|
10
|
+
notMovable: "This shift cannot be changed here",
|
|
11
|
+
loading: "Loading the schedule",
|
|
12
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
2
|
|
|
3
|
-
import type { ScheduleGridLabels } from '
|
|
3
|
+
import type { ScheduleGridLabels } from './ScheduleGrid.labels';
|
|
4
4
|
import { isOpen, stepDay } from './schedule-grid-model';
|
|
5
5
|
import type { CellAbilities } from './ScheduleGrid.parts';
|
|
6
6
|
import type { ScheduleGridBlock, ScheduleGridCell, ScheduleGridColumn, ScheduleGridRow } from './ScheduleGrid.types';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `ScheduleGrid`'s words, in both languages. They live with the component
|
|
3
|
+
* rather than in `UiLabels` so they load only with it: `EN_US_UI_LABELS` and
|
|
4
|
+
* `PT_BR_UI_LABELS` are imported by eagerly loaded components (`Avatar`), and
|
|
5
|
+
* every family in them ships to every host that renders any of those (FUT-3831).
|
|
6
|
+
*
|
|
7
|
+
* Each language is a named pack beside the component (`ScheduleGrid.pt-BR.ts`,
|
|
8
|
+
* `ScheduleGrid.en-US.ts`). A pt-BR host passes `SCHEDULE_GRID_LABELS['pt-BR']` to
|
|
9
|
+
* `labels`; the grid falls back to `'en-US'` on its own.
|
|
10
|
+
*/
|
|
11
|
+
import { EN_US_SCHEDULE_GRID_LABELS } from './ScheduleGrid.en-US';
|
|
12
|
+
import { PT_BR_SCHEDULE_GRID_LABELS } from './ScheduleGrid.pt-BR';
|
|
13
|
+
|
|
14
|
+
/** `ScheduleGrid`'s cell names and the sentences its live region reads after a keyboard copy or move. */
|
|
15
|
+
export interface ScheduleGridLabels {
|
|
16
|
+
/** An empty cell's button: schedule this row on this day. */
|
|
17
|
+
createCell(row: string, column: string): string;
|
|
18
|
+
/** A blocked cell with no label of its own. */
|
|
19
|
+
blockedCell(row: string, column: string): string;
|
|
20
|
+
/** After Shift+←/→ copied a block to the next or previous day. */
|
|
21
|
+
copied(block: string, column: string): string;
|
|
22
|
+
/** After Alt+←/→ moved a block to the next or previous day. */
|
|
23
|
+
moved(block: string, row: string, column: string): string;
|
|
24
|
+
/** A keyboard copy or move whose day is taken, closed or outside the grid. */
|
|
25
|
+
refused: string;
|
|
26
|
+
/** Shift/Alt+←/→ on a block that is not `copyable` / `movable`: the block is fixed, not the day. */
|
|
27
|
+
notMovable: string;
|
|
28
|
+
/** The grid's busy state. */
|
|
29
|
+
loading: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Both packs, in the shape `locales.ts`'s `pack(...)` yields. The component
|
|
34
|
+
* itself imports only the en-US file, its fallback.
|
|
35
|
+
*/
|
|
36
|
+
export const SCHEDULE_GRID_LABELS: { readonly 'pt-BR': ScheduleGridLabels; readonly 'en-US': ScheduleGridLabels } = {
|
|
37
|
+
'pt-BR': PT_BR_SCHEDULE_GRID_LABELS,
|
|
38
|
+
'en-US': EN_US_SCHEDULE_GRID_LABELS,
|
|
39
|
+
};
|
|
@@ -59,8 +59,9 @@ lists events on one axis). For one day by the hour, or for a phone, use `DayRule
|
|
|
59
59
|
| `error` | `ReactNode?` | Replaces the body (an `ErrorState` with its retry). |
|
|
60
60
|
| `empty` | `ReactNode?` | Shown when there are no rows at all. |
|
|
61
61
|
| `stickyTop` | `number?` (px, default 0) | Offset of the sticky header row under a pinned page bar. |
|
|
62
|
+
| `scrollToDay` | `number?` (an index into `columns`) | While the days scroll sideways, the day they open on. Applied **once per value** (and per day count): as soon as the days are drawn, they scroll at once (`behavior: 'instant'`, never smoothly, so reduced motion needs nothing else) until that day is the first column after the pinned names — or to the end of their reach, when the day is that close to the end. While `loading`, `error` or `empty` it waits for the rows; while the grid has no box (`display: none`, a container that gets its width after mount) it waits for the first width. The header row follows; focus and the page's vertical scroll are untouched. A re-render or a refetch with the same value keeps the person's own scroll, and **a later resize does not re-anchor** — pass a new value for that. A value outside the columns, and a grid whose days fit, do nothing. **Assumes LTR**: the names are the left column. Pass today's index (`3` on a Thursday) so a week opened mid-week does not start on the gone days. |
|
|
62
63
|
| `aria-label` | `string?` | The grid's name. |
|
|
63
|
-
| `labels` | `Partial<ScheduleGridLabels>` | `createCell(row, column)`, `blockedCell(row, column)`, `copied(block, column)`, `moved(block, row, column)`, `refused`, `loading`. Default: the English pack; a pt-BR host passes `
|
|
64
|
+
| `labels` | `Partial<ScheduleGridLabels>` | `createCell(row, column)`, `blockedCell(row, column)`, `copied(block, column)`, `moved(block, row, column)`, `refused`, `loading`. Default: the English pack; a pt-BR host passes `SCHEDULE_GRID_LABELS['pt-BR']` from `@12-apps/ui/data-display/ScheduleGrid`. |
|
|
64
65
|
| `dataTestId` | `string?` (default `schedule-grid`) | Parts: `-header`, `-row-${rowId}`, `-cell-${rowId}-${day}`, `-block-${blockId}`, `-grip-l-${blockId}`, `-grip-r-${blockId}`, `-break-${blockId}`, `-live`, `-loading`. |
|
|
65
66
|
|
|
66
67
|
### Tones — never colour alone
|
|
@@ -135,6 +136,9 @@ hatch wins.
|
|
|
135
136
|
sticks to the page and follows the days sideways. The header row is no scroller of its own
|
|
136
137
|
(`overflow-x: hidden`, so it is never a tab stop): the grid sets its scroll from the days',
|
|
137
138
|
and a sideways wheel or trackpad swipe over it scrolls the days;
|
|
139
|
+
a group's title is pinned with the names, whole at any scroll (each group is as wide as its
|
|
140
|
+
rows, so the title's sticky room never runs out before the days do); `scrollToDay` picks the
|
|
141
|
+
day they open on;
|
|
138
142
|
- below 600px: 120px names, days of at least 136px, no grips (Shift+arrows still copy; the
|
|
139
143
|
middle still moves).
|
|
140
144
|
Never a coloured sliver, never cut hours, and the page itself never scrolls sideways — whatever
|
|
@@ -3,7 +3,7 @@ import Box from '@mui/material/Box/index.js';
|
|
|
3
3
|
import type { CSSObject, Theme } from '@mui/material/styles/index.js';
|
|
4
4
|
import type * as React from 'react';
|
|
5
5
|
|
|
6
|
-
import type { ScheduleGridLabels } from '
|
|
6
|
+
import type { ScheduleGridLabels } from './ScheduleGrid.labels';
|
|
7
7
|
import { daysBetween, isOpen } from './schedule-grid-model';
|
|
8
8
|
import { SCHEDULE_GRID_METRICS } from './ScheduleGrid.metrics';
|
|
9
9
|
import {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** `ScheduleGrid`'s pt-BR words. A pt-BR host passes `SCHEDULE_GRID_LABELS['pt-BR']` (or this) to `labels`. */
|
|
2
|
+
import type { ScheduleGridLabels } from './ScheduleGrid.labels';
|
|
3
|
+
|
|
4
|
+
export const PT_BR_SCHEDULE_GRID_LABELS: ScheduleGridLabels = {
|
|
5
|
+
createCell: (row, column) => `Agendar ${row}, ${column}`,
|
|
6
|
+
blockedCell: (row, column) => `${row}, ${column}: fechado`,
|
|
7
|
+
copied: (block, column) => `${block} copiado para ${column}`,
|
|
8
|
+
moved: (block, row, column) => `${block} movido para ${row}, ${column}`,
|
|
9
|
+
refused: "Não dá para pôr aí: o dia está ocupado ou fechado",
|
|
10
|
+
notMovable: "Este turno não muda por aqui",
|
|
11
|
+
loading: "Carregando a escala",
|
|
12
|
+
};
|
|
@@ -88,6 +88,10 @@ export function frameSx(dayCount: number, hasTotal: boolean): SxProps<Theme> {
|
|
|
88
88
|
// Covers the gap after it too, so nothing scrolling shows between the name and the days.
|
|
89
89
|
boxShadow: `${rem(theme, M.gap)} 0 0 ${theme.palette.background.default}`,
|
|
90
90
|
},
|
|
91
|
+
// A group's title is pinned with the names. A sticky box stays inside its containing block,
|
|
92
|
+
// and a group as wide as the visible days ran out of room long before the days did: past
|
|
93
|
+
// that it slid off under the names ("COZINHA" read "IA"). The group is as wide as its rows.
|
|
94
|
+
'& [role="rowgroup"]': { minWidth: 'var(--sg-min)' },
|
|
91
95
|
'& [data-sg-group-title]': { position: 'sticky', left: 0, width: 'fit-content' },
|
|
92
96
|
},
|
|
93
97
|
[below(theme, M.narrowBelow)]: {
|
|
@@ -106,8 +110,11 @@ export function frameSx(dayCount: number, hasTotal: boolean): SxProps<Theme> {
|
|
|
106
110
|
};
|
|
107
111
|
}
|
|
108
112
|
|
|
109
|
-
/**
|
|
110
|
-
|
|
113
|
+
/**
|
|
114
|
+
* The body: scrolls sideways (under the compact bound) when the days' minimums do not fit.
|
|
115
|
+
* `scrollToDay` jumps there at once: never a smooth scroll, whatever the host's page sets.
|
|
116
|
+
*/
|
|
117
|
+
export const scrollSx: SxProps<Theme> = { minWidth: 0, scrollBehavior: 'auto' };
|
|
111
118
|
|
|
112
119
|
/** One line of the grid — the header or a person — as the shared columns. */
|
|
113
120
|
/** A style that may sit in an `sx` array next to another. */
|
|
@@ -3,14 +3,15 @@
|
|
|
3
3
|
import Box from '@mui/material/Box/index.js';
|
|
4
4
|
import React, { useEffect, useRef } from 'react';
|
|
5
5
|
|
|
6
|
-
import { EN_US_UI_LABELS } from '../../../en-US.labels';
|
|
7
6
|
import { resolveLabels } from '../../../utils/resolve-labels';
|
|
7
|
+
import { EN_US_SCHEDULE_GRID_LABELS } from './ScheduleGrid.en-US';
|
|
8
8
|
import { focusables, handleGridKey } from './ScheduleGrid.keyboard';
|
|
9
9
|
import { GridBody, GridHeader, type CellAbilities } from './ScheduleGrid.parts';
|
|
10
10
|
import { frameSx, headerSx, rootSx, rowGridSx, scrollSx, SR_ONLY_SX } from './ScheduleGrid.styles';
|
|
11
11
|
import type { ScheduleGridProps } from './ScheduleGrid.types';
|
|
12
12
|
import { useAnnouncer } from './useAnnouncer';
|
|
13
13
|
import { useGridDrag } from './useGridDrag';
|
|
14
|
+
import { useScrollToDay } from './useScrollToDay';
|
|
14
15
|
import { useSidewaysScroll } from './useSidewaysScroll';
|
|
15
16
|
|
|
16
17
|
/**
|
|
@@ -69,6 +70,11 @@ function useFollowFocus(rootRef: React.RefObject<HTMLElement | null>) {
|
|
|
69
70
|
};
|
|
70
71
|
}
|
|
71
72
|
|
|
73
|
+
/** The body shows the days' rows: not the skeleton, the host's error or its empty state. */
|
|
74
|
+
function daysDrawn(props: ScheduleGridProps, rowCount: number): boolean {
|
|
75
|
+
return !props.loading && !props.error && rowCount > 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
72
78
|
function abilitiesOf(props: ScheduleGridProps): CellAbilities {
|
|
73
79
|
const open = !props.readOnly && !props.loading;
|
|
74
80
|
return { create: open && Boolean(props.onCreate), copy: open && Boolean(props.onCopy), move: open && Boolean(props.onMove) };
|
|
@@ -88,7 +94,7 @@ function abilitiesOf(props: ScheduleGridProps): CellAbilities {
|
|
|
88
94
|
export function ScheduleGrid(props: ScheduleGridProps): React.JSX.Element {
|
|
89
95
|
const { columns, groups, cell, onCreate, onCopy, onMove } = props;
|
|
90
96
|
const testId = props.dataTestId ?? 'schedule-grid';
|
|
91
|
-
const labels = resolveLabels(
|
|
97
|
+
const labels = resolveLabels(EN_US_SCHEDULE_GRID_LABELS, props.labels);
|
|
92
98
|
const rootRef = useRef<HTMLDivElement | null>(null);
|
|
93
99
|
const { text: announcement, say } = useAnnouncer();
|
|
94
100
|
const focus = useFollowFocus(rootRef);
|
|
@@ -101,6 +107,7 @@ export function ScheduleGrid(props: ScheduleGridProps): React.JSX.Element {
|
|
|
101
107
|
const headRef = useRef<HTMLDivElement | null>(null);
|
|
102
108
|
const bodyRef = useRef<HTMLDivElement | null>(null);
|
|
103
109
|
const sideways = useSidewaysScroll(headRef, bodyRef);
|
|
110
|
+
useScrollToDay(headRef, bodyRef, { day: props.scrollToDay, dayCount: columns.length, drawn: daysDrawn(props, rows.length) }, sideways.follow);
|
|
104
111
|
|
|
105
112
|
const onKeyDown = (event: React.KeyboardEvent): void => {
|
|
106
113
|
sideways.release();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
2
|
|
|
3
|
-
import type { ScheduleGridLabels } from '
|
|
3
|
+
import type { ScheduleGridLabels } from './ScheduleGrid.labels';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* How a block reads. Each tone is drawn differently AND carries its `note`
|
|
@@ -149,6 +149,17 @@ export interface ScheduleGridProps {
|
|
|
149
149
|
error?: React.ReactNode;
|
|
150
150
|
/** Shown when there are no rows at all. */
|
|
151
151
|
empty?: React.ReactNode;
|
|
152
|
+
/**
|
|
153
|
+
* A day (its index in `columns`) to open the days on, once per value: as
|
|
154
|
+
* soon as the days are drawn (after `loading`, and once the grid has a
|
|
155
|
+
* width), they scroll sideways so that day is the first column after the
|
|
156
|
+
* pinned names (or as far as they reach) — today, on a week opened
|
|
157
|
+
* mid-week. At once, never smoothly; focus and the page's own scroll are
|
|
158
|
+
* left alone, and the header row follows. The same value on a later render
|
|
159
|
+
* keeps the person's own scroll, and a resize does not re-anchor. Nothing
|
|
160
|
+
* happens while the days fit. Assumes LTR.
|
|
161
|
+
*/
|
|
162
|
+
scrollToDay?: number;
|
|
152
163
|
/** The header row sticks this far from the top of the scroll container (a sticky page bar above). Default 0. */
|
|
153
164
|
stickyTop?: number;
|
|
154
165
|
/** The grid's accessible name ("Escala da semana"). */
|
|
@@ -9,4 +9,5 @@ export type {
|
|
|
9
9
|
ScheduleGridProps,
|
|
10
10
|
ScheduleGridRow,
|
|
11
11
|
} from './ScheduleGrid.types';
|
|
12
|
-
export
|
|
12
|
+
export { SCHEDULE_GRID_LABELS } from './ScheduleGrid.labels';
|
|
13
|
+
export type { ScheduleGridLabels } from './ScheduleGrid.labels';
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { useLayoutEffect, useRef } from 'react';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* How far the days must scroll sideways for `day` to be the first column after
|
|
6
|
+
* the pinned names, measured on the header row — or `null` when the header is
|
|
7
|
+
* not laid out (no box: `display: none`, or a container that has no width yet).
|
|
8
|
+
*/
|
|
9
|
+
function offsetOf(head: HTMLElement, day: number): number | null {
|
|
10
|
+
const row = head.querySelector<HTMLElement>('[role="row"]');
|
|
11
|
+
const corner = row?.querySelector<HTMLElement>('[data-sg-corner]');
|
|
12
|
+
const column = row?.querySelectorAll<HTMLElement>('[role="columnheader"]')[day];
|
|
13
|
+
if (!row || !corner || !column) return null;
|
|
14
|
+
const cornerBox = corner.getBoundingClientRect();
|
|
15
|
+
const columnBox = column.getBoundingClientRect();
|
|
16
|
+
if (cornerBox.width === 0 || columnBox.width === 0) return null;
|
|
17
|
+
const gap = Number.parseFloat(getComputedStyle(row).columnGap) || 0;
|
|
18
|
+
return columnBox.left - (cornerBox.right + gap);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Scroll the days so `day` opens first. The offset is the header's, so it is
|
|
23
|
+
* added to the HEADER's scroll (the two can differ until the body's scroll
|
|
24
|
+
* event has synced them); the body then jumps there, and the header follows.
|
|
25
|
+
* Returns whether it could measure.
|
|
26
|
+
*/
|
|
27
|
+
function anchor(head: HTMLElement, body: HTMLElement, day: number, follow: () => void): boolean {
|
|
28
|
+
const offset = offsetOf(head, day);
|
|
29
|
+
if (offset === null) return false;
|
|
30
|
+
// The browser clamps a target outside the reach, on either side.
|
|
31
|
+
const target = head.scrollLeft + offset;
|
|
32
|
+
if (typeof body.scrollTo === 'function') body.scrollTo({ left: target, behavior: 'instant' });
|
|
33
|
+
else body.scrollLeft = target;
|
|
34
|
+
follow();
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/** Whether `day` names one of the `dayCount` columns. */
|
|
39
|
+
function isColumn(day: number | undefined, dayCount: number): day is number {
|
|
40
|
+
return day !== undefined && Number.isInteger(day) && day >= 0 && day < dayCount;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/** Whether this value was already anchored (a re-render, a refetch): the person's scroll stays. */
|
|
44
|
+
function sameAnchor(done: { day: number; dayCount: number } | null, day: number, dayCount: number): boolean {
|
|
45
|
+
return done !== null && done.day === day && done.dayCount === dayCount;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
interface Anchoring {
|
|
49
|
+
day: number | undefined;
|
|
50
|
+
dayCount: number;
|
|
51
|
+
/** The days are drawn: not loading, no error, at least one row. */
|
|
52
|
+
drawn: boolean;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* `scrollToDay`: once per value (and per day count), as soon as the days are
|
|
57
|
+
* drawn, they scroll sideways so that day opens first after the pinned names.
|
|
58
|
+
* At once (`behavior: 'instant'`, and `scrollSx` pins the scroller's own
|
|
59
|
+
* `scroll-behavior` to `auto` too), so there is no motion to reduce; only
|
|
60
|
+
* sideways — no `scrollIntoView`, which would also move the page — and no
|
|
61
|
+
* focus. LTR: it reads the names as the left column.
|
|
62
|
+
*
|
|
63
|
+
* - The same value on a later render — a re-render, a refetch's
|
|
64
|
+
* `loading` → loaded — leaves the person's own scroll alone.
|
|
65
|
+
* - While loading (or empty, or failed) it waits for the rows, then anchors.
|
|
66
|
+
* - When the header has no box yet (`display: none`, a container sized after
|
|
67
|
+
* mount) it waits for the first width — a one-shot `ResizeObserver` on the
|
|
68
|
+
* header — then anchors and stops observing.
|
|
69
|
+
* - A later resize does not re-anchor.
|
|
70
|
+
*/
|
|
71
|
+
export function useScrollToDay(
|
|
72
|
+
headRef: React.RefObject<HTMLElement | null>,
|
|
73
|
+
bodyRef: React.RefObject<HTMLElement | null>,
|
|
74
|
+
{ day, dayCount, drawn }: Anchoring,
|
|
75
|
+
follow: () => void,
|
|
76
|
+
): void {
|
|
77
|
+
const done = useRef<{ day: number; dayCount: number } | null>(null);
|
|
78
|
+
const followRef = useRef(follow);
|
|
79
|
+
useLayoutEffect(() => {
|
|
80
|
+
followRef.current = follow;
|
|
81
|
+
});
|
|
82
|
+
useLayoutEffect(() => {
|
|
83
|
+
const head = headRef.current;
|
|
84
|
+
const body = bodyRef.current;
|
|
85
|
+
if (!isColumn(day, dayCount) || sameAnchor(done.current, day, dayCount)) return undefined;
|
|
86
|
+
if (!drawn || !head || !body) return undefined;
|
|
87
|
+
const settle = (): boolean => {
|
|
88
|
+
if (!anchor(head, body, day, () => followRef.current())) return false;
|
|
89
|
+
done.current = { day, dayCount };
|
|
90
|
+
return true;
|
|
91
|
+
};
|
|
92
|
+
if (settle() || typeof ResizeObserver === 'undefined') return undefined;
|
|
93
|
+
const observer = new ResizeObserver(() => {
|
|
94
|
+
if (settle()) observer.disconnect();
|
|
95
|
+
});
|
|
96
|
+
observer.observe(head);
|
|
97
|
+
return () => observer.disconnect();
|
|
98
|
+
}, [day, dayCount, drawn, headRef, bodyRef]);
|
|
99
|
+
}
|
package/src/copy/labels.ts
CHANGED
|
@@ -214,40 +214,6 @@ export interface DateRangePickerLabels {
|
|
|
214
214
|
calendar: string;
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
-
/** `ScheduleGrid`'s cell names and the sentences its live region reads after a keyboard copy or move. */
|
|
218
|
-
export interface ScheduleGridLabels {
|
|
219
|
-
/** An empty cell's button: schedule this row on this day. */
|
|
220
|
-
createCell(row: string, column: string): string;
|
|
221
|
-
/** A blocked cell with no label of its own. */
|
|
222
|
-
blockedCell(row: string, column: string): string;
|
|
223
|
-
/** After Shift+←/→ copied a block to the next or previous day. */
|
|
224
|
-
copied(block: string, column: string): string;
|
|
225
|
-
/** After Alt+←/→ moved a block to the next or previous day. */
|
|
226
|
-
moved(block: string, row: string, column: string): string;
|
|
227
|
-
/** A keyboard copy or move whose day is taken, closed or outside the grid. */
|
|
228
|
-
refused: string;
|
|
229
|
-
/** Shift/Alt+←/→ on a block that is not `copyable` / `movable`: the block is fixed, not the day. */
|
|
230
|
-
notMovable: string;
|
|
231
|
-
/** The grid's busy state. */
|
|
232
|
-
loading: string;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
/** `DayRuler`'s track names and the sentences its live region reads after a keyboard move or resize. */
|
|
236
|
-
export interface DayRulerLabels {
|
|
237
|
-
/** A row's empty track: Enter schedules this row. */
|
|
238
|
-
createTrack(row: string): string;
|
|
239
|
-
/** After Alt+←/→ moved a block; `range` is "20:45–00:45". */
|
|
240
|
-
moved(block: string, range: string): string;
|
|
241
|
-
/** After Shift(+Alt)+←/→ changed a block's end or start. */
|
|
242
|
-
resized(block: string, range: string): string;
|
|
243
|
-
/** A keyboard move or resize past the ruler's ends or under the shortest length. */
|
|
244
|
-
refused: string;
|
|
245
|
-
/** Shift/Alt+←/→ on a block that is not `movable` / `resizable`: the block is fixed. */
|
|
246
|
-
notMovable: string;
|
|
247
|
-
/** The ruler's busy state. */
|
|
248
|
-
loading: string;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
217
|
/**
|
|
252
218
|
* `Calendar`'s month/year caption (`captionLayout="selectors"`): the two
|
|
253
219
|
* selector buttons, the month arrows and the two pick grids. The month and
|
|
@@ -298,7 +264,5 @@ export interface UiLabels {
|
|
|
298
264
|
infiniteScroll: InfiniteScrollLabels;
|
|
299
265
|
socialLogin: SocialLoginLabels;
|
|
300
266
|
dateRangePicker: DateRangePickerLabels;
|
|
301
|
-
scheduleGrid: ScheduleGridLabels;
|
|
302
|
-
dayRuler: DayRulerLabels;
|
|
303
267
|
calendar: CalendarLabels;
|
|
304
268
|
}
|