@maggioli-design-system/magma 2.11.0 → 2.12.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 (1228) hide show
  1. package/AGENTS.md +2 -2
  2. package/CHANGELOG.md +38 -0
  3. package/README.md +9 -6
  4. package/agents/color.md +1 -0
  5. package/agents/mcp.md +5 -5
  6. package/agents/patterns/actions.md +4 -3
  7. package/agents/patterns/app-shell.md +70 -22
  8. package/agents/patterns/density.md +4 -3
  9. package/agents/patterns/previews/app-shell/back-office.dark.webp +0 -0
  10. package/agents/patterns/previews/app-shell/back-office.html +2 -2
  11. package/agents/patterns/previews/app-shell/back-office.light.webp +0 -0
  12. package/agents/patterns/previews/app-shell/many-sections.html +1 -1
  13. package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
  14. package/agents/patterns/previews/app-shell/public-service.html +2 -2
  15. package/agents/patterns/previews/app-shell/public-service.light.webp +0 -0
  16. package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
  17. package/agents/patterns/previews/app-shell/section-menus.html +68 -0
  18. package/agents/patterns/previews/app-shell/section-menus.light.webp +0 -0
  19. package/agents/patterns/previews/empty-state/not-found.dark.webp +0 -0
  20. package/agents/patterns/previews/empty-state/not-found.html +2 -2
  21. package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
  22. package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
  23. package/agents/patterns/previews/item-list/queue-of-a-desk.light.webp +0 -0
  24. package/agents/patterns/previews/item-list/requests-of-an-office.dark.webp +0 -0
  25. package/agents/patterns/previews/item-list/requests-of-an-office.light.webp +0 -0
  26. package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
  27. package/agents/patterns/previews/list-with-filters/act-on-many.html +2 -2
  28. package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
  29. package/agents/patterns/previews/list-with-filters/find-and-open.dark.webp +0 -0
  30. package/agents/patterns/previews/list-with-filters/find-and-open.html +2 -2
  31. package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
  32. package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
  33. package/agents/patterns/previews/list-with-filters/show-new-items.html +2 -2
  34. package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
  35. package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
  36. package/agents/patterns/previews/loading/first-load.light.webp +0 -0
  37. package/agents/patterns/previews/loading/keep-while-reloading.dark.webp +0 -0
  38. package/agents/patterns/previews/loading/keep-while-reloading.light.webp +0 -0
  39. package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
  40. package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
  41. package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
  42. package/agents/patterns/previews/loading/long-load.light.webp +0 -0
  43. package/agents/patterns/previews/message-placement/action-failed-elsewhere.light.webp +0 -0
  44. package/agents/patterns/previews/message-placement/app-failed.dark.webp +0 -0
  45. package/agents/patterns/previews/message-placement/app-failed.html +2 -2
  46. package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
  47. package/agents/patterns/previews/record-detail/ask-for-words.dark.webp +0 -0
  48. package/agents/patterns/previews/record-detail/ask-for-words.html +2 -2
  49. package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
  50. package/agents/patterns/previews/record-detail/edit-data.dark.webp +0 -0
  51. package/agents/patterns/previews/record-detail/edit-data.html +2 -2
  52. package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
  53. package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
  54. package/agents/patterns/previews/record-detail/read-the-data.html +2 -2
  55. package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
  56. package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
  57. package/agents/patterns/previews/record-detail/record-changed.html +2 -2
  58. package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
  59. package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
  60. package/agents/patterns/previews/record-detail/run-at-once.html +2 -2
  61. package/agents/patterns/previews/record-detail/run-at-once.light.webp +0 -0
  62. package/agents/patterns/previews/record-detail/work-on-it.dark.webp +0 -0
  63. package/agents/patterns/previews/record-detail/work-on-it.html +2 -2
  64. package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
  65. package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
  66. package/agents/patterns/previews/surfaces/band.html +2 -2
  67. package/agents/patterns/previews/surfaces/band.light.webp +0 -0
  68. package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
  69. package/agents/patterns/previews/surfaces/canvas.html +2 -2
  70. package/agents/patterns/previews/surfaces/canvas.light.webp +0 -0
  71. package/agents/patterns/previews/titles/page.dark.webp +0 -0
  72. package/agents/patterns/previews/widths/page.dark.webp +0 -0
  73. package/agents/patterns/previews/widths/page.html +2 -2
  74. package/agents/patterns/previews/widths/page.light.webp +0 -0
  75. package/agents/patterns/rhythm.md +2 -1
  76. package/agents/patterns/surfaces.md +4 -3
  77. package/agents/patterns/titles.md +4 -3
  78. package/agents/patterns/widths.md +4 -3
  79. package/agents/patterns.md +8 -7
  80. package/agents/theming.md +7 -0
  81. package/dist/cjs/{aria-CzO5Rp1y.js → aria-r1anAHBr.js} +12 -0
  82. package/dist/cjs/{floating-controller-DaFymQCT.js → floating-controller-B4YhrWm8.js} +1 -1
  83. package/dist/cjs/{index-Bg68W-da.js → index-Csgx951d.js} +1 -1
  84. package/dist/cjs/loader.cjs.js +1 -1
  85. package/dist/cjs/{locale-CaR39iYg.js → locale-DgMC52AD.js} +1 -1
  86. package/dist/cjs/magma-components.cjs.js +1 -1
  87. package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
  88. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
  89. package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
  90. package/dist/cjs/mds-avatar.cjs.entry.js +1 -1
  91. package/dist/cjs/mds-badge.cjs.entry.js +2 -2
  92. package/dist/cjs/mds-banner_3.cjs.entry.js +5 -5
  93. package/dist/cjs/mds-book.cjs.entry.js +2 -2
  94. package/dist/cjs/mds-breadcrumb.cjs.entry.js +2 -2
  95. package/dist/cjs/mds-button-dropdown.cjs.entry.js +6 -4
  96. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  97. package/dist/cjs/mds-button_3.cjs.entry.js +78 -16
  98. package/dist/cjs/mds-calendar_2.cjs.entry.js +8 -8
  99. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  100. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  101. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  102. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  103. package/dist/cjs/mds-card.cjs.entry.js +2 -2
  104. package/dist/cjs/mds-details.cjs.entry.js +2 -2
  105. package/dist/cjs/mds-dropdown.cjs.entry.js +6 -6
  106. package/dist/cjs/mds-emoji.cjs.entry.js +2 -2
  107. package/dist/cjs/mds-entity.cjs.entry.js +2 -2
  108. package/dist/cjs/mds-file-preview.cjs.entry.js +5 -5
  109. package/dist/cjs/mds-file.cjs.entry.js +5 -5
  110. package/dist/cjs/mds-filter-item.cjs.entry.js +5 -5
  111. package/dist/cjs/mds-filter.cjs.entry.js +4 -4
  112. package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
  113. package/dist/cjs/mds-header.cjs.entry.js +3 -3
  114. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +3 -3
  115. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  116. package/dist/cjs/mds-img.cjs.entry.js +2 -2
  117. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  118. package/dist/cjs/mds-input-date-range.cjs.entry.js +4 -4
  119. package/dist/cjs/mds-input-date.cjs.entry.js +6 -6
  120. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  121. package/dist/cjs/mds-input-otp.cjs.entry.js +3 -3
  122. package/dist/cjs/mds-input-range.cjs.entry.js +3 -3
  123. package/dist/cjs/mds-input-select.cjs.entry.js +6 -6
  124. package/dist/cjs/mds-input-switch_2.cjs.entry.js +6 -6
  125. package/dist/cjs/mds-input-tip_2.cjs.entry.js +5 -5
  126. package/dist/cjs/mds-input-upload.cjs.entry.js +7 -7
  127. package/dist/cjs/mds-input.cjs.entry.js +8 -8
  128. package/dist/cjs/mds-keyboard-key.cjs.entry.js +3 -3
  129. package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
  130. package/dist/cjs/mds-kpi-item.cjs.entry.js +3 -3
  131. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  132. package/dist/cjs/mds-label.cjs.entry.js +3 -3
  133. package/dist/cjs/mds-link.cjs.entry.js +5 -5
  134. package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
  135. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  136. package/dist/cjs/mds-mention.cjs.entry.js +3 -3
  137. package/dist/cjs/mds-modal.cjs.entry.js +34 -15
  138. package/dist/cjs/mds-note.cjs.entry.js +4 -4
  139. package/dist/cjs/mds-notification.cjs.entry.js +3 -3
  140. package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
  141. package/dist/cjs/mds-paginator.cjs.entry.js +4 -4
  142. package/dist/cjs/mds-policy-ai.cjs.entry.js +3 -3
  143. package/dist/cjs/mds-pref-animation.cjs.entry.js +3 -3
  144. package/dist/cjs/mds-pref-consumption.cjs.entry.js +3 -3
  145. package/dist/cjs/mds-pref-contrast.cjs.entry.js +3 -3
  146. package/dist/cjs/mds-pref-language-item.cjs.entry.js +3 -3
  147. package/dist/cjs/mds-pref-language.cjs.entry.js +3 -3
  148. package/dist/cjs/mds-pref-mode.cjs.entry.js +22 -13
  149. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +1 -1
  150. package/dist/cjs/mds-pref-theme.cjs.entry.js +31 -8
  151. package/dist/cjs/mds-pref.cjs.entry.js +3 -25
  152. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
  153. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  154. package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
  155. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  156. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
  157. package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
  158. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  159. package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
  160. package/dist/cjs/mds-push-notification-item.cjs.entry.js +4 -4
  161. package/dist/cjs/mds-push-notification.cjs.entry.js +4 -4
  162. package/dist/cjs/mds-quote.cjs.entry.js +2 -2
  163. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
  164. package/dist/cjs/mds-radial-menu.cjs.entry.js +5 -5
  165. package/dist/cjs/mds-separator.cjs.entry.js +2 -2
  166. package/dist/cjs/mds-status-bar.cjs.entry.js +3 -3
  167. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +3 -3
  168. package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
  169. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
  170. package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
  171. package/dist/cjs/mds-tab_2.cjs.entry.js +6 -6
  172. package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
  173. package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
  174. package/dist/cjs/mds-table-header-cell.cjs.entry.js +2 -2
  175. package/dist/cjs/mds-table-header.cjs.entry.js +3 -3
  176. package/dist/cjs/mds-table-row.cjs.entry.js +4 -4
  177. package/dist/cjs/mds-table.cjs.entry.js +4 -4
  178. package/dist/cjs/mds-text.cjs.entry.js +2 -2
  179. package/dist/cjs/mds-toast-region.cjs.entry.js +1 -1
  180. package/dist/cjs/mds-toast.cjs.entry.js +3 -3
  181. package/dist/cjs/mds-tooltip.cjs.entry.js +5 -5
  182. package/dist/cjs/mds-tree-item.cjs.entry.js +3 -3
  183. package/dist/cjs/mds-tree.cjs.entry.js +1 -1
  184. package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
  185. package/dist/cjs/mds-usage.cjs.entry.js +4 -4
  186. package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
  187. package/dist/cjs/mds-zero.cjs.entry.js +3 -3
  188. package/dist/cjs/{preference-CQQ3eb9W.js → preference-DhNxLZ4R.js} +20 -0
  189. package/dist/collection/common/aria.js +12 -1
  190. package/dist/collection/common/preference.js +19 -1
  191. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  192. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  193. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  194. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  195. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  196. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  197. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  198. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  199. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  200. package/dist/collection/components/mds-author/documentation.json +1 -1
  201. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  202. package/dist/collection/components/mds-avatar/documentation.json +2 -2
  203. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  204. package/dist/collection/components/mds-avatar-stack/documentation.json +2 -2
  205. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  206. package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
  207. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  208. package/dist/collection/components/mds-badge/documentation.json +1 -1
  209. package/dist/collection/components/mds-badge/mds-badge.css +15 -10
  210. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  211. package/dist/collection/components/mds-banner/documentation.json +2 -2
  212. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  213. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  214. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  215. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  216. package/dist/collection/components/mds-book/AGENTS.md +1 -1
  217. package/dist/collection/components/mds-book/documentation.json +1 -1
  218. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  219. package/dist/collection/components/mds-breadcrumb/documentation.json +2 -2
  220. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  221. package/dist/collection/components/mds-breadcrumb-item/documentation.json +2 -2
  222. package/dist/collection/components/mds-button/AGENTS.md +9 -4
  223. package/dist/collection/components/mds-button/documentation.json +100 -7
  224. package/dist/collection/components/mds-button/examples.md +73 -0
  225. package/dist/collection/components/mds-button/mds-button.css +122 -14
  226. package/dist/collection/components/mds-button/mds-button.js +139 -13
  227. package/dist/collection/components/mds-button/mistakes.md +35 -0
  228. package/dist/collection/components/mds-button-dropdown/AGENTS.md +7 -2
  229. package/dist/collection/components/mds-button-dropdown/documentation.json +97 -4
  230. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +69 -3
  231. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  232. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  233. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  234. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  235. package/dist/collection/components/mds-calendar/documentation.json +2 -2
  236. package/dist/collection/components/mds-calendar/mds-calendar.js +5 -5
  237. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  238. package/dist/collection/components/mds-calendar-cell/documentation.json +2 -2
  239. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  240. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  241. package/dist/collection/components/mds-card/documentation.json +1 -1
  242. package/dist/collection/components/mds-card/mds-card.js +1 -1
  243. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  244. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  245. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  246. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  247. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  248. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  249. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  250. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  251. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  252. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  253. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  254. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  255. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  256. package/dist/collection/components/mds-chip/documentation.json +2 -2
  257. package/dist/collection/components/mds-chip/mds-chip.css +3 -2
  258. package/dist/collection/components/mds-chip/mds-chip.js +1 -1
  259. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  260. package/dist/collection/components/mds-details/documentation.json +1 -1
  261. package/dist/collection/components/mds-details/mds-details.js +1 -1
  262. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  263. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  264. package/dist/collection/components/mds-dropdown/mds-dropdown.css +12 -14
  265. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  266. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  268. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  269. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  270. package/dist/collection/components/mds-entity/documentation.json +2 -2
  271. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  272. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  273. package/dist/collection/components/mds-file/documentation.json +1 -1
  274. package/dist/collection/components/mds-file/mds-file.css +3 -2
  275. package/dist/collection/components/mds-file/mds-file.js +1 -1
  276. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  277. package/dist/collection/components/mds-file-preview/documentation.json +2 -2
  278. package/dist/collection/components/mds-file-preview/mds-file-preview.css +3 -2
  279. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  280. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  281. package/dist/collection/components/mds-filter/documentation.json +1 -1
  282. package/dist/collection/components/mds-filter/mds-filter.css +3 -2
  283. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  284. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  285. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  286. package/dist/collection/components/mds-filter-item/mds-filter-item.css +3 -2
  287. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  288. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  289. package/dist/collection/components/mds-header/documentation.json +2 -2
  290. package/dist/collection/components/mds-header/mds-header.css +3 -2
  291. package/dist/collection/components/mds-header/mds-header.js +1 -1
  292. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  293. package/dist/collection/components/mds-header-bar/documentation.json +2 -2
  294. package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
  295. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  296. package/dist/collection/components/mds-help/documentation.json +1 -1
  297. package/dist/collection/components/mds-help/mds-help.js +1 -1
  298. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  299. package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
  300. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  301. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  302. package/dist/collection/components/mds-hr/documentation.json +1 -1
  303. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  304. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  305. package/dist/collection/components/mds-icon/documentation.json +1 -1
  306. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  307. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  308. package/dist/collection/components/mds-img/documentation.json +2 -2
  309. package/dist/collection/components/mds-input/AGENTS.md +1 -1
  310. package/dist/collection/components/mds-input/documentation.json +2 -2
  311. package/dist/collection/components/mds-input/mds-input.css +16 -8
  312. package/dist/collection/components/mds-input/mds-input.js +3 -3
  313. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  314. package/dist/collection/components/mds-input-date/documentation.json +2 -2
  315. package/dist/collection/components/mds-input-date/mds-input-date.css +3 -2
  316. package/dist/collection/components/mds-input-date/mds-input-date.js +2 -2
  317. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  318. package/dist/collection/components/mds-input-date-range/documentation.json +2 -2
  319. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +3 -2
  320. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  321. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +2 -2
  322. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  323. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  324. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  325. package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
  326. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  327. package/dist/collection/components/mds-input-otp/documentation.json +2 -2
  328. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  329. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  330. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  331. package/dist/collection/components/mds-input-range/mds-input-range.css +3 -2
  332. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  333. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  334. package/dist/collection/components/mds-input-select/documentation.json +1 -1
  335. package/dist/collection/components/mds-input-select/mds-input-select.css +15 -11
  336. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  337. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  338. package/dist/collection/components/mds-input-switch/documentation.json +1 -1
  339. package/dist/collection/components/mds-input-switch/mds-input-switch.css +3 -2
  340. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  341. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  342. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  343. package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
  344. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  346. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  347. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  348. package/dist/collection/components/mds-input-upload/documentation.json +2 -2
  349. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  350. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-keyboard/documentation.json +2 -2
  352. package/dist/collection/components/mds-keyboard/mds-keyboard.css +3 -2
  353. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  354. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  355. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  356. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  357. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  358. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  359. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  360. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  361. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  362. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +9 -6
  363. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  364. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  365. package/dist/collection/components/mds-label/documentation.json +2 -2
  366. package/dist/collection/components/mds-label/mds-label.css +3 -2
  367. package/dist/collection/components/mds-link/AGENTS.md +1 -1
  368. package/dist/collection/components/mds-link/documentation.json +1 -1
  369. package/dist/collection/components/mds-link/mds-link.js +3 -3
  370. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  371. package/dist/collection/components/mds-list/documentation.json +1 -1
  372. package/dist/collection/components/mds-list/mds-list.js +1 -1
  373. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  374. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  375. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  376. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  377. package/dist/collection/components/mds-mention/documentation.json +2 -2
  378. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  379. package/dist/collection/components/mds-modal/AGENTS.md +3 -3
  380. package/dist/collection/components/mds-modal/documentation.json +4 -4
  381. package/dist/collection/components/mds-modal/mds-modal.css +3 -2
  382. package/dist/collection/components/mds-modal/mds-modal.js +32 -13
  383. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  384. package/dist/collection/components/mds-note/documentation.json +2 -2
  385. package/dist/collection/components/mds-note/mds-note.css +3 -2
  386. package/dist/collection/components/mds-note/mds-note.js +1 -1
  387. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  388. package/dist/collection/components/mds-notification/documentation.json +1 -1
  389. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  390. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  391. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  392. package/dist/collection/components/mds-paginator/mds-paginator.css +3 -2
  393. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  394. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  395. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  396. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  397. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  398. package/dist/collection/components/mds-policy-ai/documentation.json +2 -2
  399. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  400. package/dist/collection/components/mds-pref/AGENTS.md +3 -3
  401. package/dist/collection/components/mds-pref/documentation.json +4 -9
  402. package/dist/collection/components/mds-pref/examples.md +1 -1
  403. package/dist/collection/components/mds-pref/mds-pref.js +1 -29
  404. package/dist/collection/components/mds-pref/mistakes.md +1 -1
  405. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  406. package/dist/collection/components/mds-pref-animation/documentation.json +2 -2
  407. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  408. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  409. package/dist/collection/components/mds-pref-consumption/documentation.json +2 -2
  410. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  411. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  412. package/dist/collection/components/mds-pref-contrast/documentation.json +2 -2
  413. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  414. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  415. package/dist/collection/components/mds-pref-language/documentation.json +2 -2
  416. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  417. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  418. package/dist/collection/components/mds-pref-language-item/documentation.json +2 -2
  419. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  420. package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -2
  421. package/dist/collection/components/mds-pref-mode/documentation.json +5 -5
  422. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -1
  423. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +20 -11
  424. package/dist/collection/components/mds-pref-mode/mistakes.md +1 -1
  425. package/dist/collection/components/mds-pref-theme/AGENTS.md +6 -5
  426. package/dist/collection/components/mds-pref-theme/documentation.json +7 -7
  427. package/dist/collection/components/mds-pref-theme/examples.md +1 -1
  428. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +32 -9
  429. package/dist/collection/components/mds-pref-theme/mistakes.md +1 -1
  430. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +2 -2
  431. package/dist/collection/components/mds-pref-theme-item/documentation.json +3 -3
  432. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  433. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  434. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  435. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  436. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  437. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  438. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  439. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  440. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  441. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +3 -2
  442. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  443. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  444. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  445. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +3 -2
  446. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  447. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  448. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  449. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  450. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  451. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  452. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +3 -2
  453. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  454. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  455. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  456. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  457. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  458. package/dist/collection/components/mds-progress/documentation.json +1 -1
  459. package/dist/collection/components/mds-progress/mds-progress.css +3 -2
  460. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  461. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  462. package/dist/collection/components/mds-push-notification/documentation.json +2 -2
  463. package/dist/collection/components/mds-push-notification/mds-push-notification.css +3 -2
  464. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  465. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  466. package/dist/collection/components/mds-push-notification-item/documentation.json +2 -2
  467. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  468. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  469. package/dist/collection/components/mds-quote/documentation.json +1 -1
  470. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  471. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  472. package/dist/collection/components/mds-radial-menu/documentation.json +2 -2
  473. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  474. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  475. package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
  476. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  477. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  478. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  479. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  480. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  481. package/dist/collection/components/mds-separator/documentation.json +1 -1
  482. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  483. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  484. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  485. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  486. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  487. package/dist/collection/components/mds-status-bar/documentation.json +2 -2
  488. package/dist/collection/components/mds-status-bar/mds-status-bar.css +3 -2
  489. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  490. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  491. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  492. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  493. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  494. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  495. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  496. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  497. package/dist/collection/components/mds-tab/documentation.json +1 -1
  498. package/dist/collection/components/mds-tab/mds-tab.css +3 -2
  499. package/dist/collection/components/mds-tab/mds-tab.js +2 -2
  500. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  501. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  502. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +3 -2
  503. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  504. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  505. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  506. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +3 -2
  507. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  508. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  509. package/dist/collection/components/mds-tab-item/documentation.json +2 -2
  510. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  511. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  512. package/dist/collection/components/mds-table/documentation.json +1 -1
  513. package/dist/collection/components/mds-table/mds-table.css +6 -4
  514. package/dist/collection/components/mds-table/mds-table.js +1 -1
  515. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  516. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  517. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  518. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  519. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  520. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  521. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  522. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  523. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  524. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  525. package/dist/collection/components/mds-table-header/documentation.json +2 -2
  526. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  527. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  528. package/dist/collection/components/mds-table-header-cell/documentation.json +2 -2
  529. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  530. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  531. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  532. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  533. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  534. package/dist/collection/components/mds-text/documentation.json +1 -1
  535. package/dist/collection/components/mds-text/mds-text.js +1 -1
  536. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  537. package/dist/collection/components/mds-toast/documentation.json +2 -2
  538. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  539. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  540. package/dist/collection/components/mds-toast-region/documentation.json +1 -1
  541. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  542. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  543. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  544. package/dist/collection/components/mds-tooltip/mds-tooltip.css +4 -2
  545. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  546. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  547. package/dist/collection/components/mds-tree/documentation.json +1 -1
  548. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  549. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  550. package/dist/collection/components/mds-tree-item/documentation.json +2 -2
  551. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  552. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  553. package/dist/collection/components/mds-url-view/documentation.json +2 -2
  554. package/dist/collection/components/mds-url-view/mds-url-view.css +3 -2
  555. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  556. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  557. package/dist/collection/components/mds-usage/documentation.json +1 -1
  558. package/dist/collection/components/mds-usage/mds-usage.css +3 -2
  559. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  560. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  561. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  562. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  563. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  564. package/dist/collection/components/mds-zero/documentation.json +1 -1
  565. package/dist/collection/components/mds-zero/mds-zero.css +3 -2
  566. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  567. package/dist/collection/type/button.js +3 -0
  568. package/dist/components/index.js +1 -1
  569. package/dist/components/mds-accordion-item.js +1 -1
  570. package/dist/components/mds-accordion-timer-item.js +1 -1
  571. package/dist/components/mds-accordion.js +1 -1
  572. package/dist/components/mds-avatar-stack-item.js +1 -1
  573. package/dist/components/mds-avatar-stack.js +1 -1
  574. package/dist/components/mds-avatar.js +1 -1
  575. package/dist/components/mds-badge.js +1 -1
  576. package/dist/components/mds-banner.js +1 -1
  577. package/dist/components/mds-benchmark-bar.js +1 -1
  578. package/dist/components/mds-bibliography.js +1 -1
  579. package/dist/components/mds-book.js +1 -1
  580. package/dist/components/mds-breadcrumb-item.js +1 -1
  581. package/dist/components/mds-breadcrumb.js +1 -1
  582. package/dist/components/mds-button-dropdown.js +1 -1
  583. package/dist/components/mds-button-group.js +1 -1
  584. package/dist/components/mds-button.js +1 -1
  585. package/dist/components/mds-calendar-cell.js +1 -1
  586. package/dist/components/mds-calendar.js +1 -1
  587. package/dist/components/mds-card-content.js +1 -1
  588. package/dist/components/mds-card-footer.js +1 -1
  589. package/dist/components/mds-card-header.js +1 -1
  590. package/dist/components/mds-card-media.js +1 -1
  591. package/dist/components/mds-card.js +1 -1
  592. package/dist/components/mds-chip.js +1 -1
  593. package/dist/components/mds-details.js +1 -1
  594. package/dist/components/mds-dropdown.js +1 -1
  595. package/dist/components/mds-emoji.js +3 -3
  596. package/dist/components/mds-entity.js +1 -1
  597. package/dist/components/mds-file-preview.js +1 -1
  598. package/dist/components/mds-file.js +1 -1
  599. package/dist/components/mds-filter-item.js +1 -1
  600. package/dist/components/mds-filter.js +1 -1
  601. package/dist/components/mds-header-bar.js +1 -1
  602. package/dist/components/mds-header.js +1 -1
  603. package/dist/components/mds-help.js +1 -1
  604. package/dist/components/mds-horizontal-scroll.js +1 -1
  605. package/dist/components/mds-hr.js +1 -1
  606. package/dist/components/mds-icon.js +1 -1
  607. package/dist/components/mds-img.js +1 -1
  608. package/dist/components/mds-input-date-range-preselection.js +1 -1
  609. package/dist/components/mds-input-date-range.js +1 -1
  610. package/dist/components/mds-input-date.js +1 -1
  611. package/dist/components/mds-input-field.js +1 -1
  612. package/dist/components/mds-input-otp.js +1 -1
  613. package/dist/components/mds-input-range.js +1 -1
  614. package/dist/components/mds-input-select.js +1 -1
  615. package/dist/components/mds-input-switch.js +1 -1
  616. package/dist/components/mds-input-tip-item.js +1 -1
  617. package/dist/components/mds-input-tip.js +1 -1
  618. package/dist/components/mds-input-upload.js +1 -1
  619. package/dist/components/mds-input.js +1 -1
  620. package/dist/components/mds-keyboard-key.js +1 -1
  621. package/dist/components/mds-keyboard.js +1 -1
  622. package/dist/components/mds-kpi-item.js +1 -1
  623. package/dist/components/mds-kpi.js +1 -1
  624. package/dist/components/mds-label.js +1 -1
  625. package/dist/components/mds-link.js +1 -1
  626. package/dist/components/mds-list-item.js +1 -1
  627. package/dist/components/mds-list.js +1 -1
  628. package/dist/components/mds-mention.js +1 -1
  629. package/dist/components/mds-modal.js +1 -1
  630. package/dist/components/mds-note.js +1 -1
  631. package/dist/components/mds-notification.js +1 -1
  632. package/dist/components/mds-paginator-item.js +1 -1
  633. package/dist/components/mds-paginator.js +1 -1
  634. package/dist/components/mds-policy-ai.js +1 -1
  635. package/dist/components/mds-pref-animation.js +1 -1
  636. package/dist/components/mds-pref-consumption.js +1 -1
  637. package/dist/components/mds-pref-contrast.js +1 -1
  638. package/dist/components/mds-pref-language-item.js +1 -1
  639. package/dist/components/mds-pref-language.js +1 -1
  640. package/dist/components/mds-pref-mode.js +1 -1
  641. package/dist/components/mds-pref-theme-item.js +1 -1
  642. package/dist/components/mds-pref-theme.js +1 -1
  643. package/dist/components/mds-pref.js +1 -1
  644. package/dist/components/mds-price-table-features-cell.js +1 -1
  645. package/dist/components/mds-price-table-features-row.js +1 -1
  646. package/dist/components/mds-price-table-features.js +1 -1
  647. package/dist/components/mds-price-table-header.js +1 -1
  648. package/dist/components/mds-price-table-list-item.js +1 -1
  649. package/dist/components/mds-price-table-list.js +1 -1
  650. package/dist/components/mds-price-table.js +1 -1
  651. package/dist/components/mds-progress.js +1 -1
  652. package/dist/components/mds-push-notification-item.js +1 -1
  653. package/dist/components/mds-push-notification.js +1 -1
  654. package/dist/components/mds-quote.js +1 -1
  655. package/dist/components/mds-radial-menu-item.js +1 -1
  656. package/dist/components/mds-radial-menu.js +1 -1
  657. package/dist/components/mds-radial-progress.js +1 -1
  658. package/dist/components/mds-separator.js +1 -1
  659. package/dist/components/mds-spinner.js +1 -1
  660. package/dist/components/mds-status-bar.js +1 -1
  661. package/dist/components/mds-stepper-bar-item.js +1 -1
  662. package/dist/components/mds-stepper-bar.js +1 -1
  663. package/dist/components/mds-tab-bar-item.js +1 -1
  664. package/dist/components/mds-tab-bar.js +1 -1
  665. package/dist/components/mds-tab-item.js +1 -1
  666. package/dist/components/mds-tab.js +1 -1
  667. package/dist/components/mds-table-body.js +1 -1
  668. package/dist/components/mds-table-cell.js +1 -1
  669. package/dist/components/mds-table-footer.js +1 -1
  670. package/dist/components/mds-table-header-cell.js +1 -1
  671. package/dist/components/mds-table-header.js +1 -1
  672. package/dist/components/mds-table-row.js +1 -1
  673. package/dist/components/mds-table.js +1 -1
  674. package/dist/components/mds-text.js +1 -1
  675. package/dist/components/mds-toast-region.js +1 -1
  676. package/dist/components/mds-toast.js +1 -1
  677. package/dist/components/mds-tooltip.js +1 -1
  678. package/dist/components/mds-tree-item.js +1 -1
  679. package/dist/components/mds-tree.js +1 -1
  680. package/dist/components/mds-url-view.js +1 -1
  681. package/dist/components/mds-usage.js +1 -1
  682. package/dist/components/mds-video-wall.js +1 -1
  683. package/dist/components/mds-zero.js +1 -1
  684. package/dist/components/p-3rr6yzu-.js +1 -0
  685. package/dist/components/{p-DvDB_L_5.js → p-BBZyH3mn.js} +1 -1
  686. package/dist/components/{p-C7rDjrH4.js → p-BBrPpCNK.js} +1 -1
  687. package/dist/components/p-BE05D6Pe.js +1 -0
  688. package/dist/components/{p-ikNX7XDH.js → p-BI1ShBQG.js} +1 -1
  689. package/dist/components/p-BQSO-HFx.js +1 -0
  690. package/dist/components/{p-CVRN4LDc.js → p-Bbrei_yQ.js} +1 -1
  691. package/dist/components/{p-DhpcFZrc.js → p-BpND63Kl.js} +1 -1
  692. package/dist/components/{p-DqdlT4UG.js → p-BuhoBOYR.js} +1 -1
  693. package/dist/components/p-Bw-eI2ca.js +1 -0
  694. package/dist/components/{p-DTtmr_Y9.js → p-BwwiliWt.js} +1 -1
  695. package/dist/components/{p-COkn4Vtq.js → p-C6LU1s8K.js} +1 -1
  696. package/dist/components/{p-Br6-kva-.js → p-CWOW2Vna.js} +1 -1
  697. package/dist/components/{p-B6AFku7a.js → p-CZX6N7ce.js} +1 -1
  698. package/dist/components/{p-BFDRt7-n.js → p-CZwKeFQT.js} +1 -1
  699. package/dist/components/{p-CKnbQQUb.js → p-ClvoVgmw.js} +1 -1
  700. package/dist/{magma-components/p-CLhuNxYQ.js → components/p-CpuUmvdl.js} +1 -1
  701. package/dist/components/{p-C_Pc94vn.js → p-CrOv4KdL.js} +1 -1
  702. package/dist/components/{p-CZjwSwe5.js → p-CvbuCEYD.js} +2 -2
  703. package/dist/components/{p-D8CloC8I.js → p-DN1yF-xO.js} +1 -1
  704. package/dist/components/{p-4LbHmDXv.js → p-DUgCzZw9.js} +1 -1
  705. package/dist/components/{p-DJd8f8dz.js → p-DWOg4-dH.js} +1 -1
  706. package/dist/components/{p-FsctOap9.js → p-DZ4_zLTp.js} +1 -1
  707. package/dist/components/{p-gLo3t_qO.js → p-Do7IoDLD.js} +2 -2
  708. package/dist/components/{p-BiW6luA5.js → p-DrtIqOQn.js} +1 -1
  709. package/dist/components/p-DwKxtKwS.js +1 -0
  710. package/dist/components/{p-DOdUioZq.js → p-F0qhFsF0.js} +1 -1
  711. package/dist/components/p-J48g0t65.js +1 -0
  712. package/dist/components/{p-BaynxVRZ.js → p-NNPsVjnj.js} +1 -1
  713. package/dist/components/{p-CP5Qw9_T.js → p-UfaGafRS.js} +1 -1
  714. package/dist/components/{p-DdzJfsw7.js → p-Vgo7t88R.js} +1 -1
  715. package/dist/components/{p-D_RIY063.js → p-j5Hnbfv9.js} +1 -1
  716. package/dist/components/{p-DW6ie49j.js → p-k_Ly95Tj.js} +1 -1
  717. package/dist/components/{p-DlglisEn.js → p-lXKBo6V3.js} +1 -1
  718. package/dist/components/{p-DGhzWuCS.js → p-oFHbHRLX.js} +1 -1
  719. package/dist/documentation.json +263 -77
  720. package/dist/esm/{aria-Cvhn9asj.js → aria-DwKxtKwS.js} +12 -1
  721. package/dist/esm/{floating-controller-BVlbYYkf.js → floating-controller-xixU_s1w.js} +1 -1
  722. package/dist/esm/{index-BJVvHlvf.js → index-DEL0bLpb.js} +1 -1
  723. package/dist/esm/loader.js +1 -1
  724. package/dist/esm/{locale-B6cOkl4I.js → locale-DhP1Ge2o.js} +1 -1
  725. package/dist/esm/magma-components.js +1 -1
  726. package/dist/esm/mds-accordion-item.entry.js +1 -1
  727. package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
  728. package/dist/esm/mds-accordion.entry.js +1 -1
  729. package/dist/esm/mds-avatar.entry.js +1 -1
  730. package/dist/esm/mds-badge.entry.js +2 -2
  731. package/dist/esm/mds-banner_3.entry.js +5 -5
  732. package/dist/esm/mds-book.entry.js +2 -2
  733. package/dist/esm/mds-breadcrumb.entry.js +2 -2
  734. package/dist/esm/mds-button-dropdown.entry.js +6 -4
  735. package/dist/esm/mds-button-group.entry.js +1 -1
  736. package/dist/esm/mds-button_3.entry.js +78 -16
  737. package/dist/esm/mds-calendar_2.entry.js +8 -8
  738. package/dist/esm/mds-card-content.entry.js +1 -1
  739. package/dist/esm/mds-card-footer.entry.js +1 -1
  740. package/dist/esm/mds-card-header.entry.js +1 -1
  741. package/dist/esm/mds-card-media.entry.js +1 -1
  742. package/dist/esm/mds-card.entry.js +2 -2
  743. package/dist/esm/mds-details.entry.js +2 -2
  744. package/dist/esm/mds-dropdown.entry.js +6 -6
  745. package/dist/esm/mds-emoji.entry.js +2 -2
  746. package/dist/esm/mds-entity.entry.js +2 -2
  747. package/dist/esm/mds-file-preview.entry.js +5 -5
  748. package/dist/esm/mds-file.entry.js +5 -5
  749. package/dist/esm/mds-filter-item.entry.js +5 -5
  750. package/dist/esm/mds-filter.entry.js +4 -4
  751. package/dist/esm/mds-header-bar.entry.js +3 -3
  752. package/dist/esm/mds-header.entry.js +3 -3
  753. package/dist/esm/mds-horizontal-scroll.entry.js +3 -3
  754. package/dist/esm/mds-hr.entry.js +2 -2
  755. package/dist/esm/mds-img.entry.js +2 -2
  756. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  757. package/dist/esm/mds-input-date-range.entry.js +4 -4
  758. package/dist/esm/mds-input-date.entry.js +6 -6
  759. package/dist/esm/mds-input-field.entry.js +1 -1
  760. package/dist/esm/mds-input-otp.entry.js +3 -3
  761. package/dist/esm/mds-input-range.entry.js +3 -3
  762. package/dist/esm/mds-input-select.entry.js +6 -6
  763. package/dist/esm/mds-input-switch_2.entry.js +6 -6
  764. package/dist/esm/mds-input-tip_2.entry.js +5 -5
  765. package/dist/esm/mds-input-upload.entry.js +7 -7
  766. package/dist/esm/mds-input.entry.js +8 -8
  767. package/dist/esm/mds-keyboard-key.entry.js +3 -3
  768. package/dist/esm/mds-keyboard.entry.js +4 -4
  769. package/dist/esm/mds-kpi-item.entry.js +3 -3
  770. package/dist/esm/mds-kpi.entry.js +1 -1
  771. package/dist/esm/mds-label.entry.js +3 -3
  772. package/dist/esm/mds-link.entry.js +5 -5
  773. package/dist/esm/mds-list-item.entry.js +1 -1
  774. package/dist/esm/mds-list.entry.js +1 -1
  775. package/dist/esm/mds-mention.entry.js +3 -3
  776. package/dist/esm/mds-modal.entry.js +34 -15
  777. package/dist/esm/mds-note.entry.js +4 -4
  778. package/dist/esm/mds-notification.entry.js +3 -3
  779. package/dist/esm/mds-paginator-item.entry.js +2 -2
  780. package/dist/esm/mds-paginator.entry.js +4 -4
  781. package/dist/esm/mds-policy-ai.entry.js +3 -3
  782. package/dist/esm/mds-pref-animation.entry.js +3 -3
  783. package/dist/esm/mds-pref-consumption.entry.js +3 -3
  784. package/dist/esm/mds-pref-contrast.entry.js +3 -3
  785. package/dist/esm/mds-pref-language-item.entry.js +3 -3
  786. package/dist/esm/mds-pref-language.entry.js +3 -3
  787. package/dist/esm/mds-pref-mode.entry.js +22 -13
  788. package/dist/esm/mds-pref-theme-item.entry.js +1 -1
  789. package/dist/esm/mds-pref-theme.entry.js +31 -8
  790. package/dist/esm/mds-pref.entry.js +3 -25
  791. package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
  792. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  793. package/dist/esm/mds-price-table-features.entry.js +2 -2
  794. package/dist/esm/mds-price-table-header.entry.js +1 -1
  795. package/dist/esm/mds-price-table-list-item.entry.js +1 -1
  796. package/dist/esm/mds-price-table-list.entry.js +3 -3
  797. package/dist/esm/mds-price-table.entry.js +1 -1
  798. package/dist/esm/mds-progress_2.entry.js +4 -4
  799. package/dist/esm/mds-push-notification-item.entry.js +4 -4
  800. package/dist/esm/mds-push-notification.entry.js +4 -4
  801. package/dist/esm/mds-quote.entry.js +2 -2
  802. package/dist/esm/mds-radial-menu-item.entry.js +1 -1
  803. package/dist/esm/mds-radial-menu.entry.js +5 -5
  804. package/dist/esm/mds-separator.entry.js +2 -2
  805. package/dist/esm/mds-status-bar.entry.js +3 -3
  806. package/dist/esm/mds-stepper-bar-item.entry.js +3 -3
  807. package/dist/esm/mds-stepper-bar.entry.js +1 -1
  808. package/dist/esm/mds-tab-bar-item.entry.js +4 -4
  809. package/dist/esm/mds-tab-bar.entry.js +3 -3
  810. package/dist/esm/mds-tab_2.entry.js +6 -6
  811. package/dist/esm/mds-table-body.entry.js +2 -2
  812. package/dist/esm/mds-table-footer.entry.js +2 -2
  813. package/dist/esm/mds-table-header-cell.entry.js +2 -2
  814. package/dist/esm/mds-table-header.entry.js +3 -3
  815. package/dist/esm/mds-table-row.entry.js +4 -4
  816. package/dist/esm/mds-table.entry.js +4 -4
  817. package/dist/esm/mds-text.entry.js +2 -2
  818. package/dist/esm/mds-toast-region.entry.js +1 -1
  819. package/dist/esm/mds-toast.entry.js +3 -3
  820. package/dist/esm/mds-tooltip.entry.js +5 -5
  821. package/dist/esm/mds-tree-item.entry.js +3 -3
  822. package/dist/esm/mds-tree.entry.js +1 -1
  823. package/dist/esm/mds-url-view.entry.js +4 -4
  824. package/dist/esm/mds-usage.entry.js +4 -4
  825. package/dist/esm/mds-video-wall.entry.js +2 -2
  826. package/dist/esm/mds-zero.entry.js +3 -3
  827. package/dist/esm/{preference-C5XjgGCb.js → preference-C8foBO86.js} +19 -1
  828. package/dist/esm-es5/aria-DwKxtKwS.js +12 -0
  829. package/dist/esm-es5/{floating-controller-BVlbYYkf.js → floating-controller-xixU_s1w.js} +1 -1
  830. package/dist/esm-es5/{index-BJVvHlvf.js → index-DEL0bLpb.js} +1 -1
  831. package/dist/esm-es5/loader.js +1 -1
  832. package/dist/esm-es5/{locale-B6cOkl4I.js → locale-DhP1Ge2o.js} +18 -18
  833. package/dist/esm-es5/magma-components.js +1 -1
  834. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  835. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  836. package/dist/esm-es5/mds-accordion.entry.js +1 -1
  837. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  838. package/dist/esm-es5/mds-badge.entry.js +1 -1
  839. package/dist/esm-es5/mds-banner_3.entry.js +4 -4
  840. package/dist/esm-es5/mds-book.entry.js +1 -1
  841. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  842. package/dist/esm-es5/mds-button-dropdown.entry.js +6 -4
  843. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  844. package/dist/esm-es5/mds-button_3.entry.js +39 -17
  845. package/dist/esm-es5/mds-calendar_2.entry.js +4 -4
  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 +2 -2
  851. package/dist/esm-es5/mds-details.entry.js +2 -2
  852. package/dist/esm-es5/mds-dropdown.entry.js +13 -13
  853. package/dist/esm-es5/mds-emoji.entry.js +2 -2
  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 +3 -3
  857. package/dist/esm-es5/mds-filter-item.entry.js +2 -2
  858. package/dist/esm-es5/mds-filter.entry.js +2 -2
  859. package/dist/esm-es5/mds-header-bar.entry.js +2 -2
  860. package/dist/esm-es5/mds-header.entry.js +2 -2
  861. package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
  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 +3 -3
  865. package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
  866. package/dist/esm-es5/mds-input-date.entry.js +3 -3
  867. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  868. package/dist/esm-es5/mds-input-otp.entry.js +2 -2
  869. package/dist/esm-es5/mds-input-range.entry.js +2 -2
  870. package/dist/esm-es5/mds-input-select.entry.js +10 -10
  871. package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
  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 +3 -3
  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 +3 -3
  878. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  879. package/dist/esm-es5/mds-label.entry.js +1 -1
  880. package/dist/esm-es5/mds-link.entry.js +2 -2
  881. package/dist/esm-es5/mds-list-item.entry.js +1 -1
  882. package/dist/esm-es5/mds-list.entry.js +1 -1
  883. package/dist/esm-es5/mds-mention.entry.js +2 -2
  884. package/dist/esm-es5/mds-modal.entry.js +23 -11
  885. package/dist/esm-es5/mds-note.entry.js +2 -2
  886. package/dist/esm-es5/mds-notification.entry.js +2 -2
  887. package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
  888. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  889. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  890. package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
  891. package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
  892. package/dist/esm-es5/mds-pref-contrast.entry.js +3 -3
  893. package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
  894. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  895. package/dist/esm-es5/mds-pref-mode.entry.js +13 -3
  896. package/dist/esm-es5/mds-pref-theme-item.entry.js +1 -1
  897. package/dist/esm-es5/mds-pref-theme.entry.js +19 -6
  898. package/dist/esm-es5/mds-pref.entry.js +4 -12
  899. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  900. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  901. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  902. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  903. package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
  904. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  905. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  906. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  907. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  908. package/dist/esm-es5/mds-push-notification.entry.js +6 -6
  909. package/dist/esm-es5/mds-quote.entry.js +2 -2
  910. package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
  911. package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
  912. package/dist/esm-es5/mds-separator.entry.js +1 -1
  913. package/dist/esm-es5/mds-status-bar.entry.js +3 -3
  914. package/dist/esm-es5/mds-stepper-bar-item.entry.js +2 -2
  915. package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
  916. package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
  917. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  918. package/dist/esm-es5/mds-tab_2.entry.js +3 -3
  919. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  920. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  921. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  922. package/dist/esm-es5/mds-table-header.entry.js +2 -2
  923. package/dist/esm-es5/mds-table-row.entry.js +2 -2
  924. package/dist/esm-es5/mds-table.entry.js +2 -2
  925. package/dist/esm-es5/mds-text.entry.js +2 -2
  926. package/dist/esm-es5/mds-toast-region.entry.js +1 -1
  927. package/dist/esm-es5/mds-toast.entry.js +2 -2
  928. package/dist/esm-es5/mds-tooltip.entry.js +2 -2
  929. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  930. package/dist/esm-es5/mds-tree.entry.js +1 -1
  931. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  932. package/dist/esm-es5/mds-usage.entry.js +3 -3
  933. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  934. package/dist/esm-es5/mds-zero.entry.js +1 -1
  935. package/dist/esm-es5/{preference-C5XjgGCb.js → preference-C8foBO86.js} +14 -4
  936. package/dist/hydrate/index.js +343 -216
  937. package/dist/hydrate/index.mjs +343 -216
  938. package/dist/lint/core/patterns.d.ts +26 -16
  939. package/dist/lint/core/patterns.js +55 -38
  940. package/dist/lint/mcp/tools.json +7 -7
  941. package/dist/magma-components/magma-components.esm.js +1 -1
  942. package/dist/magma-components/{p-0384db44.system.entry.js → p-00d2ef14.system.entry.js} +5 -5
  943. package/dist/magma-components/{p-ff65fc97.entry.js → p-02aed12a.entry.js} +1 -1
  944. package/dist/magma-components/{p-7c055074.entry.js → p-08f7a84b.entry.js} +1 -1
  945. package/dist/magma-components/{p-8239e526.system.entry.js → p-09a7c1de.system.entry.js} +1 -1
  946. package/dist/magma-components/{p-18244fd7.system.entry.js → p-0da5c696.system.entry.js} +3 -3
  947. package/dist/magma-components/{p-5575f198.entry.js → p-0df067b4.entry.js} +1 -1
  948. package/dist/magma-components/{p-b6412ddd.system.entry.js → p-0e1d239b.system.entry.js} +1 -1
  949. package/dist/magma-components/{p-ac161cb5.entry.js → p-0f4c2de6.entry.js} +1 -1
  950. package/dist/magma-components/{p-0c8f22dc.system.entry.js → p-11456781.system.entry.js} +2 -2
  951. package/dist/magma-components/{p-a2e3a545.entry.js → p-14de26d5.entry.js} +1 -1
  952. package/dist/magma-components/p-163eccbd.entry.js +1 -0
  953. package/dist/magma-components/{p-844bce77.entry.js → p-167ba07a.entry.js} +1 -1
  954. package/dist/magma-components/{p-f4fc9f29.system.entry.js → p-16bbff4e.system.entry.js} +1 -1
  955. package/dist/magma-components/{p-e059aaa9.entry.js → p-17249b74.entry.js} +1 -1
  956. package/dist/magma-components/{p-95ddc950.system.entry.js → p-188a55ac.system.entry.js} +3 -3
  957. package/dist/magma-components/{p-c9bd81c5.system.entry.js → p-1a53d9d0.system.entry.js} +7 -7
  958. package/dist/magma-components/{p-27254fbd.entry.js → p-1cc379d6.entry.js} +1 -1
  959. package/dist/magma-components/{p-ae9735e4.system.entry.js → p-1dc0d59c.system.entry.js} +2 -2
  960. package/dist/magma-components/{p-384d93dc.system.entry.js → p-1e24aafa.system.entry.js} +1 -1
  961. package/dist/magma-components/p-223efc32.entry.js +1 -0
  962. package/dist/magma-components/{p-1467ded5.system.entry.js → p-2454e4cd.system.entry.js} +2 -2
  963. package/dist/magma-components/{p-18b27217.entry.js → p-24a69c45.entry.js} +1 -1
  964. package/dist/magma-components/{p-fae9612b.system.entry.js → p-24fb2c5c.system.entry.js} +2 -2
  965. package/dist/magma-components/{p-ef1bdd44.entry.js → p-259d9380.entry.js} +1 -1
  966. package/dist/magma-components/{p-4fc0e294.entry.js → p-26b08e33.entry.js} +1 -1
  967. package/dist/magma-components/{p-c35ea44d.system.entry.js → p-27a32865.system.entry.js} +2 -2
  968. package/dist/magma-components/{p-299dab17.entry.js → p-2940499f.entry.js} +1 -1
  969. package/dist/magma-components/{p-6129954d.system.entry.js → p-2a5167e3.system.entry.js} +1 -1
  970. package/dist/magma-components/{p-ad13ade5.system.entry.js → p-2e825656.system.entry.js} +3 -3
  971. package/dist/magma-components/{p-308a4ae5.system.entry.js → p-2f4a7253.system.entry.js} +1 -1
  972. package/dist/magma-components/{p-29dd6d94.entry.js → p-2ffa4d4a.entry.js} +1 -1
  973. package/dist/magma-components/{p-d360e4c5.entry.js → p-32b3ad6f.entry.js} +1 -1
  974. package/dist/magma-components/{p-5686da49.system.entry.js → p-33129e0c.system.entry.js} +3 -3
  975. package/dist/magma-components/{p-9c2b67fc.system.entry.js → p-372fa5d4.system.entry.js} +3 -3
  976. package/dist/magma-components/p-380adee8.system.entry.js +5 -0
  977. package/dist/magma-components/{p-b0749f83.system.entry.js → p-390d0672.system.entry.js} +3 -3
  978. package/dist/magma-components/p-397c0686.entry.js +1 -0
  979. package/dist/magma-components/{p-e0049e96.system.entry.js → p-3a836de8.system.entry.js} +1 -1
  980. package/dist/magma-components/{p-fff26731.system.entry.js → p-3ba14295.system.entry.js} +2 -2
  981. package/dist/magma-components/{p-741f8f45.system.entry.js → p-3bf4f012.system.entry.js} +2 -2
  982. package/dist/magma-components/{p-5d56a7cd.system.entry.js → p-3c911608.system.entry.js} +3 -3
  983. package/dist/magma-components/{p-aac622ef.system.entry.js → p-3cf8ed46.system.entry.js} +1 -1
  984. package/dist/magma-components/{p-61e11cd0.system.entry.js → p-3ddae677.system.entry.js} +3 -3
  985. package/dist/magma-components/{p-2d2cdf0d.entry.js → p-3de37b32.entry.js} +1 -1
  986. package/dist/magma-components/{p-90d50492.system.entry.js → p-3f17a06f.system.entry.js} +2 -2
  987. package/dist/magma-components/{p-4f0153cd.entry.js → p-40c59c18.entry.js} +1 -1
  988. package/dist/magma-components/p-411fca2f.system.entry.js +14 -0
  989. package/dist/magma-components/{p-7f418ae1.entry.js → p-43c307f5.entry.js} +1 -1
  990. package/dist/magma-components/{p-14122f2d.entry.js → p-440d7942.entry.js} +1 -1
  991. package/dist/magma-components/{p-6a994dc1.entry.js → p-4541c233.entry.js} +1 -1
  992. package/dist/magma-components/{p-c915fba5.system.entry.js → p-45c26a24.system.entry.js} +1 -1
  993. package/dist/magma-components/{p-948ecde4.entry.js → p-4612bc78.entry.js} +2 -2
  994. package/dist/magma-components/{p-be2ca282.entry.js → p-4718a71d.entry.js} +1 -1
  995. package/dist/magma-components/{p-8a8cad6c.system.entry.js → p-48a1871f.system.entry.js} +1 -1
  996. package/dist/magma-components/{p-7ee31f2e.entry.js → p-4a1f7eb5.entry.js} +1 -1
  997. package/dist/magma-components/{p-adab176e.system.entry.js → p-4a2ed30e.system.entry.js} +2 -2
  998. package/dist/magma-components/{p-efe27253.system.entry.js → p-4a9ed4f7.system.entry.js} +1 -1
  999. package/dist/magma-components/{p-2d199db0.system.entry.js → p-4c3b3913.system.entry.js} +2 -2
  1000. package/dist/magma-components/p-4c955367.entry.js +1 -0
  1001. package/dist/magma-components/p-4ebb0a9e.entry.js +1 -0
  1002. package/dist/magma-components/{p-02b106c2.entry.js → p-4f80bf37.entry.js} +1 -1
  1003. package/dist/magma-components/{p-a65ce11a.system.entry.js → p-527569a3.system.entry.js} +2 -2
  1004. package/dist/magma-components/{p-0d42ac4a.entry.js → p-52cc5a93.entry.js} +1 -1
  1005. package/dist/magma-components/{p-3139988c.system.entry.js → p-54abba52.system.entry.js} +1 -1
  1006. package/dist/magma-components/{p-4fd0fdb8.system.entry.js → p-555ba0e0.system.entry.js} +2 -2
  1007. package/dist/magma-components/{p-5c8f408e.entry.js → p-56cf1cab.entry.js} +1 -1
  1008. package/dist/magma-components/{p-bba4f1f0.system.entry.js → p-5794053b.system.entry.js} +10 -10
  1009. package/dist/magma-components/{p-57ee6e32.entry.js → p-5a754d7b.entry.js} +1 -1
  1010. package/dist/magma-components/{p-f09f3fe1.system.entry.js → p-5c6fdabd.system.entry.js} +3 -3
  1011. package/dist/magma-components/{p-c683cd13.entry.js → p-5ca6063a.entry.js} +1 -1
  1012. package/dist/magma-components/{p-ac099ed6.entry.js → p-5cb581df.entry.js} +1 -1
  1013. package/dist/magma-components/{p-445198a1.entry.js → p-5d825728.entry.js} +1 -1
  1014. package/dist/magma-components/{p-60b21db7.entry.js → p-5dfca9f0.entry.js} +1 -1
  1015. package/dist/magma-components/{p-f181c679.system.entry.js → p-5f20592f.system.entry.js} +1 -1
  1016. package/dist/magma-components/p-5f38e95b.entry.js +1 -0
  1017. package/dist/magma-components/p-5f4bec31.entry.js +1 -0
  1018. package/dist/magma-components/p-627f5956.entry.js +1 -0
  1019. package/dist/magma-components/{p-a9caed77.entry.js → p-6336d979.entry.js} +1 -1
  1020. package/dist/magma-components/{p-7837856f.entry.js → p-6352c2ea.entry.js} +1 -1
  1021. package/dist/magma-components/{p-10d52280.entry.js → p-64884d84.entry.js} +1 -1
  1022. package/dist/magma-components/{p-98e167e8.system.entry.js → p-64f86e46.system.entry.js} +2 -2
  1023. package/dist/magma-components/{p-9a0f8eb1.entry.js → p-65ea6fc9.entry.js} +1 -1
  1024. package/dist/magma-components/{p-cf42d6ea.system.entry.js → p-66f7f9b1.system.entry.js} +3 -3
  1025. package/dist/magma-components/{p-13cfc01a.entry.js → p-68b0d45a.entry.js} +1 -1
  1026. package/dist/magma-components/{p-b61546fd.entry.js → p-6a4d44e2.entry.js} +1 -1
  1027. package/dist/magma-components/p-6a90caf5.system.entry.js +1 -0
  1028. package/dist/magma-components/{p-dfab370b.entry.js → p-6c4f2de0.entry.js} +1 -1
  1029. package/dist/magma-components/{p-12be0f43.system.entry.js → p-6f90c2c9.system.entry.js} +2 -2
  1030. package/dist/magma-components/p-70faf379.entry.js +1 -0
  1031. package/dist/magma-components/{p-e7f717ab.entry.js → p-71d03e56.entry.js} +1 -1
  1032. package/dist/magma-components/{p-b30b487c.system.entry.js → p-720e9291.system.entry.js} +3 -3
  1033. package/dist/magma-components/{p-bc054ffa.system.entry.js → p-724b7fff.system.entry.js} +2 -2
  1034. package/dist/magma-components/{p-6896786e.entry.js → p-73dc7c66.entry.js} +1 -1
  1035. package/dist/magma-components/{p-34421ef2.system.entry.js → p-7476cf76.system.entry.js} +3 -3
  1036. package/dist/magma-components/{p-0fc41e34.system.entry.js → p-7701a318.system.entry.js} +1 -1
  1037. package/dist/magma-components/{p-85bf9c93.entry.js → p-77707706.entry.js} +1 -1
  1038. package/dist/magma-components/{p-c9553777.entry.js → p-78d00f88.entry.js} +1 -1
  1039. package/dist/magma-components/{p-4f48c171.system.entry.js → p-79085c46.system.entry.js} +1 -1
  1040. package/dist/magma-components/{p-ccffdf0b.system.entry.js → p-793072e1.system.entry.js} +23 -11
  1041. package/dist/magma-components/{p-b2763352.entry.js → p-79392a0a.entry.js} +1 -1
  1042. package/dist/magma-components/{p-7ff5552f.entry.js → p-7a33ab3c.entry.js} +1 -1
  1043. package/dist/magma-components/{p-625de2e6.system.entry.js → p-7a4e8bc0.system.entry.js} +4 -4
  1044. package/dist/magma-components/p-7a73fd19.system.entry.js +127 -0
  1045. package/dist/magma-components/p-7b552dbe.entry.js +1 -0
  1046. package/dist/magma-components/{p-84aac233.entry.js → p-7c13ccb0.entry.js} +1 -1
  1047. package/dist/magma-components/{p-d81fcbde.system.entry.js → p-7e0a8194.system.entry.js} +5 -5
  1048. package/dist/magma-components/{p-45b19935.system.entry.js → p-7fbdf896.system.entry.js} +3 -3
  1049. package/dist/magma-components/{p-35c170ba.system.entry.js → p-804f4794.system.entry.js} +2 -2
  1050. package/dist/magma-components/{p-6c73689a.system.entry.js → p-840c19ee.system.entry.js} +4 -4
  1051. package/dist/magma-components/p-848d1b42.system.entry.js +30 -0
  1052. package/dist/magma-components/{p-81212e34.entry.js → p-86494ea9.entry.js} +1 -1
  1053. package/dist/magma-components/p-8915347f.entry.js +1 -0
  1054. package/dist/magma-components/{p-f493fdc3.entry.js → p-8c20ac0c.entry.js} +1 -1
  1055. package/dist/magma-components/{p-f22b8091.entry.js → p-90c60c48.entry.js} +1 -1
  1056. package/dist/magma-components/{p-60d6e60f.entry.js → p-90e20ad3.entry.js} +1 -1
  1057. package/dist/magma-components/{p-797c64f4.system.entry.js → p-9228db0b.system.entry.js} +13 -3
  1058. package/dist/magma-components/p-94548d43.entry.js +1 -0
  1059. package/dist/magma-components/{p-9c784173.entry.js → p-95020326.entry.js} +1 -1
  1060. package/dist/magma-components/{p-8feba226.entry.js → p-970f45df.entry.js} +1 -1
  1061. package/dist/magma-components/{p-9303fb16.system.entry.js → p-97a501cd.system.entry.js} +2 -2
  1062. package/dist/magma-components/{p-9e07535e.system.entry.js → p-98cc6473.system.entry.js} +26 -13
  1063. package/dist/magma-components/p-99d2ace2.system.entry.js +5 -0
  1064. package/dist/magma-components/{p-627c2780.entry.js → p-9aba3769.entry.js} +1 -1
  1065. package/dist/magma-components/{p-6d009b42.system.entry.js → p-9b0b65f0.system.entry.js} +2 -2
  1066. package/dist/magma-components/{p-f40e3918.system.entry.js → p-9b0d7f7d.system.entry.js} +2 -2
  1067. package/dist/magma-components/{p-5d1cba9c.system.entry.js → p-9b8d15a8.system.entry.js} +1 -1
  1068. package/dist/magma-components/{p-5931fdfc.system.entry.js → p-9e94f4a3.system.entry.js} +4 -4
  1069. package/dist/magma-components/{p-3b578659.system.entry.js → p-9f0100f2.system.entry.js} +2 -2
  1070. package/dist/magma-components/p-B8zYiZQY.system.js +1 -1
  1071. package/dist/magma-components/{p-CuHZXISO.system.js → p-BHdlb7Fr.system.js} +19 -19
  1072. package/dist/magma-components/p-BXVzhErg.system.js +12 -0
  1073. package/dist/magma-components/{p-OafT80hV.js → p-CATyfc78.js} +2 -2
  1074. package/dist/magma-components/{p-CZuIEo2v.system.js → p-Cbabyppz.system.js} +1 -1
  1075. package/dist/magma-components/{p-Dx_cCOTw.js → p-CxzVgcYv.js} +1 -1
  1076. package/dist/magma-components/{p-CxTugGM9.system.js → p-D3J9KZKy.system.js} +1 -1
  1077. package/dist/magma-components/{p-mGgjNqBm.system.js → p-DOisMne4.system.js} +17 -7
  1078. package/dist/magma-components/p-DwKxtKwS.js +1 -0
  1079. package/dist/{components/p-jasGzfhE.js → magma-components/p-Dx7iOdVP.js} +1 -1
  1080. package/dist/magma-components/{p-iX3kcwYg.js → p-DxR4rGsw.js} +1 -1
  1081. package/dist/magma-components/{p-ecc2893d.system.entry.js → p-a112a0e2.system.entry.js} +1 -1
  1082. package/dist/magma-components/{p-86f11a5a.entry.js → p-a2767235.entry.js} +1 -1
  1083. package/dist/magma-components/{p-c0286dc3.system.entry.js → p-a2c3b294.system.entry.js} +6 -6
  1084. package/dist/magma-components/{p-4669334a.system.entry.js → p-a2d4d849.system.entry.js} +2 -2
  1085. package/dist/magma-components/{p-cfbf3a76.system.entry.js → p-a48c73b1.system.entry.js} +2 -2
  1086. package/dist/magma-components/{p-4e8c5b68.entry.js → p-a4f53c83.entry.js} +1 -1
  1087. package/dist/magma-components/{p-e92327a2.entry.js → p-a58e8a5c.entry.js} +1 -1
  1088. package/dist/magma-components/{p-1a20f239.system.entry.js → p-a5ca10ae.system.entry.js} +1 -1
  1089. package/dist/magma-components/{p-46a928c3.entry.js → p-a9a872e1.entry.js} +1 -1
  1090. package/dist/magma-components/{p-0a0dfdf4.system.entry.js → p-a9ab9eb0.system.entry.js} +2 -2
  1091. package/dist/magma-components/{p-72971cf7.system.entry.js → p-ab1c3fb0.system.entry.js} +1 -1
  1092. package/dist/magma-components/{p-074d7b75.entry.js → p-ab445c2b.entry.js} +1 -1
  1093. package/dist/magma-components/{p-45a3e7eb.entry.js → p-abe32d5b.entry.js} +1 -1
  1094. package/dist/magma-components/{p-2e68180d.system.entry.js → p-af56e3e4.system.entry.js} +2 -2
  1095. package/dist/magma-components/{p-ed4fd7a4.entry.js → p-b1238d48.entry.js} +1 -1
  1096. package/dist/magma-components/{p-4748378e.system.entry.js → p-b129b127.system.entry.js} +14 -14
  1097. package/dist/magma-components/{p-e79eb427.system.entry.js → p-b1cd3acf.system.entry.js} +2 -2
  1098. package/dist/magma-components/{p-5aa8f150.entry.js → p-b705b805.entry.js} +1 -1
  1099. package/dist/magma-components/{p-2111aa67.system.entry.js → p-b7d18d7a.system.entry.js} +1 -1
  1100. package/dist/magma-components/{p-3be9b384.system.entry.js → p-b871ad36.system.entry.js} +10 -10
  1101. package/dist/magma-components/{p-f7426a75.entry.js → p-ba871d9c.entry.js} +1 -1
  1102. package/dist/magma-components/{p-5a8fa2d0.entry.js → p-ba95bf93.entry.js} +1 -1
  1103. package/dist/magma-components/{p-3af8a86a.system.entry.js → p-bc054fa3.system.entry.js} +3 -3
  1104. package/dist/magma-components/{p-05455645.system.entry.js → p-bcc6c358.system.entry.js} +2 -2
  1105. package/dist/magma-components/{p-7c3a7521.entry.js → p-bd489df9.entry.js} +1 -1
  1106. package/dist/magma-components/{p-60acbc5f.system.entry.js → p-c0295a0e.system.entry.js} +2 -2
  1107. package/dist/magma-components/p-c06d8b5a.entry.js +1 -0
  1108. package/dist/magma-components/p-c131d726.entry.js +1 -0
  1109. package/dist/magma-components/{p-198ea5d8.entry.js → p-c49676e6.entry.js} +1 -1
  1110. package/dist/magma-components/{p-2a445b98.system.entry.js → p-c4c1ef48.system.entry.js} +78 -78
  1111. package/dist/magma-components/{p-87831da2.system.entry.js → p-c54f2089.system.entry.js} +1 -1
  1112. package/dist/magma-components/{p-8b8cd213.system.entry.js → p-c691f27e.system.entry.js} +3 -3
  1113. package/dist/magma-components/p-c8414ee6.entry.js +1 -0
  1114. package/dist/magma-components/{p-9ef64212.entry.js → p-c8c918d2.entry.js} +3 -3
  1115. package/dist/magma-components/{p-85376ff5.entry.js → p-c91cb63a.entry.js} +1 -1
  1116. package/dist/magma-components/{p-9f55fa7a.system.entry.js → p-c94e7973.system.entry.js} +2 -2
  1117. package/dist/magma-components/{p-387fa36d.system.entry.js → p-c9baa3fb.system.entry.js} +1 -1
  1118. package/dist/magma-components/{p-b781c932.system.entry.js → p-ca4e8601.system.entry.js} +1 -1
  1119. package/dist/magma-components/{p-445bc62a.system.entry.js → p-ca5427d4.system.entry.js} +1 -1
  1120. package/dist/magma-components/{p-4646cdc0.system.entry.js → p-caca78ff.system.entry.js} +2 -2
  1121. package/dist/magma-components/{p-d85f3e5e.system.entry.js → p-caf478ff.system.entry.js} +2 -2
  1122. package/dist/magma-components/{p-b8f4938a.entry.js → p-cb06839f.entry.js} +1 -1
  1123. package/dist/magma-components/{p-d29c959d.entry.js → p-ce42734f.entry.js} +1 -1
  1124. package/dist/magma-components/{p-8aa4cd10.entry.js → p-d1e4a032.entry.js} +1 -1
  1125. package/dist/magma-components/{p-cd6dd836.entry.js → p-d25a47fa.entry.js} +1 -1
  1126. package/dist/magma-components/{p-0d3da482.system.entry.js → p-d29b32b4.system.entry.js} +1 -1
  1127. package/dist/magma-components/{p-1f746ad1.system.entry.js → p-d2ba5851.system.entry.js} +9 -9
  1128. package/dist/magma-components/{p-d50d4023.entry.js → p-d365c6b6.entry.js} +1 -1
  1129. package/dist/magma-components/{p-7a920b70.entry.js → p-d3b06151.entry.js} +1 -1
  1130. package/dist/magma-components/{p-4cd21f19.entry.js → p-d45f65e0.entry.js} +1 -1
  1131. package/dist/magma-components/{p-fdedc0ba.entry.js → p-d51ec950.entry.js} +1 -1
  1132. package/dist/magma-components/{p-4606d11f.entry.js → p-d760c1fa.entry.js} +1 -1
  1133. package/dist/magma-components/p-d785d7ee.entry.js +1 -0
  1134. package/dist/magma-components/{p-08da465d.entry.js → p-d9092133.entry.js} +1 -1
  1135. package/dist/magma-components/{p-03fb86a6.system.entry.js → p-dd348171.system.entry.js} +2 -2
  1136. package/dist/magma-components/{p-dcb5f965.entry.js → p-de423b11.entry.js} +1 -1
  1137. package/dist/magma-components/{p-97217527.system.entry.js → p-df78b7ac.system.entry.js} +1 -1
  1138. package/dist/magma-components/{p-fba648e0.entry.js → p-e39b5e12.entry.js} +1 -1
  1139. package/dist/magma-components/{p-99bfa07e.system.entry.js → p-eac943e5.system.entry.js} +1 -1
  1140. package/dist/magma-components/{p-9ef0d4e5.system.entry.js → p-eb220deb.system.entry.js} +2 -2
  1141. package/dist/magma-components/{p-fd81c4ef.system.entry.js → p-eca42fe8.system.entry.js} +2 -2
  1142. package/dist/magma-components/{p-56a25ec6.entry.js → p-ecda3e45.entry.js} +1 -1
  1143. package/dist/magma-components/{p-b523fabe.system.entry.js → p-f0909679.system.entry.js} +2 -2
  1144. package/dist/magma-components/{p-8bf8e032.entry.js → p-f2649031.entry.js} +1 -1
  1145. package/dist/magma-components/{p-30f95d10.entry.js → p-f51ed098.entry.js} +1 -1
  1146. package/dist/magma-components/{p-11210b60.system.entry.js → p-f5bd5b64.system.entry.js} +3 -3
  1147. package/dist/magma-components/p-f6358241.system.entry.js +19 -0
  1148. package/dist/magma-components/{p-b0850daa.entry.js → p-f9f3ad86.entry.js} +1 -1
  1149. package/dist/magma-components/{p-a3d09996.entry.js → p-fb4b648a.entry.js} +1 -1
  1150. package/dist/magma-components/{p-81d2582a.entry.js → p-fd4588c5.entry.js} +1 -1
  1151. package/dist/magma-components/{p-3b494de7.entry.js → p-fdd17ee6.entry.js} +1 -1
  1152. package/dist/magma-components/p-fe51c0cb.system.entry.js +10 -0
  1153. package/dist/magma-components/{p-a3156523.system.entry.js → p-ff6cf4f8.system.entry.js} +3 -3
  1154. package/dist/magma-components/{p-4da1c089.entry.js → p-ff76c614.entry.js} +1 -1
  1155. package/dist/{lint/mcp → mcp}/checks.js +4 -4
  1156. package/dist/{lint/mcp → mcp}/components.js +4 -6
  1157. package/dist/{lint/mcp → mcp}/guides.js +11 -9
  1158. package/dist/{lint/mcp → mcp}/icons.js +21 -0
  1159. package/dist/mcp/package.json +3 -0
  1160. package/dist/{lint/mcp → mcp}/patterns.js +8 -9
  1161. package/dist/{lint/mcp → mcp}/protocol.js +1 -1
  1162. package/dist/{lint/mcp → mcp}/render.js +61 -33
  1163. package/dist/{lint/mcp → mcp}/server.js +4 -4
  1164. package/dist/{lint/mcp → mcp}/tokens.js +1 -2
  1165. package/dist/mcp/tools.json +1374 -0
  1166. package/dist/stats.json +2304 -2021
  1167. package/dist/types/common/aria.d.ts +8 -1
  1168. package/dist/types/common/preference.d.ts +13 -1
  1169. package/dist/types/components/mds-button/mds-button.d.ts +50 -4
  1170. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +22 -2
  1171. package/dist/types/components/mds-modal/mds-modal.d.ts +8 -1
  1172. package/dist/types/components/mds-pref/mds-pref.d.ts +0 -9
  1173. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +16 -5
  1174. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +14 -1
  1175. package/dist/types/components.d.ts +67 -13
  1176. package/dist/types/type/button.d.ts +2 -0
  1177. package/package.json +12 -11
  1178. package/dist/components/p-BwT0RJip.js +0 -1
  1179. package/dist/components/p-COUgBzJ4.js +0 -1
  1180. package/dist/components/p-Cvhn9asj.js +0 -1
  1181. package/dist/components/p-G7Udw5H5.js +0 -1
  1182. package/dist/components/p-Ic8cYsgt.js +0 -1
  1183. package/dist/components/p-l0KS6hTQ.js +0 -1
  1184. package/dist/esm-es5/aria-Cvhn9asj.js +0 -6
  1185. package/dist/lint/mcp/checks.d.ts +0 -29
  1186. package/dist/lint/mcp/cli.d.ts +0 -2
  1187. package/dist/lint/mcp/color.d.ts +0 -12
  1188. package/dist/lint/mcp/components.d.ts +0 -5
  1189. package/dist/lint/mcp/context.d.ts +0 -45
  1190. package/dist/lint/mcp/guides.d.ts +0 -3
  1191. package/dist/lint/mcp/icons.d.ts +0 -9
  1192. package/dist/lint/mcp/patterns.d.ts +0 -75
  1193. package/dist/lint/mcp/protocol.d.ts +0 -77
  1194. package/dist/lint/mcp/render-page.d.ts +0 -40
  1195. package/dist/lint/mcp/render.d.ts +0 -130
  1196. package/dist/lint/mcp/server.d.ts +0 -39
  1197. package/dist/lint/mcp/tokens.d.ts +0 -37
  1198. package/dist/magma-components/p-06691ab3.system.entry.js +0 -27
  1199. package/dist/magma-components/p-1d8485de.system.entry.js +0 -28
  1200. package/dist/magma-components/p-21345ecc.entry.js +0 -1
  1201. package/dist/magma-components/p-25dcbf22.entry.js +0 -1
  1202. package/dist/magma-components/p-37881115.system.entry.js +0 -14
  1203. package/dist/magma-components/p-4e5b8618.system.entry.js +0 -1
  1204. package/dist/magma-components/p-69319301.system.entry.js +0 -10
  1205. package/dist/magma-components/p-7b06b2f2.entry.js +0 -1
  1206. package/dist/magma-components/p-7d61f442.entry.js +0 -1
  1207. package/dist/magma-components/p-97c6e10a.entry.js +0 -1
  1208. package/dist/magma-components/p-9e2b1a29.entry.js +0 -1
  1209. package/dist/magma-components/p-9ed54db1.entry.js +0 -1
  1210. package/dist/magma-components/p-Cvhn9asj.js +0 -1
  1211. package/dist/magma-components/p-a8206d9c.entry.js +0 -1
  1212. package/dist/magma-components/p-b464668b.system.entry.js +0 -105
  1213. package/dist/magma-components/p-b85f56d7.entry.js +0 -1
  1214. package/dist/magma-components/p-c7dc17f8.entry.js +0 -1
  1215. package/dist/magma-components/p-d43e2a9a.entry.js +0 -1
  1216. package/dist/magma-components/p-ddfb4da3.entry.js +0 -1
  1217. package/dist/magma-components/p-e428490d.system.entry.js +0 -5
  1218. package/dist/magma-components/p-f045b018.entry.js +0 -1
  1219. package/dist/magma-components/p-f5d9f625.entry.js +0 -1
  1220. package/dist/magma-components/p-fa387b74.system.entry.js +0 -5
  1221. package/dist/magma-components/p-fbf563c8.entry.js +0 -1
  1222. package/dist/magma-components/p-ff82edad.entry.js +0 -1
  1223. package/dist/magma-components/p-sm_-_oFY.system.js +0 -6
  1224. /package/dist/{lint/mcp → mcp}/cli.js +0 -0
  1225. /package/dist/{lint/mcp → mcp}/color.js +0 -0
  1226. /package/dist/{lint/mcp → mcp}/context.js +0 -0
  1227. /package/dist/{lint/mcp → mcp}/icon.svg +0 -0
  1228. /package/dist/{lint/mcp → mcp}/render-page.js +0 -0
@@ -52,21 +52,6 @@ export class MdsPref {
52
52
  if (this.size !== undefined)
53
53
  this.sizeChildren(this.size);
54
54
  };
55
- /**
56
- * Cross-lane coordination: a scheme-constrained theme locks the matching mode
57
- * item in `mds-pref-mode`. This is a UI concern only - it never writes the
58
- * stored mode preference, which the theme's `scheme` overrides at render time.
59
- */
60
- this.applySchemeLock = (scheme) => {
61
- const modeEl = this.host.querySelector('mds-pref-mode');
62
- if (!modeEl)
63
- return;
64
- modeEl.lockedScheme = scheme === 'light' || scheme === 'dark' ? scheme : undefined;
65
- };
66
- this.applyInitialSchemeLock = () => {
67
- const themeEl = this.host.querySelector('mds-pref-theme');
68
- this.applySchemeLock(themeEl === null || themeEl === void 0 ? void 0 : themeEl.scheme);
69
- };
70
55
  }
71
56
  handleControllerChange(newValue) {
72
57
  if (newValue === false) {
@@ -91,7 +76,6 @@ export class MdsPref {
91
76
  }
92
77
  componentDidLoad() {
93
78
  this.loaded = true;
94
- this.applyInitialSchemeLock();
95
79
  }
96
80
  disconnectedCallback() {
97
81
  var _a;
@@ -113,14 +97,8 @@ export class MdsPref {
113
97
  this.showReload = true;
114
98
  }
115
99
  }
116
- // The lock coordination drives the visible-mode UI (the controller mode is hidden
117
- // via CSS), so it does not depend on the controller prop.
118
- handleThemeChange(e) {
119
- var _a;
120
- this.applySchemeLock((_a = e.detail) === null || _a === void 0 ? void 0 : _a.scheme);
121
- }
122
100
  render() {
123
- return (h(Host, { key: '8a6b1bf275d0e3b017b75b8998082349e77ebb40' }, h("slot", { key: 'cefbbe221f6578a0945c4b4f881993f32bb7bf7e', onSlotchange: this.applySize }), this.showReload && (h("div", { key: '7eef58ddcd2d06b4670e3cbc16522017f60c6fec', class: "reload-required" }, h("mds-text", { key: '2d93d0e892a0648c4a53e6d9ab39c6a3b75f295e', typography: "caption" }, this.t.get('reloadPageToSeeChanges'))))));
101
+ return (h(Host, { key: 'e44dacabedce5a82ed916e39e6c7532274a5ef1f' }, h("slot", { key: 'edb99c43dc9fc2691c7e762e56880ea3b7336da8', onSlotchange: this.applySize }), this.showReload && (h("div", { key: '58aa0565b78ea8efb7e6516ece0ca4f3e869b8da', class: "reload-required" }, h("mds-text", { key: 'd434dd1fa421a10243303594312aec5549c1446b', typography: "caption" }, this.t.get('reloadPageToSeeChanges'))))));
124
102
  }
125
103
  static get is() { return "mds-pref"; }
126
104
  static get encapsulation() { return "shadow"; }
@@ -205,12 +183,6 @@ export class MdsPref {
205
183
  "target": undefined,
206
184
  "capture": false,
207
185
  "passive": false
208
- }, {
209
- "name": "mdsPrefThemeChange",
210
- "method": "handleThemeChange",
211
- "target": undefined,
212
- "capture": false,
213
- "passive": false
214
186
  }];
215
187
  }
216
188
  }
@@ -28,7 +28,7 @@ The default slot accepts only `mds-pref-animation`, `mds-pref-consumption`, `mds
28
28
 
29
29
  #### Do Not Use `mds-pref-*` Children Outside `<mds-pref>`
30
30
 
31
- Each control applies and stores its own preference, but the coordination between the controls of a panel lives in the parent: a scheme-constrained `mds-pref-theme` item locks the matching `mds-pref-mode` item only inside `<mds-pref>`, and only the parent forwards `size` changes. Group the controls of a panel in `<mds-pref>`.
31
+ Each control applies and stores its own preference, but the coordination between the controls of a panel lives in the parent: only the parent forwards `size` changes and sets the `data-magma-pref` flag that turns off the fallback to the OS preferences. Group the controls of a panel in `<mds-pref>`.
32
32
 
33
33
  ```html
34
34
  <!-- INCORRECT -->
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-pref-animation
8
8
 
9
- > `@maggioli-design-system/magma` 2.11.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
9
+ > `@maggioli-design-system/magma` 2.12.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
10
10
 
11
11
  The `<mds-pref-animation>` web component is a preference control that lets users choose how animations are presented (reduced, system-driven, or fully enabled). It is usually a child of [`<mds-pref>`](../mds-pref/AGENTS.md) and renders a labelled three-option tab group rather than any native HTML primitive.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-11-04T15:13:27",
2
+ "timestamp": "2026-11-06T15:30:27",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.45.2",
@@ -150,8 +150,8 @@
150
150
  "mds-button"
151
151
  ],
152
152
  "mds-button": [
153
- "mds-spinner",
154
153
  "mds-icon",
154
+ "mds-spinner",
155
155
  "mds-text"
156
156
  ]
157
157
  },
@@ -122,7 +122,7 @@ export class MdsPrefAnimation {
122
122
  }
123
123
  render() {
124
124
  var _a;
125
- return (h(Host, { key: '86f8dc30cf4bf71b72618991d15e9e77e8f88aa1', "pref-contrast": preferenceStore.state.contrast }, h("mds-text", { key: '4a2bf935bae5596232d1598b2a732d860c2327f8', class: "info", typography: "caption" }, h("b", { key: '6cd777637bdec20e99b1c50b7092a68f83948449' }, this.t.get('label')), ' ', this.t.get(this.animation[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label)), h("mds-tab", { key: '335b56f351c41f8584198b16356b8fe5ce6e3820', fill: true, size: this.size }, h("mds-tab-item", { key: 'f3c34d251f4cf3f8bd3adbe91d879fd60e7b0eb4', selected: this.mode === 'reduce', onClick: this.handleModeClick('reduce'), class: "item item--reduce", icon: miOutlineCircle, title: this.t.get(this.animation.reduce.label) }), h("mds-tab-item", { key: 'ef83e878eac830a8110b347ce417b87a57d64fc8', selected: this.mode === 'system', onClick: this.handleModeClick('system'), class: "item item--system", icon: miBaselineSettings, title: this.t.get(this.animation.system.label) }), h("mds-tab-item", { key: 'fdeab7eab0160015e635396ef6e5252da776cfe5', selected: this.mode === 'no-preference', onClick: this.handleModeClick('no-preference'), class: "item item--no-preference", icon: miBaselineAnimation, title: this.t.get(this.animation['no-preference'].label) }))));
125
+ return (h(Host, { key: '9ef3ffdf90651da1b166dc78cd5d88a7900e4d41', "pref-contrast": preferenceStore.state.contrast }, h("mds-text", { key: '234ae36d92fdc10f20218bdc4f6e476111f8ba81', class: "info", typography: "caption" }, h("b", { key: '94e541037f5e7c4d6ccccbeea80eced6b4bda57c' }, this.t.get('label')), ' ', this.t.get(this.animation[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label)), h("mds-tab", { key: '59c14c119100f31a19cf37a99b56df6760720a06', fill: true, size: this.size }, h("mds-tab-item", { key: 'fff1f6202e8ea5394c0cb186f15a793fb86bc5d8', selected: this.mode === 'reduce', onClick: this.handleModeClick('reduce'), class: "item item--reduce", icon: miOutlineCircle, title: this.t.get(this.animation.reduce.label) }), h("mds-tab-item", { key: 'a5bbe8634528a388db16e25d625683057fb1f685', selected: this.mode === 'system', onClick: this.handleModeClick('system'), class: "item item--system", icon: miBaselineSettings, title: this.t.get(this.animation.system.label) }), h("mds-tab-item", { key: '84d50e014c381e10234119abed270444a53202c1', selected: this.mode === 'no-preference', onClick: this.handleModeClick('no-preference'), class: "item item--no-preference", icon: miBaselineAnimation, title: this.t.get(this.animation['no-preference'].label) }))));
126
126
  }
127
127
  static get is() { return "mds-pref-animation"; }
128
128
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-pref-consumption
8
8
 
9
- > `@maggioli-design-system/magma` 2.11.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
9
+ > `@maggioli-design-system/magma` 2.12.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
10
10
 
11
11
  The `<mds-pref-consumption>` web component is a preference control of the Magma Design System that lets the user pick an energy-consumption mode (`low`, `medium`, `high`); it is usually a child of [`<mds-pref>`](../mds-pref/AGENTS.md) and renders as a tab group with one option per mode, so it has no native HTML primitive equivalent.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-11-04T15:13:27",
2
+ "timestamp": "2026-11-06T15:30:27",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.45.2",
@@ -150,8 +150,8 @@
150
150
  "mds-button"
151
151
  ],
152
152
  "mds-button": [
153
- "mds-spinner",
154
153
  "mds-icon",
154
+ "mds-spinner",
155
155
  "mds-text"
156
156
  ]
157
157
  },
@@ -122,7 +122,7 @@ export class MdsPrefContrast {
122
122
  }
123
123
  render() {
124
124
  var _a;
125
- return (h(Host, { key: '51b092dc446791cb4d3ce19f24f9cdece76b5117', "pref-contrast": preferenceStore.state.contrast }, h("mds-text", { key: '7f820923f689d454efee566fa56fb7313087e164', class: "info", typography: "caption" }, h("b", { key: '5d9e3c769e53573630d1f2443ef26c250c410039' }, this.t.get('label')), ' ', this.t.get(this.consumption[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label)), h("mds-tab", { key: '67e4a792f20817d7235e7ada41d43a2b40f6713e', fill: true, size: this.size }, h("mds-tab-item", { key: '77efc078ea3d42d7c56010e00635d9412d53fea9', selected: this.mode === 'low', onClick: this.handleModeClick('low'), class: "item item--low", icon: mggConsumptionLow, title: this.t.get(this.consumption.low.label) }), h("mds-tab-item", { key: 'baab81ac2fcba28a2612d76d5b5c952814dc489c', selected: this.mode === 'medium', onClick: this.handleModeClick('medium'), class: "item item--medium", icon: mggConsumptionMedium, title: this.t.get(this.consumption.medium.label) }), h("mds-tab-item", { key: '365ce2b3958dd0525f903dbb3a9d37c50666e050', selected: this.mode === 'high', onClick: this.handleModeClick('high'), class: "item item--high", icon: mggConsumptionHigh, title: this.t.get(this.consumption.high.label) }))));
125
+ return (h(Host, { key: 'd554271caf8161092b43ced20e6f30b38a947f17', "pref-contrast": preferenceStore.state.contrast }, h("mds-text", { key: 'e80e405e28844afca6560729d4ce6023c2163aa3', class: "info", typography: "caption" }, h("b", { key: '16d3b3e84b94ca9f90409ebfad5a53ab44586a87' }, this.t.get('label')), ' ', this.t.get(this.consumption[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label)), h("mds-tab", { key: 'c008307883d102a87ddf5ffc13649e7c79cb21b0', fill: true, size: this.size }, h("mds-tab-item", { key: 'ed618ec9611b99ba465b834ddce9089e42bc9fd1', selected: this.mode === 'low', onClick: this.handleModeClick('low'), class: "item item--low", icon: mggConsumptionLow, title: this.t.get(this.consumption.low.label) }), h("mds-tab-item", { key: '885664c061f95ac286a30e543783315f4730c91e', selected: this.mode === 'medium', onClick: this.handleModeClick('medium'), class: "item item--medium", icon: mggConsumptionMedium, title: this.t.get(this.consumption.medium.label) }), h("mds-tab-item", { key: '0dd67985ca90cf301c73e834d0f08766e43bf3e8', selected: this.mode === 'high', onClick: this.handleModeClick('high'), class: "item item--high", icon: mggConsumptionHigh, title: this.t.get(this.consumption.high.label) }))));
126
126
  }
127
127
  static get is() { return "mds-pref-consumption"; }
128
128
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-pref-contrast
8
8
 
9
- > `@maggioli-design-system/magma` 2.11.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
9
+ > `@maggioli-design-system/magma` 2.12.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
10
10
 
11
11
  The `<mds-pref-contrast>` web component is a preference control that lets users switch the application's contrast mode (`more`, `system`, or `no-preference`). It is usually a child of the [`<mds-pref>`](../mds-pref/AGENTS.md) panel and renders as a segmented tab of icon options rather than any single native HTML primitive.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-11-04T15:13:27",
2
+ "timestamp": "2026-11-06T15:30:27",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.45.2",
@@ -150,8 +150,8 @@
150
150
  "mds-button"
151
151
  ],
152
152
  "mds-button": [
153
- "mds-spinner",
154
153
  "mds-icon",
154
+ "mds-spinner",
155
155
  "mds-text"
156
156
  ]
157
157
  },
@@ -123,7 +123,7 @@ export class MdsPrefContrast {
123
123
  }
124
124
  render() {
125
125
  var _a;
126
- return (h(Host, { key: '6e5c18cf0518f086767a0d827b9da87661790f18', "pref-contrast": preferenceStore.state.contrast }, h("mds-text", { key: '29c7d8c487409be078d3b1e92cf1a47fb83f5470', class: "info", typography: "caption" }, h("b", { key: '22dae9f0fffbc00d0edfdc0fa48efda7da9289d0' }, this.t.get('label')), ' ', this.t.get(this.contrast[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label)), h("mds-tab", { key: 'dbd63e502598843a3345ee504bf129b8961868c3', fill: true, size: this.size }, h("mds-tab-item", { key: 'a36586976716623583adcfed0ac5dc977f9f8e0f', 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: 'bb764d6de2aab97d7230399660bdef2bf4dfd7ef', 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: 'c1fbc8d128c34447cd35adf9b59e22f4c822ba5d', 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) }))));
126
+ return (h(Host, { key: '136d35ad5870e5dd4a007b8dce566fdeb7494e10', "pref-contrast": preferenceStore.state.contrast }, h("mds-text", { key: 'c605bab430ac596e7cca2b17d16e235ac3b5e1da', class: "info", typography: "caption" }, h("b", { key: 'bc71e7c6a5a14fab1b2b11e51c44c9c03a181b16' }, this.t.get('label')), ' ', this.t.get(this.contrast[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label)), h("mds-tab", { key: '640abdb2091eec8d2bd0a4ccc6fec6610f74f4cf', fill: true, size: this.size }, h("mds-tab-item", { key: '82ba971d217b1bfb233ae4deae84e3f14078cbe0', 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: '7a7e192cc6726b6852d9c93343c078c4ecc06fb9', 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: 'd6922b829b6a96257192b7f1ff7f5ce22b559248', 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) }))));
127
127
  }
128
128
  static get is() { return "mds-pref-contrast"; }
129
129
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-pref-language
8
8
 
9
- > `@maggioli-design-system/magma` 2.11.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
9
+ > `@maggioli-design-system/magma` 2.12.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
10
10
 
11
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
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-11-04T15:13:27",
2
+ "timestamp": "2026-11-06T15:30:27",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.45.2",
@@ -179,8 +179,8 @@
179
179
  "mds-button"
180
180
  ],
181
181
  "mds-button": [
182
- "mds-spinner",
183
182
  "mds-icon",
183
+ "mds-spinner",
184
184
  "mds-text"
185
185
  ]
186
186
  },
@@ -128,7 +128,7 @@ export class MdsPrefLanguage {
128
128
  }
129
129
  render() {
130
130
  var _a;
131
- return (h(Host, { key: '9c7bb537de4f4643d211fc6f85850f34aa94aa83' }, h("div", { key: '6083a84e55fc3eb4a07cb0fa6aad4685bdb82248', class: "menu" }, h("mds-text", { key: 'dbd1238620edbaf7bf452cf4b6eb6592132a764d', class: "info", typography: "caption" }, h("b", { key: 'fbca476b5b7276934e1df25537212233b2c64b06' }, this.t.get('label'))), h("mds-tab", { key: '6897301c497dd0a2d37c35927eb493c863f64b54', fill: true, size: this.size }, h("mds-tab-item", { key: '04d3bcd4892d50d146432566ca35f7e7ceab14e3', 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: '639334a1d00e1170ac2bc8c8c8769f32681fcc91', class: "mds-pref-language-dropdown", target: "#mds-pref-language-nav", interaction: "none", visible: this.showDropdown, onMdsDropdownHide: this.hideLanguageSelectDropdown }, h("slot", { key: 'fec473b1348bfcbc7a7b875e1afd230d7bb04f59', onSlotchange: this.checkLanguageSelect })), this.set !== this.defaultLanguage && (h("mds-text", { key: '55e53313e0beb007e0e6e3356d41bca4a1533853', typography: "caption" }, this.t.get('defaultLanguage')))));
131
+ return (h(Host, { key: 'a00643e4b55bbd23f57f247978a734ae7471c25a' }, h("div", { key: '1a84b408dd602f7a47932d99b3bb2e556cb45897', class: "menu" }, h("mds-text", { key: '1e1000a8c58cedcafcfc5ca254ed6ef03d2ae47f', class: "info", typography: "caption" }, h("b", { key: '8b6227951f74ea3a44de482573ed828cb6020a1d' }, this.t.get('label'))), h("mds-tab", { key: '49165f140bed0612ea72c734e354acbdbe04c91b', fill: true, size: this.size }, h("mds-tab-item", { key: '26d8a16eb306549bd41c9fe0246cb14d70bb3776', 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: '125f35dccdbf39530e1a0df6283e20c30a039d75', class: "mds-pref-language-dropdown", target: "#mds-pref-language-nav", interaction: "none", visible: this.showDropdown, onMdsDropdownHide: this.hideLanguageSelectDropdown }, h("slot", { key: 'a461f87d7310245ee3aa164f02814cde12dd3adf', onSlotchange: this.checkLanguageSelect })), this.set !== this.defaultLanguage && (h("mds-text", { key: 'ca3492cf7ad9b9765da8c975df3391fb22a21145', typography: "caption" }, this.t.get('defaultLanguage')))));
132
132
  }
133
133
  static get is() { return "mds-pref-language"; }
134
134
  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.11.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
9
+ > `@maggioli-design-system/magma` 2.12.0. Shadow DOM: style it only through the public CSS custom properties and the 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-11-04T15:13:27",
2
+ "timestamp": "2026-11-06T15:30:27",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.45.2",
@@ -123,8 +123,8 @@
123
123
  "mds-button"
124
124
  ],
125
125
  "mds-button": [
126
- "mds-spinner",
127
126
  "mds-icon",
127
+ "mds-spinner",
128
128
  "mds-text"
129
129
  ]
130
130
  },
@@ -43,7 +43,7 @@ export class MdsPrefLanguageItem {
43
43
  return (
44
44
  // the item is an entry of the `menu` the mds-dropdown of the controller opens:
45
45
  // without the role axe rejects it as a child of that menu (aria-required-children)
46
- h(Host, { key: 'd24a1d4898a3adecb83ecf5e5412de2eab440d40', 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: (_b = localeDefault[this.code]) !== null && _b !== void 0 ? _b : this.code })) : (h("mds-button", { icon: miBaselineCheckCircle, variant: "error", tone: "text", label: this.t.get('noCode') }))));
46
+ h(Host, { key: 'afecddbbe0ed389d1fda0ae8cf1eb2196989bcbd', 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: (_b = localeDefault[this.code]) !== null && _b !== void 0 ? _b : this.code })) : (h("mds-button", { icon: miBaselineCheckCircle, variant: "error", tone: "text", label: this.t.get('noCode') }))));
47
47
  }
48
48
  static get is() { return "mds-pref-language-item"; }
49
49
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-pref-mode
8
8
 
9
- > `@maggioli-design-system/magma` 2.11.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
9
+ > `@maggioli-design-system/magma` 2.12.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
10
10
 
11
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
 
@@ -19,6 +19,7 @@ The `<mds-pref-mode>` web component is the mode preference control of the Magma
19
19
  - **`mdsPrefChange` event**: Emits `mdsPrefChange` with `{ preference: 'mode' }` once per change, after the new mode is applied; a pick of the mode already active and the first application on load do not emit it. It bubbles up to `<mds-pref>`; a mode change needs no reload, so it raises no reload notice.
20
20
  - **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.
21
21
  - **System mode**: The `system` choice follows the OS `prefers-color-scheme` media query to resolve the effective light/dark scheme.
22
+ - **Theme lock**: Under a theme that can be used in one mode only (`pref-theme-scheme-light` or `-dark` on `<html>`, written by `mds-pref-theme` from the mode the theme declares), the control shows that mode selected and disables the other two items: the page is in that mode whatever was picked. The stored choice is left alone and comes back with a theme of both modes.
22
23
 
23
24
  #### Properties & Visual Configurations
24
25
 
@@ -37,7 +38,7 @@ The `<mds-pref-mode>` web component is the mode preference control of the Magma
37
38
 
38
39
  | Prop | Attribute | Type | Default | Description |
39
40
  | --- | --- | --- | --- | --- |
40
- | `lockedScheme` | `locked-scheme` | `"all" \| "dark" \| "light" \| undefined` | - | Locks the mode items forbidden by a scheme-constrained theme, without touching the stored preference: `light` disables the explicit `dark` item, `dark` disables the explicit `light` item, `all` (or unset) locks nothing; the `system` item is never locked. Set by the `mds-pref` controller from the active theme's `scheme`; not meant to be set directly. |
41
+ | `lockedScheme` | `locked-scheme` | `"all" \| "dark" \| "light" \| undefined` | - | Locks the mode choice to one mode, `light` or `dark`: the control shows that mode selected and disables the other two items, without touching the stored preference, which comes back when the lock goes. `all` locks nothing. Unset, the control follows the active theme: a theme that can be used in one mode only (`pref-theme-scheme-light` or `-dark` on `<html>`, written by `mds-pref-theme` from the mode the theme declares, #1274) locks it the same way. Not meant to be set directly. |
41
42
  | `mode` | `mode` | `"dark" \| "light" \| "system" \| undefined` | - | Specifies the preference mode |
42
43
  | `size` | `size` | `"md" \| "sm" \| undefined` | - | Sets the size of the component items nested inside it |
43
44
  | `transition` | `transition` | `"flash" \| "none" \| "smooth"` | `'smooth'` | Specifies the transition of switching from a mode to another one |
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-11-04T15:13:27",
2
+ "timestamp": "2026-11-06T15:30:27",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.45.2",
@@ -19,9 +19,9 @@
19
19
  }
20
20
  ],
21
21
  "usage": {
22
- "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 its mistakes.\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' }` once per change, after the new mode is applied; a pick of the mode already active and the first application on load do not emit it. 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- **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`). Inside `<mds-pref>`, set it on the parent instead: the parent's `size` reaches every `mds-pref-*` child on load and when it changes, and overwrites the child's own.\n",
22
+ "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 its mistakes.\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' }` once per change, after the new mode is applied; a pick of the mode already active and the first application on load do not emit it. 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- **System mode**: The `system` choice follows the OS `prefers-color-scheme` media query to resolve the effective light/dark scheme.\n- **Theme lock**: Under a theme that can be used in one mode only (`pref-theme-scheme-light` or `-dark` on `<html>`, written by `mds-pref-theme` from the mode the theme declares), the control shows that mode selected and disables the other two items: the page is in that mode whatever was picked. The stored choice is left alone and comes back with a theme of both modes.\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`). Inside `<mds-pref>`, set it on the parent instead: the parent's `size` reaches every `mds-pref-*` child on load and when it changes, and overwrites the child's own.\n",
23
23
  "2. Examples": "Correct and idiomatic ways to use the `<mds-pref-mode>` component, ordered from most common to most specialized. The examples 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' }` once per change, after the new mode is applied, and not on page load; 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, on load and when it changes: set it on the parent to keep the panel at one tab size.\n\n```html\n<mds-pref size=\"sm\">\n <mds-pref-mode></mds-pref-mode>\n <mds-pref-contrast></mds-pref-contrast>\n</mds-pref>\n```\n\n#### Customizing the Transition Overlay\n\nTune the overlay stacking order via the public `--mds-pref-mode-overlay-z-index` CSS custom property, when the page has layers above the default one; the overlay timing is set by the component. Set it on the host or a parent selector.\n\n```css\nmds-pref-mode {\n --mds-pref-mode-overlay-z-index: 9000;\n}\n```\n",
24
- "3. Mistakes": "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/mistakes.md`](../../../../agents/mistakes.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\nSetting `size` on `<mds-pref-mode>` alone when siblings exist produces inconsistent tab sizes across the panel. Set it on `<mds-pref>`, which forwards it to every preference child, on load and when it changes.\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 size=\"sm\">\n <mds-pref-mode></mds-pref-mode>\n <mds-pref-contrast></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 public `--mds-pref-mode-overlay-z-index` CSS custom property 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-z-index: 9000;\n}\n```\n"
24
+ "3. Mistakes": "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/mistakes.md`](../../../../agents/mistakes.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. As a standalone widget it still applies and persists the mode, and it still follows a theme of one mode, which it reads from `<html>`; only the forwarding of `size` is lost.\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\nSetting `size` on `<mds-pref-mode>` alone when siblings exist produces inconsistent tab sizes across the panel. Set it on `<mds-pref>`, which forwards it to every preference child, on load and when it changes.\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 size=\"sm\">\n <mds-pref-mode></mds-pref-mode>\n <mds-pref-contrast></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 public `--mds-pref-mode-overlay-z-index` CSS custom property 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-z-index: 9000;\n}\n```\n"
25
25
  },
26
26
  "props": [
27
27
  {
@@ -42,7 +42,7 @@
42
42
  "mutable": false,
43
43
  "attr": "locked-scheme",
44
44
  "reflectToAttr": true,
45
- "docs": "Locks the mode items forbidden by a scheme-constrained theme, without\ntouching the stored preference: `light` disables the explicit `dark` item,\n`dark` disables the explicit `light` item, `all` (or unset) locks nothing;\nthe `system` item is never locked. Set by the `mds-pref` controller from the\nactive theme's `scheme`; not meant to be set directly.",
45
+ "docs": "Locks the mode choice to one mode, `light` or `dark`: the control shows that mode\nselected and disables the other two items, without touching the stored preference,\nwhich comes back when the lock goes. `all` locks nothing. Unset, the control follows\nthe active theme: a theme that can be used in one mode only (`pref-theme-scheme-light`\nor `-dark` on `<html>`, written by `mds-pref-theme` from the mode the theme declares,\n#1274) locks it the same way. Not meant to be set directly.",
46
46
  "docsTags": [],
47
47
  "values": [
48
48
  {
@@ -256,8 +256,8 @@
256
256
  "mds-button"
257
257
  ],
258
258
  "mds-button": [
259
- "mds-spinner",
260
259
  "mds-icon",
260
+ "mds-spinner",
261
261
  "mds-text"
262
262
  ]
263
263
  },
@@ -46,7 +46,8 @@ mds-text {
46
46
  --mds-tab-item-selected-color: rgb(var(--label-sky-06, 47 182 243));
47
47
  }
48
48
 
49
- :host([pref-mode='dark']:not([pref-theme-scheme='light'])) {
49
+ :host([pref-mode='dark']:not([pref-theme-scheme='light'])),
50
+ :host([pref-theme-scheme='dark']) {
50
51
  .item {
51
52
  --mds-tab-item-default-color: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
52
53
  }
@@ -160,17 +160,27 @@ export class MdsPrefMode {
160
160
  }, cssDurationToMilliseconds(this.cssOverlayShowDuration));
161
161
  }, 1);
162
162
  };
163
+ /**
164
+ * The mode the choice is locked to: the prop, or else the scheme of the active theme, which
165
+ * the store mirrors from `<html>`. Read in render, so a theme picked anywhere re-renders it.
166
+ */
167
+ this.lockedMode = () => {
168
+ var _a;
169
+ const scheme = (_a = this.lockedScheme) !== null && _a !== void 0 ? _a : preferenceStore.state['theme-scheme'];
170
+ return scheme === 'light' || scheme === 'dark' ? scheme : undefined;
171
+ };
172
+ /**
173
+ * The mode the control shows: the one the theme locks the page to, since that is the mode
174
+ * the page is in whatever was picked, or else the person's choice.
175
+ */
176
+ this.shownMode = () => { var _a, _b; return (_b = (_a = this.lockedMode()) !== null && _a !== void 0 ? _a : this.mode) !== null && _b !== void 0 ? _b : this.defaultMode; };
163
177
  this.isModeDisabled = (mode) => {
164
- if (this.lockedScheme === 'light') {
165
- return mode === 'dark';
166
- }
167
- if (this.lockedScheme === 'dark') {
168
- return mode === 'light';
169
- }
170
- return false;
178
+ const locked = this.lockedMode();
179
+ return locked !== undefined && mode !== locked;
171
180
  };
172
181
  this.changeMode = (mode) => {
173
- if (this.isModeDisabled(mode)) {
182
+ // under a lock no item changes the mode: the shown one is the theme's, not a pick
183
+ if (this.lockedMode() !== undefined) {
174
184
  return;
175
185
  }
176
186
  const prevColor = this.getColorScheme();
@@ -238,8 +248,7 @@ export class MdsPrefMode {
238
248
  }, cssDurationToMilliseconds(this.cssOverlayFadeoutDuration));
239
249
  }
240
250
  render() {
241
- var _a;
242
- return (h(Host, { key: '7f6bec5d4b788e24c006b4bd59fc86e40de1db13', "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("mds-text", { key: '76fbec683e1de48e9750362bca007b73bb1f2ec8', class: "info", typography: "caption" }, h("b", { key: 'f62da3a67571ebbc84ebcb4783e2439ac6d62003' }, this.t.get('label')), " ", this.t.get(this.modes[(_a = this.mode) !== null && _a !== void 0 ? _a : this.defaultMode].label)), h("mds-tab", { key: 'e84614551576402bd3388e7110dcbf0f43a2355c', fill: true, size: this.size }, h("mds-tab-item", { key: 'a83fdaa6f6cbc3ec2be02b613aea787408f9b705', 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) }), h("mds-tab-item", { key: '685c4d32eb1fa805573badae9d723bad40b77989', 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: 'fae36b636da350e356f61652ab473485a6e4ffef', 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) }))));
251
+ return (h(Host, { key: '6f568873ae9e1f78a6e9264e915f19bb2243358a', "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("mds-text", { key: '92f30eb4a3091b2ec8e5dcc9c7e218adabcd170d', class: "info", typography: "caption" }, h("b", { key: 'dd8ebfe50d8804e4e90d0a07732f7eb5e0b1254c' }, this.t.get('label')), " ", this.t.get(this.modes[this.shownMode()].label)), h("mds-tab", { key: '585f6c432c5ff01f6d269774abf5c664e734301d', fill: true, size: this.size }, h("mds-tab-item", { key: '4ecccf98daf858f6f335cbb2fd69a92a1c1d682c', disabled: this.isModeDisabled('light'), selected: this.shownMode() === 'light', onClick: this.handleModeClick('light'), class: "item item--light", icon: miBaselineLightMode, title: this.t.get(this.modes.light.label) }), h("mds-tab-item", { key: '2a012877ee8651e4a9a7e50edd5d8d329a80cae8', disabled: this.isModeDisabled('system'), selected: this.shownMode() === 'system', onClick: this.handleModeClick('system'), class: "item item--system", icon: miBaselineSettings, title: this.t.get(this.modes.system.label) }), h("mds-tab-item", { key: '737d4a800a87a26d6d11a508b44f0eecfd3a2277', disabled: this.isModeDisabled('dark'), selected: this.shownMode() === 'dark', onClick: this.handleModeClick('dark'), class: "item item--dark", icon: this.shownMode() === 'dark' ? miBaselineDarkMode : miOutlineDarkMode, title: this.t.get(this.modes.dark.label) }))));
243
252
  }
244
253
  static get is() { return "mds-pref-mode"; }
245
254
  static get encapsulation() { return "shadow"; }
@@ -353,7 +362,7 @@ export class MdsPrefMode {
353
362
  "optional": true,
354
363
  "docs": {
355
364
  "tags": [],
356
- "text": "Locks the mode items forbidden by a scheme-constrained theme, without\ntouching the stored preference: `light` disables the explicit `dark` item,\n`dark` disables the explicit `light` item, `all` (or unset) locks nothing;\nthe `system` item is never locked. Set by the `mds-pref` controller from the\nactive theme's `scheme`; not meant to be set directly."
365
+ "text": "Locks the mode choice to one mode, `light` or `dark`: the control shows that mode\nselected and disables the other two items, without touching the stored preference,\nwhich comes back when the lock goes. `all` locks nothing. Unset, the control follows\nthe active theme: a theme that can be used in one mode only (`pref-theme-scheme-light`\nor `-dark` on `<html>`, written by `mds-pref-theme` from the mode the theme declares,\n#1274) locks it the same way. Not meant to be set directly."
357
366
  },
358
367
  "getter": false,
359
368
  "setter": false,
@@ -11,7 +11,7 @@ Common incorrect uses of `<mds-pref-mode>`. Each entry pairs the wrong form with
11
11
 
12
12
  #### Do Not Use `<mds-pref-mode>` Outside `<mds-pref>`
13
13
 
14
- `<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.
14
+ `<mds-pref-mode>` is a compound child: `<mds-pref>` forwards `size` changes to it. As a standalone widget it still applies and persists the mode, and it still follows a theme of one mode, which it reads from `<html>`; only the forwarding of `size` is lost.
15
15
 
16
16
  ```html
17
17
  <!-- INCORRECT -->
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-pref-theme
8
8
 
9
- > `@maggioli-design-system/magma` 2.11.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
9
+ > `@maggioli-design-system/magma` 2.12.0. Shadow DOM: style it only through the public CSS custom properties and the parts below.
10
10
 
11
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
 
@@ -15,9 +15,10 @@ The `<mds-pref-theme>` web component is the theme-switcher segment of the Magma
15
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 its mistakes.
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
+ - **The theme's own mode**: A theme file can list the colour modes it can be used in (`color.modes`); a theme of one mode declares it in its block of `themes.css`, and the component applies the theme in that mode (`pref-theme-scheme-dark` or `-light`) whatever the item's `scheme` says. The stylesheet of the theme must be on the page when the theme is applied. The storage keeps the item's `scheme`.
18
19
  - **Persistence and hydration**: The current name, scheme and corner shape are persisted and restored across reloads: a stored value outranks the matching prop.
19
20
  - **Validation**: An invalid theme name (not lowercase kebab-case matching `^[a-z]+(-[a-z]+)*$`) is ignored with a console warning when the theme is applied: nothing is written on `<html>` or stored. So are the reserved names `light`, `dark` and `system` (they are mode values) and `scheme` or `scheme-*` (they would collide with the `pref-theme-scheme-*` classes), a `scheme` other than `light`, `dark` or `all`, and a `corner-shape` outside its keywords. A stored value the component cannot apply is dropped, and the prop is used instead.
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` once per change, after applying it: `preference: 'theme'` for a new name or scheme, `'corner-shape'` for a new corner shape. The first application on load and a re-render that changes nothing do not emit it.
21
+ - **Events bubbled up**: Emits `mdsPrefThemeChange` with the `{ name, scheme }` detail on each pick, `scheme` being the one the theme is applied with (the theme's own mode, when it declares one). `<mds-pref-mode>` follows the scheme from `<html>`, with no listener. It also emits `mdsPrefChange` once per change, after applying it: `preference: 'theme'` for a new name or scheme, `'corner-shape'` for a new corner shape. The first application on load and a re-render that changes nothing do not emit it.
21
22
  - **Props set after load**: A `name`, `scheme` or `cornerShape` set from a script after load is stored and applied, as a pick is: the stored value outranks the prop only on load. A value the component would not apply is not stored.
22
23
  - **Localized label**: The "Theme" heading follows the active interface language.
23
24
  - **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").
@@ -25,7 +26,7 @@ The `<mds-pref-theme>` web component is the theme-switcher segment of the Magma
25
26
  #### Properties & Visual Configurations
26
27
 
27
28
  - **`name`**: The active theme name; 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 `business`, the base theme, and `editorial` ([`agents/theming.md`](../../../../agents/theming.md)). The default `'default'` is the old name of `business`, kept until the next major, when the default becomes `'business'`: the two names stand for the same theme, so with `name` left out the item `business` is the one marked, and an item named `default` is marked under `business`. `cool` and `warm` are deprecated.
28
- - **`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.
29
+ - **`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. A theme that declares its own mode (`color.modes` in its file) needs no `scheme`: its declaration wins.
29
30
  - **`size`**: Sets the size (`'sm'` / `'md'`) of the nested tab UI. Inside `<mds-pref>`, set it on the parent: it reaches every `mds-pref-*` segment on load and when it changes, and overwrites the segment's own.
30
31
  - **`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)).
31
32
 
@@ -42,7 +43,7 @@ The `<mds-pref-theme>` web component is the theme-switcher segment of the Magma
42
43
  | --- | --- | --- | --- | --- |
43
44
  | `cornerShape` | `corner-shape` | `"bevel" \| "default" \| "notch" \| "round" \| "scoop" \| "square" \| "squircle" \| undefined` | - | Specifies the corner geometry of the whole page: one of the `corner-shape` keywords, or `default`. Corner geometry is theme appearance rather than an accessibility preference, which is why it lives here next to the theme name and scheme instead of in `mds-pref-mode`. Setting it writes `data-corner-shape` on `<html>`, where the generated axis picks both the shape and the radius scale tuned for it. Leaving it unset touches nothing. Setting it to `default` REMOVES the attribute rather than writing today's default into the page, so a project that never chose keeps following the design system when the default changes. |
44
45
  | `name` | `name` | `string` | `'default'` | Specifies the theme name attribute A string representing the theme name, in lowercase kebab-case. |
45
- | `scheme` | `scheme` | `"all" \| "dark" \| "light"` | `'all'` | Specifies the theme scheme which can be 'light', 'dark' or 'all' Default is 'all' which means this theme supporto both light and dark. If you set 'light' means this theme support only light mode and will be forced and shown light colors mode only. |
46
+ | `scheme` | `scheme` | `"all" \| "dark" \| "light"` | `'all'` | Specifies the theme scheme which can be 'light', 'dark' or 'all' Default is 'all' which means this theme supporto both light and dark. If you set 'light' means this theme support only light mode and will be forced and shown light colors mode only. A theme whose stylesheet declares one mode (`--magma-color-modes`, from `color.modes` of its file) is applied in that mode whatever this says: the theme's own lock wins. |
46
47
  | `size` | `size` | `"md" \| "sm" \| undefined` | - | Sets the size of the component items nested inside it |
47
48
 
48
49
  ## Events
@@ -50,7 +51,7 @@ The `<mds-pref-theme>` web component is the theme-switcher segment of the Magma
50
51
  | Event | Detail | Description |
51
52
  | --- | --- | --- |
52
53
  | `mdsPrefChange` | `MdsPrefChangeEventDetail` | Emits when the component is triggered |
53
- | `mdsPrefThemeChange` | `MdsPrefThemeEventDetail` | Emits when the component changes the language selected from the click event of the dropdown list item |
54
+ | `mdsPrefThemeChange` | `MdsPrefThemeEventDetail` | Emits when the component changes the language selected from the click event of the dropdown list item. Its `scheme` is the one the theme is applied with: the mode the theme declares, when it declares one, or else the scheme of the item. |
54
55
 
55
56
  ## Slots
56
57