@12-apps/ui 6.30.0 → 6.31.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/Avatar/Avatar.js +6 -5
- package/dist/_internal/components/data-display/Avatar/Avatar.view.js +4 -3
- package/dist/_internal/components/data-display/Badge/Badge.animations.js +3 -2
- package/dist/_internal/components/data-display/Badge/Badge.js +7 -6
- 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 +8 -6
- package/dist/_internal/components/data-display/CardKit/card-actions-context.js +6 -5
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +13 -11
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +9 -7
- package/dist/_internal/components/data-display/Carousel/Carousel.chrome.js +7 -5
- package/dist/_internal/components/data-display/Carousel/Carousel.js +10 -8
- package/dist/_internal/components/data-display/Carousel/Carousel.parts.js +6 -4
- package/dist/_internal/components/data-display/Carousel/Carousel.styles.js +6 -4
- package/dist/_internal/components/data-display/Chart/Chart.js +9 -7
- package/dist/_internal/components/data-display/Chart/SpecChart.js +12 -10
- package/dist/_internal/components/data-display/Chart/chart-context.js +7 -5
- package/dist/_internal/components/data-display/Chart/chart-internals.js +6 -4
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +8 -6
- package/dist/_internal/components/data-display/DataViews/DataViewsBoard.js +6 -5
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +64 -62
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +84 -82
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +10 -8
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +12 -10
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +19 -17
- package/dist/_internal/components/data-display/DataViews/base-card.js +10 -9
- 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 +17 -16
- package/dist/_internal/components/data-display/DataViews/card-surface.js +3 -2
- package/dist/_internal/components/data-display/DataViews/data-views-bar-controls.js +3 -1
- package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +19 -17
- 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 +9 -7
- package/dist/_internal/components/data-display/DataViews/data-views-day-input.js +3 -1
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +15 -13
- 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 +10 -8
- package/dist/_internal/components/data-display/DataViews/data-views-export.js +10 -8
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +24 -22
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +16 -14
- package/dist/_internal/components/data-display/DataViews/data-views-grid-helpers.js +8 -6
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +61 -59
- 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 +35 -33
- 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 +18 -16
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +22 -20
- package/dist/_internal/components/data-display/DataViews/data-views-number-input.js +3 -1
- package/dist/_internal/components/data-display/DataViews/data-views-pagination.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +6 -4
- 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 +3 -1
- package/dist/_internal/components/data-display/DataViews/data-views-select-all-strip.js +10 -8
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +26 -24
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +32 -30
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +25 -23
- package/dist/_internal/components/data-display/DataViews/data-views-view-nav.js +10 -8
- 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 +11 -9
- package/dist/_internal/components/data-display/DataViews/use-saved-views-controller.js +2 -2
- package/dist/_internal/components/data-display/DescriptionItem/DescriptionItem.js +6 -5
- package/dist/_internal/components/data-display/FleetMap/FleetBody.js +14 -12
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +13 -11
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +20 -18
- package/dist/_internal/components/data-display/HoverCard/HoverCard.js +2 -2
- package/dist/_internal/components/data-display/Lightbox/Lightbox.js +3 -3
- package/dist/_internal/components/data-display/MapPreview/MapDecorations.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapLayers.js +5 -3
- package/dist/_internal/components/data-display/MapPreview/MapPreview.hooks.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +12 -10
- package/dist/_internal/components/data-display/MapPreview/MapSearchBar.js +3 -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/Sheet/Sheet.body.js +5 -3
- package/dist/_internal/components/data-display/Sheet/Sheet.hooks.js +2 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.js +9 -7
- package/dist/_internal/components/data-display/Sheet/Sheet.styles.js +6 -4
- package/dist/_internal/components/data-display/Table/Table.js +3 -3
- package/dist/_internal/components/data-display/index.js +65 -63
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmButton.js +8 -6
- package/dist/_internal/components/feedback/Modal/Modal.js +2 -2
- package/dist/_internal/components/feedback/NotificationStatusNotice/NotificationStatusNotice.js +10 -8
- package/dist/_internal/components/feedback/index.js +16 -14
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.js +9 -7
- package/dist/_internal/components/form/AddressAutocomplete/AddressAutocompleteField.js +6 -4
- package/dist/_internal/components/form/AddressAutocomplete/AddressFallbackField.js +4 -2
- package/dist/_internal/components/form/AddressAutocomplete/AddressInputField.js +4 -2
- package/dist/_internal/components/form/AddressAutocomplete/AddressTextField.js +3 -1
- package/dist/_internal/components/form/Autocomplete/Autocomplete.js +4 -2
- package/dist/_internal/components/form/Autocomplete/Autocomplete.parts.js +3 -1
- package/dist/_internal/components/form/Button/Button.js +7 -5
- package/dist/_internal/components/form/Button/Button.metrics.js +1 -3
- package/dist/_internal/components/form/Button/Button.styles.js +5 -4
- 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 +9 -7
- package/dist/_internal/components/form/CategorySelect/CategoryPanelFoot.js +4 -2
- package/dist/_internal/components/form/CategorySelect/CategoryPanelHead.js +4 -2
- package/dist/_internal/components/form/CategorySelect/CategoryPanelList.js +6 -4
- package/dist/_internal/components/form/CategorySelect/CategoryRows.js +5 -3
- package/dist/_internal/components/form/CategorySelect/CategorySelect.js +11 -9
- package/dist/_internal/components/form/CategorySelect/CategorySelect.styles.js +3 -1
- package/dist/_internal/components/form/CategorySelect/CategoryTrigger.js +4 -2
- package/dist/_internal/components/form/CepField/CepField.js +6 -4
- package/dist/_internal/components/form/Checkbox/Checkbox.js +4 -3
- package/dist/_internal/components/form/CodeEditor/CodeEditor.js +4 -2
- package/dist/_internal/components/form/Command/Command.js +7 -5
- package/dist/_internal/components/form/Command/Command.styles.js +6 -4
- package/dist/_internal/components/form/CreatableSelect/CreatableSelect.js +3 -1
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.hooks.js +5 -3
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +12 -10
- package/dist/_internal/components/form/DateRangePicker/DateRangePicker.range.js +4 -2
- package/dist/_internal/components/form/DateRangePicker/DateRangePickerFields.js +5 -3
- package/dist/_internal/components/form/Input/Input.js +5 -3
- package/dist/_internal/components/form/Input/Input.metrics.js +1 -1
- package/dist/_internal/components/form/Input/Input.styles.js +6 -2
- package/dist/_internal/components/form/InputOTP/InputOTP.js +4 -2
- package/dist/_internal/components/form/InputOTP/InputOTP.styles.js +3 -1
- package/dist/_internal/components/form/Label/Label.js +7 -5
- package/dist/_internal/components/form/Label/Label.styles.js +6 -4
- package/dist/_internal/components/form/Menubar/Menubar.item.js +7 -5
- package/dist/_internal/components/form/Menubar/Menubar.js +9 -7
- package/dist/_internal/components/form/Menubar/Menubar.styles.js +6 -4
- package/dist/_internal/components/form/Menubar/Menubar.toolbar.js +8 -6
- package/dist/_internal/components/form/PhoneInput/PhoneInput.js +3 -1
- package/dist/_internal/components/form/RadioGroup/RadioGroup.js +5 -3
- package/dist/_internal/components/form/RadioGroup/RadioGroup.styles.js +3 -1
- package/dist/_internal/components/form/RadioGroup/RadioGroup.variants.js +4 -2
- package/dist/_internal/components/form/RichTextEditor/RichTextEditor.js +4 -2
- package/dist/_internal/components/form/Select/Select.js +4 -2
- package/dist/_internal/components/form/Select/Select.metrics.js +1 -1
- package/dist/_internal/components/form/Switch/Switch.js +8 -7
- package/dist/_internal/components/form/Switch/Switch.parts.js +6 -5
- package/dist/_internal/components/form/Switch/Switch.styles.js +5 -4
- package/dist/_internal/components/form/Textarea/Textarea.js +3 -1
- package/dist/_internal/components/form/Textarea/TextareaRichEditor.js +6 -2
- package/dist/_internal/components/form/Textarea/TextareaRichEditor.js.map +1 -1
- package/dist/_internal/components/form/Toggle/Toggle.js +4 -2
- package/dist/_internal/components/form/Toggle/Toggle.styles.js +3 -1
- package/dist/_internal/components/form/ToggleGroup/ToggleGroup.js +4 -1
- package/dist/_internal/components/form/UploadButton/UploadButton.js +2 -2
- package/dist/_internal/components/form/index.js +62 -60
- package/dist/_internal/components/form/total-form/Fields/CategoryField.js +12 -10
- package/dist/_internal/components/form/total-form/Fields/CepField.js +7 -5
- package/dist/_internal/components/form/total-form/Fields/SelectField.js +5 -3
- package/dist/_internal/components/form/total-form/Fields/TextField.js +6 -4
- package/dist/_internal/components/form/total-form/Fields/ToggleField.js +5 -2
- package/dist/_internal/components/form/total-form/Fields/index.js +24 -21
- package/dist/_internal/components/form/total-form/SubmitButton.js +8 -6
- package/dist/_internal/components/index.js +160 -158
- package/dist/_internal/components/layout/Box/Box.js +8 -6
- package/dist/_internal/components/layout/Card/Card.js +2 -2
- package/dist/_internal/components/layout/ContentToolbar/ColumnsMenu.js +3 -1
- package/dist/_internal/components/layout/ContentToolbar/ContentToolbar.js +3 -1
- package/dist/_internal/components/layout/ContentToolbar/FilterTrigger.js +3 -1
- package/dist/_internal/components/layout/ContentToolbar/MultiSelectDropdown.js +4 -2
- package/dist/_internal/components/layout/ContentToolbar/MultiSelectTriggers.js +3 -1
- package/dist/_internal/components/layout/ContentToolbar/SortByDropdown.js +3 -1
- package/dist/_internal/components/layout/ContentToolbar/ViewSelector.js +3 -1
- package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.js +3 -3
- package/dist/_internal/components/layout/Stack/Stack.js +9 -7
- package/dist/_internal/components/layout/TableFilter/TableFilter.js +3 -1
- package/dist/_internal/components/layout/index.js +15 -13
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +13 -11
- package/dist/_internal/components/navigation/AppHeader/AppHeader.identity.js +6 -4
- package/dist/_internal/components/navigation/CommandPalette/CommandPalette.js +3 -3
- package/dist/_internal/components/navigation/Pagination/Pagination.js +2 -2
- package/dist/_internal/components/navigation/Tabs/Tabs.js +2 -2
- package/dist/_internal/components/navigation/index.js +23 -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/InstallPrompt/InstallPrompt.js +3 -3
- package/dist/_internal/components/utility/InstallPrompt/usePwaInstall.js +2 -2
- package/dist/_internal/components/utility/index.js +4 -4
- package/dist/_internal/icons/Icon.js +9 -7
- package/dist/_internal/provider/UiProvider.js +7 -5
- package/dist/_internal/provider/mui-bridge.js +6 -4
- package/dist/_internal/provider/use-ui-theme.js +7 -5
- package/dist/_internal/social-login-button/social-login-button.js +15 -13
- package/dist/_internal/tokens/field-radius.core.js +8 -0
- package/dist/_internal/tokens/field-radius.core.js.map +1 -0
- package/dist/_internal/tokens/field-radius.js +18 -0
- package/dist/_internal/tokens/field-radius.js.map +1 -0
- package/dist/_internal/tokens/theme.js +3 -2
- package/dist/_internal/user-avatar/user-avatar.js +15 -13
- package/dist/charts.js +18 -16
- package/dist/{chunk-RXVPUW7V.js → chunk-26ORCF6J.js} +2 -2
- package/dist/chunk-26X4CZVR.js +7 -0
- package/dist/chunk-26X4CZVR.js.map +1 -0
- package/dist/{chunk-XZTOIEKI.js → chunk-272OV2KZ.js} +5 -2
- package/dist/chunk-272OV2KZ.js.map +1 -0
- package/dist/{chunk-HGJHZ5PE.js → chunk-2DFH74T4.js} +7 -7
- package/dist/{chunk-22ZJH7RY.js → chunk-2N2KNXTF.js} +2 -2
- package/dist/{chunk-W3FAKT3D.js → chunk-2SWQ6HIK.js} +4 -4
- package/dist/{chunk-IVVOIDE5.js → chunk-2YOQLBEX.js} +3 -3
- package/dist/{chunk-DEE6IPGI.js → chunk-32MTYYGC.js} +10 -10
- package/dist/{chunk-GVDJQMFI.js → chunk-35GWNOLB.js} +2 -2
- package/dist/{chunk-MI2MVH3I.js → chunk-3BAFJMBH.js} +8 -5
- package/dist/chunk-3BAFJMBH.js.map +1 -0
- package/dist/{chunk-W4SDVTZC.js → chunk-3PT3SBJ7.js} +2 -2
- package/dist/{chunk-62NA6IF3.js → chunk-3ZGQSWHJ.js} +4 -4
- package/dist/{chunk-PFLKPNBU.js → chunk-4DUHJIR2.js} +2 -2
- package/dist/{chunk-CJUOBTLL.js → chunk-4EL5ZSZ3.js} +6 -3
- package/dist/chunk-4EL5ZSZ3.js.map +1 -0
- package/dist/{chunk-46UPILLK.js → chunk-4ETQRBZC.js} +4 -4
- package/dist/{chunk-65DLYC4S.js → chunk-4LDRYLE2.js} +2 -2
- package/dist/{chunk-ON2CMKTI.js → chunk-4WT4PV4M.js} +2 -2
- package/dist/{chunk-K4JRHQMI.js → chunk-55E7GLVT.js} +3 -3
- package/dist/{chunk-AIBNBWQU.js → chunk-5EQFAFR3.js} +2 -2
- package/dist/{chunk-S2GDYA6R.js → chunk-5GMHJ7Y5.js} +5 -5
- package/dist/{chunk-EVXFEXBS.js → chunk-5UGXAAZG.js} +2 -2
- package/dist/{chunk-DOMEYGTN.js → chunk-5YOFMMK3.js} +2 -2
- package/dist/{chunk-IABE56TG.js → chunk-5ZOJLYD2.js} +4 -4
- package/dist/{chunk-J3JGO6Y6.js → chunk-65IHPI4S.js} +5 -1
- package/dist/chunk-65IHPI4S.js.map +1 -0
- package/dist/{chunk-CASZGBCA.js → chunk-67L5CMXP.js} +6 -6
- package/dist/{chunk-L6TCIZFR.js → chunk-6BGS5FND.js} +3 -3
- package/dist/{chunk-JJ3VR7WX.js → chunk-6PSAPCTE.js} +2 -2
- package/dist/{chunk-Y5UCOBQN.js → chunk-6SK3MTYJ.js} +4 -4
- package/dist/{chunk-MGPA6KTM.js → chunk-6SNRPCSK.js} +2 -2
- package/dist/{chunk-WXD7MGBT.js → chunk-6SXZ7CF2.js} +6 -2
- package/dist/chunk-6SXZ7CF2.js.map +1 -0
- package/dist/{chunk-NFAKRI4S.js → chunk-6VZYQC7T.js} +3 -3
- package/dist/{chunk-B6IURHSZ.js → chunk-7DNQHMDO.js} +4 -4
- package/dist/{chunk-MZQTHSLN.js → chunk-7U36V4CU.js} +3 -3
- package/dist/{chunk-ZU3SWR4I.js → chunk-7YTLJUBX.js} +2 -2
- package/dist/{chunk-C5EFVSBN.js → chunk-A5FIYKAN.js} +2 -2
- package/dist/{chunk-QRX5BYUQ.js → chunk-AFZUPCBK.js} +5 -5
- package/dist/{chunk-PQECNGDE.js → chunk-AGYGNNOM.js} +2 -2
- package/dist/{chunk-AVI3XHRQ.js → chunk-AIRWM7KK.js} +4 -4
- package/dist/{chunk-T5WNNEP5.js → chunk-APMEXS3Y.js} +2 -2
- package/dist/{chunk-JGV66VUK.js → chunk-ATBT4RJZ.js} +2 -2
- package/dist/{chunk-JMVIIKII.js → chunk-BDVJ65GR.js} +6 -2
- package/dist/chunk-BDVJ65GR.js.map +1 -0
- package/dist/{chunk-DFLTUI7W.js → chunk-BHXFPZAA.js} +8 -5
- package/dist/chunk-BHXFPZAA.js.map +1 -0
- package/dist/{chunk-BLBOYCOV.js → chunk-BKP7YW3Y.js} +6 -6
- package/dist/{chunk-CZJLWCEG.js → chunk-BPYPUEM5.js} +2 -2
- package/dist/{chunk-SONWG2RT.js → chunk-BRAF4MFO.js} +9 -6
- package/dist/chunk-BRAF4MFO.js.map +1 -0
- package/dist/{chunk-I3FXTIKA.js → chunk-BRUJC7OG.js} +3 -3
- package/dist/{chunk-SLMA4UQS.js → chunk-BWSYSSF3.js} +3 -3
- package/dist/{chunk-DUWF5LUK.js → chunk-C2ZNAQMO.js} +4 -4
- package/dist/{chunk-TU6RNZUQ.js → chunk-C4NRFERD.js} +2 -2
- package/dist/{chunk-V7F53GEO.js → chunk-CATLG2RT.js} +7 -7
- package/dist/{chunk-LYMAMKJT.js → chunk-CEA4QA63.js} +2 -2
- package/dist/{chunk-XXDXW6TX.js → chunk-CIVLXOLG.js} +2 -2
- package/dist/{chunk-OH3YGJT5.js → chunk-CJMU3G2J.js} +6 -6
- package/dist/{chunk-6IKX5IIX.js → chunk-CKW267ZK.js} +6 -6
- package/dist/{chunk-ZYKDPX3W.js → chunk-CPA2YRVZ.js} +2 -2
- package/dist/{chunk-VEGT5PAD.js → chunk-D5YGDCMP.js} +21 -21
- package/dist/{chunk-3TFUAKWJ.js → chunk-D6P5PSHU.js} +2 -2
- package/dist/{chunk-3W7IEWEL.js → chunk-D7Q42CRZ.js} +8 -2
- package/dist/chunk-D7Q42CRZ.js.map +1 -0
- package/dist/{chunk-JQL4GG5L.js → chunk-DBXGRZBJ.js} +5 -5
- package/dist/{chunk-PMS3H3OO.js → chunk-DF2FFYZ7.js} +4 -4
- package/dist/{chunk-SUTNQG7E.js → chunk-DHQ6ASUD.js} +5 -5
- package/dist/{chunk-ZZOOSKSV.js → chunk-DV42HAVP.js} +12 -6
- package/dist/chunk-DV42HAVP.js.map +1 -0
- package/dist/{chunk-RBGOGTT2.js → chunk-DWZ7FLA7.js} +4 -4
- package/dist/{chunk-KT6HWAEN.js → chunk-DX36KZUV.js} +2 -2
- package/dist/{chunk-FVPN4YKW.js → chunk-EATFKTO3.js} +3 -3
- package/dist/{chunk-K5V3KCFI.js → chunk-EJJRJYB5.js} +7 -7
- package/dist/{chunk-TSEWUY4V.js → chunk-EN5Q5RPQ.js} +3 -3
- package/dist/{chunk-XFUNJYFT.js → chunk-EPNUVSNK.js} +7 -7
- package/dist/{chunk-ZS44PY7T.js → chunk-ETSKBOXN.js} +5 -3
- package/dist/chunk-ETSKBOXN.js.map +1 -0
- package/dist/{chunk-KUJLZFDW.js → chunk-ETU4LNU7.js} +3 -3
- package/dist/{chunk-UC6A6ASM.js → chunk-EYRSUVBC.js} +2 -2
- package/dist/{chunk-HLYPI5CO.js → chunk-F22WT7UX.js} +2 -2
- package/dist/{chunk-JPVDZXXX.js → chunk-F65LT7XV.js} +2 -2
- package/dist/{chunk-V5IOLAIS.js → chunk-F73D4EMA.js} +1 -1
- package/dist/chunk-F73D4EMA.js.map +1 -0
- package/dist/{chunk-6FUOUUYO.js → chunk-FC74EAW4.js} +4 -4
- package/dist/{chunk-ZWIDQEJ4.js → chunk-G3WUOPWE.js} +5 -5
- package/dist/{chunk-S6YY2WWK.js → chunk-G5G4Q7G6.js} +13 -3
- package/dist/chunk-G5G4Q7G6.js.map +1 -0
- package/dist/{chunk-SQV3HPTZ.js → chunk-G76H5PEM.js} +4 -4
- package/dist/chunk-GDN2LUTZ.js +39 -0
- package/dist/chunk-GDN2LUTZ.js.map +1 -0
- package/dist/{chunk-DFK6QCXX.js → chunk-GEZYZ446.js} +1 -2
- package/dist/{chunk-DFK6QCXX.js.map → chunk-GEZYZ446.js.map} +1 -1
- package/dist/{chunk-XYDW5RQB.js → chunk-GKGA2ZCW.js} +2 -2
- package/dist/{chunk-WREIYOXN.js → chunk-GLPHRHIT.js} +8 -8
- package/dist/{chunk-3PUOLOEP.js → chunk-GOKMLXZH.js} +2 -2
- package/dist/{chunk-B7NV6JFG.js → chunk-GUROYOKQ.js} +2 -2
- package/dist/{chunk-3XLDTVLC.js → chunk-H2RHA73H.js} +7 -7
- package/dist/{chunk-C5YBXQTK.js → chunk-H35CQ6DF.js} +3 -3
- package/dist/{chunk-ZUY65MFH.js → chunk-H7ZN2GW7.js} +6 -3
- package/dist/chunk-H7ZN2GW7.js.map +1 -0
- package/dist/{chunk-5WNQJ5KS.js → chunk-HEWJJ4VE.js} +6 -3
- package/dist/chunk-HEWJJ4VE.js.map +1 -0
- package/dist/{chunk-EXJBPKGW.js → chunk-HFBME3C5.js} +6 -6
- package/dist/{chunk-35UG2QDB.js → chunk-HSVNFMXY.js} +2 -2
- package/dist/{chunk-WQFIV5WD.js → chunk-HZAPN7XD.js} +6 -2
- package/dist/chunk-HZAPN7XD.js.map +1 -0
- package/dist/{chunk-NWQWUYOV.js → chunk-I2IZ53QS.js} +2 -2
- package/dist/{chunk-HR7YTBR7.js → chunk-IASDP44E.js} +4 -4
- package/dist/{chunk-FLIMEQUA.js → chunk-IAVAZ36T.js} +6 -6
- package/dist/{chunk-VJFH2AXT.js → chunk-INH2BDHV.js} +9 -9
- package/dist/{chunk-PUBPZOQJ.js → chunk-IPE5FFFD.js} +2 -2
- package/dist/{chunk-HP2ODXNA.js → chunk-IPS55KWK.js} +2 -2
- package/dist/{chunk-J3ZP6EUS.js → chunk-IQFUV3BA.js} +2 -2
- package/dist/{chunk-A7LG3AXV.js → chunk-IRSI3BFF.js} +26 -13
- package/dist/chunk-IRSI3BFF.js.map +1 -0
- package/dist/{chunk-OD4Z5G6G.js → chunk-J2RRZZXC.js} +2 -2
- package/dist/{chunk-FV36LFPX.js → chunk-JHOBW7OD.js} +6 -2
- package/dist/chunk-JHOBW7OD.js.map +1 -0
- package/dist/{chunk-FGUK3D54.js → chunk-JOPTI47I.js} +3 -3
- package/dist/{chunk-T2VO32Z2.js → chunk-JUHPNTDA.js} +10 -4
- package/dist/chunk-JUHPNTDA.js.map +1 -0
- package/dist/{chunk-J3D34ZBL.js → chunk-JVMNE5G4.js} +6 -2
- package/dist/chunk-JVMNE5G4.js.map +1 -0
- package/dist/{chunk-5LQ7PKMW.js → chunk-K6FCXPTS.js} +1 -3
- package/dist/chunk-K6FCXPTS.js.map +1 -0
- package/dist/{chunk-VKH7AENA.js → chunk-KJYD5OJ4.js} +2 -2
- package/dist/{chunk-HZVFAGLZ.js → chunk-L6UTYFAB.js} +6 -3
- package/dist/chunk-L6UTYFAB.js.map +1 -0
- package/dist/{chunk-RVGG5YJY.js → chunk-LG6DHNRD.js} +2 -2
- package/dist/{chunk-WC5XYWTE.js → chunk-LWAOL4BG.js} +2 -2
- package/dist/{chunk-ZPIMPOHV.js → chunk-M7E66OSC.js} +4 -4
- package/dist/{chunk-MSS6IU5X.js → chunk-MCAXIKQD.js} +3 -3
- package/dist/{chunk-K2EHH7TC.js → chunk-MRGPVPQC.js} +6 -6
- package/dist/{chunk-DBYFC6CF.js → chunk-MSKEFXXV.js} +5 -2
- package/dist/chunk-MSKEFXXV.js.map +1 -0
- package/dist/{chunk-JYF3HT7M.js → chunk-MYUZPUXQ.js} +8 -8
- package/dist/{chunk-SX3V2DLV.js → chunk-NFJUBPIN.js} +2 -2
- package/dist/{chunk-57ZSQB5V.js → chunk-NJ6D37KV.js} +2 -2
- package/dist/{chunk-3MALHTZQ.js → chunk-NLUZGT4U.js} +3 -3
- package/dist/{chunk-B474PL5O.js → chunk-NR2HXHBR.js} +2 -2
- package/dist/{chunk-HKKSZ7HG.js → chunk-O6DRUOUF.js} +2 -2
- package/dist/{chunk-YB6MDGPR.js → chunk-O7SE4PYT.js} +8 -3
- package/dist/chunk-O7SE4PYT.js.map +1 -0
- package/dist/{chunk-R6SSXEK2.js → chunk-OFMDFN3U.js} +2 -2
- package/dist/{chunk-EUKYQXYU.js → chunk-OHKEQ7QJ.js} +2 -2
- package/dist/{chunk-NUB4T3RQ.js → chunk-OIFBBDYX.js} +2 -2
- package/dist/{chunk-PFZAUMJA.js → chunk-OL7UQMBI.js} +2 -2
- package/dist/{chunk-REMK55JI.js → chunk-OLZTGVBT.js} +4 -4
- package/dist/{chunk-MCBG6R5A.js → chunk-ORIFMVN4.js} +3 -3
- package/dist/{chunk-5KFZGB5U.js → chunk-P4BZ7YE6.js} +2 -2
- package/dist/{chunk-23FCBIUN.js → chunk-P7FQUGED.js} +8 -8
- package/dist/{chunk-7IKWIWWV.js → chunk-PCONTSJJ.js} +12 -12
- package/dist/{chunk-VNGYJXAU.js → chunk-PEMZ2ABQ.js} +4 -4
- package/dist/{chunk-UCU5FCYE.js → chunk-PS3EJLOC.js} +6 -2
- package/dist/chunk-PS3EJLOC.js.map +1 -0
- package/dist/{chunk-XXE6NTJB.js → chunk-Q544QEIN.js} +5 -3
- package/dist/chunk-Q544QEIN.js.map +1 -0
- package/dist/{chunk-VXTYVJDK.js → chunk-Q5BSNHN7.js} +2 -2
- package/dist/{chunk-Q5NAZ7TW.js → chunk-QKDFD4VT.js} +4 -4
- package/dist/{chunk-YTYROOLY.js → chunk-QNUWSXF2.js} +3 -3
- package/dist/{chunk-VESIQYBF.js → chunk-QP3KK4KO.js} +12 -12
- package/dist/{chunk-MSUSZLRE.js → chunk-QPMLACIK.js} +2 -2
- package/dist/{chunk-EZMCWRXO.js → chunk-R4SOPN6K.js} +8 -5
- package/dist/chunk-R4SOPN6K.js.map +1 -0
- package/dist/{chunk-TF4TPLF2.js → chunk-R7KR5FYJ.js} +2 -2
- package/dist/{chunk-237NDIT2.js → chunk-RCI6KVN6.js} +5 -5
- package/dist/{chunk-VIK3HAUQ.js → chunk-RDFPH47Y.js} +8 -2
- package/dist/chunk-RDFPH47Y.js.map +1 -0
- package/dist/{chunk-CZPU5TW3.js → chunk-RFZU5BTG.js} +2 -2
- package/dist/{chunk-DQOLW4B5.js → chunk-RIA34EUT.js} +3 -3
- package/dist/{chunk-J4W4TQPC.js → chunk-RMB4RTTM.js} +6 -6
- package/dist/{chunk-RNCQ5KHQ.js → chunk-RQFBLYYH.js} +2 -2
- package/dist/{chunk-4T6W43TO.js → chunk-RRDL7AGQ.js} +2 -2
- package/dist/{chunk-JB67KPGM.js → chunk-RRO2EOJB.js} +4 -4
- package/dist/{chunk-4MXFPDKL.js → chunk-RWIBPIPD.js} +4 -4
- package/dist/{chunk-6PKVHFCK.js → chunk-SAIKHWH7.js} +9 -9
- package/dist/{chunk-HT4B2DJU.js → chunk-SDSAQ5YS.js} +4 -4
- package/dist/{chunk-7OZBOS75.js → chunk-SGV7QGYQ.js} +6 -6
- package/dist/{chunk-GJQYM3PM.js → chunk-SHQWIDD5.js} +4 -4
- package/dist/{chunk-OLQDB346.js → chunk-SMUZRLFZ.js} +2 -2
- package/dist/{chunk-QGBMCB76.js → chunk-SSJHEV5Z.js} +2 -2
- package/dist/{chunk-L2E7TY7P.js → chunk-SZB2Z6QN.js} +6 -2
- package/dist/chunk-SZB2Z6QN.js.map +1 -0
- package/dist/{chunk-MEWYA74E.js → chunk-SZZLABMO.js} +3 -3
- package/dist/{chunk-DAPK3ADA.js → chunk-TC3EPGGJ.js} +4 -4
- package/dist/{chunk-4XVH6IWN.js → chunk-TLY2QMU5.js} +3 -3
- package/dist/{chunk-554SVTCN.js → chunk-UHWHTNUS.js} +5 -5
- package/dist/{chunk-HZ6L7WXE.js → chunk-URK67BAE.js} +7 -7
- package/dist/{chunk-FGUESLDX.js → chunk-USPQZQBF.js} +5 -1
- package/dist/chunk-USPQZQBF.js.map +1 -0
- package/dist/{chunk-GH2DC7PS.js → chunk-V3RVRZAU.js} +5 -5
- package/dist/{chunk-624TFFLJ.js → chunk-V6YZ3PL5.js} +2 -2
- package/dist/{chunk-URVNHKM2.js → chunk-VGSEI7PQ.js} +6 -6
- package/dist/{chunk-EPRA5QLB.js → chunk-VUFMV5Q5.js} +2 -2
- package/dist/{chunk-LVCUJ7YU.js → chunk-VYMULXCJ.js} +6 -1
- package/dist/chunk-VYMULXCJ.js.map +1 -0
- package/dist/{chunk-QYNCPS5W.js → chunk-WBKWIFXA.js} +6 -6
- package/dist/{chunk-57W2C7HY.js → chunk-WCLWFN3F.js} +8 -8
- package/dist/{chunk-6TSP45KC.js → chunk-WHLVMQNF.js} +5 -1
- package/dist/chunk-WHLVMQNF.js.map +1 -0
- package/dist/{chunk-K2JH7QPR.js → chunk-WI6GD4MV.js} +3 -3
- package/dist/{chunk-VMXDTCYF.js → chunk-WMALDOF5.js} +4 -4
- package/dist/{chunk-TOYEP23N.js → chunk-WONCE5GB.js} +7 -3
- package/dist/chunk-WONCE5GB.js.map +1 -0
- package/dist/{chunk-UVD5NFRF.js → chunk-WVJI3Z4P.js} +2 -2
- package/dist/{chunk-VVXA7T2M.js → chunk-WVQ47UTI.js} +2 -2
- package/dist/{chunk-BKAB4KZK.js → chunk-X2R7QG5I.js} +10 -7
- package/dist/chunk-X2R7QG5I.js.map +1 -0
- package/dist/{chunk-BEGWE5O4.js → chunk-XEUSTU7K.js} +5 -2
- package/dist/chunk-XEUSTU7K.js.map +1 -0
- package/dist/{chunk-6WIDZGXE.js → chunk-XMDH3MRV.js} +5 -2
- package/dist/chunk-XMDH3MRV.js.map +1 -0
- package/dist/{chunk-KFZT3PHA.js → chunk-XPPEUGHG.js} +4 -4
- package/dist/{chunk-Z52HVR4J.js → chunk-XVM4ZIRE.js} +2 -2
- package/dist/{chunk-7MR2JCJW.js → chunk-Y2CSBXQT.js} +2 -2
- package/dist/{chunk-BILJU2DX.js → chunk-YXQ2NJHF.js} +6 -6
- package/dist/{chunk-2UBFDRL7.js → chunk-ZCNCQGWK.js} +2 -2
- package/dist/{chunk-OXQP3N6X.js → chunk-ZTZ6S5Q6.js} +4 -4
- package/dist/{chunk-2L2NWXWJ.js → chunk-ZVTJGWIV.js} +2 -2
- package/dist/data-display/Alert.js +5 -4
- package/dist/data-display/Avatar.js +6 -5
- package/dist/data-display/Badge.js +7 -6
- package/dist/data-display/Banner.js +3 -2
- package/dist/data-display/CardKit.js +17 -15
- package/dist/data-display/Carousel.js +10 -8
- package/dist/data-display/Chart.js +18 -16
- package/dist/data-display/DataViews.js +106 -104
- package/dist/data-display/DescriptionItem.js +6 -5
- package/dist/data-display/FleetMap.js +20 -18
- package/dist/data-display/HoverCard.js +2 -2
- package/dist/data-display/Lightbox.js +3 -3
- package/dist/data-display/MapPreview.js +12 -10
- package/dist/data-display/Progress.js +6 -5
- package/dist/data-display/Sheet.js +9 -7
- package/dist/data-display/Table.js +3 -3
- package/dist/feedback/ConfirmAction.js +11 -9
- package/dist/feedback/Modal.js +2 -2
- package/dist/feedback/NotificationStatusNotice.js +10 -8
- package/dist/form/AddressAutocomplete.js +9 -7
- package/dist/form/Autocomplete.js +4 -2
- package/dist/form/Button.js +7 -5
- package/dist/form/Calendar.js +4 -4
- package/dist/form/CategorySelect.js +11 -9
- package/dist/form/CepField.js +6 -4
- package/dist/form/Checkbox.js +4 -3
- package/dist/form/CodeEditor.js +4 -2
- package/dist/form/Command.js +7 -5
- package/dist/form/CreatableSelect.js +3 -1
- package/dist/form/DateRangePicker.js +12 -10
- package/dist/form/Input.js +5 -3
- package/dist/form/InputOTP.js +4 -2
- package/dist/form/Label.js +7 -5
- package/dist/form/Menubar.js +9 -7
- package/dist/form/PhoneInput.js +3 -1
- package/dist/form/RadioGroup.js +5 -3
- package/dist/form/RichTextEditor.js +4 -2
- package/dist/form/Select.js +4 -2
- package/dist/form/Switch.js +8 -7
- package/dist/form/Textarea.js +3 -1
- package/dist/form/Toggle.js +4 -2
- package/dist/form/ToggleGroup.js +4 -1
- package/dist/form/UploadButton.js +2 -2
- package/dist/form/total-form.js +34 -32
- package/dist/icons.js +9 -7
- package/dist/layout/Box.js +8 -6
- package/dist/layout/Card.js +2 -2
- package/dist/layout/ContentToolbar.js +12 -10
- package/dist/layout/SettingsLayout.js +3 -3
- package/dist/layout/Stack.js +9 -7
- package/dist/layout/TableFilter.js +3 -1
- package/dist/native/chunks/{chunk-2HLEFYJ5.js → chunk-7UEJ2FMQ.js} +2 -2
- package/dist/native/chunks/{chunk-6XDMYJBW.js → chunk-IVNAQJY6.js} +2 -2
- package/dist/native/chunks/{chunk-YXM4NR2B.js → chunk-LB65S6C7.js} +3 -3
- package/dist/native/chunks/{chunk-CO47ZRXO.js → chunk-S5SLTMPB.js} +2 -2
- package/dist/native/chunks/{chunk-BEPOBULQ.js → chunk-T3TYQMAH.js} +4 -5
- package/dist/native/chunks/chunk-T3TYQMAH.js.map +1 -0
- package/dist/native/chunks/{chunk-NVPXIJ2O.js → chunk-UKROAIPA.js} +4 -6
- package/dist/native/chunks/chunk-UKROAIPA.js.map +1 -0
- package/dist/native/chunks/{chunk-YQDDM6ZW.js → chunk-V72V2Q45.js} +6 -2
- package/dist/native/chunks/chunk-V72V2Q45.js.map +1 -0
- package/dist/native/chunks/{chunk-SOQVMWLQ.js → chunk-VAD5YVIZ.js} +5 -5
- 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 +5 -5
- package/dist/native/data-display/ErrorState.js +4 -4
- package/dist/native/data-display/FleetMap.js +6 -6
- 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 +3 -3
- package/dist/native/form/Checkbox.js +3 -3
- package/dist/native/form/Input.js +4 -5
- package/dist/native/form/Input.js.map +1 -1
- package/dist/native/form/Select.js +5 -6
- 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 +3 -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 +16 -14
- package/dist/navigation/CommandPalette.js +3 -3
- package/dist/navigation/Pagination.js +2 -2
- package/dist/navigation/Tabs.js +2 -2
- package/dist/provider.js +8 -6
- package/dist/social-login-button.js +15 -13
- package/dist/tokens.js +17 -3
- 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-day-input.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-number-input.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/MapPreview/MapSearchBar.d.ts.map +1 -1
- package/dist/types/components/form/AddressAutocomplete/AddressTextField.d.ts.map +1 -1
- package/dist/types/components/form/Autocomplete/Autocomplete.parts.d.ts.map +1 -1
- package/dist/types/components/form/Button/Button.d.ts.map +1 -1
- package/dist/types/components/form/Button/Button.metrics.d.ts +0 -2
- package/dist/types/components/form/Button/Button.metrics.d.ts.map +1 -1
- package/dist/types/components/form/CategorySelect/CategoryPanelFoot.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 +4 -1
- package/dist/types/components/form/CategorySelect/CategorySelect.styles.d.ts.map +1 -1
- package/dist/types/components/form/CodeEditor/CodeEditor.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 +4 -2
- package/dist/types/components/form/Input/Input.metrics.d.ts.map +1 -1
- package/dist/types/components/form/Input/Input.styles.d.ts +6 -0
- 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/RichTextEditor/RichTextEditor.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/layout/ContentToolbar/ColumnsMenu.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/ContentToolbar.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/FilterTrigger.d.ts.map +1 -1
- package/dist/types/components/layout/ContentToolbar/MultiSelectTriggers.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/provider/mui-bridge.d.ts.map +1 -1
- package/dist/types/tokens/field-radius.core.d.ts +26 -0
- package/dist/types/tokens/field-radius.core.d.ts.map +1 -0
- package/dist/types/tokens/field-radius.d.ts +60 -0
- package/dist/types/tokens/field-radius.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 -1
- package/dist/types/tokens/theme.d.ts.map +1 -1
- package/dist/types-native/components/form/Button/Button.metrics.d.ts +0 -2
- package/dist/types-native/components/form/Button/Button.metrics.d.ts.map +1 -1
- package/dist/types-native/components/form/Input/Input.look.native.d.ts.map +1 -1
- package/dist/types-native/components/form/Input/Input.metrics.d.ts +4 -2
- package/dist/types-native/components/form/Input/Input.metrics.d.ts.map +1 -1
- package/dist/types-native/components/form/Select/Select.native.d.ts.map +1 -1
- package/dist/types-native/tokens/field-radius.core.d.ts +26 -0
- package/dist/types-native/tokens/field-radius.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 -1
- 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 +15 -13
- package/dist/utility/InstallPrompt.js +4 -4
- package/package.json +1 -1
- package/src/components/data-display/DataViews/data-views-bar-controls.tsx +4 -3
- package/src/components/data-display/DataViews/data-views-day-input.tsx +2 -1
- package/src/components/data-display/DataViews/data-views-more-fields.tsx +2 -1
- package/src/components/data-display/DataViews/data-views-number-input.tsx +2 -1
- package/src/components/data-display/DataViews/data-views-range-pill.tsx +2 -1
- package/src/components/data-display/DataViews/data-views-search.tsx +5 -3
- package/src/components/data-display/MapPreview/MapSearchBar.tsx +3 -1
- package/src/components/form/AddressAutocomplete/AddressTextField.tsx +6 -1
- package/src/components/form/Autocomplete/Autocomplete.parts.tsx +2 -0
- package/src/components/form/Button/Button.metrics.ts +0 -2
- package/src/components/form/Button/Button.native.tsx +2 -2
- package/src/components/form/Button/Button.tsx +2 -1
- package/src/components/form/CategorySelect/CategoryPanelFoot.tsx +2 -1
- package/src/components/form/CategorySelect/CategoryPanelHead.tsx +2 -1
- package/src/components/form/CategorySelect/CategorySelect.styles.ts +6 -2
- package/src/components/form/CodeEditor/CodeEditor.tsx +2 -1
- package/src/components/form/CreatableSelect/CreatableSelect.tsx +2 -0
- package/src/components/form/Input/Input.look.native.ts +6 -3
- package/src/components/form/Input/Input.metrics.ts +4 -2
- package/src/components/form/Input/Input.native.tsx +2 -2
- package/src/components/form/Input/Input.styles.ts +14 -1
- package/src/components/form/Input/Input.tsx +2 -0
- package/src/components/form/InputOTP/InputOTP.styles.ts +2 -1
- package/src/components/form/PhoneInput/PhoneInput.tsx +6 -1
- package/src/components/form/RadioGroup/RadioGroup.styles.ts +11 -5
- package/src/components/form/RichTextEditor/RichTextEditor.tsx +2 -1
- package/src/components/form/Select/Select.native.tsx +1 -2
- package/src/components/form/Select/Select.tsx +3 -1
- package/src/components/form/Textarea/Textarea.tsx +2 -1
- package/src/components/form/Textarea/TextareaRichEditor.tsx +3 -2
- package/src/components/form/Toggle/Toggle.styles.ts +2 -1
- package/src/components/form/ToggleGroup/ToggleGroup.tsx +24 -12
- package/src/components/layout/ContentToolbar/ColumnsMenu.tsx +2 -1
- package/src/components/layout/ContentToolbar/ContentToolbar.tsx +2 -1
- package/src/components/layout/ContentToolbar/FilterTrigger.tsx +2 -0
- package/src/components/layout/ContentToolbar/MultiSelectTriggers.tsx +4 -2
- 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 +2 -0
- package/src/provider/mui-bridge.ts +4 -1
- package/src/tokens/field-radius.core.ts +26 -0
- package/src/tokens/field-radius.ts +90 -0
- package/src/tokens/index.native.ts +1 -0
- package/src/tokens/scales.ts +1 -0
- package/src/tokens/theme.ts +10 -3
- package/dist/chunk-3W7IEWEL.js.map +0 -1
- package/dist/chunk-5LQ7PKMW.js.map +0 -1
- package/dist/chunk-5WNQJ5KS.js.map +0 -1
- package/dist/chunk-6TSP45KC.js.map +0 -1
- package/dist/chunk-6WIDZGXE.js.map +0 -1
- package/dist/chunk-A7LG3AXV.js.map +0 -1
- package/dist/chunk-BEGWE5O4.js.map +0 -1
- package/dist/chunk-BKAB4KZK.js.map +0 -1
- package/dist/chunk-CJUOBTLL.js.map +0 -1
- package/dist/chunk-DBYFC6CF.js.map +0 -1
- package/dist/chunk-DFLTUI7W.js.map +0 -1
- package/dist/chunk-EZMCWRXO.js.map +0 -1
- package/dist/chunk-FGUESLDX.js.map +0 -1
- package/dist/chunk-FV36LFPX.js.map +0 -1
- package/dist/chunk-HZVFAGLZ.js.map +0 -1
- package/dist/chunk-J3D34ZBL.js.map +0 -1
- package/dist/chunk-J3JGO6Y6.js.map +0 -1
- package/dist/chunk-JMVIIKII.js.map +0 -1
- package/dist/chunk-L2E7TY7P.js.map +0 -1
- package/dist/chunk-LVCUJ7YU.js.map +0 -1
- package/dist/chunk-MI2MVH3I.js.map +0 -1
- package/dist/chunk-S6YY2WWK.js.map +0 -1
- package/dist/chunk-SONWG2RT.js.map +0 -1
- package/dist/chunk-T2VO32Z2.js.map +0 -1
- package/dist/chunk-TOYEP23N.js.map +0 -1
- package/dist/chunk-UCU5FCYE.js.map +0 -1
- package/dist/chunk-V5IOLAIS.js.map +0 -1
- package/dist/chunk-VIK3HAUQ.js.map +0 -1
- package/dist/chunk-WQFIV5WD.js.map +0 -1
- package/dist/chunk-WXD7MGBT.js.map +0 -1
- package/dist/chunk-XXE6NTJB.js.map +0 -1
- package/dist/chunk-XZTOIEKI.js.map +0 -1
- package/dist/chunk-YB6MDGPR.js.map +0 -1
- package/dist/chunk-ZS44PY7T.js.map +0 -1
- package/dist/chunk-ZUY65MFH.js.map +0 -1
- package/dist/chunk-ZZOOSKSV.js.map +0 -1
- package/dist/native/chunks/chunk-BEPOBULQ.js.map +0 -1
- package/dist/native/chunks/chunk-NVPXIJ2O.js.map +0 -1
- package/dist/native/chunks/chunk-YQDDM6ZW.js.map +0 -1
- /package/dist/{chunk-RXVPUW7V.js.map → chunk-26ORCF6J.js.map} +0 -0
- /package/dist/{chunk-HGJHZ5PE.js.map → chunk-2DFH74T4.js.map} +0 -0
- /package/dist/{chunk-22ZJH7RY.js.map → chunk-2N2KNXTF.js.map} +0 -0
- /package/dist/{chunk-W3FAKT3D.js.map → chunk-2SWQ6HIK.js.map} +0 -0
- /package/dist/{chunk-IVVOIDE5.js.map → chunk-2YOQLBEX.js.map} +0 -0
- /package/dist/{chunk-DEE6IPGI.js.map → chunk-32MTYYGC.js.map} +0 -0
- /package/dist/{chunk-GVDJQMFI.js.map → chunk-35GWNOLB.js.map} +0 -0
- /package/dist/{chunk-W4SDVTZC.js.map → chunk-3PT3SBJ7.js.map} +0 -0
- /package/dist/{chunk-62NA6IF3.js.map → chunk-3ZGQSWHJ.js.map} +0 -0
- /package/dist/{chunk-PFLKPNBU.js.map → chunk-4DUHJIR2.js.map} +0 -0
- /package/dist/{chunk-46UPILLK.js.map → chunk-4ETQRBZC.js.map} +0 -0
- /package/dist/{chunk-65DLYC4S.js.map → chunk-4LDRYLE2.js.map} +0 -0
- /package/dist/{chunk-ON2CMKTI.js.map → chunk-4WT4PV4M.js.map} +0 -0
- /package/dist/{chunk-K4JRHQMI.js.map → chunk-55E7GLVT.js.map} +0 -0
- /package/dist/{chunk-AIBNBWQU.js.map → chunk-5EQFAFR3.js.map} +0 -0
- /package/dist/{chunk-S2GDYA6R.js.map → chunk-5GMHJ7Y5.js.map} +0 -0
- /package/dist/{chunk-EVXFEXBS.js.map → chunk-5UGXAAZG.js.map} +0 -0
- /package/dist/{chunk-DOMEYGTN.js.map → chunk-5YOFMMK3.js.map} +0 -0
- /package/dist/{chunk-IABE56TG.js.map → chunk-5ZOJLYD2.js.map} +0 -0
- /package/dist/{chunk-CASZGBCA.js.map → chunk-67L5CMXP.js.map} +0 -0
- /package/dist/{chunk-L6TCIZFR.js.map → chunk-6BGS5FND.js.map} +0 -0
- /package/dist/{chunk-JJ3VR7WX.js.map → chunk-6PSAPCTE.js.map} +0 -0
- /package/dist/{chunk-Y5UCOBQN.js.map → chunk-6SK3MTYJ.js.map} +0 -0
- /package/dist/{chunk-MGPA6KTM.js.map → chunk-6SNRPCSK.js.map} +0 -0
- /package/dist/{chunk-NFAKRI4S.js.map → chunk-6VZYQC7T.js.map} +0 -0
- /package/dist/{chunk-B6IURHSZ.js.map → chunk-7DNQHMDO.js.map} +0 -0
- /package/dist/{chunk-MZQTHSLN.js.map → chunk-7U36V4CU.js.map} +0 -0
- /package/dist/{chunk-ZU3SWR4I.js.map → chunk-7YTLJUBX.js.map} +0 -0
- /package/dist/{chunk-C5EFVSBN.js.map → chunk-A5FIYKAN.js.map} +0 -0
- /package/dist/{chunk-QRX5BYUQ.js.map → chunk-AFZUPCBK.js.map} +0 -0
- /package/dist/{chunk-PQECNGDE.js.map → chunk-AGYGNNOM.js.map} +0 -0
- /package/dist/{chunk-AVI3XHRQ.js.map → chunk-AIRWM7KK.js.map} +0 -0
- /package/dist/{chunk-T5WNNEP5.js.map → chunk-APMEXS3Y.js.map} +0 -0
- /package/dist/{chunk-JGV66VUK.js.map → chunk-ATBT4RJZ.js.map} +0 -0
- /package/dist/{chunk-BLBOYCOV.js.map → chunk-BKP7YW3Y.js.map} +0 -0
- /package/dist/{chunk-CZJLWCEG.js.map → chunk-BPYPUEM5.js.map} +0 -0
- /package/dist/{chunk-I3FXTIKA.js.map → chunk-BRUJC7OG.js.map} +0 -0
- /package/dist/{chunk-SLMA4UQS.js.map → chunk-BWSYSSF3.js.map} +0 -0
- /package/dist/{chunk-DUWF5LUK.js.map → chunk-C2ZNAQMO.js.map} +0 -0
- /package/dist/{chunk-TU6RNZUQ.js.map → chunk-C4NRFERD.js.map} +0 -0
- /package/dist/{chunk-V7F53GEO.js.map → chunk-CATLG2RT.js.map} +0 -0
- /package/dist/{chunk-LYMAMKJT.js.map → chunk-CEA4QA63.js.map} +0 -0
- /package/dist/{chunk-XXDXW6TX.js.map → chunk-CIVLXOLG.js.map} +0 -0
- /package/dist/{chunk-OH3YGJT5.js.map → chunk-CJMU3G2J.js.map} +0 -0
- /package/dist/{chunk-6IKX5IIX.js.map → chunk-CKW267ZK.js.map} +0 -0
- /package/dist/{chunk-ZYKDPX3W.js.map → chunk-CPA2YRVZ.js.map} +0 -0
- /package/dist/{chunk-VEGT5PAD.js.map → chunk-D5YGDCMP.js.map} +0 -0
- /package/dist/{chunk-3TFUAKWJ.js.map → chunk-D6P5PSHU.js.map} +0 -0
- /package/dist/{chunk-JQL4GG5L.js.map → chunk-DBXGRZBJ.js.map} +0 -0
- /package/dist/{chunk-PMS3H3OO.js.map → chunk-DF2FFYZ7.js.map} +0 -0
- /package/dist/{chunk-SUTNQG7E.js.map → chunk-DHQ6ASUD.js.map} +0 -0
- /package/dist/{chunk-RBGOGTT2.js.map → chunk-DWZ7FLA7.js.map} +0 -0
- /package/dist/{chunk-KT6HWAEN.js.map → chunk-DX36KZUV.js.map} +0 -0
- /package/dist/{chunk-FVPN4YKW.js.map → chunk-EATFKTO3.js.map} +0 -0
- /package/dist/{chunk-K5V3KCFI.js.map → chunk-EJJRJYB5.js.map} +0 -0
- /package/dist/{chunk-TSEWUY4V.js.map → chunk-EN5Q5RPQ.js.map} +0 -0
- /package/dist/{chunk-XFUNJYFT.js.map → chunk-EPNUVSNK.js.map} +0 -0
- /package/dist/{chunk-KUJLZFDW.js.map → chunk-ETU4LNU7.js.map} +0 -0
- /package/dist/{chunk-UC6A6ASM.js.map → chunk-EYRSUVBC.js.map} +0 -0
- /package/dist/{chunk-HLYPI5CO.js.map → chunk-F22WT7UX.js.map} +0 -0
- /package/dist/{chunk-JPVDZXXX.js.map → chunk-F65LT7XV.js.map} +0 -0
- /package/dist/{chunk-6FUOUUYO.js.map → chunk-FC74EAW4.js.map} +0 -0
- /package/dist/{chunk-ZWIDQEJ4.js.map → chunk-G3WUOPWE.js.map} +0 -0
- /package/dist/{chunk-SQV3HPTZ.js.map → chunk-G76H5PEM.js.map} +0 -0
- /package/dist/{chunk-XYDW5RQB.js.map → chunk-GKGA2ZCW.js.map} +0 -0
- /package/dist/{chunk-WREIYOXN.js.map → chunk-GLPHRHIT.js.map} +0 -0
- /package/dist/{chunk-3PUOLOEP.js.map → chunk-GOKMLXZH.js.map} +0 -0
- /package/dist/{chunk-B7NV6JFG.js.map → chunk-GUROYOKQ.js.map} +0 -0
- /package/dist/{chunk-3XLDTVLC.js.map → chunk-H2RHA73H.js.map} +0 -0
- /package/dist/{chunk-C5YBXQTK.js.map → chunk-H35CQ6DF.js.map} +0 -0
- /package/dist/{chunk-EXJBPKGW.js.map → chunk-HFBME3C5.js.map} +0 -0
- /package/dist/{chunk-35UG2QDB.js.map → chunk-HSVNFMXY.js.map} +0 -0
- /package/dist/{chunk-NWQWUYOV.js.map → chunk-I2IZ53QS.js.map} +0 -0
- /package/dist/{chunk-HR7YTBR7.js.map → chunk-IASDP44E.js.map} +0 -0
- /package/dist/{chunk-FLIMEQUA.js.map → chunk-IAVAZ36T.js.map} +0 -0
- /package/dist/{chunk-VJFH2AXT.js.map → chunk-INH2BDHV.js.map} +0 -0
- /package/dist/{chunk-PUBPZOQJ.js.map → chunk-IPE5FFFD.js.map} +0 -0
- /package/dist/{chunk-HP2ODXNA.js.map → chunk-IPS55KWK.js.map} +0 -0
- /package/dist/{chunk-J3ZP6EUS.js.map → chunk-IQFUV3BA.js.map} +0 -0
- /package/dist/{chunk-OD4Z5G6G.js.map → chunk-J2RRZZXC.js.map} +0 -0
- /package/dist/{chunk-FGUK3D54.js.map → chunk-JOPTI47I.js.map} +0 -0
- /package/dist/{chunk-VKH7AENA.js.map → chunk-KJYD5OJ4.js.map} +0 -0
- /package/dist/{chunk-RVGG5YJY.js.map → chunk-LG6DHNRD.js.map} +0 -0
- /package/dist/{chunk-WC5XYWTE.js.map → chunk-LWAOL4BG.js.map} +0 -0
- /package/dist/{chunk-ZPIMPOHV.js.map → chunk-M7E66OSC.js.map} +0 -0
- /package/dist/{chunk-MSS6IU5X.js.map → chunk-MCAXIKQD.js.map} +0 -0
- /package/dist/{chunk-K2EHH7TC.js.map → chunk-MRGPVPQC.js.map} +0 -0
- /package/dist/{chunk-JYF3HT7M.js.map → chunk-MYUZPUXQ.js.map} +0 -0
- /package/dist/{chunk-SX3V2DLV.js.map → chunk-NFJUBPIN.js.map} +0 -0
- /package/dist/{chunk-57ZSQB5V.js.map → chunk-NJ6D37KV.js.map} +0 -0
- /package/dist/{chunk-3MALHTZQ.js.map → chunk-NLUZGT4U.js.map} +0 -0
- /package/dist/{chunk-B474PL5O.js.map → chunk-NR2HXHBR.js.map} +0 -0
- /package/dist/{chunk-HKKSZ7HG.js.map → chunk-O6DRUOUF.js.map} +0 -0
- /package/dist/{chunk-R6SSXEK2.js.map → chunk-OFMDFN3U.js.map} +0 -0
- /package/dist/{chunk-EUKYQXYU.js.map → chunk-OHKEQ7QJ.js.map} +0 -0
- /package/dist/{chunk-NUB4T3RQ.js.map → chunk-OIFBBDYX.js.map} +0 -0
- /package/dist/{chunk-PFZAUMJA.js.map → chunk-OL7UQMBI.js.map} +0 -0
- /package/dist/{chunk-REMK55JI.js.map → chunk-OLZTGVBT.js.map} +0 -0
- /package/dist/{chunk-MCBG6R5A.js.map → chunk-ORIFMVN4.js.map} +0 -0
- /package/dist/{chunk-5KFZGB5U.js.map → chunk-P4BZ7YE6.js.map} +0 -0
- /package/dist/{chunk-23FCBIUN.js.map → chunk-P7FQUGED.js.map} +0 -0
- /package/dist/{chunk-7IKWIWWV.js.map → chunk-PCONTSJJ.js.map} +0 -0
- /package/dist/{chunk-VNGYJXAU.js.map → chunk-PEMZ2ABQ.js.map} +0 -0
- /package/dist/{chunk-VXTYVJDK.js.map → chunk-Q5BSNHN7.js.map} +0 -0
- /package/dist/{chunk-Q5NAZ7TW.js.map → chunk-QKDFD4VT.js.map} +0 -0
- /package/dist/{chunk-YTYROOLY.js.map → chunk-QNUWSXF2.js.map} +0 -0
- /package/dist/{chunk-VESIQYBF.js.map → chunk-QP3KK4KO.js.map} +0 -0
- /package/dist/{chunk-MSUSZLRE.js.map → chunk-QPMLACIK.js.map} +0 -0
- /package/dist/{chunk-TF4TPLF2.js.map → chunk-R7KR5FYJ.js.map} +0 -0
- /package/dist/{chunk-237NDIT2.js.map → chunk-RCI6KVN6.js.map} +0 -0
- /package/dist/{chunk-CZPU5TW3.js.map → chunk-RFZU5BTG.js.map} +0 -0
- /package/dist/{chunk-DQOLW4B5.js.map → chunk-RIA34EUT.js.map} +0 -0
- /package/dist/{chunk-J4W4TQPC.js.map → chunk-RMB4RTTM.js.map} +0 -0
- /package/dist/{chunk-RNCQ5KHQ.js.map → chunk-RQFBLYYH.js.map} +0 -0
- /package/dist/{chunk-4T6W43TO.js.map → chunk-RRDL7AGQ.js.map} +0 -0
- /package/dist/{chunk-JB67KPGM.js.map → chunk-RRO2EOJB.js.map} +0 -0
- /package/dist/{chunk-4MXFPDKL.js.map → chunk-RWIBPIPD.js.map} +0 -0
- /package/dist/{chunk-6PKVHFCK.js.map → chunk-SAIKHWH7.js.map} +0 -0
- /package/dist/{chunk-HT4B2DJU.js.map → chunk-SDSAQ5YS.js.map} +0 -0
- /package/dist/{chunk-7OZBOS75.js.map → chunk-SGV7QGYQ.js.map} +0 -0
- /package/dist/{chunk-GJQYM3PM.js.map → chunk-SHQWIDD5.js.map} +0 -0
- /package/dist/{chunk-OLQDB346.js.map → chunk-SMUZRLFZ.js.map} +0 -0
- /package/dist/{chunk-QGBMCB76.js.map → chunk-SSJHEV5Z.js.map} +0 -0
- /package/dist/{chunk-MEWYA74E.js.map → chunk-SZZLABMO.js.map} +0 -0
- /package/dist/{chunk-DAPK3ADA.js.map → chunk-TC3EPGGJ.js.map} +0 -0
- /package/dist/{chunk-4XVH6IWN.js.map → chunk-TLY2QMU5.js.map} +0 -0
- /package/dist/{chunk-554SVTCN.js.map → chunk-UHWHTNUS.js.map} +0 -0
- /package/dist/{chunk-HZ6L7WXE.js.map → chunk-URK67BAE.js.map} +0 -0
- /package/dist/{chunk-GH2DC7PS.js.map → chunk-V3RVRZAU.js.map} +0 -0
- /package/dist/{chunk-624TFFLJ.js.map → chunk-V6YZ3PL5.js.map} +0 -0
- /package/dist/{chunk-URVNHKM2.js.map → chunk-VGSEI7PQ.js.map} +0 -0
- /package/dist/{chunk-EPRA5QLB.js.map → chunk-VUFMV5Q5.js.map} +0 -0
- /package/dist/{chunk-QYNCPS5W.js.map → chunk-WBKWIFXA.js.map} +0 -0
- /package/dist/{chunk-57W2C7HY.js.map → chunk-WCLWFN3F.js.map} +0 -0
- /package/dist/{chunk-K2JH7QPR.js.map → chunk-WI6GD4MV.js.map} +0 -0
- /package/dist/{chunk-VMXDTCYF.js.map → chunk-WMALDOF5.js.map} +0 -0
- /package/dist/{chunk-UVD5NFRF.js.map → chunk-WVJI3Z4P.js.map} +0 -0
- /package/dist/{chunk-VVXA7T2M.js.map → chunk-WVQ47UTI.js.map} +0 -0
- /package/dist/{chunk-KFZT3PHA.js.map → chunk-XPPEUGHG.js.map} +0 -0
- /package/dist/{chunk-Z52HVR4J.js.map → chunk-XVM4ZIRE.js.map} +0 -0
- /package/dist/{chunk-7MR2JCJW.js.map → chunk-Y2CSBXQT.js.map} +0 -0
- /package/dist/{chunk-BILJU2DX.js.map → chunk-YXQ2NJHF.js.map} +0 -0
- /package/dist/{chunk-2UBFDRL7.js.map → chunk-ZCNCQGWK.js.map} +0 -0
- /package/dist/{chunk-OXQP3N6X.js.map → chunk-ZTZ6S5Q6.js.map} +0 -0
- /package/dist/{chunk-2L2NWXWJ.js.map → chunk-ZVTJGWIV.js.map} +0 -0
- /package/dist/native/chunks/{chunk-2HLEFYJ5.js.map → chunk-7UEJ2FMQ.js.map} +0 -0
- /package/dist/native/chunks/{chunk-6XDMYJBW.js.map → chunk-IVNAQJY6.js.map} +0 -0
- /package/dist/native/chunks/{chunk-YXM4NR2B.js.map → chunk-LB65S6C7.js.map} +0 -0
- /package/dist/native/chunks/{chunk-CO47ZRXO.js.map → chunk-S5SLTMPB.js.map} +0 -0
- /package/dist/native/chunks/{chunk-SOQVMWLQ.js.map → chunk-VAD5YVIZ.js.map} +0 -0
|
@@ -119,13 +119,16 @@ function backgroundFor(theme: UiTheme, variant: InputVariant, state: FieldState)
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* The theme's one field radius: `filled` rounds its top two corners with it,
|
|
124
|
+
* `underline` none, the rest all four.
|
|
125
|
+
*/
|
|
123
126
|
function radiusFor(theme: UiTheme, variant: InputVariant): ViewStyle {
|
|
124
127
|
if (variant === 'underline') return {};
|
|
125
128
|
if (variant === 'filled') {
|
|
126
|
-
return { borderTopLeftRadius: theme.radius.
|
|
129
|
+
return { borderTopLeftRadius: theme.radius.field, borderTopRightRadius: theme.radius.field };
|
|
127
130
|
}
|
|
128
|
-
return { borderRadius: theme.radius.
|
|
131
|
+
return { borderRadius: theme.radius.field };
|
|
129
132
|
}
|
|
130
133
|
|
|
131
134
|
/** The border as React Native writes it: a width per side, one colour, one style. */
|
|
@@ -170,10 +170,12 @@ export const INPUT_GLOW = {
|
|
|
170
170
|
focused: { blur: 20, alpha: 0.5 },
|
|
171
171
|
} as const;
|
|
172
172
|
|
|
173
|
-
/**
|
|
173
|
+
/**
|
|
174
|
+
* `pulse`: a 56px bar behind the field, fading outward every two seconds. Its
|
|
175
|
+
* corner is the field's own — `fieldRadius` on the web, `radius.field` native.
|
|
176
|
+
*/
|
|
174
177
|
export const INPUT_PULSE = {
|
|
175
178
|
height: 56,
|
|
176
|
-
radiusUnits: 0.5,
|
|
177
179
|
opacity: 0.3,
|
|
178
180
|
ms: 2000,
|
|
179
181
|
spread: 10,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import { resolveInputProps } from './Input.helpers';
|
|
18
18
|
import { FieldPulse } from '../field-pulse.native';
|
|
19
19
|
import { fieldLook, helperStyle, labelStyle, type FieldState } from './Input.look.native';
|
|
20
|
-
import { ADORNMENT_GAP, INPUT_GLOW, INPUT_LOADING
|
|
20
|
+
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';
|
|
@@ -180,7 +180,7 @@ export const Input = React.forwardRef<RNTextInput, InputProps>((rawProps, ref) =
|
|
|
180
180
|
{pulse ? (
|
|
181
181
|
<FieldPulse
|
|
182
182
|
color={theme.palette.primary.main}
|
|
183
|
-
radius={theme.
|
|
183
|
+
radius={theme.radius.field}
|
|
184
184
|
testID={idFor('pulse')}
|
|
185
185
|
/>
|
|
186
186
|
) : null}
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
import type { InputProps } from './Input.types';
|
|
14
14
|
|
|
15
15
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
16
|
+
import { fieldRadius } from '../../../tokens/field-radius';
|
|
16
17
|
|
|
17
18
|
type InputVariant = NonNullable<InputProps['variant']>;
|
|
18
19
|
|
|
@@ -56,7 +57,7 @@ export const pulseStyles = (theme: Theme): CSSObject => ({
|
|
|
56
57
|
right: '0',
|
|
57
58
|
height: `${INPUT_PULSE.height}px`,
|
|
58
59
|
transform: 'translateY(-50%)',
|
|
59
|
-
borderRadius: theme
|
|
60
|
+
borderRadius: fieldRadius(theme),
|
|
60
61
|
backgroundColor: theme.palette.primary.main,
|
|
61
62
|
opacity: INPUT_PULSE.opacity,
|
|
62
63
|
animation: `${pulseAnimation} ${INPUT_PULSE.ms / 1000}s infinite`,
|
|
@@ -76,6 +77,18 @@ export const floatingLabelStyles = (theme: Theme): CSSObject => ({
|
|
|
76
77
|
},
|
|
77
78
|
});
|
|
78
79
|
|
|
80
|
+
/**
|
|
81
|
+
* The field's corner: the theme's one field radius (see `tokens/field-radius`).
|
|
82
|
+
* `filled` rounds its top two only — its bottom edge is the underline — and
|
|
83
|
+
* `underline` none, which is how MUI draws those two variants.
|
|
84
|
+
*/
|
|
85
|
+
export const inputRadiusStyles = (theme: Theme, variant?: InputVariant): CSSObject => {
|
|
86
|
+
if (variant === 'underline') return {};
|
|
87
|
+
const radius = fieldRadius(theme);
|
|
88
|
+
if (variant === 'filled') return { borderTopLeftRadius: radius, borderTopRightRadius: radius };
|
|
89
|
+
return { borderRadius: radius };
|
|
90
|
+
};
|
|
91
|
+
|
|
79
92
|
export const inputBaseStyles = (theme: Theme, variant?: InputVariant): CSSObject => {
|
|
80
93
|
switch (variant) {
|
|
81
94
|
case 'glass':
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
floatingLabelStyles,
|
|
12
12
|
glowStyles,
|
|
13
13
|
inputBaseStyles,
|
|
14
|
+
inputRadiusStyles,
|
|
14
15
|
muiVariantFor,
|
|
15
16
|
outlinedStyles,
|
|
16
17
|
pulseStyles,
|
|
@@ -45,6 +46,7 @@ const StyledTextField = styled(TextFieldSlim, {
|
|
|
45
46
|
|
|
46
47
|
'& .MuiInputBase-root': {
|
|
47
48
|
transition: 'all 0.3s ease',
|
|
49
|
+
...inputRadiusStyles(theme, customVariant),
|
|
48
50
|
...inputBaseStyles(theme, customVariant),
|
|
49
51
|
},
|
|
50
52
|
|
|
@@ -2,6 +2,7 @@ import { alpha } from '@mui/material/styles/index.js';
|
|
|
2
2
|
import type { CSSObject, Theme } from '@mui/material/styles/index.js';
|
|
3
3
|
|
|
4
4
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
5
|
+
import { fieldRadius } from '../../../tokens/field-radius';
|
|
5
6
|
|
|
6
7
|
interface ColorPalette {
|
|
7
8
|
main: string;
|
|
@@ -80,7 +81,7 @@ export const otpSlotSx = (theme: Theme, flags: OtpSlotFlags): CSSObject => {
|
|
|
80
81
|
fontSize,
|
|
81
82
|
fontWeight: 600,
|
|
82
83
|
textAlign: 'center',
|
|
83
|
-
borderRadius: theme
|
|
84
|
+
borderRadius: fieldRadius(theme),
|
|
84
85
|
...(glass && {
|
|
85
86
|
backgroundColor: alpha(theme.palette.background.paper, 0.1),
|
|
86
87
|
backdropFilter: 'blur(20px)',
|
|
@@ -18,12 +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, fieldRootStyles } from '../../../tokens/field-radius';
|
|
21
22
|
|
|
22
23
|
// Country data with expanded support
|
|
23
24
|
|
|
24
25
|
// Styled components
|
|
26
|
+
/** The plain variant: MUI's own field, on the theme's field radius. */
|
|
27
|
+
const FieldTextField = styled(TextField)(({ theme }) => fieldRootStyles(theme));
|
|
28
|
+
|
|
25
29
|
const GlassTextField = styled(TextField)(({ theme }) => ({
|
|
26
30
|
'& .MuiOutlinedInput-root': {
|
|
31
|
+
borderRadius: fieldRadius(theme),
|
|
27
32
|
background: `linear-gradient(135deg, ${alpha(theme.palette.background.paper, 0.8)} 0%, ${alpha(theme.palette.background.paper, 0.6)} 100%)`,
|
|
28
33
|
backdropFilter: 'blur(10px)',
|
|
29
34
|
WebkitBackdropFilter: 'blur(10px)',
|
|
@@ -332,7 +337,7 @@ export const PhoneInput: FC<PhoneInputProps> = (props) => {
|
|
|
332
337
|
countryName: selectedCountry?.name,
|
|
333
338
|
copy });
|
|
334
339
|
|
|
335
|
-
const TextFieldComponent = variant === 'glass' ? GlassTextField :
|
|
340
|
+
const TextFieldComponent = variant === 'glass' ? GlassTextField : FieldTextField;
|
|
336
341
|
|
|
337
342
|
return (
|
|
338
343
|
<Box data-testid="phone-input-container">
|
|
@@ -4,6 +4,11 @@ import type { CSSObject, Theme } from '@mui/material/styles/index.js';
|
|
|
4
4
|
import { glowAnimation, rippleAnimation, scaleAnimation, slideAnimation } from './RadioGroup.animations';
|
|
5
5
|
|
|
6
6
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
7
|
+
import { fieldRadius } from '../../../tokens/field-radius';
|
|
8
|
+
|
|
9
|
+
/** The segment track's padding and border: its corner is the segments' plus these. */
|
|
10
|
+
const SEGMENT_TRACK_PADDING = 4;
|
|
11
|
+
const SEGMENT_TRACK_BORDER = 1;
|
|
7
12
|
|
|
8
13
|
interface ColorPalette {
|
|
9
14
|
main: string;
|
|
@@ -182,7 +187,7 @@ const buttonBase = (theme: Theme, flags: SurfaceFlags, palette: ColorPalette): C
|
|
|
182
187
|
const { selected, animated, customSize = 'md' } = flags;
|
|
183
188
|
|
|
184
189
|
return {
|
|
185
|
-
borderRadius: theme
|
|
190
|
+
borderRadius: fieldRadius(theme),
|
|
186
191
|
transition: 'all 0.3s cubic-bezier(0.4, 0, 0.2, 1)',
|
|
187
192
|
fontWeight: 500,
|
|
188
193
|
border: `2px solid ${selected ? palette.main : fieldEdge(theme)}`,
|
|
@@ -249,13 +254,14 @@ export const segmentContainerSx = (
|
|
|
249
254
|
const palette = getColorFromTheme(theme, customColor);
|
|
250
255
|
|
|
251
256
|
return {
|
|
252
|
-
padding:
|
|
253
|
-
|
|
257
|
+
padding: `${SEGMENT_TRACK_PADDING}px`,
|
|
258
|
+
// Concentric with the segments inside it, which take the field radius.
|
|
259
|
+
borderRadius: fieldRadius(theme) + SEGMENT_TRACK_PADDING + SEGMENT_TRACK_BORDER,
|
|
254
260
|
backgroundColor: glass
|
|
255
261
|
? alpha(theme.palette.background.paper, 0.1)
|
|
256
262
|
: alpha(palette.main, 0.05),
|
|
257
263
|
backdropFilter: glass ? 'blur(20px)' : 'none',
|
|
258
|
-
border:
|
|
264
|
+
border: `${SEGMENT_TRACK_BORDER}px solid ${alpha(theme.palette.divider, 0.2)}`,
|
|
259
265
|
display: 'flex',
|
|
260
266
|
gap: '2px',
|
|
261
267
|
};
|
|
@@ -283,7 +289,7 @@ export const segmentButtonSx = (theme: Theme, flags: SurfaceFlags): CSSObject =>
|
|
|
283
289
|
|
|
284
290
|
return {
|
|
285
291
|
flex: 1,
|
|
286
|
-
borderRadius: theme
|
|
292
|
+
borderRadius: fieldRadius(theme),
|
|
287
293
|
transition: 'all 0.3s cubic-bezier(0.4, 0, 0.2, 1)',
|
|
288
294
|
fontWeight: 500,
|
|
289
295
|
backgroundColor: selected ? theme.palette.background.paper : 'transparent',
|
|
@@ -9,6 +9,7 @@ import type { RichTextEditorProps, ToolbarConfig } from './RichTextEditor.types'
|
|
|
9
9
|
import { RichTextEditorToolbar } from './RichTextEditorToolbar';
|
|
10
10
|
|
|
11
11
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
12
|
+
import { fieldRadiusPx } from '../../../tokens/field-radius';
|
|
12
13
|
|
|
13
14
|
const DEFAULT_TOOLBAR: Required<Omit<ToolbarConfig, 'customItems'>> & Pick<ToolbarConfig, 'customItems'> = {
|
|
14
15
|
bold: true,
|
|
@@ -71,7 +72,7 @@ const editorContentSx = (theme: Theme, disabled: boolean, placeholder?: string,
|
|
|
71
72
|
|
|
72
73
|
const shellSx = (theme: Theme, isFocused: boolean, disabled: boolean) => ({
|
|
73
74
|
border: `1px solid ${fieldEdge(theme)}`,
|
|
74
|
-
borderRadius:
|
|
75
|
+
borderRadius: fieldRadiusPx(theme),
|
|
75
76
|
overflow: 'hidden',
|
|
76
77
|
transition: 'border-color 0.2s ease-in-out',
|
|
77
78
|
...(isFocused && {
|
|
@@ -22,7 +22,6 @@ import {
|
|
|
22
22
|
SELECT_GLOW,
|
|
23
23
|
SELECT_ICON,
|
|
24
24
|
SELECT_MENU,
|
|
25
|
-
SELECT_PULSE,
|
|
26
25
|
inputVariantFor,
|
|
27
26
|
selectInputSize,
|
|
28
27
|
} from './Select.metrics';
|
|
@@ -209,7 +208,7 @@ export const Select = React.forwardRef<View, SelectProps>((rawProps, ref) => {
|
|
|
209
208
|
{pulse ? (
|
|
210
209
|
<FieldPulse
|
|
211
210
|
color={theme.palette.primary.main}
|
|
212
|
-
radius={theme.
|
|
211
|
+
radius={theme.radius.field}
|
|
213
212
|
testID={`${ids.trigger}-pulse`}
|
|
214
213
|
/>
|
|
215
214
|
) : null}
|
|
@@ -18,6 +18,7 @@ import type { SelectProps } from './Select.types';
|
|
|
18
18
|
|
|
19
19
|
import { splitTestId } from '../../../platform/test-id';
|
|
20
20
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
21
|
+
import { fieldRadius } from '../../../tokens/field-radius';
|
|
21
22
|
|
|
22
23
|
// Define pulse animation
|
|
23
24
|
const pulseAnimation = keyframes`
|
|
@@ -55,7 +56,7 @@ const pulseStyles = (theme: Theme): CSSObject => ({
|
|
|
55
56
|
right: '0',
|
|
56
57
|
height: `${SELECT_PULSE.height}px`,
|
|
57
58
|
transform: 'translateY(-50%)',
|
|
58
|
-
borderRadius: theme
|
|
59
|
+
borderRadius: fieldRadius(theme),
|
|
59
60
|
backgroundColor: theme.palette.primary.main,
|
|
60
61
|
opacity: SELECT_PULSE.opacity,
|
|
61
62
|
animation: `${pulseAnimation} ${SELECT_PULSE.ms / 1000}s infinite`,
|
|
@@ -144,6 +145,7 @@ const StyledFormControl = styled(FormControl, {
|
|
|
144
145
|
...(pulse ? pulseStyles(theme) : {}),
|
|
145
146
|
'& .MuiOutlinedInput-root': {
|
|
146
147
|
transition: 'all 0.3s ease',
|
|
148
|
+
borderRadius: fieldRadius(theme),
|
|
147
149
|
...variantStyles(theme, customVariant),
|
|
148
150
|
},
|
|
149
151
|
}));
|
|
@@ -31,6 +31,7 @@ const TextareaRichEditor = lazy(async () => ({
|
|
|
31
31
|
import type { TextareaProps } from './Textarea.types';
|
|
32
32
|
|
|
33
33
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
34
|
+
import { fieldRadius } from '../../../tokens/field-radius';
|
|
34
35
|
|
|
35
36
|
// Interface for styled component props
|
|
36
37
|
interface StyledTextareaProps {
|
|
@@ -72,7 +73,7 @@ const StyledTextarea = styled(TextareaAutosize, {
|
|
|
72
73
|
const baseStyles = {
|
|
73
74
|
width: '100%',
|
|
74
75
|
fontFamily: theme.typography.fontFamily,
|
|
75
|
-
borderRadius: theme
|
|
76
|
+
borderRadius: fieldRadius(theme),
|
|
76
77
|
border: `2px solid ${error ? errorColor.main : fieldEdge(theme)}`,
|
|
77
78
|
backgroundColor: theme.palette.background.paper,
|
|
78
79
|
color: theme.palette.text.primary,
|
|
@@ -20,13 +20,14 @@ import { floatAnimation, getColorFromTheme } from './Textarea.styles';
|
|
|
20
20
|
import type { RichEditorToolbarCopy } from '../../../copy';
|
|
21
21
|
|
|
22
22
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
23
|
+
import { fieldRadius } from '../../../tokens/field-radius';
|
|
23
24
|
|
|
24
25
|
const RichToolbar = styled(Box)<{ glass?: boolean }>(({ theme, glass }) => ({
|
|
25
26
|
display: 'flex',
|
|
26
27
|
alignItems: 'center',
|
|
27
28
|
gap: theme.spacing(0.5),
|
|
28
29
|
padding: theme.spacing(1),
|
|
29
|
-
borderRadius: `${theme
|
|
30
|
+
borderRadius: `${fieldRadius(theme)}px ${fieldRadius(theme)}px 0 0`,
|
|
30
31
|
borderBottom: `1px solid ${theme.palette.divider}`,
|
|
31
32
|
background: glass ? alpha(theme.palette.background.paper, 0.1) : theme.palette.background.paper,
|
|
32
33
|
...(glass && {
|
|
@@ -105,7 +106,7 @@ const ContentEditableDiv = styled('div')<{
|
|
|
105
106
|
return {
|
|
106
107
|
minHeight: '120px',
|
|
107
108
|
padding: theme.spacing(1.5),
|
|
108
|
-
borderRadius: `0 0 ${theme
|
|
109
|
+
borderRadius: `0 0 ${fieldRadius(theme)}px ${fieldRadius(theme)}px`,
|
|
109
110
|
border: `2px solid ${error ? errorColor.main : focused ? colorPalette.main : fieldEdge(theme)}`,
|
|
110
111
|
borderTop: 'none',
|
|
111
112
|
backgroundColor: glass
|
|
@@ -2,6 +2,7 @@ import { alpha, keyframes } from '@mui/material/styles/index.js';
|
|
|
2
2
|
import type { CSSObject, PaletteColor, Theme } from '@mui/material/styles/index.js';
|
|
3
3
|
|
|
4
4
|
import { fieldEdge } from '../../../tokens/field-edge';
|
|
5
|
+
import { fieldRadius } from '../../../tokens/field-radius';
|
|
5
6
|
|
|
6
7
|
const glowAnimation = keyframes`
|
|
7
8
|
0% { box-shadow: 0 0 5px currentColor; }
|
|
@@ -74,7 +75,7 @@ export const baseStyles = (
|
|
|
74
75
|
): CSSObject => ({
|
|
75
76
|
textTransform: 'none',
|
|
76
77
|
fontWeight: 500,
|
|
77
|
-
borderRadius: theme
|
|
78
|
+
borderRadius: fieldRadius(theme),
|
|
78
79
|
transition: 'all 0.3s cubic-bezier(0.4, 0, 0.2, 1)',
|
|
79
80
|
border: `2px solid ${fieldEdge(theme)}`,
|
|
80
81
|
color: theme.palette.text.primary,
|
|
@@ -6,6 +6,11 @@ import type { Theme } from '@mui/material/styles/index.js';
|
|
|
6
6
|
import React, { forwardRef } from 'react';
|
|
7
7
|
|
|
8
8
|
import type { ToggleGroupProps } from './ToggleGroup.types';
|
|
9
|
+
import { cssLengthToPx } from '../../../tokens/css-units';
|
|
10
|
+
import { fieldRadius } from '../../../tokens/field-radius';
|
|
11
|
+
|
|
12
|
+
const GLASS_PADDING = 4;
|
|
13
|
+
const GLASS_BORDER = 1;
|
|
9
14
|
|
|
10
15
|
const getColorFromTheme = (theme: Theme, color: string) => {
|
|
11
16
|
if (color === 'neutral') {
|
|
@@ -43,19 +48,26 @@ const StyledToggleGroup = styled(ToggleButtonGroup, {
|
|
|
43
48
|
customColor?: string;
|
|
44
49
|
customSize?: string;
|
|
45
50
|
glass?: boolean;
|
|
46
|
-
}>(({ theme, glass }) =>
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
}>(({ theme, glass }) => {
|
|
52
|
+
// Each button is the field, so it takes the field radius. The glass frame
|
|
53
|
+
// around them is inset by its padding, the buttons' margin and its border,
|
|
54
|
+
// and rounds by that much more so the two corners stay concentric.
|
|
55
|
+
const radius = fieldRadius(theme);
|
|
56
|
+
const inset = GLASS_PADDING + cssLengthToPx(theme.spacing(0.5), 4) + GLASS_BORDER;
|
|
57
|
+
return {
|
|
58
|
+
backgroundColor: glass ? alpha(theme.palette.background.paper, 0.1) : 'transparent',
|
|
59
|
+
backdropFilter: glass ? 'blur(20px)' : 'none',
|
|
60
|
+
borderRadius: glass ? radius + inset : radius,
|
|
61
|
+
padding: glass ? GLASS_PADDING : 0,
|
|
62
|
+
border: glass ? `${GLASS_BORDER}px solid ${alpha(theme.palette.divider, 0.2)}` : 'none',
|
|
52
63
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
64
|
+
'& .MuiToggleButtonGroup-grouped': {
|
|
65
|
+
margin: theme.spacing(0.5),
|
|
66
|
+
border: 0,
|
|
67
|
+
borderRadius: `${radius}px !important`,
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
});
|
|
59
71
|
|
|
60
72
|
export const ToggleGroup = forwardRef<HTMLDivElement, ToggleGroupProps>(
|
|
61
73
|
(
|
|
@@ -10,6 +10,7 @@ import MenuItem from '@mui/material/MenuItem/index.js';
|
|
|
10
10
|
import React, { useState } from 'react';
|
|
11
11
|
|
|
12
12
|
import type { ColumnVisibilityOption, ColumnsMenuProps } from './ContentToolbar.types';
|
|
13
|
+
import { fieldRadiusPx } from '../../../tokens/field-radius';
|
|
13
14
|
|
|
14
15
|
/** One column checkbox row; toggling never closes the menu. */
|
|
15
16
|
function ColumnRow({
|
|
@@ -72,7 +73,7 @@ export function ColumnsMenu({
|
|
|
72
73
|
sx={{
|
|
73
74
|
width: 32,
|
|
74
75
|
height: 32,
|
|
75
|
-
borderRadius:
|
|
76
|
+
borderRadius: fieldRadiusPx,
|
|
76
77
|
color: 'text.secondary',
|
|
77
78
|
bgcolor: open ? 'action.selected' : 'transparent',
|
|
78
79
|
}}
|
|
@@ -8,11 +8,12 @@ import Typography from '@mui/material/Typography/index.js';
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
|
|
10
10
|
import type { ContentToolbarProps } from './ContentToolbar.types';
|
|
11
|
+
import { fieldRadiusPx } from '../../../tokens/field-radius';
|
|
11
12
|
|
|
12
13
|
const selectionButtonSx = {
|
|
13
14
|
minWidth: 0,
|
|
14
15
|
height: 'auto',
|
|
15
|
-
borderRadius:
|
|
16
|
+
borderRadius: fieldRadiusPx,
|
|
16
17
|
fontWeight: 600,
|
|
17
18
|
py: 0.5,
|
|
18
19
|
px: 1.5,
|
|
@@ -6,6 +6,7 @@ import Button from '@mui/material/Button/index.js';
|
|
|
6
6
|
import React from 'react';
|
|
7
7
|
|
|
8
8
|
import type { FilterTriggerProps } from './ContentToolbar.types';
|
|
9
|
+
import { fieldRadiusPx } from '../../../tokens/field-radius';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* Labeled filter toggle: a "Filtros" button (styled like the sibling toolbar
|
|
@@ -37,6 +38,7 @@ export function FilterTrigger({
|
|
|
37
38
|
height: 32,
|
|
38
39
|
px: 1,
|
|
39
40
|
gap: 0.25,
|
|
41
|
+
borderRadius: fieldRadiusPx,
|
|
40
42
|
textTransform: 'none',
|
|
41
43
|
fontWeight: 600,
|
|
42
44
|
color: active ? 'primary.main' : 'text.primary',
|
|
@@ -8,6 +8,7 @@ import Typography from '@mui/material/Typography/index.js';
|
|
|
8
8
|
import React, { useId } from 'react';
|
|
9
9
|
|
|
10
10
|
import type { MultiSelectOption } from './ContentToolbar.types';
|
|
11
|
+
import { fieldRadiusPx } from '../../../tokens/field-radius';
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
14
|
* Trigger label from the current selection: `allLabel` when none/all are
|
|
@@ -51,7 +52,7 @@ export function InlineTrigger({ label, triggerLabel, open, onOpen, testId }: Tri
|
|
|
51
52
|
aria-haspopup="menu"
|
|
52
53
|
aria-expanded={open}
|
|
53
54
|
onClick={onOpen}
|
|
54
|
-
sx={{ minWidth: 0, height: 32, px: 1, gap: 0.5, color: 'text.primary', textTransform: 'none', fontWeight: 600 }}
|
|
55
|
+
sx={{ minWidth: 0, height: 32, px: 1, gap: 0.5, borderRadius: fieldRadiusPx, color: 'text.primary', textTransform: 'none', fontWeight: 600 }}
|
|
55
56
|
>
|
|
56
57
|
{triggerLabel}
|
|
57
58
|
<ChevronDownIcon sx={{ fontSize: 14 }} />
|
|
@@ -82,6 +83,7 @@ export function StackedTrigger({ label, triggerLabel, open, onOpen, testId }: Tr
|
|
|
82
83
|
sx={{
|
|
83
84
|
justifyContent: 'space-between',
|
|
84
85
|
height: 40,
|
|
86
|
+
borderRadius: fieldRadiusPx,
|
|
85
87
|
px: 1.5,
|
|
86
88
|
color: 'text.primary',
|
|
87
89
|
textTransform: 'none',
|
|
@@ -173,7 +175,7 @@ export function PillTrigger({
|
|
|
173
175
|
}
|
|
174
176
|
endIcon={<ChevronDownIcon sx={{ fontSize: 16 }} />}
|
|
175
177
|
sx={{
|
|
176
|
-
borderRadius:
|
|
178
|
+
borderRadius: fieldRadiusPx,
|
|
177
179
|
height: 34,
|
|
178
180
|
px: 1.5,
|
|
179
181
|
color: 'text.primary',
|
|
@@ -16,6 +16,7 @@ import type {
|
|
|
16
16
|
SortFieldDefinition,
|
|
17
17
|
SortOrderOption,
|
|
18
18
|
} from './ContentToolbar.types';
|
|
19
|
+
import { fieldRadiusPx } from '../../../tokens/field-radius';
|
|
19
20
|
|
|
20
21
|
function findActiveField<TField extends string>(
|
|
21
22
|
fields: SortFieldDefinition<TField>[] | undefined,
|
|
@@ -218,7 +219,7 @@ export function SortByDropdown<TField extends string = string>({
|
|
|
218
219
|
aria-haspopup="menu"
|
|
219
220
|
aria-expanded={open}
|
|
220
221
|
onClick={(event) => setAnchorEl(event.currentTarget)}
|
|
221
|
-
sx={{ minWidth: 0, height: 32, px: 1, gap: 0.5, color: 'text.primary', textTransform: 'none', fontWeight: 600 }}
|
|
222
|
+
sx={{ minWidth: 0, height: 32, px: 1, gap: 0.5, borderRadius: fieldRadiusPx, color: 'text.primary', textTransform: 'none', fontWeight: 600 }}
|
|
222
223
|
>
|
|
223
224
|
{/* Full "Nome (crescente)" on md+; just the field name on mobile — the
|
|
224
225
|
arrow already conveys the direction, so the parenthetical is dropped. */}
|
|
@@ -18,6 +18,7 @@ import type SvgIcon from '@mui/material/SvgIcon/index.js';
|
|
|
18
18
|
import React, { useState } from 'react';
|
|
19
19
|
|
|
20
20
|
import type { ViewMode, ViewSelectorProps } from './ContentToolbar.types';
|
|
21
|
+
import { fieldRadiusPx } from '../../../tokens/field-radius';
|
|
21
22
|
|
|
22
23
|
const VIEW_OPTIONS: { value: ViewMode; label: string; icon: typeof SvgIcon }[] = [
|
|
23
24
|
{ value: 'grid', label: 'Grid View', icon: GridIcon },
|
|
@@ -66,7 +67,7 @@ export function ViewSelector({
|
|
|
66
67
|
aria-haspopup="menu"
|
|
67
68
|
aria-expanded={open}
|
|
68
69
|
onClick={(event) => setAnchorEl(event.currentTarget)}
|
|
69
|
-
sx={{ minWidth: 0, height: 32, px: 1, gap: 1, color: 'text.secondary' }}
|
|
70
|
+
sx={{ minWidth: 0, height: 32, px: 1, gap: 1, borderRadius: fieldRadiusPx, color: 'text.secondary' }}
|
|
70
71
|
>
|
|
71
72
|
<ActiveIcon sx={{ fontSize: 16 }} />
|
|
72
73
|
<ChevronDownIcon sx={{ fontSize: 14 }} />
|
|
@@ -24,6 +24,7 @@ import type {
|
|
|
24
24
|
TableFilterRangeFieldProps,
|
|
25
25
|
TableFilterSectionProps,
|
|
26
26
|
} from './TableFilter.types';
|
|
27
|
+
import { fieldRootStyles } from '../../../tokens/field-radius';
|
|
27
28
|
|
|
28
29
|
const PANEL_WIDTH = 280;
|
|
29
30
|
|
|
@@ -182,6 +183,7 @@ const TableFilterKeyword = ({
|
|
|
182
183
|
</Typography>
|
|
183
184
|
<TextField
|
|
184
185
|
size="small"
|
|
186
|
+
sx={fieldRootStyles}
|
|
185
187
|
name="keyword"
|
|
186
188
|
placeholder={placeholder}
|
|
187
189
|
value={draft}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PaletteColor, Theme, ThemeOptions } from '@mui/material/styles/index.js';
|
|
2
2
|
|
|
3
3
|
import { cssLengthToPx, cssTrackingToEm } from '../tokens/css-units';
|
|
4
|
+
import { fieldRadius, fieldRadiusOverrides } from '../tokens/field-radius';
|
|
4
5
|
import { accentFor } from '../tokens/scales';
|
|
5
6
|
import {
|
|
6
7
|
FONT_WEIGHTS,
|
|
@@ -97,7 +98,7 @@ export function uiThemeFromMui(theme: Theme): UiTheme {
|
|
|
97
98
|
},
|
|
98
99
|
spacing: (units: number) => units * unit,
|
|
99
100
|
spacingUnit: unit,
|
|
100
|
-
radius: { sm: md / 2, md, lg: md * 2, xl: md * 4, full: 9999 },
|
|
101
|
+
radius: { sm: md / 2, md, lg: md * 2, xl: md * 4, full: 9999, field: fieldRadius(theme) },
|
|
101
102
|
typography: {
|
|
102
103
|
fontFamily: theme.typography.fontFamily ?? WEB_FONT_FAMILY,
|
|
103
104
|
monospaceFontFamily: WEB_MONOSPACE_FONT_FAMILY,
|
|
@@ -134,6 +135,8 @@ export function muiThemeOptionsFrom(ui: UiTheme): ThemeOptions {
|
|
|
134
135
|
grey: { ...palette.grey },
|
|
135
136
|
},
|
|
136
137
|
shape: { borderRadius: ui.radius.md },
|
|
138
|
+
fieldRadius: ui.radius.field,
|
|
139
|
+
components: fieldRadiusOverrides(ui.radius.field),
|
|
137
140
|
spacing: ui.spacingUnit,
|
|
138
141
|
typography: { fontFamily: ui.typography.fontFamily ?? WEB_FONT_FAMILY },
|
|
139
142
|
zIndex: { ...ui.zIndex },
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THE ONE RADIUS EVERY FIELD IS DRAWN WITH, WITH NO RENDERER BEHIND IT.
|
|
3
|
+
*
|
|
4
|
+
* A row of controls — a search box, three filter triggers, a "Mais" button —
|
|
5
|
+
* used to carry three radii: the text field took MUI's `shape.borderRadius`
|
|
6
|
+
* (4px), the button `theme.spacing(1)` (8px), and the filter triggers a 999px
|
|
7
|
+
* pill. Each was reasonable on its own; side by side they read as three kits
|
|
8
|
+
* glued together. A field's corner is one decision, so it is one token.
|
|
9
|
+
*
|
|
10
|
+
* "Field" is anything that sits at control height and takes input or opens a
|
|
11
|
+
* choice: text inputs, selects, textareas, OTP slots, date and filter triggers,
|
|
12
|
+
* toggles, and the buttons that share their rows. It is NOT a card, a menu, a
|
|
13
|
+
* badge or a chip counter — those keep the theme's general `radius` scale.
|
|
14
|
+
*
|
|
15
|
+
* This file is the number alone, so the native renderer and `./theme.ts` read
|
|
16
|
+
* it without importing MUI. The web reader and the theme channel it is set
|
|
17
|
+
* through are in `./field-radius.ts`.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* The default field radius, in px (dp on native).
|
|
22
|
+
*
|
|
23
|
+
* 8, because that is what `Button` has always drawn — so the control people
|
|
24
|
+
* see most keeps its corner and the rest of the row comes to meet it.
|
|
25
|
+
*/
|
|
26
|
+
export const DEFAULT_FIELD_RADIUS = 8;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { Components, CSSObject, Theme } from '@mui/material/styles/index.js';
|
|
2
|
+
|
|
3
|
+
import { DEFAULT_FIELD_RADIUS } from './field-radius.core';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* THE FIELD RADIUS ON THE WEB: the theme channel, the reader, and the MUI
|
|
7
|
+
* overrides that carry it into controls this package does not style itself.
|
|
8
|
+
*
|
|
9
|
+
* The argument for one radius is in `./field-radius.core.ts`.
|
|
10
|
+
*
|
|
11
|
+
* ## Why a key of our own, and not `shape.borderRadius`
|
|
12
|
+
*
|
|
13
|
+
* `shape.borderRadius` is MUI's GENERAL radius: `Paper`, `Card`, `Menu`,
|
|
14
|
+
* `Alert`, `Chip` and every `sx={{ borderRadius: n }}` multiply it. Moving it to
|
|
15
|
+
* round the fields would round every surface in the app along with them. A
|
|
16
|
+
* separate key moves the fields and nothing else.
|
|
17
|
+
*
|
|
18
|
+
* It is a top-level theme key rather than `shape.fieldRadius` because MUI types
|
|
19
|
+
* `shape` in `@mui/system`, which this package does not depend on — augmenting
|
|
20
|
+
* it would fail to resolve in a host. MUI documents top-level custom variables
|
|
21
|
+
* for exactly this, and `createTheme` carries unknown keys through.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
export { DEFAULT_FIELD_RADIUS } from './field-radius.core';
|
|
25
|
+
|
|
26
|
+
declare module '@mui/material/styles' {
|
|
27
|
+
interface Theme {
|
|
28
|
+
/** The radius every field is drawn with, in px. See `@12-apps/ui/tokens`' `fieldRadius`. */
|
|
29
|
+
fieldRadius?: number;
|
|
30
|
+
}
|
|
31
|
+
interface ThemeOptions {
|
|
32
|
+
/** The radius every field is drawn with, in px. Defaults to {@link DEFAULT_FIELD_RADIUS}. */
|
|
33
|
+
fieldRadius?: number;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/** The field radius the host's theme asks for, in px — the default when it asks for none. */
|
|
38
|
+
export function fieldRadius(theme: Theme): number {
|
|
39
|
+
const radius = theme.fieldRadius;
|
|
40
|
+
return typeof radius === 'number' && Number.isFinite(radius) && radius >= 0 ? radius : DEFAULT_FIELD_RADIUS;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* {@link fieldRadius} as a `px` string, for `sx`.
|
|
45
|
+
*
|
|
46
|
+
* `sx` MULTIPLIES a bare number by `shape.borderRadius` — `sx={{ borderRadius: 8 }}`
|
|
47
|
+
* is 32px on the default theme — so a field radius handed to `sx` must carry
|
|
48
|
+
* its unit. `styled()` objects take the plain number.
|
|
49
|
+
*/
|
|
50
|
+
export function fieldRadiusPx(theme: Theme): string {
|
|
51
|
+
return `${fieldRadius(theme)}px`;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* The field radius on a MUI `TextField`'s input root — for a composite that
|
|
56
|
+
* renders MUI's own `TextField`, so it follows the theme's field radius under
|
|
57
|
+
* ANY theme, not only one built with {@link fieldRadiusOverrides}. Plain CSS
|
|
58
|
+
* with the unit, so it works as `styled()` styles and as an `sx` entry.
|
|
59
|
+
*/
|
|
60
|
+
export function fieldRootStyles(theme: Theme): CSSObject {
|
|
61
|
+
const radius = fieldRadiusPx(theme);
|
|
62
|
+
return {
|
|
63
|
+
'& .MuiOutlinedInput-root': { borderRadius: radius },
|
|
64
|
+
'& .MuiFilledInput-root': { borderTopLeftRadius: radius, borderTopRightRadius: radius },
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* MUI component overrides that round MUI's OWN fields to `radius`.
|
|
70
|
+
*
|
|
71
|
+
* This package's fields read {@link fieldRadius} themselves, so they are right
|
|
72
|
+
* under any theme. These overrides are for the host's: a bare `TextField`,
|
|
73
|
+
* `Select` or `Button` a host renders straight from MUI would otherwise keep
|
|
74
|
+
* `shape.borderRadius` and sit in the row with a different corner. A theme builder spreads them into `components`, under the
|
|
75
|
+
* host's own entries so a host override still wins.
|
|
76
|
+
*
|
|
77
|
+
* `FilledInput` rounds its top corners only — its bottom edge is the underline.
|
|
78
|
+
*/
|
|
79
|
+
export function fieldRadiusOverrides(radius: number = DEFAULT_FIELD_RADIUS): Components<Theme> {
|
|
80
|
+
return {
|
|
81
|
+
MuiOutlinedInput: { styleOverrides: { root: { borderRadius: radius } } },
|
|
82
|
+
MuiFilledInput: {
|
|
83
|
+
styleOverrides: { root: { borderTopLeftRadius: radius, borderTopRightRadius: radius } },
|
|
84
|
+
},
|
|
85
|
+
MuiButton: { styleOverrides: { root: { borderRadius: radius } } },
|
|
86
|
+
// The group squares its inner corners itself, so rounding each button
|
|
87
|
+
// rounds the group's outer ones.
|
|
88
|
+
MuiToggleButton: { styleOverrides: { root: { borderRadius: radius } } },
|
|
89
|
+
};
|
|
90
|
+
}
|