@maggioli-design-system/magma 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1389) hide show
  1. package/AGENTS.md +25 -10
  2. package/CHANGELOG.md +475 -0
  3. package/README.md +5 -2
  4. package/agents/assets.md +231 -28
  5. package/agents/color.md +5 -3
  6. package/agents/components.md +3 -3
  7. package/agents/install.md +8 -4
  8. package/agents/reporting.md +11 -2
  9. package/agents/theming.md +15 -0
  10. package/dist/cjs/_commonjsHelpers-CFO10eej.js +7 -0
  11. package/dist/cjs/{floating-controller-uOCBLTk2.js → floating-controller-D7Ekjocg.js} +18 -4
  12. package/dist/cjs/{floating-ui.dom-DflSHZIo.js → floating-ui.dom-EMHL7uyZ.js} +146 -94
  13. package/dist/cjs/icon-MMHcqbgv.js +20 -0
  14. package/dist/cjs/index-UmmmCMIG.js +40 -40
  15. package/dist/cjs/loader.cjs.js +1 -1
  16. package/dist/cjs/magma-components.cjs.js +1 -1
  17. package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
  21. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
  24. package/dist/cjs/mds-badge.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
  26. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
  28. package/dist/cjs/mds-breadcrumb.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-button-dropdown.cjs.entry.js +30 -2
  30. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  31. package/dist/cjs/mds-button_3.cjs.entry.js +55 -40
  32. package/dist/cjs/mds-calendar_2.cjs.entry.js +60 -7
  33. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
  37. package/dist/cjs/mds-card.cjs.entry.js +2 -2
  38. package/dist/cjs/mds-details.cjs.entry.js +2 -2
  39. package/dist/cjs/mds-dropdown.cjs.entry.js +5 -5
  40. package/dist/cjs/mds-emoji.cjs.entry.js +2 -2
  41. package/dist/cjs/mds-entity.cjs.entry.js +2 -2
  42. package/dist/cjs/mds-file-preview.cjs.entry.js +3 -3
  43. package/dist/cjs/mds-file.cjs.entry.js +29 -7520
  44. package/dist/cjs/mds-filter-item.cjs.entry.js +89 -3
  45. package/dist/cjs/mds-filter.cjs.entry.js +113 -19
  46. package/dist/cjs/mds-header-bar.cjs.entry.js +29 -2
  47. package/dist/cjs/mds-header.cjs.entry.js +2 -2
  48. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +38 -2
  49. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  50. package/dist/cjs/mds-img.cjs.entry.js +1 -1
  51. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
  52. package/dist/cjs/mds-input-date-range.cjs.entry.js +16 -2
  53. package/dist/cjs/mds-input-date.cjs.entry.js +36 -4
  54. package/dist/cjs/mds-input-field.cjs.entry.js +2 -2
  55. package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
  56. package/dist/cjs/mds-input-range.cjs.entry.js +2 -2
  57. package/dist/cjs/mds-input-select.cjs.entry.js +32 -5
  58. package/dist/cjs/mds-input-switch_2.cjs.entry.js +21 -8
  59. package/dist/cjs/mds-input-tip_2.cjs.entry.js +5 -5
  60. package/dist/cjs/mds-input-upload.cjs.entry.js +6 -6
  61. package/dist/cjs/mds-input.cjs.entry.js +12 -3
  62. package/dist/cjs/mds-keyboard-key.cjs.entry.js +2 -2
  63. package/dist/cjs/mds-keyboard.cjs.entry.js +2 -2
  64. package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
  65. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  66. package/dist/cjs/mds-label.cjs.entry.js +1 -1
  67. package/dist/cjs/mds-list-item.cjs.entry.js +2 -3
  68. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  69. package/dist/cjs/mds-mention.cjs.entry.js +2 -2
  70. package/dist/cjs/mds-modal.cjs.entry.js +32 -5
  71. package/dist/cjs/mds-note.cjs.entry.js +2 -2
  72. package/dist/cjs/mds-notification.cjs.entry.js +3 -3
  73. package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
  74. package/dist/cjs/mds-paginator.cjs.entry.js +2 -2
  75. package/dist/cjs/mds-policy-ai.cjs.entry.js +2 -2
  76. package/dist/cjs/mds-pref-animation.cjs.entry.js +2 -2
  77. package/dist/cjs/mds-pref-consumption.cjs.entry.js +2 -2
  78. package/dist/cjs/mds-pref-contrast.cjs.entry.js +2 -2
  79. package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
  80. package/dist/cjs/mds-pref-language.cjs.entry.js +2 -2
  81. package/dist/cjs/mds-pref-mode.cjs.entry.js +3 -3
  82. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
  83. package/dist/cjs/mds-pref-theme.cjs.entry.js +29 -2
  84. package/dist/cjs/mds-pref.cjs.entry.js +24 -53
  85. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +2 -2
  86. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +2 -2
  87. package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
  88. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  89. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
  90. package/dist/cjs/mds-price-table-list.cjs.entry.js +2 -2
  91. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  92. package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
  93. package/dist/cjs/mds-push-notification-item.cjs.entry.js +4 -4
  94. package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
  95. package/dist/cjs/mds-quote.cjs.entry.js +2 -2
  96. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
  97. package/dist/cjs/mds-radial-menu.cjs.entry.js +40 -4
  98. package/dist/cjs/mds-separator.cjs.entry.js +2 -2
  99. package/dist/cjs/mds-status-bar.cjs.entry.js +2 -2
  100. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +2 -2
  101. package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
  102. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +2 -2
  103. package/dist/cjs/mds-tab-bar.cjs.entry.js +2 -2
  104. package/dist/cjs/mds-tab_2.cjs.entry.js +20 -7
  105. package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
  106. package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
  107. package/dist/cjs/mds-table-header-cell.cjs.entry.js +116 -77
  108. package/dist/cjs/mds-table-header.cjs.entry.js +2 -2
  109. package/dist/cjs/mds-table-row.cjs.entry.js +3 -3
  110. package/dist/cjs/mds-table.cjs.entry.js +9 -2
  111. package/dist/cjs/mds-text.cjs.entry.js +37 -27
  112. package/dist/cjs/mds-toast.cjs.entry.js +2 -2
  113. package/dist/cjs/mds-tooltip.cjs.entry.js +17 -4
  114. package/dist/cjs/mds-tree-item.cjs.entry.js +2 -2
  115. package/dist/cjs/mds-tree.cjs.entry.js +2 -2
  116. package/dist/cjs/mds-url-view.cjs.entry.js +2 -2
  117. package/dist/cjs/mds-usage.cjs.entry.js +23 -4
  118. package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
  119. package/dist/cjs/mds-zero.cjs.entry.js +2 -2
  120. package/dist/cjs/string-RoXIuD3q.js +7 -0
  121. package/dist/collection/common/floating-controller.js +17 -3
  122. package/dist/collection/common/hash.js +15 -0
  123. package/dist/collection/common/string.js +3 -1
  124. package/dist/collection/common/yugop/random-text.js +5 -0
  125. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  126. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  127. package/dist/collection/components/mds-accordion/mds-accordion.css +5 -5
  128. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  129. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  130. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +11 -11
  131. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  133. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -2
  134. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  135. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  136. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +6 -6
  137. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-author/documentation.json +2 -2
  139. package/dist/collection/components/mds-author/mds-author.css +2 -1
  140. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  141. package/dist/collection/components/mds-avatar/documentation.json +2 -2
  142. package/dist/collection/components/mds-avatar/mds-avatar.css +18 -17
  143. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  144. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  145. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +3 -3
  146. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  147. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  148. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +6 -6
  149. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  150. package/dist/collection/components/mds-badge/documentation.json +1 -1
  151. package/dist/collection/components/mds-badge/mds-badge.css +13 -13
  152. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  153. package/dist/collection/components/mds-banner/documentation.json +1 -1
  154. package/dist/collection/components/mds-banner/mds-banner.css +56 -56
  155. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  156. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  157. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  158. package/dist/collection/components/mds-bibliography/documentation.json +2 -2
  159. package/dist/collection/components/mds-bibliography/mds-bibliography.css +8 -6
  160. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  161. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  162. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -6
  163. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  164. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  165. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +14 -13
  166. package/dist/collection/components/mds-button/AGENTS.md +2 -2
  167. package/dist/collection/components/mds-button/antipattern.md +1 -1
  168. package/dist/collection/components/mds-button/documentation.json +4 -4
  169. package/dist/collection/components/mds-button/mds-button.css +226 -417
  170. package/dist/collection/components/mds-button/mds-button.js +47 -18
  171. package/dist/collection/components/mds-button/pattern.md +7 -0
  172. package/dist/collection/components/mds-button-dropdown/AGENTS.md +2 -2
  173. package/dist/collection/components/mds-button-dropdown/documentation.json +2 -2
  174. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +10 -10
  175. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +12 -1
  176. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  177. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  178. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  179. package/dist/collection/components/mds-calendar/AGENTS.md +2 -2
  180. package/dist/collection/components/mds-calendar/documentation.json +2 -2
  181. package/dist/collection/components/mds-calendar/mds-calendar.css +5 -5
  182. package/dist/collection/components/mds-calendar/mds-calendar.js +17 -4
  183. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  184. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  185. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +58 -58
  186. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  187. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  188. package/dist/collection/components/mds-card/documentation.json +1 -1
  189. package/dist/collection/components/mds-card/mds-card.css +2 -2
  190. package/dist/collection/components/mds-card/mds-card.js +1 -1
  191. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  192. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  193. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  194. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  195. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  196. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  197. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  198. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  199. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  200. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  201. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  202. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  203. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  204. package/dist/collection/components/mds-chip/documentation.json +1 -1
  205. package/dist/collection/components/mds-chip/mds-chip.css +90 -90
  206. package/dist/collection/components/mds-chip/mds-chip.js +2 -2
  207. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  208. package/dist/collection/components/mds-details/documentation.json +1 -1
  209. package/dist/collection/components/mds-details/mds-details.css +6 -6
  210. package/dist/collection/components/mds-details/mds-details.js +1 -1
  211. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  212. package/dist/collection/components/mds-dropdown/documentation.json +2 -2
  213. package/dist/collection/components/mds-dropdown/mds-dropdown.css +26 -26
  214. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  215. package/dist/collection/components/mds-emoji/AGENTS.md +2 -2
  216. package/dist/collection/components/mds-emoji/documentation.json +3 -3
  217. package/dist/collection/components/mds-emoji/mds-emoji.css +5 -5
  218. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  219. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  220. package/dist/collection/components/mds-entity/documentation.json +1 -1
  221. package/dist/collection/components/mds-entity/mds-entity.css +8 -8
  222. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  223. package/dist/collection/components/mds-file/AGENTS.md +2 -2
  224. package/dist/collection/components/mds-file/documentation.json +3 -3
  225. package/dist/collection/components/mds-file/mds-file.css +13 -13
  226. package/dist/collection/components/mds-file/mds-file.js +15 -9
  227. package/dist/collection/components/mds-file/pattern.md +1 -1
  228. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  229. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  230. package/dist/collection/components/mds-file-preview/mds-file-preview.css +21 -21
  231. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  232. package/dist/collection/components/mds-filter/AGENTS.md +5 -3
  233. package/dist/collection/components/mds-filter/documentation.json +3 -3
  234. package/dist/collection/components/mds-filter/mds-filter.css +16 -16
  235. package/dist/collection/components/mds-filter/mds-filter.js +97 -19
  236. package/dist/collection/components/mds-filter/pattern.md +34 -4
  237. package/dist/collection/components/mds-filter-item/AGENTS.md +9 -8
  238. package/dist/collection/components/mds-filter-item/documentation.json +4 -4
  239. package/dist/collection/components/mds-filter-item/mds-filter-item.css +27 -17
  240. package/dist/collection/components/mds-filter-item/mds-filter-item.js +65 -3
  241. package/dist/collection/components/mds-filter-item/pattern.md +5 -5
  242. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  243. package/dist/collection/components/mds-header/documentation.json +1 -1
  244. package/dist/collection/components/mds-header/mds-header.css +21 -13
  245. package/dist/collection/components/mds-header/mds-header.js +1 -1
  246. package/dist/collection/components/mds-header-bar/AGENTS.md +2 -2
  247. package/dist/collection/components/mds-header-bar/documentation.json +2 -2
  248. package/dist/collection/components/mds-header-bar/mds-header-bar.css +5 -5
  249. package/dist/collection/components/mds-header-bar/mds-header-bar.js +12 -1
  250. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  251. package/dist/collection/components/mds-help/documentation.json +2 -2
  252. package/dist/collection/components/mds-help/mds-help.css +1 -1
  253. package/dist/collection/components/mds-help/mds-help.js +1 -1
  254. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +2 -2
  255. package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
  256. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +10 -10
  257. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +12 -1
  258. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  259. package/dist/collection/components/mds-hr/documentation.json +1 -1
  260. package/dist/collection/components/mds-hr/mds-hr.css +1 -1
  261. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  262. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  263. package/dist/collection/components/mds-icon/documentation.json +2 -2
  264. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  265. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  266. package/dist/collection/components/mds-img/documentation.json +1 -1
  267. package/dist/collection/components/mds-img/mds-img.css +6 -6
  268. package/dist/collection/components/mds-input/AGENTS.md +3 -1
  269. package/dist/collection/components/mds-input/documentation.json +52 -4
  270. package/dist/collection/components/mds-input/mds-input.css +133 -62
  271. package/dist/collection/components/mds-input/mds-input.js +38 -2
  272. package/dist/collection/components/mds-input/pattern.md +15 -0
  273. package/dist/collection/components/mds-input-date/AGENTS.md +5 -2
  274. package/dist/collection/components/mds-input-date/documentation.json +50 -2
  275. package/dist/collection/components/mds-input-date/mds-input-date.css +52 -26
  276. package/dist/collection/components/mds-input-date/mds-input-date.js +46 -2
  277. package/dist/collection/components/mds-input-date-range/AGENTS.md +4 -2
  278. package/dist/collection/components/mds-input-date-range/documentation.json +50 -2
  279. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +51 -25
  280. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +34 -1
  281. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  282. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  283. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +18 -18
  284. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  285. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  286. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  287. package/dist/collection/components/mds-input-field/mds-input-field.css +7 -7
  288. package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
  289. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  290. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  291. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  292. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  293. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  294. package/dist/collection/components/mds-input-range/mds-input-range.css +13 -12
  295. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  296. package/dist/collection/components/mds-input-select/AGENTS.md +7 -4
  297. package/dist/collection/components/mds-input-select/documentation.json +58 -7
  298. package/dist/collection/components/mds-input-select/mds-input-select.css +103 -29
  299. package/dist/collection/components/mds-input-select/mds-input-select.js +61 -7
  300. package/dist/collection/components/mds-input-select/pattern.md +3 -3
  301. package/dist/collection/components/mds-input-switch/AGENTS.md +2 -2
  302. package/dist/collection/components/mds-input-switch/documentation.json +2 -2
  303. package/dist/collection/components/mds-input-switch/mds-input-switch.css +86 -65
  304. package/dist/collection/components/mds-input-switch/mds-input-switch.js +19 -6
  305. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  306. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  307. package/dist/collection/components/mds-input-tip/mds-input-tip.css +1 -1
  308. package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
  309. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  310. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  311. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +21 -20
  312. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  313. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  314. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  315. package/dist/collection/components/mds-input-upload/mds-input-upload.css +13 -12
  316. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  317. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  318. package/dist/collection/components/mds-keyboard/documentation.json +1 -1
  319. package/dist/collection/components/mds-keyboard/mds-keyboard.css +4 -3
  320. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  321. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  322. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  323. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -1
  324. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  325. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  326. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  327. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  328. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  329. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  330. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +13 -13
  331. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  332. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  333. package/dist/collection/components/mds-label/documentation.json +1 -1
  334. package/dist/collection/components/mds-label/mds-label.css +12 -12
  335. package/dist/collection/components/mds-list/AGENTS.md +2 -2
  336. package/dist/collection/components/mds-list/documentation.json +2 -2
  337. package/dist/collection/components/mds-list/mds-list.js +1 -1
  338. package/dist/collection/components/mds-list-item/AGENTS.md +2 -1
  339. package/dist/collection/components/mds-list-item/documentation.json +3 -3
  340. package/dist/collection/components/mds-list-item/mds-list-item.css +0 -18
  341. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -2
  342. package/dist/collection/components/mds-list-item/pattern.md +11 -0
  343. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  344. package/dist/collection/components/mds-mention/documentation.json +1 -1
  345. package/dist/collection/components/mds-mention/mds-mention.css +2 -2
  346. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  347. package/dist/collection/components/mds-modal/AGENTS.md +2 -2
  348. package/dist/collection/components/mds-modal/documentation.json +2 -2
  349. package/dist/collection/components/mds-modal/mds-modal.css +5 -5
  350. package/dist/collection/components/mds-modal/mds-modal.js +14 -3
  351. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  352. package/dist/collection/components/mds-note/documentation.json +1 -1
  353. package/dist/collection/components/mds-note/mds-note.css +3 -3
  354. package/dist/collection/components/mds-note/mds-note.js +1 -1
  355. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  356. package/dist/collection/components/mds-notification/documentation.json +2 -2
  357. package/dist/collection/components/mds-notification/mds-notification.css +4 -4
  358. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  359. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  360. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  361. package/dist/collection/components/mds-paginator/mds-paginator.css +6 -6
  362. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  363. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  364. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  365. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +31 -30
  366. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  367. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  368. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  369. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +8 -8
  370. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  371. package/dist/collection/components/mds-pref/AGENTS.md +2 -2
  372. package/dist/collection/components/mds-pref/documentation.json +14 -3
  373. package/dist/collection/components/mds-pref/mds-pref.js +39 -53
  374. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  375. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  376. package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +7 -7
  377. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  378. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  379. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  380. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +4 -4
  381. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  382. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  383. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  384. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +5 -5
  385. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  386. package/dist/collection/components/mds-pref-language/AGENTS.md +3 -3
  387. package/dist/collection/components/mds-pref-language/documentation.json +2 -2
  388. package/dist/collection/components/mds-pref-language/mds-pref-language.css +10 -2
  389. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  390. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  391. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  392. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  393. package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -3
  394. package/dist/collection/components/mds-pref-mode/documentation.json +2 -2
  395. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +5 -5
  396. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +2 -2
  397. package/dist/collection/components/mds-pref-theme/AGENTS.md +4 -3
  398. package/dist/collection/components/mds-pref-theme/documentation.json +2 -2
  399. package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +10 -2
  400. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +29 -2
  401. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  402. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  403. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +10 -9
  404. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +3 -2
  405. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  406. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  407. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  408. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  409. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  410. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +2 -2
  411. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  412. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  413. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  414. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +11 -11
  415. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  416. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  417. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  418. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +12 -12
  419. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  420. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  421. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  422. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  423. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  424. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  425. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +8 -8
  426. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  427. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  428. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  429. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +2 -2
  430. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  431. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  432. package/dist/collection/components/mds-progress/documentation.json +1 -1
  433. package/dist/collection/components/mds-progress/mds-progress.css +20 -20
  434. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  435. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  436. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  437. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  438. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  439. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  440. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +16 -16
  441. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  442. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  443. package/dist/collection/components/mds-quote/documentation.json +1 -1
  444. package/dist/collection/components/mds-quote/mds-quote.css +6 -4
  445. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  446. package/dist/collection/components/mds-radial-menu/AGENTS.md +2 -2
  447. package/dist/collection/components/mds-radial-menu/documentation.json +2 -2
  448. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +5 -3
  449. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +12 -1
  450. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  451. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  452. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  453. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  454. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  455. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +15 -15
  456. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  457. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  458. package/dist/collection/components/mds-separator/documentation.json +1 -1
  459. package/dist/collection/components/mds-separator/mds-separator.css +2 -2
  460. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  461. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  462. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  463. package/dist/collection/components/mds-spinner/mds-spinner.css +3 -3
  464. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  465. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  466. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  467. package/dist/collection/components/mds-status-bar/mds-status-bar.css +7 -6
  468. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  469. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  470. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  471. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +6 -6
  472. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  473. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  474. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  475. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +15 -15
  476. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  477. package/dist/collection/components/mds-tab/AGENTS.md +2 -2
  478. package/dist/collection/components/mds-tab/documentation.json +2 -2
  479. package/dist/collection/components/mds-tab/mds-tab.css +51 -23
  480. package/dist/collection/components/mds-tab/mds-tab.js +18 -4
  481. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  482. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  483. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +1 -1
  484. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  485. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  486. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  487. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +14 -14
  488. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  489. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  490. package/dist/collection/components/mds-tab-item/documentation.json +1 -1
  491. package/dist/collection/components/mds-tab-item/mds-tab-item.css +2 -2
  492. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  493. package/dist/collection/components/mds-table/AGENTS.md +4 -2
  494. package/dist/collection/components/mds-table/documentation.json +48 -4
  495. package/dist/collection/components/mds-table/mds-table.css +33 -22
  496. package/dist/collection/components/mds-table/mds-table.js +35 -1
  497. package/dist/collection/components/mds-table/pattern.md +30 -0
  498. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  499. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  500. package/dist/collection/components/mds-table-body/mds-table-body.css +8 -8
  501. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  502. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  503. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  504. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  505. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  506. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  507. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  508. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  509. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  510. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  511. package/dist/collection/components/mds-table-header-cell/AGENTS.md +14 -5
  512. package/dist/collection/components/mds-table-header-cell/antipattern.md +17 -10
  513. package/dist/collection/components/mds-table-header-cell/documentation.json +54 -6
  514. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +159 -82
  515. package/dist/collection/components/mds-table-header-cell/meta/event-detail.js +1 -0
  516. package/dist/collection/components/mds-table-header-cell/pattern.md +27 -6
  517. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  518. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  519. package/dist/collection/components/mds-table-row/mds-table-row.css +12 -12
  520. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  521. package/dist/collection/components/mds-text/AGENTS.md +3 -3
  522. package/dist/collection/components/mds-text/documentation.json +2 -2
  523. package/dist/collection/components/mds-text/mds-text.css +3 -3
  524. package/dist/collection/components/mds-text/mds-text.js +31 -26
  525. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  526. package/dist/collection/components/mds-toast/documentation.json +1 -1
  527. package/dist/collection/components/mds-toast/mds-toast.css +18 -18
  528. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  529. package/dist/collection/components/mds-tooltip/AGENTS.md +4 -2
  530. package/dist/collection/components/mds-tooltip/antipattern.md +14 -0
  531. package/dist/collection/components/mds-tooltip/documentation.json +46 -5
  532. package/dist/collection/components/mds-tooltip/mds-tooltip.css +10 -10
  533. package/dist/collection/components/mds-tooltip/mds-tooltip.js +41 -1
  534. package/dist/collection/components/mds-tooltip/pattern.md +9 -0
  535. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  536. package/dist/collection/components/mds-tree/documentation.json +1 -1
  537. package/dist/collection/components/mds-tree/mds-tree.css +13 -13
  538. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  539. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  540. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  541. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  542. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  543. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  544. package/dist/collection/components/mds-url-view/mds-url-view.css +7 -7
  545. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  546. package/dist/collection/components/mds-usage/AGENTS.md +5 -3
  547. package/dist/collection/components/mds-usage/antipattern.md +17 -1
  548. package/dist/collection/components/mds-usage/documentation.json +31 -5
  549. package/dist/collection/components/mds-usage/mds-usage.css +6 -6
  550. package/dist/collection/components/mds-usage/mds-usage.js +26 -4
  551. package/dist/collection/components/mds-usage/meta/variants.js +14 -18
  552. package/dist/collection/components/mds-usage/pattern.md +10 -0
  553. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  554. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  555. package/dist/collection/components/mds-video-wall/mds-video-wall.css +3 -3
  556. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  557. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  558. package/dist/collection/components/mds-zero/documentation.json +1 -1
  559. package/dist/collection/components/mds-zero/mds-zero.css +3 -3
  560. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  561. package/dist/collection/type/floating-ui.js +1 -0
  562. package/dist/collection/type/input.js +2 -0
  563. package/dist/components/index.js +1 -1
  564. package/dist/components/mds-accordion-item.js +1 -1
  565. package/dist/components/mds-accordion-timer-item.js +1 -1
  566. package/dist/components/mds-accordion-timer.js +1 -1
  567. package/dist/components/mds-accordion.js +1 -1
  568. package/dist/components/mds-avatar-stack-item.js +1 -1
  569. package/dist/components/mds-avatar-stack.js +1 -1
  570. package/dist/components/mds-avatar.js +1 -1
  571. package/dist/components/mds-badge.js +1 -1
  572. package/dist/components/mds-banner.js +1 -1
  573. package/dist/components/mds-benchmark-bar.js +1 -1
  574. package/dist/components/mds-bibliography.js +1 -1
  575. package/dist/components/mds-breadcrumb-item.js +1 -1
  576. package/dist/components/mds-breadcrumb.js +1 -1
  577. package/dist/components/mds-button-dropdown.js +1 -1
  578. package/dist/components/mds-button-group.js +1 -1
  579. package/dist/components/mds-button.js +1 -1
  580. package/dist/components/mds-calendar-cell.js +1 -1
  581. package/dist/components/mds-calendar.js +1 -1
  582. package/dist/components/mds-card-content.js +1 -1
  583. package/dist/components/mds-card-footer.js +1 -1
  584. package/dist/components/mds-card-header.js +1 -1
  585. package/dist/components/mds-card-media.js +1 -1
  586. package/dist/components/mds-card.js +1 -1
  587. package/dist/components/mds-chip.js +1 -1
  588. package/dist/components/mds-details.js +1 -1
  589. package/dist/components/mds-dropdown.js +1 -1
  590. package/dist/components/mds-emoji.js +2 -2
  591. package/dist/components/mds-entity.js +1 -1
  592. package/dist/components/mds-file-preview.js +1 -1
  593. package/dist/components/mds-file.js +1 -18
  594. package/dist/components/mds-filter-item.js +1 -1
  595. package/dist/components/mds-filter.js +1 -1
  596. package/dist/components/mds-header-bar.js +1 -1
  597. package/dist/components/mds-header.js +1 -1
  598. package/dist/components/mds-help.js +1 -1
  599. package/dist/components/mds-horizontal-scroll.js +1 -1
  600. package/dist/components/mds-hr.js +1 -1
  601. package/dist/components/mds-icon.js +1 -1
  602. package/dist/components/mds-img.js +1 -1
  603. package/dist/components/mds-input-date-range-preselection.js +1 -1
  604. package/dist/components/mds-input-date-range.js +1 -1
  605. package/dist/components/mds-input-date.js +1 -1
  606. package/dist/components/mds-input-field.js +1 -1
  607. package/dist/components/mds-input-otp.js +1 -1
  608. package/dist/components/mds-input-range.js +1 -1
  609. package/dist/components/mds-input-select.js +1 -1
  610. package/dist/components/mds-input-switch.js +1 -1
  611. package/dist/components/mds-input-tip-item.js +1 -1
  612. package/dist/components/mds-input-tip.js +1 -1
  613. package/dist/components/mds-input-upload.js +1 -1
  614. package/dist/components/mds-input.js +1 -1
  615. package/dist/components/mds-keyboard-key.js +1 -1
  616. package/dist/components/mds-keyboard.js +1 -1
  617. package/dist/components/mds-kpi-item.js +1 -1
  618. package/dist/components/mds-kpi.js +1 -1
  619. package/dist/components/mds-label.js +1 -1
  620. package/dist/components/mds-list-item.js +1 -1
  621. package/dist/components/mds-list.js +1 -1
  622. package/dist/components/mds-mention.js +1 -1
  623. package/dist/components/mds-modal.js +1 -1
  624. package/dist/components/mds-note.js +1 -1
  625. package/dist/components/mds-notification.js +1 -1
  626. package/dist/components/mds-paginator-item.js +1 -1
  627. package/dist/components/mds-paginator.js +1 -1
  628. package/dist/components/mds-policy-ai.js +1 -1
  629. package/dist/components/mds-pref-animation.js +1 -1
  630. package/dist/components/mds-pref-consumption.js +1 -1
  631. package/dist/components/mds-pref-contrast.js +1 -1
  632. package/dist/components/mds-pref-language-item.js +1 -1
  633. package/dist/components/mds-pref-language.js +1 -1
  634. package/dist/components/mds-pref-mode.js +1 -1
  635. package/dist/components/mds-pref-theme-item.js +1 -1
  636. package/dist/components/mds-pref-theme.js +1 -1
  637. package/dist/components/mds-pref.js +1 -1
  638. package/dist/components/mds-price-table-features-cell.js +1 -1
  639. package/dist/components/mds-price-table-features-row.js +1 -1
  640. package/dist/components/mds-price-table-features.js +1 -1
  641. package/dist/components/mds-price-table-header.js +1 -1
  642. package/dist/components/mds-price-table-list-item.js +1 -1
  643. package/dist/components/mds-price-table-list.js +1 -1
  644. package/dist/components/mds-price-table.js +1 -1
  645. package/dist/components/mds-progress.js +1 -1
  646. package/dist/components/mds-push-notification-item.js +1 -1
  647. package/dist/components/mds-push-notification.js +1 -1
  648. package/dist/components/mds-quote.js +1 -1
  649. package/dist/components/mds-radial-menu-item.js +1 -1
  650. package/dist/components/mds-radial-menu.js +1 -1
  651. package/dist/components/mds-radial-progress.js +1 -1
  652. package/dist/components/mds-separator.js +1 -1
  653. package/dist/components/mds-spinner.js +1 -1
  654. package/dist/components/mds-status-bar.js +1 -1
  655. package/dist/components/mds-stepper-bar-item.js +1 -1
  656. package/dist/components/mds-stepper-bar.js +1 -1
  657. package/dist/components/mds-tab-bar-item.js +1 -1
  658. package/dist/components/mds-tab-bar.js +1 -1
  659. package/dist/components/mds-tab-item.js +1 -1
  660. package/dist/components/mds-tab.js +1 -1
  661. package/dist/components/mds-table-body.js +1 -1
  662. package/dist/components/mds-table-cell.js +1 -1
  663. package/dist/components/mds-table-footer.js +1 -1
  664. package/dist/components/mds-table-header-cell.js +1 -1
  665. package/dist/components/mds-table-header.js +1 -1
  666. package/dist/components/mds-table-row.js +1 -1
  667. package/dist/components/mds-table.js +1 -1
  668. package/dist/components/mds-text.js +1 -1
  669. package/dist/components/mds-toast.js +1 -1
  670. package/dist/components/mds-tooltip.js +1 -1
  671. package/dist/components/mds-tree-item.js +1 -1
  672. package/dist/components/mds-tree.js +1 -1
  673. package/dist/components/mds-url-view.js +1 -1
  674. package/dist/components/mds-usage.js +1 -1
  675. package/dist/components/mds-video-wall.js +1 -1
  676. package/dist/components/mds-zero.js +1 -1
  677. package/dist/components/p--5KZXaZp.js +1 -0
  678. package/dist/components/p--OCrgFeE.js +1 -0
  679. package/dist/components/p-6LGfUDQ4.js +1 -0
  680. package/dist/components/p-6pgPWpGI.js +1 -0
  681. package/dist/components/p-B8BWxSho.js +1 -0
  682. package/dist/components/p-B9uIL9KO.js +1 -0
  683. package/dist/components/p-BBDliSai.js +1 -0
  684. package/dist/components/p-BCwcnHFh.js +1 -0
  685. package/dist/components/p-BRf-u585.js +1 -0
  686. package/dist/components/p-BSeokAdy.js +1 -0
  687. package/dist/components/p-BXUJgu8l.js +1 -0
  688. package/dist/components/p-BXYUyw7p.js +1 -0
  689. package/dist/components/{p-s2Gu6hY7.js → p-BcUY-9n7.js} +1 -1
  690. package/dist/components/p-BfgJ-hHQ.js +1 -0
  691. package/dist/components/p-CIfGjW_Z.js +1 -0
  692. package/dist/components/p-CMp9rP7L.js +1 -0
  693. package/dist/components/p-CUmJoPAI.js +1 -0
  694. package/dist/components/p-CZjHixVB.js +1 -0
  695. package/dist/components/p-Ck0q_n7I.js +1 -0
  696. package/dist/components/p-CrCa_6a1.js +8 -0
  697. package/dist/components/p-Cv7lqHIc.js +1 -0
  698. package/dist/components/p-Cw6_ooFx.js +1 -0
  699. package/dist/components/p-DGYRngAi.js +1 -0
  700. package/dist/components/p-DHu8X7zF.js +1 -0
  701. package/dist/components/{p-C7EyV0z3.js → p-DLCcW1Q5.js} +1 -1
  702. package/dist/components/p-DOzcuSrZ.js +1 -0
  703. package/dist/components/{p-BHJDW5JC.js → p-DZPHWQtD.js} +1 -1
  704. package/dist/components/p-DlRjt7nE.js +1 -0
  705. package/dist/components/{p-Bv2IVRzI.js → p-DmPLOktp.js} +1 -1
  706. package/dist/components/p-HSM_x8fD.js +1 -0
  707. package/dist/components/p-JMPfVnGv.js +1 -0
  708. package/dist/components/p-ay5NzZ_x.js +1 -0
  709. package/dist/components/p-lNY_3s6S.js +1 -0
  710. package/dist/components/p-qYRtWYC8.js +1 -0
  711. package/dist/documentation.json +460 -75
  712. package/dist/esm/_commonjsHelpers-B85MJLTf.js +5 -0
  713. package/dist/esm/{floating-controller-BTYkH_Ih.js → floating-controller-D5-8D9mH.js} +18 -4
  714. package/dist/esm/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-JMPfVnGv.js} +146 -94
  715. package/dist/esm/icon-pNJmnrhq.js +16 -0
  716. package/dist/esm/index-BxPbQB28.js +40 -40
  717. package/dist/esm/loader.js +1 -1
  718. package/dist/esm/magma-components.js +1 -1
  719. package/dist/esm/mds-accordion-item.entry.js +1 -1
  720. package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
  721. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  722. package/dist/esm/mds-accordion.entry.js +1 -1
  723. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  724. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  725. package/dist/esm/mds-avatar.entry.js +2 -2
  726. package/dist/esm/mds-badge.entry.js +1 -1
  727. package/dist/esm/mds-banner_3.entry.js +6 -6
  728. package/dist/esm/mds-bibliography.entry.js +1 -1
  729. package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
  730. package/dist/esm/mds-breadcrumb.entry.js +1 -1
  731. package/dist/esm/mds-button-dropdown.entry.js +30 -2
  732. package/dist/esm/mds-button-group.entry.js +1 -1
  733. package/dist/esm/mds-button_3.entry.js +52 -37
  734. package/dist/esm/mds-calendar_2.entry.js +60 -7
  735. package/dist/esm/mds-card-content.entry.js +1 -1
  736. package/dist/esm/mds-card-footer.entry.js +1 -1
  737. package/dist/esm/mds-card-header.entry.js +1 -1
  738. package/dist/esm/mds-card-media.entry.js +2 -2
  739. package/dist/esm/mds-card.entry.js +2 -2
  740. package/dist/esm/mds-details.entry.js +2 -2
  741. package/dist/esm/mds-dropdown.entry.js +5 -5
  742. package/dist/esm/mds-emoji.entry.js +2 -2
  743. package/dist/esm/mds-entity.entry.js +2 -2
  744. package/dist/esm/mds-file-preview.entry.js +3 -3
  745. package/dist/esm/mds-file.entry.js +30 -7521
  746. package/dist/esm/mds-filter-item.entry.js +89 -3
  747. package/dist/esm/mds-filter.entry.js +114 -20
  748. package/dist/esm/mds-header-bar.entry.js +29 -2
  749. package/dist/esm/mds-header.entry.js +2 -2
  750. package/dist/esm/mds-horizontal-scroll.entry.js +38 -2
  751. package/dist/esm/mds-hr.entry.js +2 -2
  752. package/dist/esm/mds-img.entry.js +1 -1
  753. package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
  754. package/dist/esm/mds-input-date-range.entry.js +16 -2
  755. package/dist/esm/mds-input-date.entry.js +36 -4
  756. package/dist/esm/mds-input-field.entry.js +2 -2
  757. package/dist/esm/mds-input-otp.entry.js +1 -1
  758. package/dist/esm/mds-input-range.entry.js +2 -2
  759. package/dist/esm/mds-input-select.entry.js +32 -5
  760. package/dist/esm/mds-input-switch_2.entry.js +21 -8
  761. package/dist/esm/mds-input-tip_2.entry.js +5 -5
  762. package/dist/esm/mds-input-upload.entry.js +6 -6
  763. package/dist/esm/mds-input.entry.js +12 -3
  764. package/dist/esm/mds-keyboard-key.entry.js +2 -2
  765. package/dist/esm/mds-keyboard.entry.js +2 -2
  766. package/dist/esm/mds-kpi-item.entry.js +2 -2
  767. package/dist/esm/mds-kpi.entry.js +1 -1
  768. package/dist/esm/mds-label.entry.js +1 -1
  769. package/dist/esm/mds-list-item.entry.js +2 -3
  770. package/dist/esm/mds-list.entry.js +1 -1
  771. package/dist/esm/mds-mention.entry.js +2 -2
  772. package/dist/esm/mds-modal.entry.js +31 -4
  773. package/dist/esm/mds-note.entry.js +2 -2
  774. package/dist/esm/mds-notification.entry.js +3 -3
  775. package/dist/esm/mds-paginator-item.entry.js +2 -2
  776. package/dist/esm/mds-paginator.entry.js +2 -2
  777. package/dist/esm/mds-policy-ai.entry.js +2 -2
  778. package/dist/esm/mds-pref-animation.entry.js +2 -2
  779. package/dist/esm/mds-pref-consumption.entry.js +2 -2
  780. package/dist/esm/mds-pref-contrast.entry.js +2 -2
  781. package/dist/esm/mds-pref-language-item.entry.js +1 -1
  782. package/dist/esm/mds-pref-language.entry.js +2 -2
  783. package/dist/esm/mds-pref-mode.entry.js +3 -3
  784. package/dist/esm/mds-pref-theme-item.entry.js +4 -3
  785. package/dist/esm/mds-pref-theme.entry.js +30 -3
  786. package/dist/esm/mds-pref.entry.js +24 -53
  787. package/dist/esm/mds-price-table-features-cell.entry.js +2 -2
  788. package/dist/esm/mds-price-table-features-row.entry.js +2 -2
  789. package/dist/esm/mds-price-table-features.entry.js +2 -2
  790. package/dist/esm/mds-price-table-header.entry.js +1 -1
  791. package/dist/esm/mds-price-table-list-item.entry.js +2 -2
  792. package/dist/esm/mds-price-table-list.entry.js +2 -2
  793. package/dist/esm/mds-price-table.entry.js +1 -1
  794. package/dist/esm/mds-progress_2.entry.js +4 -4
  795. package/dist/esm/mds-push-notification-item.entry.js +4 -4
  796. package/dist/esm/mds-push-notification.entry.js +2 -2
  797. package/dist/esm/mds-quote.entry.js +2 -2
  798. package/dist/esm/mds-radial-menu-item.entry.js +2 -2
  799. package/dist/esm/mds-radial-menu.entry.js +40 -4
  800. package/dist/esm/mds-separator.entry.js +2 -2
  801. package/dist/esm/mds-status-bar.entry.js +2 -2
  802. package/dist/esm/mds-stepper-bar-item.entry.js +2 -2
  803. package/dist/esm/mds-stepper-bar.entry.js +2 -2
  804. package/dist/esm/mds-tab-bar-item.entry.js +2 -2
  805. package/dist/esm/mds-tab-bar.entry.js +2 -2
  806. package/dist/esm/mds-tab_2.entry.js +20 -7
  807. package/dist/esm/mds-table-body.entry.js +2 -2
  808. package/dist/esm/mds-table-footer.entry.js +2 -2
  809. package/dist/esm/mds-table-header-cell.entry.js +117 -78
  810. package/dist/esm/mds-table-header.entry.js +2 -2
  811. package/dist/esm/mds-table-row.entry.js +3 -3
  812. package/dist/esm/mds-table.entry.js +9 -2
  813. package/dist/esm/mds-text.entry.js +37 -27
  814. package/dist/esm/mds-toast.entry.js +2 -2
  815. package/dist/esm/mds-tooltip.entry.js +17 -4
  816. package/dist/esm/mds-tree-item.entry.js +2 -2
  817. package/dist/esm/mds-tree.entry.js +2 -2
  818. package/dist/esm/mds-url-view.entry.js +2 -2
  819. package/dist/esm/mds-usage.entry.js +23 -4
  820. package/dist/esm/mds-video-wall.entry.js +2 -2
  821. package/dist/esm/mds-zero.entry.js +2 -2
  822. package/dist/esm/string-6pgPWpGI.js +5 -0
  823. package/dist/esm-es5/_commonjsHelpers-B85MJLTf.js +1 -0
  824. package/dist/esm-es5/{floating-controller-BTYkH_Ih.js → floating-controller-D5-8D9mH.js} +11 -5
  825. package/dist/esm-es5/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-JMPfVnGv.js} +80 -48
  826. package/dist/esm-es5/icon-pNJmnrhq.js +1 -0
  827. package/dist/esm-es5/index-BxPbQB28.js +36 -36
  828. package/dist/esm-es5/loader.js +1 -1
  829. package/dist/esm-es5/magma-components.js +1 -1
  830. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  831. package/dist/esm-es5/mds-accordion-timer-item.entry.js +2 -2
  832. package/dist/esm-es5/mds-accordion-timer.entry.js +2 -2
  833. package/dist/esm-es5/mds-accordion.entry.js +2 -2
  834. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  835. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  836. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  837. package/dist/esm-es5/mds-badge.entry.js +1 -1
  838. package/dist/esm-es5/mds-banner_3.entry.js +5 -5
  839. package/dist/esm-es5/mds-bibliography.entry.js +2 -2
  840. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  841. package/dist/esm-es5/mds-breadcrumb.entry.js +2 -2
  842. package/dist/esm-es5/mds-button-dropdown.entry.js +3 -3
  843. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  844. package/dist/esm-es5/mds-button_3.entry.js +30 -9
  845. package/dist/esm-es5/mds-calendar_2.entry.js +9 -7
  846. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  847. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  848. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  849. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  850. package/dist/esm-es5/mds-card.entry.js +5 -5
  851. package/dist/esm-es5/mds-details.entry.js +2 -2
  852. package/dist/esm-es5/mds-dropdown.entry.js +16 -16
  853. package/dist/esm-es5/mds-emoji.entry.js +19 -19
  854. package/dist/esm-es5/mds-entity.entry.js +1 -1
  855. package/dist/esm-es5/mds-file-preview.entry.js +7 -7
  856. package/dist/esm-es5/mds-file.entry.js +15 -2835
  857. package/dist/esm-es5/mds-filter-item.entry.js +16 -1
  858. package/dist/esm-es5/mds-filter.entry.js +18 -2
  859. package/dist/esm-es5/mds-header-bar.entry.js +3 -3
  860. package/dist/esm-es5/mds-header.entry.js +7 -7
  861. package/dist/esm-es5/mds-horizontal-scroll.entry.js +13 -13
  862. package/dist/esm-es5/mds-hr.entry.js +1 -1
  863. package/dist/esm-es5/mds-img.entry.js +1 -1
  864. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  865. package/dist/esm-es5/mds-input-date-range.entry.js +7 -2
  866. package/dist/esm-es5/mds-input-date.entry.js +8 -3
  867. package/dist/esm-es5/mds-input-field.entry.js +2 -2
  868. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  869. package/dist/esm-es5/mds-input-range.entry.js +7 -7
  870. package/dist/esm-es5/mds-input-select.entry.js +14 -5
  871. package/dist/esm-es5/mds-input-switch_2.entry.js +17 -9
  872. package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
  873. package/dist/esm-es5/mds-input-upload.entry.js +2 -2
  874. package/dist/esm-es5/mds-input.entry.js +30 -25
  875. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  876. package/dist/esm-es5/mds-keyboard.entry.js +2 -2
  877. package/dist/esm-es5/mds-kpi-item.entry.js +2 -2
  878. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  879. package/dist/esm-es5/mds-label.entry.js +2 -2
  880. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  881. package/dist/esm-es5/mds-list.entry.js +1 -1
  882. package/dist/esm-es5/mds-mention.entry.js +2 -2
  883. package/dist/esm-es5/mds-modal.entry.js +5 -5
  884. package/dist/esm-es5/mds-note.entry.js +2 -2
  885. package/dist/esm-es5/mds-notification.entry.js +4 -4
  886. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  887. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  888. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  889. package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
  890. package/dist/esm-es5/mds-pref-consumption.entry.js +3 -3
  891. package/dist/esm-es5/mds-pref-contrast.entry.js +3 -3
  892. package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
  893. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  894. package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
  895. package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
  896. package/dist/esm-es5/mds-pref-theme.entry.js +15 -7
  897. package/dist/esm-es5/mds-pref.entry.js +14 -5
  898. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  899. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  900. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  901. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  902. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  903. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  904. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  905. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  906. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  907. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  908. package/dist/esm-es5/mds-quote.entry.js +2 -2
  909. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  910. package/dist/esm-es5/mds-radial-menu.entry.js +2 -2
  911. package/dist/esm-es5/mds-separator.entry.js +1 -1
  912. package/dist/esm-es5/mds-status-bar.entry.js +2 -2
  913. package/dist/esm-es5/mds-stepper-bar-item.entry.js +3 -3
  914. package/dist/esm-es5/mds-stepper-bar.entry.js +4 -4
  915. package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -3
  916. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  917. package/dist/esm-es5/mds-tab_2.entry.js +14 -4
  918. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  919. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  920. package/dist/esm-es5/mds-table-header-cell.entry.js +22 -3
  921. package/dist/esm-es5/mds-table-header.entry.js +2 -2
  922. package/dist/esm-es5/mds-table-row.entry.js +6 -6
  923. package/dist/esm-es5/mds-table.entry.js +11 -5
  924. package/dist/esm-es5/mds-text.entry.js +25 -7
  925. package/dist/esm-es5/mds-toast.entry.js +2 -2
  926. package/dist/esm-es5/mds-tooltip.entry.js +8 -3
  927. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  928. package/dist/esm-es5/mds-tree.entry.js +3 -3
  929. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  930. package/dist/esm-es5/mds-usage.entry.js +9 -3
  931. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  932. package/dist/esm-es5/mds-zero.entry.js +1 -1
  933. package/dist/esm-es5/string-6pgPWpGI.js +2 -0
  934. package/dist/hydrate/index.js +1450 -8261
  935. package/dist/hydrate/index.mjs +1450 -8261
  936. package/dist/magma-components/magma-components.esm.js +1 -1
  937. package/dist/magma-components/p-00ce5c81.entry.js +1 -0
  938. package/dist/magma-components/{p-2da2cdf3.system.entry.js → p-00ff586a.system.entry.js} +2 -2
  939. package/dist/magma-components/p-01f05a56.entry.js +1 -0
  940. package/dist/magma-components/p-0345cbd0.system.entry.js +83 -0
  941. package/dist/magma-components/p-03a6a8bd.system.entry.js +46 -0
  942. package/dist/magma-components/p-05de42e1.system.entry.js +1 -0
  943. package/dist/magma-components/p-063bccb3.entry.js +1 -0
  944. package/dist/magma-components/{p-f65e29e0.system.entry.js → p-0a38e4ce.system.entry.js} +1 -1
  945. package/dist/magma-components/p-0c89c485.entry.js +1 -0
  946. package/dist/magma-components/p-0d94a2b8.entry.js +8 -0
  947. package/dist/magma-components/{p-f8da21a1.system.entry.js → p-0d97e28d.system.entry.js} +2 -2
  948. package/dist/magma-components/p-108e31e6.entry.js +1 -0
  949. package/dist/magma-components/p-114f0bb7.system.entry.js +14 -0
  950. package/dist/magma-components/{p-dcf841d5.entry.js → p-121730d1.entry.js} +1 -1
  951. package/dist/magma-components/p-137116df.entry.js +1 -0
  952. package/dist/magma-components/p-13b0babc.system.entry.js +1 -0
  953. package/dist/magma-components/p-14a108e8.system.entry.js +8 -0
  954. package/dist/magma-components/p-14eadf95.system.entry.js +21 -0
  955. package/dist/magma-components/p-154aff83.entry.js +1 -0
  956. package/dist/magma-components/p-155f79f4.system.entry.js +47 -0
  957. package/dist/magma-components/p-17b62839.entry.js +1 -0
  958. package/dist/magma-components/{p-0d3c3de9.entry.js → p-1802d6a7.entry.js} +1 -1
  959. package/dist/magma-components/{p-91c4015f.system.entry.js → p-188d9770.system.entry.js} +1 -1
  960. package/dist/magma-components/p-18ba4766.entry.js +1 -0
  961. package/dist/magma-components/p-1c63801f.system.entry.js +11 -0
  962. package/dist/magma-components/p-1c6a507c.system.entry.js +17 -0
  963. package/dist/magma-components/p-1e2388be.entry.js +1 -0
  964. package/dist/magma-components/{p-a9e4efa3.entry.js → p-22e9a507.entry.js} +1 -1
  965. package/dist/magma-components/p-24a9871a.system.entry.js +1 -0
  966. package/dist/magma-components/p-26332bce.system.entry.js +1 -0
  967. package/dist/magma-components/p-26c85354.system.entry.js +1 -0
  968. package/dist/magma-components/p-2708561b.system.entry.js +10 -0
  969. package/dist/magma-components/{p-ad09a06b.entry.js → p-2710ddc4.entry.js} +1 -1
  970. package/dist/magma-components/{p-019e8a95.system.entry.js → p-2723caa7.system.entry.js} +2 -2
  971. package/dist/magma-components/p-294241fa.entry.js +1 -0
  972. package/dist/magma-components/p-2b2d0910.system.entry.js +1 -0
  973. package/dist/magma-components/p-2c940d19.entry.js +1 -0
  974. package/dist/magma-components/p-2de5f5fe.entry.js +1 -0
  975. package/dist/magma-components/p-2e74231d.system.entry.js +4 -0
  976. package/dist/magma-components/p-2e83f801.system.entry.js +1 -0
  977. package/dist/magma-components/{p-771720b7.entry.js → p-2f0815f3.entry.js} +1 -1
  978. package/dist/magma-components/p-30d36dfe.entry.js +1 -0
  979. package/dist/magma-components/p-323c7aa4.system.entry.js +25 -0
  980. package/dist/magma-components/{p-32361702.system.entry.js → p-32e077c0.system.entry.js} +2 -2
  981. package/dist/magma-components/p-334b305d.system.entry.js +16 -0
  982. package/dist/magma-components/{p-d93c9a11.system.entry.js → p-341994b3.system.entry.js} +2 -2
  983. package/dist/magma-components/p-35434d4b.system.entry.js +32 -0
  984. package/dist/magma-components/p-35ee2d77.entry.js +1 -0
  985. package/dist/magma-components/p-37495e03.entry.js +1 -0
  986. package/dist/magma-components/{p-7bea6c05.system.entry.js → p-38e0379a.system.entry.js} +2 -2
  987. package/dist/magma-components/p-3b91efd1.entry.js +1 -0
  988. package/dist/magma-components/p-3dc4db04.system.entry.js +16 -0
  989. package/dist/magma-components/p-3f0e82bc.entry.js +1 -0
  990. package/dist/magma-components/p-3fa6cf85.system.entry.js +1 -0
  991. package/dist/magma-components/p-40e97485.entry.js +1 -0
  992. package/dist/magma-components/p-4159c306.entry.js +1 -0
  993. package/dist/magma-components/p-42411854.system.entry.js +102 -0
  994. package/dist/magma-components/{p-fc8f8a0c.entry.js → p-42ebba8c.entry.js} +1 -1
  995. package/dist/magma-components/p-4356d96e.system.entry.js +21 -0
  996. package/dist/magma-components/{p-6cbd8a6d.system.entry.js → p-4577948d.system.entry.js} +3 -3
  997. package/dist/magma-components/p-4658a200.entry.js +1 -0
  998. package/dist/magma-components/{p-06d9af89.entry.js → p-4cfa925a.entry.js} +1 -1
  999. package/dist/magma-components/p-4dfeb655.system.entry.js +23 -0
  1000. package/dist/magma-components/p-4ef19542.entry.js +1 -0
  1001. package/dist/magma-components/{p-91451e37.system.entry.js → p-508e10b5.system.entry.js} +2 -2
  1002. package/dist/magma-components/p-514d0fcb.entry.js +1 -0
  1003. package/dist/magma-components/p-522fd3d0.system.entry.js +4 -0
  1004. package/dist/magma-components/p-528d913c.system.entry.js +17 -0
  1005. package/dist/magma-components/p-569cbe13.entry.js +1 -0
  1006. package/dist/magma-components/p-574c2c13.system.entry.js +222 -0
  1007. package/dist/magma-components/{p-876a5fb9.system.entry.js → p-584a4ee8.system.entry.js} +1 -1
  1008. package/dist/magma-components/{p-d7515aae.entry.js → p-595fde64.entry.js} +1 -1
  1009. package/dist/magma-components/p-5989cdf2.system.entry.js +16 -0
  1010. package/dist/magma-components/p-5c17a324.entry.js +1 -0
  1011. package/dist/magma-components/p-5df91427.system.entry.js +15 -0
  1012. package/dist/magma-components/{p-c5ad848f.entry.js → p-5f1132b8.entry.js} +1 -1
  1013. package/dist/magma-components/p-5fcc1455.entry.js +1 -0
  1014. package/dist/magma-components/p-61638aa3.entry.js +1 -0
  1015. package/dist/magma-components/p-634727e6.system.entry.js +22 -0
  1016. package/dist/magma-components/{p-289a874e.entry.js → p-6465c8f4.entry.js} +1 -1
  1017. package/dist/magma-components/{p-7c940015.system.entry.js → p-64f78149.system.entry.js} +1 -1
  1018. package/dist/magma-components/p-6764b13a.entry.js +1 -0
  1019. package/dist/magma-components/p-6812f01b.entry.js +1 -0
  1020. package/dist/magma-components/{p-cd5cf28b.system.entry.js → p-6901428b.system.entry.js} +1 -1
  1021. package/dist/magma-components/p-699a7926.entry.js +1 -0
  1022. package/dist/magma-components/p-69d6cc9e.system.entry.js +7 -0
  1023. package/dist/magma-components/p-6a798061.entry.js +1 -0
  1024. package/dist/magma-components/p-6d350c7c.entry.js +1 -0
  1025. package/dist/magma-components/p-6f5a1248.entry.js +1 -0
  1026. package/dist/magma-components/p-6fba5e6c.entry.js +1 -0
  1027. package/dist/magma-components/p-6fd9a2ae.entry.js +1 -0
  1028. package/dist/magma-components/{p-ff970859.system.entry.js → p-6ff8be3e.system.entry.js} +1 -1
  1029. package/dist/magma-components/p-6pgPWpGI.js +1 -0
  1030. package/dist/magma-components/p-70caf05b.system.entry.js +10 -0
  1031. package/dist/magma-components/{p-2d324edc.entry.js → p-70cc167f.entry.js} +1 -1
  1032. package/dist/magma-components/{p-cc1ee10a.system.entry.js → p-736c0e25.system.entry.js} +2 -2
  1033. package/dist/magma-components/p-73e593a2.system.entry.js +95 -0
  1034. package/dist/magma-components/p-7450a7a7.system.entry.js +49 -0
  1035. package/dist/magma-components/p-7535328a.entry.js +1 -0
  1036. package/dist/magma-components/{p-bd9324f3.system.entry.js → p-76f02296.system.entry.js} +1 -1
  1037. package/dist/magma-components/p-789c1b93.system.entry.js +1 -0
  1038. package/dist/magma-components/p-79bc2e81.entry.js +1 -0
  1039. package/dist/magma-components/p-79dc2243.entry.js +1 -0
  1040. package/dist/magma-components/p-7b1c6eb0.entry.js +1 -0
  1041. package/dist/magma-components/p-7b8b51c8.entry.js +1 -0
  1042. package/dist/magma-components/p-7bc0a6c4.entry.js +1 -0
  1043. package/dist/magma-components/p-7c8e79a7.system.entry.js +4 -0
  1044. package/dist/magma-components/p-7c90298a.entry.js +1 -0
  1045. package/dist/magma-components/p-7e02237b.entry.js +1 -0
  1046. package/dist/magma-components/{p-ef4cd904.system.entry.js → p-7f247e64.system.entry.js} +2 -2
  1047. package/dist/magma-components/p-808f6796.entry.js +1 -0
  1048. package/dist/magma-components/{p-a1b5bd58.entry.js → p-82480df5.entry.js} +1 -1
  1049. package/dist/magma-components/{p-61ff1d85.system.entry.js → p-837fbbf7.system.entry.js} +1 -1
  1050. package/dist/magma-components/p-842b1dfc.entry.js +1 -0
  1051. package/dist/magma-components/p-88c7be3d.system.entry.js +68 -0
  1052. package/dist/magma-components/p-89733d3a.system.entry.js +14 -0
  1053. package/dist/magma-components/p-8c75425d.entry.js +1 -0
  1054. package/dist/magma-components/{p-5ac9e2f4.entry.js → p-8c76410b.entry.js} +1 -1
  1055. package/dist/magma-components/p-8cdad12f.entry.js +1 -0
  1056. package/dist/magma-components/p-8d2a6896.entry.js +1 -0
  1057. package/dist/magma-components/p-8d7835e2.system.entry.js +10 -0
  1058. package/dist/magma-components/p-8f039ca0.system.entry.js +7 -0
  1059. package/dist/magma-components/p-8f54cf62.system.entry.js +4 -0
  1060. package/dist/magma-components/p-8f6bd147.entry.js +1 -0
  1061. package/dist/magma-components/p-9017022c.system.entry.js +15 -0
  1062. package/dist/magma-components/p-909f5b60.system.entry.js +55 -0
  1063. package/dist/magma-components/p-94e9f2be.system.entry.js +11 -0
  1064. package/dist/magma-components/p-976bb373.system.entry.js +90 -0
  1065. package/dist/magma-components/p-97d82884.system.entry.js +16 -0
  1066. package/dist/magma-components/p-97de86c6.system.entry.js +16 -0
  1067. package/dist/magma-components/p-97e9a197.system.entry.js +32 -0
  1068. package/dist/magma-components/p-9a936cae.system.entry.js +45 -0
  1069. package/dist/magma-components/p-9c6d184f.entry.js +1 -0
  1070. package/dist/magma-components/p-9db0a6e9.entry.js +1 -0
  1071. package/dist/magma-components/p-9e662528.entry.js +1 -0
  1072. package/dist/magma-components/{p-7ffda4f5.entry.js → p-9ff02a82.entry.js} +1 -1
  1073. package/dist/magma-components/p-B85MJLTf.js +1 -0
  1074. package/dist/magma-components/p-BJqUjYIG.system.js +1 -0
  1075. package/dist/magma-components/{p-Dg8nxRUX.system.js → p-BcYSdbK0.system.js} +85 -53
  1076. package/dist/magma-components/p-BeYLDgbf.js +1 -0
  1077. package/dist/magma-components/p-D6-Ny6z1.system.js +1 -0
  1078. package/dist/magma-components/{p-BPNsbMrg.system.js → p-DhhAXEdA.system.js} +11 -5
  1079. package/dist/magma-components/p-JMPfVnGv.js +1 -0
  1080. package/dist/magma-components/p-ZDRIVCAt.system.js +1 -1
  1081. package/dist/magma-components/p-a3e3a653.system.entry.js +81 -0
  1082. package/dist/magma-components/p-a41e52f7.entry.js +1 -0
  1083. package/dist/magma-components/{p-dc399372.entry.js → p-a462aadd.entry.js} +1 -1
  1084. package/dist/magma-components/p-a4c26b4d.system.entry.js +19 -0
  1085. package/dist/magma-components/{p-2e01e057.system.entry.js → p-a61c7ae9.system.entry.js} +2 -2
  1086. package/dist/magma-components/p-a653e096.entry.js +1 -0
  1087. package/dist/magma-components/p-a8bf46cb.system.entry.js +1 -0
  1088. package/dist/magma-components/p-a9736d68.system.entry.js +4 -0
  1089. package/dist/magma-components/p-ac4435e7.entry.js +1 -0
  1090. package/dist/magma-components/p-ac873ab4.entry.js +1 -0
  1091. package/dist/magma-components/p-acae292f.system.entry.js +28 -0
  1092. package/dist/magma-components/p-add1a8d0.system.entry.js +7 -0
  1093. package/dist/magma-components/p-b1a0e56e.system.entry.js +42 -0
  1094. package/dist/magma-components/p-b33a6f7e.system.entry.js +13 -0
  1095. package/dist/magma-components/p-b492dd4c.entry.js +1 -0
  1096. package/dist/magma-components/{p-d5e53364.system.entry.js → p-b626c69f.system.entry.js} +1 -1
  1097. package/dist/magma-components/p-b99cac43.entry.js +1 -0
  1098. package/dist/magma-components/p-baf0359b.entry.js +1 -0
  1099. package/dist/magma-components/p-bbd414dc.entry.js +1 -0
  1100. package/dist/magma-components/p-be1aad5f.entry.js +1 -0
  1101. package/dist/magma-components/p-bf05f9f3.entry.js +1 -0
  1102. package/dist/magma-components/p-bf8c6647.system.entry.js +11 -0
  1103. package/dist/magma-components/p-bfe19e4b.entry.js +1 -0
  1104. package/dist/magma-components/p-c1a7266a.entry.js +1 -0
  1105. package/dist/magma-components/{p-a0d9e01f.system.entry.js → p-c34d9e61.system.entry.js} +1 -1
  1106. package/dist/magma-components/p-c3585de7.system.entry.js +7 -0
  1107. package/dist/magma-components/p-c45d9a64.system.entry.js +32 -0
  1108. package/dist/magma-components/p-c4ceaef6.system.entry.js +10 -0
  1109. package/dist/magma-components/{p-c48e3460.entry.js → p-c575cb7b.entry.js} +1 -1
  1110. package/dist/magma-components/p-c644c5fc.system.entry.js +1 -0
  1111. package/dist/magma-components/{p-61bedbe7.system.entry.js → p-c69ec735.system.entry.js} +8 -3
  1112. package/dist/magma-components/p-c7d84d1c.system.entry.js +1 -0
  1113. package/dist/magma-components/p-cb8b45fd.entry.js +1 -0
  1114. package/dist/magma-components/p-cbfd8b10.system.entry.js +16 -0
  1115. package/dist/magma-components/{p-ed897f9f.entry.js → p-ce46191c.entry.js} +1 -1
  1116. package/dist/magma-components/p-cebe7b52.entry.js +1 -0
  1117. package/dist/magma-components/p-cefdc01f.system.entry.js +7 -0
  1118. package/dist/magma-components/{p-f0c67a70.system.entry.js → p-d025a34f.system.entry.js} +2 -2
  1119. package/dist/magma-components/p-d1c47baa.entry.js +1 -0
  1120. package/dist/magma-components/p-d269bfb0.entry.js +1 -0
  1121. package/dist/magma-components/p-d42f267b.system.entry.js +40 -0
  1122. package/dist/magma-components/p-d5bd6bef.entry.js +1 -0
  1123. package/dist/magma-components/p-d65d8a09.system.entry.js +1 -0
  1124. package/dist/magma-components/p-d6eca2ef.entry.js +1 -0
  1125. package/dist/magma-components/p-d716efe9.system.entry.js +1 -0
  1126. package/dist/magma-components/{p-d9fbbf3f.entry.js → p-da6ccc03.entry.js} +1 -1
  1127. package/dist/magma-components/p-dbaf5368.system.entry.js +7 -0
  1128. package/dist/magma-components/p-dc340618.entry.js +1 -0
  1129. package/dist/magma-components/p-dc752e9b.entry.js +1 -0
  1130. package/dist/magma-components/p-e238e2eb.entry.js +1 -0
  1131. package/dist/magma-components/p-e388f1f2.system.entry.js +19 -0
  1132. package/dist/magma-components/p-e50fdcee.entry.js +1 -0
  1133. package/dist/magma-components/p-e779a67f.system.entry.js +10 -0
  1134. package/dist/magma-components/p-e8ae4016.system.entry.js +1 -0
  1135. package/dist/magma-components/{p-9eb1e154.system.entry.js → p-e8d95868.system.entry.js} +2 -2
  1136. package/dist/magma-components/p-ed232c76.entry.js +1 -0
  1137. package/dist/magma-components/{p-f3dbebdd.system.entry.js → p-ed6e287d.system.entry.js} +25 -7
  1138. package/dist/magma-components/p-ed87425c.system.entry.js +13 -0
  1139. package/dist/magma-components/p-ed897125.entry.js +1 -0
  1140. package/dist/magma-components/p-ee876b20.system.entry.js +4 -0
  1141. package/dist/magma-components/p-efe0bb12.system.entry.js +7 -0
  1142. package/dist/magma-components/p-f2412853.system.entry.js +27 -0
  1143. package/dist/magma-components/p-f2743a2b.entry.js +1 -0
  1144. package/dist/magma-components/p-f2f2945b.entry.js +1 -0
  1145. package/dist/magma-components/p-f37f1343.entry.js +1 -0
  1146. package/dist/magma-components/p-f3dd135e.system.entry.js +32 -0
  1147. package/dist/magma-components/{p-3a1a6945.entry.js → p-f5bb8c0c.entry.js} +1 -1
  1148. package/dist/magma-components/p-f5ce24e8.entry.js +1 -0
  1149. package/dist/magma-components/p-f8a88f11.entry.js +1 -0
  1150. package/dist/magma-components/p-f900fe90.entry.js +1 -0
  1151. package/dist/magma-components/{p-eff38775.entry.js → p-faa1f22c.entry.js} +1 -1
  1152. package/dist/magma-components/p-pNJmnrhq.js +1 -0
  1153. package/dist/magma-components/p-pxyGaQ-P.system.js +2 -0
  1154. package/dist/stats.json +2971 -2223
  1155. package/dist/types/common/floating-controller.d.ts +8 -1
  1156. package/dist/types/common/hash.d.ts +8 -0
  1157. package/dist/types/common/string.d.ts +3 -1
  1158. package/dist/types/components/mds-button/mds-button.d.ts +10 -0
  1159. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +1 -0
  1160. package/dist/types/components/mds-calendar/mds-calendar.d.ts +1 -0
  1161. package/dist/types/components/mds-file/mds-file.d.ts +6 -1
  1162. package/dist/types/components/mds-filter/mds-filter.d.ts +15 -0
  1163. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +18 -1
  1164. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +1 -0
  1165. package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
  1166. package/dist/types/components/mds-input/mds-input.d.ts +8 -1
  1167. package/dist/types/components/mds-input-date/mds-input-date.d.ts +6 -0
  1168. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +5 -0
  1169. package/dist/types/components/mds-input-select/mds-input-select.d.ts +15 -2
  1170. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +8 -3
  1171. package/dist/types/components/mds-modal/mds-modal.d.ts +1 -0
  1172. package/dist/types/components/mds-pref/mds-pref.d.ts +5 -8
  1173. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +8 -0
  1174. package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +1 -0
  1175. package/dist/types/components/mds-tab/mds-tab.d.ts +8 -0
  1176. package/dist/types/components/mds-table/mds-table.d.ts +8 -1
  1177. package/dist/types/components/mds-table/meta/type.d.ts +1 -0
  1178. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +33 -14
  1179. package/dist/types/components/mds-table-header-cell/meta/event-detail.d.ts +6 -0
  1180. package/dist/types/components/mds-text/mds-text.d.ts +8 -4
  1181. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +8 -1
  1182. package/dist/types/components/mds-usage/mds-usage.d.ts +5 -1
  1183. package/dist/types/components/mds-usage/meta/variants.d.ts +7 -19
  1184. package/dist/types/components.d.ts +123 -18
  1185. package/dist/types/type/floating-ui.d.ts +2 -0
  1186. package/dist/types/type/input.d.ts +3 -0
  1187. package/package.json +15 -15
  1188. package/dist/cjs/_commonjsHelpers-B83fTs8d.js +0 -36
  1189. package/dist/collection/dictionary/icon.js +0 -10
  1190. package/dist/collection/type/icon.js +0 -1
  1191. package/dist/components/p-B3Z2Goa-.js +0 -1
  1192. package/dist/components/p-B3dWp2vS.js +0 -1
  1193. package/dist/components/p-B6FOPjps.js +0 -1
  1194. package/dist/components/p-B7CR1EtF.js +0 -1
  1195. package/dist/components/p-BBPQjm8h.js +0 -1
  1196. package/dist/components/p-BCiJ4PRD.js +0 -1
  1197. package/dist/components/p-BSs0SO-j.js +0 -1
  1198. package/dist/components/p-BTpjOy0A.js +0 -1
  1199. package/dist/components/p-BY6Qu1V4.js +0 -1
  1200. package/dist/components/p-BhmePCyA.js +0 -1
  1201. package/dist/components/p-BpGzrg1C.js +0 -1
  1202. package/dist/components/p-C-J9fW51.js +0 -1
  1203. package/dist/components/p-CAa2kI72.js +0 -1
  1204. package/dist/components/p-CBV19-8O.js +0 -1
  1205. package/dist/components/p-CCv9tBZK.js +0 -1
  1206. package/dist/components/p-CDf607TB.js +0 -1
  1207. package/dist/components/p-CEMAGNly.js +0 -1
  1208. package/dist/components/p-CGYDZBMv.js +0 -1
  1209. package/dist/components/p-CHAGzQT-.js +0 -1
  1210. package/dist/components/p-CHAvkoj3.js +0 -1
  1211. package/dist/components/p-CMFUEkte.js +0 -1
  1212. package/dist/components/p-CR2GGKXK.js +0 -1
  1213. package/dist/components/p-Cb5kuO7B.js +0 -1
  1214. package/dist/components/p-CiNNzAa3.js +0 -1
  1215. package/dist/components/p-DGDdPv_Y.js +0 -1
  1216. package/dist/components/p-D_wD-Pyk.js +0 -1
  1217. package/dist/components/p-E-ZsRS8r.js +0 -1
  1218. package/dist/components/p-HR2JwDjG.js +0 -1
  1219. package/dist/components/p-LE7qQIFR.js +0 -8
  1220. package/dist/components/p-vgIKH234.js +0 -1
  1221. package/dist/esm/_commonjsHelpers-E-ZsRS8r.js +0 -32
  1222. package/dist/esm-es5/_commonjsHelpers-E-ZsRS8r.js +0 -1
  1223. package/dist/magma-components/p-01dd1f55.entry.js +0 -1
  1224. package/dist/magma-components/p-02119624.system.entry.js +0 -40
  1225. package/dist/magma-components/p-02fc7592.entry.js +0 -1
  1226. package/dist/magma-components/p-03cd0069.system.entry.js +0 -1
  1227. package/dist/magma-components/p-05fbca60.system.entry.js +0 -37
  1228. package/dist/magma-components/p-07e4701d.entry.js +0 -1
  1229. package/dist/magma-components/p-081a19b1.system.entry.js +0 -45
  1230. package/dist/magma-components/p-09d0b6a8.entry.js +0 -1
  1231. package/dist/magma-components/p-0b300de7.entry.js +0 -1
  1232. package/dist/magma-components/p-1150ffb8.system.entry.js +0 -10
  1233. package/dist/magma-components/p-115a5e47.entry.js +0 -1
  1234. package/dist/magma-components/p-1314d80e.entry.js +0 -1
  1235. package/dist/magma-components/p-133a6ffd.system.entry.js +0 -49
  1236. package/dist/magma-components/p-13db55de.entry.js +0 -1
  1237. package/dist/magma-components/p-1a2731ec.system.entry.js +0 -10
  1238. package/dist/magma-components/p-1a602906.system.entry.js +0 -13
  1239. package/dist/magma-components/p-1c975156.entry.js +0 -1
  1240. package/dist/magma-components/p-1d154234.system.entry.js +0 -12
  1241. package/dist/magma-components/p-1d9d7666.entry.js +0 -1
  1242. package/dist/magma-components/p-1ddaaa6d.system.entry.js +0 -217
  1243. package/dist/magma-components/p-21aa0a74.entry.js +0 -1
  1244. package/dist/magma-components/p-21c46e74.system.entry.js +0 -4
  1245. package/dist/magma-components/p-2399b7e8.entry.js +0 -1
  1246. package/dist/magma-components/p-25407d89.entry.js +0 -1
  1247. package/dist/magma-components/p-27547a7a.system.entry.js +0 -7
  1248. package/dist/magma-components/p-2be3bd23.system.entry.js +0 -1
  1249. package/dist/magma-components/p-2c586431.entry.js +0 -1
  1250. package/dist/magma-components/p-2e9b80e8.entry.js +0 -1
  1251. package/dist/magma-components/p-30c3872d.entry.js +0 -1
  1252. package/dist/magma-components/p-3231a6a3.entry.js +0 -1
  1253. package/dist/magma-components/p-3448d0ce.entry.js +0 -1
  1254. package/dist/magma-components/p-367cee40.system.entry.js +0 -1
  1255. package/dist/magma-components/p-3a8870e4.system.entry.js +0 -47
  1256. package/dist/magma-components/p-3b68fbcd.system.entry.js +0 -22
  1257. package/dist/magma-components/p-3ecade3c.system.entry.js +0 -11
  1258. package/dist/magma-components/p-3f05ec8a.entry.js +0 -1
  1259. package/dist/magma-components/p-4073c5f2.system.entry.js +0 -90
  1260. package/dist/magma-components/p-40bd2e6d.entry.js +0 -1
  1261. package/dist/magma-components/p-423597db.system.entry.js +0 -4
  1262. package/dist/magma-components/p-443c2a29.system.entry.js +0 -10
  1263. package/dist/magma-components/p-45a91f1c.system.entry.js +0 -1
  1264. package/dist/magma-components/p-487af9d3.entry.js +0 -1
  1265. package/dist/magma-components/p-4909070e.entry.js +0 -1
  1266. package/dist/magma-components/p-4d966161.system.entry.js +0 -14
  1267. package/dist/magma-components/p-4ddf891e.system.entry.js +0 -69
  1268. package/dist/magma-components/p-4e15cde7.entry.js +0 -1
  1269. package/dist/magma-components/p-4f14a166.entry.js +0 -1
  1270. package/dist/magma-components/p-4ffec31a.system.entry.js +0 -1
  1271. package/dist/magma-components/p-50b266e9.system.entry.js +0 -4
  1272. package/dist/magma-components/p-5165b09f.system.entry.js +0 -4
  1273. package/dist/magma-components/p-544cc9c7.system.entry.js +0 -25
  1274. package/dist/magma-components/p-562bb482.system.entry.js +0 -16
  1275. package/dist/magma-components/p-5ae5ec95.entry.js +0 -1
  1276. package/dist/magma-components/p-5d2d8ffe.system.entry.js +0 -11
  1277. package/dist/magma-components/p-5e180f53.system.entry.js +0 -32
  1278. package/dist/magma-components/p-62b17608.system.entry.js +0 -102
  1279. package/dist/magma-components/p-63e7c98f.entry.js +0 -1
  1280. package/dist/magma-components/p-6474c850.entry.js +0 -8
  1281. package/dist/magma-components/p-660657ac.system.entry.js +0 -15
  1282. package/dist/magma-components/p-66237a64.entry.js +0 -1
  1283. package/dist/magma-components/p-6702e489.entry.js +0 -1
  1284. package/dist/magma-components/p-694ed534.entry.js +0 -1
  1285. package/dist/magma-components/p-6b446fd9.system.entry.js +0 -81
  1286. package/dist/magma-components/p-6c414bc2.system.entry.js +0 -19
  1287. package/dist/magma-components/p-6d0dc1fd.entry.js +0 -1
  1288. package/dist/magma-components/p-6ed05d99.entry.js +0 -1
  1289. package/dist/magma-components/p-6f2471b1.entry.js +0 -1
  1290. package/dist/magma-components/p-6fa03aab.system.entry.js +0 -7
  1291. package/dist/magma-components/p-70141ccd.entry.js +0 -1
  1292. package/dist/magma-components/p-707d8626.system.entry.js +0 -2838
  1293. package/dist/magma-components/p-71dafc3f.entry.js +0 -1
  1294. package/dist/magma-components/p-726209f4.system.entry.js +0 -1
  1295. package/dist/magma-components/p-745ee76b.system.entry.js +0 -32
  1296. package/dist/magma-components/p-761415b3.system.entry.js +0 -37
  1297. package/dist/magma-components/p-7a7c308b.entry.js +0 -1
  1298. package/dist/magma-components/p-7ca990d4.system.entry.js +0 -11
  1299. package/dist/magma-components/p-7d6ca97d.system.entry.js +0 -7
  1300. package/dist/magma-components/p-8097dfc8.system.entry.js +0 -7
  1301. package/dist/magma-components/p-809adece.system.entry.js +0 -17
  1302. package/dist/magma-components/p-843ab1b4.entry.js +0 -1
  1303. package/dist/magma-components/p-87026d34.entry.js +0 -1
  1304. package/dist/magma-components/p-8765dc11.entry.js +0 -1
  1305. package/dist/magma-components/p-87faaa8e.system.entry.js +0 -16
  1306. package/dist/magma-components/p-8a838a1a.entry.js +0 -1
  1307. package/dist/magma-components/p-8bcb2a5f.entry.js +0 -1
  1308. package/dist/magma-components/p-8c93550d.entry.js +0 -1
  1309. package/dist/magma-components/p-8ca1d30d.system.entry.js +0 -1
  1310. package/dist/magma-components/p-91c8960a.system.entry.js +0 -1
  1311. package/dist/magma-components/p-932620b6.entry.js +0 -1
  1312. package/dist/magma-components/p-939da879.system.entry.js +0 -8
  1313. package/dist/magma-components/p-97bde480.entry.js +0 -1
  1314. package/dist/magma-components/p-97d02403.entry.js +0 -1
  1315. package/dist/magma-components/p-983f3e40.entry.js +0 -1
  1316. package/dist/magma-components/p-99227c78.system.entry.js +0 -11
  1317. package/dist/magma-components/p-9a583f6b.system.entry.js +0 -1
  1318. package/dist/magma-components/p-9a86e0ce.system.entry.js +0 -1
  1319. package/dist/magma-components/p-9d1cdb42.system.entry.js +0 -15
  1320. package/dist/magma-components/p-9e5982b6.entry.js +0 -1
  1321. package/dist/magma-components/p-9eef2f79.entry.js +0 -1
  1322. package/dist/magma-components/p-9fe14430.system.entry.js +0 -7
  1323. package/dist/magma-components/p-9fe7035a.entry.js +0 -1
  1324. package/dist/magma-components/p-BpVYIPkx.js +0 -1
  1325. package/dist/magma-components/p-CHAGzQT-.js +0 -1
  1326. package/dist/magma-components/p-DIUTGDX_.system.js +0 -1
  1327. package/dist/magma-components/p-E-ZsRS8r.js +0 -1
  1328. package/dist/magma-components/p-a0972ec9.entry.js +0 -1
  1329. package/dist/magma-components/p-a1851e6f.entry.js +0 -1
  1330. package/dist/magma-components/p-a2d9549d.system.entry.js +0 -32
  1331. package/dist/magma-components/p-a5a13b20.entry.js +0 -1
  1332. package/dist/magma-components/p-a6a71c77.entry.js +0 -1
  1333. package/dist/magma-components/p-a96312c1.entry.js +0 -1
  1334. package/dist/magma-components/p-aa0bd826.entry.js +0 -1
  1335. package/dist/magma-components/p-aa74169f.system.entry.js +0 -1
  1336. package/dist/magma-components/p-ab4ffbd4.system.entry.js +0 -68
  1337. package/dist/magma-components/p-ad9cb1f5.entry.js +0 -1
  1338. package/dist/magma-components/p-aed8b119.entry.js +0 -1
  1339. package/dist/magma-components/p-afbef2fc.entry.js +0 -1
  1340. package/dist/magma-components/p-b183d698.system.entry.js +0 -16
  1341. package/dist/magma-components/p-b49196da.entry.js +0 -1
  1342. package/dist/magma-components/p-b77a2832.entry.js +0 -1
  1343. package/dist/magma-components/p-b925c109.system.entry.js +0 -14
  1344. package/dist/magma-components/p-b9e3281a.system.entry.js +0 -72
  1345. package/dist/magma-components/p-bb0538b6.entry.js +0 -1
  1346. package/dist/magma-components/p-bb055583.entry.js +0 -1
  1347. package/dist/magma-components/p-bc6a41a9.system.entry.js +0 -1
  1348. package/dist/magma-components/p-c4beed1b.entry.js +0 -1
  1349. package/dist/magma-components/p-c4ccb710.entry.js +0 -1
  1350. package/dist/magma-components/p-c4e4ba90.system.entry.js +0 -38
  1351. package/dist/magma-components/p-c573e136.entry.js +0 -1
  1352. package/dist/magma-components/p-c6841b21.entry.js +0 -1
  1353. package/dist/magma-components/p-c89a44b2.entry.js +0 -1
  1354. package/dist/magma-components/p-c94575de.entry.js +0 -1
  1355. package/dist/magma-components/p-cabe9133.system.entry.js +0 -4
  1356. package/dist/magma-components/p-cb2c5f1b.entry.js +0 -1
  1357. package/dist/magma-components/p-cb571b55.system.entry.js +0 -1
  1358. package/dist/magma-components/p-cbc0f01f.system.entry.js +0 -17
  1359. package/dist/magma-components/p-cd1dc29a.entry.js +0 -1
  1360. package/dist/magma-components/p-cd952369.entry.js +0 -1
  1361. package/dist/magma-components/p-d35aebe5.entry.js +0 -1
  1362. package/dist/magma-components/p-d74fa7af.entry.js +0 -1
  1363. package/dist/magma-components/p-d7a94afb.system.entry.js +0 -7
  1364. package/dist/magma-components/p-db492cf5.system.entry.js +0 -13
  1365. package/dist/magma-components/p-dc06b29e.entry.js +0 -1
  1366. package/dist/magma-components/p-dc7bada4.entry.js +0 -1
  1367. package/dist/magma-components/p-dfb4a965.system.entry.js +0 -28
  1368. package/dist/magma-components/p-e1a91e9e.system.entry.js +0 -1
  1369. package/dist/magma-components/p-e5438280.system.entry.js +0 -10
  1370. package/dist/magma-components/p-e8cd2b93.system.entry.js +0 -4
  1371. package/dist/magma-components/p-e95f2a48.entry.js +0 -1
  1372. package/dist/magma-components/p-eb113725.system.entry.js +0 -1
  1373. package/dist/magma-components/p-ec5eccbb.entry.js +0 -1
  1374. package/dist/magma-components/p-eca99a0a.system.entry.js +0 -1
  1375. package/dist/magma-components/p-eea815ca.system.entry.js +0 -16
  1376. package/dist/magma-components/p-eff1fd6c.system.entry.js +0 -15
  1377. package/dist/magma-components/p-f01874a8.entry.js +0 -1
  1378. package/dist/magma-components/p-f05d7005.entry.js +0 -1
  1379. package/dist/magma-components/p-f215496c.entry.js +0 -1
  1380. package/dist/magma-components/p-f28cfb33.system.entry.js +0 -4
  1381. package/dist/magma-components/p-f830793e.entry.js +0 -1
  1382. package/dist/magma-components/p-f835c307.system.entry.js +0 -7
  1383. package/dist/magma-components/p-f89c3a01.system.entry.js +0 -32
  1384. package/dist/magma-components/p-f8eb19b3.entry.js +0 -1
  1385. package/dist/magma-components/p-f8feee93.system.entry.js +0 -4
  1386. package/dist/magma-components/p-f97b4ff4.system.entry.js +0 -16
  1387. package/dist/magma-components/p-fcaa5967.entry.js +0 -18
  1388. package/dist/types/dictionary/icon.d.ts +0 -4
  1389. package/dist/types/type/icon.d.ts +0 -1
@@ -14,11 +14,11 @@ mds-text {
14
14
 
15
15
  :host {
16
16
  display: grid;
17
- gap: --spacing(100);
17
+ gap: --spacing(200);
18
18
  }
19
19
 
20
20
  .item {
21
- --mds-tab-item-default-color: rgb(var(--magma-text-disabled, var(--magma-tint-text-disabled, var(--text-neutral-disabled, 119 119 119))));
21
+ --mds-tab-item-default-color: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
22
22
 
23
23
  flex-basis: 0;
24
24
  flex-grow: 1;
@@ -27,7 +27,7 @@ mds-text {
27
27
  .item--default,
28
28
  .item--more,
29
29
  .item--system {
30
- --mds-tab-item-selected-color: rgb(var(--magma-text-muted, var(--magma-tint-text-muted, var(--text-neutral-muted, 73 73 73))));
30
+ --mds-tab-item-selected-color: rgb(var(--magma-text-muted, var(--text-neutral-muted, 73 73 73)));
31
31
  }
32
32
 
33
33
  /* Contrast preference. The component reflects the resolved mode from <html> onto
@@ -36,14 +36,14 @@ mds-text {
36
36
  * `system` and no controller follow the OS via @media. Cross-browser, no :host-context. */
37
37
 
38
38
  :host([pref-contrast='more']) .item {
39
- --mds-tab-item-default-color: rgb(var(--magma-text-default, var(--magma-tint-text-default, var(--text-neutral-default, 5 5 5))));
39
+ --mds-tab-item-default-color: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
40
40
  }
41
41
 
42
42
  @media (prefers-contrast: more) {
43
43
  :host([pref-contrast='system']),
44
44
  :host(:not([pref-contrast])) {
45
45
  .item {
46
- --mds-tab-item-default-color: rgb(var(--magma-text-default, var(--magma-tint-text-default, var(--text-neutral-default, 5 5 5))));
46
+ --mds-tab-item-default-color: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
47
47
  }
48
48
  }
49
49
  }
@@ -108,7 +108,7 @@ export class MdsPrefContrast {
108
108
  }
109
109
  render() {
110
110
  var _a;
111
- return (h(Host, { key: '14acd166d97af6c70ef51e035e79d9beb904aab6', "pref-contrast": preferenceStore.state.contrast }, h("mds-text", { key: '33e8416b3de015cb02c3f3bb9c1d2ef48dfba301', class: "info", typography: "caption" }, h("b", { key: '64638e342b45803737dcbac8427dc60f8819899a' }, this.t.get('label')), ' ', this.t.get(this.contrast[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label)), h("mds-tab", { key: '32327ec23798464a712714ca4a26673b53324612', fill: true, size: this.size }, h("mds-tab-item", { key: 'd7ba28a08ff0cc3d3c91b3d3e45e44f7e5a36688', selected: this.mode === 'more', onClick: this.handleModeClick('more'), class: "item item--more", icon: miBaselineContrast, title: this.t.get(this.contrast.more.label) }), h("mds-tab-item", { key: '091d09e85dd26aab1b2ef95cecb8758fa076b7c2', selected: this.mode === 'system', onClick: this.handleModeClick('system'), class: "item item--system", icon: miBaselineSettings, title: this.t.get(this.contrast.system.label) }), h("mds-tab-item", { key: '91d06cb1c92acca9706beb992ea8b354d530b65f', selected: this.mode === 'no-preference', onClick: this.handleModeClick('no-preference'), class: "item item--default", icon: this.mode === 'no-preference' ? miBaselineAutoAwesome : miOutlineAutoAwesome, title: this.t.get(this.contrast['no-preference'].label) }))));
111
+ return (h(Host, { key: 'e616ac6092e299e246f1d1eb53c39f45f241ac95', "pref-contrast": preferenceStore.state.contrast }, h("mds-text", { key: '68d13eb8be2ee6adaf88e78bc9b2be38dc70feca', class: "info", typography: "caption" }, h("b", { key: '47e8b4c296c88bb4e860135b846c536197312443' }, this.t.get('label')), ' ', this.t.get(this.contrast[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label)), h("mds-tab", { key: '24a16f9b5bd82bc838a899b75399817d73d1dfb0', fill: true, size: this.size }, h("mds-tab-item", { key: 'ac1df9489fe6df41d8040e30da99d095fa8db50d', selected: this.mode === 'more', onClick: this.handleModeClick('more'), class: "item item--more", icon: miBaselineContrast, title: this.t.get(this.contrast.more.label) }), h("mds-tab-item", { key: 'd7a46a75971a9f66e6283fa717e46c8940c16f59', selected: this.mode === 'system', onClick: this.handleModeClick('system'), class: "item item--system", icon: miBaselineSettings, title: this.t.get(this.contrast.system.label) }), h("mds-tab-item", { key: '8838c3b0829cc9f8ec387dd0f5dfb5c7ebea8994', selected: this.mode === 'no-preference', onClick: this.handleModeClick('no-preference'), class: "item item--default", icon: this.mode === 'no-preference' ? miBaselineAutoAwesome : miOutlineAutoAwesome, title: this.t.get(this.contrast['no-preference'].label) }))));
112
112
  }
113
113
  static get is() { return "mds-pref-contrast"; }
114
114
  static get encapsulation() { return "shadow"; }
@@ -6,13 +6,13 @@
6
6
 
7
7
  # mds-pref-language
8
8
 
9
- > `@maggioli-design-system/magma` 2.2.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.3.0. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
- The `<mds-pref-language>` web component is the language-preference control of the Magma Design System, designed to be slotted inside [`<mds-pref>`](../mds-pref/AGENTS.md) alongside the other preference children. It renders a labelled tab trigger that opens a dropdown of `<mds-pref-language-item>` entries, letting users switch the active document language and persisting that choice.
11
+ The `<mds-pref-language>` web component is the language-preference control of the Magma Design System, usually slotted inside the [`<mds-pref>`](../mds-pref/AGENTS.md) panel alongside the other preference children. It renders a labelled tab trigger that opens a dropdown of `<mds-pref-language-item>` entries, letting users switch the active document language and persisting that choice.
12
12
 
13
13
  #### Semantic Behavior
14
14
 
15
- - **Compound child constraint**: Must be placed as a direct slot child of `<mds-pref>`. In turn it acts as the host for its own `<mds-pref-language-item>` children, supplied via its default slot.
15
+ - **Usually inside `<mds-pref>`**: Placed as a direct slot child of `<mds-pref>`, alongside the other `mds-pref-*` controls; it also works on its own, since it applies and stores the language by itself. What it gives up on its own is in the antipattern docs. In turn it hosts its own `<mds-pref-language-item>` children, supplied via its default slot.
16
16
  - **Default slot hosts the items**: The default slot accepts one or more `<mds-pref-language-item>` elements; when the control loads, the item whose `code` matches the resolved language is marked selected (a later change of `set` does not move the selection).
17
17
  - **Selection orchestration**: Selecting an item clears the others, closes the dropdown, and resolves the new language - the children report up to this component, which centralizes the single-selection state.
18
18
  - **Language resolution & persistence**: When `set` is `auto` the active language is resolved in priority order from the persisted value, then the `<html lang>` attribute, then `navigator.language`. The resolved value is persisted and written to `<html lang>` - the single page-wide source of truth for the language. Every localized Magma component (including ones nested in shadow DOM) reacts automatically through a shared reactive store; there is no per-element `lang` override and no imperative refresh method. Applications that manage the language themselves can simply set `<html lang>`: the store observes it.
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-14T12:22:32",
2
+ "timestamp": "2026-10-15T16:08:09",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.44.2",
@@ -18,7 +18,7 @@
18
18
  }
19
19
  ],
20
20
  "usage": {
21
- "1. Description": "The `<mds-pref-language>` web component is the language-preference control of the Magma Design System, designed to be slotted inside [`<mds-pref>`](../mds-pref/AGENTS.md) alongside the other preference children. It renders a labelled tab trigger that opens a dropdown of `<mds-pref-language-item>` entries, letting users switch the active document language and persisting that choice.\n\n#### Semantic Behavior\n\n- **Compound child constraint**: Must be placed as a direct slot child of `<mds-pref>`. In turn it acts as the host for its own `<mds-pref-language-item>` children, supplied via its default slot.\n- **Default slot hosts the items**: The default slot accepts one or more `<mds-pref-language-item>` elements; when the control loads, the item whose `code` matches the resolved language is marked selected (a later change of `set` does not move the selection).\n- **Selection orchestration**: Selecting an item clears the others, closes the dropdown, and resolves the new language - the children report up to this component, which centralizes the single-selection state.\n- **Language resolution & persistence**: When `set` is `auto` the active language is resolved in priority order from the persisted value, then the `<html lang>` attribute, then `navigator.language`. The resolved value is persisted and written to `<html lang>` - the single page-wide source of truth for the language. Every localized Magma component (including ones nested in shadow DOM) reacts automatically through a shared reactive store; there is no per-element `lang` override and no imperative refresh method. Applications that manage the language themselves can simply set `<html lang>`: the store observes it.\n- **Events bubbled to the parent**: Emits `mdsPrefLanguageChange` on every item pick, also when the picked language is already active (detail carries the selected `language` code; it fires just before the language is applied), and `mdsPrefChange` (detail `{ preference: 'language' }`), fired only when the resolved language actually changes, from a pick or from a new `set` value (the initial application on load does not emit). The latter is the event `<mds-pref>` listens to for its \"reload required\" notice, since application-level content may still need a reload.\n- **Invalid codes throw**: A `set` value that is neither `auto` nor a valid `xx` / `xx-XX` BCP 47 short form raises an error rather than failing silently.\n- **Default-language hint**: When the resolved language differs from the built-in default (`en`), a caption noting the default language is rendered.\n\n#### Properties & Visual Configurations\n\n- **`set`**: The desired language as a BCP 47 short tag (e.g. `it`, `en`, `es-ES`); the special value `auto` (default) defers to the persisted/page/system resolution chain described above. Region subtags are sanitized down to the two-letter language. Set an explicit value only to force a starting language regardless of the user's environment. Supported display languages are Italiano, English, Español and ελληνικά.\n- **`size`**: Sizes the nested tab trigger (`sm` / `md`). The parent `<mds-pref>` forwards its own `size` to every `mds-pref-*` child only when that prop changes after load, not from the initial markup: to size the control from markup, set `size` here.\n",
21
+ "1. Description": "The `<mds-pref-language>` web component is the language-preference control of the Magma Design System, usually slotted inside the [`<mds-pref>`](../mds-pref/AGENTS.md) panel alongside the other preference children. It renders a labelled tab trigger that opens a dropdown of `<mds-pref-language-item>` entries, letting users switch the active document language and persisting that choice.\n\n#### Semantic Behavior\n\n- **Usually inside `<mds-pref>`**: Placed as a direct slot child of `<mds-pref>`, alongside the other `mds-pref-*` controls; it also works on its own, since it applies and stores the language by itself. What it gives up on its own is in the antipattern docs. In turn it hosts its own `<mds-pref-language-item>` children, supplied via its default slot.\n- **Default slot hosts the items**: The default slot accepts one or more `<mds-pref-language-item>` elements; when the control loads, the item whose `code` matches the resolved language is marked selected (a later change of `set` does not move the selection).\n- **Selection orchestration**: Selecting an item clears the others, closes the dropdown, and resolves the new language - the children report up to this component, which centralizes the single-selection state.\n- **Language resolution & persistence**: When `set` is `auto` the active language is resolved in priority order from the persisted value, then the `<html lang>` attribute, then `navigator.language`. The resolved value is persisted and written to `<html lang>` - the single page-wide source of truth for the language. Every localized Magma component (including ones nested in shadow DOM) reacts automatically through a shared reactive store; there is no per-element `lang` override and no imperative refresh method. Applications that manage the language themselves can simply set `<html lang>`: the store observes it.\n- **Events bubbled to the parent**: Emits `mdsPrefLanguageChange` on every item pick, also when the picked language is already active (detail carries the selected `language` code; it fires just before the language is applied), and `mdsPrefChange` (detail `{ preference: 'language' }`), fired only when the resolved language actually changes, from a pick or from a new `set` value (the initial application on load does not emit). The latter is the event `<mds-pref>` listens to for its \"reload required\" notice, since application-level content may still need a reload.\n- **Invalid codes throw**: A `set` value that is neither `auto` nor a valid `xx` / `xx-XX` BCP 47 short form raises an error rather than failing silently.\n- **Default-language hint**: When the resolved language differs from the built-in default (`en`), a caption noting the default language is rendered.\n\n#### Properties & Visual Configurations\n\n- **`set`**: The desired language as a BCP 47 short tag (e.g. `it`, `en`, `es-ES`); the special value `auto` (default) defers to the persisted/page/system resolution chain described above. Region subtags are sanitized down to the two-letter language. Set an explicit value only to force a starting language regardless of the user's environment. Supported display languages are Italiano, English, Español and ελληνικά.\n- **`size`**: Sizes the nested tab trigger (`sm` / `md`). The parent `<mds-pref>` forwards its own `size` to every `mds-pref-*` child only when that prop changes after load, not from the initial markup: to size the control from markup, set `size` here.\n",
22
22
  "2. Pattern": "Correct and idiomatic ways to use the `<mds-pref-language>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Basic Language Selector Inside `mds-pref`\n\nThe canonical usage. Nest `<mds-pref-language>` as a direct child of [`<mds-pref>`](../mds-pref/AGENTS.md) and populate its default slot with one [`<mds-pref-language-item>`](../mds-pref-language-item/AGENTS.md) per supported locale. The `code` attribute on each item must be a valid BCP 47 short tag.\n\n```html\n<mds-pref>\n <mds-pref-language>\n <mds-pref-language-item code=\"it\"></mds-pref-language-item>\n <mds-pref-language-item code=\"en\"></mds-pref-language-item>\n <mds-pref-language-item code=\"el\"></mds-pref-language-item>\n </mds-pref-language>\n</mds-pref>\n```\n\n#### Forcing a Starting Language with `set`\n\nPass an explicit BCP 47 tag to `set` to override the automatic resolution chain. Use this when the application dictates an initial language regardless of the user's browser setting or persisted preference.\n\n```html\n<mds-pref>\n <mds-pref-language set=\"it\">\n <mds-pref-language-item code=\"it\"></mds-pref-language-item>\n <mds-pref-language-item code=\"en\"></mds-pref-language-item>\n <mds-pref-language-item code=\"es\"></mds-pref-language-item>\n </mds-pref-language>\n</mds-pref>\n```\n\n#### Automatic Language Resolution (default)\n\nOmit `set` (or pass `set=\"auto\"`) to let the component resolve the active language in priority order: persisted user choice, then the page `<html lang>` attribute, then `navigator.language`. This is the right choice for most applications.\n\n```html\n<mds-pref>\n <mds-pref-language>\n <mds-pref-language-item code=\"it\"></mds-pref-language-item>\n <mds-pref-language-item code=\"en\"></mds-pref-language-item>\n </mds-pref-language>\n</mds-pref>\n```\n\n#### Sizing via `size`\n\nUse the `size` prop to size the tab trigger. The parent [`<mds-pref>`](../mds-pref/AGENTS.md) forwards its own `size` to every `mds-pref-*` child only when that prop changes after load, not from the initial markup: in markup, set `size` on each preference control, with the same value to keep the group consistent.\n\n```html\n<mds-pref>\n <mds-pref-language size=\"sm\">\n <mds-pref-language-item code=\"it\"></mds-pref-language-item>\n <mds-pref-language-item code=\"en\"></mds-pref-language-item>\n </mds-pref-language>\n</mds-pref>\n```\n\n#### Listening for Language Changes\n\nListen to `mdsPrefLanguageChange` to react when the user picks a language (for example, to reload the page or re-fetch translated content). The event detail carries the selected `language` code string. It fires on every pick, also when the picked language is already the active one.\n\n```html\n<mds-pref>\n <mds-pref-language id=\"lang-selector\">\n <mds-pref-language-item code=\"it\"></mds-pref-language-item>\n <mds-pref-language-item code=\"en\"></mds-pref-language-item>\n </mds-pref-language>\n</mds-pref>\n\n<script>\n document.querySelector('#lang-selector').addEventListener('mdsPrefLanguageChange', (e) => {\n console.log('Nuova lingua selezionata:', e.detail.language);\n // e.g. reload the page to apply the new locale\n window.location.reload();\n });\n</script>\n```\n\n#### Full Preference Panel with Language\n\n`<mds-pref-language>` is one of several preference children accepted by [`<mds-pref>`](../mds-pref/AGENTS.md). Compose it alongside the other controls to offer a complete preferences UI.\n\n```html\n<mds-pref>\n <mds-pref-mode></mds-pref-mode>\n <mds-pref-contrast></mds-pref-contrast>\n <mds-pref-animation></mds-pref-animation>\n <mds-pref-consumption></mds-pref-consumption>\n <mds-pref-language>\n <mds-pref-language-item code=\"it\"></mds-pref-language-item>\n <mds-pref-language-item code=\"en\"></mds-pref-language-item>\n <mds-pref-language-item code=\"es\"></mds-pref-language-item>\n <mds-pref-language-item code=\"el\"></mds-pref-language-item>\n </mds-pref-language>\n</mds-pref>\n```\n",
23
23
  "3. Antipattern": "Common incorrect uses of `<mds-pref-language>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Use Outside `mds-pref`\n\n`<mds-pref-language>` is a compound child designed to live inside [`<mds-pref>`](../mds-pref/AGENTS.md). As a standalone widget it still applies and persists the language, but it leaves the preference group: `<mds-pref>` forwards `size` changes to its `mds-pref-*` children and listens to their `mdsPrefChange` for the reload-required notice.\n\n```html\n<!-- INCORRECT -->\n<mds-pref-language>\n <mds-pref-language-item code=\"it\"></mds-pref-language-item>\n <mds-pref-language-item code=\"en\"></mds-pref-language-item>\n</mds-pref-language>\n\n<!-- CORRECT -->\n<mds-pref>\n <mds-pref-language>\n <mds-pref-language-item code=\"it\"></mds-pref-language-item>\n <mds-pref-language-item code=\"en\"></mds-pref-language-item>\n </mds-pref-language>\n</mds-pref>\n```\n\n#### Do Not Slot Arbitrary HTML Instead of `mds-pref-language-item`\n\nThe default slot accepts only `<mds-pref-language-item>` elements. Slotting raw `<button>`, `<li>`, or other elements bypasses the selection orchestration and event wiring the parent depends on.\n\n```html\n<!-- INCORRECT -->\n<mds-pref>\n <mds-pref-language>\n <button>Italiano</button>\n <button>English</button>\n </mds-pref-language>\n</mds-pref>\n\n<!-- CORRECT -->\n<mds-pref>\n <mds-pref-language>\n <mds-pref-language-item code=\"it\"></mds-pref-language-item>\n <mds-pref-language-item code=\"en\"></mds-pref-language-item>\n </mds-pref-language>\n</mds-pref>\n```\n\n#### Do Not Pass an Unrecognized Language Code to `set`\n\nThe `set` prop must be either `\"auto\"` or a valid two-letter BCP 47 tag (`xx` or `xx-XX`). Any other value - including full locale strings like `\"italiano\"`, ISO 639-2 three-letter codes, or malformed strings - throws an error at runtime.\n\n```html\n<!-- INCORRECT -->\n<mds-pref-language set=\"italiano\">...</mds-pref-language>\n<mds-pref-language set=\"en_US\">...</mds-pref-language>\n\n<!-- CORRECT -->\n<mds-pref-language set=\"it\">...</mds-pref-language>\n<mds-pref-language set=\"en\">...</mds-pref-language>\n<mds-pref-language set=\"es-ES\">...</mds-pref-language>\n```\n\n#### Do Not Set `selected` Manually on `mds-pref-language-item`\n\nThe parent `<mds-pref-language>` manages the `selected` state of each item automatically based on the active language: when it loads it marks only the item whose `code` matches, and on each pick it clears the siblings. A `selected` written in the markup is overwritten on load; one set later from script leaves the visual selection out of step with the active language.\n\n```html\n<!-- INCORRECT -->\n<mds-pref>\n <mds-pref-language set=\"it\">\n <mds-pref-language-item code=\"it\" selected></mds-pref-language-item>\n <mds-pref-language-item code=\"en\"></mds-pref-language-item>\n </mds-pref-language>\n</mds-pref>\n\n<!-- CORRECT - the parent derives selection from `set` -->\n<mds-pref>\n <mds-pref-language set=\"it\">\n <mds-pref-language-item code=\"it\"></mds-pref-language-item>\n <mds-pref-language-item code=\"en\"></mds-pref-language-item>\n </mds-pref-language>\n</mds-pref>\n```\n\n#### Do Not Listen to `mdsPrefLanguageItemSelect` Instead of `mdsPrefLanguageChange`\n\n`mdsPrefLanguageItemSelect` is the item's own event, emitted by `<mds-pref-language-item>` and consumed by its parent. Application code should listen to `mdsPrefLanguageChange` on `<mds-pref-language>`: one listener for the whole list, fired after the parent has committed the selection (the language is applied right after it, so read it from `e.detail.language`).\n\n```html\n<!-- INCORRECT -->\n<script>\n document.querySelector('mds-pref-language-item').addEventListener('mdsPrefLanguageItemSelect', (e) => {\n console.log(e.detail.language);\n });\n</script>\n\n<!-- CORRECT -->\n<script>\n document.querySelector('mds-pref-language').addEventListener('mdsPrefLanguageChange', (e) => {\n console.log(e.detail.language);\n });\n</script>\n```\n\n#### Do Not Set Size via CSS Instead of the `size` Prop\n\nThe `size` prop is the only supported way to resize the internal tab trigger. Overriding dimensions with inline styles or CSS custom properties not listed in the component's documented surface couples your code to internal implementation details.\n\n```css\n/* INCORRECT */\nmds-pref-language mds-tab-item {\n font-size: 10px;\n}\n```\n\n```html\n<!-- CORRECT -->\n<mds-pref>\n <mds-pref-language size=\"sm\">\n <mds-pref-language-item code=\"it\"></mds-pref-language-item>\n <mds-pref-language-item code=\"en\"></mds-pref-language-item>\n </mds-pref-language>\n</mds-pref>\n```\n"
24
24
  },
@@ -18,13 +18,21 @@ mds-text {
18
18
  gap: --spacing(400);
19
19
  }
20
20
 
21
+ /* label and tab, laid out as on the host of the other mds-pref-* (#927): the host gap only
22
+ separates this menu from what follows it */
23
+
24
+ .menu {
25
+ display: grid;
26
+ gap: --spacing(200);
27
+ }
28
+
21
29
  .mds-pref-language-dropdown {
22
30
  gap: --spacing(100);
23
31
  padding: --spacing(400);
24
32
  }
25
33
 
26
34
  .item {
27
- --mds-tab-item-default-color: rgb(var(--magma-text-disabled, var(--magma-tint-text-disabled, var(--text-neutral-disabled, 119 119 119))));
35
+ --mds-tab-item-default-color: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
28
36
 
29
37
  flex-basis: 0;
30
38
  flex-grow: 1;
@@ -36,5 +44,5 @@ mds-text {
36
44
 
37
45
  .item--auto,
38
46
  .item--custom-language {
39
- --mds-tab-item-selected-color: rgb(var(--magma-text-muted, var(--magma-tint-text-muted, var(--text-neutral-muted, 73 73 73))));
47
+ --mds-tab-item-selected-color: rgb(var(--magma-text-muted, var(--text-neutral-muted, 73 73 73)));
40
48
  }
@@ -105,7 +105,7 @@ export class MdsPrefLanguage {
105
105
  }
106
106
  render() {
107
107
  var _a;
108
- return (h(Host, { key: 'f753d55dfd605c997e59a8a1aa39fc62653c9772' }, h("div", { key: '4c9f06c2804071445be6c37961d8bd1184bf091f', class: "menu" }, h("mds-text", { key: 'dad3f9ec779317dd67f2aa219e8a806baa8d3b91', class: "info", typography: "caption" }, h("b", { key: '1e12a95464d4b5d87b003bdf2f1efde66a73228a' }, this.t.get('label'))), h("mds-tab", { key: 'a196380b5a19c6f0ca2fd45f78ecb11923704991', fill: true, size: this.size }, h("mds-tab-item", { key: 'e55bc4fdea471cb561b7730fd66a1ef50204b3e5', selected: true, onClick: this.toggleDropdown, expanded: this.showDropdown, id: "mds-pref-language-nav", class: "item item--custom-language", "icon-position": "right", icon: this.showDropdown ? miBaselineKeyboardArrowUp : miBaselineKeyboardArrowDown, label: this.t.get((_a = this.set) !== null && _a !== void 0 ? _a : 'auto') }))), h("mds-dropdown", { key: '3d7bbdfc99e528698dd6183791592728dc519aa7', class: "mds-pref-language-dropdown", target: "#mds-pref-language-nav", interaction: "none", visible: this.showDropdown, onMdsDropdownHide: this.hideLanguageSelectDropdown }, h("slot", { key: 'c22037a520eb1e3b625b7dd03e9bce8b1bd93e2e' })), this.set !== this.defaultLanguage && (h("mds-text", { key: 'd9dc8555ff4379634eb541790fe683a45523951c', typography: "caption" }, this.t.get('defaultLanguage')))));
108
+ return (h(Host, { key: '21129a3d751feb56d928d2bc9f5e39f0f548f909' }, h("div", { key: 'bcfbe0dd6918f8a37d26ecfd57da156c78e94582', class: "menu" }, h("mds-text", { key: '6386b4d771c1fca8efbede23f69ea56dbbee4947', class: "info", typography: "caption" }, h("b", { key: '4d309028a088aacfac87ee401daaafdc75163d4c' }, this.t.get('label'))), h("mds-tab", { key: 'ad09f6d0f37a6570d77341456b7b2fcc0a6987a6', fill: true, size: this.size }, h("mds-tab-item", { key: '8230f8238bd9e68211d41098af53d78e86711c97', selected: true, onClick: this.toggleDropdown, expanded: this.showDropdown, id: "mds-pref-language-nav", class: "item item--custom-language", "icon-position": "right", icon: this.showDropdown ? miBaselineKeyboardArrowUp : miBaselineKeyboardArrowDown, label: this.t.get((_a = this.set) !== null && _a !== void 0 ? _a : 'auto') }))), h("mds-dropdown", { key: '333d1c56ea5e1a7ec3266d25fb4fd46481b18829', class: "mds-pref-language-dropdown", target: "#mds-pref-language-nav", interaction: "none", visible: this.showDropdown, onMdsDropdownHide: this.hideLanguageSelectDropdown }, h("slot", { key: '82f649867dbf53c395dcbdc17690512019f0e6b3' })), this.set !== this.defaultLanguage && (h("mds-text", { key: '0ecda6e3832b41bb0e8127ff88a9122eab4459e7', typography: "caption" }, this.t.get('defaultLanguage')))));
109
109
  }
110
110
  static get is() { return "mds-pref-language"; }
111
111
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-pref-language-item
8
8
 
9
- > `@maggioli-design-system/magma` 2.2.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.3.0. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-pref-language-item>` web component represents a single selectable language option inside the language-preference picker [`<mds-pref-language>`](../mds-pref-language/AGENTS.md). It renders one row of the parent's dropdown and reports the user's choice up to the parent rather than changing the page language itself.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-14T12:22:32",
2
+ "timestamp": "2026-10-15T16:08:09",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.44.2",
@@ -40,7 +40,7 @@ export class MdsPrefLanguageItem {
40
40
  return (
41
41
  // the item is an entry of the `menu` the mds-dropdown of the controller opens:
42
42
  // without the role axe rejects it as a child of that menu (aria-required-children)
43
- h(Host, { key: '714a3e699f569f51f26bed7040591e987db1f50b', onClick: this.handleClick, role: "menuitem" }, ((_a = this.code) !== null && _a !== void 0 ? _a : '') !== '' ? (h("mds-button", { icon: this.selected ? miBaselineCheckCircle : miOutlineCircle, variant: "dark", tone: "text", label: localeDefault[this.code] })) : (h("mds-button", { icon: miBaselineCheckCircle, variant: "error", tone: "text", label: this.t.get('noCode') }))));
43
+ h(Host, { key: '968d0f761a2c4b2de6652069dc1db4f51d61ee76', onClick: this.handleClick, role: "menuitem" }, ((_a = this.code) !== null && _a !== void 0 ? _a : '') !== '' ? (h("mds-button", { icon: this.selected ? miBaselineCheckCircle : miOutlineCircle, variant: "dark", tone: "text", label: localeDefault[this.code] })) : (h("mds-button", { icon: miBaselineCheckCircle, variant: "error", tone: "text", label: this.t.get('noCode') }))));
44
44
  }
45
45
  static get is() { return "mds-pref-language-item"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -6,13 +6,13 @@
6
6
 
7
7
  # mds-pref-mode
8
8
 
9
- > `@maggioli-design-system/magma` 2.2.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.3.0. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
- The `<mds-pref-mode>` web component is the mode preference control of the Magma Design System, designed to live as a direct child of [`<mds-pref>`](../mds-pref/AGENTS.md). It renders a labelled three-way tab (light / system / dark) that lets the user pick a color-scheme mode and applies it globally to the document.
11
+ The `<mds-pref-mode>` web component is the mode preference control of the Magma Design System, usually a direct child of the [`<mds-pref>`](../mds-pref/AGENTS.md) panel. It renders a labelled three-way tab (light / system / dark) that lets the user pick a color-scheme mode and applies it globally to the document.
12
12
 
13
13
  #### Semantic Behavior
14
14
 
15
- - **Compound child only**: It is meant to be placed directly in the default slot of `<mds-pref>` alongside the other `mds-pref-*` preference children; it is not used standalone or mixed with unrelated child types.
15
+ - **Usually inside `<mds-pref>`**: Placed as a direct slot child of `<mds-pref>`, alongside the other `mds-pref-*` controls; it also works on its own, since it applies and stores the mode by itself. What it gives up on its own is in the antipattern docs.
16
16
  - **Selection follows `mode`**: The active tab reflects whichever mode is currently applied, driven by the `mode` prop.
17
17
  - **Global mode application**: Selecting a mode applies it document-wide and persists the choice.
18
18
  - **Persistence on load**: The applied mode resolves from `mode` -> the stored value -> the `system` default, so a previously chosen mode is restored without an explicit prop.
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-14T12:22:32",
2
+ "timestamp": "2026-10-15T16:08:09",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.44.2",
@@ -13,7 +13,7 @@
13
13
  "docs": "",
14
14
  "docsTags": [],
15
15
  "usage": {
16
- "1. Description": "The `<mds-pref-mode>` web component is the mode preference control of the Magma Design System, designed to live as a direct child of [`<mds-pref>`](../mds-pref/AGENTS.md). It renders a labelled three-way tab (light / system / dark) that lets the user pick a color-scheme mode and applies it globally to the document.\n\n#### Semantic Behavior\n\n- **Compound child only**: It is meant to be placed directly in the default slot of `<mds-pref>` alongside the other `mds-pref-*` preference children; it is not used standalone or mixed with unrelated child types.\n- **Selection follows `mode`**: The active tab reflects whichever mode is currently applied, driven by the `mode` prop.\n- **Global mode application**: Selecting a mode applies it document-wide and persists the choice.\n- **Persistence on load**: The applied mode resolves from `mode` -> the stored value -> the `system` default, so a previously chosen mode is restored without an explicit prop.\n- **`mdsPrefChange` event**: Emits `mdsPrefChange` with `{ preference: 'mode' }` every time the mode is applied: on load and on each pick, so one pick can emit it more than once. It bubbles up to `<mds-pref>`; a mode change needs no reload, so it raises no reload notice.\n- **Instances stay in sync**: Instances mounted together (a hidden `<mds-pref controller>` and a visible settings panel) share the applied mode: a pick in one is mirrored by the others, which neither apply it again nor emit `mdsPrefChange`. A `pref-mode-*` class written on `<html>` by other code is mirrored the same way.\n- **Safari fallback**: On Safari the control disables itself and forces `mode` to `light`, since the transition overlay technique is unsupported there.\n- **System mode**: The `system` choice follows the OS `prefers-color-scheme` media query to resolve the effective light/dark scheme.\n\n#### Properties & Visual Configurations\n\n- **`mode`**: Sets and reflects the active mode (`light`, `dark`, `system`). Leave it unset to inherit the persisted/default mode; set it explicitly to force a starting mode.\n- **`transition`**: Controls the visual switch between schemes. Use `smooth` (default) for a fading neutral overlay that flips the mode mid-fade, `flash` for an instant switch with a brief overlay pulse, or `none` to apply the new mode with no overlay animation. The overlay timing and z-index are tunable through `--mds-pref-mode-overlay-*` CSS custom properties.\n- **`size`**: Sizes the nested tab items (`sm` / `md`). The parent `<mds-pref>` forwards its own `size` to every `mds-pref-*` child only when that prop changes after load, not from the initial markup: in markup, set it here (with the same value on the sibling preferences, so the group stays visually consistent).\n",
16
+ "1. Description": "The `<mds-pref-mode>` web component is the mode preference control of the Magma Design System, usually a direct child of the [`<mds-pref>`](../mds-pref/AGENTS.md) panel. It renders a labelled three-way tab (light / system / dark) that lets the user pick a color-scheme mode and applies it globally to the document.\n\n#### Semantic Behavior\n\n- **Usually inside `<mds-pref>`**: Placed as a direct slot child of `<mds-pref>`, alongside the other `mds-pref-*` controls; it also works on its own, since it applies and stores the mode by itself. What it gives up on its own is in the antipattern docs.\n- **Selection follows `mode`**: The active tab reflects whichever mode is currently applied, driven by the `mode` prop.\n- **Global mode application**: Selecting a mode applies it document-wide and persists the choice.\n- **Persistence on load**: The applied mode resolves from `mode` -> the stored value -> the `system` default, so a previously chosen mode is restored without an explicit prop.\n- **`mdsPrefChange` event**: Emits `mdsPrefChange` with `{ preference: 'mode' }` every time the mode is applied: on load and on each pick, so one pick can emit it more than once. It bubbles up to `<mds-pref>`; a mode change needs no reload, so it raises no reload notice.\n- **Instances stay in sync**: Instances mounted together (a hidden `<mds-pref controller>` and a visible settings panel) share the applied mode: a pick in one is mirrored by the others, which neither apply it again nor emit `mdsPrefChange`. A `pref-mode-*` class written on `<html>` by other code is mirrored the same way.\n- **Safari fallback**: On Safari the control disables itself and forces `mode` to `light`, since the transition overlay technique is unsupported there.\n- **System mode**: The `system` choice follows the OS `prefers-color-scheme` media query to resolve the effective light/dark scheme.\n\n#### Properties & Visual Configurations\n\n- **`mode`**: Sets and reflects the active mode (`light`, `dark`, `system`). Leave it unset to inherit the persisted/default mode; set it explicitly to force a starting mode.\n- **`transition`**: Controls the visual switch between schemes. Use `smooth` (default) for a fading neutral overlay that flips the mode mid-fade, `flash` for an instant switch with a brief overlay pulse, or `none` to apply the new mode with no overlay animation. The overlay timing and z-index are tunable through `--mds-pref-mode-overlay-*` CSS custom properties.\n- **`size`**: Sizes the nested tab items (`sm` / `md`). The parent `<mds-pref>` forwards its own `size` to every `mds-pref-*` child only when that prop changes after load, not from the initial markup: in markup, set it here (with the same value on the sibling preferences, so the group stays visually consistent).\n",
17
17
  "2. Pattern": "Correct and idiomatic ways to use the `<mds-pref-mode>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the shared preference system documented in [`agents/theming.md`](../../../../agents/theming.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Default Usage Inside `mds-pref`\n\nThe canonical form. Slot `<mds-pref-mode>` as a direct child of [`<mds-pref>`](../mds-pref/AGENTS.md) with no extra props. The component restores the user's previously persisted mode automatically on load.\n\n```html\n<mds-pref>\n <mds-pref-mode></mds-pref-mode>\n</mds-pref>\n```\n\n#### Setting an Initial Mode\n\nPass `mode` to force the selector to start on a specific mode rather than reading from `localStorage`. Useful when the host application controls preference state centrally. The forced mode is also written to `localStorage` on every load, replacing the user's last choice.\n\n```html\n<mds-pref>\n <mds-pref-mode mode=\"dark\"></mds-pref-mode>\n</mds-pref>\n```\n\n#### Using `system` Mode for OS-Aware Default\n\n`mode=\"system\"` resolves to light or dark based on the OS `prefers-color-scheme` media query. Use this as the explicit starting point when you want the app to follow the OS without the user having to choose.\n\n```html\n<mds-pref>\n <mds-pref-mode mode=\"system\"></mds-pref-mode>\n</mds-pref>\n```\n\n#### Choosing a Transition Style\n\n`transition` controls the visual effect when switching between schemes. Use `smooth` (default) for a mid-fade overlay that hides the color flip, `flash` for an instant switch with a brief full-screen pulse, or `none` for a hard switch with no animation.\n\n```html\n<!-- Smooth fade (default) -->\n<mds-pref-mode transition=\"smooth\"></mds-pref-mode>\n\n<!-- Instant flash pulse -->\n<mds-pref-mode transition=\"flash\"></mds-pref-mode>\n\n<!-- No animation -->\n<mds-pref-mode transition=\"none\"></mds-pref-mode>\n```\n\n#### Listening for Mode Changes\n\nThe component emits `mdsPrefChange` with `{ preference: 'mode' }` each time the mode is applied, on load and on each pick, so expect repeats with the same mode; another instance that mirrors the pick does not emit it. Listen for this event to react in application code - for example to sync a preference state store - and read the current value from the `mode` prop.\n\n```html\n<mds-pref>\n <mds-pref-mode id=\"mode-selector\"></mds-pref-mode>\n</mds-pref>\n\n<script>\n document.getElementById('mode-selector').addEventListener('mdsPrefChange', (e) => {\n console.log('Modalita tema cambiata:', e.detail.preference);\n });\n</script>\n```\n\n#### Controlling Size via the Parent\n\n`size` is forwarded to the internal tab items. [`<mds-pref>`](../mds-pref/AGENTS.md) forwards its own `size` to every `mds-pref-*` child only when that prop changes after load, not from the initial markup: in markup, set the same `size` on every preference control to keep the panel at one tab size.\n\n```html\n<mds-pref>\n <mds-pref-mode size=\"sm\"></mds-pref-mode>\n <mds-pref-contrast size=\"sm\"></mds-pref-contrast>\n</mds-pref>\n```\n\n#### Customizing the Transition Overlay\n\nTune the overlay timing and stacking order via the documented `--mds-pref-mode-overlay-*` CSS custom properties. Set them on the host or a parent selector. Use Magma time tokens where available so animations stay in sync with the design system.\n\n```css\nmds-pref-mode {\n --mds-pref-mode-overlay-show-duration: 400ms;\n --mds-pref-mode-overlay-fadeout-duration: 250ms;\n --mds-pref-mode-overlay-z-index: 9000;\n}\n```\n",
18
18
  "3. Antipattern": "Common incorrect uses of `<mds-pref-mode>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Use `<mds-pref-mode>` Outside `<mds-pref>`\n\n`<mds-pref-mode>` is a compound child: `<mds-pref>` forwards `size` changes to it and locks the mode item that a scheme-constrained `<mds-pref-theme>` forbids (it sets `lockedScheme`). As a standalone widget it still applies and persists the mode, but nothing coordinates it with the theme.\n\n```html\n<!-- INCORRECT -->\n<mds-pref-mode></mds-pref-mode>\n\n<!-- CORRECT -->\n<mds-pref>\n <mds-pref-mode></mds-pref-mode>\n</mds-pref>\n```\n\n#### Do Not Set `transition=\"false\"` to Disable the Overlay\n\n`transition` is a string enum, not a boolean. `\"false\"` is not a valid value: it only happens to fall through to the no-overlay branch, with no guarantee across releases. Use `transition=\"none\"` to opt out of the overlay animation.\n\n```html\n<!-- INCORRECT -->\n<mds-pref-mode transition=\"false\"></mds-pref-mode>\n\n<!-- CORRECT -->\n<mds-pref-mode transition=\"none\"></mds-pref-mode>\n```\n\n#### Do Not Listen for Native `change` Events Instead of `mdsPrefChange`\n\nThe component does not emit or bubble native `change` events out of the shadow DOM. Always listen for the documented `mdsPrefChange` custom event.\n\n```html\n<!-- INCORRECT -->\n<script>\n document.querySelector('mds-pref-mode').addEventListener('change', handler);\n</script>\n\n<!-- CORRECT -->\n<script>\n document.querySelector('mds-pref-mode').addEventListener('mdsPrefChange', handler);\n</script>\n```\n\n#### Do Not Override Mode Classes on `<html>` Directly\n\nThe component manages `pref-mode-light`, `pref-mode-dark`, and `pref-mode-system` classes on `<html>` itself. Adding or removing these by hand races with the component and will be overwritten on the next mode change. Drive the mode exclusively through the `mode` prop.\n\n```html\n<!-- INCORRECT -->\n<script>\n document.documentElement.classList.add('pref-mode-dark');\n</script>\n\n<!-- CORRECT -->\n<mds-pref>\n <mds-pref-mode mode=\"dark\"></mds-pref-mode>\n</mds-pref>\n```\n\n#### Do Not Size Only One Child of the Panel\n\n`<mds-pref>` forwards its own `size` to its preference children only when that prop changes after load, not from the initial markup, so in markup each child carries its own `size`. Setting it on `<mds-pref-mode>` alone when siblings exist produces inconsistent tab sizes across the panel.\n\n```html\n<!-- INCORRECT -->\n<mds-pref>\n <mds-pref-mode size=\"sm\"></mds-pref-mode>\n <mds-pref-contrast></mds-pref-contrast>\n</mds-pref>\n\n<!-- CORRECT -->\n<mds-pref>\n <mds-pref-mode size=\"sm\"></mds-pref-mode>\n <mds-pref-contrast size=\"sm\"></mds-pref-contrast>\n</mds-pref>\n```\n\n#### Do Not Target the Injected Overlay to Customize It\n\nThe overlay element is injected into `document.body` at runtime with inline styles, which win over a class selector anyway. Do not target it by class name or adjust its properties through JavaScript. Use the documented `--mds-pref-mode-overlay-*` CSS custom properties instead.\n\n```css\n/* INCORRECT */\n.mds-pref-mode-overlay {\n background-color: black;\n z-index: 99999;\n}\n\n/* CORRECT */\nmds-pref-mode {\n --mds-pref-mode-overlay-show-duration: 400ms;\n --mds-pref-mode-overlay-z-index: 9000;\n}\n```\n"
19
19
  },
@@ -24,18 +24,18 @@ mds-text {
24
24
  --mds-pref-mode-overlay-z-index: var(--magma-theme-overlay-z-index, 7000);
25
25
 
26
26
  display: grid;
27
- gap: --spacing(100);
27
+ gap: --spacing(200);
28
28
  }
29
29
 
30
30
  .item {
31
- --mds-tab-item-default-color: rgb(var(--magma-text-disabled, var(--magma-tint-text-disabled, var(--text-neutral-disabled, 119 119 119))));
31
+ --mds-tab-item-default-color: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
32
32
 
33
33
  flex-basis: 0;
34
34
  flex-grow: 1;
35
35
  }
36
36
 
37
37
  .item--system {
38
- --mds-tab-item-selected-color: rgb(var(--magma-text-muted, var(--magma-tint-text-muted, var(--text-neutral-muted, 73 73 73))));
38
+ --mds-tab-item-selected-color: rgb(var(--magma-text-muted, var(--text-neutral-muted, 73 73 73)));
39
39
  }
40
40
 
41
41
  .item--light {
@@ -48,7 +48,7 @@ mds-text {
48
48
 
49
49
  :host([pref-mode='dark']:not([pref-theme-scheme='light'])) {
50
50
  .item {
51
- --mds-tab-item-default-color: rgb(var(--magma-text-default, var(--magma-tint-text-default, var(--text-neutral-default, 5 5 5))));
51
+ --mds-tab-item-default-color: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
52
52
  }
53
53
 
54
54
  .item--light {
@@ -64,7 +64,7 @@ mds-text {
64
64
  :host([pref-mode='system']:not([pref-theme-scheme='light'])),
65
65
  :host(:not([pref-contrast])) {
66
66
  .item {
67
- --mds-tab-item-default-color: rgb(var(--magma-text-default, var(--magma-tint-text-default, var(--text-neutral-default, 5 5 5))));
67
+ --mds-tab-item-default-color: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
68
68
  }
69
69
 
70
70
  .item--light {
@@ -230,9 +230,9 @@ export class MdsPrefMode {
230
230
  }
231
231
  render() {
232
232
  var _a, _b;
233
- return (h(Host, { key: '7cd1902d2bbb1707f0fd08777a0e509b63ed75e7', "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("mds-text", { key: '9be2e723c633331e0303b9d713572a0d81cc83f3', class: "info", typography: "caption" }, h("b", { key: '7e4002d2bea7c59b08eb47bb71d4b7afa40f65e7' }, this.t.get('label')), ' ', this.disabled
233
+ return (h(Host, { key: '38b5a158f45cd24c544afceb41f0baf1e04910da', "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("mds-text", { key: 'cc086f42401d84ab5ae370d406ba5e6b28cf1d29', class: "info", typography: "caption" }, h("b", { key: '945bdb711e6038f86f3bf5ffcaaafb4c362191e5' }, this.t.get('label')), ' ', this.disabled
234
234
  ? this.t.get(this.modes[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label, { forced: true })
235
- : this.t.get(this.modes[(_b = this.mode) !== null && _b !== void 0 ? _b : this.defaultMode].label, { forced: false })), h("mds-tab", { key: '59cbe510ef71c438ee1836506bb8767698bd0e2c', fill: true, size: this.size }, h("mds-tab-item", { key: 'a396dfff77f1c267e53a1427fc650691dc8a9c87', disabled: this.isModeDisabled('light'), selected: this.mode === 'light', onClick: this.handleModeClick('light'), class: "item item--light", icon: miBaselineLightMode, title: this.t.get(this.modes.light.label, { forced: false }) }), h("mds-tab-item", { key: '8448bd8e297945b9e80d3a010af13c62241d1e31', disabled: this.isModeDisabled('system'), selected: this.mode === 'system', onClick: this.handleModeClick('system'), class: "item item--system", icon: miBaselineSettings, title: this.t.get(this.modes.system.label) }), h("mds-tab-item", { key: 'e3aaf2dc231e62ab732d65dd2eb38585fb29ecbf', disabled: this.isModeDisabled('dark'), selected: this.mode === 'dark', onClick: this.handleModeClick('dark'), class: "item item--dark", icon: this.mode === 'dark' ? miBaselineDarkMode : miOutlineDarkMode, title: this.t.get(this.modes.dark.label) }))));
235
+ : this.t.get(this.modes[(_b = this.mode) !== null && _b !== void 0 ? _b : this.defaultMode].label, { forced: false })), h("mds-tab", { key: 'd40d4317bdcd1bf41b5d516c0d8a6c5c2f6e6689', fill: true, size: this.size }, h("mds-tab-item", { key: '13ddcc4bab79d042f1171d383c800eb309c59299', disabled: this.isModeDisabled('light'), selected: this.mode === 'light', onClick: this.handleModeClick('light'), class: "item item--light", icon: miBaselineLightMode, title: this.t.get(this.modes.light.label, { forced: false }) }), h("mds-tab-item", { key: '84b9c4484e359a81e0cc57f447bc911c723aea30', disabled: this.isModeDisabled('system'), selected: this.mode === 'system', onClick: this.handleModeClick('system'), class: "item item--system", icon: miBaselineSettings, title: this.t.get(this.modes.system.label) }), h("mds-tab-item", { key: '6d4092d1145c98051a4fb526ca24e1d6caa1e900', disabled: this.isModeDisabled('dark'), selected: this.mode === 'dark', onClick: this.handleModeClick('dark'), class: "item item--dark", icon: this.mode === 'dark' ? miBaselineDarkMode : miOutlineDarkMode, title: this.t.get(this.modes.dark.label) }))));
236
236
  }
237
237
  static get is() { return "mds-pref-mode"; }
238
238
  static get encapsulation() { return "shadow"; }
@@ -6,19 +6,20 @@
6
6
 
7
7
  # mds-pref-theme
8
8
 
9
- > `@maggioli-design-system/magma` 2.2.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.3.0. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
- The `<mds-pref-theme>` web component is the theme-switcher segment of the Magma accessibility preferences panel, designed to live as a direct child of [`<mds-pref>`](../mds-pref/AGENTS.md). It renders a labelled tab trigger that opens a dropdown of selectable named themes and, when a theme is chosen, applies it globally to the document.
11
+ The `<mds-pref-theme>` web component is the theme-switcher segment of the Magma accessibility preferences panel, usually a direct child of [`<mds-pref>`](../mds-pref/AGENTS.md). It renders a labelled tab trigger that opens a dropdown of selectable named themes and, when a theme is chosen, applies it globally to the document.
12
12
 
13
13
  #### Semantic Behavior
14
14
 
15
- - **Compound positioning**: It must be a direct slot child of `<mds-pref>` and is not used standalone.
15
+ - **Usually inside `<mds-pref>`**: Placed as a direct slot child of `<mds-pref>`, alongside the other `mds-pref-*` controls; it also works on its own, since it applies and stores the theme by itself. What it gives up on its own is in the antipattern docs.
16
16
  - **Acts as a sub-parent itself**: Its own default slot must contain one or more `mds-pref-theme-item` elements; it drives their selected state so only the active theme is marked selected.
17
17
  - **Global theme application**: Selecting an item applies the theme document-wide: it writes `data-theme-name` and the `pref-theme-scheme-*` class on `<html>`.
18
18
  - **Persistence and hydration**: The current name, scheme and corner shape are persisted and restored across reloads: a stored value outranks the matching prop.
19
19
  - **Name validation**: An invalid theme name (not lowercase kebab-case matching `^[a-z]+(-[a-z]+)*$`) throws at runtime when the theme is applied. So do the reserved names `light`, `dark` and `system` (they are mode values) and `scheme` or `scheme-*` (they would collide with the `pref-theme-scheme-*` classes).
20
20
  - **Events bubbled up**: Emits `mdsPrefThemeChange` with the `{ name, scheme }` detail on each pick, which `<mds-pref>` listens to in order to lock the `<mds-pref-mode>` item a scheme-constrained theme forbids. It also emits `mdsPrefChange` (`preference: 'theme'`, and `'corner-shape'` when a corner shape is set) every time it applies them, on load and on each re-render included.
21
21
  - **Localized label**: The "Theme" heading follows the active interface language.
22
+ - **Trigger text**: The closed control shows the `label` of the item for the active theme, the same text the open list shows (localize the items, the trigger follows); when no item matches the active theme it shows the label derived from the name (`dark-blue` -> "Dark blue").
22
23
 
23
24
  #### Properties & Visual Configurations
24
25
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-14T12:22:32",
2
+ "timestamp": "2026-10-15T16:08:09",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.44.2",
@@ -18,7 +18,7 @@
18
18
  }
19
19
  ],
20
20
  "usage": {
21
- "1. Description": "The `<mds-pref-theme>` web component is the theme-switcher segment of the Magma accessibility preferences panel, designed to live as a direct child of [`<mds-pref>`](../mds-pref/AGENTS.md). It renders a labelled tab trigger that opens a dropdown of selectable named themes and, when a theme is chosen, applies it globally to the document.\n\n#### Semantic Behavior\n\n- **Compound positioning**: It must be a direct slot child of `<mds-pref>` and is not used standalone.\n- **Acts as a sub-parent itself**: Its own default slot must contain one or more `mds-pref-theme-item` elements; it drives their selected state so only the active theme is marked selected.\n- **Global theme application**: Selecting an item applies the theme document-wide: it writes `data-theme-name` and the `pref-theme-scheme-*` class on `<html>`.\n- **Persistence and hydration**: The current name, scheme and corner shape are persisted and restored across reloads: a stored value outranks the matching prop.\n- **Name validation**: An invalid theme name (not lowercase kebab-case matching `^[a-z]+(-[a-z]+)*$`) throws at runtime when the theme is applied. So do the reserved names `light`, `dark` and `system` (they are mode values) and `scheme` or `scheme-*` (they would collide with the `pref-theme-scheme-*` classes).\n- **Events bubbled up**: Emits `mdsPrefThemeChange` with the `{ name, scheme }` detail on each pick, which `<mds-pref>` listens to in order to lock the `<mds-pref-mode>` item a scheme-constrained theme forbids. It also emits `mdsPrefChange` (`preference: 'theme'`, and `'corner-shape'` when a corner shape is set) every time it applies them, on load and on each re-render included.\n- **Localized label**: The \"Theme\" heading follows the active interface language.\n\n#### Properties & Visual Configurations\n\n- **`name`**: The active theme name (default `'default'`); it is overridden at runtime by any persisted value. Use it to declare the initial theme when no preference has been stored yet. The named themes are `cool` and `warm`; `default` is the base theme ([`agents/theming.md`](../../../../agents/theming.md)).\n- **`scheme`**: Constrains the colour modes of the theme to `'light'`, `'dark'`, or `'all'` (default). Pick `'all'` for themes that ship both light and dark palettes; pick `'light'` or `'dark'` to force a single mode for a theme offered in one mode only.\n- **`size`**: Sets the size (`'sm'` / `'md'`) of the nested tab UI. `<mds-pref>` forwards its own `size` to every `mds-pref-*` segment only when that prop changes after load, not from the initial markup: in markup, set it here (with the same value on the sibling segments, so the panel stays visually consistent).\n- **`cornerShape`** (attribute `corner-shape`): The corner geometry of the whole page - `round`, `squircle`, `bevel`, `notch`, `scoop`, `square`, or `default`. It writes `data-corner-shape` on `<html>` and is persisted like the theme; `default` removes the attribute, and leaving the prop unset touches nothing ([`agents/theming.md`](../../../../agents/theming.md)).\n",
21
+ "1. Description": "The `<mds-pref-theme>` web component is the theme-switcher segment of the Magma accessibility preferences panel, usually a direct child of [`<mds-pref>`](../mds-pref/AGENTS.md). It renders a labelled tab trigger that opens a dropdown of selectable named themes and, when a theme is chosen, applies it globally to the document.\n\n#### Semantic Behavior\n\n- **Usually inside `<mds-pref>`**: Placed as a direct slot child of `<mds-pref>`, alongside the other `mds-pref-*` controls; it also works on its own, since it applies and stores the theme by itself. What it gives up on its own is in the antipattern docs.\n- **Acts as a sub-parent itself**: Its own default slot must contain one or more `mds-pref-theme-item` elements; it drives their selected state so only the active theme is marked selected.\n- **Global theme application**: Selecting an item applies the theme document-wide: it writes `data-theme-name` and the `pref-theme-scheme-*` class on `<html>`.\n- **Persistence and hydration**: The current name, scheme and corner shape are persisted and restored across reloads: a stored value outranks the matching prop.\n- **Name validation**: An invalid theme name (not lowercase kebab-case matching `^[a-z]+(-[a-z]+)*$`) throws at runtime when the theme is applied. So do the reserved names `light`, `dark` and `system` (they are mode values) and `scheme` or `scheme-*` (they would collide with the `pref-theme-scheme-*` classes).\n- **Events bubbled up**: Emits `mdsPrefThemeChange` with the `{ name, scheme }` detail on each pick, which `<mds-pref>` listens to in order to lock the `<mds-pref-mode>` item a scheme-constrained theme forbids. It also emits `mdsPrefChange` (`preference: 'theme'`, and `'corner-shape'` when a corner shape is set) every time it applies them, on load and on each re-render included.\n- **Localized label**: The \"Theme\" heading follows the active interface language.\n- **Trigger text**: The closed control shows the `label` of the item for the active theme, the same text the open list shows (localize the items, the trigger follows); when no item matches the active theme it shows the label derived from the name (`dark-blue` -> \"Dark blue\").\n\n#### Properties & Visual Configurations\n\n- **`name`**: The active theme name (default `'default'`); it is overridden at runtime by any persisted value. Use it to declare the initial theme when no preference has been stored yet. The named themes are `cool` and `warm`; `default` is the base theme ([`agents/theming.md`](../../../../agents/theming.md)).\n- **`scheme`**: Constrains the colour modes of the theme to `'light'`, `'dark'`, or `'all'` (default). Pick `'all'` for themes that ship both light and dark palettes; pick `'light'` or `'dark'` to force a single mode for a theme offered in one mode only.\n- **`size`**: Sets the size (`'sm'` / `'md'`) of the nested tab UI. `<mds-pref>` forwards its own `size` to every `mds-pref-*` segment only when that prop changes after load, not from the initial markup: in markup, set it here (with the same value on the sibling segments, so the panel stays visually consistent).\n- **`cornerShape`** (attribute `corner-shape`): The corner geometry of the whole page - `round`, `squircle`, `bevel`, `notch`, `scoop`, `square`, or `default`. It writes `data-corner-shape` on `<html>` and is persisted like the theme; `default` removes the attribute, and leaving the prop unset touches nothing ([`agents/theming.md`](../../../../agents/theming.md)).\n",
22
22
  "2. Pattern": "Correct and idiomatic ways to use the `<mds-pref-theme>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the preferences system documented in [`agents/theming.md`](../../../../agents/theming.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Basic Theme Chooser\n\nThe canonical form. Place `<mds-pref-theme>` inside [`<mds-pref>`](../mds-pref/AGENTS.md) and populate its default slot with one [`<mds-pref-theme-item>`](../mds-pref-theme-item/AGENTS.md) per available theme. The item whose `name` matches the active theme (the stored choice, or the parent's `name` on a first visit) starts as selected. The named themes are `cool` and `warm`; `default` is the base theme.\n\n```html\n<mds-pref>\n <mds-pref-theme name=\"default\" scheme=\"all\">\n <mds-pref-theme-item label=\"Predefinito\" name=\"default\" scheme=\"all\"></mds-pref-theme-item>\n <mds-pref-theme-item label=\"Freddo\" name=\"cool\" scheme=\"all\"></mds-pref-theme-item>\n <mds-pref-theme-item label=\"Caldo\" name=\"warm\" scheme=\"all\"></mds-pref-theme-item>\n </mds-pref-theme>\n</mds-pref>\n```\n\n#### Scheme-Constrained Themes\n\nUse `scheme=\"light\"` or `scheme=\"dark\"` on a `<mds-pref-theme-item>` when the theme must be offered in one colour mode only. The parent component propagates the chosen scheme to `<html>` and forces that mode even if the user's OS or mode preference asks for the opposite; inside `<mds-pref>` the forbidden item of `<mds-pref-mode>` is locked.\n\n```html\n<mds-pref>\n <mds-pref-theme name=\"default\" scheme=\"all\">\n <mds-pref-theme-item label=\"Predefinito\" name=\"default\" scheme=\"all\"></mds-pref-theme-item>\n <!-- light only - dark mode will not activate with this item -->\n <mds-pref-theme-item label=\"Freddo chiaro\" name=\"cool\" scheme=\"light\"></mds-pref-theme-item>\n <!-- dark only -->\n <mds-pref-theme-item label=\"Caldo scuro\" name=\"warm\" scheme=\"dark\"></mds-pref-theme-item>\n </mds-pref-theme>\n</mds-pref>\n```\n\n#### Listening for the Change Event\n\nReact to the user's selection via `mdsPrefThemeChange`. The event detail carries `{ name, scheme }` - use them to update any app-level state that tracks the active theme.\n\n```html\n<mds-pref>\n <mds-pref-theme id=\"theme-chooser\" name=\"default\" scheme=\"all\">\n <mds-pref-theme-item label=\"Predefinito\" name=\"default\" scheme=\"all\"></mds-pref-theme-item>\n <mds-pref-theme-item label=\"Freddo\" name=\"cool\" scheme=\"all\"></mds-pref-theme-item>\n </mds-pref-theme>\n</mds-pref>\n\n<script>\n document.querySelector('#theme-chooser').addEventListener('mdsPrefThemeChange', (e) => {\n console.log('Tema attivo:', e.detail.name, '- Schema:', e.detail.scheme);\n });\n</script>\n```\n\n#### Declaring the Initial Theme\n\nUse the `name` prop to declare which theme should be active before the user makes a selection. If `localStorage` already holds a persisted value it takes precedence; otherwise the component applies `name` on first render.\n\n```html\n<mds-pref>\n <!-- First-visit default is \"warm\" -->\n <mds-pref-theme name=\"warm\" scheme=\"all\">\n <mds-pref-theme-item label=\"Predefinito\" name=\"default\" scheme=\"all\"></mds-pref-theme-item>\n <mds-pref-theme-item label=\"Caldo\" name=\"warm\" scheme=\"all\"></mds-pref-theme-item>\n </mds-pref-theme>\n</mds-pref>\n```\n\n#### Controlling Item Size\n\nPass `size=\"sm\"` when the preferences panel must fit a compact layout. `<mds-pref>` forwards its own `size` to every `mds-pref-*` child only when that prop changes after load, not from the initial markup: in markup, set the same `size` on every preference control.\n\n```html\n<mds-pref>\n <mds-pref-theme name=\"default\" scheme=\"all\" size=\"sm\">\n <mds-pref-theme-item label=\"Predefinito\" name=\"default\" scheme=\"all\"></mds-pref-theme-item>\n <mds-pref-theme-item label=\"Freddo\" name=\"cool\" scheme=\"all\"></mds-pref-theme-item>\n </mds-pref-theme>\n</mds-pref>\n```\n\n#### Styling Theme Items\n\nStyle theme items only through their documented `--mds-pref-theme-item-*` CSS custom properties. Set them on the item host or on a parent selector; name a semantic role, `rgb(var(--magma-<role>))` ([`agents/color.md`](../../../../agents/color.md)), so the colours follow the mode, the theme and the contrast preference.\n\n```css\nmds-pref-theme-item {\n --mds-pref-theme-item-color-background: rgb(var(--magma-surface-inverse));\n --mds-pref-theme-item-color-variant-primary: rgb(var(--magma-accent-emphasis));\n}\n```\n",
23
23
  "3. Antipattern": "Common incorrect uses of `<mds-pref-theme>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind colour utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Use the Component Outside `<mds-pref>`\n\n`<mds-pref-theme>` is a compound sub-part designed to slot inside [`<mds-pref>`](../mds-pref/AGENTS.md). As a standalone widget it still applies and persists the theme, but it leaves the panel: `<mds-pref>` can no longer forward `size` changes to it, nor lock the `<mds-pref-mode>` item that its `scheme` forbids.\n\n```html\n<!-- INCORRECT -->\n<mds-pref-theme name=\"default\" scheme=\"all\">\n <mds-pref-theme-item label=\"Predefinito\" name=\"default\" scheme=\"all\"></mds-pref-theme-item>\n</mds-pref-theme>\n\n<!-- CORRECT -->\n<mds-pref>\n <mds-pref-theme name=\"default\" scheme=\"all\">\n <mds-pref-theme-item label=\"Predefinito\" name=\"default\" scheme=\"all\"></mds-pref-theme-item>\n </mds-pref-theme>\n</mds-pref>\n```\n\n#### Do Not Put Plain Text or Arbitrary HTML in the Default Slot\n\nThe default slot is reserved exclusively for `<mds-pref-theme-item>` elements. Any other content bypasses the component's internal selection management and will not trigger theme application.\n\n```html\n<!-- INCORRECT -->\n<mds-pref>\n <mds-pref-theme name=\"default\" scheme=\"all\">\n <button>Predefinito</button>\n <span>Estate</span>\n </mds-pref-theme>\n</mds-pref>\n\n<!-- CORRECT -->\n<mds-pref>\n <mds-pref-theme name=\"default\" scheme=\"all\">\n <mds-pref-theme-item label=\"Predefinito\" name=\"default\" scheme=\"all\"></mds-pref-theme-item>\n <mds-pref-theme-item label=\"Freddo\" name=\"cool\" scheme=\"all\"></mds-pref-theme-item>\n </mds-pref-theme>\n</mds-pref>\n```\n\n#### Do Not Use an Invalid Theme Name\n\nThe `name` prop must match the pattern `^[a-z]+(-[a-z]+)*$` (lowercase letters and hyphens only). Any other value - including uppercase, underscores, or spaces - throws a runtime error when the component tries to apply the theme class on `<html>`.\n\n```html\n<!-- INCORRECT -->\n<mds-pref-theme name=\"My Theme\" scheme=\"all\">...</mds-pref-theme>\n<mds-pref-theme name=\"my_theme\" scheme=\"all\">...</mds-pref-theme>\n<mds-pref-theme name=\"MyTheme\" scheme=\"all\">...</mds-pref-theme>\n\n<!-- CORRECT -->\n<mds-pref-theme name=\"warm\" scheme=\"all\">...</mds-pref-theme>\n```\n\n#### Do Not Listen for the Native `change` Event\n\n`<mds-pref-theme>` emits `mdsPrefThemeChange` - a documented custom event with a typed `{ name, scheme }` detail. Listening for the native `change` event will not fire because theme selection is handled entirely inside shadow DOM.\n\n```html\n<!-- INCORRECT -->\n<script>\n document.querySelector('mds-pref-theme').addEventListener('change', (e) => {\n console.log(e.target.value); // undefined - wrong event, wrong detail shape\n });\n</script>\n\n<!-- CORRECT -->\n<script>\n document.querySelector('mds-pref-theme').addEventListener('mdsPrefThemeChange', (e) => {\n console.log(e.detail.name, e.detail.scheme);\n });\n</script>\n```\n\n#### Do Not Give the Parent and the Child Different Sizes\n\n`<mds-pref>` forwards its own `size` to all `mds-pref-*` children only when that prop changes after load, not from the initial markup, and then it overwrites theirs. A `size` on `<mds-pref-theme>` that differs from the parent's renders the child's value at load and flips to the parent's on its next change: give the children one `size`.\n\n```html\n<!-- INCORRECT -->\n<mds-pref size=\"sm\">\n <mds-pref-theme size=\"md\" name=\"default\" scheme=\"all\">\n <mds-pref-theme-item label=\"Predefinito\" name=\"default\" scheme=\"all\"></mds-pref-theme-item>\n </mds-pref-theme>\n</mds-pref>\n\n<!-- CORRECT -->\n<mds-pref>\n <mds-pref-theme size=\"sm\" name=\"default\" scheme=\"all\">\n <mds-pref-theme-item label=\"Predefinito\" name=\"default\" scheme=\"all\"></mds-pref-theme-item>\n </mds-pref-theme>\n</mds-pref>\n```\n"
24
24
  },
@@ -18,13 +18,21 @@ mds-text {
18
18
  gap: --spacing(400);
19
19
  }
20
20
 
21
+ /* label and tab, laid out as on the host of the other mds-pref-* (#927): the host gap only
22
+ separates this menu from what follows it */
23
+
24
+ .menu {
25
+ display: grid;
26
+ gap: --spacing(200);
27
+ }
28
+
21
29
  .mds-pref-theme-dropdown {
22
30
  gap: --spacing(100);
23
31
  padding: --spacing(400);
24
32
  }
25
33
 
26
34
  .item {
27
- --mds-tab-item-default-color: rgb(var(--magma-text-disabled, var(--magma-tint-text-disabled, var(--text-neutral-disabled, 119 119 119))));
35
+ --mds-tab-item-default-color: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));
28
36
 
29
37
  flex-basis: 0;
30
38
  flex-grow: 1;
@@ -36,5 +44,5 @@ mds-text {
36
44
 
37
45
  .item--auto,
38
46
  .item--theme {
39
- --mds-tab-item-selected-color: rgb(var(--magma-text-muted, var(--magma-tint-text-muted, var(--text-neutral-muted, 73 73 73))));
47
+ --mds-tab-item-selected-color: rgb(var(--magma-text-muted, var(--text-neutral-muted, 73 73 73)));
40
48
  }
@@ -1,7 +1,8 @@
1
- import { Host, h } from "@stencil/core";
1
+ import { Build, forceUpdate, Host, h, } from "@stencil/core";
2
2
  import { preferenceCornerShapeChoiceType, } from "../../type/preference";
3
3
  import { Locale } from "../../common/locale";
4
4
  import { MODE_VALUES, preferenceStore } from "../../common/preference";
5
+ import { labelFromName } from "../../common/string";
5
6
  import localeEl from "./meta/locale.el.json";
6
7
  import localeEn from "./meta/locale.en.json";
7
8
  import localeEs from "./meta/locale.es.json";
@@ -44,6 +45,14 @@ export class MdsPrefTheme {
44
45
  * If you set 'light' means this theme support only light mode and will be forced and shown light colors mode only.
45
46
  */
46
47
  this.scheme = 'all';
48
+ /**
49
+ * The text of the trigger: the label of the item for the active theme, as the open list
50
+ * shows it, or, when no item matches, the label an item derives from the name.
51
+ */
52
+ this.triggerLabel = () => {
53
+ const item = Array.from(this.element.querySelectorAll('mds-pref-theme-item')).find((element) => { var _a, _b; return ((_b = (_a = element.name) !== null && _a !== void 0 ? _a : element.getAttribute('name')) !== null && _b !== void 0 ? _b : 'default') === this.name; });
54
+ return (item === null || item === void 0 ? void 0 : item.label) || (item === null || item === void 0 ? void 0 : item.getAttribute('label')) || labelFromName(this.name);
55
+ };
47
56
  this.toggleDropdown = () => {
48
57
  this.showDropdown = !this.showDropdown;
49
58
  };
@@ -141,9 +150,27 @@ export class MdsPrefTheme {
141
150
  preferenceStore.state['corner-shape'] = shape === 'default' ? undefined : shape;
142
151
  };
143
152
  }
153
+ connectedCallback() {
154
+ if (!Build.isBrowser)
155
+ return;
156
+ // the trigger shows the label of an item: render again when one is renamed, relabelled
157
+ // (a page that switches language) or added, as the items reflect both attributes. Set up
158
+ // on every connection, since a move disconnects the host without loading it again
159
+ this.itemsObserver = new MutationObserver(() => forceUpdate(this.element));
160
+ this.itemsObserver.observe(this.element, {
161
+ attributeFilter: ['label', 'name'],
162
+ childList: true,
163
+ subtree: true,
164
+ });
165
+ }
144
166
  componentDidLoad() {
145
167
  this.checkThemeSelect();
146
168
  }
169
+ disconnectedCallback() {
170
+ var _a;
171
+ (_a = this.itemsObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
172
+ this.itemsObserver = undefined;
173
+ }
147
174
  componentWillRender() {
148
175
  var _a, _b, _c;
149
176
  this.userThemeName = localStorage.getItem(this.localStorageAliasThemeName);
@@ -153,7 +180,7 @@ export class MdsPrefTheme {
153
180
  this.setCornerShape((_c = this.userCornerShape) !== null && _c !== void 0 ? _c : this.cornerShape);
154
181
  }
155
182
  render() {
156
- return (h(Host, { key: '655bab98d714ab020ae56308aa1fa456587ba500' }, h("div", { key: '071144a78bd76ee76e66ef360e59f36c1609802e', class: "menu" }, h("mds-text", { key: '3a2211ba231dc918619022b63f5334245a820d13', class: "info", typography: "caption" }, h("b", { key: 'b8ee6f47be3a388797107d6fd2a456d1c934d88d' }, this.t.get('label'))), h("mds-tab", { key: 'd38a2f1af05ccf9ffd18039bc8313fdf4e7253f0', fill: true, size: this.size }, h("mds-tab-item", { key: '14b35f4bab9c48411debd0ae7daccd537012e9cd', selected: true, onClick: this.toggleDropdown, expanded: this.showDropdown, id: "mds-pref-theme-nav", class: "item item--theme", "icon-position": "right", icon: this.showDropdown ? miBaselineKeyboardArrowUp : miBaselineKeyboardArrowDown, label: this.name }))), h("mds-dropdown", { key: 'd0955d813387b5e3d429f65e2efdf22ae6593a00', class: "mds-pref-theme-dropdown", target: "#mds-pref-theme-nav", interaction: "none", visible: this.showDropdown, onMdsDropdownHide: this.hideThemeDropdownSelect }, h("slot", { key: '0fff1ca40365164fe32974677fcf798d187e2b75' }))));
183
+ return (h(Host, { key: '2c1cc087d9f72e3c0c76aaee36895d0e0fd082fe' }, h("div", { key: 'b9747c6a330efebb17feee19b843496c1d571695', class: "menu" }, h("mds-text", { key: '4a4489bc428dfbd95c5c7839dc69ff47f65946e9', class: "info", typography: "caption" }, h("b", { key: 'b3334ccaf13ccb33cedfe7c8da069155712cbf8a' }, this.t.get('label'))), h("mds-tab", { key: '6ebd788130fdd32f4195522842d4375b82e8ff4b', fill: true, size: this.size }, h("mds-tab-item", { key: 'd5f4df2c25d2f842e5540bd573e0e20a55935a47', selected: true, onClick: this.toggleDropdown, expanded: this.showDropdown, id: "mds-pref-theme-nav", class: "item item--theme", "icon-position": "right", icon: this.showDropdown ? miBaselineKeyboardArrowUp : miBaselineKeyboardArrowDown, label: this.triggerLabel() }))), h("mds-dropdown", { key: 'f1df1944eaabdf48ff970ed2e004b756479e9a87', class: "mds-pref-theme-dropdown", target: "#mds-pref-theme-nav", interaction: "none", visible: this.showDropdown, onMdsDropdownHide: this.hideThemeDropdownSelect }, h("slot", { key: 'e52ede9b85614201d9a988c27572004c4e396a74' }))));
157
184
  }
158
185
  static get is() { return "mds-pref-theme"; }
159
186
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-pref-theme-item
8
8
 
9
- > `@maggioli-design-system/magma` 2.2.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.3.0. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-pref-theme-item>` web component is a single selectable theme entry inside the [`<mds-pref-theme>`](../mds-pref-theme/AGENTS.md) preference picker. It renders as a borderless button that pairs a color-swatch preview of the theme with its label.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-14T12:22:32",
2
+ "timestamp": "2026-10-15T16:08:09",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.44.2",
@@ -7,27 +7,28 @@
7
7
  */
8
8
 
9
9
  :host {
10
- --mds-pref-theme-item-color-background: rgb(var(--magma-wash-base, var(--magma-tint-scale-09, var(--tone-neutral-09, 225 225 225))));
10
+ --mds-pref-theme-item-color-background: rgb(var(--magma-wash-base, var(--tone-neutral-09, 225 225 225)));
11
11
  --mds-pref-theme-item-color-status-error: rgb(var(--magma-danger-emphasis, var(--status-error-04, 196 64 65)));
12
12
  --mds-pref-theme-item-color-status-success: rgb(var(--magma-success-emphasis, var(--status-success-04, 0 128 57)));
13
13
  --mds-pref-theme-item-color-status-warning: rgb(var(--magma-warning-emphasis, var(--status-warning-04, 142 106 0)));
14
- --mds-pref-theme-item-color-variant-primary: rgb(var(--magma-accent-emphasis, var(--magma-tint-accent-emphasis, var(--variant-primary-04, 36 103 231))));
14
+ --mds-pref-theme-item-color-variant-primary: rgb(var(--magma-accent-emphasis, var(--variant-primary-04, 36 103 231)));
15
15
 
16
- display: flex;
17
- }
18
-
19
- .label {
20
16
  align-items: center;
17
+ cursor: pointer;
21
18
  display: flex;
22
- gap: --spacing(200);
19
+ gap: --spacing(400);
20
+
21
+ /* the previews line up at the end of the row, whatever the length of the labels */
22
+ justify-content: space-between;
23
23
  }
24
24
 
25
25
  .theme-preview {
26
- background-color: var(--mds-pref-theme-item-color-background, rgb(var(--magma-wash-base, var(--magma-tint-scale-09, var(--tone-neutral-09, 225 225 225)))));
26
+ background-color: var(--mds-pref-theme-item-color-background, rgb(var(--magma-wash-base, var(--tone-neutral-09, 225 225 225))));
27
27
  border-radius: var(--radius-md, 12px);
28
28
  box-shadow: var(--shadow-ring-weak, 0 0 0 1px rgb(var(--tone-neutral-01, 5 5 5) / 0.15));
29
29
  box-sizing: border-box;
30
30
  display: inline-flex;
31
+ flex: none;
31
32
  flex-wrap: wrap;
32
33
  gap: --spacing(100);
33
34
  height: --spacing(600);
@@ -54,7 +55,7 @@
54
55
  }
55
56
 
56
57
  .theme-color--variant-primary {
57
- background-color: var(--mds-pref-theme-item-color-variant-primary, rgb(var(--magma-accent-emphasis, var(--magma-tint-accent-emphasis, var(--variant-primary-04, 36 103 231)))));
58
+ background-color: var(--mds-pref-theme-item-color-variant-primary, rgb(var(--magma-accent-emphasis, var(--variant-primary-04, 36 103 231))));
58
59
  }
59
60
 
60
61
  .theme-color--status-success {
@@ -1,6 +1,7 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  import miBaselineCheckCircle from "@icon/mi/baseline/check-circle.svg";
3
3
  import miOutlineCircle from "@icon/mi/outline/circle.svg";
4
+ import { labelFromName } from "../../common/string";
4
5
  export class MdsPrefThemeItem {
5
6
  constructor() {
6
7
  /**
@@ -22,14 +23,14 @@ export class MdsPrefThemeItem {
22
23
  componentWillRender() {
23
24
  var _a;
24
25
  if (((_a = this.label) !== null && _a !== void 0 ? _a : '') === '') {
25
- this.label = this.name.charAt(0).toUpperCase() + this.name.slice(1).replace(/-/g, ' ');
26
+ this.label = labelFromName(this.name);
26
27
  }
27
28
  }
28
29
  render() {
29
30
  return (
30
31
  // the item is an entry of the `menu` the mds-dropdown of the controller opens:
31
32
  // without the role axe rejects it as a child of that menu (aria-required-children)
32
- h(Host, { key: '1a7f7fa19f420bf6cd30415afc126589db30597e', onClick: this.handleClick, role: "menuitem" }, h("mds-button", { key: '2e401fe22b1a8e51e6064b159b67caae27d7425f', icon: this.selected ? miBaselineCheckCircle : miOutlineCircle, variant: "dark", tone: "text" }, h("div", { key: '94040159477ad1dd46e0cbc68569494edd11425a', class: "label" }, h("div", { key: '6c5e36287431f4844a368645ec2fec34cfd65cff', class: "theme-preview" }, h("div", { key: '29b4e378282da0371c73a4f1ed7db5717b67442e', class: "theme-color theme-color--variant-primary" }), h("div", { key: '75b088ef27b14cd66e1513b919c89a10676a9431', class: "theme-color theme-color--status-success" }), h("div", { key: 'b9c939b2cd79e49d7e6503df3d95474a242108f0', class: "theme-color theme-color--status-warning" }), h("div", { key: '12ff1f878853532987171db48d9e892b6b0cb64e', class: "theme-color theme-color--status-error" })), this.label))));
33
+ h(Host, { key: '636dc92f89f7208b697920c318a88cc63c0aab46', onClick: this.handleClick, role: "menuitem" }, h("mds-button", { key: '6357df5430cdae6cc51cd0e21f33c5cb6cdd9676', icon: this.selected ? miBaselineCheckCircle : miOutlineCircle, variant: "dark", tone: "text", label: this.label }), h("span", { key: '66cca748d3c24f75b0ecd1f2449e767a3fca9f8d', "aria-hidden": "true", class: "theme-preview" }, h("span", { key: '2aa5d3d9b53ea382ead103498e2220e70398d9e2', class: "theme-color theme-color--variant-primary" }), h("span", { key: '03a1a2c6d9a38683b9e059776541c2306bf16f4f', class: "theme-color theme-color--status-success" }), h("span", { key: '0e503434cc6e768737b6a16983f5ac0ae3d54919', class: "theme-color theme-color--status-warning" }), h("span", { key: 'af8088939cebac6afd8a0e22734f96695ccd07e3', class: "theme-color theme-color--status-error" }))));
33
34
  }
34
35
  static get is() { return "mds-pref-theme-item"; }
35
36
  static get encapsulation() { return "shadow"; }