@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.
Files changed (828) hide show
  1. package/components-guidelines.md +31 -0
  2. package/dist/_internal/components/data-display/Alert/Alert.js +5 -4
  3. package/dist/_internal/components/data-display/Alert/Alert.metrics.js +3 -2
  4. package/dist/_internal/components/data-display/Alert/Alert.styles.js +4 -3
  5. package/dist/_internal/components/data-display/Avatar/Avatar.js +6 -5
  6. package/dist/_internal/components/data-display/Avatar/Avatar.view.js +4 -3
  7. package/dist/_internal/components/data-display/Badge/Badge.animations.js +3 -2
  8. package/dist/_internal/components/data-display/Badge/Badge.js +7 -6
  9. package/dist/_internal/components/data-display/Badge/Badge.metrics.js +3 -2
  10. package/dist/_internal/components/data-display/Badge/Badge.styles.js +4 -3
  11. package/dist/_internal/components/data-display/Badge/Badge.variants.js +3 -2
  12. package/dist/_internal/components/data-display/Badge/BadgeContent.js +5 -4
  13. package/dist/_internal/components/data-display/Banner/Banner.js +3 -2
  14. package/dist/_internal/components/data-display/Banner/Banner.styles.js +3 -2
  15. package/dist/_internal/components/data-display/CardKit/CardKebab.js +8 -6
  16. package/dist/_internal/components/data-display/CardKit/card-actions-context.js +6 -5
  17. package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +13 -11
  18. package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +9 -7
  19. package/dist/_internal/components/data-display/Carousel/Carousel.chrome.js +7 -5
  20. package/dist/_internal/components/data-display/Carousel/Carousel.js +10 -8
  21. package/dist/_internal/components/data-display/Carousel/Carousel.parts.js +6 -4
  22. package/dist/_internal/components/data-display/Carousel/Carousel.styles.js +6 -4
  23. package/dist/_internal/components/data-display/Chart/Chart.js +9 -7
  24. package/dist/_internal/components/data-display/Chart/SpecChart.js +12 -10
  25. package/dist/_internal/components/data-display/Chart/chart-context.js +7 -5
  26. package/dist/_internal/components/data-display/Chart/chart-internals.js +6 -4
  27. package/dist/_internal/components/data-display/Chart/chart-renderers.js +8 -6
  28. package/dist/_internal/components/data-display/DataViews/DataViewsBoard.js +6 -5
  29. package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +64 -62
  30. package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +84 -82
  31. package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +10 -8
  32. package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +12 -10
  33. package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +19 -17
  34. package/dist/_internal/components/data-display/DataViews/base-card.js +10 -9
  35. package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +11 -10
  36. package/dist/_internal/components/data-display/DataViews/base-list-card-gutters.js +5 -4
  37. package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +10 -9
  38. package/dist/_internal/components/data-display/DataViews/base-list-card.js +17 -16
  39. package/dist/_internal/components/data-display/DataViews/card-surface.js +3 -2
  40. package/dist/_internal/components/data-display/DataViews/data-views-bar-controls.js +3 -1
  41. package/dist/_internal/components/data-display/DataViews/data-views-category-pill.js +19 -17
  42. package/dist/_internal/components/data-display/DataViews/data-views-columns-tab.js +6 -5
  43. package/dist/_internal/components/data-display/DataViews/data-views-columns.js +9 -7
  44. package/dist/_internal/components/data-display/DataViews/data-views-day-input.js +3 -1
  45. package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +15 -13
  46. package/dist/_internal/components/data-display/DataViews/data-views-display-tabs.js +8 -7
  47. package/dist/_internal/components/data-display/DataViews/data-views-empty.js +10 -8
  48. package/dist/_internal/components/data-display/DataViews/data-views-export.js +10 -8
  49. package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +24 -22
  50. package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +16 -14
  51. package/dist/_internal/components/data-display/DataViews/data-views-grid-helpers.js +8 -6
  52. package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +61 -59
  53. package/dist/_internal/components/data-display/DataViews/data-views-header-row.js +6 -5
  54. package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +35 -33
  55. package/dist/_internal/components/data-display/DataViews/data-views-layout-context.js +2 -2
  56. package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +18 -16
  57. package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +22 -20
  58. package/dist/_internal/components/data-display/DataViews/data-views-number-input.js +3 -1
  59. package/dist/_internal/components/data-display/DataViews/data-views-pagination.js +3 -3
  60. package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +6 -4
  61. package/dist/_internal/components/data-display/DataViews/data-views-scope-tabs.js +3 -3
  62. package/dist/_internal/components/data-display/DataViews/data-views-search.js +3 -1
  63. package/dist/_internal/components/data-display/DataViews/data-views-select-all-strip.js +10 -8
  64. package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +26 -24
  65. package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +32 -30
  66. package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +25 -23
  67. package/dist/_internal/components/data-display/DataViews/data-views-view-nav.js +10 -8
  68. package/dist/_internal/components/data-display/DataViews/list-card-rails.js +3 -3
  69. package/dist/_internal/components/data-display/DataViews/save-view-preview.js +6 -5
  70. package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +11 -9
  71. package/dist/_internal/components/data-display/DataViews/use-saved-views-controller.js +2 -2
  72. package/dist/_internal/components/data-display/DescriptionItem/DescriptionItem.js +6 -5
  73. package/dist/_internal/components/data-display/FleetMap/FleetBody.js +14 -12
  74. package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +13 -11
  75. package/dist/_internal/components/data-display/FleetMap/FleetMap.js +20 -18
  76. package/dist/_internal/components/data-display/HoverCard/HoverCard.js +2 -2
  77. package/dist/_internal/components/data-display/Lightbox/Lightbox.js +3 -3
  78. package/dist/_internal/components/data-display/MapPreview/MapDecorations.js +2 -2
  79. package/dist/_internal/components/data-display/MapPreview/MapLayers.js +5 -3
  80. package/dist/_internal/components/data-display/MapPreview/MapPreview.hooks.js +2 -2
  81. package/dist/_internal/components/data-display/MapPreview/MapPreview.js +12 -10
  82. package/dist/_internal/components/data-display/MapPreview/MapSearchBar.js +3 -1
  83. package/dist/_internal/components/data-display/MapPreview/MapTiles.js +2 -2
  84. package/dist/_internal/components/data-display/MapPreview/StaticMapView.js +4 -4
  85. package/dist/_internal/components/data-display/MapPreview/useMapPreview.js +3 -3
  86. package/dist/_internal/components/data-display/Progress/Progress.js +6 -5
  87. package/dist/_internal/components/data-display/Progress/Progress.metrics.js +4 -3
  88. package/dist/_internal/components/data-display/Progress/Progress.styles.js +5 -4
  89. package/dist/_internal/components/data-display/Sheet/Sheet.body.js +5 -3
  90. package/dist/_internal/components/data-display/Sheet/Sheet.hooks.js +2 -2
  91. package/dist/_internal/components/data-display/Sheet/Sheet.js +9 -7
  92. package/dist/_internal/components/data-display/Sheet/Sheet.styles.js +6 -4
  93. package/dist/_internal/components/data-display/Table/Table.js +3 -3
  94. package/dist/_internal/components/data-display/index.js +65 -63
  95. package/dist/_internal/components/feedback/ConfirmAction/ConfirmButton.js +8 -6
  96. package/dist/_internal/components/feedback/Modal/Modal.js +2 -2
  97. package/dist/_internal/components/feedback/NotificationStatusNotice/NotificationStatusNotice.js +10 -8
  98. package/dist/_internal/components/feedback/index.js +16 -14
  99. package/dist/_internal/components/form/AddressAutocomplete/AddressAutocomplete.js +9 -7
  100. package/dist/_internal/components/form/AddressAutocomplete/AddressAutocompleteField.js +6 -4
  101. package/dist/_internal/components/form/AddressAutocomplete/AddressFallbackField.js +4 -2
  102. package/dist/_internal/components/form/AddressAutocomplete/AddressInputField.js +4 -2
  103. package/dist/_internal/components/form/AddressAutocomplete/AddressTextField.js +3 -1
  104. package/dist/_internal/components/form/Autocomplete/Autocomplete.js +4 -2
  105. package/dist/_internal/components/form/Autocomplete/Autocomplete.parts.js +3 -1
  106. package/dist/_internal/components/form/Button/Button.js +7 -5
  107. package/dist/_internal/components/form/Button/Button.metrics.js +1 -3
  108. package/dist/_internal/components/form/Button/Button.styles.js +5 -4
  109. package/dist/_internal/components/form/Calendar/Calendar.js +4 -4
  110. package/dist/_internal/components/form/Calendar/CalendarDayCell.js +2 -2
  111. package/dist/_internal/components/form/Calendar/CalendarMonth.js +3 -3
  112. package/dist/_internal/components/form/CategorySelect/CategoryPanel.js +9 -7
  113. package/dist/_internal/components/form/CategorySelect/CategoryPanelFoot.js +4 -2
  114. package/dist/_internal/components/form/CategorySelect/CategoryPanelHead.js +4 -2
  115. package/dist/_internal/components/form/CategorySelect/CategoryPanelList.js +6 -4
  116. package/dist/_internal/components/form/CategorySelect/CategoryRows.js +5 -3
  117. package/dist/_internal/components/form/CategorySelect/CategorySelect.js +11 -9
  118. package/dist/_internal/components/form/CategorySelect/CategorySelect.styles.js +3 -1
  119. package/dist/_internal/components/form/CategorySelect/CategoryTrigger.js +4 -2
  120. package/dist/_internal/components/form/CepField/CepField.js +6 -4
  121. package/dist/_internal/components/form/Checkbox/Checkbox.js +4 -3
  122. package/dist/_internal/components/form/CodeEditor/CodeEditor.js +4 -2
  123. package/dist/_internal/components/form/Command/Command.js +7 -5
  124. package/dist/_internal/components/form/Command/Command.styles.js +6 -4
  125. package/dist/_internal/components/form/CreatableSelect/CreatableSelect.js +3 -1
  126. package/dist/_internal/components/form/DateRangePicker/DateRangePicker.hooks.js +5 -3
  127. package/dist/_internal/components/form/DateRangePicker/DateRangePicker.js +12 -10
  128. package/dist/_internal/components/form/DateRangePicker/DateRangePicker.range.js +4 -2
  129. package/dist/_internal/components/form/DateRangePicker/DateRangePickerFields.js +5 -3
  130. package/dist/_internal/components/form/Input/Input.js +5 -3
  131. package/dist/_internal/components/form/Input/Input.metrics.js +1 -1
  132. package/dist/_internal/components/form/Input/Input.styles.js +6 -2
  133. package/dist/_internal/components/form/InputOTP/InputOTP.js +4 -2
  134. package/dist/_internal/components/form/InputOTP/InputOTP.styles.js +3 -1
  135. package/dist/_internal/components/form/Label/Label.js +7 -5
  136. package/dist/_internal/components/form/Label/Label.styles.js +6 -4
  137. package/dist/_internal/components/form/Menubar/Menubar.item.js +7 -5
  138. package/dist/_internal/components/form/Menubar/Menubar.js +9 -7
  139. package/dist/_internal/components/form/Menubar/Menubar.styles.js +6 -4
  140. package/dist/_internal/components/form/Menubar/Menubar.toolbar.js +8 -6
  141. package/dist/_internal/components/form/PhoneInput/PhoneInput.js +3 -1
  142. package/dist/_internal/components/form/RadioGroup/RadioGroup.js +5 -3
  143. package/dist/_internal/components/form/RadioGroup/RadioGroup.styles.js +3 -1
  144. package/dist/_internal/components/form/RadioGroup/RadioGroup.variants.js +4 -2
  145. package/dist/_internal/components/form/RichTextEditor/RichTextEditor.js +4 -2
  146. package/dist/_internal/components/form/Select/Select.js +4 -2
  147. package/dist/_internal/components/form/Select/Select.metrics.js +1 -1
  148. package/dist/_internal/components/form/Switch/Switch.js +8 -7
  149. package/dist/_internal/components/form/Switch/Switch.parts.js +6 -5
  150. package/dist/_internal/components/form/Switch/Switch.styles.js +5 -4
  151. package/dist/_internal/components/form/Textarea/Textarea.js +3 -1
  152. package/dist/_internal/components/form/Textarea/TextareaRichEditor.js +6 -2
  153. package/dist/_internal/components/form/Textarea/TextareaRichEditor.js.map +1 -1
  154. package/dist/_internal/components/form/Toggle/Toggle.js +4 -2
  155. package/dist/_internal/components/form/Toggle/Toggle.styles.js +3 -1
  156. package/dist/_internal/components/form/ToggleGroup/ToggleGroup.js +4 -1
  157. package/dist/_internal/components/form/UploadButton/UploadButton.js +2 -2
  158. package/dist/_internal/components/form/index.js +62 -60
  159. package/dist/_internal/components/form/total-form/Fields/CategoryField.js +12 -10
  160. package/dist/_internal/components/form/total-form/Fields/CepField.js +7 -5
  161. package/dist/_internal/components/form/total-form/Fields/SelectField.js +5 -3
  162. package/dist/_internal/components/form/total-form/Fields/TextField.js +6 -4
  163. package/dist/_internal/components/form/total-form/Fields/ToggleField.js +5 -2
  164. package/dist/_internal/components/form/total-form/Fields/index.js +24 -21
  165. package/dist/_internal/components/form/total-form/SubmitButton.js +8 -6
  166. package/dist/_internal/components/index.js +160 -158
  167. package/dist/_internal/components/layout/Box/Box.js +8 -6
  168. package/dist/_internal/components/layout/Card/Card.js +2 -2
  169. package/dist/_internal/components/layout/ContentToolbar/ColumnsMenu.js +3 -1
  170. package/dist/_internal/components/layout/ContentToolbar/ContentToolbar.js +3 -1
  171. package/dist/_internal/components/layout/ContentToolbar/FilterTrigger.js +3 -1
  172. package/dist/_internal/components/layout/ContentToolbar/MultiSelectDropdown.js +4 -2
  173. package/dist/_internal/components/layout/ContentToolbar/MultiSelectTriggers.js +3 -1
  174. package/dist/_internal/components/layout/ContentToolbar/SortByDropdown.js +3 -1
  175. package/dist/_internal/components/layout/ContentToolbar/ViewSelector.js +3 -1
  176. package/dist/_internal/components/layout/SettingsLayout/SettingsLayout.js +3 -3
  177. package/dist/_internal/components/layout/Stack/Stack.js +9 -7
  178. package/dist/_internal/components/layout/TableFilter/TableFilter.js +3 -1
  179. package/dist/_internal/components/layout/index.js +15 -13
  180. package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +13 -11
  181. package/dist/_internal/components/navigation/AppHeader/AppHeader.identity.js +6 -4
  182. package/dist/_internal/components/navigation/CommandPalette/CommandPalette.js +3 -3
  183. package/dist/_internal/components/navigation/Pagination/Pagination.js +2 -2
  184. package/dist/_internal/components/navigation/Tabs/Tabs.js +2 -2
  185. package/dist/_internal/components/navigation/index.js +23 -21
  186. package/dist/_internal/components/typography/Heading/Heading.js +6 -5
  187. package/dist/_internal/components/typography/Heading/Heading.metrics.js +4 -3
  188. package/dist/_internal/components/typography/Heading/Heading.styles.js +5 -4
  189. package/dist/_internal/components/typography/Paragraph/Paragraph.js +4 -3
  190. package/dist/_internal/components/typography/Text/Text.js +5 -4
  191. package/dist/_internal/components/typography/Text/Text.metrics.js +4 -3
  192. package/dist/_internal/components/typography/index.js +9 -8
  193. package/dist/_internal/components/utility/InstallPrompt/InstallPrompt.js +3 -3
  194. package/dist/_internal/components/utility/InstallPrompt/usePwaInstall.js +2 -2
  195. package/dist/_internal/components/utility/index.js +4 -4
  196. package/dist/_internal/icons/Icon.js +9 -7
  197. package/dist/_internal/provider/UiProvider.js +7 -5
  198. package/dist/_internal/provider/mui-bridge.js +6 -4
  199. package/dist/_internal/provider/use-ui-theme.js +7 -5
  200. package/dist/_internal/social-login-button/social-login-button.js +15 -13
  201. package/dist/_internal/tokens/field-radius.core.js +8 -0
  202. package/dist/_internal/tokens/field-radius.core.js.map +1 -0
  203. package/dist/_internal/tokens/field-radius.js +18 -0
  204. package/dist/_internal/tokens/field-radius.js.map +1 -0
  205. package/dist/_internal/tokens/theme.js +3 -2
  206. package/dist/_internal/user-avatar/user-avatar.js +15 -13
  207. package/dist/charts.js +18 -16
  208. package/dist/{chunk-RXVPUW7V.js → chunk-26ORCF6J.js} +2 -2
  209. package/dist/chunk-26X4CZVR.js +7 -0
  210. package/dist/chunk-26X4CZVR.js.map +1 -0
  211. package/dist/{chunk-XZTOIEKI.js → chunk-272OV2KZ.js} +5 -2
  212. package/dist/chunk-272OV2KZ.js.map +1 -0
  213. package/dist/{chunk-HGJHZ5PE.js → chunk-2DFH74T4.js} +7 -7
  214. package/dist/{chunk-22ZJH7RY.js → chunk-2N2KNXTF.js} +2 -2
  215. package/dist/{chunk-W3FAKT3D.js → chunk-2SWQ6HIK.js} +4 -4
  216. package/dist/{chunk-IVVOIDE5.js → chunk-2YOQLBEX.js} +3 -3
  217. package/dist/{chunk-DEE6IPGI.js → chunk-32MTYYGC.js} +10 -10
  218. package/dist/{chunk-GVDJQMFI.js → chunk-35GWNOLB.js} +2 -2
  219. package/dist/{chunk-MI2MVH3I.js → chunk-3BAFJMBH.js} +8 -5
  220. package/dist/chunk-3BAFJMBH.js.map +1 -0
  221. package/dist/{chunk-W4SDVTZC.js → chunk-3PT3SBJ7.js} +2 -2
  222. package/dist/{chunk-62NA6IF3.js → chunk-3ZGQSWHJ.js} +4 -4
  223. package/dist/{chunk-PFLKPNBU.js → chunk-4DUHJIR2.js} +2 -2
  224. package/dist/{chunk-CJUOBTLL.js → chunk-4EL5ZSZ3.js} +6 -3
  225. package/dist/chunk-4EL5ZSZ3.js.map +1 -0
  226. package/dist/{chunk-46UPILLK.js → chunk-4ETQRBZC.js} +4 -4
  227. package/dist/{chunk-65DLYC4S.js → chunk-4LDRYLE2.js} +2 -2
  228. package/dist/{chunk-ON2CMKTI.js → chunk-4WT4PV4M.js} +2 -2
  229. package/dist/{chunk-K4JRHQMI.js → chunk-55E7GLVT.js} +3 -3
  230. package/dist/{chunk-AIBNBWQU.js → chunk-5EQFAFR3.js} +2 -2
  231. package/dist/{chunk-S2GDYA6R.js → chunk-5GMHJ7Y5.js} +5 -5
  232. package/dist/{chunk-EVXFEXBS.js → chunk-5UGXAAZG.js} +2 -2
  233. package/dist/{chunk-DOMEYGTN.js → chunk-5YOFMMK3.js} +2 -2
  234. package/dist/{chunk-IABE56TG.js → chunk-5ZOJLYD2.js} +4 -4
  235. package/dist/{chunk-J3JGO6Y6.js → chunk-65IHPI4S.js} +5 -1
  236. package/dist/chunk-65IHPI4S.js.map +1 -0
  237. package/dist/{chunk-CASZGBCA.js → chunk-67L5CMXP.js} +6 -6
  238. package/dist/{chunk-L6TCIZFR.js → chunk-6BGS5FND.js} +3 -3
  239. package/dist/{chunk-JJ3VR7WX.js → chunk-6PSAPCTE.js} +2 -2
  240. package/dist/{chunk-Y5UCOBQN.js → chunk-6SK3MTYJ.js} +4 -4
  241. package/dist/{chunk-MGPA6KTM.js → chunk-6SNRPCSK.js} +2 -2
  242. package/dist/{chunk-WXD7MGBT.js → chunk-6SXZ7CF2.js} +6 -2
  243. package/dist/chunk-6SXZ7CF2.js.map +1 -0
  244. package/dist/{chunk-NFAKRI4S.js → chunk-6VZYQC7T.js} +3 -3
  245. package/dist/{chunk-B6IURHSZ.js → chunk-7DNQHMDO.js} +4 -4
  246. package/dist/{chunk-MZQTHSLN.js → chunk-7U36V4CU.js} +3 -3
  247. package/dist/{chunk-ZU3SWR4I.js → chunk-7YTLJUBX.js} +2 -2
  248. package/dist/{chunk-C5EFVSBN.js → chunk-A5FIYKAN.js} +2 -2
  249. package/dist/{chunk-QRX5BYUQ.js → chunk-AFZUPCBK.js} +5 -5
  250. package/dist/{chunk-PQECNGDE.js → chunk-AGYGNNOM.js} +2 -2
  251. package/dist/{chunk-AVI3XHRQ.js → chunk-AIRWM7KK.js} +4 -4
  252. package/dist/{chunk-T5WNNEP5.js → chunk-APMEXS3Y.js} +2 -2
  253. package/dist/{chunk-JGV66VUK.js → chunk-ATBT4RJZ.js} +2 -2
  254. package/dist/{chunk-JMVIIKII.js → chunk-BDVJ65GR.js} +6 -2
  255. package/dist/chunk-BDVJ65GR.js.map +1 -0
  256. package/dist/{chunk-DFLTUI7W.js → chunk-BHXFPZAA.js} +8 -5
  257. package/dist/chunk-BHXFPZAA.js.map +1 -0
  258. package/dist/{chunk-BLBOYCOV.js → chunk-BKP7YW3Y.js} +6 -6
  259. package/dist/{chunk-CZJLWCEG.js → chunk-BPYPUEM5.js} +2 -2
  260. package/dist/{chunk-SONWG2RT.js → chunk-BRAF4MFO.js} +9 -6
  261. package/dist/chunk-BRAF4MFO.js.map +1 -0
  262. package/dist/{chunk-I3FXTIKA.js → chunk-BRUJC7OG.js} +3 -3
  263. package/dist/{chunk-SLMA4UQS.js → chunk-BWSYSSF3.js} +3 -3
  264. package/dist/{chunk-DUWF5LUK.js → chunk-C2ZNAQMO.js} +4 -4
  265. package/dist/{chunk-TU6RNZUQ.js → chunk-C4NRFERD.js} +2 -2
  266. package/dist/{chunk-V7F53GEO.js → chunk-CATLG2RT.js} +7 -7
  267. package/dist/{chunk-LYMAMKJT.js → chunk-CEA4QA63.js} +2 -2
  268. package/dist/{chunk-XXDXW6TX.js → chunk-CIVLXOLG.js} +2 -2
  269. package/dist/{chunk-OH3YGJT5.js → chunk-CJMU3G2J.js} +6 -6
  270. package/dist/{chunk-6IKX5IIX.js → chunk-CKW267ZK.js} +6 -6
  271. package/dist/{chunk-ZYKDPX3W.js → chunk-CPA2YRVZ.js} +2 -2
  272. package/dist/{chunk-VEGT5PAD.js → chunk-D5YGDCMP.js} +21 -21
  273. package/dist/{chunk-3TFUAKWJ.js → chunk-D6P5PSHU.js} +2 -2
  274. package/dist/{chunk-3W7IEWEL.js → chunk-D7Q42CRZ.js} +8 -2
  275. package/dist/chunk-D7Q42CRZ.js.map +1 -0
  276. package/dist/{chunk-JQL4GG5L.js → chunk-DBXGRZBJ.js} +5 -5
  277. package/dist/{chunk-PMS3H3OO.js → chunk-DF2FFYZ7.js} +4 -4
  278. package/dist/{chunk-SUTNQG7E.js → chunk-DHQ6ASUD.js} +5 -5
  279. package/dist/{chunk-ZZOOSKSV.js → chunk-DV42HAVP.js} +12 -6
  280. package/dist/chunk-DV42HAVP.js.map +1 -0
  281. package/dist/{chunk-RBGOGTT2.js → chunk-DWZ7FLA7.js} +4 -4
  282. package/dist/{chunk-KT6HWAEN.js → chunk-DX36KZUV.js} +2 -2
  283. package/dist/{chunk-FVPN4YKW.js → chunk-EATFKTO3.js} +3 -3
  284. package/dist/{chunk-K5V3KCFI.js → chunk-EJJRJYB5.js} +7 -7
  285. package/dist/{chunk-TSEWUY4V.js → chunk-EN5Q5RPQ.js} +3 -3
  286. package/dist/{chunk-XFUNJYFT.js → chunk-EPNUVSNK.js} +7 -7
  287. package/dist/{chunk-ZS44PY7T.js → chunk-ETSKBOXN.js} +5 -3
  288. package/dist/chunk-ETSKBOXN.js.map +1 -0
  289. package/dist/{chunk-KUJLZFDW.js → chunk-ETU4LNU7.js} +3 -3
  290. package/dist/{chunk-UC6A6ASM.js → chunk-EYRSUVBC.js} +2 -2
  291. package/dist/{chunk-HLYPI5CO.js → chunk-F22WT7UX.js} +2 -2
  292. package/dist/{chunk-JPVDZXXX.js → chunk-F65LT7XV.js} +2 -2
  293. package/dist/{chunk-V5IOLAIS.js → chunk-F73D4EMA.js} +1 -1
  294. package/dist/chunk-F73D4EMA.js.map +1 -0
  295. package/dist/{chunk-6FUOUUYO.js → chunk-FC74EAW4.js} +4 -4
  296. package/dist/{chunk-ZWIDQEJ4.js → chunk-G3WUOPWE.js} +5 -5
  297. package/dist/{chunk-S6YY2WWK.js → chunk-G5G4Q7G6.js} +13 -3
  298. package/dist/chunk-G5G4Q7G6.js.map +1 -0
  299. package/dist/{chunk-SQV3HPTZ.js → chunk-G76H5PEM.js} +4 -4
  300. package/dist/chunk-GDN2LUTZ.js +39 -0
  301. package/dist/chunk-GDN2LUTZ.js.map +1 -0
  302. package/dist/{chunk-DFK6QCXX.js → chunk-GEZYZ446.js} +1 -2
  303. package/dist/{chunk-DFK6QCXX.js.map → chunk-GEZYZ446.js.map} +1 -1
  304. package/dist/{chunk-XYDW5RQB.js → chunk-GKGA2ZCW.js} +2 -2
  305. package/dist/{chunk-WREIYOXN.js → chunk-GLPHRHIT.js} +8 -8
  306. package/dist/{chunk-3PUOLOEP.js → chunk-GOKMLXZH.js} +2 -2
  307. package/dist/{chunk-B7NV6JFG.js → chunk-GUROYOKQ.js} +2 -2
  308. package/dist/{chunk-3XLDTVLC.js → chunk-H2RHA73H.js} +7 -7
  309. package/dist/{chunk-C5YBXQTK.js → chunk-H35CQ6DF.js} +3 -3
  310. package/dist/{chunk-ZUY65MFH.js → chunk-H7ZN2GW7.js} +6 -3
  311. package/dist/chunk-H7ZN2GW7.js.map +1 -0
  312. package/dist/{chunk-5WNQJ5KS.js → chunk-HEWJJ4VE.js} +6 -3
  313. package/dist/chunk-HEWJJ4VE.js.map +1 -0
  314. package/dist/{chunk-EXJBPKGW.js → chunk-HFBME3C5.js} +6 -6
  315. package/dist/{chunk-35UG2QDB.js → chunk-HSVNFMXY.js} +2 -2
  316. package/dist/{chunk-WQFIV5WD.js → chunk-HZAPN7XD.js} +6 -2
  317. package/dist/chunk-HZAPN7XD.js.map +1 -0
  318. package/dist/{chunk-NWQWUYOV.js → chunk-I2IZ53QS.js} +2 -2
  319. package/dist/{chunk-HR7YTBR7.js → chunk-IASDP44E.js} +4 -4
  320. package/dist/{chunk-FLIMEQUA.js → chunk-IAVAZ36T.js} +6 -6
  321. package/dist/{chunk-VJFH2AXT.js → chunk-INH2BDHV.js} +9 -9
  322. package/dist/{chunk-PUBPZOQJ.js → chunk-IPE5FFFD.js} +2 -2
  323. package/dist/{chunk-HP2ODXNA.js → chunk-IPS55KWK.js} +2 -2
  324. package/dist/{chunk-J3ZP6EUS.js → chunk-IQFUV3BA.js} +2 -2
  325. package/dist/{chunk-A7LG3AXV.js → chunk-IRSI3BFF.js} +26 -13
  326. package/dist/chunk-IRSI3BFF.js.map +1 -0
  327. package/dist/{chunk-OD4Z5G6G.js → chunk-J2RRZZXC.js} +2 -2
  328. package/dist/{chunk-FV36LFPX.js → chunk-JHOBW7OD.js} +6 -2
  329. package/dist/chunk-JHOBW7OD.js.map +1 -0
  330. package/dist/{chunk-FGUK3D54.js → chunk-JOPTI47I.js} +3 -3
  331. package/dist/{chunk-T2VO32Z2.js → chunk-JUHPNTDA.js} +10 -4
  332. package/dist/chunk-JUHPNTDA.js.map +1 -0
  333. package/dist/{chunk-J3D34ZBL.js → chunk-JVMNE5G4.js} +6 -2
  334. package/dist/chunk-JVMNE5G4.js.map +1 -0
  335. package/dist/{chunk-5LQ7PKMW.js → chunk-K6FCXPTS.js} +1 -3
  336. package/dist/chunk-K6FCXPTS.js.map +1 -0
  337. package/dist/{chunk-VKH7AENA.js → chunk-KJYD5OJ4.js} +2 -2
  338. package/dist/{chunk-HZVFAGLZ.js → chunk-L6UTYFAB.js} +6 -3
  339. package/dist/chunk-L6UTYFAB.js.map +1 -0
  340. package/dist/{chunk-RVGG5YJY.js → chunk-LG6DHNRD.js} +2 -2
  341. package/dist/{chunk-WC5XYWTE.js → chunk-LWAOL4BG.js} +2 -2
  342. package/dist/{chunk-ZPIMPOHV.js → chunk-M7E66OSC.js} +4 -4
  343. package/dist/{chunk-MSS6IU5X.js → chunk-MCAXIKQD.js} +3 -3
  344. package/dist/{chunk-K2EHH7TC.js → chunk-MRGPVPQC.js} +6 -6
  345. package/dist/{chunk-DBYFC6CF.js → chunk-MSKEFXXV.js} +5 -2
  346. package/dist/chunk-MSKEFXXV.js.map +1 -0
  347. package/dist/{chunk-JYF3HT7M.js → chunk-MYUZPUXQ.js} +8 -8
  348. package/dist/{chunk-SX3V2DLV.js → chunk-NFJUBPIN.js} +2 -2
  349. package/dist/{chunk-57ZSQB5V.js → chunk-NJ6D37KV.js} +2 -2
  350. package/dist/{chunk-3MALHTZQ.js → chunk-NLUZGT4U.js} +3 -3
  351. package/dist/{chunk-B474PL5O.js → chunk-NR2HXHBR.js} +2 -2
  352. package/dist/{chunk-HKKSZ7HG.js → chunk-O6DRUOUF.js} +2 -2
  353. package/dist/{chunk-YB6MDGPR.js → chunk-O7SE4PYT.js} +8 -3
  354. package/dist/chunk-O7SE4PYT.js.map +1 -0
  355. package/dist/{chunk-R6SSXEK2.js → chunk-OFMDFN3U.js} +2 -2
  356. package/dist/{chunk-EUKYQXYU.js → chunk-OHKEQ7QJ.js} +2 -2
  357. package/dist/{chunk-NUB4T3RQ.js → chunk-OIFBBDYX.js} +2 -2
  358. package/dist/{chunk-PFZAUMJA.js → chunk-OL7UQMBI.js} +2 -2
  359. package/dist/{chunk-REMK55JI.js → chunk-OLZTGVBT.js} +4 -4
  360. package/dist/{chunk-MCBG6R5A.js → chunk-ORIFMVN4.js} +3 -3
  361. package/dist/{chunk-5KFZGB5U.js → chunk-P4BZ7YE6.js} +2 -2
  362. package/dist/{chunk-23FCBIUN.js → chunk-P7FQUGED.js} +8 -8
  363. package/dist/{chunk-7IKWIWWV.js → chunk-PCONTSJJ.js} +12 -12
  364. package/dist/{chunk-VNGYJXAU.js → chunk-PEMZ2ABQ.js} +4 -4
  365. package/dist/{chunk-UCU5FCYE.js → chunk-PS3EJLOC.js} +6 -2
  366. package/dist/chunk-PS3EJLOC.js.map +1 -0
  367. package/dist/{chunk-XXE6NTJB.js → chunk-Q544QEIN.js} +5 -3
  368. package/dist/chunk-Q544QEIN.js.map +1 -0
  369. package/dist/{chunk-VXTYVJDK.js → chunk-Q5BSNHN7.js} +2 -2
  370. package/dist/{chunk-Q5NAZ7TW.js → chunk-QKDFD4VT.js} +4 -4
  371. package/dist/{chunk-YTYROOLY.js → chunk-QNUWSXF2.js} +3 -3
  372. package/dist/{chunk-VESIQYBF.js → chunk-QP3KK4KO.js} +12 -12
  373. package/dist/{chunk-MSUSZLRE.js → chunk-QPMLACIK.js} +2 -2
  374. package/dist/{chunk-EZMCWRXO.js → chunk-R4SOPN6K.js} +8 -5
  375. package/dist/chunk-R4SOPN6K.js.map +1 -0
  376. package/dist/{chunk-TF4TPLF2.js → chunk-R7KR5FYJ.js} +2 -2
  377. package/dist/{chunk-237NDIT2.js → chunk-RCI6KVN6.js} +5 -5
  378. package/dist/{chunk-VIK3HAUQ.js → chunk-RDFPH47Y.js} +8 -2
  379. package/dist/chunk-RDFPH47Y.js.map +1 -0
  380. package/dist/{chunk-CZPU5TW3.js → chunk-RFZU5BTG.js} +2 -2
  381. package/dist/{chunk-DQOLW4B5.js → chunk-RIA34EUT.js} +3 -3
  382. package/dist/{chunk-J4W4TQPC.js → chunk-RMB4RTTM.js} +6 -6
  383. package/dist/{chunk-RNCQ5KHQ.js → chunk-RQFBLYYH.js} +2 -2
  384. package/dist/{chunk-4T6W43TO.js → chunk-RRDL7AGQ.js} +2 -2
  385. package/dist/{chunk-JB67KPGM.js → chunk-RRO2EOJB.js} +4 -4
  386. package/dist/{chunk-4MXFPDKL.js → chunk-RWIBPIPD.js} +4 -4
  387. package/dist/{chunk-6PKVHFCK.js → chunk-SAIKHWH7.js} +9 -9
  388. package/dist/{chunk-HT4B2DJU.js → chunk-SDSAQ5YS.js} +4 -4
  389. package/dist/{chunk-7OZBOS75.js → chunk-SGV7QGYQ.js} +6 -6
  390. package/dist/{chunk-GJQYM3PM.js → chunk-SHQWIDD5.js} +4 -4
  391. package/dist/{chunk-OLQDB346.js → chunk-SMUZRLFZ.js} +2 -2
  392. package/dist/{chunk-QGBMCB76.js → chunk-SSJHEV5Z.js} +2 -2
  393. package/dist/{chunk-L2E7TY7P.js → chunk-SZB2Z6QN.js} +6 -2
  394. package/dist/chunk-SZB2Z6QN.js.map +1 -0
  395. package/dist/{chunk-MEWYA74E.js → chunk-SZZLABMO.js} +3 -3
  396. package/dist/{chunk-DAPK3ADA.js → chunk-TC3EPGGJ.js} +4 -4
  397. package/dist/{chunk-4XVH6IWN.js → chunk-TLY2QMU5.js} +3 -3
  398. package/dist/{chunk-554SVTCN.js → chunk-UHWHTNUS.js} +5 -5
  399. package/dist/{chunk-HZ6L7WXE.js → chunk-URK67BAE.js} +7 -7
  400. package/dist/{chunk-FGUESLDX.js → chunk-USPQZQBF.js} +5 -1
  401. package/dist/chunk-USPQZQBF.js.map +1 -0
  402. package/dist/{chunk-GH2DC7PS.js → chunk-V3RVRZAU.js} +5 -5
  403. package/dist/{chunk-624TFFLJ.js → chunk-V6YZ3PL5.js} +2 -2
  404. package/dist/{chunk-URVNHKM2.js → chunk-VGSEI7PQ.js} +6 -6
  405. package/dist/{chunk-EPRA5QLB.js → chunk-VUFMV5Q5.js} +2 -2
  406. package/dist/{chunk-LVCUJ7YU.js → chunk-VYMULXCJ.js} +6 -1
  407. package/dist/chunk-VYMULXCJ.js.map +1 -0
  408. package/dist/{chunk-QYNCPS5W.js → chunk-WBKWIFXA.js} +6 -6
  409. package/dist/{chunk-57W2C7HY.js → chunk-WCLWFN3F.js} +8 -8
  410. package/dist/{chunk-6TSP45KC.js → chunk-WHLVMQNF.js} +5 -1
  411. package/dist/chunk-WHLVMQNF.js.map +1 -0
  412. package/dist/{chunk-K2JH7QPR.js → chunk-WI6GD4MV.js} +3 -3
  413. package/dist/{chunk-VMXDTCYF.js → chunk-WMALDOF5.js} +4 -4
  414. package/dist/{chunk-TOYEP23N.js → chunk-WONCE5GB.js} +7 -3
  415. package/dist/chunk-WONCE5GB.js.map +1 -0
  416. package/dist/{chunk-UVD5NFRF.js → chunk-WVJI3Z4P.js} +2 -2
  417. package/dist/{chunk-VVXA7T2M.js → chunk-WVQ47UTI.js} +2 -2
  418. package/dist/{chunk-BKAB4KZK.js → chunk-X2R7QG5I.js} +10 -7
  419. package/dist/chunk-X2R7QG5I.js.map +1 -0
  420. package/dist/{chunk-BEGWE5O4.js → chunk-XEUSTU7K.js} +5 -2
  421. package/dist/chunk-XEUSTU7K.js.map +1 -0
  422. package/dist/{chunk-6WIDZGXE.js → chunk-XMDH3MRV.js} +5 -2
  423. package/dist/chunk-XMDH3MRV.js.map +1 -0
  424. package/dist/{chunk-KFZT3PHA.js → chunk-XPPEUGHG.js} +4 -4
  425. package/dist/{chunk-Z52HVR4J.js → chunk-XVM4ZIRE.js} +2 -2
  426. package/dist/{chunk-7MR2JCJW.js → chunk-Y2CSBXQT.js} +2 -2
  427. package/dist/{chunk-BILJU2DX.js → chunk-YXQ2NJHF.js} +6 -6
  428. package/dist/{chunk-2UBFDRL7.js → chunk-ZCNCQGWK.js} +2 -2
  429. package/dist/{chunk-OXQP3N6X.js → chunk-ZTZ6S5Q6.js} +4 -4
  430. package/dist/{chunk-2L2NWXWJ.js → chunk-ZVTJGWIV.js} +2 -2
  431. package/dist/data-display/Alert.js +5 -4
  432. package/dist/data-display/Avatar.js +6 -5
  433. package/dist/data-display/Badge.js +7 -6
  434. package/dist/data-display/Banner.js +3 -2
  435. package/dist/data-display/CardKit.js +17 -15
  436. package/dist/data-display/Carousel.js +10 -8
  437. package/dist/data-display/Chart.js +18 -16
  438. package/dist/data-display/DataViews.js +106 -104
  439. package/dist/data-display/DescriptionItem.js +6 -5
  440. package/dist/data-display/FleetMap.js +20 -18
  441. package/dist/data-display/HoverCard.js +2 -2
  442. package/dist/data-display/Lightbox.js +3 -3
  443. package/dist/data-display/MapPreview.js +12 -10
  444. package/dist/data-display/Progress.js +6 -5
  445. package/dist/data-display/Sheet.js +9 -7
  446. package/dist/data-display/Table.js +3 -3
  447. package/dist/feedback/ConfirmAction.js +11 -9
  448. package/dist/feedback/Modal.js +2 -2
  449. package/dist/feedback/NotificationStatusNotice.js +10 -8
  450. package/dist/form/AddressAutocomplete.js +9 -7
  451. package/dist/form/Autocomplete.js +4 -2
  452. package/dist/form/Button.js +7 -5
  453. package/dist/form/Calendar.js +4 -4
  454. package/dist/form/CategorySelect.js +11 -9
  455. package/dist/form/CepField.js +6 -4
  456. package/dist/form/Checkbox.js +4 -3
  457. package/dist/form/CodeEditor.js +4 -2
  458. package/dist/form/Command.js +7 -5
  459. package/dist/form/CreatableSelect.js +3 -1
  460. package/dist/form/DateRangePicker.js +12 -10
  461. package/dist/form/Input.js +5 -3
  462. package/dist/form/InputOTP.js +4 -2
  463. package/dist/form/Label.js +7 -5
  464. package/dist/form/Menubar.js +9 -7
  465. package/dist/form/PhoneInput.js +3 -1
  466. package/dist/form/RadioGroup.js +5 -3
  467. package/dist/form/RichTextEditor.js +4 -2
  468. package/dist/form/Select.js +4 -2
  469. package/dist/form/Switch.js +8 -7
  470. package/dist/form/Textarea.js +3 -1
  471. package/dist/form/Toggle.js +4 -2
  472. package/dist/form/ToggleGroup.js +4 -1
  473. package/dist/form/UploadButton.js +2 -2
  474. package/dist/form/total-form.js +34 -32
  475. package/dist/icons.js +9 -7
  476. package/dist/layout/Box.js +8 -6
  477. package/dist/layout/Card.js +2 -2
  478. package/dist/layout/ContentToolbar.js +12 -10
  479. package/dist/layout/SettingsLayout.js +3 -3
  480. package/dist/layout/Stack.js +9 -7
  481. package/dist/layout/TableFilter.js +3 -1
  482. package/dist/native/chunks/{chunk-2HLEFYJ5.js → chunk-7UEJ2FMQ.js} +2 -2
  483. package/dist/native/chunks/{chunk-6XDMYJBW.js → chunk-IVNAQJY6.js} +2 -2
  484. package/dist/native/chunks/{chunk-YXM4NR2B.js → chunk-LB65S6C7.js} +3 -3
  485. package/dist/native/chunks/{chunk-CO47ZRXO.js → chunk-S5SLTMPB.js} +2 -2
  486. package/dist/native/chunks/{chunk-BEPOBULQ.js → chunk-T3TYQMAH.js} +4 -5
  487. package/dist/native/chunks/chunk-T3TYQMAH.js.map +1 -0
  488. package/dist/native/chunks/{chunk-NVPXIJ2O.js → chunk-UKROAIPA.js} +4 -6
  489. package/dist/native/chunks/chunk-UKROAIPA.js.map +1 -0
  490. package/dist/native/chunks/{chunk-YQDDM6ZW.js → chunk-V72V2Q45.js} +6 -2
  491. package/dist/native/chunks/chunk-V72V2Q45.js.map +1 -0
  492. package/dist/native/chunks/{chunk-SOQVMWLQ.js → chunk-VAD5YVIZ.js} +5 -5
  493. package/dist/native/data-display/Alert.js +3 -3
  494. package/dist/native/data-display/Avatar.js +3 -3
  495. package/dist/native/data-display/Badge.js +3 -3
  496. package/dist/native/data-display/Chip.js +3 -3
  497. package/dist/native/data-display/EmptyState.js +5 -5
  498. package/dist/native/data-display/ErrorState.js +4 -4
  499. package/dist/native/data-display/FleetMap.js +6 -6
  500. package/dist/native/data-display/LoadingState.js +2 -2
  501. package/dist/native/data-display/Progress.js +2 -2
  502. package/dist/native/feedback/Dialog.js +3 -3
  503. package/dist/native/form/Button.js +3 -3
  504. package/dist/native/form/Checkbox.js +3 -3
  505. package/dist/native/form/Input.js +4 -5
  506. package/dist/native/form/Input.js.map +1 -1
  507. package/dist/native/form/Select.js +5 -6
  508. package/dist/native/form/Select.js.map +1 -1
  509. package/dist/native/form/Switch.js +2 -2
  510. package/dist/native/icons.js +3 -3
  511. package/dist/native/layout/Box.js +3 -3
  512. package/dist/native/layout/Card.js +2 -2
  513. package/dist/native/layout/Container.js +2 -2
  514. package/dist/native/layout/Skeleton.js +3 -3
  515. package/dist/native/layout/Spacer.js +2 -2
  516. package/dist/native/layout/Stack.js +3 -3
  517. package/dist/native/provider.js +2 -2
  518. package/dist/native/tokens.js +3 -1
  519. package/dist/native/typography/Heading.js +2 -2
  520. package/dist/native/typography/Paragraph.js +2 -2
  521. package/dist/native/typography/Text.js +2 -2
  522. package/dist/navigation/AppHeader.js +16 -14
  523. package/dist/navigation/CommandPalette.js +3 -3
  524. package/dist/navigation/Pagination.js +2 -2
  525. package/dist/navigation/Tabs.js +2 -2
  526. package/dist/provider.js +8 -6
  527. package/dist/social-login-button.js +15 -13
  528. package/dist/tokens.js +17 -3
  529. package/dist/types/components/data-display/DataViews/data-views-bar-controls.d.ts.map +1 -1
  530. package/dist/types/components/data-display/DataViews/data-views-day-input.d.ts.map +1 -1
  531. package/dist/types/components/data-display/DataViews/data-views-more-fields.d.ts.map +1 -1
  532. package/dist/types/components/data-display/DataViews/data-views-number-input.d.ts.map +1 -1
  533. package/dist/types/components/data-display/DataViews/data-views-range-pill.d.ts.map +1 -1
  534. package/dist/types/components/data-display/DataViews/data-views-search.d.ts.map +1 -1
  535. package/dist/types/components/data-display/MapPreview/MapSearchBar.d.ts.map +1 -1
  536. package/dist/types/components/form/AddressAutocomplete/AddressTextField.d.ts.map +1 -1
  537. package/dist/types/components/form/Autocomplete/Autocomplete.parts.d.ts.map +1 -1
  538. package/dist/types/components/form/Button/Button.d.ts.map +1 -1
  539. package/dist/types/components/form/Button/Button.metrics.d.ts +0 -2
  540. package/dist/types/components/form/Button/Button.metrics.d.ts.map +1 -1
  541. package/dist/types/components/form/CategorySelect/CategoryPanelFoot.d.ts.map +1 -1
  542. package/dist/types/components/form/CategorySelect/CategoryPanelHead.d.ts.map +1 -1
  543. package/dist/types/components/form/CategorySelect/CategorySelect.styles.d.ts +4 -1
  544. package/dist/types/components/form/CategorySelect/CategorySelect.styles.d.ts.map +1 -1
  545. package/dist/types/components/form/CodeEditor/CodeEditor.d.ts.map +1 -1
  546. package/dist/types/components/form/CreatableSelect/CreatableSelect.d.ts.map +1 -1
  547. package/dist/types/components/form/Input/Input.d.ts.map +1 -1
  548. package/dist/types/components/form/Input/Input.metrics.d.ts +4 -2
  549. package/dist/types/components/form/Input/Input.metrics.d.ts.map +1 -1
  550. package/dist/types/components/form/Input/Input.styles.d.ts +6 -0
  551. package/dist/types/components/form/Input/Input.styles.d.ts.map +1 -1
  552. package/dist/types/components/form/InputOTP/InputOTP.styles.d.ts.map +1 -1
  553. package/dist/types/components/form/PhoneInput/PhoneInput.d.ts.map +1 -1
  554. package/dist/types/components/form/RadioGroup/RadioGroup.styles.d.ts.map +1 -1
  555. package/dist/types/components/form/RichTextEditor/RichTextEditor.d.ts.map +1 -1
  556. package/dist/types/components/form/Select/Select.d.ts.map +1 -1
  557. package/dist/types/components/form/Textarea/Textarea.d.ts.map +1 -1
  558. package/dist/types/components/form/Textarea/TextareaRichEditor.d.ts.map +1 -1
  559. package/dist/types/components/form/Toggle/Toggle.styles.d.ts.map +1 -1
  560. package/dist/types/components/form/ToggleGroup/ToggleGroup.d.ts.map +1 -1
  561. package/dist/types/components/layout/ContentToolbar/ColumnsMenu.d.ts.map +1 -1
  562. package/dist/types/components/layout/ContentToolbar/ContentToolbar.d.ts.map +1 -1
  563. package/dist/types/components/layout/ContentToolbar/FilterTrigger.d.ts.map +1 -1
  564. package/dist/types/components/layout/ContentToolbar/MultiSelectTriggers.d.ts.map +1 -1
  565. package/dist/types/components/layout/ContentToolbar/SortByDropdown.d.ts.map +1 -1
  566. package/dist/types/components/layout/ContentToolbar/ViewSelector.d.ts.map +1 -1
  567. package/dist/types/components/layout/TableFilter/TableFilter.d.ts.map +1 -1
  568. package/dist/types/provider/mui-bridge.d.ts.map +1 -1
  569. package/dist/types/tokens/field-radius.core.d.ts +26 -0
  570. package/dist/types/tokens/field-radius.core.d.ts.map +1 -0
  571. package/dist/types/tokens/field-radius.d.ts +60 -0
  572. package/dist/types/tokens/field-radius.d.ts.map +1 -0
  573. package/dist/types/tokens/scales.d.ts +1 -0
  574. package/dist/types/tokens/scales.d.ts.map +1 -1
  575. package/dist/types/tokens/theme.d.ts +8 -1
  576. package/dist/types/tokens/theme.d.ts.map +1 -1
  577. package/dist/types-native/components/form/Button/Button.metrics.d.ts +0 -2
  578. package/dist/types-native/components/form/Button/Button.metrics.d.ts.map +1 -1
  579. package/dist/types-native/components/form/Input/Input.look.native.d.ts.map +1 -1
  580. package/dist/types-native/components/form/Input/Input.metrics.d.ts +4 -2
  581. package/dist/types-native/components/form/Input/Input.metrics.d.ts.map +1 -1
  582. package/dist/types-native/components/form/Select/Select.native.d.ts.map +1 -1
  583. package/dist/types-native/tokens/field-radius.core.d.ts +26 -0
  584. package/dist/types-native/tokens/field-radius.core.d.ts.map +1 -0
  585. package/dist/types-native/tokens/index.native.d.ts +1 -0
  586. package/dist/types-native/tokens/index.native.d.ts.map +1 -1
  587. package/dist/types-native/tokens/theme.d.ts +8 -1
  588. package/dist/types-native/tokens/theme.d.ts.map +1 -1
  589. package/dist/typography/Heading.js +6 -5
  590. package/dist/typography/Paragraph.js +4 -3
  591. package/dist/typography/Text.js +5 -4
  592. package/dist/user-avatar.js +15 -13
  593. package/dist/utility/InstallPrompt.js +4 -4
  594. package/package.json +1 -1
  595. package/src/components/data-display/DataViews/data-views-bar-controls.tsx +4 -3
  596. package/src/components/data-display/DataViews/data-views-day-input.tsx +2 -1
  597. package/src/components/data-display/DataViews/data-views-more-fields.tsx +2 -1
  598. package/src/components/data-display/DataViews/data-views-number-input.tsx +2 -1
  599. package/src/components/data-display/DataViews/data-views-range-pill.tsx +2 -1
  600. package/src/components/data-display/DataViews/data-views-search.tsx +5 -3
  601. package/src/components/data-display/MapPreview/MapSearchBar.tsx +3 -1
  602. package/src/components/form/AddressAutocomplete/AddressTextField.tsx +6 -1
  603. package/src/components/form/Autocomplete/Autocomplete.parts.tsx +2 -0
  604. package/src/components/form/Button/Button.metrics.ts +0 -2
  605. package/src/components/form/Button/Button.native.tsx +2 -2
  606. package/src/components/form/Button/Button.tsx +2 -1
  607. package/src/components/form/CategorySelect/CategoryPanelFoot.tsx +2 -1
  608. package/src/components/form/CategorySelect/CategoryPanelHead.tsx +2 -1
  609. package/src/components/form/CategorySelect/CategorySelect.styles.ts +6 -2
  610. package/src/components/form/CodeEditor/CodeEditor.tsx +2 -1
  611. package/src/components/form/CreatableSelect/CreatableSelect.tsx +2 -0
  612. package/src/components/form/Input/Input.look.native.ts +6 -3
  613. package/src/components/form/Input/Input.metrics.ts +4 -2
  614. package/src/components/form/Input/Input.native.tsx +2 -2
  615. package/src/components/form/Input/Input.styles.ts +14 -1
  616. package/src/components/form/Input/Input.tsx +2 -0
  617. package/src/components/form/InputOTP/InputOTP.styles.ts +2 -1
  618. package/src/components/form/PhoneInput/PhoneInput.tsx +6 -1
  619. package/src/components/form/RadioGroup/RadioGroup.styles.ts +11 -5
  620. package/src/components/form/RichTextEditor/RichTextEditor.tsx +2 -1
  621. package/src/components/form/Select/Select.native.tsx +1 -2
  622. package/src/components/form/Select/Select.tsx +3 -1
  623. package/src/components/form/Textarea/Textarea.tsx +2 -1
  624. package/src/components/form/Textarea/TextareaRichEditor.tsx +3 -2
  625. package/src/components/form/Toggle/Toggle.styles.ts +2 -1
  626. package/src/components/form/ToggleGroup/ToggleGroup.tsx +24 -12
  627. package/src/components/layout/ContentToolbar/ColumnsMenu.tsx +2 -1
  628. package/src/components/layout/ContentToolbar/ContentToolbar.tsx +2 -1
  629. package/src/components/layout/ContentToolbar/FilterTrigger.tsx +2 -0
  630. package/src/components/layout/ContentToolbar/MultiSelectTriggers.tsx +4 -2
  631. package/src/components/layout/ContentToolbar/SortByDropdown.tsx +2 -1
  632. package/src/components/layout/ContentToolbar/ViewSelector.tsx +2 -1
  633. package/src/components/layout/TableFilter/TableFilter.tsx +2 -0
  634. package/src/provider/mui-bridge.ts +4 -1
  635. package/src/tokens/field-radius.core.ts +26 -0
  636. package/src/tokens/field-radius.ts +90 -0
  637. package/src/tokens/index.native.ts +1 -0
  638. package/src/tokens/scales.ts +1 -0
  639. package/src/tokens/theme.ts +10 -3
  640. package/dist/chunk-3W7IEWEL.js.map +0 -1
  641. package/dist/chunk-5LQ7PKMW.js.map +0 -1
  642. package/dist/chunk-5WNQJ5KS.js.map +0 -1
  643. package/dist/chunk-6TSP45KC.js.map +0 -1
  644. package/dist/chunk-6WIDZGXE.js.map +0 -1
  645. package/dist/chunk-A7LG3AXV.js.map +0 -1
  646. package/dist/chunk-BEGWE5O4.js.map +0 -1
  647. package/dist/chunk-BKAB4KZK.js.map +0 -1
  648. package/dist/chunk-CJUOBTLL.js.map +0 -1
  649. package/dist/chunk-DBYFC6CF.js.map +0 -1
  650. package/dist/chunk-DFLTUI7W.js.map +0 -1
  651. package/dist/chunk-EZMCWRXO.js.map +0 -1
  652. package/dist/chunk-FGUESLDX.js.map +0 -1
  653. package/dist/chunk-FV36LFPX.js.map +0 -1
  654. package/dist/chunk-HZVFAGLZ.js.map +0 -1
  655. package/dist/chunk-J3D34ZBL.js.map +0 -1
  656. package/dist/chunk-J3JGO6Y6.js.map +0 -1
  657. package/dist/chunk-JMVIIKII.js.map +0 -1
  658. package/dist/chunk-L2E7TY7P.js.map +0 -1
  659. package/dist/chunk-LVCUJ7YU.js.map +0 -1
  660. package/dist/chunk-MI2MVH3I.js.map +0 -1
  661. package/dist/chunk-S6YY2WWK.js.map +0 -1
  662. package/dist/chunk-SONWG2RT.js.map +0 -1
  663. package/dist/chunk-T2VO32Z2.js.map +0 -1
  664. package/dist/chunk-TOYEP23N.js.map +0 -1
  665. package/dist/chunk-UCU5FCYE.js.map +0 -1
  666. package/dist/chunk-V5IOLAIS.js.map +0 -1
  667. package/dist/chunk-VIK3HAUQ.js.map +0 -1
  668. package/dist/chunk-WQFIV5WD.js.map +0 -1
  669. package/dist/chunk-WXD7MGBT.js.map +0 -1
  670. package/dist/chunk-XXE6NTJB.js.map +0 -1
  671. package/dist/chunk-XZTOIEKI.js.map +0 -1
  672. package/dist/chunk-YB6MDGPR.js.map +0 -1
  673. package/dist/chunk-ZS44PY7T.js.map +0 -1
  674. package/dist/chunk-ZUY65MFH.js.map +0 -1
  675. package/dist/chunk-ZZOOSKSV.js.map +0 -1
  676. package/dist/native/chunks/chunk-BEPOBULQ.js.map +0 -1
  677. package/dist/native/chunks/chunk-NVPXIJ2O.js.map +0 -1
  678. package/dist/native/chunks/chunk-YQDDM6ZW.js.map +0 -1
  679. /package/dist/{chunk-RXVPUW7V.js.map → chunk-26ORCF6J.js.map} +0 -0
  680. /package/dist/{chunk-HGJHZ5PE.js.map → chunk-2DFH74T4.js.map} +0 -0
  681. /package/dist/{chunk-22ZJH7RY.js.map → chunk-2N2KNXTF.js.map} +0 -0
  682. /package/dist/{chunk-W3FAKT3D.js.map → chunk-2SWQ6HIK.js.map} +0 -0
  683. /package/dist/{chunk-IVVOIDE5.js.map → chunk-2YOQLBEX.js.map} +0 -0
  684. /package/dist/{chunk-DEE6IPGI.js.map → chunk-32MTYYGC.js.map} +0 -0
  685. /package/dist/{chunk-GVDJQMFI.js.map → chunk-35GWNOLB.js.map} +0 -0
  686. /package/dist/{chunk-W4SDVTZC.js.map → chunk-3PT3SBJ7.js.map} +0 -0
  687. /package/dist/{chunk-62NA6IF3.js.map → chunk-3ZGQSWHJ.js.map} +0 -0
  688. /package/dist/{chunk-PFLKPNBU.js.map → chunk-4DUHJIR2.js.map} +0 -0
  689. /package/dist/{chunk-46UPILLK.js.map → chunk-4ETQRBZC.js.map} +0 -0
  690. /package/dist/{chunk-65DLYC4S.js.map → chunk-4LDRYLE2.js.map} +0 -0
  691. /package/dist/{chunk-ON2CMKTI.js.map → chunk-4WT4PV4M.js.map} +0 -0
  692. /package/dist/{chunk-K4JRHQMI.js.map → chunk-55E7GLVT.js.map} +0 -0
  693. /package/dist/{chunk-AIBNBWQU.js.map → chunk-5EQFAFR3.js.map} +0 -0
  694. /package/dist/{chunk-S2GDYA6R.js.map → chunk-5GMHJ7Y5.js.map} +0 -0
  695. /package/dist/{chunk-EVXFEXBS.js.map → chunk-5UGXAAZG.js.map} +0 -0
  696. /package/dist/{chunk-DOMEYGTN.js.map → chunk-5YOFMMK3.js.map} +0 -0
  697. /package/dist/{chunk-IABE56TG.js.map → chunk-5ZOJLYD2.js.map} +0 -0
  698. /package/dist/{chunk-CASZGBCA.js.map → chunk-67L5CMXP.js.map} +0 -0
  699. /package/dist/{chunk-L6TCIZFR.js.map → chunk-6BGS5FND.js.map} +0 -0
  700. /package/dist/{chunk-JJ3VR7WX.js.map → chunk-6PSAPCTE.js.map} +0 -0
  701. /package/dist/{chunk-Y5UCOBQN.js.map → chunk-6SK3MTYJ.js.map} +0 -0
  702. /package/dist/{chunk-MGPA6KTM.js.map → chunk-6SNRPCSK.js.map} +0 -0
  703. /package/dist/{chunk-NFAKRI4S.js.map → chunk-6VZYQC7T.js.map} +0 -0
  704. /package/dist/{chunk-B6IURHSZ.js.map → chunk-7DNQHMDO.js.map} +0 -0
  705. /package/dist/{chunk-MZQTHSLN.js.map → chunk-7U36V4CU.js.map} +0 -0
  706. /package/dist/{chunk-ZU3SWR4I.js.map → chunk-7YTLJUBX.js.map} +0 -0
  707. /package/dist/{chunk-C5EFVSBN.js.map → chunk-A5FIYKAN.js.map} +0 -0
  708. /package/dist/{chunk-QRX5BYUQ.js.map → chunk-AFZUPCBK.js.map} +0 -0
  709. /package/dist/{chunk-PQECNGDE.js.map → chunk-AGYGNNOM.js.map} +0 -0
  710. /package/dist/{chunk-AVI3XHRQ.js.map → chunk-AIRWM7KK.js.map} +0 -0
  711. /package/dist/{chunk-T5WNNEP5.js.map → chunk-APMEXS3Y.js.map} +0 -0
  712. /package/dist/{chunk-JGV66VUK.js.map → chunk-ATBT4RJZ.js.map} +0 -0
  713. /package/dist/{chunk-BLBOYCOV.js.map → chunk-BKP7YW3Y.js.map} +0 -0
  714. /package/dist/{chunk-CZJLWCEG.js.map → chunk-BPYPUEM5.js.map} +0 -0
  715. /package/dist/{chunk-I3FXTIKA.js.map → chunk-BRUJC7OG.js.map} +0 -0
  716. /package/dist/{chunk-SLMA4UQS.js.map → chunk-BWSYSSF3.js.map} +0 -0
  717. /package/dist/{chunk-DUWF5LUK.js.map → chunk-C2ZNAQMO.js.map} +0 -0
  718. /package/dist/{chunk-TU6RNZUQ.js.map → chunk-C4NRFERD.js.map} +0 -0
  719. /package/dist/{chunk-V7F53GEO.js.map → chunk-CATLG2RT.js.map} +0 -0
  720. /package/dist/{chunk-LYMAMKJT.js.map → chunk-CEA4QA63.js.map} +0 -0
  721. /package/dist/{chunk-XXDXW6TX.js.map → chunk-CIVLXOLG.js.map} +0 -0
  722. /package/dist/{chunk-OH3YGJT5.js.map → chunk-CJMU3G2J.js.map} +0 -0
  723. /package/dist/{chunk-6IKX5IIX.js.map → chunk-CKW267ZK.js.map} +0 -0
  724. /package/dist/{chunk-ZYKDPX3W.js.map → chunk-CPA2YRVZ.js.map} +0 -0
  725. /package/dist/{chunk-VEGT5PAD.js.map → chunk-D5YGDCMP.js.map} +0 -0
  726. /package/dist/{chunk-3TFUAKWJ.js.map → chunk-D6P5PSHU.js.map} +0 -0
  727. /package/dist/{chunk-JQL4GG5L.js.map → chunk-DBXGRZBJ.js.map} +0 -0
  728. /package/dist/{chunk-PMS3H3OO.js.map → chunk-DF2FFYZ7.js.map} +0 -0
  729. /package/dist/{chunk-SUTNQG7E.js.map → chunk-DHQ6ASUD.js.map} +0 -0
  730. /package/dist/{chunk-RBGOGTT2.js.map → chunk-DWZ7FLA7.js.map} +0 -0
  731. /package/dist/{chunk-KT6HWAEN.js.map → chunk-DX36KZUV.js.map} +0 -0
  732. /package/dist/{chunk-FVPN4YKW.js.map → chunk-EATFKTO3.js.map} +0 -0
  733. /package/dist/{chunk-K5V3KCFI.js.map → chunk-EJJRJYB5.js.map} +0 -0
  734. /package/dist/{chunk-TSEWUY4V.js.map → chunk-EN5Q5RPQ.js.map} +0 -0
  735. /package/dist/{chunk-XFUNJYFT.js.map → chunk-EPNUVSNK.js.map} +0 -0
  736. /package/dist/{chunk-KUJLZFDW.js.map → chunk-ETU4LNU7.js.map} +0 -0
  737. /package/dist/{chunk-UC6A6ASM.js.map → chunk-EYRSUVBC.js.map} +0 -0
  738. /package/dist/{chunk-HLYPI5CO.js.map → chunk-F22WT7UX.js.map} +0 -0
  739. /package/dist/{chunk-JPVDZXXX.js.map → chunk-F65LT7XV.js.map} +0 -0
  740. /package/dist/{chunk-6FUOUUYO.js.map → chunk-FC74EAW4.js.map} +0 -0
  741. /package/dist/{chunk-ZWIDQEJ4.js.map → chunk-G3WUOPWE.js.map} +0 -0
  742. /package/dist/{chunk-SQV3HPTZ.js.map → chunk-G76H5PEM.js.map} +0 -0
  743. /package/dist/{chunk-XYDW5RQB.js.map → chunk-GKGA2ZCW.js.map} +0 -0
  744. /package/dist/{chunk-WREIYOXN.js.map → chunk-GLPHRHIT.js.map} +0 -0
  745. /package/dist/{chunk-3PUOLOEP.js.map → chunk-GOKMLXZH.js.map} +0 -0
  746. /package/dist/{chunk-B7NV6JFG.js.map → chunk-GUROYOKQ.js.map} +0 -0
  747. /package/dist/{chunk-3XLDTVLC.js.map → chunk-H2RHA73H.js.map} +0 -0
  748. /package/dist/{chunk-C5YBXQTK.js.map → chunk-H35CQ6DF.js.map} +0 -0
  749. /package/dist/{chunk-EXJBPKGW.js.map → chunk-HFBME3C5.js.map} +0 -0
  750. /package/dist/{chunk-35UG2QDB.js.map → chunk-HSVNFMXY.js.map} +0 -0
  751. /package/dist/{chunk-NWQWUYOV.js.map → chunk-I2IZ53QS.js.map} +0 -0
  752. /package/dist/{chunk-HR7YTBR7.js.map → chunk-IASDP44E.js.map} +0 -0
  753. /package/dist/{chunk-FLIMEQUA.js.map → chunk-IAVAZ36T.js.map} +0 -0
  754. /package/dist/{chunk-VJFH2AXT.js.map → chunk-INH2BDHV.js.map} +0 -0
  755. /package/dist/{chunk-PUBPZOQJ.js.map → chunk-IPE5FFFD.js.map} +0 -0
  756. /package/dist/{chunk-HP2ODXNA.js.map → chunk-IPS55KWK.js.map} +0 -0
  757. /package/dist/{chunk-J3ZP6EUS.js.map → chunk-IQFUV3BA.js.map} +0 -0
  758. /package/dist/{chunk-OD4Z5G6G.js.map → chunk-J2RRZZXC.js.map} +0 -0
  759. /package/dist/{chunk-FGUK3D54.js.map → chunk-JOPTI47I.js.map} +0 -0
  760. /package/dist/{chunk-VKH7AENA.js.map → chunk-KJYD5OJ4.js.map} +0 -0
  761. /package/dist/{chunk-RVGG5YJY.js.map → chunk-LG6DHNRD.js.map} +0 -0
  762. /package/dist/{chunk-WC5XYWTE.js.map → chunk-LWAOL4BG.js.map} +0 -0
  763. /package/dist/{chunk-ZPIMPOHV.js.map → chunk-M7E66OSC.js.map} +0 -0
  764. /package/dist/{chunk-MSS6IU5X.js.map → chunk-MCAXIKQD.js.map} +0 -0
  765. /package/dist/{chunk-K2EHH7TC.js.map → chunk-MRGPVPQC.js.map} +0 -0
  766. /package/dist/{chunk-JYF3HT7M.js.map → chunk-MYUZPUXQ.js.map} +0 -0
  767. /package/dist/{chunk-SX3V2DLV.js.map → chunk-NFJUBPIN.js.map} +0 -0
  768. /package/dist/{chunk-57ZSQB5V.js.map → chunk-NJ6D37KV.js.map} +0 -0
  769. /package/dist/{chunk-3MALHTZQ.js.map → chunk-NLUZGT4U.js.map} +0 -0
  770. /package/dist/{chunk-B474PL5O.js.map → chunk-NR2HXHBR.js.map} +0 -0
  771. /package/dist/{chunk-HKKSZ7HG.js.map → chunk-O6DRUOUF.js.map} +0 -0
  772. /package/dist/{chunk-R6SSXEK2.js.map → chunk-OFMDFN3U.js.map} +0 -0
  773. /package/dist/{chunk-EUKYQXYU.js.map → chunk-OHKEQ7QJ.js.map} +0 -0
  774. /package/dist/{chunk-NUB4T3RQ.js.map → chunk-OIFBBDYX.js.map} +0 -0
  775. /package/dist/{chunk-PFZAUMJA.js.map → chunk-OL7UQMBI.js.map} +0 -0
  776. /package/dist/{chunk-REMK55JI.js.map → chunk-OLZTGVBT.js.map} +0 -0
  777. /package/dist/{chunk-MCBG6R5A.js.map → chunk-ORIFMVN4.js.map} +0 -0
  778. /package/dist/{chunk-5KFZGB5U.js.map → chunk-P4BZ7YE6.js.map} +0 -0
  779. /package/dist/{chunk-23FCBIUN.js.map → chunk-P7FQUGED.js.map} +0 -0
  780. /package/dist/{chunk-7IKWIWWV.js.map → chunk-PCONTSJJ.js.map} +0 -0
  781. /package/dist/{chunk-VNGYJXAU.js.map → chunk-PEMZ2ABQ.js.map} +0 -0
  782. /package/dist/{chunk-VXTYVJDK.js.map → chunk-Q5BSNHN7.js.map} +0 -0
  783. /package/dist/{chunk-Q5NAZ7TW.js.map → chunk-QKDFD4VT.js.map} +0 -0
  784. /package/dist/{chunk-YTYROOLY.js.map → chunk-QNUWSXF2.js.map} +0 -0
  785. /package/dist/{chunk-VESIQYBF.js.map → chunk-QP3KK4KO.js.map} +0 -0
  786. /package/dist/{chunk-MSUSZLRE.js.map → chunk-QPMLACIK.js.map} +0 -0
  787. /package/dist/{chunk-TF4TPLF2.js.map → chunk-R7KR5FYJ.js.map} +0 -0
  788. /package/dist/{chunk-237NDIT2.js.map → chunk-RCI6KVN6.js.map} +0 -0
  789. /package/dist/{chunk-CZPU5TW3.js.map → chunk-RFZU5BTG.js.map} +0 -0
  790. /package/dist/{chunk-DQOLW4B5.js.map → chunk-RIA34EUT.js.map} +0 -0
  791. /package/dist/{chunk-J4W4TQPC.js.map → chunk-RMB4RTTM.js.map} +0 -0
  792. /package/dist/{chunk-RNCQ5KHQ.js.map → chunk-RQFBLYYH.js.map} +0 -0
  793. /package/dist/{chunk-4T6W43TO.js.map → chunk-RRDL7AGQ.js.map} +0 -0
  794. /package/dist/{chunk-JB67KPGM.js.map → chunk-RRO2EOJB.js.map} +0 -0
  795. /package/dist/{chunk-4MXFPDKL.js.map → chunk-RWIBPIPD.js.map} +0 -0
  796. /package/dist/{chunk-6PKVHFCK.js.map → chunk-SAIKHWH7.js.map} +0 -0
  797. /package/dist/{chunk-HT4B2DJU.js.map → chunk-SDSAQ5YS.js.map} +0 -0
  798. /package/dist/{chunk-7OZBOS75.js.map → chunk-SGV7QGYQ.js.map} +0 -0
  799. /package/dist/{chunk-GJQYM3PM.js.map → chunk-SHQWIDD5.js.map} +0 -0
  800. /package/dist/{chunk-OLQDB346.js.map → chunk-SMUZRLFZ.js.map} +0 -0
  801. /package/dist/{chunk-QGBMCB76.js.map → chunk-SSJHEV5Z.js.map} +0 -0
  802. /package/dist/{chunk-MEWYA74E.js.map → chunk-SZZLABMO.js.map} +0 -0
  803. /package/dist/{chunk-DAPK3ADA.js.map → chunk-TC3EPGGJ.js.map} +0 -0
  804. /package/dist/{chunk-4XVH6IWN.js.map → chunk-TLY2QMU5.js.map} +0 -0
  805. /package/dist/{chunk-554SVTCN.js.map → chunk-UHWHTNUS.js.map} +0 -0
  806. /package/dist/{chunk-HZ6L7WXE.js.map → chunk-URK67BAE.js.map} +0 -0
  807. /package/dist/{chunk-GH2DC7PS.js.map → chunk-V3RVRZAU.js.map} +0 -0
  808. /package/dist/{chunk-624TFFLJ.js.map → chunk-V6YZ3PL5.js.map} +0 -0
  809. /package/dist/{chunk-URVNHKM2.js.map → chunk-VGSEI7PQ.js.map} +0 -0
  810. /package/dist/{chunk-EPRA5QLB.js.map → chunk-VUFMV5Q5.js.map} +0 -0
  811. /package/dist/{chunk-QYNCPS5W.js.map → chunk-WBKWIFXA.js.map} +0 -0
  812. /package/dist/{chunk-57W2C7HY.js.map → chunk-WCLWFN3F.js.map} +0 -0
  813. /package/dist/{chunk-K2JH7QPR.js.map → chunk-WI6GD4MV.js.map} +0 -0
  814. /package/dist/{chunk-VMXDTCYF.js.map → chunk-WMALDOF5.js.map} +0 -0
  815. /package/dist/{chunk-UVD5NFRF.js.map → chunk-WVJI3Z4P.js.map} +0 -0
  816. /package/dist/{chunk-VVXA7T2M.js.map → chunk-WVQ47UTI.js.map} +0 -0
  817. /package/dist/{chunk-KFZT3PHA.js.map → chunk-XPPEUGHG.js.map} +0 -0
  818. /package/dist/{chunk-Z52HVR4J.js.map → chunk-XVM4ZIRE.js.map} +0 -0
  819. /package/dist/{chunk-7MR2JCJW.js.map → chunk-Y2CSBXQT.js.map} +0 -0
  820. /package/dist/{chunk-BILJU2DX.js.map → chunk-YXQ2NJHF.js.map} +0 -0
  821. /package/dist/{chunk-2UBFDRL7.js.map → chunk-ZCNCQGWK.js.map} +0 -0
  822. /package/dist/{chunk-OXQP3N6X.js.map → chunk-ZTZ6S5Q6.js.map} +0 -0
  823. /package/dist/{chunk-2L2NWXWJ.js.map → chunk-ZVTJGWIV.js.map} +0 -0
  824. /package/dist/native/chunks/{chunk-2HLEFYJ5.js.map → chunk-7UEJ2FMQ.js.map} +0 -0
  825. /package/dist/native/chunks/{chunk-6XDMYJBW.js.map → chunk-IVNAQJY6.js.map} +0 -0
  826. /package/dist/native/chunks/{chunk-YXM4NR2B.js.map → chunk-LB65S6C7.js.map} +0 -0
  827. /package/dist/native/chunks/{chunk-CO47ZRXO.js.map → chunk-S5SLTMPB.js.map} +0 -0
  828. /package/dist/native/chunks/{chunk-SOQVMWLQ.js.map → chunk-VAD5YVIZ.js.map} +0 -0
@@ -10,7 +10,7 @@ import {
10
10
  hslToRgb,
11
11
  lighten,
12
12
  recomposeColor
13
- } from "./chunk-YQDDM6ZW.js";
13
+ } from "./chunk-V72V2Q45.js";
14
14
 
15
15
  // src/components/form/Input/Input.metrics.ts
16
16
  var muiVariantFor = (variant) => {
@@ -95,7 +95,6 @@ var INPUT_GLOW = {
95
95
  };
96
96
  var INPUT_PULSE = {
97
97
  height: 56,
98
- radiusUnits: 0.5,
99
98
  opacity: 0.3,
100
99
  ms: 2e3,
101
100
  spread: 10
@@ -273,9 +272,9 @@ function backgroundFor(theme, variant, state) {
273
272
  function radiusFor(theme, variant) {
274
273
  if (variant === "underline") return {};
275
274
  if (variant === "filled") {
276
- return { borderTopLeftRadius: theme.radius.md, borderTopRightRadius: theme.radius.md };
275
+ return { borderTopLeftRadius: theme.radius.field, borderTopRightRadius: theme.radius.field };
277
276
  }
278
- return { borderRadius: theme.radius.md };
277
+ return { borderRadius: theme.radius.field };
279
278
  }
280
279
  function borderStyle(variant, width, color, state) {
281
280
  const style = state.disabled && BORDER_SIDES[variant] === "bottom" ? "dotted" : "solid";
@@ -341,11 +340,10 @@ export {
341
340
  ADORNMENT_GAP,
342
341
  INPUT_LOADING,
343
342
  INPUT_GLOW,
344
- INPUT_PULSE,
345
343
  FieldPulse,
346
344
  horizontalBorderInset,
347
345
  fieldLook,
348
346
  labelStyle,
349
347
  helperStyle
350
348
  };
351
- //# sourceMappingURL=chunk-NVPXIJ2O.js.map
349
+ //# sourceMappingURL=chunk-UKROAIPA.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/components/form/Input/Input.metrics.ts","../../../src/components/form/field-pulse.native.tsx","../../../src/tokens/field-edge.core.ts","../../../src/components/form/Input/Input.look.native.ts"],"sourcesContent":["import type { InputVariant } from './Input.base';\nimport { decomposeColor, recomposeColor } from '../../../tokens/color';\nimport type { UiTheme } from '../../../tokens/theme';\nimport { SIZE_VALUES, type SizeValue } from '../../../tokens/vocabulary';\n\n/**\n * THE NUMBERS BOTH `Input` RENDERERS DRAW WITH.\n *\n * `Input.styles.ts` (web, emotion over MUI's `TextField`) and\n * `Input.native.tsx` (React Native) read this one table. The web turns the px\n * into the padding shorthands and rem it has always emitted; native uses the\n * numbers as they are.\n *\n * Two kinds of number live here, and the difference matters:\n *\n * - the ones `Input.styles.ts` writes itself — the size overrides, the glow,\n * the pulse, the glass and gradient alphas, the filled wash;\n * - the ones MUI supplies UNDER those overrides — `OutlinedInput`'s\n * `16.5px 14px`, `InputBase`'s 23px line box, `FormHelperText`'s 3px lift.\n * The web never writes them, but it draws them, so a native field that\n * wants the same box has to know them. They are MUI 6.5's own values,\n * copied with their source named; a host that re-themes MUI's components\n * moves the web only, which the parity ledger records.\n */\n\nexport interface InputInset {\n top: number;\n right: number;\n bottom: number;\n left: number;\n}\n\n/** MUI gives a text field two heights; the house scale has five. */\nexport type MuiInputSize = 'small' | 'medium';\nexport type MuiInputVariant = 'outlined' | 'filled' | 'standard';\n\n/** Our five variants map onto MUI's three; `glass` and `gradient` restyle an outline. */\nexport const muiVariantFor = (variant: InputVariant): MuiInputVariant => {\n switch (variant) {\n case 'underline':\n return 'standard';\n case 'glass':\n case 'gradient':\n return 'outlined';\n default:\n return variant;\n }\n};\n\n/** Which of MUI's two heights each step of the house scale asks for. */\nexport const INPUT_MUI_SIZE: Record<SizeValue, MuiInputSize> = {\n xs: 'small',\n sm: 'small',\n md: 'medium',\n lg: 'medium',\n xl: 'medium',\n};\n\n/**\n * The three steps MUI has no height for, as `padding` on the input itself.\n *\n * `sm` and `md` are absent on purpose — they ARE MUI's two heights, so they\n * fall through to {@link MUI_INPUT_PADDING} below rather than restating it.\n * (`lg`'s 16px is a hair under `md`'s 16.5px: the override is a round number\n * where MUI's is derived from a 56px box. Kept as written — this table is what\n * the web draws, not what it ought to draw.)\n */\nexport const INPUT_SIZE_OVERRIDES: Partial<Record<SizeValue, { vertical: number; horizontal: number }>> = {\n xs: { vertical: 6, horizontal: 10 },\n lg: { vertical: 16, horizontal: 14 },\n xl: { vertical: 20, horizontal: 16 },\n};\n\n/**\n * MUI's own input padding per variant and height (`OutlinedInput`,\n * `FilledInput`, `InputBase`). The filled insets are lopsided because the\n * floating label sits inside the box on the web.\n */\nexport const MUI_INPUT_PADDING: Record<MuiInputVariant, Record<MuiInputSize, InputInset>> = {\n outlined: {\n small: { top: 8.5, right: 14, bottom: 8.5, left: 14 },\n medium: { top: 16.5, right: 14, bottom: 16.5, left: 14 },\n },\n filled: {\n small: { top: 21, right: 12, bottom: 4, left: 12 },\n medium: { top: 25, right: 12, bottom: 8, left: 12 },\n },\n standard: {\n small: { top: 1, right: 0, bottom: 5, left: 0 },\n medium: { top: 4, right: 0, bottom: 5, left: 0 },\n },\n};\n\n/** The inset the value is drawn at: the size override where there is one, MUI's otherwise. */\nexport function inputPadding(variant: InputVariant, size: SizeValue): InputInset {\n const override = INPUT_SIZE_OVERRIDES[size];\n if (override) {\n return {\n top: override.vertical,\n right: override.horizontal,\n bottom: override.vertical,\n left: override.horizontal,\n };\n }\n return MUI_INPUT_PADDING[muiVariantFor(variant)][INPUT_MUI_SIZE[size]];\n}\n\n/** `theme.typography.body1` and `InputBase`'s `lineHeight: '1.4375em'`, in px. */\nexport const INPUT_FONT_SIZE = 16;\nexport const INPUT_LINE_HEIGHT = 23;\n\n/** MUI's `::placeholder` opacity, which multiplies the ink's own alpha. */\nexport const PLACEHOLDER_OPACITY = { light: 0.42, dark: 0.5 } as const;\n\n/**\n * The placeholder's colour: the field's ink faded by MUI's opacity.\n *\n * `alpha()` REPLACES an alpha channel, and `text.primary` already carries one\n * (`rgba(0, 0, 0, 0.87)`), so `alpha(ink, 0.42)` would be a different grey from\n * the one the browser composites. React Native has no per-placeholder opacity —\n * only `placeholderTextColor` — so the multiplication happens here.\n */\nexport function placeholderInk(theme: UiTheme): string {\n const opacity = theme.mode === 'dark' ? PLACEHOLDER_OPACITY.dark : PLACEHOLDER_OPACITY.light;\n const { type, values } = decomposeColor(theme.palette.text.primary);\n const [first = 0, second = 0, third = 0, own = 1] = values;\n return recomposeColor({\n type: type.startsWith('hsl') ? 'hsla' : 'rgba',\n values: [first, second, third, own * opacity],\n });\n}\n\n/** The outline: 1px at rest, 2px focused, as MUI's `notchedOutline` draws it. */\nexport const INPUT_BORDER = { rest: 1, focused: 2 } as const;\n\n/** `FilledInput`'s and `Input`'s resting underline, MUI's own two greys. */\nexport const UNDERLINE_COLOR = {\n light: 'rgba(0, 0, 0, 0.42)',\n dark: 'rgba(255, 255, 255, 0.7)',\n} as const;\n\n/**\n * The label. It floats into the border on the web and sits above the field on\n * native, but it is the SAME label: 16px body type at MUI's shrunk scale, and\n * left-aligned with the value it names ({@link inputPadding}'s `left`).\n *\n * The 4px gap is MUI's own: a standard field puts 16px between the control's\n * top and the input, and the shrunk label's 12px line box takes the first 12.\n */\nexport const INPUT_LABEL = { scale: 0.75, gap: 4 } as const;\n\n/** `FormHelperText`: `theme.typography.caption` lifted 3px, inset 14px when contained. */\nexport const HELPER_TEXT = {\n fontSize: 12,\n lineHeight: 1.66,\n marginTop: 3,\n marginTopSmall: 4,\n marginHorizontal: 14,\n} as const;\n\n/** `InputAdornment`: 8px between the glyph and the value, on whichever side it is. */\nexport const ADORNMENT_GAP = 8;\n\n/** `loading`: the field fades and MUI's 20px `CircularProgress` takes the end slot. */\nexport const INPUT_LOADING = { opacity: 0.7, spinnerSize: 20 } as const;\n\n/** `glow`: a halo of the primary hue, wider and stronger while focused. */\nexport const INPUT_GLOW = {\n rest: { blur: 15, alpha: 0.3 },\n focused: { blur: 20, alpha: 0.5 },\n} as const;\n\n/**\n * `pulse`: a 56px bar behind the field, fading outward every two seconds. Its\n * corner is the field's own — `fieldRadius` on the web, `radius.field` native.\n */\nexport const INPUT_PULSE = {\n height: 56,\n opacity: 0.3,\n ms: 2000,\n spread: 10,\n} as const;\n\n/** `floating`: where the label rests and where it shrinks to, on the web. */\nexport const FLOATING_LABEL = {\n rest: { x: 14, y: 16 },\n shrink: { x: 14, y: -9 },\n scale: 0.75,\n paddingX: 4,\n} as const;\n\n/** `glass`: a wash of paper under a blur, brighter as the field is engaged. */\nexport const INPUT_GLASS = {\n background: { rest: 0.1, hover: 0.15, focused: 0.2 },\n blur: 20,\n hoverBorderAlpha: 0.3,\n focusRing: { width: 2, alpha: 0.1 },\n} as const;\n\n/** `gradient`: a 135° fill between the two brand hues, inside a 2px masked ring. */\nexport const INPUT_GRADIENT = {\n angleDeg: 135,\n fill: { rest: 0.1, hover: 0.15, focused: 0.2 },\n borderWidth: 2,\n} as const;\n\n/** `filled`: MUI's own grey replaced by a wash of `action.hover`. */\nexport const FILLED_WASH = { rest: 0.04, hover: 0.08, focused: 0.12 } as const;\n\n/**\n * The `sx` the web spreads onto the `TextField` for a size: MUI's height, plus\n * the input padding for the three steps MUI has no height for.\n */\nexport interface InputSizeProps {\n size: MuiInputSize;\n sx?: { '& .MuiInputBase-input': { padding: string } };\n}\n\nconst sizeProps = (size: SizeValue): InputSizeProps => {\n const override = INPUT_SIZE_OVERRIDES[size];\n return {\n size: INPUT_MUI_SIZE[size],\n ...(override\n ? { sx: { '& .MuiInputBase-input': { padding: `${override.vertical}px ${override.horizontal}px` } } }\n : {}),\n };\n};\n\nexport const SIZE_MAP: Record<SizeValue, InputSizeProps> = Object.fromEntries(\n SIZE_VALUES.map((size) => [size, sizeProps(size)]),\n) as Record<SizeValue, InputSizeProps>;\n","import * as React from 'react';\nimport { Animated, Easing, Platform, StyleSheet } from 'react-native';\n\nimport { INPUT_PULSE } from './Input/Input.metrics';\n\n/**\n * THE BAR THAT PULSES BEHIND A FIELD.\n *\n * `Input.styles.ts` and `Select.tsx` declare the same `::after` — a 56px wash\n * of the primary hue at 0.3, growing a 10px box-shadow ring and fading out\n * every two seconds — so the native halves draw it from one component rather\n * than one each. The numbers stay in `Input.metrics.ts`, which `Select.metrics`\n * re-exports under its own name.\n *\n * React Native has no box-shadow spread, so the ring is a scale on the bar.\n */\nexport function FieldPulse({\n color,\n radius,\n testID,\n}: {\n color: string;\n radius: number;\n testID: string;\n}): React.JSX.Element {\n const progress = React.useRef(new Animated.Value(0)).current;\n\n React.useEffect(() => {\n const loop = Animated.loop(\n Animated.timing(progress, {\n toValue: 1,\n duration: INPUT_PULSE.ms,\n easing: Easing.out(Easing.ease),\n useNativeDriver: Platform.OS !== 'web',\n }),\n );\n loop.start();\n return () => loop.stop();\n }, [progress]);\n\n return (\n <Animated.View\n testID={testID}\n aria-hidden\n style={[\n styles.pulse,\n {\n borderRadius: radius,\n backgroundColor: color,\n opacity: progress.interpolate({\n inputRange: [0, 0.7, 1],\n outputRange: [INPUT_PULSE.opacity, 0, 0],\n }),\n transform: [\n { translateY: -INPUT_PULSE.height / 2 },\n {\n scale: progress.interpolate({\n inputRange: [0, 0.7, 1],\n outputRange: [1, 1 + INPUT_PULSE.spread / INPUT_PULSE.height, 1],\n }),\n },\n ],\n },\n ]}\n />\n );\n}\n\nconst styles = StyleSheet.create({\n pulse: {\n position: 'absolute',\n top: '50%',\n left: 0,\n right: 0,\n height: INPUT_PULSE.height,\n pointerEvents: 'none',\n },\n});\n","import {\n darken,\n decomposeColor,\n getContrastRatio,\n getLuminance,\n hslToRgb,\n lighten,\n recomposeColor,\n} from './color';\n\n/**\n * THE FIELD EDGE, WITH NO RENDERER BEHIND IT.\n *\n * The argument for why an outlined control cannot draw its resting boundary\n * from `alpha(theme.palette.divider, 0.23)` is in `./field-edge.ts`, next to\n * the MUI-typed `fieldEdge` the web components call. This file is the WALK\n * itself, over two colour strings, so the native renderer can run it too:\n * `Input.native.tsx` and `Select.native.tsx` have no MUI `Theme` to pass and no\n * `@mui/material/styles` to import, and a second copy of the walk beside them\n * is a second answer to \"where is this field's border\" waiting to drift.\n *\n * `./color` is a faithful port of MUI's colour manipulator (asserted equal to\n * it in `./__tests__/color.test.ts`), so the string this returns is the string\n * the web has always emitted.\n */\n\n/**\n * WCAG 2.1 SC 1.4.11 — the contrast a control's own boundary owes the surface\n * behind it. See `./field-edge.ts` for why 3:1 and why it is a floor.\n */\nexport const MIN_UI_CONTRAST = 3;\n\n/** How far one step of the walk moves, and how many steps before it gives up. */\nconst STEP = 0.05;\nconst MAX_STEPS = 20;\n\n/** A colour's red, green, blue and alpha, with `hsl()` converted on the way. */\nfunction channels(colour: string): [number, number, number, number] {\n const decomposed = decomposeColor(colour);\n const rgb = decomposed.type.startsWith('hsl') ? decomposeColor(hslToRgb(colour)) : decomposed;\n const [r, g, b, a] = rgb.values;\n return [r ?? 0, g ?? 0, b ?? 0, a ?? 1];\n}\n\n/**\n * A colour as an opaque `rgb()`, with any translucency resolved against\n * `surface`.\n *\n * Needed because `getContrastRatio` reads the channels it is given and ignores\n * the alpha, so handing it an `rgba()` measures a colour nobody sees.\n */\nfunction flatten(colour: string, surface: string): string {\n const [r, g, b, alpha] = channels(colour);\n if (alpha >= 1) return recomposeColor({ type: 'rgb', values: [r, g, b] });\n\n const [baseR, baseG, baseB] = channels(surface);\n const blend = (fg: number, bg: number): number => Math.round(alpha * fg + (1 - alpha) * bg);\n return recomposeColor({\n type: 'rgb',\n values: [blend(r, baseR), blend(g, baseG), blend(b, baseB)],\n });\n}\n\n/**\n * The resting boundary a control draws on `surface`, from the theme's own\n * `divider` as the seed: the seed itself when it already clears\n * {@link MIN_UI_CONTRAST}, otherwise the nearest tone of it that does.\n */\nexport function resolveFieldEdge(divider: string, surface: string): string {\n const ground = flatten(surface, '#FFFFFF');\n const seed = flatten(divider, ground);\n if (getContrastRatio(seed, ground) >= MIN_UI_CONTRAST) return seed;\n\n // Away from the surface, whichever way that is — so one rule serves both\n // modes, and a dark card in a light theme is still handled by the pair rather\n // than by `palette.mode`.\n const away = getLuminance(ground) > 0.5 ? darken : lighten;\n for (let step = 1; step <= MAX_STEPS; step += 1) {\n // From the SEED each time rather than compounding the previous result, so\n // the walk lands on the nearest passing tone instead of overshooting past it.\n const candidate = away(seed, step * STEP);\n if (getContrastRatio(candidate, ground) >= MIN_UI_CONTRAST) return candidate;\n }\n // Unreachable for any real surface — black clears 21:1 on white and white\n // clears it on black — but a caller must never be handed `undefined`.\n return getLuminance(ground) > 0.5 ? '#000000' : '#FFFFFF';\n}\n","import type { TextStyle, ViewStyle } from 'react-native';\n\nimport type { InputVariant } from './Input.base';\nimport {\n FILLED_WASH,\n HELPER_TEXT,\n INPUT_MUI_SIZE,\n INPUT_BORDER,\n INPUT_FONT_SIZE,\n INPUT_GLASS,\n INPUT_GRADIENT,\n INPUT_LABEL,\n INPUT_LINE_HEIGHT,\n UNDERLINE_COLOR,\n inputPadding,\n placeholderInk,\n} from './Input.metrics';\nimport { alpha } from '../../../tokens/color';\nimport { resolveFieldEdge } from '../../../tokens/field-edge.core';\nimport type { UiTheme } from '../../../tokens/theme';\nimport type { SizeValue } from '../../../tokens/vocabulary';\n\n/**\n * WHAT A NATIVE `Input` PAINTS, AS ARITHMETIC.\n *\n * Kept out of `Input.native.tsx` so that file reads as structure — label, box,\n * value, helper — and this one reads as the decisions: which border, how thick,\n * what colour, and where the value sits inside it.\n */\nexport interface FieldState {\n focused: boolean;\n error: boolean;\n disabled: boolean;\n}\n\n/** Which edges a variant draws. `filled` and `underline` rule only the bottom. */\nconst BORDER_SIDES: Record<InputVariant, 'all' | 'bottom'> = {\n outlined: 'all',\n glass: 'all',\n gradient: 'all',\n filled: 'bottom',\n underline: 'bottom',\n};\n\n/**\n * Whether the web draws this border on an absolutely positioned element.\n *\n * MUI's `notchedOutline` fieldset and the `::before` / `::after` underlines\n * cost no height — the field is 56px tall WITH its border. `glass` and\n * `gradient` instead put a real `border` on the input root, which does add to\n * the box, so the web field is 2px and 4px taller respectively. React Native\n * has only the second kind, so the first three compensate below.\n */\nconst BORDER_IS_FREE: Record<InputVariant, boolean> = {\n outlined: true,\n filled: true,\n underline: true,\n glass: false,\n gradient: false,\n};\n\n/**\n * How thick. Only the outline family thickens on focus (MUI's `borderWidth: 2`\n * on `.Mui-focused .notchedOutline`); `glass` and `gradient` declare their own\n * constant border and change only its colour.\n */\nexport function borderWidthFor(variant: InputVariant, focused: boolean): number {\n if (variant === 'gradient') return INPUT_GRADIENT.borderWidth;\n if (variant === 'glass') return INPUT_BORDER.rest;\n return focused ? INPUT_BORDER.focused : INPUT_BORDER.rest;\n}\n\n/**\n * The width the border takes out of the horizontal inset — 0 where the web's\n * border adds to the box rather than floating over it. Exported because the\n * `Select` draws the same box and has to place its arrow inside the same edge.\n */\nexport function horizontalBorderInset(variant: InputVariant, focused: boolean): number {\n if (BORDER_SIDES[variant] !== 'all' || !BORDER_IS_FREE[variant]) return 0;\n return borderWidthFor(variant, focused);\n}\n\n/**\n * What colour. Error and disabled outrank focus, as they do in MUI's source\n * order; a resting `filled` keeps MUI's own underline grey because the web\n * override only replaces its background.\n */\nfunction borderColorFor(theme: UiTheme, variant: InputVariant, state: FieldState): string {\n if (state.disabled) return theme.palette.action.disabled;\n if (state.error) return theme.palette.danger.main;\n if (variant === 'gradient') {\n return state.focused ? theme.palette.primary.dark : theme.palette.primary.main;\n }\n if (state.focused) return theme.palette.primary.main;\n if (variant === 'filled') {\n return theme.mode === 'dark' ? UNDERLINE_COLOR.dark : UNDERLINE_COLOR.light;\n }\n return resolveFieldEdge(theme.palette.divider, theme.palette.background.paper);\n}\n\n/** The fill behind the value. `outlined` and `underline` have none. */\nfunction backgroundFor(theme: UiTheme, variant: InputVariant, state: FieldState): string | undefined {\n switch (variant) {\n case 'filled':\n return alpha(theme.palette.action.hover, state.focused ? FILLED_WASH.focused : FILLED_WASH.rest);\n case 'glass':\n return alpha(\n theme.palette.background.paper,\n state.focused ? INPUT_GLASS.background.focused : INPUT_GLASS.background.rest,\n );\n case 'gradient':\n // The first stop of the web's 135° fill; React Native core has no gradient.\n return alpha(\n theme.palette.primary.main,\n state.focused ? INPUT_GRADIENT.fill.focused : INPUT_GRADIENT.fill.rest,\n );\n default:\n return undefined;\n }\n}\n\n/**\n * The theme's one field radius: `filled` rounds its top two corners with it,\n * `underline` none, the rest all four.\n */\nfunction radiusFor(theme: UiTheme, variant: InputVariant): ViewStyle {\n if (variant === 'underline') return {};\n if (variant === 'filled') {\n return { borderTopLeftRadius: theme.radius.field, borderTopRightRadius: theme.radius.field };\n }\n return { borderRadius: theme.radius.field };\n}\n\n/** The border as React Native writes it: a width per side, one colour, one style. */\nfunction borderStyle(variant: InputVariant, width: number, color: string, state: FieldState): ViewStyle {\n // MUI draws a disabled `filled` or `standard` underline dotted.\n const style: ViewStyle['borderStyle'] =\n state.disabled && BORDER_SIDES[variant] === 'bottom' ? 'dotted' : 'solid';\n const sides: ViewStyle =\n BORDER_SIDES[variant] === 'bottom' ? { borderBottomWidth: width } : { borderWidth: width };\n return { ...sides, borderColor: color, borderStyle: style };\n}\n\nexport interface FieldLook {\n /** The row the border is drawn on: fill, edges, corners and horizontal inset. */\n box: ViewStyle;\n /** The `TextInput` itself: type, ink and the vertical inset. */\n value: TextStyle;\n placeholder: string;\n}\n\n/**\n * The field, in absolute numbers.\n *\n * The horizontal inset sits on the ROW rather than on the `TextInput`, which is\n * what MUI does the moment an adornment appears (`paddingLeft: 14` moves to the\n * input root and the input's own goes to 0) — so one rule serves a field with\n * adornments and one without.\n *\n * Where the web's border costs no height, the inset gives the border back its\n * width, so the box is the height MUI draws (56px medium, 40px small) and the\n * value does not shift by a pixel when the focused border thickens.\n */\nexport function fieldLook(\n theme: UiTheme,\n variant: InputVariant,\n size: SizeValue,\n state: FieldState,\n): FieldLook {\n const padding = inputPadding(variant, size);\n const width = borderWidthFor(variant, state.focused);\n const inset = BORDER_IS_FREE[variant] ? width : 0;\n const sides = BORDER_SIDES[variant];\n const horizontal = sides === 'all' ? inset : 0;\n\n return {\n box: {\n flexDirection: 'row',\n alignItems: 'center',\n paddingLeft: padding.left - horizontal,\n paddingRight: padding.right - horizontal,\n backgroundColor: backgroundFor(theme, variant, state),\n ...radiusFor(theme, variant),\n ...borderStyle(variant, width, borderColorFor(theme, variant, state), state),\n },\n value: {\n flex: 1,\n minWidth: 0,\n fontFamily: theme.typography.fontFamily,\n fontSize: INPUT_FONT_SIZE,\n lineHeight: INPUT_LINE_HEIGHT,\n color: state.disabled ? theme.palette.text.disabled : theme.palette.text.primary,\n paddingTop: padding.top - (sides === 'all' ? inset : 0),\n paddingBottom: padding.bottom - inset,\n paddingHorizontal: 0,\n },\n placeholder: placeholderInk(theme),\n };\n}\n\n/**\n * The label's ink. MUI's `FormLabel` is `text.secondary`, the focus colour is\n * the palette's `main`, and error and disabled are declared after it and win.\n */\nexport function labelStyle(theme: UiTheme, variant: InputVariant, size: SizeValue, state: FieldState): TextStyle {\n const ink = state.disabled\n ? theme.palette.text.disabled\n : state.error\n ? theme.palette.danger.main\n : state.focused\n ? theme.palette.primary.main\n : theme.palette.text.secondary;\n\n return {\n color: ink,\n fontFamily: theme.typography.fontFamily,\n fontSize: INPUT_FONT_SIZE * INPUT_LABEL.scale,\n marginBottom: INPUT_LABEL.gap,\n // Aligned with the value it names: the web's floating label and the input\n // share one left inset (14px outlined, 12px filled, 0 standard).\n marginLeft: inputPadding(variant, size).left,\n };\n}\n\n/**\n * `FormHelperText`: caption type, 3px below the field, inset 14px when\n * contained — and 4px below at MUI's `small` density, which `INPUT_MUI_SIZE`\n * selects for `xs` and `sm` (`FormHelperText.js`: `marginTop: 3`, then a\n * `size: 'small'` variant raising it to 4).\n */\nexport function helperStyle(\n theme: UiTheme,\n variant: InputVariant,\n size: SizeValue,\n state: FieldState,\n): TextStyle {\n return {\n color: state.disabled\n ? theme.palette.text.disabled\n : state.error\n ? theme.palette.danger.main\n : theme.palette.text.secondary,\n fontFamily: theme.typography.fontFamily,\n fontSize: HELPER_TEXT.fontSize,\n lineHeight: HELPER_TEXT.fontSize * HELPER_TEXT.lineHeight,\n marginTop: INPUT_MUI_SIZE[size] === 'small' ? HELPER_TEXT.marginTopSmall : HELPER_TEXT.marginTop,\n marginHorizontal: variant === 'underline' ? 0 : HELPER_TEXT.marginHorizontal,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;AAqCO,IAAM,gBAAgB,CAAC,YAA2C;AACvE,UAAQ,SAAS;AAAA,IACf,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;AAGO,IAAM,iBAAkD;AAAA,EAC7D,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAWO,IAAM,uBAA6F;AAAA,EACxG,IAAI,EAAE,UAAU,GAAG,YAAY,GAAG;AAAA,EAClC,IAAI,EAAE,UAAU,IAAI,YAAY,GAAG;AAAA,EACnC,IAAI,EAAE,UAAU,IAAI,YAAY,GAAG;AACrC;AAOO,IAAM,oBAA+E;AAAA,EAC1F,UAAU;AAAA,IACR,OAAO,EAAE,KAAK,KAAK,OAAO,IAAI,QAAQ,KAAK,MAAM,GAAG;AAAA,IACpD,QAAQ,EAAE,KAAK,MAAM,OAAO,IAAI,QAAQ,MAAM,MAAM,GAAG;AAAA,EACzD;AAAA,EACA,QAAQ;AAAA,IACN,OAAO,EAAE,KAAK,IAAI,OAAO,IAAI,QAAQ,GAAG,MAAM,GAAG;AAAA,IACjD,QAAQ,EAAE,KAAK,IAAI,OAAO,IAAI,QAAQ,GAAG,MAAM,GAAG;AAAA,EAC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rD,eAAe,QAAQ,SAAS;AAAA,MAChC,mBAAmB;AAAA,IACrB;AAAA,IACA,aAAa,eAAe,KAAK;AAAA,EACnC;AACF;AAMO,SAAS,WAAW,OAAgB,SAAuB,MAAiB,OAA8B;AAC/G,QAAM,MAAM,MAAM,WACd,MAAM,QAAQ,KAAK,WACnB,MAAM,QACJ,MAAM,QAAQ,OAAO,OACrB,MAAM,UACJ,MAAM,QAAQ,QAAQ,OACtB,MAAM,QAAQ,KAAK;AAE3B,SAAO;AAAA,IACL,OAAO;AAAA,IACP,YAAY,MAAM,WAAW;AAAA,IAC7B,UAAU,kBAAkB,YAAY;AAAA,IACxC,cAAc,YAAY;AAAA;AAAA;AAAA,IAG1B,YAAY,aAAa,SAAS,IAAI,EAAE;AAAA,EAC1C;AACF;AAQO,SAAS,YACd,OACA,SACA,MACA,OACW;AACX,SAAO;AAAA,IACL,OAAO,MAAM,WACT,MAAM,QAAQ,KAAK,WACnB,MAAM,QACJ,MAAM,QAAQ,OAAO,OACrB,MAAM,QAAQ,KAAK;AAAA,IACzB,YAAY,MAAM,WAAW;AAAA,IAC7B,UAAU,YAAY;AAAA,IACtB,YAAY,YAAY,WAAW,YAAY;AAAA,IAC/C,WAAW,eAAe,IAAI,MAAM,UAAU,YAAY,iBAAiB,YAAY;AAAA,IACvF,kBAAkB,YAAY,cAAc,IAAI,YAAY;AAAA,EAC9D;AACF;","names":["alpha"]}
@@ -117,6 +117,9 @@ function inkOver(fills, incumbent) {
117
117
  }
118
118
  }
119
119
 
120
+ // src/tokens/field-radius.core.ts
121
+ var DEFAULT_FIELD_RADIUS = 8;
122
+
120
123
  // src/tokens/heading-scale.ts
121
124
  var HEADING_LEVELS = [
122
125
  "display",
@@ -289,7 +292,7 @@ function createUiTheme(options = {}) {
289
292
  palette,
290
293
  spacing: (units) => units * spacingUnit,
291
294
  spacingUnit,
292
- radius: { sm: 2, md: 4, lg: 8, xl: 16, full: 9999 },
295
+ radius: { sm: 2, md: 4, lg: 8, xl: 16, full: 9999, field: options.fieldRadius ?? DEFAULT_FIELD_RADIUS },
293
296
  typography: {
294
297
  fontFamily: options.typography?.fontFamily,
295
298
  monospaceFontFamily: options.typography?.monospaceFontFamily,
@@ -316,6 +319,7 @@ export {
316
319
  contrastText,
317
320
  inkOver,
318
321
  cssLengthToPx,
322
+ DEFAULT_FIELD_RADIUS,
319
323
  HEADING_LEVELS,
320
324
  HEADING_SCALE,
321
325
  px,
@@ -330,4 +334,4 @@ export {
330
334
  createUiTheme,
331
335
  DEFAULT_UI_THEME
332
336
  };
333
- //# sourceMappingURL=chunk-YQDDM6ZW.js.map
337
+ //# sourceMappingURL=chunk-V72V2Q45.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/tokens/color.ts","../../../src/tokens/ink-over.ts","../../../src/tokens/field-radius.core.ts","../../../src/tokens/heading-scale.ts","../../../src/tokens/css-units.ts","../../../src/tokens/theme.ts"],"sourcesContent":["/**\n * COLOUR ARITHMETIC WITH NO RENDERER BEHIND IT.\n *\n * Every shade the web components paint comes out of MUI's colour manipulator:\n * `lighten(main, 0.2)` is a palette's `light`, `darken(main, 0.3)` its `dark`,\n * `alpha(main, 0.1)` the hover wash on an outline button. A native component\n * that wants the SAME pixel has to run the SAME arithmetic, and it cannot\n * import it — `@mui/material/styles` drags emotion and the DOM in behind it.\n *\n * So the arithmetic lives here, once, with nothing behind it. It is a faithful\n * port of `@mui/system/colorManipulator` (MIT), down to the truncation:\n * `lighten('#6366F1', 0.2)` is `rgb(130, 132, 243)` on both sides because both\n * TRUNCATE 132.6 rather than round it. A port that rounded would be one pixel\n * of tint away from the web on every button, forever, and nothing would flag it.\n *\n * `color()` space strings are deliberately unsupported: nothing in this package\n * emits one, and a smaller surface is a smaller thing to keep identical.\n */\n\nexport type ColorFormat = 'rgb' | 'rgba' | 'hsl' | 'hsla';\n\nexport interface DecomposedColor {\n type: ColorFormat;\n values: number[];\n}\n\nconst FORMATS: readonly ColorFormat[] = ['rgb', 'rgba', 'hsl', 'hsla'];\n\nconst clamp = (value: number, min = 0, max = 1): number => Math.min(Math.max(min, value), max);\n\n/** `#rgb`, `#rgba`, `#rrggbb` or `#rrggbbaa` to its `rgb()` / `rgba()` string. */\nexport function hexToRgb(color: string): string {\n const hex = color.slice(1);\n const pair = new RegExp(`.{1,${hex.length >= 6 ? 2 : 1}}`, 'g');\n let channels: string[] | null = hex.match(pair);\n if (channels && channels[0]?.length === 1) {\n channels = channels.map((channel) => channel + channel);\n }\n if (!channels) return '';\n\n const parts = channels.map((channel, index) =>\n index < 3 ? parseInt(channel, 16) : Math.round((parseInt(channel, 16) / 255) * 1000) / 1000,\n );\n return `rgb${channels.length === 4 ? 'a' : ''}(${parts.join(', ')})`;\n}\n\n/** Any supported colour string to its type and numeric channels. */\nexport function decomposeColor(color: string): DecomposedColor {\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n\n const marker = color.indexOf('(');\n const type = color.substring(0, marker) as ColorFormat;\n if (!FORMATS.includes(type)) {\n throw new Error(\n `@12-apps/ui: unsupported colour \"${color}\". Use #nnn, #nnnnnn, rgb(), rgba(), hsl() or hsla().`,\n );\n }\n\n const values = color\n .substring(marker + 1, color.length - 1)\n .split(',')\n .map((value) => parseFloat(value));\n\n return { type, values };\n}\n\n/** The inverse of {@link decomposeColor}, with MUI's channel truncation. */\nexport function recomposeColor({ type, values }: DecomposedColor): string {\n const parts: Array<number | string> = type.startsWith('rgb')\n ? values.map((value, index) => (index < 3 ? Math.trunc(value) : value))\n : [values[0] ?? 0, `${values[1] ?? 0}%`, `${values[2] ?? 0}%`, ...values.slice(3)];\n\n return `${type}(${parts.join(', ')})`;\n}\n\n/** An `hsl()` / `hsla()` string to its `rgb()` / `rgba()` equivalent. */\nexport function hslToRgb(color: string): string {\n const { type, values } = decomposeColor(color);\n const h = values[0] ?? 0;\n const s = (values[1] ?? 0) / 100;\n const l = (values[2] ?? 0) / 100;\n const a = s * Math.min(l, 1 - l);\n const f = (n: number, k = (n + h / 30) % 12): number =>\n l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n\n const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n if (type === 'hsla') {\n return recomposeColor({ type: 'rgba', values: [...rgb, values[3] ?? 1] });\n }\n return recomposeColor({ type: 'rgb', values: rgb });\n}\n\n/** Relative luminance (WCAG 2.0), to three decimals like MUI. */\nexport function getLuminance(color: string): number {\n const decomposed = decomposeColor(color);\n const channels = decomposed.type.startsWith('hsl')\n ? decomposeColor(hslToRgb(color)).values\n : decomposed.values;\n\n const [r, g, b] = channels.slice(0, 3).map((value) => {\n const c = value / 255;\n return c <= 0.03928 ? c / 12.92 : ((c + 0.055) / 1.055) ** 2.4;\n });\n\n return Number((0.2126 * (r ?? 0) + 0.7152 * (g ?? 0) + 0.0722 * (b ?? 0)).toFixed(3));\n}\n\n/** WCAG contrast ratio between two colours, 1 to 21. */\nexport function getContrastRatio(foreground: string, background: string): number {\n const lumA = getLuminance(foreground);\n const lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n\n/** The colour with its alpha channel set to `value` (0 to 1). */\nexport function alpha(color: string, value: number): string {\n const decomposed = decomposeColor(color);\n const type: ColorFormat = decomposed.type.endsWith('a')\n ? decomposed.type\n : (`${decomposed.type}a` as ColorFormat);\n const values = decomposed.values.slice(0, 3);\n values[3] = clamp(value);\n return recomposeColor({ type, values });\n}\n\n/** The colour moved `coefficient` (0 to 1) of the way towards black. */\nexport function darken(color: string, coefficient: number): string {\n const decomposed = decomposeColor(color);\n const amount = clamp(coefficient);\n const values = [...decomposed.values];\n\n if (decomposed.type.startsWith('hsl')) {\n values[2] = (values[2] ?? 0) * (1 - amount);\n } else {\n for (let index = 0; index < 3; index += 1) {\n values[index] = (values[index] ?? 0) * (1 - amount);\n }\n }\n return recomposeColor({ type: decomposed.type, values });\n}\n\n/** The colour moved `coefficient` (0 to 1) of the way towards white. */\nexport function lighten(color: string, coefficient: number): string {\n const decomposed = decomposeColor(color);\n const amount = clamp(coefficient);\n const values = [...decomposed.values];\n\n if (decomposed.type.startsWith('hsl')) {\n values[2] = (values[2] ?? 0) + (100 - (values[2] ?? 0)) * amount;\n } else {\n for (let index = 0; index < 3; index += 1) {\n values[index] = (values[index] ?? 0) + (255 - (values[index] ?? 0)) * amount;\n }\n }\n return recomposeColor({ type: decomposed.type, values });\n}\n\n/** Darken a light colour or lighten a dark one, by `coefficient`. */\nexport function emphasize(color: string, coefficient = 0.15): string {\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\n","/**\n * THE PRODUCT'S TWO INKS, AND THE TWO RULES FOR CHOOSING BETWEEN THEM.\n *\n * Split out of `theme.ts` when that file reached the 400-line cap, and the seam\n * is a real one rather than a place the knife happened to land: everything here\n * answers one question — given a surface, which of the two inks goes on it —\n * and nothing here builds a palette. `theme.ts` keeps the tables and the\n * factories and imports the answers.\n *\n * Both functions stay exported from `theme.ts` as well, because both were\n * published from there and a caller should not have to learn about this file.\n */\nimport { getContrastRatio } from './color';\n\n/** MUI's `createPalette` contrast defaults, exactly. */\nexport const CONTRAST_THRESHOLD = 3;\nexport const DARK_TEXT_PRIMARY = 'rgba(0, 0, 0, 0.87)';\nexport const LIGHT_TEXT_PRIMARY = '#fff';\n\n/**\n * MUI's `getContrastText`: white where white reads at 3:1 on the colour, the\n * light mode's dark ink otherwise. (MUI's source spells the white as the DARK\n * palette's `text.primary`, which is what made it easy to read backwards.)\n */\nexport function contrastText(background: string): string {\n return getContrastRatio(background, LIGHT_TEXT_PRIMARY) >= CONTRAST_THRESHOLD\n ? LIGHT_TEXT_PRIMARY\n : DARK_TEXT_PRIMARY;\n}\n\n/**\n * The ink that reads on EVERY one of these fills (FUT-1924).\n *\n * {@link contrastText} answers for one fill, which is all MUI's `augmentColor`\n * ever needs: a solid button is a single flat colour. Two components paint the\n * label over something that is not one colour — `Button`'s `gradient` variant\n * runs between two stops, and `Switch`'s thumb travels the whole length of a\n * checked track — and both of them stated `#fff` outright instead, which is\n * white-on-pale the moment a white-labelled host hands the library a pale\n * brand. Audited across the library, those two were the only places a hardcoded\n * white sat over a surface the TENANT chooses.\n *\n * **This deliberately does not follow `contrastText`'s rule.** MUI's is a\n * threshold that PREFERS white — white wherever white clears 3:1 — which is a\n * brand-feel decision, and it is kept for every existing caller so nothing\n * already legible moves. Here the fills can disagree: over MUI's own success\n * pair white is 2.78:1 on `#4caf50` and dark ink 2.66:1 on `#1b5e20`, so\n * neither meets any threshold and asking whether one does is the wrong\n * question. The answer is whichever ink has the better WORST case across the\n * fills — which is also not what either fill says on its own, since\n * `contrastText('#4caf50')` is dark ink.\n *\n * A gradient wide enough that neither ink clears 4.5:1 anywhere is a palette\n * problem this cannot fix — it returns the less bad ink and does not pretend\n * otherwise.\n *\n * **It no longer takes the better ink for free (FUT-2066).** \"Better worst\n * case\" decides WHICH ink wins; {@link INK_CHANGE_MARGIN} decides whether the\n * win is big enough to repaint a brand over. The two rows that moved when this\n * function landed were `warning` — 2.16:1 white on an orange, the defect — and\n * `danger`, bought for a quarter of a point. Only the first survives the\n * margin, which is the whole point: one of them was a fix and the other was\n * churn, and nothing in the old rule could tell them apart.\n *\n * `Math.min` is the claim, and it is worth knowing that no test can prove it\n * against `Math.max` today: the two candidate inks sit at opposite ends of the\n * luminance range, so ranking them by their best fill and by their worst gives\n * the same winner for every possible pair (checked exhaustively). Worst case is\n * still what this MEANS, and the moment a third ink or one that is not an\n * extreme is offered, the two stop agreeing.\n *\n * `incumbent` is the palette's own `contrastText` for this role — what both\n * call sites already passed, under the name `fallback`. It is still returned\n * when a fill cannot be decomposed ({@link getContrastRatio} throws on a format\n * it does not know, and a throw inside an emotion style function takes the\n * render down with it), so nothing about that path changed; it has simply\n * stopped being only a last resort.\n */\n/**\n * HOW MUCH BETTER THE OTHER INK HAS TO BE BEFORE A BRAND IS REPAINTED (FUT-2066).\n *\n * Half a contrast point. The rule this guards is \"take the better worst case\",\n * and on MUI's own stock palette that rule repainted `danger`'s gradient button\n * from white-on-red to black-on-red for **0.25 of a point** — 3.49 against 3.74,\n * with neither ink clearing AA either way. A rule that churns a brand for a\n * rounding difference will churn it again on the next palette tweak, and the\n * consumer who has to explain why their destructive button changed colour has\n * no better answer than \"it rounded the other way\".\n *\n * The number sits in a wide measured band rather than on a cliff. Walking the\n * five gradient pairs `Button.styles.ts` paints, the only two gaps that exist\n * are `danger`'s **0.25** — the churn — and `warning`'s **3.38**, white at\n * 2.16:1 on an orange against dark ink at 5.54:1, which is the defect FUT-1924\n * exists for. Anything in `[0.3, 3.38]` separates them; 0.5 is the round number\n * nearest the bottom of that band, so the next palette move has to be\n * substantially larger than a rounding difference before this fires.\n *\n * FUT-2066 recorded this as undecidable, on a measurement that turns out to be\n * wrong: it reports the incumbent for `success` as DARK ink and concludes that\n * a margin would hold it at 2.66 where the current rule gets 2.78. The gradient\n * runs `success.light → success.dark`, but `contrastText` answers for\n * `success.MAIN` — `#2e7d32`, not the `#4caf50` the table names — and white on\n * `#2e7d32` is 5.7:1, so the incumbent is white and a margin leaves that row\n * exactly where it is. With that row corrected the objection goes away and the\n * shape the ticket proposed is simply right.\n */\nconst INK_CHANGE_MARGIN = 0.5;\n\n/**\n * The contrast below which the incumbent is not worth keeping at any margin.\n *\n * MUI's own `contrastThreshold`, and the same number for the same reason: below\n * 3:1 an ink is not a brand decision, it is text nobody can read. `warning` is\n * caught by this AND by {@link INK_CHANGE_MARGIN} — white sits at 2.16:1 on\n * that orange — which is deliberate: the one row that has to move should not\n * depend on which clause fires.\n */\nconst INK_CHANGE_FLOOR = CONTRAST_THRESHOLD;\n\nexport function inkOver(fills: readonly string[], incumbent: string): string {\n try {\n const worstCase = (ink: string): number =>\n Math.min(...fills.map((fill) => getContrastRatio(ink, fill)));\n\n const better =\n worstCase(LIGHT_TEXT_PRIMARY) >= worstCase(DARK_TEXT_PRIMARY)\n ? LIGHT_TEXT_PRIMARY\n : DARK_TEXT_PRIMARY;\n\n // The incumbent is the palette's OWN answer for this role, which is what\n // makes \"keep it unless the gain is material\" a statement about churn\n // rather than about arithmetic. It arrives as the same argument that used\n // to be the parse-failure fallback, because it always was `contrastText`\n // at both call sites — the parameter has stopped being a last resort and\n // started being the thing being defended.\n const held = worstCase(incumbent);\n const gain = worstCase(better) - held;\n return gain >= INK_CHANGE_MARGIN || held < INK_CHANGE_FLOOR ? better : incumbent;\n } catch {\n return incumbent;\n }\n}\n","/**\n * THE ONE RADIUS EVERY FIELD IS DRAWN WITH, WITH NO RENDERER BEHIND IT.\n *\n * A row of controls — a search box, three filter triggers, a \"Mais\" button —\n * used to carry three radii: the text field took MUI's `shape.borderRadius`\n * (4px), the button `theme.spacing(1)` (8px), and the filter triggers a 999px\n * pill. Each was reasonable on its own; side by side they read as three kits\n * glued together. A field's corner is one decision, so it is one token.\n *\n * \"Field\" is anything that sits at control height and takes input or opens a\n * choice: text inputs, selects, textareas, OTP slots, date and filter triggers,\n * toggles, and the buttons that share their rows. It is NOT a card, a menu, a\n * badge or a chip counter — those keep the theme's general `radius` scale.\n *\n * This file is the number alone, so the native renderer and `./theme.ts` read\n * it without importing MUI. The web reader and the theme channel it is set\n * through are in `./field-radius.ts`.\n */\n\n/**\n * The default field radius, in px (dp on native).\n *\n * 8, because that is what `Button` has always drawn — so the control people\n * see most keeps its corner and the rest of the row comes to meet it.\n */\nexport const DEFAULT_FIELD_RADIUS = 8;\n","\n/**\n * THE THIRD VOCABULARY: the type scale.\n *\n * `scales.ts` opens by saying the package had both halves of every argument at\n * once until the size and colour vocabularies were declared in one place and\n * every component derived from them. The type scale was the one that never got\n * that treatment — it lived as a private `LEVELS` table inside\n * `Heading.styles.ts`, which is exactly the shape that file exists to refuse.\n *\n * Two things follow from it being private, and the second is the expensive one.\n *\n * **It could not be re-themed.** `Heading` read `theme.typography.h1.fontFamily`\n * from the theme and then ignored the theme for every other metric, so a host\n * calling `createTheme({ typography: { h1: { fontSize: '2rem' } } })` changed\n * `<Typography variant=\"h1\">` and left `<Heading level=\"h1\">` at 48px. A design\n * system whose type scale cannot be set by the design is not a system.\n *\n * **And the numbers were a landing page's.** `h1` at 3rem and `h2` at 2.5rem are\n * hero metrics. Dropped into an operations console they put a 48px title\n * directly above 14px body copy — a 3.4x jump with nothing in between — so\n * product teams stopped reaching for the component. Measured in one consuming\n * repo: `<Heading>` appeared four times in the entire codebase while raw\n * `fontSize` appeared in dozens of files. The component was not disliked, it was\n * unusable at app scale, and every host paid for that in hand-rolled CSS.\n *\n * So the defaults below are an APP scale, and `display` keeps the hero size for\n * the screens that actually want one. A marketing page asks for `display`; a\n * console asks for `h1` and gets something it can put on a page.\n */\n\n/**\n * A step on the scale.\n *\n * `display` is a SIZE, not a rank — see `Heading`, which renders it as `h1` so\n * the document still gets exactly one level-one heading.\n */\nexport type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'display';\n\n/**\n * The runtime list, declared beside the union for the reason `SIZE_VALUES`\n * gives: a story's `argTypes.options` spelled by hand drifts from the type, and\n * the direction it drifts is \"documents less than the component accepts\".\n */\nexport const HEADING_LEVELS = [\n 'display',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n] as const satisfies readonly HeadingLevel[];\n\n/** Everything one step of the scale decides. */\nexport interface HeadingMetrics {\n fontSize: string;\n lineHeight: number;\n letterSpacing?: string;\n /**\n * The weight this step carries when the caller asks for `normal`. A heading's\n * \"normal\" is not body text's 400 — it is the weight the step is meant to\n * carry, which gets heavier as the step gets larger.\n */\n normalWeight: number;\n}\n\n/**\n * The house default, in CODE rather than in a component.\n *\n * ~1.15x per step from a 1rem `h6`, which keeps six distinguishable ranks inside\n * the range an application actually uses. The old table ran 1.125rem → 4rem and\n * spent its top three steps above anything a product screen wants.\n */\nexport const HEADING_SCALE: Record<HeadingLevel, HeadingMetrics> = {\n // The hero size the old `h1` was really offering, under the name that says so.\n display: { fontSize: '3rem', lineHeight: 1.05, letterSpacing: '-0.03em', normalWeight: 800 },\n h1: { fontSize: '2rem', lineHeight: 1.2, letterSpacing: '-0.02em', normalWeight: 700 },\n h2: { fontSize: '1.75rem', lineHeight: 1.25, letterSpacing: '-0.015em', normalWeight: 700 },\n h3: { fontSize: '1.5rem', lineHeight: 1.3, letterSpacing: '-0.01em', normalWeight: 600 },\n h4: { fontSize: '1.25rem', lineHeight: 1.35, letterSpacing: '-0.005em', normalWeight: 600 },\n h5: { fontSize: '1.125rem', lineHeight: 1.4, normalWeight: 600 },\n h6: { fontSize: '1rem', lineHeight: 1.5, normalWeight: 600 },\n};\n\n/** A host's overrides: any subset of the steps, any subset of each step's metrics. */\nexport type HeadingScaleOverrides = Partial<Record<HeadingLevel, Partial<HeadingMetrics>>>;\n","/**\n * THE ONE READER OF CSS LENGTHS.\n *\n * `HEADING_SCALE` and a host's MUI overrides speak CSS — `'2rem'`, `'-0.02em'`\n * — and both `tokens/theme.ts` and `provider/mui-bridge.ts` need them as\n * numbers. Two private parsers drifted (one multiplied `em` by 16, one did\n * not), so there is one, here, with the rule spelled out: a length becomes px\n * against a 16px root, a tracking value becomes em.\n */\n\nconst ROOT_PX = 16;\n\n/** `'1.5rem'` → 24, `'1.5em'` → 24, `'20px'` → 20, `20` → 20, unparseable → `fallback`. */\nexport function cssLengthToPx(value: string | number | undefined, fallback: number): number {\n if (typeof value === 'number') return value;\n if (value === undefined) return fallback;\n const parsed = Number.parseFloat(value);\n if (Number.isNaN(parsed)) return fallback;\n return value.endsWith('rem') || value.endsWith('em') ? parsed * ROOT_PX : parsed;\n}\n\n/** `'-0.02em'` → -0.02, `'0.5px'` → 0.5 / 16, `undefined` → `undefined` (\"normal\"). */\nexport function cssTrackingToEm(value: string | undefined): number | undefined {\n if (value === undefined) return undefined;\n const parsed = Number.parseFloat(value);\n if (Number.isNaN(parsed)) return undefined;\n return value.endsWith('px') ? parsed / ROOT_PX : parsed;\n}\n","import { darken, lighten } from './color';\nimport { contrastText, DARK_TEXT_PRIMARY, inkOver } from './ink-over';\n\n/*\n RE-EXPORTED rather than moved out of the public surface. Both were published\n from here, and `ink-over.ts` exists because this file reached the 400-line cap\n — a caller should not have to learn that.\n*/\nexport { contrastText, inkOver };\nimport { cssLengthToPx, cssTrackingToEm } from './css-units';\nimport { DEFAULT_FIELD_RADIUS } from './field-radius.core';\nimport { HEADING_SCALE, type HeadingLevel } from './heading-scale';\n\nimport type { SizeValue } from './vocabulary';\n\n/**\n * THE THEME BOTH RENDERERS READ.\n *\n * On the web every component styles itself from MUI's `Theme`, which is built\n * by the host (`@12-apps/app-shell`'s `createAppTheme` in the origin apps) and\n * reaches a component through emotion's context. React Native has no emotion,\n * no CSS and no MUI, so a native `Button` needs the same decisions — the\n * palette, the spacing unit, the radius, the type scale — from somewhere that\n * does not import a renderer.\n *\n * This is that somewhere. `UiTheme` is a plain object of numbers and colour\n * strings. `createUiTheme` derives it the way MUI's `createPalette` derives its\n * own: a `light` shade is `lighten(main, 0.2)`, a `dark` shade `darken(main,\n * 0.3)`, `contrastText` flips at a 3:1 ratio against `rgba(0, 0, 0, 0.87)`.\n * Same seeds in, same shades out, on both sides — that is the whole basis for\n * a native button being the web button's colour and not a near miss.\n *\n * Numbers are in px on the web and dp on native; both are the CSS-pixel unit\n * a design is drawn in, so a `fontSize: 16` here IS `1rem` in a web style\n * and `16` in a `StyleSheet`. The web components keep their `rem` strings and\n * derive them from these numbers where the two meet (see `px()` below and the\n * `*.metrics.ts` file beside each ported component).\n *\n * `danger` and `neutral` are this package's names (see `./scales`); `danger`\n * is MUI's `error` and `neutral` is drawn from the grey ramp the way\n * `Button.styles.ts` has always drawn it.\n */\n\nexport type UiThemeMode = 'light' | 'dark';\n\nexport interface UiPaletteColor {\n main: string;\n light: string;\n dark: string;\n contrastText: string;\n}\n\nexport type UiGreyStep = 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;\n\nexport interface UiPalette {\n mode: UiThemeMode;\n primary: UiPaletteColor;\n secondary: UiPaletteColor;\n success: UiPaletteColor;\n warning: UiPaletteColor;\n info: UiPaletteColor;\n danger: UiPaletteColor;\n neutral: UiPaletteColor;\n text: { primary: string; secondary: string; disabled: string };\n background: { default: string; paper: string };\n divider: string;\n action: {\n active: string;\n hover: string;\n selected: string;\n disabled: string;\n disabledBackground: string;\n focus: string;\n };\n grey: Record<UiGreyStep, string>;\n}\n\n/** One step of the body scale: `fontSize` in px, `lineHeight` as a ratio. */\nexport interface UiTypeStep {\n fontSize: number;\n lineHeight: number;\n}\n\nexport type UiFontWeight = 'light' | 'normal' | 'medium' | 'semibold' | 'bold';\n\nexport interface UiHeadingStep extends UiTypeStep {\n /** In em, so it scales with the step. `undefined` is \"normal\". */\n letterSpacing?: number;\n normalWeight: number;\n}\n\nexport interface UiTypography {\n /**\n * Native has no fallback stacks: a font is either installed and named, or\n * `undefined` and the platform's own. The web default is MUI's Roboto stack.\n */\n fontFamily: string | undefined;\n monospaceFontFamily: string | undefined;\n sizes: Record<SizeValue, UiTypeStep>;\n weights: Record<UiFontWeight, number>;\n heading: Record<HeadingLevel, UiHeadingStep>;\n}\n\nexport interface UiTheme {\n mode: UiThemeMode;\n palette: UiPalette;\n /** MUI's `theme.spacing(n)`: `n` units of {@link UiTheme.spacingUnit}, in px. */\n spacing: (units: number) => number;\n spacingUnit: number;\n /**\n * `md` is MUI's `shape.borderRadius`; `sm`–`xl` are its halves and doubles.\n * `field` is not on that scale: it is the one corner every field is drawn\n * with (see `./field-radius.core`), MUI's `theme.fieldRadius` on the web.\n */\n radius: { sm: number; md: number; lg: number; xl: number; full: number; field: number };\n typography: UiTypography;\n zIndex: { appBar: number; drawer: number; modal: number; snackbar: number; tooltip: number };\n}\n\n/** A seed for one palette slot: a hex `main`, or any subset of the four shades. */\nexport type UiPaletteSeed = string | Partial<UiPaletteColor>;\n\nexport interface UiThemeOptions {\n mode?: UiThemeMode;\n palette?: Partial<{\n primary: UiPaletteSeed;\n secondary: UiPaletteSeed;\n success: UiPaletteSeed;\n warning: UiPaletteSeed;\n info: UiPaletteSeed;\n danger: UiPaletteSeed;\n background: Partial<UiPalette['background']>;\n }>;\n typography?: Partial<Pick<UiTypography, 'fontFamily' | 'monospaceFontFamily'>>;\n spacingUnit?: number;\n /** The radius every field is drawn with, in dp. Defaults to {@link DEFAULT_FIELD_RADIUS}. */\n fieldRadius?: number;\n}\n\nconst ROOT_FONT_PX = 16;\n\n/** The px value as the rem string the web components write. */\nexport const px = (value: number): string => `${value / ROOT_FONT_PX}rem`;\n\n/** MUI's `createPalette` default tonal offset, exactly. */\nconst TONAL_OFFSET = 0.2;\n\nexport const GREY: Record<UiGreyStep, string> = {\n 50: '#fafafa',\n 100: '#f5f5f5',\n 200: '#eeeeee',\n 300: '#e0e0e0',\n 400: '#bdbdbd',\n 500: '#9e9e9e',\n 600: '#757575',\n 700: '#616161',\n 800: '#424242',\n 900: '#212121',\n};\n\n/**\n * The platform's own seeds. The pair `@12-apps/ui`'s Storybook preview and\n * `@12-apps/app-shell`'s `DEFAULT_THEME_TOKENS` both carry — keep the three in\n * step if the design tokens change.\n */\nexport const DEFAULT_BRAND: Record<UiThemeMode, { primary: string; secondary: string }> = {\n light: { primary: '#6366F1', secondary: '#8B5CF6' },\n dark: { primary: '#818CF8', secondary: '#A78BFA' },\n};\n\n/** MUI's semantic defaults per mode. These are declared shades, not derived. */\nconst SEMANTIC_DEFAULTS: Record<\n UiThemeMode,\n Record<'success' | 'warning' | 'info' | 'danger', UiPaletteColor>\n> = {\n light: {\n success: { main: '#2e7d32', light: '#4caf50', dark: '#1b5e20', contrastText: '#fff' },\n warning: { main: '#ed6c02', light: '#ff9800', dark: '#e65100', contrastText: '#fff' },\n info: { main: '#0288d1', light: '#03a9f4', dark: '#01579b', contrastText: '#fff' },\n danger: { main: '#d32f2f', light: '#ef5350', dark: '#c62828', contrastText: '#fff' },\n },\n dark: {\n success: { main: '#66bb6a', light: '#81c784', dark: '#388e3c', contrastText: DARK_TEXT_PRIMARY },\n warning: { main: '#ffa726', light: '#ffb74d', dark: '#f57c00', contrastText: DARK_TEXT_PRIMARY },\n info: { main: '#29b6f6', light: '#4fc3f7', dark: '#0288d1', contrastText: DARK_TEXT_PRIMARY },\n danger: { main: '#f44336', light: '#e57373', dark: '#d32f2f', contrastText: '#fff' },\n },\n};\n\nconst MODE_DEFAULTS: Record<\n UiThemeMode,\n Pick<UiPalette, 'text' | 'background' | 'divider' | 'action'>\n> = {\n light: {\n text: { primary: DARK_TEXT_PRIMARY, secondary: 'rgba(0, 0, 0, 0.6)', disabled: 'rgba(0, 0, 0, 0.38)' },\n background: { default: '#fff', paper: '#fff' },\n divider: 'rgba(0, 0, 0, 0.12)',\n action: {\n active: 'rgba(0, 0, 0, 0.54)',\n hover: 'rgba(0, 0, 0, 0.04)',\n selected: 'rgba(0, 0, 0, 0.08)',\n disabled: 'rgba(0, 0, 0, 0.26)',\n disabledBackground: 'rgba(0, 0, 0, 0.12)',\n focus: 'rgba(0, 0, 0, 0.12)',\n },\n },\n dark: {\n text: { primary: '#fff', secondary: 'rgba(255, 255, 255, 0.7)', disabled: 'rgba(255, 255, 255, 0.5)' },\n background: { default: '#121212', paper: '#121212' },\n divider: 'rgba(255, 255, 255, 0.12)',\n action: {\n active: '#fff',\n hover: 'rgba(255, 255, 255, 0.08)',\n selected: 'rgba(255, 255, 255, 0.16)',\n disabled: 'rgba(255, 255, 255, 0.3)',\n disabledBackground: 'rgba(255, 255, 255, 0.12)',\n focus: 'rgba(255, 255, 255, 0.12)',\n },\n },\n};\n\n\n/**\n * MUI's `augmentColor` for a custom colour: derive whatever shade the seed\n * left out. `light` is one tonal offset up, `dark` one and a half down.\n */\nexport function augmentColor(seed: UiPaletteSeed): UiPaletteColor {\n const partial = typeof seed === 'string' ? { main: seed } : seed;\n const main = partial.main ?? partial.light ?? partial.dark;\n if (!main) {\n throw new Error('@12-apps/ui: a palette seed needs at least a `main` colour.');\n }\n return {\n main,\n light: partial.light ?? lighten(main, TONAL_OFFSET),\n dark: partial.dark ?? darken(main, TONAL_OFFSET * 1.5),\n contrastText: partial.contrastText ?? contrastText(main),\n };\n}\n\nconst semantic = (\n mode: UiThemeMode,\n key: 'success' | 'warning' | 'info' | 'danger',\n seed: UiPaletteSeed | undefined,\n): UiPaletteColor => (seed === undefined ? SEMANTIC_DEFAULTS[mode][key] : augmentColor(seed));\n\n/** `neutral` as `accentFor` in `./scales` has always drawn it: three greys and white. */\nexport const NEUTRAL: UiPaletteColor = {\n main: GREY[600],\n light: GREY[400],\n dark: GREY[800],\n contrastText: '#fff',\n};\n\n/** The body scale `Text` renders, in px. `Text.tsx`'s rem map is this, divided by 16. */\nexport const TYPE_SIZES: Record<SizeValue, UiTypeStep> = {\n xs: { fontSize: 12, lineHeight: 1.2 },\n sm: { fontSize: 14, lineHeight: 1.3 },\n md: { fontSize: 16, lineHeight: 1.5 },\n lg: { fontSize: 18, lineHeight: 1.4 },\n xl: { fontSize: 20, lineHeight: 1.3 },\n};\n\nexport const FONT_WEIGHTS: Record<UiFontWeight, number> = {\n light: 300,\n normal: 400,\n medium: 500,\n semibold: 600,\n bold: 700,\n};\n\n// `HEADING_SCALE` speaks CSS, this theme speaks numbers; `./css-units` is the\n// one place that conversion is written.\nconst HEADING_STEPS = Object.fromEntries(\n Object.entries(HEADING_SCALE).map(([level, metrics]) => [\n level,\n {\n fontSize: cssLengthToPx(metrics.fontSize, ROOT_FONT_PX),\n lineHeight: metrics.lineHeight,\n letterSpacing: cssTrackingToEm(metrics.letterSpacing),\n normalWeight: metrics.normalWeight,\n },\n ]),\n) as Record<HeadingLevel, UiHeadingStep>;\n\nexport const WEB_FONT_FAMILY = '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif';\nexport const WEB_MONOSPACE_FONT_FAMILY = 'Monaco, Menlo, \"Ubuntu Mono\", \"Courier New\", monospace';\n\n/**\n * Build the theme. Every field is derived here so a host that changes one\n * seed gets every dependent shade recomputed, on both renderers, identically.\n */\nexport function createUiTheme(options: UiThemeOptions = {}): UiTheme {\n const mode = options.mode ?? 'light';\n const seeds = options.palette ?? {};\n const brand = DEFAULT_BRAND[mode];\n const defaults = MODE_DEFAULTS[mode];\n const spacingUnit = options.spacingUnit ?? 8;\n\n const palette: UiPalette = {\n mode,\n primary: augmentColor(seeds.primary ?? brand.primary),\n secondary: augmentColor(seeds.secondary ?? brand.secondary),\n success: semantic(mode, 'success', seeds.success),\n warning: semantic(mode, 'warning', seeds.warning),\n info: semantic(mode, 'info', seeds.info),\n danger: semantic(mode, 'danger', seeds.danger),\n neutral: NEUTRAL,\n text: defaults.text,\n background: { ...defaults.background, ...seeds.background },\n divider: defaults.divider,\n action: defaults.action,\n grey: GREY,\n };\n\n return {\n mode,\n palette,\n spacing: (units: number) => units * spacingUnit,\n spacingUnit,\n radius: { sm: 2, md: 4, lg: 8, xl: 16, full: 9999, field: options.fieldRadius ?? DEFAULT_FIELD_RADIUS },\n typography: {\n fontFamily: options.typography?.fontFamily,\n monospaceFontFamily: options.typography?.monospaceFontFamily,\n sizes: TYPE_SIZES,\n weights: FONT_WEIGHTS,\n heading: HEADING_STEPS,\n },\n zIndex: { appBar: 1100, drawer: 1200, modal: 1300, snackbar: 1400, tooltip: 1500 },\n };\n}\n\n/** The palette slot a house colour name resolves to. */\nexport type UiPaletteKey = 'primary' | 'secondary' | 'success' | 'warning' | 'info' | 'danger' | 'neutral';\n\nexport const DEFAULT_UI_THEME: UiTheme = createUiTheme();\n"],"mappings":";AA0BA,IAAM,UAAkC,CAAC,OAAO,QAAQ,OAAO,MAAM;AAErE,IAAM,QAAQ,CAAC,OAAe,MAAM,GAAG,MAAM,MAAc,KAAK,IAAI,KAAK,IAAI,KAAK,KAAK,GAAG,GAAG;AAGtF,SAAS,SAAS,OAAuB;AAC9C,QAAM,MAAM,MAAM,MAAM,CAAC;AACzB,QAAM,OAAO,IAAI,OAAO,OAAO,IAAI,UAAU,IAAI,IAAI,CAAC,KAAK,GAAG;AAC9D,MAAI,WAA4B,IAAI,MAAM,IAAI;AAC9C,MAAI,YAAY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unk-T3TYQMAH.js";
4
4
  import {
5
5
  webAria
6
6
  } from "./chunk-DN73KYIZ.js";
7
7
  import {
8
8
  Icon
9
- } from "./chunk-CO47ZRXO.js";
9
+ } from "./chunk-S5SLTMPB.js";
10
10
  import {
11
11
  MUI_FONT_WEIGHT_MEDIUM,
12
12
  MUI_TYPE,
@@ -18,10 +18,10 @@ import {
18
18
  } from "./chunk-AR5O4BEY.js";
19
19
  import {
20
20
  useUiTheme
21
- } from "./chunk-2HLEFYJ5.js";
21
+ } from "./chunk-7UEJ2FMQ.js";
22
22
  import {
23
23
  alpha
24
- } from "./chunk-YQDDM6ZW.js";
24
+ } from "./chunk-V72V2Q45.js";
25
25
 
26
26
  // src/components/data-display/EmptyState/EmptyState.native.tsx
27
27
  import * as React from "react";
@@ -289,4 +289,4 @@ var styles = StyleSheet.create({
289
289
  export {
290
290
  EmptyState
291
291
  };
292
- //# sourceMappingURL=chunk-SOQVMWLQ.js.map
292
+ //# sourceMappingURL=chunk-VAD5YVIZ.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "../chunks/chunk-5GJ5OG5R.js";
7
7
  import {
8
8
  Icon
9
- } from "../chunks/chunk-CO47ZRXO.js";
9
+ } from "../chunks/chunk-S5SLTMPB.js";
10
10
  import {
11
11
  muiTypeStyle
12
12
  } from "../chunks/chunk-2UFNPDYT.js";
@@ -17,13 +17,13 @@ import {
17
17
  } from "../chunks/chunk-AR5O4BEY.js";
18
18
  import {
19
19
  useUiTheme
20
- } from "../chunks/chunk-2HLEFYJ5.js";
20
+ } from "../chunks/chunk-7UEJ2FMQ.js";
21
21
  import {
22
22
  alpha,
23
23
  contrastText,
24
24
  darken,
25
25
  lighten
26
- } from "../chunks/chunk-YQDDM6ZW.js";
26
+ } from "../chunks/chunk-V72V2Q45.js";
27
27
 
28
28
  // src/components/data-display/Alert/Alert.native.tsx
29
29
  import * as React from "react";
@@ -6,15 +6,15 @@ import {
6
6
  } from "../chunks/chunk-5GJ5OG5R.js";
7
7
  import {
8
8
  Icon
9
- } from "../chunks/chunk-CO47ZRXO.js";
9
+ } from "../chunks/chunk-S5SLTMPB.js";
10
10
  import "../chunks/chunk-5WLOVHKK.js";
11
11
  import "../chunks/chunk-AR5O4BEY.js";
12
12
  import {
13
13
  useUiTheme
14
- } from "../chunks/chunk-2HLEFYJ5.js";
14
+ } from "../chunks/chunk-7UEJ2FMQ.js";
15
15
  import {
16
16
  alpha
17
- } from "../chunks/chunk-YQDDM6ZW.js";
17
+ } from "../chunks/chunk-V72V2Q45.js";
18
18
 
19
19
  // src/components/data-display/Avatar/Avatar.native.tsx
20
20
  import * as React2 from "react";
@@ -9,18 +9,18 @@ import {
9
9
  } from "../chunks/chunk-5GJ5OG5R.js";
10
10
  import {
11
11
  Icon
12
- } from "../chunks/chunk-CO47ZRXO.js";
12
+ } from "../chunks/chunk-S5SLTMPB.js";
13
13
  import "../chunks/chunk-5WLOVHKK.js";
14
14
  import {
15
15
  resolveTestId
16
16
  } from "../chunks/chunk-AR5O4BEY.js";
17
17
  import {
18
18
  useUiTheme
19
- } from "../chunks/chunk-2HLEFYJ5.js";
19
+ } from "../chunks/chunk-7UEJ2FMQ.js";
20
20
  import {
21
21
  alpha,
22
22
  contrastText
23
- } from "../chunks/chunk-YQDDM6ZW.js";
23
+ } from "../chunks/chunk-V72V2Q45.js";
24
24
 
25
25
  // src/components/data-display/Badge/Badge.native.tsx
26
26
  import * as React from "react";
@@ -3,15 +3,15 @@ import {
3
3
  } from "../chunks/chunk-MJVSQXOD.js";
4
4
  import {
5
5
  Icon
6
- } from "../chunks/chunk-CO47ZRXO.js";
6
+ } from "../chunks/chunk-S5SLTMPB.js";
7
7
  import "../chunks/chunk-5WLOVHKK.js";
8
8
  import "../chunks/chunk-AR5O4BEY.js";
9
9
  import {
10
10
  useUiTheme
11
- } from "../chunks/chunk-2HLEFYJ5.js";
11
+ } from "../chunks/chunk-7UEJ2FMQ.js";
12
12
  import {
13
13
  alpha
14
- } from "../chunks/chunk-YQDDM6ZW.js";
14
+ } from "../chunks/chunk-V72V2Q45.js";
15
15
 
16
16
  // src/components/data-display/Chip/Chip.native.tsx
17
17
  import * as React from "react";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  EmptyState
3
- } from "../chunks/chunk-SOQVMWLQ.js";
4
- import "../chunks/chunk-BEPOBULQ.js";
3
+ } from "../chunks/chunk-VAD5YVIZ.js";
4
+ import "../chunks/chunk-T3TYQMAH.js";
5
5
  import "../chunks/chunk-DN73KYIZ.js";
6
6
  import "../chunks/chunk-5GJ5OG5R.js";
7
- import "../chunks/chunk-CO47ZRXO.js";
7
+ import "../chunks/chunk-S5SLTMPB.js";
8
8
  import "../chunks/chunk-2UFNPDYT.js";
9
9
  import "../chunks/chunk-5WLOVHKK.js";
10
10
  import "../chunks/chunk-AR5O4BEY.js";
11
- import "../chunks/chunk-2HLEFYJ5.js";
12
- import "../chunks/chunk-YQDDM6ZW.js";
11
+ import "../chunks/chunk-7UEJ2FMQ.js";
12
+ import "../chunks/chunk-V72V2Q45.js";
13
13
  export {
14
14
  EmptyState
15
15
  };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Button
3
- } from "../chunks/chunk-BEPOBULQ.js";
3
+ } from "../chunks/chunk-T3TYQMAH.js";
4
4
  import {
5
5
  webAria
6
6
  } from "../chunks/chunk-DN73KYIZ.js";
7
7
  import "../chunks/chunk-5GJ5OG5R.js";
8
8
  import {
9
9
  Icon
10
- } from "../chunks/chunk-CO47ZRXO.js";
10
+ } from "../chunks/chunk-S5SLTMPB.js";
11
11
  import {
12
12
  MUI_FONT_WEIGHT_MEDIUM,
13
13
  MUI_TYPE,
@@ -20,8 +20,8 @@ import {
20
20
  } from "../chunks/chunk-AR5O4BEY.js";
21
21
  import {
22
22
  useUiTheme
23
- } from "../chunks/chunk-2HLEFYJ5.js";
24
- import "../chunks/chunk-YQDDM6ZW.js";
23
+ } from "../chunks/chunk-7UEJ2FMQ.js";
24
+ import "../chunks/chunk-V72V2Q45.js";
25
25
 
26
26
  // src/components/data-display/ErrorState/ErrorState.native.tsx
27
27
  import * as React from "react";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Skeleton
3
- } from "../chunks/chunk-YXM4NR2B.js";
3
+ } from "../chunks/chunk-LB65S6C7.js";
4
4
  import "../chunks/chunk-MLQIOKQZ.js";
5
5
  import {
6
6
  webKeyDown
7
7
  } from "../chunks/chunk-MJVSQXOD.js";
8
8
  import {
9
9
  EmptyState
10
- } from "../chunks/chunk-SOQVMWLQ.js";
11
- import "../chunks/chunk-BEPOBULQ.js";
10
+ } from "../chunks/chunk-VAD5YVIZ.js";
11
+ import "../chunks/chunk-T3TYQMAH.js";
12
12
  import {
13
13
  webAria,
14
14
  webRole
15
15
  } from "../chunks/chunk-DN73KYIZ.js";
16
16
  import "../chunks/chunk-5GJ5OG5R.js";
17
- import "../chunks/chunk-CO47ZRXO.js";
17
+ import "../chunks/chunk-S5SLTMPB.js";
18
18
  import {
19
19
  MUI_FONT_WEIGHT_MEDIUM,
20
20
  muiTypeStyle
@@ -23,8 +23,8 @@ import "../chunks/chunk-5WLOVHKK.js";
23
23
  import "../chunks/chunk-AR5O4BEY.js";
24
24
  import {
25
25
  useUiTheme
26
- } from "../chunks/chunk-2HLEFYJ5.js";
27
- import "../chunks/chunk-YQDDM6ZW.js";
26
+ } from "../chunks/chunk-7UEJ2FMQ.js";
27
+ import "../chunks/chunk-V72V2Q45.js";
28
28
 
29
29
  // src/components/data-display/FleetMap/FleetMap.native.tsx
30
30
  import * as React3 from "react";
@@ -10,10 +10,10 @@ import {
10
10
  } from "../chunks/chunk-AR5O4BEY.js";
11
11
  import {
12
12
  useUiTheme
13
- } from "../chunks/chunk-2HLEFYJ5.js";
13
+ } from "../chunks/chunk-7UEJ2FMQ.js";
14
14
  import {
15
15
  alpha
16
- } from "../chunks/chunk-YQDDM6ZW.js";
16
+ } from "../chunks/chunk-V72V2Q45.js";
17
17
 
18
18
  // src/components/data-display/LoadingState/LoadingState.native.tsx
19
19
  import * as React from "react";
@@ -6,12 +6,12 @@ import {
6
6
  } from "../chunks/chunk-2UFNPDYT.js";
7
7
  import {
8
8
  useUiTheme
9
- } from "../chunks/chunk-2HLEFYJ5.js";
9
+ } from "../chunks/chunk-7UEJ2FMQ.js";
10
10
  import {
11
11
  GREY,
12
12
  alpha,
13
13
  contrastText
14
- } from "../chunks/chunk-YQDDM6ZW.js";
14
+ } from "../chunks/chunk-V72V2Q45.js";
15
15
 
16
16
  // src/components/data-display/Progress/Progress.native.tsx
17
17
  import * as React from "react";
@@ -8,7 +8,7 @@ import {
8
8
  } from "../chunks/chunk-5GJ5OG5R.js";
9
9
  import {
10
10
  Icon
11
- } from "../chunks/chunk-CO47ZRXO.js";
11
+ } from "../chunks/chunk-S5SLTMPB.js";
12
12
  import {
13
13
  muiTypeStyle
14
14
  } from "../chunks/chunk-2UFNPDYT.js";
@@ -21,10 +21,10 @@ import {
21
21
  } from "../chunks/chunk-AR5O4BEY.js";
22
22
  import {
23
23
  useUiTheme
24
- } from "../chunks/chunk-2HLEFYJ5.js";
24
+ } from "../chunks/chunk-7UEJ2FMQ.js";
25
25
  import {
26
26
  alpha
27
- } from "../chunks/chunk-YQDDM6ZW.js";
27
+ } from "../chunks/chunk-V72V2Q45.js";
28
28
 
29
29
  // src/components/feedback/Dialog/Dialog.native.tsx
30
30
  import * as React3 from "react";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Button
3
- } from "../chunks/chunk-BEPOBULQ.js";
3
+ } from "../chunks/chunk-T3TYQMAH.js";
4
4
  import "../chunks/chunk-5GJ5OG5R.js";
5
5
  import "../chunks/chunk-AR5O4BEY.js";
6
- import "../chunks/chunk-2HLEFYJ5.js";
7
- import "../chunks/chunk-YQDDM6ZW.js";
6
+ import "../chunks/chunk-7UEJ2FMQ.js";
7
+ import "../chunks/chunk-V72V2Q45.js";
8
8
  export {
9
9
  Button
10
10
  };
@@ -6,7 +6,7 @@ import {
6
6
  } from "../chunks/chunk-DN73KYIZ.js";
7
7
  import {
8
8
  Icon
9
- } from "../chunks/chunk-CO47ZRXO.js";
9
+ } from "../chunks/chunk-S5SLTMPB.js";
10
10
  import "../chunks/chunk-5WLOVHKK.js";
11
11
  import {
12
12
  resolveTestId,
@@ -14,10 +14,10 @@ import {
14
14
  } from "../chunks/chunk-AR5O4BEY.js";
15
15
  import {
16
16
  useUiTheme
17
- } from "../chunks/chunk-2HLEFYJ5.js";
17
+ } from "../chunks/chunk-7UEJ2FMQ.js";
18
18
  import {
19
19
  alpha
20
- } from "../chunks/chunk-YQDDM6ZW.js";
20
+ } from "../chunks/chunk-V72V2Q45.js";
21
21
 
22
22
  // src/components/form/Checkbox/Checkbox.native.tsx
23
23
  import * as React from "react";
@@ -3,11 +3,10 @@ import {
3
3
  FieldPulse,
4
4
  INPUT_GLOW,
5
5
  INPUT_LOADING,
6
- INPUT_PULSE,
7
6
  fieldLook,
8
7
  helperStyle,
9
8
  labelStyle
10
- } from "../chunks/chunk-NVPXIJ2O.js";
9
+ } from "../chunks/chunk-UKROAIPA.js";
11
10
  import {
12
11
  withDefaults
13
12
  } from "../chunks/chunk-OXHZDFJZ.js";
@@ -24,8 +23,8 @@ import {
24
23
  } from "../chunks/chunk-AR5O4BEY.js";
25
24
  import {
26
25
  useUiTheme
27
- } from "../chunks/chunk-2HLEFYJ5.js";
28
- import "../chunks/chunk-YQDDM6ZW.js";
26
+ } from "../chunks/chunk-7UEJ2FMQ.js";
27
+ import "../chunks/chunk-V72V2Q45.js";
29
28
 
30
29
  // src/components/form/Input/Input.native.tsx
31
30
  import * as React from "react";
@@ -172,7 +171,7 @@ var Input = React.forwardRef((rawProps, ref) => {
172
171
  FieldPulse,
173
172
  {
174
173
  color: theme.palette.primary.main,
175
- radius: theme.spacing(INPUT_PULSE.radiusUnits),
174
+ radius: theme.radius.field,
176
175
  testID: idFor("pulse")
177
176
  }
178
177
  ) : null,