@12-apps/ui 6.42.0 → 6.43.1
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/Alert/Alert.js +3 -3
- package/dist/_internal/components/data-display/Alert/Alert.metrics.js +3 -3
- package/dist/_internal/components/data-display/Alert/Alert.styles.js +3 -3
- package/dist/_internal/components/data-display/Badge/Badge.js +4 -4
- package/dist/_internal/components/data-display/Badge/Badge.styles.js +4 -4
- package/dist/_internal/components/data-display/Badge/BadgeContent.js +4 -4
- package/dist/_internal/components/data-display/Banner/Banner.js +3 -3
- package/dist/_internal/components/data-display/Banner/Banner.styles.js +3 -3
- package/dist/_internal/components/data-display/CardKit/CardKebab.js +3 -3
- package/dist/_internal/components/data-display/CardKit/card-actions-context.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 +4 -4
- package/dist/_internal/components/data-display/Carousel/Carousel.js +4 -4
- package/dist/_internal/components/data-display/Carousel/Carousel.parts.js +4 -4
- package/dist/_internal/components/data-display/Carousel/Carousel.styles.js +4 -4
- package/dist/_internal/components/data-display/Chart/Chart.js +4 -4
- package/dist/_internal/components/data-display/Chart/SpecChart.js +4 -4
- package/dist/_internal/components/data-display/Chart/chart-context.js +4 -4
- package/dist/_internal/components/data-display/Chart/chart-internals.js +4 -4
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +4 -4
- package/dist/_internal/components/data-display/DataGrid/DataGrid.js +11 -2
- package/dist/_internal/components/data-display/DataGrid/DataGrid.model.js +12 -1
- package/dist/_internal/components/data-display/DataViews/DataViewsBoard.js +6 -6
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +28 -27
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +34 -33
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +6 -6
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +6 -6
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +7 -7
- package/dist/_internal/components/data-display/DataViews/base-card.js +6 -6
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +15 -10
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +14 -9
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +16 -11
- package/dist/_internal/components/data-display/DataViews/data-views-bar-controls.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-columns-tab.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-columns.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-day-input.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +11 -10
- package/dist/_internal/components/data-display/DataViews/data-views-display-tabs.js +12 -7
- package/dist/_internal/components/data-display/DataViews/data-views-empty.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-export.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +13 -12
- 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 +27 -26
- package/dist/_internal/components/data-display/DataViews/data-views-header-row.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +8 -8
- package/dist/_internal/components/data-display/DataViews/data-views-layout-context.js +11 -1
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +7 -7
- package/dist/_internal/components/data-display/DataViews/data-views-number-input.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-pagination.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-scope-tabs.js +10 -2
- package/dist/_internal/components/data-display/DataViews/data-views-search.js +1 -1
- package/dist/_internal/components/data-display/DataViews/data-views-select-all-strip.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +14 -13
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +9 -9
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +13 -12
- package/dist/_internal/components/data-display/DataViews/data-views-view-nav.js +6 -6
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +10 -2
- package/dist/_internal/components/data-display/DataViews/save-view-preview.js +6 -6
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +3 -3
- package/dist/_internal/components/data-display/DescriptionItem/DescriptionItem.js +6 -6
- package/dist/_internal/components/data-display/FleetMap/FleetBody.js +1 -1
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +1 -1
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +4 -4
- package/dist/_internal/components/data-display/MapPreview/MapLayers.js +1 -1
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +1 -1
- package/dist/_internal/components/data-display/MapPreview/MapSearchBar.js +1 -1
- package/dist/_internal/components/data-display/Progress/Progress.js +6 -6
- package/dist/_internal/components/data-display/Progress/Progress.metrics.js +4 -4
- package/dist/_internal/components/data-display/Progress/Progress.styles.js +5 -5
- package/dist/_internal/components/data-display/Sheet/Sheet.body.js +4 -4
- package/dist/_internal/components/data-display/Sheet/Sheet.js +4 -4
- package/dist/_internal/components/data-display/Sheet/Sheet.styles.js +4 -4
- package/dist/_internal/components/data-display/Table/Table.helpers.js +3 -1
- package/dist/_internal/components/data-display/Table/Table.js +11 -3
- package/dist/_internal/components/data-display/Table/TableParts.hooks.js +2 -2
- package/dist/_internal/components/data-display/Table/TableParts.js +2 -2
- package/dist/_internal/components/data-display/index.js +15 -15
- 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 +3 -3
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.js +1 -1
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocompleteField.js +1 -1
- package/dist/_internal/components/form/AddressAutocomplete/AddressFallbackField.js +1 -1
- package/dist/_internal/components/form/AddressAutocomplete/AddressInputField.js +1 -1
- package/dist/_internal/components/form/AddressAutocomplete/AddressTextField.js +1 -1
- package/dist/_internal/components/form/Autocomplete/Autocomplete.js +1 -1
- package/dist/_internal/components/form/Autocomplete/Autocomplete.parts.js +1 -1
- package/dist/_internal/components/form/Button/Button.js +3 -3
- package/dist/_internal/components/form/Button/Button.styles.js +3 -3
- package/dist/_internal/components/form/CategorySelect/CategoryPanel.js +1 -1
- package/dist/_internal/components/form/CategorySelect/CategoryPanelFoot.js +1 -1
- package/dist/_internal/components/form/CategorySelect/CategoryPanelHead.js +1 -1
- package/dist/_internal/components/form/CategorySelect/CategoryPanelList.js +1 -1
- package/dist/_internal/components/form/CategorySelect/CategoryRows.js +1 -1
- package/dist/_internal/components/form/CategorySelect/CategorySelect.js +1 -1
- package/dist/_internal/components/form/CategorySelect/CategorySelect.styles.js +1 -1
- package/dist/_internal/components/form/CategorySelect/CategoryTrigger.js +1 -1
- package/dist/_internal/components/form/CepField/CepField.js +1 -1
- package/dist/_internal/components/form/Command/Command.js +4 -4
- package/dist/_internal/components/form/Command/Command.styles.js +4 -4
- package/dist/_internal/components/form/CreatableSelect/CreatableSelect.js +1 -1
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.hooks.js +1 -1
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +1 -1
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.range.js +1 -1
- package/dist/_internal/components/form/DateRangePicker/DateRangePickerFields.js +1 -1
- package/dist/_internal/components/form/Input/Input.js +1 -1
- package/dist/_internal/components/form/Input/Input.styles.js +1 -1
- package/dist/_internal/components/form/InputOTP/InputOTP.js +1 -1
- package/dist/_internal/components/form/InputOTP/InputOTP.styles.js +1 -1
- package/dist/_internal/components/form/Label/Label.js +4 -4
- package/dist/_internal/components/form/Label/Label.styles.js +4 -4
- package/dist/_internal/components/form/Menubar/Menubar.item.js +4 -4
- package/dist/_internal/components/form/Menubar/Menubar.js +4 -4
- package/dist/_internal/components/form/Menubar/Menubar.styles.js +4 -4
- package/dist/_internal/components/form/Menubar/Menubar.toolbar.js +4 -4
- package/dist/_internal/components/form/NumberField/NumberField.js +1 -1
- package/dist/_internal/components/form/PhoneInput/PhoneInput.js +1 -1
- package/dist/_internal/components/form/RadioGroup/RadioGroup.js +1 -1
- package/dist/_internal/components/form/RadioGroup/RadioGroup.styles.js +1 -1
- package/dist/_internal/components/form/RadioGroup/RadioGroup.variants.js +1 -1
- package/dist/_internal/components/form/Select/Select.js +1 -1
- package/dist/_internal/components/form/Switch/Switch.js +3 -3
- package/dist/_internal/components/form/Switch/Switch.parts.js +3 -3
- package/dist/_internal/components/form/Switch/Switch.styles.js +3 -3
- package/dist/_internal/components/form/Textarea/Textarea.js +2 -2
- package/dist/_internal/components/form/Textarea/TextareaRichEditor.js +1 -1
- package/dist/_internal/components/form/Toggle/Toggle.js +1 -1
- package/dist/_internal/components/form/Toggle/Toggle.styles.js +1 -1
- package/dist/_internal/components/form/ToggleGroup/ToggleGroup.js +1 -1
- package/dist/_internal/components/form/index.js +5 -5
- package/dist/_internal/components/form/total-form/Fields/CategoryField.js +1 -1
- package/dist/_internal/components/form/total-form/Fields/CepField.js +1 -1
- package/dist/_internal/components/form/total-form/Fields/SelectField.js +1 -1
- package/dist/_internal/components/form/total-form/Fields/TextField.js +1 -1
- package/dist/_internal/components/form/total-form/Fields/ToggleField.js +1 -1
- package/dist/_internal/components/form/total-form/Fields/index.js +1 -1
- package/dist/_internal/components/form/total-form/SubmitButton.js +3 -3
- package/dist/_internal/components/index.js +28 -28
- package/dist/_internal/components/layout/Box/Box.js +7 -7
- package/dist/_internal/components/layout/ContentToolbar/ColumnsMenu.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/MultiSelectTriggers.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/SettingCard/SettingCard.js +9 -9
- package/dist/_internal/components/layout/SettingCard/SettingCard.parts.js +8 -8
- package/dist/_internal/components/layout/SettingCard/SettingGrid.js +9 -9
- package/dist/_internal/components/layout/SettingCard/SettingGroup.js +10 -10
- package/dist/_internal/components/layout/SettingCard/SettingSwitch.js +9 -9
- package/dist/_internal/components/layout/SettingCard/SettingToggle.js +10 -10
- package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.js +4 -4
- package/dist/_internal/components/layout/SettingsLayout/SettingsPanel.js +3 -3
- package/dist/_internal/components/layout/SettingsLayout/SettingsSectionChips.js +2 -2
- package/dist/_internal/components/layout/SettingsLayout/SettingsSectionChips.scroll.js +1 -1
- package/dist/_internal/components/layout/Stack/Stack.js +8 -8
- package/dist/_internal/components/layout/TableFilter/TableFilter.js +1 -1
- package/dist/_internal/components/layout/index.js +13 -13
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +4 -4
- package/dist/_internal/components/navigation/AppHeader/AppHeader.identity.js +4 -4
- package/dist/_internal/components/navigation/Pagination/Pagination.js +1 -1
- package/dist/_internal/components/navigation/Pagination/PaginationParts.js +1 -1
- package/dist/_internal/components/navigation/Tabs/Tabs.js +1 -1
- package/dist/_internal/components/navigation/Tabs/Tabs.styles.js +1 -1
- package/dist/_internal/components/navigation/index.js +4 -4
- package/dist/_internal/components/typography/Heading/Heading.js +6 -6
- package/dist/_internal/components/typography/Heading/Heading.metrics.js +4 -4
- package/dist/_internal/components/typography/Heading/Heading.styles.js +5 -5
- package/dist/_internal/components/typography/Text/Text.js +5 -5
- package/dist/_internal/components/typography/Text/Text.metrics.js +4 -4
- package/dist/_internal/components/typography/index.js +8 -8
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.helpers.js +4 -4
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.js +4 -4
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.parts.js +4 -4
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStepRow.js +4 -4
- package/dist/_internal/components/utility/index.js +4 -4
- package/dist/_internal/icons/Icon.js +7 -7
- package/dist/_internal/provider/UiProvider.js +6 -6
- package/dist/_internal/provider/mui-bridge.js +5 -5
- package/dist/_internal/provider/use-ui-theme.js +6 -6
- package/dist/_internal/social-login-button/social-login-button.js +9 -9
- package/dist/_internal/tokens/density.js +1 -1
- package/dist/_internal/tokens/field-height.js +1 -1
- package/dist/_internal/tokens/theme.js +3 -3
- package/dist/_internal/user-avatar/user-avatar.js +6 -6
- package/dist/charts.js +4 -4
- package/dist/{chunk-YPIVLPXF.js → chunk-33NBMNTB.js} +2 -2
- package/dist/{chunk-JE6GQB5J.js → chunk-4Z2HIHA5.js} +4 -4
- package/dist/{chunk-FHW3ATT7.js → chunk-53HQNN3C.js} +2 -2
- package/dist/{chunk-53O2TNSR.js → chunk-5DAVXZPY.js} +3 -3
- package/dist/{chunk-DH5UJD2I.js → chunk-5FHPZOYK.js} +2 -2
- package/dist/{chunk-NSVSC6ZC.js → chunk-5PJM772Y.js} +4 -4
- package/dist/{chunk-VYM2GPR6.js → chunk-5PTCT3LF.js} +2 -2
- package/dist/{chunk-ZH2SZ6B3.js → chunk-652PYSML.js} +6 -6
- package/dist/{chunk-PEOOCQ2T.js → chunk-6IRJAIS4.js} +2 -2
- package/dist/{chunk-PAT2BQOQ.js → chunk-6IWO7CM2.js} +2 -2
- package/dist/{chunk-YFODI4KT.js → chunk-6WZUZHJM.js} +8 -8
- package/dist/{chunk-KCDNOMMT.js → chunk-6Z6PUG4C.js} +9 -3
- package/dist/chunk-6Z6PUG4C.js.map +1 -0
- package/dist/{chunk-QEI5DC6S.js → chunk-7KJOODQB.js} +1 -1
- package/dist/{chunk-6ZD3FI5P.js → chunk-AOFI3GDS.js} +4 -4
- package/dist/{chunk-H72YKEGD.js → chunk-AOKLEE64.js} +2 -2
- package/dist/{chunk-RDFPM2AQ.js → chunk-BJGUDLWZ.js} +4 -4
- package/dist/{chunk-TBMGYQJF.js → chunk-BKBELIUR.js} +2 -2
- package/dist/{chunk-X66E5WSX.js → chunk-C4QKXFZN.js} +3 -3
- package/dist/{chunk-OJUORFGO.js → chunk-C6JUGWAU.js} +4 -4
- package/dist/{chunk-DLWLIPCP.js → chunk-CKFZQQ6T.js} +2 -2
- package/dist/{chunk-Z2NN53E5.js → chunk-DCT2PKMQ.js} +2 -2
- package/dist/{chunk-JMEPGXJG.js → chunk-DHW5UMUG.js} +2 -2
- package/dist/{chunk-G6ZPQHBL.js → chunk-DSHM7VN6.js} +2 -2
- package/dist/{chunk-WV62BSWA.js → chunk-F5BYZNXY.js} +2 -2
- package/dist/{chunk-RDZGXJOD.js → chunk-F5GXWK6B.js} +2 -2
- package/dist/{chunk-4Z7GEO2R.js → chunk-G7RYAWPZ.js} +2 -2
- package/dist/{chunk-4S2LWZ7L.js → chunk-GO6XDMBB.js} +2 -2
- package/dist/{chunk-KHOAXZW2.js → chunk-H3GYVR7S.js} +3 -3
- package/dist/{chunk-XZJM6EPC.js → chunk-HUAQQ5ZL.js} +12 -2
- package/dist/chunk-HUAQQ5ZL.js.map +1 -0
- package/dist/{chunk-C6OVO6AT.js → chunk-I6MVJWUO.js} +2 -2
- package/dist/{chunk-4XHVGUOM.js → chunk-J2SFOLGZ.js} +2 -2
- package/dist/{chunk-7TE4TMS3.js → chunk-JSOJKHEI.js} +3 -3
- package/dist/{chunk-ZNBLGS66.js → chunk-K62RHTFB.js} +3 -3
- package/dist/{chunk-6N2EDWMG.js → chunk-KWU62UPM.js} +2 -2
- package/dist/{chunk-NHEWST3N.js → chunk-L3MRRAZM.js} +3 -2
- package/dist/chunk-L3MRRAZM.js.map +1 -0
- package/dist/{chunk-CJ45OL7L.js → chunk-M2GVHVE4.js} +2 -2
- package/dist/{chunk-BX7QWHKC.js → chunk-MBNXCCRG.js} +4 -4
- package/dist/{chunk-ZSTUKSTJ.js → chunk-MLUUF7OZ.js} +2 -2
- package/dist/{chunk-KW3H5FUS.js → chunk-MPYIEIBA.js} +2 -2
- package/dist/{chunk-DFI2RKVQ.js → chunk-MRWYKNBY.js} +2 -2
- package/dist/{chunk-AP4LSXRK.js → chunk-NYT3UVOH.js} +8 -8
- package/dist/{chunk-YWJDUJAR.js → chunk-O6IF4BZT.js} +2 -2
- package/dist/{chunk-3UEZ6NUI.js → chunk-OCQ6GDCF.js} +2 -2
- package/dist/{chunk-JAGAFEZL.js → chunk-OD3L6GX5.js} +2 -2
- package/dist/{chunk-RPBGUWNF.js → chunk-ON4TRXCM.js} +3 -3
- package/dist/{chunk-NOLSQK4J.js → chunk-PGV2FLE3.js} +2 -2
- package/dist/{chunk-GT2RCOHM.js → chunk-QLAFJZDS.js} +31 -13
- package/dist/chunk-QLAFJZDS.js.map +1 -0
- package/dist/{chunk-C2TERIB4.js → chunk-QSNLIWEB.js} +2 -2
- package/dist/{chunk-XZY7O7JJ.js → chunk-RHKT2XW2.js} +2 -2
- package/dist/{chunk-TDXEO2UI.js → chunk-RJ35IXFD.js} +2 -2
- package/dist/{chunk-4SHMSLFA.js → chunk-RRG75JJS.js} +2 -2
- package/dist/{chunk-6MD5QXXJ.js → chunk-RWRPF24F.js} +4 -4
- package/dist/{chunk-VPAOVEI2.js → chunk-SJGYMI6Y.js} +3 -3
- package/dist/{chunk-EQXIW5MQ.js → chunk-TCMH3FXD.js} +2 -2
- package/dist/{chunk-STTULW2K.js → chunk-TE3XYCX7.js} +2 -2
- package/dist/{chunk-TJ3334AJ.js → chunk-TMW7RBW7.js} +3 -3
- package/dist/{chunk-DGMDQHMI.js → chunk-U6DOF5CR.js} +14 -2
- package/dist/chunk-U6DOF5CR.js.map +1 -0
- package/dist/{chunk-3GYPZ5MI.js → chunk-UP7SSTCZ.js} +6 -6
- package/dist/{chunk-IWGW2E35.js → chunk-WF4XK5AS.js} +2 -2
- package/dist/{chunk-6REPQ352.js → chunk-WL7IG7TT.js} +2 -2
- package/dist/{chunk-U67ZQ6VM.js → chunk-YIWVHEPW.js} +2 -2
- package/dist/{chunk-DH77PLFF.js → chunk-YTVXT5TD.js} +2 -2
- package/dist/{chunk-MKLIMY3D.js → chunk-YZHX2HTC.js} +2 -2
- package/dist/{chunk-SQNQQTP7.js → chunk-Z6LTEJ7F.js} +7 -5
- package/dist/chunk-Z6LTEJ7F.js.map +1 -0
- package/dist/data-display/Alert.js +3 -3
- package/dist/data-display/Badge.js +4 -4
- package/dist/data-display/Banner.js +3 -3
- package/dist/data-display/CardKit.js +3 -3
- package/dist/data-display/Carousel.js +4 -4
- package/dist/data-display/Chart.js +4 -4
- package/dist/data-display/DataGrid.js +11 -2
- package/dist/data-display/DataViews.js +39 -38
- package/dist/data-display/DescriptionItem.js +6 -6
- package/dist/data-display/FleetMap.js +4 -4
- package/dist/data-display/MapPreview.js +1 -1
- package/dist/data-display/Progress.js +6 -6
- package/dist/data-display/Sheet.js +4 -4
- package/dist/data-display/Table.js +11 -3
- package/dist/feedback/ConfirmAction.js +3 -3
- package/dist/feedback/NotificationStatusNotice.js +3 -3
- package/dist/form/AddressAutocomplete.js +1 -1
- package/dist/form/Autocomplete.js +1 -1
- package/dist/form/Button.js +3 -3
- package/dist/form/CategorySelect.js +1 -1
- package/dist/form/CepField.js +1 -1
- package/dist/form/Command.js +4 -4
- package/dist/form/CreatableSelect.js +1 -1
- package/dist/form/DateRangePicker.js +1 -1
- package/dist/form/Input.js +1 -1
- package/dist/form/InputOTP.js +1 -1
- package/dist/form/Label.js +4 -4
- package/dist/form/Menubar.js +4 -4
- package/dist/form/NumberField.js +1 -1
- package/dist/form/PhoneInput.js +1 -1
- package/dist/form/RadioGroup.js +1 -1
- package/dist/form/Select.js +1 -1
- package/dist/form/Switch.js +3 -3
- package/dist/form/Textarea.js +2 -2
- package/dist/form/Toggle.js +1 -1
- package/dist/form/ToggleGroup.js +1 -1
- package/dist/form/total-form.js +3 -3
- package/dist/icons.js +7 -7
- package/dist/layout/Box.js +7 -7
- package/dist/layout/ContentToolbar.js +1 -1
- package/dist/layout/SettingCard.js +13 -13
- package/dist/layout/SettingsLayout.js +4 -4
- package/dist/layout/Stack.js +8 -8
- package/dist/layout/TableFilter.js +1 -1
- package/dist/navigation/AppHeader.js +4 -4
- package/dist/navigation/Pagination.js +1 -1
- package/dist/navigation/Tabs.js +1 -1
- package/dist/provider.js +7 -7
- package/dist/social-login-button.js +9 -9
- package/dist/tokens.js +15 -15
- package/dist/types/components/data-display/DataGrid/DataGrid.d.ts.map +1 -1
- package/dist/types/components/data-display/DataGrid/DataGrid.model.d.ts +19 -1
- package/dist/types/components/data-display/DataGrid/DataGrid.model.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-layout-context.d.ts +12 -0
- package/dist/types/components/data-display/DataViews/data-views-layout-context.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/Table.d.ts.map +1 -1
- package/dist/types/components/data-display/Table/Table.helpers.d.ts +10 -1
- package/dist/types/components/data-display/Table/Table.helpers.d.ts.map +1 -1
- package/dist/types/components/layout/SettingsLayout/SettingsSectionChips.scroll.d.ts.map +1 -1
- package/dist/typography/Heading.js +6 -6
- package/dist/typography/Text.js +5 -5
- package/dist/user-avatar.js +6 -6
- package/dist/utility/WorkflowStep.js +4 -4
- package/package.json +1 -1
- package/src/components/data-display/DataGrid/DataGrid.model.ts +30 -1
- package/src/components/data-display/DataGrid/DataGrid.tsx +9 -4
- package/src/components/data-display/DataViews/data-views-layout-context.tsx +24 -1
- package/src/components/data-display/Table/Table.helpers.ts +20 -2
- package/src/components/data-display/Table/Table.tsx +5 -2
- package/src/components/layout/SettingsLayout/SettingsSectionChips.scroll.ts +52 -16
- package/dist/chunk-DGMDQHMI.js.map +0 -1
- package/dist/chunk-GT2RCOHM.js.map +0 -1
- package/dist/chunk-KCDNOMMT.js.map +0 -1
- package/dist/chunk-NHEWST3N.js.map +0 -1
- package/dist/chunk-SQNQQTP7.js.map +0 -1
- package/dist/chunk-XZJM6EPC.js.map +0 -1
- /package/dist/{chunk-YPIVLPXF.js.map → chunk-33NBMNTB.js.map} +0 -0
- /package/dist/{chunk-JE6GQB5J.js.map → chunk-4Z2HIHA5.js.map} +0 -0
- /package/dist/{chunk-FHW3ATT7.js.map → chunk-53HQNN3C.js.map} +0 -0
- /package/dist/{chunk-53O2TNSR.js.map → chunk-5DAVXZPY.js.map} +0 -0
- /package/dist/{chunk-DH5UJD2I.js.map → chunk-5FHPZOYK.js.map} +0 -0
- /package/dist/{chunk-NSVSC6ZC.js.map → chunk-5PJM772Y.js.map} +0 -0
- /package/dist/{chunk-VYM2GPR6.js.map → chunk-5PTCT3LF.js.map} +0 -0
- /package/dist/{chunk-ZH2SZ6B3.js.map → chunk-652PYSML.js.map} +0 -0
- /package/dist/{chunk-PEOOCQ2T.js.map → chunk-6IRJAIS4.js.map} +0 -0
- /package/dist/{chunk-PAT2BQOQ.js.map → chunk-6IWO7CM2.js.map} +0 -0
- /package/dist/{chunk-YFODI4KT.js.map → chunk-6WZUZHJM.js.map} +0 -0
- /package/dist/{chunk-QEI5DC6S.js.map → chunk-7KJOODQB.js.map} +0 -0
- /package/dist/{chunk-6ZD3FI5P.js.map → chunk-AOFI3GDS.js.map} +0 -0
- /package/dist/{chunk-H72YKEGD.js.map → chunk-AOKLEE64.js.map} +0 -0
- /package/dist/{chunk-RDFPM2AQ.js.map → chunk-BJGUDLWZ.js.map} +0 -0
- /package/dist/{chunk-TBMGYQJF.js.map → chunk-BKBELIUR.js.map} +0 -0
- /package/dist/{chunk-X66E5WSX.js.map → chunk-C4QKXFZN.js.map} +0 -0
- /package/dist/{chunk-OJUORFGO.js.map → chunk-C6JUGWAU.js.map} +0 -0
- /package/dist/{chunk-DLWLIPCP.js.map → chunk-CKFZQQ6T.js.map} +0 -0
- /package/dist/{chunk-Z2NN53E5.js.map → chunk-DCT2PKMQ.js.map} +0 -0
- /package/dist/{chunk-JMEPGXJG.js.map → chunk-DHW5UMUG.js.map} +0 -0
- /package/dist/{chunk-G6ZPQHBL.js.map → chunk-DSHM7VN6.js.map} +0 -0
- /package/dist/{chunk-WV62BSWA.js.map → chunk-F5BYZNXY.js.map} +0 -0
- /package/dist/{chunk-RDZGXJOD.js.map → chunk-F5GXWK6B.js.map} +0 -0
- /package/dist/{chunk-4Z7GEO2R.js.map → chunk-G7RYAWPZ.js.map} +0 -0
- /package/dist/{chunk-4S2LWZ7L.js.map → chunk-GO6XDMBB.js.map} +0 -0
- /package/dist/{chunk-KHOAXZW2.js.map → chunk-H3GYVR7S.js.map} +0 -0
- /package/dist/{chunk-C6OVO6AT.js.map → chunk-I6MVJWUO.js.map} +0 -0
- /package/dist/{chunk-4XHVGUOM.js.map → chunk-J2SFOLGZ.js.map} +0 -0
- /package/dist/{chunk-7TE4TMS3.js.map → chunk-JSOJKHEI.js.map} +0 -0
- /package/dist/{chunk-ZNBLGS66.js.map → chunk-K62RHTFB.js.map} +0 -0
- /package/dist/{chunk-6N2EDWMG.js.map → chunk-KWU62UPM.js.map} +0 -0
- /package/dist/{chunk-CJ45OL7L.js.map → chunk-M2GVHVE4.js.map} +0 -0
- /package/dist/{chunk-BX7QWHKC.js.map → chunk-MBNXCCRG.js.map} +0 -0
- /package/dist/{chunk-ZSTUKSTJ.js.map → chunk-MLUUF7OZ.js.map} +0 -0
- /package/dist/{chunk-KW3H5FUS.js.map → chunk-MPYIEIBA.js.map} +0 -0
- /package/dist/{chunk-DFI2RKVQ.js.map → chunk-MRWYKNBY.js.map} +0 -0
- /package/dist/{chunk-AP4LSXRK.js.map → chunk-NYT3UVOH.js.map} +0 -0
- /package/dist/{chunk-YWJDUJAR.js.map → chunk-O6IF4BZT.js.map} +0 -0
- /package/dist/{chunk-3UEZ6NUI.js.map → chunk-OCQ6GDCF.js.map} +0 -0
- /package/dist/{chunk-JAGAFEZL.js.map → chunk-OD3L6GX5.js.map} +0 -0
- /package/dist/{chunk-RPBGUWNF.js.map → chunk-ON4TRXCM.js.map} +0 -0
- /package/dist/{chunk-NOLSQK4J.js.map → chunk-PGV2FLE3.js.map} +0 -0
- /package/dist/{chunk-C2TERIB4.js.map → chunk-QSNLIWEB.js.map} +0 -0
- /package/dist/{chunk-XZY7O7JJ.js.map → chunk-RHKT2XW2.js.map} +0 -0
- /package/dist/{chunk-TDXEO2UI.js.map → chunk-RJ35IXFD.js.map} +0 -0
- /package/dist/{chunk-4SHMSLFA.js.map → chunk-RRG75JJS.js.map} +0 -0
- /package/dist/{chunk-6MD5QXXJ.js.map → chunk-RWRPF24F.js.map} +0 -0
- /package/dist/{chunk-VPAOVEI2.js.map → chunk-SJGYMI6Y.js.map} +0 -0
- /package/dist/{chunk-EQXIW5MQ.js.map → chunk-TCMH3FXD.js.map} +0 -0
- /package/dist/{chunk-STTULW2K.js.map → chunk-TE3XYCX7.js.map} +0 -0
- /package/dist/{chunk-TJ3334AJ.js.map → chunk-TMW7RBW7.js.map} +0 -0
- /package/dist/{chunk-3GYPZ5MI.js.map → chunk-UP7SSTCZ.js.map} +0 -0
- /package/dist/{chunk-IWGW2E35.js.map → chunk-WF4XK5AS.js.map} +0 -0
- /package/dist/{chunk-6REPQ352.js.map → chunk-WL7IG7TT.js.map} +0 -0
- /package/dist/{chunk-U67ZQ6VM.js.map → chunk-YIWVHEPW.js.map} +0 -0
- /package/dist/{chunk-DH77PLFF.js.map → chunk-YTVXT5TD.js.map} +0 -0
- /package/dist/{chunk-MKLIMY3D.js.map → chunk-YZHX2HTC.js.map} +0 -0
package/dist/layout/Stack.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Stack
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-DCT2PKMQ.js";
|
|
4
4
|
import "../chunk-4GGH6ZQ7.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-G7RYAWPZ.js";
|
|
6
6
|
import "../chunk-7V6ZRQYW.js";
|
|
7
7
|
import "../chunk-OCUVKI63.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-QSNLIWEB.js";
|
|
9
|
+
import "../chunk-652PYSML.js";
|
|
10
10
|
import "../chunk-TYJR4GOF.js";
|
|
11
11
|
import "../chunk-ZSTSISM6.js";
|
|
12
|
-
import "../chunk-DJKVSUXH.js";
|
|
13
12
|
import "../chunk-7ZPUN7TV.js";
|
|
13
|
+
import "../chunk-DJKVSUXH.js";
|
|
14
14
|
import "../chunk-PT6TCWIW.js";
|
|
15
15
|
import "../chunk-M47ZOUGF.js";
|
|
16
16
|
import "../chunk-7FDU3FIN.js";
|
|
17
17
|
import "../chunk-EPEJMTCQ.js";
|
|
18
18
|
import "../chunk-GDN2LUTZ.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-VBP46YP4.js";
|
|
19
|
+
import "../chunk-6WZUZHJM.js";
|
|
21
20
|
import "../chunk-2BYKTBDL.js";
|
|
22
21
|
import "../chunk-AG66JBNH.js";
|
|
23
22
|
import "../chunk-FZXKH2ZT.js";
|
|
24
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-VBP46YP4.js";
|
|
25
24
|
import "../chunk-O6MJWHU5.js";
|
|
25
|
+
import "../chunk-26X4CZVR.js";
|
|
26
26
|
import "../chunk-FQ6UW7IY.js";
|
|
27
27
|
import "../chunk-6JAIFIPW.js";
|
|
28
28
|
import "../chunk-N3GAFIXG.js";
|
|
@@ -10,8 +10,8 @@ import "../chunk-M47ZOUGF.js";
|
|
|
10
10
|
import "../chunk-7FDU3FIN.js";
|
|
11
11
|
import "../chunk-EPEJMTCQ.js";
|
|
12
12
|
import "../chunk-GDN2LUTZ.js";
|
|
13
|
-
import "../chunk-26X4CZVR.js";
|
|
14
13
|
import "../chunk-O6MJWHU5.js";
|
|
14
|
+
import "../chunk-26X4CZVR.js";
|
|
15
15
|
import "../chunk-6JAIFIPW.js";
|
|
16
16
|
import "../chunk-YKCAJ2TN.js";
|
|
17
17
|
import "../chunk-PZ5AY32C.js";
|
|
@@ -39,20 +39,20 @@ import "../chunk-TYJR4GOF.js";
|
|
|
39
39
|
import "../chunk-AKZWDZCZ.js";
|
|
40
40
|
import "../chunk-HPK33ACY.js";
|
|
41
41
|
import "../chunk-ZSTSISM6.js";
|
|
42
|
-
import "../chunk-DJKVSUXH.js";
|
|
43
42
|
import "../chunk-7ZPUN7TV.js";
|
|
43
|
+
import "../chunk-DJKVSUXH.js";
|
|
44
44
|
import "../chunk-PT6TCWIW.js";
|
|
45
45
|
import "../chunk-M47ZOUGF.js";
|
|
46
46
|
import "../chunk-7FDU3FIN.js";
|
|
47
47
|
import "../chunk-EPEJMTCQ.js";
|
|
48
48
|
import "../chunk-GDN2LUTZ.js";
|
|
49
|
-
import "../chunk-
|
|
50
|
-
import "../chunk-VBP46YP4.js";
|
|
49
|
+
import "../chunk-6WZUZHJM.js";
|
|
51
50
|
import "../chunk-2BYKTBDL.js";
|
|
52
51
|
import "../chunk-AG66JBNH.js";
|
|
53
52
|
import "../chunk-FZXKH2ZT.js";
|
|
54
|
-
import "../chunk-
|
|
53
|
+
import "../chunk-VBP46YP4.js";
|
|
55
54
|
import "../chunk-O6MJWHU5.js";
|
|
55
|
+
import "../chunk-26X4CZVR.js";
|
|
56
56
|
import "../chunk-FQ6UW7IY.js";
|
|
57
57
|
import "../chunk-6JAIFIPW.js";
|
|
58
58
|
import "../chunk-N3GAFIXG.js";
|
|
@@ -9,8 +9,8 @@ import "../chunk-M47ZOUGF.js";
|
|
|
9
9
|
import "../chunk-7FDU3FIN.js";
|
|
10
10
|
import "../chunk-EPEJMTCQ.js";
|
|
11
11
|
import "../chunk-GDN2LUTZ.js";
|
|
12
|
-
import "../chunk-26X4CZVR.js";
|
|
13
12
|
import "../chunk-O6MJWHU5.js";
|
|
13
|
+
import "../chunk-26X4CZVR.js";
|
|
14
14
|
import "../chunk-6JAIFIPW.js";
|
|
15
15
|
import "../chunk-YKCAJ2TN.js";
|
|
16
16
|
import "../chunk-PZ5AY32C.js";
|
package/dist/navigation/Tabs.js
CHANGED
|
@@ -8,8 +8,8 @@ import "../chunk-M47ZOUGF.js";
|
|
|
8
8
|
import "../chunk-7FDU3FIN.js";
|
|
9
9
|
import "../chunk-EPEJMTCQ.js";
|
|
10
10
|
import "../chunk-GDN2LUTZ.js";
|
|
11
|
-
import "../chunk-26X4CZVR.js";
|
|
12
11
|
import "../chunk-O6MJWHU5.js";
|
|
12
|
+
import "../chunk-26X4CZVR.js";
|
|
13
13
|
import "../chunk-6JAIFIPW.js";
|
|
14
14
|
import "../chunk-YKCAJ2TN.js";
|
|
15
15
|
import "../chunk-PZ5AY32C.js";
|
package/dist/provider.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UiProvider
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K62RHTFB.js";
|
|
4
4
|
import "./chunk-XZTRZ3HO.js";
|
|
5
5
|
import {
|
|
6
6
|
useUiTheme
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QSNLIWEB.js";
|
|
8
8
|
import {
|
|
9
9
|
muiThemeOptionsFrom,
|
|
10
10
|
uiThemeFromMui
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-652PYSML.js";
|
|
12
12
|
import "./chunk-ZSTSISM6.js";
|
|
13
|
-
import "./chunk-DJKVSUXH.js";
|
|
14
13
|
import "./chunk-7ZPUN7TV.js";
|
|
14
|
+
import "./chunk-DJKVSUXH.js";
|
|
15
15
|
import "./chunk-PT6TCWIW.js";
|
|
16
16
|
import "./chunk-M47ZOUGF.js";
|
|
17
17
|
import "./chunk-7FDU3FIN.js";
|
|
18
18
|
import "./chunk-EPEJMTCQ.js";
|
|
19
19
|
import "./chunk-GDN2LUTZ.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-VBP46YP4.js";
|
|
20
|
+
import "./chunk-6WZUZHJM.js";
|
|
22
21
|
import "./chunk-2BYKTBDL.js";
|
|
23
22
|
import "./chunk-AG66JBNH.js";
|
|
24
23
|
import "./chunk-FZXKH2ZT.js";
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-VBP46YP4.js";
|
|
26
25
|
import "./chunk-O6MJWHU5.js";
|
|
26
|
+
import "./chunk-26X4CZVR.js";
|
|
27
27
|
import "./chunk-FQ6UW7IY.js";
|
|
28
28
|
import "./chunk-6JAIFIPW.js";
|
|
29
29
|
import "./chunk-N3GAFIXG.js";
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
GoogleIcon,
|
|
5
5
|
SocialLoginButton,
|
|
6
6
|
SocialLoginContainer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JSOJKHEI.js";
|
|
8
8
|
import "./chunk-INGPH3YQ.js";
|
|
9
9
|
import "./chunk-6GP2DOOO.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-C4QKXFZN.js";
|
|
11
|
+
import "./chunk-WF4XK5AS.js";
|
|
12
|
+
import "./chunk-M2GVHVE4.js";
|
|
13
13
|
import "./chunk-CMMPGAMJ.js";
|
|
14
14
|
import "./chunk-RWXYND4H.js";
|
|
15
15
|
import "./chunk-JIRZ27RI.js";
|
|
@@ -24,21 +24,21 @@ import "./chunk-K6LNHHSH.js";
|
|
|
24
24
|
import "./chunk-ZKWVCSAB.js";
|
|
25
25
|
import "./chunk-LN46DSMF.js";
|
|
26
26
|
import "./chunk-TAMIZE4Q.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-YZHX2HTC.js";
|
|
28
|
+
import "./chunk-6IWO7CM2.js";
|
|
29
29
|
import "./chunk-TYJR4GOF.js";
|
|
30
30
|
import "./chunk-PT6TCWIW.js";
|
|
31
31
|
import "./chunk-M47ZOUGF.js";
|
|
32
32
|
import "./chunk-7FDU3FIN.js";
|
|
33
33
|
import "./chunk-EPEJMTCQ.js";
|
|
34
34
|
import "./chunk-GDN2LUTZ.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-VBP46YP4.js";
|
|
35
|
+
import "./chunk-6WZUZHJM.js";
|
|
37
36
|
import "./chunk-2BYKTBDL.js";
|
|
38
37
|
import "./chunk-AG66JBNH.js";
|
|
39
38
|
import "./chunk-FZXKH2ZT.js";
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-VBP46YP4.js";
|
|
41
40
|
import "./chunk-O6MJWHU5.js";
|
|
41
|
+
import "./chunk-26X4CZVR.js";
|
|
42
42
|
import "./chunk-FQ6UW7IY.js";
|
|
43
43
|
import "./chunk-6JAIFIPW.js";
|
|
44
44
|
import "./chunk-N3GAFIXG.js";
|
package/dist/tokens.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
accentFor
|
|
3
3
|
} from "./chunk-ZSTSISM6.js";
|
|
4
|
-
import {
|
|
5
|
-
densityThemeOptions,
|
|
6
|
-
useDensity
|
|
7
|
-
} from "./chunk-DJKVSUXH.js";
|
|
8
4
|
import {
|
|
9
5
|
COLOR_VALUES,
|
|
10
6
|
SIZE_VALUES,
|
|
@@ -12,6 +8,10 @@ import {
|
|
|
12
8
|
muiSize,
|
|
13
9
|
paletteKey
|
|
14
10
|
} from "./chunk-7ZPUN7TV.js";
|
|
11
|
+
import {
|
|
12
|
+
densityThemeOptions,
|
|
13
|
+
useDensity
|
|
14
|
+
} from "./chunk-DJKVSUXH.js";
|
|
15
15
|
import {
|
|
16
16
|
headingMetrics
|
|
17
17
|
} from "./chunk-PT6TCWIW.js";
|
|
@@ -45,15 +45,7 @@ import {
|
|
|
45
45
|
augmentColor,
|
|
46
46
|
createUiTheme,
|
|
47
47
|
px
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import {
|
|
50
|
-
DEFAULT_DENSITY,
|
|
51
|
-
DENSITY_FACTOR,
|
|
52
|
-
densityFieldHeight,
|
|
53
|
-
densityFontSize,
|
|
54
|
-
densitySpacingUnit,
|
|
55
|
-
resolveDensityFactor
|
|
56
|
-
} from "./chunk-VBP46YP4.js";
|
|
48
|
+
} from "./chunk-6WZUZHJM.js";
|
|
57
49
|
import {
|
|
58
50
|
contrastText,
|
|
59
51
|
inkOver
|
|
@@ -64,8 +56,13 @@ import {
|
|
|
64
56
|
HEADING_SCALE
|
|
65
57
|
} from "./chunk-FZXKH2ZT.js";
|
|
66
58
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
59
|
+
DEFAULT_DENSITY,
|
|
60
|
+
DENSITY_FACTOR,
|
|
61
|
+
densityFieldHeight,
|
|
62
|
+
densityFontSize,
|
|
63
|
+
densitySpacingUnit,
|
|
64
|
+
resolveDensityFactor
|
|
65
|
+
} from "./chunk-VBP46YP4.js";
|
|
69
66
|
import {
|
|
70
67
|
DEFAULT_FIELD_HEIGHT,
|
|
71
68
|
FIELD_BORDER_WIDTH,
|
|
@@ -73,6 +70,9 @@ import {
|
|
|
73
70
|
fieldHeightPx,
|
|
74
71
|
fieldHeightRem
|
|
75
72
|
} from "./chunk-O6MJWHU5.js";
|
|
73
|
+
import {
|
|
74
|
+
DEFAULT_FIELD_RADIUS
|
|
75
|
+
} from "./chunk-26X4CZVR.js";
|
|
76
76
|
import {
|
|
77
77
|
DEFAULT_UI_INK,
|
|
78
78
|
absoluteInk,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataGrid/DataGrid.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"DataGrid.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataGrid/DataGrid.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAE,aAAa,EAAe,MAAM,kBAAkB,CAAC;AA+CnE,eAAO,MAAM,QAAQ;KAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,mCACjD,aAAa,CAAC,CAAC,CAAC,GACtB,KAAK,CAAC,GAAG,CAAC,OAAO;;CAyCnB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,wWA2BlB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { type DensityLevel } from '../../../tokens/density';
|
|
3
|
+
import type { DataGridProps, GridColumn, GridDensity, GridSort } from './DataGrid.types';
|
|
3
4
|
/** Which id is being edited, or `null`. */
|
|
4
5
|
export interface EditingCell {
|
|
5
6
|
rowId: string | number;
|
|
@@ -13,6 +14,13 @@ export interface VisibleRange {
|
|
|
13
14
|
/** Everything the render needs, and nothing it has to derive. */
|
|
14
15
|
export interface DataGridModel<T extends Record<string, unknown>> {
|
|
15
16
|
containerRef: React.RefObject<HTMLDivElement | null>;
|
|
17
|
+
/**
|
|
18
|
+
* The density this render actually used: `props.density`, else the
|
|
19
|
+
* theme-driven default (FUT-2769, {@link mapThemeToGridDensity}). The same
|
|
20
|
+
* value `rowHeight` was scaled by — read it here rather than re-deriving it,
|
|
21
|
+
* so the reported default and the geometry can never disagree.
|
|
22
|
+
*/
|
|
23
|
+
density: GridDensity;
|
|
16
24
|
/** A row's height as CSS: the design height, density applied, through `rem`. */
|
|
17
25
|
rowHeight: string;
|
|
18
26
|
/**
|
|
@@ -37,5 +45,15 @@ export interface DataGridModel<T extends Record<string, unknown>> {
|
|
|
37
45
|
onToggleExpansion: (rowId: string | number) => void;
|
|
38
46
|
onScroll: (event: React.UIEvent<HTMLDivElement>) => void;
|
|
39
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* The theme's density level, aliased to `GridDensity` (FUT-2769 — umbrella
|
|
50
|
+
* Decision 7, non-breaking): `GridDensity`'s three names are not the theme's
|
|
51
|
+
* three names, so this is an alias table rather than a verbatim read.
|
|
52
|
+
* `'normal'` (the theme's own default, and what a theme with no density at
|
|
53
|
+
* all resolves to) maps to `'comfortable'` — today's literal default,
|
|
54
|
+
* unchanged — so the mapping is a no-op exactly when nothing about density
|
|
55
|
+
* has been said.
|
|
56
|
+
*/
|
|
57
|
+
export declare function mapThemeToGridDensity(level: DensityLevel): GridDensity;
|
|
40
58
|
export declare function useDataGridModel<T extends Record<string, unknown>>(props: DataGridProps<T>): DataGridModel<T>;
|
|
41
59
|
//# sourceMappingURL=DataGrid.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataGrid.model.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataGrid/DataGrid.model.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DataGrid.model.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataGrid/DataGrid.model.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAc,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAGxE,OAAO,KAAK,EACV,aAAa,EACb,UAAU,EACV,WAAW,EAEX,QAAQ,EAET,MAAM,kBAAkB,CAAC;AAY1B,2CAA2C;AAC3C,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,+CAA+C;AAC/C,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb;AAED,iEAAiE;AACjE,MAAM,WAAW,aAAa,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC9D,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IACrD;;;;;OAKG;IACH,OAAO,EAAE,WAAW,CAAC;IACrB,gFAAgF;IAChF,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IAChC,aAAa,EAAE,CAAC,EAAE,CAAC;IACnB,WAAW,EAAE,CAAC,EAAE,CAAC;IACjB,YAAY,EAAE,YAAY,CAAC;IAC3B,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,SAAS,QAAQ,EAAE,CAAC;IAC5B,cAAc,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACvC,iBAAiB,EAAE,WAAW,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAChD,iBAAiB,EAAE,WAAW,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAChD,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC,cAAc,EAAE,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IACnD,iBAAiB,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,IAAI,CAAC;IACzD,MAAM,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IACnE,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IACpD,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CAC1D;AASD;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,YAAY,GAAG,WAAW,CAItE;AA+MD,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChE,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,GACtB,aAAa,CAAC,CAAC,CAAC,CAyClB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
+
import { type DensityLevel } from "../../../tokens/density";
|
|
2
3
|
import { type DataViewsLayout } from "./data-views-types";
|
|
3
4
|
/**
|
|
4
5
|
* The DataViews layout (view type): the dense "Tabela" grid, the "Grade" of
|
|
@@ -91,6 +92,17 @@ interface LayoutAvailability {
|
|
|
91
92
|
canUseList: boolean;
|
|
92
93
|
canUseBoard: boolean;
|
|
93
94
|
}
|
|
95
|
+
/**
|
|
96
|
+
* The theme's density level, aliased to `DataViewsDensity` (FUT-2769 —
|
|
97
|
+
* umbrella Decision 7, non-breaking): `DataViewsDensity`'s three names are not
|
|
98
|
+
* the theme's three names, so this is an alias table rather than a verbatim
|
|
99
|
+
* read. `'normal'` (the theme's own default, and what a theme with no density
|
|
100
|
+
* at all resolves to) maps to `'cozy'` — today's literal default, unchanged —
|
|
101
|
+
* so the mapping is a no-op exactly when nothing about density has been said.
|
|
102
|
+
* The STORED per-viewer preference still wins over this default, unchanged
|
|
103
|
+
* from today (below).
|
|
104
|
+
*/
|
|
105
|
+
export declare function mapThemeToDataViewsDensity(level: DensityLevel): DataViewsDensity;
|
|
94
106
|
interface LayoutProviderProps extends Partial<LayoutAvailability> {
|
|
95
107
|
/** Which layout to show first when the user has expressed no preference. */
|
|
96
108
|
defaultLayout?: DataViewsLayout;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-views-layout-context.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/data-views-layout-context.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA2D,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"data-views-layout-context.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/DataViews/data-views-layout-context.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA2D,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAOhG,OAAO,EAAc,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAGxE,OAAO,EAAsB,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE9E;;;;;;;GAOG;AACH,YAAY,EAAE,eAAe,EAAE,CAAC;AAEhC,UAAU,oBAAoB;IAC5B,MAAM,EAAE,eAAe,CAAC;IACxB,SAAS,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IAC7C,oEAAoE;IACpE,OAAO,EAAE,gBAAgB,CAAC;IAC1B,UAAU,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAChD,2EAA2E;IAC3E,WAAW,EAAE,OAAO,CAAC;IACrB,6EAA6E;IAC7E,UAAU,EAAE,OAAO,CAAC;IACpB,mFAAmF;IACnF,WAAW,EAAE,OAAO,CAAC;IACrB,uEAAuE;IACvE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC;AAwBD;;;;;;;;GAQG;AACH,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,MAAM,GAAG,aAAa,CAAC;AAKlE,mFAAmF;AACnF,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAIhE,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAI/D,CAAC;AAEF,gGAAgG;AAChG,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,GAAG,MAAM,CAElF;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAIhE,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGrD;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAExD;AAED,oDAAoD;AACpD,UAAU,kBAAkB;IAC1B,WAAW,EAAE,OAAO,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;CACtB;AAYD;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,YAAY,GAAG,gBAAgB,CAIhF;AAmDD,UAAU,mBAAoB,SAAQ,OAAO,CAAC,kBAAkB,CAAC;IAC/D,4EAA4E;IAC5E,aAAa,CAAC,EAAE,eAAe,CAAC;IAChC;;;;;OAKG;IACH,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B;;;;;;;;;;;;;OAaG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,WAAmB,EACnB,UAAkB,EAClB,WAAmB,EACnB,aAAuB,EACvB,UAAU,EACV,kBAA0B,EAC1B,QAAQ,GACT,EAAE,mBAAmB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAsDzC;AAED,oEAAoE;AACpE,wBAAgB,kBAAkB,IAAI,oBAAoB,CAMzD;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,YAAY,EAAE,EAAE;IAAE,YAAY,EAAE,MAAM,CAAA;CAAE,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CA8BxG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/Table/Table.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAEV,YAAY,EACZ,UAAU,EACV,gBAAgB,EAAC,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/Table/Table.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAEV,YAAY,EACZ,UAAU,EACV,gBAAgB,EAAC,MAAM,eAAe,CAAC;AA6CzC,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CA+BA,CAAC;AAqBF,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,EAAE,UAAU,CAAC,CAAC;AAyMxF,eAAO,MAAM,KAAK,kGAmEjB,CAAC"}
|
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
import type { Theme } from '@mui/material/styles/index.js';
|
|
2
2
|
import type React from 'react';
|
|
3
|
-
import type {
|
|
3
|
+
import type { DensityLevel } from '../../../tokens/density';
|
|
4
|
+
import type { TableDensity, TableProps } from './Table.types';
|
|
4
5
|
/**
|
|
5
6
|
* A virtualised row's height in design px: the caller's `rowHeight`, else 52.
|
|
6
7
|
* Resolved here rather than in {@link TABLE_DEFAULTS} so the one number is read
|
|
7
8
|
* where it is drawn (`rem`) and where the window is positioned with it (`remPx`).
|
|
8
9
|
*/
|
|
9
10
|
export declare const tableRowHeight: (rowHeight: number | undefined) => number;
|
|
11
|
+
/**
|
|
12
|
+
* `density`'s default (FUT-2769): the caller's own prop, else the theme's
|
|
13
|
+
* level — `'normal'` for a theme with no density at all (`useDensity()`'s own
|
|
14
|
+
* fallback) or an unnamed numeric one. `TableDensity` is a verbatim match for
|
|
15
|
+
* the theme's `DensityLevel`, so no alias table is needed, unlike `DataGrid`'s
|
|
16
|
+
* `mapThemeToGridDensity` or `DataViews`' `mapThemeToDataViewsDensity`.
|
|
17
|
+
*/
|
|
18
|
+
export declare const resolveTableDensity: (explicit: TableDensity | undefined, themeLevel: DensityLevel | undefined) => TableDensity;
|
|
10
19
|
/**
|
|
11
20
|
* The table's one scroll container (FUT-2658): `containerHeight` tall
|
|
12
21
|
* whenever it is set, or 400 when `virtualScrolling` is on and it is not,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.helpers.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/Table/Table.helpers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Table.helpers.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/Table/Table.helpers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE9D;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,GAAG,SAAS,KAAG,MAAyB,CAAC;AAEzF;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,GAC9B,UAAU,YAAY,GAAG,SAAS,EAClC,YAAY,YAAY,GAAG,SAAS,KACnC,YAAkD,CAAC;AAQtD;;;;;;;;GAQG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,KAAK,EAAE,GAAG,UAAU,KAAG,KAAK,CAAC,aAAa,GAAG,SAGnE,CAAC;AAEhB;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAC9B,OAAO,KAAK,EACZ,cAAc,OAAO,GAAG,SAAS,KAChC,KAAK,CAAC,aAAa,GAAG,SAA4E,CAAC;AAEtG,gFAAgF;AAChF,eAAO,MAAM,cAAc,GAAI,OAAO,KAAK,EAAE,GAAG,UAAU,KAAG,KAAK,CAAC,aAAa,GAAG,SAIlF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,GACvB,cAAc,MAAM,GAAG,SAAS,EAChC,SAAS,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,uBAAuB,GAAG,IAAI,CAAC,KAClE,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,uBAAuB,GAAG,IAAI,CAAC,GAAG,SAC5B,CAAC;AAErC;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,GAAG,UAAU,KAAG,MAAM,GAAG,SAIxC,CAAC;AAQhB,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,UAAU,CAe9C,CAAC;AAKF,eAAO,MAAM,YAAY,GAAI,OAAO,UAAU,KAAG,OAAO,CAAC,UAAU,CAGzC,CAAC;AA2D3B;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,UAAU,KAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CACc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsSectionChips.scroll.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/SettingsLayout/SettingsSectionChips.scroll.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"SettingsSectionChips.scroll.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/SettingsLayout/SettingsSectionChips.scroll.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA2CH,UAAU,kBAAkB;IAC1B,4DAA4D;IAC5D,WAAW,EAAE,MAAM,OAAO,CAAC;IAC3B;;;OAGG;IACH,WAAW,EAAE,MAAM,OAAO,CAAC;IAC3B;;;OAGG;IACH,OAAO,EAAE,MAAM,MAAM,CAAC;IACtB;;;;;;;;OAQG;IACH,eAAe,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,wEAAwE;IACxE,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAC1C,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AA+ED,qEAAqE;AACrE,wBAAgB,UAAU,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAItD;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,WAAW,GAAG,MAAM,CAQ7D;AAED,2GAA2G;AAC3G,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAO5E;AA8GD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,WAAW,GAAG,kBAAkB,CAsEzE"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import "../chunk-6GP2DOOO.js";
|
|
2
2
|
import {
|
|
3
3
|
Heading
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-C4QKXFZN.js";
|
|
5
|
+
import "../chunk-WF4XK5AS.js";
|
|
6
|
+
import "../chunk-M2GVHVE4.js";
|
|
7
7
|
import "../chunk-TYJR4GOF.js";
|
|
8
8
|
import "../chunk-PT6TCWIW.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-VBP46YP4.js";
|
|
9
|
+
import "../chunk-6WZUZHJM.js";
|
|
11
10
|
import "../chunk-2BYKTBDL.js";
|
|
12
11
|
import "../chunk-AG66JBNH.js";
|
|
13
12
|
import "../chunk-FZXKH2ZT.js";
|
|
14
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-VBP46YP4.js";
|
|
15
14
|
import "../chunk-O6MJWHU5.js";
|
|
15
|
+
import "../chunk-26X4CZVR.js";
|
|
16
16
|
import "../chunk-FQ6UW7IY.js";
|
|
17
17
|
import "../chunk-6JAIFIPW.js";
|
|
18
18
|
import "../chunk-N3GAFIXG.js";
|
package/dist/typography/Text.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "../chunk-VUHLNYAE.js";
|
|
2
2
|
import {
|
|
3
3
|
Text
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-YZHX2HTC.js";
|
|
5
|
+
import "../chunk-6IWO7CM2.js";
|
|
6
6
|
import "../chunk-TYJR4GOF.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-VBP46YP4.js";
|
|
7
|
+
import "../chunk-6WZUZHJM.js";
|
|
9
8
|
import "../chunk-2BYKTBDL.js";
|
|
10
9
|
import "../chunk-AG66JBNH.js";
|
|
11
10
|
import "../chunk-FZXKH2ZT.js";
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-VBP46YP4.js";
|
|
13
12
|
import "../chunk-O6MJWHU5.js";
|
|
13
|
+
import "../chunk-26X4CZVR.js";
|
|
14
14
|
import "../chunk-6JAIFIPW.js";
|
|
15
15
|
import "../chunk-YKCAJ2TN.js";
|
|
16
16
|
import "../chunk-PZ5AY32C.js";
|
package/dist/user-avatar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UserAvatar,
|
|
3
3
|
UserMenu
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-O6IF4BZT.js";
|
|
5
5
|
import "./chunk-UDQSIRAP.js";
|
|
6
6
|
import "./chunk-NYFGFELX.js";
|
|
7
7
|
import "./chunk-3ZVUNSFF.js";
|
|
@@ -19,20 +19,20 @@ import "./chunk-K6LNHHSH.js";
|
|
|
19
19
|
import "./chunk-ZKWVCSAB.js";
|
|
20
20
|
import "./chunk-LN46DSMF.js";
|
|
21
21
|
import "./chunk-TAMIZE4Q.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-YZHX2HTC.js";
|
|
23
|
+
import "./chunk-6IWO7CM2.js";
|
|
24
24
|
import "./chunk-TYJR4GOF.js";
|
|
25
25
|
import "./chunk-M47ZOUGF.js";
|
|
26
26
|
import "./chunk-7FDU3FIN.js";
|
|
27
27
|
import "./chunk-EPEJMTCQ.js";
|
|
28
28
|
import "./chunk-GDN2LUTZ.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-VBP46YP4.js";
|
|
29
|
+
import "./chunk-6WZUZHJM.js";
|
|
31
30
|
import "./chunk-2BYKTBDL.js";
|
|
32
31
|
import "./chunk-AG66JBNH.js";
|
|
33
32
|
import "./chunk-FZXKH2ZT.js";
|
|
34
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-VBP46YP4.js";
|
|
35
34
|
import "./chunk-O6MJWHU5.js";
|
|
35
|
+
import "./chunk-26X4CZVR.js";
|
|
36
36
|
import "./chunk-FQ6UW7IY.js";
|
|
37
37
|
import "./chunk-6JAIFIPW.js";
|
|
38
38
|
import "./chunk-N3GAFIXG.js";
|
|
@@ -6,20 +6,20 @@ import "../chunk-7OO3BELX.js";
|
|
|
6
6
|
import "../chunk-KJID4PRD.js";
|
|
7
7
|
import "../chunk-RXNIOPOA.js";
|
|
8
8
|
import "../chunk-ZSTSISM6.js";
|
|
9
|
-
import "../chunk-DJKVSUXH.js";
|
|
10
9
|
import "../chunk-7ZPUN7TV.js";
|
|
10
|
+
import "../chunk-DJKVSUXH.js";
|
|
11
11
|
import "../chunk-PT6TCWIW.js";
|
|
12
12
|
import "../chunk-M47ZOUGF.js";
|
|
13
13
|
import "../chunk-7FDU3FIN.js";
|
|
14
14
|
import "../chunk-EPEJMTCQ.js";
|
|
15
15
|
import "../chunk-GDN2LUTZ.js";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-VBP46YP4.js";
|
|
16
|
+
import "../chunk-6WZUZHJM.js";
|
|
18
17
|
import "../chunk-2BYKTBDL.js";
|
|
19
18
|
import "../chunk-AG66JBNH.js";
|
|
20
19
|
import "../chunk-FZXKH2ZT.js";
|
|
21
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-VBP46YP4.js";
|
|
22
21
|
import "../chunk-O6MJWHU5.js";
|
|
22
|
+
import "../chunk-26X4CZVR.js";
|
|
23
23
|
import "../chunk-FQ6UW7IY.js";
|
|
24
24
|
import "../chunk-6JAIFIPW.js";
|
|
25
25
|
import "../chunk-N3GAFIXG.js";
|
package/package.json
CHANGED
|
@@ -15,11 +15,13 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
|
15
15
|
import type React from 'react';
|
|
16
16
|
|
|
17
17
|
import { rem, remPx } from '../../../tokens/relative';
|
|
18
|
+
import { useDensity, type DensityLevel } from '../../../tokens/density';
|
|
18
19
|
|
|
19
20
|
import { processRows } from './DataGrid.rows';
|
|
20
21
|
import type {
|
|
21
22
|
DataGridProps,
|
|
22
23
|
GridColumn,
|
|
24
|
+
GridDensity,
|
|
23
25
|
GridFilter,
|
|
24
26
|
GridSort,
|
|
25
27
|
SortDirection,
|
|
@@ -50,6 +52,13 @@ export interface VisibleRange {
|
|
|
50
52
|
/** Everything the render needs, and nothing it has to derive. */
|
|
51
53
|
export interface DataGridModel<T extends Record<string, unknown>> {
|
|
52
54
|
containerRef: React.RefObject<HTMLDivElement | null>;
|
|
55
|
+
/**
|
|
56
|
+
* The density this render actually used: `props.density`, else the
|
|
57
|
+
* theme-driven default (FUT-2769, {@link mapThemeToGridDensity}). The same
|
|
58
|
+
* value `rowHeight` was scaled by — read it here rather than re-deriving it,
|
|
59
|
+
* so the reported default and the geometry can never disagree.
|
|
60
|
+
*/
|
|
61
|
+
density: GridDensity;
|
|
53
62
|
/** A row's height as CSS: the design height, density applied, through `rem`. */
|
|
54
63
|
rowHeight: string;
|
|
55
64
|
/**
|
|
@@ -82,6 +91,21 @@ function densityHeight(base: number, density: DataGridProps['density']): number
|
|
|
82
91
|
return base;
|
|
83
92
|
}
|
|
84
93
|
|
|
94
|
+
/**
|
|
95
|
+
* The theme's density level, aliased to `GridDensity` (FUT-2769 — umbrella
|
|
96
|
+
* Decision 7, non-breaking): `GridDensity`'s three names are not the theme's
|
|
97
|
+
* three names, so this is an alias table rather than a verbatim read.
|
|
98
|
+
* `'normal'` (the theme's own default, and what a theme with no density at
|
|
99
|
+
* all resolves to) maps to `'comfortable'` — today's literal default,
|
|
100
|
+
* unchanged — so the mapping is a no-op exactly when nothing about density
|
|
101
|
+
* has been said.
|
|
102
|
+
*/
|
|
103
|
+
export function mapThemeToGridDensity(level: DensityLevel): GridDensity {
|
|
104
|
+
if (level === 'compact') return 'compact';
|
|
105
|
+
if (level === 'comfortable') return 'spacious';
|
|
106
|
+
return 'comfortable';
|
|
107
|
+
}
|
|
108
|
+
|
|
85
109
|
/** The rows this render should show, with every client-mode step resolved. */
|
|
86
110
|
function useProcessedRows<T extends Record<string, unknown>>(
|
|
87
111
|
props: DataGridProps<T>,
|
|
@@ -292,11 +316,15 @@ export function useDataGridModel<T extends Record<string, unknown>>(
|
|
|
292
316
|
): DataGridModel<T> {
|
|
293
317
|
const { columns } = props;
|
|
294
318
|
const theme = useTheme();
|
|
319
|
+
const themeDensity = useDensity();
|
|
295
320
|
const containerRef = useRef<HTMLDivElement>(null);
|
|
296
321
|
const [editingCell, setEditingCell] = useState<EditingCell | null>(null);
|
|
297
322
|
const { sortBy, filters, setInternalSortBy } = useSortAndFilter(props);
|
|
323
|
+
// An explicit `density` prop wins; otherwise the theme's own level, aliased
|
|
324
|
+
// to this grid's three names (FUT-2769).
|
|
325
|
+
const density = props.density ?? mapThemeToGridDensity(themeDensity.level ?? 'normal');
|
|
298
326
|
// 52 design px unless the caller says; the density scales it, then the type scale does.
|
|
299
|
-
const designRowHeight = densityHeight(props.rowHeight ?? 52,
|
|
327
|
+
const designRowHeight = densityHeight(props.rowHeight ?? 52, density);
|
|
300
328
|
const rowPitch = remPx(theme, designRowHeight);
|
|
301
329
|
const columnMap = useMemo(
|
|
302
330
|
() => new Map(columns.map((column) => [column.id, column])),
|
|
@@ -311,6 +339,7 @@ export function useDataGridModel<T extends Record<string, unknown>>(
|
|
|
311
339
|
|
|
312
340
|
return {
|
|
313
341
|
containerRef,
|
|
342
|
+
density,
|
|
314
343
|
rowHeight: rem(theme, designRowHeight),
|
|
315
344
|
rowPitch,
|
|
316
345
|
visibleColumns,
|
|
@@ -19,7 +19,7 @@ import type React from 'react';
|
|
|
19
19
|
import { GridBody, GridHeader } from './DataGrid.body';
|
|
20
20
|
import { useDataGridModel } from './DataGrid.model';
|
|
21
21
|
import { DataGridEmpty, DataGridError, DataGridLoading } from './DataGrid.states';
|
|
22
|
-
import type { DataGridProps } from './DataGrid.types';
|
|
22
|
+
import type { DataGridProps, GridDensity } from './DataGrid.types';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* The chrome every render needs, with the defaults resolved ONCE.
|
|
@@ -28,7 +28,10 @@ import type { DataGridProps } from './DataGrid.types';
|
|
|
28
28
|
* a dozen branches: the gate counted them, correctly, as complexity the render
|
|
29
29
|
* did not need to carry.
|
|
30
30
|
*/
|
|
31
|
-
function resolveChrome<T extends Record<string, unknown>>(
|
|
31
|
+
function resolveChrome<T extends Record<string, unknown>>(
|
|
32
|
+
props: DataGridProps<T>,
|
|
33
|
+
density: GridDensity,
|
|
34
|
+
): {
|
|
32
35
|
dataAttrs: Record<string, unknown>;
|
|
33
36
|
placeholder: {
|
|
34
37
|
dataTestId?: string;
|
|
@@ -43,7 +46,9 @@ function resolveChrome<T extends Record<string, unknown>>(props: DataGridProps<T
|
|
|
43
46
|
return {
|
|
44
47
|
dataAttrs: {
|
|
45
48
|
'data-ui': 'datagrid',
|
|
46
|
-
|
|
49
|
+
// The SAME resolved density the row-height geometry used (FUT-2769) —
|
|
50
|
+
// not re-derived here, so this attribute can never disagree with it.
|
|
51
|
+
'data-density': density,
|
|
47
52
|
'data-size-mode': props.sizeMode ?? 'auto',
|
|
48
53
|
'data-virtual-rows': props.virtualizeRows ?? true,
|
|
49
54
|
'data-virtual-cols': props.virtualizeColumns ?? false,
|
|
@@ -65,7 +70,7 @@ export const DataGrid = <T extends Record<string, unknown> = Record<string, unkn
|
|
|
65
70
|
props: DataGridProps<T>,
|
|
66
71
|
): React.JSX.Element => {
|
|
67
72
|
const model = useDataGridModel(props);
|
|
68
|
-
const { dataAttrs, placeholder } = resolveChrome(props);
|
|
73
|
+
const { dataAttrs, placeholder } = resolveChrome(props, model.density);
|
|
69
74
|
|
|
70
75
|
if (props.loading) return <DataGridLoading {...placeholder} />;
|
|
71
76
|
if (props.error) return <DataGridError {...placeholder} error={props.error} />;
|