@12-apps/ui 6.37.0 → 6.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_internal/components/data-display/AsyncStateContainer/AsyncStateContainer.js +4 -4
- package/dist/_internal/components/data-display/CardKit/CardKebab.js +2 -2
- package/dist/_internal/components/data-display/DataGrid/DataGrid.body.js +3 -2
- package/dist/_internal/components/data-display/DataGrid/DataGrid.cells.js +2 -1
- package/dist/_internal/components/data-display/DataGrid/DataGrid.js +4 -4
- package/dist/_internal/components/data-display/DataGrid/DataGrid.model.js +2 -1
- package/dist/_internal/components/data-display/DataViews/DataViewsBoard.js +2 -2
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +49 -49
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +61 -62
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +4 -5
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +4 -5
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +9 -10
- package/dist/_internal/components/data-display/DataViews/base-card.js +4 -5
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +6 -6
- 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 -10
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +8 -8
- package/dist/_internal/components/data-display/DataViews/data-views-columns-tab.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-columns.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-display-tabs.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-empty.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-export.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +14 -14
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +12 -12
- package/dist/_internal/components/data-display/DataViews/data-views-grid-helpers.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +46 -46
- package/dist/_internal/components/data-display/DataViews/data-views-header-row.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +14 -14
- package/dist/_internal/components/data-display/DataViews/data-views-layout-context.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +11 -11
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +12 -12
- package/dist/_internal/components/data-display/DataViews/data-views-overflow-costs.js +4 -3
- package/dist/_internal/components/data-display/DataViews/data-views-overflow.js +3 -2
- package/dist/_internal/components/data-display/DataViews/data-views-pagination.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-scope-tabs.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-select-all-strip.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +18 -18
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +18 -19
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +17 -17
- package/dist/_internal/components/data-display/DataViews/data-views-view-nav.js +2 -2
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +2 -2
- package/dist/_internal/components/data-display/DataViews/save-view-preview.js +2 -2
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +4 -4
- package/dist/_internal/components/data-display/DescriptionItem/DescriptionItem.js +2 -2
- package/dist/_internal/components/data-display/FleetMap/FleetBody.js +12 -12
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +8 -8
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +13 -13
- package/dist/_internal/components/data-display/FleetMap/FleetRoster.js +3 -3
- package/dist/_internal/components/data-display/LazyImage/LazyImage.js +3 -3
- package/dist/_internal/components/data-display/LoadingState/LoadingState.js +3 -3
- package/dist/_internal/components/data-display/MapPreview/MapDecorations.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapPreview.hooks.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +7 -7
- package/dist/_internal/components/data-display/MapPreview/MapTiles.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/StaticMapView.js +4 -4
- package/dist/_internal/components/data-display/MapPreview/mapProjection.js +3 -3
- package/dist/_internal/components/data-display/MapPreview/useMapPreview.js +3 -3
- package/dist/_internal/components/data-display/StatCard/StatCard.js +3 -3
- package/dist/_internal/components/data-display/Table/Table.helpers.js +5 -3
- package/dist/_internal/components/data-display/Table/Table.hooks.js +2 -1
- package/dist/_internal/components/data-display/Table/Table.js +4 -4
- package/dist/_internal/components/data-display/Table/TableParts.hooks.js +4 -2
- package/dist/_internal/components/data-display/Table/TableParts.js +4 -2
- package/dist/_internal/components/data-display/index.js +27 -27
- package/dist/_internal/components/feedback/Dialog/Dialog.js +3 -3
- package/dist/_internal/components/feedback/Dialog/Dialog.styles.js +2 -2
- package/dist/_internal/components/feedback/Modal/Modal.js +3 -2
- package/dist/_internal/components/feedback/Modal/Modal.styles.js +2 -1
- package/dist/_internal/components/feedback/Sonner/Sonner.js +2 -2
- package/dist/_internal/components/feedback/Sonner/SonnerToast.js +1 -1
- package/dist/_internal/components/feedback/StackedModal/StackedModal.js +4 -3
- package/dist/_internal/components/feedback/StackedModal/StackedModal.parts.js +3 -2
- package/dist/_internal/components/feedback/StackedModal/StackedModal.styles.js +2 -1
- package/dist/_internal/components/feedback/Toast/Toast.js +2 -1
- package/dist/_internal/components/feedback/TutorialOverlay/TutorialOverlay.geometry.js +1 -1
- package/dist/_internal/components/feedback/TutorialOverlay/TutorialOverlay.hooks.js +3 -2
- package/dist/_internal/components/feedback/TutorialOverlay/TutorialOverlay.js +5 -4
- package/dist/_internal/components/feedback/TutorialOverlay/TutorialStepBody.js +2 -1
- package/dist/_internal/components/feedback/index.js +14 -15
- package/dist/_internal/components/form/Calendar/Calendar.js +5 -4
- package/dist/_internal/components/form/Calendar/CalendarDay.js +2 -1
- package/dist/_internal/components/form/Calendar/CalendarDayCell.js +3 -2
- package/dist/_internal/components/form/Calendar/CalendarMonth.js +4 -3
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +5 -5
- package/dist/_internal/components/form/Switch/Switch.js +4 -4
- package/dist/_internal/components/form/Switch/Switch.metrics.js +5 -1
- 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 +9 -9
- package/dist/_internal/components/form/total-form/FormErrorSnackbar.js +3 -2
- package/dist/_internal/components/index.js +117 -118
- package/dist/_internal/components/layout/Accordion/Accordion.js +3 -2
- package/dist/_internal/components/layout/Accordion/Accordion.styles.js +2 -1
- package/dist/_internal/components/layout/Box/Box.js +1 -1
- package/dist/_internal/components/layout/Card/Card.js +3 -3
- package/dist/_internal/components/layout/Card/Card.styles.js +2 -2
- package/dist/_internal/components/layout/CardGrid/CardGrid.js +2 -1
- package/dist/_internal/components/layout/Collapsible/Collapsible.helpers.js +2 -1
- package/dist/_internal/components/layout/Collapsible/Collapsible.js +3 -2
- package/dist/_internal/components/layout/ContentToolbar/ColumnsMenu.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/ContentToolbar.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/FilterTrigger.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/MultiSelectDropdown.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/SavedViewsMenu.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/SortByDropdown.js +1 -1
- package/dist/_internal/components/layout/ContentToolbar/ViewSelector.js +1 -1
- package/dist/_internal/components/layout/Dashboard/Dashboard.js +2 -2
- package/dist/_internal/components/layout/Dashboard/DashboardParts.js +1 -1
- package/dist/_internal/components/layout/Drawer/Drawer.js +2 -1
- package/dist/_internal/components/layout/Resizable/Resizable.helpers.js +8 -3
- package/dist/_internal/components/layout/Resizable/Resizable.hooks.js +3 -2
- package/dist/_internal/components/layout/Resizable/Resizable.js +4 -3
- package/dist/_internal/components/layout/ScrollArea/ScrollArea.helpers.js +1 -1
- package/dist/_internal/components/layout/ScrollArea/ScrollArea.js +6 -5
- package/dist/_internal/components/layout/ScrollArea/ScrollArea.styles.js +6 -3
- package/dist/_internal/components/layout/ScrollArea/ScrollAreaContent.js +2 -1
- package/dist/_internal/components/layout/ScrollArea/ScrollViewport.js +3 -2
- package/dist/_internal/components/layout/Separator/Separator.js +4 -2
- package/dist/_internal/components/layout/Separator/Separator.styles.js +3 -1
- package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.items.js +3 -3
- package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.js +8 -8
- package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.rail.js +4 -4
- package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.styles.js +6 -5
- package/dist/_internal/components/layout/SettingsLayout/SettingsPanel.js +5 -5
- package/dist/_internal/components/layout/SettingsLayout/SettingsSectionChips.js +3 -3
- package/dist/_internal/components/layout/SettingsLayout/SettingsSectionHeader.js +2 -2
- package/dist/_internal/components/layout/SettingsLayout/SettingsStatusMarker.js +2 -2
- package/dist/_internal/components/layout/Sidebar/Sidebar.js +2 -1
- package/dist/_internal/components/layout/Skeleton/Skeleton.js +3 -2
- package/dist/_internal/components/layout/Skeleton/Skeleton.styles.js +6 -3
- package/dist/_internal/components/layout/Spacer/Spacer.js +2 -1
- package/dist/_internal/components/layout/Stack/Stack.js +2 -2
- package/dist/_internal/components/layout/TableFilter/TableFilter.js +1 -1
- package/dist/_internal/components/layout/index.js +31 -32
- package/dist/_internal/components/navigation/AppHeader/AppHeader.brand.js +1 -1
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +3 -4
- package/dist/_internal/components/navigation/AppHeader/AppHeader.identity.js +2 -2
- package/dist/_internal/components/navigation/AppHeader/AppHeader.js +1 -1
- package/dist/_internal/components/navigation/Breadcrumbs/BreadcrumbEntry.js +2 -2
- package/dist/_internal/components/navigation/Breadcrumbs/Breadcrumbs.js +3 -3
- package/dist/_internal/components/navigation/Breadcrumbs/Breadcrumbs.styles.js +1 -1
- package/dist/_internal/components/navigation/CommandPalette/CommandPalette.js +3 -3
- package/dist/_internal/components/navigation/CommandPalette/CommandPaletteResults.js +2 -2
- package/dist/_internal/components/navigation/CommandPalette/ShortcutChip.js +1 -1
- package/dist/_internal/components/navigation/ContextMenu/ContextMenu.js +1 -1
- package/dist/_internal/components/navigation/DropdownMenu/DropdownMenu.js +1 -1
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMegaSection.js +4 -4
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenu.js +6 -6
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenu.shell.js +2 -2
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenu.styles.js +1 -1
- 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 +3 -3
- package/dist/_internal/components/navigation/Pagination/Pagination.styles.js +1 -1
- package/dist/_internal/components/navigation/Pagination/PaginationParts.js +2 -1
- package/dist/_internal/components/navigation/Tabs/Tabs.js +10 -3
- package/dist/_internal/components/navigation/Tabs/Tabs.styles.js +8 -1
- package/dist/_internal/components/navigation/Tabs/TabsPanel.js +2 -1
- package/dist/_internal/components/navigation/index.js +26 -27
- package/dist/_internal/components/typography/Blockquote/Blockquote.js +1 -1
- package/dist/_internal/components/typography/Code/Code.js +1 -1
- package/dist/_internal/components/typography/Text/Text.js +1 -1
- package/dist/_internal/components/typography/index.js +3 -3
- package/dist/_internal/components/utility/AnimatedIcon/AnimatedIcon.animations.js +2 -1
- package/dist/_internal/components/utility/AnimatedIcon/AnimatedIcon.js +3 -3
- package/dist/_internal/components/utility/AnimatedIcon/AnimatedIcon.styles.js +2 -2
- package/dist/_internal/components/utility/AspectRatio/AspectRatio.js +2 -1
- package/dist/_internal/components/utility/InfiniteScroll/InfiniteScroll.hooks.js +1 -1
- package/dist/_internal/components/utility/InfiniteScroll/InfiniteScroll.js +4 -3
- package/dist/_internal/components/utility/InfiniteScroll/InfiniteScroll.parts.js +2 -1
- package/dist/_internal/components/utility/VirtualList/VirtualList.hooks.js +6 -3
- package/dist/_internal/components/utility/VirtualList/VirtualList.js +3 -2
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.js +3 -3
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.parts.js +1 -1
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStepRow.js +2 -2
- package/dist/_internal/components/utility/index.js +12 -12
- package/dist/_internal/social-login-button/social-login-button.js +6 -7
- package/dist/_internal/tokens/shadow.js +19 -8
- package/dist/_internal/tokens/shadow.js.map +1 -1
- package/dist/_internal/user-avatar/user-avatar.js +4 -5
- package/dist/{chunk-J2DAQQQH.js → chunk-222HN7GK.js} +33 -64
- package/dist/chunk-222HN7GK.js.map +1 -0
- package/dist/{chunk-2BIVCYTO.js → chunk-27LOJVR3.js} +5 -5
- package/dist/{chunk-BLJDCMFU.js → chunk-2ARVNCVU.js} +7 -7
- package/dist/chunk-2ARVNCVU.js.map +1 -0
- package/dist/{chunk-CRZXSZ5O.js → chunk-2S752BIJ.js} +2 -2
- package/dist/{chunk-IYTBTK2M.js → chunk-2WU52FLP.js} +19 -30
- package/dist/chunk-2WU52FLP.js.map +1 -0
- package/dist/{chunk-RSQMPCCR.js → chunk-34643ATX.js} +10 -4
- package/dist/chunk-34643ATX.js.map +1 -0
- package/dist/{chunk-6GRZ77IS.js → chunk-3AIRFAI3.js} +13 -12
- package/dist/chunk-3AIRFAI3.js.map +1 -0
- package/dist/{chunk-Q73PTVNO.js → chunk-3FNXOCBD.js} +24 -12
- package/dist/chunk-3FNXOCBD.js.map +1 -0
- package/dist/{chunk-BAQBUKDU.js → chunk-3KREF4ZF.js} +2 -2
- package/dist/{chunk-EL7CMURV.js → chunk-3LSIFHQK.js} +3 -3
- package/dist/chunk-3LSIFHQK.js.map +1 -0
- package/dist/{chunk-MP4VSWHK.js → chunk-3NJMNMWB.js} +12 -2
- package/dist/chunk-3NJMNMWB.js.map +1 -0
- package/dist/{chunk-N52O2OKZ.js → chunk-3NNO6YIH.js} +8 -3
- package/dist/chunk-3NNO6YIH.js.map +1 -0
- package/dist/{chunk-SYN46YL6.js → chunk-3RMDIO4G.js} +3 -3
- package/dist/{chunk-S3D5VBHW.js → chunk-3YOXVNO4.js} +7 -7
- package/dist/{chunk-MJ3BVWPZ.js → chunk-43G3WMYN.js} +12 -7
- package/dist/chunk-43G3WMYN.js.map +1 -0
- package/dist/{chunk-E7MSDXED.js → chunk-43H66TVT.js} +12 -5
- package/dist/chunk-43H66TVT.js.map +1 -0
- package/dist/{chunk-IL7JZKXY.js → chunk-442FSG7G.js} +3 -3
- package/dist/{chunk-JL75FJRG.js → chunk-4ALF5PB5.js} +4 -4
- package/dist/{chunk-DYVAOEW4.js → chunk-4D4LLSQC.js} +6 -5
- package/dist/chunk-4D4LLSQC.js.map +1 -0
- package/dist/{chunk-NEGCJNGJ.js → chunk-4G47KBTP.js} +9 -9
- package/dist/chunk-4G47KBTP.js.map +1 -0
- package/dist/{chunk-MVXFMIVZ.js → chunk-4GB46HLK.js} +8 -4
- package/dist/chunk-4GB46HLK.js.map +1 -0
- package/dist/{chunk-CS3KOKL3.js → chunk-4GWHYLEB.js} +2 -2
- package/dist/{chunk-XJPJ6ESI.js → chunk-4OAKGKK5.js} +3 -3
- package/dist/{chunk-4OEKIFBC.js → chunk-4VMFS3VJ.js} +6 -3
- package/dist/chunk-4VMFS3VJ.js.map +1 -0
- package/dist/{chunk-6CTPDNNX.js → chunk-52G2KRL4.js} +14 -14
- package/dist/chunk-52G2KRL4.js.map +1 -0
- package/dist/{chunk-4CHROSWR.js → chunk-5ETBB2DG.js} +2 -2
- package/dist/{chunk-E7T3A4IR.js → chunk-5JCGBCFJ.js} +2 -2
- package/dist/{chunk-ATSHKSSD.js → chunk-5KNDAC24.js} +20 -7
- package/dist/chunk-5KNDAC24.js.map +1 -0
- package/dist/{chunk-ULTOQ6ZV.js → chunk-5LWB4BYX.js} +80 -89
- package/dist/chunk-5LWB4BYX.js.map +1 -0
- package/dist/{chunk-FC7NQ6XM.js → chunk-5MW7OYBM.js} +2 -2
- package/dist/{chunk-46UPILLK.js → chunk-5NT2M2JI.js} +2 -2
- package/dist/{chunk-MK4CH4VT.js → chunk-5OUEKIWQ.js} +14 -12
- package/dist/chunk-5OUEKIWQ.js.map +1 -0
- package/dist/{chunk-GHXFCMFP.js → chunk-5QAJ3Y5F.js} +3 -3
- package/dist/{chunk-GHXFCMFP.js.map → chunk-5QAJ3Y5F.js.map} +1 -1
- package/dist/{chunk-CPTY6UZ6.js → chunk-6KEXHOIF.js} +5 -4
- package/dist/chunk-6KEXHOIF.js.map +1 -0
- package/dist/{chunk-H5BEWPEY.js → chunk-6N2EDWMG.js} +2 -2
- package/dist/{chunk-BW62QQAG.js → chunk-6N4AA2Y7.js} +2 -2
- package/dist/{chunk-EFHIMCJN.js → chunk-6P2OFMBX.js} +11 -9
- package/dist/chunk-6P2OFMBX.js.map +1 -0
- package/dist/{chunk-GJQYM3PM.js → chunk-6PU3JYVY.js} +2 -2
- package/dist/{chunk-GUW5BUK7.js → chunk-6WBKOM5K.js} +15 -7
- package/dist/chunk-6WBKOM5K.js.map +1 -0
- package/dist/{chunk-7EIOXZWL.js → chunk-74P3YX7R.js} +4 -4
- package/dist/{chunk-VYSFKR32.js → chunk-75CGLX6Q.js} +3 -3
- package/dist/{chunk-VYSFKR32.js.map → chunk-75CGLX6Q.js.map} +1 -1
- package/dist/{chunk-LVEG6XQL.js → chunk-76X6JRVI.js} +19 -33
- package/dist/chunk-76X6JRVI.js.map +1 -0
- package/dist/{chunk-2NLYGZP3.js → chunk-77JL5XVD.js} +13 -9
- package/dist/chunk-77JL5XVD.js.map +1 -0
- package/dist/{chunk-PUBPZOQJ.js → chunk-AG3DY5TH.js} +8 -5
- package/dist/chunk-AG3DY5TH.js.map +1 -0
- package/dist/{chunk-T3WHW7ZC.js → chunk-BAZXVFLR.js} +10 -6
- package/dist/chunk-BAZXVFLR.js.map +1 -0
- package/dist/{chunk-7F7TTOYN.js → chunk-BEGTLELZ.js} +7 -6
- package/dist/chunk-BEGTLELZ.js.map +1 -0
- package/dist/{chunk-VT5HQ2AD.js → chunk-BFMDA6UO.js} +3 -3
- package/dist/{chunk-R75DZ3AK.js → chunk-BVLMKSHX.js} +2 -2
- package/dist/{chunk-75LOTMSN.js → chunk-BWHOCNGW.js} +5 -5
- package/dist/chunk-BWHOCNGW.js.map +1 -0
- package/dist/{chunk-PMP6WJJS.js → chunk-BWMHGENX.js} +20 -19
- package/dist/chunk-BWMHGENX.js.map +1 -0
- package/dist/{chunk-TUBCN4DJ.js → chunk-CB6DTWD5.js} +7 -7
- package/dist/chunk-CB6DTWD5.js.map +1 -0
- package/dist/{chunk-CAHWCSRE.js → chunk-D46SLMCX.js} +22 -8
- package/dist/chunk-D46SLMCX.js.map +1 -0
- package/dist/{chunk-FFOQZRFC.js → chunk-D4FZ3ANG.js} +15 -5
- package/dist/chunk-D4FZ3ANG.js.map +1 -0
- package/dist/{chunk-2OIP3T5O.js → chunk-DBFRCTI5.js} +4 -4
- package/dist/{chunk-2OIP3T5O.js.map → chunk-DBFRCTI5.js.map} +1 -1
- package/dist/{chunk-HNPWZ3W2.js → chunk-DDRKYNPB.js} +4 -4
- package/dist/{chunk-DLJGBJZW.js → chunk-DGMDQHMI.js} +16 -9
- package/dist/chunk-DGMDQHMI.js.map +1 -0
- package/dist/{chunk-IAGOUTI6.js → chunk-DNT5PZLF.js} +21 -12
- package/dist/chunk-DNT5PZLF.js.map +1 -0
- package/dist/{chunk-HU7TX7RB.js → chunk-DUBTI4DI.js} +4 -4
- package/dist/{chunk-DZA7RSLX.js → chunk-DVSO3EG6.js} +19 -11
- package/dist/chunk-DVSO3EG6.js.map +1 -0
- package/dist/{chunk-RMCNEKBZ.js → chunk-DW6F7354.js} +2 -2
- package/dist/{chunk-Q4BQYYPU.js → chunk-E2QIKJX2.js} +11 -5
- package/dist/chunk-E2QIKJX2.js.map +1 -0
- package/dist/{chunk-XJUEHG72.js → chunk-EERUSI52.js} +2 -2
- package/dist/{chunk-NDNYD4FG.js → chunk-EHYI2WCJ.js} +5 -5
- package/dist/{chunk-NB3FGWU4.js → chunk-EQXIW5MQ.js} +2 -2
- package/dist/{chunk-QAP3FW33.js → chunk-ERY6D2OV.js} +35 -23
- package/dist/chunk-ERY6D2OV.js.map +1 -0
- package/dist/{chunk-NPP44TQG.js → chunk-EYZ6QBTV.js} +2 -2
- package/dist/{chunk-NPP44TQG.js.map → chunk-EYZ6QBTV.js.map} +1 -1
- package/dist/{chunk-2ZIHZLF5.js → chunk-F44R7US6.js} +4 -4
- package/dist/{chunk-AROBXRC5.js → chunk-F7JTIHV5.js} +18 -7
- package/dist/chunk-F7JTIHV5.js.map +1 -0
- package/dist/{chunk-U342T7ZR.js → chunk-FOCU4QT5.js} +13 -10
- package/dist/chunk-FOCU4QT5.js.map +1 -0
- package/dist/{chunk-35S6QI5G.js → chunk-FX26DAFF.js} +2 -2
- package/dist/{chunk-FYTLKHEN.js → chunk-FYKFQPVT.js} +19 -18
- package/dist/chunk-FYKFQPVT.js.map +1 -0
- package/dist/{chunk-TVL5V2JK.js → chunk-GGMB6LJH.js} +7 -3
- package/dist/chunk-GGMB6LJH.js.map +1 -0
- package/dist/{chunk-AYLEZM6T.js → chunk-GLFTIGOF.js} +3 -3
- package/dist/{chunk-QEG3P5D4.js → chunk-GLHNMTP6.js} +13 -13
- package/dist/{chunk-7UZ2TFIK.js → chunk-GNCSDUGY.js} +12 -4
- package/dist/chunk-GNCSDUGY.js.map +1 -0
- package/dist/{chunk-L4UP5VYS.js → chunk-GVH7C2PT.js} +2 -2
- package/dist/{chunk-MBSYD3ZU.js → chunk-GWFAINQ7.js} +3 -3
- package/dist/chunk-GWFAINQ7.js.map +1 -0
- package/dist/{chunk-YU26GBNX.js → chunk-H3AQQOTI.js} +9 -4
- package/dist/chunk-H3AQQOTI.js.map +1 -0
- package/dist/{chunk-HTZNB6IV.js → chunk-H5ZTIELC.js} +23 -8
- package/dist/chunk-H5ZTIELC.js.map +1 -0
- package/dist/{chunk-AER4245J.js → chunk-H67EL3CG.js} +6 -6
- package/dist/{chunk-GSFNH4C5.js → chunk-HBP2OU4Q.js} +15 -8
- package/dist/chunk-HBP2OU4Q.js.map +1 -0
- package/dist/{chunk-57JLS55D.js → chunk-HBRQPG7H.js} +7 -7
- package/dist/{chunk-3D6HXKZM.js → chunk-HDJQDMHB.js} +18 -13
- package/dist/chunk-HDJQDMHB.js.map +1 -0
- package/dist/{chunk-HGMBY5LP.js → chunk-HQWJUHR4.js} +18 -11
- package/dist/chunk-HQWJUHR4.js.map +1 -0
- package/dist/{chunk-UZ6AUTE6.js → chunk-I3F4C5SS.js} +7 -7
- package/dist/{chunk-L7SFH3ED.js → chunk-I7GSRTGQ.js} +37 -28
- package/dist/chunk-I7GSRTGQ.js.map +1 -0
- package/dist/{chunk-Q4CAZ2TP.js → chunk-IG23YZZR.js} +6 -5
- package/dist/chunk-IG23YZZR.js.map +1 -0
- package/dist/{chunk-5W4BLTDI.js → chunk-IWFENXST.js} +7 -6
- package/dist/chunk-IWFENXST.js.map +1 -0
- package/dist/{chunk-HXEBKOSM.js → chunk-J5UZB6Y6.js} +2 -2
- package/dist/chunk-J5UZB6Y6.js.map +1 -0
- package/dist/{chunk-4CXEWFKO.js → chunk-J5VWGQSR.js} +2 -2
- package/dist/{chunk-AJ5SDHX5.js → chunk-JCL7WK4G.js} +2 -2
- package/dist/{chunk-MTFCPPZ5.js → chunk-JWZJSXI5.js} +3 -2
- package/dist/chunk-JWZJSXI5.js.map +1 -0
- package/dist/{chunk-5CKDRLRN.js → chunk-JXECOCNA.js} +35 -19
- package/dist/chunk-JXECOCNA.js.map +1 -0
- package/dist/{chunk-WUTHROII.js → chunk-JYWF76Z5.js} +11 -5
- package/dist/chunk-JYWF76Z5.js.map +1 -0
- package/dist/{chunk-B76QCDCE.js → chunk-K4L42FF6.js} +6 -3
- package/dist/chunk-K4L42FF6.js.map +1 -0
- package/dist/{chunk-4JFL62K3.js → chunk-K7FSTB2K.js} +3 -3
- package/dist/{chunk-WE3LJPRN.js → chunk-KE473LK6.js} +2 -2
- package/dist/{chunk-TBF2CPJW.js → chunk-KIHGTL2D.js} +21 -11
- package/dist/chunk-KIHGTL2D.js.map +1 -0
- package/dist/{chunk-3T5Z5HXF.js → chunk-KM3Y5TCG.js} +40 -36
- package/dist/chunk-KM3Y5TCG.js.map +1 -0
- package/dist/{chunk-C55AWF3U.js → chunk-KRQUPE4K.js} +4 -4
- package/dist/{chunk-SJO3K7SB.js → chunk-KXLUMEDX.js} +4 -4
- package/dist/{chunk-RWTFZ7J5.js → chunk-L4G5BZFF.js} +22 -13
- package/dist/chunk-L4G5BZFF.js.map +1 -0
- package/dist/{chunk-HB7ISSLK.js → chunk-L5RQIQIP.js} +26 -22
- package/dist/chunk-L5RQIQIP.js.map +1 -0
- package/dist/{chunk-CQPFSEJB.js → chunk-L7NQCLFU.js} +2 -2
- package/dist/{chunk-DVAAUWTC.js → chunk-LCHCE2G5.js} +2 -2
- package/dist/{chunk-G4HBNILE.js → chunk-LEHMWJNZ.js} +3 -3
- package/dist/{chunk-OATHOXIU.js → chunk-MC4KYGSX.js} +8 -8
- package/dist/chunk-MC4KYGSX.js.map +1 -0
- package/dist/{chunk-P6TNXBDA.js → chunk-MYKWJCR7.js} +9 -9
- package/dist/chunk-MYKWJCR7.js.map +1 -0
- package/dist/{chunk-YVUD3MY4.js → chunk-N23GCN5U.js} +7 -4
- package/dist/chunk-N23GCN5U.js.map +1 -0
- package/dist/{chunk-2TJOCI54.js → chunk-NCEQWEXT.js} +3 -3
- package/dist/{chunk-2TJOCI54.js.map → chunk-NCEQWEXT.js.map} +1 -1
- package/dist/{chunk-IVIHRZEY.js → chunk-NDMPXMW2.js} +12 -8
- package/dist/chunk-NDMPXMW2.js.map +1 -0
- package/dist/{chunk-UUUMNJPP.js → chunk-NLYNRE7L.js} +10 -10
- package/dist/chunk-NLYNRE7L.js.map +1 -0
- package/dist/{chunk-KLWW67WP.js → chunk-NOKN4HRK.js} +12 -11
- package/dist/chunk-NOKN4HRK.js.map +1 -0
- package/dist/{chunk-LIG7TKIB.js → chunk-NYFNF7I5.js} +11 -6
- package/dist/chunk-NYFNF7I5.js.map +1 -0
- package/dist/{chunk-KK57AHWS.js → chunk-OAEYCKBN.js} +2 -2
- package/dist/{chunk-JGRE56GQ.js → chunk-OB56SZGL.js} +2 -2
- package/dist/{chunk-TQ6FPOPD.js → chunk-ODW2D5PN.js} +39 -30
- package/dist/chunk-ODW2D5PN.js.map +1 -0
- package/dist/{chunk-VRDNUY4H.js → chunk-OHC3F7GJ.js} +4 -4
- package/dist/chunk-OHC3F7GJ.js.map +1 -0
- package/dist/{chunk-E4TNDTWV.js → chunk-OL2BEJZR.js} +2 -2
- package/dist/{chunk-ZTYUKEN3.js → chunk-OVXSQQDK.js} +12 -7
- package/dist/chunk-OVXSQQDK.js.map +1 -0
- package/dist/{chunk-ZQL5RXVE.js → chunk-PA3AA55Q.js} +2 -2
- package/dist/{chunk-ZQL5RXVE.js.map → chunk-PA3AA55Q.js.map} +1 -1
- package/dist/{chunk-IKLOIONQ.js → chunk-PCBZYORN.js} +3 -3
- package/dist/{chunk-CQLPDY2J.js → chunk-PRIBOWX4.js} +3 -3
- package/dist/{chunk-F42MJOHM.js → chunk-PVM7XTLZ.js} +64 -62
- package/dist/chunk-PVM7XTLZ.js.map +1 -0
- package/dist/{chunk-LT4NEKXB.js → chunk-QA2ZGCRL.js} +3 -3
- package/dist/{chunk-3TDVGZZN.js → chunk-QBTBRJ2Q.js} +37 -13
- package/dist/chunk-QBTBRJ2Q.js.map +1 -0
- package/dist/{chunk-2E2WOBID.js → chunk-QGFBIUOK.js} +5 -5
- package/dist/chunk-QGFBIUOK.js.map +1 -0
- package/dist/{chunk-2WFDHFK4.js → chunk-QNCWSDXE.js} +26 -11
- package/dist/chunk-QNCWSDXE.js.map +1 -0
- package/dist/{chunk-PQECNGDE.js → chunk-QSRZOXQI.js} +2 -2
- package/dist/{chunk-RHIDWUK7.js → chunk-QUWK7SYN.js} +1 -2
- package/dist/chunk-QUWK7SYN.js.map +1 -0
- package/dist/{chunk-ROT57BP4.js → chunk-R2XVTUVR.js} +2 -2
- package/dist/{chunk-UN5INW6K.js → chunk-R53ZOW4B.js} +8 -4
- package/dist/chunk-R53ZOW4B.js.map +1 -0
- package/dist/{chunk-MVKYNDT2.js → chunk-RKROWJVF.js} +11 -9
- package/dist/chunk-RKROWJVF.js.map +1 -0
- package/dist/{chunk-DCJSHYE5.js → chunk-RSDYS5B3.js} +4 -4
- package/dist/{chunk-NYZO3JNB.js → chunk-RXJQA3FQ.js} +2 -3
- package/dist/chunk-RXJQA3FQ.js.map +1 -0
- package/dist/{chunk-N5GVW6RO.js → chunk-S6IWKDWT.js} +2 -2
- package/dist/{chunk-DB2ZFZVW.js → chunk-SBIZXZPP.js} +3 -3
- package/dist/{chunk-NCPWLHZT.js → chunk-SKT2V2OX.js} +3 -3
- package/dist/{chunk-EOW2ECB3.js → chunk-SNURSSTN.js} +2 -2
- package/dist/{chunk-GRDPGHQJ.js → chunk-SV6JGFHG.js} +9 -5
- package/dist/chunk-SV6JGFHG.js.map +1 -0
- package/dist/{chunk-CZBND7AY.js → chunk-T7DE44SP.js} +2 -2
- package/dist/{chunk-D5SZXH7Q.js → chunk-TNBJ4DK4.js} +7 -3
- package/dist/chunk-TNBJ4DK4.js.map +1 -0
- package/dist/{chunk-3CVTQZQJ.js → chunk-TNYKM4UU.js} +13 -9
- package/dist/chunk-TNYKM4UU.js.map +1 -0
- package/dist/{chunk-3VMGE7CU.js → chunk-TZFBJ47T.js} +3 -3
- package/dist/chunk-TZFBJ47T.js.map +1 -0
- package/dist/{chunk-VFHGILXI.js → chunk-U3DBQXPI.js} +20 -17
- package/dist/chunk-U3DBQXPI.js.map +1 -0
- package/dist/{chunk-QKPD322X.js → chunk-UFNIS7KC.js} +2 -2
- package/dist/chunk-UFNIS7KC.js.map +1 -0
- package/dist/{chunk-BNEWMFVB.js → chunk-UGGJ3KDT.js} +2 -2
- package/dist/{chunk-L4QCIUTJ.js → chunk-UMNXSQ7I.js} +3 -3
- package/dist/{chunk-L4QCIUTJ.js.map → chunk-UMNXSQ7I.js.map} +1 -1
- package/dist/{chunk-2CTTASUD.js → chunk-V5EWCJBT.js} +7 -4
- package/dist/chunk-V5EWCJBT.js.map +1 -0
- package/dist/{chunk-236V2GRH.js → chunk-VCBV5JM7.js} +49 -41
- package/dist/chunk-VCBV5JM7.js.map +1 -0
- package/dist/{chunk-KREWQAEV.js → chunk-VIRYHNEM.js} +2 -2
- package/dist/{chunk-PT2XADGH.js → chunk-VPRNKJHP.js} +9 -6
- package/dist/chunk-VPRNKJHP.js.map +1 -0
- package/dist/{chunk-JXUWWPZR.js → chunk-VQYR64QB.js} +14 -8
- package/dist/chunk-VQYR64QB.js.map +1 -0
- package/dist/{chunk-72DKEBJM.js → chunk-VRPREI27.js} +3 -3
- package/dist/chunk-VRPREI27.js.map +1 -0
- package/dist/{chunk-N6CSXHFJ.js → chunk-WN5PNP6F.js} +2 -2
- package/dist/{chunk-6QLPSMTA.js → chunk-XEWMY4ZM.js} +52 -47
- package/dist/chunk-XEWMY4ZM.js.map +1 -0
- package/dist/{chunk-XR46FSOH.js → chunk-XIG3DXXX.js} +2 -2
- package/dist/{chunk-GHTBUJ6E.js → chunk-XRUW7DMH.js} +2 -2
- package/dist/{chunk-CSTAQX2B.js → chunk-XWZJLXJT.js} +7 -6
- package/dist/chunk-XWZJLXJT.js.map +1 -0
- package/dist/{chunk-PMOEG36E.js → chunk-XZJM6EPC.js} +8 -6
- package/dist/chunk-XZJM6EPC.js.map +1 -0
- package/dist/{chunk-QF6LTUCE.js → chunk-Y2X7LYIN.js} +4 -4
- package/dist/chunk-Y2X7LYIN.js.map +1 -0
- package/dist/{chunk-MBC55H6M.js → chunk-Y5UTYBZW.js} +12 -6
- package/dist/chunk-Y5UTYBZW.js.map +1 -0
- package/dist/{chunk-WTOYEWW6.js → chunk-YBH4SPMM.js} +4 -3
- package/dist/chunk-YBH4SPMM.js.map +1 -0
- package/dist/{chunk-JLQGRZMN.js → chunk-YCCY77W5.js} +3 -3
- package/dist/{chunk-5QWQR7XT.js → chunk-YHGOPZXW.js} +11 -8
- package/dist/chunk-YHGOPZXW.js.map +1 -0
- package/dist/{chunk-6BDYC4RA.js → chunk-YRSR5LVZ.js} +3 -3
- package/dist/{chunk-57JY4OI2.js → chunk-YUXDVW62.js} +3 -3
- package/dist/chunk-YUXDVW62.js.map +1 -0
- package/dist/{chunk-DF4K5XVW.js → chunk-YZVR5ROE.js} +14 -6
- package/dist/chunk-YZVR5ROE.js.map +1 -0
- package/dist/{chunk-RNEYZTE4.js → chunk-Z6MCTGIK.js} +2 -2
- package/dist/{chunk-RNEYZTE4.js.map → chunk-Z6MCTGIK.js.map} +1 -1
- package/dist/{chunk-AUSUCZYR.js → chunk-ZBVU2YWV.js} +5 -5
- package/dist/chunk-ZBVU2YWV.js.map +1 -0
- package/dist/{chunk-VZIB5W5L.js → chunk-ZGCPDA3F.js} +2 -2
- package/dist/data-display/AsyncStateContainer.js +4 -4
- package/dist/data-display/CardKit.js +2 -2
- package/dist/data-display/DataGrid.js +4 -4
- package/dist/data-display/DataViews.js +68 -69
- package/dist/data-display/DescriptionItem.js +2 -2
- package/dist/data-display/FleetMap.js +13 -13
- package/dist/data-display/LazyImage.js +3 -3
- package/dist/data-display/LoadingState.js +3 -3
- package/dist/data-display/MapPreview.js +7 -7
- package/dist/data-display/StatCard.js +3 -3
- package/dist/data-display/Table.js +4 -4
- package/dist/feedback/Dialog.js +3 -3
- package/dist/feedback/Modal.js +3 -2
- package/dist/feedback/Sonner.js +2 -2
- package/dist/feedback/StackedModal.js +4 -3
- package/dist/feedback/Toast.js +2 -1
- package/dist/feedback/TutorialOverlay.js +5 -4
- package/dist/form/Calendar.js +5 -4
- package/dist/form/DateRangePicker.js +5 -5
- package/dist/form/Switch.js +4 -4
- package/dist/form/total-form.js +2 -2
- package/dist/layout/Accordion.js +3 -2
- package/dist/layout/Box.js +1 -1
- package/dist/layout/Card.js +3 -3
- package/dist/layout/CardGrid.js +2 -1
- package/dist/layout/Collapsible.js +3 -2
- package/dist/layout/ContentToolbar.js +7 -7
- package/dist/layout/Dashboard.js +2 -2
- package/dist/layout/Drawer.js +2 -1
- package/dist/layout/Resizable.js +4 -3
- package/dist/layout/ScrollArea.js +6 -5
- package/dist/layout/Separator.js +4 -2
- package/dist/layout/SettingsLayout.js +8 -8
- package/dist/layout/Sidebar.js +2 -1
- package/dist/layout/Skeleton.js +3 -2
- package/dist/layout/Spacer.js +2 -1
- package/dist/layout/Stack.js +2 -2
- package/dist/layout/TableFilter.js +1 -1
- package/dist/native/form/Switch.js +3 -1
- package/dist/native/form/Switch.js.map +1 -1
- package/dist/navigation/AppHeader.js +6 -7
- package/dist/navigation/Breadcrumbs.js +3 -3
- package/dist/navigation/CommandPalette.js +3 -3
- package/dist/navigation/ContextMenu.js +1 -1
- package/dist/navigation/DropdownMenu.js +1 -1
- package/dist/navigation/NavigationMenu.js +6 -6
- package/dist/navigation/Pagination.js +3 -3
- package/dist/navigation/Tabs.js +10 -3
- package/dist/social-login-button.js +6 -7
- package/dist/types/components/data-display/DataGrid/DataGrid.body.d.ts.map +1 -1
- package/dist/types/components/data-display/DataGrid/DataGrid.cells.d.ts +4 -2
- package/dist/types/components/data-display/DataGrid/DataGrid.cells.d.ts.map +1 -1
- package/dist/types/components/data-display/DataGrid/DataGrid.model.d.ts +7 -1
- package/dist/types/components/data-display/DataGrid/DataGrid.model.d.ts.map +1 -1
- package/dist/types/components/data-display/DataGrid/DataGrid.types.d.ts +10 -4
- package/dist/types/components/data-display/DataGrid/DataGrid.types.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-columns.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-grid-helpers.d.ts +2 -0
- package/dist/types/components/data-display/DataViews/data-views-grid-helpers.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-layout-context.d.ts +7 -3
- package/dist/types/components/data-display/DataViews/data-views-layout-context.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-overflow-costs.d.ts +19 -9
- package/dist/types/components/data-display/DataViews/data-views-overflow-costs.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-overflow.d.ts.map +1 -1
- package/dist/types/components/data-display/MapPreview/MapTiles.d.ts.map +1 -1
- package/dist/types/components/data-display/MapPreview/mapProjection.d.ts +6 -1
- package/dist/types/components/data-display/MapPreview/mapProjection.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/Table.helpers.d.ts +6 -0
- package/dist/types/components/data-display/Table/Table.helpers.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/Table.hooks.d.ts +9 -1
- package/dist/types/components/data-display/Table/Table.hooks.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/Table.types.d.ts +6 -2
- package/dist/types/components/data-display/Table/Table.types.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/TableParts.d.ts +2 -0
- package/dist/types/components/data-display/Table/TableParts.d.ts.map +1 -1
- package/dist/types/components/feedback/Dialog/Dialog.styles.d.ts.map +1 -1
- package/dist/types/components/feedback/Modal/Modal.d.ts.map +1 -1
- package/dist/types/components/feedback/Modal/Modal.styles.d.ts.map +1 -1
- package/dist/types/components/feedback/StackedModal/StackedModal.parts.d.ts.map +1 -1
- package/dist/types/components/feedback/StackedModal/StackedModal.styles.d.ts.map +1 -1
- package/dist/types/components/feedback/Toast/Toast.d.ts.map +1 -1
- package/dist/types/components/feedback/TutorialOverlay/TutorialOverlay.d.ts.map +1 -1
- package/dist/types/components/feedback/TutorialOverlay/TutorialOverlay.geometry.d.ts +3 -1
- package/dist/types/components/feedback/TutorialOverlay/TutorialOverlay.geometry.d.ts.map +1 -1
- package/dist/types/components/feedback/TutorialOverlay/TutorialOverlay.hooks.d.ts.map +1 -1
- package/dist/types/components/feedback/TutorialOverlay/TutorialStepBody.d.ts.map +1 -1
- package/dist/types/components/form/Calendar/Calendar.d.ts.map +1 -1
- package/dist/types/components/form/Calendar/CalendarDay.d.ts.map +1 -1
- package/dist/types/components/form/Calendar/CalendarMonth.d.ts.map +1 -1
- package/dist/types/components/form/Switch/Switch.metrics.d.ts +13 -3
- package/dist/types/components/form/Switch/Switch.metrics.d.ts.map +1 -1
- package/dist/types/components/form/Switch/Switch.styles.d.ts.map +1 -1
- package/dist/types/components/layout/Accordion/Accordion.d.ts.map +1 -1
- package/dist/types/components/layout/Accordion/Accordion.styles.d.ts.map +1 -1
- package/dist/types/components/layout/Box/Box.d.ts +2 -1
- package/dist/types/components/layout/Box/Box.d.ts.map +1 -1
- package/dist/types/components/layout/Card/Card.styles.d.ts.map +1 -1
- package/dist/types/components/layout/CardGrid/CardGrid.d.ts +9 -7
- package/dist/types/components/layout/CardGrid/CardGrid.d.ts.map +1 -1
- package/dist/types/components/layout/Collapsible/Collapsible.d.ts.map +1 -1
- package/dist/types/components/layout/Collapsible/Collapsible.helpers.d.ts +1 -1
- package/dist/types/components/layout/Collapsible/Collapsible.helpers.d.ts.map +1 -1
- package/dist/types/components/layout/Drawer/Drawer.d.ts.map +1 -1
- package/dist/types/components/layout/Resizable/Resizable.d.ts.map +1 -1
- package/dist/types/components/layout/Resizable/Resizable.helpers.d.ts +21 -9
- package/dist/types/components/layout/Resizable/Resizable.helpers.d.ts.map +1 -1
- package/dist/types/components/layout/Resizable/Resizable.hooks.d.ts +13 -3
- package/dist/types/components/layout/Resizable/Resizable.hooks.d.ts.map +1 -1
- package/dist/types/components/layout/Resizable/Resizable.types.d.ts +10 -0
- package/dist/types/components/layout/Resizable/Resizable.types.d.ts.map +1 -1
- package/dist/types/components/layout/ScrollArea/ScrollArea.d.ts.map +1 -1
- package/dist/types/components/layout/ScrollArea/ScrollArea.helpers.d.ts +1 -1
- package/dist/types/components/layout/ScrollArea/ScrollArea.helpers.d.ts.map +1 -1
- package/dist/types/components/layout/ScrollArea/ScrollArea.styles.d.ts +6 -0
- package/dist/types/components/layout/ScrollArea/ScrollArea.styles.d.ts.map +1 -1
- package/dist/types/components/layout/ScrollArea/ScrollArea.types.d.ts +4 -1
- package/dist/types/components/layout/ScrollArea/ScrollArea.types.d.ts.map +1 -1
- package/dist/types/components/layout/ScrollArea/ScrollViewport.d.ts.map +1 -1
- package/dist/types/components/layout/Separator/Separator.d.ts.map +1 -1
- package/dist/types/components/layout/Separator/Separator.styles.d.ts +7 -4
- package/dist/types/components/layout/Separator/Separator.styles.d.ts.map +1 -1
- package/dist/types/components/layout/SettingsLayout/SettingsLayout.items.d.ts.map +1 -1
- package/dist/types/components/layout/SettingsLayout/SettingsLayout.rail.d.ts.map +1 -1
- package/dist/types/components/layout/SettingsLayout/SettingsLayout.styles.d.ts +4 -4
- package/dist/types/components/layout/SettingsLayout/SettingsLayout.styles.d.ts.map +1 -1
- package/dist/types/components/layout/Sidebar/Sidebar.d.ts.map +1 -1
- package/dist/types/components/layout/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/types/components/layout/Skeleton/Skeleton.styles.d.ts +8 -1
- package/dist/types/components/layout/Skeleton/Skeleton.styles.d.ts.map +1 -1
- package/dist/types/components/layout/Spacer/Spacer.d.ts.map +1 -1
- package/dist/types/components/layout/TableFilter/TableFilter.d.ts.map +1 -1
- package/dist/types/components/navigation/AppHeader/AppHeader.d.ts.map +1 -1
- package/dist/types/components/navigation/AppHeader/AppHeader.details.d.ts.map +1 -1
- package/dist/types/components/navigation/AppHeader/AppHeader.identity.d.ts.map +1 -1
- package/dist/types/components/navigation/Breadcrumbs/Breadcrumbs.styles.d.ts +2 -2
- package/dist/types/components/navigation/Breadcrumbs/Breadcrumbs.styles.d.ts.map +1 -1
- package/dist/types/components/navigation/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/types/components/navigation/NavigationMenu/NavigationMegaSection.d.ts.map +1 -1
- package/dist/types/components/navigation/NavigationMenu/NavigationMenu.d.ts.map +1 -1
- package/dist/types/components/navigation/NavigationMenu/NavigationMenu.shell.d.ts.map +1 -1
- package/dist/types/components/navigation/NavigationMenu/NavigationMenu.styles.d.ts +2 -2
- package/dist/types/components/navigation/NavigationMenu/NavigationMenu.styles.d.ts.map +1 -1
- package/dist/types/components/navigation/NavigationMenu/NavigationStandardBody.d.ts.map +1 -1
- package/dist/types/components/navigation/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/navigation/Pagination/PaginationParts.d.ts.map +1 -1
- package/dist/types/components/navigation/Tabs/Tabs.d.ts.map +1 -1
- package/dist/types/components/navigation/Tabs/Tabs.styles.d.ts.map +1 -1
- package/dist/types/components/navigation/Tabs/TabsPanel.d.ts.map +1 -1
- package/dist/types/components/utility/AnimatedIcon/AnimatedIcon.animations.d.ts +9 -8
- package/dist/types/components/utility/AnimatedIcon/AnimatedIcon.animations.d.ts.map +1 -1
- package/dist/types/components/utility/AnimatedIcon/AnimatedIcon.styles.d.ts +1 -1
- package/dist/types/components/utility/AnimatedIcon/AnimatedIcon.styles.d.ts.map +1 -1
- package/dist/types/components/utility/AspectRatio/AspectRatio.d.ts.map +1 -1
- package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.d.ts.map +1 -1
- package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.hooks.d.ts +3 -2
- package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.hooks.d.ts.map +1 -1
- package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.parts.d.ts +3 -2
- package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.parts.d.ts.map +1 -1
- package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.types.d.ts +9 -0
- package/dist/types/components/utility/InfiniteScroll/InfiniteScroll.types.d.ts.map +1 -1
- package/dist/types/components/utility/VirtualList/VirtualList.d.ts.map +1 -1
- package/dist/types/components/utility/VirtualList/VirtualList.hooks.d.ts +24 -28
- package/dist/types/components/utility/VirtualList/VirtualList.hooks.d.ts.map +1 -1
- package/dist/types/components/utility/VirtualList/VirtualList.types.d.ts +17 -0
- package/dist/types/components/utility/VirtualList/VirtualList.types.d.ts.map +1 -1
- package/dist/types/social-login-button/social-login-button.d.ts.map +1 -1
- package/dist/types-native/components/form/Switch/Switch.metrics.d.ts +13 -3
- package/dist/types-native/components/form/Switch/Switch.metrics.d.ts.map +1 -1
- package/dist/typography/Blockquote.js +1 -1
- package/dist/typography/Code.js +1 -1
- package/dist/typography/Text.js +1 -1
- package/dist/user-avatar.js +4 -5
- package/dist/utility/AnimatedIcon.js +3 -3
- package/dist/utility/AspectRatio.js +2 -1
- package/dist/utility/InfiniteScroll.js +4 -3
- package/dist/utility/VirtualList.js +3 -2
- package/dist/utility/WorkflowStep.js +3 -3
- package/package.json +1 -1
- package/src/components/data-display/DataGrid/DataGrid.body.tsx +27 -7
- package/src/components/data-display/DataGrid/DataGrid.cells.tsx +33 -9
- package/src/components/data-display/DataGrid/DataGrid.model.ts +24 -11
- package/src/components/data-display/DataGrid/DataGrid.types.ts +12 -6
- package/src/components/data-display/DataViews/data-views-columns.ts +14 -3
- package/src/components/data-display/DataViews/data-views-grid-helpers.tsx +5 -3
- package/src/components/data-display/DataViews/data-views-layout-context.tsx +12 -9
- package/src/components/data-display/DataViews/data-views-overflow-costs.ts +32 -14
- package/src/components/data-display/DataViews/data-views-overflow.ts +40 -26
- package/src/components/data-display/MapPreview/MapTiles.tsx +16 -9
- package/src/components/data-display/MapPreview/mapProjection.ts +10 -5
- package/src/components/data-display/Table/Table.helpers.ts +7 -1
- package/src/components/data-display/Table/Table.hooks.ts +16 -5
- package/src/components/data-display/Table/Table.types.ts +6 -2
- package/src/components/data-display/Table/TableParts.tsx +38 -42
- package/src/components/feedback/Dialog/Dialog.styles.ts +16 -28
- package/src/components/feedback/Modal/Modal.styles.ts +9 -8
- package/src/components/feedback/Modal/Modal.tsx +3 -2
- package/src/components/feedback/Sonner/Sonner.tsx +4 -4
- package/src/components/feedback/Sonner/SonnerToast.tsx +9 -9
- package/src/components/feedback/StackedModal/StackedModal.parts.tsx +26 -19
- package/src/components/feedback/StackedModal/StackedModal.styles.ts +11 -9
- package/src/components/feedback/Toast/Toast.tsx +11 -7
- package/src/components/feedback/TutorialOverlay/TutorialOverlay.geometry.ts +2 -3
- package/src/components/feedback/TutorialOverlay/TutorialOverlay.hooks.ts +6 -1
- package/src/components/feedback/TutorialOverlay/TutorialOverlay.tsx +43 -37
- package/src/components/feedback/TutorialOverlay/TutorialStepBody.tsx +3 -2
- package/src/components/form/Calendar/Calendar.tsx +4 -2
- package/src/components/form/Calendar/CalendarDay.tsx +6 -3
- package/src/components/form/Calendar/CalendarMonth.tsx +6 -3
- package/src/components/form/Switch/Switch.metrics.ts +19 -5
- package/src/components/form/Switch/Switch.styles.ts +5 -3
- package/src/components/layout/Accordion/Accordion.styles.ts +8 -6
- package/src/components/layout/Accordion/Accordion.tsx +10 -8
- package/src/components/layout/Box/Box.tsx +18 -5
- package/src/components/layout/Card/Card.styles.ts +22 -30
- package/src/components/layout/CardGrid/CardGrid.tsx +37 -24
- package/src/components/layout/Collapsible/Collapsible.helpers.ts +4 -2
- package/src/components/layout/Collapsible/Collapsible.tsx +8 -4
- package/src/components/layout/ContentToolbar/ColumnsMenu.tsx +1 -1
- package/src/components/layout/ContentToolbar/ContentToolbar.tsx +2 -2
- package/src/components/layout/ContentToolbar/FilterTrigger.tsx +2 -2
- package/src/components/layout/ContentToolbar/MultiSelectDropdown.tsx +1 -1
- package/src/components/layout/ContentToolbar/SavedViewsMenu.tsx +2 -2
- package/src/components/layout/ContentToolbar/SortByDropdown.tsx +2 -2
- package/src/components/layout/ContentToolbar/ViewSelector.tsx +2 -2
- package/src/components/layout/Dashboard/Dashboard.tsx +1 -1
- package/src/components/layout/Dashboard/DashboardParts.tsx +1 -1
- package/src/components/layout/Drawer/Drawer.tsx +23 -10
- package/src/components/layout/Resizable/Resizable.helpers.ts +43 -21
- package/src/components/layout/Resizable/Resizable.hooks.ts +17 -9
- package/src/components/layout/Resizable/Resizable.md +9 -5
- package/src/components/layout/Resizable/Resizable.tsx +20 -8
- package/src/components/layout/Resizable/Resizable.types.ts +10 -0
- package/src/components/layout/ScrollArea/ScrollArea.helpers.ts +0 -2
- package/src/components/layout/ScrollArea/ScrollArea.styles.ts +45 -32
- package/src/components/layout/ScrollArea/ScrollArea.tsx +35 -18
- package/src/components/layout/ScrollArea/ScrollArea.types.ts +4 -1
- package/src/components/layout/ScrollArea/ScrollAreaContent.tsx +2 -2
- package/src/components/layout/ScrollArea/ScrollViewport.tsx +6 -4
- package/src/components/layout/Separator/Separator.styles.ts +30 -9
- package/src/components/layout/Separator/Separator.tsx +4 -3
- package/src/components/layout/SettingsLayout/SettingsLayout.items.tsx +4 -2
- package/src/components/layout/SettingsLayout/SettingsLayout.rail.tsx +6 -5
- package/src/components/layout/SettingsLayout/SettingsLayout.styles.ts +9 -7
- package/src/components/layout/SettingsLayout/SettingsLayout.tsx +2 -2
- package/src/components/layout/SettingsLayout/SettingsPanel.tsx +1 -1
- package/src/components/layout/SettingsLayout/SettingsSectionChips.tsx +3 -3
- package/src/components/layout/SettingsLayout/SettingsSectionHeader.tsx +3 -3
- package/src/components/layout/SettingsLayout/SettingsStatusMarker.tsx +2 -2
- package/src/components/layout/Sidebar/Sidebar.tsx +16 -6
- package/src/components/layout/Skeleton/Skeleton.styles.ts +13 -3
- package/src/components/layout/Skeleton/Skeleton.tsx +6 -4
- package/src/components/layout/Spacer/Spacer.tsx +16 -1
- package/src/components/layout/TableFilter/TableFilter.tsx +2 -1
- package/src/components/navigation/AppHeader/AppHeader.brand.tsx +2 -2
- package/src/components/navigation/AppHeader/AppHeader.details.tsx +9 -7
- package/src/components/navigation/AppHeader/AppHeader.identity.tsx +28 -15
- package/src/components/navigation/AppHeader/AppHeader.tsx +18 -6
- package/src/components/navigation/Breadcrumbs/BreadcrumbEntry.tsx +4 -4
- package/src/components/navigation/Breadcrumbs/Breadcrumbs.styles.tsx +15 -15
- package/src/components/navigation/CommandPalette/CommandPalette.tsx +7 -7
- package/src/components/navigation/CommandPalette/CommandPaletteResults.tsx +5 -5
- package/src/components/navigation/CommandPalette/ShortcutChip.tsx +1 -1
- package/src/components/navigation/ContextMenu/ContextMenu.tsx +8 -8
- package/src/components/navigation/DropdownMenu/DropdownMenu.tsx +25 -16
- package/src/components/navigation/NavigationMenu/NavigationMegaSection.tsx +5 -4
- package/src/components/navigation/NavigationMenu/NavigationMenu.shell.tsx +22 -20
- package/src/components/navigation/NavigationMenu/NavigationMenu.styles.ts +11 -11
- package/src/components/navigation/NavigationMenu/NavigationMenu.tsx +7 -2
- package/src/components/navigation/NavigationMenu/NavigationMenuItem.tsx +12 -12
- package/src/components/navigation/NavigationMenu/NavigationStandardBody.tsx +3 -2
- package/src/components/navigation/Pagination/Pagination.styles.ts +18 -18
- package/src/components/navigation/Pagination/Pagination.tsx +2 -1
- package/src/components/navigation/Pagination/PaginationParts.tsx +4 -3
- package/src/components/navigation/Tabs/Tabs.styles.ts +14 -12
- package/src/components/navigation/Tabs/Tabs.tsx +11 -9
- package/src/components/navigation/Tabs/TabsPanel.tsx +10 -3
- package/src/components/typography/Blockquote/Blockquote.tsx +8 -8
- package/src/components/typography/Code/Code.tsx +17 -17
- package/src/components/typography/Text/Text.tsx +2 -2
- package/src/components/utility/AnimatedIcon/AnimatedIcon.animations.ts +38 -35
- package/src/components/utility/AnimatedIcon/AnimatedIcon.styles.ts +51 -46
- package/src/components/utility/AnimatedIcon/AnimatedIcon.tsx +1 -1
- package/src/components/utility/AspectRatio/AspectRatio.tsx +13 -2
- package/src/components/utility/InfiniteScroll/InfiniteScroll.hooks.ts +5 -4
- package/src/components/utility/InfiniteScroll/InfiniteScroll.parts.tsx +29 -12
- package/src/components/utility/InfiniteScroll/InfiniteScroll.tsx +11 -5
- package/src/components/utility/InfiniteScroll/InfiniteScroll.types.ts +10 -2
- package/src/components/utility/VirtualList/VirtualList.hooks.ts +101 -112
- package/src/components/utility/VirtualList/VirtualList.tsx +36 -65
- package/src/components/utility/VirtualList/VirtualList.types.ts +20 -3
- package/src/components/utility/WorkflowStep/WorkflowStep.parts.tsx +7 -7
- package/src/social-login-button/social-login-button.tsx +25 -8
- package/dist/chunk-236V2GRH.js.map +0 -1
- package/dist/chunk-2CTTASUD.js.map +0 -1
- package/dist/chunk-2E2WOBID.js.map +0 -1
- package/dist/chunk-2NLYGZP3.js.map +0 -1
- package/dist/chunk-2WFDHFK4.js.map +0 -1
- package/dist/chunk-3CVTQZQJ.js.map +0 -1
- package/dist/chunk-3D6HXKZM.js.map +0 -1
- package/dist/chunk-3T5Z5HXF.js.map +0 -1
- package/dist/chunk-3TDVGZZN.js.map +0 -1
- package/dist/chunk-3VMGE7CU.js.map +0 -1
- package/dist/chunk-4OEKIFBC.js.map +0 -1
- package/dist/chunk-57JY4OI2.js.map +0 -1
- package/dist/chunk-5CKDRLRN.js.map +0 -1
- package/dist/chunk-5QWQR7XT.js.map +0 -1
- package/dist/chunk-5W4BLTDI.js.map +0 -1
- package/dist/chunk-6CTPDNNX.js.map +0 -1
- package/dist/chunk-6GRZ77IS.js.map +0 -1
- package/dist/chunk-6QLPSMTA.js.map +0 -1
- package/dist/chunk-72DKEBJM.js.map +0 -1
- package/dist/chunk-73BEVJCS.js +0 -28
- package/dist/chunk-73BEVJCS.js.map +0 -1
- package/dist/chunk-75LOTMSN.js.map +0 -1
- package/dist/chunk-7F7TTOYN.js.map +0 -1
- package/dist/chunk-7UZ2TFIK.js.map +0 -1
- package/dist/chunk-AROBXRC5.js.map +0 -1
- package/dist/chunk-ATSHKSSD.js.map +0 -1
- package/dist/chunk-AUSUCZYR.js.map +0 -1
- package/dist/chunk-B76QCDCE.js.map +0 -1
- package/dist/chunk-BLJDCMFU.js.map +0 -1
- package/dist/chunk-CAHWCSRE.js.map +0 -1
- package/dist/chunk-CPTY6UZ6.js.map +0 -1
- package/dist/chunk-CSTAQX2B.js.map +0 -1
- package/dist/chunk-D5SZXH7Q.js.map +0 -1
- package/dist/chunk-DF4K5XVW.js.map +0 -1
- package/dist/chunk-DLJGBJZW.js.map +0 -1
- package/dist/chunk-DYVAOEW4.js.map +0 -1
- package/dist/chunk-DZA7RSLX.js.map +0 -1
- package/dist/chunk-E7MSDXED.js.map +0 -1
- package/dist/chunk-EFHIMCJN.js.map +0 -1
- package/dist/chunk-EL7CMURV.js.map +0 -1
- package/dist/chunk-F42MJOHM.js.map +0 -1
- package/dist/chunk-FFOQZRFC.js.map +0 -1
- package/dist/chunk-FYTLKHEN.js.map +0 -1
- package/dist/chunk-GRDPGHQJ.js.map +0 -1
- package/dist/chunk-GSFNH4C5.js.map +0 -1
- package/dist/chunk-GUW5BUK7.js.map +0 -1
- package/dist/chunk-HB7ISSLK.js.map +0 -1
- package/dist/chunk-HGMBY5LP.js.map +0 -1
- package/dist/chunk-HTZNB6IV.js.map +0 -1
- package/dist/chunk-HXEBKOSM.js.map +0 -1
- package/dist/chunk-IAGOUTI6.js.map +0 -1
- package/dist/chunk-IVIHRZEY.js.map +0 -1
- package/dist/chunk-IYTBTK2M.js.map +0 -1
- package/dist/chunk-J2DAQQQH.js.map +0 -1
- package/dist/chunk-JXUWWPZR.js.map +0 -1
- package/dist/chunk-KLWW67WP.js.map +0 -1
- package/dist/chunk-L7SFH3ED.js.map +0 -1
- package/dist/chunk-LIG7TKIB.js.map +0 -1
- package/dist/chunk-LVEG6XQL.js.map +0 -1
- package/dist/chunk-MBC55H6M.js.map +0 -1
- package/dist/chunk-MBSYD3ZU.js.map +0 -1
- package/dist/chunk-MJ3BVWPZ.js.map +0 -1
- package/dist/chunk-MK4CH4VT.js.map +0 -1
- package/dist/chunk-MP4VSWHK.js.map +0 -1
- package/dist/chunk-MTFCPPZ5.js.map +0 -1
- package/dist/chunk-MVKYNDT2.js.map +0 -1
- package/dist/chunk-MVXFMIVZ.js.map +0 -1
- package/dist/chunk-N52O2OKZ.js.map +0 -1
- package/dist/chunk-NEGCJNGJ.js.map +0 -1
- package/dist/chunk-NYZO3JNB.js.map +0 -1
- package/dist/chunk-OATHOXIU.js.map +0 -1
- package/dist/chunk-P6TNXBDA.js.map +0 -1
- package/dist/chunk-PMOEG36E.js.map +0 -1
- package/dist/chunk-PMP6WJJS.js.map +0 -1
- package/dist/chunk-PT2XADGH.js.map +0 -1
- package/dist/chunk-PUBPZOQJ.js.map +0 -1
- package/dist/chunk-Q4BQYYPU.js.map +0 -1
- package/dist/chunk-Q4CAZ2TP.js.map +0 -1
- package/dist/chunk-Q73PTVNO.js.map +0 -1
- package/dist/chunk-QAP3FW33.js.map +0 -1
- package/dist/chunk-QF6LTUCE.js.map +0 -1
- package/dist/chunk-QKPD322X.js.map +0 -1
- package/dist/chunk-RHIDWUK7.js.map +0 -1
- package/dist/chunk-RSQMPCCR.js.map +0 -1
- package/dist/chunk-RWTFZ7J5.js.map +0 -1
- package/dist/chunk-T3WHW7ZC.js.map +0 -1
- package/dist/chunk-TBF2CPJW.js.map +0 -1
- package/dist/chunk-TQ6FPOPD.js.map +0 -1
- package/dist/chunk-TUBCN4DJ.js.map +0 -1
- package/dist/chunk-TVL5V2JK.js.map +0 -1
- package/dist/chunk-U342T7ZR.js.map +0 -1
- package/dist/chunk-ULTOQ6ZV.js.map +0 -1
- package/dist/chunk-UN5INW6K.js.map +0 -1
- package/dist/chunk-UUUMNJPP.js.map +0 -1
- package/dist/chunk-VFHGILXI.js.map +0 -1
- package/dist/chunk-VRDNUY4H.js.map +0 -1
- package/dist/chunk-WTOYEWW6.js.map +0 -1
- package/dist/chunk-WUTHROII.js.map +0 -1
- package/dist/chunk-YU26GBNX.js.map +0 -1
- package/dist/chunk-YVUD3MY4.js.map +0 -1
- package/dist/chunk-ZTYUKEN3.js.map +0 -1
- /package/dist/{chunk-2BIVCYTO.js.map → chunk-27LOJVR3.js.map} +0 -0
- /package/dist/{chunk-CRZXSZ5O.js.map → chunk-2S752BIJ.js.map} +0 -0
- /package/dist/{chunk-BAQBUKDU.js.map → chunk-3KREF4ZF.js.map} +0 -0
- /package/dist/{chunk-SYN46YL6.js.map → chunk-3RMDIO4G.js.map} +0 -0
- /package/dist/{chunk-S3D5VBHW.js.map → chunk-3YOXVNO4.js.map} +0 -0
- /package/dist/{chunk-IL7JZKXY.js.map → chunk-442FSG7G.js.map} +0 -0
- /package/dist/{chunk-JL75FJRG.js.map → chunk-4ALF5PB5.js.map} +0 -0
- /package/dist/{chunk-CS3KOKL3.js.map → chunk-4GWHYLEB.js.map} +0 -0
- /package/dist/{chunk-XJPJ6ESI.js.map → chunk-4OAKGKK5.js.map} +0 -0
- /package/dist/{chunk-4CHROSWR.js.map → chunk-5ETBB2DG.js.map} +0 -0
- /package/dist/{chunk-E7T3A4IR.js.map → chunk-5JCGBCFJ.js.map} +0 -0
- /package/dist/{chunk-FC7NQ6XM.js.map → chunk-5MW7OYBM.js.map} +0 -0
- /package/dist/{chunk-46UPILLK.js.map → chunk-5NT2M2JI.js.map} +0 -0
- /package/dist/{chunk-H5BEWPEY.js.map → chunk-6N2EDWMG.js.map} +0 -0
- /package/dist/{chunk-BW62QQAG.js.map → chunk-6N4AA2Y7.js.map} +0 -0
- /package/dist/{chunk-GJQYM3PM.js.map → chunk-6PU3JYVY.js.map} +0 -0
- /package/dist/{chunk-7EIOXZWL.js.map → chunk-74P3YX7R.js.map} +0 -0
- /package/dist/{chunk-VT5HQ2AD.js.map → chunk-BFMDA6UO.js.map} +0 -0
- /package/dist/{chunk-R75DZ3AK.js.map → chunk-BVLMKSHX.js.map} +0 -0
- /package/dist/{chunk-HNPWZ3W2.js.map → chunk-DDRKYNPB.js.map} +0 -0
- /package/dist/{chunk-HU7TX7RB.js.map → chunk-DUBTI4DI.js.map} +0 -0
- /package/dist/{chunk-RMCNEKBZ.js.map → chunk-DW6F7354.js.map} +0 -0
- /package/dist/{chunk-XJUEHG72.js.map → chunk-EERUSI52.js.map} +0 -0
- /package/dist/{chunk-NDNYD4FG.js.map → chunk-EHYI2WCJ.js.map} +0 -0
- /package/dist/{chunk-NB3FGWU4.js.map → chunk-EQXIW5MQ.js.map} +0 -0
- /package/dist/{chunk-2ZIHZLF5.js.map → chunk-F44R7US6.js.map} +0 -0
- /package/dist/{chunk-35S6QI5G.js.map → chunk-FX26DAFF.js.map} +0 -0
- /package/dist/{chunk-AYLEZM6T.js.map → chunk-GLFTIGOF.js.map} +0 -0
- /package/dist/{chunk-QEG3P5D4.js.map → chunk-GLHNMTP6.js.map} +0 -0
- /package/dist/{chunk-L4UP5VYS.js.map → chunk-GVH7C2PT.js.map} +0 -0
- /package/dist/{chunk-AER4245J.js.map → chunk-H67EL3CG.js.map} +0 -0
- /package/dist/{chunk-57JLS55D.js.map → chunk-HBRQPG7H.js.map} +0 -0
- /package/dist/{chunk-UZ6AUTE6.js.map → chunk-I3F4C5SS.js.map} +0 -0
- /package/dist/{chunk-4CXEWFKO.js.map → chunk-J5VWGQSR.js.map} +0 -0
- /package/dist/{chunk-AJ5SDHX5.js.map → chunk-JCL7WK4G.js.map} +0 -0
- /package/dist/{chunk-4JFL62K3.js.map → chunk-K7FSTB2K.js.map} +0 -0
- /package/dist/{chunk-WE3LJPRN.js.map → chunk-KE473LK6.js.map} +0 -0
- /package/dist/{chunk-C55AWF3U.js.map → chunk-KRQUPE4K.js.map} +0 -0
- /package/dist/{chunk-SJO3K7SB.js.map → chunk-KXLUMEDX.js.map} +0 -0
- /package/dist/{chunk-CQPFSEJB.js.map → chunk-L7NQCLFU.js.map} +0 -0
- /package/dist/{chunk-DVAAUWTC.js.map → chunk-LCHCE2G5.js.map} +0 -0
- /package/dist/{chunk-G4HBNILE.js.map → chunk-LEHMWJNZ.js.map} +0 -0
- /package/dist/{chunk-KK57AHWS.js.map → chunk-OAEYCKBN.js.map} +0 -0
- /package/dist/{chunk-JGRE56GQ.js.map → chunk-OB56SZGL.js.map} +0 -0
- /package/dist/{chunk-E4TNDTWV.js.map → chunk-OL2BEJZR.js.map} +0 -0
- /package/dist/{chunk-IKLOIONQ.js.map → chunk-PCBZYORN.js.map} +0 -0
- /package/dist/{chunk-CQLPDY2J.js.map → chunk-PRIBOWX4.js.map} +0 -0
- /package/dist/{chunk-LT4NEKXB.js.map → chunk-QA2ZGCRL.js.map} +0 -0
- /package/dist/{chunk-PQECNGDE.js.map → chunk-QSRZOXQI.js.map} +0 -0
- /package/dist/{chunk-ROT57BP4.js.map → chunk-R2XVTUVR.js.map} +0 -0
- /package/dist/{chunk-DCJSHYE5.js.map → chunk-RSDYS5B3.js.map} +0 -0
- /package/dist/{chunk-N5GVW6RO.js.map → chunk-S6IWKDWT.js.map} +0 -0
- /package/dist/{chunk-DB2ZFZVW.js.map → chunk-SBIZXZPP.js.map} +0 -0
- /package/dist/{chunk-NCPWLHZT.js.map → chunk-SKT2V2OX.js.map} +0 -0
- /package/dist/{chunk-EOW2ECB3.js.map → chunk-SNURSSTN.js.map} +0 -0
- /package/dist/{chunk-CZBND7AY.js.map → chunk-T7DE44SP.js.map} +0 -0
- /package/dist/{chunk-BNEWMFVB.js.map → chunk-UGGJ3KDT.js.map} +0 -0
- /package/dist/{chunk-KREWQAEV.js.map → chunk-VIRYHNEM.js.map} +0 -0
- /package/dist/{chunk-N6CSXHFJ.js.map → chunk-WN5PNP6F.js.map} +0 -0
- /package/dist/{chunk-XR46FSOH.js.map → chunk-XIG3DXXX.js.map} +0 -0
- /package/dist/{chunk-GHTBUJ6E.js.map → chunk-XRUW7DMH.js.map} +0 -0
- /package/dist/{chunk-JLQGRZMN.js.map → chunk-YCCY77W5.js.map} +0 -0
- /package/dist/{chunk-6BDYC4RA.js.map → chunk-YRSR5LVZ.js.map} +0 -0
- /package/dist/{chunk-VZIB5W5L.js.map → chunk-ZGCPDA3F.js.map} +0 -0
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { useTheme, type Theme } from "@mui/material/styles/index.js";
|
|
1
2
|
import { Children, type CSSProperties, type ReactNode, type Ref } from "react";
|
|
2
3
|
|
|
4
|
+
import { rem } from "../../../tokens/relative";
|
|
3
5
|
import { cn } from "../../../utils/cn";
|
|
4
6
|
|
|
5
7
|
/**
|
|
6
8
|
* How the grid turns surplus row space into layout:
|
|
7
9
|
*
|
|
8
|
-
* - `"fixed"` — every column is exactly `cardWidth` px; leftover row space is
|
|
10
|
+
* - `"fixed"` — every column is exactly `cardWidth` design px; leftover row space is
|
|
9
11
|
* spread as even gutters (`justify-content: space-around`). Cards never resize;
|
|
10
12
|
* the column count changes with the viewport. This is the original tabwoah
|
|
11
13
|
* card-grid behavior.
|
|
@@ -14,7 +16,7 @@ import { cn } from "../../../utils/cn";
|
|
|
14
16
|
* left-aligned at a single track's width rather than stretching edge to edge.
|
|
15
17
|
* - `"scroll"` — a single row that scrolls horizontally, with fluid-width cards
|
|
16
18
|
* sized from the container so that exactly {@link SCROLL_VISIBLE_CARDS} cards
|
|
17
|
-
* plus a
|
|
19
|
+
* plus a `GRID.peekPx` sliver of the next one fit on screen (up
|
|
18
20
|
* to `maxCardWidth`, past which more cards simply fit). The sliver is the
|
|
19
21
|
* point: it makes the rail visibly continue past the fold, so the row reads as
|
|
20
22
|
* swipeable instead of as a finished pair of cards. Wrapping is off; the row
|
|
@@ -23,19 +25,27 @@ import { cn } from "../../../utils/cn";
|
|
|
23
25
|
*/
|
|
24
26
|
export type CardGridVariant = "fixed" | "fluid" | "scroll";
|
|
25
27
|
|
|
26
|
-
/**
|
|
27
|
-
|
|
28
|
+
/**
|
|
29
|
+
* The grid's own lengths, in design px — every one drawn through `rem`, so the
|
|
30
|
+
* `gap` the grid lays out with and the gap the scroll track math reserves are
|
|
31
|
+
* the same length at any type scale.
|
|
32
|
+
*/
|
|
33
|
+
const GRID = {
|
|
34
|
+
/** Between cards: the grid's `gap`, and what the scroll math reserves per gap. */
|
|
35
|
+
gapPx: 16,
|
|
36
|
+
/**
|
|
37
|
+
* `scroll`: the next card left visible past the last whole one — the
|
|
38
|
+
* "there's more, swipe" hint. Wide enough to read as a clipped card (rounded
|
|
39
|
+
* edge + a slice of its photo) rather than as a rendering glitch.
|
|
40
|
+
*/
|
|
41
|
+
peekPx: 28,
|
|
42
|
+
/** Under the row — the tabwoah original's Tailwind `pb-0.5`. */
|
|
43
|
+
paddingBottomPx: 2,
|
|
44
|
+
} as const;
|
|
28
45
|
|
|
29
46
|
/** `scroll`: how many WHOLE cards the rail commits to showing at once. */
|
|
30
47
|
const SCROLL_VISIBLE_CARDS = 2;
|
|
31
48
|
|
|
32
|
-
/**
|
|
33
|
-
* `scroll`: px of the next card left visible past the last whole one — the
|
|
34
|
-
* "there's more, swipe" hint. Wide enough to read as a clipped card (rounded
|
|
35
|
-
* edge + a slice of its photo) rather than as a rendering glitch.
|
|
36
|
-
*/
|
|
37
|
-
const SCROLL_PEEK_WIDTH = 28;
|
|
38
|
-
|
|
39
49
|
/**
|
|
40
50
|
* The `scroll` track width: the widest a card can be while the container still
|
|
41
51
|
* shows `SCROLL_VISIBLE_CARDS` of them plus the peek — or, when there is nothing
|
|
@@ -46,25 +56,27 @@ const SCROLL_PEEK_WIDTH = 28;
|
|
|
46
56
|
* that follow them (one between each pair, one before the peeked card), and the
|
|
47
57
|
* peek. With no overflow there are only N-1 gaps and no peek.
|
|
48
58
|
*/
|
|
49
|
-
function scrollTrackWidth(count: number, max: number): string {
|
|
59
|
+
function scrollTrackWidth(theme: Theme, count: number, max: number): string {
|
|
50
60
|
const tracks = Math.max(1, Math.min(count, SCROLL_VISIBLE_CARDS));
|
|
51
61
|
const overflows = count > tracks;
|
|
52
62
|
const gaps = overflows ? tracks : tracks - 1;
|
|
53
|
-
const reserved = gaps *
|
|
54
|
-
return `min(${max}
|
|
63
|
+
const reserved = gaps * GRID.gapPx + (overflows ? GRID.peekPx : 0);
|
|
64
|
+
return `min(${rem(theme, max)}, calc((100% - ${rem(theme, reserved)}) / ${tracks}))`;
|
|
55
65
|
}
|
|
56
66
|
|
|
57
67
|
interface CardGridProps {
|
|
58
68
|
/**
|
|
59
|
-
* `"fixed"`: the exact column width
|
|
69
|
+
* `"fixed"`: the exact column width. `"fluid"`: the minimum column width
|
|
60
70
|
* (columns grow from here). `"scroll"`: only seeds the default `maxCardWidth`
|
|
61
71
|
* — a scroll track has no minimum, because a minimum is exactly what would
|
|
62
72
|
* break the "two cards plus a peek" promise on a narrow phone.
|
|
73
|
+
*
|
|
74
|
+
* Design px, scaled with the theme's type scale.
|
|
63
75
|
*/
|
|
64
76
|
cardWidth: number;
|
|
65
77
|
/**
|
|
66
|
-
* `"scroll"` only: the maximum fluid card width
|
|
67
|
-
* `1.6 × cardWidth`.
|
|
78
|
+
* `"scroll"` only: the maximum fluid card width. Defaults to
|
|
79
|
+
* `1.6 × cardWidth`. Design px, scaled with the theme's type scale.
|
|
68
80
|
*/
|
|
69
81
|
maxCardWidth?: number;
|
|
70
82
|
/** Layout behavior — see {@link CardGridVariant}. Defaults to `"fixed"`. */
|
|
@@ -84,8 +96,8 @@ interface CardGridProps {
|
|
|
84
96
|
*
|
|
85
97
|
* Ported from the tabwoah card grid (the `"fixed"` variant is verbatim). The one
|
|
86
98
|
* adaptation: that app is Tailwind (`className="grid gap-4 pb-0.5"`); this one
|
|
87
|
-
* has no Tailwind, so those three utilities (display:grid, gap
|
|
88
|
-
* padding-bottom
|
|
99
|
+
* has no Tailwind, so those three utilities (display:grid, gap 16 design px,
|
|
100
|
+
* padding-bottom 2 design px) live in `style`, drawn through `rem`.
|
|
89
101
|
*/
|
|
90
102
|
export function CardGrid({
|
|
91
103
|
cardWidth,
|
|
@@ -96,10 +108,11 @@ export function CardGrid({
|
|
|
96
108
|
containerRef,
|
|
97
109
|
children,
|
|
98
110
|
}: CardGridProps) {
|
|
111
|
+
const theme = useTheme();
|
|
99
112
|
const style: CSSProperties = {
|
|
100
113
|
display: "grid",
|
|
101
|
-
gap:
|
|
102
|
-
paddingBottom:
|
|
114
|
+
gap: rem(theme, GRID.gapPx),
|
|
115
|
+
paddingBottom: rem(theme, GRID.paddingBottomPx),
|
|
103
116
|
};
|
|
104
117
|
|
|
105
118
|
if (variant === "scroll") {
|
|
@@ -109,14 +122,14 @@ export function CardGrid({
|
|
|
109
122
|
// always fit (see `scrollTrackWidth`). Scroll-snap makes a swipe settle on a
|
|
110
123
|
// card boundary instead of drifting mid-card.
|
|
111
124
|
style.gridAutoFlow = "column";
|
|
112
|
-
style.gridAutoColumns = scrollTrackWidth(Children.count(children), max);
|
|
125
|
+
style.gridAutoColumns = scrollTrackWidth(theme, Children.count(children), max);
|
|
113
126
|
style.overflowX = "auto";
|
|
114
127
|
style.overflowY = "hidden";
|
|
115
128
|
style.scrollSnapType = "x mandatory";
|
|
116
129
|
} else if (variant === "fluid") {
|
|
117
|
-
style.gridTemplateColumns = `repeat(auto-fill, minmax(${cardWidth}
|
|
130
|
+
style.gridTemplateColumns = `repeat(auto-fill, minmax(${rem(theme, cardWidth)}, 1fr))`;
|
|
118
131
|
} else {
|
|
119
|
-
style.gridTemplateColumns = `repeat(auto-fill, ${cardWidth}
|
|
132
|
+
style.gridTemplateColumns = `repeat(auto-fill, ${rem(theme, cardWidth)})`;
|
|
120
133
|
// `space-around` only distributes leftover width in the fixed variant; the
|
|
121
134
|
// fluid variant consumes it via `1fr` and scroll overflows instead.
|
|
122
135
|
style.justifyContent = "space-around";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { Theme } from '@mui/material/styles/index.js';
|
|
2
2
|
|
|
3
|
+
import { rem } from '../../../tokens/relative';
|
|
4
|
+
|
|
3
5
|
import type { CollapsibleVariant } from './Collapsible.types';
|
|
4
6
|
|
|
5
7
|
/**
|
|
@@ -73,8 +75,8 @@ export const triggerStyles = (
|
|
|
73
75
|
: theme.palette.action.hover,
|
|
74
76
|
},
|
|
75
77
|
'&:focus': {
|
|
76
|
-
outline:
|
|
77
|
-
outlineOffset: 2,
|
|
78
|
+
outline: `${rem(theme, 2)} solid ${theme.palette.primary.main}`,
|
|
79
|
+
outlineOffset: rem(theme, 2),
|
|
78
80
|
},
|
|
79
81
|
'&:active': {
|
|
80
82
|
backgroundColor: disabled ? 'transparent' : theme.palette.action.focus,
|
|
@@ -3,6 +3,8 @@ import Collapse from '@mui/material/Collapse/index.js';
|
|
|
3
3
|
import { useTheme } from '@mui/material/styles/index.js';
|
|
4
4
|
import React, { useCallback,useEffect, useRef, useState } from 'react';
|
|
5
5
|
|
|
6
|
+
import { remPx, sxRem } from '../../../tokens/relative';
|
|
7
|
+
|
|
6
8
|
import {
|
|
7
9
|
dimmedStyles,
|
|
8
10
|
regionAttrs,
|
|
@@ -20,16 +22,17 @@ const useMeasuredHeight = (
|
|
|
20
22
|
maxHeight: number | undefined,
|
|
21
23
|
children: React.ReactNode,
|
|
22
24
|
) => {
|
|
25
|
+
const theme = useTheme();
|
|
23
26
|
const contentRef = useRef<HTMLDivElement>(null);
|
|
24
27
|
const [height, setHeight] = useState<number | 'auto'>('auto');
|
|
25
28
|
|
|
26
29
|
const measureHeight = useCallback(() => {
|
|
27
30
|
if (contentRef.current) {
|
|
28
31
|
const scrollHeight = contentRef.current.scrollHeight;
|
|
29
|
-
// Cap at maxHeight if provided
|
|
30
|
-
setHeight(maxHeight ? Math.min(scrollHeight, maxHeight) : scrollHeight);
|
|
32
|
+
// Cap at maxHeight (design px, through the type scale) if provided
|
|
33
|
+
setHeight(maxHeight ? Math.min(scrollHeight, remPx(theme, maxHeight)) : scrollHeight);
|
|
31
34
|
}
|
|
32
|
-
}, [maxHeight]);
|
|
35
|
+
}, [maxHeight, theme]);
|
|
33
36
|
|
|
34
37
|
useEffect(() => {
|
|
35
38
|
if (!open) {
|
|
@@ -69,7 +72,8 @@ const DefaultCollapsible: React.FC<VariantProps> = ({
|
|
|
69
72
|
timeout={disabled ? 0 : duration}
|
|
70
73
|
sx={{
|
|
71
74
|
...dimmedStyles(disabled),
|
|
72
|
-
|
|
75
|
+
// `sx` reads 1 or less as a fraction of the parent; anything else is design px.
|
|
76
|
+
...(maxHeight && { maxHeight: maxHeight <= 1 ? `${maxHeight * 100}%` : sxRem(maxHeight), overflow: 'hidden' }),
|
|
73
77
|
...sx,
|
|
74
78
|
}}
|
|
75
79
|
className={className}
|
|
@@ -88,7 +88,7 @@ export function ColumnsMenu({
|
|
|
88
88
|
onClose={close}
|
|
89
89
|
anchorOrigin={{ vertical: 'bottom', horizontal: 'right' }}
|
|
90
90
|
transformOrigin={{ vertical: 'top', horizontal: 'right' }}
|
|
91
|
-
slotProps={{ paper: { sx: { minWidth: 200 } } }}
|
|
91
|
+
slotProps={{ paper: { sx: { minWidth: sxRem(200) } } }}
|
|
92
92
|
>
|
|
93
93
|
<ListSubheader sx={{ px: 1.5, py: 0.75, fontSize: sxRem(12), fontWeight: 600, color: 'text.primary', lineHeight: 1.5 }}>
|
|
94
94
|
{title}
|
|
@@ -148,7 +148,7 @@ function SelectionState({
|
|
|
148
148
|
>
|
|
149
149
|
{clearAllText}
|
|
150
150
|
</Button>
|
|
151
|
-
<Divider orientation="vertical" flexItem sx={{ height: 16, alignSelf: 'center' }} />
|
|
151
|
+
<Divider orientation="vertical" flexItem sx={{ height: sxRem(16), alignSelf: 'center' }} />
|
|
152
152
|
<Typography
|
|
153
153
|
component="span"
|
|
154
154
|
data-testid="selected-count-indicator"
|
|
@@ -231,7 +231,7 @@ function BrowsingClusters({
|
|
|
231
231
|
flexWrap: leadingControls === undefined ? 'wrap' : 'nowrap',
|
|
232
232
|
// Tight (5px) when browsing so the controls fit one line beside the
|
|
233
233
|
// checkbox; roomier (14px) in selection mode where they get their own row.
|
|
234
|
-
gap: hasSelection ?
|
|
234
|
+
gap: hasSelection ? sxRem(14) : sxRem(5),
|
|
235
235
|
ml: 'auto',
|
|
236
236
|
mr: edgeAlign ? -1.5 : 0,
|
|
237
237
|
'& > *': { flexShrink: 0 },
|
|
@@ -248,7 +248,7 @@ function MultiSelectMenu<TValue extends string>({
|
|
|
248
248
|
slotProps={{
|
|
249
249
|
// Cap the height so a long list (e.g. many categories) scrolls instead
|
|
250
250
|
// of running off-screen; the sticky search box stays pinned on top.
|
|
251
|
-
paper: { sx: { minWidth: anchorWidth ?? 180, width: anchorWidth, maxHeight: 360 } },
|
|
251
|
+
paper: { sx: { minWidth: anchorWidth ?? sxRem(180), width: anchorWidth, maxHeight: sxRem(360) } },
|
|
252
252
|
list: { sx: { pt: showSearch ? 0 : undefined, pb: 0 } },
|
|
253
253
|
}}
|
|
254
254
|
>
|
|
@@ -92,7 +92,7 @@ function ViewKebab<V extends SavedViewLike>({
|
|
|
92
92
|
aria-label={`${labels.apply} ${view.name}`}
|
|
93
93
|
data-testid={`${testIdPrefix}-kebab-${view.id}`}
|
|
94
94
|
onClick={(event) => setAnchorEl(event.currentTarget)}
|
|
95
|
-
sx={{ width: 28, height: 28, color: 'text.secondary' }}
|
|
95
|
+
sx={{ width: sxRem(28), height: sxRem(28), color: 'text.secondary' }}
|
|
96
96
|
>
|
|
97
97
|
<KebabIcon sx={{ fontSize: sxRem(16) }} />
|
|
98
98
|
</IconButton>
|
|
@@ -215,7 +215,7 @@ function PopoverBody<V extends SavedViewLike>({
|
|
|
215
215
|
testIdPrefix: string;
|
|
216
216
|
}): React.JSX.Element {
|
|
217
217
|
return (
|
|
218
|
-
<Stack spacing={1.5} sx={{ p: 1.5, width: 300 }} data-testid={`${testIdPrefix}-popover`}>
|
|
218
|
+
<Stack spacing={1.5} sx={{ p: 1.5, width: sxRem(300) }} data-testid={`${testIdPrefix}-popover`}>
|
|
219
219
|
{/* Built-in no-filter default, always available above the saved views. */}
|
|
220
220
|
<MenuItem data-testid={`${testIdPrefix}-main`} selected={!activeViewName} onClick={onSelectMain} sx={{ borderRadius: 1, px: 1, gap: 1 }}>
|
|
221
221
|
<Box component="span" sx={{ flex: 1, minWidth: 0, fontSize: sxRem(14) }}>
|
|
@@ -74,7 +74,7 @@ const sectionLabelSx = { px: 1, py: 0.75, fontSize: sxRem(12), fontWeight: 600,
|
|
|
74
74
|
/** A fixed-width check slot (empty when unchecked) so labels align. */
|
|
75
75
|
function SortCheck({ checked }: { checked: boolean }): React.JSX.Element {
|
|
76
76
|
return (
|
|
77
|
-
<Box component="span" sx={{ display: 'flex', width: 16, flexShrink: 0, alignItems: 'center', justifyContent: 'center' }} aria-hidden>
|
|
77
|
+
<Box component="span" sx={{ display: 'flex', width: sxRem(16), flexShrink: 0, alignItems: 'center', justifyContent: 'center' }} aria-hidden>
|
|
78
78
|
{checked ? <CheckIcon sx={{ fontSize: sxRem(14) }} /> : null}
|
|
79
79
|
</Box>
|
|
80
80
|
);
|
|
@@ -137,7 +137,7 @@ function SortMenu<TField extends string>({
|
|
|
137
137
|
onClose={close}
|
|
138
138
|
anchorOrigin={{ vertical: 'bottom', horizontal: 'left' }}
|
|
139
139
|
transformOrigin={{ vertical: 'top', horizontal: 'left' }}
|
|
140
|
-
slotProps={{ paper: { sx: { minWidth: 180 } } }}
|
|
140
|
+
slotProps={{ paper: { sx: { minWidth: sxRem(180) } } }}
|
|
141
141
|
>
|
|
142
142
|
{orderOptions.length > 0 && [
|
|
143
143
|
<ListSubheader key="order-label" sx={sectionLabelSx}>
|
|
@@ -46,7 +46,7 @@ export function ViewSelector({
|
|
|
46
46
|
return (
|
|
47
47
|
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1.5 }}>
|
|
48
48
|
{viewMode === 'grid' && (
|
|
49
|
-
<Box sx={{ width: 96, display: 'flex', alignItems: 'center' }}>
|
|
49
|
+
<Box sx={{ width: sxRem(96), display: 'flex', alignItems: 'center' }}>
|
|
50
50
|
<Slider
|
|
51
51
|
data-testid="resize-card-slider"
|
|
52
52
|
aria-label={cardSizeLabel}
|
|
@@ -80,7 +80,7 @@ export function ViewSelector({
|
|
|
80
80
|
onClose={() => setAnchorEl(null)}
|
|
81
81
|
anchorOrigin={{ vertical: 'bottom', horizontal: 'right' }}
|
|
82
82
|
transformOrigin={{ vertical: 'top', horizontal: 'right' }}
|
|
83
|
-
slotProps={{ paper: { sx: { minWidth: 180 } } }}
|
|
83
|
+
slotProps={{ paper: { sx: { minWidth: sxRem(180) } } }}
|
|
84
84
|
>
|
|
85
85
|
{VIEW_OPTIONS.map((option) => {
|
|
86
86
|
const OptionIcon = option.icon;
|
|
@@ -217,7 +217,7 @@ const DashboardHeader = ({ title, children, className }: DashboardHeaderProps):
|
|
|
217
217
|
<Box
|
|
218
218
|
className={className}
|
|
219
219
|
data-testid={`${testIdPrefix}-header`}
|
|
220
|
-
sx={{ display: 'flex', alignItems: 'center', gap: 1, flexWrap: 'wrap', minHeight: 40 }}
|
|
220
|
+
sx={{ display: 'flex', alignItems: 'center', gap: 1, flexWrap: 'wrap', minHeight: sxRem(40) }}
|
|
221
221
|
>
|
|
222
222
|
<Typography variant="h5" component="h1" sx={{ fontWeight: 600, mr: 0.5 }}>
|
|
223
223
|
{title}
|
|
@@ -64,7 +64,7 @@ export const DashboardInfo = ({
|
|
|
64
64
|
anchorEl={anchorEl}
|
|
65
65
|
onClose={() => setAnchorEl(null)}
|
|
66
66
|
anchorOrigin={{ vertical: 'bottom', horizontal: 'left' }}
|
|
67
|
-
slotProps={{ paper: { sx: { width: 360, maxWidth: '90vw' } } }}
|
|
67
|
+
slotProps={{ paper: { sx: { width: sxRem(360), maxWidth: '90vw' } } }}
|
|
68
68
|
data-testid={`${testIdPrefix}-info-popover`}
|
|
69
69
|
>
|
|
70
70
|
<Box sx={{ px: 2, py: 1.5, borderBottom: 1, borderColor: 'divider', display: 'flex', gap: 1, alignItems: 'center' }}>
|
|
@@ -9,9 +9,20 @@ import React from 'react';
|
|
|
9
9
|
|
|
10
10
|
import type { DrawerContentProps,DrawerHeaderProps, DrawerProps } from './Drawer.types';
|
|
11
11
|
import { shadowInk } from '../../../tokens/ink';
|
|
12
|
+
import { rem, rems } from '../../../tokens/relative';
|
|
12
13
|
|
|
13
14
|
type DrawerAnchor = 'left' | 'right' | 'top' | 'bottom';
|
|
14
15
|
|
|
16
|
+
/**
|
|
17
|
+
* A `width`/`height` prop as CSS. `sx` reads a number of 1 or less as a
|
|
18
|
+
* fraction of the parent, and that stays so; any other number is design px,
|
|
19
|
+
* through the type scale; a string is as given.
|
|
20
|
+
*/
|
|
21
|
+
const drawerLength = (theme: Theme, value: number | string | undefined): string | undefined => {
|
|
22
|
+
if (typeof value !== 'number') return value;
|
|
23
|
+
return value <= 1 && value !== 0 ? `${value * 100}%` : rem(theme, value);
|
|
24
|
+
};
|
|
25
|
+
|
|
15
26
|
// `variant` doubles as a position preset, but an explicit `anchor` always wins.
|
|
16
27
|
const resolveAnchor = (
|
|
17
28
|
anchor: DrawerProps['anchor'],
|
|
@@ -47,9 +58,11 @@ const buildDrawerStyles = (
|
|
|
47
58
|
// omit it and the drawer styles exactly as it always has.
|
|
48
59
|
paperSx?: DrawerProps['paperSx'],
|
|
49
60
|
) => {
|
|
61
|
+
const widthCss = drawerLength(theme, width);
|
|
62
|
+
const heightCss = drawerLength(theme, height);
|
|
50
63
|
const baseStyles = {
|
|
51
|
-
width: ['left', 'right'].includes(anchor) ?
|
|
52
|
-
height: ['top', 'bottom'].includes(anchor) ?
|
|
64
|
+
width: ['left', 'right'].includes(anchor) ? widthCss : '100%',
|
|
65
|
+
height: ['top', 'bottom'].includes(anchor) ? heightCss : '100%',
|
|
53
66
|
flexShrink: 0,
|
|
54
67
|
};
|
|
55
68
|
|
|
@@ -57,12 +70,12 @@ const buildDrawerStyles = (
|
|
|
57
70
|
return {
|
|
58
71
|
...baseStyles,
|
|
59
72
|
'& .MuiDrawer-paper': {
|
|
60
|
-
width,
|
|
73
|
+
width: widthCss,
|
|
61
74
|
height: '100%',
|
|
62
75
|
backgroundColor: alpha(theme.palette.background.paper, 0.1),
|
|
63
|
-
backdropFilter:
|
|
76
|
+
backdropFilter: `blur(${rem(theme, 20)})`,
|
|
64
77
|
border: `1px solid ${alpha(theme.palette.primary.main, 0.2)}`,
|
|
65
|
-
boxShadow:
|
|
78
|
+
boxShadow: `${rems(theme, 0, 8, 32)} ${shadowInk(theme, 0.1)}`,
|
|
66
79
|
...paperSx,
|
|
67
80
|
},
|
|
68
81
|
};
|
|
@@ -71,8 +84,8 @@ const buildDrawerStyles = (
|
|
|
71
84
|
return {
|
|
72
85
|
...baseStyles,
|
|
73
86
|
'& .MuiDrawer-paper': {
|
|
74
|
-
width: ['left', 'right'].includes(anchor) ?
|
|
75
|
-
height: ['top', 'bottom'].includes(anchor) ?
|
|
87
|
+
width: ['left', 'right'].includes(anchor) ? widthCss : '100%',
|
|
88
|
+
height: ['top', 'bottom'].includes(anchor) ? heightCss : '100%',
|
|
76
89
|
boxSizing: 'border-box',
|
|
77
90
|
...paperSx,
|
|
78
91
|
},
|
|
@@ -85,7 +98,7 @@ export const Drawer: React.FC<DrawerProps> = ({
|
|
|
85
98
|
onClose,
|
|
86
99
|
variant = 'left',
|
|
87
100
|
anchor,
|
|
88
|
-
width
|
|
101
|
+
width,
|
|
89
102
|
height = '100%',
|
|
90
103
|
persistent = false,
|
|
91
104
|
backdrop = true,
|
|
@@ -112,7 +125,7 @@ export const Drawer: React.FC<DrawerProps> = ({
|
|
|
112
125
|
invisible: !backdrop,
|
|
113
126
|
},
|
|
114
127
|
}}
|
|
115
|
-
sx={buildDrawerStyles(theme, drawerAnchor, variant, width, height, paperSx)}
|
|
128
|
+
sx={buildDrawerStyles(theme, drawerAnchor, variant, width ?? 280, height, paperSx)}
|
|
116
129
|
className={className}
|
|
117
130
|
data-testid={dataTestId || 'drawer'}
|
|
118
131
|
{...rest}
|
|
@@ -139,7 +152,7 @@ export const DrawerHeader: React.FC<DrawerHeaderProps> = ({
|
|
|
139
152
|
alignItems: 'center',
|
|
140
153
|
padding: theme.spacing(2),
|
|
141
154
|
borderBottom: `1px solid ${theme.palette.divider}`,
|
|
142
|
-
minHeight: 64,
|
|
155
|
+
minHeight: rem(theme, 64),
|
|
143
156
|
justifyContent: 'space-between',
|
|
144
157
|
}}
|
|
145
158
|
>
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type { Theme } from '@mui/material/styles/index.js';
|
|
2
2
|
|
|
3
|
+
import { rem, remPx } from '../../../tokens/relative';
|
|
4
|
+
|
|
3
5
|
import type { ResizableProps, ResizableVariant, ResizeHandle } from './Resizable.types';
|
|
4
6
|
|
|
7
|
+
/** One axis's clamp, in the px a drag runs in. */
|
|
5
8
|
export interface Axis {
|
|
6
9
|
min: number;
|
|
7
10
|
max: number;
|
|
@@ -80,16 +83,30 @@ export const handleStyle = (theme: Theme, handle: ResizeHandle, active: boolean)
|
|
|
80
83
|
|
|
81
84
|
switch (handle) {
|
|
82
85
|
case 'right':
|
|
83
|
-
return {
|
|
86
|
+
return {
|
|
87
|
+
...baseStyle,
|
|
88
|
+
top: 0,
|
|
89
|
+
right: rem(theme, -2),
|
|
90
|
+
width: rem(theme, 4),
|
|
91
|
+
height: '100%',
|
|
92
|
+
cursor: 'ew-resize',
|
|
93
|
+
};
|
|
84
94
|
case 'bottom':
|
|
85
|
-
return {
|
|
95
|
+
return {
|
|
96
|
+
...baseStyle,
|
|
97
|
+
bottom: rem(theme, -2),
|
|
98
|
+
left: 0,
|
|
99
|
+
width: '100%',
|
|
100
|
+
height: rem(theme, 4),
|
|
101
|
+
cursor: 'ns-resize',
|
|
102
|
+
};
|
|
86
103
|
case 'bottomRight':
|
|
87
104
|
return {
|
|
88
105
|
...baseStyle,
|
|
89
|
-
bottom: -2,
|
|
90
|
-
right: -2,
|
|
91
|
-
width: 8,
|
|
92
|
-
height: 8,
|
|
106
|
+
bottom: rem(theme, -2),
|
|
107
|
+
right: rem(theme, -2),
|
|
108
|
+
width: rem(theme, 8),
|
|
109
|
+
height: rem(theme, 8),
|
|
93
110
|
cursor: 'nw-resize',
|
|
94
111
|
borderRadius: '50%',
|
|
95
112
|
};
|
|
@@ -98,30 +115,35 @@ export const handleStyle = (theme: Theme, handle: ResizeHandle, active: boolean)
|
|
|
98
115
|
}
|
|
99
116
|
};
|
|
100
117
|
|
|
101
|
-
type ResizableDefaultedKeys =
|
|
102
|
-
| 'variant'
|
|
103
|
-
| 'width'
|
|
104
|
-
| 'height'
|
|
105
|
-
| 'minWidth'
|
|
106
|
-
| 'maxWidth'
|
|
107
|
-
| 'minHeight'
|
|
108
|
-
| 'maxHeight'
|
|
109
|
-
| 'disabled';
|
|
118
|
+
type ResizableDefaultedKeys = 'variant' | 'disabled';
|
|
110
119
|
|
|
111
120
|
type ResolvedResizableProps = ResizableProps &
|
|
112
121
|
Required<Pick<ResizableProps, ResizableDefaultedKeys>>;
|
|
113
122
|
|
|
114
123
|
const RESIZABLE_DEFAULTS: Pick<ResizableProps, ResizableDefaultedKeys> = {
|
|
115
124
|
variant: 'both',
|
|
116
|
-
width: 200,
|
|
117
|
-
height: 200,
|
|
118
|
-
minWidth: 50,
|
|
119
|
-
maxWidth: 1000,
|
|
120
|
-
minHeight: 50,
|
|
121
|
-
maxHeight: 1000,
|
|
122
125
|
disabled: false,
|
|
123
126
|
};
|
|
124
127
|
|
|
128
|
+
/** The box's own defaults, in design px: where it starts, and its clamp. */
|
|
129
|
+
const DEFAULT_BOX_PX = { start: 200, min: 50, max: 1000 } as const;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Where the box starts, in the px a drag runs in. The consumer's sizes are
|
|
133
|
+
* design px, like every other size in the package; a drag is pointer pixels,
|
|
134
|
+
* so the live size is px from here on.
|
|
135
|
+
*/
|
|
136
|
+
export const startSizePx = (theme: Theme, width?: number, height?: number) => ({
|
|
137
|
+
width: remPx(theme, width ?? DEFAULT_BOX_PX.start),
|
|
138
|
+
height: remPx(theme, height ?? DEFAULT_BOX_PX.start),
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
/** One axis's clamp, from the consumer's design px to the px a drag runs in. */
|
|
142
|
+
export const axisPx = (theme: Theme, min?: number, max?: number): Axis => ({
|
|
143
|
+
min: remPx(theme, min ?? DEFAULT_BOX_PX.min),
|
|
144
|
+
max: remPx(theme, max ?? DEFAULT_BOX_PX.max),
|
|
145
|
+
});
|
|
146
|
+
|
|
125
147
|
// Strips explicitly-undefined props before the merge, so `minWidth={undefined}`
|
|
126
148
|
// still falls back to the default exactly as a destructuring default would.
|
|
127
149
|
const definedProps = (props: ResizableProps): Partial<ResizableProps> =>
|
|
@@ -5,9 +5,12 @@ import { resizedTo } from './Resizable.helpers';
|
|
|
5
5
|
import type { ResizeHandle } from './Resizable.types';
|
|
6
6
|
|
|
7
7
|
interface ResizeArgs {
|
|
8
|
-
|
|
9
|
-
height: number;
|
|
8
|
+
/** Where the box starts, in px (`startSizePx`); a new object re-seats the box. */
|
|
9
|
+
start: { width: number; height: number };
|
|
10
|
+
/** The clamp, in px (`axisPx` per axis). */
|
|
10
11
|
bounds: Bounds;
|
|
12
|
+
/** Rendered px per design px (`remPx(theme, 1)`) — `onResize` reports design px. */
|
|
13
|
+
pxPerDesignPx: number;
|
|
11
14
|
disabled: boolean;
|
|
12
15
|
onResize?: (width: number, height: number) => void;
|
|
13
16
|
}
|
|
@@ -16,17 +19,21 @@ interface ResizeArgs {
|
|
|
16
19
|
* Tracks the box's size across a drag. The listeners live on the document rather
|
|
17
20
|
* than the handle, so the pointer can leave the handle — or the component — mid
|
|
18
21
|
* drag without the resize sticking.
|
|
22
|
+
*
|
|
23
|
+
* The live size is px, because a drag is pointer pixels. What `onResize`
|
|
24
|
+
* reports is design px — the unit the consumer's `width`/`height` are in — so a
|
|
25
|
+
* controlled box (`onResize` feeding `width`) stays put at any type scale.
|
|
19
26
|
*/
|
|
20
|
-
export const useResize = ({
|
|
21
|
-
const [size, setSize] = useState(
|
|
27
|
+
export const useResize = ({ start, bounds, pxPerDesignPx, disabled, onResize }: ResizeArgs) => {
|
|
28
|
+
const [size, setSize] = useState(start);
|
|
22
29
|
const [isResizing, setIsResizing] = useState(false);
|
|
23
30
|
const startPos = useRef({ x: 0, y: 0 });
|
|
24
31
|
const startSize = useRef({ width: 0, height: 0 });
|
|
25
32
|
const activeHandle = useRef<ResizeHandle | null>(null);
|
|
26
33
|
|
|
27
34
|
React.useEffect(() => {
|
|
28
|
-
setSize(
|
|
29
|
-
}, [
|
|
35
|
+
setSize(start);
|
|
36
|
+
}, [start]);
|
|
30
37
|
|
|
31
38
|
const handleMouseDown = useCallback(
|
|
32
39
|
(e: React.MouseEvent, handle: ResizeHandle) => {
|
|
@@ -38,7 +45,8 @@ export const useResize = ({ width, height, bounds, disabled, onResize }: ResizeA
|
|
|
38
45
|
setIsResizing(true);
|
|
39
46
|
activeHandle.current = handle;
|
|
40
47
|
startPos.current = { x: e.clientX, y: e.clientY };
|
|
41
|
-
|
|
48
|
+
// State is replaced on every change, never mutated, so holding it is a snapshot.
|
|
49
|
+
startSize.current = size;
|
|
42
50
|
|
|
43
51
|
const handleMouseMove = (move: globalThis.MouseEvent) => {
|
|
44
52
|
const delta = {
|
|
@@ -48,7 +56,7 @@ export const useResize = ({ width, height, bounds, disabled, onResize }: ResizeA
|
|
|
48
56
|
const next = resizedTo(handle, delta, startSize.current, bounds);
|
|
49
57
|
|
|
50
58
|
setSize(next);
|
|
51
|
-
onResize?.(next.width, next.height);
|
|
59
|
+
onResize?.(next.width / pxPerDesignPx, next.height / pxPerDesignPx);
|
|
52
60
|
};
|
|
53
61
|
|
|
54
62
|
const handleMouseUp = () => {
|
|
@@ -61,7 +69,7 @@ export const useResize = ({ width, height, bounds, disabled, onResize }: ResizeA
|
|
|
61
69
|
document.addEventListener('mousemove', handleMouseMove);
|
|
62
70
|
document.addEventListener('mouseup', handleMouseUp);
|
|
63
71
|
},
|
|
64
|
-
[disabled, size, bounds, onResize],
|
|
72
|
+
[disabled, size, bounds, pxPerDesignPx, onResize],
|
|
65
73
|
);
|
|
66
74
|
|
|
67
75
|
return { size, isResizing, activeHandle, handleMouseDown };
|
|
@@ -51,18 +51,22 @@ import { Resizable } from '@procurement/ui';
|
|
|
51
51
|
| -------------- | ---------------------------------------- | ------------------------------------ | ------------------------------------------------ |
|
|
52
52
|
| `children` | `ReactNode` | - | Content to render inside the resizable container |
|
|
53
53
|
| `variant` | `'horizontal' \| 'vertical' \| 'both'` | `'both'` | Resize direction constraint |
|
|
54
|
-
| `width` | `number` | `
|
|
55
|
-
| `height` | `number` | `200` | Initial height
|
|
54
|
+
| `width` | `number` | `200` | Initial width, design px (scales with the theme's type scale) |
|
|
55
|
+
| `height` | `number` | `200` | Initial height, design px (scales with the theme's type scale) |
|
|
56
56
|
| `minWidth` | `number` | `50` | Minimum width constraint |
|
|
57
|
-
| `maxWidth` | `number` |
|
|
57
|
+
| `maxWidth` | `number` | `1000` | Maximum width constraint |
|
|
58
58
|
| `minHeight` | `number` | `50` | Minimum height constraint |
|
|
59
|
-
| `maxHeight` | `number` |
|
|
60
|
-
| `onResize` | `(
|
|
59
|
+
| `maxHeight` | `number` | `1000` | Maximum height constraint |
|
|
60
|
+
| `onResize` | `(width: number, height: number) => void` | - | Fired during resize with the new size, in design px |
|
|
61
61
|
| `disabled` | `boolean` | `false` | Disables resize functionality |
|
|
62
62
|
| `handles` | `HandlePosition[]` | `['right', 'bottom', 'bottomRight']` | Array of handle positions |
|
|
63
63
|
| `className` | `string` | - | Additional CSS class name |
|
|
64
64
|
| `data-testid` | `string` | - | Test ID for automated testing |
|
|
65
65
|
|
|
66
|
+
Every size prop — and what `onResize` reports — is in design px, the unit the
|
|
67
|
+
whole package draws in, scaled with the theme's type scale (`remPx`). A drag
|
|
68
|
+
follows the pointer in real pixels.
|
|
69
|
+
|
|
66
70
|
## Handle Positions
|
|
67
71
|
|
|
68
72
|
The `handles` prop accepts an array of the following positions:
|