@maggioli-design-system/magma 2.4.0 → 2.4.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 (362) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +13 -0
  3. package/dist/cjs/{floating-controller-BxER7sig.js → floating-controller-BiwDIKXd.js} +1 -1
  4. package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
  5. package/dist/cjs/mds-emoji.cjs.entry.js +35 -5
  6. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  7. package/dist/cjs/mds-input-switch_2.cjs.entry.js +1 -1
  8. package/dist/cjs/mds-modal.cjs.entry.js +1 -1
  9. package/dist/cjs/mds-pref-mode.cjs.entry.js +1 -1
  10. package/dist/cjs/mds-push-notification.cjs.entry.js +1 -1
  11. package/dist/cjs/mds-radial-menu.cjs.entry.js +2 -2
  12. package/dist/cjs/mds-tab_2.cjs.entry.js +1 -1
  13. package/dist/cjs/mds-toast.cjs.entry.js +1 -1
  14. package/dist/cjs/mds-tooltip.cjs.entry.js +2 -2
  15. package/dist/cjs/mds-tree-item.cjs.entry.js +2 -2
  16. package/dist/cjs/{unit-Cm341q1R.js → unit-JdmHaLT3.js} +1 -1
  17. package/dist/collection/common/unit.js +1 -1
  18. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  19. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  20. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  21. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  22. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  23. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  24. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  25. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  26. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  27. package/dist/collection/components/mds-author/documentation.json +1 -1
  28. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  29. package/dist/collection/components/mds-avatar/documentation.json +1 -1
  30. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  31. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  32. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  33. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  34. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  35. package/dist/collection/components/mds-badge/documentation.json +1 -1
  36. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  37. package/dist/collection/components/mds-banner/documentation.json +1 -1
  38. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  39. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  40. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  41. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  42. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  43. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  44. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  45. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  46. package/dist/collection/components/mds-button/AGENTS.md +1 -1
  47. package/dist/collection/components/mds-button/documentation.json +1 -1
  48. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  49. package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
  50. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  51. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  52. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  53. package/dist/collection/components/mds-calendar/documentation.json +1 -1
  54. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  55. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  56. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  57. package/dist/collection/components/mds-card/documentation.json +1 -1
  58. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  59. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  60. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  61. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  62. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  63. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  64. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  65. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  66. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  67. package/dist/collection/components/mds-chip/documentation.json +1 -1
  68. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  69. package/dist/collection/components/mds-details/documentation.json +1 -1
  70. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  71. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  72. package/dist/collection/components/mds-emoji/AGENTS.md +2 -2
  73. package/dist/collection/components/mds-emoji/documentation.json +2 -2
  74. package/dist/collection/components/mds-emoji/mds-emoji.js +34 -4
  75. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  76. package/dist/collection/components/mds-entity/documentation.json +1 -1
  77. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  78. package/dist/collection/components/mds-file/documentation.json +1 -1
  79. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  80. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  81. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  82. package/dist/collection/components/mds-filter/documentation.json +1 -1
  83. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  84. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  85. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  86. package/dist/collection/components/mds-header/documentation.json +1 -1
  87. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  88. package/dist/collection/components/mds-header-bar/documentation.json +1 -1
  89. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  90. package/dist/collection/components/mds-help/documentation.json +1 -1
  91. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  92. package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
  93. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  94. package/dist/collection/components/mds-hr/documentation.json +1 -1
  95. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  96. package/dist/collection/components/mds-icon/documentation.json +1 -1
  97. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  98. package/dist/collection/components/mds-img/documentation.json +1 -1
  99. package/dist/collection/components/mds-input/AGENTS.md +1 -1
  100. package/dist/collection/components/mds-input/documentation.json +1 -1
  101. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  102. package/dist/collection/components/mds-input-date/documentation.json +1 -1
  103. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  104. package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
  105. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  106. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  107. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  108. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  109. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  110. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  111. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  112. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  113. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  114. package/dist/collection/components/mds-input-select/documentation.json +1 -1
  115. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  116. package/dist/collection/components/mds-input-switch/documentation.json +1 -1
  117. package/dist/collection/components/mds-input-switch/mds-input-switch.css +5 -3
  118. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  119. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  120. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  121. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  122. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  123. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  124. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  125. package/dist/collection/components/mds-keyboard/documentation.json +1 -1
  126. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  127. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  128. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  129. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  130. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  131. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  132. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  133. package/dist/collection/components/mds-label/documentation.json +1 -1
  134. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  135. package/dist/collection/components/mds-list/documentation.json +1 -1
  136. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  137. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  138. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  139. package/dist/collection/components/mds-mention/documentation.json +1 -1
  140. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  141. package/dist/collection/components/mds-modal/documentation.json +1 -1
  142. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  143. package/dist/collection/components/mds-note/documentation.json +1 -1
  144. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  145. package/dist/collection/components/mds-notification/documentation.json +1 -1
  146. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  147. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  148. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  149. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  150. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  151. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  152. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  153. package/dist/collection/components/mds-pref/documentation.json +1 -1
  154. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  155. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  156. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  157. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  158. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  159. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  160. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  161. package/dist/collection/components/mds-pref-language/documentation.json +1 -1
  162. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  163. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  164. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  165. package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
  166. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  167. package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
  168. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  169. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  170. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  171. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  172. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  173. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  174. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  175. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  176. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  177. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  178. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  179. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  180. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  181. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  182. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  183. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  184. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  185. package/dist/collection/components/mds-progress/documentation.json +1 -1
  186. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  187. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  188. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  189. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  190. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  191. package/dist/collection/components/mds-quote/documentation.json +1 -1
  192. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  193. package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
  194. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  195. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  196. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  197. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  198. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  199. package/dist/collection/components/mds-separator/documentation.json +1 -1
  200. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  201. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  202. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  203. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  204. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  205. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  206. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  207. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  208. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  209. package/dist/collection/components/mds-tab/documentation.json +1 -1
  210. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  211. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  212. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  213. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  214. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  215. package/dist/collection/components/mds-tab-item/documentation.json +1 -1
  216. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  217. package/dist/collection/components/mds-table/documentation.json +1 -1
  218. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  219. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  220. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  221. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  222. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  223. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  224. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  225. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  226. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  227. package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
  228. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  229. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  230. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  231. package/dist/collection/components/mds-text/documentation.json +1 -1
  232. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  233. package/dist/collection/components/mds-toast/documentation.json +1 -1
  234. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  235. package/dist/collection/components/mds-toast-region/documentation.json +1 -1
  236. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  237. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  238. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  239. package/dist/collection/components/mds-tree/documentation.json +1 -1
  240. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  241. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  242. package/dist/collection/components/mds-tree-item/mds-tree-item.css +8 -5
  243. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  244. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  245. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  246. package/dist/collection/components/mds-usage/documentation.json +1 -1
  247. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  248. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  249. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  250. package/dist/collection/components/mds-zero/documentation.json +1 -1
  251. package/dist/components/mds-button-dropdown.js +1 -1
  252. package/dist/components/mds-dropdown.js +1 -1
  253. package/dist/components/mds-emoji.js +3 -3
  254. package/dist/components/mds-header.js +1 -1
  255. package/dist/components/mds-help.js +1 -1
  256. package/dist/components/mds-horizontal-scroll.js +1 -1
  257. package/dist/components/mds-input-date-range.js +1 -1
  258. package/dist/components/mds-input-date.js +1 -1
  259. package/dist/components/mds-input-switch.js +1 -1
  260. package/dist/components/mds-input-upload.js +1 -1
  261. package/dist/components/mds-keyboard.js +1 -1
  262. package/dist/components/mds-modal.js +1 -1
  263. package/dist/components/mds-policy-ai.js +1 -1
  264. package/dist/components/mds-pref-animation.js +1 -1
  265. package/dist/components/mds-pref-consumption.js +1 -1
  266. package/dist/components/mds-pref-contrast.js +1 -1
  267. package/dist/components/mds-pref-language.js +1 -1
  268. package/dist/components/mds-pref-mode.js +1 -1
  269. package/dist/components/mds-pref-theme.js +1 -1
  270. package/dist/components/mds-push-notification.js +1 -1
  271. package/dist/components/mds-radial-menu-item.js +1 -1
  272. package/dist/components/mds-radial-menu.js +1 -1
  273. package/dist/components/mds-status-bar.js +1 -1
  274. package/dist/components/mds-tab.js +1 -1
  275. package/dist/components/mds-table-header.js +1 -1
  276. package/dist/components/mds-table-row.js +1 -1
  277. package/dist/components/mds-toast.js +1 -1
  278. package/dist/components/mds-tooltip.js +1 -1
  279. package/dist/components/mds-tree-item.js +1 -1
  280. package/dist/components/{p-CylHulxe.js → p-BHy4k3pJ.js} +1 -1
  281. package/dist/components/{p-2gaGDQwL.js → p-BLXRGNya.js} +1 -1
  282. package/dist/components/p-C2fyy4Mv.js +1 -0
  283. package/dist/components/p-CWk1SCJg.js +1 -0
  284. package/dist/components/{p-BjFCjSw6.js → p-CWwWCzma.js} +1 -1
  285. package/dist/components/{p-DGGk8PS_.js → p-ChrRK8N9.js} +1 -1
  286. package/dist/components/{p-wHQGpA62.js → p-Ea5ilDf6.js} +1 -1
  287. package/dist/components/{p-Dleapw-k.js → p-Ebefwvkw.js} +1 -1
  288. package/dist/documentation.json +2 -2
  289. package/dist/esm/{floating-controller-BV0E_Juq.js → floating-controller-CVVcyKew.js} +1 -1
  290. package/dist/esm/mds-dropdown.entry.js +2 -2
  291. package/dist/esm/mds-emoji.entry.js +35 -5
  292. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  293. package/dist/esm/mds-input-switch_2.entry.js +1 -1
  294. package/dist/esm/mds-modal.entry.js +1 -1
  295. package/dist/esm/mds-pref-mode.entry.js +1 -1
  296. package/dist/esm/mds-push-notification.entry.js +1 -1
  297. package/dist/esm/mds-radial-menu.entry.js +2 -2
  298. package/dist/esm/mds-tab_2.entry.js +1 -1
  299. package/dist/esm/mds-toast.entry.js +1 -1
  300. package/dist/esm/mds-tooltip.entry.js +2 -2
  301. package/dist/esm/mds-tree-item.entry.js +2 -2
  302. package/dist/esm/polyfills/core-js.js +0 -0
  303. package/dist/esm/polyfills/dom.js +0 -0
  304. package/dist/esm/polyfills/es5-html-element.js +0 -0
  305. package/dist/esm/polyfills/index.js +0 -0
  306. package/dist/esm/polyfills/system.js +0 -0
  307. package/dist/esm/{unit-D8eZRaSQ.js → unit-CWk1SCJg.js} +1 -1
  308. package/dist/esm-es5/{floating-controller-BV0E_Juq.js → floating-controller-CVVcyKew.js} +1 -1
  309. package/dist/esm-es5/mds-dropdown.entry.js +1 -1
  310. package/dist/esm-es5/mds-emoji.entry.js +271 -251
  311. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  312. package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
  313. package/dist/esm-es5/mds-modal.entry.js +1 -1
  314. package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
  315. package/dist/esm-es5/mds-push-notification.entry.js +1 -1
  316. package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
  317. package/dist/esm-es5/mds-tab_2.entry.js +1 -1
  318. package/dist/esm-es5/mds-toast.entry.js +1 -1
  319. package/dist/esm-es5/mds-tooltip.entry.js +1 -1
  320. package/dist/esm-es5/mds-tree-item.entry.js +1 -1
  321. package/dist/esm-es5/unit-CWk1SCJg.js +1 -0
  322. package/dist/hydrate/index.js +37 -7
  323. package/dist/hydrate/index.mjs +37 -7
  324. package/dist/magma-components/magma-components.esm.js +1 -1
  325. package/dist/magma-components/{p-b9e0b31d.entry.js → p-14ef1aec.entry.js} +1 -1
  326. package/dist/magma-components/{p-d0f257d9.system.entry.js → p-1d68fc4a.system.entry.js} +1 -1
  327. package/dist/magma-components/{p-1809e47d.system.entry.js → p-287d1253.system.entry.js} +51 -31
  328. package/dist/magma-components/{p-53bcfdbb.entry.js → p-2e8f703e.entry.js} +1 -1
  329. package/dist/magma-components/{p-dba5a6da.entry.js → p-357ec8c0.entry.js} +1 -1
  330. package/dist/magma-components/{p-3725c2c1.entry.js → p-4800a310.entry.js} +1 -1
  331. package/dist/magma-components/{p-b6b7dc40.entry.js → p-5cef4711.entry.js} +1 -1
  332. package/dist/magma-components/p-61f0ebf3.entry.js +1 -0
  333. package/dist/magma-components/{p-f28e048b.system.entry.js → p-677ef2a3.system.entry.js} +1 -1
  334. package/dist/magma-components/{p-b728638c.system.entry.js → p-7448435b.system.entry.js} +1 -1
  335. package/dist/magma-components/{p-2aab3752.entry.js → p-7502528c.entry.js} +1 -1
  336. package/dist/magma-components/{p-8f5f2dfe.system.entry.js → p-815801dd.system.entry.js} +2 -2
  337. package/dist/magma-components/{p-be741e35.entry.js → p-8c66c761.entry.js} +1 -1
  338. package/dist/magma-components/{p-9e4e1a86.system.entry.js → p-914d1b2a.system.entry.js} +1 -1
  339. package/dist/magma-components/{p-505fb7d4.entry.js → p-91ed604f.entry.js} +1 -1
  340. package/dist/magma-components/{p-dc3ef031.system.entry.js → p-938dbe67.system.entry.js} +3 -3
  341. package/dist/magma-components/p-B-nayZ3E.system.js +1 -0
  342. package/dist/magma-components/p-CWk1SCJg.js +1 -0
  343. package/dist/magma-components/{p-5vJawLPw.system.js → p-DVjUXVFl.system.js} +1 -1
  344. package/dist/magma-components/{p-ZaZnuNvg.js → p-DmFo8_MF.js} +1 -1
  345. package/dist/magma-components/p-QYez4sql.system.js +1 -1
  346. package/dist/magma-components/{p-2f3c6105.entry.js → p-b169ee9b.entry.js} +1 -1
  347. package/dist/magma-components/{p-3eaeb263.system.entry.js → p-bdd18c90.system.entry.js} +1 -1
  348. package/dist/magma-components/{p-db75bf05.system.entry.js → p-c6b16493.system.entry.js} +1 -1
  349. package/dist/magma-components/{p-ce2ef293.system.entry.js → p-c6b9a14e.system.entry.js} +1 -1
  350. package/dist/magma-components/{p-2a2b7c43.entry.js → p-c72651b2.entry.js} +1 -1
  351. package/dist/magma-components/{p-dbb82d72.system.entry.js → p-cfe080ab.system.entry.js} +1 -1
  352. package/dist/magma-components/{p-a61623f9.system.entry.js → p-e1ce306a.system.entry.js} +1 -1
  353. package/dist/magma-components/{p-972ff8a9.entry.js → p-e73cc6fc.entry.js} +3 -3
  354. package/dist/stats.json +220 -220
  355. package/dist/types/components/mds-emoji/mds-emoji.d.ts +2 -0
  356. package/package.json +8 -8
  357. package/dist/components/p-AFBkzOrP.js +0 -1
  358. package/dist/components/p-D8eZRaSQ.js +0 -1
  359. package/dist/esm-es5/unit-D8eZRaSQ.js +0 -1
  360. package/dist/magma-components/p-6b01ef3b.entry.js +0 -1
  361. package/dist/magma-components/p-D8eZRaSQ.js +0 -1
  362. package/dist/magma-components/p-_X0N_X__.system.js +0 -1
package/AGENTS.md CHANGED
@@ -5,7 +5,7 @@
5
5
  -->
6
6
  # @maggioli-design-system/magma - agent install guide
7
7
 
8
- > Version 2.4.0. You (the agent) are installing Magma into THIS project. Do not
8
+ > Version 2.4.1. You (the agent) are installing Magma into THIS project. Do not
9
9
  > assume the setup - detect it from the project, then ask the user only for what you
10
10
  > cannot infer. The detailed steps live in [`agents/install.md`](agents/install.md)
11
11
  > (this target) and [`agents/assets.md`](agents/assets.md) (shared styles, fonts,
package/CHANGELOG.md CHANGED
@@ -4,6 +4,19 @@ Every release of `@maggioli-design-system/magma`, newest first. Each section is
4
4
  release with the same tag, written by git-cliff from the conventional commits of the
5
5
  package.
6
6
 
7
+ ## [magma@2.4.1] - 2026-10-21
8
+
9
+ ### Bug Fixes
10
+
11
+ - *(mds-emoji)* Read CSS custom properties once the emoji has a computed style
12
+ - *(mds-emoji)* Keep hearing the pointer when the host is moved
13
+ - *(mds-tree-item)* Count the first and the last child among the items
14
+ - *(mds-input-switch)* Keep the page still when clicked in a scrolled box
15
+
16
+ ### Documentation
17
+
18
+ - *(magma)* Describe the single trunk main and the manual release
19
+
7
20
  ## [magma@2.4.0] - 2026-10-20
8
21
 
9
22
  ### Bug Fixes
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var floatingUi_dom = require('./floating-ui.dom-VQ_HnnRe.js');
4
- var unit = require('./unit-Cm341q1R.js');
4
+ var unit = require('./unit-JdmHaLT3.js');
5
5
  var aria = require('./aria-CzO5Rp1y.js');
6
6
  var index = require('./index-B_qgSpWL.js');
7
7
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  var index = require('./index-B_qgSpWL.js');
4
4
  var keyboardManager = require('./keyboard-manager-BuCJdI8Q.js');
5
- var unit = require('./unit-Cm341q1R.js');
6
- var floatingController = require('./floating-controller-BxER7sig.js');
5
+ var unit = require('./unit-JdmHaLT3.js');
6
+ var floatingController = require('./floating-controller-BiwDIKXd.js');
7
7
  var preference = require('./preference-C8BcoA3M.js');
8
8
  require('./floating-ui.dom-VQ_HnnRe.js');
9
9
  require('./aria-CzO5Rp1y.js');
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-B_qgSpWL.js');
4
- var unit = require('./unit-Cm341q1R.js');
4
+ var unit = require('./unit-JdmHaLT3.js');
5
5
  var preference = require('./preference-C8BcoA3M.js');
6
6
 
7
7
  /**
@@ -6257,6 +6257,9 @@ const MdsEmoji = class {
6257
6257
  this.mouseY = 0;
6258
6258
  this.currentRotateX = 0;
6259
6259
  this.currentRotateY = 0;
6260
+ // Whether the values below come from the computed style. They are read lazily
6261
+ // by rotate until it is available: see updateCSSCustomProps.
6262
+ this.cssCustomPropsRead = false;
6260
6263
  this.expressionAngleMax = 16; // massimo angolo di rotazione della emoji
6261
6264
  this.expressionFollowMouseHeadDuration = 0.3; // durata dell'animazione di rotazione della testa quando segue il mouse
6262
6265
  this.expressionFollowMouseTraitsDuration = 0.2; // durata dell'animazione di rotazione degli occhi e della bocca quando segue il mouse
@@ -6282,9 +6285,19 @@ const MdsEmoji = class {
6282
6285
  if (typeof window === 'undefined')
6283
6286
  return;
6284
6287
  const elementStyles = window.getComputedStyle(this.host);
6288
+ // Stencil loads children before their parents, so a slotted emoji reaches
6289
+ // componentDidLoad while its host's shadow DOM has not rendered the slot yet.
6290
+ // Outside the flat tree the computed style is empty, every value fell back and
6291
+ // the durations became 1000 seconds: the head took minutes to follow the
6292
+ // pointer. Keep the current values and let rotate read them again later.
6293
+ if (elementStyles.display === '') {
6294
+ this.cssCustomPropsRead = false;
6295
+ return;
6296
+ }
6297
+ this.cssCustomPropsRead = true;
6285
6298
  this.expressionAngleMax = unit.cssRotationToNumber(elementStyles.getPropertyValue('--mds-emoji-expression-max-rotation'), 16);
6286
- this.expressionFollowMouseHeadDuration = unit.cssDurationToSeconds(elementStyles.getPropertyValue('--mds-emoji-expression-follow-mouse-head-duration'));
6287
- this.expressionFollowMouseTraitsDuration = unit.cssDurationToSeconds(elementStyles.getPropertyValue('--mds-emoji-expression-follow-mouse-traits-duration'));
6299
+ this.expressionFollowMouseHeadDuration = unit.cssDurationToSeconds(elementStyles.getPropertyValue('--mds-emoji-expression-follow-mouse-head-duration'), 0.3);
6300
+ this.expressionFollowMouseTraitsDuration = unit.cssDurationToSeconds(elementStyles.getPropertyValue('--mds-emoji-expression-follow-mouse-traits-duration'), 0.2);
6288
6301
  this.headOffset = unit.cssSizeToNumber(elementStyles.getPropertyValue('--mds-emoji-offset-head'), 1);
6289
6302
  this.eyesOffset = unit.cssSizeToNumber(elementStyles.getPropertyValue('--mds-emoji-offset-eyes'), 1);
6290
6303
  this.mouthOffset = unit.cssSizeToNumber(elementStyles.getPropertyValue('--mds-emoji-offset-mouth'), 1);
@@ -6868,6 +6881,8 @@ const MdsEmoji = class {
6868
6881
  this.rotate(gaze.x, gaze.y, immediate);
6869
6882
  };
6870
6883
  this.rotate = (percentX, percentY, immediate = false) => {
6884
+ if (!this.cssCustomPropsRead)
6885
+ this.updateCSSCustomProps();
6871
6886
  const ease = 'power1.out';
6872
6887
  // The traits can be put in place at once instead of eased there: an expression
6873
6888
  // about to take the face over owns them from this very frame, and a tween still
@@ -6917,6 +6932,9 @@ const MdsEmoji = class {
6917
6932
  transformOrigin: '50% 50%',
6918
6933
  duration: this.expressionFollowMouseHeadDuration,
6919
6934
  ease,
6935
+ // A newer pose replaces the previous one: without it a slower tween still
6936
+ // running kept writing its own angles once the newer one had finished.
6937
+ overwrite: 'auto',
6920
6938
  });
6921
6939
  if (this.eyesEl) {
6922
6940
  gsapWithCSS.to(this.eyesEl, Object.assign({ translateX: this.eyesOffsetX, translateY: this.eyesOffsetY, transformOrigin: '50% 50%' }, traitVars));
@@ -6941,17 +6959,29 @@ const MdsEmoji = class {
6941
6959
  }
6942
6960
  };
6943
6961
  }
6962
+ // A move disconnects the host and connects it again, while componentDidLoad runs
6963
+ // once: the pointer listener follows the connection, so a moved emoji still hears it.
6964
+ connectedCallback() {
6965
+ if (typeof window === 'undefined')
6966
+ return;
6967
+ window.addEventListener('mousemove', this.handleFollowMouse);
6968
+ }
6944
6969
  componentDidLoad() {
6945
6970
  if (typeof window === 'undefined')
6946
6971
  return;
6947
6972
  this.updateCSSCustomProps();
6948
- window.addEventListener('mousemove', this.handleFollowMouse);
6949
6973
  this.checkNameChanged(this.name);
6950
6974
  }
6951
6975
  disconnectedCallback() {
6952
6976
  var _a, _b;
6953
6977
  if (typeof window === 'undefined')
6954
6978
  return;
6979
+ // In the lazy build the instance can hear of a disconnect after the host is back on
6980
+ // the page. GSAP causes one: to read the transform of a host that is not drawn (a
6981
+ // slotted emoji before its slot is rendered) it appends it to <html> for a moment
6982
+ // and puts it back. The emoji is still mounted then, nothing to tear down.
6983
+ if (this.host.isConnected)
6984
+ return;
6955
6985
  window.removeEventListener('mousemove', this.handleFollowMouse);
6956
6986
  this.isThinking = false;
6957
6987
  this.isBlinking = false;
@@ -7127,7 +7157,7 @@ const MdsEmoji = class {
7127
7157
  return element;
7128
7158
  }
7129
7159
  render() {
7130
- return index.h(index.Host, { key: '675f1b4d903aace1d61bf4b9a5e10fda8e947109' });
7160
+ return index.h(index.Host, { key: '228ea1ce5afd636026b77ac0a00462a7e2471470' });
7131
7161
  }
7132
7162
  get host() { return index.getElement(this); }
7133
7163
  static get watchers() { return {
@@ -4,7 +4,7 @@ var index = require('./index-B_qgSpWL.js');
4
4
  var arrowBack = require('./arrow-back-Ci9wQijN.js');
5
5
  var arrowForward = require('./arrow-forward-Bc625ssz.js');
6
6
  var clsx = require('./clsx-BtxeOLZW.js');
7
- var unit = require('./unit-Cm341q1R.js');
7
+ var unit = require('./unit-JdmHaLT3.js');
8
8
  var locale = require('./locale-D9XY8LN9.js');
9
9
  require('./preference-C8BcoA3M.js');
10
10
 
@@ -71,7 +71,7 @@ var localeIt = {
71
71
  unselect: unselect
72
72
  };
73
73
 
74
- const mdsInputSwitchCss = () => `@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-switch-animation-timing-adjust:1.4;--mds-input-switch-animation-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955));--mds-input-switch-box-color-enabled-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-padding-lg:calc(var(--spacing,.0025rem)*100);--mds-input-switch-box-padding-md:calc(var(--spacing,.0025rem)*100);--mds-input-switch-box-padding-sm:calc(var(--spacing,.0025rem)*100);--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem)*100));--mds-input-switch-duration:.3s;--mds-input-switch-icon-color-checked-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem) * 600)) * 2) + calc(var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem) * 100)) * 2));--mds-input-switch-toggle-size-lg:calc(var(--spacing,.0025rem)*800);--mds-input-switch-toggle-size-md:calc(var(--spacing,.0025rem)*600);--mds-input-switch-toggle-size-sm:calc(var(--spacing,.0025rem)*400);--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem)*600));align-items:flex-start;display:inline-flex;gap:calc(var(--spacing,.0025rem)*200)}.field{height:0;margin:0;opacity:0;pointer-events:none;position:absolute;width:0}.label-icon{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--magma-corner-shape,squircle);align-items:baseline;cursor:pointer;display:flex;position:relative;transition-property:outline-offset,opacity}.field:focus-visible+.label-icon,.label-icon:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.label-text{cursor:pointer;display:flex}.label-text--empty{display:none}:host([type=switch]) .label-text{align-items:center;align-self:center}.icon-explicit{fill:var(--mds-input-switch-icon-explicit-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));height:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600));width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}.icon-typography-checked,.icon-typography-unchecked{align-items:center;display:inline-flex}.icon-typography-checked{left:0;position:absolute;top:0}.switch-container{align-self:stretch;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-sizing:border-box;display:flex;flex-shrink:0;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:width,outline-offset,opacity;transition-timing-function:ease-in-out;width:var(--mds-input-switch-toggle-container-size,calc(var(--spacing,.0025rem)*600*2 + var(--spacing,.0025rem)*100*2))}.field:focus-visible+.switch-container,.switch-container:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.switch{background-color:var(--mds-input-switch-box-color-enabled-unchecked,rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140))));box-sizing:border-box;cursor:pointer;display:inline-flex;flex-shrink:0;height:min-content;padding:var(--mds-input-switch-box-padding,calc(var(--spacing,.0025rem)*100));transition-duration:var(--mds-input-switch-duration,.3s);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1));width:var(--mds-input-switch-toggle-container-size,calc(var(--spacing,.0025rem)*600*2 + var(--spacing,.0025rem)*100*2))}.switch,.switch-toggle{border-radius:var(--magma-radius-full,var(--radius-full,1000px))}.switch-toggle{align-items:center;animation-duration:calc(var(--mds-input-switch-duration,.3s)*1.5);animation-fill-mode:forwards;animation-iteration-count:1;animation-timing-function:var(--mds-input-switch-animation-timing-function);background-color:var(--mds-input-switch-toggle-color-enabled-unchecked,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);display:flex;height:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600));justify-content:center;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,width;transition-timing-function:var(--ease-linear);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}.field:checked+.switch-container .switch{background-color:var(--mds-input-switch-box-color-enabled-checked,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))))}.field:checked+.switch-container .switch-toggle{background-color:var(--mds-input-switch-toggle-color-enabled-checked,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transform:translate(100%)}.field:checked+.switch-container--sliding .switch-toggle{animation-name:check}.field:not(:checked)+.switch-container--sliding .switch-toggle{animation-name:uncheck}.field:disabled+.switch-container .switch{background-color:var(--mds-input-switch-box-color-disabled-unchecked,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))))}.field:checked:disabled+.switch-container .switch{background-color:var(--mds-input-switch-box-color-disabled-checked,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))))}.field:disabled+.switch-container .switch-toggle{background-color:var(--mds-input-switch-toggle-color-disabled-unchecked,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}.field:checked:disabled+.switch-container .switch-toggle{background-color:var(--mds-input-switch-toggle-color-disabled-checked,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}@keyframes check{0%{transform:translate(0);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}50%{transform:translate(0);width:calc(var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem) * 600)) * var(--mds-input-switch-animation-timing-adjust,1.4))}to{transform:translate(100%);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}}@keyframes uncheck{0%{transform:translate(100%);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}50%{transform:translate(0);width:calc(var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem) * 600)) * var(--mds-input-switch-animation-timing-adjust,1.4))}to{transform:translate(0);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}}:host(:disabled),:host([disabled]){pointer-events:none}.icon-checked,.icon-unchecked{--tw-font-weight:var(--font-weight-normal,400);font-weight:var(--font-weight-normal,400);transition-duration:var(--duration-200,.2s);transition-property:fill,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.icon-unchecked{fill:var(--mds-input-switch-icon-color-unchecked,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));opacity:1;transform:scale(1)}.icon-checked,.icon-unchecked{transition-duration:var(--mds-input-switch-duration,.3s)}.icon-checked{fill:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));transform:scale(0)}.field:disabled+.label-icon,.field:disabled+.label-icon+.label-text{cursor:default}.field:checked+.label-icon .icon-unchecked{opacity:0;transform:scale(1.5);transition-duration:calc(var(--mds-input-switch-duration,.3s)*2)}.field:checked+.label-icon .icon-checked{transform:scale(1);transition-duration:calc(var(--mds-input-switch-duration,.3s)*1.5)}.field:disabled+.label-icon .icon-unchecked{fill:var(--mds-input-switch-icon-color-unchecked-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}.field:disabled+.label-icon .icon-checked{fill:var(--mds-input-switch-icon-color-checked-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}.field:disabled:indeterminate+.label-icon .icon-checked{fill:var(--mds-input-switch-icon-color-indeterminate-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}.field:indeterminate+.label-icon .icon-checked{fill:var(--mds-input-switch-icon-color-indeterminate,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));transform:scale(1)}:host([explicit]:not([disabled]):not([checked])){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-unchecked,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))))}:host([explicit][checked]:not([disabled])){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))))}:host([explicit][checked][disabled]){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-checked-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}:host([explicit][disabled]:not([checked])){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-unchecked-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-switch-box-color-enabled-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}:host([size=sm]){--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-sm,calc(var(--spacing,.0025rem)*100));--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-sm,calc(var(--spacing,.0025rem)*400));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-sm,calc(var(--spacing,.0025rem) * 400)) * 2) + calc(var(--mds-input-switch-box-padding-sm,calc(var(--spacing,.0025rem) * 100)) * 2))}:host([size=md]){--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem)*100));--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem)*600));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem) * 600)) * 2) + calc(var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem) * 100)) * 2))}:host([size=lg]){--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-lg,calc(var(--spacing,.0025rem)*100));--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-lg,calc(var(--spacing,.0025rem)*800));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-lg,calc(var(--spacing,.0025rem) * 800)) * 2) + calc(var(--mds-input-switch-box-padding-lg,calc(var(--spacing,.0025rem) * 100)) * 2))}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-switch-box-color-enabled-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}}`;
74
+ const mdsInputSwitchCss = () => `@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-switch-animation-timing-adjust:1.4;--mds-input-switch-animation-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955));--mds-input-switch-box-color-enabled-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-padding-lg:calc(var(--spacing,.0025rem)*100);--mds-input-switch-box-padding-md:calc(var(--spacing,.0025rem)*100);--mds-input-switch-box-padding-sm:calc(var(--spacing,.0025rem)*100);--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem)*100));--mds-input-switch-duration:.3s;--mds-input-switch-icon-color-checked-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem) * 600)) * 2) + calc(var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem) * 100)) * 2));--mds-input-switch-toggle-size-lg:calc(var(--spacing,.0025rem)*800);--mds-input-switch-toggle-size-md:calc(var(--spacing,.0025rem)*600);--mds-input-switch-toggle-size-sm:calc(var(--spacing,.0025rem)*400);--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem)*600));align-items:flex-start;display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);position:relative}.field{height:0;margin:0;opacity:0;pointer-events:none;position:absolute;width:0}.label-icon{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--magma-corner-shape,squircle);align-items:baseline;cursor:pointer;display:flex;position:relative;transition-property:outline-offset,opacity}.field:focus-visible+.label-icon,.label-icon:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.label-text{cursor:pointer;display:flex}.label-text--empty{display:none}:host([type=switch]) .label-text{align-items:center;align-self:center}.icon-explicit{fill:var(--mds-input-switch-icon-explicit-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));height:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600));width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}.icon-typography-checked,.icon-typography-unchecked{align-items:center;display:inline-flex}.icon-typography-checked{left:0;position:absolute;top:0}.switch-container{align-self:stretch;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-sizing:border-box;display:flex;flex-shrink:0;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:width,outline-offset,opacity;transition-timing-function:ease-in-out;width:var(--mds-input-switch-toggle-container-size,calc(var(--spacing,.0025rem)*600*2 + var(--spacing,.0025rem)*100*2))}.field:focus-visible+.switch-container,.switch-container:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.switch{background-color:var(--mds-input-switch-box-color-enabled-unchecked,rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140))));box-sizing:border-box;cursor:pointer;display:inline-flex;flex-shrink:0;height:min-content;padding:var(--mds-input-switch-box-padding,calc(var(--spacing,.0025rem)*100));transition-duration:var(--mds-input-switch-duration,.3s);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1));width:var(--mds-input-switch-toggle-container-size,calc(var(--spacing,.0025rem)*600*2 + var(--spacing,.0025rem)*100*2))}.switch,.switch-toggle{border-radius:var(--magma-radius-full,var(--radius-full,1000px))}.switch-toggle{align-items:center;animation-duration:calc(var(--mds-input-switch-duration,.3s)*1.5);animation-fill-mode:forwards;animation-iteration-count:1;animation-timing-function:var(--mds-input-switch-animation-timing-function);background-color:var(--mds-input-switch-toggle-color-enabled-unchecked,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);display:flex;height:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600));justify-content:center;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,width;transition-timing-function:var(--ease-linear);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}.field:checked+.switch-container .switch{background-color:var(--mds-input-switch-box-color-enabled-checked,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))))}.field:checked+.switch-container .switch-toggle{background-color:var(--mds-input-switch-toggle-color-enabled-checked,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transform:translate(100%)}.field:checked+.switch-container--sliding .switch-toggle{animation-name:check}.field:not(:checked)+.switch-container--sliding .switch-toggle{animation-name:uncheck}.field:disabled+.switch-container .switch{background-color:var(--mds-input-switch-box-color-disabled-unchecked,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))))}.field:checked:disabled+.switch-container .switch{background-color:var(--mds-input-switch-box-color-disabled-checked,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))))}.field:disabled+.switch-container .switch-toggle{background-color:var(--mds-input-switch-toggle-color-disabled-unchecked,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}.field:checked:disabled+.switch-container .switch-toggle{background-color:var(--mds-input-switch-toggle-color-disabled-checked,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}@keyframes check{0%{transform:translate(0);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}50%{transform:translate(0);width:calc(var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem) * 600)) * var(--mds-input-switch-animation-timing-adjust,1.4))}to{transform:translate(100%);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}}@keyframes uncheck{0%{transform:translate(100%);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}50%{transform:translate(0);width:calc(var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem) * 600)) * var(--mds-input-switch-animation-timing-adjust,1.4))}to{transform:translate(0);width:var(--mds-input-switch-toggle-size,calc(var(--spacing,.0025rem)*600))}}:host(:disabled),:host([disabled]){pointer-events:none}.icon-checked,.icon-unchecked{--tw-font-weight:var(--font-weight-normal,400);font-weight:var(--font-weight-normal,400);transition-duration:var(--duration-200,.2s);transition-property:fill,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.icon-unchecked{fill:var(--mds-input-switch-icon-color-unchecked,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));opacity:1;transform:scale(1)}.icon-checked,.icon-unchecked{transition-duration:var(--mds-input-switch-duration,.3s)}.icon-checked{fill:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));transform:scale(0)}.field:disabled+.label-icon,.field:disabled+.label-icon+.label-text{cursor:default}.field:checked+.label-icon .icon-unchecked{opacity:0;transform:scale(1.5);transition-duration:calc(var(--mds-input-switch-duration,.3s)*2)}.field:checked+.label-icon .icon-checked{transform:scale(1);transition-duration:calc(var(--mds-input-switch-duration,.3s)*1.5)}.field:disabled+.label-icon .icon-unchecked{fill:var(--mds-input-switch-icon-color-unchecked-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}.field:disabled+.label-icon .icon-checked{fill:var(--mds-input-switch-icon-color-checked-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}.field:disabled:indeterminate+.label-icon .icon-checked{fill:var(--mds-input-switch-icon-color-indeterminate-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}.field:indeterminate+.label-icon .icon-checked{fill:var(--mds-input-switch-icon-color-indeterminate,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));transform:scale(1)}:host([explicit]:not([disabled]):not([checked])){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-unchecked,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))))}:host([explicit][checked]:not([disabled])){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-checked,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))))}:host([explicit][checked][disabled]){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-checked-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}:host([explicit][disabled]:not([checked])){--mds-input-switch-icon-explicit-color:var(--mds-input-switch-icon-color-unchecked-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-switch-box-color-enabled-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}:host([size=sm]){--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-sm,calc(var(--spacing,.0025rem)*100));--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-sm,calc(var(--spacing,.0025rem)*400));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-sm,calc(var(--spacing,.0025rem) * 400)) * 2) + calc(var(--mds-input-switch-box-padding-sm,calc(var(--spacing,.0025rem) * 100)) * 2))}:host([size=md]){--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem)*100));--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem)*600));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-md,calc(var(--spacing,.0025rem) * 600)) * 2) + calc(var(--mds-input-switch-box-padding-md,calc(var(--spacing,.0025rem) * 100)) * 2))}:host([size=lg]){--mds-input-switch-box-padding:var(--mds-input-switch-box-padding-lg,calc(var(--spacing,.0025rem)*100));--mds-input-switch-toggle-size:var(--mds-input-switch-toggle-size-lg,calc(var(--spacing,.0025rem)*800));--mds-input-switch-toggle-container-size:calc(calc(var(--mds-input-switch-toggle-size-lg,calc(var(--spacing,.0025rem) * 800)) * 2) + calc(var(--mds-input-switch-box-padding-lg,calc(var(--spacing,.0025rem) * 100)) * 2))}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-switch-box-color-enabled-checked:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-switch-box-color-enabled-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-box-color-disabled-checked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-box-color-disabled-unchecked:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-toggle-color-enabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-enabled-unchecked:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-input-switch-toggle-color-disabled-checked:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-switch-toggle-color-disabled-unchecked:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-checked:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-input-switch-icon-color-unchecked:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-input-switch-icon-color-unchecked-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-switch-icon-color-indeterminate-disabled:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-switch-icon-color-indeterminate:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}}`;
75
75
 
76
76
  const MdsInputSwitch = class {
77
77
  constructor(hostRef) {
@@ -3,7 +3,7 @@
3
3
  var index = require('./index-B_qgSpWL.js');
4
4
  var clsx = require('./clsx-BtxeOLZW.js');
5
5
  var slot = require('./slot-Dku0TdVg.js');
6
- var unit = require('./unit-Cm341q1R.js');
6
+ var unit = require('./unit-JdmHaLT3.js');
7
7
  var preference = require('./preference-C8BcoA3M.js');
8
8
  var close$4 = require('./close-BS8N44H4.js');
9
9
  var locale = require('./locale-D9XY8LN9.js');
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-B_qgSpWL.js');
4
- var unit = require('./unit-Cm341q1R.js');
4
+ var unit = require('./unit-JdmHaLT3.js');
5
5
  var settings = require('./settings-CeE526kn.js');
6
6
  var locale = require('./locale-D9XY8LN9.js');
7
7
  var preference = require('./preference-C8BcoA3M.js');
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-B_qgSpWL.js');
4
- var unit = require('./unit-Cm341q1R.js');
4
+ var unit = require('./unit-JdmHaLT3.js');
5
5
  var locale = require('./locale-D9XY8LN9.js');
6
6
  var preference = require('./preference-C8BcoA3M.js');
7
7
 
@@ -4,10 +4,10 @@ var index = require('./index-B_qgSpWL.js');
4
4
  var slot = require('./slot-Dku0TdVg.js');
5
5
  var close = require('./close-BS8N44H4.js');
6
6
  var clsx = require('./clsx-BtxeOLZW.js');
7
- var floatingController = require('./floating-controller-BxER7sig.js');
7
+ var floatingController = require('./floating-controller-BiwDIKXd.js');
8
8
  var locale = require('./locale-D9XY8LN9.js');
9
9
  require('./floating-ui.dom-VQ_HnnRe.js');
10
- require('./unit-Cm341q1R.js');
10
+ require('./unit-JdmHaLT3.js');
11
11
  require('./aria-CzO5Rp1y.js');
12
12
  require('./preference-C8BcoA3M.js');
13
13
 
@@ -4,7 +4,7 @@ var index = require('./index-B_qgSpWL.js');
4
4
  var slot = require('./slot-Dku0TdVg.js');
5
5
  var aria = require('./aria-CzO5Rp1y.js');
6
6
  var clsx = require('./clsx-BtxeOLZW.js');
7
- var unit = require('./unit-Cm341q1R.js');
7
+ var unit = require('./unit-JdmHaLT3.js');
8
8
  var preference = require('./preference-C8BcoA3M.js');
9
9
 
10
10
  const mdsTabCss = () => `@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-tab-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-direction-vertical-columns:auto auto;--mds-tab-item-default-background:#0000;--mds-tab-item-default-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-tab-item-default-shadow:none;--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-radius:min(calc(var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px))) - var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200))),var(--magma-corner-cap,.5) * var(--private-tab-item-height));--mds-tab-item-selected-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-selected-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);--mds-tab-scroll-behavior:smooth;--mds-tab-scroll-scrollbar-margin:0;--mds-tab-scroll-scrollbar-radius:0;--mds-tab-scroll-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-tab-scroll-scrollbar-thumb-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3);--mds-tab-scroll-scrollbar-track-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-tab-slide-delay:.125s;--mds-tab-tabs-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-tab-tabs-gap:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-overflow-shadow-size:calc(var(--spacing,.0025rem)*600);--mds-tab-tabs-overflow-shadow:0 0 var(--mds-tab-tabs-overflow-shadow-size,calc(var(--spacing,.0025rem)*600)) -2px #00000060;--mds-tab-tabs-padding:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-tab-item-height) + var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem)*200)));--mds-tab-tabs-wrapper-margin:0;--mds-tab-tabs-wrapper-outline-opacity:.7;--mds-tab-tabs-wrapper-shadow-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));--mds-tab-tabs-wrapper-shadow:0 0 0 2px var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-transition-duration:.5s;--private-tab-transition-duration:var(--mds-tab-transition-duration,.5s);--private-tab-item-height:calc(var(--spacing,.0025rem)*900);--mds-tab-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-tab-corner-shape:var(--magma-corner-shape,squircle);border-radius:var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));corner-shape:var(--mds-tab-corner-shape,round);display:grid;gap:0 calc(var(--spacing,.0025rem)*600);grid-template-rows:min-content auto;position:relative}:host([size=sm]){--private-tab-item-height:calc(var(--spacing,.0025rem)*700)}:host([animation=slide]) ::slotted(mds-tab-item){--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-shadow:none;--mds-tab-item-selected-background:#0000;--mds-tab-item-selected-shadow:#0000;--mds-tab-item-default-background:#0000;--mds-tab-item-default-shadow:none}.tabs{align-items:flex-start;background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));box-sizing:border-box;display:flex;gap:var(--mds-tab-tabs-gap,calc(var(--spacing,.0025rem)*200));overflow:auto;padding:var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem)*200));scroll-behavior:var(--mds-tab-scroll-behavior);scroll-snap-type:x mandatory;transition-duration:var(--private-tab-transition-duration);transition-property:background-color;transition-timing-function:var(--mds-tab-transition-timing-function);z-index:0}.tabs,.tabs-wrapper{border-radius:inherit;corner-shape:inherit;position:relative}.tabs-wrapper{display:grid;flex-shrink:0;margin:var(--mds-tab-tabs-wrapper-margin,0);max-width:max-content;overflow:hidden}.tabs-wrapper--fill{max-width:100%}.tabs-wrapper:after{border-radius:inherit;corner-shape:inherit;border-radius:var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:var(--mds-tab-tabs-wrapper-shadow);content:"";inset:0;opacity:var(--mds-tab-tabs-wrapper-outline-opacity,.7);pointer-events:none;position:absolute;transition-duration:var(--private-tab-transition-duration);transition-duration:var(--mds-tab-transition-duration,.5s);transition-property:box-shadow,opacity;transition-timing-function:var(--mds-tab-transition-timing-function);z-index:1}.contents{--mds-tab-contents-height:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;align-items:stretch;box-sizing:border-box;display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*600);height:var(--mds-tab-contents-height);overflow:auto hidden;position:relative;scroll-behavior:var(--mds-tab-scroll-behavior);scroll-snap-type:x mandatory;scrollbar-width:none;transition-duration:var(--private-tab-transition-duration);transition-property:height;transition-timing-function:var(--mds-tab-transition-timing-function)}.contents::-webkit-scrollbar{display:none}.contents--empty{display:none}::slotted([slot=content]){flex-basis:0;flex-grow:1;min-width:100%;scroll-snap-align:start;width:100%}::slotted([slot=content][mds-tab-content-hidden]){display:none!important}.slider{--mds-tab-slider-offset-x:0;--mds-tab-slider-offset-y:0;--mds-tab-slider-width:0;--mds-tab-slider-height:0;background-color:var(--mds-tab-item-selected-background);border-radius:var(--mds-tab-item-radius);box-shadow:var(--mds-tab-item-selected-shadow);corner-shape:var(--mds-tab-corner-shape);height:var(--mds-tab-slider-height);inset:0 auto auto 0;pointer-events:none;position:absolute;transform:translate(var(--mds-tab-slider-offset-x),var(--mds-tab-slider-offset-y));transition-duration:var(--mds-tab-transition-duration,.5s);transition-property:background-color,box-shadow,transform,width;transition-timing-function:var(--mds-tab-transition-timing-function);width:var(--mds-tab-slider-width);will-change:height,transform,width;z-index:-1}.slider--still{transition-property:background-color,box-shadow}::slotted(mds-tab-item){position:relative;z-index:1}:host([direction=vertical]){--mds-tab-tabs-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));grid-template-columns:var(--mds-tab-direction-vertical-columns,auto auto);grid-template-rows:1fr}:host([direction=vertical]) .tabs{align-self:start;flex-direction:column}:host([direction=vertical]) .tabs-wrapper{align-self:start;max-width:none}:host([direction=vertical][fill]) :is(.tabs,.tabs-wrapper){align-self:auto}:host([direction=vertical]) .tabs-wrapper--no-content{grid-column:1/-1}:host([direction=vertical])::slotted(mds-tab-item){width:100%}:host(:not([scrollbar])) .tabs{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([scrollbar])) .tabs::-webkit-scrollbar{display:none}:host([scrollbar]) .tabs::-webkit-scrollbar{height:var(--mds-tab-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-tab-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([scrollbar]) .tabs::-webkit-scrollbar-track{background-color:var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--mds-tab-scroll-scrollbar-radius,0);margin-block:var(--mds-tab-scroll-scrollbar-margin,0);margin-inline:var(--mds-tab-scroll-scrollbar-margin,0)}:host([scrollbar]) .tabs::-webkit-scrollbar-thumb{background-color:var(--mds-tab-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3));border-radius:var(--mds-tab-scroll-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.tabs{scrollbar-color:var(--mds-tab-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3)) var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));scrollbar-width:thin}}.tabs-wrapper-overflow-left,.tabs-wrapper-overflow-right{--size:calc(var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200)) * 2);--offset-outside:calc(var(--size) + var(--mds-tab-tabs-overflow-shadow-size,calc(var(--spacing,.0025rem) * 600)));background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));border-radius:100%;box-shadow:var(--mds-tab-tabs-overflow-shadow);content:"";display:inline-flex;height:auto;pointer-events:none;position:absolute;transition-duration:.5s;transition-property:transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:var(--size);z-index:2}.tabs-wrapper-overflow-left{inset:0 auto 0 0;transform:translateX(calc(var(--offset-outside)*-1))}.tabs-wrapper-overflow-right{inset:0 0 0 auto;transform:translateX(var(--offset-outside))}.tabs-wrapper-overflow-left--show{transform:translate(-100%)}.tabs-wrapper-overflow-right--show{transform:translate(100%)}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-tab-item-selected-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([pref-contrast=more]){--mds-tab-item-selected-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-tab-tabs-wrapper-outline-opacity:.3}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-transition-duration:0s}@media (prefers-reduced-motion:reduce){:host{--mds-tab-scroll-behavior:auto}:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-tab-item-selected-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-item-selected-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-tab-tabs-wrapper-outline-opacity:.3}}`;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-B_qgSpWL.js');
4
- var unit = require('./unit-Cm341q1R.js');
4
+ var unit = require('./unit-JdmHaLT3.js');
5
5
  var preference = require('./preference-C8BcoA3M.js');
6
6
  var locale = require('./locale-D9XY8LN9.js');
7
7
  var slot = require('./slot-Dku0TdVg.js');
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-B_qgSpWL.js');
4
- var floatingController = require('./floating-controller-BxER7sig.js');
4
+ var floatingController = require('./floating-controller-BiwDIKXd.js');
5
5
  var preference = require('./preference-C8BcoA3M.js');
6
6
  require('./floating-ui.dom-VQ_HnnRe.js');
7
- require('./unit-Cm341q1R.js');
7
+ require('./unit-JdmHaLT3.js');
8
8
  require('./aria-CzO5Rp1y.js');
9
9
 
10
10
  var arrowSvg = `<svg width="15" height="9" viewBox="0 0 15 9" xmlns="http://www.w3.org/2000/svg">
@@ -4,7 +4,7 @@ var index = require('./index-B_qgSpWL.js');
4
4
  var clsx = require('./clsx-BtxeOLZW.js');
5
5
  var slot = require('./slot-Dku0TdVg.js');
6
6
  var locale = require('./locale-D9XY8LN9.js');
7
- var unit = require('./unit-Cm341q1R.js');
7
+ var unit = require('./unit-JdmHaLT3.js');
8
8
  require('./preference-C8BcoA3M.js');
9
9
 
10
10
  const expand$3 = "Ανάπτυξη {{ label }}";
@@ -41,7 +41,7 @@ var mdiFolderOpen = `<svg xmlns="http://www.w3.org/2000/svg" id="mdi-folder-open
41
41
 
42
42
  var miBaselineFolderClosed = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></svg>`;
43
43
 
44
- const mdsTreeItemCss = () => `@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@container style(--mds-tree-branch-use-rounded-border:true){:host{--mds-tree-branch-border-radius:var(--private-tree-item-branch-border-radius)}}@container style(--mds-tree-branch-use-rounded-border:false){:host{--mds-tree-branch-border-radius:0px}}:host{--mds-tree-item-actions-border-radius:var(--mds-tree-actions-border-radius);--mds-tree-item-actions-gap:var(--mds-tree-actions-gap);--mds-tree-item-branch-border-color:var(--mds-tree-branch-border-color);--mds-tree-item-branch-border-radius:var(--mds-tree-branch-border-radius,var(--private-tree-item-branch-border-radius));--mds-tree-item-branch-border-size:var(--mds-tree-branch-border-size);--mds-tree-item-branch-dot-default-color:var(--mds-tree-branch-dot-default-color);--mds-tree-item-branch-dot-expanded-color:var(--mds-tree-branch-dot-expanded-color);--mds-tree-item-label-default-background:var(--mds-tree-label-default-background);--mds-tree-item-label-hover-background:var(--mds-tree-label-hover-background);--mds-tree-item-label-icon-default-color:var(--mds-tree-label-icon-default-color);--mds-tree-item-label-icon-hover-color:var(--mds-tree-label-icon-hover-color);--mds-tree-item-line-clamp:var(--mds-tree-line-clamp);--mds-tree-item-toggle-gap:var(--mds-tree-toggle-gap,calc(var(--spacing,.0025rem)*100));--mds-tree-item-toggle-icon-async-background:var(--mds-tree-toggle-icon-async-background);--mds-tree-item-toggle-icon-async-color:var(--mds-tree-toggle-icon-async-color);--mds-tree-item-toggle-icon-chevron-default-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-item-toggle-icon-chevron-default-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-item-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-expanded-background,var(--mds-tree-item-toggle-icon-chevron-default-background));--mds-tree-item-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-expanded-color,var(--mds-tree-item-toggle-icon-chevron-default-color));--mds-tree-item-toggle-icon-folder-default-background:var(--mds-tree-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-default-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-item-toggle-icon-folder-expanded-background:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-expanded-color,var(--mds-tree-item-toggle-icon-folder-default-color));--mds-tree-item-toggle-icon-position-right-default-background:var(--mds-tree-toggle-icon-position-right-default-background);--mds-tree-item-toggle-icon-position-right-default-color:var(--mds-tree-toggle-icon-position-right-default-color);--mds-tree-item-toggle-icon-position-right-expanded-background:var(--mds-tree-toggle-icon-position-right-expanded-background);--mds-tree-item-toggle-icon-position-right-expanded-color:var(--mds-tree-toggle-icon-position-right-expanded-color);--mds-tree-item-toggle-size:var(--mds-tree-toggle-size);--mds-tree-item-transition-duration:var(--mds-tree-transition-duration);--mds-tree-item-transition-timing-function:var(--mds-tree-transition-timing-function);--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color);--header-gap:var(--mds-tree-item-toggle-gap);--private-tree-item-branch-border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * var(--mds-tree-item-toggle-size));display:grid;transition-duration:var(--mds-tree-item-transition-duration);transition-timing-function:var(--mds-tree-item-transition-timing-function)}.header{--offset:calc(var(--mds-tree-item-toggle-size) + var(--header-gap));align-items:flex-start;gap:var(--header-gap);position:relative;z-index:1}.header,.title{display:flex;min-width:0}.title{align-items:stretch;flex-grow:1;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between}.label-action{--mds-button-line-clamp:var(--mds-tree-item-line-clamp);--padding:calc(var(--spacing,.0025rem)*100);background-color:var(--mds-tree-item-label-default-background);border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * calc(var(--spacing,.0025rem)*900));fill:var(--mds-tree-item-label-icon-default-color);flex-grow:1;justify-content:flex-start;margin-left:calc(var(--padding)*-1);padding-left:var(--padding);padding-right:var(--padding)}.label-action:hover{background-color:var(--mds-tree-item-label-hover-background);fill:var(--mds-tree-item-label-icon-hover-color)}.actions-container{--duration-300:.3s;--ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);interpolate-size:allow-keywords;align-items:center;display:none;justify-content:flex-start;min-width:0;overflow:hidden;transition-behavior:allow-discrete;transition-duration:var(--duration-300,.3s);transition-property:min-width,width,overflow;transition-timing-function:var(--ease);width:0}.actions-container--has-actions{display:flex}.actions{border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;flex-shrink:0;gap:var(--mds-tree-item-actions-gap);pointer-events:none;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:transform;transition-timing-function:var(--ease)}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions-container{pointer-events:auto}.header:focus-within .actions-container,.header:hover .actions-container,:host([resolved-actions=visible]) .actions-container{animation:toggleOverflow var(--duration-300,.3s) forwards;min-width:fit-content;width:fit-content}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions{transform:scale(1)}.children{--mds-tree-item-children-padding-left:calc(var(--mds-tree-item-toggle-size)/2 - var(--mds-tree-item-branch-border-size)/2);interpolate-size:allow-keywords;display:flex;flex-direction:column;height:0;overflow:clip;padding-left:var(--mds-tree-item-children-padding-left);position:relative;transform:translateY(calc(var(--mds-tree-item-toggle-size)/2*-1));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height,transform,visibility;transition-timing-function:var(--mds-tree-item-transition-timing-function);visibility:hidden;z-index:0}.children--expanded{animation:toggleOverflow var(--mds-tree-item-transition-duration) forwards;animation-timing-function:var(--mds-tree-item-transition-timing-function);display:flex;height:auto;transform:translateY(0);visibility:inherit}.children--empty,.children--hidden{display:none}@keyframes toggleOverflow{99.99%{overflow:hidden}to{overflow:visible}}@keyframes toggleDisplay{99.99%{display:flex}to{display:none}}.tree-node{--middle-pos-x:calc(50% - var(--mds-tree-item-branch-border-size)/2);align-items:center;box-sizing:border-box;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;pointer-events:none;position:relative;width:var(--mds-tree-item-toggle-size);z-index:0}.tree-branch{--pos-y:calc(calc(var(--mds-tree-item-toggle-size) / 2 + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)))) * -1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))) + var(--mds-tree-item-branch-border-size) / 2);--tree-width:calc(var(--mds-tree-item-toggle-size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--tree-height);inset:0;position:absolute;transform:translateY(var(--pos-y));width:calc(var(--mds-tree-item-toggle-size)/2);z-index:1}:host(:first-child) .tree-branch{--pos-y:calc(var(--mds-tree-item-toggle-size)/2*-1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-size)/2)}.tree-dot{--size:calc(var(--spacing,.0025rem)*300 + var(--mds-tree-item-branch-border-size)*2);background-color:var(--mds-tree-item-branch-border-color);border-radius:var(--size);display:none;height:var(--size);position:relative;width:var(--size)}.header--has-children .tree-dot{display:inline-flex}.header:not(.header--has-children) .tree-node .tree-branch{width:calc(var(--mds-tree-item-toggle-size) - var(--header-gap))}:host(:not(:last-child)) .header--has-children .tree-node:after{--size:calc(calc(var(--mds-tree-item-toggle-size) / 2) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))));--pos-y:calc(var(--size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;content:"";corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--size);inset:0;position:absolute;transform:translateY(var(--pos-y));width:var(--mds-tree-item-branch-border-size);z-index:1}:host(:not(:last-child)) .children--has-children:before{border-left:var(--mds-tree-item-branch-border-size) solid var(--mds-tree-item-branch-border-color);content:"";display:flex;height:calc(100% + var(--mds-tree-item-toggle-size));left:0;position:absolute;top:calc(var(--mds-tree-item-toggle-size)*-1)}.tree-dot:after{--pos-y:calc(var(--size)/2);background-color:var(--mds-tree-item-branch-border-color);box-sizing:border-box;content:"";display:inline-flex;height:calc(var(--size)/2);inset:0 50% 0 0;position:absolute;transform:translate(calc(var(--pos-y) - var(--mds-tree-item-branch-border-size)/2),var(--pos-y));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-branch-border-size);z-index:1}:host([expanded]) .tree-dot:after{height:calc(var(--size) + var(--mds-tree-item-branch-border-size))}:host([depth="0"]) .children--has-children .tree-branch,:host([depth="0"]) .children--has-children:before,:host([depth="0"]) .header--has-children .tree-node:after,:host([depth="0"]) .tree-node .tree-branch,:host([depth="0"]) .tree-node:before{display:none}.toggle-icon{align-items:center;align-self:center;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;margin-left:calc(var(--offset)*-1);position:relative;transform:rotate(0);transition-duration:var(--mds-tree-item-transition-duration);transition-property:transform;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-toggle-size);z-index:1}.toggle-icon mds-button{--size:calc(var(--spacing,.0025rem)*600);align-self:center;background-color:var(--mds-tree-item-icon-background-color);border:0;border-radius:var(--mds-tree-item-toggle-size);color:var(--mds-tree-item-icon-color);fill:var(--mds-tree-item-icon-color);height:var(--size);min-height:var(--size);min-width:var(--size);overflow:hidden;width:var(--size)}.toggle-icon mds-button[await]{background-color:var(--mds-tree-item-toggle-icon-async-background);color:var(--mds-tree-item-toggle-icon-async-color)}:host([toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color)}:host([expanded][toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-expanded-color)}:host([toggle=folder][toggle-position=left]) .toggle-icon mds-button{box-shadow:0 calc(var(--spacing,.0025rem)*25) 0 0 var(--mds-tree-item-branch-border-color)}:host([toggle=folder]) .toggle-icon mds-button{--size:auto;border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));padding:calc(var(--spacing,.0025rem)*25) calc(var(--spacing,.0025rem)*50)}:host([toggle=folder]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-default-color)}:host([toggle=folder][expanded]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-expanded-color)}:host([toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-default-color);background-color:#0000;order:1}:host([expanded][toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-expanded-color)}:host([expanded][toggle-position=left][toggle=chevron]) .toggle-icon{transform:rotate(90deg)}.header:not(.header--has-children) .toggle-icon{display:none}:host([toggle-position=left]) .toggle-icon{order:0}:host([toggle-position=right]) .header--has-children .title{margin-right:var(--offset)}:host([toggle-position=left][toggle=chevron][expanded]) .toggle-icon{transform:rotate(90deg)}:host([toggle-position=left][toggle=chevron]:not([expanded])) .toggle-icon{transform:rotate(0)}:host([toggle=chevron][toggle-position=right]) .toggle-icon{transform:rotate(90deg)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon{transform:rotate(270deg)}:host([toggle=chevron][toggle-position=right]) .toggle-icon--dot,:host([toggle=folder][toggle-position=right]) .toggle-icon--dot{transform:rotate(0)scale(.825)}:host([toggle=chevron][toggle-position=right]) .toggle-icon,:host([toggle=folder][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-default-color)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon,:host([toggle=folder][expanded][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-expanded-color)}:host([appearance=none]) .header{--offset:0;gap:0}:host([appearance=none]) .tree-dot,:host([appearance=none]) .tree-node,:host([appearance=none]:not(:last-child)) .children--has-children:before{display:none}:host([appearance=none]) .label-action{--padding:calc(var(--spacing,.0025rem)*200);margin-left:0;padding-left:var(--padding);padding-right:var(--padding)}:host([appearance=none][toggle-position=left]) .children{padding-left:calc(var(--header-gap)*2 + var(--mds-tree-item-branch-border-size) + var(--mds-tree-item-children-padding-left)*2)}:host([appearance=none][toggle-position=right]) .children{padding-left:var(--mds-tree-item-children-padding-left)}`;
44
+ const mdsTreeItemCss = () => `@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@container style(--mds-tree-branch-use-rounded-border:true){:host{--mds-tree-branch-border-radius:var(--private-tree-item-branch-border-radius)}}@container style(--mds-tree-branch-use-rounded-border:false){:host{--mds-tree-branch-border-radius:0px}}:host{--mds-tree-item-actions-border-radius:var(--mds-tree-actions-border-radius);--mds-tree-item-actions-gap:var(--mds-tree-actions-gap);--mds-tree-item-branch-border-color:var(--mds-tree-branch-border-color);--mds-tree-item-branch-border-radius:var(--mds-tree-branch-border-radius,var(--private-tree-item-branch-border-radius));--mds-tree-item-branch-border-size:var(--mds-tree-branch-border-size);--mds-tree-item-branch-dot-default-color:var(--mds-tree-branch-dot-default-color);--mds-tree-item-branch-dot-expanded-color:var(--mds-tree-branch-dot-expanded-color);--mds-tree-item-label-default-background:var(--mds-tree-label-default-background);--mds-tree-item-label-hover-background:var(--mds-tree-label-hover-background);--mds-tree-item-label-icon-default-color:var(--mds-tree-label-icon-default-color);--mds-tree-item-label-icon-hover-color:var(--mds-tree-label-icon-hover-color);--mds-tree-item-line-clamp:var(--mds-tree-line-clamp);--mds-tree-item-toggle-gap:var(--mds-tree-toggle-gap,calc(var(--spacing,.0025rem)*100));--mds-tree-item-toggle-icon-async-background:var(--mds-tree-toggle-icon-async-background);--mds-tree-item-toggle-icon-async-color:var(--mds-tree-toggle-icon-async-color);--mds-tree-item-toggle-icon-chevron-default-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-item-toggle-icon-chevron-default-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-item-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-expanded-background,var(--mds-tree-item-toggle-icon-chevron-default-background));--mds-tree-item-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-expanded-color,var(--mds-tree-item-toggle-icon-chevron-default-color));--mds-tree-item-toggle-icon-folder-default-background:var(--mds-tree-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-default-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-item-toggle-icon-folder-expanded-background:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-expanded-color,var(--mds-tree-item-toggle-icon-folder-default-color));--mds-tree-item-toggle-icon-position-right-default-background:var(--mds-tree-toggle-icon-position-right-default-background);--mds-tree-item-toggle-icon-position-right-default-color:var(--mds-tree-toggle-icon-position-right-default-color);--mds-tree-item-toggle-icon-position-right-expanded-background:var(--mds-tree-toggle-icon-position-right-expanded-background);--mds-tree-item-toggle-icon-position-right-expanded-color:var(--mds-tree-toggle-icon-position-right-expanded-color);--mds-tree-item-toggle-size:var(--mds-tree-toggle-size);--mds-tree-item-transition-duration:var(--mds-tree-transition-duration);--mds-tree-item-transition-timing-function:var(--mds-tree-transition-timing-function);--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color);--header-gap:var(--mds-tree-item-toggle-gap);--private-tree-item-branch-border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * var(--mds-tree-item-toggle-size));display:grid;transition-duration:var(--mds-tree-item-transition-duration);transition-timing-function:var(--mds-tree-item-transition-timing-function)}.header{--offset:calc(var(--mds-tree-item-toggle-size) + var(--header-gap));align-items:flex-start;gap:var(--header-gap);position:relative;z-index:1}.header,.title{display:flex;min-width:0}.title{align-items:stretch;flex-grow:1;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between}.label-action{--mds-button-line-clamp:var(--mds-tree-item-line-clamp);--padding:calc(var(--spacing,.0025rem)*100);background-color:var(--mds-tree-item-label-default-background);border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * calc(var(--spacing,.0025rem)*900));fill:var(--mds-tree-item-label-icon-default-color);flex-grow:1;justify-content:flex-start;margin-left:calc(var(--padding)*-1);padding-left:var(--padding);padding-right:var(--padding)}.label-action:hover{background-color:var(--mds-tree-item-label-hover-background);fill:var(--mds-tree-item-label-icon-hover-color)}.actions-container{--duration-300:.3s;--ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);interpolate-size:allow-keywords;align-items:center;display:none;justify-content:flex-start;min-width:0;overflow:hidden;transition-behavior:allow-discrete;transition-duration:var(--duration-300,.3s);transition-property:min-width,width,overflow;transition-timing-function:var(--ease);width:0}.actions-container--has-actions{display:flex}.actions{border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;flex-shrink:0;gap:var(--mds-tree-item-actions-gap);pointer-events:none;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:transform;transition-timing-function:var(--ease)}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions-container{pointer-events:auto}.header:focus-within .actions-container,.header:hover .actions-container,:host([resolved-actions=visible]) .actions-container{animation:toggleOverflow var(--duration-300,.3s) forwards;min-width:fit-content;width:fit-content}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions{transform:scale(1)}.children{--mds-tree-item-children-padding-left:calc(var(--mds-tree-item-toggle-size)/2 - var(--mds-tree-item-branch-border-size)/2);interpolate-size:allow-keywords;display:flex;flex-direction:column;height:0;overflow:clip;padding-left:var(--mds-tree-item-children-padding-left);position:relative;transform:translateY(calc(var(--mds-tree-item-toggle-size)/2*-1));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height,transform,visibility;transition-timing-function:var(--mds-tree-item-transition-timing-function);visibility:hidden;z-index:0}.children--expanded{animation:toggleOverflow var(--mds-tree-item-transition-duration) forwards;animation-timing-function:var(--mds-tree-item-transition-timing-function);display:flex;height:auto;transform:translateY(0);visibility:inherit}.children--empty,.children--hidden{display:none}@keyframes toggleOverflow{99.99%{overflow:hidden}to{overflow:visible}}@keyframes toggleDisplay{99.99%{display:flex}to{display:none}}.tree-node{--middle-pos-x:calc(50% - var(--mds-tree-item-branch-border-size)/2);align-items:center;box-sizing:border-box;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;pointer-events:none;position:relative;width:var(--mds-tree-item-toggle-size);z-index:0}.tree-branch{--pos-y:calc(calc(var(--mds-tree-item-toggle-size) / 2 + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)))) * -1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))) + var(--mds-tree-item-branch-border-size) / 2);--tree-width:calc(var(--mds-tree-item-toggle-size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--tree-height);inset:0;position:absolute;transform:translateY(var(--pos-y));width:calc(var(--mds-tree-item-toggle-size)/2);z-index:1}:host(:first-of-type) .tree-branch{--pos-y:calc(var(--mds-tree-item-toggle-size)/2*-1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-size)/2)}.tree-dot{--size:calc(var(--spacing,.0025rem)*300 + var(--mds-tree-item-branch-border-size)*2);background-color:var(--mds-tree-item-branch-border-color);border-radius:var(--size);display:none;height:var(--size);position:relative;width:var(--size)}.header--has-children .tree-dot{display:inline-flex}.header:not(.header--has-children) .tree-node .tree-branch{width:calc(var(--mds-tree-item-toggle-size) - var(--header-gap))}:host(:not(:last-of-type)) .header--has-children .tree-node:after{--size:calc(calc(var(--mds-tree-item-toggle-size) / 2) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))));--pos-y:calc(var(--size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;content:"";corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--size);inset:0;position:absolute;transform:translateY(var(--pos-y));width:var(--mds-tree-item-branch-border-size);z-index:1}:host(:not(:last-of-type)) .children--has-children:before{border-left:var(--mds-tree-item-branch-border-size) solid var(--mds-tree-item-branch-border-color);content:"";display:flex;height:calc(100% + var(--mds-tree-item-toggle-size));left:0;position:absolute;top:calc(var(--mds-tree-item-toggle-size)*-1)}.tree-dot:after{--pos-y:calc(var(--size)/2);background-color:var(--mds-tree-item-branch-border-color);box-sizing:border-box;content:"";display:inline-flex;height:calc(var(--size)/2);inset:0 50% 0 0;position:absolute;transform:translate(calc(var(--pos-y) - var(--mds-tree-item-branch-border-size)/2),var(--pos-y));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-branch-border-size);z-index:1}:host([expanded]) .tree-dot:after{height:calc(var(--size) + var(--mds-tree-item-branch-border-size))}:host([depth="0"]) .children--has-children .tree-branch,:host([depth="0"]) .children--has-children:before,:host([depth="0"]) .header--has-children .tree-node:after,:host([depth="0"]) .tree-node .tree-branch,:host([depth="0"]) .tree-node:before{display:none}.toggle-icon{align-items:center;align-self:center;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;margin-left:calc(var(--offset)*-1);position:relative;transform:rotate(0);transition-duration:var(--mds-tree-item-transition-duration);transition-property:transform;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-toggle-size);z-index:1}.toggle-icon mds-button{--size:calc(var(--spacing,.0025rem)*600);align-self:center;background-color:var(--mds-tree-item-icon-background-color);border:0;border-radius:var(--mds-tree-item-toggle-size);color:var(--mds-tree-item-icon-color);fill:var(--mds-tree-item-icon-color);height:var(--size);min-height:var(--size);min-width:var(--size);overflow:hidden;width:var(--size)}.toggle-icon mds-button[await]{background-color:var(--mds-tree-item-toggle-icon-async-background);color:var(--mds-tree-item-toggle-icon-async-color)}:host([toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color)}:host([expanded][toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-expanded-color)}:host([toggle=folder][toggle-position=left]) .toggle-icon mds-button{box-shadow:0 calc(var(--spacing,.0025rem)*25) 0 0 var(--mds-tree-item-branch-border-color)}:host([toggle=folder]) .toggle-icon mds-button{--size:auto;border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));padding:calc(var(--spacing,.0025rem)*25) calc(var(--spacing,.0025rem)*50)}:host([toggle=folder]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-default-color)}:host([toggle=folder][expanded]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-expanded-color)}:host([toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-default-color);background-color:#0000;order:1}:host([expanded][toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-expanded-color)}:host([expanded][toggle-position=left][toggle=chevron]) .toggle-icon{transform:rotate(90deg)}.header:not(.header--has-children) .toggle-icon{display:none}:host([toggle-position=left]) .toggle-icon{order:0}:host([toggle-position=right]) .header--has-children .title{margin-right:var(--offset)}:host([toggle-position=left][toggle=chevron][expanded]) .toggle-icon{transform:rotate(90deg)}:host([toggle-position=left][toggle=chevron]:not([expanded])) .toggle-icon{transform:rotate(0)}:host([toggle=chevron][toggle-position=right]) .toggle-icon{transform:rotate(90deg)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon{transform:rotate(270deg)}:host([toggle=chevron][toggle-position=right]) .toggle-icon--dot,:host([toggle=folder][toggle-position=right]) .toggle-icon--dot{transform:rotate(0)scale(.825)}:host([toggle=chevron][toggle-position=right]) .toggle-icon,:host([toggle=folder][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-default-color)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon,:host([toggle=folder][expanded][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-expanded-color)}:host([appearance=none]) .header{--offset:0;gap:0}:host([appearance=none]) .tree-dot,:host([appearance=none]) .tree-node,:host([appearance=none]:not(:last-of-type)) .children--has-children:before{display:none}:host([appearance=none]) .label-action{--padding:calc(var(--spacing,.0025rem)*200);margin-left:0;padding-left:var(--padding);padding-right:var(--padding)}:host([appearance=none][toggle-position=left]) .children{padding-left:calc(var(--header-gap)*2 + var(--mds-tree-item-branch-border-size) + var(--mds-tree-item-children-padding-left)*2)}:host([appearance=none][toggle-position=right]) .children{padding-left:var(--mds-tree-item-children-padding-left)}`;
45
45
 
46
46
  const MdsTreeItem = class {
47
47
  constructor(hostRef) {
@@ -9,7 +9,7 @@ const cssDurationToMilliseconds = (duration, defaultValue = 1000) => {
9
9
  }
10
10
  return defaultValue;
11
11
  };
12
- const cssDurationToSeconds = (duration, defaultValue = 1000) => {
12
+ const cssDurationToSeconds = (duration, defaultValue = 1) => {
13
13
  if (duration.includes('ms')) {
14
14
  return Number(duration.replace('ms', '')) / 1000;
15
15
  }
@@ -7,7 +7,7 @@ const cssDurationToMilliseconds = (duration, defaultValue = 1000) => {
7
7
  }
8
8
  return defaultValue;
9
9
  };
10
- const cssDurationToSeconds = (duration, defaultValue = 1000) => {
10
+ const cssDurationToSeconds = (duration, defaultValue = 1) => {
11
11
  if (duration.includes('ms')) {
12
12
  return Number(duration.replace('ms', '')) / 1000;
13
13
  }
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-accordion
8
8
 
9
- > `@maggioli-design-system/magma` 2.4.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.4.1. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-accordion>` web component is the compound container of the Magma Design System that groups and orchestrates a set of collapsible `<mds-accordion-item>` panels. It acts as the coordination layer that decides which children are selected.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-20T14:19:46",
2
+ "timestamp": "2026-10-21T15:26:40",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.45.2",
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-accordion-item
8
8
 
9
- > `@maggioli-design-system/magma` 2.4.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.4.1. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-accordion-item>` web component is a single collapsible panel of the Magma Design System, designed to be slotted inside its parent [`<mds-accordion>`](../mds-accordion/AGENTS.md). It renders a header button paired with an expandable content region; the parent controls which items are open.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-20T14:19:46",
2
+ "timestamp": "2026-10-21T15:26:40",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.45.2",
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-accordion-timer
8
8
 
9
- > `@maggioli-design-system/magma` 2.4.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.4.1. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-accordion-timer>` web component is the orchestrating parent of an auto-advancing accordion in the Magma Design System. It groups one or more `<mds-accordion-timer-item>` children, runs a timed progress cycle over them, and automatically opens the next item when the current one elapses - a behaviour with no native HTML primitive.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-20T14:19:46",
2
+ "timestamp": "2026-10-21T15:26:40",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.45.2",
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-accordion-timer-item
8
8
 
9
- > `@maggioli-design-system/magma` 2.4.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.4.1. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-accordion-timer-item>` web component is the single collapsible panel of a timed, auto-advancing accordion, designed to live exclusively inside its parent [`<mds-accordion-timer>`](../mds-accordion-timer/AGENTS.md). It renders a header button paired with a progress bar and a region that reveals the slotted content while the item is selected.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-20T14:19:46",
2
+ "timestamp": "2026-10-21T15:26:40",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.45.2",
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-author
8
8
 
9
- > `@maggioli-design-system/magma` 2.4.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.4.1. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-author>` web component is the layout primitive of the Magma Design System for presenting a person's identity: it pairs an avatar with author information (name, role, or any related details). It exposes no props and acts purely as a slotted container, arranging an optional `avatar` slot beside a default content slot.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-20T14:19:46",
2
+ "timestamp": "2026-10-21T15:26:40",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.45.2",
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-avatar
8
8
 
9
- > `@maggioli-design-system/magma` 2.4.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.4.1. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-avatar>` web component renders a compact, circular representation of a user or entity in the Magma Design System. It resolves a single visual from whichever input is provided - a profile image, textual initials, a numeric overflow count, or an icon - and falls back to a generic person glyph when nothing usable is supplied.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-20T14:19:46",
2
+ "timestamp": "2026-10-21T15:26:40",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.45.2",
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-avatar-stack
8
8
 
9
- > `@maggioli-design-system/magma` 2.4.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.4.1. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-avatar-stack>` web component groups a set of overlapping `<mds-avatar-stack-item>` children into a single horizontal cluster, the Magma Design System pattern for showing the people associated with an entity (assignees, participants, collaborators) in a compact, space-saving row.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-20T14:19:46",
2
+ "timestamp": "2026-10-21T15:26:40",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.45.2",
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-avatar-stack-item
8
8
 
9
- > `@maggioli-design-system/magma` 2.4.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.4.1. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-avatar-stack-item>` web component is a compound child that represents a single avatar inside an [`<mds-avatar-stack>`](../mds-avatar-stack/AGENTS.md), wrapping an internal `<mds-avatar>` so individual avatars can be overlapped, sized, and counted as a group rather than rendered standalone.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-20T14:19:46",
2
+ "timestamp": "2026-10-21T15:26:40",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.45.2",