@12-apps/ui 6.39.20 → 6.41.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/components-catalog.md +43 -5
- package/components-guidelines.md +110 -0
- package/dist/_internal/components/data-display/Alert/Alert.js +3 -2
- package/dist/_internal/components/data-display/Alert/Alert.metrics.js +3 -2
- package/dist/_internal/components/data-display/Alert/Alert.styles.js +3 -2
- package/dist/_internal/components/data-display/AsyncStateContainer/AsyncStateContainer.js +3 -3
- package/dist/_internal/components/data-display/Avatar/Avatar.js +3 -3
- package/dist/_internal/components/data-display/Avatar/Avatar.view.js +2 -2
- package/dist/_internal/components/data-display/Badge/Badge.js +10 -8
- package/dist/_internal/components/data-display/Badge/Badge.styles.js +8 -6
- package/dist/_internal/components/data-display/Badge/BadgeContent.js +9 -7
- package/dist/_internal/components/data-display/Banner/Banner.js +3 -2
- package/dist/_internal/components/data-display/Banner/Banner.styles.js +3 -2
- package/dist/_internal/components/data-display/CardKit/CardKebab.js +9 -8
- package/dist/_internal/components/data-display/CardKit/card-actions-context.js +3 -2
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +13 -12
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +13 -12
- package/dist/_internal/components/data-display/Carousel/Carousel.chrome.js +9 -7
- package/dist/_internal/components/data-display/Carousel/Carousel.js +13 -11
- package/dist/_internal/components/data-display/Carousel/Carousel.parts.js +8 -6
- package/dist/_internal/components/data-display/Carousel/Carousel.styles.js +8 -6
- package/dist/_internal/components/data-display/Chart/Chart.js +12 -10
- package/dist/_internal/components/data-display/Chart/SpecChart.js +15 -13
- package/dist/_internal/components/data-display/Chart/chart-context.js +9 -7
- package/dist/_internal/components/data-display/Chart/chart-internals.js +8 -6
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +11 -9
- package/dist/_internal/components/data-display/Chart/chart-spec.js +2 -2
- package/dist/_internal/components/data-display/DataGrid/DataGrid.js +3 -3
- package/dist/_internal/components/data-display/DataViews/DataViewsBoard.js +6 -5
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +70 -69
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +87 -86
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +13 -12
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +17 -16
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +17 -16
- package/dist/_internal/components/data-display/DataViews/base-card.js +7 -6
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +11 -10
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +10 -9
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +15 -14
- package/dist/_internal/components/data-display/DataViews/data-views-bar-controls.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +20 -20
- package/dist/_internal/components/data-display/DataViews/data-views-columns-tab.js +6 -5
- package/dist/_internal/components/data-display/DataViews/data-views-columns.js +10 -9
- package/dist/_internal/components/data-display/DataViews/data-views-day-input.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +16 -15
- package/dist/_internal/components/data-display/DataViews/data-views-display-tabs.js +8 -7
- package/dist/_internal/components/data-display/DataViews/data-views-empty.js +11 -10
- package/dist/_internal/components/data-display/DataViews/data-views-export.js +11 -10
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +26 -26
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +20 -19
- package/dist/_internal/components/data-display/DataViews/data-views-grid-helpers.js +9 -8
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +66 -65
- package/dist/_internal/components/data-display/DataViews/data-views-header-row.js +6 -5
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +37 -36
- package/dist/_internal/components/data-display/DataViews/data-views-layout-context.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +20 -19
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +24 -23
- package/dist/_internal/components/data-display/DataViews/data-views-number-input.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-pagination.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +8 -8
- package/dist/_internal/components/data-display/DataViews/data-views-scope-tabs.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-search.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-select-all-strip.js +11 -10
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +27 -26
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +30 -29
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +26 -25
- package/dist/_internal/components/data-display/DataViews/data-views-view-nav.js +11 -10
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +3 -3
- package/dist/_internal/components/data-display/DataViews/save-view-preview.js +6 -5
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +13 -12
- package/dist/_internal/components/data-display/DataViews/use-saved-views-controller.js +3 -3
- package/dist/_internal/components/data-display/DescriptionItem/DescriptionItem.js +6 -5
- package/dist/_internal/components/data-display/EmptyState/EmptyState.js +2 -2
- package/dist/_internal/components/data-display/FleetMap/FleetBody.js +15 -15
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +14 -14
- package/dist/_internal/components/data-display/FleetMap/FleetMap.fixtures.js +2 -2
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +23 -21
- package/dist/_internal/components/data-display/InteractiveTooltip/InteractiveTooltip.js +2 -2
- package/dist/_internal/components/data-display/Lightbox/Lightbox.js +6 -6
- package/dist/_internal/components/data-display/MapPreview/MapDecorations.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapLayers.js +5 -5
- package/dist/_internal/components/data-display/MapPreview/MapPreview.hooks.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +13 -13
- package/dist/_internal/components/data-display/MapPreview/MapSearchBar.js +4 -4
- package/dist/_internal/components/data-display/MapPreview/MapTiles.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/StaticMapView.js +4 -4
- package/dist/_internal/components/data-display/MapPreview/useMapPreview.js +3 -3
- package/dist/_internal/components/data-display/Progress/Progress.js +6 -5
- package/dist/_internal/components/data-display/Progress/Progress.metrics.js +4 -3
- package/dist/_internal/components/data-display/Progress/Progress.styles.js +5 -4
- package/dist/_internal/components/data-display/SectionOnboarding/SectionOnboarding.js +3 -3
- package/dist/_internal/components/data-display/Sheet/Sheet.body.js +7 -5
- package/dist/_internal/components/data-display/Sheet/Sheet.js +9 -7
- package/dist/_internal/components/data-display/Sheet/Sheet.styles.js +8 -6
- package/dist/_internal/components/data-display/Table/Table.js +5 -5
- 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 +77 -75
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmAction.js +2 -2
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmButton.js +11 -10
- package/dist/_internal/components/feedback/ConfirmAction/with-confirmation.js +2 -2
- package/dist/_internal/components/feedback/Dialog/Dialog.js +2 -2
- package/dist/_internal/components/feedback/Modal/Modal.js +2 -2
- package/dist/_internal/components/feedback/NotificationStatusNotice/NotificationStatusNotice.js +9 -8
- package/dist/_internal/components/feedback/index.js +19 -18
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.js +10 -10
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocompleteField.js +7 -7
- package/dist/_internal/components/form/AddressAutocomplete/AddressFallbackField.js +5 -5
- package/dist/_internal/components/form/AddressAutocomplete/AddressInputField.js +5 -5
- package/dist/_internal/components/form/AddressAutocomplete/AddressTextField.js +4 -4
- package/dist/_internal/components/form/Autocomplete/Autocomplete.js +5 -5
- package/dist/_internal/components/form/Autocomplete/Autocomplete.parts.js +4 -4
- package/dist/_internal/components/form/Button/Button.js +8 -7
- package/dist/_internal/components/form/Button/Button.styles.js +6 -5
- package/dist/_internal/components/form/Calendar/Calendar.js +4 -4
- 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 +10 -10
- package/dist/_internal/components/form/CategorySelect/CategoryPanelFoot.js +5 -5
- package/dist/_internal/components/form/CategorySelect/CategoryPanelHead.js +5 -5
- package/dist/_internal/components/form/CategorySelect/CategoryPanelList.js +7 -7
- package/dist/_internal/components/form/CategorySelect/CategoryRows.js +6 -6
- package/dist/_internal/components/form/CategorySelect/CategorySelect.js +12 -12
- package/dist/_internal/components/form/CategorySelect/CategorySelect.styles.js +4 -4
- package/dist/_internal/components/form/CategorySelect/CategoryTrigger.js +5 -5
- package/dist/_internal/components/form/CepField/CepField.js +7 -7
- package/dist/_internal/components/form/CodeEditor/CodeEditor.js +3 -3
- package/dist/_internal/components/form/Command/Command.js +9 -7
- package/dist/_internal/components/form/Command/Command.styles.js +8 -6
- package/dist/_internal/components/form/CreatableSelect/CreatableSelect.js +4 -4
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.hooks.js +6 -6
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +13 -13
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.range.js +5 -5
- package/dist/_internal/components/form/DateRangePicker/DateRangePickerFields.js +6 -6
- package/dist/_internal/components/form/Input/Input.js +6 -6
- package/dist/_internal/components/form/Input/Input.metrics.js +2 -2
- package/dist/_internal/components/form/Input/Input.styles.js +5 -5
- package/dist/_internal/components/form/InputOTP/InputOTP.js +5 -5
- package/dist/_internal/components/form/InputOTP/InputOTP.styles.js +4 -4
- package/dist/_internal/components/form/Label/Label.js +9 -7
- package/dist/_internal/components/form/Label/Label.styles.js +8 -6
- package/dist/_internal/components/form/Menubar/Menubar.item.js +9 -7
- package/dist/_internal/components/form/Menubar/Menubar.js +11 -9
- package/dist/_internal/components/form/Menubar/Menubar.styles.js +8 -6
- package/dist/_internal/components/form/Menubar/Menubar.toolbar.js +10 -8
- package/dist/_internal/components/form/NumberField/NumberField.helpers.js +20 -0
- package/dist/_internal/components/form/NumberField/NumberField.js +28 -0
- package/dist/_internal/components/form/NumberField/NumberField.types.js +1 -0
- package/dist/_internal/components/form/NumberField/NumberField.types.js.map +1 -0
- package/dist/_internal/components/form/PhoneInput/PhoneInput.js +4 -4
- package/dist/_internal/components/form/RadioGroup/RadioGroup.js +6 -6
- package/dist/_internal/components/form/RadioGroup/RadioGroup.styles.js +4 -4
- package/dist/_internal/components/form/RadioGroup/RadioGroup.variants.js +5 -5
- package/dist/_internal/components/form/RichTextEditor/RichTextEditor.js +2 -2
- package/dist/_internal/components/form/Select/Select.js +5 -5
- package/dist/_internal/components/form/Select/Select.metrics.js +2 -2
- package/dist/_internal/components/form/Switch/Switch.js +3 -2
- package/dist/_internal/components/form/Switch/Switch.parts.js +3 -2
- package/dist/_internal/components/form/Switch/Switch.styles.js +3 -2
- package/dist/_internal/components/form/Textarea/Textarea.js +4 -4
- package/dist/_internal/components/form/Textarea/TextareaRichEditor.js +5 -5
- package/dist/_internal/components/form/Toggle/Toggle.js +5 -5
- package/dist/_internal/components/form/Toggle/Toggle.styles.js +4 -4
- package/dist/_internal/components/form/ToggleGroup/ToggleGroup.js +4 -4
- package/dist/_internal/components/form/UploadButton/UploadButton.js +2 -2
- package/dist/_internal/components/form/index.js +72 -64
- package/dist/_internal/components/form/total-form/Fields/CategoryField.js +13 -13
- package/dist/_internal/components/form/total-form/Fields/CepField.js +8 -8
- package/dist/_internal/components/form/total-form/Fields/SelectField.js +6 -6
- package/dist/_internal/components/form/total-form/Fields/TextField.js +7 -7
- package/dist/_internal/components/form/total-form/Fields/ToggleField.js +5 -5
- package/dist/_internal/components/form/total-form/Fields/index.js +27 -27
- package/dist/_internal/components/form/total-form/SubmitButton.js +9 -8
- package/dist/_internal/components/index.js +244 -203
- package/dist/_internal/components/layout/Box/Box.js +10 -8
- package/dist/_internal/components/layout/ContentToolbar/ColumnsMenu.js +4 -4
- package/dist/_internal/components/layout/ContentToolbar/FilterTrigger.js +4 -4
- package/dist/_internal/components/layout/ContentToolbar/MultiSelectDropdown.js +5 -5
- package/dist/_internal/components/layout/ContentToolbar/MultiSelectTriggers.js +4 -4
- package/dist/_internal/components/layout/ContentToolbar/SavedViewsMenu.js +4 -4
- package/dist/_internal/components/layout/ContentToolbar/SortByDropdown.js +4 -4
- package/dist/_internal/components/layout/ContentToolbar/ViewSelector.js +4 -4
- package/dist/_internal/components/layout/ScrollArea/ScrollArea.js +2 -2
- package/dist/_internal/components/layout/Separator/Separator.js +3 -3
- package/dist/_internal/components/layout/Separator/Separator.styles.js +2 -2
- package/dist/_internal/components/layout/SettingCard/SettingCard.hooks.js +19 -0
- package/dist/_internal/components/layout/SettingCard/SettingCard.hooks.js.map +1 -0
- package/dist/_internal/components/layout/SettingCard/SettingCard.js +54 -0
- package/dist/_internal/components/layout/SettingCard/SettingCard.js.map +1 -0
- package/dist/_internal/components/layout/SettingCard/SettingCard.metrics.js +12 -0
- package/dist/_internal/components/layout/SettingCard/SettingCard.metrics.js.map +1 -0
- package/dist/_internal/components/layout/SettingCard/SettingCard.parts.js +59 -0
- package/dist/_internal/components/layout/SettingCard/SettingCard.parts.js.map +1 -0
- package/dist/_internal/components/layout/SettingCard/SettingCard.styles.js +37 -0
- package/dist/_internal/components/layout/SettingCard/SettingCard.styles.js.map +1 -0
- package/dist/_internal/components/layout/SettingCard/SettingCard.types.js +1 -0
- package/dist/_internal/components/layout/SettingCard/SettingCard.types.js.map +1 -0
- package/dist/_internal/components/layout/SettingCard/SettingGrid.js +56 -0
- package/dist/_internal/components/layout/SettingCard/SettingGrid.js.map +1 -0
- package/dist/_internal/components/layout/SettingCard/SettingGroup.context.js +10 -0
- package/dist/_internal/components/layout/SettingCard/SettingGroup.context.js.map +1 -0
- package/dist/_internal/components/layout/SettingCard/SettingGroup.js +65 -0
- package/dist/_internal/components/layout/SettingCard/SettingGroup.js.map +1 -0
- package/dist/_internal/components/layout/SettingCard/SettingSwitch.js +63 -0
- package/dist/_internal/components/layout/SettingCard/SettingSwitch.js.map +1 -0
- package/dist/_internal/components/layout/SettingCard/SettingToggle.js +65 -0
- package/dist/_internal/components/layout/SettingCard/SettingToggle.js.map +1 -0
- package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.js +6 -6
- package/dist/_internal/components/layout/SettingsLayout/SettingsPanel.js +4 -4
- package/dist/_internal/components/layout/SettingsLayout/SettingsSectionChips.js +2 -2
- package/dist/_internal/components/layout/Stack/Stack.js +11 -9
- package/dist/_internal/components/layout/TableFilter/TableFilter.js +4 -4
- package/dist/_internal/components/layout/index.js +87 -25
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +15 -13
- package/dist/_internal/components/navigation/AppHeader/AppHeader.identity.js +8 -6
- package/dist/_internal/components/navigation/CommandPalette/CommandPalette.js +3 -3
- package/dist/_internal/components/navigation/Pagination/Pagination.js +5 -5
- package/dist/_internal/components/navigation/Pagination/PaginationParts.js +4 -4
- package/dist/_internal/components/navigation/Tabs/Tabs.js +5 -5
- package/dist/_internal/components/navigation/Tabs/Tabs.styles.js +4 -4
- package/dist/_internal/components/navigation/index.js +33 -31
- package/dist/_internal/components/typography/Heading/Heading.js +6 -5
- package/dist/_internal/components/typography/Heading/Heading.metrics.js +4 -3
- package/dist/_internal/components/typography/Heading/Heading.styles.js +5 -4
- package/dist/_internal/components/typography/Text/Text.js +5 -4
- package/dist/_internal/components/typography/Text/Text.metrics.js +4 -3
- package/dist/_internal/components/typography/index.js +12 -11
- package/dist/_internal/components/utility/InstallPrompt/InstallPrompt.js +2 -2
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.helpers.js +7 -5
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.js +7 -5
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.parts.js +7 -5
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStepRow.js +7 -5
- package/dist/_internal/components/utility/index.js +20 -18
- package/dist/_internal/en-US.data-display.js +2 -2
- package/dist/_internal/en-US.layout.js +5 -1
- package/dist/_internal/icons/Icon.js +10 -8
- package/dist/_internal/provider/UiProvider.js +9 -7
- package/dist/_internal/provider/mui-bridge.js +8 -6
- package/dist/_internal/provider/use-ui-theme.js +9 -7
- package/dist/_internal/pt-BR.data-display.js +2 -2
- package/dist/_internal/pt-BR.layout.js +5 -1
- package/dist/_internal/social-login-button/social-login-button.js +16 -15
- package/dist/_internal/tokens/density.core.js +18 -0
- package/dist/_internal/tokens/density.core.js.map +1 -0
- package/dist/_internal/tokens/density.js +31 -0
- package/dist/_internal/tokens/density.js.map +1 -0
- package/dist/_internal/tokens/field-height.core.js +1 -1
- package/dist/_internal/tokens/field-height.js +7 -5
- package/dist/_internal/tokens/theme.js +3 -2
- package/dist/_internal/user-avatar/user-avatar.js +14 -13
- package/dist/charts.js +24 -22
- package/dist/chunk-2GTORM5E.js +1 -0
- package/dist/chunk-2GTORM5E.js.map +1 -0
- package/dist/{chunk-DFCQQN6P.js → chunk-2LKWJV65.js} +5 -5
- package/dist/{chunk-HVXIOIM5.js → chunk-2MLS6KU4.js} +2 -2
- package/dist/{chunk-IIUB4IOH.js → chunk-2XHIF3M3.js} +4 -4
- package/dist/chunk-33L26P4J.js +27 -0
- package/dist/chunk-33L26P4J.js.map +1 -0
- package/dist/{chunk-IASDP44E.js → chunk-3AOOI2NR.js} +6 -6
- package/dist/{chunk-TCV3N44E.js → chunk-3CLBGHTL.js} +2 -2
- package/dist/{chunk-KKN4LLVE.js → chunk-3CUWQXTG.js} +3 -3
- package/dist/{chunk-QXSW3CNN.js → chunk-3CYTVX4T.js} +5 -5
- package/dist/chunk-3DO5AJCG.js +117 -0
- package/dist/chunk-3DO5AJCG.js.map +1 -0
- package/dist/{chunk-I5ZVCY2N.js → chunk-3EPA2A4M.js} +8 -8
- package/dist/{chunk-DRSY37PB.js → chunk-3MJHHPRW.js} +2 -2
- package/dist/{chunk-NLYNRE7L.js → chunk-3RUCLKAK.js} +4 -4
- package/dist/chunk-3U7WKBMH.js +27 -0
- package/dist/chunk-3U7WKBMH.js.map +1 -0
- package/dist/{chunk-36JKV7CA.js → chunk-3UEZ6NUI.js} +3 -3
- package/dist/{chunk-EYZ6QBTV.js → chunk-3XS37SQT.js} +3 -3
- package/dist/{chunk-BSUG4KMP.js → chunk-44USLRMT.js} +11 -11
- package/dist/{chunk-DJYL2LC6.js → chunk-44Z72DDM.js} +2 -2
- package/dist/{chunk-4WCDMCIS.js → chunk-4CHYMTBT.js} +4 -4
- package/dist/{chunk-2LIRGFEK.js → chunk-4GN2RLYL.js} +2 -2
- package/dist/{chunk-HN3PZTUK.js → chunk-4MKVGSHX.js} +5 -5
- package/dist/{chunk-BRM3T4LQ.js → chunk-4S2LWZ7L.js} +5 -5
- package/dist/{chunk-OQRG34VG.js → chunk-4SHMSLFA.js} +2 -2
- package/dist/{chunk-62UAI62O.js → chunk-4UVFPORR.js} +5 -5
- package/dist/{chunk-YTINPQKU.js → chunk-4XHVGUOM.js} +2 -2
- package/dist/{chunk-7DK6YVJU.js → chunk-4Z7GEO2R.js} +2 -2
- package/dist/{chunk-A2TANYNR.js → chunk-53O2TNSR.js} +6 -6
- package/dist/{chunk-T6EKPFKZ.js → chunk-54HTXJJ2.js} +2 -2
- package/dist/{chunk-OHZU4IT3.js → chunk-5B7BTLN4.js} +2 -2
- package/dist/{chunk-K5V6TCYB.js → chunk-5ETBB2DG.js} +4 -4
- package/dist/{chunk-5752357K.js → chunk-5KGABAQB.js} +4 -4
- package/dist/{chunk-JKIKHWD2.js → chunk-5NT2M2JI.js} +4 -4
- package/dist/{chunk-JE6RZ5L6.js → chunk-5ZOJLYD2.js} +4 -4
- package/dist/{chunk-7EH4D6FU.js → chunk-6H4TPEMO.js} +2 -2
- package/dist/{chunk-WB6ZU3B3.js → chunk-6JGATEOF.js} +6 -6
- package/dist/{chunk-TU5A2CV7.js → chunk-6L2FKTBO.js} +7 -7
- package/dist/{chunk-ME3WYPYK.js → chunk-6MD5QXXJ.js} +5 -5
- package/dist/{chunk-HQZRI7UX.js → chunk-6N2EDWMG.js} +4 -4
- package/dist/{chunk-H224XFFD.js → chunk-6REPQ352.js} +2 -2
- package/dist/{chunk-YZ2DMP23.js → chunk-6TPYT3UC.js} +5 -5
- package/dist/{chunk-I4MRBEWU.js → chunk-6ZD3FI5P.js} +11 -11
- package/dist/{chunk-PWZHCBG3.js → chunk-72FPUWD6.js} +2 -2
- package/dist/{chunk-VRPREI27.js → chunk-72S2RGWD.js} +2 -2
- package/dist/{chunk-OAW6GCS3.js → chunk-77BKKPCI.js} +3 -3
- package/dist/{chunk-67O4GPJJ.js → chunk-7FEXRMJE.js} +2 -2
- package/dist/{chunk-KN5J3NEZ.js → chunk-7KKMZJFT.js} +2 -2
- package/dist/{chunk-KJDBY2KN.js → chunk-7LILFS72.js} +2 -2
- package/dist/{chunk-SLDSWQVE.js → chunk-7TE4TMS3.js} +5 -5
- package/dist/{chunk-AG3DY5TH.js → chunk-ADSA76T7.js} +2 -2
- package/dist/chunk-AEMD6JHZ.js +1 -0
- package/dist/chunk-AEMD6JHZ.js.map +1 -0
- package/dist/{chunk-BKASAYQL.js → chunk-ALOUJ3CE.js} +8 -8
- package/dist/{chunk-VY2BMSHN.js → chunk-ANYOSBNA.js} +2 -2
- package/dist/{chunk-LNHYBA4B.js → chunk-AWG2AJHX.js} +5 -5
- package/dist/{chunk-7X7ZHJHM.js → chunk-B3QWQG62.js} +2 -2
- package/dist/{chunk-2S752BIJ.js → chunk-BA6Z52QN.js} +2 -2
- package/dist/{chunk-X4F32GUB.js → chunk-BM4KKGL7.js} +2 -2
- package/dist/chunk-BOWS4U6W.js +1 -0
- package/dist/chunk-BOWS4U6W.js.map +1 -0
- package/dist/{chunk-4T6UIYJB.js → chunk-BVSSEOLI.js} +2 -2
- package/dist/{chunk-3UABIEP3.js → chunk-C2TERIB4.js} +2 -2
- package/dist/{chunk-TEEJ4GNY.js → chunk-C6OVO6AT.js} +2 -2
- package/dist/{chunk-CYZZHWNK.js → chunk-CJ45OL7L.js} +2 -2
- package/dist/{chunk-N7LPVR7P.js → chunk-CKHFYTIX.js} +4 -4
- package/dist/{chunk-PA3AA55Q.js → chunk-CLK67TNH.js} +2 -2
- package/dist/{chunk-MQ277OLB.js → chunk-CM2Q7IH3.js} +5 -5
- package/dist/{chunk-ZXSWXE6U.js → chunk-CMFJQH6A.js} +5 -5
- package/dist/{chunk-NOKN4HRK.js → chunk-CMLIWUBW.js} +4 -4
- package/dist/{chunk-EA2UNEL6.js → chunk-CNR5RFKC.js} +2 -2
- package/dist/{chunk-P52LYD6S.js → chunk-DFI2RKVQ.js} +2 -2
- package/dist/{chunk-37USSARD.js → chunk-DH5UJD2I.js} +4 -4
- package/dist/{chunk-PCLKFR27.js → chunk-DH6SL3SY.js} +8 -8
- package/dist/chunk-DJKVSUXH.js +35 -0
- package/dist/chunk-DJKVSUXH.js.map +1 -0
- package/dist/{chunk-S6JHTEV4.js → chunk-DLWLIPCP.js} +3 -3
- package/dist/{chunk-KN4ZE2XZ.js → chunk-EIII4QU4.js} +19 -19
- package/dist/{chunk-L566FMDD.js → chunk-EO5IEWFI.js} +6 -6
- package/dist/{chunk-VY6L74JQ.js → chunk-EQXIW5MQ.js} +4 -4
- package/dist/{chunk-MWPXKZ7O.js → chunk-ERY6D2OV.js} +4 -4
- package/dist/{chunk-6PU3JYVY.js → chunk-F3AYISXT.js} +4 -4
- package/dist/{chunk-GY4NBSCN.js → chunk-FDMQ7H22.js} +2 -2
- package/dist/{chunk-IBGP3VSR.js → chunk-FHW3ATT7.js} +2 -2
- package/dist/{chunk-WL6N33AB.js → chunk-FIO55AKI.js} +4 -4
- package/dist/{chunk-5CQNBMLK.js → chunk-FTQBVZ7V.js} +4 -4
- package/dist/{chunk-J5UZB6Y6.js → chunk-FXWXBEOZ.js} +2 -2
- package/dist/{chunk-IGGXKT5B.js → chunk-G2WERTWZ.js} +2 -2
- package/dist/{chunk-DF4QODJ6.js → chunk-G4TKMUOL.js} +6 -6
- package/dist/{chunk-WY5PBZ7Q.js → chunk-G6ZPQHBL.js} +2 -2
- package/dist/{chunk-JYR6VV4Y.js → chunk-G7XHJPLO.js} +5 -5
- package/dist/{chunk-IQJCLFF4.js → chunk-GANW7FXQ.js} +2 -2
- package/dist/{chunk-3LSIFHQK.js → chunk-GE2CCITY.js} +2 -2
- package/dist/{chunk-G3XLFQ2Z.js → chunk-GG62LKA3.js} +6 -6
- package/dist/{chunk-YQCRQHVU.js → chunk-GI63FQEJ.js} +4 -4
- package/dist/{chunk-7ICK5MXV.js → chunk-GJFAI3J5.js} +10 -10
- package/dist/{chunk-2JNHWKQK.js → chunk-GPHURU2K.js} +12 -12
- package/dist/{chunk-5FAI25JQ.js → chunk-H72YKEGD.js} +3 -3
- package/dist/chunk-HALFOXSZ.js +1 -0
- package/dist/chunk-HALFOXSZ.js.map +1 -0
- package/dist/{chunk-J3XFUCCR.js → chunk-HKBJZX3C.js} +12 -12
- package/dist/{chunk-M4QXG5JP.js → chunk-HQWJUHR4.js} +4 -4
- package/dist/chunk-IC7GHPMK.js +22 -0
- package/dist/chunk-IC7GHPMK.js.map +1 -0
- package/dist/{chunk-4BNV5AAI.js → chunk-ITFFA3H2.js} +3 -3
- package/dist/{chunk-RB3X6CEE.js → chunk-IWGW2E35.js} +2 -2
- package/dist/{chunk-O25SH2MA.js → chunk-J6KLT7HP.js} +7 -7
- package/dist/{chunk-CRG24BGI.js → chunk-JAGAFEZL.js} +2 -2
- package/dist/{chunk-RDCHT2WN.js → chunk-JE5GEWTG.js} +5 -5
- package/dist/{chunk-FLDLUAHW.js → chunk-JE6GQB5J.js} +4 -4
- package/dist/{chunk-N23GCN5U.js → chunk-JFLFZLOA.js} +5 -5
- package/dist/{chunk-35443PF6.js → chunk-JIRZ27RI.js} +2 -2
- package/dist/{chunk-5MW7OYBM.js → chunk-JSGVYOMN.js} +2 -2
- package/dist/{chunk-RNIU447I.js → chunk-JU3FRRO2.js} +2 -2
- package/dist/{chunk-WOAXKWAB.js → chunk-K4A3JDYQ.js} +2 -2
- package/dist/{chunk-HM2JJNUE.js → chunk-K6LNHHSH.js} +5 -5
- package/dist/{chunk-NR5TW4AH.js → chunk-K7MQP2KT.js} +3 -3
- package/dist/{chunk-2OWKL4CC.js → chunk-KCDNOMMT.js} +9 -9
- package/dist/{chunk-O2DLEAUP.js → chunk-KHOAXZW2.js} +4 -4
- package/dist/{chunk-W5TI46QN.js → chunk-KQZGUHYZ.js} +3 -3
- package/dist/{chunk-2K7WPHI3.js → chunk-KW3H5FUS.js} +2 -2
- package/dist/{chunk-7D2C4LK2.js → chunk-LCWGNDTH.js} +4 -4
- package/dist/{chunk-FNRPQE2D.js → chunk-LF3EVXMF.js} +2 -2
- package/dist/{chunk-MCJRHF7Z.js → chunk-LGCRL7DK.js} +10 -10
- package/dist/{chunk-JK5UJM4Y.js → chunk-LODMNSLR.js} +9 -9
- package/dist/{chunk-CGO452DC.js → chunk-M47ZOUGF.js} +13 -10
- package/dist/{chunk-CGO452DC.js.map → chunk-M47ZOUGF.js.map} +1 -1
- package/dist/{chunk-YUXDVW62.js → chunk-M65ZNPLO.js} +2 -2
- package/dist/{chunk-URHX4FAQ.js → chunk-MKLIMY3D.js} +2 -2
- package/dist/{chunk-2FM5SUQV.js → chunk-MM5XSAVE.js} +2 -2
- package/dist/{chunk-LXT3X33C.js → chunk-NCB4GBRL.js} +2 -2
- package/dist/{chunk-FNO5TWBJ.js → chunk-NCEQWEXT.js} +4 -4
- package/dist/{chunk-FWPFCK4D.js → chunk-NDHDBOUH.js} +4 -4
- package/dist/{chunk-WRCLYSTX.js → chunk-NFGIA2ZV.js} +2 -2
- package/dist/{chunk-VPPIODKX.js → chunk-NQ7NMCRI.js} +2 -2
- package/dist/{chunk-YMTZN54Q.js → chunk-NRSVI23L.js} +2 -2
- package/dist/{chunk-2622YFM6.js → chunk-NSVSC6ZC.js} +6 -6
- package/dist/{chunk-Z43N7ASP.js → chunk-NU55QUMO.js} +2 -2
- package/dist/{chunk-66O55OZI.js → chunk-NYFGFELX.js} +2 -2
- package/dist/{chunk-PZBK3F52.js → chunk-O6MJWHU5.js} +3 -3
- package/dist/chunk-O6MJWHU5.js.map +1 -0
- package/dist/chunk-OJUORFGO.js +87 -0
- package/dist/chunk-OJUORFGO.js.map +1 -0
- package/dist/{chunk-JXECOCNA.js → chunk-P6Q2O3TU.js} +2 -2
- package/dist/{chunk-RTEY5COP.js → chunk-PAICZOL5.js} +4 -4
- package/dist/{chunk-ZN6YATOG.js → chunk-PAT2BQOQ.js} +2 -2
- package/dist/chunk-PEOOCQ2T.js +140 -0
- package/dist/chunk-PEOOCQ2T.js.map +1 -0
- package/dist/chunk-PGGGKYWG.js +1 -0
- package/dist/chunk-PGGGKYWG.js.map +1 -0
- package/dist/{chunk-TZBOWSAM.js → chunk-PICOOZLX.js} +6 -6
- package/dist/{chunk-JJJM75XF.js → chunk-PNDYAIKM.js} +2 -2
- package/dist/{chunk-EJYJLVPK.js → chunk-PRLYYKMG.js} +3 -3
- package/dist/{chunk-4GB46HLK.js → chunk-PTONBPZL.js} +2 -2
- package/dist/chunk-Q4JWWTL4.js +36 -0
- package/dist/chunk-Q4JWWTL4.js.map +1 -0
- package/dist/{chunk-FNG33MKA.js → chunk-QDELBNL3.js} +2 -2
- package/dist/{chunk-DSF4VT7L.js → chunk-QEI5DC6S.js} +6 -6
- package/dist/chunk-QGUNUXTT.js +1 -0
- package/dist/chunk-QGUNUXTT.js.map +1 -0
- package/dist/{chunk-VJ2BNJ5M.js → chunk-QMELMQPA.js} +4 -4
- package/dist/{chunk-HDJQDMHB.js → chunk-QMHS6ZDI.js} +2 -2
- package/dist/{chunk-2WVHZIWP.js → chunk-QSRZOXQI.js} +2 -2
- package/dist/{chunk-C3LZ3OGJ.js → chunk-R2FUQV24.js} +2 -2
- package/dist/{chunk-GOWBYHYW.js → chunk-R6SBP5M5.js} +4 -4
- package/dist/{chunk-HWSS6C7C.js → chunk-RDFPM2AQ.js} +8 -8
- package/dist/chunk-RDZGXJOD.js +74 -0
- package/dist/chunk-RDZGXJOD.js.map +1 -0
- package/dist/chunk-RN7UJI7S.js +1 -0
- package/dist/chunk-RN7UJI7S.js.map +1 -0
- package/dist/chunk-RPBGUWNF.js +168 -0
- package/dist/chunk-RPBGUWNF.js.map +1 -0
- package/dist/{chunk-4RPFI474.js → chunk-RSDYS5B3.js} +6 -6
- package/dist/{chunk-X53F33KA.js → chunk-RWXYND4H.js} +2 -2
- package/dist/{chunk-4NPPO63U.js → chunk-RZ2VZ7SL.js} +5 -5
- package/dist/{chunk-ORRI6FMN.js → chunk-S4IXC2V3.js} +3 -3
- package/dist/chunk-SALQ65SM.js +118 -0
- package/dist/chunk-SALQ65SM.js.map +1 -0
- package/dist/{chunk-MXCIUKTQ.js → chunk-SDBBJ6FG.js} +4 -4
- package/dist/{chunk-JRJCBDGN.js → chunk-SDKOOVEX.js} +6 -4
- package/dist/{chunk-JRJCBDGN.js.map → chunk-SDKOOVEX.js.map} +1 -1
- package/dist/{chunk-UMNXSQ7I.js → chunk-SNBAMWI5.js} +2 -2
- package/dist/{chunk-LP3JCXER.js → chunk-SNW5MJ6I.js} +2 -2
- package/dist/{chunk-5OBGW3FG.js → chunk-STTULW2K.js} +2 -2
- package/dist/{chunk-3CTQZDSD.js → chunk-TCNTIGMY.js} +4 -4
- package/dist/{chunk-Y6C4MYZE.js → chunk-TNQDSTIA.js} +7 -7
- package/dist/{chunk-6RLCBNDV.js → chunk-TPVSHO75.js} +7 -7
- package/dist/{chunk-BUPDBEBA.js → chunk-TTJTMDLI.js} +2 -2
- package/dist/{chunk-TU5EIKJA.js → chunk-U5SH3VRJ.js} +4 -4
- package/dist/chunk-U67ZQ6VM.js +82 -0
- package/dist/chunk-U67ZQ6VM.js.map +1 -0
- package/dist/{chunk-MLQYIJTO.js → chunk-U6W2RY3Z.js} +5 -5
- package/dist/{chunk-4WF6ZLIW.js → chunk-UGPRBJWB.js} +8 -8
- package/dist/chunk-VBP46YP4.js +42 -0
- package/dist/chunk-VBP46YP4.js.map +1 -0
- package/dist/{chunk-Y6G4I42P.js → chunk-VEEG4UXZ.js} +2 -2
- package/dist/{chunk-IRD45DRW.js → chunk-VOJBLBXE.js} +3 -3
- package/dist/{chunk-KHPL2J3B.js → chunk-VPAOVEI2.js} +3 -3
- package/dist/{chunk-DYGWKZ7T.js → chunk-VWJEM2ER.js} +3 -3
- package/dist/{chunk-FERUQ7OB.js → chunk-VYA4QWQL.js} +2 -2
- package/dist/chunk-VYM2GPR6.js +47 -0
- package/dist/chunk-VYM2GPR6.js.map +1 -0
- package/dist/{chunk-UKX3MPB7.js → chunk-VYV3JOV5.js} +2 -2
- package/dist/{chunk-B7CNP5HW.js → chunk-WV62BSWA.js} +2 -2
- package/dist/chunk-X3C3VTYS.js +85 -0
- package/dist/chunk-X3C3VTYS.js.map +1 -0
- package/dist/{chunk-IWEUSZY3.js → chunk-X66E5WSX.js} +3 -3
- package/dist/{chunk-OJ2XR3WH.js → chunk-XB7HYOMM.js} +2 -2
- package/dist/{chunk-H6AWKLOV.js → chunk-XBLFK2FL.js} +2 -2
- package/dist/{chunk-5HDYTTE7.js → chunk-XHA2NXLD.js} +2 -2
- package/dist/chunk-XJQNSMGA.js +10 -0
- package/dist/chunk-XJQNSMGA.js.map +1 -0
- package/dist/{chunk-F4KYBBTY.js → chunk-XLXMJ6X2.js} +3 -3
- package/dist/{chunk-SCZABICW.js → chunk-XO4ZUHVH.js} +2 -2
- package/dist/{chunk-PARTZ7XI.js → chunk-XP522FFM.js} +2 -2
- package/dist/{chunk-MBHWVRV5.js → chunk-XVZG52CM.js} +8 -8
- package/dist/{chunk-TGXCG62P.js → chunk-XXL4PM4M.js} +2 -2
- package/dist/{chunk-YKEO6UHN.js → chunk-XZJM6EPC.js} +4 -4
- package/dist/{chunk-YTY7TD7S.js → chunk-XZY7O7JJ.js} +5 -5
- package/dist/{chunk-WZNTZX5N.js → chunk-Y2UXX5IQ.js} +4 -4
- package/dist/{chunk-BLW6KLDR.js → chunk-YFODI4KT.js} +11 -4
- package/dist/chunk-YFODI4KT.js.map +1 -0
- package/dist/{chunk-QOLIBVGS.js → chunk-YGYQC7MT.js} +4 -4
- package/dist/{chunk-THMT3G3L.js → chunk-YLXQWYOG.js} +7 -7
- package/dist/{chunk-M4KVKQRN.js → chunk-YPIVLPXF.js} +3 -3
- package/dist/{chunk-57FZM6GH.js → chunk-YRUX7XMQ.js} +2 -2
- package/dist/{chunk-M2Q5CLPU.js → chunk-YTXZUTLF.js} +4 -4
- package/dist/{chunk-ZWCYSAI5.js → chunk-YWJDUJAR.js} +4 -4
- package/dist/{chunk-S36NC22G.js → chunk-Z2NN53E5.js} +2 -2
- package/dist/{chunk-GC56IWIZ.js → chunk-Z4DKVLYG.js} +9 -9
- package/dist/{chunk-U4QUDFPJ.js → chunk-Z4O3F6KU.js} +4 -4
- package/dist/{chunk-JC22FNFA.js → chunk-Z6T5SXST.js} +5 -5
- package/dist/{chunk-TXEN3QJ4.js → chunk-ZC5HDBQO.js} +2 -2
- package/dist/{chunk-LEHMWJNZ.js → chunk-ZEYUSS3W.js} +5 -5
- package/dist/{chunk-JH5BKA3Y.js → chunk-ZH2SZ6B3.js} +26 -8
- package/dist/chunk-ZH2SZ6B3.js.map +1 -0
- package/dist/{chunk-4WNFOBTH.js → chunk-ZKWVCSAB.js} +2 -2
- package/dist/{chunk-GEB4WSZH.js → chunk-ZNBLGS66.js} +3 -3
- package/dist/{chunk-TCAQOUIB.js → chunk-ZSTSISM6.js} +1 -1
- package/dist/chunk-ZSTSISM6.js.map +1 -0
- package/dist/data-display/Alert.js +3 -2
- package/dist/data-display/AsyncStateContainer.js +3 -3
- package/dist/data-display/Avatar.js +3 -3
- package/dist/data-display/Badge.js +10 -8
- package/dist/data-display/Banner.js +3 -2
- package/dist/data-display/CardKit.js +17 -16
- package/dist/data-display/Carousel.js +13 -11
- package/dist/data-display/Chart.js +24 -22
- package/dist/data-display/Chip.js +1 -0
- package/dist/data-display/DataGrid.js +3 -3
- package/dist/data-display/DataViews.js +107 -106
- package/dist/data-display/DescriptionItem.js +6 -5
- package/dist/data-display/EmptyState.js +2 -2
- package/dist/data-display/FleetMap.js +23 -21
- package/dist/data-display/InteractiveTooltip.js +2 -2
- package/dist/data-display/Lightbox.js +6 -6
- package/dist/data-display/MapPreview.js +13 -13
- package/dist/data-display/Progress.js +6 -5
- package/dist/data-display/SectionOnboarding.js +3 -3
- package/dist/data-display/Sheet.js +9 -7
- package/dist/data-display/Table.js +5 -5
- package/dist/en-US.js +15 -11
- package/dist/feedback/ConfirmAction.js +14 -13
- package/dist/feedback/Dialog.js +2 -2
- package/dist/feedback/Modal.js +2 -2
- package/dist/feedback/NotificationStatusNotice.js +9 -8
- package/dist/form/AddressAutocomplete.js +10 -10
- package/dist/form/Autocomplete.js +5 -5
- package/dist/form/Button.js +8 -7
- package/dist/form/Calendar.js +4 -4
- package/dist/form/CategorySelect.js +12 -12
- package/dist/form/CepField.js +7 -7
- package/dist/form/CodeEditor.js +4 -4
- package/dist/form/Command.js +9 -7
- package/dist/form/CreatableSelect.js +4 -4
- package/dist/form/DateRangePicker.js +13 -13
- package/dist/form/Input.js +6 -6
- package/dist/form/InputOTP.js +5 -5
- package/dist/form/Label.js +9 -7
- package/dist/form/Menubar.js +11 -9
- package/dist/form/NumberField.js +29 -0
- package/dist/form/NumberField.js.map +1 -0
- package/dist/form/PhoneInput.js +4 -4
- package/dist/form/RadioGroup.js +6 -6
- package/dist/form/RichTextEditor.js +2 -2
- package/dist/form/Select.js +5 -5
- package/dist/form/Switch.js +3 -2
- package/dist/form/Textarea.js +4 -4
- package/dist/form/Toggle.js +5 -5
- package/dist/form/ToggleGroup.js +4 -4
- package/dist/form/UploadButton.js +2 -2
- package/dist/form/total-form.js +31 -30
- package/dist/icons.js +11 -8
- package/dist/layout/Box.js +10 -8
- package/dist/layout/Collapsible.js +1 -0
- package/dist/layout/ContentToolbar.js +12 -12
- package/dist/layout/ScrollArea.js +2 -2
- package/dist/layout/Separator.js +3 -3
- package/dist/layout/SettingCard.js +80 -0
- package/dist/layout/SettingCard.js.map +1 -0
- package/dist/layout/SettingsLayout.js +7 -7
- package/dist/layout/Stack.js +11 -9
- package/dist/layout/TableFilter.js +4 -4
- package/dist/locales.js +37 -23
- package/dist/locales.js.map +1 -1
- package/dist/native/chunks/{chunk-ONXKFA5Z.js → chunk-A2QNZ4VK.js} +4 -4
- package/dist/native/chunks/{chunk-X6RQGKGF.js → chunk-BST5DUUD.js} +2 -2
- package/dist/native/chunks/{chunk-GUBTMR2K.js → chunk-EDYZEMVD.js} +2 -2
- package/dist/native/chunks/{chunk-SZF56GVJ.js → chunk-LECBJD35.js} +3 -3
- package/dist/native/chunks/{chunk-JBYDLWQA.js → chunk-MTRRGDBQ.js} +5 -5
- package/dist/native/chunks/{chunk-IMGBBIMT.js → chunk-PN7C2BEY.js} +2 -2
- package/dist/native/chunks/{chunk-R5XVZRDD.js → chunk-RADD26LG.js} +46 -5
- package/dist/native/chunks/chunk-RADD26LG.js.map +1 -0
- package/dist/native/chunks/{chunk-4ZAULIDG.js → chunk-S4F364X4.js} +3 -3
- package/dist/native/chunks/{chunk-5IASLIBI.js → chunk-VJFKRXY2.js} +2 -2
- package/dist/native/data-display/Alert.js +3 -3
- package/dist/native/data-display/Avatar.js +3 -3
- package/dist/native/data-display/Badge.js +3 -3
- package/dist/native/data-display/Chip.js +3 -3
- package/dist/native/data-display/EmptyState.js +6 -6
- package/dist/native/data-display/ErrorState.js +5 -5
- package/dist/native/data-display/FleetMap.js +7 -7
- package/dist/native/data-display/LoadingState.js +2 -2
- package/dist/native/data-display/Progress.js +2 -2
- package/dist/native/feedback/Dialog.js +3 -3
- package/dist/native/form/Button.js +4 -4
- package/dist/native/form/Checkbox.js +3 -3
- package/dist/native/form/Input.js +4 -4
- package/dist/native/form/Select.js +5 -5
- package/dist/native/form/Switch.js +2 -2
- package/dist/native/icons.js +3 -3
- package/dist/native/layout/Box.js +3 -3
- package/dist/native/layout/Card.js +2 -2
- package/dist/native/layout/Container.js +2 -2
- package/dist/native/layout/Skeleton.js +3 -3
- package/dist/native/layout/Spacer.js +2 -2
- package/dist/native/layout/Stack.js +3 -3
- package/dist/native/provider.js +2 -2
- package/dist/native/tokens.js +15 -3
- package/dist/native/typography/Heading.js +2 -2
- package/dist/native/typography/Paragraph.js +2 -2
- package/dist/native/typography/Text.js +2 -2
- package/dist/navigation/AppHeader.js +18 -16
- package/dist/navigation/CommandPalette.js +3 -3
- package/dist/navigation/Pagination.js +5 -5
- package/dist/navigation/Tabs.js +5 -5
- package/dist/provider.js +10 -8
- package/dist/pt-BR.js +12 -8
- package/dist/social-login-button.js +16 -15
- package/dist/tokens.js +30 -8
- package/dist/types/components/form/Input/Input.d.ts.map +1 -1
- package/dist/types/components/form/Input/Input.types.d.ts +10 -0
- package/dist/types/components/form/Input/Input.types.d.ts.map +1 -1
- package/dist/types/components/form/NumberField/NumberField.d.ts +21 -0
- package/dist/types/components/form/NumberField/NumberField.d.ts.map +1 -0
- package/dist/types/components/form/NumberField/NumberField.helpers.d.ts +48 -0
- package/dist/types/components/form/NumberField/NumberField.helpers.d.ts.map +1 -0
- package/dist/types/components/form/NumberField/NumberField.types.d.ts +31 -0
- package/dist/types/components/form/NumberField/NumberField.types.d.ts.map +1 -0
- package/dist/types/components/form/NumberField/index.d.ts +3 -0
- package/dist/types/components/form/NumberField/index.d.ts.map +1 -0
- package/dist/types/components/form/index.d.ts +1 -0
- package/dist/types/components/form/index.d.ts.map +1 -1
- package/dist/types/components/layout/SettingCard/SettingCard.d.ts +14 -0
- package/dist/types/components/layout/SettingCard/SettingCard.d.ts.map +1 -0
- package/dist/types/components/layout/SettingCard/SettingCard.hooks.d.ts +79 -0
- package/dist/types/components/layout/SettingCard/SettingCard.hooks.d.ts.map +1 -0
- package/dist/types/components/layout/SettingCard/SettingCard.metrics.d.ts +21 -0
- package/dist/types/components/layout/SettingCard/SettingCard.metrics.d.ts.map +1 -0
- package/dist/types/components/layout/SettingCard/SettingCard.parts.d.ts +49 -0
- package/dist/types/components/layout/SettingCard/SettingCard.parts.d.ts.map +1 -0
- package/dist/types/components/layout/SettingCard/SettingCard.styles.d.ts +48 -0
- package/dist/types/components/layout/SettingCard/SettingCard.styles.d.ts.map +1 -0
- package/dist/types/components/layout/SettingCard/SettingCard.types.d.ts +127 -0
- package/dist/types/components/layout/SettingCard/SettingCard.types.d.ts.map +1 -0
- package/dist/types/components/layout/SettingCard/SettingGrid.d.ts +33 -0
- package/dist/types/components/layout/SettingCard/SettingGrid.d.ts.map +1 -0
- package/dist/types/components/layout/SettingCard/SettingGroup.context.d.ts +13 -0
- package/dist/types/components/layout/SettingCard/SettingGroup.context.d.ts.map +1 -0
- package/dist/types/components/layout/SettingCard/SettingGroup.d.ts +18 -0
- package/dist/types/components/layout/SettingCard/SettingGroup.d.ts.map +1 -0
- package/dist/types/components/layout/SettingCard/SettingSwitch.d.ts +28 -0
- package/dist/types/components/layout/SettingCard/SettingSwitch.d.ts.map +1 -0
- package/dist/types/components/layout/SettingCard/SettingToggle.d.ts +13 -0
- package/dist/types/components/layout/SettingCard/SettingToggle.d.ts.map +1 -0
- package/dist/types/components/layout/SettingCard/index.d.ts +6 -0
- package/dist/types/components/layout/SettingCard/index.d.ts.map +1 -0
- package/dist/types/components/layout/index.d.ts +1 -0
- package/dist/types/components/layout/index.d.ts.map +1 -1
- package/dist/types/copy/layout.d.ts +27 -0
- package/dist/types/copy/layout.d.ts.map +1 -1
- package/dist/types/en-US.layout.d.ts +3 -1
- package/dist/types/en-US.layout.d.ts.map +1 -1
- package/dist/types/locales.d.ts +3 -1
- package/dist/types/locales.d.ts.map +1 -1
- package/dist/types/provider/mui-bridge.d.ts.map +1 -1
- package/dist/types/pt-BR.layout.d.ts +3 -1
- package/dist/types/pt-BR.layout.d.ts.map +1 -1
- package/dist/types/tokens/density.core.d.ts +73 -0
- package/dist/types/tokens/density.core.d.ts.map +1 -0
- package/dist/types/tokens/density.d.ts +95 -0
- package/dist/types/tokens/density.d.ts.map +1 -0
- package/dist/types/tokens/field-height.core.d.ts +7 -2
- package/dist/types/tokens/field-height.core.d.ts.map +1 -1
- package/dist/types/tokens/field-height.d.ts +9 -0
- package/dist/types/tokens/field-height.d.ts.map +1 -1
- package/dist/types/tokens/scales.d.ts +2 -1
- package/dist/types/tokens/scales.d.ts.map +1 -1
- package/dist/types/tokens/theme.d.ts +30 -0
- package/dist/types/tokens/theme.d.ts.map +1 -1
- package/dist/types-native/tokens/density.core.d.ts +73 -0
- package/dist/types-native/tokens/density.core.d.ts.map +1 -0
- package/dist/types-native/tokens/field-height.core.d.ts +7 -2
- package/dist/types-native/tokens/field-height.core.d.ts.map +1 -1
- package/dist/types-native/tokens/index.native.d.ts +1 -0
- package/dist/types-native/tokens/index.native.d.ts.map +1 -1
- package/dist/types-native/tokens/theme.d.ts +30 -0
- package/dist/types-native/tokens/theme.d.ts.map +1 -1
- package/dist/typography/Heading.js +6 -5
- package/dist/typography/Text.js +5 -4
- package/dist/user-avatar.js +14 -13
- package/dist/utility/InstallPrompt.js +2 -2
- package/dist/utility/WorkflowStep.js +7 -5
- package/package.json +9 -1
- package/src/components/form/Input/Input.tsx +2 -0
- package/src/components/form/Input/Input.types.ts +10 -0
- package/src/components/form/NumberField/NumberField.helpers.ts +77 -0
- package/src/components/form/NumberField/NumberField.md +86 -0
- package/src/components/form/NumberField/NumberField.tsx +88 -0
- package/src/components/form/NumberField/NumberField.types.ts +43 -0
- package/src/components/form/NumberField/index.ts +2 -0
- package/src/components/form/NumberField/tests.md +51 -0
- package/src/components/form/NumberField/track.md +42 -0
- package/src/components/form/index.ts +1 -0
- package/src/components/layout/SettingCard/SettingCard.hooks.ts +191 -0
- package/src/components/layout/SettingCard/SettingCard.md +121 -0
- package/src/components/layout/SettingCard/SettingCard.metrics.ts +22 -0
- package/src/components/layout/SettingCard/SettingCard.parts.tsx +162 -0
- package/src/components/layout/SettingCard/SettingCard.styles.ts +142 -0
- package/src/components/layout/SettingCard/SettingCard.tsx +197 -0
- package/src/components/layout/SettingCard/SettingCard.types.ts +140 -0
- package/src/components/layout/SettingCard/SettingGrid.md +65 -0
- package/src/components/layout/SettingCard/SettingGrid.tsx +105 -0
- package/src/components/layout/SettingCard/SettingGroup.context.ts +11 -0
- package/src/components/layout/SettingCard/SettingGroup.md +81 -0
- package/src/components/layout/SettingCard/SettingGroup.tsx +73 -0
- package/src/components/layout/SettingCard/SettingSwitch.tsx +92 -0
- package/src/components/layout/SettingCard/SettingToggle.md +61 -0
- package/src/components/layout/SettingCard/SettingToggle.tsx +43 -0
- package/src/components/layout/SettingCard/index.ts +18 -0
- package/src/components/layout/SettingCard/tests.md +68 -0
- package/src/components/layout/SettingCard/track.md +54 -0
- package/src/components/layout/index.ts +1 -0
- package/src/copy/layout.ts +29 -0
- package/src/en-US.layout.ts +16 -0
- package/src/locales.ts +10 -0
- package/src/provider/mui-bridge.ts +17 -3
- package/src/pt-BR.layout.ts +16 -0
- package/src/tokens/density.core.ts +118 -0
- package/src/tokens/density.ts +134 -0
- package/src/tokens/field-height.core.ts +8 -3
- package/src/tokens/field-height.ts +19 -8
- package/src/tokens/index.native.ts +11 -0
- package/src/tokens/scales.ts +15 -0
- package/src/tokens/theme.ts +43 -2
- package/dist/chunk-A7RIZOAL.js +0 -13
- package/dist/chunk-A7RIZOAL.js.map +0 -1
- package/dist/chunk-BLW6KLDR.js.map +0 -1
- package/dist/chunk-BY3JEK5T.js +0 -1
- package/dist/chunk-FZJ2FTGE.js +0 -1
- package/dist/chunk-GRHECKHU.js +0 -13
- package/dist/chunk-GRHECKHU.js.map +0 -1
- package/dist/chunk-JH5BKA3Y.js.map +0 -1
- package/dist/chunk-PZBK3F52.js.map +0 -1
- package/dist/chunk-TCAQOUIB.js.map +0 -1
- package/dist/native/chunks/chunk-R5XVZRDD.js.map +0 -1
- /package/dist/{chunk-BY3JEK5T.js.map → _internal/components/form/NumberField/NumberField.helpers.js.map} +0 -0
- /package/dist/{chunk-FZJ2FTGE.js.map → _internal/components/form/NumberField/NumberField.js.map} +0 -0
- /package/dist/{chunk-DFCQQN6P.js.map → chunk-2LKWJV65.js.map} +0 -0
- /package/dist/{chunk-HVXIOIM5.js.map → chunk-2MLS6KU4.js.map} +0 -0
- /package/dist/{chunk-IIUB4IOH.js.map → chunk-2XHIF3M3.js.map} +0 -0
- /package/dist/{chunk-IASDP44E.js.map → chunk-3AOOI2NR.js.map} +0 -0
- /package/dist/{chunk-TCV3N44E.js.map → chunk-3CLBGHTL.js.map} +0 -0
- /package/dist/{chunk-KKN4LLVE.js.map → chunk-3CUWQXTG.js.map} +0 -0
- /package/dist/{chunk-QXSW3CNN.js.map → chunk-3CYTVX4T.js.map} +0 -0
- /package/dist/{chunk-I5ZVCY2N.js.map → chunk-3EPA2A4M.js.map} +0 -0
- /package/dist/{chunk-DRSY37PB.js.map → chunk-3MJHHPRW.js.map} +0 -0
- /package/dist/{chunk-NLYNRE7L.js.map → chunk-3RUCLKAK.js.map} +0 -0
- /package/dist/{chunk-36JKV7CA.js.map → chunk-3UEZ6NUI.js.map} +0 -0
- /package/dist/{chunk-EYZ6QBTV.js.map → chunk-3XS37SQT.js.map} +0 -0
- /package/dist/{chunk-BSUG4KMP.js.map → chunk-44USLRMT.js.map} +0 -0
- /package/dist/{chunk-DJYL2LC6.js.map → chunk-44Z72DDM.js.map} +0 -0
- /package/dist/{chunk-4WCDMCIS.js.map → chunk-4CHYMTBT.js.map} +0 -0
- /package/dist/{chunk-2LIRGFEK.js.map → chunk-4GN2RLYL.js.map} +0 -0
- /package/dist/{chunk-HN3PZTUK.js.map → chunk-4MKVGSHX.js.map} +0 -0
- /package/dist/{chunk-BRM3T4LQ.js.map → chunk-4S2LWZ7L.js.map} +0 -0
- /package/dist/{chunk-OQRG34VG.js.map → chunk-4SHMSLFA.js.map} +0 -0
- /package/dist/{chunk-62UAI62O.js.map → chunk-4UVFPORR.js.map} +0 -0
- /package/dist/{chunk-YTINPQKU.js.map → chunk-4XHVGUOM.js.map} +0 -0
- /package/dist/{chunk-7DK6YVJU.js.map → chunk-4Z7GEO2R.js.map} +0 -0
- /package/dist/{chunk-A2TANYNR.js.map → chunk-53O2TNSR.js.map} +0 -0
- /package/dist/{chunk-T6EKPFKZ.js.map → chunk-54HTXJJ2.js.map} +0 -0
- /package/dist/{chunk-OHZU4IT3.js.map → chunk-5B7BTLN4.js.map} +0 -0
- /package/dist/{chunk-K5V6TCYB.js.map → chunk-5ETBB2DG.js.map} +0 -0
- /package/dist/{chunk-5752357K.js.map → chunk-5KGABAQB.js.map} +0 -0
- /package/dist/{chunk-JKIKHWD2.js.map → chunk-5NT2M2JI.js.map} +0 -0
- /package/dist/{chunk-JE6RZ5L6.js.map → chunk-5ZOJLYD2.js.map} +0 -0
- /package/dist/{chunk-7EH4D6FU.js.map → chunk-6H4TPEMO.js.map} +0 -0
- /package/dist/{chunk-WB6ZU3B3.js.map → chunk-6JGATEOF.js.map} +0 -0
- /package/dist/{chunk-TU5A2CV7.js.map → chunk-6L2FKTBO.js.map} +0 -0
- /package/dist/{chunk-ME3WYPYK.js.map → chunk-6MD5QXXJ.js.map} +0 -0
- /package/dist/{chunk-HQZRI7UX.js.map → chunk-6N2EDWMG.js.map} +0 -0
- /package/dist/{chunk-H224XFFD.js.map → chunk-6REPQ352.js.map} +0 -0
- /package/dist/{chunk-YZ2DMP23.js.map → chunk-6TPYT3UC.js.map} +0 -0
- /package/dist/{chunk-I4MRBEWU.js.map → chunk-6ZD3FI5P.js.map} +0 -0
- /package/dist/{chunk-PWZHCBG3.js.map → chunk-72FPUWD6.js.map} +0 -0
- /package/dist/{chunk-VRPREI27.js.map → chunk-72S2RGWD.js.map} +0 -0
- /package/dist/{chunk-OAW6GCS3.js.map → chunk-77BKKPCI.js.map} +0 -0
- /package/dist/{chunk-67O4GPJJ.js.map → chunk-7FEXRMJE.js.map} +0 -0
- /package/dist/{chunk-KN5J3NEZ.js.map → chunk-7KKMZJFT.js.map} +0 -0
- /package/dist/{chunk-KJDBY2KN.js.map → chunk-7LILFS72.js.map} +0 -0
- /package/dist/{chunk-SLDSWQVE.js.map → chunk-7TE4TMS3.js.map} +0 -0
- /package/dist/{chunk-AG3DY5TH.js.map → chunk-ADSA76T7.js.map} +0 -0
- /package/dist/{chunk-BKASAYQL.js.map → chunk-ALOUJ3CE.js.map} +0 -0
- /package/dist/{chunk-VY2BMSHN.js.map → chunk-ANYOSBNA.js.map} +0 -0
- /package/dist/{chunk-LNHYBA4B.js.map → chunk-AWG2AJHX.js.map} +0 -0
- /package/dist/{chunk-7X7ZHJHM.js.map → chunk-B3QWQG62.js.map} +0 -0
- /package/dist/{chunk-2S752BIJ.js.map → chunk-BA6Z52QN.js.map} +0 -0
- /package/dist/{chunk-X4F32GUB.js.map → chunk-BM4KKGL7.js.map} +0 -0
- /package/dist/{chunk-4T6UIYJB.js.map → chunk-BVSSEOLI.js.map} +0 -0
- /package/dist/{chunk-3UABIEP3.js.map → chunk-C2TERIB4.js.map} +0 -0
- /package/dist/{chunk-TEEJ4GNY.js.map → chunk-C6OVO6AT.js.map} +0 -0
- /package/dist/{chunk-CYZZHWNK.js.map → chunk-CJ45OL7L.js.map} +0 -0
- /package/dist/{chunk-N7LPVR7P.js.map → chunk-CKHFYTIX.js.map} +0 -0
- /package/dist/{chunk-PA3AA55Q.js.map → chunk-CLK67TNH.js.map} +0 -0
- /package/dist/{chunk-MQ277OLB.js.map → chunk-CM2Q7IH3.js.map} +0 -0
- /package/dist/{chunk-ZXSWXE6U.js.map → chunk-CMFJQH6A.js.map} +0 -0
- /package/dist/{chunk-NOKN4HRK.js.map → chunk-CMLIWUBW.js.map} +0 -0
- /package/dist/{chunk-EA2UNEL6.js.map → chunk-CNR5RFKC.js.map} +0 -0
- /package/dist/{chunk-P52LYD6S.js.map → chunk-DFI2RKVQ.js.map} +0 -0
- /package/dist/{chunk-37USSARD.js.map → chunk-DH5UJD2I.js.map} +0 -0
- /package/dist/{chunk-PCLKFR27.js.map → chunk-DH6SL3SY.js.map} +0 -0
- /package/dist/{chunk-S6JHTEV4.js.map → chunk-DLWLIPCP.js.map} +0 -0
- /package/dist/{chunk-KN4ZE2XZ.js.map → chunk-EIII4QU4.js.map} +0 -0
- /package/dist/{chunk-L566FMDD.js.map → chunk-EO5IEWFI.js.map} +0 -0
- /package/dist/{chunk-VY6L74JQ.js.map → chunk-EQXIW5MQ.js.map} +0 -0
- /package/dist/{chunk-MWPXKZ7O.js.map → chunk-ERY6D2OV.js.map} +0 -0
- /package/dist/{chunk-6PU3JYVY.js.map → chunk-F3AYISXT.js.map} +0 -0
- /package/dist/{chunk-GY4NBSCN.js.map → chunk-FDMQ7H22.js.map} +0 -0
- /package/dist/{chunk-IBGP3VSR.js.map → chunk-FHW3ATT7.js.map} +0 -0
- /package/dist/{chunk-WL6N33AB.js.map → chunk-FIO55AKI.js.map} +0 -0
- /package/dist/{chunk-5CQNBMLK.js.map → chunk-FTQBVZ7V.js.map} +0 -0
- /package/dist/{chunk-J5UZB6Y6.js.map → chunk-FXWXBEOZ.js.map} +0 -0
- /package/dist/{chunk-IGGXKT5B.js.map → chunk-G2WERTWZ.js.map} +0 -0
- /package/dist/{chunk-DF4QODJ6.js.map → chunk-G4TKMUOL.js.map} +0 -0
- /package/dist/{chunk-WY5PBZ7Q.js.map → chunk-G6ZPQHBL.js.map} +0 -0
- /package/dist/{chunk-JYR6VV4Y.js.map → chunk-G7XHJPLO.js.map} +0 -0
- /package/dist/{chunk-IQJCLFF4.js.map → chunk-GANW7FXQ.js.map} +0 -0
- /package/dist/{chunk-3LSIFHQK.js.map → chunk-GE2CCITY.js.map} +0 -0
- /package/dist/{chunk-G3XLFQ2Z.js.map → chunk-GG62LKA3.js.map} +0 -0
- /package/dist/{chunk-YQCRQHVU.js.map → chunk-GI63FQEJ.js.map} +0 -0
- /package/dist/{chunk-7ICK5MXV.js.map → chunk-GJFAI3J5.js.map} +0 -0
- /package/dist/{chunk-2JNHWKQK.js.map → chunk-GPHURU2K.js.map} +0 -0
- /package/dist/{chunk-5FAI25JQ.js.map → chunk-H72YKEGD.js.map} +0 -0
- /package/dist/{chunk-J3XFUCCR.js.map → chunk-HKBJZX3C.js.map} +0 -0
- /package/dist/{chunk-M4QXG5JP.js.map → chunk-HQWJUHR4.js.map} +0 -0
- /package/dist/{chunk-4BNV5AAI.js.map → chunk-ITFFA3H2.js.map} +0 -0
- /package/dist/{chunk-RB3X6CEE.js.map → chunk-IWGW2E35.js.map} +0 -0
- /package/dist/{chunk-O25SH2MA.js.map → chunk-J6KLT7HP.js.map} +0 -0
- /package/dist/{chunk-CRG24BGI.js.map → chunk-JAGAFEZL.js.map} +0 -0
- /package/dist/{chunk-RDCHT2WN.js.map → chunk-JE5GEWTG.js.map} +0 -0
- /package/dist/{chunk-FLDLUAHW.js.map → chunk-JE6GQB5J.js.map} +0 -0
- /package/dist/{chunk-N23GCN5U.js.map → chunk-JFLFZLOA.js.map} +0 -0
- /package/dist/{chunk-35443PF6.js.map → chunk-JIRZ27RI.js.map} +0 -0
- /package/dist/{chunk-5MW7OYBM.js.map → chunk-JSGVYOMN.js.map} +0 -0
- /package/dist/{chunk-RNIU447I.js.map → chunk-JU3FRRO2.js.map} +0 -0
- /package/dist/{chunk-WOAXKWAB.js.map → chunk-K4A3JDYQ.js.map} +0 -0
- /package/dist/{chunk-HM2JJNUE.js.map → chunk-K6LNHHSH.js.map} +0 -0
- /package/dist/{chunk-NR5TW4AH.js.map → chunk-K7MQP2KT.js.map} +0 -0
- /package/dist/{chunk-2OWKL4CC.js.map → chunk-KCDNOMMT.js.map} +0 -0
- /package/dist/{chunk-O2DLEAUP.js.map → chunk-KHOAXZW2.js.map} +0 -0
- /package/dist/{chunk-W5TI46QN.js.map → chunk-KQZGUHYZ.js.map} +0 -0
- /package/dist/{chunk-2K7WPHI3.js.map → chunk-KW3H5FUS.js.map} +0 -0
- /package/dist/{chunk-7D2C4LK2.js.map → chunk-LCWGNDTH.js.map} +0 -0
- /package/dist/{chunk-FNRPQE2D.js.map → chunk-LF3EVXMF.js.map} +0 -0
- /package/dist/{chunk-MCJRHF7Z.js.map → chunk-LGCRL7DK.js.map} +0 -0
- /package/dist/{chunk-JK5UJM4Y.js.map → chunk-LODMNSLR.js.map} +0 -0
- /package/dist/{chunk-YUXDVW62.js.map → chunk-M65ZNPLO.js.map} +0 -0
- /package/dist/{chunk-URHX4FAQ.js.map → chunk-MKLIMY3D.js.map} +0 -0
- /package/dist/{chunk-2FM5SUQV.js.map → chunk-MM5XSAVE.js.map} +0 -0
- /package/dist/{chunk-LXT3X33C.js.map → chunk-NCB4GBRL.js.map} +0 -0
- /package/dist/{chunk-FNO5TWBJ.js.map → chunk-NCEQWEXT.js.map} +0 -0
- /package/dist/{chunk-FWPFCK4D.js.map → chunk-NDHDBOUH.js.map} +0 -0
- /package/dist/{chunk-WRCLYSTX.js.map → chunk-NFGIA2ZV.js.map} +0 -0
- /package/dist/{chunk-VPPIODKX.js.map → chunk-NQ7NMCRI.js.map} +0 -0
- /package/dist/{chunk-YMTZN54Q.js.map → chunk-NRSVI23L.js.map} +0 -0
- /package/dist/{chunk-2622YFM6.js.map → chunk-NSVSC6ZC.js.map} +0 -0
- /package/dist/{chunk-Z43N7ASP.js.map → chunk-NU55QUMO.js.map} +0 -0
- /package/dist/{chunk-66O55OZI.js.map → chunk-NYFGFELX.js.map} +0 -0
- /package/dist/{chunk-JXECOCNA.js.map → chunk-P6Q2O3TU.js.map} +0 -0
- /package/dist/{chunk-RTEY5COP.js.map → chunk-PAICZOL5.js.map} +0 -0
- /package/dist/{chunk-ZN6YATOG.js.map → chunk-PAT2BQOQ.js.map} +0 -0
- /package/dist/{chunk-TZBOWSAM.js.map → chunk-PICOOZLX.js.map} +0 -0
- /package/dist/{chunk-JJJM75XF.js.map → chunk-PNDYAIKM.js.map} +0 -0
- /package/dist/{chunk-EJYJLVPK.js.map → chunk-PRLYYKMG.js.map} +0 -0
- /package/dist/{chunk-4GB46HLK.js.map → chunk-PTONBPZL.js.map} +0 -0
- /package/dist/{chunk-FNG33MKA.js.map → chunk-QDELBNL3.js.map} +0 -0
- /package/dist/{chunk-DSF4VT7L.js.map → chunk-QEI5DC6S.js.map} +0 -0
- /package/dist/{chunk-VJ2BNJ5M.js.map → chunk-QMELMQPA.js.map} +0 -0
- /package/dist/{chunk-HDJQDMHB.js.map → chunk-QMHS6ZDI.js.map} +0 -0
- /package/dist/{chunk-2WVHZIWP.js.map → chunk-QSRZOXQI.js.map} +0 -0
- /package/dist/{chunk-C3LZ3OGJ.js.map → chunk-R2FUQV24.js.map} +0 -0
- /package/dist/{chunk-GOWBYHYW.js.map → chunk-R6SBP5M5.js.map} +0 -0
- /package/dist/{chunk-HWSS6C7C.js.map → chunk-RDFPM2AQ.js.map} +0 -0
- /package/dist/{chunk-4RPFI474.js.map → chunk-RSDYS5B3.js.map} +0 -0
- /package/dist/{chunk-X53F33KA.js.map → chunk-RWXYND4H.js.map} +0 -0
- /package/dist/{chunk-4NPPO63U.js.map → chunk-RZ2VZ7SL.js.map} +0 -0
- /package/dist/{chunk-ORRI6FMN.js.map → chunk-S4IXC2V3.js.map} +0 -0
- /package/dist/{chunk-MXCIUKTQ.js.map → chunk-SDBBJ6FG.js.map} +0 -0
- /package/dist/{chunk-UMNXSQ7I.js.map → chunk-SNBAMWI5.js.map} +0 -0
- /package/dist/{chunk-LP3JCXER.js.map → chunk-SNW5MJ6I.js.map} +0 -0
- /package/dist/{chunk-5OBGW3FG.js.map → chunk-STTULW2K.js.map} +0 -0
- /package/dist/{chunk-3CTQZDSD.js.map → chunk-TCNTIGMY.js.map} +0 -0
- /package/dist/{chunk-Y6C4MYZE.js.map → chunk-TNQDSTIA.js.map} +0 -0
- /package/dist/{chunk-6RLCBNDV.js.map → chunk-TPVSHO75.js.map} +0 -0
- /package/dist/{chunk-BUPDBEBA.js.map → chunk-TTJTMDLI.js.map} +0 -0
- /package/dist/{chunk-TU5EIKJA.js.map → chunk-U5SH3VRJ.js.map} +0 -0
- /package/dist/{chunk-MLQYIJTO.js.map → chunk-U6W2RY3Z.js.map} +0 -0
- /package/dist/{chunk-4WF6ZLIW.js.map → chunk-UGPRBJWB.js.map} +0 -0
- /package/dist/{chunk-Y6G4I42P.js.map → chunk-VEEG4UXZ.js.map} +0 -0
- /package/dist/{chunk-IRD45DRW.js.map → chunk-VOJBLBXE.js.map} +0 -0
- /package/dist/{chunk-KHPL2J3B.js.map → chunk-VPAOVEI2.js.map} +0 -0
- /package/dist/{chunk-DYGWKZ7T.js.map → chunk-VWJEM2ER.js.map} +0 -0
- /package/dist/{chunk-FERUQ7OB.js.map → chunk-VYA4QWQL.js.map} +0 -0
- /package/dist/{chunk-UKX3MPB7.js.map → chunk-VYV3JOV5.js.map} +0 -0
- /package/dist/{chunk-B7CNP5HW.js.map → chunk-WV62BSWA.js.map} +0 -0
- /package/dist/{chunk-IWEUSZY3.js.map → chunk-X66E5WSX.js.map} +0 -0
- /package/dist/{chunk-OJ2XR3WH.js.map → chunk-XB7HYOMM.js.map} +0 -0
- /package/dist/{chunk-H6AWKLOV.js.map → chunk-XBLFK2FL.js.map} +0 -0
- /package/dist/{chunk-5HDYTTE7.js.map → chunk-XHA2NXLD.js.map} +0 -0
- /package/dist/{chunk-F4KYBBTY.js.map → chunk-XLXMJ6X2.js.map} +0 -0
- /package/dist/{chunk-SCZABICW.js.map → chunk-XO4ZUHVH.js.map} +0 -0
- /package/dist/{chunk-PARTZ7XI.js.map → chunk-XP522FFM.js.map} +0 -0
- /package/dist/{chunk-MBHWVRV5.js.map → chunk-XVZG52CM.js.map} +0 -0
- /package/dist/{chunk-TGXCG62P.js.map → chunk-XXL4PM4M.js.map} +0 -0
- /package/dist/{chunk-YKEO6UHN.js.map → chunk-XZJM6EPC.js.map} +0 -0
- /package/dist/{chunk-YTY7TD7S.js.map → chunk-XZY7O7JJ.js.map} +0 -0
- /package/dist/{chunk-WZNTZX5N.js.map → chunk-Y2UXX5IQ.js.map} +0 -0
- /package/dist/{chunk-QOLIBVGS.js.map → chunk-YGYQC7MT.js.map} +0 -0
- /package/dist/{chunk-THMT3G3L.js.map → chunk-YLXQWYOG.js.map} +0 -0
- /package/dist/{chunk-M4KVKQRN.js.map → chunk-YPIVLPXF.js.map} +0 -0
- /package/dist/{chunk-57FZM6GH.js.map → chunk-YRUX7XMQ.js.map} +0 -0
- /package/dist/{chunk-M2Q5CLPU.js.map → chunk-YTXZUTLF.js.map} +0 -0
- /package/dist/{chunk-ZWCYSAI5.js.map → chunk-YWJDUJAR.js.map} +0 -0
- /package/dist/{chunk-S36NC22G.js.map → chunk-Z2NN53E5.js.map} +0 -0
- /package/dist/{chunk-GC56IWIZ.js.map → chunk-Z4DKVLYG.js.map} +0 -0
- /package/dist/{chunk-U4QUDFPJ.js.map → chunk-Z4O3F6KU.js.map} +0 -0
- /package/dist/{chunk-JC22FNFA.js.map → chunk-Z6T5SXST.js.map} +0 -0
- /package/dist/{chunk-TXEN3QJ4.js.map → chunk-ZC5HDBQO.js.map} +0 -0
- /package/dist/{chunk-LEHMWJNZ.js.map → chunk-ZEYUSS3W.js.map} +0 -0
- /package/dist/{chunk-4WNFOBTH.js.map → chunk-ZKWVCSAB.js.map} +0 -0
- /package/dist/{chunk-GEB4WSZH.js.map → chunk-ZNBLGS66.js.map} +0 -0
- /package/dist/native/chunks/{chunk-ONXKFA5Z.js.map → chunk-A2QNZ4VK.js.map} +0 -0
- /package/dist/native/chunks/{chunk-X6RQGKGF.js.map → chunk-BST5DUUD.js.map} +0 -0
- /package/dist/native/chunks/{chunk-GUBTMR2K.js.map → chunk-EDYZEMVD.js.map} +0 -0
- /package/dist/native/chunks/{chunk-SZF56GVJ.js.map → chunk-LECBJD35.js.map} +0 -0
- /package/dist/native/chunks/{chunk-JBYDLWQA.js.map → chunk-MTRRGDBQ.js.map} +0 -0
- /package/dist/native/chunks/{chunk-IMGBBIMT.js.map → chunk-PN7C2BEY.js.map} +0 -0
- /package/dist/native/chunks/{chunk-4ZAULIDG.js.map → chunk-S4F364X4.js.map} +0 -0
- /package/dist/native/chunks/{chunk-5IASLIBI.js.map → chunk-VJFKRXY2.js.map} +0 -0
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
inputRadiusStyles,
|
|
10
10
|
outlinedStyles,
|
|
11
11
|
pulseStyles
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YLXQWYOG.js";
|
|
13
13
|
import {
|
|
14
14
|
INPUT_LOADING,
|
|
15
15
|
SIZE_MAP,
|
|
16
16
|
muiVariantFor
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JU3FRRO2.js";
|
|
18
18
|
import {
|
|
19
19
|
splitTestId
|
|
20
20
|
} from "./chunk-TYJR4GOF.js";
|
|
21
21
|
import {
|
|
22
22
|
fieldControlStyles
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-M47ZOUGF.js";
|
|
24
24
|
import {
|
|
25
25
|
rem
|
|
26
26
|
} from "./chunk-YKCAJ2TN.js";
|
|
@@ -92,6 +92,7 @@ var Input = React.forwardRef(
|
|
|
92
92
|
"aria-label": ariaLabel,
|
|
93
93
|
"aria-describedby": ariaDescribedBy,
|
|
94
94
|
"aria-busy": ariaBusy,
|
|
95
|
+
inputProps,
|
|
95
96
|
...rest
|
|
96
97
|
}, ref) => {
|
|
97
98
|
const { testId: dataTestId, rest: props } = splitTestId(rest);
|
|
@@ -117,6 +118,7 @@ var Input = React.forwardRef(
|
|
|
117
118
|
onBlur,
|
|
118
119
|
inputProps: {
|
|
119
120
|
"data-testid": dataTestId,
|
|
121
|
+
...inputProps,
|
|
120
122
|
...inputAriaOf({ id, helperText, label: ariaLabel, describedBy: ariaDescribedBy, busy: ariaBusy })
|
|
121
123
|
},
|
|
122
124
|
InputProps: {
|
|
@@ -135,4 +137,4 @@ Input.displayName = "Input";
|
|
|
135
137
|
export {
|
|
136
138
|
Input
|
|
137
139
|
};
|
|
138
|
-
//# sourceMappingURL=chunk-
|
|
140
|
+
//# sourceMappingURL=chunk-SDKOOVEX.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/form/Input/Input.tsx"],"sourcesContent":["import CircularProgress from '@mui/material/CircularProgress/index.js';\nimport InputAdornment from '@mui/material/InputAdornment/index.js';\nimport { styled, useTheme } from '@mui/material/styles/index.js';\nimport React from 'react';\n\nimport { INPUT_LOADING } from './Input.metrics';\nimport { TextFieldSlim } from './text-field-slim';\n\nimport {\n filledStyles,\n floatingLabelStyles,\n glowStyles,\n inputBaseStyles,\n inputRadiusStyles,\n muiVariantFor,\n outlinedStyles,\n pulseStyles,\n SIZE_MAP,\n} from './Input.styles';\nimport type { InputProps } from './Input.types';\nimport { splitTestId } from '../../../platform/test-id';\nimport { fieldControlStyles } from '../../../tokens/field-height';\nimport { rem } from '../../../tokens/relative';\nimport type { SizeValue } from '../../../tokens/vocabulary';\n\n/**\n * `TextFieldSlim`, not `TextField` — see `text-field-slim.tsx`. MUI's own\n * `TextField` imports `Select` unconditionally, and through it `Menu`,\n * `Popover`, `Modal` and seven more component modules, so every screen with one\n * text box shipped a dropdown it can never render. Same composition, same DOM,\n * same prop routing; the select branch is the only thing missing.\n */\nconst StyledTextField = styled(TextFieldSlim, {\n shouldForwardProp: (prop) =>\n !['customVariant', 'fieldSize', 'floating', 'glow', 'pulse', 'loading'].includes(prop as string),\n})<{\n customVariant?: InputProps['variant'];\n fieldSize: SizeValue;\n floating?: boolean;\n glow?: boolean;\n pulse?: boolean;\n loading?: boolean;\n}>(({ theme, customVariant, fieldSize, floating, glow, pulse, loading }) => ({\n position: 'relative',\n // The theme's field height for this size (outlined family, one line).\n ...fieldControlStyles(theme, fieldSize),\n opacity: loading ? INPUT_LOADING.opacity : 1,\n\n ...(glow ? glowStyles(theme) : {}),\n ...(pulse ? pulseStyles(theme, fieldSize) : {}),\n ...(floating ? floatingLabelStyles(theme) : {}),\n\n '& .MuiInputBase-root': {\n transition: 'all 0.3s ease',\n ...inputRadiusStyles(theme, customVariant),\n ...inputBaseStyles(theme, customVariant),\n },\n\n '& .MuiOutlinedInput-root': outlinedStyles(theme),\n '& .MuiFilledInput-root': filledStyles(theme),\n}));\n\n/** Only one adornment shows at a time: the spinner replaces the caller's while loading. */\nconst EndAdornment: React.FC<{ loading: boolean; endAdornment?: React.ReactNode }> = ({\n loading,\n endAdornment,\n}) => {\n const theme = useTheme();\n if (loading) {\n return (\n <InputAdornment position=\"end\">\n <CircularProgress size={rem(theme, INPUT_LOADING.spinnerSize)} />\n </InputAdornment>\n );\n }\n\n if (!endAdornment) return null;\n\n return <InputAdornment position=\"end\">{endAdornment}</InputAdornment>;\n};\n\n/** While loading the field is inert: no clicks, and disabled to assistive tech. */\nconst interactionProps = (\n loading: boolean,\n onClick: InputProps['onClick'],\n disabled?: boolean,\n) => ({\n disabled: loading || disabled,\n onClick: loading ? undefined : onClick,\n});\n\n/**\n * The ARIA that describes the field has to sit on the `<input>`: the text\n * field puts every attribute it does not recognise on its root `FormControl`,\n * a `<div>` with no role, where a screen reader never reads it.\n *\n * `aria-label` has ridden `inputProps` since FUT-755. `aria-describedby` and\n * `aria-busy` fell through to the div until FUT-2619, so CepField's input\n * pointed at nothing while its lookup status lived in a live region beside it.\n *\n * `inputProps` are spread onto the `<input>` AFTER the `aria-describedby` MUI\n * writes for helper text, so a caller's ids REPLACE the helper text's: MUI's\n * `TextField` on its own keeps only one of the two. This joins both, helper\n * text first. The helper id is MUI's `<id>-helper-text` (the parity test pins\n * that spelling), which is why the field's id is fixed here rather than left\n * to the text field.\n */\nfunction inputAriaOf(a: {\n id: string;\n helperText: React.ReactNode;\n label?: string;\n describedBy?: string;\n busy?: InputProps['aria-busy'];\n}): Record<string, unknown> {\n const describedBy = [a.helperText ? `${a.id}-helper-text` : undefined, a.describedBy]\n .filter(Boolean)\n .join(' ');\n return {\n ...(a.label === undefined ? {} : { 'aria-label': a.label }),\n ...(a.describedBy === undefined ? {} : { 'aria-describedby': describedBy }),\n ...(a.busy === undefined ? {} : { 'aria-busy': a.busy }),\n };\n}\n\nexport const Input = React.forwardRef<HTMLInputElement, InputProps>(\n (\n {\n variant = 'outlined',\n size = 'md',\n label,\n error,\n helperText,\n startAdornment,\n endAdornment,\n fullWidth = true,\n floating = false,\n glow = false,\n pulse = false,\n loading = false,\n onClick,\n onFocus,\n onBlur,\n 'aria-label': ariaLabel,\n 'aria-describedby': ariaDescribedBy,\n 'aria-busy': ariaBusy,\n ...rest\n },\n ref,\n ) => {\n const { testId: dataTestId, rest: props } = splitTestId(rest);\n const generatedId = React.useId();\n const id = props.id ?? generatedId;\n return (\n <StyledTextField\n ref={ref}\n variant={muiVariantFor(variant)}\n customVariant={variant}\n fieldSize={size}\n floating={floating}\n glow={glow}\n pulse={pulse}\n loading={loading}\n label={label}\n error={error}\n helperText={helperText}\n fullWidth={fullWidth}\n {...interactionProps(loading, onClick, props.disabled)}\n onFocus={onFocus}\n onBlur={onBlur}\n /*\n * `aria-label` has to ride `inputProps` to reach the `<input>` (FUT-755).\n * Spread with the rest it lands on the FormControl DIV that the text\n * field renders as its root, which carries no role — so the field kept\n * no accessible name, and a source grep saying \"this input is labelled\"\n * disagreed with the DOM. The reports search box and the block-title\n * inputs were both named in source and anonymous to a screen reader.\n * `aria-describedby` and `aria-busy` are the same case: `inputAriaOf`.\n */\n inputProps={{\n 'data-testid': dataTestId,\n ...inputAriaOf({ id, helperText, label: ariaLabel, describedBy: ariaDescribedBy, busy: ariaBusy }),\n }}\n InputProps={{\n startAdornment: startAdornment && (\n <InputAdornment position=\"start\">{startAdornment}</InputAdornment>\n ),\n endAdornment: <EndAdornment loading={loading} endAdornment={endAdornment} />,\n }}\n {...SIZE_MAP[size]}\n {...props}\n id={id}\n />\n );\n },\n);\n\nInput.displayName = 'Input';\n"],"mappings":"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","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/components/form/Input/Input.tsx"],"sourcesContent":["import CircularProgress from '@mui/material/CircularProgress/index.js';\nimport InputAdornment from '@mui/material/InputAdornment/index.js';\nimport { styled, useTheme } from '@mui/material/styles/index.js';\nimport React from 'react';\n\nimport { INPUT_LOADING } from './Input.metrics';\nimport { TextFieldSlim } from './text-field-slim';\n\nimport {\n filledStyles,\n floatingLabelStyles,\n glowStyles,\n inputBaseStyles,\n inputRadiusStyles,\n muiVariantFor,\n outlinedStyles,\n pulseStyles,\n SIZE_MAP,\n} from './Input.styles';\nimport type { InputProps } from './Input.types';\nimport { splitTestId } from '../../../platform/test-id';\nimport { fieldControlStyles } from '../../../tokens/field-height';\nimport { rem } from '../../../tokens/relative';\nimport type { SizeValue } from '../../../tokens/vocabulary';\n\n/**\n * `TextFieldSlim`, not `TextField` — see `text-field-slim.tsx`. MUI's own\n * `TextField` imports `Select` unconditionally, and through it `Menu`,\n * `Popover`, `Modal` and seven more component modules, so every screen with one\n * text box shipped a dropdown it can never render. Same composition, same DOM,\n * same prop routing; the select branch is the only thing missing.\n */\nconst StyledTextField = styled(TextFieldSlim, {\n shouldForwardProp: (prop) =>\n !['customVariant', 'fieldSize', 'floating', 'glow', 'pulse', 'loading'].includes(prop as string),\n})<{\n customVariant?: InputProps['variant'];\n fieldSize: SizeValue;\n floating?: boolean;\n glow?: boolean;\n pulse?: boolean;\n loading?: boolean;\n}>(({ theme, customVariant, fieldSize, floating, glow, pulse, loading }) => ({\n position: 'relative',\n // The theme's field height for this size (outlined family, one line).\n ...fieldControlStyles(theme, fieldSize),\n opacity: loading ? INPUT_LOADING.opacity : 1,\n\n ...(glow ? glowStyles(theme) : {}),\n ...(pulse ? pulseStyles(theme, fieldSize) : {}),\n ...(floating ? floatingLabelStyles(theme) : {}),\n\n '& .MuiInputBase-root': {\n transition: 'all 0.3s ease',\n ...inputRadiusStyles(theme, customVariant),\n ...inputBaseStyles(theme, customVariant),\n },\n\n '& .MuiOutlinedInput-root': outlinedStyles(theme),\n '& .MuiFilledInput-root': filledStyles(theme),\n}));\n\n/** Only one adornment shows at a time: the spinner replaces the caller's while loading. */\nconst EndAdornment: React.FC<{ loading: boolean; endAdornment?: React.ReactNode }> = ({\n loading,\n endAdornment,\n}) => {\n const theme = useTheme();\n if (loading) {\n return (\n <InputAdornment position=\"end\">\n <CircularProgress size={rem(theme, INPUT_LOADING.spinnerSize)} />\n </InputAdornment>\n );\n }\n\n if (!endAdornment) return null;\n\n return <InputAdornment position=\"end\">{endAdornment}</InputAdornment>;\n};\n\n/** While loading the field is inert: no clicks, and disabled to assistive tech. */\nconst interactionProps = (\n loading: boolean,\n onClick: InputProps['onClick'],\n disabled?: boolean,\n) => ({\n disabled: loading || disabled,\n onClick: loading ? undefined : onClick,\n});\n\n/**\n * The ARIA that describes the field has to sit on the `<input>`: the text\n * field puts every attribute it does not recognise on its root `FormControl`,\n * a `<div>` with no role, where a screen reader never reads it.\n *\n * `aria-label` has ridden `inputProps` since FUT-755. `aria-describedby` and\n * `aria-busy` fell through to the div until FUT-2619, so CepField's input\n * pointed at nothing while its lookup status lived in a live region beside it.\n *\n * `inputProps` are spread onto the `<input>` AFTER the `aria-describedby` MUI\n * writes for helper text, so a caller's ids REPLACE the helper text's: MUI's\n * `TextField` on its own keeps only one of the two. This joins both, helper\n * text first. The helper id is MUI's `<id>-helper-text` (the parity test pins\n * that spelling), which is why the field's id is fixed here rather than left\n * to the text field.\n */\nfunction inputAriaOf(a: {\n id: string;\n helperText: React.ReactNode;\n label?: string;\n describedBy?: string;\n busy?: InputProps['aria-busy'];\n}): Record<string, unknown> {\n const describedBy = [a.helperText ? `${a.id}-helper-text` : undefined, a.describedBy]\n .filter(Boolean)\n .join(' ');\n return {\n ...(a.label === undefined ? {} : { 'aria-label': a.label }),\n ...(a.describedBy === undefined ? {} : { 'aria-describedby': describedBy }),\n ...(a.busy === undefined ? {} : { 'aria-busy': a.busy }),\n };\n}\n\nexport const Input = React.forwardRef<HTMLInputElement, InputProps>(\n (\n {\n variant = 'outlined',\n size = 'md',\n label,\n error,\n helperText,\n startAdornment,\n endAdornment,\n fullWidth = true,\n floating = false,\n glow = false,\n pulse = false,\n loading = false,\n onClick,\n onFocus,\n onBlur,\n 'aria-label': ariaLabel,\n 'aria-describedby': ariaDescribedBy,\n 'aria-busy': ariaBusy,\n inputProps,\n ...rest\n },\n ref,\n ) => {\n const { testId: dataTestId, rest: props } = splitTestId(rest);\n const generatedId = React.useId();\n const id = props.id ?? generatedId;\n return (\n <StyledTextField\n ref={ref}\n variant={muiVariantFor(variant)}\n customVariant={variant}\n fieldSize={size}\n floating={floating}\n glow={glow}\n pulse={pulse}\n loading={loading}\n label={label}\n error={error}\n helperText={helperText}\n fullWidth={fullWidth}\n {...interactionProps(loading, onClick, props.disabled)}\n onFocus={onFocus}\n onBlur={onBlur}\n /*\n * `aria-label` has to ride `inputProps` to reach the `<input>` (FUT-755).\n * Spread with the rest it lands on the FormControl DIV that the text\n * field renders as its root, which carries no role — so the field kept\n * no accessible name, and a source grep saying \"this input is labelled\"\n * disagreed with the DOM. The reports search box and the block-title\n * inputs were both named in source and anonymous to a screen reader.\n * `aria-describedby` and `aria-busy` are the same case: `inputAriaOf`.\n */\n inputProps={{\n 'data-testid': dataTestId,\n ...inputProps,\n ...inputAriaOf({ id, helperText, label: ariaLabel, describedBy: ariaDescribedBy, busy: ariaBusy }),\n }}\n InputProps={{\n startAdornment: startAdornment && (\n <InputAdornment position=\"start\">{startAdornment}</InputAdornment>\n ),\n endAdornment: <EndAdornment loading={loading} endAdornment={endAdornment} />,\n }}\n {...SIZE_MAP[size]}\n {...props}\n id={id}\n />\n );\n },\n);\n\nInput.displayName = 'Input';\n"],"mappings":"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","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fieldHeight
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-M47ZOUGF.js";
|
|
4
4
|
import {
|
|
5
5
|
fieldRadiusPx
|
|
6
6
|
} from "./chunk-GDN2LUTZ.js";
|
|
@@ -77,4 +77,4 @@ function FilterTrigger({
|
|
|
77
77
|
export {
|
|
78
78
|
FilterTrigger
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-SNBAMWI5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sizeStyles
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VYA4QWQL.js";
|
|
4
4
|
import {
|
|
5
5
|
sxRem
|
|
6
6
|
} from "./chunk-YKCAJ2TN.js";
|
|
@@ -95,4 +95,4 @@ var MenubarItemView = ({
|
|
|
95
95
|
export {
|
|
96
96
|
MenubarItemView
|
|
97
97
|
};
|
|
98
|
-
//# sourceMappingURL=chunk-
|
|
98
|
+
//# sourceMappingURL=chunk-SNW5MJ6I.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getColorFromTheme,
|
|
6
6
|
getSizeStyles,
|
|
7
7
|
pulseAnimation
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6REPQ352.js";
|
|
9
9
|
import {
|
|
10
10
|
progressLabelText,
|
|
11
11
|
resolveProgressProps
|
|
@@ -243,4 +243,4 @@ Progress.displayName = "Progress";
|
|
|
243
243
|
export {
|
|
244
244
|
Progress
|
|
245
245
|
};
|
|
246
|
-
//# sourceMappingURL=chunk-
|
|
246
|
+
//# sourceMappingURL=chunk-STTULW2K.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
SettingsSectionChips
|
|
3
|
-
} from "./chunk-N7LPVR7P.js";
|
|
4
1
|
import {
|
|
5
2
|
SettingsSectionHeader
|
|
6
3
|
} from "./chunk-6KEXHOIF.js";
|
|
4
|
+
import {
|
|
5
|
+
SettingsSectionChips
|
|
6
|
+
} from "./chunk-CKHFYTIX.js";
|
|
7
7
|
import {
|
|
8
8
|
TOUCH_TARGET,
|
|
9
9
|
atLeastRail,
|
|
@@ -167,4 +167,4 @@ function SettingsPanel({
|
|
|
167
167
|
export {
|
|
168
168
|
SettingsPanel
|
|
169
169
|
};
|
|
170
|
-
//# sourceMappingURL=chunk-
|
|
170
|
+
//# sourceMappingURL=chunk-TCNTIGMY.js.map
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
pulseAnimation,
|
|
3
|
-
rotateAnimation,
|
|
4
|
-
scaleInAnimation,
|
|
5
|
-
shimmerAnimation
|
|
6
|
-
} from "./chunk-MTEQEPNY.js";
|
|
7
1
|
import {
|
|
8
2
|
ACTIVE_SCALE,
|
|
9
3
|
AVATAR_SIZES,
|
|
@@ -23,6 +17,12 @@ import {
|
|
|
23
17
|
SPINNER,
|
|
24
18
|
STATUS_DOT
|
|
25
19
|
} from "./chunk-6ZZGK5DT.js";
|
|
20
|
+
import {
|
|
21
|
+
pulseAnimation,
|
|
22
|
+
rotateAnimation,
|
|
23
|
+
scaleInAnimation,
|
|
24
|
+
shimmerAnimation
|
|
25
|
+
} from "./chunk-MTEQEPNY.js";
|
|
26
26
|
import {
|
|
27
27
|
absoluteInk,
|
|
28
28
|
controlNeutral,
|
|
@@ -277,4 +277,4 @@ function AvatarView(props) {
|
|
|
277
277
|
export {
|
|
278
278
|
AvatarView
|
|
279
279
|
};
|
|
280
|
-
//# sourceMappingURL=chunk-
|
|
280
|
+
//# sourceMappingURL=chunk-TNQDSTIA.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CategorySectionHeading,
|
|
3
3
|
CategoryTreeRow
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CMFJQH6A.js";
|
|
5
|
+
import {
|
|
6
|
+
emptySx,
|
|
7
|
+
listSx,
|
|
8
|
+
skeletonSx
|
|
9
|
+
} from "./chunk-Z6T5SXST.js";
|
|
5
10
|
import {
|
|
6
11
|
categoryCheckState,
|
|
7
12
|
isLeafCategory,
|
|
8
13
|
leavesOf
|
|
9
14
|
} from "./chunk-PN4HVM43.js";
|
|
10
|
-
import {
|
|
11
|
-
emptySx,
|
|
12
|
-
listSx,
|
|
13
|
-
skeletonSx
|
|
14
|
-
} from "./chunk-JC22FNFA.js";
|
|
15
15
|
import {
|
|
16
16
|
sxRem
|
|
17
17
|
} from "./chunk-YKCAJ2TN.js";
|
|
@@ -144,4 +144,4 @@ function CategoryPanelList(props) {
|
|
|
144
144
|
export {
|
|
145
145
|
CategoryPanelList
|
|
146
146
|
};
|
|
147
|
-
//# sourceMappingURL=chunk-
|
|
147
|
+
//# sourceMappingURL=chunk-TPVSHO75.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-AUHYR7ID.js";
|
|
12
12
|
import {
|
|
13
13
|
Button
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-K6LNHHSH.js";
|
|
15
15
|
|
|
16
16
|
// src/components/feedback/NotificationStatusNotice/NotificationStatusNotice.tsx
|
|
17
17
|
import Box from "@mui/material/Box/index.js";
|
|
@@ -106,4 +106,4 @@ NotificationStatusNotice.displayName = "NotificationStatusNotice";
|
|
|
106
106
|
export {
|
|
107
107
|
NotificationStatusNotice
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-TTJTMDLI.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
PT_BR_TABLE_FILTER_COPY
|
|
3
|
-
} from "./chunk-A7RIZOAL.js";
|
|
4
1
|
import {
|
|
5
2
|
PT_BR_CATEGORY_SELECT_COPY,
|
|
6
3
|
PT_BR_CONFIRM_ACTION_COPY,
|
|
7
4
|
PT_BR_SAVED_VIEWS_LABELS
|
|
8
5
|
} from "./chunk-WUE5EK42.js";
|
|
6
|
+
import {
|
|
7
|
+
PT_BR_TABLE_FILTER_COPY
|
|
8
|
+
} from "./chunk-33L26P4J.js";
|
|
9
9
|
|
|
10
10
|
// src/pt-BR.data-display.ts
|
|
11
11
|
var PT_BR_LIGHTBOX_COPY = {
|
|
@@ -225,4 +225,4 @@ export {
|
|
|
225
225
|
PT_BR_DATA_STATE_COPY,
|
|
226
226
|
PT_BR_DATA_VIEWS_COPY
|
|
227
227
|
};
|
|
228
|
-
//# sourceMappingURL=chunk-
|
|
228
|
+
//# sourceMappingURL=chunk-U5SH3VRJ.js.map
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import {
|
|
2
|
+
partTestId
|
|
3
|
+
} from "./chunk-PEOOCQ2T.js";
|
|
4
|
+
import {
|
|
5
|
+
SETTING_CARD_OPEN_ATTR,
|
|
6
|
+
withCallerSx
|
|
7
|
+
} from "./chunk-3DO5AJCG.js";
|
|
8
|
+
import {
|
|
9
|
+
SETTING_CARD,
|
|
10
|
+
SETTING_GRID_GAP_UNITS
|
|
11
|
+
} from "./chunk-IC7GHPMK.js";
|
|
12
|
+
import {
|
|
13
|
+
rem
|
|
14
|
+
} from "./chunk-YKCAJ2TN.js";
|
|
15
|
+
|
|
16
|
+
// src/components/layout/SettingCard/SettingGrid.tsx
|
|
17
|
+
import Box from "@mui/material/Box/index.js";
|
|
18
|
+
import { useTheme } from "@mui/material/styles/index.js";
|
|
19
|
+
import { forwardRef } from "react";
|
|
20
|
+
import { jsx } from "react/jsx-runtime";
|
|
21
|
+
var SETTING_GRID_CONTAINER = "setting-grid";
|
|
22
|
+
var tracks = (n) => `repeat(${n}, minmax(0, 1fr))`;
|
|
23
|
+
var threshold = (theme, n, minColumnPx, gapUnits) => `calc(${n} * ${rem(theme, minColumnPx)} + ${n - 1} * ${theme.spacing(gapUnits)})`;
|
|
24
|
+
function settingGridStyles(theme, { minColumnPx, maxColumns, gapUnits }) {
|
|
25
|
+
const styles = {
|
|
26
|
+
display: "grid",
|
|
27
|
+
gap: theme.spacing(gapUnits),
|
|
28
|
+
gridTemplateColumns: tracks(1),
|
|
29
|
+
gridAutoRows: "auto",
|
|
30
|
+
alignItems: "stretch",
|
|
31
|
+
[`& > [${SETTING_CARD_OPEN_ATTR}], & > :has([${SETTING_CARD_OPEN_ATTR}])`]: { gridColumn: "1 / -1" }
|
|
32
|
+
};
|
|
33
|
+
for (const n of [2, 3]) {
|
|
34
|
+
if (n > maxColumns) break;
|
|
35
|
+
styles[`@container ${SETTING_GRID_CONTAINER} (min-width: ${threshold(theme, n, minColumnPx, gapUnits)})`] = {
|
|
36
|
+
gridTemplateColumns: tracks(n)
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
return styles;
|
|
40
|
+
}
|
|
41
|
+
var SettingGrid = forwardRef(function SettingGrid2(props, ref) {
|
|
42
|
+
const {
|
|
43
|
+
children,
|
|
44
|
+
minColumnWidth = SETTING_CARD.gridMinColumnWidth,
|
|
45
|
+
maxColumns = 3,
|
|
46
|
+
gap = SETTING_GRID_GAP_UNITS,
|
|
47
|
+
"aria-label": ariaLabel,
|
|
48
|
+
dataTestId,
|
|
49
|
+
className,
|
|
50
|
+
sx
|
|
51
|
+
} = props;
|
|
52
|
+
const theme = useTheme();
|
|
53
|
+
const gridStyles = settingGridStyles(theme, { minColumnPx: minColumnWidth, maxColumns, gapUnits: gap });
|
|
54
|
+
return /* @__PURE__ */ jsx(
|
|
55
|
+
Box,
|
|
56
|
+
{
|
|
57
|
+
ref,
|
|
58
|
+
role: ariaLabel ? "region" : void 0,
|
|
59
|
+
"aria-label": ariaLabel,
|
|
60
|
+
"data-testid": dataTestId,
|
|
61
|
+
className,
|
|
62
|
+
sx: withCallerSx({ containerType: "inline-size", containerName: SETTING_GRID_CONTAINER, minWidth: 0 }, sx),
|
|
63
|
+
children: /* @__PURE__ */ jsx(
|
|
64
|
+
Box,
|
|
65
|
+
{
|
|
66
|
+
sx: gridStyles,
|
|
67
|
+
"data-max-columns": maxColumns,
|
|
68
|
+
"data-testid": partTestId(dataTestId, "grid"),
|
|
69
|
+
children
|
|
70
|
+
}
|
|
71
|
+
)
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
});
|
|
75
|
+
SettingGrid.displayName = "SettingGrid";
|
|
76
|
+
|
|
77
|
+
export {
|
|
78
|
+
SETTING_GRID_CONTAINER,
|
|
79
|
+
settingGridStyles,
|
|
80
|
+
SettingGrid
|
|
81
|
+
};
|
|
82
|
+
//# sourceMappingURL=chunk-U67ZQ6VM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/layout/SettingCard/SettingGrid.tsx"],"sourcesContent":["import Box from '@mui/material/Box/index.js';\nimport { useTheme, type CSSObject, type Theme } from '@mui/material/styles/index.js';\nimport { forwardRef } from 'react';\n\nimport { rem } from '../../../tokens/relative';\n\nimport { SETTING_CARD, SETTING_GRID_GAP_UNITS } from './SettingCard.metrics';\nimport { partTestId } from './SettingCard.parts';\nimport { SETTING_CARD_OPEN_ATTR, withCallerSx } from './SettingCard.styles';\nimport type { SettingGridColumns, SettingGridProps } from './SettingCard.types';\n\n/** The container the grid's own queries are asked of. Named, so a nested grid answers to its own. */\nexport const SETTING_GRID_CONTAINER = 'setting-grid';\n\n/** The track list for `n` equal columns. `minmax(0, …)` so a long word cannot widen its column. */\nconst tracks = (n: SettingGridColumns): string => `repeat(${n}, minmax(0, 1fr))`;\n\n/**\n * The narrowest the container can be and still fit `n` columns of\n * `minColumnWidth` with the gaps between them. A `calc()` because the gap is a\n * spacing unit and the width a type-scale length: two scales, one sum.\n */\nconst threshold = (theme: Theme, n: number, minColumnPx: number, gapUnits: number): string =>\n `calc(${n} * ${rem(theme, minColumnPx)} + ${n - 1} * ${theme.spacing(gapUnits)})`;\n\n/**\n * The grid itself.\n *\n * - Columns come from CONTAINER queries, not viewport ones: a settings grid\n * lives beside a rail, inside a drawer, in half a split view, and the\n * viewport says nothing about how wide any of those are.\n * - `grid-auto-rows: auto` with `align-items: stretch` is the equal-height\n * rule: each row is as tall as its tallest card and every card in it\n * stretches to match. Not `1fr` rows — those would make EVERY row as tall as\n * the tallest, so one open card would inflate the whole page.\n * - An open card spans the row. The card sets `grid-column` on itself; the\n * `:has()` rule covers a card the host wrapped in an element of its own.\n */\nexport interface SettingGridLayout {\n /** The narrowest column, in DESIGN px (drawn through `rem`). */\n minColumnPx: number;\n maxColumns: SettingGridColumns;\n /** The gap, in theme SPACING units. */\n gapUnits: number;\n}\n\nexport function settingGridStyles(theme: Theme, { minColumnPx, maxColumns, gapUnits }: SettingGridLayout): CSSObject {\n const styles: CSSObject = {\n display: 'grid',\n gap: theme.spacing(gapUnits),\n gridTemplateColumns: tracks(1),\n gridAutoRows: 'auto',\n alignItems: 'stretch',\n [`& > [${SETTING_CARD_OPEN_ATTR}], & > :has([${SETTING_CARD_OPEN_ATTR}])`]: { gridColumn: '1 / -1' },\n };\n for (const n of [2, 3] as const) {\n if (n > maxColumns) break;\n styles[`@container ${SETTING_GRID_CONTAINER} (min-width: ${threshold(theme, n, minColumnPx, gapUnits)})`] = {\n gridTemplateColumns: tracks(n),\n };\n }\n return styles;\n}\n\n/**\n * Lays setting cards out in one, two or three columns by the width it is\n * GIVEN — see {@link settingGridStyles}. Two elements, because a container\n * query is answered by an ANCESTOR: the outer one is the container, the inner\n * one the grid.\n */\nexport const SettingGrid = forwardRef<HTMLDivElement, SettingGridProps>(function SettingGrid(props, ref) {\n const {\n children,\n minColumnWidth = SETTING_CARD.gridMinColumnWidth,\n maxColumns = 3,\n gap = SETTING_GRID_GAP_UNITS,\n 'aria-label': ariaLabel,\n dataTestId,\n className,\n sx,\n } = props;\n const theme = useTheme();\n const gridStyles = settingGridStyles(theme, { minColumnPx: minColumnWidth, maxColumns, gapUnits: gap });\n\n return (\n <Box\n ref={ref}\n role={ariaLabel ? 'region' : undefined}\n aria-label={ariaLabel}\n data-testid={dataTestId}\n className={className}\n sx={withCallerSx({ containerType: 'inline-size', containerName: SETTING_GRID_CONTAINER, minWidth: 0 }, sx)}\n >\n <Box\n sx={gridStyles}\n data-max-columns={maxColumns}\n data-testid={partTestId(dataTestId, 'grid')}\n >\n {children}\n </Box>\n </Box>\n );\n});\n\nSettingGrid.displayName = 'SettingGrid';\n"],"mappings":";;;;;;;;;;;;;;;;AAAA,OAAO,SAAS;AAChB,SAAS,gBAA4C;AACrD,SAAS,kBAAkB;AA2FrB;AAjFC,IAAM,yBAAyB;AAGtC,IAAM,SAAS,CAAC,MAAkC,UAAU,CAAC;AAO7D,IAAM,YAAY,CAAC,OAAc,GAAW,aAAqB,aAC/D,QAAQ,CAAC,MAAM,IAAI,OAAO,WAAW,CAAC,MAAM,IAAI,CAAC,MAAM,MAAM,QAAQ,QAAQ,CAAC;AAuBzE,SAAS,kBAAkB,OAAc,EAAE,aAAa,YAAY,SAAS,GAAiC;AACnH,QAAM,SAAoB;AAAA,IACxB,SAAS;AAAA,IACT,KAAK,MAAM,QAAQ,QAAQ;AAAA,IAC3B,qBAAqB,OAAO,CAAC;AAAA,IAC7B,cAAc;AAAA,IACd,YAAY;AAAA,IACZ,CAAC,QAAQ,sBAAsB,gBAAgB,sBAAsB,IAAI,GAAG,EAAE,YAAY,SAAS;AAAA,EACrG;AACA,aAAW,KAAK,CAAC,GAAG,CAAC,GAAY;AAC/B,QAAI,IAAI,WAAY;AACpB,WAAO,cAAc,sBAAsB,gBAAgB,UAAU,OAAO,GAAG,aAAa,QAAQ,CAAC,GAAG,IAAI;AAAA,MAC1G,qBAAqB,OAAO,CAAC;AAAA,IAC/B;AAAA,EACF;AACA,SAAO;AACT;AAQO,IAAM,cAAc,WAA6C,SAASA,aAAY,OAAO,KAAK;AACvG,QAAM;AAAA,IACJ;AAAA,IACA,iBAAiB,aAAa;AAAA,IAC9B,aAAa;AAAA,IACb,MAAM;AAAA,IACN,cAAc;AAAA,IACd;AAAA,IACA;AAAA,IACA;AAAA,EACF,IAAI;AACJ,QAAM,QAAQ,SAAS;AACvB,QAAM,aAAa,kBAAkB,OAAO,EAAE,aAAa,gBAAgB,YAAY,UAAU,IAAI,CAAC;AAEtG,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,MAAM,YAAY,WAAW;AAAA,MAC7B,cAAY;AAAA,MACZ,eAAa;AAAA,MACb;AAAA,MACA,IAAI,aAAa,EAAE,eAAe,eAAe,eAAe,wBAAwB,UAAU,EAAE,GAAG,EAAE;AAAA,MAEzG;AAAA,QAAC;AAAA;AAAA,UACC,IAAI;AAAA,UACJ,oBAAkB;AAAA,UAClB,eAAa,WAAW,YAAY,MAAM;AAAA,UAEzC;AAAA;AAAA,MACH;AAAA;AAAA,EACF;AAEJ,CAAC;AAED,YAAY,cAAc;","names":["SettingGrid"]}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
resolveTooltipProps,
|
|
3
|
+
usePinnedTooltip
|
|
4
|
+
} from "./chunk-S5UY5U73.js";
|
|
1
5
|
import {
|
|
2
6
|
arrowColor,
|
|
3
7
|
emphasisStyles,
|
|
@@ -5,10 +9,6 @@ import {
|
|
|
5
9
|
tooltipCap,
|
|
6
10
|
variantStyles
|
|
7
11
|
} from "./chunk-TQCQCW2P.js";
|
|
8
|
-
import {
|
|
9
|
-
resolveTooltipProps,
|
|
10
|
-
usePinnedTooltip
|
|
11
|
-
} from "./chunk-S5UY5U73.js";
|
|
12
12
|
|
|
13
13
|
// src/components/data-display/InteractiveTooltip/InteractiveTooltip.tsx
|
|
14
14
|
import MuiTooltip from "@mui/material/Tooltip/index.js";
|
|
@@ -101,4 +101,4 @@ InteractiveTooltip.displayName = "InteractiveTooltip";
|
|
|
101
101
|
export {
|
|
102
102
|
InteractiveTooltip
|
|
103
103
|
};
|
|
104
|
-
//# sourceMappingURL=chunk-
|
|
104
|
+
//# sourceMappingURL=chunk-U6W2RY3Z.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ClearAllControl,
|
|
3
3
|
CloseSearchControl
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BM4KKGL7.js";
|
|
5
5
|
import {
|
|
6
6
|
PillControl
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VWJEM2ER.js";
|
|
8
8
|
import {
|
|
9
9
|
MoreFilters
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
RangePill
|
|
13
|
-
} from "./chunk-BSUG4KMP.js";
|
|
10
|
+
} from "./chunk-FTQBVZ7V.js";
|
|
14
11
|
import {
|
|
15
12
|
CollapsedSearch,
|
|
16
13
|
InlineKeyword
|
|
17
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4UVFPORR.js";
|
|
15
|
+
import {
|
|
16
|
+
RangePill
|
|
17
|
+
} from "./chunk-44USLRMT.js";
|
|
18
18
|
|
|
19
19
|
// src/components/data-display/DataViews/data-views-inline-bar.tsx
|
|
20
20
|
import Box from "@mui/material/Box/index.js";
|
|
@@ -220,4 +220,4 @@ function FilterSlots({
|
|
|
220
220
|
export {
|
|
221
221
|
InlineFilterControls
|
|
222
222
|
};
|
|
223
|
-
//# sourceMappingURL=chunk-
|
|
223
|
+
//# sourceMappingURL=chunk-UGPRBJWB.js.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// src/tokens/density.core.ts
|
|
2
|
+
var DEFAULT_DENSITY = "normal";
|
|
3
|
+
var DENSITY_FACTOR = {
|
|
4
|
+
compact: 0.9,
|
|
5
|
+
normal: 1,
|
|
6
|
+
comfortable: 1.1
|
|
7
|
+
};
|
|
8
|
+
function isUsableFactor(value) {
|
|
9
|
+
return typeof value === "number" && Number.isFinite(value) && value > 0;
|
|
10
|
+
}
|
|
11
|
+
function resolveDensityFactor(density, factors) {
|
|
12
|
+
if (typeof density === "number") {
|
|
13
|
+
if (isUsableFactor(density)) return { factor: density };
|
|
14
|
+
density = void 0;
|
|
15
|
+
}
|
|
16
|
+
const level = density ?? DEFAULT_DENSITY;
|
|
17
|
+
const override = factors?.[level];
|
|
18
|
+
const factor = isUsableFactor(override) ? override : DENSITY_FACTOR[level];
|
|
19
|
+
return { level, factor };
|
|
20
|
+
}
|
|
21
|
+
var BASE_FONT_SIZE = 14;
|
|
22
|
+
var BASE_SPACING_UNIT = 8;
|
|
23
|
+
var BASE_FIELD_HEIGHT = 2.5;
|
|
24
|
+
function densityFontSize(factor) {
|
|
25
|
+
return BASE_FONT_SIZE * factor;
|
|
26
|
+
}
|
|
27
|
+
function densitySpacingUnit(factor) {
|
|
28
|
+
return BASE_SPACING_UNIT * factor;
|
|
29
|
+
}
|
|
30
|
+
function densityFieldHeight(factor) {
|
|
31
|
+
return BASE_FIELD_HEIGHT * factor;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export {
|
|
35
|
+
DEFAULT_DENSITY,
|
|
36
|
+
DENSITY_FACTOR,
|
|
37
|
+
resolveDensityFactor,
|
|
38
|
+
densityFontSize,
|
|
39
|
+
densitySpacingUnit,
|
|
40
|
+
densityFieldHeight
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=chunk-VBP46YP4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/tokens/density.core.ts"],"sourcesContent":["/**\n * THE ONE DENSITY KNOB, WITH NO RENDERER BEHIND IT.\n *\n * A host that wants a compact admin or a roomy kiosk should say so once, in\n * the theme — not hunt through every component's own numbers. Because every\n * size already goes through `rem(theme, px)` / `theme.spacing()` / `fieldHeight()`\n * (FUT-2585, `./relative.ts`), moving the type scale, the spacing unit and the\n * field height BY THE SAME FACTOR is enough to make the whole package denser\n * or roomier — no `size` step is rewritten, no component is touched (FUT-2764\n * Decision 3).\n *\n * Three named levels, or a raw factor for a repository the three names don't\n * fit (a kiosk app, say). A repository can also redefine what a named level\n * itself means (`densityFactors`). Precedence, highest first, ABOVE\n * `resolveDensityFactor` itself — this file's own resolver has no notion of an\n * \"explicit option\" to defer to, that is each CALLER's job:\n *\n * - On the `createUiTheme` path (`./theme.ts`): an explicit `spacingUnit` /\n * `fieldHeight` option (`UiThemeOptions` carries no `typography.fontSize` —\n * only `fontFamily`/`monospaceFontFamily`) still wins over EVERYTHING below,\n * unchanged.\n * - On the MUI-native path (`densityThemeOptions`'s output, or a host's own\n * `createTheme()` options merged around it): whichever `typography.fontSize`\n * / `spacing` a host's OWN object literal states last wins — plain\n * JavaScript object-spread order, not a rule this package enforces. See\n * `./density.ts` for exactly where to put it.\n *\n * Below that: a numeric `density` (used as the factor directly, no table\n * lookup, and only when it is a USABLE one — see `resolveDensityFactor`) >\n * `densityFactors[level]` (a repository's own override for a named level,\n * same usability rule) > the built-in table below. No `density` at all\n * resolves to `{ level: 'normal', factor: 1 }` — today, byte-for-byte.\n *\n * This file is the resolver alone, so the native renderer and `./theme.ts`\n * read it without importing MUI. The web reader — `useDensity()`, the MUI\n * theme channel, and the standalone `densityThemeOptions()` — is in\n * `./density.ts`.\n */\n\nexport type DensityLevel = 'compact' | 'normal' | 'comfortable';\n\nexport const DEFAULT_DENSITY: DensityLevel = 'normal';\n\n/**\n * The built-in factor table — the LOWEST-precedence source. A repository's\n * own `densityFactors` entry for a level wins over it; a numeric `density`\n * bypasses it entirely. Confirmed against screenshots before this PR merges\n * (see the ticket's Done when) — `compact` 0.9, `normal` 1 (no-op),\n * `comfortable` 1.1.\n */\nexport const DENSITY_FACTOR: Record<DensityLevel, number> = {\n compact: 0.9,\n normal: 1,\n comfortable: 1.1,\n};\n\nexport interface ResolvedDensity {\n /** Present only when a NAMED level was given; a raw numeric `density` has no name. */\n level?: DensityLevel;\n factor: number;\n}\n\n/**\n * A usable factor — a positive, finite number. The same shape\n * `resolveFieldHeight` (`./field-height.core`) already accepts for a `height`;\n * a numeric `density` and a `densityFactors` entry are held to the same rule\n * so an unusable one falls back exactly the way an unusable `fieldHeight`\n * option already does, rather than baking a `0`, a negative or a `NaN`/\n * `Infinity` into `spacingUnit`/`fieldHeight`/`typography.fontSize`.\n */\nfunction isUsableFactor(value: unknown): value is number {\n return typeof value === 'number' && Number.isFinite(value) && value > 0;\n}\n\n/**\n * Precedence (highest first): a numeric `density` IS the factor, no table lookup —\n * but only when it is a usable one (a positive, finite number); `0`, a negative\n * number, `NaN` or `Infinity` are not a density anyone meant, so they fall back\n * to `'normal'`, factor `1`, exactly as no `density` at all does. A named\n * `density` resolves through `factors?.[level] ?? DENSITY_FACTOR[level]` — a\n * repository's own `densityFactors` override wins over the built-in table, but\n * only when IT is usable too; an unusable entry falls back to the BUILT-IN\n * table's value for that same level (not to `'normal'` — the level itself is\n * still the one asked for, only its factor is unusable). No `density` at all\n * resolves to `{ level: 'normal', factor: 1 }`.\n */\nexport function resolveDensityFactor(\n density?: DensityLevel | number,\n factors?: Partial<Record<DensityLevel, number>>,\n): ResolvedDensity {\n if (typeof density === 'number') {\n if (isUsableFactor(density)) return { factor: density };\n density = undefined; // not usable — fall through to 'normal', below\n }\n const level = density ?? DEFAULT_DENSITY;\n const override = factors?.[level];\n const factor = isUsableFactor(override) ? override : DENSITY_FACTOR[level];\n return { level, factor };\n}\n\nconst BASE_FONT_SIZE = 14; // MUI's own typography.fontSize baseline\nconst BASE_SPACING_UNIT = 8; // theme.ts's literal default\nconst BASE_FIELD_HEIGHT = 2.5; // field-height.core.ts's DEFAULT_FIELD_HEIGHT\n\n/** MUI's own `typography.fontSize` at this factor. `htmlFontSize` is never touched. */\nexport function densityFontSize(factor: number): number {\n return BASE_FONT_SIZE * factor;\n}\n\n/** The theme's `spacingUnit` at this factor. */\nexport function densitySpacingUnit(factor: number): number {\n return BASE_SPACING_UNIT * factor;\n}\n\n/** The standard field height (multiples of the default font size) at this factor. */\nexport function densityFieldHeight(factor: number): number {\n return BASE_FIELD_HEIGHT * factor;\n}\n"],"mappings":";AAyCO,IAAM,kBAAgC;AAStC,IAAM,iBAA+C;AAAA,EAC1D,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,aAAa;AACf;AAgBA,SAAS,eAAe,OAAiC;AACvD,SAAO,OAAO,UAAU,YAAY,OAAO,SAAS,KAAK,KAAK,QAAQ;AACxE;AAcO,SAAS,qBACd,SACA,SACiB;AACjB,MAAI,OAAO,YAAY,UAAU;AAC/B,QAAI,eAAe,OAAO,EAAG,QAAO,EAAE,QAAQ,QAAQ;AACtD,cAAU;AAAA,EACZ;AACA,QAAM,QAAQ,WAAW;AACzB,QAAM,WAAW,UAAU,KAAK;AAChC,QAAM,SAAS,eAAe,QAAQ,IAAI,WAAW,eAAe,KAAK;AACzE,SAAO,EAAE,OAAO,OAAO;AACzB;AAEA,IAAM,iBAAiB;AACvB,IAAM,oBAAoB;AAC1B,IAAM,oBAAoB;AAGnB,SAAS,gBAAgB,QAAwB;AACtD,SAAO,iBAAiB;AAC1B;AAGO,SAAS,mBAAmB,QAAwB;AACzD,SAAO,oBAAoB;AAC7B;AAGO,SAAS,mBAAmB,QAAwB;AACzD,SAAO,oBAAoB;AAC7B;","names":[]}
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
ChipList,
|
|
7
7
|
DefaultSuggestion,
|
|
8
8
|
SuggestionListBox
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XBLFK2FL.js";
|
|
10
10
|
import {
|
|
11
11
|
defaultGetKey,
|
|
12
12
|
defaultGetLabel,
|
|
@@ -131,4 +131,4 @@ export {
|
|
|
131
131
|
Autocomplete,
|
|
132
132
|
Autocomplete_default
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=chunk-
|
|
134
|
+
//# sourceMappingURL=chunk-VEEG4UXZ.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GridShell
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EIII4QU4.js";
|
|
4
4
|
import {
|
|
5
5
|
useDataViewsState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HKBJZX3C.js";
|
|
7
7
|
|
|
8
8
|
// src/components/data-display/DataViews/DataViewsGrid.tsx
|
|
9
9
|
import { useEffect, useRef } from "react";
|
|
@@ -27,4 +27,4 @@ function DataViewsGrid(props) {
|
|
|
27
27
|
export {
|
|
28
28
|
DataViewsGrid
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-VOJBLBXE.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-YLGY3D52.js";
|
|
9
9
|
import {
|
|
10
10
|
useDataViewsLayout
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XZJM6EPC.js";
|
|
12
12
|
import {
|
|
13
13
|
useDataViewsCopy
|
|
14
14
|
} from "./chunk-KHG57NAE.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-6DPAWXZ3.js";
|
|
18
18
|
import {
|
|
19
19
|
Text
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MKLIMY3D.js";
|
|
21
21
|
import {
|
|
22
22
|
sxRem
|
|
23
23
|
} from "./chunk-YKCAJ2TN.js";
|
|
@@ -246,4 +246,4 @@ export {
|
|
|
246
246
|
SortTab,
|
|
247
247
|
DisplayTab
|
|
248
248
|
};
|
|
249
|
-
//# sourceMappingURL=chunk-
|
|
249
|
+
//# sourceMappingURL=chunk-VPAOVEI2.js.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-KHG57NAE.js";
|
|
4
4
|
import {
|
|
5
5
|
MultiSelectDropdown
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3XS37SQT.js";
|
|
7
7
|
import {
|
|
8
8
|
CategorySelect
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ALOUJ3CE.js";
|
|
10
10
|
|
|
11
11
|
// src/components/data-display/DataViews/data-views-category-pill.tsx
|
|
12
12
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -79,4 +79,4 @@ export {
|
|
|
79
79
|
emitPillDiff,
|
|
80
80
|
PillControl
|
|
81
81
|
};
|
|
82
|
-
//# sourceMappingURL=chunk-
|
|
82
|
+
//# sourceMappingURL=chunk-VWJEM2ER.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
accentFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZSTSISM6.js";
|
|
4
4
|
import {
|
|
5
5
|
rem
|
|
6
6
|
} from "./chunk-YKCAJ2TN.js";
|
|
@@ -73,4 +73,4 @@ export {
|
|
|
73
73
|
sizeStyles,
|
|
74
74
|
barStyles
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=chunk-
|
|
76
|
+
//# sourceMappingURL=chunk-VYA4QWQL.js.map
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useSettingGroup
|
|
3
|
+
} from "./chunk-XJQNSMGA.js";
|
|
4
|
+
import {
|
|
5
|
+
useAsyncSwitch
|
|
6
|
+
} from "./chunk-SALQ65SM.js";
|
|
7
|
+
import {
|
|
8
|
+
SettingSwitchBlock,
|
|
9
|
+
useSettingSwitchIds
|
|
10
|
+
} from "./chunk-RDZGXJOD.js";
|
|
11
|
+
import {
|
|
12
|
+
flatStyles,
|
|
13
|
+
surfaceStyles,
|
|
14
|
+
withCallerSx
|
|
15
|
+
} from "./chunk-3DO5AJCG.js";
|
|
16
|
+
|
|
17
|
+
// src/components/layout/SettingCard/SettingToggle.tsx
|
|
18
|
+
import Box from "@mui/material/Box/index.js";
|
|
19
|
+
import { forwardRef } from "react";
|
|
20
|
+
import { jsx } from "react/jsx-runtime";
|
|
21
|
+
var SettingToggle = forwardRef(function SettingToggle2(props, ref) {
|
|
22
|
+
const { checked, onChange, copy, formatError, disabled = false, variant = "card", dataTestId, className, sx } = props;
|
|
23
|
+
const group = useSettingGroup();
|
|
24
|
+
const ids = useSettingSwitchIds();
|
|
25
|
+
const state = useAsyncSwitch({ checked, onChange, formatError, fallback: copy.saveFailed });
|
|
26
|
+
const card = variant === "card";
|
|
27
|
+
return /* @__PURE__ */ jsx(
|
|
28
|
+
Box,
|
|
29
|
+
{
|
|
30
|
+
component: card ? "section" : "div",
|
|
31
|
+
ref,
|
|
32
|
+
"aria-labelledby": ids.titleId,
|
|
33
|
+
"aria-busy": state.saving || void 0,
|
|
34
|
+
"data-variant": variant,
|
|
35
|
+
"data-testid": dataTestId,
|
|
36
|
+
className,
|
|
37
|
+
sx: withCallerSx((theme) => card ? surfaceStyles(theme, false) : flatStyles(theme), sx),
|
|
38
|
+
children: /* @__PURE__ */ jsx(SettingSwitchBlock, { ...props, disabled: disabled || group.inactive, ids, state })
|
|
39
|
+
}
|
|
40
|
+
);
|
|
41
|
+
});
|
|
42
|
+
SettingToggle.displayName = "SettingToggle";
|
|
43
|
+
|
|
44
|
+
export {
|
|
45
|
+
SettingToggle
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=chunk-VYM2GPR6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/layout/SettingCard/SettingToggle.tsx"],"sourcesContent":["import Box from '@mui/material/Box/index.js';\nimport { forwardRef } from 'react';\n\nimport { useAsyncSwitch } from './SettingCard.hooks';\nimport { flatStyles, surfaceStyles, withCallerSx } from './SettingCard.styles';\nimport type { SettingToggleProps } from './SettingCard.types';\nimport { useSettingGroup } from './SettingGroup.context';\nimport { SettingSwitchBlock, useSettingSwitchIds } from './SettingSwitch';\n\n/**\n * A setting that is one switch and nothing else. There is no edit state:\n * flipping it IS the edit, and it saves at once.\n *\n * `onChange` may be async. The switch shows the new value while the promise is\n * pending, with a spinner and an announced \"saving\"; a rejection flips it back\n * to `checked` and shows the error under it.\n *\n * Inside a `SettingGroup` whose main switch is off, it renders disabled.\n */\nexport const SettingToggle = forwardRef<HTMLElement, SettingToggleProps>(function SettingToggle(props, ref) {\n const { checked, onChange, copy, formatError, disabled = false, variant = 'card', dataTestId, className, sx } = props;\n const group = useSettingGroup();\n const ids = useSettingSwitchIds();\n const state = useAsyncSwitch({ checked, onChange, formatError, fallback: copy.saveFailed });\n const card = variant === 'card';\n\n return (\n <Box\n component={card ? 'section' : 'div'}\n ref={ref}\n aria-labelledby={ids.titleId}\n aria-busy={state.saving || undefined}\n data-variant={variant}\n data-testid={dataTestId}\n className={className}\n sx={withCallerSx((theme) => (card ? surfaceStyles(theme, false) : flatStyles(theme)), sx)}\n >\n <SettingSwitchBlock {...props} disabled={disabled || group.inactive} ids={ids} state={state} />\n </Box>\n );\n});\n\nSettingToggle.displayName = 'SettingToggle';\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA,OAAO,SAAS;AAChB,SAAS,kBAAkB;AAoCrB;AAlBC,IAAM,gBAAgB,WAA4C,SAASA,eAAc,OAAO,KAAK;AAC1G,QAAM,EAAE,SAAS,UAAU,MAAM,aAAa,WAAW,OAAO,UAAU,QAAQ,YAAY,WAAW,GAAG,IAAI;AAChH,QAAM,QAAQ,gBAAgB;AAC9B,QAAM,MAAM,oBAAoB;AAChC,QAAM,QAAQ,eAAe,EAAE,SAAS,UAAU,aAAa,UAAU,KAAK,WAAW,CAAC;AAC1F,QAAM,OAAO,YAAY;AAEzB,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,OAAO,YAAY;AAAA,MAC9B;AAAA,MACA,mBAAiB,IAAI;AAAA,MACrB,aAAW,MAAM,UAAU;AAAA,MAC3B,gBAAc;AAAA,MACd,eAAa;AAAA,MACb;AAAA,MACA,IAAI,aAAa,CAAC,UAAW,OAAO,cAAc,OAAO,KAAK,IAAI,WAAW,KAAK,GAAI,EAAE;AAAA,MAExF,8BAAC,sBAAoB,GAAG,OAAO,UAAU,YAAY,MAAM,UAAU,KAAU,OAAc;AAAA;AAAA,EAC/F;AAEJ,CAAC;AAED,cAAc,cAAc;","names":["SettingToggle"]}
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
buildGridColumns,
|
|
3
3
|
buildRowActionsColumn,
|
|
4
4
|
isActionsColumn
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NQ7NMCRI.js";
|
|
6
6
|
|
|
7
7
|
// src/components/data-display/DataViews/data-views-columns.ts
|
|
8
8
|
import { useTheme } from "@mui/material/styles/index.js";
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
useColumnsWithActions,
|
|
63
63
|
useRenderedColumns
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=chunk-
|
|
65
|
+
//# sourceMappingURL=chunk-VYV3JOV5.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-WEBEOBN5.js";
|
|
10
10
|
import {
|
|
11
11
|
Text
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MKLIMY3D.js";
|
|
13
13
|
import {
|
|
14
14
|
sxRem
|
|
15
15
|
} from "./chunk-YKCAJ2TN.js";
|
|
@@ -54,4 +54,4 @@ function PreviewBox({ preview, testIdPrefix }) {
|
|
|
54
54
|
export {
|
|
55
55
|
PreviewBox
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-WV62BSWA.js.map
|