@maggioli-design-system/magma 2.0.1 → 2.1.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 (1512) hide show
  1. package/AGENTS.md +71 -0
  2. package/agents/anti-patterns.md +39 -0
  3. package/agents/assets.md +203 -0
  4. package/agents/color.md +193 -0
  5. package/agents/components.md +129 -0
  6. package/agents/conventions.md +188 -0
  7. package/agents/install.md +152 -0
  8. package/agents/theming.md +140 -0
  9. package/agents/typography.md +32 -0
  10. package/agents/variants.md +112 -0
  11. package/dist/cjs/floating-controller-uOCBLTk2.js +369 -0
  12. package/dist/cjs/form-Bk2OHlHM.js +46 -0
  13. package/dist/cjs/index-MyEb-PfD.js +198 -0
  14. package/dist/cjs/index-UmmmCMIG.js +5184 -0
  15. package/dist/cjs/index.cjs.js +1 -1
  16. package/dist/cjs/loader.cjs.js +2 -2
  17. package/dist/cjs/locale-CnorkBwF.js +816 -0
  18. package/dist/cjs/magma-components.cjs.js +2 -2
  19. package/dist/cjs/mds-accordion-item.cjs.entry.js +2 -2
  20. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +2 -2
  21. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-accordion.cjs.entry.js +2 -2
  23. package/dist/cjs/mds-author.cjs.entry.js +1 -1
  24. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
  27. package/dist/cjs/mds-badge.cjs.entry.js +2 -2
  28. package/dist/cjs/mds-banner_3.cjs.entry.js +3 -3
  29. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
  30. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  31. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
  32. package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
  33. package/dist/cjs/mds-button-dropdown.cjs.entry.js +38 -4
  34. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-button_3.cjs.entry.js +7 -6
  36. package/dist/cjs/mds-calendar_2.cjs.entry.js +2 -2
  37. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  38. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  39. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  41. package/dist/cjs/mds-card.cjs.entry.js +2 -2
  42. package/dist/cjs/mds-details.cjs.entry.js +2 -2
  43. package/dist/cjs/mds-dropdown.cjs.entry.js +3 -3
  44. package/dist/cjs/mds-emoji.cjs.entry.js +2 -2
  45. package/dist/cjs/mds-entity.cjs.entry.js +2 -2
  46. package/dist/cjs/mds-file-preview.cjs.entry.js +3 -3
  47. package/dist/cjs/mds-file.cjs.entry.js +3 -3
  48. package/dist/cjs/mds-filter-item.cjs.entry.js +2 -2
  49. package/dist/cjs/mds-filter.cjs.entry.js +2 -2
  50. package/dist/cjs/mds-header-bar.cjs.entry.js +2 -2
  51. package/dist/cjs/mds-header.cjs.entry.js +2 -2
  52. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  53. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  54. package/dist/cjs/mds-img.cjs.entry.js +3 -3
  55. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  56. package/dist/cjs/mds-input-date-range.cjs.entry.js +89 -9
  57. package/dist/cjs/mds-input-date.cjs.entry.js +124 -27
  58. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  59. package/dist/cjs/mds-input-otp.cjs.entry.js +65 -19
  60. package/dist/cjs/mds-input-range.cjs.entry.js +32 -16
  61. package/dist/cjs/mds-input-select.cjs.entry.js +159 -30
  62. package/dist/cjs/mds-input-switch_2.cjs.entry.js +63 -21
  63. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  64. package/dist/cjs/mds-input-upload.cjs.entry.js +136 -67
  65. package/dist/cjs/mds-input.cjs.entry.js +320 -36
  66. package/dist/cjs/mds-keyboard-key.cjs.entry.js +3 -3
  67. package/dist/cjs/mds-keyboard.cjs.entry.js +3 -3
  68. package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
  69. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  70. package/dist/cjs/mds-label.cjs.entry.js +3 -3
  71. package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
  72. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  73. package/dist/cjs/mds-mention.cjs.entry.js +3 -3
  74. package/dist/cjs/mds-modal.cjs.entry.js +2 -2
  75. package/dist/cjs/mds-note.cjs.entry.js +3 -3
  76. package/dist/cjs/mds-notification.cjs.entry.js +2 -2
  77. package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
  78. package/dist/cjs/mds-paginator.cjs.entry.js +2 -2
  79. package/dist/cjs/mds-policy-ai.cjs.entry.js +3 -3
  80. package/dist/cjs/mds-pref-animation.cjs.entry.js +29 -5
  81. package/dist/cjs/mds-pref-consumption.cjs.entry.js +29 -5
  82. package/dist/cjs/mds-pref-contrast.cjs.entry.js +27 -6
  83. package/dist/cjs/mds-pref-language-item.cjs.entry.js +3 -3
  84. package/dist/cjs/mds-pref-language.cjs.entry.js +3 -3
  85. package/dist/cjs/mds-pref-mode.cjs.entry.js +30 -7
  86. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +1 -1
  87. package/dist/cjs/mds-pref-theme.cjs.entry.js +3 -3
  88. package/dist/cjs/mds-pref.cjs.entry.js +10 -5
  89. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +2 -2
  90. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +2 -2
  91. package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
  92. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  93. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
  94. package/dist/cjs/mds-price-table-list.cjs.entry.js +2 -2
  95. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  96. package/dist/cjs/mds-progress_2.cjs.entry.js +2 -2
  97. package/dist/cjs/mds-push-notification-item.cjs.entry.js +3 -3
  98. package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
  99. package/dist/cjs/mds-quote.cjs.entry.js +2 -2
  100. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
  101. package/dist/cjs/mds-radial-menu.cjs.entry.js +2 -2
  102. package/dist/cjs/mds-separator.cjs.entry.js +2 -2
  103. package/dist/cjs/mds-status-bar.cjs.entry.js +2 -2
  104. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +3 -3
  105. package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
  106. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +2 -2
  107. package/dist/cjs/mds-tab-bar.cjs.entry.js +2 -2
  108. package/dist/cjs/mds-tab_2.cjs.entry.js +2 -2
  109. package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
  110. package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
  111. package/dist/cjs/mds-table-header-cell.cjs.entry.js +2 -2
  112. package/dist/cjs/mds-table-header.cjs.entry.js +3 -3
  113. package/dist/cjs/mds-table-row.cjs.entry.js +3 -3
  114. package/dist/cjs/mds-table.cjs.entry.js +3 -3
  115. package/dist/cjs/mds-text.cjs.entry.js +2 -2
  116. package/dist/cjs/mds-toast.cjs.entry.js +2 -2
  117. package/dist/cjs/mds-tooltip.cjs.entry.js +3 -3
  118. package/dist/cjs/mds-tree-item.cjs.entry.js +3 -3
  119. package/dist/cjs/mds-tree.cjs.entry.js +1 -1
  120. package/dist/cjs/mds-url-view.cjs.entry.js +3 -3
  121. package/dist/cjs/mds-usage.cjs.entry.js +3 -3
  122. package/dist/cjs/mds-video-wall.cjs.entry.js +1 -1
  123. package/dist/cjs/mds-zero.cjs.entry.js +2 -2
  124. package/dist/cjs/preference-DRkzNp5a.js +389 -0
  125. package/dist/collection/common/form.js +24 -1
  126. package/dist/collection/common/validity/index.js +42 -0
  127. package/dist/collection/components/mds-accordion/AGENTS.md +65 -0
  128. package/dist/collection/components/mds-accordion/antipattern.md +123 -0
  129. package/dist/collection/components/mds-accordion/documentation.json +172 -0
  130. package/dist/collection/components/mds-accordion/pattern.md +150 -0
  131. package/dist/collection/components/mds-accordion-item/AGENTS.md +76 -0
  132. package/dist/collection/components/mds-accordion-item/antipattern.md +137 -0
  133. package/dist/collection/components/mds-accordion-item/documentation.json +288 -0
  134. package/dist/collection/components/mds-accordion-item/pattern.md +156 -0
  135. package/dist/collection/components/mds-accordion-timer/AGENTS.md +65 -0
  136. package/dist/collection/components/mds-accordion-timer/antipattern.md +133 -0
  137. package/dist/collection/components/mds-accordion-timer/documentation.json +168 -0
  138. package/dist/collection/components/mds-accordion-timer/pattern.md +137 -0
  139. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +82 -0
  140. package/dist/collection/components/mds-accordion-timer-item/antipattern.md +143 -0
  141. package/dist/collection/components/mds-accordion-timer-item/documentation.json +400 -0
  142. package/dist/collection/components/mds-accordion-timer-item/pattern.md +136 -0
  143. package/dist/collection/components/mds-author/AGENTS.md +40 -0
  144. package/dist/collection/components/mds-author/antipattern.md +106 -0
  145. package/dist/collection/components/mds-author/documentation.json +51 -0
  146. package/dist/collection/components/mds-author/pattern.md +101 -0
  147. package/dist/collection/components/mds-avatar/AGENTS.md +70 -0
  148. package/dist/collection/components/mds-avatar/antipattern.md +96 -0
  149. package/dist/collection/components/mds-avatar/documentation.json +362 -0
  150. package/dist/collection/components/mds-avatar/pattern.md +108 -0
  151. package/dist/collection/components/mds-avatar-stack/AGENTS.md +65 -0
  152. package/dist/collection/components/mds-avatar-stack/antipattern.md +122 -0
  153. package/dist/collection/components/mds-avatar-stack/documentation.json +196 -0
  154. package/dist/collection/components/mds-avatar-stack/pattern.md +125 -0
  155. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +60 -0
  156. package/dist/collection/components/mds-avatar-stack-item/antipattern.md +113 -0
  157. package/dist/collection/components/mds-avatar-stack-item/documentation.json +315 -0
  158. package/dist/collection/components/mds-avatar-stack-item/pattern.md +105 -0
  159. package/dist/collection/components/mds-badge/AGENTS.md +63 -0
  160. package/dist/collection/components/mds-badge/antipattern.md +104 -0
  161. package/dist/collection/components/mds-badge/documentation.json +316 -0
  162. package/dist/collection/components/mds-badge/pattern.md +130 -0
  163. package/dist/collection/components/mds-banner/AGENTS.md +87 -0
  164. package/dist/collection/components/mds-banner/antipattern.md +141 -0
  165. package/dist/collection/components/mds-banner/documentation.json +378 -0
  166. package/dist/collection/components/mds-banner/pattern.md +176 -0
  167. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +59 -0
  168. package/dist/collection/components/mds-benchmark-bar/antipattern.md +77 -0
  169. package/dist/collection/components/mds-benchmark-bar/documentation.json +313 -0
  170. package/dist/collection/components/mds-benchmark-bar/pattern.md +102 -0
  171. package/dist/collection/components/mds-bibliography/AGENTS.md +61 -0
  172. package/dist/collection/components/mds-bibliography/antipattern.md +130 -0
  173. package/dist/collection/components/mds-bibliography/documentation.json +407 -0
  174. package/dist/collection/components/mds-bibliography/pattern.md +142 -0
  175. package/dist/collection/components/mds-breadcrumb/AGENTS.md +68 -0
  176. package/dist/collection/components/mds-breadcrumb/antipattern.md +112 -0
  177. package/dist/collection/components/mds-breadcrumb/documentation.json +156 -0
  178. package/dist/collection/components/mds-breadcrumb/pattern.md +103 -0
  179. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +67 -0
  180. package/dist/collection/components/mds-breadcrumb-item/antipattern.md +109 -0
  181. package/dist/collection/components/mds-breadcrumb-item/documentation.json +160 -0
  182. package/dist/collection/components/mds-breadcrumb-item/pattern.md +85 -0
  183. package/dist/collection/components/mds-button/AGENTS.md +102 -0
  184. package/dist/collection/components/mds-button/antipattern.md +126 -0
  185. package/dist/collection/components/mds-button/documentation.json +922 -0
  186. package/dist/collection/components/mds-button/mds-button.css +4 -1
  187. package/dist/collection/components/mds-button/mds-button.js +42 -3
  188. package/dist/collection/components/mds-button/pattern.md +172 -0
  189. package/dist/collection/components/mds-button-dropdown/AGENTS.md +88 -0
  190. package/dist/collection/components/mds-button-dropdown/antipattern.md +158 -0
  191. package/dist/collection/components/mds-button-dropdown/documentation.json +614 -0
  192. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +94 -6
  193. package/dist/collection/components/mds-button-dropdown/pattern.md +164 -0
  194. package/dist/collection/components/mds-button-group/AGENTS.md +33 -0
  195. package/dist/collection/components/mds-button-group/antipattern.md +105 -0
  196. package/dist/collection/components/mds-button-group/documentation.json +43 -0
  197. package/dist/collection/components/mds-button-group/pattern.md +89 -0
  198. package/dist/collection/components/mds-calendar/AGENTS.md +96 -0
  199. package/dist/collection/components/mds-calendar/antipattern.md +113 -0
  200. package/dist/collection/components/mds-calendar/documentation.json +626 -0
  201. package/dist/collection/components/mds-calendar/pattern.md +128 -0
  202. package/dist/collection/components/mds-calendar-cell/AGENTS.md +94 -0
  203. package/dist/collection/components/mds-calendar-cell/antipattern.md +58 -0
  204. package/dist/collection/components/mds-calendar-cell/documentation.json +539 -0
  205. package/dist/collection/components/mds-calendar-cell/pattern.md +82 -0
  206. package/dist/collection/components/mds-card/AGENTS.md +60 -0
  207. package/dist/collection/components/mds-card/antipattern.md +133 -0
  208. package/dist/collection/components/mds-card/documentation.json +117 -0
  209. package/dist/collection/components/mds-card/pattern.md +160 -0
  210. package/dist/collection/components/mds-card-content/AGENTS.md +34 -0
  211. package/dist/collection/components/mds-card-content/antipattern.md +110 -0
  212. package/dist/collection/components/mds-card-content/documentation.json +43 -0
  213. package/dist/collection/components/mds-card-content/pattern.md +91 -0
  214. package/dist/collection/components/mds-card-footer/AGENTS.md +34 -0
  215. package/dist/collection/components/mds-card-footer/antipattern.md +112 -0
  216. package/dist/collection/components/mds-card-footer/documentation.json +43 -0
  217. package/dist/collection/components/mds-card-footer/pattern.md +95 -0
  218. package/dist/collection/components/mds-card-header/AGENTS.md +38 -0
  219. package/dist/collection/components/mds-card-header/antipattern.md +114 -0
  220. package/dist/collection/components/mds-card-header/documentation.json +51 -0
  221. package/dist/collection/components/mds-card-header/pattern.md +143 -0
  222. package/dist/collection/components/mds-card-media/AGENTS.md +46 -0
  223. package/dist/collection/components/mds-card-media/antipattern.md +128 -0
  224. package/dist/collection/components/mds-card-media/documentation.json +56 -0
  225. package/dist/collection/components/mds-card-media/pattern.md +93 -0
  226. package/dist/collection/components/mds-chip/AGENTS.md +84 -0
  227. package/dist/collection/components/mds-chip/antipattern.md +119 -0
  228. package/dist/collection/components/mds-chip/documentation.json +535 -0
  229. package/dist/collection/components/mds-chip/pattern.md +166 -0
  230. package/dist/collection/components/mds-details/AGENTS.md +72 -0
  231. package/dist/collection/components/mds-details/antipattern.md +128 -0
  232. package/dist/collection/components/mds-details/documentation.json +153 -0
  233. package/dist/collection/components/mds-details/pattern.md +138 -0
  234. package/dist/collection/components/mds-dropdown/AGENTS.md +95 -0
  235. package/dist/collection/components/mds-dropdown/antipattern.md +137 -0
  236. package/dist/collection/components/mds-dropdown/documentation.json +701 -0
  237. package/dist/collection/components/mds-dropdown/pattern.md +201 -0
  238. package/dist/collection/components/mds-emoji/AGENTS.md +88 -0
  239. package/dist/collection/components/mds-emoji/antipattern.md +134 -0
  240. package/dist/collection/components/mds-emoji/documentation.json +506 -0
  241. package/dist/collection/components/mds-emoji/pattern.md +219 -0
  242. package/dist/collection/components/mds-entity/AGENTS.md +76 -0
  243. package/dist/collection/components/mds-entity/antipattern.md +112 -0
  244. package/dist/collection/components/mds-entity/documentation.json +365 -0
  245. package/dist/collection/components/mds-entity/pattern.md +125 -0
  246. package/dist/collection/components/mds-file/AGENTS.md +63 -0
  247. package/dist/collection/components/mds-file/antipattern.md +92 -0
  248. package/dist/collection/components/mds-file/documentation.json +484 -0
  249. package/dist/collection/components/mds-file/pattern.md +109 -0
  250. package/dist/collection/components/mds-file-preview/AGENTS.md +88 -0
  251. package/dist/collection/components/mds-file-preview/antipattern.md +129 -0
  252. package/dist/collection/components/mds-file-preview/documentation.json +780 -0
  253. package/dist/collection/components/mds-file-preview/pattern.md +164 -0
  254. package/dist/collection/components/mds-filter/AGENTS.md +72 -0
  255. package/dist/collection/components/mds-filter/antipattern.md +140 -0
  256. package/dist/collection/components/mds-filter/documentation.json +239 -0
  257. package/dist/collection/components/mds-filter/pattern.md +129 -0
  258. package/dist/collection/components/mds-filter-item/AGENTS.md +64 -0
  259. package/dist/collection/components/mds-filter-item/antipattern.md +127 -0
  260. package/dist/collection/components/mds-filter-item/documentation.json +240 -0
  261. package/dist/collection/components/mds-filter-item/pattern.md +125 -0
  262. package/dist/collection/components/mds-header/AGENTS.md +95 -0
  263. package/dist/collection/components/mds-header/antipattern.md +120 -0
  264. package/dist/collection/components/mds-header/documentation.json +491 -0
  265. package/dist/collection/components/mds-header/pattern.md +182 -0
  266. package/dist/collection/components/mds-header-bar/AGENTS.md +80 -0
  267. package/dist/collection/components/mds-header-bar/antipattern.md +119 -0
  268. package/dist/collection/components/mds-header-bar/documentation.json +251 -0
  269. package/dist/collection/components/mds-header-bar/pattern.md +134 -0
  270. package/dist/collection/components/mds-help/AGENTS.md +65 -0
  271. package/dist/collection/components/mds-help/antipattern.md +73 -0
  272. package/dist/collection/components/mds-help/documentation.json +228 -0
  273. package/dist/collection/components/mds-help/pattern.md +106 -0
  274. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +72 -0
  275. package/dist/collection/components/mds-horizontal-scroll/antipattern.md +120 -0
  276. package/dist/collection/components/mds-horizontal-scroll/documentation.json +279 -0
  277. package/dist/collection/components/mds-horizontal-scroll/pattern.md +154 -0
  278. package/dist/collection/components/mds-hr/AGENTS.md +27 -0
  279. package/dist/collection/components/mds-hr/antipattern.md +84 -0
  280. package/dist/collection/components/mds-hr/documentation.json +33 -0
  281. package/dist/collection/components/mds-hr/pattern.md +88 -0
  282. package/dist/collection/components/mds-icon/AGENTS.md +52 -0
  283. package/dist/collection/components/mds-icon/antipattern.md +118 -0
  284. package/dist/collection/components/mds-icon/documentation.json +205 -0
  285. package/dist/collection/components/mds-icon/pattern.md +135 -0
  286. package/dist/collection/components/mds-img/AGENTS.md +78 -0
  287. package/dist/collection/components/mds-img/antipattern.md +106 -0
  288. package/dist/collection/components/mds-img/documentation.json +470 -0
  289. package/dist/collection/components/mds-img/pattern.md +128 -0
  290. package/dist/collection/components/mds-input/AGENTS.md +138 -0
  291. package/dist/collection/components/mds-input/antipattern.md +128 -0
  292. package/dist/collection/components/mds-input/documentation.json +1574 -0
  293. package/dist/collection/components/mds-input/mds-input.js +185 -30
  294. package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +8 -1
  295. package/dist/collection/components/mds-input/meta/validators.js +100 -2
  296. package/dist/collection/components/mds-input/meta/validity.js +35 -0
  297. package/dist/collection/components/mds-input/pattern.md +252 -0
  298. package/dist/collection/components/mds-input-date/AGENTS.md +98 -0
  299. package/dist/collection/components/mds-input-date/antipattern.md +107 -0
  300. package/dist/collection/components/mds-input-date/documentation.json +638 -0
  301. package/dist/collection/components/mds-input-date/mds-input-date.js +130 -24
  302. package/dist/collection/components/mds-input-date/pattern.md +158 -0
  303. package/dist/collection/components/mds-input-date-range/AGENTS.md +90 -0
  304. package/dist/collection/components/mds-input-date-range/antipattern.md +168 -0
  305. package/dist/collection/components/mds-input-date-range/documentation.json +502 -0
  306. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +13 -0
  307. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +106 -5
  308. package/dist/collection/components/mds-input-date-range/pattern.md +122 -0
  309. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +62 -0
  310. package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +147 -0
  311. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +176 -0
  312. package/dist/collection/components/mds-input-date-range-preselection/pattern.md +101 -0
  313. package/dist/collection/components/mds-input-field/AGENTS.md +60 -0
  314. package/dist/collection/components/mds-input-field/antipattern.md +115 -0
  315. package/dist/collection/components/mds-input-field/documentation.json +178 -0
  316. package/dist/collection/components/mds-input-field/pattern.md +95 -0
  317. package/dist/collection/components/mds-input-otp/AGENTS.md +48 -0
  318. package/dist/collection/components/mds-input-otp/antipattern.md +105 -0
  319. package/dist/collection/components/mds-input-otp/documentation.json +203 -0
  320. package/dist/collection/components/mds-input-otp/mds-input-otp.css +4 -1
  321. package/dist/collection/components/mds-input-otp/mds-input-otp.js +88 -15
  322. package/dist/collection/components/mds-input-otp/pattern.md +107 -0
  323. package/dist/collection/components/mds-input-range/AGENTS.md +84 -0
  324. package/dist/collection/components/mds-input-range/antipattern.md +127 -0
  325. package/dist/collection/components/mds-input-range/documentation.json +315 -0
  326. package/dist/collection/components/mds-input-range/mds-input-range.css +6 -2
  327. package/dist/collection/components/mds-input-range/mds-input-range.js +30 -13
  328. package/dist/collection/components/mds-input-range/pattern.md +110 -0
  329. package/dist/collection/components/mds-input-select/AGENTS.md +99 -0
  330. package/dist/collection/components/mds-input-select/antipattern.md +126 -0
  331. package/dist/collection/components/mds-input-select/documentation.json +552 -0
  332. package/dist/collection/components/mds-input-select/mds-input-select.js +164 -35
  333. package/dist/collection/components/mds-input-select/meta/event-detail.js +1 -0
  334. package/dist/collection/components/mds-input-select/pattern.md +168 -0
  335. package/dist/collection/components/mds-input-switch/AGENTS.md +106 -0
  336. package/dist/collection/components/mds-input-switch/antipattern.md +117 -0
  337. package/dist/collection/components/mds-input-switch/documentation.json +638 -0
  338. package/dist/collection/components/mds-input-switch/mds-input-switch.css +4 -1
  339. package/dist/collection/components/mds-input-switch/mds-input-switch.js +59 -16
  340. package/dist/collection/components/mds-input-switch/pattern.md +133 -0
  341. package/dist/collection/components/mds-input-tip/AGENTS.md +56 -0
  342. package/dist/collection/components/mds-input-tip/antipattern.md +108 -0
  343. package/dist/collection/components/mds-input-tip/documentation.json +160 -0
  344. package/dist/collection/components/mds-input-tip/pattern.md +125 -0
  345. package/dist/collection/components/mds-input-tip-item/AGENTS.md +58 -0
  346. package/dist/collection/components/mds-input-tip-item/antipattern.md +98 -0
  347. package/dist/collection/components/mds-input-tip-item/documentation.json +181 -0
  348. package/dist/collection/components/mds-input-tip-item/pattern.md +107 -0
  349. package/dist/collection/components/mds-input-upload/AGENTS.md +78 -0
  350. package/dist/collection/components/mds-input-upload/antipattern.md +144 -0
  351. package/dist/collection/components/mds-input-upload/documentation.json +425 -0
  352. package/dist/collection/components/mds-input-upload/mds-input-upload.css +15 -0
  353. package/dist/collection/components/mds-input-upload/mds-input-upload.js +176 -66
  354. package/dist/collection/components/mds-input-upload/pattern.md +165 -0
  355. package/dist/collection/components/mds-keyboard/AGENTS.md +76 -0
  356. package/dist/collection/components/mds-keyboard/antipattern.md +111 -0
  357. package/dist/collection/components/mds-keyboard/documentation.json +227 -0
  358. package/dist/collection/components/mds-keyboard/pattern.md +129 -0
  359. package/dist/collection/components/mds-keyboard-key/AGENTS.md +55 -0
  360. package/dist/collection/components/mds-keyboard-key/antipattern.md +117 -0
  361. package/dist/collection/components/mds-keyboard-key/documentation.json +450 -0
  362. package/dist/collection/components/mds-keyboard-key/pattern.md +98 -0
  363. package/dist/collection/components/mds-kpi/AGENTS.md +44 -0
  364. package/dist/collection/components/mds-kpi/antipattern.md +93 -0
  365. package/dist/collection/components/mds-kpi/documentation.json +54 -0
  366. package/dist/collection/components/mds-kpi/pattern.md +109 -0
  367. package/dist/collection/components/mds-kpi-item/AGENTS.md +62 -0
  368. package/dist/collection/components/mds-kpi-item/antipattern.md +119 -0
  369. package/dist/collection/components/mds-kpi-item/documentation.json +199 -0
  370. package/dist/collection/components/mds-kpi-item/pattern.md +115 -0
  371. package/dist/collection/components/mds-label/AGENTS.md +71 -0
  372. package/dist/collection/components/mds-label/antipattern.md +92 -0
  373. package/dist/collection/components/mds-label/documentation.json +388 -0
  374. package/dist/collection/components/mds-label/pattern.md +111 -0
  375. package/dist/collection/components/mds-list/AGENTS.md +33 -0
  376. package/dist/collection/components/mds-list/antipattern.md +117 -0
  377. package/dist/collection/components/mds-list/documentation.json +43 -0
  378. package/dist/collection/components/mds-list/pattern.md +104 -0
  379. package/dist/collection/components/mds-list-item/AGENTS.md +60 -0
  380. package/dist/collection/components/mds-list-item/antipattern.md +118 -0
  381. package/dist/collection/components/mds-list-item/documentation.json +200 -0
  382. package/dist/collection/components/mds-list-item/pattern.md +101 -0
  383. package/dist/collection/components/mds-mention/AGENTS.md +55 -0
  384. package/dist/collection/components/mds-mention/antipattern.md +86 -0
  385. package/dist/collection/components/mds-mention/documentation.json +203 -0
  386. package/dist/collection/components/mds-mention/pattern.md +91 -0
  387. package/dist/collection/components/mds-modal/AGENTS.md +107 -0
  388. package/dist/collection/components/mds-modal/antipattern.md +96 -0
  389. package/dist/collection/components/mds-modal/documentation.json +552 -0
  390. package/dist/collection/components/mds-modal/pattern.md +228 -0
  391. package/dist/collection/components/mds-note/AGENTS.md +68 -0
  392. package/dist/collection/components/mds-note/antipattern.md +99 -0
  393. package/dist/collection/components/mds-note/documentation.json +220 -0
  394. package/dist/collection/components/mds-note/pattern.md +108 -0
  395. package/dist/collection/components/mds-notification/AGENTS.md +67 -0
  396. package/dist/collection/components/mds-notification/antipattern.md +86 -0
  397. package/dist/collection/components/mds-notification/documentation.json +253 -0
  398. package/dist/collection/components/mds-notification/pattern.md +98 -0
  399. package/dist/collection/components/mds-paginator/AGENTS.md +57 -0
  400. package/dist/collection/components/mds-paginator/antipattern.md +95 -0
  401. package/dist/collection/components/mds-paginator/documentation.json +135 -0
  402. package/dist/collection/components/mds-paginator/pattern.md +92 -0
  403. package/dist/collection/components/mds-paginator-item/AGENTS.md +74 -0
  404. package/dist/collection/components/mds-paginator-item/antipattern.md +95 -0
  405. package/dist/collection/components/mds-paginator-item/documentation.json +206 -0
  406. package/dist/collection/components/mds-paginator-item/pattern.md +75 -0
  407. package/dist/collection/components/mds-policy-ai/AGENTS.md +58 -0
  408. package/dist/collection/components/mds-policy-ai/antipattern.md +97 -0
  409. package/dist/collection/components/mds-policy-ai/documentation.json +244 -0
  410. package/dist/collection/components/mds-policy-ai/pattern.md +102 -0
  411. package/dist/collection/components/mds-pref/AGENTS.md +50 -0
  412. package/dist/collection/components/mds-pref/antipattern.md +85 -0
  413. package/dist/collection/components/mds-pref/documentation.json +138 -0
  414. package/dist/collection/components/mds-pref/mds-pref.js +7 -2
  415. package/dist/collection/components/mds-pref/pattern.md +93 -0
  416. package/dist/collection/components/mds-pref-animation/AGENTS.md +48 -0
  417. package/dist/collection/components/mds-pref-animation/antipattern.md +67 -0
  418. package/dist/collection/components/mds-pref-animation/documentation.json +154 -0
  419. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +26 -2
  420. package/dist/collection/components/mds-pref-animation/pattern.md +86 -0
  421. package/dist/collection/components/mds-pref-consumption/AGENTS.md +47 -0
  422. package/dist/collection/components/mds-pref-consumption/antipattern.md +84 -0
  423. package/dist/collection/components/mds-pref-consumption/documentation.json +154 -0
  424. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +26 -2
  425. package/dist/collection/components/mds-pref-consumption/pattern.md +70 -0
  426. package/dist/collection/components/mds-pref-contrast/AGENTS.md +50 -0
  427. package/dist/collection/components/mds-pref-contrast/antipattern.md +71 -0
  428. package/dist/collection/components/mds-pref-contrast/documentation.json +154 -0
  429. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +24 -3
  430. package/dist/collection/components/mds-pref-contrast/pattern.md +82 -0
  431. package/dist/collection/components/mds-pref-language/AGENTS.md +56 -0
  432. package/dist/collection/components/mds-pref-language/antipattern.md +130 -0
  433. package/dist/collection/components/mds-pref-language/documentation.json +174 -0
  434. package/dist/collection/components/mds-pref-language/pattern.md +104 -0
  435. package/dist/collection/components/mds-pref-language-item/AGENTS.md +48 -0
  436. package/dist/collection/components/mds-pref-language-item/antipattern.md +99 -0
  437. package/dist/collection/components/mds-pref-language-item/documentation.json +122 -0
  438. package/dist/collection/components/mds-pref-language-item/pattern.md +85 -0
  439. package/dist/collection/components/mds-pref-mode/AGENTS.md +53 -0
  440. package/dist/collection/components/mds-pref-mode/antipattern.md +104 -0
  441. package/dist/collection/components/mds-pref-mode/documentation.json +241 -0
  442. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +27 -4
  443. package/dist/collection/components/mds-pref-mode/pattern.md +94 -0
  444. package/dist/collection/components/mds-pref-theme/AGENTS.md +60 -0
  445. package/dist/collection/components/mds-pref-theme/antipattern.md +104 -0
  446. package/dist/collection/components/mds-pref-theme/documentation.json +277 -0
  447. package/dist/collection/components/mds-pref-theme/pattern.md +97 -0
  448. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +60 -0
  449. package/dist/collection/components/mds-pref-theme-item/antipattern.md +98 -0
  450. package/dist/collection/components/mds-pref-theme-item/documentation.json +228 -0
  451. package/dist/collection/components/mds-pref-theme-item/pattern.md +98 -0
  452. package/dist/collection/components/mds-price-table/AGENTS.md +34 -0
  453. package/dist/collection/components/mds-price-table/antipattern.md +131 -0
  454. package/dist/collection/components/mds-price-table/documentation.json +43 -0
  455. package/dist/collection/components/mds-price-table/pattern.md +182 -0
  456. package/dist/collection/components/mds-price-table-features/AGENTS.md +61 -0
  457. package/dist/collection/components/mds-price-table-features/antipattern.md +152 -0
  458. package/dist/collection/components/mds-price-table-features/documentation.json +96 -0
  459. package/dist/collection/components/mds-price-table-features/pattern.md +157 -0
  460. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +69 -0
  461. package/dist/collection/components/mds-price-table-features-cell/antipattern.md +105 -0
  462. package/dist/collection/components/mds-price-table-features-cell/documentation.json +154 -0
  463. package/dist/collection/components/mds-price-table-features-cell/pattern.md +128 -0
  464. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +43 -0
  465. package/dist/collection/components/mds-price-table-features-row/antipattern.md +135 -0
  466. package/dist/collection/components/mds-price-table-features-row/documentation.json +64 -0
  467. package/dist/collection/components/mds-price-table-features-row/pattern.md +125 -0
  468. package/dist/collection/components/mds-price-table-header/AGENTS.md +34 -0
  469. package/dist/collection/components/mds-price-table-header/antipattern.md +133 -0
  470. package/dist/collection/components/mds-price-table-header/documentation.json +43 -0
  471. package/dist/collection/components/mds-price-table-header/pattern.md +176 -0
  472. package/dist/collection/components/mds-price-table-list/AGENTS.md +63 -0
  473. package/dist/collection/components/mds-price-table-list/antipattern.md +133 -0
  474. package/dist/collection/components/mds-price-table-list/documentation.json +104 -0
  475. package/dist/collection/components/mds-price-table-list/pattern.md +134 -0
  476. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +61 -0
  477. package/dist/collection/components/mds-price-table-list-item/antipattern.md +90 -0
  478. package/dist/collection/components/mds-price-table-list-item/documentation.json +145 -0
  479. package/dist/collection/components/mds-price-table-list-item/pattern.md +105 -0
  480. package/dist/collection/components/mds-progress/AGENTS.md +68 -0
  481. package/dist/collection/components/mds-progress/antipattern.md +94 -0
  482. package/dist/collection/components/mds-progress/documentation.json +375 -0
  483. package/dist/collection/components/mds-progress/pattern.md +139 -0
  484. package/dist/collection/components/mds-push-notification/AGENTS.md +88 -0
  485. package/dist/collection/components/mds-push-notification/antipattern.md +154 -0
  486. package/dist/collection/components/mds-push-notification/documentation.json +306 -0
  487. package/dist/collection/components/mds-push-notification/pattern.md +203 -0
  488. package/dist/collection/components/mds-push-notification-item/AGENTS.md +91 -0
  489. package/dist/collection/components/mds-push-notification-item/antipattern.md +129 -0
  490. package/dist/collection/components/mds-push-notification-item/documentation.json +586 -0
  491. package/dist/collection/components/mds-push-notification-item/pattern.md +201 -0
  492. package/dist/collection/components/mds-quote/AGENTS.md +51 -0
  493. package/dist/collection/components/mds-quote/antipattern.md +122 -0
  494. package/dist/collection/components/mds-quote/documentation.json +176 -0
  495. package/dist/collection/components/mds-quote/pattern.md +108 -0
  496. package/dist/collection/components/mds-radial-menu/AGENTS.md +87 -0
  497. package/dist/collection/components/mds-radial-menu/antipattern.md +104 -0
  498. package/dist/collection/components/mds-radial-menu/documentation.json +581 -0
  499. package/dist/collection/components/mds-radial-menu/pattern.md +150 -0
  500. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +51 -0
  501. package/dist/collection/components/mds-radial-menu-item/antipattern.md +106 -0
  502. package/dist/collection/components/mds-radial-menu-item/documentation.json +294 -0
  503. package/dist/collection/components/mds-radial-menu-item/pattern.md +98 -0
  504. package/dist/collection/components/mds-radial-progress/AGENTS.md +58 -0
  505. package/dist/collection/components/mds-radial-progress/antipattern.md +99 -0
  506. package/dist/collection/components/mds-radial-progress/documentation.json +232 -0
  507. package/dist/collection/components/mds-radial-progress/pattern.md +132 -0
  508. package/dist/collection/components/mds-separator/AGENTS.md +39 -0
  509. package/dist/collection/components/mds-separator/antipattern.md +98 -0
  510. package/dist/collection/components/mds-separator/documentation.json +45 -0
  511. package/dist/collection/components/mds-separator/pattern.md +82 -0
  512. package/dist/collection/components/mds-spinner/AGENTS.md +49 -0
  513. package/dist/collection/components/mds-spinner/antipattern.md +93 -0
  514. package/dist/collection/components/mds-spinner/documentation.json +86 -0
  515. package/dist/collection/components/mds-spinner/pattern.md +102 -0
  516. package/dist/collection/components/mds-status-bar/AGENTS.md +75 -0
  517. package/dist/collection/components/mds-status-bar/antipattern.md +128 -0
  518. package/dist/collection/components/mds-status-bar/documentation.json +262 -0
  519. package/dist/collection/components/mds-status-bar/pattern.md +123 -0
  520. package/dist/collection/components/mds-stepper-bar/AGENTS.md +74 -0
  521. package/dist/collection/components/mds-stepper-bar/antipattern.md +123 -0
  522. package/dist/collection/components/mds-stepper-bar/documentation.json +208 -0
  523. package/dist/collection/components/mds-stepper-bar/pattern.md +182 -0
  524. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +84 -0
  525. package/dist/collection/components/mds-stepper-bar-item/antipattern.md +115 -0
  526. package/dist/collection/components/mds-stepper-bar-item/documentation.json +453 -0
  527. package/dist/collection/components/mds-stepper-bar-item/pattern.md +203 -0
  528. package/dist/collection/components/mds-tab/AGENTS.md +109 -0
  529. package/dist/collection/components/mds-tab/antipattern.md +164 -0
  530. package/dist/collection/components/mds-tab/documentation.json +495 -0
  531. package/dist/collection/components/mds-tab/pattern.md +201 -0
  532. package/dist/collection/components/mds-tab-bar/AGENTS.md +46 -0
  533. package/dist/collection/components/mds-tab-bar/antipattern.md +105 -0
  534. package/dist/collection/components/mds-tab-bar/documentation.json +71 -0
  535. package/dist/collection/components/mds-tab-bar/pattern.md +87 -0
  536. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +67 -0
  537. package/dist/collection/components/mds-tab-bar-item/antipattern.md +116 -0
  538. package/dist/collection/components/mds-tab-bar-item/documentation.json +210 -0
  539. package/dist/collection/components/mds-tab-bar-item/pattern.md +110 -0
  540. package/dist/collection/components/mds-tab-item/AGENTS.md +82 -0
  541. package/dist/collection/components/mds-tab-item/antipattern.md +138 -0
  542. package/dist/collection/components/mds-tab-item/documentation.json +577 -0
  543. package/dist/collection/components/mds-tab-item/pattern.md +155 -0
  544. package/dist/collection/components/mds-table/AGENTS.md +90 -0
  545. package/dist/collection/components/mds-table/antipattern.md +169 -0
  546. package/dist/collection/components/mds-table/documentation.json +304 -0
  547. package/dist/collection/components/mds-table/pattern.md +288 -0
  548. package/dist/collection/components/mds-table-body/AGENTS.md +55 -0
  549. package/dist/collection/components/mds-table-body/antipattern.md +118 -0
  550. package/dist/collection/components/mds-table-body/documentation.json +122 -0
  551. package/dist/collection/components/mds-table-body/pattern.md +154 -0
  552. package/dist/collection/components/mds-table-cell/AGENTS.md +56 -0
  553. package/dist/collection/components/mds-table-cell/antipattern.md +100 -0
  554. package/dist/collection/components/mds-table-cell/documentation.json +104 -0
  555. package/dist/collection/components/mds-table-cell/pattern.md +168 -0
  556. package/dist/collection/components/mds-table-footer/AGENTS.md +33 -0
  557. package/dist/collection/components/mds-table-footer/antipattern.md +114 -0
  558. package/dist/collection/components/mds-table-footer/documentation.json +43 -0
  559. package/dist/collection/components/mds-table-footer/pattern.md +116 -0
  560. package/dist/collection/components/mds-table-header/AGENTS.md +61 -0
  561. package/dist/collection/components/mds-table-header/antipattern.md +157 -0
  562. package/dist/collection/components/mds-table-header/documentation.json +156 -0
  563. package/dist/collection/components/mds-table-header/pattern.md +158 -0
  564. package/dist/collection/components/mds-table-header-cell/AGENTS.md +51 -0
  565. package/dist/collection/components/mds-table-header-cell/antipattern.md +108 -0
  566. package/dist/collection/components/mds-table-header-cell/documentation.json +158 -0
  567. package/dist/collection/components/mds-table-header-cell/pattern.md +145 -0
  568. package/dist/collection/components/mds-table-row/AGENTS.md +68 -0
  569. package/dist/collection/components/mds-table-row/antipattern.md +142 -0
  570. package/dist/collection/components/mds-table-row/documentation.json +252 -0
  571. package/dist/collection/components/mds-table-row/pattern.md +157 -0
  572. package/dist/collection/components/mds-text/AGENTS.md +64 -0
  573. package/dist/collection/components/mds-text/antipattern.md +113 -0
  574. package/dist/collection/components/mds-text/documentation.json +746 -0
  575. package/dist/collection/components/mds-text/pattern.md +139 -0
  576. package/dist/collection/components/mds-toast/AGENTS.md +78 -0
  577. package/dist/collection/components/mds-toast/antipattern.md +131 -0
  578. package/dist/collection/components/mds-toast/documentation.json +339 -0
  579. package/dist/collection/components/mds-toast/pattern.md +161 -0
  580. package/dist/collection/components/mds-tooltip/AGENTS.md +80 -0
  581. package/dist/collection/components/mds-tooltip/antipattern.md +108 -0
  582. package/dist/collection/components/mds-tooltip/documentation.json +483 -0
  583. package/dist/collection/components/mds-tooltip/pattern.md +128 -0
  584. package/dist/collection/components/mds-tree/AGENTS.md +88 -0
  585. package/dist/collection/components/mds-tree/antipattern.md +153 -0
  586. package/dist/collection/components/mds-tree/documentation.json +472 -0
  587. package/dist/collection/components/mds-tree/pattern.md +198 -0
  588. package/dist/collection/components/mds-tree-item/AGENTS.md +119 -0
  589. package/dist/collection/components/mds-tree-item/antipattern.md +152 -0
  590. package/dist/collection/components/mds-tree-item/documentation.json +646 -0
  591. package/dist/collection/components/mds-tree-item/pattern.md +201 -0
  592. package/dist/collection/components/mds-url-view/AGENTS.md +63 -0
  593. package/dist/collection/components/mds-url-view/antipattern.md +107 -0
  594. package/dist/collection/components/mds-url-view/documentation.json +209 -0
  595. package/dist/collection/components/mds-url-view/pattern.md +106 -0
  596. package/dist/collection/components/mds-usage/AGENTS.md +70 -0
  597. package/dist/collection/components/mds-usage/antipattern.md +87 -0
  598. package/dist/collection/components/mds-usage/documentation.json +156 -0
  599. package/dist/collection/components/mds-usage/pattern.md +117 -0
  600. package/dist/collection/components/mds-video-wall/AGENTS.md +65 -0
  601. package/dist/collection/components/mds-video-wall/antipattern.md +97 -0
  602. package/dist/collection/components/mds-video-wall/documentation.json +316 -0
  603. package/dist/collection/components/mds-video-wall/pattern.md +101 -0
  604. package/dist/collection/components/mds-zero/AGENTS.md +55 -0
  605. package/dist/collection/components/mds-zero/antipattern.md +106 -0
  606. package/dist/collection/components/mds-zero/documentation.json +82 -0
  607. package/dist/collection/components/mds-zero/pattern.md +118 -0
  608. package/dist/components/index.js +1 -1
  609. package/dist/components/mds-accordion-item.js +1 -1
  610. package/dist/components/mds-accordion-timer-item.js +1 -1
  611. package/dist/components/mds-accordion-timer.js +1 -1
  612. package/dist/components/mds-accordion.js +1 -1
  613. package/dist/components/mds-author.js +1 -1
  614. package/dist/components/mds-avatar-stack-item.js +1 -1
  615. package/dist/components/mds-avatar-stack.js +1 -1
  616. package/dist/components/mds-avatar.js +1 -1
  617. package/dist/components/mds-badge.js +1 -1
  618. package/dist/components/mds-banner.js +1 -1
  619. package/dist/components/mds-benchmark-bar.js +1 -1
  620. package/dist/components/mds-bibliography.js +1 -1
  621. package/dist/components/mds-breadcrumb-item.js +1 -1
  622. package/dist/components/mds-breadcrumb.js +1 -1
  623. package/dist/components/mds-button-dropdown.js +1 -1
  624. package/dist/components/mds-button-group.js +1 -1
  625. package/dist/components/mds-button.js +1 -1
  626. package/dist/components/mds-calendar-cell.js +1 -1
  627. package/dist/components/mds-calendar.js +1 -1
  628. package/dist/components/mds-card-content.js +1 -1
  629. package/dist/components/mds-card-footer.js +1 -1
  630. package/dist/components/mds-card-header.js +1 -1
  631. package/dist/components/mds-card-media.js +1 -1
  632. package/dist/components/mds-card.js +1 -1
  633. package/dist/components/mds-chip.js +1 -1
  634. package/dist/components/mds-details.js +1 -1
  635. package/dist/components/mds-dropdown.js +1 -1
  636. package/dist/components/mds-emoji.js +3 -3
  637. package/dist/components/mds-entity.js +1 -1
  638. package/dist/components/mds-file-preview.js +1 -1
  639. package/dist/components/mds-file.js +3 -3
  640. package/dist/components/mds-filter-item.js +1 -1
  641. package/dist/components/mds-filter.js +1 -1
  642. package/dist/components/mds-header-bar.js +1 -1
  643. package/dist/components/mds-header.js +1 -1
  644. package/dist/components/mds-help.js +1 -1
  645. package/dist/components/mds-horizontal-scroll.js +1 -1
  646. package/dist/components/mds-hr.js +1 -1
  647. package/dist/components/mds-icon.js +1 -1
  648. package/dist/components/mds-img.js +1 -1
  649. package/dist/components/mds-input-date-range-preselection.js +1 -1
  650. package/dist/components/mds-input-date-range.js +1 -1
  651. package/dist/components/mds-input-date.js +1 -1
  652. package/dist/components/mds-input-field.js +1 -1
  653. package/dist/components/mds-input-otp.js +1 -1
  654. package/dist/components/mds-input-range.js +1 -1
  655. package/dist/components/mds-input-select.js +1 -1
  656. package/dist/components/mds-input-switch.js +1 -1
  657. package/dist/components/mds-input-tip-item.js +1 -1
  658. package/dist/components/mds-input-tip.js +1 -1
  659. package/dist/components/mds-input-upload.js +1 -1
  660. package/dist/components/mds-input.js +1 -1
  661. package/dist/components/mds-keyboard-key.js +1 -1
  662. package/dist/components/mds-keyboard.js +1 -1
  663. package/dist/components/mds-kpi-item.js +1 -1
  664. package/dist/components/mds-kpi.js +1 -1
  665. package/dist/components/mds-label.js +1 -1
  666. package/dist/components/mds-list-item.js +1 -1
  667. package/dist/components/mds-list.js +1 -1
  668. package/dist/components/mds-mention.js +1 -1
  669. package/dist/components/mds-modal.js +1 -1
  670. package/dist/components/mds-note.js +1 -1
  671. package/dist/components/mds-notification.js +1 -1
  672. package/dist/components/mds-paginator-item.js +1 -1
  673. package/dist/components/mds-paginator.js +1 -1
  674. package/dist/components/mds-policy-ai.js +1 -1
  675. package/dist/components/mds-pref-animation.js +1 -1
  676. package/dist/components/mds-pref-consumption.js +1 -1
  677. package/dist/components/mds-pref-contrast.js +1 -1
  678. package/dist/components/mds-pref-language-item.js +1 -1
  679. package/dist/components/mds-pref-language.js +1 -1
  680. package/dist/components/mds-pref-mode.js +1 -1
  681. package/dist/components/mds-pref-theme-item.js +1 -1
  682. package/dist/components/mds-pref-theme.js +1 -1
  683. package/dist/components/mds-pref.js +1 -1
  684. package/dist/components/mds-price-table-features-cell.js +1 -1
  685. package/dist/components/mds-price-table-features-row.js +1 -1
  686. package/dist/components/mds-price-table-features.js +1 -1
  687. package/dist/components/mds-price-table-header.js +1 -1
  688. package/dist/components/mds-price-table-list-item.js +1 -1
  689. package/dist/components/mds-price-table-list.js +1 -1
  690. package/dist/components/mds-price-table.js +1 -1
  691. package/dist/components/mds-progress.js +1 -1
  692. package/dist/components/mds-push-notification-item.js +1 -1
  693. package/dist/components/mds-push-notification.js +1 -1
  694. package/dist/components/mds-quote.js +1 -1
  695. package/dist/components/mds-radial-menu-item.js +1 -1
  696. package/dist/components/mds-radial-menu.js +1 -1
  697. package/dist/components/mds-radial-progress.js +1 -1
  698. package/dist/components/mds-separator.js +1 -1
  699. package/dist/components/mds-spinner.js +1 -1
  700. package/dist/components/mds-status-bar.js +1 -1
  701. package/dist/components/mds-stepper-bar-item.js +1 -1
  702. package/dist/components/mds-stepper-bar.js +1 -1
  703. package/dist/components/mds-tab-bar-item.js +1 -1
  704. package/dist/components/mds-tab-bar.js +1 -1
  705. package/dist/components/mds-tab-item.js +1 -1
  706. package/dist/components/mds-tab.js +1 -1
  707. package/dist/components/mds-table-body.js +1 -1
  708. package/dist/components/mds-table-cell.js +1 -1
  709. package/dist/components/mds-table-footer.js +1 -1
  710. package/dist/components/mds-table-header-cell.js +1 -1
  711. package/dist/components/mds-table-header.js +1 -1
  712. package/dist/components/mds-table-row.js +1 -1
  713. package/dist/components/mds-table.js +1 -1
  714. package/dist/components/mds-text.js +1 -1
  715. package/dist/components/mds-toast.js +1 -1
  716. package/dist/components/mds-tooltip.js +1 -1
  717. package/dist/components/mds-tree-item.js +1 -1
  718. package/dist/components/mds-tree.js +1 -1
  719. package/dist/components/mds-url-view.js +1 -1
  720. package/dist/components/mds-usage.js +1 -1
  721. package/dist/components/mds-video-wall.js +1 -1
  722. package/dist/components/mds-zero.js +1 -1
  723. package/dist/components/p--miH951G.js +5 -0
  724. package/dist/components/p-1aH7xiMs.js +1 -0
  725. package/dist/components/p-B05zwjTY.js +1 -0
  726. package/dist/components/p-BOu_NOgd.js +1 -0
  727. package/dist/components/p-BTpjOy0A.js +1 -0
  728. package/dist/components/p-BVw5aqzn.js +1 -0
  729. package/dist/components/p-BW24ByN-.js +1 -0
  730. package/dist/components/p-BWpSxp3h.js +1 -0
  731. package/dist/components/p-BXPIlPIF.js +1 -0
  732. package/dist/components/p-BzvYQBdf.js +1 -0
  733. package/dist/components/p-C3Sn8bRc.js +1 -0
  734. package/dist/components/p-CGkSDkOY.js +1 -0
  735. package/dist/components/p-CIcshx6K.js +1 -0
  736. package/dist/components/p-CKS4r32k.js +1 -0
  737. package/dist/components/p-COkF_8bh.js +1 -0
  738. package/dist/components/p-CmHMhHMt.js +1 -0
  739. package/dist/components/p-Cnt6G6GK.js +1 -0
  740. package/dist/components/p-CsL9U6eU.js +1 -0
  741. package/dist/components/p-Cyj1BFxx.js +1 -0
  742. package/dist/components/p-DQqUzCGR.js +1 -0
  743. package/dist/components/p-DR46G4-6.js +1 -0
  744. package/dist/components/p-DcW0iRnZ.js +1 -0
  745. package/dist/components/p-DebgFlHq.js +1 -0
  746. package/dist/components/p-DmPLOktp.js +1 -0
  747. package/dist/components/p-Dpf8NWF9.js +1 -0
  748. package/dist/components/p-DwA-5c8G.js +1 -0
  749. package/dist/components/p-Dws02cT2.js +8 -0
  750. package/dist/components/p-K3QNYRhf.js +1 -0
  751. package/dist/components/p-PQ_EO5-U.js +1 -0
  752. package/dist/components/p-akEzGmDD.js +1 -0
  753. package/dist/components/p-bDVBqkn0.js +1 -0
  754. package/dist/components/p-faViX-qz.js +1 -0
  755. package/dist/components/p-pBvN1uAc.js +3 -0
  756. package/dist/components/p-wI0alRSO.js +1 -0
  757. package/dist/components/p-x_c_51aL.js +1 -0
  758. package/dist/components/p-zHpei4x6.js +1 -0
  759. package/dist/documentation.json +618 -360
  760. package/dist/esm/floating-controller-BTYkH_Ih.js +366 -0
  761. package/dist/esm/form-wI0alRSO.js +42 -0
  762. package/dist/esm/index-BhCZiGfL.js +196 -0
  763. package/dist/esm/index-BxPbQB28.js +5149 -0
  764. package/dist/esm/index.js +1 -1
  765. package/dist/esm/loader.js +3 -3
  766. package/dist/esm/locale-CVJm6KFD.js +814 -0
  767. package/dist/esm/magma-components.js +3 -3
  768. package/dist/esm/mds-accordion-item.entry.js +2 -2
  769. package/dist/esm/mds-accordion-timer-item.entry.js +2 -2
  770. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  771. package/dist/esm/mds-accordion.entry.js +2 -2
  772. package/dist/esm/mds-author.entry.js +1 -1
  773. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  774. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  775. package/dist/esm/mds-avatar.entry.js +2 -2
  776. package/dist/esm/mds-badge.entry.js +2 -2
  777. package/dist/esm/mds-banner_3.entry.js +3 -3
  778. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  779. package/dist/esm/mds-bibliography.entry.js +1 -1
  780. package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
  781. package/dist/esm/mds-breadcrumb.entry.js +3 -3
  782. package/dist/esm/mds-button-dropdown.entry.js +38 -4
  783. package/dist/esm/mds-button-group.entry.js +1 -1
  784. package/dist/esm/mds-button_3.entry.js +7 -6
  785. package/dist/esm/mds-calendar_2.entry.js +2 -2
  786. package/dist/esm/mds-card-content.entry.js +1 -1
  787. package/dist/esm/mds-card-footer.entry.js +1 -1
  788. package/dist/esm/mds-card-header.entry.js +1 -1
  789. package/dist/esm/mds-card-media.entry.js +1 -1
  790. package/dist/esm/mds-card.entry.js +2 -2
  791. package/dist/esm/mds-details.entry.js +2 -2
  792. package/dist/esm/mds-dropdown.entry.js +3 -3
  793. package/dist/esm/mds-emoji.entry.js +2 -2
  794. package/dist/esm/mds-entity.entry.js +2 -2
  795. package/dist/esm/mds-file-preview.entry.js +3 -3
  796. package/dist/esm/mds-file.entry.js +3 -3
  797. package/dist/esm/mds-filter-item.entry.js +2 -2
  798. package/dist/esm/mds-filter.entry.js +2 -2
  799. package/dist/esm/mds-header-bar.entry.js +2 -2
  800. package/dist/esm/mds-header.entry.js +2 -2
  801. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  802. package/dist/esm/mds-hr.entry.js +2 -2
  803. package/dist/esm/mds-img.entry.js +3 -3
  804. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  805. package/dist/esm/mds-input-date-range.entry.js +89 -9
  806. package/dist/esm/mds-input-date.entry.js +124 -27
  807. package/dist/esm/mds-input-field.entry.js +1 -1
  808. package/dist/esm/mds-input-otp.entry.js +65 -19
  809. package/dist/esm/mds-input-range.entry.js +32 -16
  810. package/dist/esm/mds-input-select.entry.js +159 -30
  811. package/dist/esm/mds-input-switch_2.entry.js +63 -21
  812. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  813. package/dist/esm/mds-input-upload.entry.js +136 -67
  814. package/dist/esm/mds-input.entry.js +320 -36
  815. package/dist/esm/mds-keyboard-key.entry.js +3 -3
  816. package/dist/esm/mds-keyboard.entry.js +3 -3
  817. package/dist/esm/mds-kpi-item.entry.js +2 -2
  818. package/dist/esm/mds-kpi.entry.js +1 -1
  819. package/dist/esm/mds-label.entry.js +3 -3
  820. package/dist/esm/mds-list-item.entry.js +2 -2
  821. package/dist/esm/mds-list.entry.js +1 -1
  822. package/dist/esm/mds-mention.entry.js +3 -3
  823. package/dist/esm/mds-modal.entry.js +2 -2
  824. package/dist/esm/mds-note.entry.js +3 -3
  825. package/dist/esm/mds-notification.entry.js +2 -2
  826. package/dist/esm/mds-paginator-item.entry.js +2 -2
  827. package/dist/esm/mds-paginator.entry.js +2 -2
  828. package/dist/esm/mds-policy-ai.entry.js +3 -3
  829. package/dist/esm/mds-pref-animation.entry.js +29 -5
  830. package/dist/esm/mds-pref-consumption.entry.js +29 -5
  831. package/dist/esm/mds-pref-contrast.entry.js +27 -6
  832. package/dist/esm/mds-pref-language-item.entry.js +3 -3
  833. package/dist/esm/mds-pref-language.entry.js +3 -3
  834. package/dist/esm/mds-pref-mode.entry.js +30 -7
  835. package/dist/esm/mds-pref-theme-item.entry.js +1 -1
  836. package/dist/esm/mds-pref-theme.entry.js +3 -3
  837. package/dist/esm/mds-pref.entry.js +10 -5
  838. package/dist/esm/mds-price-table-features-cell.entry.js +2 -2
  839. package/dist/esm/mds-price-table-features-row.entry.js +2 -2
  840. package/dist/esm/mds-price-table-features.entry.js +2 -2
  841. package/dist/esm/mds-price-table-header.entry.js +1 -1
  842. package/dist/esm/mds-price-table-list-item.entry.js +1 -1
  843. package/dist/esm/mds-price-table-list.entry.js +2 -2
  844. package/dist/esm/mds-price-table.entry.js +1 -1
  845. package/dist/esm/mds-progress_2.entry.js +2 -2
  846. package/dist/esm/mds-push-notification-item.entry.js +3 -3
  847. package/dist/esm/mds-push-notification.entry.js +2 -2
  848. package/dist/esm/mds-quote.entry.js +2 -2
  849. package/dist/esm/mds-radial-menu-item.entry.js +1 -1
  850. package/dist/esm/mds-radial-menu.entry.js +2 -2
  851. package/dist/esm/mds-separator.entry.js +2 -2
  852. package/dist/esm/mds-status-bar.entry.js +2 -2
  853. package/dist/esm/mds-stepper-bar-item.entry.js +3 -3
  854. package/dist/esm/mds-stepper-bar.entry.js +1 -1
  855. package/dist/esm/mds-tab-bar-item.entry.js +2 -2
  856. package/dist/esm/mds-tab-bar.entry.js +2 -2
  857. package/dist/esm/mds-tab_2.entry.js +2 -2
  858. package/dist/esm/mds-table-body.entry.js +2 -2
  859. package/dist/esm/mds-table-footer.entry.js +2 -2
  860. package/dist/esm/mds-table-header-cell.entry.js +2 -2
  861. package/dist/esm/mds-table-header.entry.js +3 -3
  862. package/dist/esm/mds-table-row.entry.js +3 -3
  863. package/dist/esm/mds-table.entry.js +3 -3
  864. package/dist/esm/mds-text.entry.js +2 -2
  865. package/dist/esm/mds-toast.entry.js +2 -2
  866. package/dist/esm/mds-tooltip.entry.js +3 -3
  867. package/dist/esm/mds-tree-item.entry.js +3 -3
  868. package/dist/esm/mds-tree.entry.js +1 -1
  869. package/dist/esm/mds-url-view.entry.js +3 -3
  870. package/dist/esm/mds-usage.entry.js +3 -3
  871. package/dist/esm/mds-video-wall.entry.js +1 -1
  872. package/dist/esm/mds-zero.entry.js +2 -2
  873. package/dist/esm/preference-DNNqH7BU.js +385 -0
  874. package/dist/esm-es5/floating-controller-BTYkH_Ih.js +66 -0
  875. package/dist/esm-es5/form-wI0alRSO.js +16 -0
  876. package/dist/esm-es5/index-BhCZiGfL.js +10 -0
  877. package/dist/esm-es5/index-BxPbQB28.js +371 -0
  878. package/dist/esm-es5/index.js +1 -1
  879. package/dist/esm-es5/loader.js +1 -1
  880. package/dist/esm-es5/locale-CVJm6KFD.js +230 -0
  881. package/dist/esm-es5/magma-components.js +2 -2
  882. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  883. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  884. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  885. package/dist/esm-es5/mds-accordion.entry.js +1 -1
  886. package/dist/esm-es5/mds-author.entry.js +1 -1
  887. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  888. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  889. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  890. package/dist/esm-es5/mds-badge.entry.js +1 -1
  891. package/dist/esm-es5/mds-banner_3.entry.js +1 -1
  892. package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
  893. package/dist/esm-es5/mds-bibliography.entry.js +1 -1
  894. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  895. package/dist/esm-es5/mds-breadcrumb.entry.js +2 -2
  896. package/dist/esm-es5/mds-button-dropdown.entry.js +10 -4
  897. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  898. package/dist/esm-es5/mds-button_3.entry.js +3 -3
  899. package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
  900. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  901. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  902. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  903. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  904. package/dist/esm-es5/mds-card.entry.js +1 -1
  905. package/dist/esm-es5/mds-details.entry.js +1 -1
  906. package/dist/esm-es5/mds-dropdown.entry.js +1 -1
  907. package/dist/esm-es5/mds-emoji.entry.js +1 -1
  908. package/dist/esm-es5/mds-entity.entry.js +1 -1
  909. package/dist/esm-es5/mds-file-preview.entry.js +11 -11
  910. package/dist/esm-es5/mds-file.entry.js +11 -11
  911. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  912. package/dist/esm-es5/mds-filter.entry.js +1 -1
  913. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  914. package/dist/esm-es5/mds-header.entry.js +1 -1
  915. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  916. package/dist/esm-es5/mds-hr.entry.js +1 -1
  917. package/dist/esm-es5/mds-img.entry.js +1 -1
  918. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  919. package/dist/esm-es5/mds-input-date-range.entry.js +33 -6
  920. package/dist/esm-es5/mds-input-date.entry.js +47 -7
  921. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  922. package/dist/esm-es5/mds-input-otp.entry.js +21 -4
  923. package/dist/esm-es5/mds-input-range.entry.js +15 -7
  924. package/dist/esm-es5/mds-input-select.entry.js +37 -6
  925. package/dist/esm-es5/mds-input-switch_2.entry.js +24 -4
  926. package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
  927. package/dist/esm-es5/mds-input-upload.entry.js +42 -18
  928. package/dist/esm-es5/mds-input.entry.js +105 -22
  929. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  930. package/dist/esm-es5/mds-keyboard.entry.js +1 -1
  931. package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
  932. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  933. package/dist/esm-es5/mds-label.entry.js +1 -1
  934. package/dist/esm-es5/mds-list-item.entry.js +1 -1
  935. package/dist/esm-es5/mds-list.entry.js +1 -1
  936. package/dist/esm-es5/mds-mention.entry.js +1 -1
  937. package/dist/esm-es5/mds-modal.entry.js +1 -1
  938. package/dist/esm-es5/mds-note.entry.js +1 -1
  939. package/dist/esm-es5/mds-notification.entry.js +1 -1
  940. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  941. package/dist/esm-es5/mds-paginator.entry.js +1 -1
  942. package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
  943. package/dist/esm-es5/mds-pref-animation.entry.js +7 -1
  944. package/dist/esm-es5/mds-pref-consumption.entry.js +7 -1
  945. package/dist/esm-es5/mds-pref-contrast.entry.js +8 -2
  946. package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
  947. package/dist/esm-es5/mds-pref-language.entry.js +1 -1
  948. package/dist/esm-es5/mds-pref-mode.entry.js +10 -2
  949. package/dist/esm-es5/mds-pref-theme-item.entry.js +1 -1
  950. package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
  951. package/dist/esm-es5/mds-pref.entry.js +6 -3
  952. package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
  953. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  954. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  955. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  956. package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
  957. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  958. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  959. package/dist/esm-es5/mds-progress_2.entry.js +1 -1
  960. package/dist/esm-es5/mds-push-notification-item.entry.js +1 -1
  961. package/dist/esm-es5/mds-push-notification.entry.js +1 -1
  962. package/dist/esm-es5/mds-quote.entry.js +1 -1
  963. package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
  964. package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
  965. package/dist/esm-es5/mds-separator.entry.js +1 -1
  966. package/dist/esm-es5/mds-status-bar.entry.js +1 -1
  967. package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
  968. package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
  969. package/dist/esm-es5/mds-tab-bar-item.entry.js +1 -1
  970. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  971. package/dist/esm-es5/mds-tab_2.entry.js +1 -1
  972. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  973. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  974. package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
  975. package/dist/esm-es5/mds-table-header.entry.js +1 -1
  976. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  977. package/dist/esm-es5/mds-table.entry.js +1 -1
  978. package/dist/esm-es5/mds-text.entry.js +1 -1
  979. package/dist/esm-es5/mds-toast.entry.js +1 -1
  980. package/dist/esm-es5/mds-tooltip.entry.js +1 -1
  981. package/dist/esm-es5/mds-tree-item.entry.js +1 -1
  982. package/dist/esm-es5/mds-tree.entry.js +1 -1
  983. package/dist/esm-es5/mds-url-view.entry.js +1 -1
  984. package/dist/esm-es5/mds-usage.entry.js +1 -1
  985. package/dist/esm-es5/mds-video-wall.entry.js +1 -1
  986. package/dist/esm-es5/mds-zero.entry.js +1 -1
  987. package/dist/esm-es5/preference-DNNqH7BU.js +58 -0
  988. package/dist/hydrate/index.js +1431 -309
  989. package/dist/hydrate/index.mjs +1431 -309
  990. package/dist/magma-components/index.esm.js +1 -1
  991. package/dist/magma-components/magma-components.esm.js +1 -1
  992. package/dist/magma-components/magma-components.js +1 -1
  993. package/dist/magma-components/p-00e47e49.system.entry.js +14 -0
  994. package/dist/magma-components/p-0141c597.system.entry.js +15 -0
  995. package/dist/magma-components/p-021f96f8.entry.js +1 -0
  996. package/dist/magma-components/p-0255924b.system.entry.js +22 -0
  997. package/dist/magma-components/p-03c2060d.entry.js +1 -0
  998. package/dist/magma-components/p-05014374.entry.js +1 -0
  999. package/dist/magma-components/p-05f73994.entry.js +1 -0
  1000. package/dist/magma-components/p-0646392d.entry.js +1 -0
  1001. package/dist/magma-components/p-0a38e4ce.system.entry.js +1 -0
  1002. package/dist/magma-components/p-0a551e86.entry.js +1 -0
  1003. package/dist/magma-components/p-0a904a12.entry.js +1 -0
  1004. package/dist/magma-components/p-0a9fb138.system.entry.js +1 -0
  1005. package/dist/magma-components/p-106f39c6.entry.js +1 -0
  1006. package/dist/magma-components/p-10ad73e3.system.entry.js +19 -0
  1007. package/dist/magma-components/p-1150ffb8.system.entry.js +10 -0
  1008. package/dist/magma-components/p-12c5ae26.entry.js +1 -0
  1009. package/dist/magma-components/p-13a1d35f.entry.js +1 -0
  1010. package/dist/magma-components/p-15d4846d.entry.js +1 -0
  1011. package/dist/magma-components/p-1673225e.system.entry.js +8 -0
  1012. package/dist/magma-components/p-188f4b1d.system.entry.js +7 -0
  1013. package/dist/magma-components/p-18c8628c.entry.js +1 -0
  1014. package/dist/magma-components/p-1be45c75.entry.js +1 -0
  1015. package/dist/magma-components/p-1cb495d3.entry.js +1 -0
  1016. package/dist/magma-components/p-1e3d89cd.system.entry.js +1 -0
  1017. package/dist/magma-components/p-1e700f0a.entry.js +1 -0
  1018. package/dist/magma-components/p-20e4f7dd.system.entry.js +15 -0
  1019. package/dist/magma-components/p-21865dd2.entry.js +1 -0
  1020. package/dist/magma-components/p-218d8254.system.entry.js +1 -0
  1021. package/dist/magma-components/p-21c46e74.system.entry.js +4 -0
  1022. package/dist/magma-components/p-231b604f.system.entry.js +1 -0
  1023. package/dist/magma-components/p-2507f5cf.entry.js +1 -0
  1024. package/dist/magma-components/p-2723caa7.system.entry.js +13 -0
  1025. package/dist/magma-components/p-277444bc.entry.js +1 -0
  1026. package/dist/magma-components/p-283b0548.system.entry.js +102 -0
  1027. package/dist/magma-components/p-2c44c961.system.entry.js +10 -0
  1028. package/dist/magma-components/p-2ec0db8e.entry.js +1 -0
  1029. package/dist/magma-components/p-2f520704.entry.js +1 -0
  1030. package/dist/magma-components/p-30c3872d.entry.js +1 -0
  1031. package/dist/magma-components/p-314abfba.entry.js +1 -0
  1032. package/dist/magma-components/p-322a5452.entry.js +1 -0
  1033. package/dist/magma-components/p-3231a6a3.entry.js +1 -0
  1034. package/dist/magma-components/p-34401d35.entry.js +1 -0
  1035. package/dist/magma-components/p-35aa29c5.entry.js +1 -0
  1036. package/dist/magma-components/p-35ee2d77.entry.js +1 -0
  1037. package/dist/magma-components/p-36a67b51.entry.js +1 -0
  1038. package/dist/magma-components/p-3a1339bb.system.entry.js +4 -0
  1039. package/dist/magma-components/p-3d56e3f4.entry.js +1 -0
  1040. package/dist/magma-components/p-3e0eed90.system.entry.js +12 -0
  1041. package/dist/magma-components/p-3ecade3c.system.entry.js +11 -0
  1042. package/dist/magma-components/p-3eefca33.system.entry.js +16 -0
  1043. package/dist/magma-components/p-4211ce6c.system.entry.js +1 -0
  1044. package/dist/magma-components/p-436f9b27.system.entry.js +38 -0
  1045. package/dist/magma-components/p-439c9ce3.system.entry.js +10 -0
  1046. package/dist/magma-components/p-44e2a945.system.entry.js +1 -0
  1047. package/dist/magma-components/p-4658154f.entry.js +1 -0
  1048. package/dist/magma-components/p-474047fa.system.entry.js +10 -0
  1049. package/dist/magma-components/p-474c5d53.system.entry.js +11 -0
  1050. package/dist/magma-components/p-493fb2f4.system.entry.js +7 -0
  1051. package/dist/magma-components/p-4ac94b84.system.entry.js +32 -0
  1052. package/dist/magma-components/p-4c73f14b.system.entry.js +14 -0
  1053. package/dist/magma-components/p-4cb88b06.system.entry.js +1 -0
  1054. package/dist/magma-components/p-4dd6a39b.entry.js +1 -0
  1055. package/dist/magma-components/p-4e7f21ac.entry.js +1 -0
  1056. package/dist/magma-components/p-4f14a166.entry.js +1 -0
  1057. package/dist/magma-components/p-50ea11c9.system.entry.js +32 -0
  1058. package/dist/magma-components/p-514d0fcb.entry.js +1 -0
  1059. package/dist/magma-components/p-52793bdb.system.entry.js +1 -0
  1060. package/dist/magma-components/p-5299f709.system.entry.js +26 -0
  1061. package/dist/magma-components/p-57762bae.entry.js +1 -0
  1062. package/dist/magma-components/p-577db922.entry.js +1 -0
  1063. package/dist/magma-components/p-58b82b40.system.entry.js +10 -0
  1064. package/dist/magma-components/p-5a7267e8.system.entry.js +4 -0
  1065. package/dist/magma-components/p-5a911e7b.system.entry.js +13 -0
  1066. package/dist/magma-components/p-5ac9e2f4.entry.js +1 -0
  1067. package/dist/magma-components/p-5c94e0c2.system.entry.js +7 -0
  1068. package/dist/magma-components/p-5ccf493c.system.entry.js +7 -0
  1069. package/dist/magma-components/p-5d119459.entry.js +1 -0
  1070. package/dist/magma-components/p-5f1132b8.entry.js +1 -0
  1071. package/dist/magma-components/p-5fd04ce1.entry.js +1 -0
  1072. package/dist/magma-components/p-60f67c37.entry.js +1 -0
  1073. package/dist/magma-components/p-61bedbe7.system.entry.js +68 -0
  1074. package/dist/magma-components/p-632bc44c.entry.js +1 -0
  1075. package/dist/magma-components/p-64f78149.system.entry.js +1 -0
  1076. package/dist/magma-components/p-69c21eae.entry.js +1 -0
  1077. package/dist/magma-components/p-6a6326c6.entry.js +1 -0
  1078. package/dist/magma-components/p-6c18c40e.system.entry.js +89 -0
  1079. package/dist/magma-components/p-6c800411.entry.js +1 -0
  1080. package/dist/magma-components/p-6e03b83a.entry.js +1 -0
  1081. package/dist/magma-components/p-6ed05d99.entry.js +1 -0
  1082. package/dist/magma-components/p-6f74cdf5.system.entry.js +12 -0
  1083. package/dist/magma-components/p-6fdb3fe7.system.entry.js +27 -0
  1084. package/dist/magma-components/p-6ff8be3e.system.entry.js +30 -0
  1085. package/dist/magma-components/p-7-TP6wnI.js +1 -0
  1086. package/dist/magma-components/p-73fde271.system.entry.js +72 -0
  1087. package/dist/magma-components/p-74b51db8.entry.js +1 -0
  1088. package/dist/magma-components/p-76ecad2f.entry.js +18 -0
  1089. package/dist/magma-components/p-774ce1d2.entry.js +1 -0
  1090. package/dist/magma-components/p-77615947.system.entry.js +1 -0
  1091. package/dist/magma-components/p-7770b989.system.entry.js +1 -0
  1092. package/dist/magma-components/p-7787ebaf.system.entry.js +1 -0
  1093. package/dist/magma-components/p-789c1b93.system.entry.js +1 -0
  1094. package/dist/magma-components/p-7927010f.system.entry.js +25 -0
  1095. package/dist/magma-components/p-79421ee1.system.entry.js +11 -0
  1096. package/dist/magma-components/p-7ab15184.entry.js +1 -0
  1097. package/dist/magma-components/p-7afec7ee.entry.js +1 -0
  1098. package/dist/magma-components/p-7e085c82.entry.js +1 -0
  1099. package/dist/magma-components/p-7e7cf986.system.entry.js +7 -0
  1100. package/dist/magma-components/p-7ffda4f5.entry.js +1 -0
  1101. package/dist/magma-components/p-809adece.system.entry.js +17 -0
  1102. package/dist/magma-components/p-8183b7ed.entry.js +1 -0
  1103. package/dist/magma-components/p-832883c4.entry.js +1 -0
  1104. package/dist/magma-components/p-83394280.system.entry.js +32 -0
  1105. package/dist/magma-components/p-835fc007.entry.js +1 -0
  1106. package/dist/magma-components/p-837fbbf7.system.entry.js +1 -0
  1107. package/dist/magma-components/p-84645c60.system.entry.js +1 -0
  1108. package/dist/magma-components/p-86f4b6eb.system.entry.js +20 -0
  1109. package/dist/magma-components/p-87026d34.entry.js +1 -0
  1110. package/dist/magma-components/p-87faaa8e.system.entry.js +16 -0
  1111. package/dist/magma-components/p-88287207.system.entry.js +13 -0
  1112. package/dist/magma-components/p-883c223a.system.entry.js +4 -0
  1113. package/dist/magma-components/p-88f99a4f.system.entry.js +81 -0
  1114. package/dist/magma-components/p-8a3d2259.system.entry.js +17 -0
  1115. package/dist/magma-components/p-8aafbfdf.system.entry.js +49 -0
  1116. package/dist/magma-components/p-8afc9bc4.system.entry.js +2838 -0
  1117. package/dist/magma-components/p-8ca1d30d.system.entry.js +1 -0
  1118. package/dist/magma-components/p-8ccd187a.entry.js +1 -0
  1119. package/dist/magma-components/p-8d53bd61.system.entry.js +4 -0
  1120. package/dist/magma-components/p-8yWTOQiz.js +1 -0
  1121. package/dist/magma-components/p-90993b0b.system.entry.js +68 -0
  1122. package/dist/magma-components/p-915c5f06.system.entry.js +47 -0
  1123. package/dist/magma-components/p-91c4015f.system.entry.js +4 -0
  1124. package/dist/magma-components/p-91ff1560.system.entry.js +7 -0
  1125. package/dist/magma-components/p-92d9b537.entry.js +1 -0
  1126. package/dist/magma-components/p-932620b6.entry.js +1 -0
  1127. package/dist/magma-components/p-9344a234.entry.js +1 -0
  1128. package/dist/magma-components/p-93d39066.entry.js +1 -0
  1129. package/dist/magma-components/p-97f6166e.system.entry.js +28 -0
  1130. package/dist/magma-components/p-9d1cdb42.system.entry.js +15 -0
  1131. package/dist/magma-components/p-9dcfc247.entry.js +1 -0
  1132. package/dist/magma-components/p-9eb1e154.system.entry.js +14 -0
  1133. package/dist/magma-components/p-9fe14430.system.entry.js +7 -0
  1134. package/dist/magma-components/p-BPNsbMrg.system.js +67 -0
  1135. package/dist/magma-components/p-BS7eEvwu.system.js +17 -0
  1136. package/dist/magma-components/p-BTF_aRDG.system.js +231 -0
  1137. package/dist/magma-components/p-BpVYIPkx.js +1 -0
  1138. package/dist/magma-components/p-BxPbQB28.js +3 -0
  1139. package/dist/magma-components/p-CdsZyFQ-.system.js +10 -0
  1140. package/dist/magma-components/p-D7BrzK-C.system.js +90 -0
  1141. package/dist/magma-components/p-DaONbL_w.system.js +162 -0
  1142. package/dist/magma-components/p-Kv1yahtR.js +5 -0
  1143. package/dist/magma-components/p-ZDRIVCAt.system.js +5 -0
  1144. package/dist/magma-components/p-a41e52f7.entry.js +1 -0
  1145. package/dist/magma-components/p-a462aadd.entry.js +1 -0
  1146. package/dist/magma-components/p-a4a83a63.entry.js +1 -0
  1147. package/dist/magma-components/p-a64bbb36.system.entry.js +40 -0
  1148. package/dist/magma-components/p-a6af4083.system.entry.js +32 -0
  1149. package/dist/magma-components/p-a7e7f2c0.entry.js +1 -0
  1150. package/dist/magma-components/p-aba96089.entry.js +1 -0
  1151. package/dist/magma-components/p-ac81f63a.system.entry.js +913 -0
  1152. package/dist/magma-components/p-aed8b119.entry.js +1 -0
  1153. package/dist/magma-components/p-b24b5179.entry.js +1 -0
  1154. package/dist/magma-components/p-b295e4ab.system.entry.js +1 -0
  1155. package/dist/magma-components/p-b2c62b6e.system.entry.js +7 -0
  1156. package/dist/magma-components/p-b431ca8a.entry.js +1 -0
  1157. package/dist/magma-components/p-b5559b28.system.entry.js +1 -0
  1158. package/dist/magma-components/p-b626c69f.system.entry.js +1 -0
  1159. package/dist/magma-components/p-b897c97d.entry.js +1 -0
  1160. package/dist/magma-components/p-bab4c75e.system.entry.js +45 -0
  1161. package/dist/magma-components/p-bba04b08.system.entry.js +14 -0
  1162. package/dist/magma-components/p-bc53c19e.entry.js +8 -0
  1163. package/dist/magma-components/p-bf2fe278.system.entry.js +16 -0
  1164. package/dist/magma-components/p-c0136138.entry.js +1 -0
  1165. package/dist/magma-components/p-c166ec50.system.entry.js +47 -0
  1166. package/dist/magma-components/p-c22887f7.system.entry.js +90 -0
  1167. package/dist/magma-components/p-c28fce23.entry.js +1 -0
  1168. package/dist/magma-components/p-c34d9e61.system.entry.js +1 -0
  1169. package/dist/magma-components/p-c48bad95.entry.js +1 -0
  1170. package/dist/magma-components/p-cb2c5f1b.entry.js +1 -0
  1171. package/dist/magma-components/p-cc0c6ae7.entry.js +1 -0
  1172. package/dist/magma-components/p-cc2a09f2.system.entry.js +16 -0
  1173. package/dist/magma-components/p-cc9d9458.entry.js +1 -0
  1174. package/dist/magma-components/p-ccb14076.system.entry.js +217 -0
  1175. package/dist/magma-components/p-ccb6898a.system.entry.js +4 -0
  1176. package/dist/magma-components/p-d04ac65d.entry.js +1 -0
  1177. package/dist/magma-components/p-d07d227b.system.entry.js +8 -0
  1178. package/dist/magma-components/p-d1faf129.entry.js +1 -0
  1179. package/dist/magma-components/p-d282a929.entry.js +1 -0
  1180. package/dist/magma-components/p-d2f134ac.entry.js +1 -0
  1181. package/dist/magma-components/p-d47df503.system.entry.js +37 -0
  1182. package/dist/magma-components/p-d5bd6bef.entry.js +1 -0
  1183. package/dist/magma-components/p-d9804d2f.entry.js +1 -0
  1184. package/dist/magma-components/p-dc06b29e.entry.js +1 -0
  1185. package/dist/magma-components/p-dc59b764.entry.js +1 -0
  1186. package/dist/magma-components/p-dc7bada4.entry.js +1 -0
  1187. package/dist/magma-components/p-dcc3be64.system.entry.js +7 -0
  1188. package/dist/magma-components/p-dd58f9ee.entry.js +18 -0
  1189. package/dist/magma-components/p-de091be7.system.entry.js +7 -0
  1190. package/dist/magma-components/p-dfe8552c.system.entry.js +11 -0
  1191. package/dist/magma-components/p-e1e69217.system.entry.js +1 -0
  1192. package/dist/magma-components/p-e213640b.entry.js +1 -0
  1193. package/dist/magma-components/p-e2ef1d6f.entry.js +1 -0
  1194. package/dist/magma-components/p-e2ef5996.entry.js +1 -0
  1195. package/dist/magma-components/p-e7751639.entry.js +1 -0
  1196. package/dist/magma-components/p-e887a14c.entry.js +1 -0
  1197. package/dist/magma-components/p-e8cd2b93.system.entry.js +4 -0
  1198. package/dist/magma-components/p-e8ed096b.entry.js +1 -0
  1199. package/dist/magma-components/p-eaff7300.entry.js +1 -0
  1200. package/dist/magma-components/p-eb681207.system.entry.js +1 -0
  1201. package/dist/magma-components/p-ec9cc7b9.entry.js +1 -0
  1202. package/dist/magma-components/p-eca99a0a.system.entry.js +1 -0
  1203. package/dist/magma-components/p-ecd3c27f.entry.js +1 -0
  1204. package/dist/magma-components/p-ed897f9f.entry.js +1 -0
  1205. package/dist/magma-components/p-ee1e7f07.system.entry.js +3 -0
  1206. package/dist/magma-components/p-ef3424e3.entry.js +1 -0
  1207. package/dist/magma-components/p-f29a059d.system.entry.js +15 -0
  1208. package/dist/magma-components/p-f5bb8c0c.entry.js +1 -0
  1209. package/dist/magma-components/p-f654eafe.entry.js +1 -0
  1210. package/dist/magma-components/p-f733ae92.system.entry.js +16 -0
  1211. package/dist/magma-components/p-f8eb19b3.entry.js +1 -0
  1212. package/dist/magma-components/p-f8feee93.system.entry.js +4 -0
  1213. package/dist/magma-components/p-faa1f22c.entry.js +1 -0
  1214. package/dist/magma-components/p-ffa1a0b4.system.entry.js +1 -0
  1215. package/dist/magma-components/p-hVpoPUxI.system.js +58 -0
  1216. package/dist/magma-components/p-wI0alRSO.js +1 -0
  1217. package/dist/stats.json +3191 -2538
  1218. package/dist/types/common/form.d.ts +8 -1
  1219. package/dist/types/common/preference.d.ts +1 -1
  1220. package/dist/types/common/validity/index.d.ts +22 -0
  1221. package/dist/types/components/mds-button/mds-button.d.ts +9 -0
  1222. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +23 -1
  1223. package/dist/types/components/mds-input/mds-input.d.ts +41 -2
  1224. package/dist/types/components/mds-input/meta/validators.d.ts +22 -0
  1225. package/dist/types/components/mds-input/meta/validity.d.ts +14 -0
  1226. package/dist/types/components/mds-input-date/mds-input-date.d.ts +38 -0
  1227. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +26 -0
  1228. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +21 -2
  1229. package/dist/types/components/mds-input-range/mds-input-range.d.ts +8 -1
  1230. package/dist/types/components/mds-input-select/mds-input-select.d.ts +41 -4
  1231. package/dist/types/components/mds-input-select/meta/event-detail.d.ts +8 -0
  1232. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +17 -0
  1233. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +27 -5
  1234. package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
  1235. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +10 -1
  1236. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +10 -1
  1237. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +10 -1
  1238. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +10 -1
  1239. package/dist/types/components.d.ts +102 -19
  1240. package/package.json +25 -12
  1241. package/dist/cjs/floating-controller-Cd_vNLLD.js +0 -369
  1242. package/dist/cjs/form-DTCBh5WK.js +0 -22
  1243. package/dist/cjs/index--6wz7eWi.js +0 -5183
  1244. package/dist/cjs/locale-CB5_Z7PE.js +0 -816
  1245. package/dist/cjs/preference-eJcbLLAn.js +0 -389
  1246. package/dist/components/p-6K9sFzLr.js +0 -1
  1247. package/dist/components/p-A9TZf0Ii.js +0 -1
  1248. package/dist/components/p-BBhbQT2f.js +0 -1
  1249. package/dist/components/p-BFpRu7yD.js +0 -1
  1250. package/dist/components/p-BL63WAAq.js +0 -8
  1251. package/dist/components/p-BNHXZ-JR.js +0 -1
  1252. package/dist/components/p-BShLEry5.js +0 -1
  1253. package/dist/components/p-BSxuG1vZ.js +0 -1
  1254. package/dist/components/p-BTHR4xXu.js +0 -1
  1255. package/dist/components/p-BYxxgEE_.js +0 -1
  1256. package/dist/components/p-BZFyAX-6.js +0 -1
  1257. package/dist/components/p-BhFTcUD0.js +0 -3
  1258. package/dist/components/p-Bss3F51Q.js +0 -5
  1259. package/dist/components/p-BtMdmkID.js +0 -1
  1260. package/dist/components/p-ByaUOMp0.js +0 -1
  1261. package/dist/components/p-C1xZO_fq.js +0 -1
  1262. package/dist/components/p-C58NKMEE.js +0 -1
  1263. package/dist/components/p-C6Q4zFh6.js +0 -1
  1264. package/dist/components/p-CUQ7WIXh.js +0 -1
  1265. package/dist/components/p-CVpjH8Un.js +0 -1
  1266. package/dist/components/p-Cd_8zD_I.js +0 -1
  1267. package/dist/components/p-CnAeawmf.js +0 -1
  1268. package/dist/components/p-CvIFS8oA.js +0 -1
  1269. package/dist/components/p-DCrjf0F0.js +0 -1
  1270. package/dist/components/p-DlHJvYE7.js +0 -1
  1271. package/dist/components/p-DlaJNPdd.js +0 -1
  1272. package/dist/components/p-DnrQaRnh.js +0 -1
  1273. package/dist/components/p-OPg_Naue.js +0 -1
  1274. package/dist/components/p-RS4yyl41.js +0 -1
  1275. package/dist/components/p-gv3eu44S.js +0 -1
  1276. package/dist/components/p-kff6xSdW.js +0 -1
  1277. package/dist/components/p-pys1EQ60.js +0 -1
  1278. package/dist/components/p-qketFgr0.js +0 -1
  1279. package/dist/components/p-wq6nWuWE.js +0 -1
  1280. package/dist/components/p-zml3K7nx.js +0 -1
  1281. package/dist/esm/floating-controller-DVldZ5mh.js +0 -366
  1282. package/dist/esm/form-A9TZf0Ii.js +0 -19
  1283. package/dist/esm/index-DIiEV39g.js +0 -5149
  1284. package/dist/esm/locale-CbJbTW_c.js +0 -814
  1285. package/dist/esm/preference-CKerJx2M.js +0 -385
  1286. package/dist/esm-es5/floating-controller-DVldZ5mh.js +0 -66
  1287. package/dist/esm-es5/form-A9TZf0Ii.js +0 -8
  1288. package/dist/esm-es5/index-DIiEV39g.js +0 -371
  1289. package/dist/esm-es5/locale-CbJbTW_c.js +0 -230
  1290. package/dist/esm-es5/preference-CKerJx2M.js +0 -58
  1291. package/dist/magma-components/p-005172ba.entry.js +0 -1
  1292. package/dist/magma-components/p-05fa40aa.system.entry.js +0 -10
  1293. package/dist/magma-components/p-071f18c6.system.entry.js +0 -27
  1294. package/dist/magma-components/p-0798b0bf.system.entry.js +0 -24
  1295. package/dist/magma-components/p-0827a5bd.entry.js +0 -1
  1296. package/dist/magma-components/p-086fb3aa.entry.js +0 -1
  1297. package/dist/magma-components/p-0a088e7d.system.entry.js +0 -10
  1298. package/dist/magma-components/p-0a691082.entry.js +0 -1
  1299. package/dist/magma-components/p-0ec21574.system.entry.js +0 -10
  1300. package/dist/magma-components/p-0f6bb54d.system.entry.js +0 -22
  1301. package/dist/magma-components/p-102d3bd3.system.entry.js +0 -1
  1302. package/dist/magma-components/p-10704ede.system.entry.js +0 -4
  1303. package/dist/magma-components/p-15c77a98.system.entry.js +0 -19
  1304. package/dist/magma-components/p-15f63bf3.entry.js +0 -1
  1305. package/dist/magma-components/p-16e9fb14.system.entry.js +0 -7
  1306. package/dist/magma-components/p-181dfb04.entry.js +0 -1
  1307. package/dist/magma-components/p-184720be.system.entry.js +0 -1
  1308. package/dist/magma-components/p-18473d2f.entry.js +0 -1
  1309. package/dist/magma-components/p-18667ae7.system.entry.js +0 -13
  1310. package/dist/magma-components/p-18f7b970.system.entry.js +0 -4
  1311. package/dist/magma-components/p-19adde9d.entry.js +0 -1
  1312. package/dist/magma-components/p-1afc0452.entry.js +0 -1
  1313. package/dist/magma-components/p-1cce738a.system.entry.js +0 -32
  1314. package/dist/magma-components/p-1df6ac96.system.entry.js +0 -7
  1315. package/dist/magma-components/p-209063b6.system.entry.js +0 -50
  1316. package/dist/magma-components/p-216f95cc.system.entry.js +0 -1
  1317. package/dist/magma-components/p-21891a24.entry.js +0 -1
  1318. package/dist/magma-components/p-21d6687a.system.entry.js +0 -7
  1319. package/dist/magma-components/p-2217a7be.entry.js +0 -1
  1320. package/dist/magma-components/p-231505e8.entry.js +0 -1
  1321. package/dist/magma-components/p-2386f0d6.system.entry.js +0 -37
  1322. package/dist/magma-components/p-23e61db9.system.entry.js +0 -4
  1323. package/dist/magma-components/p-25935d33.system.entry.js +0 -1
  1324. package/dist/magma-components/p-284c40cd.system.entry.js +0 -4
  1325. package/dist/magma-components/p-29684655.system.entry.js +0 -16
  1326. package/dist/magma-components/p-2b56fc14.entry.js +0 -1
  1327. package/dist/magma-components/p-2b73fee6.entry.js +0 -1
  1328. package/dist/magma-components/p-2d5aadba.system.entry.js +0 -7
  1329. package/dist/magma-components/p-2de17848.entry.js +0 -1
  1330. package/dist/magma-components/p-34482514.entry.js +0 -1
  1331. package/dist/magma-components/p-34c0890e.entry.js +0 -1
  1332. package/dist/magma-components/p-3635eca6.system.entry.js +0 -1
  1333. package/dist/magma-components/p-3b0c1202.entry.js +0 -1
  1334. package/dist/magma-components/p-3db23b5f.system.entry.js +0 -16
  1335. package/dist/magma-components/p-3ec7d3ea.entry.js +0 -1
  1336. package/dist/magma-components/p-3f747a63.system.entry.js +0 -1
  1337. package/dist/magma-components/p-3ff30842.system.entry.js +0 -16
  1338. package/dist/magma-components/p-40563e33.entry.js +0 -1
  1339. package/dist/magma-components/p-41bf6f25.system.entry.js +0 -81
  1340. package/dist/magma-components/p-421a630e.entry.js +0 -1
  1341. package/dist/magma-components/p-4299b76b.system.entry.js +0 -4
  1342. package/dist/magma-components/p-4543501c.entry.js +0 -1
  1343. package/dist/magma-components/p-4616bc07.entry.js +0 -1
  1344. package/dist/magma-components/p-46786d71.system.entry.js +0 -14
  1345. package/dist/magma-components/p-470e5ac8.system.entry.js +0 -1
  1346. package/dist/magma-components/p-48d37230.entry.js +0 -1
  1347. package/dist/magma-components/p-49b120cb.system.entry.js +0 -13
  1348. package/dist/magma-components/p-4af76eb3.entry.js +0 -1
  1349. package/dist/magma-components/p-4b3a8132.system.entry.js +0 -13
  1350. package/dist/magma-components/p-4ba6cb3f.entry.js +0 -1
  1351. package/dist/magma-components/p-4c8316a8.entry.js +0 -1
  1352. package/dist/magma-components/p-4c95442e.entry.js +0 -1
  1353. package/dist/magma-components/p-4cadbd49.entry.js +0 -1
  1354. package/dist/magma-components/p-4e4bdbf8.entry.js +0 -1
  1355. package/dist/magma-components/p-4e5ab0e4.system.entry.js +0 -16
  1356. package/dist/magma-components/p-4f107cb2.system.entry.js +0 -2838
  1357. package/dist/magma-components/p-518b55f3.entry.js +0 -1
  1358. package/dist/magma-components/p-56ad5bf2.entry.js +0 -1
  1359. package/dist/magma-components/p-5eec629c.system.entry.js +0 -17
  1360. package/dist/magma-components/p-5f545f85.system.entry.js +0 -1
  1361. package/dist/magma-components/p-61a5ac3d.system.entry.js +0 -17
  1362. package/dist/magma-components/p-636cc471.entry.js +0 -1
  1363. package/dist/magma-components/p-646034cb.system.entry.js +0 -27
  1364. package/dist/magma-components/p-677ab154.system.entry.js +0 -3
  1365. package/dist/magma-components/p-67d80d37.system.entry.js +0 -1
  1366. package/dist/magma-components/p-6937f340.entry.js +0 -1
  1367. package/dist/magma-components/p-6b7e449f.entry.js +0 -1
  1368. package/dist/magma-components/p-6c417ea1.system.entry.js +0 -913
  1369. package/dist/magma-components/p-6ce60d59.entry.js +0 -1
  1370. package/dist/magma-components/p-6cf760ea.system.entry.js +0 -45
  1371. package/dist/magma-components/p-6dc27543.entry.js +0 -1
  1372. package/dist/magma-components/p-6de37588.entry.js +0 -1
  1373. package/dist/magma-components/p-6f6b5eb5.entry.js +0 -1
  1374. package/dist/magma-components/p-7090184f.entry.js +0 -1
  1375. package/dist/magma-components/p-716ad14c.entry.js +0 -1
  1376. package/dist/magma-components/p-71804224.entry.js +0 -1
  1377. package/dist/magma-components/p-735dc594.system.entry.js +0 -1
  1378. package/dist/magma-components/p-739fdf76.system.entry.js +0 -1
  1379. package/dist/magma-components/p-74b0902a.entry.js +0 -1
  1380. package/dist/magma-components/p-7530a2f2.entry.js +0 -1
  1381. package/dist/magma-components/p-759133b3.entry.js +0 -1
  1382. package/dist/magma-components/p-75dd012a.system.entry.js +0 -11
  1383. package/dist/magma-components/p-76ae22d6.entry.js +0 -1
  1384. package/dist/magma-components/p-78248693.entry.js +0 -1
  1385. package/dist/magma-components/p-7912f877.entry.js +0 -1
  1386. package/dist/magma-components/p-7c0d202c.entry.js +0 -1
  1387. package/dist/magma-components/p-7d304fd4.system.entry.js +0 -65
  1388. package/dist/magma-components/p-7f6d708c.system.entry.js +0 -41
  1389. package/dist/magma-components/p-81b72b6e.entry.js +0 -1
  1390. package/dist/magma-components/p-859ab5a2.entry.js +0 -18
  1391. package/dist/magma-components/p-88564e9b.system.entry.js +0 -14
  1392. package/dist/magma-components/p-896ae0ee.entry.js +0 -1
  1393. package/dist/magma-components/p-89a3bc7a.system.entry.js +0 -16
  1394. package/dist/magma-components/p-8b1abf81.system.entry.js +0 -32
  1395. package/dist/magma-components/p-8bbee38d.entry.js +0 -1
  1396. package/dist/magma-components/p-8bf680d6.system.entry.js +0 -15
  1397. package/dist/magma-components/p-8cb3a071.system.entry.js +0 -15
  1398. package/dist/magma-components/p-8dff6606.system.entry.js +0 -11
  1399. package/dist/magma-components/p-8e40eda3.system.entry.js +0 -9
  1400. package/dist/magma-components/p-8f229eaf.entry.js +0 -1
  1401. package/dist/magma-components/p-91b9d4e7.system.entry.js +0 -4
  1402. package/dist/magma-components/p-92e1001f.entry.js +0 -1
  1403. package/dist/magma-components/p-9378b373.system.entry.js +0 -49
  1404. package/dist/magma-components/p-94fa3396.system.entry.js +0 -47
  1405. package/dist/magma-components/p-9741d95e.system.entry.js +0 -7
  1406. package/dist/magma-components/p-97ea9e6e.system.entry.js +0 -68
  1407. package/dist/magma-components/p-9846fe89.system.entry.js +0 -1
  1408. package/dist/magma-components/p-998721b9.system.entry.js +0 -1
  1409. package/dist/magma-components/p-9a5296c0.system.entry.js +0 -7
  1410. package/dist/magma-components/p-9bbd4193.system.entry.js +0 -102
  1411. package/dist/magma-components/p-9be4a736.entry.js +0 -1
  1412. package/dist/magma-components/p-9caffe14.entry.js +0 -1
  1413. package/dist/magma-components/p-9d86477d.system.entry.js +0 -1
  1414. package/dist/magma-components/p-9de1ac7f.entry.js +0 -1
  1415. package/dist/magma-components/p-9e3bc553.system.entry.js +0 -26
  1416. package/dist/magma-components/p-9e58467e.system.entry.js +0 -10
  1417. package/dist/magma-components/p-9e9a1ebd.system.entry.js +0 -15
  1418. package/dist/magma-components/p-A9TZf0Ii.js +0 -1
  1419. package/dist/magma-components/p-BFnx_0hM.js +0 -5
  1420. package/dist/magma-components/p-BbMKuVem.js +0 -1
  1421. package/dist/magma-components/p-C2FHijr2.system.js +0 -231
  1422. package/dist/magma-components/p-CDTiTqY0.system.js +0 -58
  1423. package/dist/magma-components/p-CI85vVs8.system.js +0 -9
  1424. package/dist/magma-components/p-CnXBPjmc.system.js +0 -5
  1425. package/dist/magma-components/p-DB8Rm54c.js +0 -1
  1426. package/dist/magma-components/p-DIiEV39g.js +0 -3
  1427. package/dist/magma-components/p-DVd2EM-q.system.js +0 -90
  1428. package/dist/magma-components/p-DmC-b-ZK.system.js +0 -67
  1429. package/dist/magma-components/p-MGv0i39Y.system.js +0 -162
  1430. package/dist/magma-components/p-a15da479.system.entry.js +0 -8
  1431. package/dist/magma-components/p-a3b0f586.entry.js +0 -1
  1432. package/dist/magma-components/p-a93b2a39.entry.js +0 -1
  1433. package/dist/magma-components/p-aa267e7b.entry.js +0 -1
  1434. package/dist/magma-components/p-ab9095ae.system.entry.js +0 -4
  1435. package/dist/magma-components/p-ab997243.system.entry.js +0 -4
  1436. package/dist/magma-components/p-ace198e9.entry.js +0 -1
  1437. package/dist/magma-components/p-ad3983b2.entry.js +0 -1
  1438. package/dist/magma-components/p-aea6081f.entry.js +0 -1
  1439. package/dist/magma-components/p-af41c8b8.system.entry.js +0 -1
  1440. package/dist/magma-components/p-af45f0a5.system.entry.js +0 -20
  1441. package/dist/magma-components/p-b0539d61.system.entry.js +0 -32
  1442. package/dist/magma-components/p-b35c26f8.entry.js +0 -18
  1443. package/dist/magma-components/p-b3a3578c.entry.js +0 -1
  1444. package/dist/magma-components/p-b49e0321.system.entry.js +0 -1
  1445. package/dist/magma-components/p-b71e0d51.entry.js +0 -1
  1446. package/dist/magma-components/p-b8d4a14e.entry.js +0 -1
  1447. package/dist/magma-components/p-ba035f90.entry.js +0 -1
  1448. package/dist/magma-components/p-bc51d310.system.entry.js +0 -1
  1449. package/dist/magma-components/p-bd490a8e.entry.js +0 -1
  1450. package/dist/magma-components/p-be198039.system.entry.js +0 -4
  1451. package/dist/magma-components/p-bf7168b4.entry.js +0 -1
  1452. package/dist/magma-components/p-bf84d9fa.entry.js +0 -1
  1453. package/dist/magma-components/p-c4e58240.entry.js +0 -1
  1454. package/dist/magma-components/p-c573de10.entry.js +0 -1
  1455. package/dist/magma-components/p-c6be3db7.system.entry.js +0 -1
  1456. package/dist/magma-components/p-c7517884.system.entry.js +0 -38
  1457. package/dist/magma-components/p-c9be79bd.entry.js +0 -1
  1458. package/dist/magma-components/p-c9e12c2b.system.entry.js +0 -7
  1459. package/dist/magma-components/p-cb6a1908.entry.js +0 -1
  1460. package/dist/magma-components/p-cbd5aef4.system.entry.js +0 -14
  1461. package/dist/magma-components/p-cc033985.system.entry.js +0 -14
  1462. package/dist/magma-components/p-cd21137b.system.entry.js +0 -1
  1463. package/dist/magma-components/p-cd84a264.system.entry.js +0 -41
  1464. package/dist/magma-components/p-d0457835.entry.js +0 -1
  1465. package/dist/magma-components/p-d3116844.entry.js +0 -1
  1466. package/dist/magma-components/p-d38165ed.system.entry.js +0 -1
  1467. package/dist/magma-components/p-d3933a22.entry.js +0 -1
  1468. package/dist/magma-components/p-d44c49d6.system.entry.js +0 -8
  1469. package/dist/magma-components/p-d4a529ce.entry.js +0 -1
  1470. package/dist/magma-components/p-d64311e2.entry.js +0 -1
  1471. package/dist/magma-components/p-d6d4aa1a.entry.js +0 -1
  1472. package/dist/magma-components/p-d81e7100.system.entry.js +0 -15
  1473. package/dist/magma-components/p-d8c27f4b.entry.js +0 -1
  1474. package/dist/magma-components/p-d921d876.entry.js +0 -1
  1475. package/dist/magma-components/p-da1ac3e1.entry.js +0 -1
  1476. package/dist/magma-components/p-da4dc390.system.entry.js +0 -4
  1477. package/dist/magma-components/p-dda7a33b.entry.js +0 -1
  1478. package/dist/magma-components/p-de6bc3c8.entry.js +0 -1
  1479. package/dist/magma-components/p-df2b7607.system.entry.js +0 -4
  1480. package/dist/magma-components/p-e0b2ef8f.system.entry.js +0 -1
  1481. package/dist/magma-components/p-e0c50a2d.entry.js +0 -1
  1482. package/dist/magma-components/p-e1277efe.system.entry.js +0 -1
  1483. package/dist/magma-components/p-e1e6dd97.entry.js +0 -1
  1484. package/dist/magma-components/p-e2f7a9bd.system.entry.js +0 -1
  1485. package/dist/magma-components/p-e375c8b1.entry.js +0 -1
  1486. package/dist/magma-components/p-e3fce8ca.entry.js +0 -1
  1487. package/dist/magma-components/p-e5c6f9a9.system.entry.js +0 -7
  1488. package/dist/magma-components/p-e5da7036.entry.js +0 -1
  1489. package/dist/magma-components/p-e6dccab5.system.entry.js +0 -1
  1490. package/dist/magma-components/p-e9a16f22.system.entry.js +0 -134
  1491. package/dist/magma-components/p-ea0091b6.entry.js +0 -1
  1492. package/dist/magma-components/p-ec00defc.system.entry.js +0 -13
  1493. package/dist/magma-components/p-ec59ec9a.entry.js +0 -1
  1494. package/dist/magma-components/p-eddcef53.system.entry.js +0 -1
  1495. package/dist/magma-components/p-edfb0d7a.entry.js +0 -1
  1496. package/dist/magma-components/p-eed00e7f.system.entry.js +0 -1
  1497. package/dist/magma-components/p-ef8cb401.entry.js +0 -1
  1498. package/dist/magma-components/p-f070a5b5.system.entry.js +0 -11
  1499. package/dist/magma-components/p-f23d4974.entry.js +0 -1
  1500. package/dist/magma-components/p-f542246f.system.entry.js +0 -1
  1501. package/dist/magma-components/p-f5c680dd.entry.js +0 -1
  1502. package/dist/magma-components/p-f60c6e8e.system.entry.js +0 -40
  1503. package/dist/magma-components/p-f8369939.entry.js +0 -1
  1504. package/dist/magma-components/p-f97ede3e.system.entry.js +0 -19
  1505. package/dist/magma-components/p-f97ff5b2.entry.js +0 -1
  1506. package/dist/magma-components/p-f9d9cf7c.system.entry.js +0 -11
  1507. package/dist/magma-components/p-fa163e86.entry.js +0 -1
  1508. package/dist/magma-components/p-fe1662e8.system.entry.js +0 -28
  1509. package/dist/magma-components/p-fe19080a.entry.js +0 -8
  1510. package/dist/magma-components/p-ff133cbd.entry.js +0 -1
  1511. package/dist/magma-components/p-ff49fb35.entry.js +0 -1
  1512. package/dist/magma-components/p-fff44704.entry.js +0 -1
@@ -0,0 +1,108 @@
1
+ <!--
2
+ GENERATED FILE - do not edit by hand.
3
+ Source of truth: src/components/mds-table-header-cell/usage/ in the magma monorepo.
4
+ -->
5
+
6
+ # mds-table-header-cell - anti-patterns
7
+
8
+ > The API of this component: [`AGENTS.md`](AGENTS.md).
9
+
10
+ Common incorrect uses of `<mds-table-header-cell>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.
11
+
12
+ #### Do Not Use Outside `mds-table-header`
13
+
14
+ `<mds-table-header-cell>` is a compound child component and relies on traversing the DOM to locate its sibling cells and the `<mds-table-body>` for sorting. Using it outside `<mds-table-header>` breaks both the layout and the sort logic.
15
+
16
+ ```html
17
+ <!-- INCORRECT -->
18
+ <div class="table-head">
19
+ <mds-table-header-cell label="Nome" sortable></mds-table-header-cell>
20
+ </div>
21
+
22
+ <!-- CORRECT -->
23
+ <mds-table>
24
+ <mds-table-header>
25
+ <mds-table-header-cell label="Nome" sortable></mds-table-header-cell>
26
+ </mds-table-header>
27
+ <mds-table-body><!-- rows --></mds-table-body>
28
+ </mds-table>
29
+ ```
30
+
31
+ #### Do Not Set `direction` to Drive the Sort Cycle
32
+
33
+ The `ascending` / `descending` states are managed by the internal click cycle; setting them from outside does not trigger a re-sort. Only `direction="none"` is safe to set externally - use it to clear a column back to the unsorted state.
34
+
35
+ ```html
36
+ <!-- INCORRECT -->
37
+ <mds-table-header-cell label="Data" sortable direction="ascending"></mds-table-header-cell>
38
+
39
+ <!-- CORRECT - let the user click to enter the sort cycle, or reset to none programmatically -->
40
+ <mds-table-header-cell label="Data" sortable></mds-table-header-cell>
41
+ ```
42
+
43
+ ```js
44
+ // Only resetting to none is a safe external write
45
+ document.querySelector('mds-table-header-cell').direction = 'none';
46
+ ```
47
+
48
+ #### Do Not Use `sortable="false"` to Disable Sorting
49
+
50
+ `sortable` is a boolean attribute. Stencil reads the exact string `"false"` as `false`, but the attribute stays on the element, where attribute selectors and any code that tests for its presence still read it as set. Remove the attribute entirely to produce a non-sortable header cell.
51
+
52
+ ```html
53
+ <!-- INCORRECT -->
54
+ <mds-table-header-cell label="Stato" sortable="false"></mds-table-header-cell>
55
+
56
+ <!-- CORRECT -->
57
+ <mds-table-header-cell label="Stato"></mds-table-header-cell>
58
+ ```
59
+
60
+ #### Do Not Slot Content Instead of Using the `label` Prop
61
+
62
+ The component renders its label through the `label` prop; there is no documented slot. Placing text or elements as children of the host puts them in an unsupported slot and they will not appear.
63
+
64
+ ```html
65
+ <!-- INCORRECT -->
66
+ <mds-table-header-cell sortable>
67
+ <span>Cognome</span>
68
+ </mds-table-header-cell>
69
+
70
+ <!-- CORRECT -->
71
+ <mds-table-header-cell label="Cognome" sortable></mds-table-header-cell>
72
+ ```
73
+
74
+ #### Do Not Pierce Shadow DOM to Style the Sort Button
75
+
76
+ The sort button is an internal `<mds-button>` inside the shadow root. Use the documented `::part(action)` instead of undocumented selectors.
77
+
78
+ ```css
79
+ /* INCORRECT */
80
+ mds-table-header-cell >>> .action {
81
+ background-color: red;
82
+ }
83
+
84
+ /* CORRECT */
85
+ mds-table-header-cell::part(action) {
86
+ /* use only documented part-level overrides */
87
+ }
88
+ ```
89
+
90
+ #### Do Not Wrap the Cell in a Native `<th>`
91
+
92
+ `<mds-table-header-cell>` already carries `role="columnheader"` and manages `aria-sort`. Wrapping it inside a native `<th>` doubles the ARIA semantics and produces invalid table structure.
93
+
94
+ ```html
95
+ <!-- INCORRECT -->
96
+ <thead>
97
+ <tr>
98
+ <th><mds-table-header-cell label="Nome"></mds-table-header-cell></th>
99
+ </tr>
100
+ </thead>
101
+
102
+ <!-- CORRECT -->
103
+ <mds-table>
104
+ <mds-table-header>
105
+ <mds-table-header-cell label="Nome"></mds-table-header-cell>
106
+ </mds-table-header>
107
+ </mds-table>
108
+ ```
@@ -0,0 +1,158 @@
1
+ {
2
+ "timestamp": "2026-10-10T11:47:46",
3
+ "compiler": {
4
+ "name": "@stencil/core",
5
+ "version": "4.44.2",
6
+ "typescriptVersion": "5.8.3"
7
+ },
8
+ "components": [
9
+ {
10
+ "filePath": "src/components/mds-table-header-cell/mds-table-header-cell.tsx",
11
+ "encapsulation": "shadow",
12
+ "tag": "mds-table-header-cell",
13
+ "docs": "",
14
+ "docsTags": [],
15
+ "usage": {
16
+ "1. Description": "The `<mds-table-header-cell>` web component is the column-header cell of a Magma data table. It is a compound child of [`<mds-table-header>`](../mds-table-header/AGENTS.md) and plays the role of a native `<th>` (`columnheader`), rendering the column label and, when enabled, acting as the interactive sort control for its column.\n\n#### Semantic Behavior\n\n- **Compound child only**: Must be placed as a direct slot child of `<mds-table-header>`; it is not used standalone, and its sorting acts on the body rows within the enclosing `mds-table`.\n- **Header role and ARIA sort**: Reflects its current sort state through `aria-sort`, mirroring the `direction` prop (`none` / `ascending` / `descending`).\n- **Position-based sorting**: The cell sorts the matching `mds-table-cell` of every body row by column position; values come from each cell's `value` (falling back to trimmed text), with numeric values compared numerically and others compared alphabetically.\n- **Tri-state sort cycle**: Each activation advances the column through `none` -> `ascending` -> `descending` and back to `none`; the `none` state restores the original row order.\n- **Single active sort column**: Sorting a column resets every sibling header cell to `none`, so only one column drives the order at a time.\n- **Conditional rendering**: When `sortable` is set the cell renders a clickable sorter (with an up / down / unfold-more icon reflecting `direction`); otherwise it renders a plain label with no interaction.\n\n#### Properties & Visual Configurations\n\n- **`sortable`**: Opt a column into interactive sorting. Leave it unset for purely descriptive columns (label only); set it when the column's values should be reorderable by the user.\n- **`direction`**: The reflected sort state of the column (`none`, `ascending`, `descending`). It is self-managed by the click cycle, but can be set externally - for example to clear a column to `none` - and drives both the rendered sort icon and the `aria-sort` value.\n",
17
+ "2. Pattern": "Correct and idiomatic ways to use the `<mds-table-header-cell>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Plain Header Cell\n\nThe simplest form: a non-sortable column header that renders a styled label. Omit `sortable` for columns whose values should not be reordered.\n\n```html\n<mds-table>\n <mds-table-header>\n <mds-table-header-cell label=\"Nome\"></mds-table-header-cell>\n <mds-table-header-cell label=\"Ruolo\"></mds-table-header-cell>\n <mds-table-header-cell label=\"Stato\"></mds-table-header-cell>\n </mds-table-header>\n <mds-table-body>\n <mds-table-row>\n <mds-table-cell>Mario Rossi</mds-table-cell>\n <mds-table-cell>Amministratore</mds-table-cell>\n <mds-table-cell>Attivo</mds-table-cell>\n </mds-table-row>\n </mds-table-body>\n</mds-table>\n```\n\n#### Sortable Column Header\n\nAdd the `sortable` boolean attribute to enable the tri-state click cycle (`none` -> `ascending` -> `descending` -> `none`). The component manages sorting internally - no JavaScript wiring is required.\n\n```html\n<mds-table>\n <mds-table-header>\n <mds-table-header-cell label=\"Cognome\" sortable></mds-table-header-cell>\n <mds-table-header-cell label=\"Dipartimento\" sortable></mds-table-header-cell>\n <mds-table-header-cell label=\"Note\"></mds-table-header-cell>\n </mds-table-header>\n <mds-table-body>\n <mds-table-row>\n <mds-table-cell>Bianchi</mds-table-cell>\n <mds-table-cell>Risorse Umane</mds-table-cell>\n <mds-table-cell>-</mds-table-cell>\n </mds-table-row>\n <mds-table-row>\n <mds-table-cell>Amendola</mds-table-cell>\n <mds-table-cell>Informatica</mds-table-cell>\n <mds-table-cell>-</mds-table-cell>\n </mds-table-row>\n </mds-table-body>\n</mds-table>\n```\n\n#### Mixing Sortable and Non-Sortable Columns\n\nPlace `sortable` only on columns whose values are meaningfully orderable. Action columns or complex-content columns should remain non-sortable.\n\n```html\n<mds-table>\n <mds-table-header>\n <mds-table-header-cell label=\"ID\" sortable></mds-table-header-cell>\n <mds-table-header-cell label=\"Descrizione\" sortable></mds-table-header-cell>\n <mds-table-header-cell label=\"Importo\" sortable></mds-table-header-cell>\n <mds-table-header-cell label=\"Azioni\"></mds-table-header-cell>\n </mds-table-header>\n <mds-table-body>\n <mds-table-row>\n <mds-table-cell value=\"1\">1</mds-table-cell>\n <mds-table-cell>Abbonamento annuale</mds-table-cell>\n <mds-table-cell value=\"120\">120,00 EUR</mds-table-cell>\n <mds-table-cell><mds-button label=\"Modifica\" tone=\"text\" variant=\"primary\"></mds-button></mds-table-cell>\n </mds-table-row>\n <mds-table-row>\n <mds-table-cell value=\"2\">2</mds-table-cell>\n <mds-table-cell>Licenza mensile</mds-table-cell>\n <mds-table-cell value=\"15\">15,00 EUR</mds-table-cell>\n <mds-table-cell><mds-button label=\"Modifica\" tone=\"text\" variant=\"primary\"></mds-button></mds-table-cell>\n </mds-table-row>\n </mds-table-body>\n</mds-table>\n```\n\n#### Providing Numeric Values for Correct Sort Order\n\nWhen a column displays formatted text (currency, percentages) but should sort numerically, set the `value` prop on each `<mds-table-cell>` to the raw numeric string. The header cell reads `value` first and falls back to text content.\n\n```html\n<mds-table>\n <mds-table-header>\n <mds-table-header-cell label=\"Prodotto\"></mds-table-header-cell>\n <mds-table-header-cell label=\"Punteggio\" sortable></mds-table-header-cell>\n </mds-table-header>\n <mds-table-body>\n <mds-table-row>\n <mds-table-cell>Prodotto A</mds-table-cell>\n <mds-table-cell value=\"8.5\">8,5 / 10</mds-table-cell>\n </mds-table-row>\n <mds-table-row>\n <mds-table-cell>Prodotto B</mds-table-cell>\n <mds-table-cell value=\"10\">10 / 10</mds-table-cell>\n </mds-table-row>\n <mds-table-row>\n <mds-table-cell>Prodotto C</mds-table-cell>\n <mds-table-cell value=\"2.3\">2,3 / 10</mds-table-cell>\n </mds-table-row>\n </mds-table-body>\n</mds-table>\n```\n\n#### Programmatically Resetting Sort Direction\n\nSet `direction=\"none\"` from outside to clear a column's active sort - for example when the user applies a server-side filter that invalidates the current order. It resets the sort icon, `aria-sort` and the click cycle; it does not reorder the rows. Only the `none` value can be set externally; the component manages `ascending` / `descending` itself through click cycles, and setting them from outside sorts nothing.\n\n```html\n<!-- A sortable column the user can sort by clicking -->\n<mds-table>\n <mds-table-header>\n <mds-table-header-cell label=\"Data\" sortable id=\"col-data\"></mds-table-header-cell>\n <mds-table-header-cell label=\"Categoria\" sortable></mds-table-header-cell>\n </mds-table-header>\n <mds-table-body>\n <!-- rows -->\n </mds-table-body>\n</mds-table>\n```\n\n```js\n// Reset to unsorted when a new server response arrives\ndocument.querySelector('#col-data').direction = 'none';\n```\n\n#### Styling Customization\n\nTarget the `label` or `action` shadow parts for glyph-level overrides. Set them on the host or a parent selector.\n\n```css\nmds-table-header-cell::part(label) {\n font-weight: var(--font-weight-semibold);\n}\n```\n",
18
+ "3. Antipattern": "Common incorrect uses of `<mds-table-header-cell>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Use Outside `mds-table-header`\n\n`<mds-table-header-cell>` is a compound child component and relies on traversing the DOM to locate its sibling cells and the `<mds-table-body>` for sorting. Using it outside `<mds-table-header>` breaks both the layout and the sort logic.\n\n```html\n<!-- INCORRECT -->\n<div class=\"table-head\">\n <mds-table-header-cell label=\"Nome\" sortable></mds-table-header-cell>\n</div>\n\n<!-- CORRECT -->\n<mds-table>\n <mds-table-header>\n <mds-table-header-cell label=\"Nome\" sortable></mds-table-header-cell>\n </mds-table-header>\n <mds-table-body><!-- rows --></mds-table-body>\n</mds-table>\n```\n\n#### Do Not Set `direction` to Drive the Sort Cycle\n\nThe `ascending` / `descending` states are managed by the internal click cycle; setting them from outside does not trigger a re-sort. Only `direction=\"none\"` is safe to set externally - use it to clear a column back to the unsorted state.\n\n```html\n<!-- INCORRECT -->\n<mds-table-header-cell label=\"Data\" sortable direction=\"ascending\"></mds-table-header-cell>\n\n<!-- CORRECT - let the user click to enter the sort cycle, or reset to none programmatically -->\n<mds-table-header-cell label=\"Data\" sortable></mds-table-header-cell>\n```\n\n```js\n// Only resetting to none is a safe external write\ndocument.querySelector('mds-table-header-cell').direction = 'none';\n```\n\n#### Do Not Use `sortable=\"false\"` to Disable Sorting\n\n`sortable` is a boolean attribute. Stencil reads the exact string `\"false\"` as `false`, but the attribute stays on the element, where attribute selectors and any code that tests for its presence still read it as set. Remove the attribute entirely to produce a non-sortable header cell.\n\n```html\n<!-- INCORRECT -->\n<mds-table-header-cell label=\"Stato\" sortable=\"false\"></mds-table-header-cell>\n\n<!-- CORRECT -->\n<mds-table-header-cell label=\"Stato\"></mds-table-header-cell>\n```\n\n#### Do Not Slot Content Instead of Using the `label` Prop\n\nThe component renders its label through the `label` prop; there is no documented slot. Placing text or elements as children of the host puts them in an unsupported slot and they will not appear.\n\n```html\n<!-- INCORRECT -->\n<mds-table-header-cell sortable>\n <span>Cognome</span>\n</mds-table-header-cell>\n\n<!-- CORRECT -->\n<mds-table-header-cell label=\"Cognome\" sortable></mds-table-header-cell>\n```\n\n#### Do Not Pierce Shadow DOM to Style the Sort Button\n\nThe sort button is an internal `<mds-button>` inside the shadow root. Use the documented `::part(action)` instead of undocumented selectors.\n\n```css\n/* INCORRECT */\nmds-table-header-cell >>> .action {\n background-color: red;\n}\n\n/* CORRECT */\nmds-table-header-cell::part(action) {\n /* use only documented part-level overrides */\n}\n```\n\n#### Do Not Wrap the Cell in a Native `<th>`\n\n`<mds-table-header-cell>` already carries `role=\"columnheader\"` and manages `aria-sort`. Wrapping it inside a native `<th>` doubles the ARIA semantics and produces invalid table structure.\n\n```html\n<!-- INCORRECT -->\n<thead>\n <tr>\n <th><mds-table-header-cell label=\"Nome\"></mds-table-header-cell></th>\n </tr>\n</thead>\n\n<!-- CORRECT -->\n<mds-table>\n <mds-table-header>\n <mds-table-header-cell label=\"Nome\"></mds-table-header-cell>\n </mds-table-header>\n</mds-table>\n```\n"
19
+ },
20
+ "props": [
21
+ {
22
+ "name": "direction",
23
+ "type": "\"ascending\" | \"descending\" | \"none\"",
24
+ "complexType": {
25
+ "original": "SortDirectionType",
26
+ "resolved": "\"ascending\" | \"descending\" | \"none\"",
27
+ "references": {
28
+ "SortDirectionType": {
29
+ "location": "import",
30
+ "path": "./meta/types",
31
+ "id": "src/components/mds-table-header-cell/meta/types.ts::SortDirectionType",
32
+ "referenceLocation": "SortDirectionType"
33
+ }
34
+ }
35
+ },
36
+ "mutable": true,
37
+ "attr": "direction",
38
+ "reflectToAttr": true,
39
+ "docs": "Specifies the current sort direction of the column.",
40
+ "docsTags": [
41
+ {
42
+ "name": "default",
43
+ "text": "'none'"
44
+ }
45
+ ],
46
+ "default": "'none'",
47
+ "values": [
48
+ {
49
+ "value": "ascending",
50
+ "type": "string"
51
+ },
52
+ {
53
+ "value": "descending",
54
+ "type": "string"
55
+ },
56
+ {
57
+ "value": "none",
58
+ "type": "string"
59
+ }
60
+ ],
61
+ "optional": false,
62
+ "required": false,
63
+ "getter": false,
64
+ "setter": false
65
+ },
66
+ {
67
+ "name": "label",
68
+ "type": "string | undefined",
69
+ "complexType": {
70
+ "original": "string",
71
+ "resolved": "string | undefined",
72
+ "references": {}
73
+ },
74
+ "mutable": false,
75
+ "attr": "label",
76
+ "reflectToAttr": true,
77
+ "docs": "Sets a label for the cell",
78
+ "docsTags": [],
79
+ "values": [
80
+ {
81
+ "type": "string"
82
+ },
83
+ {
84
+ "type": "undefined"
85
+ }
86
+ ],
87
+ "optional": true,
88
+ "required": false,
89
+ "getter": false,
90
+ "setter": false
91
+ },
92
+ {
93
+ "name": "sortable",
94
+ "type": "boolean | undefined",
95
+ "complexType": {
96
+ "original": "boolean",
97
+ "resolved": "boolean | undefined",
98
+ "references": {}
99
+ },
100
+ "mutable": false,
101
+ "attr": "sortable",
102
+ "reflectToAttr": true,
103
+ "docs": "Tells the component to make the cell able to sort the table columns items",
104
+ "docsTags": [],
105
+ "values": [
106
+ {
107
+ "type": "boolean"
108
+ },
109
+ {
110
+ "type": "undefined"
111
+ }
112
+ ],
113
+ "optional": true,
114
+ "required": false,
115
+ "getter": false,
116
+ "setter": false
117
+ }
118
+ ],
119
+ "methods": [],
120
+ "events": [],
121
+ "listeners": [],
122
+ "styles": [],
123
+ "slots": [],
124
+ "parts": [
125
+ {
126
+ "name": "action",
127
+ "docs": ""
128
+ },
129
+ {
130
+ "name": "label",
131
+ "docs": ""
132
+ }
133
+ ],
134
+ "states": [],
135
+ "dependents": [
136
+ "mds-table-header"
137
+ ],
138
+ "dependencies": [
139
+ "mds-button",
140
+ "mds-text"
141
+ ],
142
+ "dependencyGraph": {
143
+ "mds-table-header-cell": [
144
+ "mds-button",
145
+ "mds-text"
146
+ ],
147
+ "mds-button": [
148
+ "mds-spinner",
149
+ "mds-icon",
150
+ "mds-text"
151
+ ],
152
+ "mds-table-header": [
153
+ "mds-table-header-cell"
154
+ ]
155
+ }
156
+ }
157
+ ]
158
+ }
@@ -0,0 +1,145 @@
1
+ <!--
2
+ GENERATED FILE - do not edit by hand.
3
+ Source of truth: src/components/mds-table-header-cell/usage/ in the magma monorepo.
4
+ -->
5
+
6
+ # mds-table-header-cell - patterns
7
+
8
+ > The API of this component: [`AGENTS.md`](AGENTS.md).
9
+
10
+ Correct and idiomatic ways to use the `<mds-table-header-cell>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).
11
+
12
+ #### Plain Header Cell
13
+
14
+ The simplest form: a non-sortable column header that renders a styled label. Omit `sortable` for columns whose values should not be reordered.
15
+
16
+ ```html
17
+ <mds-table>
18
+ <mds-table-header>
19
+ <mds-table-header-cell label="Nome"></mds-table-header-cell>
20
+ <mds-table-header-cell label="Ruolo"></mds-table-header-cell>
21
+ <mds-table-header-cell label="Stato"></mds-table-header-cell>
22
+ </mds-table-header>
23
+ <mds-table-body>
24
+ <mds-table-row>
25
+ <mds-table-cell>Mario Rossi</mds-table-cell>
26
+ <mds-table-cell>Amministratore</mds-table-cell>
27
+ <mds-table-cell>Attivo</mds-table-cell>
28
+ </mds-table-row>
29
+ </mds-table-body>
30
+ </mds-table>
31
+ ```
32
+
33
+ #### Sortable Column Header
34
+
35
+ Add the `sortable` boolean attribute to enable the tri-state click cycle (`none` -> `ascending` -> `descending` -> `none`). The component manages sorting internally - no JavaScript wiring is required.
36
+
37
+ ```html
38
+ <mds-table>
39
+ <mds-table-header>
40
+ <mds-table-header-cell label="Cognome" sortable></mds-table-header-cell>
41
+ <mds-table-header-cell label="Dipartimento" sortable></mds-table-header-cell>
42
+ <mds-table-header-cell label="Note"></mds-table-header-cell>
43
+ </mds-table-header>
44
+ <mds-table-body>
45
+ <mds-table-row>
46
+ <mds-table-cell>Bianchi</mds-table-cell>
47
+ <mds-table-cell>Risorse Umane</mds-table-cell>
48
+ <mds-table-cell>-</mds-table-cell>
49
+ </mds-table-row>
50
+ <mds-table-row>
51
+ <mds-table-cell>Amendola</mds-table-cell>
52
+ <mds-table-cell>Informatica</mds-table-cell>
53
+ <mds-table-cell>-</mds-table-cell>
54
+ </mds-table-row>
55
+ </mds-table-body>
56
+ </mds-table>
57
+ ```
58
+
59
+ #### Mixing Sortable and Non-Sortable Columns
60
+
61
+ Place `sortable` only on columns whose values are meaningfully orderable. Action columns or complex-content columns should remain non-sortable.
62
+
63
+ ```html
64
+ <mds-table>
65
+ <mds-table-header>
66
+ <mds-table-header-cell label="ID" sortable></mds-table-header-cell>
67
+ <mds-table-header-cell label="Descrizione" sortable></mds-table-header-cell>
68
+ <mds-table-header-cell label="Importo" sortable></mds-table-header-cell>
69
+ <mds-table-header-cell label="Azioni"></mds-table-header-cell>
70
+ </mds-table-header>
71
+ <mds-table-body>
72
+ <mds-table-row>
73
+ <mds-table-cell value="1">1</mds-table-cell>
74
+ <mds-table-cell>Abbonamento annuale</mds-table-cell>
75
+ <mds-table-cell value="120">120,00 EUR</mds-table-cell>
76
+ <mds-table-cell><mds-button label="Modifica" tone="text" variant="primary"></mds-button></mds-table-cell>
77
+ </mds-table-row>
78
+ <mds-table-row>
79
+ <mds-table-cell value="2">2</mds-table-cell>
80
+ <mds-table-cell>Licenza mensile</mds-table-cell>
81
+ <mds-table-cell value="15">15,00 EUR</mds-table-cell>
82
+ <mds-table-cell><mds-button label="Modifica" tone="text" variant="primary"></mds-button></mds-table-cell>
83
+ </mds-table-row>
84
+ </mds-table-body>
85
+ </mds-table>
86
+ ```
87
+
88
+ #### Providing Numeric Values for Correct Sort Order
89
+
90
+ When a column displays formatted text (currency, percentages) but should sort numerically, set the `value` prop on each `<mds-table-cell>` to the raw numeric string. The header cell reads `value` first and falls back to text content.
91
+
92
+ ```html
93
+ <mds-table>
94
+ <mds-table-header>
95
+ <mds-table-header-cell label="Prodotto"></mds-table-header-cell>
96
+ <mds-table-header-cell label="Punteggio" sortable></mds-table-header-cell>
97
+ </mds-table-header>
98
+ <mds-table-body>
99
+ <mds-table-row>
100
+ <mds-table-cell>Prodotto A</mds-table-cell>
101
+ <mds-table-cell value="8.5">8,5 / 10</mds-table-cell>
102
+ </mds-table-row>
103
+ <mds-table-row>
104
+ <mds-table-cell>Prodotto B</mds-table-cell>
105
+ <mds-table-cell value="10">10 / 10</mds-table-cell>
106
+ </mds-table-row>
107
+ <mds-table-row>
108
+ <mds-table-cell>Prodotto C</mds-table-cell>
109
+ <mds-table-cell value="2.3">2,3 / 10</mds-table-cell>
110
+ </mds-table-row>
111
+ </mds-table-body>
112
+ </mds-table>
113
+ ```
114
+
115
+ #### Programmatically Resetting Sort Direction
116
+
117
+ Set `direction="none"` from outside to clear a column's active sort - for example when the user applies a server-side filter that invalidates the current order. It resets the sort icon, `aria-sort` and the click cycle; it does not reorder the rows. Only the `none` value can be set externally; the component manages `ascending` / `descending` itself through click cycles, and setting them from outside sorts nothing.
118
+
119
+ ```html
120
+ <!-- A sortable column the user can sort by clicking -->
121
+ <mds-table>
122
+ <mds-table-header>
123
+ <mds-table-header-cell label="Data" sortable id="col-data"></mds-table-header-cell>
124
+ <mds-table-header-cell label="Categoria" sortable></mds-table-header-cell>
125
+ </mds-table-header>
126
+ <mds-table-body>
127
+ <!-- rows -->
128
+ </mds-table-body>
129
+ </mds-table>
130
+ ```
131
+
132
+ ```js
133
+ // Reset to unsorted when a new server response arrives
134
+ document.querySelector('#col-data').direction = 'none';
135
+ ```
136
+
137
+ #### Styling Customization
138
+
139
+ Target the `label` or `action` shadow parts for glyph-level overrides. Set them on the host or a parent selector.
140
+
141
+ ```css
142
+ mds-table-header-cell::part(label) {
143
+ font-weight: var(--font-weight-semibold);
144
+ }
145
+ ```
@@ -0,0 +1,68 @@
1
+ <!--
2
+ GENERATED FILE - do not edit by hand.
3
+ Source of truth: src/components/mds-table-row/ in the magma monorepo (usage/*.md and the
4
+ component's JSDoc). Regenerated on every stencil build (scripts/component-docs.ts).
5
+ -->
6
+
7
+ # mds-table-row
8
+
9
+ > `@maggioli-design-system/magma` 2.1.0. Shadow DOM: style it only through the CSS custom properties and parts below.
10
+
11
+ The `<mds-table-row>` web component represents a single data row inside a [`<mds-table>`](../mds-table/AGENTS.md) (slotted through `mds-table-body`; `mds-table-header` and `mds-table-footer` are rows themselves). It wraps a set of `mds-table-cell` children, and optionally exposes a per-row selection checkbox and an aside actions menu.
12
+
13
+ #### Semantic Behavior
14
+
15
+ - **Compound child only**: `<mds-table-row>` must be slotted inside the `mds-table-body` of an `<mds-table>`; it is not used standalone and its default slot must contain `mds-table-cell` elements, not arbitrary markup.
16
+ - **Parent-driven configuration**: `interactive`, `selectable`, and `overlayActions` are set by the parent `<mds-table>` on every row, so rows stay in sync with table state rather than being configured one by one.
17
+ - **Selection reporting**: When `selectable` is on, the row renders a leading selection checkbox; toggling it updates the row's `selected` prop and tells the table to recompute and emit the table-level selection event.
18
+ - **Selected as two-way state**: `selected` can be read and set by the parent to drive bulk select-all behavior.
19
+ - **Actions menu**: An `action`-named slot, when present, renders an actions cell that floats correctly over the scrolling row.
20
+ - **Localized accessibility labels**: The selection switch's title is localized (Select/Deselect row) across el/en/es/it.
21
+
22
+ #### Properties & Visual Configurations
23
+
24
+ Most props are orchestrated by the parent table rather than set directly by consumers:
25
+
26
+ - **`interactive`**: mirrors the table's interactive mode (hover highlight); normally inherited from `<mds-table>` rather than set per row.
27
+ - **`selectable`**: enables the leading selection switch; toggled by the table so all rows gain or lose selection together.
28
+ - **`overlayActions`**: set by the table when the row content overflows horizontally, switching the actions menu to an overlay rendering so it stays reachable while scrolling.
29
+ - **`selected`**: the row's current selection state; read and written by the parent for select-all and batch operations.
30
+ - **`value`**: the identifying payload reported back in the table's selection event for this row - set this to the business key (e.g. record id) you need when handling selections.
31
+
32
+ ## Read next
33
+
34
+ - [`pattern.md`](pattern.md) - correct usage, with examples
35
+ - [`antipattern.md`](antipattern.md) - mistakes to avoid
36
+ - [`conventions.md`](../../../../agents/conventions.md), [`variants.md`](../../../../agents/variants.md), [`anti-patterns.md`](../../../../agents/anti-patterns.md) - the rules shared by every component
37
+
38
+ ## Props
39
+
40
+ | Prop | Attribute | Type | Default | Description |
41
+ | --- | --- | --- | --- | --- |
42
+ | `interactive` | `interactive` | `boolean \| undefined` | - | Specifies whether the row reacts to user interaction (hover/focus). |
43
+ | `overlayActions` | `overlay-actions` | `boolean` | - | Specifies whether the row's actions are shown as an overlay. |
44
+ | `selectable` | `selectable` | `boolean \| undefined` | `undefined` | Specifies whether the row can be selected via a checkbox. |
45
+ | `selected` | `selected` | `boolean \| undefined` | - | Specifies whether the row is currently selected. |
46
+ | `selection` | `selection` | `boolean \| undefined` | - | Reflects the parent table selection state (set by mds-table); drives the row action background without :host-context |
47
+ | `value` | `value` | `number \| string \| undefined` | - | The value associated with the row, emitted when the row is selected. |
48
+
49
+ ## Slots
50
+
51
+ | Slot | Description |
52
+ | --- | --- |
53
+ | (default) | Put `mds-table-cell` element/s. |
54
+ | `action` | Put `mds-button` element/s or other kind of actions as aside menu for the single row. |
55
+
56
+ ## CSS custom properties
57
+
58
+ | Property | Description |
59
+ | --- | --- |
60
+ | `--mds-table-row-actions-gap` | Gap spacing for actions inside table rows. |
61
+ | `--mds-table-row-background-alt` | Background color for alternate table rows. |
62
+ | `--mds-table-row-background-hover` | Background color for table row on hover. |
63
+ | `--mds-table-row-color-alt` | Text color for alternate table rows. |
64
+ | `--mds-table-row-color-hover` | Text color for table row on hover. |
65
+
66
+ ## Dependencies
67
+
68
+ Uses: `mds-table-cell`, `mds-input-switch`.
@@ -0,0 +1,142 @@
1
+ <!--
2
+ GENERATED FILE - do not edit by hand.
3
+ Source of truth: src/components/mds-table-row/usage/ in the magma monorepo.
4
+ -->
5
+
6
+ # mds-table-row - anti-patterns
7
+
8
+ > The API of this component: [`AGENTS.md`](AGENTS.md).
9
+
10
+ Common incorrect uses of `<mds-table-row>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.
11
+
12
+ #### Do Not Use `<mds-table-row>` Standalone
13
+
14
+ `<mds-table-row>` is a compound child component and must be slotted inside the [`mds-table-body`](../mds-table-body/AGENTS.md) of an [`mds-table`](../mds-table/AGENTS.md). Using it outside the table subtree breaks layout and the internal parent-child communication that drives selection and interactive state.
15
+
16
+ ```html
17
+ <!-- INCORRECT -->
18
+ <div class="my-list">
19
+ <mds-table-row>
20
+ <mds-table-cell>Mario Rossi</mds-table-cell>
21
+ </mds-table-row>
22
+ </div>
23
+
24
+ <!-- CORRECT -->
25
+ <mds-table>
26
+ <mds-table-body>
27
+ <mds-table-row>
28
+ <mds-table-cell><mds-text typography="detail">Mario Rossi</mds-text></mds-table-cell>
29
+ </mds-table-row>
30
+ </mds-table-body>
31
+ </mds-table>
32
+ ```
33
+
34
+ #### Do Not Put Arbitrary HTML in the Default Slot
35
+
36
+ The default slot of `<mds-table-row>` accepts only [`mds-table-cell`](../mds-table-cell/AGENTS.md) elements. Slotting raw `<td>`, `<div>`, or other markup breaks the table layout model and the sort/selection logic that relies on `mds-table-cell` identity.
37
+
38
+ ```html
39
+ <!-- INCORRECT -->
40
+ <mds-table-row>
41
+ <td>Mario Rossi</td>
42
+ <div>mario.rossi@example.com</div>
43
+ </mds-table-row>
44
+
45
+ <!-- CORRECT -->
46
+ <mds-table-row>
47
+ <mds-table-cell><mds-text typography="detail">Mario Rossi</mds-text></mds-table-cell>
48
+ <mds-table-cell><mds-text typography="detail">mario.rossi@example.com</mds-text></mds-table-cell>
49
+ </mds-table-row>
50
+ ```
51
+
52
+ #### Do Not Set `interactive` or `selectable` Directly on Individual Rows
53
+
54
+ Both props are orchestrated by the parent `<mds-table>` and propagated to every row automatically. Setting them per-row creates a desynchronized state where some rows behave differently from others, and the table's own state machine does not know about the override.
55
+
56
+ ```html
57
+ <!-- INCORRECT -->
58
+ <mds-table>
59
+ <mds-table-body>
60
+ <mds-table-row interactive selectable>
61
+ <mds-table-cell><mds-text typography="detail">Pratica 01</mds-text></mds-table-cell>
62
+ </mds-table-row>
63
+ </mds-table-body>
64
+ </mds-table>
65
+
66
+ <!-- CORRECT -->
67
+ <mds-table interactive selectable>
68
+ <mds-table-body>
69
+ <mds-table-row value="p-01">
70
+ <mds-table-cell><mds-text typography="detail">Pratica 01</mds-text></mds-table-cell>
71
+ </mds-table-row>
72
+ </mds-table-body>
73
+ </mds-table>
74
+ ```
75
+
76
+ #### Do Not Listen for Row Events to Track Selection - Use the Table Event
77
+
78
+ `<mds-table-row>` does not emit a public selection event. The table-level `mdsTableSelectionChange` event is the single aggregated source of truth for which rows are selected. Polling each row's `selected` attribute via MutationObserver or querying the DOM on every click is fragile and bypasses the table's own selection bookkeeping.
79
+
80
+ ```html
81
+ <!-- INCORRECT -->
82
+ <script>
83
+ document.querySelectorAll('mds-table-row').forEach((row) => {
84
+ row.addEventListener('click', () => {
85
+ console.log('selezionato:', row.selected);
86
+ });
87
+ });
88
+ </script>
89
+
90
+ <!-- CORRECT -->
91
+ <script>
92
+ document.querySelector('mds-table').addEventListener('mdsTableSelectionChange', (e) => {
93
+ console.log('Righe selezionate:', e.detail.rows);
94
+ });
95
+ </script>
96
+ ```
97
+
98
+ #### Do Not Slot Icon-Only Action Buttons Without an Accessible Name
99
+
100
+ Buttons in the `action` slot render without visible labels. An `<mds-button>` that has neither `label` nor `aria-label` / `title` falls back to the last segment of its icon slug (`delete`), which names the icon, not the action. Always provide `title` or `aria-label` on every action button.
101
+
102
+ ```html
103
+ <!-- INCORRECT -->
104
+ <mds-table-row>
105
+ <mds-table-cell><mds-text typography="detail">Documento.pdf</mds-text></mds-table-cell>
106
+ <mds-button slot="action" icon="mi/baseline/delete" variant="error" tone="text"></mds-button>
107
+ </mds-table-row>
108
+
109
+ <!-- CORRECT -->
110
+ <mds-table-row>
111
+ <mds-table-cell><mds-text typography="detail">Documento.pdf</mds-text></mds-table-cell>
112
+ <mds-button
113
+ slot="action"
114
+ icon="mi/baseline/delete"
115
+ title="Elimina documento"
116
+ variant="error"
117
+ tone="text"
118
+ ></mds-button>
119
+ </mds-table-row>
120
+ ```
121
+
122
+ #### Do Not Override Row Appearance with Inline Styles or Undocumented Selectors
123
+
124
+ The only supported customization surface is the five `--mds-table-row-*` CSS custom properties. Targeting internal shadow parts or setting `background-color` / `color` directly on the host element bypasses the interactive and selected state logic and will break on minor releases.
125
+
126
+ ```css
127
+ /* INCORRECT */
128
+ mds-table-row {
129
+ background-color: rgb(var(--magma-surface-raised));
130
+ color: rgb(var(--magma-text-default));
131
+ }
132
+ mds-table-row::part(actions) {
133
+ gap: 4px;
134
+ }
135
+
136
+ /* CORRECT */
137
+ mds-table-row {
138
+ --mds-table-row-background-alt: rgb(var(--magma-surface-inverse));
139
+ --mds-table-row-color-alt: rgb(var(--magma-on-inverse));
140
+ --mds-table-row-actions-gap: calc(var(--spacing) * 200);
141
+ }
142
+ ```