@12-apps/ui 6.45.6 → 6.46.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 (248) 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/RadioGroup/RadioGroup.js +4 -2
  44. package/dist/_internal/components/form/RadioGroup/RadioGroup.variants.js +3 -1
  45. package/dist/_internal/components/form/index.js +13 -13
  46. package/dist/_internal/components/index.js +48 -48
  47. package/dist/_internal/components/layout/Box/Box.js +6 -6
  48. package/dist/_internal/components/layout/SettingCard/SettingCard.js +8 -8
  49. package/dist/_internal/components/layout/SettingCard/SettingCard.parts.js +7 -7
  50. package/dist/_internal/components/layout/SettingCard/SettingGrid.js +8 -8
  51. package/dist/_internal/components/layout/SettingCard/SettingGroup.js +10 -10
  52. package/dist/_internal/components/layout/SettingCard/SettingSwitch.js +9 -9
  53. package/dist/_internal/components/layout/SettingCard/SettingToggle.js +10 -10
  54. package/dist/_internal/components/layout/Stack/Stack.js +7 -7
  55. package/dist/_internal/components/layout/index.js +13 -13
  56. package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +6 -6
  57. package/dist/_internal/components/navigation/AppHeader/AppHeader.identity.js +4 -4
  58. package/dist/_internal/components/navigation/SectionNav/SectionNav.bar.js +10 -10
  59. package/dist/_internal/components/navigation/SectionNav/SectionNav.js +12 -12
  60. package/dist/_internal/components/navigation/SectionNav/SectionNav.parts.js +7 -7
  61. package/dist/_internal/components/navigation/SectionNav/SectionNav.primary.js +8 -8
  62. package/dist/_internal/components/navigation/SectionNav/SectionNav.rail.js +8 -8
  63. package/dist/_internal/components/navigation/SectionNav/SectionNav.sheet.js +8 -8
  64. package/dist/_internal/components/navigation/SectionNav/__stories__/fixtures.js +3 -3
  65. package/dist/_internal/components/navigation/index.js +16 -16
  66. package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.helpers.js +3 -3
  67. package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.js +3 -3
  68. package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.parts.js +3 -3
  69. package/dist/_internal/components/utility/WorkflowStep/WorkflowStepRow.js +3 -3
  70. package/dist/_internal/components/utility/index.js +3 -3
  71. package/dist/_internal/icons/Icon.js +6 -6
  72. package/dist/_internal/provider/UiProvider.js +5 -5
  73. package/dist/_internal/provider/mui-bridge.js +4 -4
  74. package/dist/_internal/provider/use-ui-theme.js +5 -5
  75. package/dist/_internal/tokens/density-overrides.js +7 -3
  76. package/dist/_internal/tokens/density.js +2 -2
  77. package/dist/charts.js +8 -8
  78. package/dist/{chunk-RNVR3RGV.js → chunk-25OI5W6Y.js} +2 -2
  79. package/dist/{chunk-GHJ2FIJO.js → chunk-4A7PSQB5.js} +3 -3
  80. package/dist/{chunk-YF3VD2KD.js → chunk-4CBM7JNK.js} +2 -2
  81. package/dist/{chunk-L3APNYI5.js → chunk-56QYSVLI.js} +4 -4
  82. package/dist/chunk-5D52CMNX.js +127 -0
  83. package/dist/chunk-5D52CMNX.js.map +1 -0
  84. package/dist/{chunk-5OS5AMC2.js → chunk-5OX6KZIZ.js} +2 -2
  85. package/dist/{chunk-PJVZY2SA.js → chunk-6MN5KOVM.js} +2 -2
  86. package/dist/{chunk-ITBUKGG3.js → chunk-6VKHS2BB.js} +2 -2
  87. package/dist/{chunk-RPKWTFJ2.js → chunk-7PUSFB3T.js} +2 -2
  88. package/dist/{chunk-6OLJ2RAT.js → chunk-AA7QTFMB.js} +2 -2
  89. package/dist/{chunk-H7HEB4UC.js → chunk-AEJ3FFNE.js} +2 -2
  90. package/dist/{chunk-HDVEE4NQ.js → chunk-BIDPJNCG.js} +12 -8
  91. package/dist/chunk-BIDPJNCG.js.map +1 -0
  92. package/dist/{chunk-QGB3DOMV.js → chunk-BU6TCB76.js} +2 -2
  93. package/dist/{chunk-UHGQ74E3.js → chunk-BWURMQWZ.js} +2 -2
  94. package/dist/{chunk-SENCNTMV.js → chunk-BWXPO2SE.js} +3 -3
  95. package/dist/{chunk-6ZWOVUNB.js → chunk-CACBJ4CR.js} +2 -2
  96. package/dist/{chunk-2OP2FYB3.js → chunk-CJPP4OUK.js} +2 -2
  97. package/dist/{chunk-Q5J37WOE.js → chunk-DWG5SEGW.js} +2 -2
  98. package/dist/{chunk-6HTCCWUM.js → chunk-E32YPPF5.js} +2 -2
  99. package/dist/{chunk-A7OQBAR7.js → chunk-E4GTZ26X.js} +2 -2
  100. package/dist/{chunk-Y4ET3NRC.js → chunk-EKWH4LGM.js} +2 -2
  101. package/dist/{chunk-KNAWZM7F.js → chunk-F56VOHFW.js} +2 -2
  102. package/dist/{chunk-IXWIJCS3.js → chunk-H5XKBPKK.js} +2 -2
  103. package/dist/{chunk-SJY4DDG7.js → chunk-HAFLKWWU.js} +2 -2
  104. package/dist/{chunk-TCFBCTZD.js → chunk-HC2AO3RT.js} +2 -2
  105. package/dist/{chunk-CU7ELD43.js → chunk-HISEWACT.js} +2 -2
  106. package/dist/{chunk-XHA2NXLD.js → chunk-HSKLX2NO.js} +2 -2
  107. package/dist/{chunk-FTV5R2UZ.js → chunk-I2STNAIQ.js} +2 -2
  108. package/dist/{chunk-K7PWC44N.js → chunk-J2JWWGMT.js} +4 -4
  109. package/dist/{chunk-YKALXHCS.js → chunk-JTWRI4WD.js} +5 -5
  110. package/dist/{chunk-JWNOM5QT.js → chunk-JUKA4NY5.js} +2 -2
  111. package/dist/{chunk-PSX7DAMV.js → chunk-KYQ4OORF.js} +3 -3
  112. package/dist/{chunk-L6Q2A32O.js → chunk-LQRUTHJY.js} +2 -2
  113. package/dist/{chunk-SRZY6QG3.js → chunk-LTJDZIYR.js} +4 -4
  114. package/dist/{chunk-HYEOKBFV.js → chunk-LUPHXDEU.js} +2 -2
  115. package/dist/{chunk-HAPELHNW.js → chunk-LV2SZFXK.js} +3 -3
  116. package/dist/{chunk-JFL5WT3S.js → chunk-MEYKNJNI.js} +3 -3
  117. package/dist/{chunk-BUAFRLSB.js → chunk-N2XQKTXX.js} +3 -3
  118. package/dist/{chunk-4MGUBSAL.js → chunk-N4HHFYPB.js} +2 -2
  119. package/dist/{chunk-XLQYOBHP.js → chunk-NFTFP6WO.js} +4 -4
  120. package/dist/{chunk-XTDJ2D5A.js → chunk-NRKAJHBB.js} +2 -2
  121. package/dist/{chunk-4T5LD2NV.js → chunk-P2OQ4IGP.js} +2 -2
  122. package/dist/{chunk-O25RFGPX.js → chunk-P3XEF26U.js} +2 -2
  123. package/dist/{chunk-MW7S7WZM.js → chunk-PIUQYYOM.js} +2 -2
  124. package/dist/{chunk-FHWXRHMA.js → chunk-QFJ3JXXP.js} +1 -1
  125. package/dist/{chunk-FHWXRHMA.js.map → chunk-QFJ3JXXP.js.map} +1 -1
  126. package/dist/{chunk-EJMSSDLM.js → chunk-QL7NPQOP.js} +3 -3
  127. package/dist/{chunk-VDSQ5H4Y.js → chunk-QQUNZH3L.js} +2 -2
  128. package/dist/{chunk-PUYJVQ7X.js → chunk-RBLBXJR7.js} +2 -2
  129. package/dist/{chunk-OERKNBKK.js → chunk-RSQYWGMU.js} +2 -2
  130. package/dist/{chunk-VOBVYVPN.js → chunk-RVOYCPKF.js} +2 -2
  131. package/dist/{chunk-LHHV6NXO.js → chunk-RZPYKTOG.js} +2 -2
  132. package/dist/{chunk-6H4TPEMO.js → chunk-SDWOWB6F.js} +6 -1
  133. package/dist/chunk-SDWOWB6F.js.map +1 -0
  134. package/dist/{chunk-CSXK7LH7.js → chunk-ST36ZSAN.js} +2 -2
  135. package/dist/{chunk-6LYRFS5S.js → chunk-T6HVNVFI.js} +2 -2
  136. package/dist/{chunk-2GG5W6LR.js → chunk-TMOC2XUE.js} +8 -4
  137. package/dist/chunk-TMOC2XUE.js.map +1 -0
  138. package/dist/{chunk-SOCZLOPJ.js → chunk-VOG5IVQW.js} +2 -2
  139. package/dist/{chunk-YDIRPKYI.js → chunk-WDQRQIT7.js} +2 -2
  140. package/dist/{chunk-VVFV4MXS.js → chunk-WGNLG2W2.js} +2 -2
  141. package/dist/{chunk-PKXCQKPB.js → chunk-XFAXRMWY.js} +3 -3
  142. package/dist/{chunk-G6T7KRQ3.js → chunk-YDU2YPQA.js} +3 -3
  143. package/dist/{chunk-KRA75CKC.js → chunk-Z3L2EGXW.js} +2 -2
  144. package/dist/{chunk-3WCUGTRH.js → chunk-ZCEXSYAJ.js} +4 -4
  145. package/dist/{chunk-EOKPFMJD.js → chunk-ZCXVTFYQ.js} +2 -2
  146. package/dist/{chunk-PNWGQAXQ.js → chunk-ZL3GCUKC.js} +2 -2
  147. package/dist/{chunk-RPFQQP5S.js → chunk-ZRIWMIHK.js} +2 -2
  148. package/dist/data-display/Badge.js +6 -6
  149. package/dist/data-display/Carousel.js +7 -7
  150. package/dist/data-display/Chart.js +8 -8
  151. package/dist/data-display/DataGrid.js +4 -4
  152. package/dist/data-display/DataViews.js +18 -18
  153. package/dist/data-display/FleetMap.js +5 -5
  154. package/dist/data-display/Sheet.js +5 -5
  155. package/dist/data-display/Table.js +3 -3
  156. package/dist/form/Command.js +5 -5
  157. package/dist/form/Label.js +5 -5
  158. package/dist/form/Menubar.js +7 -7
  159. package/dist/form/RadioGroup.js +4 -2
  160. package/dist/icons.js +6 -6
  161. package/dist/layout/Box.js +6 -6
  162. package/dist/layout/SettingCard.js +13 -13
  163. package/dist/layout/Stack.js +7 -7
  164. package/dist/navigation/AppHeader.js +7 -7
  165. package/dist/navigation/SectionNav.js +12 -12
  166. package/dist/provider.js +6 -6
  167. package/dist/tokens.js +8 -4
  168. package/dist/types/components/form/RadioGroup/RadioGroup.variants.d.ts.map +1 -1
  169. package/dist/types/provider/mui-bridge.d.ts.map +1 -1
  170. package/dist/types/tokens/density-overrides.d.ts +14 -0
  171. package/dist/types/tokens/density-overrides.d.ts.map +1 -1
  172. package/dist/types/tokens/density.d.ts +10 -7
  173. package/dist/types/tokens/density.d.ts.map +1 -1
  174. package/dist/types/tokens/scales.d.ts +1 -1
  175. package/dist/types/tokens/scales.d.ts.map +1 -1
  176. package/dist/utility/WorkflowStep.js +3 -3
  177. package/package.json +1 -1
  178. package/src/components/form/RadioGroup/RadioGroup.variants.tsx +11 -0
  179. package/src/components/form/Switch/Switch.md +26 -0
  180. package/src/provider/mui-bridge.ts +11 -4
  181. package/src/tokens/density-overrides.ts +208 -1
  182. package/src/tokens/density.ts +18 -8
  183. package/src/tokens/scales.ts +9 -3
  184. package/dist/chunk-2GG5W6LR.js.map +0 -1
  185. package/dist/chunk-532XOWZ5.js +0 -59
  186. package/dist/chunk-532XOWZ5.js.map +0 -1
  187. package/dist/chunk-6H4TPEMO.js.map +0 -1
  188. package/dist/chunk-HDVEE4NQ.js.map +0 -1
  189. /package/dist/{chunk-RNVR3RGV.js.map → chunk-25OI5W6Y.js.map} +0 -0
  190. /package/dist/{chunk-GHJ2FIJO.js.map → chunk-4A7PSQB5.js.map} +0 -0
  191. /package/dist/{chunk-YF3VD2KD.js.map → chunk-4CBM7JNK.js.map} +0 -0
  192. /package/dist/{chunk-L3APNYI5.js.map → chunk-56QYSVLI.js.map} +0 -0
  193. /package/dist/{chunk-5OS5AMC2.js.map → chunk-5OX6KZIZ.js.map} +0 -0
  194. /package/dist/{chunk-PJVZY2SA.js.map → chunk-6MN5KOVM.js.map} +0 -0
  195. /package/dist/{chunk-ITBUKGG3.js.map → chunk-6VKHS2BB.js.map} +0 -0
  196. /package/dist/{chunk-RPKWTFJ2.js.map → chunk-7PUSFB3T.js.map} +0 -0
  197. /package/dist/{chunk-6OLJ2RAT.js.map → chunk-AA7QTFMB.js.map} +0 -0
  198. /package/dist/{chunk-H7HEB4UC.js.map → chunk-AEJ3FFNE.js.map} +0 -0
  199. /package/dist/{chunk-QGB3DOMV.js.map → chunk-BU6TCB76.js.map} +0 -0
  200. /package/dist/{chunk-UHGQ74E3.js.map → chunk-BWURMQWZ.js.map} +0 -0
  201. /package/dist/{chunk-SENCNTMV.js.map → chunk-BWXPO2SE.js.map} +0 -0
  202. /package/dist/{chunk-6ZWOVUNB.js.map → chunk-CACBJ4CR.js.map} +0 -0
  203. /package/dist/{chunk-2OP2FYB3.js.map → chunk-CJPP4OUK.js.map} +0 -0
  204. /package/dist/{chunk-Q5J37WOE.js.map → chunk-DWG5SEGW.js.map} +0 -0
  205. /package/dist/{chunk-6HTCCWUM.js.map → chunk-E32YPPF5.js.map} +0 -0
  206. /package/dist/{chunk-A7OQBAR7.js.map → chunk-E4GTZ26X.js.map} +0 -0
  207. /package/dist/{chunk-Y4ET3NRC.js.map → chunk-EKWH4LGM.js.map} +0 -0
  208. /package/dist/{chunk-KNAWZM7F.js.map → chunk-F56VOHFW.js.map} +0 -0
  209. /package/dist/{chunk-IXWIJCS3.js.map → chunk-H5XKBPKK.js.map} +0 -0
  210. /package/dist/{chunk-SJY4DDG7.js.map → chunk-HAFLKWWU.js.map} +0 -0
  211. /package/dist/{chunk-TCFBCTZD.js.map → chunk-HC2AO3RT.js.map} +0 -0
  212. /package/dist/{chunk-CU7ELD43.js.map → chunk-HISEWACT.js.map} +0 -0
  213. /package/dist/{chunk-XHA2NXLD.js.map → chunk-HSKLX2NO.js.map} +0 -0
  214. /package/dist/{chunk-FTV5R2UZ.js.map → chunk-I2STNAIQ.js.map} +0 -0
  215. /package/dist/{chunk-K7PWC44N.js.map → chunk-J2JWWGMT.js.map} +0 -0
  216. /package/dist/{chunk-YKALXHCS.js.map → chunk-JTWRI4WD.js.map} +0 -0
  217. /package/dist/{chunk-JWNOM5QT.js.map → chunk-JUKA4NY5.js.map} +0 -0
  218. /package/dist/{chunk-PSX7DAMV.js.map → chunk-KYQ4OORF.js.map} +0 -0
  219. /package/dist/{chunk-L6Q2A32O.js.map → chunk-LQRUTHJY.js.map} +0 -0
  220. /package/dist/{chunk-SRZY6QG3.js.map → chunk-LTJDZIYR.js.map} +0 -0
  221. /package/dist/{chunk-HYEOKBFV.js.map → chunk-LUPHXDEU.js.map} +0 -0
  222. /package/dist/{chunk-HAPELHNW.js.map → chunk-LV2SZFXK.js.map} +0 -0
  223. /package/dist/{chunk-JFL5WT3S.js.map → chunk-MEYKNJNI.js.map} +0 -0
  224. /package/dist/{chunk-BUAFRLSB.js.map → chunk-N2XQKTXX.js.map} +0 -0
  225. /package/dist/{chunk-4MGUBSAL.js.map → chunk-N4HHFYPB.js.map} +0 -0
  226. /package/dist/{chunk-XLQYOBHP.js.map → chunk-NFTFP6WO.js.map} +0 -0
  227. /package/dist/{chunk-XTDJ2D5A.js.map → chunk-NRKAJHBB.js.map} +0 -0
  228. /package/dist/{chunk-4T5LD2NV.js.map → chunk-P2OQ4IGP.js.map} +0 -0
  229. /package/dist/{chunk-O25RFGPX.js.map → chunk-P3XEF26U.js.map} +0 -0
  230. /package/dist/{chunk-MW7S7WZM.js.map → chunk-PIUQYYOM.js.map} +0 -0
  231. /package/dist/{chunk-EJMSSDLM.js.map → chunk-QL7NPQOP.js.map} +0 -0
  232. /package/dist/{chunk-VDSQ5H4Y.js.map → chunk-QQUNZH3L.js.map} +0 -0
  233. /package/dist/{chunk-PUYJVQ7X.js.map → chunk-RBLBXJR7.js.map} +0 -0
  234. /package/dist/{chunk-OERKNBKK.js.map → chunk-RSQYWGMU.js.map} +0 -0
  235. /package/dist/{chunk-VOBVYVPN.js.map → chunk-RVOYCPKF.js.map} +0 -0
  236. /package/dist/{chunk-LHHV6NXO.js.map → chunk-RZPYKTOG.js.map} +0 -0
  237. /package/dist/{chunk-CSXK7LH7.js.map → chunk-ST36ZSAN.js.map} +0 -0
  238. /package/dist/{chunk-6LYRFS5S.js.map → chunk-T6HVNVFI.js.map} +0 -0
  239. /package/dist/{chunk-SOCZLOPJ.js.map → chunk-VOG5IVQW.js.map} +0 -0
  240. /package/dist/{chunk-YDIRPKYI.js.map → chunk-WDQRQIT7.js.map} +0 -0
  241. /package/dist/{chunk-VVFV4MXS.js.map → chunk-WGNLG2W2.js.map} +0 -0
  242. /package/dist/{chunk-PKXCQKPB.js.map → chunk-XFAXRMWY.js.map} +0 -0
  243. /package/dist/{chunk-G6T7KRQ3.js.map → chunk-YDU2YPQA.js.map} +0 -0
  244. /package/dist/{chunk-KRA75CKC.js.map → chunk-Z3L2EGXW.js.map} +0 -0
  245. /package/dist/{chunk-3WCUGTRH.js.map → chunk-ZCEXSYAJ.js.map} +0 -0
  246. /package/dist/{chunk-EOKPFMJD.js.map → chunk-ZCXVTFYQ.js.map} +0 -0
  247. /package/dist/{chunk-PNWGQAXQ.js.map → chunk-ZL3GCUKC.js.map} +0 -0
  248. /package/dist/{chunk-RPFQQP5S.js.map → chunk-ZRIWMIHK.js.map} +0 -0
package/dist/charts.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import "./chunk-5KLSLD72.js";
2
2
  import {
3
3
  SpecChart
4
- } from "./chunk-G6T7KRQ3.js";
4
+ } from "./chunk-YDU2YPQA.js";
5
5
  import {
6
6
  Chart
7
- } from "./chunk-BUAFRLSB.js";
7
+ } from "./chunk-N2XQKTXX.js";
8
8
  import {
9
9
  CHART_SEMANTIC_COLORS,
10
10
  ChartSpecError,
@@ -16,8 +16,8 @@ import {
16
16
  getRegisteredChartSpecTypes,
17
17
  registerChartSpecRenderer
18
18
  } from "./chunk-WKUA6P3W.js";
19
- import "./chunk-SJY4DDG7.js";
20
- import "./chunk-L6Q2A32O.js";
19
+ import "./chunk-HAFLKWWU.js";
20
+ import "./chunk-LQRUTHJY.js";
21
21
  import "./chunk-SOHQPPYJ.js";
22
22
  import {
23
23
  ChartContainer,
@@ -26,15 +26,15 @@ import {
26
26
  ChartTooltip,
27
27
  ChartTooltipContent
28
28
  } from "./chunk-RIRTW5EU.js";
29
- import "./chunk-VVFV4MXS.js";
29
+ import "./chunk-WGNLG2W2.js";
30
30
  import {
31
31
  chartValueFormatter,
32
32
  formatChartValue
33
33
  } from "./chunk-QVWNK4JO.js";
34
- import "./chunk-FHWXRHMA.js";
34
+ import "./chunk-QFJ3JXXP.js";
35
35
  import "./chunk-7ZPUN7TV.js";
36
- import "./chunk-2GG5W6LR.js";
37
- import "./chunk-532XOWZ5.js";
36
+ import "./chunk-TMOC2XUE.js";
37
+ import "./chunk-5D52CMNX.js";
38
38
  import "./chunk-PT6TCWIW.js";
39
39
  import "./chunk-M47ZOUGF.js";
40
40
  import "./chunk-7FDU3FIN.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GWFAINQ7.js";
4
4
  import {
5
5
  accentFor
6
- } from "./chunk-FHWXRHMA.js";
6
+ } from "./chunk-QFJ3JXXP.js";
7
7
  import {
8
8
  rem,
9
9
  sxRem
@@ -258,4 +258,4 @@ export {
258
258
  AppHeaderStatus,
259
259
  AppHeaderIdentity
260
260
  };
261
- //# sourceMappingURL=chunk-RNVR3RGV.js.map
261
+ //# sourceMappingURL=chunk-25OI5W6Y.js.map
@@ -7,7 +7,7 @@ import {
7
7
  SaveError,
8
8
  SettingHeader,
9
9
  partTestId
10
- } from "./chunk-IXWIJCS3.js";
10
+ } from "./chunk-H5XKBPKK.js";
11
11
  import {
12
12
  SETTING_CARD_OPEN_ATTR,
13
13
  actionsStyles,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-3DO5AJCG.js";
18
18
  import {
19
19
  Icon
20
- } from "./chunk-A7OQBAR7.js";
20
+ } from "./chunk-E4GTZ26X.js";
21
21
  import {
22
22
  Button
23
23
  } from "./chunk-K6LNHHSH.js";
@@ -165,4 +165,4 @@ SettingCard.displayName = "SettingCard";
165
165
  export {
166
166
  SettingCard
167
167
  };
168
- //# sourceMappingURL=chunk-GHJ2FIJO.js.map
168
+ //# sourceMappingURL=chunk-4A7PSQB5.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-YMGHTZA6.js";
4
4
  import {
5
5
  MenubarItemView
6
- } from "./chunk-RPKWTFJ2.js";
6
+ } from "./chunk-7PUSFB3T.js";
7
7
  import {
8
8
  rem
9
9
  } from "./chunk-YKCAJ2TN.js";
@@ -87,4 +87,4 @@ var MenubarToolbar = ({
87
87
  export {
88
88
  MenubarToolbar
89
89
  };
90
- //# sourceMappingURL=chunk-YF3VD2KD.js.map
90
+ //# sourceMappingURL=chunk-4CBM7JNK.js.map
@@ -8,13 +8,13 @@ import {
8
8
  metaShape,
9
9
  rowStyles,
10
10
  useRowShell
11
- } from "./chunk-XLQYOBHP.js";
11
+ } from "./chunk-NFTFP6WO.js";
12
12
  import {
13
13
  ListCardActions,
14
14
  ListCardCaption,
15
15
  ListCardMeta,
16
16
  ListCardTail
17
- } from "./chunk-KRA75CKC.js";
17
+ } from "./chunk-Z3L2EGXW.js";
18
18
  import {
19
19
  useDisclosure
20
20
  } from "./chunk-2JCRNWHE.js";
@@ -23,7 +23,7 @@ import {
23
23
  } from "./chunk-K4EKTMTC.js";
24
24
  import {
25
25
  cellRailsTemplate
26
- } from "./chunk-XTDJ2D5A.js";
26
+ } from "./chunk-NRKAJHBB.js";
27
27
  import {
28
28
  ListCardCells,
29
29
  cellTracks,
@@ -179,4 +179,4 @@ function BaseListCard(props) {
179
179
  export {
180
180
  BaseListCard
181
181
  };
182
- //# sourceMappingURL=chunk-L3APNYI5.js.map
182
+ //# sourceMappingURL=chunk-56QYSVLI.js.map
@@ -0,0 +1,127 @@
1
+ import {
2
+ rem,
3
+ rems
4
+ } from "./chunk-YKCAJ2TN.js";
5
+
6
+ // src/tokens/density-overrides.ts
7
+ import { chipClasses } from "@mui/material/Chip/index.js";
8
+ import { switchClasses } from "@mui/material/Switch/index.js";
9
+ var iconButtonRootPadding = ({ theme }) => ({ padding: rem(theme, 8) });
10
+ var iconButtonSmallPadding = ({ theme }) => ({ padding: rem(theme, 5) });
11
+ var iconButtonLargePadding = ({ theme }) => ({ padding: rem(theme, 12) });
12
+ function iconButtonDensityOverrides() {
13
+ return {
14
+ MuiIconButton: {
15
+ styleOverrides: {
16
+ root: iconButtonRootPadding,
17
+ sizeSmall: iconButtonSmallPadding,
18
+ sizeLarge: iconButtonLargePadding
19
+ }
20
+ }
21
+ };
22
+ }
23
+ var CHIP_OUTLINED_LABEL_PADDING = { medium: 11, small: 7 };
24
+ var chipRootHeight = ({
25
+ theme,
26
+ ownerState
27
+ }) => {
28
+ const style = { height: rem(theme, 32) };
29
+ if (ownerState?.variant === "outlined") {
30
+ const px = CHIP_OUTLINED_LABEL_PADDING[ownerState.size === "small" ? "small" : "medium"];
31
+ style[`& .${chipClasses.label}`] = { paddingLeft: rem(theme, px), paddingRight: rem(theme, px) };
32
+ }
33
+ return style;
34
+ };
35
+ var chipSmallHeight = ({ theme }) => ({ height: rem(theme, 24) });
36
+ var chipLabelPadding = ({ theme }) => ({
37
+ paddingLeft: rem(theme, 12),
38
+ paddingRight: rem(theme, 12)
39
+ });
40
+ var chipLabelSmallPadding = ({ theme }) => ({
41
+ paddingLeft: rem(theme, 8),
42
+ paddingRight: rem(theme, 8)
43
+ });
44
+ function chipDensityOverrides() {
45
+ return {
46
+ MuiChip: {
47
+ styleOverrides: {
48
+ root: chipRootHeight,
49
+ sizeSmall: chipSmallHeight,
50
+ label: chipLabelPadding,
51
+ labelSmall: chipLabelSmallPadding
52
+ }
53
+ }
54
+ };
55
+ }
56
+ var checkboxRadioRootPadding = ({ theme }) => ({ padding: rem(theme, 9) });
57
+ function checkboxRadioDensityOverrides() {
58
+ return {
59
+ MuiCheckbox: { styleOverrides: { root: checkboxRadioRootPadding } },
60
+ MuiRadio: { styleOverrides: { root: checkboxRadioRootPadding } }
61
+ };
62
+ }
63
+ var switchRootGeometry = ({ theme }) => ({
64
+ width: rems(theme, 34 + 12 * 2),
65
+ height: rems(theme, 14 + 12 * 2),
66
+ padding: rem(theme, 12)
67
+ });
68
+ var switchSwitchBasePadding = ({ theme }) => ({
69
+ padding: rem(theme, 9),
70
+ // FUT-2767 (adversarial-review fix) — `SwitchSwitchBase`'s OWN base style
71
+ // (`Switch.js`, medium) bakes in `&.Mui-checked { transform:
72
+ // translateX(20px) }`, a bare literal never run through `pxToRem` — at
73
+ // `density: 'compact'` the track/padding/thumb above all shrink ×0.9 but
74
+ // this offset stayed at a full 20px, so the checked thumb overshot the now-
75
+ // smaller track. Composed onto the SAME generated class as that base style,
76
+ // AFTER it (`createStyled` composes `styleThemeOverrides` after a slot's
77
+ // own base/variants — see the module doc comment), so this nested rule
78
+ // wins at the SAME (two-class, `.<hash>.Mui-checked`) specificity, the same
79
+ // mechanism this function's own `padding` line already relies on.
80
+ [`&.${switchClasses.checked}`]: { transform: `translateX(${rem(theme, 20)})` }
81
+ });
82
+ var switchThumbSize = ({ theme }) => ({
83
+ width: rem(theme, 20),
84
+ height: rem(theme, 20)
85
+ });
86
+ var switchSizeSmall = ({ theme }) => ({
87
+ width: rem(theme, 40),
88
+ height: rem(theme, 24),
89
+ padding: rem(theme, 7),
90
+ // Higher (two-class) specificity than the flat `switchBase`/`thumb`
91
+ // overrides above, inserted as part of THIS SAME generated class — see the
92
+ // module doc comment for why a flat override cannot reach these at
93
+ // `size="small"` on its own.
94
+ [`& .${switchClasses.switchBase}`]: {
95
+ padding: rem(theme, 4),
96
+ // Same overshoot as medium's, at `size="small"`'s OWN literal
97
+ // (`SwitchRoot`'s baked-in `size: 'small'` variant, `Switch.js`:
98
+ // `translateX(16px)`). Nested one level deeper so the compiled selector
99
+ // is `.<root-hash> .MuiSwitch-switchBase.Mui-checked` — the same THREE-
100
+ // class descendant compound MUI's own baked-in small variant uses for
101
+ // this rule, composed after it in the same generated class, so it wins
102
+ // at matching specificity the same way the sibling `padding: rem(theme,
103
+ // 4)` line above already does.
104
+ [`&.${switchClasses.checked}`]: { transform: `translateX(${rem(theme, 16)})` }
105
+ },
106
+ [`& .${switchClasses.thumb}`]: { width: rem(theme, 16), height: rem(theme, 16) }
107
+ });
108
+ function switchDensityOverrides() {
109
+ return {
110
+ MuiSwitch: {
111
+ styleOverrides: {
112
+ root: switchRootGeometry,
113
+ switchBase: switchSwitchBasePadding,
114
+ thumb: switchThumbSize,
115
+ sizeSmall: switchSizeSmall
116
+ }
117
+ }
118
+ };
119
+ }
120
+
121
+ export {
122
+ iconButtonDensityOverrides,
123
+ chipDensityOverrides,
124
+ checkboxRadioDensityOverrides,
125
+ switchDensityOverrides
126
+ };
127
+ //# sourceMappingURL=chunk-5D52CMNX.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/tokens/density-overrides.ts"],"sourcesContent":["import { chipClasses } from '@mui/material/Chip/index.js';\nimport { switchClasses } from '@mui/material/Switch/index.js';\nimport type { Components, CSSObject, Theme } from '@mui/material/styles/index.js';\n\nimport { rem, rems } from './relative';\n\n/** The `ownerState` fields `MuiChip`'s two styled slots (root, label) both receive. */\ninterface ChipOwnerStateForOverrides {\n variant?: 'filled' | 'outlined';\n size?: 'small' | 'medium';\n}\n\n/**\n * ICONBUTTON / CHIP GEOMETRY, DENSITY-AWARE (FUT-2766).\n *\n * Both are MUI's own components, unwrapped: `@12-apps/ui` has no\n * `components/*` subpath for `IconButton`, and its `Chip` wrapper\n * (`components/data-display/Chip`) hands the drawing to `MuiChip` and adds\n * only hover/selection/transition `sx` — no geometry of its own (unlike\n * `Button`, which already draws every dimension through `rem()`,\n * `components/form/Button/Button.styles.ts`). So both draw MUI's OWN fixed-px\n * padding/height, verified against the installed `@mui/material@6.5.0` source:\n *\n * - `IconButton` (`node_modules/@mui/material/IconButton/IconButton.js`):\n * `padding: 8` on the root (medium, the default), `padding: 5` at\n * `size=\"small\"`, `padding: 12` at `size=\"large\"`. The icon's own `fontSize`\n * is already relative (`pxToRem(18/24/28)`) — only `padding` was the gap.\n * - `Chip` (`node_modules/@mui/material/Chip/Chip.js`): `height: 32` on the\n * root (medium, the default), `height: 24` at `size=\"small\"`. The label's\n * own side padding is a SEPARATE slot (`name: 'MuiChip', slot: 'Label'`,\n * override key `label`/`labelSmall`) at `paddingLeft`/`paddingRight: 12`\n * default, `8` at `size=\"small\"` — restated in this package's own\n * `Chip.metrics.ts` (`CHIP_SIZES`), which both renderers already read.\n *\n * Neither dimension moved when `theme.typography.fontSize` changed (they are\n * not written through `pxToRem`), so at `density: 'compact'` an\n * `IconButton`/`Chip` next to a now-smaller `Button` looked unchanged — the\n * visual regression FUT-2764 exists to fix. `rem(theme, px)` is the same\n * helper `Button.styles.ts` already uses, so `padding`/`height` move exactly\n * as far as `theme.typography.fontSize`'s coefficient does, and are\n * geometry-neutral at `density: 'normal'`: `rem(theme, 8)` at the unchanged\n * `fontSize: 14` renders to the same computed px as the literal `8` it\n * replaces.\n *\n * **The OUTLINED chip's own label padding (`11`/`7`, one px tighter than\n * filled's `12`/`8`) is a SEPARATE number this file must not clobber** — a\n * bug an earlier revision of this file had (a `styleOverrides.label`/\n * `labelSmall` of `12`/`8` unconditionally wins for EVERY variant, because\n * `ChipLabel`'s own `overridesResolver` (`Chip.js`) returns\n * `[styles.label, styles[label${size}]]` with no variant check at all, and\n * `@mui/system`'s `createStyled` composes `styleThemeOverrides` AFTER the\n * slot's own base styles/variants — so a theme `styleOverrides.label` always\n * outranks `ChipLabel`'s own baked-in `{ props: { variant: 'outlined' },\n * style: { paddingLeft: 11, ... } }`, at ANY density, not just a scaled one).\n * Fixed by putting the outlined fix on the ROOT slot instead, as a nested\n * `.MuiChip-label` selector inside `styleOverrides.root` itself, keyed on\n * `ownerState.variant`/`.size` — proven correct two ways: (1) a probe render\n * confirmed the naive `components.MuiChip.variants` route CANNOT reach the\n * label slot at all — `createStyled`'s `skipVariantsResolver` defaults to\n * `true` for every slot but `'Root'`, so a theme-level `variants` entry is\n * simply never evaluated for `ChipLabel`, proven by rendering an outlined\n * Chip against a `components.MuiChip.variants` entry set to an absurd\n * `999px` and reading `.MuiChip-label`'s OWN computed style: still `11px`,\n * untouched — while the SAME entry DOES leak onto `.MuiChip-root` (`999px`),\n * confirming theme `variants` is a ROOT-slot-only mechanism for this\n * component; (2) a nested `.MuiChip-label` selector written from the ROOT\n * slot is a HIGHER-specificity rule (two classes, `0,2,0`) than the label's\n * own single-class rule (`0,1,0`), so it wins regardless of source order —\n * the same technique `ChipRoot`'s OWN style already uses for its avatar/\n * icon/delete-icon sub-parts (`& .${chipClasses.avatar}`, etc., in\n * `Chip.js`), and read through the SAME `chipClasses` MUI's own `Chip.js`\n * generates the real DOM class from, not a hand-typed copy of it.\n *\n * **That same higher specificity also outranks a HOST's own theming.** A\n * host writing `theme.components.MuiChip.styleOverrides.label` for its own\n * reasons (`0,1,0`) does not win against the outlined rule here (`0,2,0`) —\n * not a bug specific to this file, `ChipLabel`'s OWN baked-in outlined\n * variant already outranked a plain `styleOverrides.label` the same way,\n * before this file existed. A host that needs to change OUTLINED label\n * padding specifically cannot do it through `styleOverrides.label`/\n * `labelSmall` at all; it reaches it through `sx` (a per-instance override,\n * highest specificity of all) or its OWN `MuiChip.styleOverrides.root`\n * function written out in full — `mergeMuiComponents` replaces `root`\n * WHOLESALE when both sides set it (see `./density.ts`'s own doc comment),\n * so a host adding to it must restate `chipRootHeight`'s own height logic\n * alongside its outlined-label change, not merely add a sibling key.\n *\n * The avatar/icon/delete-icon sub-slots (margins, sizes) and IconButton's\n * `edge=\"start\"`/`\"end\"` negative margins are DELIBERATELY untouched by this\n * file — real override keys exist, but none is in the ticket's Done-when nor\n * exercised by a call site this initiative is chasing, so they stay MUI's\n * own literals at every density (including `compact`/`comfortable` — they do\n * NOT scale here; a future ticket that needs them scaled adds its own\n * override, the way `field-height.ts`'s siblings each own one slot).\n *\n * A host that adopts `iconButtonDensityOverrides`/`chipDensityOverrides`\n * standalone (the `@12-apps/ui/tokens` export, no density channel involved)\n * sees the SAME scaling from its own `typography.fontSize` alone — `rem()`\n * only ever reads that one theme number, so a theme with a non-default\n * `fontSize` (set directly, with no `density` in the picture at all) moves\n * these numbers exactly as it moves everything else written through `rem()`.\n *\n * Each slot below is a MODULE-LEVEL function, not a closure built fresh inside\n * `iconButtonDensityOverrides`/`chipDensityOverrides` — the same reason\n * `field-height.ts`'s `restingEdge` is one: two themes built from the same\n * options (the `muiThemeOptionsFrom` and `densityThemeOptions` paths, in\n * particular) must compare equal, and a fresh arrow function per call would\n * make them differ on nothing but identity.\n */\n\nconst iconButtonRootPadding = ({ theme }: { theme: Theme }): CSSObject => ({ padding: rem(theme, 8) });\nconst iconButtonSmallPadding = ({ theme }: { theme: Theme }): CSSObject => ({ padding: rem(theme, 5) });\nconst iconButtonLargePadding = ({ theme }: { theme: Theme }): CSSObject => ({ padding: rem(theme, 12) });\n\n/** `MuiIconButton`'s own padding, at every size MUI has. */\nexport function iconButtonDensityOverrides(): Components<Theme> {\n return {\n MuiIconButton: {\n styleOverrides: {\n root: iconButtonRootPadding,\n sizeSmall: iconButtonSmallPadding,\n sizeLarge: iconButtonLargePadding,\n },\n },\n };\n}\n\n/** MUI's own outlined-label paddings (`ChipLabel`'s baked-in `variants`, `Chip.js`). */\nconst CHIP_OUTLINED_LABEL_PADDING = { medium: 11, small: 7 } as const;\n\nconst chipRootHeight = ({\n theme,\n ownerState,\n}: {\n theme: Theme;\n ownerState?: ChipOwnerStateForOverrides;\n}): CSSObject => {\n const style: CSSObject = { height: rem(theme, 32) };\n if (ownerState?.variant === 'outlined') {\n const px = CHIP_OUTLINED_LABEL_PADDING[ownerState.size === 'small' ? 'small' : 'medium'];\n // Higher CSS specificity than `.MuiChip-label`'s own single-class rule\n // (two classes vs one) — wins over `chipLabelPadding`/`chipLabelSmallPadding`\n // below regardless of stylesheet insertion order. See the module doc\n // comment for why this must live here and not on the label slot itself.\n // `chipClasses.label`, not a hand-typed `.MuiChip-label` string — the same\n // module `Chip.js`'s own root style reads for its avatar/icon/delete-icon\n // selectors, so this tracks whatever `Chip.js` itself puts on the label\n // element rather than a separately-maintained copy of it. A host that\n // calls `ClassNameGenerator.configure` before any `MuiChip` module loads\n // renames the real class; a literal string would silently stop matching\n // it, `chipClasses.label` cannot.\n style[`& .${chipClasses.label}`] = { paddingLeft: rem(theme, px), paddingRight: rem(theme, px) };\n }\n return style;\n};\nconst chipSmallHeight = ({ theme }: { theme: Theme }): CSSObject => ({ height: rem(theme, 24) });\nconst chipLabelPadding = ({ theme }: { theme: Theme }): CSSObject => ({\n paddingLeft: rem(theme, 12),\n paddingRight: rem(theme, 12),\n});\nconst chipLabelSmallPadding = ({ theme }: { theme: Theme }): CSSObject => ({\n paddingLeft: rem(theme, 8),\n paddingRight: rem(theme, 8),\n});\n\n/** `MuiChip`'s own height (root) and label side padding (label), at both sizes MUI has. */\nexport function chipDensityOverrides(): Components<Theme> {\n return {\n MuiChip: {\n styleOverrides: {\n root: chipRootHeight,\n sizeSmall: chipSmallHeight,\n label: chipLabelPadding,\n labelSmall: chipLabelSmallPadding,\n },\n },\n };\n}\n\n/**\n * CHECKBOX / RADIO / SWITCH GEOMETRY, DENSITY-AWARE (FUT-2767).\n *\n * `Checkbox`/`Radio`/`Switch` are MUI's own components, unwrapped — but\n * **only two of the three `@12-apps/ui` wrappers actually forward their\n * geometry to MUI**, corrected here after an earlier revision of this doc\n * comment claimed all three did.\n *\n * - `Checkbox.tsx`'s `StyledCheckbox` and `RadioGroup.variants.tsx`'s\n * `DefaultRadios` (the ONLY variant rendering a raw `<Radio>` — `cards`/\n * `buttons`/`segments` draw custom controls, outside this ticket) set NO\n * `padding` of their own, so `checkboxRadioDensityOverrides()` reaches\n * both directly — confirmed by a real render, same computed padding as\n * raw `MuiCheckbox`/`MuiRadio` at both densities\n * (`density-overrides.test.stories.tsx`'s `ui-checkbox`/`ui-radio-group`).\n * - `Switch.styles.ts`'s `switchSx` is DIFFERENT: it draws root/switchBase/\n * thumb geometry itself, per instance, from its own `SWITCH_SIZES` table\n * (`Switch.metrics.ts`), every number already through `rem(theme, px)`.\n * `Switch.parts.tsx`'s `StyledSwitch = styled(MuiSwitch, {...})(...)`\n * composes these as an OUTER wrapper class whose nested `& .MuiSwitch-\n * switchBase`/`& .MuiSwitch-thumb` selectors are a TWO-class compound —\n * higher specificity than this file's `MuiSwitch.styleOverrides.\n * switchBase`/`thumb`, which compose onto a single-class generated class.\n * `switchDensityOverrides()` therefore has **NO effect on `@12-apps/ui`'s\n * own `<Switch>`** — it only reaches a raw `@mui/material/Switch` consumer\n * (a host's own `Table.tsx` density-toggle column, say). Not a gap:\n * `switchSx` already reacts to `theme.typography.fontSize` on its own —\n * including the CHECKED thumb's own travel distance, computed as\n * `rem(theme, width - thumbSize - padding * 2)` from the SAME per-instance\n * geometry, so it moves consistently with no help from this file.\n * Confirmed by measurement, both sizes, both states, both densities\n * (`ui-switch-*` cases); documented at `Switch.md`'s \"Density\" section.\n *\n * **The ticket's open question — does a `MuiSwitchBase` theme override reach\n * `Checkbox`/`Radio` at all? — is NO, verified two ways.** `Checkbox`/`Radio`\n * both render through `internal/SwitchBase.js`'s `SwitchBaseRoot`, which is\n * `styled(ButtonBase, { name: 'MuiSwitchBase' })({ padding: 9, ... })` — with\n * NO `slot` key. `@mui/system`'s `createStyled.js` computes\n * `overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(slot))`,\n * and `defaultOverridesResolver` (`if (!slot) return null`) returns `null`\n * for an absent slot; the styled call itself then only pushes its\n * `styleThemeOverrides` expression `if (componentName && overridesResolver)`\n * — `null` is falsy, so for THIS styled call `theme.components.MuiSwitchBase\n * .styleOverrides` is never read at all. (`variants` is a SEPARATE check,\n * gated on `skipVariantsResolver` rather than `overridesResolver`, which is\n * why the ticket's own two-part specificity proof for Chip's label — probing\n * with `variants` — does not transfer here; `styleOverrides` is what dies.)\n * A render-level probe confirms it: a theme with `components.MuiSwitchBase\n * .styleOverrides.root = { padding: '999px' }`, rendering `<Switch />`,\n * `<Checkbox />` and `<Radio />` through it, leaves EVERY ONE of `.MuiSwitch-\n * switchBase`, `.MuiCheckbox-root` and `.MuiRadio-root` at their unthemed\n * padding (`9px`/`4px` — see below), never `999px`. The Decision's own\n * suggested `MuiSwitchBase` route is therefore the ticket's documented\n * fallback in disguise: this file skips straight to duplicating the override\n * under `MuiCheckbox` and `MuiRadio`, each independently confirmed LIVE by\n * the same probe (`components.MuiCheckbox.styleOverrides.root.padding` DOES\n * reach `.MuiCheckbox-root`, and the same for `MuiRadio`).\n *\n * - `Checkbox`/`Radio` (`internal/SwitchBase.js`, `Checkbox.js`, `Radio.js`):\n * `padding: 9` — constant across `size=\"small\"`/`\"medium\"` today (neither\n * `CheckboxRoot` nor `RadioRoot` carries a size-conditional padding rule),\n * so ONE `root` override, no `sizeSmall`/`sizeMedium` split, covers both\n * sizes without disturbing the glyph-driven size difference FUT-2585 left\n * alone.\n * - `Switch` (`Switch.js`): root (the track) `width: 34+12*2`, `height:\n * 14+12*2`, `padding: 12` (medium); `switchBase` (the thumb's absolutely-\n * positioned wrapper) — its OWN literal is NOT the `12` the ticket's\n * Decision sketch names (that `12` is `SwitchRoot`'s own padding, a\n * DIFFERENT slot); `switchBase` inherits `internal/SwitchBase.js`'s generic\n * `padding: 9` unmodified at medium (`SwitchSwitchBase`'s own styles never\n * set `padding`), confirmed by the same render probe with NO theme\n * override at all (`.MuiSwitch-switchBase` computed padding: `9px`). This\n * file overrides `MuiSwitch.styleOverrides.switchBase` (a LIVE key —\n * `SwitchSwitchBase = styled(SwitchBase, { name: 'MuiSwitch', slot:\n * 'SwitchBase', ... })` DOES pass a `slot`) with `rem(theme, 9)`, the\n * MEASURED default, not the ticket's `12` — using `12` here would move\n * today's real 9px to 12px at `density: 'normal'`, failing the Done-when's\n * own pixel-identical requirement, so the number is corrected against the\n * probe rather than the sketch. `thumb`: `20×20`, unconditional.\n * - `Switch` `size=\"small\"` (`:82-100`, a `variants` entry on `SwitchRoot`\n * itself): root `width: 40`, `height: 24`, `padding: 7`; a NESTED `&\n * .${switchClasses.switchBase}` selector sets `padding: 4` (not 9); a\n * NESTED `& .${switchClasses.thumb}` selector sets `20×20` down to\n * `16×16`. Both nested rules are baked into `SwitchRoot`'s OWN generated\n * class at TWO-class specificity (the size-small instance's unique class,\n * plus `.MuiSwitch-switchBase`/`.MuiSwitch-thumb`) — exactly the Chip\n * outlined-label shape this file already has above, and the SAME failure\n * mode Lesson 1 warns about: a FLAT `styleOverrides.switchBase`/`thumb`\n * (one class) cannot out-specificity it, so at `size=\"small\"` it would\n * silently keep rendering MUI's unthemed `4px`/`16×16` at every density,\n * the click target and thumb staying full-size while the track around them\n * shrank. Fixed the same way: `sizeSmall`'s OWN nested `& .${switchClasses\n * .switchBase}` / `& .${switchClasses.thumb}` rules, read through\n * `switchClasses` (not a hand-typed selector string) for the same\n * `ClassNameGenerator.configure` reason `chipClasses` is above, inserted\n * as part of the SAME `sizeSmall` override object so they land AFTER\n * `SwitchRoot`'s own baked-in small variant in the generated class's CSS\n * text (later wins at matching two-class specificity) rather than trying\n * to out-specificity it from a different slot.\n *\n * **The checked thumb's own travel distance is a FOURTH literal, found only\n * on adversarial review of the PR this doc comment first shipped in.**\n * `SwitchSwitchBase`'s base style bakes in `&.Mui-checked { transform:\n * translateX(20px) }` (medium), and `SwitchRoot`'s `size: 'small'` variant\n * nests the same at `16px` — both bare, never run through `pxToRem`, so at\n * `density: 'compact'` the checked thumb kept travelling the FULL, unscaled\n * distance while the track around it shrank ×0.9 — a visible overshoot.\n * `switchSwitchBasePadding`/`switchSizeSmall` each now carry their own\n * `&.${switchClasses.checked}` rule (`translateX(rem(theme, 20))`/`rem(theme,\n * 16)`), composed onto the SAME generated class, in the SAME position\n * `padding` already occupies — so it wins by the identical mechanism, not a\n * new one. Proven at the pixel level, both sizes/densities: `switch-md-\n * checked`/`switch-sm-checked` measure the thumb's final position against\n * the track's own edge, not just the transform string.\n *\n * At `density: 'normal'` every number above computes back to the literal it\n * replaces (`rem(theme, 9)` is `0.5625rem`, `9px` at the 16px root — no\n * visible change), the same geometry-neutral guarantee `iconButtonDensity\n * Overrides`/`chipDensityOverrides` give above. The same non-default-\n * `fontSize` caveat those two give applies here unchanged: `rem()` only ever\n * reads `theme.typography.fontSize`, so a host adopting\n * `checkboxRadioDensityOverrides`/`switchDensityOverrides` standalone moves\n * every number here by that one coefficient, same as everything else `rem()`\n * touches.\n */\n\nconst checkboxRadioRootPadding = ({ theme }: { theme: Theme }): CSSObject => ({ padding: rem(theme, 9) });\n\n/**\n * `MuiCheckbox`/`MuiRadio`'s own padding — duplicated under both component\n * keys, the ticket's own documented fallback, since `MuiSwitchBase` cannot\n * reach either (see the module doc comment above). One module-level function\n * shared by both keys, and by `checkboxRadioDensityOverrides()`'s own two\n * calls across the two theme-build paths, for the same identity reason the\n * rest of this file's slots are module-level.\n */\nexport function checkboxRadioDensityOverrides(): Components<Theme> {\n return {\n MuiCheckbox: { styleOverrides: { root: checkboxRadioRootPadding } },\n MuiRadio: { styleOverrides: { root: checkboxRadioRootPadding } },\n };\n}\n\nconst switchRootGeometry = ({ theme }: { theme: Theme }): CSSObject => ({\n width: rems(theme, 34 + 12 * 2),\n height: rems(theme, 14 + 12 * 2),\n padding: rem(theme, 12),\n});\nconst switchSwitchBasePadding = ({ theme }: { theme: Theme }): CSSObject => ({\n padding: rem(theme, 9),\n // FUT-2767 (adversarial-review fix) — `SwitchSwitchBase`'s OWN base style\n // (`Switch.js`, medium) bakes in `&.Mui-checked { transform:\n // translateX(20px) }`, a bare literal never run through `pxToRem` — at\n // `density: 'compact'` the track/padding/thumb above all shrink ×0.9 but\n // this offset stayed at a full 20px, so the checked thumb overshot the now-\n // smaller track. Composed onto the SAME generated class as that base style,\n // AFTER it (`createStyled` composes `styleThemeOverrides` after a slot's\n // own base/variants — see the module doc comment), so this nested rule\n // wins at the SAME (two-class, `.<hash>.Mui-checked`) specificity, the same\n // mechanism this function's own `padding` line already relies on.\n [`&.${switchClasses.checked}`]: { transform: `translateX(${rem(theme, 20)})` },\n});\nconst switchThumbSize = ({ theme }: { theme: Theme }): CSSObject => ({\n width: rem(theme, 20),\n height: rem(theme, 20),\n});\nconst switchSizeSmall = ({ theme }: { theme: Theme }): CSSObject => ({\n width: rem(theme, 40),\n height: rem(theme, 24),\n padding: rem(theme, 7),\n // Higher (two-class) specificity than the flat `switchBase`/`thumb`\n // overrides above, inserted as part of THIS SAME generated class — see the\n // module doc comment for why a flat override cannot reach these at\n // `size=\"small\"` on its own.\n [`& .${switchClasses.switchBase}`]: {\n padding: rem(theme, 4),\n // Same overshoot as medium's, at `size=\"small\"`'s OWN literal\n // (`SwitchRoot`'s baked-in `size: 'small'` variant, `Switch.js`:\n // `translateX(16px)`). Nested one level deeper so the compiled selector\n // is `.<root-hash> .MuiSwitch-switchBase.Mui-checked` — the same THREE-\n // class descendant compound MUI's own baked-in small variant uses for\n // this rule, composed after it in the same generated class, so it wins\n // at matching specificity the same way the sibling `padding: rem(theme,\n // 4)` line above already does.\n [`&.${switchClasses.checked}`]: { transform: `translateX(${rem(theme, 16)})` },\n },\n [`& .${switchClasses.thumb}`]: { width: rem(theme, 16), height: rem(theme, 16) },\n});\n\n/**\n * `MuiSwitch`'s own track (root), thumb wrapper (switchBase) and thumb\n * (thumb) geometry, at both sizes MUI has.\n */\nexport function switchDensityOverrides(): Components<Theme> {\n return {\n MuiSwitch: {\n styleOverrides: {\n root: switchRootGeometry,\n switchBase: switchSwitchBasePadding,\n thumb: switchThumbSize,\n sizeSmall: switchSizeSmall,\n },\n },\n };\n}\n"],"mappings":";;;;;;AAAA,SAAS,mBAAmB;AAC5B,SAAS,qBAAqB;AA6G9B,IAAM,wBAAwB,CAAC,EAAE,MAAM,OAAoC,EAAE,SAAS,IAAI,OAAO,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;AAAA,EACA,CAAC,MAAM,cAAc,KAAK,EAAE,GAAG,EAAE,OAAO,IAAI,OAAO,EAAE,GAAG,QAAQ,IAAI,OAAO,EAAE,EAAE;AACjF;AAMO,SAAS,yBAA4C;AAC1D,SAAO;AAAA,IACL,WAAW;AAAA,MACT,gBAAgB;AAAA,QACd,MAAM;AAAA,QACN,YAAY;AAAA,QACZ,OAAO;AAAA,QACP,WAAW;AAAA,MACb;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  DisplayTab,
6
6
  SortTab
7
- } from "./chunk-Y4ET3NRC.js";
7
+ } from "./chunk-EKWH4LGM.js";
8
8
  import {
9
9
  ViewActions,
10
10
  ViewFooter,
@@ -265,4 +265,4 @@ function DataViewsDisplayPanel({
265
265
  export {
266
266
  DataViewsDisplayPanel
267
267
  };
268
- //# sourceMappingURL=chunk-5OS5AMC2.js.map
268
+ //# sourceMappingURL=chunk-5OX6KZIZ.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";
@@ -73,4 +73,4 @@ export {
73
73
  sizeStyles,
74
74
  barStyles
75
75
  };
76
- //# sourceMappingURL=chunk-PJVZY2SA.js.map
76
+ //# sourceMappingURL=chunk-6MN5KOVM.js.map
@@ -6,7 +6,7 @@ import {
6
6
  labelStyles,
7
7
  sizeStyles,
8
8
  textColor
9
- } from "./chunk-CSXK7LH7.js";
9
+ } from "./chunk-ST36ZSAN.js";
10
10
  import {
11
11
  withDefaults
12
12
  } from "./chunk-HPK33ACY.js";
@@ -145,4 +145,4 @@ Label.displayName = "Label";
145
145
  export {
146
146
  Label
147
147
  };
148
- //# sourceMappingURL=chunk-ITBUKGG3.js.map
148
+ //# sourceMappingURL=chunk-6VKHS2BB.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sizeStyles
3
- } from "./chunk-PJVZY2SA.js";
3
+ } from "./chunk-6MN5KOVM.js";
4
4
  import {
5
5
  sxRem
6
6
  } from "./chunk-YKCAJ2TN.js";
@@ -95,4 +95,4 @@ var MenubarItemView = ({
95
95
  export {
96
96
  MenubarItemView
97
97
  };
98
- //# sourceMappingURL=chunk-RPKWTFJ2.js.map
98
+ //# sourceMappingURL=chunk-7PUSFB3T.js.map
@@ -2,7 +2,7 @@ import {
2
2
  Box,
3
3
  CONTROL_RESET,
4
4
  focusRing
5
- } from "./chunk-HYEOKBFV.js";
5
+ } from "./chunk-LUPHXDEU.js";
6
6
  import {
7
7
  rem
8
8
  } from "./chunk-YKCAJ2TN.js";
@@ -59,4 +59,4 @@ function RaisedActionButton({
59
59
  export {
60
60
  RaisedActionButton
61
61
  };
62
- //# sourceMappingURL=chunk-6OLJ2RAT.js.map
62
+ //# sourceMappingURL=chunk-AA7QTFMB.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
  useSettingGroup
7
7
  } from "./chunk-XJQNSMGA.js";
@@ -44,4 +44,4 @@ SettingToggle.displayName = "SettingToggle";
44
44
  export {
45
45
  SettingToggle
46
46
  };
47
- //# sourceMappingURL=chunk-H7HEB4UC.js.map
47
+ //# sourceMappingURL=chunk-AEJ3FFNE.js.map
@@ -1,10 +1,12 @@
1
1
  import {
2
2
  accentFor
3
- } from "./chunk-FHWXRHMA.js";
3
+ } from "./chunk-QFJ3JXXP.js";
4
4
  import {
5
+ checkboxRadioDensityOverrides,
5
6
  chipDensityOverrides,
6
- iconButtonDensityOverrides
7
- } from "./chunk-532XOWZ5.js";
7
+ iconButtonDensityOverrides,
8
+ switchDensityOverrides
9
+ } from "./chunk-5D52CMNX.js";
8
10
  import {
9
11
  headingMetrics
10
12
  } from "./chunk-PT6TCWIW.js";
@@ -145,13 +147,15 @@ function muiThemeOptionsFrom(ui) {
145
147
  shape: { borderRadius: ui.radius.md },
146
148
  fieldRadius: ui.radius.field,
147
149
  fieldHeight: ui.fieldHeight,
148
- // Additive: children 3/4 (FUT-2767/2768) each add one more source here as
149
- // their own geometry overrides land — this PR (FUT-2766) adds IconButton's
150
- // and Chip's.
150
+ // Additive: child 4 (FUT-2768) adds one more source here as its own
151
+ // geometry overrides land — FUT-2766 added IconButton's and Chip's, this
152
+ // PR (FUT-2767) adds Checkbox/Radio's and Switch's.
151
153
  components: mergeMuiComponents(
152
154
  fieldOverrides(ui.radius.field, ui.fieldHeight),
153
155
  iconButtonDensityOverrides(),
154
- chipDensityOverrides()
156
+ chipDensityOverrides(),
157
+ checkboxRadioDensityOverrides(),
158
+ switchDensityOverrides()
155
159
  ),
156
160
  spacing: ui.spacingUnit,
157
161
  density: ui.density,
@@ -170,4 +174,4 @@ export {
170
174
  uiThemeFromMui,
171
175
  muiThemeOptionsFrom
172
176
  };
173
- //# sourceMappingURL=chunk-HDVEE4NQ.js.map
177
+ //# sourceMappingURL=chunk-BIDPJNCG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/provider/mui-bridge.ts"],"sourcesContent":["import type { PaletteColor, Theme, ThemeOptions } from '@mui/material/styles/index.js';\n\nimport { cssLengthToPx, cssTrackingToEm } from '../tokens/css-units';\nimport {\n checkboxRadioDensityOverrides,\n chipDensityOverrides,\n iconButtonDensityOverrides,\n switchDensityOverrides,\n} from '../tokens/density-overrides';\nimport { densityFontSize, resolveDensityFactor } from '../tokens/density';\nimport { resolveFieldHeight } from '../tokens/field-height.core';\nimport { fieldOverrides, mergeMuiComponents } from '../tokens/field-height';\nimport { fieldRadius } from '../tokens/field-radius';\nimport { accentFor } from '../tokens/scales';\nimport {\n FONT_WEIGHTS,\n TYPE_SIZES,\n WEB_FONT_FAMILY,\n WEB_MONOSPACE_FONT_FAMILY,\n type UiHeadingStep,\n type UiPaletteColor,\n type UiTheme,\n} from '../tokens/theme';\nimport { HEADING_LEVELS, headingMetrics, type HeadingLevel } from '../tokens/typography';\n\n/**\n * THE TWO DIRECTIONS BETWEEN MUI'S THEME AND OURS. Web only.\n *\n * `uiThemeFromMui` is how a web component — or a shared style resolver such\n * as `box-layout.ts` — reads the host's MUI theme in the neutral shape the\n * native renderer reads natively. `muiThemeOptionsFrom` is the reverse, for\n * a host that has a `UiTheme` and no MUI theme yet: `UiProvider` on the web is\n * a MUI `ThemeProvider` fed by it.\n *\n * Both are field-by-field on purpose. A spread would carry MUI's extra keys\n * across and the native side would silently depend on one.\n */\n\nconst slot = (color: PaletteColor): UiPaletteColor => ({\n main: color.main,\n light: color.light,\n dark: color.dark,\n contrastText: color.contrastText,\n});\n\nfunction headingSteps(theme: Theme): Record<HeadingLevel, UiHeadingStep> {\n return Object.fromEntries(\n HEADING_LEVELS.map((level) => {\n const metrics = headingMetrics(theme, level);\n return [\n level,\n {\n fontSize: cssLengthToPx(metrics.fontSize, 16),\n lineHeight: metrics.lineHeight,\n letterSpacing: cssTrackingToEm(metrics.letterSpacing),\n normalWeight: metrics.normalWeight,\n },\n ];\n }),\n ) as Record<HeadingLevel, UiHeadingStep>;\n}\n\n/** The host's MUI theme in the shape the native renderer reads. */\nexport function uiThemeFromMui(theme: Theme): UiTheme {\n const { palette } = theme;\n const unit = cssLengthToPx(theme.spacing(1), 8);\n const md = cssLengthToPx(theme.shape.borderRadius, 4);\n\n return {\n mode: palette.mode,\n palette: {\n mode: palette.mode,\n primary: slot(palette.primary),\n secondary: slot(palette.secondary),\n success: slot(palette.success),\n warning: slot(palette.warning),\n info: slot(palette.info),\n danger: slot(palette.error),\n neutral: accentFor(theme, 'neutral'),\n text: {\n primary: palette.text.primary,\n secondary: palette.text.secondary,\n disabled: palette.text.disabled,\n },\n background: { default: palette.background.default, paper: palette.background.paper },\n divider: palette.divider,\n action: {\n active: palette.action.active,\n hover: palette.action.hover,\n selected: palette.action.selected,\n disabled: palette.action.disabled,\n disabledBackground: palette.action.disabledBackground,\n focus: palette.action.focus,\n },\n grey: {\n 50: palette.grey[50],\n 100: palette.grey[100],\n 200: palette.grey[200],\n 300: palette.grey[300],\n 400: palette.grey[400],\n 500: palette.grey[500],\n 600: palette.grey[600],\n 700: palette.grey[700],\n 800: palette.grey[800],\n 900: palette.grey[900],\n },\n },\n spacing: (units: number) => units * unit,\n spacingUnit: unit,\n radius: { sm: md / 2, md, lg: md * 2, xl: md * 4, full: 9999, field: fieldRadius(theme) },\n fieldHeight: resolveFieldHeight(theme.fieldHeight),\n // A bare MUI theme (never built through `createUiTheme`/`muiThemeOptionsFrom`)\n // carries no `theme.density` — read back as `'normal'`, factor `1`.\n density: theme.density ?? resolveDensityFactor(),\n typography: {\n fontFamily: theme.typography.fontFamily ?? WEB_FONT_FAMILY,\n monospaceFontFamily: WEB_MONOSPACE_FONT_FAMILY,\n sizes: TYPE_SIZES,\n weights: FONT_WEIGHTS,\n heading: headingSteps(theme),\n },\n zIndex: {\n appBar: theme.zIndex.appBar,\n drawer: theme.zIndex.drawer,\n modal: theme.zIndex.modal,\n snackbar: theme.zIndex.snackbar,\n tooltip: theme.zIndex.tooltip,\n },\n };\n}\n\n/** A `UiTheme` as the options MUI's `createTheme` builds the same palette from. */\nexport function muiThemeOptionsFrom(ui: UiTheme): ThemeOptions {\n const { palette } = ui;\n return {\n palette: {\n mode: palette.mode,\n primary: { ...palette.primary },\n secondary: { ...palette.secondary },\n success: { ...palette.success },\n warning: { ...palette.warning },\n info: { ...palette.info },\n error: { ...palette.danger },\n text: { ...palette.text },\n background: { ...palette.background },\n divider: palette.divider,\n action: { ...palette.action },\n grey: { ...palette.grey },\n },\n shape: { borderRadius: ui.radius.md },\n fieldRadius: ui.radius.field,\n fieldHeight: ui.fieldHeight,\n // Additive: child 4 (FUT-2768) adds one more source here as its own\n // geometry overrides land — FUT-2766 added IconButton's and Chip's, this\n // PR (FUT-2767) adds Checkbox/Radio's and Switch's.\n components: mergeMuiComponents(\n fieldOverrides(ui.radius.field, ui.fieldHeight),\n iconButtonDensityOverrides(),\n chipDensityOverrides(),\n checkboxRadioDensityOverrides(),\n switchDensityOverrides(),\n ),\n spacing: ui.spacingUnit,\n density: ui.density,\n typography: {\n fontFamily: ui.typography.fontFamily ?? WEB_FONT_FAMILY,\n // MUI multiplies every `pxToRem` size by `fontSize / 14` — the lever a\n // density mode moves (`./tokens/relative.ts`). `htmlFontSize` stays\n // untouched: that is a reader's own zoom/accessibility setting, not this.\n fontSize: densityFontSize(ui.density.factor),\n },\n zIndex: { ...ui.zIndex },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCA,IAAM,OAAO,CAAC,WAAyC;AAAA,EACrD,MAAM,MAAM;AAAA,EACZ,OAAO,MAAM;AAAA,EACb,MAAM,MAAM;AAAA,EACZ,cAAc,MAAM;AACtB;AAEA,SAAS,aAAa,OAAmD;AACvE,SAAO,OAAO;AAAA,IACZ,eAAe,IAAI,CAAC,UAAU;AAC5B,YAAM,UAAU,eAAe,OAAO,KAAK;AAC3C,aAAO;AAAA,QACL;AAAA,QACA;AAAA,UACE,UAAU,cAAc,QAAQ,UAAU,EAAE;AAAA,UAC5C,YAAY,QAAQ;AAAA,UACpB,eAAe,gBAAgB,QAAQ,aAAa;AAAA,UACpD,cAAc,QAAQ;AAAA,QACxB;AAAA,MACF;AAAA,IACF,CAAC;AAAA,EACH;AACF;AAGO,SAAS,eAAe,OAAuB;AACpD,QAAM,EAAE,QAAQ,IAAI;AACpB,QAAM,OAAO,cAAc,MAAM,QAAQ,CAAC,GAAG,CAAC;AAC9C,QAAM,KAAK,cAAc,MAAM,MAAM,cAAc,CAAC;AAEpD,SAAO;AAAA,IACL,MAAM,QAAQ;AAAA,IACd,SAAS;AAAA,MACP,MAAM,QAAQ;AAAA,MACd,SAAS,KAAK,QAAQ,OAAO;AAAA,MAC7B,WAAW,KAAK,QAAQ,SAAS;AAAA,MACjC,SAA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AAqB;AAAA,MACrB,8BAA8B;AAAA,MAC9B,uBAAuB;AAAA,IACzB;AAAA,IACA,SAAS,GAAG;AAAA,IACZ,SAAS,GAAG;AAAA,IACZ,YAAY;AAAA,MACV,YAAY,GAAG,WAAW,cAAc;AAAA;AAAA;AAAA;AAAA,MAIxC,UAAU,gBAAgB,GAAG,QAAQ,MAAM;AAAA,IAC7C;AAAA,IACA,QAAQ,EAAE,GAAG,GAAG,OAAO;AAAA,EACzB;AACF;","names":[]}
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-4GGH6ZQ7.js";
4
4
  import {
5
5
  Box
6
- } from "./chunk-6HTCCWUM.js";
6
+ } from "./chunk-E32YPPF5.js";
7
7
 
8
8
  // src/components/layout/Stack/Stack.tsx
9
9
  import * as React from "react";
@@ -16,4 +16,4 @@ Stack.displayName = "Stack";
16
16
  export {
17
17
  Stack
18
18
  };
19
- //# sourceMappingURL=chunk-QGB3DOMV.js.map
19
+ //# sourceMappingURL=chunk-BU6TCB76.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-PL2AB5HJ.js";
4
4
  import {
5
5
  useDataViewsLayout
6
- } from "./chunk-LHHV6NXO.js";
6
+ } from "./chunk-RZPYKTOG.js";
7
7
 
8
8
  // src/components/data-display/DataViews/data-views-scope-tabs.tsx
9
9
  import { jsx } from "react/jsx-runtime";
@@ -34,4 +34,4 @@ function ScopeTabsSlot({
34
34
  export {
35
35
  ScopeTabsSlot
36
36
  };
37
- //# sourceMappingURL=chunk-UHGQ74E3.js.map
37
+ //# sourceMappingURL=chunk-BWURMQWZ.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SectionNavRail
3
- } from "./chunk-TCFBCTZD.js";
3
+ } from "./chunk-HC2AO3RT.js";
4
4
  import {
5
5
  SectionNavBar
6
- } from "./chunk-3WCUGTRH.js";
6
+ } from "./chunk-ZCEXSYAJ.js";
7
7
 
8
8
  // src/components/navigation/SectionNav/SectionNav.tsx
9
9
  import { jsx } from "react/jsx-runtime";
@@ -52,4 +52,4 @@ function SectionNav({
52
52
  export {
53
53
  SectionNav
54
54
  };
55
- //# sourceMappingURL=chunk-SENCNTMV.js.map
55
+ //# sourceMappingURL=chunk-BWXPO2SE.js.map
@@ -2,7 +2,7 @@ import {
2
2
  CarouselArrows,
3
3
  CarouselIndicators,
4
4
  CarouselThumbnails
5
- } from "./chunk-Q5J37WOE.js";
5
+ } from "./chunk-DWG5SEGW.js";
6
6
 
7
7
  // src/components/data-display/Carousel/Carousel.chrome.tsx
8
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -59,4 +59,4 @@ var CarouselChrome = ({
59
59
  export {
60
60
  CarouselChrome
61
61
  };
62
- //# sourceMappingURL=chunk-6ZWOVUNB.js.map
62
+ //# sourceMappingURL=chunk-CACBJ4CR.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
  Drawer,
10
10
  DrawerContent,
@@ -171,4 +171,4 @@ function SectionNavSheet({
171
171
  export {
172
172
  SectionNavSheet
173
173
  };
174
- //# sourceMappingURL=chunk-2OP2FYB3.js.map
174
+ //# sourceMappingURL=chunk-CJPP4OUK.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-HPK33ACY.js";
4
4
  import {
5
5
  accentFor
6
- } from "./chunk-FHWXRHMA.js";
6
+ } from "./chunk-QFJ3JXXP.js";
7
7
  import {
8
8
  muiSize
9
9
  } from "./chunk-7ZPUN7TV.js";
@@ -325,4 +325,4 @@ export {
325
325
  CarouselArrows,
326
326
  CarouselThumbnails
327
327
  };
328
- //# sourceMappingURL=chunk-Q5J37WOE.js.map
328
+ //# sourceMappingURL=chunk-DWG5SEGW.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-7V6ZRQYW.js";
5
5
  import {
6
6
  useUiTheme
7
- } from "./chunk-FTV5R2UZ.js";
7
+ } from "./chunk-I2STNAIQ.js";
8
8
  import {
9
9
  resolveTestId
10
10
  } from "./chunk-TYJR4GOF.js";
@@ -63,4 +63,4 @@ export {
63
63
  layoutToSx,
64
64
  Box
65
65
  };
66
- //# sourceMappingURL=chunk-6HTCCWUM.js.map
66
+ //# sourceMappingURL=chunk-E32YPPF5.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-RTSK5OZT.js";
10
10
  import {
11
11
  useUiTheme
12
- } from "./chunk-FTV5R2UZ.js";
12
+ } from "./chunk-I2STNAIQ.js";
13
13
  import {
14
14
  resolveTestId
15
15
  } from "./chunk-TYJR4GOF.js";
@@ -48,4 +48,4 @@ Icon.displayName = "Icon";
48
48
  export {
49
49
  Icon
50
50
  };
51
- //# sourceMappingURL=chunk-A7OQBAR7.js.map
51
+ //# sourceMappingURL=chunk-E4GTZ26X.js.map
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-YLGY3D52.js";
9
9
  import {
10
10
  useDataViewsLayout
11
- } from "./chunk-LHHV6NXO.js";
11
+ } from "./chunk-RZPYKTOG.js";
12
12
  import {
13
13
  useDataViewsCopy
14
14
  } from "./chunk-KHG57NAE.js";
@@ -246,4 +246,4 @@ export {
246
246
  SortTab,
247
247
  DisplayTab
248
248
  };
249
- //# sourceMappingURL=chunk-Y4ET3NRC.js.map
249
+ //# sourceMappingURL=chunk-EKWH4LGM.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-XZTRZ3HO.js";
4
4
  import {
5
5
  muiThemeOptionsFrom
6
- } from "./chunk-HDVEE4NQ.js";
6
+ } from "./chunk-BIDPJNCG.js";
7
7
  import {
8
8
  createUiTheme
9
9
  } from "./chunk-6WZUZHJM.js";
@@ -22,4 +22,4 @@ UiProvider.displayName = "UiProvider";
22
22
  export {
23
23
  UiProvider
24
24
  };
25
- //# sourceMappingURL=chunk-KNAWZM7F.js.map
25
+ //# sourceMappingURL=chunk-F56VOHFW.js.map
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-OZPLAOI4.js";
16
16
  import {
17
17
  Icon
18
- } from "./chunk-A7OQBAR7.js";
18
+ } from "./chunk-E4GTZ26X.js";
19
19
  import {
20
20
  Button
21
21
  } from "./chunk-K6LNHHSH.js";
@@ -137,4 +137,4 @@ export {
137
137
  PendingSpinner,
138
138
  LearnMore
139
139
  };
140
- //# sourceMappingURL=chunk-IXWIJCS3.js.map
140
+ //# sourceMappingURL=chunk-H5XKBPKK.js.map