@12-apps/ui 6.48.1 → 6.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NATIVE.md +1 -1
- package/dist/_internal/components/data-display/AsyncStateContainer/AsyncStateContainer.js +4 -4
- package/dist/_internal/components/data-display/Avatar/Avatar.js +4 -4
- package/dist/_internal/components/data-display/Avatar/Avatar.view.js +2 -2
- package/dist/_internal/components/data-display/Badge/Badge.js +8 -6
- package/dist/_internal/components/data-display/Badge/Badge.styles.js +6 -4
- package/dist/_internal/components/data-display/Badge/BadgeContent.js +7 -5
- package/dist/_internal/components/data-display/CardKit/CardKebab.js +3 -3
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +3 -3
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +3 -3
- package/dist/_internal/components/data-display/Carousel/Carousel.chrome.js +7 -5
- package/dist/_internal/components/data-display/Carousel/Carousel.js +10 -8
- package/dist/_internal/components/data-display/Carousel/Carousel.parts.js +6 -4
- package/dist/_internal/components/data-display/Carousel/Carousel.styles.js +6 -4
- package/dist/_internal/components/data-display/Chart/Chart.js +10 -8
- package/dist/_internal/components/data-display/Chart/SpecChart.js +14 -12
- package/dist/_internal/components/data-display/Chart/chart-context.js +7 -5
- package/dist/_internal/components/data-display/Chart/chart-internals.js +6 -4
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +9 -7
- package/dist/_internal/components/data-display/Chart/chart-spec.js +2 -2
- package/dist/_internal/components/data-display/DataGrid/DataGrid.js +7 -5
- package/dist/_internal/components/data-display/DataGrid/DataGrid.model.js +5 -3
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +48 -46
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +60 -58
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +3 -3
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +4 -4
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +5 -5
- package/dist/_internal/components/data-display/DataViews/base-card.js +2 -2
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +9 -7
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +8 -6
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +11 -9
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +8 -8
- package/dist/_internal/components/data-display/DataViews/data-views-columns.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +11 -9
- package/dist/_internal/components/data-display/DataViews/data-views-display-tabs.js +7 -5
- package/dist/_internal/components/data-display/DataViews/data-views-empty.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-export.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +11 -11
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +15 -13
- package/dist/_internal/components/data-display/DataViews/data-views-grid-helpers.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +44 -42
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +15 -15
- package/dist/_internal/components/data-display/DataViews/data-views-layout-context.js +6 -4
- 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 +14 -14
- 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 +7 -5
- package/dist/_internal/components/data-display/DataViews/data-views-select-all-strip.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +18 -16
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +11 -11
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +17 -15
- package/dist/_internal/components/data-display/DataViews/data-views-view-nav.js +3 -3
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +7 -5
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +7 -7
- package/dist/_internal/components/data-display/DataViews/use-saved-views-controller.js +2 -2
- package/dist/_internal/components/data-display/FleetMap/FleetBody.js +10 -10
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +5 -5
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +17 -15
- package/dist/_internal/components/data-display/FleetMap/FleetRoster.js +4 -4
- package/dist/_internal/components/data-display/LazyImage/LazyImage.js +3 -3
- package/dist/_internal/components/data-display/Lightbox/Lightbox.js +6 -6
- package/dist/_internal/components/data-display/Lightbox/LightboxControls.js +2 -2
- package/dist/_internal/components/data-display/Lightbox/LightboxOverlay.js +3 -3
- package/dist/_internal/components/data-display/Lightbox/LightboxThumbnails.js +2 -2
- package/dist/_internal/components/data-display/LoadingState/LoadingState.js +3 -3
- package/dist/_internal/components/data-display/MapPreview/MapMarkers.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +4 -4
- package/dist/_internal/components/data-display/Progress/Progress.js +2 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.body.js +5 -3
- package/dist/_internal/components/data-display/Sheet/Sheet.js +9 -7
- package/dist/_internal/components/data-display/Sheet/Sheet.styles.js +6 -4
- package/dist/_internal/components/data-display/StatCard/StatCard.js +3 -3
- package/dist/_internal/components/data-display/Table/Table.js +7 -5
- package/dist/_internal/components/data-display/index.js +68 -66
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmButton.js +3 -3
- package/dist/_internal/components/feedback/NotificationStatusNotice/NotificationStatusNotice.js +3 -3
- package/dist/_internal/components/feedback/index.js +4 -4
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.hooks.js +2 -2
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.js +7 -7
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocompleteField.js +3 -3
- package/dist/_internal/components/form/Button/Button.js +2 -2
- package/dist/_internal/components/form/Calendar/Calendar.hooks.js +2 -2
- package/dist/_internal/components/form/Calendar/Calendar.js +6 -6
- package/dist/_internal/components/form/Calendar/CalendarDayCell.js +2 -2
- package/dist/_internal/components/form/Calendar/CalendarMonth.js +3 -3
- package/dist/_internal/components/form/CategorySelect/CategoryPanel.js +2 -2
- package/dist/_internal/components/form/CategorySelect/CategorySelect.js +4 -4
- package/dist/_internal/components/form/CodeEditor/CodeEditor.js +3 -3
- package/dist/_internal/components/form/Command/Command.js +7 -5
- package/dist/_internal/components/form/Command/Command.styles.js +6 -4
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +7 -7
- package/dist/_internal/components/form/Label/Label.js +7 -5
- package/dist/_internal/components/form/Label/Label.styles.js +6 -4
- package/dist/_internal/components/form/Menubar/Menubar.item.js +7 -5
- package/dist/_internal/components/form/Menubar/Menubar.js +10 -8
- package/dist/_internal/components/form/Menubar/Menubar.styles.js +6 -4
- package/dist/_internal/components/form/Menubar/Menubar.toolbar.js +8 -6
- package/dist/_internal/components/form/RichTextEditor/RichTextEditor.js +2 -2
- package/dist/_internal/components/form/Switch/Switch.js +2 -2
- package/dist/_internal/components/form/index.js +37 -35
- package/dist/_internal/components/form/total-form/Fields/CategoryField.js +5 -5
- package/dist/_internal/components/form/total-form/Fields/index.js +8 -8
- package/dist/_internal/components/form/total-form/SubmitButton.js +3 -3
- package/dist/_internal/components/index.js +142 -140
- package/dist/_internal/components/layout/Box/Box.js +8 -6
- package/dist/_internal/components/layout/ScrollArea/ScrollArea.js +3 -3
- package/dist/_internal/components/layout/SettingCard/SettingCard.js +12 -10
- package/dist/_internal/components/layout/SettingCard/SettingCard.parts.js +11 -9
- package/dist/_internal/components/layout/SettingCard/SettingGrid.js +12 -10
- package/dist/_internal/components/layout/SettingCard/SettingGroup.js +17 -15
- package/dist/_internal/components/layout/SettingCard/SettingSwitch.js +15 -13
- package/dist/_internal/components/layout/SettingCard/SettingToggle.js +17 -15
- package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.js +4 -4
- package/dist/_internal/components/layout/Skeleton/Skeleton.js +2 -2
- package/dist/_internal/components/layout/Stack/Stack.js +9 -7
- package/dist/_internal/components/layout/index.js +36 -34
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +12 -10
- package/dist/_internal/components/navigation/AppHeader/AppHeader.identity.js +6 -4
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMegaSection.js +3 -3
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenu.js +5 -5
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenuItem.js +2 -2
- package/dist/_internal/components/navigation/NavigationMenu/NavigationStandardBody.js +3 -3
- package/dist/_internal/components/navigation/SectionNav/SectionNav.bar.js +12 -10
- package/dist/_internal/components/navigation/SectionNav/SectionNav.js +14 -12
- package/dist/_internal/components/navigation/SectionNav/SectionNav.parts.js +9 -7
- package/dist/_internal/components/navigation/SectionNav/SectionNav.primary.js +10 -8
- package/dist/_internal/components/navigation/SectionNav/SectionNav.rail.js +10 -8
- package/dist/_internal/components/navigation/SectionNav/SectionNav.sheet.js +10 -8
- package/dist/_internal/components/navigation/SectionNav/__stories__/fixtures.js +5 -3
- package/dist/_internal/components/navigation/SectionNav/__stories__/fixtures.js.map +1 -1
- package/dist/_internal/components/navigation/Tabs/Tabs.js +2 -2
- package/dist/_internal/components/navigation/index.js +31 -29
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.helpers.js +5 -3
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.js +5 -3
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.parts.js +5 -3
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStepRow.js +5 -3
- package/dist/_internal/components/utility/index.js +5 -3
- package/dist/_internal/icons/Icon.js +8 -6
- package/dist/_internal/provider/UiProvider.js +7 -5
- package/dist/_internal/provider/mui-bridge.js +6 -4
- package/dist/_internal/provider/use-ui-theme.js +7 -5
- package/dist/_internal/social-login-button/social-login-button.js +3 -3
- package/dist/_internal/tokens/density-overrides.js +20 -4
- package/dist/_internal/tokens/density-overrides.navigation.js +19 -0
- package/dist/_internal/tokens/density-overrides.navigation.js.map +1 -0
- package/dist/_internal/tokens/density-overrides.selection.js +11 -0
- package/dist/_internal/tokens/density-overrides.selection.js.map +1 -0
- package/dist/_internal/tokens/density.js +4 -2
- package/dist/_internal/user-avatar/user-avatar.js +7 -7
- package/dist/charts.js +22 -20
- package/dist/{chunk-ODFJTEIL.js → chunk-23YZEAUU.js} +4 -4
- package/dist/{chunk-OBID7SOG.js → chunk-2GAFEQ2T.js} +3 -3
- package/dist/{chunk-BIDPJNCG.js → chunk-2LQU7DRI.js} +25 -9
- package/dist/chunk-2LQU7DRI.js.map +1 -0
- package/dist/{chunk-NRSVI23L.js → chunk-2T7L6ZWF.js} +2 -2
- package/dist/{chunk-TMOC2XUE.js → chunk-2UPWKLHQ.js} +21 -5
- package/dist/chunk-2UPWKLHQ.js.map +1 -0
- package/dist/{chunk-2YKTB2IZ.js → chunk-32JMSHEA.js} +2 -2
- package/dist/{chunk-QFJ3JXXP.js → chunk-3IPPMWUA.js} +1 -1
- package/dist/{chunk-QFJ3JXXP.js.map → chunk-3IPPMWUA.js.map} +1 -1
- package/dist/{chunk-2NYVMLFQ.js → chunk-3YRPEZ3F.js} +2 -2
- package/dist/{chunk-CGL7R37P.js → chunk-43Q6CVPB.js} +4 -4
- package/dist/{chunk-G6II7SVX.js → chunk-44USLRMT.js} +4 -4
- package/dist/{chunk-E4GTZ26X.js → chunk-4CDZP6KD.js} +2 -2
- package/dist/{chunk-5D52CMNX.js → chunk-4ELI2MM3.js} +2 -52
- package/dist/chunk-4ELI2MM3.js.map +1 -0
- package/dist/{chunk-HISEWACT.js → chunk-4GRUNQNB.js} +2 -2
- package/dist/{chunk-AOKLEE64.js → chunk-4NDNV45Y.js} +2 -2
- package/dist/{chunk-LTJDZIYR.js → chunk-4O7X45T5.js} +7 -7
- package/dist/{chunk-H5XKBPKK.js → chunk-4UQY2DUN.js} +3 -3
- package/dist/{chunk-43UFSKEK.js → chunk-4WCYKU3S.js} +3 -3
- package/dist/{chunk-JAHWFJCW.js → chunk-5JCGBCFJ.js} +5 -5
- package/dist/{chunk-UJOFRJLX.js → chunk-5MW7OYBM.js} +2 -2
- package/dist/{chunk-4A7PSQB5.js → chunk-6EPXOVY3.js} +4 -4
- package/dist/{chunk-AQC67NQZ.js → chunk-6EXGL36F.js} +2 -2
- package/dist/{chunk-CMLIWUBW.js → chunk-6PPHALM3.js} +4 -4
- package/dist/{chunk-WHYVVKRS.js → chunk-6SI22JFV.js} +2 -2
- package/dist/{chunk-RZPYKTOG.js → chunk-6SM5ML75.js} +5 -5
- package/dist/{chunk-THCDUP6Q.js → chunk-6SXXW5GR.js} +6 -6
- package/dist/{chunk-5OX6KZIZ.js → chunk-6TLY2E24.js} +4 -4
- package/dist/{chunk-SAJ5H5VC.js → chunk-7JTTE4OY.js} +4 -4
- package/dist/{chunk-AG3DY5TH.js → chunk-ADSA76T7.js} +2 -2
- package/dist/{chunk-25OI5W6Y.js → chunk-AH4XGLE2.js} +2 -2
- package/dist/{chunk-CACBJ4CR.js → chunk-AJAPP56P.js} +2 -2
- package/dist/{chunk-GMC3F43L.js → chunk-AMSNWV7V.js} +3 -3
- package/dist/{chunk-MWPXKZ7O.js → chunk-AY5MY7HJ.js} +6 -6
- package/dist/{chunk-2LSJTQIL.js → chunk-B22NXESR.js} +2 -2
- package/dist/{chunk-E32YPPF5.js → chunk-B4Y6W3OU.js} +2 -2
- package/dist/{chunk-2K2B5QM2.js → chunk-BEGTLELZ.js} +5 -5
- package/dist/{chunk-QMSCRKR6.js → chunk-C7GYSLPO.js} +2 -2
- package/dist/{chunk-33NBMNTB.js → chunk-CF25EQFU.js} +2 -2
- package/dist/{chunk-WDAEYLT5.js → chunk-D6ROYZ6H.js} +2 -2
- package/dist/{chunk-ZVJSY2OV.js → chunk-EF5XUS44.js} +4 -4
- package/dist/{chunk-6PU3JYVY.js → chunk-F3AYISXT.js} +4 -4
- package/dist/{chunk-ST36ZSAN.js → chunk-FRIUYEXD.js} +2 -2
- package/dist/{chunk-K6LNHHSH.js → chunk-GC5XJ7YB.js} +4 -4
- package/dist/{chunk-JYLOCXMV.js → chunk-GI63FQEJ.js} +4 -4
- package/dist/{chunk-FVKBP3UX.js → chunk-GLKQT2DS.js} +2 -2
- package/dist/{chunk-MEYKNJNI.js → chunk-GT6HPOS2.js} +8 -8
- package/dist/{chunk-XFAXRMWY.js → chunk-GUAK7QUR.js} +4 -4
- package/dist/{chunk-JUKA4NY5.js → chunk-GWONO2ML.js} +6 -6
- package/dist/{chunk-YRACC6BB.js → chunk-GWVJZ7SX.js} +4 -4
- package/dist/{chunk-5NFQKL7C.js → chunk-H6K3AP42.js} +6 -6
- package/dist/{chunk-VOG5IVQW.js → chunk-H6N7XXUB.js} +2 -2
- package/dist/{chunk-PP7CDKO4.js → chunk-HCBGCR4N.js} +3 -3
- package/dist/{chunk-5OEC546C.js → chunk-HDI37JLT.js} +2 -2
- package/dist/{chunk-LHTEAPYG.js → chunk-HDQMSZA7.js} +3 -3
- package/dist/{chunk-VU63PDWW.js → chunk-HOXWNOQV.js} +3 -3
- package/dist/{chunk-KESGVMHW.js → chunk-HUGXO5PE.js} +3 -3
- package/dist/{chunk-3CDU7DLD.js → chunk-IKXS2YVQ.js} +2 -2
- package/dist/{chunk-BU6TCB76.js → chunk-INCTNS4X.js} +2 -2
- package/dist/{chunk-FS7UVKEE.js → chunk-IR5A2BKL.js} +4 -4
- package/dist/{chunk-2ZRZTGWP.js → chunk-ISW5K72V.js} +5 -5
- package/dist/{chunk-VZ4VAQX3.js → chunk-IVJKILIX.js} +2 -2
- package/dist/{chunk-NRI2TZDS.js → chunk-JNX4B3EE.js} +2 -2
- package/dist/{chunk-JWJ77IMK.js → chunk-JRV3UFOJ.js} +8 -8
- package/dist/{chunk-ZRIWMIHK.js → chunk-JVOV5WAJ.js} +6 -6
- package/dist/chunk-K3YHXOWZ.js +126 -0
- package/dist/chunk-K3YHXOWZ.js.map +1 -0
- package/dist/{chunk-HR7YTBR7.js → chunk-K4N3V7YE.js} +4 -4
- package/dist/{chunk-WU2KXA6I.js → chunk-KC733FDV.js} +3 -3
- package/dist/{chunk-ZCXVTFYQ.js → chunk-KG64HV34.js} +2 -2
- package/dist/{chunk-LB27LKG3.js → chunk-KUNHGNGF.js} +4 -4
- package/dist/{chunk-FQT4C5R4.js → chunk-KWIR73YH.js} +12 -12
- package/dist/{chunk-IKZSQKOE.js → chunk-LFHAYETO.js} +3 -3
- package/dist/{chunk-NM2FLCPV.js → chunk-LO4M5D7T.js} +3 -3
- package/dist/{chunk-CGBUWNNQ.js → chunk-LWFJZ3Q5.js} +4 -4
- package/dist/{chunk-OCQ6GDCF.js → chunk-MH3XW3WR.js} +2 -2
- package/dist/{chunk-3WAAL3KN.js → chunk-MT2OCLGT.js} +7 -7
- package/dist/{chunk-QJK7BNH3.js → chunk-N7KUKE45.js} +3 -3
- package/dist/{chunk-WAD5VL6B.js → chunk-NBFP645M.js} +7 -7
- package/dist/{chunk-TTJTMDLI.js → chunk-NF42BHI5.js} +2 -2
- package/dist/{chunk-6MN5KOVM.js → chunk-NHMFBUBK.js} +2 -2
- package/dist/{chunk-N4HHFYPB.js → chunk-NND4UTWS.js} +2 -2
- package/dist/{chunk-EMEXXAQI.js → chunk-NYFGFELX.js} +7 -7
- package/dist/{chunk-Q2LQVYXY.js → chunk-OL2BEJZR.js} +2 -2
- package/dist/{chunk-KTX7XME6.js → chunk-PAICZOL5.js} +4 -4
- package/dist/{chunk-AJ4MRDKM.js → chunk-PAK25GQC.js} +4 -4
- package/dist/{chunk-KYQ4OORF.js → chunk-PJNA6STF.js} +6 -6
- package/dist/{chunk-BPOVRMVS.js → chunk-Q4PS47EB.js} +8 -8
- package/dist/{chunk-YXU45AVO.js → chunk-QBJBKXF4.js} +10 -10
- package/dist/{chunk-EKWH4LGM.js → chunk-QEHEYVOL.js} +2 -2
- package/dist/{chunk-XNTDEQEB.js → chunk-QMA7TNZJ.js} +4 -4
- package/dist/{chunk-P2OQ4IGP.js → chunk-QTMXGMM7.js} +2 -2
- package/dist/{chunk-NQ7NMCRI.js → chunk-QTN7G5T2.js} +2 -2
- package/dist/{chunk-DSDNGTH6.js → chunk-R4XZTIZG.js} +7 -7
- package/dist/{chunk-GOWBYHYW.js → chunk-R6SBP5M5.js} +4 -4
- package/dist/{chunk-F56VOHFW.js → chunk-RJTVUM5E.js} +2 -2
- package/dist/{chunk-KN7C6R6L.js → chunk-ROG7LMPK.js} +20 -20
- package/dist/{chunk-J44PPGBF.js → chunk-RX7J6VRI.js} +2 -2
- package/dist/{chunk-FIF4RQ4S.js → chunk-RXLD5XS2.js} +3 -3
- package/dist/{chunk-I2STNAIQ.js → chunk-RYWX6LK4.js} +2 -2
- package/dist/{chunk-HGRC635A.js → chunk-RZ4SBSLP.js} +2 -2
- package/dist/{chunk-S22XIXLL.js → chunk-SA2ERYVV.js} +5 -5
- package/dist/{chunk-6VKHS2BB.js → chunk-SDBNXZ2S.js} +2 -2
- package/dist/{chunk-KQS4ZJGS.js → chunk-SHAEK26Y.js} +4 -4
- package/dist/{chunk-PIUQYYOM.js → chunk-TBDAH7WC.js} +2 -2
- package/dist/{chunk-IHO2O44S.js → chunk-TE3XYCX7.js} +5 -5
- package/dist/{chunk-6DMUVVON.js → chunk-TJ7NQG7E.js} +4 -4
- package/dist/{chunk-Y6C4MYZE.js → chunk-TNQDSTIA.js} +7 -7
- package/dist/{chunk-UILH4OAZ.js → chunk-TOEBPWKG.js} +5 -5
- package/dist/{chunk-DWG5SEGW.js → chunk-TOMCXNAO.js} +2 -2
- package/dist/{chunk-YTIUFMRM.js → chunk-TU7ZXJX4.js} +3 -3
- package/dist/{chunk-P53KRCKW.js → chunk-TZASFX6G.js} +4 -4
- package/dist/{chunk-3CUWQXTG.js → chunk-UBUT2T5B.js} +2 -2
- package/dist/{chunk-ACU7LEFG.js → chunk-UDTA7YWD.js} +2 -2
- package/dist/{chunk-VYV3JOV5.js → chunk-UFGPKDF4.js} +2 -2
- package/dist/{chunk-WSYPM3SR.js → chunk-UI5O6J6R.js} +4 -4
- package/dist/{chunk-JQ6HDXKA.js → chunk-VFLNP2ZZ.js} +4 -4
- package/dist/{chunk-7PUSFB3T.js → chunk-W34CCOUM.js} +2 -2
- package/dist/{chunk-WDQRQIT7.js → chunk-WCVVM66J.js} +2 -2
- package/dist/{chunk-AEJ3FFNE.js → chunk-WQQON4RL.js} +5 -5
- package/dist/{chunk-H7DVH6KD.js → chunk-WT5SSBTU.js} +7 -7
- package/dist/{chunk-EWVJJ32N.js → chunk-WXAFPVMW.js} +5 -5
- package/dist/chunk-XK77FY42.js +59 -0
- package/dist/chunk-XK77FY42.js.map +1 -0
- package/dist/{chunk-6KLDYVRY.js → chunk-XKYOQOZK.js} +2 -2
- package/dist/{chunk-CKFZQQ6T.js → chunk-XNDMCT5G.js} +2 -2
- package/dist/{chunk-R53ZOW4B.js → chunk-XP522FFM.js} +3 -3
- package/dist/{chunk-WGNLG2W2.js → chunk-XRGJVS4P.js} +2 -2
- package/dist/{chunk-FPKVHR5L.js → chunk-XRUW7DMH.js} +2 -2
- package/dist/{chunk-IV7G7NK3.js → chunk-XZH22APJ.js} +4 -4
- package/dist/{chunk-ZL3GCUKC.js → chunk-ZAVMJL4S.js} +2 -2
- package/dist/{chunk-SV4FYSDL.js → chunk-ZDMQDTSH.js} +4 -4
- package/dist/{chunk-CKAVTWXP.js → chunk-ZGWEFOW6.js} +4 -4
- package/dist/{chunk-WC3W36AM.js → chunk-ZOUWHGV3.js} +4 -4
- package/dist/{chunk-4CBM7JNK.js → chunk-ZWIPJFUA.js} +4 -4
- package/dist/data-display/AsyncStateContainer.js +4 -4
- package/dist/data-display/Avatar.js +4 -4
- package/dist/data-display/Badge.js +8 -6
- package/dist/data-display/CardKit.js +6 -6
- package/dist/data-display/Carousel.js +10 -8
- package/dist/data-display/Chart.js +22 -20
- package/dist/data-display/DataGrid.js +7 -5
- package/dist/data-display/DataViews.js +76 -74
- package/dist/data-display/FleetMap.js +17 -15
- package/dist/data-display/LazyImage.js +3 -3
- package/dist/data-display/Lightbox.js +6 -6
- package/dist/data-display/LoadingState.js +3 -3
- package/dist/data-display/MapPreview.js +4 -4
- package/dist/data-display/Progress.js +2 -2
- package/dist/data-display/Sheet.js +9 -7
- package/dist/data-display/StatCard.js +3 -3
- package/dist/data-display/Table.js +7 -5
- package/dist/feedback/ConfirmAction.js +3 -3
- package/dist/feedback/NotificationStatusNotice.js +3 -3
- package/dist/form/AddressAutocomplete.js +7 -7
- package/dist/form/Button.js +2 -2
- package/dist/form/Calendar.js +6 -6
- package/dist/form/CategorySelect.js +4 -4
- package/dist/form/CodeEditor.js +3 -3
- package/dist/form/Command.js +7 -5
- package/dist/form/DateRangePicker.js +7 -7
- package/dist/form/Label.js +7 -5
- package/dist/form/Menubar.js +10 -8
- package/dist/form/RichTextEditor.js +2 -2
- package/dist/form/Switch.js +2 -2
- package/dist/form/total-form.js +14 -14
- package/dist/icons.js +8 -6
- package/dist/layout/Box.js +8 -6
- package/dist/layout/ContentToolbar.js +9 -9
- package/dist/layout/ScrollArea.js +3 -3
- package/dist/layout/SettingCard.js +22 -20
- package/dist/layout/SettingsLayout.js +4 -4
- package/dist/layout/Skeleton.js +2 -2
- package/dist/layout/Stack.js +9 -7
- package/dist/navigation/AppHeader.js +15 -13
- package/dist/navigation/NavigationMenu.js +5 -5
- package/dist/navigation/SectionNav.js +14 -12
- package/dist/navigation/Tabs.js +2 -2
- package/dist/provider.js +8 -6
- package/dist/social-login-button.js +3 -3
- package/dist/tokens.js +21 -5
- package/dist/types/provider/mui-bridge.d.ts.map +1 -1
- package/dist/types/tokens/density-overrides.d.ts +2 -14
- package/dist/types/tokens/density-overrides.d.ts.map +1 -1
- package/dist/types/tokens/density-overrides.navigation.d.ts +17 -0
- package/dist/types/tokens/density-overrides.navigation.d.ts.map +1 -0
- package/dist/types/tokens/density-overrides.selection.d.ts +16 -0
- package/dist/types/tokens/density-overrides.selection.d.ts.map +1 -0
- package/dist/types/tokens/density.d.ts +18 -11
- package/dist/types/tokens/density.d.ts.map +1 -1
- package/dist/types/tokens/scales.d.ts +1 -1
- package/dist/types/tokens/scales.d.ts.map +1 -1
- package/dist/user-avatar.js +7 -7
- package/dist/utility/WorkflowStep.js +5 -3
- package/package.json +1 -1
- package/src/provider/mui-bridge.ts +15 -3
- package/src/tokens/density-overrides.navigation.ts +226 -0
- package/src/tokens/density-overrides.selection.ts +210 -0
- package/src/tokens/density-overrides.ts +15 -208
- package/src/tokens/density.ts +30 -11
- package/src/tokens/scales.ts +10 -3
- package/dist/chunk-5D52CMNX.js.map +0 -1
- package/dist/chunk-BIDPJNCG.js.map +0 -1
- package/dist/chunk-TMOC2XUE.js.map +0 -1
- /package/dist/{chunk-ODFJTEIL.js.map → chunk-23YZEAUU.js.map} +0 -0
- /package/dist/{chunk-OBID7SOG.js.map → chunk-2GAFEQ2T.js.map} +0 -0
- /package/dist/{chunk-NRSVI23L.js.map → chunk-2T7L6ZWF.js.map} +0 -0
- /package/dist/{chunk-2YKTB2IZ.js.map → chunk-32JMSHEA.js.map} +0 -0
- /package/dist/{chunk-2NYVMLFQ.js.map → chunk-3YRPEZ3F.js.map} +0 -0
- /package/dist/{chunk-CGL7R37P.js.map → chunk-43Q6CVPB.js.map} +0 -0
- /package/dist/{chunk-G6II7SVX.js.map → chunk-44USLRMT.js.map} +0 -0
- /package/dist/{chunk-E4GTZ26X.js.map → chunk-4CDZP6KD.js.map} +0 -0
- /package/dist/{chunk-HISEWACT.js.map → chunk-4GRUNQNB.js.map} +0 -0
- /package/dist/{chunk-AOKLEE64.js.map → chunk-4NDNV45Y.js.map} +0 -0
- /package/dist/{chunk-LTJDZIYR.js.map → chunk-4O7X45T5.js.map} +0 -0
- /package/dist/{chunk-H5XKBPKK.js.map → chunk-4UQY2DUN.js.map} +0 -0
- /package/dist/{chunk-43UFSKEK.js.map → chunk-4WCYKU3S.js.map} +0 -0
- /package/dist/{chunk-JAHWFJCW.js.map → chunk-5JCGBCFJ.js.map} +0 -0
- /package/dist/{chunk-UJOFRJLX.js.map → chunk-5MW7OYBM.js.map} +0 -0
- /package/dist/{chunk-4A7PSQB5.js.map → chunk-6EPXOVY3.js.map} +0 -0
- /package/dist/{chunk-AQC67NQZ.js.map → chunk-6EXGL36F.js.map} +0 -0
- /package/dist/{chunk-CMLIWUBW.js.map → chunk-6PPHALM3.js.map} +0 -0
- /package/dist/{chunk-WHYVVKRS.js.map → chunk-6SI22JFV.js.map} +0 -0
- /package/dist/{chunk-RZPYKTOG.js.map → chunk-6SM5ML75.js.map} +0 -0
- /package/dist/{chunk-THCDUP6Q.js.map → chunk-6SXXW5GR.js.map} +0 -0
- /package/dist/{chunk-5OX6KZIZ.js.map → chunk-6TLY2E24.js.map} +0 -0
- /package/dist/{chunk-SAJ5H5VC.js.map → chunk-7JTTE4OY.js.map} +0 -0
- /package/dist/{chunk-AG3DY5TH.js.map → chunk-ADSA76T7.js.map} +0 -0
- /package/dist/{chunk-25OI5W6Y.js.map → chunk-AH4XGLE2.js.map} +0 -0
- /package/dist/{chunk-CACBJ4CR.js.map → chunk-AJAPP56P.js.map} +0 -0
- /package/dist/{chunk-GMC3F43L.js.map → chunk-AMSNWV7V.js.map} +0 -0
- /package/dist/{chunk-MWPXKZ7O.js.map → chunk-AY5MY7HJ.js.map} +0 -0
- /package/dist/{chunk-2LSJTQIL.js.map → chunk-B22NXESR.js.map} +0 -0
- /package/dist/{chunk-E32YPPF5.js.map → chunk-B4Y6W3OU.js.map} +0 -0
- /package/dist/{chunk-2K2B5QM2.js.map → chunk-BEGTLELZ.js.map} +0 -0
- /package/dist/{chunk-QMSCRKR6.js.map → chunk-C7GYSLPO.js.map} +0 -0
- /package/dist/{chunk-33NBMNTB.js.map → chunk-CF25EQFU.js.map} +0 -0
- /package/dist/{chunk-WDAEYLT5.js.map → chunk-D6ROYZ6H.js.map} +0 -0
- /package/dist/{chunk-ZVJSY2OV.js.map → chunk-EF5XUS44.js.map} +0 -0
- /package/dist/{chunk-6PU3JYVY.js.map → chunk-F3AYISXT.js.map} +0 -0
- /package/dist/{chunk-ST36ZSAN.js.map → chunk-FRIUYEXD.js.map} +0 -0
- /package/dist/{chunk-K6LNHHSH.js.map → chunk-GC5XJ7YB.js.map} +0 -0
- /package/dist/{chunk-JYLOCXMV.js.map → chunk-GI63FQEJ.js.map} +0 -0
- /package/dist/{chunk-FVKBP3UX.js.map → chunk-GLKQT2DS.js.map} +0 -0
- /package/dist/{chunk-MEYKNJNI.js.map → chunk-GT6HPOS2.js.map} +0 -0
- /package/dist/{chunk-XFAXRMWY.js.map → chunk-GUAK7QUR.js.map} +0 -0
- /package/dist/{chunk-JUKA4NY5.js.map → chunk-GWONO2ML.js.map} +0 -0
- /package/dist/{chunk-YRACC6BB.js.map → chunk-GWVJZ7SX.js.map} +0 -0
- /package/dist/{chunk-5NFQKL7C.js.map → chunk-H6K3AP42.js.map} +0 -0
- /package/dist/{chunk-VOG5IVQW.js.map → chunk-H6N7XXUB.js.map} +0 -0
- /package/dist/{chunk-PP7CDKO4.js.map → chunk-HCBGCR4N.js.map} +0 -0
- /package/dist/{chunk-5OEC546C.js.map → chunk-HDI37JLT.js.map} +0 -0
- /package/dist/{chunk-LHTEAPYG.js.map → chunk-HDQMSZA7.js.map} +0 -0
- /package/dist/{chunk-VU63PDWW.js.map → chunk-HOXWNOQV.js.map} +0 -0
- /package/dist/{chunk-KESGVMHW.js.map → chunk-HUGXO5PE.js.map} +0 -0
- /package/dist/{chunk-3CDU7DLD.js.map → chunk-IKXS2YVQ.js.map} +0 -0
- /package/dist/{chunk-BU6TCB76.js.map → chunk-INCTNS4X.js.map} +0 -0
- /package/dist/{chunk-FS7UVKEE.js.map → chunk-IR5A2BKL.js.map} +0 -0
- /package/dist/{chunk-2ZRZTGWP.js.map → chunk-ISW5K72V.js.map} +0 -0
- /package/dist/{chunk-VZ4VAQX3.js.map → chunk-IVJKILIX.js.map} +0 -0
- /package/dist/{chunk-NRI2TZDS.js.map → chunk-JNX4B3EE.js.map} +0 -0
- /package/dist/{chunk-JWJ77IMK.js.map → chunk-JRV3UFOJ.js.map} +0 -0
- /package/dist/{chunk-ZRIWMIHK.js.map → chunk-JVOV5WAJ.js.map} +0 -0
- /package/dist/{chunk-HR7YTBR7.js.map → chunk-K4N3V7YE.js.map} +0 -0
- /package/dist/{chunk-WU2KXA6I.js.map → chunk-KC733FDV.js.map} +0 -0
- /package/dist/{chunk-ZCXVTFYQ.js.map → chunk-KG64HV34.js.map} +0 -0
- /package/dist/{chunk-LB27LKG3.js.map → chunk-KUNHGNGF.js.map} +0 -0
- /package/dist/{chunk-FQT4C5R4.js.map → chunk-KWIR73YH.js.map} +0 -0
- /package/dist/{chunk-IKZSQKOE.js.map → chunk-LFHAYETO.js.map} +0 -0
- /package/dist/{chunk-NM2FLCPV.js.map → chunk-LO4M5D7T.js.map} +0 -0
- /package/dist/{chunk-CGBUWNNQ.js.map → chunk-LWFJZ3Q5.js.map} +0 -0
- /package/dist/{chunk-OCQ6GDCF.js.map → chunk-MH3XW3WR.js.map} +0 -0
- /package/dist/{chunk-3WAAL3KN.js.map → chunk-MT2OCLGT.js.map} +0 -0
- /package/dist/{chunk-QJK7BNH3.js.map → chunk-N7KUKE45.js.map} +0 -0
- /package/dist/{chunk-WAD5VL6B.js.map → chunk-NBFP645M.js.map} +0 -0
- /package/dist/{chunk-TTJTMDLI.js.map → chunk-NF42BHI5.js.map} +0 -0
- /package/dist/{chunk-6MN5KOVM.js.map → chunk-NHMFBUBK.js.map} +0 -0
- /package/dist/{chunk-N4HHFYPB.js.map → chunk-NND4UTWS.js.map} +0 -0
- /package/dist/{chunk-EMEXXAQI.js.map → chunk-NYFGFELX.js.map} +0 -0
- /package/dist/{chunk-Q2LQVYXY.js.map → chunk-OL2BEJZR.js.map} +0 -0
- /package/dist/{chunk-KTX7XME6.js.map → chunk-PAICZOL5.js.map} +0 -0
- /package/dist/{chunk-AJ4MRDKM.js.map → chunk-PAK25GQC.js.map} +0 -0
- /package/dist/{chunk-KYQ4OORF.js.map → chunk-PJNA6STF.js.map} +0 -0
- /package/dist/{chunk-BPOVRMVS.js.map → chunk-Q4PS47EB.js.map} +0 -0
- /package/dist/{chunk-YXU45AVO.js.map → chunk-QBJBKXF4.js.map} +0 -0
- /package/dist/{chunk-EKWH4LGM.js.map → chunk-QEHEYVOL.js.map} +0 -0
- /package/dist/{chunk-XNTDEQEB.js.map → chunk-QMA7TNZJ.js.map} +0 -0
- /package/dist/{chunk-P2OQ4IGP.js.map → chunk-QTMXGMM7.js.map} +0 -0
- /package/dist/{chunk-NQ7NMCRI.js.map → chunk-QTN7G5T2.js.map} +0 -0
- /package/dist/{chunk-DSDNGTH6.js.map → chunk-R4XZTIZG.js.map} +0 -0
- /package/dist/{chunk-GOWBYHYW.js.map → chunk-R6SBP5M5.js.map} +0 -0
- /package/dist/{chunk-F56VOHFW.js.map → chunk-RJTVUM5E.js.map} +0 -0
- /package/dist/{chunk-KN7C6R6L.js.map → chunk-ROG7LMPK.js.map} +0 -0
- /package/dist/{chunk-J44PPGBF.js.map → chunk-RX7J6VRI.js.map} +0 -0
- /package/dist/{chunk-FIF4RQ4S.js.map → chunk-RXLD5XS2.js.map} +0 -0
- /package/dist/{chunk-I2STNAIQ.js.map → chunk-RYWX6LK4.js.map} +0 -0
- /package/dist/{chunk-HGRC635A.js.map → chunk-RZ4SBSLP.js.map} +0 -0
- /package/dist/{chunk-S22XIXLL.js.map → chunk-SA2ERYVV.js.map} +0 -0
- /package/dist/{chunk-6VKHS2BB.js.map → chunk-SDBNXZ2S.js.map} +0 -0
- /package/dist/{chunk-KQS4ZJGS.js.map → chunk-SHAEK26Y.js.map} +0 -0
- /package/dist/{chunk-PIUQYYOM.js.map → chunk-TBDAH7WC.js.map} +0 -0
- /package/dist/{chunk-IHO2O44S.js.map → chunk-TE3XYCX7.js.map} +0 -0
- /package/dist/{chunk-6DMUVVON.js.map → chunk-TJ7NQG7E.js.map} +0 -0
- /package/dist/{chunk-Y6C4MYZE.js.map → chunk-TNQDSTIA.js.map} +0 -0
- /package/dist/{chunk-UILH4OAZ.js.map → chunk-TOEBPWKG.js.map} +0 -0
- /package/dist/{chunk-DWG5SEGW.js.map → chunk-TOMCXNAO.js.map} +0 -0
- /package/dist/{chunk-YTIUFMRM.js.map → chunk-TU7ZXJX4.js.map} +0 -0
- /package/dist/{chunk-P53KRCKW.js.map → chunk-TZASFX6G.js.map} +0 -0
- /package/dist/{chunk-3CUWQXTG.js.map → chunk-UBUT2T5B.js.map} +0 -0
- /package/dist/{chunk-ACU7LEFG.js.map → chunk-UDTA7YWD.js.map} +0 -0
- /package/dist/{chunk-VYV3JOV5.js.map → chunk-UFGPKDF4.js.map} +0 -0
- /package/dist/{chunk-WSYPM3SR.js.map → chunk-UI5O6J6R.js.map} +0 -0
- /package/dist/{chunk-JQ6HDXKA.js.map → chunk-VFLNP2ZZ.js.map} +0 -0
- /package/dist/{chunk-7PUSFB3T.js.map → chunk-W34CCOUM.js.map} +0 -0
- /package/dist/{chunk-WDQRQIT7.js.map → chunk-WCVVM66J.js.map} +0 -0
- /package/dist/{chunk-AEJ3FFNE.js.map → chunk-WQQON4RL.js.map} +0 -0
- /package/dist/{chunk-H7DVH6KD.js.map → chunk-WT5SSBTU.js.map} +0 -0
- /package/dist/{chunk-EWVJJ32N.js.map → chunk-WXAFPVMW.js.map} +0 -0
- /package/dist/{chunk-6KLDYVRY.js.map → chunk-XKYOQOZK.js.map} +0 -0
- /package/dist/{chunk-CKFZQQ6T.js.map → chunk-XNDMCT5G.js.map} +0 -0
- /package/dist/{chunk-R53ZOW4B.js.map → chunk-XP522FFM.js.map} +0 -0
- /package/dist/{chunk-WGNLG2W2.js.map → chunk-XRGJVS4P.js.map} +0 -0
- /package/dist/{chunk-FPKVHR5L.js.map → chunk-XRUW7DMH.js.map} +0 -0
- /package/dist/{chunk-IV7G7NK3.js.map → chunk-XZH22APJ.js.map} +0 -0
- /package/dist/{chunk-ZL3GCUKC.js.map → chunk-ZAVMJL4S.js.map} +0 -0
- /package/dist/{chunk-SV4FYSDL.js.map → chunk-ZDMQDTSH.js.map} +0 -0
- /package/dist/{chunk-CKAVTWXP.js.map → chunk-ZGWEFOW6.js.map} +0 -0
- /package/dist/{chunk-WC3W36AM.js.map → chunk-ZOUWHGV3.js.map} +0 -0
- /package/dist/{chunk-4CBM7JNK.js.map → chunk-ZWIPJFUA.js.map} +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
paginationItemDensityOverrides,
|
|
3
|
+
sliderDensityOverrides,
|
|
4
|
+
tabDensityOverrides,
|
|
5
|
+
tableCellDensityOverrides,
|
|
6
|
+
tabsIndicatorDensityOverrides,
|
|
7
|
+
toggleButtonDensityOverrides
|
|
8
|
+
} from "../../chunk-K3YHXOWZ.js";
|
|
9
|
+
import "../../chunk-YKCAJ2TN.js";
|
|
10
|
+
import "../../chunk-PZ5AY32C.js";
|
|
11
|
+
export {
|
|
12
|
+
paginationItemDensityOverrides,
|
|
13
|
+
sliderDensityOverrides,
|
|
14
|
+
tabDensityOverrides,
|
|
15
|
+
tableCellDensityOverrides,
|
|
16
|
+
tabsIndicatorDensityOverrides,
|
|
17
|
+
toggleButtonDensityOverrides
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=density-overrides.navigation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
checkboxRadioDensityOverrides,
|
|
3
|
+
switchDensityOverrides
|
|
4
|
+
} from "../../chunk-4ELI2MM3.js";
|
|
5
|
+
import "../../chunk-YKCAJ2TN.js";
|
|
6
|
+
import "../../chunk-PZ5AY32C.js";
|
|
7
|
+
export {
|
|
8
|
+
checkboxRadioDensityOverrides,
|
|
9
|
+
switchDensityOverrides
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=density-overrides.selection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
densityThemeOptions,
|
|
3
3
|
useDensity
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-2UPWKLHQ.js";
|
|
5
|
+
import "../../chunk-XK77FY42.js";
|
|
6
|
+
import "../../chunk-K3YHXOWZ.js";
|
|
7
|
+
import "../../chunk-4ELI2MM3.js";
|
|
6
8
|
import "../../chunk-M47ZOUGF.js";
|
|
7
9
|
import "../../chunk-7FDU3FIN.js";
|
|
8
10
|
import "../../chunk-EPEJMTCQ.js";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
UserAvatar,
|
|
4
4
|
UserMenu
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-HCBGCR4N.js";
|
|
6
6
|
import "../../chunk-UDQSIRAP.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-Y6C4MYZE.js";
|
|
9
|
-
import "../../chunk-MTEQEPNY.js";
|
|
10
|
-
import "../../chunk-6ZZGK5DT.js";
|
|
7
|
+
import "../../chunk-NYFGFELX.js";
|
|
11
8
|
import "../../chunk-3ZVUNSFF.js";
|
|
9
|
+
import "../../chunk-TNQDSTIA.js";
|
|
10
|
+
import "../../chunk-6ZZGK5DT.js";
|
|
11
|
+
import "../../chunk-MTEQEPNY.js";
|
|
12
12
|
import "../../chunk-VUHLNYAE.js";
|
|
13
13
|
import "../../chunk-2GSIEDGN.js";
|
|
14
14
|
import "../../chunk-OP5JR5Q5.js";
|
|
@@ -16,10 +16,10 @@ import "../../chunk-76X6JRVI.js";
|
|
|
16
16
|
import "../../chunk-FKUYRQSP.js";
|
|
17
17
|
import "../../chunk-JH7EEJEQ.js";
|
|
18
18
|
import "../../chunk-BA4RHQ3B.js";
|
|
19
|
-
import "../../chunk-
|
|
19
|
+
import "../../chunk-GC5XJ7YB.js";
|
|
20
|
+
import "../../chunk-TAMIZE4Q.js";
|
|
20
21
|
import "../../chunk-ZKWVCSAB.js";
|
|
21
22
|
import "../../chunk-LN46DSMF.js";
|
|
22
|
-
import "../../chunk-TAMIZE4Q.js";
|
|
23
23
|
import "../../chunk-YZHX2HTC.js";
|
|
24
24
|
import "../../chunk-6IWO7CM2.js";
|
|
25
25
|
import "../../chunk-TYJR4GOF.js";
|
package/dist/charts.js
CHANGED
|
@@ -1,40 +1,42 @@
|
|
|
1
1
|
import "./chunk-5KLSLD72.js";
|
|
2
2
|
import {
|
|
3
3
|
SpecChart
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EF5XUS44.js";
|
|
5
5
|
import {
|
|
6
6
|
Chart
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-H6K3AP42.js";
|
|
8
|
+
import "./chunk-VFLNP2ZZ.js";
|
|
9
|
+
import {
|
|
10
|
+
ChartContainer,
|
|
11
|
+
ChartLegend,
|
|
12
|
+
ChartLegendContent,
|
|
13
|
+
ChartTooltip,
|
|
14
|
+
ChartTooltipContent
|
|
15
|
+
} from "./chunk-RIRTW5EU.js";
|
|
16
|
+
import "./chunk-IKXS2YVQ.js";
|
|
17
|
+
import "./chunk-XRGJVS4P.js";
|
|
18
|
+
import "./chunk-SOHQPPYJ.js";
|
|
8
19
|
import {
|
|
9
20
|
CHART_SEMANTIC_COLORS,
|
|
10
21
|
ChartSpecError,
|
|
11
22
|
parseChartSpec,
|
|
12
23
|
specToChartProps
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import {
|
|
15
|
-
chartValueFormatter,
|
|
16
|
-
formatChartValue
|
|
17
|
-
} from "./chunk-QVWNK4JO.js";
|
|
24
|
+
} from "./chunk-R6SBP5M5.js";
|
|
18
25
|
import {
|
|
19
26
|
getChartSpecRenderer,
|
|
20
27
|
getRegisteredChartSpecTypes,
|
|
21
28
|
registerChartSpecRenderer
|
|
22
29
|
} from "./chunk-WKUA6P3W.js";
|
|
23
|
-
import "./chunk-JQ6HDXKA.js";
|
|
24
|
-
import "./chunk-3CDU7DLD.js";
|
|
25
|
-
import "./chunk-WGNLG2W2.js";
|
|
26
|
-
import "./chunk-SOHQPPYJ.js";
|
|
27
30
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
ChartTooltipContent
|
|
33
|
-
} from "./chunk-RIRTW5EU.js";
|
|
34
|
-
import "./chunk-QFJ3JXXP.js";
|
|
31
|
+
chartValueFormatter,
|
|
32
|
+
formatChartValue
|
|
33
|
+
} from "./chunk-QVWNK4JO.js";
|
|
34
|
+
import "./chunk-3IPPMWUA.js";
|
|
35
35
|
import "./chunk-7ZPUN7TV.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-2UPWKLHQ.js";
|
|
37
|
+
import "./chunk-XK77FY42.js";
|
|
38
|
+
import "./chunk-K3YHXOWZ.js";
|
|
39
|
+
import "./chunk-4ELI2MM3.js";
|
|
38
40
|
import "./chunk-PT6TCWIW.js";
|
|
39
41
|
import "./chunk-M47ZOUGF.js";
|
|
40
42
|
import "./chunk-7FDU3FIN.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
MARKER_PIXELS_PER_DEGREE
|
|
3
|
-
} from "./chunk-H2J2MTRE.js";
|
|
4
1
|
import {
|
|
5
2
|
bounceKeyframes
|
|
6
3
|
} from "./chunk-X6AIKCAV.js";
|
|
4
|
+
import {
|
|
5
|
+
MARKER_PIXELS_PER_DEGREE
|
|
6
|
+
} from "./chunk-H2J2MTRE.js";
|
|
7
7
|
import {
|
|
8
8
|
shadowInk
|
|
9
9
|
} from "./chunk-FQ6UW7IY.js";
|
|
@@ -83,4 +83,4 @@ export {
|
|
|
83
83
|
MapMarkers,
|
|
84
84
|
MapCoordinates
|
|
85
85
|
};
|
|
86
|
-
//# sourceMappingURL=chunk-
|
|
86
|
+
//# sourceMappingURL=chunk-23YZEAUU.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SaveViewModal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LFHAYETO.js";
|
|
4
4
|
import {
|
|
5
5
|
ManageViewsDialog
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KC733FDV.js";
|
|
7
7
|
import {
|
|
8
8
|
useDataViewsCopy
|
|
9
9
|
} from "./chunk-KHG57NAE.js";
|
|
@@ -121,4 +121,4 @@ export {
|
|
|
121
121
|
ViewsMenuSlot,
|
|
122
122
|
ViewDialogs
|
|
123
123
|
};
|
|
124
|
-
//# sourceMappingURL=chunk-
|
|
124
|
+
//# sourceMappingURL=chunk-2GAFEQ2T.js.map
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
accentFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3IPPMWUA.js";
|
|
4
4
|
import {
|
|
5
|
-
checkboxRadioDensityOverrides,
|
|
6
5
|
chipDensityOverrides,
|
|
7
|
-
iconButtonDensityOverrides
|
|
6
|
+
iconButtonDensityOverrides
|
|
7
|
+
} from "./chunk-XK77FY42.js";
|
|
8
|
+
import {
|
|
9
|
+
paginationItemDensityOverrides,
|
|
10
|
+
sliderDensityOverrides,
|
|
11
|
+
tabDensityOverrides,
|
|
12
|
+
tableCellDensityOverrides,
|
|
13
|
+
tabsIndicatorDensityOverrides,
|
|
14
|
+
toggleButtonDensityOverrides
|
|
15
|
+
} from "./chunk-K3YHXOWZ.js";
|
|
16
|
+
import {
|
|
17
|
+
checkboxRadioDensityOverrides,
|
|
8
18
|
switchDensityOverrides
|
|
9
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4ELI2MM3.js";
|
|
10
20
|
import {
|
|
11
21
|
headingMetrics
|
|
12
22
|
} from "./chunk-PT6TCWIW.js";
|
|
@@ -147,15 +157,21 @@ function muiThemeOptionsFrom(ui) {
|
|
|
147
157
|
shape: { borderRadius: ui.radius.md },
|
|
148
158
|
fieldRadius: ui.radius.field,
|
|
149
159
|
fieldHeight: ui.fieldHeight,
|
|
150
|
-
// Additive:
|
|
151
|
-
//
|
|
152
|
-
//
|
|
160
|
+
// Additive: FUT-2766 added IconButton's/Chip's overrides, FUT-2767 added
|
|
161
|
+
// Checkbox/Radio's and Switch's, and this PR (FUT-2768) adds
|
|
162
|
+
// ToggleButton/Tab/Tabs' indicator/TableCell/PaginationItem/Slider's.
|
|
153
163
|
components: mergeMuiComponents(
|
|
154
164
|
fieldOverrides(ui.radius.field, ui.fieldHeight),
|
|
155
165
|
iconButtonDensityOverrides(),
|
|
156
166
|
chipDensityOverrides(),
|
|
157
167
|
checkboxRadioDensityOverrides(),
|
|
158
|
-
switchDensityOverrides()
|
|
168
|
+
switchDensityOverrides(),
|
|
169
|
+
toggleButtonDensityOverrides(),
|
|
170
|
+
tabDensityOverrides(),
|
|
171
|
+
tabsIndicatorDensityOverrides(),
|
|
172
|
+
tableCellDensityOverrides(),
|
|
173
|
+
paginationItemDensityOverrides(),
|
|
174
|
+
sliderDensityOverrides()
|
|
159
175
|
),
|
|
160
176
|
spacing: ui.spacingUnit,
|
|
161
177
|
density: ui.density,
|
|
@@ -174,4 +190,4 @@ export {
|
|
|
174
190
|
uiThemeFromMui,
|
|
175
191
|
muiThemeOptionsFrom
|
|
176
192
|
};
|
|
177
|
-
//# sourceMappingURL=chunk-
|
|
193
|
+
//# sourceMappingURL=chunk-2LQU7DRI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/provider/mui-bridge.ts"],"sourcesContent":["import type { PaletteColor, Theme, ThemeOptions } from '@mui/material/styles/index.js';\n\nimport { cssLengthToPx, cssTrackingToEm } from '../tokens/css-units';\nimport {\n checkboxRadioDensityOverrides,\n chipDensityOverrides,\n iconButtonDensityOverrides,\n paginationItemDensityOverrides,\n sliderDensityOverrides,\n switchDensityOverrides,\n tabDensityOverrides,\n tableCellDensityOverrides,\n tabsIndicatorDensityOverrides,\n toggleButtonDensityOverrides,\n} from '../tokens/density-overrides';\nimport { densityFontSize, resolveDensityFactor } from '../tokens/density';\nimport { resolveFieldHeight } from '../tokens/field-height.core';\nimport { fieldOverrides, mergeMuiComponents } from '../tokens/field-height';\nimport { fieldRadius } from '../tokens/field-radius';\nimport { accentFor } from '../tokens/scales';\nimport {\n FONT_WEIGHTS,\n TYPE_SIZES,\n WEB_FONT_FAMILY,\n WEB_MONOSPACE_FONT_FAMILY,\n type UiHeadingStep,\n type UiPaletteColor,\n type UiTheme,\n} from '../tokens/theme';\nimport { HEADING_LEVELS, headingMetrics, type HeadingLevel } from '../tokens/typography';\n\n/**\n * THE TWO DIRECTIONS BETWEEN MUI'S THEME AND OURS. Web only.\n *\n * `uiThemeFromMui` is how a web component — or a shared style resolver such\n * as `box-layout.ts` — reads the host's MUI theme in the neutral shape the\n * native renderer reads natively. `muiThemeOptionsFrom` is the reverse, for\n * a host that has a `UiTheme` and no MUI theme yet: `UiProvider` on the web is\n * a MUI `ThemeProvider` fed by it.\n *\n * Both are field-by-field on purpose. A spread would carry MUI's extra keys\n * across and the native side would silently depend on one.\n */\n\nconst slot = (color: PaletteColor): UiPaletteColor => ({\n main: color.main,\n light: color.light,\n dark: color.dark,\n contrastText: color.contrastText,\n});\n\nfunction headingSteps(theme: Theme): Record<HeadingLevel, UiHeadingStep> {\n return Object.fromEntries(\n HEADING_LEVELS.map((level) => {\n const metrics = headingMetrics(theme, level);\n return [\n level,\n {\n fontSize: cssLengthToPx(metrics.fontSize, 16),\n lineHeight: metrics.lineHeight,\n letterSpacing: cssTrackingToEm(metrics.letterSpacing),\n normalWeight: metrics.normalWeight,\n },\n ];\n }),\n ) as Record<HeadingLevel, UiHeadingStep>;\n}\n\n/** The host's MUI theme in the shape the native renderer reads. */\nexport function uiThemeFromMui(theme: Theme): UiTheme {\n const { palette } = theme;\n const unit = cssLengthToPx(theme.spacing(1), 8);\n const md = cssLengthToPx(theme.shape.borderRadius, 4);\n\n return {\n mode: palette.mode,\n palette: {\n mode: palette.mode,\n primary: slot(palette.primary),\n secondary: slot(palette.secondary),\n success: slot(palette.success),\n warning: slot(palette.warning),\n info: slot(palette.info),\n danger: slot(palette.error),\n neutral: accentFor(theme, 'neutral'),\n text: {\n primary: palette.text.primary,\n secondary: palette.text.secondary,\n disabled: palette.text.disabled,\n },\n background: { default: palette.background.default, paper: palette.background.paper },\n divider: palette.divider,\n action: {\n active: palette.action.active,\n hover: palette.action.hover,\n selected: palette.action.selected,\n disabled: palette.action.disabled,\n disabledBackground: palette.action.disabledBackground,\n focus: palette.action.focus,\n },\n grey: {\n 50: palette.grey[50],\n 100: palette.grey[100],\n 200: palette.grey[200],\n 300: palette.grey[300],\n 400: palette.grey[400],\n 500: palette.grey[500],\n 600: palette.grey[600],\n 700: palette.grey[700],\n 800: palette.grey[800],\n 900: palette.grey[900],\n },\n },\n spacing: (units: number) => units * unit,\n spacingUnit: unit,\n radius: { sm: md / 2, md, lg: md * 2, xl: md * 4, full: 9999, field: fieldRadius(theme) },\n fieldHeight: resolveFieldHeight(theme.fieldHeight),\n // A bare MUI theme (never built through `createUiTheme`/`muiThemeOptionsFrom`)\n // carries no `theme.density` — read back as `'normal'`, factor `1`.\n density: theme.density ?? resolveDensityFactor(),\n typography: {\n fontFamily: theme.typography.fontFamily ?? WEB_FONT_FAMILY,\n monospaceFontFamily: WEB_MONOSPACE_FONT_FAMILY,\n sizes: TYPE_SIZES,\n weights: FONT_WEIGHTS,\n heading: headingSteps(theme),\n },\n zIndex: {\n appBar: theme.zIndex.appBar,\n drawer: theme.zIndex.drawer,\n modal: theme.zIndex.modal,\n snackbar: theme.zIndex.snackbar,\n tooltip: theme.zIndex.tooltip,\n },\n };\n}\n\n/** A `UiTheme` as the options MUI's `createTheme` builds the same palette from. */\nexport function muiThemeOptionsFrom(ui: UiTheme): ThemeOptions {\n const { palette } = ui;\n return {\n palette: {\n mode: palette.mode,\n primary: { ...palette.primary },\n secondary: { ...palette.secondary },\n success: { ...palette.success },\n warning: { ...palette.warning },\n info: { ...palette.info },\n error: { ...palette.danger },\n text: { ...palette.text },\n background: { ...palette.background },\n divider: palette.divider,\n action: { ...palette.action },\n grey: { ...palette.grey },\n },\n shape: { borderRadius: ui.radius.md },\n fieldRadius: ui.radius.field,\n fieldHeight: ui.fieldHeight,\n // Additive: FUT-2766 added IconButton's/Chip's overrides, FUT-2767 added\n // Checkbox/Radio's and Switch's, and this PR (FUT-2768) adds\n // ToggleButton/Tab/Tabs' indicator/TableCell/PaginationItem/Slider's.\n components: mergeMuiComponents(\n fieldOverrides(ui.radius.field, ui.fieldHeight),\n iconButtonDensityOverrides(),\n chipDensityOverrides(),\n checkboxRadioDensityOverrides(),\n switchDensityOverrides(),\n toggleButtonDensityOverrides(),\n tabDensityOverrides(),\n tabsIndicatorDensityOverrides(),\n tableCellDensityOverrides(),\n paginationItemDensityOverrides(),\n sliderDensityOverrides(),\n ),\n spacing: ui.spacingUnit,\n density: ui.density,\n typography: {\n fontFamily: ui.typography.fontFamily ?? WEB_FONT_FAMILY,\n // MUI multiplies every `pxToRem` size by `fontSize / 14` — the lever a\n // density mode moves (`./tokens/relative.ts`). `htmlFontSize` stays\n // untouched: that is a reader's own zoom/accessibility setting, not this.\n fontSize: densityFontSize(ui.density.factor),\n },\n zIndex: { ...ui.zIndex },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,IAAM,OAAO,CAAC,WAAyC;AAAA,EACrD,MAAM,MAAM;AAAA,EACZ,OAAO,MAAM;AAAA,EACb,MAAM,MAAM;AAAA,EACZ,cAAc,MAAM;AACtB;AAEA,SAAS,aAAa,OAAmD;AACvE,SAAO,OAAO;AAAA,IACZ,eAAe,IAAI,CAAC,UAAU;AAC5B,YAAM,UAAU,eAAe,OAAO,KAAK;AAC3C,aAAO;AAAA,QACL;AAAA,QACA;AAAA,UACE,UAAU,cAAc,QAAQ,UAAU,EAAE;AAAA,UAC5C,YAAY,QAAQ;AAAA,UACpB,eAAe,gBAAgB,QAAQ,aAAa;AAAA,UACpD,cAAc,QAAQ;AAAA,QACxB;AAAA,MACF;AAAA,IACF,CAAC;AAAA,EACH;AACF;AAGO,SAAS,eAAe,OAAuB;AACpD,QAAM,EAAE,QAAQ,IAAI;AACpB,QAAM,OAAO,cAAc,MAAM,QAAQ,CAAC,GAAG,CAAC;AAC9C,QAAM,KAAK,cAAc,MAAM,MAAM,cAAc,CAAC;AAEpD,SAAO;AAAA,IACL,MAAM,QAAQ;AAAA,IACd,SAAS;AAAA,MACP,MAAM,QAAQ;AAAA,MACd,SAAS,KAAK,QAAQ,OAAO;AAAA,MAC7B,WAAW,KAAK,QAAQ,SAAS;AAAA,MACjC,SAAS,KAAK,QAAQ,OAAO;AAAA,MAC7B,SAAS,KAAK,QAAQ,OAAO;AAAA,MAC7B,MAAM,KAAK,QAAQ,IAAI;AAAA,MACvB,QAAQ,KAAK,QAAQ,KAAK;AAAA,MAC1B,SAAS,UAAU,OAAO,SAAS;AAAA,MACnC,MAAM;AAAA,QACJ,SAAS,QAAQ,KAAK;AAAA,QACtB,WAAW,QAAQ,KAAK;AAAA,QACxB,UAAU,QAAQ,KAAK;AAAA,MACzB;AAAA,MACA,YAAY,EAAE,SAAS,QAAQ,WAAW,SAAS,OAAO,QAAQ,WAAW,MAAM;AAAA,MACnF,SAAS,QAAQ;AAAA,MACjB,QAAQ;AAAA,QACN,QAAQ,QAAQ,OAAO;AAAA,QACvB,OAAO,QAAQ,OAAO;AAAA,QACtB,UAAU,QAAQ,OAAO;AAAA,QACzB,UAAU,QAAQ,OAAO;AAAA,QACzB,oBAAoB,QAAQ,OAAO;AAAA,QACnC,OAAO,QAAQ,OAAO;AAAA,MACxB;AAAA,MACA,MAAM;AAAA,QACJ,IAAI,QAAQ,KAAK,EAAE;AAAA,QACnB,KAAK,QAAQ,KAAK,GAAG;AAAA,QACrB,KAAK,QAAQ,KAAK,GAAG;AAAA,QACrB,KAAK,QAAQ,KAAK,GAAG;AAAA,QACrB,KAAK,QAAQ,KAAK,GAAG;AAAA,QACrB,KAAK,QAAQ,KAAK,GAAG;AAAA,QACrB,KAAK,QAAQ,KAAK,GAAG;AAAA,QACrB,KAAK,QAAQ,KAAK,GAAG;AAAA,QACrB,KAAK,QAAQ,KAAK,GAAG;AAAA,QACrB,KAAK,QAAQ,KAAK,GAAG;AAAA,MACvB;AAAA,IACF;AAAA,IACA,SAAS,CAAC,UAAkB,QAAQ;AAAA,IACpC,aAAa;AAAA,IACb,QAAQ,EAAE,IAAI,KAAK,GAAG,IAAI,IAAI,KAAK,GAAG,IAAI,KAAK,GAAG,MAAM,MAAM,OAAO,YAAY,KAAK,EAAE;AAAA,IACxF,aAAa,mBAAmB,MAAM,WAAW;AAAA;AAAA;AAAA,IAGjD,SAAS,MAAM,WAAW,qBAAqB;AAAA,IAC/C,YAAY;AAAA,MACV,YAAY,MAAM,WAAW,cAAc;AAAA,MAC3C,qBAAqB;AAAA,MACrB,OAAO;AAAA,MACP,SAAS;AAAA,MACT,SAAS,aAAa,KAAK;AAAA,IAC7B;AAAA,IACA,QAAQ;AAAA,MACN,QAAQ,MAAM,OAAO;AAAA,MACrB,QAAQ,MAAM,OAAO;AAAA,MACrB,OAAO,MAAM,OAAO;AAAA,MACpB,UAAU,MAAM,OAAO;AAAA,MACvB,SAAS,MAAM,OAAO;AAAA,IACxB;AAAA,EACF;AACF;AAGO,SAAS,oBAAoB,IAA2B;AAC7D,QAAM,EAAE,QAAQ,IAAI;AACpB,SAAO;AAAA,IACL,SAAS;AAAA,MACP,MAAM,QAAQ;AAAA,MACd,SAAS,EAAE,GAAG,QAAQ,QAAQ;AAAA,MAC9B,WAAW,EAAE,GAAG,QAAQ,UAAU;AAAA,MAClC,SAAS,EAAE,GAAG,QAAQ,QAAQ;AAAA,MAC9B,SAAS,EAAE,GAAG,QAAQ,QAAQ;AAAA,MAC9B,MAAM,EAAE,GAAG,QAAQ,KAAK;AAAA,MACxB,OAAO,EAAE,GAAG,QAAQ,OAAO;AAAA,MAC3B,MAAM,EAAE,GAAG,QAAQ,KAAK;AAAA,MACxB,YAAY,EAAE,GAAG,QAAQ,WAAW;AAAA,MACpC,SAAS,QAAQ;AAAA,MACjB,QAAQ,EAAE,GAAG,QAAQ,OAAO;AAAA,MAC5B,MAAM,EAAE,GAAG,QAAQ,KAAK;AAAA,IAC1B;AAAA,IACA,OAAO,EAAE,cAAc,GAAG,OAAO,GAAG;AAAA,IACpC,aAAa,GAAG,OAAO;AAAA,IACvB,aAAa,GAAG;AAAA;AAAA;AAAA;AAAA,IAIhB,YAAY;AAAA,MACV,eAAe,GAAG,OAAO,OAAO,GAAG,WAAW;AAAA,MAC9C,2BAA2B;AAAA,MAC3B,qBAAqB;AAAA,MACrB,8BAA8B;AAAA,MAC9B,uBAAuB;AAAA,MACvB,6BAA6B;AAAA,MAC7B,oBAAoB;AAAA,MACpB,8BAA8B;AAAA,MAC9B,0BAA0B;AAAA,MAC1B,+BAA+B;AAAA,MAC/B,uBAAuB;AAAA,IACzB;AAAA,IACA,SAAS,GAAG;AAAA,IACZ,SAAS,GAAG;AAAA,IACZ,YAAY;AAAA,MACV,YAAY,GAAG,WAAW,cAAc;AAAA;AAAA;AAAA;AAAA,MAIxC,UAAU,gBAAgB,GAAG,QAAQ,MAAM;AAAA,IAC7C;AAAA,IACA,QAAQ,EAAE,GAAG,GAAG,OAAO;AAAA,EACzB;AACF;","names":[]}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-U3DBQXPI.js";
|
|
4
4
|
import {
|
|
5
5
|
Button
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GC5XJ7YB.js";
|
|
7
7
|
|
|
8
8
|
// src/components/data-display/CardKit/CardKebab.tsx
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -25,4 +25,4 @@ function CardKebab({
|
|
|
25
25
|
export {
|
|
26
26
|
CardKebab
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-2T7L6ZWF.js.map
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
checkboxRadioDensityOverrides,
|
|
3
2
|
chipDensityOverrides,
|
|
4
|
-
iconButtonDensityOverrides
|
|
3
|
+
iconButtonDensityOverrides
|
|
4
|
+
} from "./chunk-XK77FY42.js";
|
|
5
|
+
import {
|
|
6
|
+
paginationItemDensityOverrides,
|
|
7
|
+
sliderDensityOverrides,
|
|
8
|
+
tabDensityOverrides,
|
|
9
|
+
tableCellDensityOverrides,
|
|
10
|
+
tabsIndicatorDensityOverrides,
|
|
11
|
+
toggleButtonDensityOverrides
|
|
12
|
+
} from "./chunk-K3YHXOWZ.js";
|
|
13
|
+
import {
|
|
14
|
+
checkboxRadioDensityOverrides,
|
|
5
15
|
switchDensityOverrides
|
|
6
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4ELI2MM3.js";
|
|
7
17
|
import {
|
|
8
18
|
fieldOverrides,
|
|
9
19
|
mergeMuiComponents
|
|
@@ -35,7 +45,13 @@ function densityThemeOptions(density, factors, fieldRadius = DEFAULT_FIELD_RADIU
|
|
|
35
45
|
iconButtonDensityOverrides(),
|
|
36
46
|
chipDensityOverrides(),
|
|
37
47
|
checkboxRadioDensityOverrides(),
|
|
38
|
-
switchDensityOverrides()
|
|
48
|
+
switchDensityOverrides(),
|
|
49
|
+
toggleButtonDensityOverrides(),
|
|
50
|
+
tabDensityOverrides(),
|
|
51
|
+
tabsIndicatorDensityOverrides(),
|
|
52
|
+
tableCellDensityOverrides(),
|
|
53
|
+
paginationItemDensityOverrides(),
|
|
54
|
+
sliderDensityOverrides()
|
|
39
55
|
)
|
|
40
56
|
};
|
|
41
57
|
}
|
|
@@ -44,4 +60,4 @@ export {
|
|
|
44
60
|
useDensity,
|
|
45
61
|
densityThemeOptions
|
|
46
62
|
};
|
|
47
|
-
//# sourceMappingURL=chunk-
|
|
63
|
+
//# sourceMappingURL=chunk-2UPWKLHQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/tokens/density.ts"],"sourcesContent":["import { useTheme } from '@mui/material/styles/index.js';\nimport type { ThemeOptions } from '@mui/material/styles/index.js';\n\nimport {\n densityFieldHeight,\n densityFontSize,\n densitySpacingUnit,\n resolveDensityFactor,\n type DensityLevel,\n type ResolvedDensity,\n} from './density.core';\nimport {\n checkboxRadioDensityOverrides,\n chipDensityOverrides,\n iconButtonDensityOverrides,\n paginationItemDensityOverrides,\n sliderDensityOverrides,\n switchDensityOverrides,\n tabDensityOverrides,\n tableCellDensityOverrides,\n tabsIndicatorDensityOverrides,\n toggleButtonDensityOverrides,\n} from './density-overrides';\nimport { fieldOverrides, mergeMuiComponents } from './field-height';\nimport { DEFAULT_FIELD_RADIUS } from './field-radius.core';\n\n/**\n * DENSITY ON THE WEB: the MUI theme channel, the reader, and the standalone\n * entry point for a host that never calls `createUiTheme`/`UiProvider`.\n *\n * The argument for one density knob, the factor table and its precedence are\n * in `./density.core.ts`.\n */\n\nexport {\n DEFAULT_DENSITY,\n DENSITY_FACTOR,\n densityFieldHeight,\n densityFontSize,\n densitySpacingUnit,\n resolveDensityFactor,\n type DensityLevel,\n type ResolvedDensity,\n} from './density.core';\n\ndeclare module '@mui/material/styles' {\n interface Theme {\n /** The density this theme renders at. See `@12-apps/ui/tokens`' `useDensity`. */\n density?: ResolvedDensity;\n }\n interface ThemeOptions {\n /** The density this theme renders at. See `@12-apps/ui/tokens`' `useDensity`. */\n density?: ResolvedDensity;\n }\n}\n\n/**\n * The theme's resolved density — a plain theme read, not a step-shifting\n * resolver (`size` stays hierarchy; see `./density.core.ts`). A `styleOverrides`\n * callback already gets `{ theme }` and can read `theme.density` directly;\n * this is for a component that needs the level in its own render logic\n * (`Table`/`DataGrid`/`DataViews` each read it once to source their own\n * `density` prop's default).\n *\n * Falls back to `resolveDensityFactor()` (`'normal'`, factor `1`) for a bare\n * MUI theme built without `createUiTheme`/`muiThemeOptionsFrom`.\n */\nexport function useDensity(): ResolvedDensity {\n return useTheme().density ?? resolveDensityFactor();\n}\n\n/**\n * The density factor as a MUI `ThemeOptions` fragment, for a host that builds\n * `createTheme()` directly and never calls `createUiTheme`/`UiProvider` — the\n * same precedence `resolveDensityFactor` gives `createUiTheme`, so the two\n * consumption paths agree on `typography`/`spacing`/`fieldHeight`/`components`\n * (FUT-2764's Design section), not just the first two. `fieldHeight` matters\n * on its own: `Input`/`Select`/`Button` each read `theme.fieldHeight` directly\n * (`Input.tsx`, `Select.tsx`, `Button.styles.ts`'s `buttonSize`), so a fragment\n * that carried only `typography`/`spacing` left every field standing at the\n * DEFAULT height (2.5) at every density on this path — the two paths would\n * agree on the type scale and disagree on the one number three components key\n * their own layout off.\n *\n * `components` is the matching MUI-native override (`fieldOverrides`, plus\n * FUT-2766's `iconButtonDensityOverrides`/`chipDensityOverrides`, FUT-2767's\n * `checkboxRadioDensityOverrides`/`switchDensityOverrides` and FUT-2768's\n * `toggleButtonDensityOverrides`/`tabDensityOverrides`/\n * `tabsIndicatorDensityOverrides`/`tableCellDensityOverrides`/\n * `paginationItemDensityOverrides`/`sliderDensityOverrides`) for a HOST's own\n * bare `TextField`/`Select`/`IconButton`/`Chip`/`Checkbox`/`Radio`/`Switch`/\n * `ToggleButton`/`Tab`/`Tabs`/`TableCell`/`Pagination`/`Slider`, mirroring\n * `muiThemeOptionsFrom`'s own `components: mergeMuiComponents(...)`. It\n * carries ONLY the overrides this function knows about (`MuiOutlinedInput`'s\n * `root`, `input` and `notchedOutline`; `MuiInputLabel`'s `outlined`;\n * `MuiIconButton`'s `root`/`sizeSmall`/`sizeLarge`; `MuiChip`'s\n * `root`/`sizeSmall`/`label`/`labelSmall`; `MuiCheckbox`'s and `MuiRadio`'s\n * `root`; `MuiSwitch`'s `root`/`switchBase`/`thumb`/`sizeSmall`;\n * `MuiToggleButton`'s `root`/`sizeSmall`/`sizeLarge`; `MuiTab`'s\n * `root`/`labelIcon`; `MuiTabs`'s `indicator`; `MuiTableCell`'s\n * `root`/`sizeSmall`; `MuiPaginationItem`'s `root`/`sizeSmall`/`sizeLarge`;\n * `MuiSlider`'s `root`/`sizeSmall`/`thumb`/`thumbSizeSmall`) — a host with ITS\n * OWN overrides for OTHER components merges them in with\n * `mergeMuiComponents(densityThemeOptions(density).components, hostOverrides)`,\n * which keeps a component only ONE side touches untouched. For a component\n * BOTH sides style, the merge is by INNER key (`root`/`input`/…): a key only\n * one side sets survives from that side, but a key BOTH set is replaced\n * WHOLESALE by whichever source is passed LAST — not deep-merged — so a host\n * wanting to ADD to, say, `MuiOutlinedInput`'s `root` alongside the radius\n * override needs to write that one key's object out in full itself.\n *\n * `fieldRadius` (3rd argument, optional) exists because density does NOT touch\n * the field's CORNER — this is only for a host that already draws its OWN,\n * non-default radius and wants `components` to match it instead of clashing;\n * it defaults\n * to the same {@link DEFAULT_FIELD_RADIUS} `createUiTheme` itself falls back\n * to when a host names no `fieldRadius`, so the two paths still agree with no\n * argument passed at all — the existing 2-argument call keeps working\n * unchanged.\n *\n * **Where to spread it — the first `createTheme()` call, not a later layering\n * one.** `createTheme(options, ...args)` (`createThemeNoVars.js`) only runs\n * `createSpacing`/`createTypography` on `options`, the FIRST argument; every\n * later argument is deep-merged onto the theme those two already built, with\n * no such reprocessing. So a host with a base theme and a SECOND, layering\n * `createTheme()` call on top of it — exactly the shape a two-theme host uses,\n * `createTheme(outer, { palette: { ... } })` — must apply density at the\n * FIRST call (where the base itself is built), never spread onto `outer` in\n * the second one:\n *\n * ```ts\n * // RIGHT — density goes into the base's OWN construction. The second,\n * // layering call is unaffected: it never restates spacing/typography/\n * // fieldHeight/components itself, so `theme.spacing`/`pxToRem`/`fieldHeight`\n * // carry over from `base` UNCHANGED, already correctly scaled.\n * const base = createTheme({ palette: { primary: { main }, ... }, ...densityThemeOptions('compact') });\n * const themed = createTheme(base, { palette: { primary: { main: brand } } });\n *\n * // WRONG — a second, layering argument onto an ALREADY-BUILT theme is\n * // deepmerged with no reprocessing: `spacing`/`typography.fontSize` would\n * // overwrite the already-resolved `theme.spacing` function/`pxToRem` ratio\n * // instead of rescaling them.\n * createTheme(outer, { ...densityThemeOptions('compact') });\n * ```\n */\nexport function densityThemeOptions(\n density: DensityLevel | number,\n factors?: Partial<Record<DensityLevel, number>>,\n fieldRadius: number = DEFAULT_FIELD_RADIUS,\n): Pick<ThemeOptions, 'typography' | 'spacing' | 'fieldHeight' | 'components'> {\n const { factor } = resolveDensityFactor(density, factors);\n const fieldHeight = densityFieldHeight(factor);\n return {\n typography: { fontSize: densityFontSize(factor) },\n spacing: densitySpacingUnit(factor),\n fieldHeight,\n components: mergeMuiComponents(\n fieldOverrides(fieldRadius, fieldHeight),\n iconButtonDensityOverrides(),\n chipDensityOverrides(),\n checkboxRadioDensityOverrides(),\n switchDensityOverrides(),\n toggleButtonDensityOverrides(),\n tabDensityOverrides(),\n tabsIndicatorDensityOverrides(),\n tableCellDensityOverrides(),\n paginationItemDensityOverrides(),\n sliderDensityOverrides(),\n ),\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,gBAAgB;AAmElB,SAAS,aAA8B;AAC5C,SAAO,SAAS,EAAE,WAAW,qBAAqB;AACpD;AA4EO,SAAS,oBACd,SACA,SACA,cAAsB,sBACuD;AAC7E,QAAM,EAAE,OAAO,IAAI,qBAAqB,SAAS,OAAO;AACxD,QAAM,cAAc,mBAAmB,MAAM;AAC7C,SAAO;AAAA,IACL,YAAY,EAAE,UAAU,gBAAgB,MAAM,EAAE;AAAA,IAChD,SAAS,mBAAmB,MAAM;AAAA,IAClC;AAAA,IACA,YAAY;AAAA,MACV,eAAe,aAAa,WAAW;AAAA,MACvC,2BAA2B;AAAA,MAC3B,qBAAqB;AAAA,MACrB,8BAA8B;AAAA,MAC9B,uBAAuB;AAAA,MACvB,6BAA6B;AAAA,MAC7B,oBAAoB;AAAA,MACpB,8BAA8B;AAAA,MAC9B,0BAA0B;AAAA,MAC1B,+BAA+B;AAAA,MAC/B,uBAAuB;AAAA,IACzB;AAAA,EACF;AACF;","names":[]}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
CountedIcon,
|
|
5
5
|
controlProps,
|
|
6
6
|
focusRing
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GLKQT2DS.js";
|
|
8
8
|
import {
|
|
9
9
|
Drawer,
|
|
10
10
|
DrawerContent,
|
|
@@ -171,4 +171,4 @@ function SectionNavSheet({
|
|
|
171
171
|
export {
|
|
172
172
|
SectionNavSheet
|
|
173
173
|
};
|
|
174
|
-
//# sourceMappingURL=chunk-
|
|
174
|
+
//# sourceMappingURL=chunk-32JMSHEA.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/tokens/scales.ts"],"sourcesContent":["import type { Theme } from '@mui/material/styles/index.js';\n\nimport type { ColorValue, MuiColor } from './vocabulary';\n\n/**\n * `@12-apps/ui/tokens` keeps its whole surface here. The vocabulary itself —\n * the size and colour unions and their runtime lists — lives in\n * `./vocabulary`, which imports nothing, so the native renderer can read it\n * without this file's MUI `Theme` import following it into `dist/types-native`.\n */\nexport * from './vocabulary';\nexport { headingMetrics } from './typography';\n// The renderer-neutral theme and the colour arithmetic behind it, so a web\n// host can build a `UiTheme` from the same module path a native one does.\nexport * from './theme';\nexport * from './color';\n// The relative-size vocabulary every component writes its sizes in (FUT-2585).\nexport { rem, rems, remPx, resetRootFontCache, sxRem } from './relative';\n// Every colour by role (FUT-2593): ink roles, neutral tones, the named sets.\nexport * from './ink';\nexport * from './ink.core';\nexport { DEFAULT_FIELD_RADIUS, fieldRadius, fieldRadiusOverrides, fieldRadiusPx, fieldRootStyles } from './field-radius';\nexport {\n asFieldSize,\n DEFAULT_FIELD_HEIGHT,\n FIELD_BORDER_WIDTH,\n FIELD_HEIGHT_SCALE,\n fieldBorder,\n fieldControlStyles,\n fieldHeight,\n fieldHeightOverrides,\n fieldHeightPx,\n fieldHeightRem,\n fieldOverrides,\n fieldTextFieldStyles,\n mergeMuiComponents,\n} from './field-height';\n// The theme's density knob (FUT-2764): the factor table, the resolver, the\n// per-repository override and the standalone entry for a host that builds\n// `createTheme()` directly. `DensityLevel`/`ResolvedDensity` are already\n// exported above, through `./theme`.\nexport {\n DEFAULT_DENSITY,\n DENSITY_FACTOR,\n densityFieldHeight,\n densityFontSize,\n densitySpacingUnit,\n densityThemeOptions,\n resolveDensityFactor,\n useDensity,\n} from './density';\n// The IconButton/Chip geometry overrides density threads through both\n// consumption paths (FUT-2766), and Checkbox/Radio/Switch's (FUT-2767)
|
|
1
|
+
{"version":3,"sources":["../src/tokens/scales.ts"],"sourcesContent":["import type { Theme } from '@mui/material/styles/index.js';\n\nimport type { ColorValue, MuiColor } from './vocabulary';\n\n/**\n * `@12-apps/ui/tokens` keeps its whole surface here. The vocabulary itself —\n * the size and colour unions and their runtime lists — lives in\n * `./vocabulary`, which imports nothing, so the native renderer can read it\n * without this file's MUI `Theme` import following it into `dist/types-native`.\n */\nexport * from './vocabulary';\nexport { headingMetrics } from './typography';\n// The renderer-neutral theme and the colour arithmetic behind it, so a web\n// host can build a `UiTheme` from the same module path a native one does.\nexport * from './theme';\nexport * from './color';\n// The relative-size vocabulary every component writes its sizes in (FUT-2585).\nexport { rem, rems, remPx, resetRootFontCache, sxRem } from './relative';\n// Every colour by role (FUT-2593): ink roles, neutral tones, the named sets.\nexport * from './ink';\nexport * from './ink.core';\nexport { DEFAULT_FIELD_RADIUS, fieldRadius, fieldRadiusOverrides, fieldRadiusPx, fieldRootStyles } from './field-radius';\nexport {\n asFieldSize,\n DEFAULT_FIELD_HEIGHT,\n FIELD_BORDER_WIDTH,\n FIELD_HEIGHT_SCALE,\n fieldBorder,\n fieldControlStyles,\n fieldHeight,\n fieldHeightOverrides,\n fieldHeightPx,\n fieldHeightRem,\n fieldOverrides,\n fieldTextFieldStyles,\n mergeMuiComponents,\n} from './field-height';\n// The theme's density knob (FUT-2764): the factor table, the resolver, the\n// per-repository override and the standalone entry for a host that builds\n// `createTheme()` directly. `DensityLevel`/`ResolvedDensity` are already\n// exported above, through `./theme`.\nexport {\n DEFAULT_DENSITY,\n DENSITY_FACTOR,\n densityFieldHeight,\n densityFontSize,\n densitySpacingUnit,\n densityThemeOptions,\n resolveDensityFactor,\n useDensity,\n} from './density';\n// The IconButton/Chip geometry overrides density threads through both\n// consumption paths (FUT-2766), and Checkbox/Radio/Switch's (FUT-2767) and\n// ToggleButton/Tab/TableCell/PaginationItem/Slider's (FUT-2768) — exported\n// standalone too, for a host that wants just these components' overrides\n// without the rest of density.\nexport {\n checkboxRadioDensityOverrides,\n chipDensityOverrides,\n iconButtonDensityOverrides,\n paginationItemDensityOverrides,\n sliderDensityOverrides,\n switchDensityOverrides,\n tabDensityOverrides,\n tableCellDensityOverrides,\n tabsIndicatorDensityOverrides,\n toggleButtonDensityOverrides,\n} from './density-overrides';\n\nexport interface Accent {\n main: string;\n light: string;\n dark: string;\n contrastText: string;\n}\n\nexport function accentFor(theme: Theme, color: ColorValue): Accent {\n if (color === 'neutral') {\n const grey = theme.palette.grey;\n return {\n // Explicit fallbacks: the ramp is indexed, and under\n // `noUncheckedIndexedAccess` every stop is `string | undefined`.\n main: grey[600] ?? '#757575',\n light: grey[400] ?? '#bdbdbd',\n dark: grey[800] ?? '#424242',\n // Grey 600 carries white text in both themes.\n contrastText: '#fff',\n };\n }\n // Past the `neutral` return, `paletteKey` can only produce a `MuiColor` — but\n // its signature still admits `'grey'`, and TS cannot narrow a return type by\n // the argument. Naming the key here keeps the accent branch honestly typed\n // instead of casting the hole shut.\n const key: MuiColor = color === 'danger' ? 'error' : color;\n return theme.palette[key];\n}\n"],"mappings":";AA4EO,SAAS,UAAU,OAAc,OAA2B;AACjE,MAAI,UAAU,WAAW;AACvB,UAAM,OAAO,MAAM,QAAQ;AAC3B,WAAO;AAAA;AAAA;AAAA,MAGL,MAAM,KAAK,GAAG,KAAK;AAAA,MACnB,OAAO,KAAK,GAAG,KAAK;AAAA,MACpB,MAAM,KAAK,GAAG,KAAK;AAAA;AAAA,MAEnB,cAAc;AAAA,IAChB;AAAA,EACF;AAKA,QAAM,MAAgB,UAAU,WAAW,UAAU;AACrD,SAAO,MAAM,QAAQ,GAAG;AAC1B;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MapPreview
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6SXXW5GR.js";
|
|
4
4
|
|
|
5
5
|
// src/components/data-display/FleetMap/FleetCanvas.tsx
|
|
6
6
|
import Box from "@mui/material/Box/index.js";
|
|
@@ -38,4 +38,4 @@ function FleetCanvas({
|
|
|
38
38
|
export {
|
|
39
39
|
FleetCanvas
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=chunk-
|
|
41
|
+
//# sourceMappingURL=chunk-3YRPEZ3F.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SectionNavSheet
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-32JMSHEA.js";
|
|
4
4
|
import {
|
|
5
5
|
RaisedActionButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RZ4SBSLP.js";
|
|
7
7
|
import {
|
|
8
8
|
Box,
|
|
9
9
|
CONTROL_RESET,
|
|
10
10
|
CountedIcon,
|
|
11
11
|
controlProps,
|
|
12
12
|
focusRing
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GLKQT2DS.js";
|
|
14
14
|
import {
|
|
15
15
|
barSlots,
|
|
16
16
|
menuActive,
|
|
@@ -237,4 +237,4 @@ export {
|
|
|
237
237
|
sectionNavBarInset,
|
|
238
238
|
SectionNavBar
|
|
239
239
|
};
|
|
240
|
-
//# sourceMappingURL=chunk-
|
|
240
|
+
//# sourceMappingURL=chunk-43Q6CVPB.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
RangePresets
|
|
3
|
+
} from "./chunk-7D7CJRL7.js";
|
|
1
4
|
import {
|
|
2
5
|
NumberBoundInput
|
|
3
6
|
} from "./chunk-YRUX7XMQ.js";
|
|
@@ -7,9 +10,6 @@ import {
|
|
|
7
10
|
numericRange,
|
|
8
11
|
rangeChipLabel
|
|
9
12
|
} from "./chunk-GCZJH4XL.js";
|
|
10
|
-
import {
|
|
11
|
-
RangePresets
|
|
12
|
-
} from "./chunk-7D7CJRL7.js";
|
|
13
13
|
import {
|
|
14
14
|
presetsFor
|
|
15
15
|
} from "./chunk-CBOB5AV6.js";
|
|
@@ -291,4 +291,4 @@ export {
|
|
|
291
291
|
RangePill,
|
|
292
292
|
PanelRangeField
|
|
293
293
|
};
|
|
294
|
-
//# sourceMappingURL=chunk-
|
|
294
|
+
//# sourceMappingURL=chunk-44USLRMT.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-RTSK5OZT.js";
|
|
10
10
|
import {
|
|
11
11
|
useUiTheme
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RYWX6LK4.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveTestId
|
|
15
15
|
} from "./chunk-TYJR4GOF.js";
|
|
@@ -48,4 +48,4 @@ Icon.displayName = "Icon";
|
|
|
48
48
|
export {
|
|
49
49
|
Icon
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=chunk-
|
|
51
|
+
//# sourceMappingURL=chunk-4CDZP6KD.js.map
|
|
@@ -3,56 +3,8 @@ import {
|
|
|
3
3
|
rems
|
|
4
4
|
} from "./chunk-YKCAJ2TN.js";
|
|
5
5
|
|
|
6
|
-
// src/tokens/density-overrides.ts
|
|
7
|
-
import { chipClasses } from "@mui/material/Chip/index.js";
|
|
6
|
+
// src/tokens/density-overrides.selection.ts
|
|
8
7
|
import { switchClasses } from "@mui/material/Switch/index.js";
|
|
9
|
-
var iconButtonRootPadding = ({ theme }) => ({ padding: rem(theme, 8) });
|
|
10
|
-
var iconButtonSmallPadding = ({ theme }) => ({ padding: rem(theme, 5) });
|
|
11
|
-
var iconButtonLargePadding = ({ theme }) => ({ padding: rem(theme, 12) });
|
|
12
|
-
function iconButtonDensityOverrides() {
|
|
13
|
-
return {
|
|
14
|
-
MuiIconButton: {
|
|
15
|
-
styleOverrides: {
|
|
16
|
-
root: iconButtonRootPadding,
|
|
17
|
-
sizeSmall: iconButtonSmallPadding,
|
|
18
|
-
sizeLarge: iconButtonLargePadding
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
var CHIP_OUTLINED_LABEL_PADDING = { medium: 11, small: 7 };
|
|
24
|
-
var chipRootHeight = ({
|
|
25
|
-
theme,
|
|
26
|
-
ownerState
|
|
27
|
-
}) => {
|
|
28
|
-
const style = { height: rem(theme, 32) };
|
|
29
|
-
if (ownerState?.variant === "outlined") {
|
|
30
|
-
const px = CHIP_OUTLINED_LABEL_PADDING[ownerState.size === "small" ? "small" : "medium"];
|
|
31
|
-
style[`& .${chipClasses.label}`] = { paddingLeft: rem(theme, px), paddingRight: rem(theme, px) };
|
|
32
|
-
}
|
|
33
|
-
return style;
|
|
34
|
-
};
|
|
35
|
-
var chipSmallHeight = ({ theme }) => ({ height: rem(theme, 24) });
|
|
36
|
-
var chipLabelPadding = ({ theme }) => ({
|
|
37
|
-
paddingLeft: rem(theme, 12),
|
|
38
|
-
paddingRight: rem(theme, 12)
|
|
39
|
-
});
|
|
40
|
-
var chipLabelSmallPadding = ({ theme }) => ({
|
|
41
|
-
paddingLeft: rem(theme, 8),
|
|
42
|
-
paddingRight: rem(theme, 8)
|
|
43
|
-
});
|
|
44
|
-
function chipDensityOverrides() {
|
|
45
|
-
return {
|
|
46
|
-
MuiChip: {
|
|
47
|
-
styleOverrides: {
|
|
48
|
-
root: chipRootHeight,
|
|
49
|
-
sizeSmall: chipSmallHeight,
|
|
50
|
-
label: chipLabelPadding,
|
|
51
|
-
labelSmall: chipLabelSmallPadding
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
8
|
var checkboxRadioRootPadding = ({ theme }) => ({ padding: rem(theme, 9) });
|
|
57
9
|
function checkboxRadioDensityOverrides() {
|
|
58
10
|
return {
|
|
@@ -119,9 +71,7 @@ function switchDensityOverrides() {
|
|
|
119
71
|
}
|
|
120
72
|
|
|
121
73
|
export {
|
|
122
|
-
iconButtonDensityOverrides,
|
|
123
|
-
chipDensityOverrides,
|
|
124
74
|
checkboxRadioDensityOverrides,
|
|
125
75
|
switchDensityOverrides
|
|
126
76
|
};
|
|
127
|
-
//# sourceMappingURL=chunk-
|
|
77
|
+
//# sourceMappingURL=chunk-4ELI2MM3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/tokens/density-overrides.selection.ts"],"sourcesContent":["import { switchClasses } from '@mui/material/Switch/index.js';\nimport type { Components, CSSObject, Theme } from '@mui/material/styles/index.js';\n\nimport { rem, rems } from './relative';\n\n/**\n * CHECKBOX / RADIO / SWITCH GEOMETRY, DENSITY-AWARE (FUT-2767).\n *\n * `Checkbox`/`Radio`/`Switch` are MUI's own components, unwrapped — but\n * **only two of the three `@12-apps/ui` wrappers actually forward their\n * geometry to MUI**, corrected here after an earlier revision of this doc\n * comment claimed all three did.\n *\n * - `Checkbox.tsx`'s `StyledCheckbox` and `RadioGroup.variants.tsx`'s\n * `DefaultRadios` (the ONLY variant rendering a raw `<Radio>` — `cards`/\n * `buttons`/`segments` draw custom controls, outside this ticket) set NO\n * `padding` of their own, so `checkboxRadioDensityOverrides()` reaches\n * both directly — confirmed by a real render, same computed padding as\n * raw `MuiCheckbox`/`MuiRadio` at both densities\n * (`density-overrides.test.stories.tsx`'s `ui-checkbox`/`ui-radio-group`).\n * - `Switch.styles.ts`'s `switchSx` is DIFFERENT: it draws root/switchBase/\n * thumb geometry itself, per instance, from its own `SWITCH_SIZES` table\n * (`Switch.metrics.ts`), every number already through `rem(theme, px)`.\n * `Switch.parts.tsx`'s `StyledSwitch = styled(MuiSwitch, {...})(...)`\n * composes these as an OUTER wrapper class whose nested `& .MuiSwitch-\n * switchBase`/`& .MuiSwitch-thumb` selectors are a TWO-class compound —\n * higher specificity than this file's `MuiSwitch.styleOverrides.\n * switchBase`/`thumb`, which compose onto a single-class generated class.\n * `switchDensityOverrides()` therefore has **NO effect on `@12-apps/ui`'s\n * own `<Switch>`** — it only reaches a raw `@mui/material/Switch` consumer\n * (a host's own `Table.tsx` density-toggle column, say). Not a gap:\n * `switchSx` already reacts to `theme.typography.fontSize` on its own —\n * including the CHECKED thumb's own travel distance, computed as\n * `rem(theme, width - thumbSize - padding * 2)` from the SAME per-instance\n * geometry, so it moves consistently with no help from this file.\n * Confirmed by measurement, both sizes, both states, both densities\n * (`ui-switch-*` cases); documented at `Switch.md`'s \"Density\" section.\n *\n * **The ticket's open question — does a `MuiSwitchBase` theme override reach\n * `Checkbox`/`Radio` at all? — is NO, verified two ways.** `Checkbox`/`Radio`\n * both render through `internal/SwitchBase.js`'s `SwitchBaseRoot`, which is\n * `styled(ButtonBase, { name: 'MuiSwitchBase' })({ padding: 9, ... })` — with\n * NO `slot` key. `@mui/system`'s `createStyled.js` computes\n * `overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(slot))`,\n * and `defaultOverridesResolver` (`if (!slot) return null`) returns `null`\n * for an absent slot; the styled call itself then only pushes its\n * `styleThemeOverrides` expression `if (componentName && overridesResolver)`\n * — `null` is falsy, so for THIS styled call `theme.components.MuiSwitchBase\n * .styleOverrides` is never read at all. (`variants` is a SEPARATE check,\n * gated on `skipVariantsResolver` rather than `overridesResolver`, which is\n * why the ticket's own two-part specificity proof for Chip's label — probing\n * with `variants` — does not transfer here; `styleOverrides` is what dies.)\n * A render-level probe confirms it: a theme with `components.MuiSwitchBase\n * .styleOverrides.root = { padding: '999px' }`, rendering `<Switch />`,\n * `<Checkbox />` and `<Radio />` through it, leaves EVERY ONE of `.MuiSwitch-\n * switchBase`, `.MuiCheckbox-root` and `.MuiRadio-root` at their unthemed\n * padding (`9px`/`4px` — see below), never `999px`. The Decision's own\n * suggested `MuiSwitchBase` route is therefore the ticket's documented\n * fallback in disguise: this file skips straight to duplicating the override\n * under `MuiCheckbox` and `MuiRadio`, each independently confirmed LIVE by\n * the same probe (`components.MuiCheckbox.styleOverrides.root.padding` DOES\n * reach `.MuiCheckbox-root`, and the same for `MuiRadio`).\n *\n * - `Checkbox`/`Radio` (`internal/SwitchBase.js`, `Checkbox.js`, `Radio.js`):\n * `padding: 9` — constant across `size=\"small\"`/`\"medium\"` today (neither\n * `CheckboxRoot` nor `RadioRoot` carries a size-conditional padding rule),\n * so ONE `root` override, no `sizeSmall`/`sizeMedium` split, covers both\n * sizes without disturbing the glyph-driven size difference FUT-2585 left\n * alone.\n * - `Switch` (`Switch.js`): root (the track) `width: 34+12*2`, `height:\n * 14+12*2`, `padding: 12` (medium); `switchBase` (the thumb's absolutely-\n * positioned wrapper) — its OWN literal is NOT the `12` the ticket's\n * Decision sketch names (that `12` is `SwitchRoot`'s own padding, a\n * DIFFERENT slot); `switchBase` inherits `internal/SwitchBase.js`'s generic\n * `padding: 9` unmodified at medium (`SwitchSwitchBase`'s own styles never\n * set `padding`), confirmed by the same render probe with NO theme\n * override at all (`.MuiSwitch-switchBase` computed padding: `9px`). This\n * file overrides `MuiSwitch.styleOverrides.switchBase` (a LIVE key —\n * `SwitchSwitchBase = styled(SwitchBase, { name: 'MuiSwitch', slot:\n * 'SwitchBase', ... })` DOES pass a `slot`) with `rem(theme, 9)`, the\n * MEASURED default, not the ticket's `12` — using `12` here would move\n * today's real 9px to 12px at `density: 'normal'`, failing the Done-when's\n * own pixel-identical requirement, so the number is corrected against the\n * probe rather than the sketch. `thumb`: `20×20`, unconditional.\n * - `Switch` `size=\"small\"` (`:82-100`, a `variants` entry on `SwitchRoot`\n * itself): root `width: 40`, `height: 24`, `padding: 7`; a NESTED `&\n * .${switchClasses.switchBase}` selector sets `padding: 4` (not 9); a\n * NESTED `& .${switchClasses.thumb}` selector sets `20×20` down to\n * `16×16`. Both nested rules are baked into `SwitchRoot`'s OWN generated\n * class at TWO-class specificity (the size-small instance's unique class,\n * plus `.MuiSwitch-switchBase`/`.MuiSwitch-thumb`) — exactly the Chip\n * outlined-label shape this file already has above, and the SAME failure\n * mode Lesson 1 warns about: a FLAT `styleOverrides.switchBase`/`thumb`\n * (one class) cannot out-specificity it, so at `size=\"small\"` it would\n * silently keep rendering MUI's unthemed `4px`/`16×16` at every density,\n * the click target and thumb staying full-size while the track around them\n * shrank. Fixed the same way: `sizeSmall`'s OWN nested `& .${switchClasses\n * .switchBase}` / `& .${switchClasses.thumb}` rules, read through\n * `switchClasses` (not a hand-typed selector string) for the same\n * `ClassNameGenerator.configure` reason `chipClasses` is above, inserted\n * as part of the SAME `sizeSmall` override object so they land AFTER\n * `SwitchRoot`'s own baked-in small variant in the generated class's CSS\n * text (later wins at matching two-class specificity) rather than trying\n * to out-specificity it from a different slot.\n *\n * **The checked thumb's own travel distance is a FOURTH literal, found only\n * on adversarial review of the PR this doc comment first shipped in.**\n * `SwitchSwitchBase`'s base style bakes in `&.Mui-checked { transform:\n * translateX(20px) }` (medium), and `SwitchRoot`'s `size: 'small'` variant\n * nests the same at `16px` — both bare, never run through `pxToRem`, so at\n * `density: 'compact'` the checked thumb kept travelling the FULL, unscaled\n * distance while the track around it shrank ×0.9 — a visible overshoot.\n * `switchSwitchBasePadding`/`switchSizeSmall` each now carry their own\n * `&.${switchClasses.checked}` rule (`translateX(rem(theme, 20))`/`rem(theme,\n * 16)`), composed onto the SAME generated class, in the SAME position\n * `padding` already occupies — so it wins by the identical mechanism, not a\n * new one. Proven at the pixel level, both sizes/densities: `switch-md-\n * checked`/`switch-sm-checked` measure the thumb's final position against\n * the track's own edge, not just the transform string.\n *\n * At `density: 'normal'` every number above computes back to the literal it\n * replaces (`rem(theme, 9)` is `0.5625rem`, `9px` at the 16px root — no\n * visible change), the same geometry-neutral guarantee `iconButtonDensity\n * Overrides`/`chipDensityOverrides` give above. The same non-default-\n * `fontSize` caveat those two give applies here unchanged: `rem()` only ever\n * reads `theme.typography.fontSize`, so a host adopting\n * `checkboxRadioDensityOverrides`/`switchDensityOverrides` standalone moves\n * every number here by that one coefficient, same as everything else `rem()`\n * touches.\n */\n\nconst checkboxRadioRootPadding = ({ theme }: { theme: Theme }): CSSObject => ({ padding: rem(theme, 9) });\n\n/**\n * `MuiCheckbox`/`MuiRadio`'s own padding — duplicated under both component\n * keys, the ticket's own documented fallback, since `MuiSwitchBase` cannot\n * reach either (see the module doc comment above). One module-level function\n * shared by both keys, and by `checkboxRadioDensityOverrides()`'s own two\n * calls across the two theme-build paths, for the same identity reason the\n * rest of this file's slots are module-level.\n */\nexport function checkboxRadioDensityOverrides(): Components<Theme> {\n return {\n MuiCheckbox: { styleOverrides: { root: checkboxRadioRootPadding } },\n MuiRadio: { styleOverrides: { root: checkboxRadioRootPadding } },\n };\n}\n\nconst switchRootGeometry = ({ theme }: { theme: Theme }): CSSObject => ({\n width: rems(theme, 34 + 12 * 2),\n height: rems(theme, 14 + 12 * 2),\n padding: rem(theme, 12),\n});\nconst switchSwitchBasePadding = ({ theme }: { theme: Theme }): CSSObject => ({\n padding: rem(theme, 9),\n // FUT-2767 (adversarial-review fix) — `SwitchSwitchBase`'s OWN base style\n // (`Switch.js`, medium) bakes in `&.Mui-checked { transform:\n // translateX(20px) }`, a bare literal never run through `pxToRem` — at\n // `density: 'compact'` the track/padding/thumb above all shrink ×0.9 but\n // this offset stayed at a full 20px, so the checked thumb overshot the now-\n // smaller track. Composed onto the SAME generated class as that base style,\n // AFTER it (`createStyled` composes `styleThemeOverrides` after a slot's\n // own base/variants — see the module doc comment), so this nested rule\n // wins at the SAME (two-class, `.<hash>.Mui-checked`) specificity, the same\n // mechanism this function's own `padding` line already relies on.\n [`&.${switchClasses.checked}`]: { transform: `translateX(${rem(theme, 20)})` },\n});\nconst switchThumbSize = ({ theme }: { theme: Theme }): CSSObject => ({\n width: rem(theme, 20),\n height: rem(theme, 20),\n});\nconst switchSizeSmall = ({ theme }: { theme: Theme }): CSSObject => ({\n width: rem(theme, 40),\n height: rem(theme, 24),\n padding: rem(theme, 7),\n // Higher (two-class) specificity than the flat `switchBase`/`thumb`\n // overrides above, inserted as part of THIS SAME generated class — see the\n // module doc comment for why a flat override cannot reach these at\n // `size=\"small\"` on its own.\n [`& .${switchClasses.switchBase}`]: {\n padding: rem(theme, 4),\n // Same overshoot as medium's, at `size=\"small\"`'s OWN literal\n // (`SwitchRoot`'s baked-in `size: 'small'` variant, `Switch.js`:\n // `translateX(16px)`). Nested one level deeper so the compiled selector\n // is `.<root-hash> .MuiSwitch-switchBase.Mui-checked` — the same THREE-\n // class descendant compound MUI's own baked-in small variant uses for\n // this rule, composed after it in the same generated class, so it wins\n // at matching specificity the same way the sibling `padding: rem(theme,\n // 4)` line above already does.\n [`&.${switchClasses.checked}`]: { transform: `translateX(${rem(theme, 16)})` },\n },\n [`& .${switchClasses.thumb}`]: { width: rem(theme, 16), height: rem(theme, 16) },\n});\n\n/**\n * `MuiSwitch`'s own track (root), thumb wrapper (switchBase) and thumb\n * (thumb) geometry, at both sizes MUI has.\n */\nexport function switchDensityOverrides(): Components<Theme> {\n return {\n MuiSwitch: {\n styleOverrides: {\n root: switchRootGeometry,\n switchBase: switchSwitchBasePadding,\n thumb: switchThumbSize,\n sizeSmall: switchSizeSmall,\n },\n },\n };\n}\n"],"mappings":";;;;;;AAAA,SAAS,qBAAqB;AAmI9B,IAAM,2BAA2B,CAAC,EAAE,MAAM,OAAoC,EAAE,SAAS,IAAI,OAAO,CAAC,EAAE;AAUhG,SAAS,gCAAmD;AACjE,SAAO;AAAA,IACL,aAAa,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,EAAE;AAAA,IAClE,UAAU,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,EAAE;AAAA,EACjE;AACF;AAEA,IAAM,qBAAqB,CAAC,EAAE,MAAM,OAAoC;AAAA,EACtE,OAAO,KAAK,OAAO,KAAK,KAAK,CAAC;AAAA,EAC9B,QAAQ,KAAK,OAAO,KAAK,KAAK,CAAC;AAAA,EAC/B,SAAS,IAAI,OAAO,EAAE;AACxB;AACA,IAAM,0BAA0B,CAAC,EAAE,MAAM,OAAoC;AAAA,EAC3E,SAAS,IAAI,OAAO,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWrB,CAAC,KAAK,cAAc,OAAO,EAAE,GAAG,EAAE,WAAW,cAAc,IAAI,OAAO,EAAE,CAAC,IAAI;AAC/E;AACA,IAAM,kBAAkB,CAAC,EAAE,MAAM,OAAoC;AAAA,EACnE,OAAO,IAAI,OAAO,EAAE;AAAA,EACpB,QAAQ,IAAI,OAAO,EAAE;AACvB;AACA,IAAM,kBAAkB,CAAC,EAAE,MAAM,OAAoC;AAAA,EACnE,OAAO,IAAI,OAAO,EAAE;AAAA,EACpB,QAAQ,IAAI,OAAO,EAAE;AAAA,EACrB,SAAS,IAAI,OAAO,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKrB,CAAC,MAAM,cAAc,UAAU,EAAE,GAAG;AAAA,IAClC,SAAS,IAAI,OAAO,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IASrB,CAAC,KAAK,cAAc,OAAO,EAAE,GAAG,EAAE,WAAW,cAAc,IAAI,OAAO,EAAE,CAAC,IAAI;AAAA,EAC/E;AAAA,EACA,CAAC,MAAM,cAAc,KAAK,EAAE,GAAG,EAAE,OAAO,IAAI,OAAO,EAAE,GAAG,QAAQ,IAAI,OAAO,EAAE,EAAE;AACjF;AAMO,SAAS,yBAA4C;AAC1D,SAAO;AAAA,IACL,WAAW;AAAA,MACT,gBAAgB;AAAA,QACd,MAAM;AAAA,QACN,YAAY;AAAA,QACZ,OAAO;AAAA,QACP,WAAW;AAAA,MACb;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-G3E66C6J.js";
|
|
4
4
|
import {
|
|
5
5
|
useDensity
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2UPWKLHQ.js";
|
|
7
7
|
import {
|
|
8
8
|
rem,
|
|
9
9
|
remPx
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
mapThemeToGridDensity,
|
|
204
204
|
useDataGridModel
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=chunk-
|
|
206
|
+
//# sourceMappingURL=chunk-4GRUNQNB.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-6DPAWXZ3.js";
|
|
7
7
|
import {
|
|
8
8
|
Button
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GC5XJ7YB.js";
|
|
10
10
|
import {
|
|
11
11
|
Text
|
|
12
12
|
} from "./chunk-YZHX2HTC.js";
|
|
@@ -85,4 +85,4 @@ function SelectAllStrip({
|
|
|
85
85
|
export {
|
|
86
86
|
SelectAllStrip
|
|
87
87
|
};
|
|
88
|
-
//# sourceMappingURL=chunk-
|
|
88
|
+
//# sourceMappingURL=chunk-4NDNV45Y.js.map
|