@12-apps/ui 6.31.0 → 6.32.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/components-guidelines.md +31 -0
- package/dist/_internal/components/data-display/Alert/Alert.js +5 -4
- package/dist/_internal/components/data-display/Alert/Alert.metrics.js +3 -2
- package/dist/_internal/components/data-display/Alert/Alert.styles.js +4 -3
- package/dist/_internal/components/data-display/AsyncStateContainer/AsyncStateContainer.js +3 -3
- package/dist/_internal/components/data-display/Avatar/Avatar.js +6 -5
- package/dist/_internal/components/data-display/Avatar/Avatar.view.js +5 -4
- package/dist/_internal/components/data-display/Badge/Badge.animations.js +3 -2
- package/dist/_internal/components/data-display/Badge/Badge.js +6 -5
- package/dist/_internal/components/data-display/Badge/Badge.metrics.js +3 -2
- package/dist/_internal/components/data-display/Badge/Badge.styles.js +4 -3
- package/dist/_internal/components/data-display/Badge/Badge.variants.js +3 -2
- package/dist/_internal/components/data-display/Badge/BadgeContent.js +5 -4
- 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 -5
- package/dist/_internal/components/data-display/CardKit/card-actions-context.js +6 -5
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +16 -12
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +13 -9
- package/dist/_internal/components/data-display/Carousel/Carousel.chrome.js +9 -5
- package/dist/_internal/components/data-display/Carousel/Carousel.js +13 -9
- package/dist/_internal/components/data-display/Carousel/Carousel.parts.js +8 -4
- package/dist/_internal/components/data-display/Carousel/Carousel.styles.js +8 -4
- package/dist/_internal/components/data-display/Chart/Chart.js +12 -8
- package/dist/_internal/components/data-display/Chart/SpecChart.js +15 -11
- package/dist/_internal/components/data-display/Chart/chart-context.js +9 -5
- package/dist/_internal/components/data-display/Chart/chart-internals.js +8 -4
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +11 -7
- 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 +72 -70
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +95 -93
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +13 -9
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +17 -13
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +21 -19
- package/dist/_internal/components/data-display/DataViews/base-card.js +8 -7
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +11 -10
- package/dist/_internal/components/data-display/DataViews/base-list-card-gutters.js +5 -4
- 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 +16 -15
- package/dist/_internal/components/data-display/DataViews/card-surface.js +3 -2
- package/dist/_internal/components/data-display/DataViews/data-views-bar-controls.js +6 -1
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +22 -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 -6
- package/dist/_internal/components/data-display/DataViews/data-views-day-input.js +6 -1
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +16 -12
- 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 -7
- package/dist/_internal/components/data-display/DataViews/data-views-export.js +11 -7
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +31 -29
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +20 -16
- package/dist/_internal/components/data-display/DataViews/data-views-grid-helpers.js +9 -5
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +68 -66
- 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 +38 -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 +21 -17
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +24 -20
- package/dist/_internal/components/data-display/DataViews/data-views-number-input.js +6 -1
- package/dist/_internal/components/data-display/DataViews/data-views-pagination.js +11 -4
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +10 -5
- 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 +6 -1
- package/dist/_internal/components/data-display/DataViews/data-views-select-all-strip.js +11 -7
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +27 -23
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +36 -34
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +26 -22
- package/dist/_internal/components/data-display/DataViews/data-views-view-nav.js +11 -7
- 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 -9
- 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 +17 -12
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +16 -11
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +23 -19
- 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 +7 -2
- package/dist/_internal/components/data-display/MapPreview/MapPreview.hooks.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +15 -10
- package/dist/_internal/components/data-display/MapPreview/MapSearchBar.js +6 -1
- 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 -3
- package/dist/_internal/components/data-display/Sheet/Sheet.js +9 -5
- package/dist/_internal/components/data-display/Sheet/Sheet.styles.js +8 -4
- package/dist/_internal/components/data-display/Table/Table.js +3 -3
- package/dist/_internal/components/data-display/index.js +78 -74
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmAction.js +2 -2
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmButton.js +11 -7
- 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/NotificationStatusNotice/NotificationStatusNotice.js +12 -8
- package/dist/_internal/components/feedback/StackedModal/StackedModal.js +2 -2
- package/dist/_internal/components/feedback/TutorialOverlay/TutorialOverlay.js +2 -2
- package/dist/_internal/components/feedback/index.js +24 -20
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.js +9 -7
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocompleteField.js +7 -5
- package/dist/_internal/components/form/AddressAutocomplete/AddressFallbackField.js +6 -4
- package/dist/_internal/components/form/AddressAutocomplete/AddressInputField.js +6 -4
- package/dist/_internal/components/form/AddressAutocomplete/AddressTextField.js +5 -3
- package/dist/_internal/components/form/Autocomplete/Autocomplete.js +7 -2
- package/dist/_internal/components/form/Autocomplete/Autocomplete.parts.js +6 -1
- package/dist/_internal/components/form/Button/Button.js +8 -4
- package/dist/_internal/components/form/Button/Button.styles.js +8 -3
- 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 +11 -9
- package/dist/_internal/components/form/CategorySelect/CategoryPanelFoot.js +6 -4
- package/dist/_internal/components/form/CategorySelect/CategoryPanelHead.js +6 -4
- package/dist/_internal/components/form/CategorySelect/CategoryPanelList.js +7 -5
- package/dist/_internal/components/form/CategorySelect/CategoryRows.js +6 -4
- package/dist/_internal/components/form/CategorySelect/CategorySelect.js +14 -12
- package/dist/_internal/components/form/CategorySelect/CategorySelect.styles.js +5 -3
- package/dist/_internal/components/form/CategorySelect/CategoryTrigger.js +6 -4
- package/dist/_internal/components/form/CepField/CepField.js +9 -7
- package/dist/_internal/components/form/Checkbox/Checkbox.js +4 -3
- package/dist/_internal/components/form/CodeEditor/CodeEditor.js +4 -4
- package/dist/_internal/components/form/Command/Command.js +9 -5
- package/dist/_internal/components/form/Command/Command.styles.js +8 -4
- package/dist/_internal/components/form/CreatableSelect/CreatableSelect.js +5 -3
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.hooks.js +8 -3
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +15 -10
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.range.js +7 -2
- package/dist/_internal/components/form/DateRangePicker/DateRangePickerFields.js +8 -3
- package/dist/_internal/components/form/Input/Input.js +8 -6
- package/dist/_internal/components/form/Input/Input.metrics.js +3 -2
- package/dist/_internal/components/form/Input/Input.styles.js +7 -5
- package/dist/_internal/components/form/InputOTP/InputOTP.js +7 -5
- package/dist/_internal/components/form/InputOTP/InputOTP.styles.js +5 -3
- package/dist/_internal/components/form/Label/Label.js +9 -5
- package/dist/_internal/components/form/Label/Label.styles.js +8 -4
- package/dist/_internal/components/form/Menubar/Menubar.item.js +9 -5
- package/dist/_internal/components/form/Menubar/Menubar.js +12 -8
- package/dist/_internal/components/form/Menubar/Menubar.styles.js +8 -4
- package/dist/_internal/components/form/Menubar/Menubar.toolbar.js +10 -6
- package/dist/_internal/components/form/PhoneInput/PhoneInput.js +5 -3
- package/dist/_internal/components/form/RadioGroup/RadioGroup.js +8 -6
- package/dist/_internal/components/form/RadioGroup/RadioGroup.styles.js +5 -3
- package/dist/_internal/components/form/RadioGroup/RadioGroup.variants.js +6 -4
- package/dist/_internal/components/form/RichTextEditor/RichTextEditor.js +3 -3
- package/dist/_internal/components/form/Select/Select.js +7 -5
- package/dist/_internal/components/form/Select/Select.metrics.js +3 -2
- package/dist/_internal/components/form/Switch/Switch.js +7 -6
- package/dist/_internal/components/form/Switch/Switch.parts.js +5 -4
- package/dist/_internal/components/form/Switch/Switch.styles.js +4 -3
- package/dist/_internal/components/form/Textarea/Textarea.js +5 -3
- package/dist/_internal/components/form/Textarea/TextareaRichEditor.js +13 -6
- package/dist/_internal/components/form/Textarea/TextareaRichEditor.js.map +1 -1
- package/dist/_internal/components/form/Toggle/Toggle.js +6 -4
- package/dist/_internal/components/form/Toggle/Toggle.styles.js +5 -3
- package/dist/_internal/components/form/ToggleGroup/ToggleGroup.js +6 -1
- package/dist/_internal/components/form/index.js +58 -56
- package/dist/_internal/components/form/total-form/Fields/CategoryField.js +15 -13
- package/dist/_internal/components/form/total-form/Fields/CepField.js +10 -8
- package/dist/_internal/components/form/total-form/Fields/SelectField.js +8 -6
- package/dist/_internal/components/form/total-form/Fields/TextField.js +9 -7
- package/dist/_internal/components/form/total-form/Fields/ToggleField.js +7 -2
- package/dist/_internal/components/form/total-form/Fields/index.js +29 -27
- package/dist/_internal/components/form/total-form/SubmitButton.js +9 -5
- package/dist/_internal/components/index.js +177 -175
- package/dist/_internal/components/layout/Box/Box.js +10 -6
- package/dist/_internal/components/layout/ContentToolbar/ColumnsMenu.js +6 -1
- package/dist/_internal/components/layout/ContentToolbar/FilterTrigger.js +6 -1
- package/dist/_internal/components/layout/ContentToolbar/MultiSelectDropdown.js +7 -2
- package/dist/_internal/components/layout/ContentToolbar/MultiSelectTriggers.js +6 -1
- package/dist/_internal/components/layout/ContentToolbar/SavedViewsMenu.js +8 -1
- package/dist/_internal/components/layout/ContentToolbar/SortByDropdown.js +6 -1
- package/dist/_internal/components/layout/ContentToolbar/ViewSelector.js +6 -1
- package/dist/_internal/components/layout/ScrollArea/ScrollArea.js +3 -3
- package/dist/_internal/components/layout/Stack/Stack.js +11 -7
- package/dist/_internal/components/layout/TableFilter/TableFilter.js +6 -1
- package/dist/_internal/components/layout/index.js +22 -17
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +14 -10
- package/dist/_internal/components/navigation/AppHeader/AppHeader.identity.js +8 -4
- package/dist/_internal/components/navigation/CommandPalette/CommandPalette.js +2 -2
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMegaSection.js +3 -3
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenu.js +5 -5
- package/dist/_internal/components/navigation/NavigationMenu/NavigationMenuItem.js +2 -2
- package/dist/_internal/components/navigation/NavigationMenu/NavigationStandardBody.js +3 -3
- package/dist/_internal/components/navigation/Pagination/Pagination.js +10 -3
- package/dist/_internal/components/navigation/Pagination/PaginationParts.js +8 -1
- package/dist/_internal/components/navigation/index.js +25 -21
- 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/Paragraph/Paragraph.js +4 -3
- 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 +9 -8
- package/dist/_internal/components/utility/InfiniteScroll/InfiniteScroll.js +2 -2
- package/dist/_internal/components/utility/index.js +2 -2
- package/dist/_internal/icons/Icon.js +10 -6
- package/dist/_internal/provider/UiProvider.js +9 -5
- package/dist/_internal/provider/mui-bridge.js +8 -4
- package/dist/_internal/provider/use-ui-theme.js +9 -5
- package/dist/_internal/social-login-button/social-login-button.js +14 -10
- package/dist/_internal/tokens/field-height.core.js +20 -0
- package/dist/_internal/tokens/field-height.core.js.map +1 -0
- package/dist/_internal/tokens/field-height.js +37 -0
- package/dist/_internal/tokens/field-height.js.map +1 -0
- package/dist/_internal/tokens/theme.js +3 -2
- package/dist/_internal/user-avatar/user-avatar.js +14 -10
- package/dist/charts.js +24 -20
- package/dist/{chunk-JUHPNTDA.js → chunk-2DJIS2WQ.js} +13 -6
- package/dist/chunk-2DJIS2WQ.js.map +1 -0
- package/dist/{chunk-JHOBW7OD.js → chunk-2F4YEGYG.js} +4 -4
- package/dist/chunk-2F4YEGYG.js.map +1 -0
- package/dist/{chunk-GOKMLXZH.js → chunk-2SKNSQCP.js} +2 -2
- package/dist/{chunk-YRUCIKPO.js → chunk-2UYR2OOE.js} +4 -4
- package/dist/{chunk-RMB4RTTM.js → chunk-2W4GTZDP.js} +10 -10
- package/dist/{chunk-JVMNE5G4.js → chunk-2X5OQDPH.js} +5 -1
- package/dist/chunk-2X5OQDPH.js.map +1 -0
- package/dist/{chunk-IASDP44E.js → chunk-3AOOI2NR.js} +6 -6
- package/dist/{chunk-BRUJC7OG.js → chunk-3CN2GBIK.js} +3 -3
- package/dist/{chunk-F73D4EMA.js → chunk-3DO5MFXA.js} +1 -1
- package/dist/chunk-3DO5MFXA.js.map +1 -0
- package/dist/{chunk-L6UTYFAB.js → chunk-3E3JYKUK.js} +12 -3
- package/dist/chunk-3E3JYKUK.js.map +1 -0
- package/dist/{chunk-WCLWFN3F.js → chunk-3NA7AO6H.js} +7 -7
- package/dist/{chunk-URK67BAE.js → chunk-3SJZP7KH.js} +5 -5
- package/dist/{chunk-67L5CMXP.js → chunk-3Z23QTCP.js} +8 -8
- package/dist/{chunk-4ETQRBZC.js → chunk-46UPILLK.js} +4 -4
- package/dist/{chunk-SSJHEV5Z.js → chunk-4BEQADWC.js} +2 -2
- package/dist/{chunk-DBXGRZBJ.js → chunk-4D7YIU34.js} +7 -7
- package/dist/{chunk-32MTYYGC.js → chunk-4PIKOJZ4.js} +2 -2
- package/dist/{chunk-SAIKHWH7.js → chunk-56S7A2XT.js} +9 -9
- package/dist/{chunk-UHWHTNUS.js → chunk-5BW7NCM5.js} +4 -4
- package/dist/{chunk-LG6DHNRD.js → chunk-5FA5S2YN.js} +2 -2
- package/dist/{chunk-H35CQ6DF.js → chunk-5KZR3RXL.js} +3 -3
- package/dist/{chunk-MRGPVPQC.js → chunk-5NH24MF5.js} +8 -8
- package/dist/{chunk-IQFUV3BA.js → chunk-5RHMLOIA.js} +2 -2
- package/dist/{chunk-DORPR2YP.js → chunk-5SBJO37T.js} +2 -2
- package/dist/{chunk-3ZGQSWHJ.js → chunk-5U4SJ2DA.js} +5 -5
- package/dist/{chunk-XMDH3MRV.js → chunk-5UWSDTZV.js} +12 -6
- package/dist/chunk-5UWSDTZV.js.map +1 -0
- package/dist/{chunk-QKDFD4VT.js → chunk-62NFZR52.js} +4 -4
- package/dist/{chunk-3PT3SBJ7.js → chunk-65JHGT5F.js} +2 -2
- package/dist/{chunk-H7ZN2GW7.js → chunk-67N6TH6E.js} +2 -2
- package/dist/{chunk-Q5BSNHN7.js → chunk-6M33XQLZ.js} +2 -2
- package/dist/{chunk-IPS55KWK.js → chunk-6M7CMILP.js} +2 -2
- package/dist/{chunk-X2R7QG5I.js → chunk-6MDBMCFK.js} +2 -2
- package/dist/{chunk-PCONTSJJ.js → chunk-6V7D6GRX.js} +11 -11
- package/dist/{chunk-DTKMBI7B.js → chunk-6YLAVHV4.js} +4 -4
- package/dist/{chunk-MCAXIKQD.js → chunk-6ZZNV2PA.js} +4 -4
- package/dist/{chunk-BWSYSSF3.js → chunk-7A3G4W52.js} +3 -3
- package/dist/{chunk-RXSGHPCR.js → chunk-7FOOLP5H.js} +4 -4
- package/dist/{chunk-NJ6D37KV.js → chunk-7FWXG2KF.js} +2 -2
- package/dist/{chunk-XPPEUGHG.js → chunk-7MM2I34E.js} +5 -5
- package/dist/{chunk-F22WT7UX.js → chunk-7NFRTAEU.js} +2 -2
- package/dist/{chunk-OIFBBDYX.js → chunk-7TSQNYQO.js} +2 -2
- package/dist/{chunk-OFMDFN3U.js → chunk-A2QZXV2K.js} +2 -2
- package/dist/{chunk-J2RRZZXC.js → chunk-APT5L7V5.js} +2 -2
- package/dist/{chunk-ZVTJGWIV.js → chunk-AYRHW4DX.js} +2 -2
- package/dist/{chunk-Y2CSBXQT.js → chunk-AZ2KKHID.js} +2 -2
- package/dist/{chunk-NLUZGT4U.js → chunk-AZ4LLAAJ.js} +3 -3
- package/dist/{chunk-HJOABXKN.js → chunk-AZUFGKMQ.js} +4 -4
- package/dist/{chunk-IAVAZ36T.js → chunk-B4BU5CS6.js} +4 -4
- package/dist/{chunk-IRSI3BFF.js → chunk-B64PPHUR.js} +9 -1
- package/dist/chunk-B64PPHUR.js.map +1 -0
- package/dist/{chunk-USPQZQBF.js → chunk-BIIAMH47.js} +7 -4
- package/dist/chunk-BIIAMH47.js.map +1 -0
- package/dist/{chunk-APMEXS3Y.js → chunk-BM4LH7VQ.js} +5 -5
- package/dist/{chunk-JOPTI47I.js → chunk-BM4ZPBBT.js} +3 -3
- package/dist/{chunk-VGSEI7PQ.js → chunk-BTIBFR5L.js} +2 -2
- package/dist/{chunk-6SXZ7CF2.js → chunk-BTVIHTAL.js} +5 -2
- package/dist/chunk-BTVIHTAL.js.map +1 -0
- package/dist/{chunk-C2ZNAQMO.js → chunk-BUXSHLQM.js} +5 -5
- package/dist/{chunk-CIVLXOLG.js → chunk-C5WSPGMP.js} +2 -2
- package/dist/{chunk-SGV7QGYQ.js → chunk-C6R4LVUX.js} +7 -7
- package/dist/{chunk-DV42HAVP.js → chunk-CDNJOA3N.js} +21 -6
- package/dist/chunk-CDNJOA3N.js.map +1 -0
- package/dist/chunk-CGO452DC.js +90 -0
- package/dist/chunk-CGO452DC.js.map +1 -0
- package/dist/{chunk-6SNRPCSK.js → chunk-CR4KC2K5.js} +2 -2
- package/dist/{chunk-4WT4PV4M.js → chunk-CZ5ZL63A.js} +2 -2
- package/dist/{chunk-BPYPUEM5.js → chunk-CZJLWCEG.js} +2 -2
- package/dist/{chunk-YANLN6HP.js → chunk-D6HDJVQW.js} +5 -5
- package/dist/{chunk-6PSAPCTE.js → chunk-DAQ2ZDU2.js} +2 -2
- package/dist/{chunk-PEMZ2ABQ.js → chunk-DDTPMZOB.js} +5 -5
- package/dist/{chunk-XEUSTU7K.js → chunk-DIWC6AQL.js} +6 -6
- package/dist/{chunk-LWAOL4BG.js → chunk-DO3UNZAU.js} +2 -2
- package/dist/{chunk-D5YGDCMP.js → chunk-DZXN3QCX.js} +19 -19
- package/dist/{chunk-GUROYOKQ.js → chunk-EAE5Z5HL.js} +2 -2
- package/dist/{chunk-EYRSUVBC.js → chunk-ECZXTIDR.js} +2 -2
- package/dist/{chunk-3P4THDBM.js → chunk-EIGELK2H.js} +4 -4
- package/dist/{chunk-RRDL7AGQ.js → chunk-EKSSKQUW.js} +6 -2
- package/dist/chunk-EKSSKQUW.js.map +1 -0
- package/dist/{chunk-26ORCF6J.js → chunk-ENUWZ3HW.js} +2 -2
- package/dist/{chunk-DWZ7FLA7.js → chunk-FATRMNVN.js} +5 -5
- package/dist/{chunk-MSKEFXXV.js → chunk-FYFIND6O.js} +13 -5
- package/dist/chunk-FYFIND6O.js.map +1 -0
- package/dist/{chunk-SHQWIDD5.js → chunk-GJQYM3PM.js} +4 -4
- package/dist/{chunk-DX36KZUV.js → chunk-GSWDQ3ZX.js} +4 -4
- package/dist/{chunk-VNEEXUWA.js → chunk-GT7C6TSM.js} +3 -3
- package/dist/{chunk-OHKEQ7QJ.js → chunk-GXEB6MJA.js} +2 -2
- package/dist/{chunk-CPA2YRVZ.js → chunk-H3TNIGMI.js} +2 -2
- package/dist/{chunk-5EQFAFR3.js → chunk-H4NWU2ZN.js} +2 -2
- package/dist/{chunk-QNUWSXF2.js → chunk-H57ZS6W2.js} +3 -3
- package/dist/{chunk-RDFPH47Y.js → chunk-HEVST4CS.js} +10 -6
- package/dist/chunk-HEVST4CS.js.map +1 -0
- package/dist/{chunk-7YTLJUBX.js → chunk-HQZRWOSS.js} +2 -2
- package/dist/{chunk-25R3ITGZ.js → chunk-HTZYFGYE.js} +5 -5
- package/dist/{chunk-BKP7YW3Y.js → chunk-HZXCTLNI.js} +2 -2
- package/dist/{chunk-EFEZWG4C.js → chunk-IBWVEARQ.js} +9 -2
- package/dist/chunk-IBWVEARQ.js.map +1 -0
- package/dist/{chunk-SZZLABMO.js → chunk-IDO4EV7T.js} +3 -3
- package/dist/{chunk-ETU4LNU7.js → chunk-IGAXQRRZ.js} +3 -3
- package/dist/{chunk-ORIFMVN4.js → chunk-IM76SSXI.js} +3 -3
- package/dist/{chunk-EATFKTO3.js → chunk-IOEF32HX.js} +3 -3
- package/dist/{chunk-NR2HXHBR.js → chunk-IYSQRTIX.js} +2 -2
- package/dist/{chunk-YXQ2NJHF.js → chunk-JAYWTSXX.js} +6 -6
- package/dist/{chunk-RRO2EOJB.js → chunk-JB67KPGM.js} +4 -4
- package/dist/{chunk-RIA34EUT.js → chunk-JDY37EML.js} +3 -3
- package/dist/{chunk-SMUZRLFZ.js → chunk-JGOXXKPY.js} +2 -2
- package/dist/{chunk-VYMULXCJ.js → chunk-JLWAYBOP.js} +5 -2
- package/dist/chunk-JLWAYBOP.js.map +1 -0
- package/dist/{chunk-DHQ6ASUD.js → chunk-JPNPXNFH.js} +4 -4
- package/dist/{chunk-XVM4ZIRE.js → chunk-JPXG7IFW.js} +6 -4
- package/dist/chunk-JPXG7IFW.js.map +1 -0
- package/dist/{chunk-4DUHJIR2.js → chunk-JYETSTOQ.js} +2 -2
- package/dist/{chunk-FC74EAW4.js → chunk-JZJOAGBG.js} +4 -4
- package/dist/{chunk-CEA4QA63.js → chunk-KAPKMVKR.js} +2 -3
- package/dist/{chunk-CEA4QA63.js.map → chunk-KAPKMVKR.js.map} +1 -1
- package/dist/{chunk-R7KR5FYJ.js → chunk-KCFCEWF7.js} +2 -2
- package/dist/{chunk-HFBME3C5.js → chunk-KG4VNCNO.js} +4 -4
- package/dist/{chunk-V3RVRZAU.js → chunk-KMUSTQA6.js} +2 -2
- package/dist/{chunk-HSVNFMXY.js → chunk-LB2G6SD6.js} +8 -8
- package/dist/{chunk-ETSKBOXN.js → chunk-LGLHU55A.js} +7 -5
- package/dist/chunk-LGLHU55A.js.map +1 -0
- package/dist/{chunk-RWIBPIPD.js → chunk-LNOYDMFD.js} +6 -6
- package/dist/{chunk-SFAP5EH5.js → chunk-LUMF63BM.js} +4 -4
- package/dist/{chunk-WVJI3Z4P.js → chunk-LWLVWM34.js} +2 -2
- package/dist/{chunk-RFZU5BTG.js → chunk-LYSSO6WC.js} +4 -4
- package/dist/{chunk-GLPHRHIT.js → chunk-M7HX3HKW.js} +2 -2
- package/dist/{chunk-EJJRJYB5.js → chunk-MG73KW54.js} +6 -6
- package/dist/{chunk-QP3KK4KO.js → chunk-MGP5LLEK.js} +10 -10
- package/dist/{chunk-BDVJ65GR.js → chunk-MMPJ2MCE.js} +6 -3
- package/dist/chunk-MMPJ2MCE.js.map +1 -0
- package/dist/{chunk-4EL5ZSZ3.js → chunk-MQZDTGGJ.js} +8 -5
- package/dist/chunk-MQZDTGGJ.js.map +1 -0
- package/dist/{chunk-ATBT4RJZ.js → chunk-MSXNA3UH.js} +2 -2
- package/dist/{chunk-BB2IVF76.js → chunk-MVXFMIVZ.js} +7 -4
- package/dist/chunk-MVXFMIVZ.js.map +1 -0
- package/dist/{chunk-G5G4Q7G6.js → chunk-MYYGXSXF.js} +9 -6
- package/dist/chunk-MYYGXSXF.js.map +1 -0
- package/dist/{chunk-MYUZPUXQ.js → chunk-N74IYYRU.js} +3 -3
- package/dist/{chunk-5YOFMMK3.js → chunk-NBBFFPTA.js} +2 -2
- package/dist/{chunk-272OV2KZ.js → chunk-NFGVP3HN.js} +15 -9
- package/dist/chunk-NFGVP3HN.js.map +1 -0
- package/dist/{chunk-NFJUBPIN.js → chunk-NFLY5JMP.js} +2 -2
- package/dist/{chunk-3BAFJMBH.js → chunk-NKIAP6ZL.js} +4 -4
- package/dist/{chunk-G3WUOPWE.js → chunk-NLBIG5LU.js} +2 -2
- package/dist/{chunk-65IHPI4S.js → chunk-NMX3JAAB.js} +5 -4
- package/dist/chunk-NMX3JAAB.js.map +1 -0
- package/dist/{chunk-CATLG2RT.js → chunk-NU3EQX2L.js} +3 -3
- package/dist/{chunk-55E7GLVT.js → chunk-O4C5LUTJ.js} +6 -6
- package/dist/{chunk-WONCE5GB.js → chunk-OGPOTZAU.js} +18 -10
- package/dist/chunk-OGPOTZAU.js.map +1 -0
- package/dist/{chunk-INH2BDHV.js → chunk-OOGKAFBU.js} +7 -7
- package/dist/{chunk-HZAPN7XD.js → chunk-OZAP2BEP.js} +5 -2
- package/dist/chunk-OZAP2BEP.js.map +1 -0
- package/dist/{chunk-2YOQLBEX.js → chunk-OZZNC4YU.js} +3 -3
- package/dist/{chunk-Q544QEIN.js → chunk-P3L42CBB.js} +15 -9
- package/dist/chunk-P3L42CBB.js.map +1 -0
- package/dist/{chunk-BRAF4MFO.js → chunk-PE4ZW3IA.js} +9 -5
- package/dist/chunk-PE4ZW3IA.js.map +1 -0
- package/dist/{chunk-35GWNOLB.js → chunk-PH5XJGKJ.js} +2 -2
- package/dist/{chunk-AGYGNNOM.js → chunk-PQECNGDE.js} +2 -2
- package/dist/{chunk-IPE5FFFD.js → chunk-PUBPZOQJ.js} +2 -2
- package/dist/{chunk-7DNQHMDO.js → chunk-PXH24VIP.js} +4 -4
- package/dist/chunk-PZBK3F52.js +31 -0
- package/dist/chunk-PZBK3F52.js.map +1 -0
- package/dist/{chunk-7U36V4CU.js → chunk-Q2GZMDZL.js} +4 -4
- package/dist/{chunk-4LDRYLE2.js → chunk-QNHNFU7G.js} +5 -5
- package/dist/{chunk-EN5Q5RPQ.js → chunk-QRUCR4YZ.js} +17 -5
- package/dist/chunk-QRUCR4YZ.js.map +1 -0
- package/dist/{chunk-WBKWIFXA.js → chunk-QYNCPS5W.js} +6 -6
- package/dist/{chunk-C4NRFERD.js → chunk-R2I3LUUH.js} +2 -2
- package/dist/{chunk-RCI6KVN6.js → chunk-R67J6JKT.js} +5 -5
- package/dist/{chunk-GOWBYHYW.js → chunk-R6SBP5M5.js} +4 -4
- package/dist/{chunk-GKGA2ZCW.js → chunk-RAWQMBX6.js} +2 -2
- package/dist/{chunk-6BGS5FND.js → chunk-RGKGBYT2.js} +3 -3
- package/dist/{chunk-A5FIYKAN.js → chunk-RGMSTQ2J.js} +2 -2
- package/dist/{chunk-CPNSVIIB.js → chunk-RP3W6IQO.js} +5 -5
- package/dist/{chunk-WHLVMQNF.js → chunk-RQ5HZDBV.js} +4 -4
- package/dist/chunk-RQ5HZDBV.js.map +1 -0
- package/dist/{chunk-UEJQQVP2.js → chunk-RRX6ZTNX.js} +4 -4
- package/dist/{chunk-OL7UQMBI.js → chunk-RUEKY3VR.js} +2 -2
- package/dist/{chunk-3T2I6BYA.js → chunk-SJIBPRPB.js} +4 -4
- package/dist/{chunk-BHXFPZAA.js → chunk-SLODUPES.js} +16 -10
- package/dist/chunk-SLODUPES.js.map +1 -0
- package/dist/{chunk-TLY2QMU5.js → chunk-SVFA75FO.js} +3 -3
- package/dist/{chunk-R4SOPN6K.js → chunk-SVXHKIGJ.js} +12 -5
- package/dist/chunk-SVXHKIGJ.js.map +1 -0
- package/dist/{chunk-DF2FFYZ7.js → chunk-T53L42XW.js} +10 -10
- package/dist/{chunk-V6YZ3PL5.js → chunk-T5MOGJ56.js} +2 -2
- package/dist/{chunk-WI6GD4MV.js → chunk-TBRAZK3Y.js} +12 -12
- package/dist/{chunk-6VZYQC7T.js → chunk-TCLBB7U4.js} +6 -6
- package/dist/{chunk-5UGXAAZG.js → chunk-TJT4NSFN.js} +2 -2
- package/dist/{chunk-RQFBLYYH.js → chunk-TN55JKIU.js} +2 -2
- package/dist/{chunk-P4BZ7YE6.js → chunk-TTVKL3RD.js} +2 -2
- package/dist/{chunk-UCTJJYVC.js → chunk-TTW4MAOJ.js} +5 -5
- package/dist/{chunk-D6P5PSHU.js → chunk-U3ON6YW3.js} +2 -2
- package/dist/{chunk-VUFMV5Q5.js → chunk-U3PPLAFB.js} +2 -2
- package/dist/{chunk-WVQ47UTI.js → chunk-UEWIIYGA.js} +2 -2
- package/dist/{chunk-SDSAQ5YS.js → chunk-UJE7IKQ4.js} +2 -2
- package/dist/{chunk-AFZUPCBK.js → chunk-V3WWNKHU.js} +6 -6
- package/dist/{chunk-PS3EJLOC.js → chunk-VDZQJBAV.js} +4 -4
- package/dist/chunk-VDZQJBAV.js.map +1 -0
- package/dist/{chunk-D7Q42CRZ.js → chunk-VECWMANF.js} +10 -6
- package/dist/chunk-VECWMANF.js.map +1 -0
- package/dist/{chunk-CKW267ZK.js → chunk-VI7YYAXV.js} +3 -3
- package/dist/{chunk-KJYD5OJ4.js → chunk-VLVMJDGD.js} +2 -2
- package/dist/{chunk-O7SE4PYT.js → chunk-VNHLYDTX.js} +12 -6
- package/dist/chunk-VNHLYDTX.js.map +1 -0
- package/dist/{chunk-2SWQ6HIK.js → chunk-W3FAKT3D.js} +4 -4
- package/dist/{chunk-P7FQUGED.js → chunk-WQSL6MCA.js} +7 -7
- package/dist/{chunk-GSFNH4C5.js → chunk-WROCSDVL.js} +5 -5
- package/dist/{chunk-U7Q2Y6WG.js → chunk-X4HGBK4G.js} +2 -2
- package/dist/{chunk-ZCNCQGWK.js → chunk-X4XYUNRL.js} +2 -2
- package/dist/{chunk-HEWJJ4VE.js → chunk-XLZBZSES.js} +6 -3
- package/dist/chunk-XLZBZSES.js.map +1 -0
- package/dist/{chunk-H2RHA73H.js → chunk-XM6WEANW.js} +8 -8
- package/dist/{chunk-2N2KNXTF.js → chunk-XO27IMBE.js} +3 -3
- package/dist/{chunk-QPMLACIK.js → chunk-XY6KOMRN.js} +2 -2
- package/dist/{chunk-GEZYZ446.js → chunk-Y3IGYWGN.js} +27 -5
- package/dist/chunk-Y3IGYWGN.js.map +1 -0
- package/dist/{chunk-6SK3MTYJ.js → chunk-Y5UCOBQN.js} +4 -4
- package/dist/{chunk-I2IZ53QS.js → chunk-Y7ZS724A.js} +2 -2
- package/dist/{chunk-CJMU3G2J.js → chunk-YCNKH5P6.js} +6 -6
- package/dist/{chunk-O6DRUOUF.js → chunk-YESTO24O.js} +2 -2
- package/dist/{chunk-F65LT7XV.js → chunk-YZKA7UJK.js} +2 -2
- package/dist/{chunk-2DFH74T4.js → chunk-ZB6BX4GO.js} +2 -2
- package/dist/{chunk-7AR2R7TV.js → chunk-ZDWU52DJ.js} +4 -4
- package/dist/{chunk-M7E66OSC.js → chunk-ZPIMPOHV.js} +4 -4
- package/dist/data-display/Alert.js +5 -4
- package/dist/data-display/AsyncStateContainer.js +3 -3
- package/dist/data-display/Avatar.js +6 -5
- package/dist/data-display/Badge.js +6 -5
- package/dist/data-display/Banner.js +3 -2
- package/dist/data-display/CardKit.js +20 -16
- package/dist/data-display/Carousel.js +13 -9
- package/dist/data-display/Chart.js +24 -20
- package/dist/data-display/DataGrid.js +3 -3
- package/dist/data-display/DataViews.js +116 -114
- package/dist/data-display/DescriptionItem.js +6 -5
- package/dist/data-display/EmptyState.js +2 -2
- package/dist/data-display/FleetMap.js +23 -19
- package/dist/data-display/InteractiveTooltip.js +2 -2
- package/dist/data-display/Lightbox.js +6 -6
- package/dist/data-display/MapPreview.js +15 -10
- package/dist/data-display/Progress.js +6 -5
- package/dist/data-display/SectionOnboarding.js +3 -3
- package/dist/data-display/Sheet.js +9 -5
- package/dist/data-display/Table.js +3 -3
- package/dist/feedback/ConfirmAction.js +14 -10
- package/dist/feedback/Dialog.js +2 -2
- package/dist/feedback/NotificationStatusNotice.js +12 -8
- package/dist/feedback/StackedModal.js +2 -2
- package/dist/feedback/TutorialOverlay.js +2 -2
- package/dist/form/AddressAutocomplete.js +9 -7
- package/dist/form/Autocomplete.js +7 -2
- package/dist/form/Button.js +8 -4
- package/dist/form/Calendar.js +4 -4
- package/dist/form/CategorySelect.js +14 -12
- package/dist/form/CepField.js +9 -7
- package/dist/form/Checkbox.js +4 -3
- package/dist/form/CodeEditor.js +4 -4
- package/dist/form/Command.js +9 -5
- package/dist/form/CreatableSelect.js +5 -3
- package/dist/form/DateRangePicker.js +15 -10
- package/dist/form/Input.js +8 -6
- package/dist/form/InputOTP.js +7 -5
- package/dist/form/Label.js +9 -5
- package/dist/form/Menubar.js +12 -8
- package/dist/form/PhoneInput.js +5 -3
- package/dist/form/RadioGroup.js +8 -6
- package/dist/form/RichTextEditor.js +3 -3
- package/dist/form/Select.js +7 -5
- package/dist/form/Switch.js +7 -6
- package/dist/form/Textarea.js +5 -3
- package/dist/form/Toggle.js +6 -4
- package/dist/form/ToggleGroup.js +6 -1
- package/dist/form/total-form.js +36 -34
- package/dist/icons.js +10 -6
- package/dist/layout/Box.js +10 -6
- package/dist/layout/ContentToolbar.js +18 -13
- package/dist/layout/ScrollArea.js +3 -3
- package/dist/layout/Stack.js +11 -7
- package/dist/layout/TableFilter.js +6 -1
- package/dist/native/chunks/{chunk-UKROAIPA.js → chunk-335WGKE6.js} +35 -48
- package/dist/native/chunks/chunk-335WGKE6.js.map +1 -0
- package/dist/native/chunks/{chunk-LB65S6C7.js → chunk-4KWFRDI2.js} +3 -3
- package/dist/native/chunks/{chunk-S5SLTMPB.js → chunk-5IASLIBI.js} +2 -2
- package/dist/native/chunks/{chunk-IVNAQJY6.js → chunk-GUBTMR2K.js} +2 -2
- package/dist/native/chunks/chunk-IMGBBIMT.js +46 -0
- package/dist/native/chunks/chunk-IMGBBIMT.js.map +1 -0
- package/dist/native/chunks/{chunk-T3TYQMAH.js → chunk-KIG4KY4W.js} +18 -13
- package/dist/native/chunks/chunk-KIG4KY4W.js.map +1 -0
- package/dist/native/chunks/{chunk-VAD5YVIZ.js → chunk-OI57L6WL.js} +5 -5
- package/dist/native/chunks/{chunk-V72V2Q45.js → chunk-R5XVZRDD.js} +28 -1
- package/dist/native/chunks/chunk-R5XVZRDD.js.map +1 -0
- package/dist/native/chunks/{chunk-7UEJ2FMQ.js → chunk-X6RQGKGF.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 -5
- package/dist/native/data-display/ErrorState.js +5 -4
- package/dist/native/data-display/ErrorState.js.map +1 -1
- package/dist/native/data-display/FleetMap.js +7 -6
- package/dist/native/data-display/FleetMap.js.map +1 -1
- 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 -3
- package/dist/native/form/Checkbox.js +3 -3
- package/dist/native/form/Input.js +7 -3
- package/dist/native/form/Input.js.map +1 -1
- package/dist/native/form/Select.js +27 -14
- package/dist/native/form/Select.js.map +1 -1
- 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 +11 -1
- 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 +15 -11
- package/dist/navigation/CommandPalette.js +2 -2
- package/dist/navigation/NavigationMenu.js +5 -5
- package/dist/navigation/Pagination.js +10 -3
- package/dist/provider.js +10 -6
- package/dist/social-login-button.js +14 -10
- package/dist/tokens.js +39 -9
- package/dist/types/components/data-display/DataViews/data-views-bar-controls.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-more-fields.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-range-pill.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-search.d.ts.map +1 -1
- package/dist/types/components/data-display/LazyImage/LazyImage.hooks.d.ts +1 -1
- package/dist/types/components/data-display/MapPreview/MapSearchBar.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/AddressTextField.d.ts.map +1 -1
- package/dist/types/components/form/Button/Button.styles.d.ts +9 -2
- package/dist/types/components/form/Button/Button.styles.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanelHead.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategorySelect.styles.d.ts +3 -4
- package/dist/types/components/form/CategorySelect/CategorySelect.styles.d.ts.map +1 -1
- package/dist/types/components/form/CreatableSelect/CreatableSelect.d.ts.map +1 -1
- package/dist/types/components/form/Input/Input.d.ts.map +1 -1
- package/dist/types/components/form/Input/Input.metrics.d.ts +26 -16
- package/dist/types/components/form/Input/Input.metrics.d.ts.map +1 -1
- package/dist/types/components/form/Input/Input.styles.d.ts +2 -1
- package/dist/types/components/form/Input/Input.styles.d.ts.map +1 -1
- package/dist/types/components/form/InputOTP/InputOTP.styles.d.ts.map +1 -1
- package/dist/types/components/form/PhoneInput/PhoneInput.d.ts.map +1 -1
- package/dist/types/components/form/RadioGroup/RadioGroup.styles.d.ts.map +1 -1
- package/dist/types/components/form/Select/Select.d.ts.map +1 -1
- package/dist/types/components/form/Textarea/Textarea.d.ts.map +1 -1
- package/dist/types/components/form/Textarea/TextareaRichEditor.d.ts.map +1 -1
- package/dist/types/components/form/Toggle/Toggle.styles.d.ts.map +1 -1
- package/dist/types/components/form/ToggleGroup/ToggleGroup.d.ts.map +1 -1
- package/dist/types/components/form/total-form/Fields/ToggleField.d.ts.map +1 -1
- package/dist/types/components/form/total-form/SubmitButton.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/ColumnsMenu.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/FilterTrigger.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/MultiSelectDropdown.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/MultiSelectTriggers.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/SavedViewsMenu.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/SortByDropdown.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/ViewSelector.d.ts.map +1 -1
- package/dist/types/components/layout/TableFilter/TableFilter.d.ts.map +1 -1
- package/dist/types/components/navigation/Pagination/PaginationParts.d.ts.map +1 -1
- package/dist/types/provider/mui-bridge.d.ts.map +1 -1
- package/dist/types/tokens/field-height.core.d.ts +49 -0
- package/dist/types/tokens/field-height.core.d.ts.map +1 -0
- package/dist/types/tokens/field-height.d.ts +58 -0
- package/dist/types/tokens/field-height.d.ts.map +1 -0
- package/dist/types/tokens/scales.d.ts +1 -0
- package/dist/types/tokens/scales.d.ts.map +1 -1
- package/dist/types/tokens/theme.d.ts +8 -0
- package/dist/types/tokens/theme.d.ts.map +1 -1
- package/dist/types-native/components/form/Button/Button.native.d.ts.map +1 -1
- package/dist/types-native/components/form/Input/Input.look.native.d.ts +2 -2
- package/dist/types-native/components/form/Input/Input.metrics.d.ts +26 -16
- package/dist/types-native/components/form/Input/Input.metrics.d.ts.map +1 -1
- package/dist/types-native/components/form/Input/Input.native.d.ts.map +1 -1
- package/dist/types-native/components/form/Select/Select.native.d.ts +2 -2
- package/dist/types-native/components/form/Select/Select.native.d.ts.map +1 -1
- package/dist/types-native/components/form/field-pulse.native.d.ts +3 -1
- package/dist/types-native/components/form/field-pulse.native.d.ts.map +1 -1
- package/dist/types-native/tokens/field-height.core.d.ts +49 -0
- package/dist/types-native/tokens/field-height.core.d.ts.map +1 -0
- 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 +8 -0
- package/dist/types-native/tokens/theme.d.ts.map +1 -1
- package/dist/typography/Heading.js +6 -5
- package/dist/typography/Paragraph.js +4 -3
- package/dist/typography/Text.js +5 -4
- package/dist/user-avatar.js +14 -10
- package/dist/utility/InfiniteScroll.js +2 -2
- package/package.json +1 -1
- package/src/components/data-display/DataViews/data-views-bar-controls.tsx +3 -2
- package/src/components/data-display/DataViews/data-views-day-input.tsx +2 -2
- package/src/components/data-display/DataViews/data-views-more-fields.tsx +4 -1
- package/src/components/data-display/DataViews/data-views-number-input.tsx +2 -2
- package/src/components/data-display/DataViews/data-views-range-pill.tsx +6 -3
- package/src/components/data-display/DataViews/data-views-search.tsx +6 -2
- package/src/components/data-display/MapPreview/MapSearchBar.tsx +2 -0
- package/src/components/form/AddressAutocomplete/AddressTextField.tsx +4 -2
- package/src/components/form/Autocomplete/Autocomplete.parts.tsx +2 -2
- package/src/components/form/Button/Button.native.tsx +17 -4
- package/src/components/form/Button/Button.styles.ts +21 -5
- package/src/components/form/CategorySelect/CategoryPanelHead.tsx +3 -3
- package/src/components/form/CategorySelect/CategorySelect.styles.ts +5 -5
- package/src/components/form/CreatableSelect/CreatableSelect.tsx +2 -1
- package/src/components/form/Input/Input.look.native.ts +5 -5
- package/src/components/form/Input/Input.metrics.ts +53 -18
- package/src/components/form/Input/Input.native.tsx +2 -0
- package/src/components/form/Input/Input.styles.ts +4 -2
- package/src/components/form/Input/Input.tsx +9 -3
- package/src/components/form/InputOTP/InputOTP.styles.ts +12 -8
- package/src/components/form/PhoneInput/PhoneInput.tsx +4 -2
- package/src/components/form/RadioGroup/RadioGroup.styles.ts +10 -1
- package/src/components/form/Select/Select.native.tsx +34 -8
- package/src/components/form/Select/Select.tsx +13 -7
- package/src/components/form/Textarea/Textarea.tsx +5 -2
- package/src/components/form/Textarea/TextareaRichEditor.tsx +8 -3
- package/src/components/form/Toggle/Toggle.styles.ts +7 -3
- package/src/components/form/ToggleGroup/ToggleGroup.tsx +5 -0
- package/src/components/form/field-pulse.native.tsx +6 -3
- package/src/components/form/total-form/Fields/ToggleField.tsx +0 -2
- package/src/components/form/total-form/SubmitButton.tsx +4 -9
- package/src/components/layout/ContentToolbar/ColumnsMenu.tsx +3 -2
- package/src/components/layout/ContentToolbar/FilterTrigger.tsx +2 -1
- package/src/components/layout/ContentToolbar/MultiSelectDropdown.tsx +2 -0
- package/src/components/layout/ContentToolbar/MultiSelectTriggers.tsx +7 -5
- package/src/components/layout/ContentToolbar/SavedViewsMenu.tsx +3 -1
- package/src/components/layout/ContentToolbar/SortByDropdown.tsx +2 -1
- package/src/components/layout/ContentToolbar/ViewSelector.tsx +2 -1
- package/src/components/layout/TableFilter/TableFilter.tsx +3 -2
- package/src/components/navigation/Pagination/PaginationParts.tsx +2 -2
- package/src/provider/mui-bridge.ts +6 -2
- package/src/tokens/field-height.core.ts +70 -0
- package/src/tokens/field-height.ts +152 -0
- package/src/tokens/index.native.ts +7 -0
- package/src/tokens/scales.ts +14 -0
- package/src/tokens/theme.ts +10 -0
- package/dist/chunk-272OV2KZ.js.map +0 -1
- package/dist/chunk-4EL5ZSZ3.js.map +0 -1
- package/dist/chunk-65IHPI4S.js.map +0 -1
- package/dist/chunk-6SXZ7CF2.js.map +0 -1
- package/dist/chunk-BB2IVF76.js.map +0 -1
- package/dist/chunk-BDVJ65GR.js.map +0 -1
- package/dist/chunk-BHXFPZAA.js.map +0 -1
- package/dist/chunk-BRAF4MFO.js.map +0 -1
- package/dist/chunk-D7Q42CRZ.js.map +0 -1
- package/dist/chunk-DV42HAVP.js.map +0 -1
- package/dist/chunk-EFEZWG4C.js.map +0 -1
- package/dist/chunk-EN5Q5RPQ.js.map +0 -1
- package/dist/chunk-ETSKBOXN.js.map +0 -1
- package/dist/chunk-F73D4EMA.js.map +0 -1
- package/dist/chunk-G5G4Q7G6.js.map +0 -1
- package/dist/chunk-GEZYZ446.js.map +0 -1
- package/dist/chunk-HEWJJ4VE.js.map +0 -1
- package/dist/chunk-HZAPN7XD.js.map +0 -1
- package/dist/chunk-IRSI3BFF.js.map +0 -1
- package/dist/chunk-JHOBW7OD.js.map +0 -1
- package/dist/chunk-JUHPNTDA.js.map +0 -1
- package/dist/chunk-JVMNE5G4.js.map +0 -1
- package/dist/chunk-L6UTYFAB.js.map +0 -1
- package/dist/chunk-MSKEFXXV.js.map +0 -1
- package/dist/chunk-O7SE4PYT.js.map +0 -1
- package/dist/chunk-PS3EJLOC.js.map +0 -1
- package/dist/chunk-Q544QEIN.js.map +0 -1
- package/dist/chunk-R4SOPN6K.js.map +0 -1
- package/dist/chunk-RDFPH47Y.js.map +0 -1
- package/dist/chunk-RRDL7AGQ.js.map +0 -1
- package/dist/chunk-USPQZQBF.js.map +0 -1
- package/dist/chunk-VYMULXCJ.js.map +0 -1
- package/dist/chunk-WHLVMQNF.js.map +0 -1
- package/dist/chunk-WONCE5GB.js.map +0 -1
- package/dist/chunk-XMDH3MRV.js.map +0 -1
- package/dist/chunk-XVM4ZIRE.js.map +0 -1
- package/dist/native/chunks/chunk-T3TYQMAH.js.map +0 -1
- package/dist/native/chunks/chunk-UKROAIPA.js.map +0 -1
- package/dist/native/chunks/chunk-V72V2Q45.js.map +0 -1
- /package/dist/{chunk-GOKMLXZH.js.map → chunk-2SKNSQCP.js.map} +0 -0
- /package/dist/{chunk-YRUCIKPO.js.map → chunk-2UYR2OOE.js.map} +0 -0
- /package/dist/{chunk-RMB4RTTM.js.map → chunk-2W4GTZDP.js.map} +0 -0
- /package/dist/{chunk-IASDP44E.js.map → chunk-3AOOI2NR.js.map} +0 -0
- /package/dist/{chunk-BRUJC7OG.js.map → chunk-3CN2GBIK.js.map} +0 -0
- /package/dist/{chunk-WCLWFN3F.js.map → chunk-3NA7AO6H.js.map} +0 -0
- /package/dist/{chunk-URK67BAE.js.map → chunk-3SJZP7KH.js.map} +0 -0
- /package/dist/{chunk-67L5CMXP.js.map → chunk-3Z23QTCP.js.map} +0 -0
- /package/dist/{chunk-4ETQRBZC.js.map → chunk-46UPILLK.js.map} +0 -0
- /package/dist/{chunk-SSJHEV5Z.js.map → chunk-4BEQADWC.js.map} +0 -0
- /package/dist/{chunk-DBXGRZBJ.js.map → chunk-4D7YIU34.js.map} +0 -0
- /package/dist/{chunk-32MTYYGC.js.map → chunk-4PIKOJZ4.js.map} +0 -0
- /package/dist/{chunk-SAIKHWH7.js.map → chunk-56S7A2XT.js.map} +0 -0
- /package/dist/{chunk-UHWHTNUS.js.map → chunk-5BW7NCM5.js.map} +0 -0
- /package/dist/{chunk-LG6DHNRD.js.map → chunk-5FA5S2YN.js.map} +0 -0
- /package/dist/{chunk-H35CQ6DF.js.map → chunk-5KZR3RXL.js.map} +0 -0
- /package/dist/{chunk-MRGPVPQC.js.map → chunk-5NH24MF5.js.map} +0 -0
- /package/dist/{chunk-IQFUV3BA.js.map → chunk-5RHMLOIA.js.map} +0 -0
- /package/dist/{chunk-DORPR2YP.js.map → chunk-5SBJO37T.js.map} +0 -0
- /package/dist/{chunk-3ZGQSWHJ.js.map → chunk-5U4SJ2DA.js.map} +0 -0
- /package/dist/{chunk-QKDFD4VT.js.map → chunk-62NFZR52.js.map} +0 -0
- /package/dist/{chunk-3PT3SBJ7.js.map → chunk-65JHGT5F.js.map} +0 -0
- /package/dist/{chunk-H7ZN2GW7.js.map → chunk-67N6TH6E.js.map} +0 -0
- /package/dist/{chunk-Q5BSNHN7.js.map → chunk-6M33XQLZ.js.map} +0 -0
- /package/dist/{chunk-IPS55KWK.js.map → chunk-6M7CMILP.js.map} +0 -0
- /package/dist/{chunk-X2R7QG5I.js.map → chunk-6MDBMCFK.js.map} +0 -0
- /package/dist/{chunk-PCONTSJJ.js.map → chunk-6V7D6GRX.js.map} +0 -0
- /package/dist/{chunk-DTKMBI7B.js.map → chunk-6YLAVHV4.js.map} +0 -0
- /package/dist/{chunk-MCAXIKQD.js.map → chunk-6ZZNV2PA.js.map} +0 -0
- /package/dist/{chunk-BWSYSSF3.js.map → chunk-7A3G4W52.js.map} +0 -0
- /package/dist/{chunk-RXSGHPCR.js.map → chunk-7FOOLP5H.js.map} +0 -0
- /package/dist/{chunk-NJ6D37KV.js.map → chunk-7FWXG2KF.js.map} +0 -0
- /package/dist/{chunk-XPPEUGHG.js.map → chunk-7MM2I34E.js.map} +0 -0
- /package/dist/{chunk-F22WT7UX.js.map → chunk-7NFRTAEU.js.map} +0 -0
- /package/dist/{chunk-OIFBBDYX.js.map → chunk-7TSQNYQO.js.map} +0 -0
- /package/dist/{chunk-OFMDFN3U.js.map → chunk-A2QZXV2K.js.map} +0 -0
- /package/dist/{chunk-J2RRZZXC.js.map → chunk-APT5L7V5.js.map} +0 -0
- /package/dist/{chunk-ZVTJGWIV.js.map → chunk-AYRHW4DX.js.map} +0 -0
- /package/dist/{chunk-Y2CSBXQT.js.map → chunk-AZ2KKHID.js.map} +0 -0
- /package/dist/{chunk-NLUZGT4U.js.map → chunk-AZ4LLAAJ.js.map} +0 -0
- /package/dist/{chunk-HJOABXKN.js.map → chunk-AZUFGKMQ.js.map} +0 -0
- /package/dist/{chunk-IAVAZ36T.js.map → chunk-B4BU5CS6.js.map} +0 -0
- /package/dist/{chunk-APMEXS3Y.js.map → chunk-BM4LH7VQ.js.map} +0 -0
- /package/dist/{chunk-JOPTI47I.js.map → chunk-BM4ZPBBT.js.map} +0 -0
- /package/dist/{chunk-VGSEI7PQ.js.map → chunk-BTIBFR5L.js.map} +0 -0
- /package/dist/{chunk-C2ZNAQMO.js.map → chunk-BUXSHLQM.js.map} +0 -0
- /package/dist/{chunk-CIVLXOLG.js.map → chunk-C5WSPGMP.js.map} +0 -0
- /package/dist/{chunk-SGV7QGYQ.js.map → chunk-C6R4LVUX.js.map} +0 -0
- /package/dist/{chunk-6SNRPCSK.js.map → chunk-CR4KC2K5.js.map} +0 -0
- /package/dist/{chunk-4WT4PV4M.js.map → chunk-CZ5ZL63A.js.map} +0 -0
- /package/dist/{chunk-BPYPUEM5.js.map → chunk-CZJLWCEG.js.map} +0 -0
- /package/dist/{chunk-YANLN6HP.js.map → chunk-D6HDJVQW.js.map} +0 -0
- /package/dist/{chunk-6PSAPCTE.js.map → chunk-DAQ2ZDU2.js.map} +0 -0
- /package/dist/{chunk-PEMZ2ABQ.js.map → chunk-DDTPMZOB.js.map} +0 -0
- /package/dist/{chunk-XEUSTU7K.js.map → chunk-DIWC6AQL.js.map} +0 -0
- /package/dist/{chunk-LWAOL4BG.js.map → chunk-DO3UNZAU.js.map} +0 -0
- /package/dist/{chunk-D5YGDCMP.js.map → chunk-DZXN3QCX.js.map} +0 -0
- /package/dist/{chunk-GUROYOKQ.js.map → chunk-EAE5Z5HL.js.map} +0 -0
- /package/dist/{chunk-EYRSUVBC.js.map → chunk-ECZXTIDR.js.map} +0 -0
- /package/dist/{chunk-3P4THDBM.js.map → chunk-EIGELK2H.js.map} +0 -0
- /package/dist/{chunk-26ORCF6J.js.map → chunk-ENUWZ3HW.js.map} +0 -0
- /package/dist/{chunk-DWZ7FLA7.js.map → chunk-FATRMNVN.js.map} +0 -0
- /package/dist/{chunk-SHQWIDD5.js.map → chunk-GJQYM3PM.js.map} +0 -0
- /package/dist/{chunk-DX36KZUV.js.map → chunk-GSWDQ3ZX.js.map} +0 -0
- /package/dist/{chunk-VNEEXUWA.js.map → chunk-GT7C6TSM.js.map} +0 -0
- /package/dist/{chunk-OHKEQ7QJ.js.map → chunk-GXEB6MJA.js.map} +0 -0
- /package/dist/{chunk-CPA2YRVZ.js.map → chunk-H3TNIGMI.js.map} +0 -0
- /package/dist/{chunk-5EQFAFR3.js.map → chunk-H4NWU2ZN.js.map} +0 -0
- /package/dist/{chunk-QNUWSXF2.js.map → chunk-H57ZS6W2.js.map} +0 -0
- /package/dist/{chunk-7YTLJUBX.js.map → chunk-HQZRWOSS.js.map} +0 -0
- /package/dist/{chunk-25R3ITGZ.js.map → chunk-HTZYFGYE.js.map} +0 -0
- /package/dist/{chunk-BKP7YW3Y.js.map → chunk-HZXCTLNI.js.map} +0 -0
- /package/dist/{chunk-SZZLABMO.js.map → chunk-IDO4EV7T.js.map} +0 -0
- /package/dist/{chunk-ETU4LNU7.js.map → chunk-IGAXQRRZ.js.map} +0 -0
- /package/dist/{chunk-ORIFMVN4.js.map → chunk-IM76SSXI.js.map} +0 -0
- /package/dist/{chunk-EATFKTO3.js.map → chunk-IOEF32HX.js.map} +0 -0
- /package/dist/{chunk-NR2HXHBR.js.map → chunk-IYSQRTIX.js.map} +0 -0
- /package/dist/{chunk-YXQ2NJHF.js.map → chunk-JAYWTSXX.js.map} +0 -0
- /package/dist/{chunk-RRO2EOJB.js.map → chunk-JB67KPGM.js.map} +0 -0
- /package/dist/{chunk-RIA34EUT.js.map → chunk-JDY37EML.js.map} +0 -0
- /package/dist/{chunk-SMUZRLFZ.js.map → chunk-JGOXXKPY.js.map} +0 -0
- /package/dist/{chunk-DHQ6ASUD.js.map → chunk-JPNPXNFH.js.map} +0 -0
- /package/dist/{chunk-4DUHJIR2.js.map → chunk-JYETSTOQ.js.map} +0 -0
- /package/dist/{chunk-FC74EAW4.js.map → chunk-JZJOAGBG.js.map} +0 -0
- /package/dist/{chunk-R7KR5FYJ.js.map → chunk-KCFCEWF7.js.map} +0 -0
- /package/dist/{chunk-HFBME3C5.js.map → chunk-KG4VNCNO.js.map} +0 -0
- /package/dist/{chunk-V3RVRZAU.js.map → chunk-KMUSTQA6.js.map} +0 -0
- /package/dist/{chunk-HSVNFMXY.js.map → chunk-LB2G6SD6.js.map} +0 -0
- /package/dist/{chunk-RWIBPIPD.js.map → chunk-LNOYDMFD.js.map} +0 -0
- /package/dist/{chunk-SFAP5EH5.js.map → chunk-LUMF63BM.js.map} +0 -0
- /package/dist/{chunk-WVJI3Z4P.js.map → chunk-LWLVWM34.js.map} +0 -0
- /package/dist/{chunk-RFZU5BTG.js.map → chunk-LYSSO6WC.js.map} +0 -0
- /package/dist/{chunk-GLPHRHIT.js.map → chunk-M7HX3HKW.js.map} +0 -0
- /package/dist/{chunk-EJJRJYB5.js.map → chunk-MG73KW54.js.map} +0 -0
- /package/dist/{chunk-QP3KK4KO.js.map → chunk-MGP5LLEK.js.map} +0 -0
- /package/dist/{chunk-ATBT4RJZ.js.map → chunk-MSXNA3UH.js.map} +0 -0
- /package/dist/{chunk-MYUZPUXQ.js.map → chunk-N74IYYRU.js.map} +0 -0
- /package/dist/{chunk-5YOFMMK3.js.map → chunk-NBBFFPTA.js.map} +0 -0
- /package/dist/{chunk-NFJUBPIN.js.map → chunk-NFLY5JMP.js.map} +0 -0
- /package/dist/{chunk-3BAFJMBH.js.map → chunk-NKIAP6ZL.js.map} +0 -0
- /package/dist/{chunk-G3WUOPWE.js.map → chunk-NLBIG5LU.js.map} +0 -0
- /package/dist/{chunk-CATLG2RT.js.map → chunk-NU3EQX2L.js.map} +0 -0
- /package/dist/{chunk-55E7GLVT.js.map → chunk-O4C5LUTJ.js.map} +0 -0
- /package/dist/{chunk-INH2BDHV.js.map → chunk-OOGKAFBU.js.map} +0 -0
- /package/dist/{chunk-2YOQLBEX.js.map → chunk-OZZNC4YU.js.map} +0 -0
- /package/dist/{chunk-35GWNOLB.js.map → chunk-PH5XJGKJ.js.map} +0 -0
- /package/dist/{chunk-AGYGNNOM.js.map → chunk-PQECNGDE.js.map} +0 -0
- /package/dist/{chunk-IPE5FFFD.js.map → chunk-PUBPZOQJ.js.map} +0 -0
- /package/dist/{chunk-7DNQHMDO.js.map → chunk-PXH24VIP.js.map} +0 -0
- /package/dist/{chunk-7U36V4CU.js.map → chunk-Q2GZMDZL.js.map} +0 -0
- /package/dist/{chunk-4LDRYLE2.js.map → chunk-QNHNFU7G.js.map} +0 -0
- /package/dist/{chunk-WBKWIFXA.js.map → chunk-QYNCPS5W.js.map} +0 -0
- /package/dist/{chunk-C4NRFERD.js.map → chunk-R2I3LUUH.js.map} +0 -0
- /package/dist/{chunk-RCI6KVN6.js.map → chunk-R67J6JKT.js.map} +0 -0
- /package/dist/{chunk-GOWBYHYW.js.map → chunk-R6SBP5M5.js.map} +0 -0
- /package/dist/{chunk-GKGA2ZCW.js.map → chunk-RAWQMBX6.js.map} +0 -0
- /package/dist/{chunk-6BGS5FND.js.map → chunk-RGKGBYT2.js.map} +0 -0
- /package/dist/{chunk-A5FIYKAN.js.map → chunk-RGMSTQ2J.js.map} +0 -0
- /package/dist/{chunk-CPNSVIIB.js.map → chunk-RP3W6IQO.js.map} +0 -0
- /package/dist/{chunk-UEJQQVP2.js.map → chunk-RRX6ZTNX.js.map} +0 -0
- /package/dist/{chunk-OL7UQMBI.js.map → chunk-RUEKY3VR.js.map} +0 -0
- /package/dist/{chunk-3T2I6BYA.js.map → chunk-SJIBPRPB.js.map} +0 -0
- /package/dist/{chunk-TLY2QMU5.js.map → chunk-SVFA75FO.js.map} +0 -0
- /package/dist/{chunk-DF2FFYZ7.js.map → chunk-T53L42XW.js.map} +0 -0
- /package/dist/{chunk-V6YZ3PL5.js.map → chunk-T5MOGJ56.js.map} +0 -0
- /package/dist/{chunk-WI6GD4MV.js.map → chunk-TBRAZK3Y.js.map} +0 -0
- /package/dist/{chunk-6VZYQC7T.js.map → chunk-TCLBB7U4.js.map} +0 -0
- /package/dist/{chunk-5UGXAAZG.js.map → chunk-TJT4NSFN.js.map} +0 -0
- /package/dist/{chunk-RQFBLYYH.js.map → chunk-TN55JKIU.js.map} +0 -0
- /package/dist/{chunk-P4BZ7YE6.js.map → chunk-TTVKL3RD.js.map} +0 -0
- /package/dist/{chunk-UCTJJYVC.js.map → chunk-TTW4MAOJ.js.map} +0 -0
- /package/dist/{chunk-D6P5PSHU.js.map → chunk-U3ON6YW3.js.map} +0 -0
- /package/dist/{chunk-VUFMV5Q5.js.map → chunk-U3PPLAFB.js.map} +0 -0
- /package/dist/{chunk-WVQ47UTI.js.map → chunk-UEWIIYGA.js.map} +0 -0
- /package/dist/{chunk-SDSAQ5YS.js.map → chunk-UJE7IKQ4.js.map} +0 -0
- /package/dist/{chunk-AFZUPCBK.js.map → chunk-V3WWNKHU.js.map} +0 -0
- /package/dist/{chunk-CKW267ZK.js.map → chunk-VI7YYAXV.js.map} +0 -0
- /package/dist/{chunk-KJYD5OJ4.js.map → chunk-VLVMJDGD.js.map} +0 -0
- /package/dist/{chunk-2SWQ6HIK.js.map → chunk-W3FAKT3D.js.map} +0 -0
- /package/dist/{chunk-P7FQUGED.js.map → chunk-WQSL6MCA.js.map} +0 -0
- /package/dist/{chunk-GSFNH4C5.js.map → chunk-WROCSDVL.js.map} +0 -0
- /package/dist/{chunk-U7Q2Y6WG.js.map → chunk-X4HGBK4G.js.map} +0 -0
- /package/dist/{chunk-ZCNCQGWK.js.map → chunk-X4XYUNRL.js.map} +0 -0
- /package/dist/{chunk-H2RHA73H.js.map → chunk-XM6WEANW.js.map} +0 -0
- /package/dist/{chunk-2N2KNXTF.js.map → chunk-XO27IMBE.js.map} +0 -0
- /package/dist/{chunk-QPMLACIK.js.map → chunk-XY6KOMRN.js.map} +0 -0
- /package/dist/{chunk-6SK3MTYJ.js.map → chunk-Y5UCOBQN.js.map} +0 -0
- /package/dist/{chunk-I2IZ53QS.js.map → chunk-Y7ZS724A.js.map} +0 -0
- /package/dist/{chunk-CJMU3G2J.js.map → chunk-YCNKH5P6.js.map} +0 -0
- /package/dist/{chunk-O6DRUOUF.js.map → chunk-YESTO24O.js.map} +0 -0
- /package/dist/{chunk-F65LT7XV.js.map → chunk-YZKA7UJK.js.map} +0 -0
- /package/dist/{chunk-2DFH74T4.js.map → chunk-ZB6BX4GO.js.map} +0 -0
- /package/dist/{chunk-7AR2R7TV.js.map → chunk-ZDWU52DJ.js.map} +0 -0
- /package/dist/{chunk-M7E66OSC.js.map → chunk-ZPIMPOHV.js.map} +0 -0
- /package/dist/native/chunks/{chunk-LB65S6C7.js.map → chunk-4KWFRDI2.js.map} +0 -0
- /package/dist/native/chunks/{chunk-S5SLTMPB.js.map → chunk-5IASLIBI.js.map} +0 -0
- /package/dist/native/chunks/{chunk-IVNAQJY6.js.map → chunk-GUBTMR2K.js.map} +0 -0
- /package/dist/native/chunks/{chunk-VAD5YVIZ.js.map → chunk-OI57L6WL.js.map} +0 -0
- /package/dist/native/chunks/{chunk-7UEJ2FMQ.js.map → chunk-X6RQGKGF.js.map} +0 -0
|
@@ -33,6 +33,8 @@ import {
|
|
|
33
33
|
} from './data-views-range-values';
|
|
34
34
|
import type { RangeFieldConfig, RangeValue } from './data-views-types';
|
|
35
35
|
import { fieldRadiusPx } from '../../../tokens/field-radius';
|
|
36
|
+
import { fieldHeight } from '../../../tokens/field-height';
|
|
37
|
+
import { fieldEdge } from '../../../tokens/field-edge';
|
|
36
38
|
|
|
37
39
|
|
|
38
40
|
|
|
@@ -206,7 +208,8 @@ function RangeTrigger<T extends Record<string, unknown>>({
|
|
|
206
208
|
const inverted = isRangeInverted(value);
|
|
207
209
|
// An INVERTED window gets its own tone rather than the ordinary "applied"
|
|
208
210
|
// one: it is applied, and it matches nothing, and those are different states.
|
|
209
|
-
|
|
211
|
+
// At rest the pill draws the one field border (`fieldEdge`).
|
|
212
|
+
const tone = inverted ? 'error.main' : active ? 'primary.main' : null;
|
|
210
213
|
return (
|
|
211
214
|
<Button
|
|
212
215
|
variant="outlined"
|
|
@@ -228,7 +231,7 @@ function RangeTrigger<T extends Record<string, unknown>>({
|
|
|
228
231
|
endIcon={<ChevronDownIcon sx={{ fontSize: 16 }} />}
|
|
229
232
|
sx={{
|
|
230
233
|
borderRadius: fieldRadiusPx,
|
|
231
|
-
height:
|
|
234
|
+
height: fieldHeight,
|
|
232
235
|
px: 1.5,
|
|
233
236
|
maxWidth: 280,
|
|
234
237
|
color: inverted ? 'error.main' : 'text.primary',
|
|
@@ -236,7 +239,7 @@ function RangeTrigger<T extends Record<string, unknown>>({
|
|
|
236
239
|
fontSize: '0.8125rem',
|
|
237
240
|
textTransform: 'none',
|
|
238
241
|
whiteSpace: 'nowrap',
|
|
239
|
-
borderColor: tone,
|
|
242
|
+
borderColor: (theme) => tone ?? fieldEdge(theme),
|
|
240
243
|
bgcolor: active ? 'action.selected' : 'background.paper',
|
|
241
244
|
'&:hover': {
|
|
242
245
|
borderColor: active ? tone : 'text.primary',
|
|
@@ -15,6 +15,8 @@ import { useCallback, useEffect, useRef, useState } from "react";
|
|
|
15
15
|
import { Box } from "../../../mui/Box";
|
|
16
16
|
import { fieldRadiusPx } from "../../../tokens/field-radius";
|
|
17
17
|
import { useDataViewsCopy } from "./data-views-copy-context";
|
|
18
|
+
import { fieldHeight, fieldTextFieldStyles } from "../../../tokens/field-height";
|
|
19
|
+
import { fieldEdge } from "../../../tokens/field-edge";
|
|
18
20
|
|
|
19
21
|
/** How long the box waits after the last keystroke before it queries. */
|
|
20
22
|
const SEARCH_DEBOUNCE_MS = 350;
|
|
@@ -170,7 +172,7 @@ export function InlineKeyword({
|
|
|
170
172
|
// Takes the free space and gives it up first — step 3 of the ladder,
|
|
171
173
|
// which needs no flag because flex does it (see `computeSplit`). The
|
|
172
174
|
// corner is the theme's field radius, so the box matches the pills beside it.
|
|
173
|
-
sx={(theme) => ({ ...boxWidth(fill),
|
|
175
|
+
sx={(theme) => ({ ...boxWidth(fill), ...fieldTextFieldStyles(theme) })}
|
|
174
176
|
/>
|
|
175
177
|
);
|
|
176
178
|
}
|
|
@@ -201,9 +203,11 @@ export function CollapsedSearch({
|
|
|
201
203
|
data-testid={testId ? `${testId}-collapsed` : undefined}
|
|
202
204
|
sx={{
|
|
203
205
|
position: "relative",
|
|
206
|
+
width: fieldHeight,
|
|
207
|
+
height: fieldHeight,
|
|
204
208
|
border: 1,
|
|
205
209
|
borderRadius: fieldRadiusPx,
|
|
206
|
-
borderColor: active ?
|
|
210
|
+
borderColor: (theme) => (active ? theme.palette.primary.main : fieldEdge(theme)),
|
|
207
211
|
color: active ? "primary.main" : "text.secondary",
|
|
208
212
|
bgcolor: active ? "action.selected" : "background.paper",
|
|
209
213
|
}}
|
|
@@ -7,6 +7,7 @@ import type { FC } from 'react';
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
|
|
9
9
|
import { fieldRadius } from '../../../tokens/field-radius';
|
|
10
|
+
import { fieldControlStyles } from '../../../tokens/field-height';
|
|
10
11
|
|
|
11
12
|
// Kept module-local: styled() components cannot be exported across a module
|
|
12
13
|
// boundary here without tripping TS2742.
|
|
@@ -21,6 +22,7 @@ const SearchBar = styled(Box)(({ theme }) => ({
|
|
|
21
22
|
}));
|
|
22
23
|
|
|
23
24
|
const SearchField = styled(TextField)(({ theme }) => ({
|
|
25
|
+
...fieldControlStyles(theme),
|
|
24
26
|
'& .MuiOutlinedInput-root': {
|
|
25
27
|
background: alpha(theme.palette.background.paper, 0.95),
|
|
26
28
|
backdropFilter: 'blur(10px)',
|
|
@@ -7,12 +7,14 @@ import React from 'react';
|
|
|
7
7
|
import type { AddressAutocompleteProps } from './AddressAutocomplete.types';
|
|
8
8
|
|
|
9
9
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
10
|
-
import { fieldRadius
|
|
10
|
+
import { fieldRadius } from '../../../tokens/field-radius';
|
|
11
|
+
import { fieldControlStyles, fieldTextFieldStyles } from '../../../tokens/field-height';
|
|
11
12
|
|
|
12
13
|
// Kept module-local on purpose: the inferred type of a styled() component cannot
|
|
13
14
|
// be named across a module boundary here (TS2742), so the plain component below
|
|
14
15
|
// is what the rest of the folder imports.
|
|
15
16
|
const GlassTextField = styled(TextField)(({ theme }) => ({
|
|
17
|
+
...fieldControlStyles(theme),
|
|
16
18
|
'& .MuiOutlinedInput-root': {
|
|
17
19
|
borderRadius: fieldRadius(theme),
|
|
18
20
|
background: `linear-gradient(135deg, ${alpha(theme.palette.background.paper, 0.8)} 0%, ${alpha(theme.palette.background.paper, 0.6)} 100%)`,
|
|
@@ -35,7 +37,7 @@ const GlassTextField = styled(TextField)(({ theme }) => ({
|
|
|
35
37
|
}));
|
|
36
38
|
|
|
37
39
|
/** The plain variants: MUI's own field, on the theme's field radius. */
|
|
38
|
-
const FieldTextField = styled(TextField)(({ theme }) =>
|
|
40
|
+
const FieldTextField = styled(TextField)(({ theme }) => fieldTextFieldStyles(theme));
|
|
39
41
|
|
|
40
42
|
export type AddressTextFieldProps = Omit<TextFieldProps, 'variant'> & {
|
|
41
43
|
addressVariant: AddressAutocompleteProps['variant'];
|
|
@@ -16,7 +16,7 @@ import React from 'react';
|
|
|
16
16
|
import { highlightLabel, type MatchMode } from './Autocomplete.helpers';
|
|
17
17
|
import type { SuggestionItemState, SuggestionType } from './Autocomplete.types';
|
|
18
18
|
import type { AutocompleteCopy } from '../../../copy';
|
|
19
|
-
import {
|
|
19
|
+
import { fieldTextFieldStyles } from '../../../tokens/field-height';
|
|
20
20
|
|
|
21
21
|
const StyledPopper = styled(Popper)(({ theme }) => ({
|
|
22
22
|
zIndex: theme.zIndex.tooltip,
|
|
@@ -114,7 +114,7 @@ export function AutocompleteInput(props: AutocompleteInputProps): React.JSX.Elem
|
|
|
114
114
|
<TextField
|
|
115
115
|
ref={props.inputRef}
|
|
116
116
|
fullWidth
|
|
117
|
-
sx={
|
|
117
|
+
sx={fieldTextFieldStyles}
|
|
118
118
|
value={props.inputValue}
|
|
119
119
|
onChange={props.onChange}
|
|
120
120
|
onKeyDown={props.onKeyDown}
|
|
@@ -27,7 +27,6 @@ import {
|
|
|
27
27
|
GLASS_BORDER_ALPHA,
|
|
28
28
|
GLOW_INNER_ALPHA,
|
|
29
29
|
GLOW_RADIUS,
|
|
30
|
-
ICON_ONLY_PADDING,
|
|
31
30
|
PULSE_ALPHA,
|
|
32
31
|
PULSE_DURATION_MS,
|
|
33
32
|
PULSE_SPREAD,
|
|
@@ -39,6 +38,8 @@ import type { ButtonProps, ButtonVariant } from './Button.types.native';
|
|
|
39
38
|
import { renderTextChildren } from '../../../platform/text-children';
|
|
40
39
|
import { childTestId, resolveTestId, withoutTestIdProps } from '../../../platform/test-id';
|
|
41
40
|
import { useUiTheme } from '../../../provider/use-ui-theme.native';
|
|
41
|
+
import { resolveFieldEdge } from '../../../tokens/field-edge.core';
|
|
42
|
+
import { FIELD_BORDER_WIDTH, fieldHeightPx } from '../../../tokens/field-height.core';
|
|
42
43
|
import { alpha } from '../../../tokens/color';
|
|
43
44
|
import type { ColorValue, SizeValue } from '../../../tokens/vocabulary';
|
|
44
45
|
import type { UiPaletteColor, UiTheme } from '../../../tokens/theme';
|
|
@@ -72,7 +73,15 @@ function paintFor(
|
|
|
72
73
|
switch (variant) {
|
|
73
74
|
case 'outline':
|
|
74
75
|
return {
|
|
75
|
-
|
|
76
|
+
// A neutral outline rests on the one field border, as on the web.
|
|
77
|
+
container: {
|
|
78
|
+
backgroundColor: 'transparent',
|
|
79
|
+
borderWidth: FIELD_BORDER_WIDTH,
|
|
80
|
+
borderColor:
|
|
81
|
+
color === 'neutral'
|
|
82
|
+
? resolveFieldEdge(theme.palette.divider, theme.palette.background.paper)
|
|
83
|
+
: palette.main,
|
|
84
|
+
},
|
|
76
85
|
pressed: { backgroundColor: wash, borderColor: palette.dark },
|
|
77
86
|
label: { color: palette.main },
|
|
78
87
|
};
|
|
@@ -131,11 +140,15 @@ function disabledPaint(theme: UiTheme, variant: ButtonVariant): Paint {
|
|
|
131
140
|
|
|
132
141
|
function sizeStyle(theme: UiTheme, size: SizeValue, iconOnly: boolean, hasIcon: boolean): ViewStyle {
|
|
133
142
|
const metrics = BUTTON_SIZES[size];
|
|
143
|
+
// The theme's field height for the size, as on the web: a button stands
|
|
144
|
+
// level with the field beside it, and an icon-only one is that square.
|
|
145
|
+
const height = fieldHeightPx(theme.fieldHeight, size);
|
|
134
146
|
if (iconOnly) {
|
|
135
|
-
return { padding:
|
|
147
|
+
return { padding: 0, minWidth: height, minHeight: height };
|
|
136
148
|
}
|
|
137
149
|
return {
|
|
138
|
-
|
|
150
|
+
minHeight: height,
|
|
151
|
+
paddingVertical: 0,
|
|
139
152
|
paddingHorizontal: metrics.paddingHorizontal,
|
|
140
153
|
minWidth: MIN_WIDTH,
|
|
141
154
|
gap: hasIcon ? theme.spacing(BUTTON_ICON_GAP_UNITS) : undefined,
|
|
@@ -2,6 +2,7 @@ import { alpha, darken, keyframes, lighten } from '@mui/material/styles/index.js
|
|
|
2
2
|
import type { CSSObject, Theme } from '@mui/material/styles/index.js';
|
|
3
3
|
|
|
4
4
|
import { BUTTON_SIZES, ICON_ONLY_PADDING as ICON_ONLY_PADDING_PX } from './Button.metrics';
|
|
5
|
+
import { asFieldSize, fieldBorder, fieldHeight } from '../../../tokens/field-height';
|
|
5
6
|
import { inkOver, px } from '../../../tokens/theme';
|
|
6
7
|
|
|
7
8
|
// Define pulse animation globally
|
|
@@ -101,9 +102,21 @@ const iconOnlySize = (size: string): CSSObject => ({
|
|
|
101
102
|
'& .MuiButton-startIcon, & .MuiButton-endIcon': { margin: 0 },
|
|
102
103
|
});
|
|
103
104
|
|
|
104
|
-
/**
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
/**
|
|
106
|
+
* The size styles for a button, square when it carries nothing but an icon.
|
|
107
|
+
*
|
|
108
|
+
* The HEIGHT is the theme's field height for the size (`tokens/field-height`),
|
|
109
|
+
* so a button stands level with the field beside it: the vertical padding goes
|
|
110
|
+
* and the label is centred in a box at least that tall — a label that wraps
|
|
111
|
+
* still grows it. An icon-only button is that height on every side.
|
|
112
|
+
*/
|
|
113
|
+
export const buttonSize =
|
|
114
|
+
(size: string, iconOnly: boolean) =>
|
|
115
|
+
(theme: Theme): CSSObject => {
|
|
116
|
+
const height = fieldHeight(theme, asFieldSize(size));
|
|
117
|
+
if (iconOnly) return { ...iconOnlySize(size), padding: 0, minWidth: height, minHeight: height };
|
|
118
|
+
return { ...(SIZE_MAP[size] ?? DEFAULT_SIZE), minHeight: height, paddingTop: 0, paddingBottom: 0 };
|
|
119
|
+
};
|
|
107
120
|
|
|
108
121
|
/**
|
|
109
122
|
* MUI centres icons with a negative margin that fights our own padding, so the
|
|
@@ -199,10 +212,13 @@ const VARIANT_STYLES: Record<
|
|
|
199
212
|
boxShadow: theme.shadows[8],
|
|
200
213
|
},
|
|
201
214
|
}),
|
|
202
|
-
outline
|
|
215
|
+
// A NEUTRAL outline is a field-row control ("Mais", "Exibir"), so it rests on
|
|
216
|
+
// the one field border; a coloured outline keeps its colour, which is the
|
|
217
|
+
// point of asking for one.
|
|
218
|
+
outline: (theme, palette, color) => ({
|
|
203
219
|
backgroundColor: 'transparent',
|
|
204
220
|
color: palette.main,
|
|
205
|
-
border: `1px solid ${palette.main}`,
|
|
221
|
+
border: color === 'neutral' ? fieldBorder(theme) : `1px solid ${palette.main}`,
|
|
206
222
|
'&:hover': {
|
|
207
223
|
backgroundColor: alpha(palette.main, 0.1),
|
|
208
224
|
borderColor: palette.dark,
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
pinnedSx,
|
|
14
14
|
} from './CategorySelect.styles';
|
|
15
15
|
import type { CategorySelectionChip } from './CategorySelect.types';
|
|
16
|
+
import { fieldBorder, fieldHeight } from '../../../tokens/field-height';
|
|
16
17
|
import { fieldRadiusPx } from '../../../tokens/field-radius';
|
|
17
18
|
|
|
18
19
|
interface PanelHeadProps {
|
|
@@ -33,11 +34,10 @@ const searchFieldSx = {
|
|
|
33
34
|
alignItems: 'center',
|
|
34
35
|
'& input': {
|
|
35
36
|
width: '100%',
|
|
36
|
-
height:
|
|
37
|
+
height: fieldHeight,
|
|
37
38
|
padding: '0 30px 0 32px',
|
|
38
39
|
fontSize: 13,
|
|
39
|
-
border:
|
|
40
|
-
borderColor: 'divider',
|
|
40
|
+
border: fieldBorder,
|
|
41
41
|
borderRadius: fieldRadiusPx,
|
|
42
42
|
background: 'background.paper',
|
|
43
43
|
color: 'text.primary',
|
|
@@ -2,6 +2,7 @@ import { alpha, type CSSObject, type Theme } from '@mui/material/styles/index.js
|
|
|
2
2
|
|
|
3
3
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
4
4
|
import { fieldRadiusPx } from '../../../tokens/field-radius';
|
|
5
|
+
import { fieldHeight } from '../../../tokens/field-height';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* The prototype's METRICS, verbatim.
|
|
@@ -11,9 +12,9 @@ import { fieldRadiusPx } from '../../../tokens/field-radius';
|
|
|
11
12
|
* a half-pixel type scale (13.5px rows, 1.5px checkbox borders) that an 8px
|
|
12
13
|
* spacing grid cannot express without rounding the look away.
|
|
13
14
|
*
|
|
14
|
-
* The trigger's CORNER
|
|
15
|
-
* theme's
|
|
16
|
-
* and filter pills it
|
|
15
|
+
* The trigger's CORNER and HEIGHT are the other exception: it is a field, so it
|
|
16
|
+
* takes the theme's field radius and field height (`tokens/field-radius`,
|
|
17
|
+
* `tokens/field-height`) and lines up with the inputs and filter pills beside it.
|
|
17
18
|
*
|
|
18
19
|
* COLOURS are the deliberate exception — they come from the theme, because a
|
|
19
20
|
* tenant can white-label the palette (a hard-coded indigo would survive the
|
|
@@ -22,7 +23,6 @@ import { fieldRadiusPx } from '../../../tokens/field-radius';
|
|
|
22
23
|
* prototype's own values.
|
|
23
24
|
*/
|
|
24
25
|
export const METRICS = {
|
|
25
|
-
triggerHeight: 38,
|
|
26
26
|
panelWidth: 340,
|
|
27
27
|
panelRadius: 14,
|
|
28
28
|
listMaxHeight: 290,
|
|
@@ -56,7 +56,7 @@ export const triggerSx = (theme: Theme, selected: boolean, open: boolean): CSSOb
|
|
|
56
56
|
display: 'flex',
|
|
57
57
|
alignItems: 'center',
|
|
58
58
|
gap: '8px',
|
|
59
|
-
height:
|
|
59
|
+
height: fieldHeight(theme),
|
|
60
60
|
padding: '0 10px 0 12px',
|
|
61
61
|
borderRadius: fieldRadiusPx(theme),
|
|
62
62
|
border: `1px solid ${open || selected ? brand.edge : fieldEdge(theme)}`,
|
|
@@ -14,6 +14,7 @@ import type { SizeValue } from '../../../tokens/scales';
|
|
|
14
14
|
|
|
15
15
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
16
16
|
import { fieldRadiusPx } from '../../../tokens/field-radius';
|
|
17
|
+
import { fieldControlStyles } from '../../../tokens/field-height';
|
|
17
18
|
|
|
18
19
|
/** Internal option shape: a real option, or the synthetic "create new" row. */
|
|
19
20
|
interface InternalOption extends CreatableSelectOption {
|
|
@@ -111,7 +112,7 @@ function renderField(
|
|
|
111
112
|
placeholder={field.placeholder}
|
|
112
113
|
error={Boolean(field.error)}
|
|
113
114
|
size={MUI_SIZE[field.size]}
|
|
114
|
-
sx={fieldSx}
|
|
115
|
+
sx={[fieldSx, (theme) => fieldControlStyles(theme, field.size)]}
|
|
115
116
|
inputProps={{ ...params.inputProps, 'data-testid': `${field.dataTestId}-input` }}
|
|
116
117
|
slotProps={{
|
|
117
118
|
input: {
|
|
@@ -46,7 +46,7 @@ const BORDER_SIDES: Record<InputVariant, 'all' | 'bottom'> = {
|
|
|
46
46
|
* Whether the web draws this border on an absolutely positioned element.
|
|
47
47
|
*
|
|
48
48
|
* MUI's `notchedOutline` fieldset and the `::before` / `::after` underlines
|
|
49
|
-
* cost no height — the field is
|
|
49
|
+
* cost no height — the field is the field height tall WITH its border. `glass` and
|
|
50
50
|
* `gradient` instead put a real `border` on the input root, which does add to
|
|
51
51
|
* the box, so the web field is 2px and 4px taller respectively. React Native
|
|
52
52
|
* has only the second kind, so the first three compensate below.
|
|
@@ -158,7 +158,7 @@ export interface FieldLook {
|
|
|
158
158
|
* adornments and one without.
|
|
159
159
|
*
|
|
160
160
|
* Where the web's border costs no height, the inset gives the border back its
|
|
161
|
-
* width, so the box is the
|
|
161
|
+
* width, so the box is the theme's field height (40px by default) and the
|
|
162
162
|
* value does not shift by a pixel when the focused border thickens.
|
|
163
163
|
*/
|
|
164
164
|
export function fieldLook(
|
|
@@ -167,7 +167,7 @@ export function fieldLook(
|
|
|
167
167
|
size: SizeValue,
|
|
168
168
|
state: FieldState,
|
|
169
169
|
): FieldLook {
|
|
170
|
-
const padding = inputPadding(variant, size);
|
|
170
|
+
const padding = inputPadding(variant, size, theme.fieldHeight);
|
|
171
171
|
const width = borderWidthFor(variant, state.focused);
|
|
172
172
|
const inset = BORDER_IS_FREE[variant] ? width : 0;
|
|
173
173
|
const sides = BORDER_SIDES[variant];
|
|
@@ -218,14 +218,14 @@ export function labelStyle(theme: UiTheme, variant: InputVariant, size: SizeValu
|
|
|
218
218
|
marginBottom: INPUT_LABEL.gap,
|
|
219
219
|
// Aligned with the value it names: the web's floating label and the input
|
|
220
220
|
// share one left inset (14px outlined, 12px filled, 0 standard).
|
|
221
|
-
marginLeft: inputPadding(variant, size).left,
|
|
221
|
+
marginLeft: inputPadding(variant, size, theme.fieldHeight).left,
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
/**
|
|
226
226
|
* `FormHelperText`: caption type, 3px below the field, inset 14px when
|
|
227
227
|
* contained — and 4px below at MUI's `small` density, which `INPUT_MUI_SIZE`
|
|
228
|
-
* selects for `xs` and `
|
|
228
|
+
* selects for `xs`, `sm` and `md` (`FormHelperText.js`: `marginTop: 3`, then a
|
|
229
229
|
* `size: 'small'` variant raising it to 4).
|
|
230
230
|
*/
|
|
231
231
|
export function helperStyle(
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { InputVariant } from './Input.base';
|
|
2
2
|
import { decomposeColor, recomposeColor } from '../../../tokens/color';
|
|
3
|
+
import { DEFAULT_FIELD_HEIGHT, fieldHeightPx } from '../../../tokens/field-height.core';
|
|
3
4
|
import type { UiTheme } from '../../../tokens/theme';
|
|
4
5
|
import { SIZE_VALUES, type SizeValue } from '../../../tokens/vocabulary';
|
|
5
6
|
|
|
@@ -47,23 +48,25 @@ export const muiVariantFor = (variant: InputVariant): MuiInputVariant => {
|
|
|
47
48
|
}
|
|
48
49
|
};
|
|
49
50
|
|
|
50
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* Which of MUI's two densities each step asks for — its label offsets and
|
|
53
|
+
* helper-text lift. The HEIGHT is not MUI's: every outlined step is drawn at
|
|
54
|
+
* the theme's field height (`tokens/field-height`), which puts `md` at MUI's
|
|
55
|
+
* small 40px, so `md` takes the small density with it.
|
|
56
|
+
*/
|
|
51
57
|
export const INPUT_MUI_SIZE: Record<SizeValue, MuiInputSize> = {
|
|
52
58
|
xs: 'small',
|
|
53
59
|
sm: 'small',
|
|
54
|
-
md: '
|
|
60
|
+
md: 'small',
|
|
55
61
|
lg: 'medium',
|
|
56
62
|
xl: 'medium',
|
|
57
63
|
};
|
|
58
64
|
|
|
59
65
|
/**
|
|
60
|
-
* The
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
* (`lg`'s 16px is a hair under `md`'s 16.5px: the override is a round number
|
|
65
|
-
* where MUI's is derived from a 56px box. Kept as written — this table is what
|
|
66
|
-
* the web draws, not what it ought to draw.)
|
|
66
|
+
* The horizontal inset of the steps that have their own, and — for `filled` and
|
|
67
|
+
* `underline`, which are not drawn at the field height — their vertical one.
|
|
68
|
+
* An outlined-family field takes its vertical inset from the field height
|
|
69
|
+
* instead ({@link inputPadding}).
|
|
67
70
|
*/
|
|
68
71
|
export const INPUT_SIZE_OVERRIDES: Partial<Record<SizeValue, { vertical: number; horizontal: number }>> = {
|
|
69
72
|
xs: { vertical: 6, horizontal: 10 },
|
|
@@ -91,9 +94,34 @@ export const MUI_INPUT_PADDING: Record<MuiInputVariant, Record<MuiInputSize, Inp
|
|
|
91
94
|
},
|
|
92
95
|
};
|
|
93
96
|
|
|
94
|
-
/** The
|
|
95
|
-
|
|
97
|
+
/** The variants drawn at the theme's field height: the outline and the two that restyle it. */
|
|
98
|
+
const AT_FIELD_HEIGHT: Record<InputVariant, boolean> = {
|
|
99
|
+
outlined: true,
|
|
100
|
+
glass: true,
|
|
101
|
+
gradient: true,
|
|
102
|
+
filled: false,
|
|
103
|
+
underline: false,
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* The inset the value is drawn at.
|
|
108
|
+
*
|
|
109
|
+
* An outlined-family field is the theme's field height tall, so its vertical
|
|
110
|
+
* inset is whatever centres the 23px line in that height; its horizontal inset
|
|
111
|
+
* is the size override's, or MUI's 14px. `filled` and `underline` keep their
|
|
112
|
+
* own heights — their label sits inside the box — so they keep MUI's insets.
|
|
113
|
+
*/
|
|
114
|
+
export function inputPadding(
|
|
115
|
+
variant: InputVariant,
|
|
116
|
+
size: SizeValue,
|
|
117
|
+
fieldHeight: number = DEFAULT_FIELD_HEIGHT,
|
|
118
|
+
): InputInset {
|
|
96
119
|
const override = INPUT_SIZE_OVERRIDES[size];
|
|
120
|
+
if (AT_FIELD_HEIGHT[variant]) {
|
|
121
|
+
const vertical = (fieldHeightPx(fieldHeight, size) - INPUT_LINE_HEIGHT) / 2;
|
|
122
|
+
const horizontal = override?.horizontal ?? MUI_INPUT_PADDING.outlined.small.left;
|
|
123
|
+
return { top: vertical, right: horizontal, bottom: vertical, left: horizontal };
|
|
124
|
+
}
|
|
97
125
|
if (override) {
|
|
98
126
|
return {
|
|
99
127
|
top: override.vertical,
|
|
@@ -171,11 +199,10 @@ export const INPUT_GLOW = {
|
|
|
171
199
|
} as const;
|
|
172
200
|
|
|
173
201
|
/**
|
|
174
|
-
* `pulse`: a
|
|
175
|
-
* corner
|
|
202
|
+
* `pulse`: a bar behind the field, fading outward every two seconds. Its height
|
|
203
|
+
* and corner are the field's own — the theme's field height and radius.
|
|
176
204
|
*/
|
|
177
205
|
export const INPUT_PULSE = {
|
|
178
|
-
height: 56,
|
|
179
206
|
opacity: 0.3,
|
|
180
207
|
ms: 2000,
|
|
181
208
|
spread: 10,
|
|
@@ -208,12 +235,13 @@ export const INPUT_GRADIENT = {
|
|
|
208
235
|
export const FILLED_WASH = { rest: 0.04, hover: 0.08, focused: 0.12 } as const;
|
|
209
236
|
|
|
210
237
|
/**
|
|
211
|
-
* The
|
|
212
|
-
* the
|
|
238
|
+
* The props the web spreads onto the `TextField` for a size: MUI's density, and
|
|
239
|
+
* the horizontal inset of the steps that have their own. The HEIGHT is not
|
|
240
|
+
* here — `Input.tsx` draws every outlined step at the theme's field height.
|
|
213
241
|
*/
|
|
214
242
|
export interface InputSizeProps {
|
|
215
243
|
size: MuiInputSize;
|
|
216
|
-
sx?: { '& .MuiInputBase-input': {
|
|
244
|
+
sx?: { '& .MuiInputBase-input': { paddingLeft: string; paddingRight: string } };
|
|
217
245
|
}
|
|
218
246
|
|
|
219
247
|
const sizeProps = (size: SizeValue): InputSizeProps => {
|
|
@@ -221,7 +249,14 @@ const sizeProps = (size: SizeValue): InputSizeProps => {
|
|
|
221
249
|
return {
|
|
222
250
|
size: INPUT_MUI_SIZE[size],
|
|
223
251
|
...(override
|
|
224
|
-
? {
|
|
252
|
+
? {
|
|
253
|
+
sx: {
|
|
254
|
+
'& .MuiInputBase-input': {
|
|
255
|
+
paddingLeft: `${override.horizontal}px`,
|
|
256
|
+
paddingRight: `${override.horizontal}px`,
|
|
257
|
+
},
|
|
258
|
+
},
|
|
259
|
+
}
|
|
225
260
|
: {}),
|
|
226
261
|
};
|
|
227
262
|
};
|
|
@@ -21,6 +21,7 @@ import { ADORNMENT_GAP, INPUT_GLOW, INPUT_LOADING } from './Input.metrics';
|
|
|
21
21
|
import type { InputProps } from './Input.types.native';
|
|
22
22
|
import { webAria, webClick, webDisabled } from '../../../platform/aria';
|
|
23
23
|
import { childTestId, resolveTestId, withoutTestIdProps } from '../../../platform/test-id';
|
|
24
|
+
import { fieldHeightPx } from '../../../tokens/field-height.core';
|
|
24
25
|
import { useUiTheme } from '../../../provider/use-ui-theme.native';
|
|
25
26
|
|
|
26
27
|
/**
|
|
@@ -181,6 +182,7 @@ export const Input = React.forwardRef<RNTextInput, InputProps>((rawProps, ref) =
|
|
|
181
182
|
<FieldPulse
|
|
182
183
|
color={theme.palette.primary.main}
|
|
183
184
|
radius={theme.radius.field}
|
|
185
|
+
height={fieldHeightPx(theme.fieldHeight, size)}
|
|
184
186
|
testID={idFor('pulse')}
|
|
185
187
|
/>
|
|
186
188
|
) : null}
|
|
@@ -13,7 +13,9 @@ import {
|
|
|
13
13
|
import type { InputProps } from './Input.types';
|
|
14
14
|
|
|
15
15
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
16
|
+
import { fieldHeight } from '../../../tokens/field-height';
|
|
16
17
|
import { fieldRadius } from '../../../tokens/field-radius';
|
|
18
|
+
import type { SizeValue } from '../../../tokens/vocabulary';
|
|
17
19
|
|
|
18
20
|
type InputVariant = NonNullable<InputProps['variant']>;
|
|
19
21
|
|
|
@@ -48,14 +50,14 @@ export const glowStyles = (theme: Theme): CSSObject => ({
|
|
|
48
50
|
|
|
49
51
|
// A bar behind the field rather than a border on it, so it can pulse outward
|
|
50
52
|
// without the input resizing.
|
|
51
|
-
export const pulseStyles = (theme: Theme): CSSObject => ({
|
|
53
|
+
export const pulseStyles = (theme: Theme, size: SizeValue = 'md'): CSSObject => ({
|
|
52
54
|
'&::after': {
|
|
53
55
|
content: '""',
|
|
54
56
|
position: 'absolute',
|
|
55
57
|
top: '50%',
|
|
56
58
|
left: '0',
|
|
57
59
|
right: '0',
|
|
58
|
-
height:
|
|
60
|
+
height: fieldHeight(theme, size),
|
|
59
61
|
transform: 'translateY(-50%)',
|
|
60
62
|
borderRadius: fieldRadius(theme),
|
|
61
63
|
backgroundColor: theme.palette.primary.main,
|
|
@@ -19,6 +19,8 @@ import {
|
|
|
19
19
|
} from './Input.styles';
|
|
20
20
|
import type { InputProps } from './Input.types';
|
|
21
21
|
import { splitTestId } from '../../../platform/test-id';
|
|
22
|
+
import { fieldControlStyles } from '../../../tokens/field-height';
|
|
23
|
+
import type { SizeValue } from '../../../tokens/vocabulary';
|
|
22
24
|
|
|
23
25
|
/**
|
|
24
26
|
* `TextFieldSlim`, not `TextField` — see `text-field-slim.tsx`. MUI's own
|
|
@@ -29,19 +31,22 @@ import { splitTestId } from '../../../platform/test-id';
|
|
|
29
31
|
*/
|
|
30
32
|
const StyledTextField = styled(TextFieldSlim, {
|
|
31
33
|
shouldForwardProp: (prop) =>
|
|
32
|
-
!['customVariant', 'floating', 'glow', 'pulse', 'loading'].includes(prop as string),
|
|
34
|
+
!['customVariant', 'fieldSize', 'floating', 'glow', 'pulse', 'loading'].includes(prop as string),
|
|
33
35
|
})<{
|
|
34
36
|
customVariant?: InputProps['variant'];
|
|
37
|
+
fieldSize: SizeValue;
|
|
35
38
|
floating?: boolean;
|
|
36
39
|
glow?: boolean;
|
|
37
40
|
pulse?: boolean;
|
|
38
41
|
loading?: boolean;
|
|
39
|
-
}>(({ theme, customVariant, floating, glow, pulse, loading }) => ({
|
|
42
|
+
}>(({ theme, customVariant, fieldSize, floating, glow, pulse, loading }) => ({
|
|
40
43
|
position: 'relative',
|
|
44
|
+
// The theme's field height for this size (outlined family, one line).
|
|
45
|
+
...fieldControlStyles(theme, fieldSize),
|
|
41
46
|
opacity: loading ? INPUT_LOADING.opacity : 1,
|
|
42
47
|
|
|
43
48
|
...(glow ? glowStyles(theme) : {}),
|
|
44
|
-
...(pulse ? pulseStyles(theme) : {}),
|
|
49
|
+
...(pulse ? pulseStyles(theme, fieldSize) : {}),
|
|
45
50
|
...(floating ? floatingLabelStyles(theme) : {}),
|
|
46
51
|
|
|
47
52
|
'& .MuiInputBase-root': {
|
|
@@ -111,6 +116,7 @@ export const Input = React.forwardRef<HTMLInputElement, InputProps>(
|
|
|
111
116
|
ref={ref}
|
|
112
117
|
variant={muiVariantFor(variant)}
|
|
113
118
|
customVariant={variant}
|
|
119
|
+
fieldSize={size}
|
|
114
120
|
floating={floating}
|
|
115
121
|
glow={glow}
|
|
116
122
|
pulse={pulse}
|
|
@@ -3,6 +3,7 @@ import type { CSSObject, Theme } from '@mui/material/styles/index.js';
|
|
|
3
3
|
|
|
4
4
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
5
5
|
import { fieldRadius } from '../../../tokens/field-radius';
|
|
6
|
+
import { asFieldSize, fieldHeight } from '../../../tokens/field-height';
|
|
6
7
|
|
|
7
8
|
interface ColorPalette {
|
|
8
9
|
main: string;
|
|
@@ -51,13 +52,13 @@ const getColorFromTheme = (theme: Theme, color: string): ColorPalette => {
|
|
|
51
52
|
|
|
52
53
|
type SizeKey = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
53
54
|
|
|
54
|
-
/** Each slot
|
|
55
|
-
const SIZES: Record<SizeKey, {
|
|
56
|
-
xs: {
|
|
57
|
-
sm: {
|
|
58
|
-
md: {
|
|
59
|
-
lg: {
|
|
60
|
-
xl: {
|
|
55
|
+
/** Each slot's type. Its side is the theme's field height for the size (a square). */
|
|
56
|
+
const SIZES: Record<SizeKey, { fontSize: string }> = {
|
|
57
|
+
xs: { fontSize: '0.75rem' },
|
|
58
|
+
sm: { fontSize: '0.875rem' },
|
|
59
|
+
md: { fontSize: '1rem' },
|
|
60
|
+
lg: { fontSize: '1.125rem' },
|
|
61
|
+
xl: { fontSize: '1.25rem' },
|
|
61
62
|
};
|
|
62
63
|
|
|
63
64
|
export interface OtpSlotFlags {
|
|
@@ -70,7 +71,9 @@ export interface OtpSlotFlags {
|
|
|
70
71
|
export const otpSlotSx = (theme: Theme, flags: OtpSlotFlags): CSSObject => {
|
|
71
72
|
const { customColor = 'primary', customSize = 'md', glass, gradient } = flags;
|
|
72
73
|
const palette = getColorFromTheme(theme, customColor);
|
|
73
|
-
const {
|
|
74
|
+
const { fontSize } = SIZES[customSize as SizeKey] ?? SIZES.md;
|
|
75
|
+
// A slot is a field: a square of the theme's field height for its size.
|
|
76
|
+
const side = fieldHeight(theme, asFieldSize(customSize));
|
|
74
77
|
|
|
75
78
|
return {
|
|
76
79
|
width: side,
|
|
@@ -94,6 +97,7 @@ export const otpSlotSx = (theme: Theme, flags: OtpSlotFlags): CSSObject => {
|
|
|
94
97
|
},
|
|
95
98
|
}),
|
|
96
99
|
'& input': { textAlign: 'center', padding: 0, fontWeight: 'inherit' },
|
|
100
|
+
...(!glass && { '& fieldset': { borderColor: fieldEdge(theme) } }),
|
|
97
101
|
'&:hover fieldset': { borderColor: palette.main },
|
|
98
102
|
'&.Mui-focused fieldset': { borderColor: palette.main, borderWidth: '2px' },
|
|
99
103
|
},
|
|
@@ -18,15 +18,17 @@ import type { CountryData,PhoneInputProps } from './PhoneInput.types';
|
|
|
18
18
|
import type { PhoneInputCopy } from '../../../copy';
|
|
19
19
|
|
|
20
20
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
21
|
-
import { fieldRadius
|
|
21
|
+
import { fieldRadius } from '../../../tokens/field-radius';
|
|
22
|
+
import { fieldControlStyles, fieldTextFieldStyles } from '../../../tokens/field-height';
|
|
22
23
|
|
|
23
24
|
// Country data with expanded support
|
|
24
25
|
|
|
25
26
|
// Styled components
|
|
26
27
|
/** The plain variant: MUI's own field, on the theme's field radius. */
|
|
27
|
-
const FieldTextField = styled(TextField)(({ theme }) =>
|
|
28
|
+
const FieldTextField = styled(TextField)(({ theme }) => fieldTextFieldStyles(theme));
|
|
28
29
|
|
|
29
30
|
const GlassTextField = styled(TextField)(({ theme }) => ({
|
|
31
|
+
...fieldControlStyles(theme),
|
|
30
32
|
'& .MuiOutlinedInput-root': {
|
|
31
33
|
borderRadius: fieldRadius(theme),
|
|
32
34
|
background: `linear-gradient(135deg, ${alpha(theme.palette.background.paper, 0.8)} 0%, ${alpha(theme.palette.background.paper, 0.6)} 100%)`,
|