@maggioli-design-system/magma 2.1.0 → 2.2.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 (970) hide show
  1. package/AGENTS.md +2 -1
  2. package/agents/install.md +17 -0
  3. package/agents/reporting.md +118 -0
  4. package/dist/cjs/index.cjs.js +62 -0
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/magma-components.cjs.js +1 -1
  7. package/dist/cjs/mds-banner_3.cjs.entry.js +3 -3
  8. package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
  9. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  10. package/dist/cjs/mds-button_3.cjs.entry.js +76 -24
  11. package/dist/cjs/mds-calendar_2.cjs.entry.js +5 -5
  12. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  13. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  14. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  15. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  16. package/dist/cjs/mds-card.cjs.entry.js +1 -1
  17. package/dist/cjs/mds-details.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
  19. package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-entity.cjs.entry.js +1 -1
  21. package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
  22. package/dist/cjs/mds-file.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
  24. package/dist/cjs/mds-filter.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-header-bar.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-header.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  28. package/dist/cjs/mds-hr.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  30. package/dist/cjs/mds-input-date.cjs.entry.js +2 -2
  31. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  32. package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-input-select.cjs.entry.js +2 -2
  35. package/dist/cjs/mds-input-switch_2.cjs.entry.js +2 -2
  36. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  37. package/dist/cjs/mds-input-upload.cjs.entry.js +5 -5
  38. package/dist/cjs/mds-input.cjs.entry.js +2 -2
  39. package/dist/cjs/mds-keyboard-key.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-keyboard.cjs.entry.js +1 -1
  41. package/dist/cjs/mds-kpi-item.cjs.entry.js +1 -1
  42. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  43. package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
  44. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  45. package/dist/cjs/mds-mention.cjs.entry.js +1 -1
  46. package/dist/cjs/mds-modal.cjs.entry.js +3 -3
  47. package/dist/cjs/mds-note.cjs.entry.js +1 -1
  48. package/dist/cjs/mds-notification.cjs.entry.js +1 -1
  49. package/dist/cjs/mds-paginator-item.cjs.entry.js +1 -1
  50. package/dist/cjs/mds-paginator.cjs.entry.js +1 -1
  51. package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
  52. package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
  53. package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
  54. package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
  55. package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
  56. package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
  57. package/dist/cjs/mds-pref-mode.cjs.entry.js +2 -2
  58. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +1 -1
  59. package/dist/cjs/mds-pref-theme.cjs.entry.js +1 -1
  60. package/dist/cjs/mds-pref.cjs.entry.js +1 -1
  61. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +1 -1
  62. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +1 -1
  63. package/dist/cjs/mds-price-table-features.cjs.entry.js +1 -1
  64. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  65. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
  66. package/dist/cjs/mds-price-table-list.cjs.entry.js +1 -1
  67. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  68. package/dist/cjs/mds-progress_2.cjs.entry.js +2 -2
  69. package/dist/cjs/mds-push-notification-item.cjs.entry.js +2 -2
  70. package/dist/cjs/mds-push-notification.cjs.entry.js +1 -1
  71. package/dist/cjs/mds-quote.cjs.entry.js +1 -1
  72. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
  73. package/dist/cjs/mds-radial-menu.cjs.entry.js +1 -1
  74. package/dist/cjs/mds-separator.cjs.entry.js +1 -1
  75. package/dist/cjs/mds-status-bar.cjs.entry.js +1 -1
  76. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +1 -1
  77. package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
  78. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +1 -1
  79. package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
  80. package/dist/cjs/mds-tab_2.cjs.entry.js +27 -5
  81. package/dist/cjs/mds-table-body.cjs.entry.js +1 -1
  82. package/dist/cjs/mds-table-footer.cjs.entry.js +1 -1
  83. package/dist/cjs/mds-table-header-cell.cjs.entry.js +1 -1
  84. package/dist/cjs/mds-table-header.cjs.entry.js +1 -1
  85. package/dist/cjs/mds-table-row.cjs.entry.js +21 -15
  86. package/dist/cjs/mds-table.cjs.entry.js +1 -1
  87. package/dist/cjs/mds-text.cjs.entry.js +1 -1
  88. package/dist/cjs/mds-toast.cjs.entry.js +1 -1
  89. package/dist/cjs/mds-tooltip.cjs.entry.js +1 -1
  90. package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
  91. package/dist/cjs/mds-tree.cjs.entry.js +1 -1
  92. package/dist/cjs/mds-url-view.cjs.entry.js +1 -1
  93. package/dist/cjs/mds-usage.cjs.entry.js +1 -1
  94. package/dist/cjs/mds-video-wall.cjs.entry.js +1 -1
  95. package/dist/cjs/mds-zero.cjs.entry.js +1 -1
  96. package/dist/collection/common/navigation.js +60 -0
  97. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  98. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  99. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  100. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  101. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  102. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  103. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  104. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  105. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  106. package/dist/collection/components/mds-author/documentation.json +1 -1
  107. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  108. package/dist/collection/components/mds-avatar/documentation.json +1 -1
  109. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  110. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  111. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  112. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  113. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  114. package/dist/collection/components/mds-badge/documentation.json +1 -1
  115. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  116. package/dist/collection/components/mds-banner/documentation.json +1 -1
  117. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  118. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  119. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  120. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  121. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  122. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  123. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  124. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  125. package/dist/collection/components/mds-button/AGENTS.md +5 -5
  126. package/dist/collection/components/mds-button/antipattern.md +19 -1
  127. package/dist/collection/components/mds-button/documentation.json +5 -5
  128. package/dist/collection/components/mds-button/mds-button.css +13 -0
  129. package/dist/collection/components/mds-button/mds-button.js +75 -22
  130. package/dist/collection/components/mds-button/pattern.md +27 -1
  131. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
  133. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  134. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  135. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  136. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  137. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-calendar/documentation.json +1 -1
  139. package/dist/collection/components/mds-calendar/mds-calendar.js +4 -4
  140. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  141. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  142. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  143. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  144. package/dist/collection/components/mds-card/documentation.json +1 -1
  145. package/dist/collection/components/mds-card/mds-card.js +1 -1
  146. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  147. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  148. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  149. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  150. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  151. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  152. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  153. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  154. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  155. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  156. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  157. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  158. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  159. package/dist/collection/components/mds-chip/documentation.json +1 -1
  160. package/dist/collection/components/mds-chip/mds-chip.js +2 -2
  161. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  162. package/dist/collection/components/mds-details/documentation.json +1 -1
  163. package/dist/collection/components/mds-details/mds-details.js +1 -1
  164. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  165. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  166. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  167. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  168. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  169. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  170. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  171. package/dist/collection/components/mds-entity/documentation.json +1 -1
  172. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  173. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  174. package/dist/collection/components/mds-file/documentation.json +1 -1
  175. package/dist/collection/components/mds-file/mds-file.js +1 -1
  176. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  177. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  178. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  179. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  180. package/dist/collection/components/mds-filter/documentation.json +1 -1
  181. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  182. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  183. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  184. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  185. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  186. package/dist/collection/components/mds-header/documentation.json +1 -1
  187. package/dist/collection/components/mds-header/mds-header.js +1 -1
  188. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  189. package/dist/collection/components/mds-header-bar/documentation.json +1 -1
  190. package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
  191. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  192. package/dist/collection/components/mds-help/documentation.json +1 -1
  193. package/dist/collection/components/mds-help/mds-help.js +1 -1
  194. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  195. package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
  196. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  197. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  198. package/dist/collection/components/mds-hr/documentation.json +1 -1
  199. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  200. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  201. package/dist/collection/components/mds-icon/documentation.json +1 -1
  202. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  203. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  204. package/dist/collection/components/mds-img/documentation.json +1 -1
  205. package/dist/collection/components/mds-input/AGENTS.md +1 -1
  206. package/dist/collection/components/mds-input/documentation.json +1 -1
  207. package/dist/collection/components/mds-input/mds-input.js +2 -2
  208. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  209. package/dist/collection/components/mds-input-date/documentation.json +1 -1
  210. package/dist/collection/components/mds-input-date/mds-input-date.js +2 -2
  211. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  212. package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
  213. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  214. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  215. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  216. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  217. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  218. package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
  219. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  220. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  221. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  222. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  223. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  224. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  225. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  226. package/dist/collection/components/mds-input-select/documentation.json +1 -1
  227. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  228. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  229. package/dist/collection/components/mds-input-switch/documentation.json +1 -1
  230. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  231. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  232. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  233. package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
  234. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  235. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  236. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  237. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  238. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  239. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  240. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  241. package/dist/collection/components/mds-keyboard/documentation.json +1 -1
  242. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  243. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  244. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  245. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  246. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  247. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  248. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  249. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  250. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  251. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  252. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  253. package/dist/collection/components/mds-label/documentation.json +1 -1
  254. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  255. package/dist/collection/components/mds-list/documentation.json +1 -1
  256. package/dist/collection/components/mds-list/mds-list.js +1 -1
  257. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  258. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  259. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  260. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  261. package/dist/collection/components/mds-mention/documentation.json +1 -1
  262. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  263. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  264. package/dist/collection/components/mds-modal/documentation.json +1 -1
  265. package/dist/collection/components/mds-modal/mds-modal.js +3 -3
  266. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-note/documentation.json +1 -1
  268. package/dist/collection/components/mds-note/mds-note.js +1 -1
  269. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  270. package/dist/collection/components/mds-notification/documentation.json +1 -1
  271. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  272. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  273. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  274. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  275. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  276. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  277. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  278. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  279. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  280. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  281. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  282. package/dist/collection/components/mds-pref/documentation.json +1 -1
  283. package/dist/collection/components/mds-pref/mds-pref.js +1 -1
  284. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  285. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  286. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  287. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  288. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  289. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  290. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  291. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  292. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  293. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  294. package/dist/collection/components/mds-pref-language/documentation.json +1 -1
  295. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  296. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  297. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  298. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  299. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  300. package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
  301. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +2 -2
  302. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  303. package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
  304. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
  305. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  306. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  307. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  308. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  309. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  310. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  311. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  312. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  313. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  314. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  315. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  316. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  317. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  318. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  319. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  320. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  321. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  322. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  323. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  324. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  325. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  326. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  327. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  328. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  329. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  330. package/dist/collection/components/mds-progress/documentation.json +1 -1
  331. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  332. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  333. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  334. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  335. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  336. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  337. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  338. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  339. package/dist/collection/components/mds-quote/documentation.json +1 -1
  340. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  341. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  342. package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
  343. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  344. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  346. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  347. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  348. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  349. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  350. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-separator/documentation.json +1 -1
  352. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  353. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  354. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  355. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  356. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  357. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  358. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  359. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  360. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  361. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  362. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  363. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  364. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  365. package/dist/collection/components/mds-tab/AGENTS.md +5 -4
  366. package/dist/collection/components/mds-tab/antipattern.md +27 -0
  367. package/dist/collection/components/mds-tab/documentation.json +6 -6
  368. package/dist/collection/components/mds-tab/mds-tab.css +10 -1
  369. package/dist/collection/components/mds-tab/mds-tab.js +18 -4
  370. package/dist/collection/components/mds-tab/pattern.md +33 -1
  371. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  372. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  373. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  374. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  375. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  376. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  377. package/dist/collection/components/mds-tab-item/AGENTS.md +5 -4
  378. package/dist/collection/components/mds-tab-item/antipattern.md +22 -1
  379. package/dist/collection/components/mds-tab-item/documentation.json +5 -5
  380. package/dist/collection/components/mds-tab-item/mds-tab-item.js +15 -3
  381. package/dist/collection/components/mds-tab-item/pattern.md +25 -7
  382. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  383. package/dist/collection/components/mds-table/documentation.json +1 -1
  384. package/dist/collection/components/mds-table/mds-table.js +1 -1
  385. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  386. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  387. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  388. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  389. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  390. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  391. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  392. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  393. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  394. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  395. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  396. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  397. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  398. package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
  399. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  400. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  401. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  402. package/dist/collection/components/mds-table-row/mds-table-row.js +22 -16
  403. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  404. package/dist/collection/components/mds-text/documentation.json +1 -1
  405. package/dist/collection/components/mds-text/mds-text.js +1 -1
  406. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  407. package/dist/collection/components/mds-toast/documentation.json +1 -1
  408. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  409. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  410. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  411. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  412. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  413. package/dist/collection/components/mds-tree/documentation.json +1 -1
  414. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  415. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  416. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  417. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  418. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  419. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  420. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  421. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  422. package/dist/collection/components/mds-usage/documentation.json +1 -1
  423. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  424. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  425. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  426. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  427. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  428. package/dist/collection/components/mds-zero/documentation.json +1 -1
  429. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  430. package/dist/collection/index.js +11 -4
  431. package/dist/components/index.js +1 -1
  432. package/dist/components/mds-accordion-item.js +1 -1
  433. package/dist/components/mds-accordion-timer-item.js +1 -1
  434. package/dist/components/mds-avatar-stack-item.js +1 -1
  435. package/dist/components/mds-avatar-stack.js +1 -1
  436. package/dist/components/mds-avatar.js +1 -1
  437. package/dist/components/mds-badge.js +1 -1
  438. package/dist/components/mds-banner.js +1 -1
  439. package/dist/components/mds-benchmark-bar.js +1 -1
  440. package/dist/components/mds-bibliography.js +1 -1
  441. package/dist/components/mds-breadcrumb-item.js +1 -1
  442. package/dist/components/mds-breadcrumb.js +1 -1
  443. package/dist/components/mds-button-dropdown.js +1 -1
  444. package/dist/components/mds-button-group.js +1 -1
  445. package/dist/components/mds-button.js +1 -1
  446. package/dist/components/mds-calendar-cell.js +1 -1
  447. package/dist/components/mds-calendar.js +1 -1
  448. package/dist/components/mds-card-content.js +1 -1
  449. package/dist/components/mds-card-footer.js +1 -1
  450. package/dist/components/mds-card-header.js +1 -1
  451. package/dist/components/mds-card-media.js +1 -1
  452. package/dist/components/mds-card.js +1 -1
  453. package/dist/components/mds-chip.js +1 -1
  454. package/dist/components/mds-details.js +1 -1
  455. package/dist/components/mds-dropdown.js +1 -1
  456. package/dist/components/mds-emoji.js +1 -1
  457. package/dist/components/mds-entity.js +1 -1
  458. package/dist/components/mds-file-preview.js +1 -1
  459. package/dist/components/mds-file.js +3 -3
  460. package/dist/components/mds-filter-item.js +1 -1
  461. package/dist/components/mds-filter.js +1 -1
  462. package/dist/components/mds-header-bar.js +1 -1
  463. package/dist/components/mds-header.js +1 -1
  464. package/dist/components/mds-help.js +1 -1
  465. package/dist/components/mds-horizontal-scroll.js +1 -1
  466. package/dist/components/mds-hr.js +1 -1
  467. package/dist/components/mds-icon.js +1 -1
  468. package/dist/components/mds-img.js +1 -1
  469. package/dist/components/mds-input-date-range-preselection.js +1 -1
  470. package/dist/components/mds-input-date-range.js +1 -1
  471. package/dist/components/mds-input-date.js +1 -1
  472. package/dist/components/mds-input-field.js +1 -1
  473. package/dist/components/mds-input-otp.js +1 -1
  474. package/dist/components/mds-input-range.js +1 -1
  475. package/dist/components/mds-input-select.js +1 -1
  476. package/dist/components/mds-input-switch.js +1 -1
  477. package/dist/components/mds-input-tip-item.js +1 -1
  478. package/dist/components/mds-input-tip.js +1 -1
  479. package/dist/components/mds-input-upload.js +1 -1
  480. package/dist/components/mds-input.js +1 -1
  481. package/dist/components/mds-keyboard-key.js +1 -1
  482. package/dist/components/mds-keyboard.js +1 -1
  483. package/dist/components/mds-kpi-item.js +1 -1
  484. package/dist/components/mds-kpi.js +1 -1
  485. package/dist/components/mds-label.js +1 -1
  486. package/dist/components/mds-list-item.js +1 -1
  487. package/dist/components/mds-list.js +1 -1
  488. package/dist/components/mds-mention.js +1 -1
  489. package/dist/components/mds-modal.js +1 -1
  490. package/dist/components/mds-note.js +1 -1
  491. package/dist/components/mds-notification.js +1 -1
  492. package/dist/components/mds-paginator-item.js +1 -1
  493. package/dist/components/mds-paginator.js +1 -1
  494. package/dist/components/mds-policy-ai.js +1 -1
  495. package/dist/components/mds-pref-animation.js +1 -1
  496. package/dist/components/mds-pref-consumption.js +1 -1
  497. package/dist/components/mds-pref-contrast.js +1 -1
  498. package/dist/components/mds-pref-language-item.js +1 -1
  499. package/dist/components/mds-pref-language.js +1 -1
  500. package/dist/components/mds-pref-mode.js +1 -1
  501. package/dist/components/mds-pref-theme-item.js +1 -1
  502. package/dist/components/mds-pref-theme.js +1 -1
  503. package/dist/components/mds-pref.js +1 -1
  504. package/dist/components/mds-price-table-features-cell.js +1 -1
  505. package/dist/components/mds-price-table-features-row.js +1 -1
  506. package/dist/components/mds-price-table-features.js +1 -1
  507. package/dist/components/mds-price-table-header.js +1 -1
  508. package/dist/components/mds-price-table-list-item.js +1 -1
  509. package/dist/components/mds-price-table-list.js +1 -1
  510. package/dist/components/mds-price-table.js +1 -1
  511. package/dist/components/mds-progress.js +1 -1
  512. package/dist/components/mds-push-notification-item.js +1 -1
  513. package/dist/components/mds-push-notification.js +1 -1
  514. package/dist/components/mds-quote.js +1 -1
  515. package/dist/components/mds-radial-menu-item.js +1 -1
  516. package/dist/components/mds-radial-menu.js +1 -1
  517. package/dist/components/mds-radial-progress.js +1 -1
  518. package/dist/components/mds-separator.js +1 -1
  519. package/dist/components/mds-spinner.js +1 -1
  520. package/dist/components/mds-status-bar.js +1 -1
  521. package/dist/components/mds-stepper-bar-item.js +1 -1
  522. package/dist/components/mds-stepper-bar.js +1 -1
  523. package/dist/components/mds-tab-bar-item.js +1 -1
  524. package/dist/components/mds-tab-bar.js +1 -1
  525. package/dist/components/mds-tab-item.js +1 -1
  526. package/dist/components/mds-tab.js +1 -1
  527. package/dist/components/mds-table-body.js +1 -1
  528. package/dist/components/mds-table-cell.js +1 -1
  529. package/dist/components/mds-table-footer.js +1 -1
  530. package/dist/components/mds-table-header-cell.js +1 -1
  531. package/dist/components/mds-table-header.js +1 -1
  532. package/dist/components/mds-table-row.js +1 -1
  533. package/dist/components/mds-table.js +1 -1
  534. package/dist/components/mds-text.js +1 -1
  535. package/dist/components/mds-toast.js +1 -1
  536. package/dist/components/mds-tooltip.js +1 -1
  537. package/dist/components/mds-tree-item.js +1 -1
  538. package/dist/components/mds-tree.js +1 -1
  539. package/dist/components/mds-url-view.js +1 -1
  540. package/dist/components/mds-usage.js +1 -1
  541. package/dist/components/mds-video-wall.js +1 -1
  542. package/dist/components/mds-zero.js +1 -1
  543. package/dist/components/{p-Dpf8NWF9.js → p-B3Z2Goa-.js} +1 -1
  544. package/dist/components/p-B3dWp2vS.js +1 -0
  545. package/dist/components/p-B6FOPjps.js +1 -0
  546. package/dist/components/{p-CIcshx6K.js → p-B7CR1EtF.js} +1 -1
  547. package/dist/components/{p-C3Sn8bRc.js → p-BBPQjm8h.js} +1 -1
  548. package/dist/components/{p-CsL9U6eU.js → p-BCiJ4PRD.js} +1 -1
  549. package/dist/components/p-BHJDW5JC.js +1 -0
  550. package/dist/components/p-BSs0SO-j.js +1 -0
  551. package/dist/components/{p-DR46G4-6.js → p-BY6Qu1V4.js} +1 -1
  552. package/dist/components/{p-CmHMhHMt.js → p-BhmePCyA.js} +1 -1
  553. package/dist/components/{p-DwA-5c8G.js → p-BpGzrg1C.js} +1 -1
  554. package/dist/components/{p-DmPLOktp.js → p-Bv2IVRzI.js} +1 -1
  555. package/dist/components/{p-CGkSDkOY.js → p-C-J9fW51.js} +1 -1
  556. package/dist/components/{p-BW24ByN-.js → p-C7EyV0z3.js} +1 -1
  557. package/dist/components/{p-akEzGmDD.js → p-CAa2kI72.js} +1 -1
  558. package/dist/components/{p-BVw5aqzn.js → p-CBV19-8O.js} +1 -1
  559. package/dist/components/{p-B05zwjTY.js → p-CCv9tBZK.js} +1 -1
  560. package/dist/components/{p-Cyj1BFxx.js → p-CDf607TB.js} +1 -1
  561. package/dist/components/{p-x_c_51aL.js → p-CEMAGNly.js} +1 -1
  562. package/dist/components/{p-BWpSxp3h.js → p-CGYDZBMv.js} +1 -1
  563. package/dist/components/{p-DebgFlHq.js → p-CHAvkoj3.js} +1 -1
  564. package/dist/components/{p-BzvYQBdf.js → p-CMFUEkte.js} +1 -1
  565. package/dist/components/p-CR2GGKXK.js +1 -0
  566. package/dist/components/{p-1aH7xiMs.js → p-Cb5kuO7B.js} +1 -1
  567. package/dist/components/{p-BOu_NOgd.js → p-CiNNzAa3.js} +1 -1
  568. package/dist/components/{p-BXPIlPIF.js → p-DGDdPv_Y.js} +1 -1
  569. package/dist/components/{p-Cnt6G6GK.js → p-D_wD-Pyk.js} +1 -1
  570. package/dist/components/{p-K3QNYRhf.js → p-HR2JwDjG.js} +1 -1
  571. package/dist/components/{p-Dws02cT2.js → p-LE7qQIFR.js} +2 -2
  572. package/dist/components/{p-bDVBqkn0.js → p-vgIKH234.js} +1 -1
  573. package/dist/documentation.json +14 -14
  574. package/dist/esm/index.js +62 -1
  575. package/dist/esm/loader.js +1 -1
  576. package/dist/esm/magma-components.js +1 -1
  577. package/dist/esm/mds-banner_3.entry.js +3 -3
  578. package/dist/esm/mds-button-dropdown.entry.js +1 -1
  579. package/dist/esm/mds-button-group.entry.js +1 -1
  580. package/dist/esm/mds-button_3.entry.js +77 -25
  581. package/dist/esm/mds-calendar_2.entry.js +5 -5
  582. package/dist/esm/mds-card-content.entry.js +1 -1
  583. package/dist/esm/mds-card-footer.entry.js +1 -1
  584. package/dist/esm/mds-card-header.entry.js +1 -1
  585. package/dist/esm/mds-card-media.entry.js +1 -1
  586. package/dist/esm/mds-card.entry.js +1 -1
  587. package/dist/esm/mds-details.entry.js +1 -1
  588. package/dist/esm/mds-dropdown.entry.js +2 -2
  589. package/dist/esm/mds-emoji.entry.js +1 -1
  590. package/dist/esm/mds-entity.entry.js +1 -1
  591. package/dist/esm/mds-file-preview.entry.js +2 -2
  592. package/dist/esm/mds-file.entry.js +1 -1
  593. package/dist/esm/mds-filter-item.entry.js +1 -1
  594. package/dist/esm/mds-filter.entry.js +1 -1
  595. package/dist/esm/mds-header-bar.entry.js +1 -1
  596. package/dist/esm/mds-header.entry.js +1 -1
  597. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  598. package/dist/esm/mds-hr.entry.js +1 -1
  599. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  600. package/dist/esm/mds-input-date.entry.js +2 -2
  601. package/dist/esm/mds-input-field.entry.js +1 -1
  602. package/dist/esm/mds-input-otp.entry.js +1 -1
  603. package/dist/esm/mds-input-range.entry.js +1 -1
  604. package/dist/esm/mds-input-select.entry.js +2 -2
  605. package/dist/esm/mds-input-switch_2.entry.js +2 -2
  606. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  607. package/dist/esm/mds-input-upload.entry.js +5 -5
  608. package/dist/esm/mds-input.entry.js +2 -2
  609. package/dist/esm/mds-keyboard-key.entry.js +1 -1
  610. package/dist/esm/mds-keyboard.entry.js +1 -1
  611. package/dist/esm/mds-kpi-item.entry.js +1 -1
  612. package/dist/esm/mds-kpi.entry.js +1 -1
  613. package/dist/esm/mds-list-item.entry.js +1 -1
  614. package/dist/esm/mds-list.entry.js +1 -1
  615. package/dist/esm/mds-mention.entry.js +1 -1
  616. package/dist/esm/mds-modal.entry.js +3 -3
  617. package/dist/esm/mds-note.entry.js +1 -1
  618. package/dist/esm/mds-notification.entry.js +1 -1
  619. package/dist/esm/mds-paginator-item.entry.js +1 -1
  620. package/dist/esm/mds-paginator.entry.js +1 -1
  621. package/dist/esm/mds-policy-ai.entry.js +1 -1
  622. package/dist/esm/mds-pref-animation.entry.js +1 -1
  623. package/dist/esm/mds-pref-consumption.entry.js +1 -1
  624. package/dist/esm/mds-pref-contrast.entry.js +1 -1
  625. package/dist/esm/mds-pref-language-item.entry.js +1 -1
  626. package/dist/esm/mds-pref-language.entry.js +1 -1
  627. package/dist/esm/mds-pref-mode.entry.js +2 -2
  628. package/dist/esm/mds-pref-theme-item.entry.js +1 -1
  629. package/dist/esm/mds-pref-theme.entry.js +1 -1
  630. package/dist/esm/mds-pref.entry.js +1 -1
  631. package/dist/esm/mds-price-table-features-cell.entry.js +1 -1
  632. package/dist/esm/mds-price-table-features-row.entry.js +1 -1
  633. package/dist/esm/mds-price-table-features.entry.js +1 -1
  634. package/dist/esm/mds-price-table-header.entry.js +1 -1
  635. package/dist/esm/mds-price-table-list-item.entry.js +1 -1
  636. package/dist/esm/mds-price-table-list.entry.js +1 -1
  637. package/dist/esm/mds-price-table.entry.js +1 -1
  638. package/dist/esm/mds-progress_2.entry.js +2 -2
  639. package/dist/esm/mds-push-notification-item.entry.js +2 -2
  640. package/dist/esm/mds-push-notification.entry.js +1 -1
  641. package/dist/esm/mds-quote.entry.js +1 -1
  642. package/dist/esm/mds-radial-menu-item.entry.js +1 -1
  643. package/dist/esm/mds-radial-menu.entry.js +1 -1
  644. package/dist/esm/mds-separator.entry.js +1 -1
  645. package/dist/esm/mds-status-bar.entry.js +1 -1
  646. package/dist/esm/mds-stepper-bar-item.entry.js +1 -1
  647. package/dist/esm/mds-stepper-bar.entry.js +1 -1
  648. package/dist/esm/mds-tab-bar-item.entry.js +1 -1
  649. package/dist/esm/mds-tab-bar.entry.js +1 -1
  650. package/dist/esm/mds-tab_2.entry.js +27 -5
  651. package/dist/esm/mds-table-body.entry.js +1 -1
  652. package/dist/esm/mds-table-footer.entry.js +1 -1
  653. package/dist/esm/mds-table-header-cell.entry.js +1 -1
  654. package/dist/esm/mds-table-header.entry.js +1 -1
  655. package/dist/esm/mds-table-row.entry.js +22 -16
  656. package/dist/esm/mds-table.entry.js +1 -1
  657. package/dist/esm/mds-text.entry.js +1 -1
  658. package/dist/esm/mds-toast.entry.js +1 -1
  659. package/dist/esm/mds-tooltip.entry.js +1 -1
  660. package/dist/esm/mds-tree-item.entry.js +1 -1
  661. package/dist/esm/mds-tree.entry.js +1 -1
  662. package/dist/esm/mds-url-view.entry.js +1 -1
  663. package/dist/esm/mds-usage.entry.js +1 -1
  664. package/dist/esm/mds-video-wall.entry.js +1 -1
  665. package/dist/esm/mds-zero.entry.js +1 -1
  666. package/dist/esm-es5/index.js +37 -20
  667. package/dist/esm-es5/loader.js +1 -1
  668. package/dist/esm-es5/magma-components.js +1 -1
  669. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  670. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  671. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  672. package/dist/esm-es5/mds-button_3.entry.js +28 -6
  673. package/dist/esm-es5/mds-calendar_2.entry.js +2 -2
  674. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  675. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  676. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  677. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  678. package/dist/esm-es5/mds-card.entry.js +1 -1
  679. package/dist/esm-es5/mds-details.entry.js +1 -1
  680. package/dist/esm-es5/mds-dropdown.entry.js +1 -1
  681. package/dist/esm-es5/mds-emoji.entry.js +1 -1
  682. package/dist/esm-es5/mds-entity.entry.js +1 -1
  683. package/dist/esm-es5/mds-file-preview.entry.js +1 -1
  684. package/dist/esm-es5/mds-file.entry.js +1 -1
  685. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  686. package/dist/esm-es5/mds-filter.entry.js +1 -1
  687. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  688. package/dist/esm-es5/mds-header.entry.js +4 -4
  689. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  690. package/dist/esm-es5/mds-hr.entry.js +1 -1
  691. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  692. package/dist/esm-es5/mds-input-date.entry.js +2 -2
  693. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  694. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  695. package/dist/esm-es5/mds-input-range.entry.js +1 -1
  696. package/dist/esm-es5/mds-input-select.entry.js +1 -1
  697. package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
  698. package/dist/esm-es5/mds-input-tip_2.entry.js +2 -2
  699. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  700. package/dist/esm-es5/mds-input.entry.js +1 -1
  701. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  702. package/dist/esm-es5/mds-keyboard.entry.js +1 -1
  703. package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
  704. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  705. package/dist/esm-es5/mds-list-item.entry.js +1 -1
  706. package/dist/esm-es5/mds-list.entry.js +1 -1
  707. package/dist/esm-es5/mds-mention.entry.js +1 -1
  708. package/dist/esm-es5/mds-modal.entry.js +1 -1
  709. package/dist/esm-es5/mds-note.entry.js +1 -1
  710. package/dist/esm-es5/mds-notification.entry.js +1 -1
  711. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  712. package/dist/esm-es5/mds-paginator.entry.js +1 -1
  713. package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
  714. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  715. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  716. package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
  717. package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
  718. package/dist/esm-es5/mds-pref-language.entry.js +1 -1
  719. package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
  720. package/dist/esm-es5/mds-pref-theme-item.entry.js +1 -1
  721. package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
  722. package/dist/esm-es5/mds-pref.entry.js +1 -1
  723. package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
  724. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  725. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  726. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  727. package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
  728. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  729. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  730. package/dist/esm-es5/mds-progress_2.entry.js +2 -2
  731. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  732. package/dist/esm-es5/mds-push-notification.entry.js +1 -1
  733. package/dist/esm-es5/mds-quote.entry.js +1 -1
  734. package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
  735. package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
  736. package/dist/esm-es5/mds-separator.entry.js +1 -1
  737. package/dist/esm-es5/mds-status-bar.entry.js +1 -1
  738. package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
  739. package/dist/esm-es5/mds-stepper-bar.entry.js +2 -2
  740. package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -3
  741. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  742. package/dist/esm-es5/mds-tab_2.entry.js +15 -4
  743. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  744. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  745. package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
  746. package/dist/esm-es5/mds-table-header.entry.js +4 -4
  747. package/dist/esm-es5/mds-table-row.entry.js +12 -4
  748. package/dist/esm-es5/mds-table.entry.js +2 -2
  749. package/dist/esm-es5/mds-text.entry.js +1 -1
  750. package/dist/esm-es5/mds-toast.entry.js +1 -1
  751. package/dist/esm-es5/mds-tooltip.entry.js +1 -1
  752. package/dist/esm-es5/mds-tree-item.entry.js +1 -1
  753. package/dist/esm-es5/mds-tree.entry.js +1 -1
  754. package/dist/esm-es5/mds-url-view.entry.js +1 -1
  755. package/dist/esm-es5/mds-usage.entry.js +1 -1
  756. package/dist/esm-es5/mds-video-wall.entry.js +1 -1
  757. package/dist/esm-es5/mds-zero.entry.js +1 -1
  758. package/dist/hydrate/index.js +300 -155
  759. package/dist/hydrate/index.mjs +300 -155
  760. package/dist/magma-components/index.esm.js +1 -1
  761. package/dist/magma-components/magma-components.esm.js +1 -1
  762. package/dist/magma-components/{p-2723caa7.system.entry.js → p-019e8a95.system.entry.js} +2 -2
  763. package/dist/magma-components/{p-835fc007.entry.js → p-01dd1f55.entry.js} +1 -1
  764. package/dist/magma-components/{p-a64bbb36.system.entry.js → p-02119624.system.entry.js} +3 -3
  765. package/dist/magma-components/{p-d2f134ac.entry.js → p-02fc7592.entry.js} +1 -1
  766. package/dist/magma-components/{p-b295e4ab.system.entry.js → p-03cd0069.system.entry.js} +1 -1
  767. package/dist/magma-components/p-05fbca60.system.entry.js +37 -0
  768. package/dist/magma-components/{p-b431ca8a.entry.js → p-06d9af89.entry.js} +1 -1
  769. package/dist/magma-components/p-07e4701d.entry.js +1 -0
  770. package/dist/magma-components/{p-bab4c75e.system.entry.js → p-081a19b1.system.entry.js} +5 -5
  771. package/dist/magma-components/p-09d0b6a8.entry.js +1 -0
  772. package/dist/magma-components/{p-d282a929.entry.js → p-0b300de7.entry.js} +1 -1
  773. package/dist/magma-components/{p-0a551e86.entry.js → p-0d3c3de9.entry.js} +1 -1
  774. package/dist/magma-components/{p-3d56e3f4.entry.js → p-115a5e47.entry.js} +1 -1
  775. package/dist/magma-components/p-1314d80e.entry.js +1 -0
  776. package/dist/magma-components/{p-8aafbfdf.system.entry.js → p-133a6ffd.system.entry.js} +1 -1
  777. package/dist/magma-components/{p-0a904a12.entry.js → p-13db55de.entry.js} +1 -1
  778. package/dist/magma-components/{p-2c44c961.system.entry.js → p-1a2731ec.system.entry.js} +4 -4
  779. package/dist/magma-components/{p-5a911e7b.system.entry.js → p-1a602906.system.entry.js} +2 -2
  780. package/dist/magma-components/{p-ec9cc7b9.entry.js → p-1c975156.entry.js} +1 -1
  781. package/dist/magma-components/{p-3e0eed90.system.entry.js → p-1d154234.system.entry.js} +3 -3
  782. package/dist/magma-components/{p-d9804d2f.entry.js → p-1d9d7666.entry.js} +1 -1
  783. package/dist/magma-components/{p-ccb14076.system.entry.js → p-1ddaaa6d.system.entry.js} +1 -1
  784. package/dist/magma-components/{p-7afec7ee.entry.js → p-21aa0a74.entry.js} +1 -1
  785. package/dist/magma-components/{p-106f39c6.entry.js → p-2399b7e8.entry.js} +1 -1
  786. package/dist/magma-components/{p-92d9b537.entry.js → p-25407d89.entry.js} +1 -1
  787. package/dist/magma-components/{p-91ff1560.system.entry.js → p-27547a7a.system.entry.js} +2 -2
  788. package/dist/magma-components/{p-03c2060d.entry.js → p-289a874e.entry.js} +1 -1
  789. package/dist/magma-components/{p-77615947.system.entry.js → p-2be3bd23.system.entry.js} +1 -1
  790. package/dist/magma-components/{p-4dd6a39b.entry.js → p-2c586431.entry.js} +1 -1
  791. package/dist/magma-components/{p-832883c4.entry.js → p-2d324edc.entry.js} +1 -1
  792. package/dist/magma-components/{p-5c94e0c2.system.entry.js → p-2da2cdf3.system.entry.js} +2 -2
  793. package/dist/magma-components/{p-dcc3be64.system.entry.js → p-2e01e057.system.entry.js} +2 -2
  794. package/dist/magma-components/{p-2ec0db8e.entry.js → p-2e9b80e8.entry.js} +1 -1
  795. package/dist/magma-components/{p-493fb2f4.system.entry.js → p-32361702.system.entry.js} +1 -1
  796. package/dist/magma-components/{p-a7e7f2c0.entry.js → p-3448d0ce.entry.js} +1 -1
  797. package/dist/magma-components/{p-e1e69217.system.entry.js → p-367cee40.system.entry.js} +1 -1
  798. package/dist/magma-components/{p-f5bb8c0c.entry.js → p-3a1a6945.entry.js} +1 -1
  799. package/dist/magma-components/{p-915c5f06.system.entry.js → p-3a8870e4.system.entry.js} +1 -1
  800. package/dist/magma-components/{p-0255924b.system.entry.js → p-3b68fbcd.system.entry.js} +2 -2
  801. package/dist/magma-components/p-3f05ec8a.entry.js +1 -0
  802. package/dist/magma-components/{p-c22887f7.system.entry.js → p-4073c5f2.system.entry.js} +4 -4
  803. package/dist/magma-components/p-40bd2e6d.entry.js +1 -0
  804. package/dist/magma-components/{p-883c223a.system.entry.js → p-423597db.system.entry.js} +2 -2
  805. package/dist/magma-components/{p-58b82b40.system.entry.js → p-443c2a29.system.entry.js} +2 -2
  806. package/dist/magma-components/{p-52793bdb.system.entry.js → p-45a91f1c.system.entry.js} +1 -1
  807. package/dist/magma-components/{p-e887a14c.entry.js → p-487af9d3.entry.js} +1 -1
  808. package/dist/magma-components/{p-4658154f.entry.js → p-4909070e.entry.js} +1 -1
  809. package/dist/magma-components/{p-00e47e49.system.entry.js → p-4d966161.system.entry.js} +3 -3
  810. package/dist/magma-components/p-4ddf891e.system.entry.js +69 -0
  811. package/dist/magma-components/{p-dc59b764.entry.js → p-4e15cde7.entry.js} +1 -1
  812. package/dist/magma-components/{p-44e2a945.system.entry.js → p-4ffec31a.system.entry.js} +1 -1
  813. package/dist/magma-components/{p-ccb6898a.system.entry.js → p-50b266e9.system.entry.js} +1 -1
  814. package/dist/magma-components/{p-5a7267e8.system.entry.js → p-5165b09f.system.entry.js} +2 -2
  815. package/dist/magma-components/{p-7927010f.system.entry.js → p-544cc9c7.system.entry.js} +1 -1
  816. package/dist/magma-components/p-562bb482.system.entry.js +16 -0
  817. package/dist/magma-components/p-5ae5ec95.entry.js +1 -0
  818. package/dist/magma-components/{p-79421ee1.system.entry.js → p-5d2d8ffe.system.entry.js} +1 -1
  819. package/dist/magma-components/{p-4ac94b84.system.entry.js → p-5e180f53.system.entry.js} +1 -1
  820. package/dist/magma-components/{p-837fbbf7.system.entry.js → p-61ff1d85.system.entry.js} +1 -1
  821. package/dist/magma-components/{p-283b0548.system.entry.js → p-62b17608.system.entry.js} +2 -2
  822. package/dist/magma-components/{p-ecd3c27f.entry.js → p-63e7c98f.entry.js} +1 -1
  823. package/dist/magma-components/{p-bc53c19e.entry.js → p-6474c850.entry.js} +1 -1
  824. package/dist/magma-components/{p-20e4f7dd.system.entry.js → p-660657ac.system.entry.js} +3 -3
  825. package/dist/magma-components/{p-18c8628c.entry.js → p-66237a64.entry.js} +1 -1
  826. package/dist/magma-components/{p-0646392d.entry.js → p-6702e489.entry.js} +1 -1
  827. package/dist/magma-components/p-694ed534.entry.js +1 -0
  828. package/dist/magma-components/{p-88f99a4f.system.entry.js → p-6b446fd9.system.entry.js} +2 -2
  829. package/dist/magma-components/{p-10ad73e3.system.entry.js → p-6c414bc2.system.entry.js} +1 -1
  830. package/dist/magma-components/{p-6f74cdf5.system.entry.js → p-6cbd8a6d.system.entry.js} +3 -3
  831. package/dist/magma-components/{p-b24b5179.entry.js → p-6d0dc1fd.entry.js} +1 -1
  832. package/dist/magma-components/{p-1be45c75.entry.js → p-6f2471b1.entry.js} +1 -1
  833. package/dist/magma-components/{p-188f4b1d.system.entry.js → p-6fa03aab.system.entry.js} +1 -1
  834. package/dist/magma-components/{p-774ce1d2.entry.js → p-70141ccd.entry.js} +1 -1
  835. package/dist/magma-components/{p-8afc9bc4.system.entry.js → p-707d8626.system.entry.js} +1 -1
  836. package/dist/magma-components/{p-5fd04ce1.entry.js → p-71dafc3f.entry.js} +1 -1
  837. package/dist/magma-components/{p-ffa1a0b4.system.entry.js → p-726209f4.system.entry.js} +1 -1
  838. package/dist/magma-components/{p-a6af4083.system.entry.js → p-745ee76b.system.entry.js} +2 -2
  839. package/dist/magma-components/{p-d47df503.system.entry.js → p-761415b3.system.entry.js} +1 -1
  840. package/dist/magma-components/{p-dd58f9ee.entry.js → p-771720b7.entry.js} +1 -1
  841. package/dist/magma-components/{p-1e700f0a.entry.js → p-7a7c308b.entry.js} +1 -1
  842. package/dist/magma-components/{p-439c9ce3.system.entry.js → p-7bea6c05.system.entry.js} +1 -1
  843. package/dist/magma-components/{p-64f78149.system.entry.js → p-7c940015.system.entry.js} +1 -1
  844. package/dist/magma-components/{p-474c5d53.system.entry.js → p-7ca990d4.system.entry.js} +2 -2
  845. package/dist/magma-components/{p-de091be7.system.entry.js → p-7d6ca97d.system.entry.js} +1 -1
  846. package/dist/magma-components/{p-7e7cf986.system.entry.js → p-8097dfc8.system.entry.js} +1 -1
  847. package/dist/magma-components/{p-8183b7ed.entry.js → p-843ab1b4.entry.js} +1 -1
  848. package/dist/magma-components/{p-9dcfc247.entry.js → p-8765dc11.entry.js} +1 -1
  849. package/dist/magma-components/{p-218d8254.system.entry.js → p-876a5fb9.system.entry.js} +1 -1
  850. package/dist/magma-components/{p-aba96089.entry.js → p-8a838a1a.entry.js} +1 -1
  851. package/dist/magma-components/{p-35aa29c5.entry.js → p-8bcb2a5f.entry.js} +1 -1
  852. package/dist/magma-components/p-8c93550d.entry.js +1 -0
  853. package/dist/magma-components/{p-ac81f63a.system.entry.js → p-91451e37.system.entry.js} +1 -1
  854. package/dist/magma-components/{p-1e3d89cd.system.entry.js → p-91c8960a.system.entry.js} +1 -1
  855. package/dist/magma-components/{p-1673225e.system.entry.js → p-939da879.system.entry.js} +1 -1
  856. package/dist/magma-components/{p-15d4846d.entry.js → p-97bde480.entry.js} +1 -1
  857. package/dist/magma-components/{p-5d119459.entry.js → p-97d02403.entry.js} +1 -1
  858. package/dist/magma-components/{p-05014374.entry.js → p-983f3e40.entry.js} +1 -1
  859. package/dist/magma-components/{p-dfe8552c.system.entry.js → p-99227c78.system.entry.js} +1 -1
  860. package/dist/magma-components/{p-eb681207.system.entry.js → p-9a583f6b.system.entry.js} +1 -1
  861. package/dist/magma-components/{p-84645c60.system.entry.js → p-9a86e0ce.system.entry.js} +1 -1
  862. package/dist/magma-components/{p-6c800411.entry.js → p-9e5982b6.entry.js} +1 -1
  863. package/dist/magma-components/{p-021f96f8.entry.js → p-9eef2f79.entry.js} +1 -1
  864. package/dist/magma-components/{p-12c5ae26.entry.js → p-9fe7035a.entry.js} +1 -1
  865. package/dist/magma-components/p-CKfEQ187.system.js +107 -0
  866. package/dist/magma-components/p-ZDRIVCAt.system.js +1 -1
  867. package/dist/magma-components/{p-e2ef5996.entry.js → p-a0972ec9.entry.js} +1 -1
  868. package/dist/magma-components/{p-c34d9e61.system.entry.js → p-a0d9e01f.system.entry.js} +1 -1
  869. package/dist/magma-components/{p-632bc44c.entry.js → p-a1851e6f.entry.js} +1 -1
  870. package/dist/magma-components/{p-e213640b.entry.js → p-a1b5bd58.entry.js} +1 -1
  871. package/dist/magma-components/{p-83394280.system.entry.js → p-a2d9549d.system.entry.js} +1 -1
  872. package/dist/magma-components/{p-05f73994.entry.js → p-a5a13b20.entry.js} +1 -1
  873. package/dist/magma-components/{p-7e085c82.entry.js → p-a6a71c77.entry.js} +1 -1
  874. package/dist/magma-components/{p-c28fce23.entry.js → p-a96312c1.entry.js} +1 -1
  875. package/dist/magma-components/{p-eaff7300.entry.js → p-a9e4efa3.entry.js} +1 -1
  876. package/dist/magma-components/{p-ef3424e3.entry.js → p-aa0bd826.entry.js} +1 -1
  877. package/dist/magma-components/{p-231b604f.system.entry.js → p-aa74169f.system.entry.js} +1 -1
  878. package/dist/magma-components/{p-90993b0b.system.entry.js → p-ab4ffbd4.system.entry.js} +1 -1
  879. package/dist/magma-components/{p-a4a83a63.entry.js → p-ad09a06b.entry.js} +1 -1
  880. package/dist/magma-components/{p-34401d35.entry.js → p-ad9cb1f5.entry.js} +1 -1
  881. package/dist/magma-components/{p-c0136138.entry.js → p-afbef2fc.entry.js} +1 -1
  882. package/dist/magma-components/{p-3eefca33.system.entry.js → p-b183d698.system.entry.js} +2 -2
  883. package/dist/magma-components/{p-2507f5cf.entry.js → p-b49196da.entry.js} +1 -1
  884. package/dist/magma-components/{p-d1faf129.entry.js → p-b77a2832.entry.js} +1 -1
  885. package/dist/magma-components/{p-4c73f14b.system.entry.js → p-b925c109.system.entry.js} +2 -2
  886. package/dist/magma-components/{p-73fde271.system.entry.js → p-b9e3281a.system.entry.js} +5 -5
  887. package/dist/magma-components/p-bb0538b6.entry.js +1 -0
  888. package/dist/magma-components/{p-c48bad95.entry.js → p-bb055583.entry.js} +1 -1
  889. package/dist/magma-components/{p-7770b989.system.entry.js → p-bc6a41a9.system.entry.js} +1 -1
  890. package/dist/magma-components/{p-4cb88b06.system.entry.js → p-bd9324f3.system.entry.js} +1 -1
  891. package/dist/magma-components/{p-57762bae.entry.js → p-c48e3460.entry.js} +1 -1
  892. package/dist/magma-components/{p-d04ac65d.entry.js → p-c4beed1b.entry.js} +1 -1
  893. package/dist/magma-components/{p-7ab15184.entry.js → p-c4ccb710.entry.js} +1 -1
  894. package/dist/magma-components/{p-436f9b27.system.entry.js → p-c4e4ba90.system.entry.js} +7 -7
  895. package/dist/magma-components/{p-13a1d35f.entry.js → p-c573e136.entry.js} +1 -1
  896. package/dist/magma-components/{p-5f1132b8.entry.js → p-c5ad848f.entry.js} +1 -1
  897. package/dist/magma-components/{p-cc0c6ae7.entry.js → p-c6841b21.entry.js} +1 -1
  898. package/dist/magma-components/{p-21865dd2.entry.js → p-c89a44b2.entry.js} +1 -1
  899. package/dist/magma-components/{p-69c21eae.entry.js → p-c94575de.entry.js} +1 -1
  900. package/dist/magma-components/{p-3a1339bb.system.entry.js → p-cabe9133.system.entry.js} +2 -2
  901. package/dist/magma-components/p-cb571b55.system.entry.js +1 -0
  902. package/dist/magma-components/{p-8a3d2259.system.entry.js → p-cbc0f01f.system.entry.js} +2 -2
  903. package/dist/magma-components/{p-86f4b6eb.system.entry.js → p-cc1ee10a.system.entry.js} +1 -1
  904. package/dist/magma-components/{p-cc9d9458.entry.js → p-cd1dc29a.entry.js} +1 -1
  905. package/dist/magma-components/{p-4211ce6c.system.entry.js → p-cd5cf28b.system.entry.js} +1 -1
  906. package/dist/magma-components/{p-277444bc.entry.js → p-cd952369.entry.js} +1 -1
  907. package/dist/magma-components/{p-6e03b83a.entry.js → p-d35aebe5.entry.js} +1 -1
  908. package/dist/magma-components/{p-b626c69f.system.entry.js → p-d5e53364.system.entry.js} +1 -1
  909. package/dist/magma-components/{p-93d39066.entry.js → p-d74fa7af.entry.js} +1 -1
  910. package/dist/magma-components/{p-577db922.entry.js → p-d7515aae.entry.js} +1 -1
  911. package/dist/magma-components/{p-b2c62b6e.system.entry.js → p-d7a94afb.system.entry.js} +1 -1
  912. package/dist/magma-components/{p-6c18c40e.system.entry.js → p-d93c9a11.system.entry.js} +1 -1
  913. package/dist/magma-components/{p-314abfba.entry.js → p-d9fbbf3f.entry.js} +1 -1
  914. package/dist/magma-components/{p-88287207.system.entry.js → p-db492cf5.system.entry.js} +2 -2
  915. package/dist/magma-components/{p-a462aadd.entry.js → p-dc399372.entry.js} +1 -1
  916. package/dist/magma-components/{p-e8ed096b.entry.js → p-dcf841d5.entry.js} +1 -1
  917. package/dist/magma-components/{p-97f6166e.system.entry.js → p-dfb4a965.system.entry.js} +1 -1
  918. package/dist/magma-components/{p-b5559b28.system.entry.js → p-e1a91e9e.system.entry.js} +1 -1
  919. package/dist/magma-components/{p-474047fa.system.entry.js → p-e5438280.system.entry.js} +1 -1
  920. package/dist/magma-components/{p-6a6326c6.entry.js → p-e95f2a48.entry.js} +1 -1
  921. package/dist/magma-components/{p-7787ebaf.system.entry.js → p-eb113725.system.entry.js} +1 -1
  922. package/dist/magma-components/{p-36a67b51.entry.js → p-ec5eccbb.entry.js} +1 -1
  923. package/dist/magma-components/{p-cc2a09f2.system.entry.js → p-eea815ca.system.entry.js} +1 -1
  924. package/dist/magma-components/{p-f733ae92.system.entry.js → p-ef4cd904.system.entry.js} +2 -2
  925. package/dist/magma-components/{p-0141c597.system.entry.js → p-eff1fd6c.system.entry.js} +2 -2
  926. package/dist/magma-components/{p-faa1f22c.entry.js → p-eff38775.entry.js} +1 -1
  927. package/dist/magma-components/{p-9344a234.entry.js → p-f01874a8.entry.js} +1 -1
  928. package/dist/magma-components/p-f05d7005.entry.js +1 -0
  929. package/dist/magma-components/{p-f29a059d.system.entry.js → p-f0c67a70.system.entry.js} +2 -2
  930. package/dist/magma-components/{p-e7751639.entry.js → p-f215496c.entry.js} +1 -1
  931. package/dist/magma-components/{p-8d53bd61.system.entry.js → p-f28cfb33.system.entry.js} +2 -2
  932. package/dist/magma-components/{p-6fdb3fe7.system.entry.js → p-f3dbebdd.system.entry.js} +1 -1
  933. package/dist/magma-components/{p-0a38e4ce.system.entry.js → p-f65e29e0.system.entry.js} +1 -1
  934. package/dist/magma-components/{p-74b51db8.entry.js → p-f830793e.entry.js} +1 -1
  935. package/dist/magma-components/{p-5ccf493c.system.entry.js → p-f835c307.system.entry.js} +1 -1
  936. package/dist/magma-components/{p-50ea11c9.system.entry.js → p-f89c3a01.system.entry.js} +1 -1
  937. package/dist/magma-components/{p-ee1e7f07.system.entry.js → p-f8da21a1.system.entry.js} +1 -1
  938. package/dist/magma-components/{p-bf2fe278.system.entry.js → p-f97b4ff4.system.entry.js} +2 -2
  939. package/dist/magma-components/{p-2f520704.entry.js → p-fc8f8a0c.entry.js} +1 -1
  940. package/dist/magma-components/{p-76ecad2f.entry.js → p-fcaa5967.entry.js} +3 -3
  941. package/dist/magma-components/{p-6ff8be3e.system.entry.js → p-ff970859.system.entry.js} +1 -1
  942. package/dist/stats.json +797 -772
  943. package/dist/types/common/navigation.d.ts +32 -0
  944. package/dist/types/components/mds-button/mds-button.d.ts +23 -2
  945. package/dist/types/components/mds-tab/mds-tab.d.ts +6 -1
  946. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +6 -1
  947. package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -2
  948. package/dist/types/components.d.ts +4 -4
  949. package/dist/types/index.d.ts +12 -4
  950. package/package.json +6 -6
  951. package/dist/components/p-CKS4r32k.js +0 -1
  952. package/dist/components/p-COkF_8bh.js +0 -1
  953. package/dist/components/p-DQqUzCGR.js +0 -1
  954. package/dist/components/p-DcW0iRnZ.js +0 -1
  955. package/dist/components/p-PQ_EO5-U.js +0 -1
  956. package/dist/magma-components/p-322a5452.entry.js +0 -1
  957. package/dist/magma-components/p-35ee2d77.entry.js +0 -1
  958. package/dist/magma-components/p-4e7f21ac.entry.js +0 -1
  959. package/dist/magma-components/p-514d0fcb.entry.js +0 -1
  960. package/dist/magma-components/p-5299f709.system.entry.js +0 -26
  961. package/dist/magma-components/p-60f67c37.entry.js +0 -1
  962. package/dist/magma-components/p-789c1b93.system.entry.js +0 -1
  963. package/dist/magma-components/p-8ccd187a.entry.js +0 -1
  964. package/dist/magma-components/p-D7BrzK-C.system.js +0 -90
  965. package/dist/magma-components/p-a41e52f7.entry.js +0 -1
  966. package/dist/magma-components/p-b897c97d.entry.js +0 -1
  967. package/dist/magma-components/p-c166ec50.system.entry.js +0 -47
  968. package/dist/magma-components/p-d07d227b.system.entry.js +0 -8
  969. package/dist/magma-components/p-d5bd6bef.entry.js +0 -1
  970. package/dist/magma-components/p-f654eafe.entry.js +0 -1
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-10T11:47:46",
2
+ "timestamp": "2026-10-14T12:22:32",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.44.2",
@@ -2,7 +2,7 @@ import { Host, h } from "@stencil/core";
2
2
  import { preferenceStore } from "../../common/preference";
3
3
  export class MdsSeparator {
4
4
  render() {
5
- return (h(Host, { key: '54da2080ad906d283284ef168c2b7eda9b2d53d6', "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }));
5
+ return (h(Host, { key: '32a48c2043ee02eea52400563f4d036984452348', "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }));
6
6
  }
7
7
  static get is() { return "mds-separator"; }
8
8
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-spinner
8
8
 
9
- > `@maggioli-design-system/magma` 2.1.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.2.0. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-spinner>` web component is the Magma Design System's loading/await indicator: a self-contained, animated SVG spinner used standalone or embedded inside host components (`mds-button`, `mds-input`, `mds-entity`) to signal an in-progress, indeterminate operation. It has no HTML primitive equivalent and exposes no text content.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-10T11:47:46",
2
+ "timestamp": "2026-10-14T12:22:32",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.44.2",
@@ -14,7 +14,7 @@ export class MdsSpinner {
14
14
  }
15
15
  }
16
16
  render() {
17
- return (h(Host, { key: '499a800738df129305e16207df5a21a602d3ab0b', "pref-contrast": preferenceStore.state.contrast }, h("i", { key: '9c3ec8cc93a56e05f507c3f2038bcd95694f9081', class: "await-icon", innerHTML: awaitIcon })));
17
+ return (h(Host, { key: '87759c4a0ec1f2eb7b745da581e6a6fe20c8d28a', "pref-contrast": preferenceStore.state.contrast }, h("i", { key: 'ba687bcea5509ff7fe5beb761e78884c6dd0c701', class: "await-icon", innerHTML: awaitIcon })));
18
18
  }
19
19
  static get is() { return "mds-spinner"; }
20
20
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-status-bar
8
8
 
9
- > `@maggioli-design-system/magma` 2.1.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.2.0. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-status-bar>` web component is a persistent action bar of the Magma Design System that docks a small set of actions (typically `mds-button` elements) to an edge of the viewport, accompanied by an optional descriptive label. It is built on top of `<mds-modal>`, reusing its positioning and overflow handling without rendering a dismissable dialog.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-10T11:47:46",
2
+ "timestamp": "2026-10-14T12:22:32",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.44.2",
@@ -34,7 +34,7 @@ export class MdsStatusBar {
34
34
  this.visible = undefined;
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: 'b936d4e3fc3c636b8e8999cd91dc8b2abf8d1484', "pref-consumption": preferenceStore.state.consumption, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("mds-modal", { key: 'f25d2a41d034098a702507b12c05aa49c3726cb1', class: "modal", opened: this.visible, position: this.position, animation: "custom", overflow: this.overflow }, h("div", { key: '02bf4147fb7ba9e8bacea3c9ce3f69ce7c69be02', class: "status-bar-area", part: "status-bar-area", slot: "window" }, h("div", { key: '5eb1822ac0b4d308f17ca2a38f4055c23083cff3', class: "status-bar", part: "status-bar" }, this.description && (h("mds-text", { key: 'aaf2d243d81c374f7bde3b062bd1a742f2b0411c', typography: "caption", class: "description" }, this.description)), h("div", { key: 'ff7122e6c36f3694e9563e6665704932c56ce1cf', class: "actions", part: "actions" }, h("slot", { key: 'f417fd05a17ec9e0d3da7bcecd6c81d9c82321ac' })))))));
37
+ return (h(Host, { key: 'bd6bfd16462641ae9615244e07cf6763132a306d', "pref-consumption": preferenceStore.state.consumption, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("mds-modal", { key: '732b0dfe1a9381af936223368fb465fbddc92ec5', class: "modal", opened: this.visible, position: this.position, animation: "custom", overflow: this.overflow }, h("div", { key: '4bf29ca7e0a5c2a3b6de185a9a46b9bd7fec303a', class: "status-bar-area", part: "status-bar-area", slot: "window" }, h("div", { key: '4c75b2debf61033643adcfdd081e183ea307e0df', class: "status-bar", part: "status-bar" }, this.description && (h("mds-text", { key: '7d84aea317475f83ad108087b4ed69d3fff2442b', typography: "caption", class: "description" }, this.description)), h("div", { key: 'def363df5232c8299c886cc17a5e82722297c858', class: "actions", part: "actions" }, h("slot", { key: '8a19184549793d1f7471af3c65366eca56a3687a' })))))));
38
38
  }
39
39
  static get is() { return "mds-status-bar"; }
40
40
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-stepper-bar
8
8
 
9
- > `@maggioli-design-system/magma` 2.1.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.2.0. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-stepper-bar>` web component is the Magma Design System container that orchestrates a multi-step progress flow, coordinating a set of slotted `<mds-stepper-bar-item>` children and revealing the matching content panel for the active step. It has no native HTML equivalent; it composes a stepper indicator track with a switchable content region.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-10T11:47:46",
2
+ "timestamp": "2026-10-14T12:22:32",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.44.2",
@@ -110,7 +110,7 @@ export class MdsStepperBar {
110
110
  });
111
111
  }
112
112
  render() {
113
- return (h(Host, { key: '35f536c577499c237e0a5b1865c2dcfaa5735d72' }, h("div", { key: '5c204cc4ca343076982d3357e7645cc8770a22be', class: "items", part: "items" }, h("slot", { key: '69c3b461ada662e58051b875411781a862ff565d' })), h("div", { key: '7fb5381e1126a5227b50ecc202154e44928aab5e', class: "contents", part: "contents" }, h("slot", { key: '535d40033b20590f72e9fef336bda3ed7b06cead', name: "content" }))));
113
+ return (h(Host, { key: '6e70673f49ffcf8c703307b6571ba2b822036d8c' }, h("div", { key: '1e0443df8ad7034c5af6e1a014a30702e5f973f4', class: "items", part: "items" }, h("slot", { key: '5138d0f6c4acc13cc4ef6b074df127a69a13de37' })), h("div", { key: '01282be7099ae99fc3f4aadbd148e4df4570a7a1', class: "contents", part: "contents" }, h("slot", { key: '806b797ff756d258e43f46517c2522a99c43c44a', name: "content" }))));
114
114
  }
115
115
  static get is() { return "mds-stepper-bar"; }
116
116
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-stepper-bar-item
8
8
 
9
- > `@maggioli-design-system/magma` 2.1.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.2.0. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-stepper-bar-item>` web component represents a single step inside a [`<mds-stepper-bar>`](../mds-stepper-bar/AGENTS.md) progress indicator, rendering the step's icon, optional ordinal label, descriptive text and status badge. It has no standalone meaning: it is the unit the parent stepper orchestrates to express a sequential, multi-step flow.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-10T11:47:46",
2
+ "timestamp": "2026-10-14T12:22:32",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.44.2",
@@ -71,7 +71,7 @@ export class MdsStepperBarItem {
71
71
  this.isCurrent = newValue;
72
72
  }
73
73
  render() {
74
- return (h(Host, { key: '76613b70e079b98f95f090b5dae2a8fcc284bd00', "pref-animation": preferenceStore.state.animation }, h("div", { key: '203b989ddfe1c7210f5a3fa58ad0531ff16f0ceb', class: "header" }, h("mds-icon", { key: 'eb2ac2c896f449884532144204240be3b9762b5c', class: "icon", name: clsx(this.isDone && !this.isCurrent ? this.iconChecked : this.icon) }), h("mds-progress", { key: 'e1b9592f8f8e0a4d11149040c544a395219abfe9', "aria-hidden": "true", class: "progress", progress: this.isDone ? 1 : 0 })), h("div", { key: 'd1b155a6f87d4ae4378cc5f74fe634ef8c55e96f', class: "infos" }, this.step && (h("mds-text", { key: 'bf08860ae9f87eef75122e68f10c905f9c99ef90', class: "step", typography: "option" }, this.t.get('step', { index: this.index + 1 }))), this.label && (h("mds-text", { key: 'f2e3370be74e7b104d64e1618e0a400e2cd50a37', class: "text", typography: this.typography }, this.label)), this.badge && h("div", { key: '1b8a2d7a15e6aba58e1b264c8e6dbc217b0c7a5c', part: "badge" }, this.showBadge()))));
74
+ return (h(Host, { key: '32426f578d3c59b6aef858e86cf8c655cd3e6a77', "pref-animation": preferenceStore.state.animation }, h("div", { key: '5dd6a64bf11e982e1a1e0b1fdf650574e3c3d28d', class: "header" }, h("mds-icon", { key: '5955690265e97034af19660a8ea6e3dabdd1b64c', class: "icon", name: clsx(this.isDone && !this.isCurrent ? this.iconChecked : this.icon) }), h("mds-progress", { key: 'f82e8b00a1e98457abb9fe51619d409f117234f3', "aria-hidden": "true", class: "progress", progress: this.isDone ? 1 : 0 })), h("div", { key: '26559ee3895161f4dc4d4ccc723c7de4266391c8', class: "infos" }, this.step && (h("mds-text", { key: '3a8cad7a0216497e584e9c6ad3f05d0564a8d519', class: "step", typography: "option" }, this.t.get('step', { index: this.index + 1 }))), this.label && (h("mds-text", { key: '269771ed702836a71bf397662b7691d36bc75113', class: "text", typography: this.typography }, this.label)), this.badge && h("div", { key: '17bb222483ec1e05d2c5a0aef793ffa537f90806', part: "badge" }, this.showBadge()))));
75
75
  }
76
76
  static get is() { return "mds-stepper-bar-item"; }
77
77
  static get encapsulation() { return "shadow"; }
@@ -6,13 +6,14 @@
6
6
 
7
7
  # mds-tab
8
8
 
9
- > `@maggioli-design-system/magma` 2.1.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.2.0. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
- The `<mds-tab>` web component is the compound container that orchestrates a tabbed navigation in the Magma Design System. It is the parent wrapper around a set of `<mds-tab-item>` triggers and their associated content panels, providing the ARIA `tablist` structure, selection state, scrolling and the animated selection indicator.
11
+ The `<mds-tab>` web component is the compound container that orchestrates a tabbed navigation in the Magma Design System. It is the parent wrapper around a set of `<mds-tab-item>` triggers and, when the component shows the content itself, their content panels, providing the ARIA `tablist` structure, selection state, scrolling and the animated selection indicator.
12
12
 
13
13
  #### Semantic Behavior
14
14
 
15
- - **Compound parent**: Expects `<mds-tab-item>` elements in the default slot; each panel in the named `content` slot is wired up automatically and paired by document order.
15
+ - **Compound parent**: Expects `<mds-tab-item>` elements in the default slot; each panel in the named `content` slot is wired up automatically and paired by document order. The panels are optional: without them the component shows the strip alone, and the page shows the content, driven by `mdsTabChange` or by navigation.
16
+ - **Navigation strip**: When every item has `href`, the items are links (announced as such, the selected one as current) and the strip is no longer a `tablist`: the browser follows the links, in a new tab on a modifier or middle click, and the strip keeps the selected item highlighted. A client-side router cancels the click on the item with `preventDefault()` and routes; a modifier click leaves the selection alone.
16
17
  - **Selection ownership**: The active tab is whichever `<mds-tab-item>` carries `selected`; the parent flips `selected` across siblings, shows the corresponding content panel and hides the rest.
17
18
  - **Change event**: Emits `mdsTabChange` with the selected item's index (`id`) and `value` whenever the active child changes.
18
19
  - **Focus restoration**: After a keyboard activation it re-focuses the selected item's button, so the user does not have to re-locate the tab.
@@ -59,7 +60,7 @@ The `<mds-tab>` web component is the compound container that orchestrates a tabb
59
60
  | Slot | Description |
60
61
  | --- | --- |
61
62
  | (default) | Add `mds-tab-item` element/s. |
62
- | `content` | Add `HTML elements` or `components`, one per mds-tab-item added. |
63
+ | `content` | Add `HTML elements` or `components`, one per mds-tab-item added; or none, when the items are links (`href`) to other pages or places and the page, not the component, shows the content. |
63
64
 
64
65
  ## Parts
65
66
 
@@ -54,6 +54,33 @@ Panels in `slot="content"` are wired to `<mds-tab-item>` elements by document or
54
54
  </mds-tab>
55
55
  ```
56
56
 
57
+ #### Do Not Mix Link Items and Panel Tabs in One Strip
58
+
59
+ A strip is either a `tablist` of tabs, each controlling a panel, or a navigation of links (`href` on every item): a link inside a tablist is not a child the role allows, and assistive technology announces the strip wrong. Keep the link out of the strip, as an `<mds-button>` next to it.
60
+
61
+ ```html
62
+ <!-- INCORRECT -->
63
+ <mds-tab>
64
+ <mds-tab-item label="Dettagli" selected></mds-tab-item>
65
+ <mds-tab-item label="Allegati"></mds-tab-item>
66
+ <mds-tab-item label="Portale" href="https://portale.example.com"></mds-tab-item>
67
+
68
+ <div slot="content"><mds-text>Dettagli.</mds-text></div>
69
+ <div slot="content"><mds-text>Allegati.</mds-text></div>
70
+ <div slot="content"></div>
71
+ </mds-tab>
72
+
73
+ <!-- CORRECT -->
74
+ <mds-tab>
75
+ <mds-tab-item label="Dettagli" selected></mds-tab-item>
76
+ <mds-tab-item label="Allegati"></mds-tab-item>
77
+
78
+ <div slot="content"><mds-text>Dettagli.</mds-text></div>
79
+ <div slot="content"><mds-text>Allegati.</mds-text></div>
80
+ </mds-tab>
81
+ <mds-button label="Portale" href="https://portale.example.com" target="blank" tone="text"></mds-button>
82
+ ```
83
+
57
84
  #### Do Not Put Tab Items Outside `<mds-tab>`
58
85
 
59
86
  `<mds-tab-item>` communicates with its parent through internal Stencil events. Used outside `<mds-tab>` it renders as an inert button with no selection, panel, or keyboard management.
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-10T11:47:46",
2
+ "timestamp": "2026-10-14T12:22:32",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.44.2",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  {
28
28
  "name": "slot",
29
- "text": "content - Add `HTML elements` or `components`, one per mds-tab-item added."
29
+ "text": "content - Add `HTML elements` or `components`, one per mds-tab-item added; or none, when the\nitems are links (`href`) to other pages or places and the page, not the component, shows the\ncontent."
30
30
  },
31
31
  {
32
32
  "name": "slot",
@@ -34,9 +34,9 @@
34
34
  }
35
35
  ],
36
36
  "usage": {
37
- "1. Description": "The `<mds-tab>` web component is the compound container that orchestrates a tabbed navigation in the Magma Design System. It is the parent wrapper around a set of `<mds-tab-item>` triggers and their associated content panels, providing the ARIA `tablist` structure, selection state, scrolling and the animated selection indicator.\n\n#### Semantic Behavior\n\n- **Compound parent**: Expects `<mds-tab-item>` elements in the default slot; each panel in the named `content` slot is wired up automatically and paired by document order.\n- **Selection ownership**: The active tab is whichever `<mds-tab-item>` carries `selected`; the parent flips `selected` across siblings, shows the corresponding content panel and hides the rest.\n- **Change event**: Emits `mdsTabChange` with the selected item's index (`id`) and `value` whenever the active child changes.\n- **Focus restoration**: After a keyboard activation it re-focuses the selected item's button, so the user does not have to re-locate the tab.\n- **Auto-scroll into view**: On selection or child focus, the active tab is scrolled to the center of its strip.\n- **Overflow tracking**: When `overflow` is enabled, left/right inset shadows appear while the tabs overflow their container.\n- **Size propagation**: The parent `size` is pushed down onto every nested `<mds-tab-item>`, so children should not be sized individually.\n\n#### Properties & Visual Configurations\n\n- **`direction`** chooses whether the tab strip is laid out `'horizontal'` (default) or `'vertical'`.\n- **`animation`** governs the transition between active items: `'slide'` (default) renders the moving slider indicator, while `'fade'` cross-fades without the slider.\n- **`fill`** makes the tab strip stretch to occupy the full available width rather than hugging its content.\n- **`overflow`** enables the inset-shadow affordance that signals more tabs exist beyond the visible edges; **`scrollbar`** instead exposes the native horizontal scrollbar for accessibility.\n\n#### Other behavioral props\n\n- **`size`** sets the scale (`'sm'` / `'md'`) for the whole group and is forwarded to the child items; it is the only way to size the tabs consistently.\n",
38
- "2. Pattern": "Correct and idiomatic ways to use the `<mds-tab>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Basic Tab Group with Managed Panels\n\nThe canonical form. Put `<mds-tab-item>` elements in the default slot and one content element per tab in the named `content` slot. Mark the initially-visible tab with `selected`. Panels are wired up by document order - the first `[slot=content]` element is paired with the first `<mds-tab-item>`.\n\n```html\n<mds-tab>\n <mds-tab-item label=\"Panoramica\" selected></mds-tab-item>\n <mds-tab-item label=\"Dettagli\"></mds-tab-item>\n <mds-tab-item label=\"Allegati\"></mds-tab-item>\n\n <div slot=\"content\">\n <mds-text>Contenuto della scheda Panoramica.</mds-text>\n </div>\n <div slot=\"content\">\n <mds-text>Contenuto della scheda Dettagli.</mds-text>\n </div>\n <div slot=\"content\">\n <mds-text>Contenuto della scheda Allegati.</mds-text>\n </div>\n</mds-tab>\n```\n\n#### Listening to Tab Changes\n\nListen to the `mdsTabChange` event to react when the active panel changes. The event detail carries the zero-based `id` (index) and the optional `value` of the newly selected `<mds-tab-item>`.\n\n```html\n<mds-tab id=\"schede-pratica\">\n <mds-tab-item label=\"Anagrafica\" value=\"anagrafica\" selected></mds-tab-item>\n <mds-tab-item label=\"Documenti\" value=\"documenti\"></mds-tab-item>\n <mds-tab-item label=\"Pagamenti\" value=\"pagamenti\"></mds-tab-item>\n</mds-tab>\n\n<script>\n document.querySelector('#schede-pratica').addEventListener('mdsTabChange', (e) => {\n console.log('scheda attiva:', e.detail.id, e.detail.value);\n });\n</script>\n```\n\n#### Tab Items with Icons\n\nPass an icon slug to `<mds-tab-item>` via the `icon` prop. Icon position defaults to `left`; use `icon-position=\"right\"` for forward-navigation tabs.\n\n```html\n<mds-tab>\n <mds-tab-item label=\"Utente\" icon=\"mi/baseline/person\" selected></mds-tab-item>\n <mds-tab-item label=\"Impostazioni\" icon=\"mi/baseline/settings\"></mds-tab-item>\n <mds-tab-item label=\"Notifiche\" icon=\"mi/baseline/notifications\"></mds-tab-item>\n\n <div slot=\"content\"><mds-text>Profilo utente.</mds-text></div>\n <div slot=\"content\"><mds-text>Impostazioni account.</mds-text></div>\n <div slot=\"content\"><mds-text>Cronologia notifiche.</mds-text></div>\n</mds-tab>\n```\n\n#### Fill the Available Width\n\nSet `fill` when the tab strip should stretch to occupy the full container width instead of hugging its content.\n\n```html\n<mds-tab fill>\n <mds-tab-item label=\"Riepilogo\" selected></mds-tab-item>\n <mds-tab-item label=\"Cronologia\"></mds-tab-item>\n <mds-tab-item label=\"Statistiche\"></mds-tab-item>\n\n <div slot=\"content\"><mds-text>Riepilogo pratica.</mds-text></div>\n <div slot=\"content\"><mds-text>Registro modifiche.</mds-text></div>\n <div slot=\"content\"><mds-text>Dati statistici.</mds-text></div>\n</mds-tab>\n```\n\n#### Vertical Direction\n\nUse `direction=\"vertical\"` to stack the tab strip on the side. Pair it with `--mds-tab-direction-vertical-columns` to control the column widths of the sidebar and the content area.\n\n```html\n<mds-tab direction=\"vertical\">\n <mds-tab-item label=\"Dati generali\" selected></mds-tab-item>\n <mds-tab-item label=\"Indirizzi\"></mds-tab-item>\n <mds-tab-item label=\"Contatti\"></mds-tab-item>\n\n <div slot=\"content\"><mds-text>Dati generali.</mds-text></div>\n <div slot=\"content\"><mds-text>Indirizzi registrati.</mds-text></div>\n <div slot=\"content\"><mds-text>Recapiti di contatto.</mds-text></div>\n</mds-tab>\n```\n\n#### Fade Animation\n\nSwitch to `animation=\"fade\"` to highlight the selected tab in place instead of moving the slider indicator. The panels switch without animation in both modes.\n\n```html\n<mds-tab animation=\"fade\">\n <mds-tab-item label=\"Prima\" selected></mds-tab-item>\n <mds-tab-item label=\"Seconda\"></mds-tab-item>\n\n <div slot=\"content\"><mds-text>Pannello 1.</mds-text></div>\n <div slot=\"content\"><mds-text>Pannello 2.</mds-text></div>\n</mds-tab>\n```\n\n#### Overflow Shadow for Many Tabs\n\nEnable `overflow` when the tab strip can contain more items than the viewport permits. Left and right inset shadows appear whenever tabs overflow their container, signalling that scrolling is possible.\n\n```html\n<mds-tab overflow>\n <mds-tab-item label=\"Gennaio\" selected></mds-tab-item>\n <mds-tab-item label=\"Febbraio\"></mds-tab-item>\n <mds-tab-item label=\"Marzo\"></mds-tab-item>\n <mds-tab-item label=\"Aprile\"></mds-tab-item>\n <mds-tab-item label=\"Maggio\"></mds-tab-item>\n <mds-tab-item label=\"Giugno\"></mds-tab-item>\n <mds-tab-item label=\"Luglio\"></mds-tab-item>\n <mds-tab-item label=\"Agosto\"></mds-tab-item>\n <mds-tab-item label=\"Settembre\"></mds-tab-item>\n <mds-tab-item label=\"Ottobre\"></mds-tab-item>\n <mds-tab-item label=\"Novembre\"></mds-tab-item>\n <mds-tab-item label=\"Dicembre\"></mds-tab-item>\n</mds-tab>\n```\n\n#### Scrollbar for Accessible Overflow\n\nUse `scrollbar` instead of (or alongside) `overflow` to expose the native horizontal scrollbar. This is the accessible complement for users who navigate via keyboard or who have motor difficulties.\n\n```html\n<mds-tab scrollbar overflow>\n <mds-tab-item label=\"Sezione A\" selected></mds-tab-item>\n <mds-tab-item label=\"Sezione B\"></mds-tab-item>\n <mds-tab-item label=\"Sezione C\"></mds-tab-item>\n <mds-tab-item label=\"Sezione D\"></mds-tab-item>\n <mds-tab-item label=\"Sezione E\"></mds-tab-item>\n</mds-tab>\n```\n\n#### Sizing\n\nSet `size` on the parent to scale all tabs uniformly. Do not set `size` on individual `<mds-tab-item>` elements - the parent propagates the value automatically.\n\n```html\n<!-- Compact strip, e.g. inside a sidebar or dense toolbar -->\n<mds-tab size=\"sm\">\n <mds-tab-item label=\"Vista elenco\" selected></mds-tab-item>\n <mds-tab-item label=\"Vista griglia\"></mds-tab-item>\n</mds-tab>\n```\n\n#### Navigation Links (href on Tab Items)\n\nWhen each tab should navigate to an anchor or a separate URL, set `href` on `<mds-tab-item>`. The tab item then renders as a link. Omit the `content` slot - the page content is driven by navigation, not by the managed-panels mechanism.\n\n```html\n<mds-tab>\n <mds-tab-item href=\"#sezione-1\" label=\"Introduzione\" selected></mds-tab-item>\n <mds-tab-item href=\"#sezione-2\" label=\"Requisiti\"></mds-tab-item>\n <mds-tab-item href=\"#sezione-3\" label=\"Conclusioni\"></mds-tab-item>\n</mds-tab>\n```\n\n#### Disabled Tab Item\n\nMark an individual tab as unavailable with `disabled`. The parent's selection mechanism skips it; the tab is removed from the tab order automatically.\n\n```html\n<mds-tab>\n <mds-tab-item label=\"Attivo\" selected></mds-tab-item>\n <mds-tab-item label=\"Non disponibile\" disabled></mds-tab-item>\n <mds-tab-item label=\"Altro\"></mds-tab-item>\n\n <div slot=\"content\"><mds-text>Contenuto disponibile.</mds-text></div>\n <div slot=\"content\"><mds-text>Contenuto non disponibile.</mds-text></div>\n <div slot=\"content\"><mds-text>Altro contenuto.</mds-text></div>\n</mds-tab>\n```\n\n#### Styling Customization\n\nStyle the component only through its documented `--mds-tab-*` CSS custom properties. Set them on the host or a parent selector; use semantic color roles via `rgb(var(--magma-<role>))` so dark mode and high-contrast modes keep working.\n\n```css\n.scheda-primaria mds-tab {\n --mds-tab-tabs-background: rgb(var(--magma-accent-surface));\n --mds-tab-tabs-radius: var(--magma-radius-xl);\n --mds-tab-item-selected-background: rgb(var(--magma-accent-emphasis));\n --mds-tab-item-selected-color: rgb(var(--magma-accent-on-emphasis));\n --mds-tab-transition-duration: 0.3s;\n}\n```\n",
39
- "3. Antipattern": "Common incorrect uses of `<mds-tab>`. 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 Size Individual Tab Items\n\nSetting `size` on a `<mds-tab-item>` directly is overridden by the parent at render time. Use the `size` prop on `<mds-tab>` to size all tabs uniformly.\n\n```html\n<!-- INCORRECT -->\n<mds-tab>\n <mds-tab-item label=\"Elenco\" size=\"sm\" selected></mds-tab-item>\n <mds-tab-item label=\"Griglia\" size=\"sm\"></mds-tab-item>\n</mds-tab>\n\n<!-- CORRECT -->\n<mds-tab size=\"sm\">\n <mds-tab-item label=\"Elenco\" selected></mds-tab-item>\n <mds-tab-item label=\"Griglia\"></mds-tab-item>\n</mds-tab>\n```\n\n#### Do Not Mix Tab Items and Content Panels Out of Order\n\nPanels in `slot=\"content\"` are wired to `<mds-tab-item>` elements by document order. A missing panel leaves its tab with no content, a wrong ordering shows the wrong panel when a tab is selected.\n\n```html\n<!-- INCORRECT: only two content panels for three tab items -->\n<mds-tab>\n <mds-tab-item label=\"A\" selected></mds-tab-item>\n <mds-tab-item label=\"B\"></mds-tab-item>\n <mds-tab-item label=\"C\"></mds-tab-item>\n\n <div slot=\"content\"><mds-text>Pannello A.</mds-text></div>\n <div slot=\"content\"><mds-text>Pannello B.</mds-text></div>\n</mds-tab>\n\n<!-- CORRECT: one content panel per tab item, same order -->\n<mds-tab>\n <mds-tab-item label=\"A\" selected></mds-tab-item>\n <mds-tab-item label=\"B\"></mds-tab-item>\n <mds-tab-item label=\"C\"></mds-tab-item>\n\n <div slot=\"content\"><mds-text>Pannello A.</mds-text></div>\n <div slot=\"content\"><mds-text>Pannello B.</mds-text></div>\n <div slot=\"content\"><mds-text>Pannello C.</mds-text></div>\n</mds-tab>\n```\n\n#### Do Not Put Tab Items Outside `<mds-tab>`\n\n`<mds-tab-item>` communicates with its parent through internal Stencil events. Used outside `<mds-tab>` it renders as an inert button with no selection, panel, or keyboard management.\n\n```html\n<!-- INCORRECT -->\n<div class=\"my-tab-wrapper\">\n <mds-tab-item label=\"Scheda uno\" selected></mds-tab-item>\n <mds-tab-item label=\"Scheda due\"></mds-tab-item>\n</div>\n<div>...</div>\n\n<!-- CORRECT -->\n<mds-tab>\n <mds-tab-item label=\"Scheda uno\" selected></mds-tab-item>\n <mds-tab-item label=\"Scheda due\"></mds-tab-item>\n <div slot=\"content\">...</div>\n <div slot=\"content\">...</div>\n</mds-tab>\n```\n\n#### Do Not Listen to the `mdsTabItemSelect` Event from Outside\n\n`mdsTabItemSelect` is the item-level event that `<mds-tab-item>` fires to its parent `<mds-tab>`: its `detail` carries the item element (`target`) and `value`, not the position of the tab. To react to the active tab of the group listen to `mdsTabChange` on `<mds-tab>`, whose `detail` has the tab index (`id`) and `value`.\n\n```html\n<!-- INCORRECT -->\n<mds-tab id=\"schede\">\n <mds-tab-item label=\"Prima\" selected></mds-tab-item>\n <mds-tab-item label=\"Seconda\"></mds-tab-item>\n</mds-tab>\n\n<script>\n document.querySelector('#schede').addEventListener('mdsTabItemSelect', handler);\n</script>\n\n<!-- CORRECT -->\n<mds-tab id=\"schede\">\n <mds-tab-item label=\"Prima\" selected></mds-tab-item>\n <mds-tab-item label=\"Seconda\"></mds-tab-item>\n</mds-tab>\n\n<script>\n document.querySelector('#schede').addEventListener('mdsTabChange', handler);\n</script>\n```\n\n#### Do Not Use `scrollbar=\"false\"` or `overflow=\"false\"` to Turn Off Boolean Props\n\nStencil reads `\"false\"` as `false` and, since both props are reflected, removes the attribute at the first render, so this happens to work; but the markup says the opposite of what it does, and on a prop that is not reflected the attribute stays in the DOM, where `[attr]` selectors still match it. Remove the attribute entirely to turn a prop off.\n\n```html\n<!-- INCORRECT -->\n<mds-tab scrollbar=\"false\" overflow=\"false\">\n <mds-tab-item label=\"Prima\" selected></mds-tab-item>\n</mds-tab>\n\n<!-- CORRECT -->\n<mds-tab>\n <mds-tab-item label=\"Prima\" selected></mds-tab-item>\n</mds-tab>\n```\n\n#### Do Not Place Raw HTML Instead of `<mds-tab-item>` in the Default Slot\n\nThe default slot expects `<mds-tab-item>` elements only. Placing a raw `<button>` or `<a>` there bypasses the ARIA `tablist` structure, selection management, and keyboard handling that `<mds-tab>` provides.\n\n```html\n<!-- INCORRECT -->\n<mds-tab>\n <button class=\"tab\">Documenti</button>\n <button class=\"tab\">Messaggi</button>\n <div slot=\"content\">...</div>\n <div slot=\"content\">...</div>\n</mds-tab>\n\n<!-- CORRECT -->\n<mds-tab>\n <mds-tab-item label=\"Documenti\" selected></mds-tab-item>\n <mds-tab-item label=\"Messaggi\"></mds-tab-item>\n <div slot=\"content\">...</div>\n <div slot=\"content\">...</div>\n</mds-tab>\n```\n\n#### Do Not Customize via Undocumented Shadow Parts or Internal Selectors\n\nThe supported customization surface is the `--mds-tab-*` CSS custom properties and the documented shadow parts (`tabs`, `contents`, `slider`). Targeting other internals via `>>>`, `/deep/`, or undocumented class names couples your code to the shadow DOM implementation and will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-tab >>> .tabs-wrapper {\n background: red;\n}\nmds-tab::part(tabs-wrapper) {\n padding: 0;\n}\n\n/* CORRECT */\nmds-tab {\n --mds-tab-tabs-background: rgb(var(--magma-accent-surface));\n --mds-tab-tabs-padding: calc(var(--spacing) * 400);\n --mds-tab-tabs-radius: var(--magma-radius-xl);\n}\nmds-tab::part(tabs) {\n outline: 2px solid rgb(var(--magma-accent-border));\n}\n```\n"
37
+ "1. Description": "The `<mds-tab>` web component is the compound container that orchestrates a tabbed navigation in the Magma Design System. It is the parent wrapper around a set of `<mds-tab-item>` triggers and, when the component shows the content itself, their content panels, providing the ARIA `tablist` structure, selection state, scrolling and the animated selection indicator.\n\n#### Semantic Behavior\n\n- **Compound parent**: Expects `<mds-tab-item>` elements in the default slot; each panel in the named `content` slot is wired up automatically and paired by document order. The panels are optional: without them the component shows the strip alone, and the page shows the content, driven by `mdsTabChange` or by navigation.\n- **Navigation strip**: When every item has `href`, the items are links (announced as such, the selected one as current) and the strip is no longer a `tablist`: the browser follows the links, in a new tab on a modifier or middle click, and the strip keeps the selected item highlighted. A client-side router cancels the click on the item with `preventDefault()` and routes; a modifier click leaves the selection alone.\n- **Selection ownership**: The active tab is whichever `<mds-tab-item>` carries `selected`; the parent flips `selected` across siblings, shows the corresponding content panel and hides the rest.\n- **Change event**: Emits `mdsTabChange` with the selected item's index (`id`) and `value` whenever the active child changes.\n- **Focus restoration**: After a keyboard activation it re-focuses the selected item's button, so the user does not have to re-locate the tab.\n- **Auto-scroll into view**: On selection or child focus, the active tab is scrolled to the center of its strip.\n- **Overflow tracking**: When `overflow` is enabled, left/right inset shadows appear while the tabs overflow their container.\n- **Size propagation**: The parent `size` is pushed down onto every nested `<mds-tab-item>`, so children should not be sized individually.\n\n#### Properties & Visual Configurations\n\n- **`direction`** chooses whether the tab strip is laid out `'horizontal'` (default) or `'vertical'`.\n- **`animation`** governs the transition between active items: `'slide'` (default) renders the moving slider indicator, while `'fade'` cross-fades without the slider.\n- **`fill`** makes the tab strip stretch to occupy the full available width rather than hugging its content.\n- **`overflow`** enables the inset-shadow affordance that signals more tabs exist beyond the visible edges; **`scrollbar`** instead exposes the native horizontal scrollbar for accessibility.\n\n#### Other behavioral props\n\n- **`size`** sets the scale (`'sm'` / `'md'`) for the whole group and is forwarded to the child items; it is the only way to size the tabs consistently.\n",
38
+ "2. Pattern": "Correct and idiomatic ways to use the `<mds-tab>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Basic Tab Group with Managed Panels\n\nThe canonical form. Put `<mds-tab-item>` elements in the default slot and one content element per tab in the named `content` slot. Mark the initially-visible tab with `selected`. Panels are wired up by document order - the first `[slot=content]` element is paired with the first `<mds-tab-item>`.\n\n```html\n<mds-tab>\n <mds-tab-item label=\"Panoramica\" selected></mds-tab-item>\n <mds-tab-item label=\"Dettagli\"></mds-tab-item>\n <mds-tab-item label=\"Allegati\"></mds-tab-item>\n\n <div slot=\"content\">\n <mds-text>Contenuto della scheda Panoramica.</mds-text>\n </div>\n <div slot=\"content\">\n <mds-text>Contenuto della scheda Dettagli.</mds-text>\n </div>\n <div slot=\"content\">\n <mds-text>Contenuto della scheda Allegati.</mds-text>\n </div>\n</mds-tab>\n```\n\n#### Listening to Tab Changes\n\nListen to the `mdsTabChange` event to react when the active panel changes. The event detail carries the zero-based `id` (index) and the optional `value` of the newly selected `<mds-tab-item>`.\n\n```html\n<mds-tab id=\"schede-pratica\">\n <mds-tab-item label=\"Anagrafica\" value=\"anagrafica\" selected></mds-tab-item>\n <mds-tab-item label=\"Documenti\" value=\"documenti\"></mds-tab-item>\n <mds-tab-item label=\"Pagamenti\" value=\"pagamenti\"></mds-tab-item>\n</mds-tab>\n\n<script>\n document.querySelector('#schede-pratica').addEventListener('mdsTabChange', (e) => {\n console.log('scheda attiva:', e.detail.id, e.detail.value);\n });\n</script>\n```\n\n#### Tab Items with Icons\n\nPass an icon slug to `<mds-tab-item>` via the `icon` prop. Icon position defaults to `left`; use `icon-position=\"right\"` for forward-navigation tabs.\n\n```html\n<mds-tab>\n <mds-tab-item label=\"Utente\" icon=\"mi/baseline/person\" selected></mds-tab-item>\n <mds-tab-item label=\"Impostazioni\" icon=\"mi/baseline/settings\"></mds-tab-item>\n <mds-tab-item label=\"Notifiche\" icon=\"mi/baseline/notifications\"></mds-tab-item>\n\n <div slot=\"content\"><mds-text>Profilo utente.</mds-text></div>\n <div slot=\"content\"><mds-text>Impostazioni account.</mds-text></div>\n <div slot=\"content\"><mds-text>Cronologia notifiche.</mds-text></div>\n</mds-tab>\n```\n\n#### Fill the Available Width\n\nSet `fill` when the tab strip should stretch to occupy the full container width instead of hugging its content.\n\n```html\n<mds-tab fill>\n <mds-tab-item label=\"Riepilogo\" selected></mds-tab-item>\n <mds-tab-item label=\"Cronologia\"></mds-tab-item>\n <mds-tab-item label=\"Statistiche\"></mds-tab-item>\n\n <div slot=\"content\"><mds-text>Riepilogo pratica.</mds-text></div>\n <div slot=\"content\"><mds-text>Registro modifiche.</mds-text></div>\n <div slot=\"content\"><mds-text>Dati statistici.</mds-text></div>\n</mds-tab>\n```\n\n#### Vertical Direction\n\nUse `direction=\"vertical\"` to stack the tab strip on the side. Pair it with `--mds-tab-direction-vertical-columns` to control the column widths of the sidebar and the content area.\n\n```html\n<mds-tab direction=\"vertical\">\n <mds-tab-item label=\"Dati generali\" selected></mds-tab-item>\n <mds-tab-item label=\"Indirizzi\"></mds-tab-item>\n <mds-tab-item label=\"Contatti\"></mds-tab-item>\n\n <div slot=\"content\"><mds-text>Dati generali.</mds-text></div>\n <div slot=\"content\"><mds-text>Indirizzi registrati.</mds-text></div>\n <div slot=\"content\"><mds-text>Recapiti di contatto.</mds-text></div>\n</mds-tab>\n```\n\n#### Fade Animation\n\nSwitch to `animation=\"fade\"` to highlight the selected tab in place instead of moving the slider indicator. The panels switch without animation in both modes.\n\n```html\n<mds-tab animation=\"fade\">\n <mds-tab-item label=\"Prima\" selected></mds-tab-item>\n <mds-tab-item label=\"Seconda\"></mds-tab-item>\n\n <div slot=\"content\"><mds-text>Pannello 1.</mds-text></div>\n <div slot=\"content\"><mds-text>Pannello 2.</mds-text></div>\n</mds-tab>\n```\n\n#### Overflow Shadow for Many Tabs\n\nEnable `overflow` when the tab strip can contain more items than the viewport permits. Left and right inset shadows appear whenever tabs overflow their container, signalling that scrolling is possible.\n\n```html\n<mds-tab overflow>\n <mds-tab-item label=\"Gennaio\" selected></mds-tab-item>\n <mds-tab-item label=\"Febbraio\"></mds-tab-item>\n <mds-tab-item label=\"Marzo\"></mds-tab-item>\n <mds-tab-item label=\"Aprile\"></mds-tab-item>\n <mds-tab-item label=\"Maggio\"></mds-tab-item>\n <mds-tab-item label=\"Giugno\"></mds-tab-item>\n <mds-tab-item label=\"Luglio\"></mds-tab-item>\n <mds-tab-item label=\"Agosto\"></mds-tab-item>\n <mds-tab-item label=\"Settembre\"></mds-tab-item>\n <mds-tab-item label=\"Ottobre\"></mds-tab-item>\n <mds-tab-item label=\"Novembre\"></mds-tab-item>\n <mds-tab-item label=\"Dicembre\"></mds-tab-item>\n</mds-tab>\n```\n\n#### Scrollbar for Accessible Overflow\n\nUse `scrollbar` instead of (or alongside) `overflow` to expose the native horizontal scrollbar. This is the accessible complement for users who navigate via keyboard or who have motor difficulties.\n\n```html\n<mds-tab scrollbar overflow>\n <mds-tab-item label=\"Sezione A\" selected></mds-tab-item>\n <mds-tab-item label=\"Sezione B\"></mds-tab-item>\n <mds-tab-item label=\"Sezione C\"></mds-tab-item>\n <mds-tab-item label=\"Sezione D\"></mds-tab-item>\n <mds-tab-item label=\"Sezione E\"></mds-tab-item>\n</mds-tab>\n```\n\n#### Sizing\n\nSet `size` on the parent to scale all tabs uniformly. Do not set `size` on individual `<mds-tab-item>` elements - the parent propagates the value automatically.\n\n```html\n<!-- Compact strip, e.g. inside a sidebar or dense toolbar -->\n<mds-tab size=\"sm\">\n <mds-tab-item label=\"Vista elenco\" selected></mds-tab-item>\n <mds-tab-item label=\"Vista griglia\"></mds-tab-item>\n</mds-tab>\n```\n\n#### Navigation Links (href on Tab Items)\n\nWhen each tab leads to an anchor, another page or a route, set `href` on every `<mds-tab-item>` and omit the `content` slot: the items render as links, the browser follows them (in a new tab on a modifier or middle click) and the strip keeps the selected item highlighted. The page content is driven by navigation, not by the managed-panels mechanism.\n\n```html\n<mds-tab>\n <mds-tab-item href=\"#sezione-1\" label=\"Introduzione\" selected></mds-tab-item>\n <mds-tab-item href=\"#sezione-2\" label=\"Requisiti\"></mds-tab-item>\n <mds-tab-item href=\"#sezione-3\" label=\"Conclusioni\"></mds-tab-item>\n</mds-tab>\n```\n\n#### Client-Side Routing (href on Tab Items)\n\nIn a single-page app keep `href` on the items and register the router once with `NavigationService`, from `@maggioli-design-system/magma/services`: a plain click on an item is routed on the client and the selection still moves, with no listener per item. A modifier or middle click stays with the browser, which opens the link in a new tab while the strip stays as it is.\n\n```html\n<mds-tab id=\"sezioni\">\n <mds-tab-item href=\"/pratiche\" label=\"Pratiche\" selected></mds-tab-item>\n <mds-tab-item href=\"/documenti\" label=\"Documenti\"></mds-tab-item>\n <mds-tab-item href=\"/pagamenti\" label=\"Pagamenti\"></mds-tab-item>\n</mds-tab>\n\n<script type=\"module\">\n import { NavigationService } from '@maggioli-design-system/magma/services';\n\n NavigationService.setHandler((href) => router.navigate(href));\n</script>\n```\n\nWithout a registered router, cancel the click on the items and route by hand: the component honours `preventDefault()` and still moves the selection. Leave a modifier click alone.\n\n```html\n<script>\n document.querySelectorAll('#sezioni mds-tab-item').forEach((item) => {\n item.addEventListener('click', (event) => {\n if (event.ctrlKey || event.metaKey || event.shiftKey || event.altKey) return;\n event.preventDefault();\n router.navigate(item.href);\n });\n });\n</script>\n```\n\n#### Disabled Tab Item\n\nMark an individual tab as unavailable with `disabled`. The parent's selection mechanism skips it; the tab is removed from the tab order automatically.\n\n```html\n<mds-tab>\n <mds-tab-item label=\"Attivo\" selected></mds-tab-item>\n <mds-tab-item label=\"Non disponibile\" disabled></mds-tab-item>\n <mds-tab-item label=\"Altro\"></mds-tab-item>\n\n <div slot=\"content\"><mds-text>Contenuto disponibile.</mds-text></div>\n <div slot=\"content\"><mds-text>Contenuto non disponibile.</mds-text></div>\n <div slot=\"content\"><mds-text>Altro contenuto.</mds-text></div>\n</mds-tab>\n```\n\n#### Styling Customization\n\nStyle the component only through its documented `--mds-tab-*` CSS custom properties. Set them on the host or a parent selector; use semantic color roles via `rgb(var(--magma-<role>))` so dark mode and high-contrast modes keep working.\n\n```css\n.scheda-primaria mds-tab {\n --mds-tab-tabs-background: rgb(var(--magma-accent-surface));\n --mds-tab-tabs-radius: var(--magma-radius-xl);\n --mds-tab-item-selected-background: rgb(var(--magma-accent-emphasis));\n --mds-tab-item-selected-color: rgb(var(--magma-accent-on-emphasis));\n --mds-tab-transition-duration: 0.3s;\n}\n```\n",
39
+ "3. Antipattern": "Common incorrect uses of `<mds-tab>`. 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 Size Individual Tab Items\n\nSetting `size` on a `<mds-tab-item>` directly is overridden by the parent at render time. Use the `size` prop on `<mds-tab>` to size all tabs uniformly.\n\n```html\n<!-- INCORRECT -->\n<mds-tab>\n <mds-tab-item label=\"Elenco\" size=\"sm\" selected></mds-tab-item>\n <mds-tab-item label=\"Griglia\" size=\"sm\"></mds-tab-item>\n</mds-tab>\n\n<!-- CORRECT -->\n<mds-tab size=\"sm\">\n <mds-tab-item label=\"Elenco\" selected></mds-tab-item>\n <mds-tab-item label=\"Griglia\"></mds-tab-item>\n</mds-tab>\n```\n\n#### Do Not Mix Tab Items and Content Panels Out of Order\n\nPanels in `slot=\"content\"` are wired to `<mds-tab-item>` elements by document order. A missing panel leaves its tab with no content, a wrong ordering shows the wrong panel when a tab is selected.\n\n```html\n<!-- INCORRECT: only two content panels for three tab items -->\n<mds-tab>\n <mds-tab-item label=\"A\" selected></mds-tab-item>\n <mds-tab-item label=\"B\"></mds-tab-item>\n <mds-tab-item label=\"C\"></mds-tab-item>\n\n <div slot=\"content\"><mds-text>Pannello A.</mds-text></div>\n <div slot=\"content\"><mds-text>Pannello B.</mds-text></div>\n</mds-tab>\n\n<!-- CORRECT: one content panel per tab item, same order -->\n<mds-tab>\n <mds-tab-item label=\"A\" selected></mds-tab-item>\n <mds-tab-item label=\"B\"></mds-tab-item>\n <mds-tab-item label=\"C\"></mds-tab-item>\n\n <div slot=\"content\"><mds-text>Pannello A.</mds-text></div>\n <div slot=\"content\"><mds-text>Pannello B.</mds-text></div>\n <div slot=\"content\"><mds-text>Pannello C.</mds-text></div>\n</mds-tab>\n```\n\n#### Do Not Mix Link Items and Panel Tabs in One Strip\n\nA strip is either a `tablist` of tabs, each controlling a panel, or a navigation of links (`href` on every item): a link inside a tablist is not a child the role allows, and assistive technology announces the strip wrong. Keep the link out of the strip, as an `<mds-button>` next to it.\n\n```html\n<!-- INCORRECT -->\n<mds-tab>\n <mds-tab-item label=\"Dettagli\" selected></mds-tab-item>\n <mds-tab-item label=\"Allegati\"></mds-tab-item>\n <mds-tab-item label=\"Portale\" href=\"https://portale.example.com\"></mds-tab-item>\n\n <div slot=\"content\"><mds-text>Dettagli.</mds-text></div>\n <div slot=\"content\"><mds-text>Allegati.</mds-text></div>\n <div slot=\"content\"></div>\n</mds-tab>\n\n<!-- CORRECT -->\n<mds-tab>\n <mds-tab-item label=\"Dettagli\" selected></mds-tab-item>\n <mds-tab-item label=\"Allegati\"></mds-tab-item>\n\n <div slot=\"content\"><mds-text>Dettagli.</mds-text></div>\n <div slot=\"content\"><mds-text>Allegati.</mds-text></div>\n</mds-tab>\n<mds-button label=\"Portale\" href=\"https://portale.example.com\" target=\"blank\" tone=\"text\"></mds-button>\n```\n\n#### Do Not Put Tab Items Outside `<mds-tab>`\n\n`<mds-tab-item>` communicates with its parent through internal Stencil events. Used outside `<mds-tab>` it renders as an inert button with no selection, panel, or keyboard management.\n\n```html\n<!-- INCORRECT -->\n<div class=\"my-tab-wrapper\">\n <mds-tab-item label=\"Scheda uno\" selected></mds-tab-item>\n <mds-tab-item label=\"Scheda due\"></mds-tab-item>\n</div>\n<div>...</div>\n\n<!-- CORRECT -->\n<mds-tab>\n <mds-tab-item label=\"Scheda uno\" selected></mds-tab-item>\n <mds-tab-item label=\"Scheda due\"></mds-tab-item>\n <div slot=\"content\">...</div>\n <div slot=\"content\">...</div>\n</mds-tab>\n```\n\n#### Do Not Listen to the `mdsTabItemSelect` Event from Outside\n\n`mdsTabItemSelect` is the item-level event that `<mds-tab-item>` fires to its parent `<mds-tab>`: its `detail` carries the item element (`target`) and `value`, not the position of the tab. To react to the active tab of the group listen to `mdsTabChange` on `<mds-tab>`, whose `detail` has the tab index (`id`) and `value`.\n\n```html\n<!-- INCORRECT -->\n<mds-tab id=\"schede\">\n <mds-tab-item label=\"Prima\" selected></mds-tab-item>\n <mds-tab-item label=\"Seconda\"></mds-tab-item>\n</mds-tab>\n\n<script>\n document.querySelector('#schede').addEventListener('mdsTabItemSelect', handler);\n</script>\n\n<!-- CORRECT -->\n<mds-tab id=\"schede\">\n <mds-tab-item label=\"Prima\" selected></mds-tab-item>\n <mds-tab-item label=\"Seconda\"></mds-tab-item>\n</mds-tab>\n\n<script>\n document.querySelector('#schede').addEventListener('mdsTabChange', handler);\n</script>\n```\n\n#### Do Not Use `scrollbar=\"false\"` or `overflow=\"false\"` to Turn Off Boolean Props\n\nStencil reads `\"false\"` as `false` and, since both props are reflected, removes the attribute at the first render, so this happens to work; but the markup says the opposite of what it does, and on a prop that is not reflected the attribute stays in the DOM, where `[attr]` selectors still match it. Remove the attribute entirely to turn a prop off.\n\n```html\n<!-- INCORRECT -->\n<mds-tab scrollbar=\"false\" overflow=\"false\">\n <mds-tab-item label=\"Prima\" selected></mds-tab-item>\n</mds-tab>\n\n<!-- CORRECT -->\n<mds-tab>\n <mds-tab-item label=\"Prima\" selected></mds-tab-item>\n</mds-tab>\n```\n\n#### Do Not Place Raw HTML Instead of `<mds-tab-item>` in the Default Slot\n\nThe default slot expects `<mds-tab-item>` elements only. Placing a raw `<button>` or `<a>` there bypasses the ARIA `tablist` structure, selection management, and keyboard handling that `<mds-tab>` provides.\n\n```html\n<!-- INCORRECT -->\n<mds-tab>\n <button class=\"tab\">Documenti</button>\n <button class=\"tab\">Messaggi</button>\n <div slot=\"content\">...</div>\n <div slot=\"content\">...</div>\n</mds-tab>\n\n<!-- CORRECT -->\n<mds-tab>\n <mds-tab-item label=\"Documenti\" selected></mds-tab-item>\n <mds-tab-item label=\"Messaggi\"></mds-tab-item>\n <div slot=\"content\">...</div>\n <div slot=\"content\">...</div>\n</mds-tab>\n```\n\n#### Do Not Customize via Undocumented Shadow Parts or Internal Selectors\n\nThe supported customization surface is the `--mds-tab-*` CSS custom properties and the documented shadow parts (`tabs`, `contents`, `slider`). Targeting other internals via `>>>`, `/deep/`, or undocumented class names couples your code to the shadow DOM implementation and will break on minor releases.\n\n```css\n/* INCORRECT */\nmds-tab >>> .tabs-wrapper {\n background: red;\n}\nmds-tab::part(tabs-wrapper) {\n padding: 0;\n}\n\n/* CORRECT */\nmds-tab {\n --mds-tab-tabs-background: rgb(var(--magma-accent-surface));\n --mds-tab-tabs-padding: calc(var(--spacing) * 400);\n --mds-tab-tabs-radius: var(--magma-radius-xl);\n}\nmds-tab::part(tabs) {\n outline: 2px solid rgb(var(--magma-accent-border));\n}\n```\n"
40
40
  },
41
41
  "props": [
42
42
  {
@@ -439,7 +439,7 @@
439
439
  },
440
440
  {
441
441
  "name": "content",
442
- "docs": "Add `HTML elements` or `components`, one per mds-tab-item added."
442
+ "docs": "Add `HTML elements` or `components`, one per mds-tab-item added; or none, when the\nitems are links (`href`) to other pages or places and the page, not the component, shows the\ncontent."
443
443
  }
444
444
  ],
445
445
  "parts": [
@@ -227,7 +227,9 @@ mds-tab-item {
227
227
  transition-timing-function: var(--mds-tab-transition-timing-function);
228
228
  }
229
229
 
230
- .contents:empty {
230
+ /* a strip without panels: the slot is still there, waiting for them, so :empty never matched */
231
+
232
+ .contents--empty {
231
233
  display: none;
232
234
  }
233
235
 
@@ -295,6 +297,13 @@ mds-tab-item {
295
297
  align-self: auto;
296
298
  }
297
299
 
300
+ /* without panels the column of the contents is empty, but it still takes its share of the
301
+ width: the strip spans it too */
302
+
303
+ :host([direction='vertical']) .tabs-wrapper--no-content {
304
+ grid-column: 1 / -1;
305
+ }
306
+
298
307
  :host([direction='vertical'])::slotted(mds-tab-item) {
299
308
  width: 100%;
300
309
  }
@@ -8,7 +8,9 @@ import { preferenceStore } from "../../common/preference";
8
8
  * @part contents - Selects the container of the tabbed contents elements.
9
9
  * @part slider - Selects the slider element which is visible when attribute `animation` is set to `slide`.
10
10
  * @part tabs - Selects the container of `mds-tab-item` list elements.
11
- * @slot content - Add `HTML elements` or `components`, one per mds-tab-item added.
11
+ * @slot content - Add `HTML elements` or `components`, one per mds-tab-item added; or none, when the
12
+ * items are links (`href`) to other pages or places and the page, not the component, shows the
13
+ * content.
12
14
  * @slot - Add `mds-tab-item` element/s.
13
15
  */
14
16
  export class MdsTab {
@@ -22,6 +24,9 @@ export class MdsTab {
22
24
  this.sliderOffsetY = -1;
23
25
  this.overflowLeft = false;
24
26
  this.overflowRight = false;
27
+ /** every item is a link: the strip is a navigation, not a tablist */
28
+ this.navigation = false;
29
+ this.hasContent = false;
25
30
  /**
26
31
  * Sets if the component distributes item vertically or horzontally
27
32
  */
@@ -33,6 +38,7 @@ export class MdsTab {
33
38
  this.queryContentItems = () => queryChildrenBySlot(this.element, 'content');
34
39
  this.updateContentItems = () => {
35
40
  this.contentItems = this.queryContentItems();
41
+ this.hasContent = this.contentItems.length > 0;
36
42
  this.contentItems.forEach((item, key) => {
37
43
  setAttributeIfEmpty(item, 'role', 'tabpanel');
38
44
  setAttributeIfEmpty(item, 'aria-labelledby', this.tabItems[key].id);
@@ -42,6 +48,8 @@ export class MdsTab {
42
48
  this.setTabsItems = () => {
43
49
  this.tabItems = Array.from(this.element.querySelectorAll('mds-tab-item'));
44
50
  this.currentItemIndex = -1;
51
+ this.navigation =
52
+ this.tabItems.length > 0 && this.tabItems.every((item) => { var _a; return ((_a = item.href) !== null && _a !== void 0 ? _a : '') !== ''; });
45
53
  this.tabItems.forEach((item) => {
46
54
  item.size = this.size;
47
55
  item.direction = this.direction;
@@ -108,6 +116,9 @@ export class MdsTab {
108
116
  }
109
117
  };
110
118
  this.scrollTabs = (key) => {
119
+ // no item selected: nothing to bring into view
120
+ if (key < 0 || key >= this.tabItems.length)
121
+ return;
111
122
  const tabItem = this.tabItems[key];
112
123
  setTimeout(() => {
113
124
  this.tabs.scrollLeft =
@@ -135,6 +146,7 @@ export class MdsTab {
135
146
  }
136
147
  componentWillLoad() {
137
148
  this.setTabsItems();
149
+ this.hasContent = this.queryContentItems().length > 0;
138
150
  }
139
151
  disconnectedCallback() {
140
152
  this.unsetOverflowCheck();
@@ -218,12 +230,12 @@ export class MdsTab {
218
230
  });
219
231
  }
220
232
  render() {
221
- return (h(Host, { key: '8176eaae2703463a918f36d44d42401d618b9654', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("div", { key: '82ba8b499fc1903bf90e7188288d6c5e270e81ae', class: clsx('tabs-wrapper', this.fill && 'tabs-wrapper--fill') }, this.overflow && (h("div", { key: 'f10af152c6e9daa6b9bd884a394c282277c329ee', class: clsx('tabs-wrapper-overflow-left', this.overflowLeft && 'tabs-wrapper-overflow-left--show') })), this.overflow && (h("div", { key: 'f5dc27fb90f6f354dcb4f5ed865e2067da2793e2', class: clsx('tabs-wrapper-overflow-right', this.overflowRight && 'tabs-wrapper-overflow-right--show') })), h("div", { key: 'b88cc64d8de510ad22afb7470492ea638e62c131', class: "tabs", part: "tabs", role: "tablist" }, h("slot", { key: 'f32e73f653e4b825edb97250bd9cb151ff09b918' }), this.animation === 'slide' && (h("div", { key: '9d99b52eeb1bed53a1d519a953186bdc586a36f0', class: "slider", part: "slider", style: {
233
+ return (h(Host, { key: '95954e67d020c8bbd6a8bfa5202d5dc2826c899e', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("div", { key: '03e8631ae4dd52aa9621992b8a70059ce34b2773', class: clsx('tabs-wrapper', this.fill && 'tabs-wrapper--fill', !this.hasContent && 'tabs-wrapper--no-content') }, this.overflow && (h("div", { key: 'f614eaa74ef4198be3f58ebe7bcd5dfa666b6c32', class: clsx('tabs-wrapper-overflow-left', this.overflowLeft && 'tabs-wrapper-overflow-left--show') })), this.overflow && (h("div", { key: '8b1da6dcb73502dfa2697e053bcc7d1df8f24fbd', class: clsx('tabs-wrapper-overflow-right', this.overflowRight && 'tabs-wrapper-overflow-right--show') })), h("div", { key: '998af9afa3f706f3558f99b73e18c4d4bcff80af', class: "tabs", part: "tabs", role: this.navigation ? undefined : 'tablist' }, h("slot", { key: '867a44aa7b40eed8acf6a93b69312249b20e6954' }), this.animation === 'slide' && (h("div", { key: '846cf260fdd6323ac4eb1a2dbe00528f7a0499c6', class: "slider", part: "slider", style: {
222
234
  '--mds-tab-slider-width': `${this.sliderWidth}px`,
223
235
  '--mds-tab-slider-height': `${this.sliderHeight}px`,
224
236
  '--mds-tab-slider-offset-x': `${this.sliderOffsetX}px`,
225
237
  '--mds-tab-slider-offset-y': `${this.sliderOffsetY}px`,
226
- } })))), h("div", { key: 'a1f9c8e469218c71c2d6b5d6944cd3dd8f34a8d2', class: "contents", part: "contents" }, h("slot", { key: '8ff17223381aec121bbf41ab4c7291563336a74c', name: "content", onSlotchange: this.updateContentItems }))));
238
+ } })))), h("div", { key: '39dae6e7ace6c90017fb71a6bdd82fa73e06bf8b', class: clsx('contents', !this.hasContent && 'contents--empty'), part: "contents" }, h("slot", { key: '145cabbcd7640c1c121a2c7cdac3974c9c593f79', name: "content", onSlotchange: this.updateContentItems }))));
227
239
  }
228
240
  static get is() { return "mds-tab"; }
229
241
  static get encapsulation() { return "shadow"; }
@@ -385,7 +397,9 @@ export class MdsTab {
385
397
  "sliderOffsetX": {},
386
398
  "sliderOffsetY": {},
387
399
  "overflowLeft": {},
388
- "overflowRight": {}
400
+ "overflowRight": {},
401
+ "navigation": {},
402
+ "hasContent": {}
389
403
  };
390
404
  }
391
405
  static get events() {
@@ -160,7 +160,7 @@ Set `size` on the parent to scale all tabs uniformly. Do not set `size` on indiv
160
160
 
161
161
  #### Navigation Links (href on Tab Items)
162
162
 
163
- When each tab should navigate to an anchor or a separate URL, set `href` on `<mds-tab-item>`. The tab item then renders as a link. Omit the `content` slot - the page content is driven by navigation, not by the managed-panels mechanism.
163
+ When each tab leads to an anchor, another page or a route, set `href` on every `<mds-tab-item>` and omit the `content` slot: the items render as links, the browser follows them (in a new tab on a modifier or middle click) and the strip keeps the selected item highlighted. The page content is driven by navigation, not by the managed-panels mechanism.
164
164
 
165
165
  ```html
166
166
  <mds-tab>
@@ -170,6 +170,38 @@ When each tab should navigate to an anchor or a separate URL, set `href` on `<md
170
170
  </mds-tab>
171
171
  ```
172
172
 
173
+ #### Client-Side Routing (href on Tab Items)
174
+
175
+ In a single-page app keep `href` on the items and register the router once with `NavigationService`, from `@maggioli-design-system/magma/services`: a plain click on an item is routed on the client and the selection still moves, with no listener per item. A modifier or middle click stays with the browser, which opens the link in a new tab while the strip stays as it is.
176
+
177
+ ```html
178
+ <mds-tab id="sezioni">
179
+ <mds-tab-item href="/pratiche" label="Pratiche" selected></mds-tab-item>
180
+ <mds-tab-item href="/documenti" label="Documenti"></mds-tab-item>
181
+ <mds-tab-item href="/pagamenti" label="Pagamenti"></mds-tab-item>
182
+ </mds-tab>
183
+
184
+ <script type="module">
185
+ import { NavigationService } from '@maggioli-design-system/magma/services';
186
+
187
+ NavigationService.setHandler((href) => router.navigate(href));
188
+ </script>
189
+ ```
190
+
191
+ Without a registered router, cancel the click on the items and route by hand: the component honours `preventDefault()` and still moves the selection. Leave a modifier click alone.
192
+
193
+ ```html
194
+ <script>
195
+ document.querySelectorAll('#sezioni mds-tab-item').forEach((item) => {
196
+ item.addEventListener('click', (event) => {
197
+ if (event.ctrlKey || event.metaKey || event.shiftKey || event.altKey) return;
198
+ event.preventDefault();
199
+ router.navigate(item.href);
200
+ });
201
+ });
202
+ </script>
203
+ ```
204
+
173
205
  #### Disabled Tab Item
174
206
 
175
207
  Mark an individual tab as unavailable with `disabled`. The parent's selection mechanism skips it; the tab is removed from the tab order automatically.
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-tab-bar
8
8
 
9
- > `@maggioli-design-system/magma` 2.1.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.2.0. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-tab-bar>` web component is the compound container of the Magma Design System that groups a set of `<mds-tab-bar-item>` children into a single selectable navigation bar, owning the mutual-exclusion logic that keeps exactly one item active at a time. The bar is fixed to the bottom edge of the viewport (`position: fixed`), full width.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-10T11:47:46",
2
+ "timestamp": "2026-10-14T12:22:32",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.44.2",
@@ -21,7 +21,7 @@ export class MdsTabBar {
21
21
  });
22
22
  }
23
23
  render() {
24
- return (h(Host, { key: '1b483700e0c4edc11963b74580724a6b2774b2f5', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("slot", { key: '0e21381bf8d13ca5de7c7109f4f7da80b3efaf49' })));
24
+ return (h(Host, { key: '284ebcda6507599c6b167cf7fb8d4b5befad7b8a', "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("slot", { key: 'fded167bbaca31ccb37e255bc713a54c4c3a6d68' })));
25
25
  }
26
26
  static get is() { return "mds-tab-bar"; }
27
27
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-tab-bar-item
8
8
 
9
- > `@maggioli-design-system/magma` 2.1.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.2.0. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-tab-bar-item>` web component is a single selectable tab within the [`<mds-tab-bar>`](../mds-tab-bar/AGENTS.md) container. It renders an icon stacked over a text label and acts as one option in the bar's mutually-exclusive selection group.
12
12
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-10T11:47:46",
2
+ "timestamp": "2026-10-14T12:22:32",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.44.2",
@@ -38,7 +38,7 @@ export class MdsTabBarItem {
38
38
  this.label = sanitizeLabel(newValue);
39
39
  }
40
40
  render() {
41
- return (h(Host, { key: '6e2c08fad0e04d0725ab7ef827c654cf9edecb51', onClick: this.select, "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("mds-icon", { key: 'cc8cc878d899d20532b1582ae7eb2aa459a82078', name: this.icon }), h("mds-text", { key: 'ea6030247b5999f34cd64a6a3ea8b15de66ba5ab', typography: this.typography }, this.label || h("slot", { key: 'b922dbfe1b35997ac2c9e9d384e22505838a6994', onSlotchange: this.onSlotChangeHandler }))));
41
+ return (h(Host, { key: '5b6de7f61e288aa4c50c3b7d36b81f927f2eec21', onClick: this.select, "pref-animation": preferenceStore.state.animation, "pref-contrast": preferenceStore.state.contrast, "pref-mode": preferenceStore.state.mode, "pref-theme-scheme": preferenceStore.state['theme-scheme'] }, h("mds-icon", { key: '8eeb467147bb540e5b8e83dc2bfa34f8d9aee634', name: this.icon }), h("mds-text", { key: '147a8156c8931681dc1b29986dc29d6d06832fae', typography: this.typography }, this.label || h("slot", { key: '40f0070c916bafe6b90455197b95b8d1ab5a28c7', onSlotchange: this.onSlotChangeHandler }))));
42
42
  }
43
43
  static get is() { return "mds-tab-bar-item"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -6,13 +6,14 @@
6
6
 
7
7
  # mds-tab-item
8
8
 
9
- > `@maggioli-design-system/magma` 2.1.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.2.0. Shadow DOM: style it only through the CSS custom properties and parts below.
10
10
 
11
11
  The `<mds-tab-item>` web component is the individual, clickable tab control of the Magma Design System, designed to be slotted into the default slot of its parent [`<mds-tab>`](../mds-tab/AGENTS.md). It acts as the trigger that switches the matching `content`-slotted panel inside the tab group.
12
12
 
13
13
  #### Semantic Behavior
14
14
 
15
- - **Compound child only**: Must be a direct child of `<mds-tab>` placed in its default slot; it is not used standalone, and the matching panel content is added separately into the parent's `content` slot (one per `<mds-tab-item>`). Mixing it with other child types breaks the parent's pairing.
15
+ - **Compound child only**: Must be a direct child of `<mds-tab>` placed in its default slot; it is not used standalone, and the matching panel content is added separately into the parent's `content` slot (one per `<mds-tab-item>`, or none when the page shows the content itself). Mixing it with other child types breaks the parent's pairing.
16
+ - **Link item**: With `href` the item renders a real link instead of a tab: it is announced as a link, with `aria-current` when selected, and the browser follows it, in a new tab on a modifier or middle click. A `click` listener on the item cancels the navigation with `preventDefault()` to route on the client; the selection still moves, except on a modifier click, which the browser opens elsewhere.
16
17
  - **Selection driven by the parent**: Clicking the item emits `mdsTabItemSelect`; `<mds-tab>` sets `selected` on the chosen item, clears it on the others, and reveals the corresponding panel.
17
18
  - **Initial selection**: Marking one item `selected` in markup tells the parent which tab is active on load.
18
19
  - **Focus reporting**: A key press emits `mdsTabItemFocus`, which the parent uses to scroll the focused tab into view; both events carry `{ target, value }` so the parent can resolve the item even with a custom `id`.
@@ -24,7 +25,7 @@ The `<mds-tab-item>` web component is the individual, clickable tab control of t
24
25
  This child does not use the shared `variant`/`tone` ladders; its props mirror the underlying `<mds-button>`.
25
26
 
26
27
  - **`value`**: Set this to identify the tab in the `mdsTabItemSelect` payload (and the parent's `mdsTabChange`) when you need to react to selection without relying on DOM index or `id`.
27
- - **`type`**: Defaults to `submit`; pick `button` for a plain tab that does not interact with a surrounding form, or `a` together with `href` when the tab should navigate.
28
+ - **`type`**: Defaults to `submit`; pick `button` for a plain tab that does not interact with a surrounding form. With `href` the item is a link and `type` has no effect.
28
29
  - **`icon`** / **`iconPosition`**: Add a leading (`left`, default) or trailing (`right`) glyph; use the trailing position for affordances like an external-link or dismiss hint.
29
30
  - **`await`**: Reflects the button's awaiting/loading state for tabs whose activation triggers an async operation.
30
31
  - **`size`**: Defaults to `md`, but is normally controlled by the parent's `size` prop, so set it on `<mds-tab>` for consistent sizing across all items.
@@ -44,7 +45,7 @@ This child does not use the shared `variant`/`tone` ladders; its props mirror th
44
45
  | `direction` | `direction` | `"horizontal" \| "vertical" \| undefined` | - | Reflects the parent tab layout direction (set by mds-tab); drives the vertical layout without :host-context |
45
46
  | `disabled` | `disabled` | `boolean \| undefined` | - | Specifies if the tab item is disabled or not |
46
47
  | `expanded` | `expanded` | `boolean \| undefined` | - | Specifies whether the popup the tab item opens is showing. Left unset the tab says nothing about a popup, which is what a tab that opens none has to say. |
47
- | `href` | `href` | `string \| undefined` | - | Specifies the URL target of the button |
48
+ | `href` | `href` | `string \| undefined` | - | Turns the tab into a link to this URL: the item renders a real anchor and is announced as a link, not as a tab, with `aria-current` when selected. A client-side router registered with `NavigationService.setHandler()` (from `@maggioli-design-system/magma/services`) takes the plain clicks over; without one, a click listener on the host can still cancel the navigation with `preventDefault()`. |
48
49
  | `icon` | `icon` | `string \| undefined` | - | The icon displayed in the tab item |
49
50
  | `iconPosition` | `icon-position` | `"left" \| "right" \| undefined` | `'left'` | Specifies the horizontal position of the icon displayed in the tab item |
50
51
  | `label` | `label` | `string \| undefined` | - | The label of the tab item |