@12-apps/ui 6.45.7 → 6.46.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/dist/_internal/components/data-display/Badge/Badge.js +6 -6
  2. package/dist/_internal/components/data-display/Badge/Badge.styles.js +4 -4
  3. package/dist/_internal/components/data-display/Badge/BadgeContent.js +5 -5
  4. package/dist/_internal/components/data-display/Carousel/Carousel.chrome.js +5 -5
  5. package/dist/_internal/components/data-display/Carousel/Carousel.js +7 -7
  6. package/dist/_internal/components/data-display/Carousel/Carousel.parts.js +4 -4
  7. package/dist/_internal/components/data-display/Carousel/Carousel.styles.js +4 -4
  8. package/dist/_internal/components/data-display/Chart/Chart.js +7 -7
  9. package/dist/_internal/components/data-display/Chart/SpecChart.js +8 -8
  10. package/dist/_internal/components/data-display/Chart/chart-context.js +5 -5
  11. package/dist/_internal/components/data-display/Chart/chart-internals.js +4 -4
  12. package/dist/_internal/components/data-display/Chart/chart-renderers.js +6 -6
  13. package/dist/_internal/components/data-display/DataGrid/DataGrid.js +4 -4
  14. package/dist/_internal/components/data-display/DataGrid/DataGrid.model.js +3 -3
  15. package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +14 -14
  16. package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +15 -15
  17. package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +6 -6
  18. package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +5 -5
  19. package/dist/_internal/components/data-display/DataViews/base-list-card.js +7 -7
  20. package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +5 -5
  21. package/dist/_internal/components/data-display/DataViews/data-views-display-tabs.js +4 -4
  22. package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +7 -7
  23. package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +13 -13
  24. package/dist/_internal/components/data-display/DataViews/data-views-layout-context.js +3 -3
  25. package/dist/_internal/components/data-display/DataViews/data-views-scope-tabs.js +4 -4
  26. package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +7 -7
  27. package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +6 -6
  28. package/dist/_internal/components/data-display/DataViews/list-card-rails.js +4 -4
  29. package/dist/_internal/components/data-display/FleetMap/FleetMap.js +5 -5
  30. package/dist/_internal/components/data-display/Sheet/Sheet.body.js +3 -3
  31. package/dist/_internal/components/data-display/Sheet/Sheet.js +5 -5
  32. package/dist/_internal/components/data-display/Sheet/Sheet.styles.js +4 -4
  33. package/dist/_internal/components/data-display/Table/Table.js +3 -3
  34. package/dist/_internal/components/data-display/index.js +22 -22
  35. package/dist/_internal/components/form/Command/Command.js +5 -5
  36. package/dist/_internal/components/form/Command/Command.styles.js +4 -4
  37. package/dist/_internal/components/form/Label/Label.js +5 -5
  38. package/dist/_internal/components/form/Label/Label.styles.js +4 -4
  39. package/dist/_internal/components/form/Menubar/Menubar.item.js +5 -5
  40. package/dist/_internal/components/form/Menubar/Menubar.js +7 -7
  41. package/dist/_internal/components/form/Menubar/Menubar.styles.js +4 -4
  42. package/dist/_internal/components/form/Menubar/Menubar.toolbar.js +6 -6
  43. package/dist/_internal/components/form/index.js +11 -11
  44. package/dist/_internal/components/index.js +46 -46
  45. package/dist/_internal/components/layout/Box/Box.js +6 -6
  46. package/dist/_internal/components/layout/SettingCard/SettingCard.js +8 -8
  47. package/dist/_internal/components/layout/SettingCard/SettingCard.parts.js +7 -7
  48. package/dist/_internal/components/layout/SettingCard/SettingGrid.js +8 -8
  49. package/dist/_internal/components/layout/SettingCard/SettingGroup.js +10 -10
  50. package/dist/_internal/components/layout/SettingCard/SettingSwitch.js +9 -9
  51. package/dist/_internal/components/layout/SettingCard/SettingToggle.js +10 -10
  52. package/dist/_internal/components/layout/Stack/Stack.js +7 -7
  53. package/dist/_internal/components/layout/index.js +13 -13
  54. package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +6 -6
  55. package/dist/_internal/components/navigation/AppHeader/AppHeader.identity.js +4 -4
  56. package/dist/_internal/components/navigation/SectionNav/SectionNav.bar.js +10 -10
  57. package/dist/_internal/components/navigation/SectionNav/SectionNav.js +12 -12
  58. package/dist/_internal/components/navigation/SectionNav/SectionNav.parts.js +7 -7
  59. package/dist/_internal/components/navigation/SectionNav/SectionNav.primary.js +8 -8
  60. package/dist/_internal/components/navigation/SectionNav/SectionNav.rail.js +8 -8
  61. package/dist/_internal/components/navigation/SectionNav/SectionNav.sheet.js +8 -8
  62. package/dist/_internal/components/navigation/SectionNav/__stories__/fixtures.js +3 -3
  63. package/dist/_internal/components/navigation/index.js +16 -16
  64. package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.helpers.js +3 -3
  65. package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.js +3 -3
  66. package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.parts.js +3 -3
  67. package/dist/_internal/components/utility/WorkflowStep/WorkflowStepRow.js +3 -3
  68. package/dist/_internal/components/utility/index.js +3 -3
  69. package/dist/_internal/icons/Icon.js +6 -6
  70. package/dist/_internal/provider/UiProvider.js +5 -5
  71. package/dist/_internal/provider/mui-bridge.js +4 -4
  72. package/dist/_internal/provider/use-ui-theme.js +5 -5
  73. package/dist/_internal/tokens/density-overrides.js +7 -3
  74. package/dist/_internal/tokens/density.js +2 -2
  75. package/dist/charts.js +8 -8
  76. package/dist/{chunk-RNVR3RGV.js → chunk-25OI5W6Y.js} +2 -2
  77. package/dist/{chunk-GHJ2FIJO.js → chunk-4A7PSQB5.js} +3 -3
  78. package/dist/{chunk-YF3VD2KD.js → chunk-4CBM7JNK.js} +2 -2
  79. package/dist/{chunk-L3APNYI5.js → chunk-56QYSVLI.js} +4 -4
  80. package/dist/chunk-5D52CMNX.js +127 -0
  81. package/dist/chunk-5D52CMNX.js.map +1 -0
  82. package/dist/{chunk-5OS5AMC2.js → chunk-5OX6KZIZ.js} +2 -2
  83. package/dist/{chunk-PJVZY2SA.js → chunk-6MN5KOVM.js} +2 -2
  84. package/dist/{chunk-ITBUKGG3.js → chunk-6VKHS2BB.js} +2 -2
  85. package/dist/{chunk-RPKWTFJ2.js → chunk-7PUSFB3T.js} +2 -2
  86. package/dist/{chunk-6OLJ2RAT.js → chunk-AA7QTFMB.js} +2 -2
  87. package/dist/{chunk-H7HEB4UC.js → chunk-AEJ3FFNE.js} +2 -2
  88. package/dist/{chunk-HDVEE4NQ.js → chunk-BIDPJNCG.js} +12 -8
  89. package/dist/chunk-BIDPJNCG.js.map +1 -0
  90. package/dist/{chunk-QGB3DOMV.js → chunk-BU6TCB76.js} +2 -2
  91. package/dist/{chunk-UHGQ74E3.js → chunk-BWURMQWZ.js} +2 -2
  92. package/dist/{chunk-SENCNTMV.js → chunk-BWXPO2SE.js} +3 -3
  93. package/dist/{chunk-6ZWOVUNB.js → chunk-CACBJ4CR.js} +2 -2
  94. package/dist/{chunk-2OP2FYB3.js → chunk-CJPP4OUK.js} +2 -2
  95. package/dist/{chunk-Q5J37WOE.js → chunk-DWG5SEGW.js} +2 -2
  96. package/dist/{chunk-6HTCCWUM.js → chunk-E32YPPF5.js} +2 -2
  97. package/dist/{chunk-A7OQBAR7.js → chunk-E4GTZ26X.js} +2 -2
  98. package/dist/{chunk-Y4ET3NRC.js → chunk-EKWH4LGM.js} +2 -2
  99. package/dist/{chunk-KNAWZM7F.js → chunk-F56VOHFW.js} +2 -2
  100. package/dist/{chunk-IXWIJCS3.js → chunk-H5XKBPKK.js} +2 -2
  101. package/dist/{chunk-SJY4DDG7.js → chunk-HAFLKWWU.js} +2 -2
  102. package/dist/{chunk-TCFBCTZD.js → chunk-HC2AO3RT.js} +2 -2
  103. package/dist/{chunk-CU7ELD43.js → chunk-HISEWACT.js} +2 -2
  104. package/dist/{chunk-FTV5R2UZ.js → chunk-I2STNAIQ.js} +2 -2
  105. package/dist/{chunk-K7PWC44N.js → chunk-J2JWWGMT.js} +4 -4
  106. package/dist/{chunk-YKALXHCS.js → chunk-JTWRI4WD.js} +5 -5
  107. package/dist/{chunk-JWNOM5QT.js → chunk-JUKA4NY5.js} +2 -2
  108. package/dist/{chunk-PSX7DAMV.js → chunk-KYQ4OORF.js} +3 -3
  109. package/dist/{chunk-L6Q2A32O.js → chunk-LQRUTHJY.js} +2 -2
  110. package/dist/{chunk-SRZY6QG3.js → chunk-LTJDZIYR.js} +4 -4
  111. package/dist/{chunk-HYEOKBFV.js → chunk-LUPHXDEU.js} +2 -2
  112. package/dist/{chunk-HAPELHNW.js → chunk-LV2SZFXK.js} +3 -3
  113. package/dist/{chunk-JFL5WT3S.js → chunk-MEYKNJNI.js} +3 -3
  114. package/dist/{chunk-BUAFRLSB.js → chunk-N2XQKTXX.js} +3 -3
  115. package/dist/{chunk-4MGUBSAL.js → chunk-N4HHFYPB.js} +2 -2
  116. package/dist/{chunk-XLQYOBHP.js → chunk-NFTFP6WO.js} +4 -4
  117. package/dist/{chunk-XTDJ2D5A.js → chunk-NRKAJHBB.js} +2 -2
  118. package/dist/{chunk-4T5LD2NV.js → chunk-P2OQ4IGP.js} +2 -2
  119. package/dist/{chunk-O25RFGPX.js → chunk-P3XEF26U.js} +2 -2
  120. package/dist/{chunk-MW7S7WZM.js → chunk-PIUQYYOM.js} +2 -2
  121. package/dist/{chunk-FHWXRHMA.js → chunk-QFJ3JXXP.js} +1 -1
  122. package/dist/{chunk-FHWXRHMA.js.map → chunk-QFJ3JXXP.js.map} +1 -1
  123. package/dist/{chunk-EJMSSDLM.js → chunk-QL7NPQOP.js} +3 -3
  124. package/dist/{chunk-VDSQ5H4Y.js → chunk-QQUNZH3L.js} +2 -2
  125. package/dist/{chunk-PUYJVQ7X.js → chunk-RBLBXJR7.js} +2 -2
  126. package/dist/{chunk-OERKNBKK.js → chunk-RSQYWGMU.js} +2 -2
  127. package/dist/{chunk-VOBVYVPN.js → chunk-RVOYCPKF.js} +2 -2
  128. package/dist/{chunk-LHHV6NXO.js → chunk-RZPYKTOG.js} +2 -2
  129. package/dist/{chunk-CSXK7LH7.js → chunk-ST36ZSAN.js} +2 -2
  130. package/dist/{chunk-6LYRFS5S.js → chunk-T6HVNVFI.js} +2 -2
  131. package/dist/{chunk-2GG5W6LR.js → chunk-TMOC2XUE.js} +8 -4
  132. package/dist/chunk-TMOC2XUE.js.map +1 -0
  133. package/dist/{chunk-SOCZLOPJ.js → chunk-VOG5IVQW.js} +2 -2
  134. package/dist/{chunk-YDIRPKYI.js → chunk-WDQRQIT7.js} +2 -2
  135. package/dist/{chunk-VVFV4MXS.js → chunk-WGNLG2W2.js} +2 -2
  136. package/dist/{chunk-PKXCQKPB.js → chunk-XFAXRMWY.js} +3 -3
  137. package/dist/{chunk-G6T7KRQ3.js → chunk-YDU2YPQA.js} +3 -3
  138. package/dist/{chunk-KRA75CKC.js → chunk-Z3L2EGXW.js} +2 -2
  139. package/dist/{chunk-3WCUGTRH.js → chunk-ZCEXSYAJ.js} +4 -4
  140. package/dist/{chunk-EOKPFMJD.js → chunk-ZCXVTFYQ.js} +2 -2
  141. package/dist/{chunk-PNWGQAXQ.js → chunk-ZL3GCUKC.js} +2 -2
  142. package/dist/{chunk-RPFQQP5S.js → chunk-ZRIWMIHK.js} +2 -2
  143. package/dist/data-display/Badge.js +6 -6
  144. package/dist/data-display/Carousel.js +7 -7
  145. package/dist/data-display/Chart.js +8 -8
  146. package/dist/data-display/DataGrid.js +4 -4
  147. package/dist/data-display/DataViews.js +18 -18
  148. package/dist/data-display/FleetMap.js +5 -5
  149. package/dist/data-display/Sheet.js +5 -5
  150. package/dist/data-display/Table.js +3 -3
  151. package/dist/form/Command.js +5 -5
  152. package/dist/form/Label.js +5 -5
  153. package/dist/form/Menubar.js +7 -7
  154. package/dist/icons.js +6 -6
  155. package/dist/layout/Box.js +6 -6
  156. package/dist/layout/SettingCard.js +13 -13
  157. package/dist/layout/Stack.js +7 -7
  158. package/dist/navigation/AppHeader.js +7 -7
  159. package/dist/navigation/SectionNav.js +12 -12
  160. package/dist/provider.js +6 -6
  161. package/dist/tokens.js +8 -4
  162. package/dist/types/provider/mui-bridge.d.ts.map +1 -1
  163. package/dist/types/tokens/density-overrides.d.ts +14 -0
  164. package/dist/types/tokens/density-overrides.d.ts.map +1 -1
  165. package/dist/types/tokens/density.d.ts +10 -7
  166. package/dist/types/tokens/density.d.ts.map +1 -1
  167. package/dist/types/tokens/scales.d.ts +1 -1
  168. package/dist/types/tokens/scales.d.ts.map +1 -1
  169. package/dist/utility/WorkflowStep.js +3 -3
  170. package/package.json +1 -1
  171. package/src/components/form/Switch/Switch.md +26 -0
  172. package/src/provider/mui-bridge.ts +11 -4
  173. package/src/tokens/density-overrides.ts +208 -1
  174. package/src/tokens/density.ts +18 -8
  175. package/src/tokens/scales.ts +9 -3
  176. package/dist/chunk-2GG5W6LR.js.map +0 -1
  177. package/dist/chunk-532XOWZ5.js +0 -59
  178. package/dist/chunk-532XOWZ5.js.map +0 -1
  179. package/dist/chunk-HDVEE4NQ.js.map +0 -1
  180. /package/dist/{chunk-RNVR3RGV.js.map → chunk-25OI5W6Y.js.map} +0 -0
  181. /package/dist/{chunk-GHJ2FIJO.js.map → chunk-4A7PSQB5.js.map} +0 -0
  182. /package/dist/{chunk-YF3VD2KD.js.map → chunk-4CBM7JNK.js.map} +0 -0
  183. /package/dist/{chunk-L3APNYI5.js.map → chunk-56QYSVLI.js.map} +0 -0
  184. /package/dist/{chunk-5OS5AMC2.js.map → chunk-5OX6KZIZ.js.map} +0 -0
  185. /package/dist/{chunk-PJVZY2SA.js.map → chunk-6MN5KOVM.js.map} +0 -0
  186. /package/dist/{chunk-ITBUKGG3.js.map → chunk-6VKHS2BB.js.map} +0 -0
  187. /package/dist/{chunk-RPKWTFJ2.js.map → chunk-7PUSFB3T.js.map} +0 -0
  188. /package/dist/{chunk-6OLJ2RAT.js.map → chunk-AA7QTFMB.js.map} +0 -0
  189. /package/dist/{chunk-H7HEB4UC.js.map → chunk-AEJ3FFNE.js.map} +0 -0
  190. /package/dist/{chunk-QGB3DOMV.js.map → chunk-BU6TCB76.js.map} +0 -0
  191. /package/dist/{chunk-UHGQ74E3.js.map → chunk-BWURMQWZ.js.map} +0 -0
  192. /package/dist/{chunk-SENCNTMV.js.map → chunk-BWXPO2SE.js.map} +0 -0
  193. /package/dist/{chunk-6ZWOVUNB.js.map → chunk-CACBJ4CR.js.map} +0 -0
  194. /package/dist/{chunk-2OP2FYB3.js.map → chunk-CJPP4OUK.js.map} +0 -0
  195. /package/dist/{chunk-Q5J37WOE.js.map → chunk-DWG5SEGW.js.map} +0 -0
  196. /package/dist/{chunk-6HTCCWUM.js.map → chunk-E32YPPF5.js.map} +0 -0
  197. /package/dist/{chunk-A7OQBAR7.js.map → chunk-E4GTZ26X.js.map} +0 -0
  198. /package/dist/{chunk-Y4ET3NRC.js.map → chunk-EKWH4LGM.js.map} +0 -0
  199. /package/dist/{chunk-KNAWZM7F.js.map → chunk-F56VOHFW.js.map} +0 -0
  200. /package/dist/{chunk-IXWIJCS3.js.map → chunk-H5XKBPKK.js.map} +0 -0
  201. /package/dist/{chunk-SJY4DDG7.js.map → chunk-HAFLKWWU.js.map} +0 -0
  202. /package/dist/{chunk-TCFBCTZD.js.map → chunk-HC2AO3RT.js.map} +0 -0
  203. /package/dist/{chunk-CU7ELD43.js.map → chunk-HISEWACT.js.map} +0 -0
  204. /package/dist/{chunk-FTV5R2UZ.js.map → chunk-I2STNAIQ.js.map} +0 -0
  205. /package/dist/{chunk-K7PWC44N.js.map → chunk-J2JWWGMT.js.map} +0 -0
  206. /package/dist/{chunk-YKALXHCS.js.map → chunk-JTWRI4WD.js.map} +0 -0
  207. /package/dist/{chunk-JWNOM5QT.js.map → chunk-JUKA4NY5.js.map} +0 -0
  208. /package/dist/{chunk-PSX7DAMV.js.map → chunk-KYQ4OORF.js.map} +0 -0
  209. /package/dist/{chunk-L6Q2A32O.js.map → chunk-LQRUTHJY.js.map} +0 -0
  210. /package/dist/{chunk-SRZY6QG3.js.map → chunk-LTJDZIYR.js.map} +0 -0
  211. /package/dist/{chunk-HYEOKBFV.js.map → chunk-LUPHXDEU.js.map} +0 -0
  212. /package/dist/{chunk-HAPELHNW.js.map → chunk-LV2SZFXK.js.map} +0 -0
  213. /package/dist/{chunk-JFL5WT3S.js.map → chunk-MEYKNJNI.js.map} +0 -0
  214. /package/dist/{chunk-BUAFRLSB.js.map → chunk-N2XQKTXX.js.map} +0 -0
  215. /package/dist/{chunk-4MGUBSAL.js.map → chunk-N4HHFYPB.js.map} +0 -0
  216. /package/dist/{chunk-XLQYOBHP.js.map → chunk-NFTFP6WO.js.map} +0 -0
  217. /package/dist/{chunk-XTDJ2D5A.js.map → chunk-NRKAJHBB.js.map} +0 -0
  218. /package/dist/{chunk-4T5LD2NV.js.map → chunk-P2OQ4IGP.js.map} +0 -0
  219. /package/dist/{chunk-O25RFGPX.js.map → chunk-P3XEF26U.js.map} +0 -0
  220. /package/dist/{chunk-MW7S7WZM.js.map → chunk-PIUQYYOM.js.map} +0 -0
  221. /package/dist/{chunk-EJMSSDLM.js.map → chunk-QL7NPQOP.js.map} +0 -0
  222. /package/dist/{chunk-VDSQ5H4Y.js.map → chunk-QQUNZH3L.js.map} +0 -0
  223. /package/dist/{chunk-PUYJVQ7X.js.map → chunk-RBLBXJR7.js.map} +0 -0
  224. /package/dist/{chunk-OERKNBKK.js.map → chunk-RSQYWGMU.js.map} +0 -0
  225. /package/dist/{chunk-VOBVYVPN.js.map → chunk-RVOYCPKF.js.map} +0 -0
  226. /package/dist/{chunk-LHHV6NXO.js.map → chunk-RZPYKTOG.js.map} +0 -0
  227. /package/dist/{chunk-CSXK7LH7.js.map → chunk-ST36ZSAN.js.map} +0 -0
  228. /package/dist/{chunk-6LYRFS5S.js.map → chunk-T6HVNVFI.js.map} +0 -0
  229. /package/dist/{chunk-SOCZLOPJ.js.map → chunk-VOG5IVQW.js.map} +0 -0
  230. /package/dist/{chunk-YDIRPKYI.js.map → chunk-WDQRQIT7.js.map} +0 -0
  231. /package/dist/{chunk-VVFV4MXS.js.map → chunk-WGNLG2W2.js.map} +0 -0
  232. /package/dist/{chunk-PKXCQKPB.js.map → chunk-XFAXRMWY.js.map} +0 -0
  233. /package/dist/{chunk-G6T7KRQ3.js.map → chunk-YDU2YPQA.js.map} +0 -0
  234. /package/dist/{chunk-KRA75CKC.js.map → chunk-Z3L2EGXW.js.map} +0 -0
  235. /package/dist/{chunk-3WCUGTRH.js.map → chunk-ZCEXSYAJ.js.map} +0 -0
  236. /package/dist/{chunk-EOKPFMJD.js.map → chunk-ZCXVTFYQ.js.map} +0 -0
  237. /package/dist/{chunk-PNWGQAXQ.js.map → chunk-ZL3GCUKC.js.map} +0 -0
  238. /package/dist/{chunk-RPFQQP5S.js.map → chunk-ZRIWMIHK.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  buildChartContext
3
- } from "./chunk-L6Q2A32O.js";
3
+ } from "./chunk-LQRUTHJY.js";
4
4
  import {
5
5
  ChartLegendContent,
6
6
  ChartTooltipContent
@@ -318,4 +318,4 @@ function renderChartByType(props, theme) {
318
318
  export {
319
319
  renderChartByType
320
320
  };
321
- //# sourceMappingURL=chunk-SJY4DDG7.js.map
321
+ //# sourceMappingURL=chunk-HAFLKWWU.js.map
@@ -4,7 +4,7 @@ import {
4
4
  CountedIcon,
5
5
  controlProps,
6
6
  focusRing
7
- } from "./chunk-HYEOKBFV.js";
7
+ } from "./chunk-LUPHXDEU.js";
8
8
  import {
9
9
  rem
10
10
  } from "./chunk-YKCAJ2TN.js";
@@ -165,4 +165,4 @@ function SectionNavRail({
165
165
  export {
166
166
  SectionNavRail
167
167
  };
168
- //# sourceMappingURL=chunk-TCFBCTZD.js.map
168
+ //# sourceMappingURL=chunk-HC2AO3RT.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-G3E66C6J.js";
4
4
  import {
5
5
  useDensity
6
- } from "./chunk-2GG5W6LR.js";
6
+ } from "./chunk-TMOC2XUE.js";
7
7
  import {
8
8
  rem,
9
9
  remPx
@@ -203,4 +203,4 @@ export {
203
203
  mapThemeToGridDensity,
204
204
  useDataGridModel
205
205
  };
206
- //# sourceMappingURL=chunk-CU7ELD43.js.map
206
+ //# sourceMappingURL=chunk-HISEWACT.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  uiThemeFromMui
3
- } from "./chunk-HDVEE4NQ.js";
3
+ } from "./chunk-BIDPJNCG.js";
4
4
 
5
5
  // src/provider/use-ui-theme.ts
6
6
  import { useTheme } from "@mui/material/styles/index.js";
@@ -13,4 +13,4 @@ function useUiTheme() {
13
13
  export {
14
14
  useUiTheme
15
15
  };
16
- //# sourceMappingURL=chunk-FTV5R2UZ.js.map
16
+ //# sourceMappingURL=chunk-I2STNAIQ.js.map
@@ -12,20 +12,20 @@ import {
12
12
  } from "./chunk-NQ7NMCRI.js";
13
13
  import {
14
14
  ListCardGroup
15
- } from "./chunk-XTDJ2D5A.js";
15
+ } from "./chunk-NRKAJHBB.js";
16
16
  import {
17
17
  DENSITY_BOARD_SCALE,
18
18
  DENSITY_ROW_PADDING,
19
19
  cardScaleForZoom,
20
20
  cardTargetWidthFor,
21
21
  useDataViewsLayout
22
- } from "./chunk-LHHV6NXO.js";
22
+ } from "./chunk-RZPYKTOG.js";
23
23
  import {
24
24
  useDataViewsCopy
25
25
  } from "./chunk-KHG57NAE.js";
26
26
  import {
27
27
  DataGrid
28
- } from "./chunk-RPFQQP5S.js";
28
+ } from "./chunk-ZRIWMIHK.js";
29
29
  import {
30
30
  default as default2
31
31
  } from "./chunk-6DPAWXZ3.js";
@@ -274,4 +274,4 @@ function GridMain(props) {
274
274
  export {
275
275
  GridMain
276
276
  };
277
- //# sourceMappingURL=chunk-K7PWC44N.js.map
277
+ //# sourceMappingURL=chunk-J2JWWGMT.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  GridMain
3
- } from "./chunk-K7PWC44N.js";
3
+ } from "./chunk-J2JWWGMT.js";
4
4
  import {
5
5
  FilterDialog,
6
6
  GridFilterPanel
@@ -26,17 +26,17 @@ import {
26
26
  } from "./chunk-KX75HM5U.js";
27
27
  import {
28
28
  ScopeTabsSlot
29
- } from "./chunk-UHGQ74E3.js";
29
+ } from "./chunk-BWURMQWZ.js";
30
30
  import {
31
31
  ShellToolbar
32
- } from "./chunk-PNWGQAXQ.js";
32
+ } from "./chunk-ZL3GCUKC.js";
33
33
  import {
34
34
  togglePillValues
35
35
  } from "./chunk-NQ7NMCRI.js";
36
36
  import {
37
37
  DataViewsLayoutProvider,
38
38
  useDataViewsLayout
39
- } from "./chunk-LHHV6NXO.js";
39
+ } from "./chunk-RZPYKTOG.js";
40
40
  import {
41
41
  useDataViewsCopy
42
42
  } from "./chunk-KHG57NAE.js";
@@ -238,4 +238,4 @@ function GridShell(props) {
238
238
  export {
239
239
  GridShell
240
240
  };
241
- //# sourceMappingURL=chunk-YKALXHCS.js.map
241
+ //# sourceMappingURL=chunk-JTWRI4WD.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DataViewsDisplayPanel
3
- } from "./chunk-5OS5AMC2.js";
3
+ } from "./chunk-5OX6KZIZ.js";
4
4
  import {
5
5
  DataViewsExportMenu
6
6
  } from "./chunk-CKFZQQ6T.js";
@@ -136,4 +136,4 @@ function GridToolbar(props) {
136
136
  export {
137
137
  GridToolbar
138
138
  };
139
- //# sourceMappingURL=chunk-JWNOM5QT.js.map
139
+ //# sourceMappingURL=chunk-JUKA4NY5.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  MenubarToolbar
3
- } from "./chunk-YF3VD2KD.js";
3
+ } from "./chunk-4CBM7JNK.js";
4
4
  import {
5
5
  barStyles
6
- } from "./chunk-PJVZY2SA.js";
6
+ } from "./chunk-6MN5KOVM.js";
7
7
  import {
8
8
  useMenubarMenus
9
9
  } from "./chunk-42VH7N5L.js";
@@ -190,4 +190,4 @@ export {
190
190
  Menubar,
191
191
  MenubarGroup
192
192
  };
193
- //# sourceMappingURL=chunk-PSX7DAMV.js.map
193
+ //# sourceMappingURL=chunk-KYQ4OORF.js.map
@@ -7,7 +7,7 @@ import {
7
7
  getDefaultColors,
8
8
  getSizeStyles,
9
9
  resolveSeries
10
- } from "./chunk-VVFV4MXS.js";
10
+ } from "./chunk-WGNLG2W2.js";
11
11
  import {
12
12
  remPx
13
13
  } from "./chunk-YKCAJ2TN.js";
@@ -63,4 +63,4 @@ function marginPx(theme, margin) {
63
63
  export {
64
64
  buildChartContext
65
65
  };
66
- //# sourceMappingURL=chunk-L6Q2A32O.js.map
66
+ //# sourceMappingURL=chunk-LQRUTHJY.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  SettingSwitchBlock,
3
3
  useSettingSwitchIds
4
- } from "./chunk-PKXCQKPB.js";
4
+ } from "./chunk-XFAXRMWY.js";
5
5
  import {
6
6
  SettingGroupContext
7
7
  } from "./chunk-XJQNSMGA.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-SALQ65SM.js";
11
11
  import {
12
12
  partTestId
13
- } from "./chunk-IXWIJCS3.js";
13
+ } from "./chunk-H5XKBPKK.js";
14
14
  import {
15
15
  dependentsStyles,
16
16
  hintStyles,
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-3DO5AJCG.js";
20
20
  import {
21
21
  Icon
22
- } from "./chunk-A7OQBAR7.js";
22
+ } from "./chunk-E4GTZ26X.js";
23
23
 
24
24
  // src/components/layout/SettingCard/SettingGroup.tsx
25
25
  import Box from "@mui/material/Box/index.js";
@@ -84,4 +84,4 @@ SettingGroup.displayName = "SettingGroup";
84
84
  export {
85
85
  SettingGroup
86
86
  };
87
- //# sourceMappingURL=chunk-SRZY6QG3.js.map
87
+ //# sourceMappingURL=chunk-LTJDZIYR.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-VHVI3D4R.js";
4
4
  import {
5
5
  Badge
6
- } from "./chunk-HAPELHNW.js";
6
+ } from "./chunk-LV2SZFXK.js";
7
7
  import {
8
8
  rem
9
9
  } from "./chunk-YKCAJ2TN.js";
@@ -70,4 +70,4 @@ export {
70
70
  controlProps,
71
71
  CONTROL_RESET
72
72
  };
73
- //# sourceMappingURL=chunk-HYEOKBFV.js.map
73
+ //# sourceMappingURL=chunk-LUPHXDEU.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  buildBadgeContent
3
- } from "./chunk-YDIRPKYI.js";
3
+ } from "./chunk-WDQRQIT7.js";
4
4
  import {
5
5
  badgeStyles,
6
6
  getAnchorOrigin
7
- } from "./chunk-EOKPFMJD.js";
7
+ } from "./chunk-ZCXVTFYQ.js";
8
8
  import {
9
9
  badgeContentOf,
10
10
  definedAria,
@@ -180,4 +180,4 @@ Badge.displayName = "Badge";
180
180
  export {
181
181
  Badge
182
182
  };
183
- //# sourceMappingURL=chunk-HAPELHNW.js.map
183
+ //# sourceMappingURL=chunk-LV2SZFXK.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  containerStyles,
3
3
  frameBox
4
- } from "./chunk-SOCZLOPJ.js";
4
+ } from "./chunk-VOG5IVQW.js";
5
5
  import {
6
6
  CarouselTrack
7
7
  } from "./chunk-TRHWA74K.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-RUIV5TVA.js";
11
11
  import {
12
12
  CarouselChrome
13
- } from "./chunk-6ZWOVUNB.js";
13
+ } from "./chunk-CACBJ4CR.js";
14
14
  import {
15
15
  withDefaults
16
16
  } from "./chunk-HPK33ACY.js";
@@ -151,4 +151,4 @@ var Carousel = (props) => {
151
151
  export {
152
152
  Carousel
153
153
  };
154
- //# sourceMappingURL=chunk-JFL5WT3S.js.map
154
+ //# sourceMappingURL=chunk-MEYKNJNI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  renderChartByType
3
- } from "./chunk-SJY4DDG7.js";
3
+ } from "./chunk-HAFLKWWU.js";
4
4
  import {
5
5
  ChartContainer
6
6
  } from "./chunk-RIRTW5EU.js";
@@ -8,7 +8,7 @@ import {
8
8
  getSizeStyles,
9
9
  getVariantStyles,
10
10
  plotHeightPx
11
- } from "./chunk-VVFV4MXS.js";
11
+ } from "./chunk-WGNLG2W2.js";
12
12
  import {
13
13
  muiColor
14
14
  } from "./chunk-7ZPUN7TV.js";
@@ -111,4 +111,4 @@ var Chart = (props) => {
111
111
  export {
112
112
  Chart
113
113
  };
114
- //# sourceMappingURL=chunk-BUAFRLSB.js.map
114
+ //# sourceMappingURL=chunk-N2XQKTXX.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  accentFor
3
- } from "./chunk-FHWXRHMA.js";
3
+ } from "./chunk-QFJ3JXXP.js";
4
4
  import {
5
5
  rem
6
6
  } from "./chunk-YKCAJ2TN.js";
@@ -64,4 +64,4 @@ export {
64
64
  commandSizeStyles,
65
65
  commandPaperStyles
66
66
  };
67
- //# sourceMappingURL=chunk-4MGUBSAL.js.map
67
+ //# sourceMappingURL=chunk-N4HHFYPB.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  STACK_BREAK
3
- } from "./chunk-KRA75CKC.js";
3
+ } from "./chunk-Z3L2EGXW.js";
4
4
  import {
5
5
  CARD_RADIUS,
6
6
  cardSurfaceStyles,
@@ -16,10 +16,10 @@ import {
16
16
  RAIL_GAP,
17
17
  railsTemplateFor,
18
18
  useListRails
19
- } from "./chunk-XTDJ2D5A.js";
19
+ } from "./chunk-NRKAJHBB.js";
20
20
  import {
21
21
  DENSITY_ROW_PADDING
22
- } from "./chunk-LHHV6NXO.js";
22
+ } from "./chunk-RZPYKTOG.js";
23
23
  import {
24
24
  rem
25
25
  } from "./chunk-YKCAJ2TN.js";
@@ -189,4 +189,4 @@ export {
189
189
  actionProps,
190
190
  rowStyles
191
191
  };
192
- //# sourceMappingURL=chunk-XLQYOBHP.js.map
192
+ //# sourceMappingURL=chunk-NFTFP6WO.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DENSITY_ROW_PADDING
3
- } from "./chunk-LHHV6NXO.js";
3
+ } from "./chunk-RZPYKTOG.js";
4
4
  import {
5
5
  CellConfigProvider,
6
6
  cellTracks
@@ -129,4 +129,4 @@ export {
129
129
  cellRailCount,
130
130
  ListCardGroup
131
131
  };
132
- //# sourceMappingURL=chunk-XTDJ2D5A.js.map
132
+ //# sourceMappingURL=chunk-NRKAJHBB.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  partTestId
3
- } from "./chunk-IXWIJCS3.js";
3
+ } from "./chunk-H5XKBPKK.js";
4
4
  import {
5
5
  SETTING_CARD_OPEN_ATTR,
6
6
  withCallerSx
@@ -79,4 +79,4 @@ export {
79
79
  settingGridStyles,
80
80
  SettingGrid
81
81
  };
82
- //# sourceMappingURL=chunk-4T5LD2NV.js.map
82
+ //# sourceMappingURL=chunk-P2OQ4IGP.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-NRI2TZDS.js";
4
4
  import {
5
5
  DataViewsGrid
6
- } from "./chunk-VDSQ5H4Y.js";
6
+ } from "./chunk-QQUNZH3L.js";
7
7
  import {
8
8
  viewStateKey
9
9
  } from "./chunk-ZOLAYP2D.js";
@@ -178,4 +178,4 @@ function renderViewDialogs(ctl, fields, columns, views, testIdPrefix, onSaved) {
178
178
  export {
179
179
  DataViewsTableBase
180
180
  };
181
- //# sourceMappingURL=chunk-O25RFGPX.js.map
181
+ //# sourceMappingURL=chunk-P3XEF26U.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-IM4DMKH4.js";
6
6
  import {
7
7
  accentFor
8
- } from "./chunk-FHWXRHMA.js";
8
+ } from "./chunk-QFJ3JXXP.js";
9
9
  import {
10
10
  FIELD_BORDER_WIDTH
11
11
  } from "./chunk-O6MJWHU5.js";
@@ -200,4 +200,4 @@ var panelSx = (input) => {
200
200
  export {
201
201
  panelSx
202
202
  };
203
- //# sourceMappingURL=chunk-MW7S7WZM.js.map
203
+ //# sourceMappingURL=chunk-PIUQYYOM.js.map
@@ -19,4 +19,4 @@ function accentFor(theme, color) {
19
19
  export {
20
20
  accentFor
21
21
  };
22
- //# sourceMappingURL=chunk-FHWXRHMA.js.map
22
+ //# sourceMappingURL=chunk-QFJ3JXXP.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/tokens/scales.ts"],"sourcesContent":["import type { Theme } from '@mui/material/styles/index.js';\n\nimport type { ColorValue, MuiColor } from './vocabulary';\n\n/**\n * `@12-apps/ui/tokens` keeps its whole surface here. The vocabulary itself —\n * the size and colour unions and their runtime lists — lives in\n * `./vocabulary`, which imports nothing, so the native renderer can read it\n * without this file's MUI `Theme` import following it into `dist/types-native`.\n */\nexport * from './vocabulary';\nexport { headingMetrics } from './typography';\n// The renderer-neutral theme and the colour arithmetic behind it, so a web\n// host can build a `UiTheme` from the same module path a native one does.\nexport * from './theme';\nexport * from './color';\n// The relative-size vocabulary every component writes its sizes in (FUT-2585).\nexport { rem, rems, remPx, resetRootFontCache, sxRem } from './relative';\n// Every colour by role (FUT-2593): ink roles, neutral tones, the named sets.\nexport * from './ink';\nexport * from './ink.core';\nexport { DEFAULT_FIELD_RADIUS, fieldRadius, fieldRadiusOverrides, fieldRadiusPx, fieldRootStyles } from './field-radius';\nexport {\n asFieldSize,\n DEFAULT_FIELD_HEIGHT,\n FIELD_BORDER_WIDTH,\n FIELD_HEIGHT_SCALE,\n fieldBorder,\n fieldControlStyles,\n fieldHeight,\n fieldHeightOverrides,\n fieldHeightPx,\n fieldHeightRem,\n fieldOverrides,\n fieldTextFieldStyles,\n mergeMuiComponents,\n} from './field-height';\n// The theme's density knob (FUT-2764): the factor table, the resolver, the\n// per-repository override and the standalone entry for a host that builds\n// `createTheme()` directly. `DensityLevel`/`ResolvedDensity` are already\n// exported above, through `./theme`.\nexport {\n DEFAULT_DENSITY,\n DENSITY_FACTOR,\n densityFieldHeight,\n densityFontSize,\n densitySpacingUnit,\n densityThemeOptions,\n resolveDensityFactor,\n useDensity,\n} from './density';\n// The IconButton/Chip geometry overrides density threads through both\n// consumption paths (FUT-2766) — exported standalone too, for a host that\n// wants JUST these two components' overrides without the rest of density.\nexport { chipDensityOverrides, iconButtonDensityOverrides } from './density-overrides';\n\nexport interface Accent {\n main: string;\n light: string;\n dark: string;\n contrastText: string;\n}\n\nexport function accentFor(theme: Theme, color: ColorValue): Accent {\n if (color === 'neutral') {\n const grey = theme.palette.grey;\n return {\n // Explicit fallbacks: the ramp is indexed, and under\n // `noUncheckedIndexedAccess` every stop is `string | undefined`.\n main: grey[600] ?? '#757575',\n light: grey[400] ?? '#bdbdbd',\n dark: grey[800] ?? '#424242',\n // Grey 600 carries white text in both themes.\n contrastText: '#fff',\n };\n }\n // Past the `neutral` return, `paletteKey` can only produce a `MuiColor` — but\n // its signature still admits `'grey'`, and TS cannot narrow a return type by\n // the argument. Naming the key here keeps the accent branch honestly typed\n // instead of casting the hole shut.\n const key: MuiColor = color === 'danger' ? 'error' : color;\n return theme.palette[key];\n}\n"],"mappings":";AA+DO,SAAS,UAAU,OAAc,OAA2B;AACjE,MAAI,UAAU,WAAW;AACvB,UAAM,OAAO,MAAM,QAAQ;AAC3B,WAAO;AAAA;AAAA;AAAA,MAGL,MAAM,KAAK,GAAG,KAAK;AAAA,MACnB,OAAO,KAAK,GAAG,KAAK;AAAA,MACpB,MAAM,KAAK,GAAG,KAAK;AAAA;AAAA,MAEnB,cAAc;AAAA,IAChB;AAAA,EACF;AAKA,QAAM,MAAgB,UAAU,WAAW,UAAU;AACrD,SAAO,MAAM,QAAQ,GAAG;AAC1B;","names":[]}
1
+ {"version":3,"sources":["../src/tokens/scales.ts"],"sourcesContent":["import type { Theme } from '@mui/material/styles/index.js';\n\nimport type { ColorValue, MuiColor } from './vocabulary';\n\n/**\n * `@12-apps/ui/tokens` keeps its whole surface here. The vocabulary itself —\n * the size and colour unions and their runtime lists — lives in\n * `./vocabulary`, which imports nothing, so the native renderer can read it\n * without this file's MUI `Theme` import following it into `dist/types-native`.\n */\nexport * from './vocabulary';\nexport { headingMetrics } from './typography';\n// The renderer-neutral theme and the colour arithmetic behind it, so a web\n// host can build a `UiTheme` from the same module path a native one does.\nexport * from './theme';\nexport * from './color';\n// The relative-size vocabulary every component writes its sizes in (FUT-2585).\nexport { rem, rems, remPx, resetRootFontCache, sxRem } from './relative';\n// Every colour by role (FUT-2593): ink roles, neutral tones, the named sets.\nexport * from './ink';\nexport * from './ink.core';\nexport { DEFAULT_FIELD_RADIUS, fieldRadius, fieldRadiusOverrides, fieldRadiusPx, fieldRootStyles } from './field-radius';\nexport {\n asFieldSize,\n DEFAULT_FIELD_HEIGHT,\n FIELD_BORDER_WIDTH,\n FIELD_HEIGHT_SCALE,\n fieldBorder,\n fieldControlStyles,\n fieldHeight,\n fieldHeightOverrides,\n fieldHeightPx,\n fieldHeightRem,\n fieldOverrides,\n fieldTextFieldStyles,\n mergeMuiComponents,\n} from './field-height';\n// The theme's density knob (FUT-2764): the factor table, the resolver, the\n// per-repository override and the standalone entry for a host that builds\n// `createTheme()` directly. `DensityLevel`/`ResolvedDensity` are already\n// exported above, through `./theme`.\nexport {\n DEFAULT_DENSITY,\n DENSITY_FACTOR,\n densityFieldHeight,\n densityFontSize,\n densitySpacingUnit,\n densityThemeOptions,\n resolveDensityFactor,\n useDensity,\n} from './density';\n// The IconButton/Chip geometry overrides density threads through both\n// consumption paths (FUT-2766), and Checkbox/Radio/Switch's (FUT-2767) —\n// exported standalone too, for a host that wants just these components'\n// overrides without the rest of density.\nexport {\n checkboxRadioDensityOverrides,\n chipDensityOverrides,\n iconButtonDensityOverrides,\n switchDensityOverrides,\n} from './density-overrides';\n\nexport interface Accent {\n main: string;\n light: string;\n dark: string;\n contrastText: string;\n}\n\nexport function accentFor(theme: Theme, color: ColorValue): Accent {\n if (color === 'neutral') {\n const grey = theme.palette.grey;\n return {\n // Explicit fallbacks: the ramp is indexed, and under\n // `noUncheckedIndexedAccess` every stop is `string | undefined`.\n main: grey[600] ?? '#757575',\n light: grey[400] ?? '#bdbdbd',\n dark: grey[800] ?? '#424242',\n // Grey 600 carries white text in both themes.\n contrastText: '#fff',\n };\n }\n // Past the `neutral` return, `paletteKey` can only produce a `MuiColor` — but\n // its signature still admits `'grey'`, and TS cannot narrow a return type by\n // the argument. Naming the key here keeps the accent branch honestly typed\n // instead of casting the hole shut.\n const key: MuiColor = color === 'danger' ? 'error' : color;\n return theme.palette[key];\n}\n"],"mappings":";AAqEO,SAAS,UAAU,OAAc,OAA2B;AACjE,MAAI,UAAU,WAAW;AACvB,UAAM,OAAO,MAAM,QAAQ;AAC3B,WAAO;AAAA;AAAA;AAAA,MAGL,MAAM,KAAK,GAAG,KAAK;AAAA,MACnB,OAAO,KAAK,GAAG,KAAK;AAAA,MACpB,MAAM,KAAK,GAAG,KAAK;AAAA;AAAA,MAEnB,cAAc;AAAA,IAChB;AAAA,EACF;AAKA,QAAM,MAAgB,UAAU,WAAW,UAAU;AACrD,SAAO,MAAM,QAAQ,GAAG;AAC1B;","names":[]}
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Sheet
3
- } from "./chunk-PUYJVQ7X.js";
3
+ } from "./chunk-RBLBXJR7.js";
4
4
  import {
5
5
  Dialog
6
6
  } from "./chunk-MQ277OLB.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-K6LNHHSH.js";
10
10
  import {
11
11
  accentFor
12
- } from "./chunk-FHWXRHMA.js";
12
+ } from "./chunk-QFJ3JXXP.js";
13
13
  import {
14
14
  rem,
15
15
  sxRem
@@ -166,4 +166,4 @@ AppHeaderDetails.displayName = "AppHeaderDetails";
166
166
  export {
167
167
  AppHeaderDetails
168
168
  };
169
- //# sourceMappingURL=chunk-EJMSSDLM.js.map
169
+ //# sourceMappingURL=chunk-QL7NPQOP.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  GridShell
3
- } from "./chunk-YKALXHCS.js";
3
+ } from "./chunk-JTWRI4WD.js";
4
4
  import {
5
5
  useDataViewsState
6
6
  } from "./chunk-FQ637IDM.js";
@@ -27,4 +27,4 @@ function DataViewsGrid(props) {
27
27
  export {
28
28
  DataViewsGrid
29
29
  };
30
- //# sourceMappingURL=chunk-VDSQ5H4Y.js.map
30
+ //# sourceMappingURL=chunk-QQUNZH3L.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  panelSx
3
- } from "./chunk-MW7S7WZM.js";
3
+ } from "./chunk-PIUQYYOM.js";
4
4
  import {
5
5
  useSheetDrag,
6
6
  useSheetOpen
@@ -124,4 +124,4 @@ var Sheet = (props) => {
124
124
  export {
125
125
  Sheet
126
126
  };
127
- //# sourceMappingURL=chunk-PUYJVQ7X.js.map
127
+ //# sourceMappingURL=chunk-RBLBXJR7.js.map
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-ZCPSND5Y.js";
12
12
  import {
13
13
  SR_ONLY_SX
14
- } from "./chunk-CSXK7LH7.js";
14
+ } from "./chunk-ST36ZSAN.js";
15
15
  import {
16
16
  EmptyState
17
17
  } from "./chunk-HN3PZTUK.js";
@@ -117,4 +117,4 @@ export {
117
117
  FleetMap,
118
118
  FleetMap_default
119
119
  };
120
- //# sourceMappingURL=chunk-OERKNBKK.js.map
120
+ //# sourceMappingURL=chunk-RSQYWGMU.js.map
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  commandPaperStyles,
7
7
  commandSizeStyles
8
- } from "./chunk-4MGUBSAL.js";
8
+ } from "./chunk-N4HHFYPB.js";
9
9
  import {
10
10
  CommandEmpty,
11
11
  CommandLoading
@@ -307,4 +307,4 @@ export {
307
307
  CommandList,
308
308
  CommandGroup
309
309
  };
310
- //# sourceMappingURL=chunk-VOBVYVPN.js.map
310
+ //# sourceMappingURL=chunk-RVOYCPKF.js.map
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-6DPAWXZ3.js";
13
13
  import {
14
14
  useDensity
15
- } from "./chunk-2GG5W6LR.js";
15
+ } from "./chunk-TMOC2XUE.js";
16
16
  import {
17
17
  sxRem
18
18
  } from "./chunk-YKCAJ2TN.js";
@@ -196,4 +196,4 @@ export {
196
196
  useDataViewsLayout,
197
197
  DataViewsZoomSlider
198
198
  };
199
- //# sourceMappingURL=chunk-LHHV6NXO.js.map
199
+ //# sourceMappingURL=chunk-RZPYKTOG.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  accentFor
3
- } from "./chunk-FHWXRHMA.js";
3
+ } from "./chunk-QFJ3JXXP.js";
4
4
  import {
5
5
  rem,
6
6
  sxRem
@@ -147,4 +147,4 @@ export {
147
147
  labelStyles,
148
148
  SR_ONLY_SX
149
149
  };
150
- //# sourceMappingURL=chunk-CSXK7LH7.js.map
150
+ //# sourceMappingURL=chunk-ST36ZSAN.js.map
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-L3MRRAZM.js";
27
27
  import {
28
28
  useDensity
29
- } from "./chunk-2GG5W6LR.js";
29
+ } from "./chunk-TMOC2XUE.js";
30
30
  import {
31
31
  rem
32
32
  } from "./chunk-YKCAJ2TN.js";
@@ -311,4 +311,4 @@ Table.displayName = "Table";
311
311
  export {
312
312
  Table
313
313
  };
314
- //# sourceMappingURL=chunk-6LYRFS5S.js.map
314
+ //# sourceMappingURL=chunk-T6HVNVFI.js.map
@@ -1,7 +1,9 @@
1
1
  import {
2
+ checkboxRadioDensityOverrides,
2
3
  chipDensityOverrides,
3
- iconButtonDensityOverrides
4
- } from "./chunk-532XOWZ5.js";
4
+ iconButtonDensityOverrides,
5
+ switchDensityOverrides
6
+ } from "./chunk-5D52CMNX.js";
5
7
  import {
6
8
  fieldOverrides,
7
9
  mergeMuiComponents
@@ -31,7 +33,9 @@ function densityThemeOptions(density, factors, fieldRadius = DEFAULT_FIELD_RADIU
31
33
  components: mergeMuiComponents(
32
34
  fieldOverrides(fieldRadius, fieldHeight),
33
35
  iconButtonDensityOverrides(),
34
- chipDensityOverrides()
36
+ chipDensityOverrides(),
37
+ checkboxRadioDensityOverrides(),
38
+ switchDensityOverrides()
35
39
  )
36
40
  };
37
41
  }
@@ -40,4 +44,4 @@ export {
40
44
  useDensity,
41
45
  densityThemeOptions
42
46
  };
43
- //# sourceMappingURL=chunk-2GG5W6LR.js.map
47
+ //# sourceMappingURL=chunk-TMOC2XUE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/tokens/density.ts"],"sourcesContent":["import { useTheme } from '@mui/material/styles/index.js';\nimport type { ThemeOptions } from '@mui/material/styles/index.js';\n\nimport {\n densityFieldHeight,\n densityFontSize,\n densitySpacingUnit,\n resolveDensityFactor,\n type DensityLevel,\n type ResolvedDensity,\n} from './density.core';\nimport {\n checkboxRadioDensityOverrides,\n chipDensityOverrides,\n iconButtonDensityOverrides,\n switchDensityOverrides,\n} from './density-overrides';\nimport { fieldOverrides, mergeMuiComponents } from './field-height';\nimport { DEFAULT_FIELD_RADIUS } from './field-radius.core';\n\n/**\n * DENSITY ON THE WEB: the MUI theme channel, the reader, and the standalone\n * entry point for a host that never calls `createUiTheme`/`UiProvider`.\n *\n * The argument for one density knob, the factor table and its precedence are\n * in `./density.core.ts`.\n */\n\nexport {\n DEFAULT_DENSITY,\n DENSITY_FACTOR,\n densityFieldHeight,\n densityFontSize,\n densitySpacingUnit,\n resolveDensityFactor,\n type DensityLevel,\n type ResolvedDensity,\n} from './density.core';\n\ndeclare module '@mui/material/styles' {\n interface Theme {\n /** The density this theme renders at. See `@12-apps/ui/tokens`' `useDensity`. */\n density?: ResolvedDensity;\n }\n interface ThemeOptions {\n /** The density this theme renders at. See `@12-apps/ui/tokens`' `useDensity`. */\n density?: ResolvedDensity;\n }\n}\n\n/**\n * The theme's resolved density — a plain theme read, not a step-shifting\n * resolver (`size` stays hierarchy; see `./density.core.ts`). A `styleOverrides`\n * callback already gets `{ theme }` and can read `theme.density` directly;\n * this is for a component that needs the level in its own render logic\n * (`Table`/`DataGrid`/`DataViews` each read it once to source their own\n * `density` prop's default).\n *\n * Falls back to `resolveDensityFactor()` (`'normal'`, factor `1`) for a bare\n * MUI theme built without `createUiTheme`/`muiThemeOptionsFrom`.\n */\nexport function useDensity(): ResolvedDensity {\n return useTheme().density ?? resolveDensityFactor();\n}\n\n/**\n * The density factor as a MUI `ThemeOptions` fragment, for a host that builds\n * `createTheme()` directly and never calls `createUiTheme`/`UiProvider` — the\n * same precedence `resolveDensityFactor` gives `createUiTheme`, so the two\n * consumption paths agree on `typography`/`spacing`/`fieldHeight`/`components`\n * (FUT-2764's Design section), not just the first two. `fieldHeight` matters\n * on its own: `Input`/`Select`/`Button` each read `theme.fieldHeight` directly\n * (`Input.tsx`, `Select.tsx`, `Button.styles.ts`'s `buttonSize`), so a fragment\n * that carried only `typography`/`spacing` left every field standing at the\n * DEFAULT height (2.5) at every density on this path — the two paths would\n * agree on the type scale and disagree on the one number three components key\n * their own layout off.\n *\n * `components` is the matching MUI-native override (`fieldOverrides`, plus\n * FUT-2766's `iconButtonDensityOverrides`/`chipDensityOverrides` and\n * FUT-2767's `checkboxRadioDensityOverrides`/`switchDensityOverrides`) for a\n * HOST's own bare `TextField`/`Select`/`IconButton`/`Chip`/`Checkbox`/\n * `Radio`/`Switch`, mirroring `muiThemeOptionsFrom`'s own `components:\n * mergeMuiComponents(...)`. It carries ONLY the overrides this function knows\n * about (`MuiOutlinedInput`'s `root`, `input` and `notchedOutline`;\n * `MuiInputLabel`'s `outlined`; `MuiIconButton`'s `root`/`sizeSmall`/\n * `sizeLarge`; `MuiChip`'s `root`/`sizeSmall`/`label`/`labelSmall`;\n * `MuiCheckbox`'s and `MuiRadio`'s `root`; `MuiSwitch`'s\n * `root`/`switchBase`/`thumb`/`sizeSmall`) — a host with ITS OWN overrides for\n * OTHER components merges them in with\n * `mergeMuiComponents(densityThemeOptions(density).components, hostOverrides)`,\n * which keeps a component only ONE side touches untouched. For a component\n * BOTH sides style, the merge is by INNER key (`root`/`input`/…): a key only\n * one side sets survives from that side, but a key BOTH set is replaced\n * WHOLESALE by whichever source is passed LAST — not deep-merged — so a host\n * wanting to ADD to, say, `MuiOutlinedInput`'s `root` alongside the radius\n * override needs to write that one key's object out in full itself.\n *\n * `fieldRadius` (3rd argument, optional) exists because density does NOT touch\n * the field's CORNER — this is only for a host that already draws its OWN,\n * non-default radius and wants `components` to match it instead of clashing;\n * it defaults\n * to the same {@link DEFAULT_FIELD_RADIUS} `createUiTheme` itself falls back\n * to when a host names no `fieldRadius`, so the two paths still agree with no\n * argument passed at all — the existing 2-argument call keeps working\n * unchanged.\n *\n * **Where to spread it — the first `createTheme()` call, not a later layering\n * one.** `createTheme(options, ...args)` (`createThemeNoVars.js`) only runs\n * `createSpacing`/`createTypography` on `options`, the FIRST argument; every\n * later argument is deep-merged onto the theme those two already built, with\n * no such reprocessing. So a host with a base theme and a SECOND, layering\n * `createTheme()` call on top of it — exactly the shape a two-theme host uses,\n * `createTheme(outer, { palette: { ... } })` — must apply density at the\n * FIRST call (where the base itself is built), never spread onto `outer` in\n * the second one:\n *\n * ```ts\n * // RIGHT — density goes into the base's OWN construction. The second,\n * // layering call is unaffected: it never restates spacing/typography/\n * // fieldHeight/components itself, so `theme.spacing`/`pxToRem`/`fieldHeight`\n * // carry over from `base` UNCHANGED, already correctly scaled.\n * const base = createTheme({ palette: { primary: { main }, ... }, ...densityThemeOptions('compact') });\n * const themed = createTheme(base, { palette: { primary: { main: brand } } });\n *\n * // WRONG — a second, layering argument onto an ALREADY-BUILT theme is\n * // deepmerged with no reprocessing: `spacing`/`typography.fontSize` would\n * // overwrite the already-resolved `theme.spacing` function/`pxToRem` ratio\n * // instead of rescaling them.\n * createTheme(outer, { ...densityThemeOptions('compact') });\n * ```\n */\nexport function densityThemeOptions(\n density: DensityLevel | number,\n factors?: Partial<Record<DensityLevel, number>>,\n fieldRadius: number = DEFAULT_FIELD_RADIUS,\n): Pick<ThemeOptions, 'typography' | 'spacing' | 'fieldHeight' | 'components'> {\n const { factor } = resolveDensityFactor(density, factors);\n const fieldHeight = densityFieldHeight(factor);\n return {\n typography: { fontSize: densityFontSize(factor) },\n spacing: densitySpacingUnit(factor),\n fieldHeight,\n components: mergeMuiComponents(\n fieldOverrides(fieldRadius, fieldHeight),\n iconButtonDensityOverrides(),\n chipDensityOverrides(),\n checkboxRadioDensityOverrides(),\n switchDensityOverrides(),\n ),\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,gBAAgB;AA6DlB,SAAS,aAA8B;AAC5C,SAAO,SAAS,EAAE,WAAW,qBAAqB;AACpD;AAqEO,SAAS,oBACd,SACA,SACA,cAAsB,sBACuD;AAC7E,QAAM,EAAE,OAAO,IAAI,qBAAqB,SAAS,OAAO;AACxD,QAAM,cAAc,mBAAmB,MAAM;AAC7C,SAAO;AAAA,IACL,YAAY,EAAE,UAAU,gBAAgB,MAAM,EAAE;AAAA,IAChD,SAAS,mBAAmB,MAAM;AAAA,IAClC;AAAA,IACA,YAAY;AAAA,MACV,eAAe,aAAa,WAAW;AAAA,MACvC,2BAA2B;AAAA,MAC3B,qBAAqB;AAAA,MACrB,8BAA8B;AAAA,MAC9B,uBAAuB;AAAA,IACzB;AAAA,EACF;AACF;","names":[]}
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  accentFor
3
- } from "./chunk-FHWXRHMA.js";
3
+ } from "./chunk-QFJ3JXXP.js";
4
4
  import {
5
5
  rem,
6
6
  sxRem
@@ -63,4 +63,4 @@ export {
63
63
  frameBox,
64
64
  containerStyles
65
65
  };
66
- //# sourceMappingURL=chunk-SOCZLOPJ.js.map
66
+ //# sourceMappingURL=chunk-VOG5IVQW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getSizeStyles
3
- } from "./chunk-EOKPFMJD.js";
3
+ } from "./chunk-ZCXVTFYQ.js";
4
4
  import {
5
5
  BADGE_CONTENT_GAP,
6
6
  BADGE_SIZES
@@ -94,4 +94,4 @@ var buildBadgeContent = ({
94
94
  export {
95
95
  buildBadgeContent
96
96
  };
97
- //# sourceMappingURL=chunk-YDIRPKYI.js.map
97
+ //# sourceMappingURL=chunk-WDQRQIT7.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  accentFor
3
- } from "./chunk-FHWXRHMA.js";
3
+ } from "./chunk-QFJ3JXXP.js";
4
4
  import {
5
5
  uiInk
6
6
  } from "./chunk-FQ6UW7IY.js";
@@ -129,4 +129,4 @@ export {
129
129
  resolveSeries,
130
130
  getAxisStyles
131
131
  };
132
- //# sourceMappingURL=chunk-VVFV4MXS.js.map
132
+ //# sourceMappingURL=chunk-WGNLG2W2.js.map