@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
|
@@ -2,7 +2,15 @@ import Box from '@mui/material/Box/index.js';
|
|
|
2
2
|
import { useTheme } from '@mui/material/styles/index.js';
|
|
3
3
|
import React, { useMemo } from 'react';
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { remPx } from '../../../tokens/relative';
|
|
6
|
+
|
|
7
|
+
import {
|
|
8
|
+
axisPx,
|
|
9
|
+
defaultHandles,
|
|
10
|
+
handleStyle,
|
|
11
|
+
resolveResizableProps,
|
|
12
|
+
startSizePx,
|
|
13
|
+
} from './Resizable.helpers';
|
|
6
14
|
import { useResize } from './Resizable.hooks';
|
|
7
15
|
import type { ResizableProps } from './Resizable.types';
|
|
8
16
|
|
|
@@ -10,8 +18,8 @@ export const Resizable: React.FC<ResizableProps> = (rawProps) => {
|
|
|
10
18
|
const {
|
|
11
19
|
children,
|
|
12
20
|
variant,
|
|
13
|
-
width
|
|
14
|
-
height
|
|
21
|
+
width,
|
|
22
|
+
height,
|
|
15
23
|
minWidth,
|
|
16
24
|
maxWidth,
|
|
17
25
|
minHeight,
|
|
@@ -24,18 +32,20 @@ export const Resizable: React.FC<ResizableProps> = (rawProps) => {
|
|
|
24
32
|
...rest
|
|
25
33
|
} = resolveResizableProps(rawProps);
|
|
26
34
|
const theme = useTheme();
|
|
35
|
+
// Keyed apart: a new `start` re-seats the box, which a changed clamp must not do.
|
|
36
|
+
const start = useMemo(() => startSizePx(theme, width, height), [theme, width, height]);
|
|
27
37
|
const bounds = useMemo(
|
|
28
38
|
() => ({
|
|
29
|
-
width:
|
|
30
|
-
height:
|
|
39
|
+
width: axisPx(theme, minWidth, maxWidth),
|
|
40
|
+
height: axisPx(theme, minHeight, maxHeight),
|
|
31
41
|
}),
|
|
32
|
-
[minWidth, maxWidth, minHeight, maxHeight],
|
|
42
|
+
[theme, minWidth, maxWidth, minHeight, maxHeight],
|
|
33
43
|
);
|
|
34
44
|
|
|
35
45
|
const { size, isResizing, activeHandle, handleMouseDown } = useResize({
|
|
36
|
-
|
|
37
|
-
height: initialHeight,
|
|
46
|
+
start,
|
|
38
47
|
bounds,
|
|
48
|
+
pxPerDesignPx: remPx(theme, 1),
|
|
39
49
|
disabled,
|
|
40
50
|
onResize,
|
|
41
51
|
});
|
|
@@ -49,6 +59,8 @@ export const Resizable: React.FC<ResizableProps> = (rawProps) => {
|
|
|
49
59
|
data-testid={dataTestId}
|
|
50
60
|
sx={{
|
|
51
61
|
position: 'relative',
|
|
62
|
+
// The live size: the start and the clamp came through `remPx`, the rest
|
|
63
|
+
// is pointer pixels dragged, so it is px as it stands.
|
|
52
64
|
width: size.width,
|
|
53
65
|
height: size.height,
|
|
54
66
|
border: `1px solid ${theme.palette.divider}`,
|
|
@@ -14,12 +14,22 @@ export type ResizeHandle =
|
|
|
14
14
|
export interface ResizableProps {
|
|
15
15
|
children: ReactNode;
|
|
16
16
|
variant?: ResizableVariant;
|
|
17
|
+
/** Starting width (default 200). Design px, scaled with the theme's type scale. */
|
|
17
18
|
width?: number;
|
|
19
|
+
/** Starting height (default 200). Design px, scaled with the theme's type scale. */
|
|
18
20
|
height?: number;
|
|
21
|
+
/** Narrowest a drag can make it (default 50). Design px, scaled with the theme's type scale. */
|
|
19
22
|
minWidth?: number;
|
|
23
|
+
/** Widest a drag can make it (default 1000). Design px, scaled with the theme's type scale. */
|
|
20
24
|
maxWidth?: number;
|
|
25
|
+
/** Shortest a drag can make it (default 50). Design px, scaled with the theme's type scale. */
|
|
21
26
|
minHeight?: number;
|
|
27
|
+
/** Tallest a drag can make it (default 1000). Design px, scaled with the theme's type scale. */
|
|
22
28
|
maxHeight?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Fired on every drag step with the new size, in design px — the unit `width`
|
|
31
|
+
* and `height` take, so feeding it back keeps a controlled box where it is.
|
|
32
|
+
*/
|
|
23
33
|
onResize?: (width: number, height: number) => void;
|
|
24
34
|
disabled?: boolean;
|
|
25
35
|
handles?: ResizeHandle[];
|
|
@@ -10,7 +10,6 @@ type ScrollAreaDefaultedKeys =
|
|
|
10
10
|
| 'smoothScroll'
|
|
11
11
|
| 'variant'
|
|
12
12
|
| 'scrollToTopButton'
|
|
13
|
-
| 'scrollToTopThreshold'
|
|
14
13
|
| 'contentPadding'
|
|
15
14
|
| 'alwaysShowScrollbar'
|
|
16
15
|
| 'disabled'
|
|
@@ -30,7 +29,6 @@ const SCROLL_AREA_DEFAULTS: Pick<ScrollAreaProps, ScrollAreaDefaultedKeys> = {
|
|
|
30
29
|
smoothScroll: true,
|
|
31
30
|
variant: 'default',
|
|
32
31
|
scrollToTopButton: false,
|
|
33
|
-
scrollToTopThreshold: 100,
|
|
34
32
|
contentPadding: 0,
|
|
35
33
|
alwaysShowScrollbar: false,
|
|
36
34
|
disabled: false,
|
|
@@ -3,17 +3,28 @@ import { alpha } from '@mui/material/styles/index.js';
|
|
|
3
3
|
|
|
4
4
|
import type { ScrollAreaProps } from './ScrollArea.types';
|
|
5
5
|
import { neutralTones, sheen } from '../../../tokens/ink';
|
|
6
|
+
import { rem, rems } from '../../../tokens/relative';
|
|
6
7
|
|
|
8
|
+
/** The scrollbar's thickness in design px, per `scrollbarSize`; `default` is the fallback. */
|
|
7
9
|
const SCROLLBAR_SIZES: Record<string, number> = {
|
|
8
10
|
thin: 8,
|
|
9
11
|
thick: 16,
|
|
12
|
+
default: 12,
|
|
10
13
|
};
|
|
11
14
|
|
|
12
|
-
const DEFAULT_SCROLLBAR_SIZE = 12;
|
|
13
|
-
|
|
14
15
|
// thin/thick are the named ends of the scale; anything else takes the default.
|
|
15
16
|
const getScrollbarSize = (scrollbarSize?: string): number =>
|
|
16
|
-
scrollbarSize ?
|
|
17
|
+
(scrollbarSize ? SCROLLBAR_SIZES[scrollbarSize] : undefined) ?? SCROLLBAR_SIZES.default!;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* A size prop as CSS. `sx` reads a number of 1 or less as a fraction of the
|
|
21
|
+
* parent, and that stays so; any other number is design px, through the type
|
|
22
|
+
* scale; a string is as given.
|
|
23
|
+
*/
|
|
24
|
+
export const sizeCss = (theme: Theme, value: number | string | undefined): string | undefined => {
|
|
25
|
+
if (typeof value !== 'number') return value;
|
|
26
|
+
return value <= 1 && value !== 0 ? `${value * 100}%` : rem(theme, value);
|
|
27
|
+
};
|
|
17
28
|
|
|
18
29
|
const getScrollbarColors = ({
|
|
19
30
|
theme,
|
|
@@ -75,11 +86,12 @@ export const getOverflowStyle = ({
|
|
|
75
86
|
|
|
76
87
|
// Scrollbar chrome shared by every variant. autoHide fades the thumb out when
|
|
77
88
|
// the area is idle, which is why the colours are parameters rather than read
|
|
78
|
-
// from the variant directly.
|
|
79
|
-
|
|
89
|
+
// from the variant directly. An `sx` object (it is spread into the viewport's
|
|
90
|
+
// `sx`), so a number on `borderRadius` is a multiple of `shape.borderRadius`.
|
|
91
|
+
const autoHideScrollbarSx = ({
|
|
80
92
|
thumbColor,
|
|
81
93
|
trackColor,
|
|
82
|
-
|
|
94
|
+
thickness,
|
|
83
95
|
orientation,
|
|
84
96
|
shouldShowScrollbar,
|
|
85
97
|
theme,
|
|
@@ -87,24 +99,24 @@ const autoHideScrollbarStyles = ({
|
|
|
87
99
|
}: {
|
|
88
100
|
thumbColor: string;
|
|
89
101
|
trackColor: string;
|
|
90
|
-
|
|
102
|
+
thickness: number;
|
|
91
103
|
orientation?: ScrollAreaProps['orientation'];
|
|
92
104
|
shouldShowScrollbar: boolean;
|
|
93
105
|
theme: Theme;
|
|
94
106
|
scrollbarSize?: string;
|
|
95
107
|
}) => ({
|
|
96
108
|
'&::-webkit-scrollbar': {
|
|
97
|
-
width: orientation !== 'horizontal' ?
|
|
98
|
-
height: orientation !== 'vertical' ?
|
|
109
|
+
width: orientation !== 'horizontal' ? rem(theme, thickness) : '100%',
|
|
110
|
+
height: orientation !== 'vertical' ? rem(theme, thickness) : '100%',
|
|
99
111
|
},
|
|
100
112
|
'&::-webkit-scrollbar-track': {
|
|
101
113
|
background: shouldShowScrollbar ? trackColor : 'transparent',
|
|
102
|
-
borderRadius:
|
|
114
|
+
borderRadius: thickness / 2,
|
|
103
115
|
transition: 'background 0.3s ease',
|
|
104
116
|
},
|
|
105
117
|
'&::-webkit-scrollbar-thumb': {
|
|
106
118
|
background: shouldShowScrollbar ? thumbColor : 'transparent',
|
|
107
|
-
borderRadius:
|
|
119
|
+
borderRadius: thickness / 2,
|
|
108
120
|
transition: 'background 0.3s ease',
|
|
109
121
|
'&:hover': {
|
|
110
122
|
background: shouldShowScrollbar ? theme.palette.primary.main : 'transparent',
|
|
@@ -127,34 +139,35 @@ const autoHideScrollbarStyles = ({
|
|
|
127
139
|
type VariantArgs = {
|
|
128
140
|
theme: Theme;
|
|
129
141
|
colors: { scrollbar: string; track: string };
|
|
130
|
-
|
|
142
|
+
thickness: number;
|
|
131
143
|
orientation?: ScrollAreaProps['orientation'];
|
|
132
144
|
shouldShowScrollbar: boolean;
|
|
133
145
|
scrollbarSize?: string;
|
|
134
146
|
};
|
|
135
147
|
|
|
136
148
|
// One entry per scrollbar look. overlay floats above the content, glass tints
|
|
137
|
-
// it, and the default delegates to the shared auto-hide chrome.
|
|
138
|
-
|
|
139
|
-
|
|
149
|
+
// it, and the default delegates to the shared auto-hide chrome. Each is an `sx`
|
|
150
|
+
// object, like the chrome.
|
|
151
|
+
const VARIANT_SCROLLBAR_SX: Record<string, (args: VariantArgs) => CSSObject> = {
|
|
152
|
+
overlay: ({ theme, colors, thickness, orientation, shouldShowScrollbar, scrollbarSize }) => ({
|
|
140
153
|
'&::-webkit-scrollbar': {
|
|
141
|
-
width: orientation !== 'horizontal' ?
|
|
142
|
-
height: orientation !== 'vertical' ?
|
|
154
|
+
width: orientation !== 'horizontal' ? rem(theme, thickness) : '100%',
|
|
155
|
+
height: orientation !== 'vertical' ? rem(theme, thickness) : '100%',
|
|
143
156
|
position: 'absolute',
|
|
144
157
|
right: 0,
|
|
145
158
|
top: 0,
|
|
146
159
|
},
|
|
147
160
|
'&::-webkit-scrollbar-track': {
|
|
148
161
|
background: 'transparent',
|
|
149
|
-
borderRadius:
|
|
162
|
+
borderRadius: thickness / 2,
|
|
150
163
|
},
|
|
151
164
|
'&::-webkit-scrollbar-thumb': {
|
|
152
165
|
background: shouldShowScrollbar
|
|
153
166
|
? alpha(colors.scrollbar, 0.5)
|
|
154
167
|
: 'transparent',
|
|
155
|
-
borderRadius:
|
|
168
|
+
borderRadius: thickness / 2,
|
|
156
169
|
transition: 'background 0.3s ease',
|
|
157
|
-
border:
|
|
170
|
+
border: `${rem(theme, 2)} solid transparent`,
|
|
158
171
|
backgroundClip: 'padding-box',
|
|
159
172
|
'&:hover': {
|
|
160
173
|
background: shouldShowScrollbar ? theme.palette.primary.main : 'transparent',
|
|
@@ -178,14 +191,14 @@ const VARIANT_SCROLLBARS: Record<string, (args: VariantArgs) => CSSObject> = {
|
|
|
178
191
|
// Firefox property) keeps the solid palette colour rather than the gradient —
|
|
179
192
|
// a gradient is not a valid value there, which is why the original picked
|
|
180
193
|
// colors.scrollbar for it.
|
|
181
|
-
glass: ({ theme, colors,
|
|
194
|
+
glass: ({ theme, colors, thickness, orientation, shouldShowScrollbar, scrollbarSize }) => {
|
|
182
195
|
const glassThumbColor = `linear-gradient(180deg, ${alpha(theme.palette.primary.main, 0.3)}, ${alpha(theme.palette.secondary.main, 0.3)})`;
|
|
183
196
|
const glassTrackColor = alpha(theme.palette.background.paper, 0.1);
|
|
184
197
|
|
|
185
|
-
const base =
|
|
198
|
+
const base = autoHideScrollbarSx({
|
|
186
199
|
thumbColor: glassThumbColor,
|
|
187
200
|
trackColor: glassTrackColor,
|
|
188
|
-
|
|
201
|
+
thickness,
|
|
189
202
|
orientation,
|
|
190
203
|
shouldShowScrollbar,
|
|
191
204
|
theme,
|
|
@@ -196,26 +209,26 @@ const VARIANT_SCROLLBARS: Record<string, (args: VariantArgs) => CSSObject> = {
|
|
|
196
209
|
...base,
|
|
197
210
|
'&::-webkit-scrollbar-track': {
|
|
198
211
|
...(base['&::-webkit-scrollbar-track'] as object),
|
|
199
|
-
backdropFilter: shouldShowScrollbar ?
|
|
212
|
+
backdropFilter: shouldShowScrollbar ? `blur(${rem(theme, 5)})` : 'none',
|
|
200
213
|
},
|
|
201
214
|
'&::-webkit-scrollbar-thumb': {
|
|
202
215
|
...(base['&::-webkit-scrollbar-thumb'] as object),
|
|
203
216
|
boxShadow: shouldShowScrollbar
|
|
204
|
-
? `inset 0 0
|
|
217
|
+
? `inset ${rems(theme, 0, 0, 6)} ${sheen(theme, 0.3)}`
|
|
205
218
|
: 'none',
|
|
206
219
|
},
|
|
207
220
|
scrollbarColor: shouldShowScrollbar
|
|
208
221
|
? `${colors.scrollbar} ${glassTrackColor}`
|
|
209
222
|
: 'transparent transparent',
|
|
210
|
-
backdropFilter:
|
|
223
|
+
backdropFilter: `blur(${rem(theme, 10)})`,
|
|
211
224
|
};
|
|
212
225
|
},
|
|
213
226
|
|
|
214
|
-
default: ({ theme, colors,
|
|
215
|
-
|
|
227
|
+
default: ({ theme, colors, thickness, orientation, shouldShowScrollbar, scrollbarSize }) =>
|
|
228
|
+
autoHideScrollbarSx({
|
|
216
229
|
thumbColor: colors.scrollbar,
|
|
217
230
|
trackColor: colors.track,
|
|
218
|
-
|
|
231
|
+
thickness,
|
|
219
232
|
orientation,
|
|
220
233
|
shouldShowScrollbar,
|
|
221
234
|
theme,
|
|
@@ -241,9 +254,9 @@ export const getVariantStyles = ({
|
|
|
241
254
|
shouldShowScrollbar: boolean;
|
|
242
255
|
}) => {
|
|
243
256
|
const colors = getScrollbarColors({ theme, variant, scrollbarColor, scrollbarTrackColor });
|
|
244
|
-
const
|
|
257
|
+
const thickness = getScrollbarSize(scrollbarSize);
|
|
245
258
|
|
|
246
|
-
const build =
|
|
259
|
+
const build = VARIANT_SCROLLBAR_SX[variant ?? 'default'] ?? VARIANT_SCROLLBAR_SX.default!;
|
|
247
260
|
|
|
248
|
-
return build({ theme, colors,
|
|
261
|
+
return build({ theme, colors, thickness, orientation, shouldShowScrollbar, scrollbarSize });
|
|
249
262
|
};
|
|
@@ -4,11 +4,15 @@ import CircularProgress from '@mui/material/CircularProgress/index.js';
|
|
|
4
4
|
import Fab from '@mui/material/Fab/index.js';
|
|
5
5
|
import Zoom from '@mui/material/Zoom/index.js';
|
|
6
6
|
import { alpha, useTheme } from '@mui/material/styles/index.js';
|
|
7
|
+
import type { SxProps, Theme } from '@mui/material/styles/index.js';
|
|
7
8
|
import type { FC } from 'react';
|
|
8
9
|
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
|
9
10
|
|
|
11
|
+
import { rem, remPx, sxRem } from '../../../tokens/relative';
|
|
12
|
+
|
|
10
13
|
import type { ResolvedScrollAreaProps } from './ScrollArea.helpers';
|
|
11
14
|
import { resolveScrollAreaProps } from './ScrollArea.helpers';
|
|
15
|
+
import { sizeCss } from './ScrollArea.styles';
|
|
12
16
|
import type { ScrollAreaProps } from './ScrollArea.types';
|
|
13
17
|
import { ScrollAreaContent } from './ScrollAreaContent';
|
|
14
18
|
import { ScrollViewport } from './ScrollViewport';
|
|
@@ -101,6 +105,7 @@ const useScrollArea = (
|
|
|
101
105
|
scrollToTopThreshold,
|
|
102
106
|
smoothScroll } = props;
|
|
103
107
|
|
|
108
|
+
const theme = useTheme();
|
|
104
109
|
const { scrollRef, setScrollRef, containerDimensions } = useObservedScrollRef({
|
|
105
110
|
externalScrollRef,
|
|
106
111
|
onResize });
|
|
@@ -117,12 +122,13 @@ const useScrollArea = (
|
|
|
117
122
|
noteScroll();
|
|
118
123
|
|
|
119
124
|
if (scrollToTopButton && scrollRef.current) {
|
|
120
|
-
|
|
125
|
+
// 100 design px unless the caller says, in the px `scrollTop` is measured in.
|
|
126
|
+
setShowScrollToTop(scrollRef.current.scrollTop > remPx(theme, scrollToTopThreshold ?? 100));
|
|
121
127
|
}
|
|
122
128
|
|
|
123
129
|
onScroll?.(event);
|
|
124
130
|
},
|
|
125
|
-
[disabled, noteScroll, scrollToTopButton, scrollToTopThreshold, onScroll, scrollRef],
|
|
131
|
+
[disabled, noteScroll, scrollToTopButton, scrollToTopThreshold, onScroll, scrollRef, theme],
|
|
126
132
|
);
|
|
127
133
|
|
|
128
134
|
const scrollToTop = useCallback(() => {
|
|
@@ -175,13 +181,13 @@ const ScrollToTopFab: FC<{
|
|
|
175
181
|
onClick={onClick}
|
|
176
182
|
sx={{
|
|
177
183
|
position: 'absolute',
|
|
178
|
-
bottom: 16,
|
|
179
|
-
right: 16,
|
|
184
|
+
bottom: sxRem(16),
|
|
185
|
+
right: sxRem(16),
|
|
180
186
|
zIndex: 1,
|
|
181
187
|
backgroundColor: glass
|
|
182
188
|
? alpha(theme.palette.primary.main, 0.2)
|
|
183
189
|
: theme.palette.primary.main,
|
|
184
|
-
backdropFilter: glass ?
|
|
190
|
+
backdropFilter: glass ? `blur(${rem(theme, 10)})` : 'none',
|
|
185
191
|
'&:hover': {
|
|
186
192
|
backgroundColor: glass
|
|
187
193
|
? alpha(theme.palette.primary.main, 0.3)
|
|
@@ -193,16 +199,33 @@ const ScrollToTopFab: FC<{
|
|
|
193
199
|
);
|
|
194
200
|
};
|
|
195
201
|
|
|
202
|
+
/** The outer box: its size props through the type scale, then the caller's `sx`. */
|
|
203
|
+
function outerBoxSx(
|
|
204
|
+
theme: Theme,
|
|
205
|
+
size: Pick<ScrollAreaProps, 'width' | 'height' | 'maxHeight' | 'maxWidth'>,
|
|
206
|
+
sx: ScrollAreaProps['sx'],
|
|
207
|
+
): SxProps<Theme> {
|
|
208
|
+
return {
|
|
209
|
+
position: 'relative',
|
|
210
|
+
width: sizeCss(theme, size.width),
|
|
211
|
+
height: sizeCss(theme, size.height),
|
|
212
|
+
maxHeight: sizeCss(theme, size.maxHeight),
|
|
213
|
+
maxWidth: sizeCss(theme, size.maxWidth),
|
|
214
|
+
...sx,
|
|
215
|
+
} as SxProps<Theme>;
|
|
216
|
+
}
|
|
217
|
+
|
|
196
218
|
export const ScrollArea: React.FC<ScrollAreaProps> = (componentProps) => {
|
|
219
|
+
const theme = useTheme();
|
|
197
220
|
const resolved = resolveScrollAreaProps(componentProps);
|
|
198
221
|
const {
|
|
199
222
|
regionLabel,
|
|
200
223
|
scrollToTopLabel,
|
|
201
224
|
children,
|
|
202
|
-
width,
|
|
203
|
-
height,
|
|
204
|
-
maxHeight,
|
|
205
|
-
maxWidth,
|
|
225
|
+
width: _width,
|
|
226
|
+
height: _height,
|
|
227
|
+
maxHeight: _maxHeight,
|
|
228
|
+
maxWidth: _maxWidth,
|
|
206
229
|
orientation: _orientation,
|
|
207
230
|
scrollbarSize: _scrollbarSize,
|
|
208
231
|
autoHide,
|
|
@@ -226,14 +249,8 @@ export const ScrollArea: React.FC<ScrollAreaProps> = (componentProps) => {
|
|
|
226
249
|
...props
|
|
227
250
|
} = resolved;
|
|
228
251
|
|
|
229
|
-
const {
|
|
230
|
-
|
|
231
|
-
setScrollRef,
|
|
232
|
-
isScrolling,
|
|
233
|
-
showScrollToTop,
|
|
234
|
-
containerDimensions,
|
|
235
|
-
handleScroll,
|
|
236
|
-
scrollToTop } = useScrollArea({ ...resolved, externalScrollRef });
|
|
252
|
+
const { scrollRef, setScrollRef, isScrolling, showScrollToTop, containerDimensions, handleScroll, scrollToTop } =
|
|
253
|
+
useScrollArea({ ...resolved, externalScrollRef });
|
|
237
254
|
|
|
238
255
|
// Auto-hide keeps the scrollbar out of the way until the user is scrolling.
|
|
239
256
|
const shouldShowScrollbar = alwaysShowScrollbar || !autoHide || isScrolling;
|
|
@@ -241,7 +258,7 @@ export const ScrollArea: React.FC<ScrollAreaProps> = (componentProps) => {
|
|
|
241
258
|
return (
|
|
242
259
|
<Box
|
|
243
260
|
data-testid={testId}
|
|
244
|
-
sx={
|
|
261
|
+
sx={outerBoxSx(theme, resolved, sx)}
|
|
245
262
|
{...props}
|
|
246
263
|
>
|
|
247
264
|
<ScrollViewport
|
|
@@ -63,7 +63,10 @@ export interface ScrollAreaBase extends Omit<BoxProps, 'ref'> {
|
|
|
63
63
|
/** Scroll event handler */
|
|
64
64
|
onScroll?: (event: React.UIEvent<HTMLDivElement>) => void;
|
|
65
65
|
|
|
66
|
-
/**
|
|
66
|
+
/**
|
|
67
|
+
* How far down the scroll-to-top button appears (default 100) — design px,
|
|
68
|
+
* scaled with the theme's type scale.
|
|
69
|
+
*/
|
|
67
70
|
scrollToTopThreshold?: number;
|
|
68
71
|
|
|
69
72
|
/** Custom scrollbar color */
|
|
@@ -3,7 +3,7 @@ import { useTheme } from '@mui/material/styles/index.js';
|
|
|
3
3
|
import type { FC, ReactNode } from 'react';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
import { rem } from '../../../tokens/relative';
|
|
7
7
|
|
|
8
8
|
const EmptyState: FC<{ children: ReactNode }> = ({ children }) => {
|
|
9
9
|
const theme = useTheme();
|
|
@@ -15,7 +15,7 @@ const EmptyState: FC<{ children: ReactNode }> = ({ children }) => {
|
|
|
15
15
|
alignItems: 'center',
|
|
16
16
|
justifyContent: 'center',
|
|
17
17
|
height: '100%',
|
|
18
|
-
minHeight:
|
|
18
|
+
minHeight: rem(theme, 200),
|
|
19
19
|
color: theme.palette.text.secondary,
|
|
20
20
|
}}
|
|
21
21
|
>
|
|
@@ -3,7 +3,9 @@ import { useTheme } from '@mui/material/styles/index.js';
|
|
|
3
3
|
import type { FC, ReactNode, UIEvent } from 'react';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
|
|
6
|
-
import {
|
|
6
|
+
import { rem } from '../../../tokens/relative';
|
|
7
|
+
|
|
8
|
+
import { getOverflowStyle, getVariantStyles, sizeCss } from './ScrollArea.styles';
|
|
7
9
|
import type { ResolvedScrollAreaProps } from './ScrollArea.helpers';
|
|
8
10
|
|
|
9
11
|
export interface ScrollViewportProps
|
|
@@ -63,7 +65,7 @@ export const ScrollViewport: FC<ScrollViewportProps> = ({
|
|
|
63
65
|
width: '100%',
|
|
64
66
|
height: '100%',
|
|
65
67
|
// Use an explicit maxHeight when height is 'auto', else inherit.
|
|
66
|
-
maxHeight: height === 'auto' && maxHeight ? maxHeight : '100%',
|
|
68
|
+
maxHeight: height === 'auto' && maxHeight ? sizeCss(theme, maxHeight) : '100%',
|
|
67
69
|
padding: contentPadding,
|
|
68
70
|
opacity: loading ? 0.5 : 1,
|
|
69
71
|
pointerEvents: disabled || loading ? 'none' : 'auto',
|
|
@@ -71,8 +73,8 @@ export const ScrollViewport: FC<ScrollViewportProps> = ({
|
|
|
71
73
|
'&:focus': {
|
|
72
74
|
outline: 'none',
|
|
73
75
|
'&:focus-visible': {
|
|
74
|
-
outline:
|
|
75
|
-
outlineOffset: -2,
|
|
76
|
+
outline: `${rem(theme, 2)} solid ${theme.palette.primary.main}`,
|
|
77
|
+
outlineOffset: rem(theme, -2),
|
|
76
78
|
},
|
|
77
79
|
},
|
|
78
80
|
...getOverflowStyle({ disabled, orientation }),
|
|
@@ -6,6 +6,8 @@ import type {
|
|
|
6
6
|
SeparatorSize,
|
|
7
7
|
SeparatorVariant,
|
|
8
8
|
} from './Separator.types';
|
|
9
|
+
import { FIELD_BORDER_WIDTH } from '../../../tokens/field-height.core';
|
|
10
|
+
import { rem } from '../../../tokens/relative';
|
|
9
11
|
|
|
10
12
|
const THICKNESS_PX: Record<SeparatorSize, number> = {
|
|
11
13
|
xs: 1,
|
|
@@ -59,7 +61,7 @@ const gradientBackground = (
|
|
|
59
61
|
// a parent's border shorthand cannot leak through.
|
|
60
62
|
const borderEdges = (
|
|
61
63
|
isHorizontal: boolean,
|
|
62
|
-
thickness:
|
|
64
|
+
thickness: string,
|
|
63
65
|
style: 'dashed' | 'dotted' | 'solid',
|
|
64
66
|
color: string,
|
|
65
67
|
): CSSObject => {
|
|
@@ -90,41 +92,60 @@ const borderEdges = (
|
|
|
90
92
|
type SeparatorStyleArgs = Required<
|
|
91
93
|
Pick<SeparatorProps, 'variant' | 'orientation' | 'size'>
|
|
92
94
|
> &
|
|
93
|
-
Pick<SeparatorProps, 'color' | '
|
|
95
|
+
Pick<SeparatorProps, 'color' | 'length'> & {
|
|
96
|
+
/** From {@link separatorBlockMargin}, which both the plain and the labelled separator read. */
|
|
97
|
+
blockMargin: string;
|
|
98
|
+
};
|
|
94
99
|
|
|
95
100
|
/**
|
|
96
101
|
* The separator's margin, on the axis it separates along only: above and below
|
|
97
102
|
* a horizontal rule, either side of a vertical one. A margin given as a string
|
|
98
|
-
* carries its own units; a number is
|
|
103
|
+
* carries its own units; a number is design px, through the type scale.
|
|
99
104
|
*
|
|
100
105
|
* The LABELLED separator uses this too. It used to hand the number straight to
|
|
101
106
|
* `sx.margin`, where a number is SPACING UNITS — `md`'s 16 drew 128px on all
|
|
102
107
|
* four sides, against 16px above and below for the unlabelled one.
|
|
103
108
|
*/
|
|
104
109
|
export const separatorBlockMargin = (
|
|
110
|
+
theme: Theme,
|
|
105
111
|
size: SeparatorSize,
|
|
106
112
|
margin: number | string | undefined,
|
|
107
113
|
isHorizontal: boolean,
|
|
108
114
|
): string => {
|
|
109
115
|
const value = separatorMargin(size, margin);
|
|
110
|
-
const length = typeof value === 'string' ? value :
|
|
116
|
+
const length = typeof value === 'string' ? value : rem(theme, value);
|
|
111
117
|
return isHorizontal ? `${length} 0` : `0 ${length}`;
|
|
112
118
|
};
|
|
113
119
|
|
|
120
|
+
/**
|
|
121
|
+
* The rule's extent along its axis. It lands in `sx`, which reads a number of 1
|
|
122
|
+
* or less as a fraction of the parent, and that stays so; any other number is
|
|
123
|
+
* design px, through the type scale. Unset (or `0`/`''`) is the full run.
|
|
124
|
+
*/
|
|
125
|
+
const ruleLength = (theme: Theme, length: SeparatorProps['length']): string => {
|
|
126
|
+
if (!length) return '100%';
|
|
127
|
+
if (typeof length === 'string') return length;
|
|
128
|
+
return length <= 1 ? `${length * 100}%` : rem(theme, length);
|
|
129
|
+
};
|
|
130
|
+
|
|
114
131
|
export const separatorStyles = (
|
|
115
132
|
theme: Theme,
|
|
116
|
-
{ variant, orientation, size, color,
|
|
133
|
+
{ variant, orientation, size, color, blockMargin, length }: SeparatorStyleArgs,
|
|
117
134
|
): CSSObject => {
|
|
118
135
|
const isHorizontal = orientation === 'horizontal';
|
|
119
|
-
|
|
136
|
+
// `xs` is the 1px hairline: it stays one device-independent pixel at every
|
|
137
|
+
// root size, like every other hairline in the package; heavier rules scale.
|
|
138
|
+
const thicknessPx = separatorThickness(size);
|
|
139
|
+
const thickness = thicknessPx === FIELD_BORDER_WIDTH ? `${FIELD_BORDER_WIDTH}px` : rem(theme, thicknessPx);
|
|
140
|
+
const along = ruleLength(theme, length);
|
|
120
141
|
const resolvedColor = color || theme.palette.divider;
|
|
121
142
|
|
|
122
143
|
const baseStyles: CSSObject = {
|
|
123
144
|
display: 'flex',
|
|
124
145
|
alignItems: 'center',
|
|
125
|
-
margin:
|
|
126
|
-
width: isHorizontal ?
|
|
127
|
-
height: isHorizontal ?
|
|
146
|
+
margin: blockMargin,
|
|
147
|
+
width: isHorizontal ? along : thickness,
|
|
148
|
+
height: isHorizontal ? thickness : along,
|
|
128
149
|
boxSizing: 'border-box',
|
|
129
150
|
};
|
|
130
151
|
|
|
@@ -18,10 +18,11 @@ export const Separator: React.FC<SeparatorProps> = ({
|
|
|
18
18
|
'data-testid': dataTestId,
|
|
19
19
|
}) => {
|
|
20
20
|
const theme = useTheme();
|
|
21
|
-
const
|
|
21
|
+
const isHorizontal = orientation === 'horizontal';
|
|
22
|
+
const blockMargin = separatorBlockMargin(theme, size, margin, isHorizontal);
|
|
23
|
+
const styles = separatorStyles(theme, { variant, orientation, size, color, blockMargin, length });
|
|
22
24
|
|
|
23
25
|
if (children) {
|
|
24
|
-
const isHorizontal = orientation === 'horizontal';
|
|
25
26
|
// The rules either side of the label sit INSIDE the row, which carries the
|
|
26
27
|
// margin; their own would add it a second time.
|
|
27
28
|
const ruleStyles = { ...styles, margin: 0 };
|
|
@@ -36,7 +37,7 @@ export const Separator: React.FC<SeparatorProps> = ({
|
|
|
36
37
|
sx={{
|
|
37
38
|
display: 'flex',
|
|
38
39
|
alignItems: 'center',
|
|
39
|
-
margin:
|
|
40
|
+
margin: blockMargin,
|
|
40
41
|
flexDirection: isHorizontal ? 'row' : 'column',
|
|
41
42
|
gap: theme.spacing(2),
|
|
42
43
|
}}
|
|
@@ -8,9 +8,11 @@ import ListItemIcon from '@mui/material/ListItemIcon/index.js';
|
|
|
8
8
|
import ListItemText from '@mui/material/ListItemText/index.js';
|
|
9
9
|
import Typography from '@mui/material/Typography/index.js';
|
|
10
10
|
import { alpha, useTheme } from '@mui/material/styles/index.js';
|
|
11
|
+
import type { SxProps, Theme } from '@mui/material/styles/index.js';
|
|
11
12
|
import React from 'react';
|
|
12
13
|
|
|
13
14
|
import { atLeastRail, TOUCH_TARGET } from './SettingsLayout.styles';
|
|
15
|
+
import { rem } from '../../../tokens/relative';
|
|
14
16
|
import { SettingsStatusMarker } from './SettingsStatusMarker';
|
|
15
17
|
import type {
|
|
16
18
|
SettingsLayoutProps,
|
|
@@ -84,7 +86,7 @@ export function SettingsRailItem({
|
|
|
84
86
|
// below the breakpoint. Above it, the row goes back to rail density.
|
|
85
87
|
const touchFloor =
|
|
86
88
|
variant === 'drilldown'
|
|
87
|
-
? { minHeight: TOUCH_TARGET, [atLeastRail(theme, breakpoint)]: { minHeight: 'auto' } }
|
|
89
|
+
? { minHeight: rem(theme, TOUCH_TARGET), [atLeastRail(theme, breakpoint)]: { minHeight: 'auto' } }
|
|
88
90
|
: null;
|
|
89
91
|
const shared = {
|
|
90
92
|
'data-testid': `${testIdPrefix}-item-${item.id}`,
|
|
@@ -161,7 +163,7 @@ interface RailGroupProps extends RailShape {
|
|
|
161
163
|
* the rail column never does, so the second column is undone at exactly the
|
|
162
164
|
* width where this stops being the page.
|
|
163
165
|
*/
|
|
164
|
-
function indexListSx(shape: RailShape) {
|
|
166
|
+
function indexListSx(shape: RailShape): Extract<SxProps<Theme>, (theme: Theme) => unknown> | null {
|
|
165
167
|
if (shape.variant !== 'drilldown' || !shape.atIndex) return null;
|
|
166
168
|
return (theme: import('@mui/material').Theme) => ({
|
|
167
169
|
display: 'grid',
|
|
@@ -10,7 +10,8 @@ import Typography from '@mui/material/Typography/index.js';
|
|
|
10
10
|
import React from 'react';
|
|
11
11
|
|
|
12
12
|
import { SettingsRailGroup, type RailShape } from './SettingsLayout.items';
|
|
13
|
-
import { atLeastRail, displayAcrossRail,
|
|
13
|
+
import { atLeastRail, displayAcrossRail, railWidth, TOUCH_TARGET } from './SettingsLayout.styles';
|
|
14
|
+
import { rem, sxRem } from '../../../tokens/relative';
|
|
14
15
|
import type {
|
|
15
16
|
SettingsEmptySearchAction,
|
|
16
17
|
SettingsLayoutProps,
|
|
@@ -54,7 +55,7 @@ function SettingsRailToggle({
|
|
|
54
55
|
justifyContent: 'space-between',
|
|
55
56
|
gap: 1,
|
|
56
57
|
width: '100%',
|
|
57
|
-
minHeight: TOUCH_TARGET,
|
|
58
|
+
minHeight: rem(theme, TOUCH_TARGET),
|
|
58
59
|
px: 1.5,
|
|
59
60
|
py: 1,
|
|
60
61
|
mb: 1,
|
|
@@ -116,7 +117,7 @@ function SettingsSearchEmpty({
|
|
|
116
117
|
action.onClear?.();
|
|
117
118
|
}}
|
|
118
119
|
data-testid={`${testIdPrefix}-empty-action`}
|
|
119
|
-
sx={{ mt: 1.5, minHeight: TOUCH_TARGET }}
|
|
120
|
+
sx={{ mt: 1.5, minHeight: sxRem(TOUCH_TARGET) }}
|
|
120
121
|
>
|
|
121
122
|
{action.label}
|
|
122
123
|
</Button>
|
|
@@ -248,8 +249,8 @@ export function SettingsRail({
|
|
|
248
249
|
width: '100%',
|
|
249
250
|
[atLeastRail(theme, breakpoint)]: {
|
|
250
251
|
display: 'block',
|
|
251
|
-
flex: `0 0 ${
|
|
252
|
-
width:
|
|
252
|
+
flex: `0 0 ${railWidth(theme)}`,
|
|
253
|
+
width: railWidth(theme),
|
|
253
254
|
borderRight: `1px solid ${theme.palette.divider}`,
|
|
254
255
|
pr: 2,
|
|
255
256
|
// Its own scrollbar, so a settings area with twenty categories does
|