@maggioli-design-system/magma 2.3.0 → 2.4.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 (1607) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +237 -0
  3. package/agents/anti-patterns.md +7 -4
  4. package/agents/color.md +2 -2
  5. package/agents/components.md +2 -1
  6. package/agents/conventions.md +16 -0
  7. package/dist/cjs/{aria-BbJUuU9_.js → aria-CzO5Rp1y.js} +23 -15
  8. package/dist/cjs/{floating-controller-D7Ekjocg.js → floating-controller-BxER7sig.js} +20 -11
  9. package/dist/cjs/{floating-ui.dom-EMHL7uyZ.js → floating-ui.dom-VQ_HnnRe.js} +0 -115
  10. package/dist/cjs/{icon-MMHcqbgv.js → icon-BhokFNM7.js} +4 -2
  11. package/dist/cjs/{index-MyEb-PfD.js → index-B5DKRaVO.js} +1 -1
  12. package/dist/cjs/{index-UmmmCMIG.js → index-B_qgSpWL.js} +89 -60
  13. package/dist/cjs/index.cjs.js +1 -1
  14. package/dist/cjs/keyboard-manager-BuCJdI8Q.js +75 -0
  15. package/dist/cjs/loader.cjs.js +2 -2
  16. package/dist/cjs/{locale-CnorkBwF.js → locale-D9XY8LN9.js} +1 -1
  17. package/dist/cjs/{locale.it-CfUV2hxK.js → locale.it-CQgfBg0W.js} +6 -1
  18. package/dist/cjs/{datetime-DHnUzK2K.js → luxon-8hyy5YD7.js} +164 -64
  19. package/dist/cjs/magma-components.cjs.js +3 -3
  20. package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
  21. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +11 -10
  22. package/dist/cjs/mds-accordion-timer.cjs.entry.js +16 -2
  23. package/dist/cjs/mds-accordion.cjs.entry.js +36 -21
  24. package/dist/cjs/mds-author.cjs.entry.js +2 -2
  25. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-avatar-stack.cjs.entry.js +11 -5
  27. package/dist/cjs/mds-avatar.cjs.entry.js +57 -90
  28. package/dist/cjs/mds-badge.cjs.entry.js +4 -4
  29. package/dist/cjs/mds-banner_3.cjs.entry.js +51 -69
  30. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +6 -3
  31. package/dist/cjs/mds-bibliography.cjs.entry.js +23 -17
  32. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +9 -5
  33. package/dist/cjs/mds-breadcrumb.cjs.entry.js +17 -33
  34. package/dist/cjs/mds-button-dropdown.cjs.entry.js +15 -6
  35. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-button_3.cjs.entry.js +54 -38
  37. package/dist/cjs/mds-calendar_2.cjs.entry.js +74 -52
  38. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  39. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-card-header.cjs.entry.js +2 -2
  41. package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
  42. package/dist/cjs/mds-card.cjs.entry.js +25 -16
  43. package/dist/cjs/mds-details.cjs.entry.js +18 -8
  44. package/dist/cjs/mds-dropdown.cjs.entry.js +31 -15
  45. package/dist/cjs/mds-emoji.cjs.entry.js +191 -134
  46. package/dist/cjs/mds-entity.cjs.entry.js +5 -5
  47. package/dist/cjs/mds-file-preview.cjs.entry.js +30 -23
  48. package/dist/cjs/mds-file.cjs.entry.js +25 -7
  49. package/dist/cjs/mds-filter-item.cjs.entry.js +9 -21
  50. package/dist/cjs/mds-filter.cjs.entry.js +10 -6
  51. package/dist/cjs/mds-header-bar.cjs.entry.js +12 -11
  52. package/dist/cjs/mds-header.cjs.entry.js +9 -11
  53. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +10 -15
  54. package/dist/cjs/mds-hr.cjs.entry.js +4 -4
  55. package/dist/cjs/mds-img.cjs.entry.js +38 -46
  56. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +15 -7
  57. package/dist/cjs/mds-input-date-range.cjs.entry.js +31 -27
  58. package/dist/cjs/mds-input-date.cjs.entry.js +17 -14
  59. package/dist/cjs/mds-input-field.cjs.entry.js +2 -2
  60. package/dist/cjs/mds-input-otp.cjs.entry.js +57 -22
  61. package/dist/cjs/mds-input-range.cjs.entry.js +4 -4
  62. package/dist/cjs/mds-input-select.cjs.entry.js +7 -7
  63. package/dist/cjs/mds-input-switch_2.cjs.entry.js +10 -10
  64. package/dist/cjs/mds-input-tip_2.cjs.entry.js +9 -8
  65. package/dist/cjs/mds-input-upload.cjs.entry.js +1097 -15
  66. package/dist/cjs/mds-input.cjs.entry.js +8 -8
  67. package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -5
  68. package/dist/cjs/mds-keyboard.cjs.entry.js +15 -7
  69. package/dist/cjs/mds-kpi-item.cjs.entry.js +17 -3
  70. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  71. package/dist/cjs/mds-label.cjs.entry.js +13 -30
  72. package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
  73. package/dist/cjs/mds-list.cjs.entry.js +2 -2
  74. package/dist/cjs/mds-mention.cjs.entry.js +7 -6
  75. package/dist/cjs/mds-modal.cjs.entry.js +28 -11
  76. package/dist/cjs/mds-note.cjs.entry.js +18 -14
  77. package/dist/cjs/mds-notification.cjs.entry.js +72 -15
  78. package/dist/cjs/mds-paginator-item.cjs.entry.js +23 -11
  79. package/dist/cjs/mds-paginator.cjs.entry.js +39 -4
  80. package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -5
  81. package/dist/cjs/mds-pref-animation.cjs.entry.js +41 -8
  82. package/dist/cjs/mds-pref-consumption.cjs.entry.js +41 -8
  83. package/dist/cjs/mds-pref-contrast.cjs.entry.js +44 -32
  84. package/dist/cjs/mds-pref-language-item.cjs.entry.js +8 -8
  85. package/dist/cjs/mds-pref-language.cjs.entry.js +43 -21
  86. package/dist/cjs/mds-pref-mode.cjs.entry.js +28 -24
  87. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
  88. package/dist/cjs/mds-pref-theme.cjs.entry.js +109 -31
  89. package/dist/cjs/mds-pref.cjs.entry.js +28 -11
  90. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
  91. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  92. package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
  93. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  94. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
  95. package/dist/cjs/mds-price-table-list.cjs.entry.js +14 -6
  96. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  97. package/dist/cjs/mds-progress_2.cjs.entry.js +46 -33
  98. package/dist/cjs/mds-push-notification-item.cjs.entry.js +12 -9
  99. package/dist/cjs/mds-push-notification.cjs.entry.js +36 -13
  100. package/dist/cjs/mds-quote.cjs.entry.js +3 -3
  101. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
  102. package/dist/cjs/mds-radial-menu.cjs.entry.js +47 -38
  103. package/dist/cjs/mds-separator.cjs.entry.js +4 -4
  104. package/dist/cjs/mds-status-bar.cjs.entry.js +8 -9
  105. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +18 -6
  106. package/dist/cjs/mds-stepper-bar.cjs.entry.js +8 -17
  107. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +25 -16
  108. package/dist/cjs/mds-tab-bar.cjs.entry.js +11 -5
  109. package/dist/cjs/mds-tab_2.cjs.entry.js +16 -10
  110. package/dist/cjs/mds-table-body.cjs.entry.js +4 -4
  111. package/dist/cjs/mds-table-footer.cjs.entry.js +13 -4
  112. package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
  113. package/dist/cjs/mds-table-header.cjs.entry.js +13 -5
  114. package/dist/cjs/mds-table-row.cjs.entry.js +35 -11
  115. package/dist/cjs/mds-table.cjs.entry.js +80 -23
  116. package/dist/cjs/mds-text.cjs.entry.js +4 -4
  117. package/dist/cjs/mds-toast-region.cjs.entry.js +119 -0
  118. package/dist/cjs/mds-toast.cjs.entry.js +163 -33
  119. package/dist/cjs/mds-tooltip.cjs.entry.js +71 -16
  120. package/dist/cjs/mds-tree-item.cjs.entry.js +24 -10
  121. package/dist/cjs/mds-tree.cjs.entry.js +37 -15
  122. package/dist/cjs/mds-url-view.cjs.entry.js +6 -6
  123. package/dist/cjs/mds-usage.cjs.entry.js +5 -5
  124. package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
  125. package/dist/cjs/mds-zero.cjs.entry.js +4 -4
  126. package/dist/cjs/{preference-DRkzNp5a.js → preference-C8BcoA3M.js} +1 -1
  127. package/dist/cjs/{slot-RmXfgH4P.js → slot-Dku0TdVg.js} +15 -0
  128. package/dist/collection/collection-manifest.json +2 -1
  129. package/dist/collection/common/aria.js +25 -1
  130. package/dist/collection/common/file.js +6 -1
  131. package/dist/collection/common/floating-controller.js +18 -9
  132. package/dist/collection/common/icon.js +4 -1
  133. package/dist/collection/common/keyboard-manager.js +29 -6
  134. package/dist/collection/common/slot.js +15 -1
  135. package/dist/collection/components/mds-accordion/AGENTS.md +3 -2
  136. package/dist/collection/components/mds-accordion/antipattern.md +1 -1
  137. package/dist/collection/components/mds-accordion/documentation.json +9 -4
  138. package/dist/collection/components/mds-accordion/mds-accordion.css +1 -1
  139. package/dist/collection/components/mds-accordion/mds-accordion.js +34 -21
  140. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  141. package/dist/collection/components/mds-accordion-item/antipattern.md +2 -2
  142. package/dist/collection/components/mds-accordion-item/documentation.json +3 -3
  143. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +5 -1
  144. package/dist/collection/components/mds-accordion-timer/AGENTS.md +2 -2
  145. package/dist/collection/components/mds-accordion-timer/documentation.json +3 -3
  146. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +15 -1
  147. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +4 -4
  148. package/dist/collection/components/mds-accordion-timer-item/documentation.json +4 -4
  149. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +5 -1
  150. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +9 -8
  151. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  152. package/dist/collection/components/mds-author/documentation.json +2 -2
  153. package/dist/collection/components/mds-avatar/AGENTS.md +4 -4
  154. package/dist/collection/components/mds-avatar/documentation.json +4 -4
  155. package/dist/collection/components/mds-avatar/mds-avatar.css +15 -4
  156. package/dist/collection/components/mds-avatar/mds-avatar.js +56 -70
  157. package/dist/collection/components/mds-avatar/pattern.md +13 -2
  158. package/dist/collection/components/mds-avatar-stack/AGENTS.md +2 -2
  159. package/dist/collection/components/mds-avatar-stack/documentation.json +3 -3
  160. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +1 -1
  161. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +15 -2
  162. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  163. package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
  164. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  165. package/dist/collection/components/mds-badge/antipattern.md +0 -1
  166. package/dist/collection/components/mds-badge/documentation.json +4 -4
  167. package/dist/collection/components/mds-badge/mds-badge.css +4 -2
  168. package/dist/collection/components/mds-badge/pattern.md +0 -1
  169. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  170. package/dist/collection/components/mds-banner/documentation.json +2 -2
  171. package/dist/collection/components/mds-banner/mds-banner.css +18 -14
  172. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +2 -2
  173. package/dist/collection/components/mds-benchmark-bar/antipattern.md +1 -1
  174. package/dist/collection/components/mds-benchmark-bar/documentation.json +5 -5
  175. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +4 -1
  176. package/dist/collection/components/mds-benchmark-bar/pattern.md +1 -1
  177. package/dist/collection/components/mds-bibliography/AGENTS.md +4 -4
  178. package/dist/collection/components/mds-bibliography/antipattern.md +1 -1
  179. package/dist/collection/components/mds-bibliography/documentation.json +16 -7
  180. package/dist/collection/components/mds-bibliography/mds-bibliography.css +3 -1
  181. package/dist/collection/components/mds-bibliography/mds-bibliography.js +29 -17
  182. package/dist/collection/components/mds-bibliography/pattern.md +2 -2
  183. package/dist/collection/components/mds-breadcrumb/AGENTS.md +8 -6
  184. package/dist/collection/components/mds-breadcrumb/antipattern.md +3 -3
  185. package/dist/collection/components/mds-breadcrumb/documentation.json +18 -8
  186. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +16 -5
  187. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +13 -29
  188. package/dist/collection/components/mds-breadcrumb/pattern.md +2 -5
  189. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +4 -4
  190. package/dist/collection/components/mds-breadcrumb-item/documentation.json +10 -5
  191. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +1 -1
  192. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +10 -3
  193. package/dist/collection/components/mds-button/AGENTS.md +10 -7
  194. package/dist/collection/components/mds-button/documentation.json +21 -8
  195. package/dist/collection/components/mds-button/mds-button.css +13 -7
  196. package/dist/collection/components/mds-button/mds-button.js +32 -27
  197. package/dist/collection/components/mds-button/pattern.md +6 -0
  198. package/dist/collection/components/mds-button-dropdown/AGENTS.md +9 -8
  199. package/dist/collection/components/mds-button-dropdown/antipattern.md +1 -1
  200. package/dist/collection/components/mds-button-dropdown/documentation.json +13 -9
  201. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +28 -7
  202. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +15 -5
  203. package/dist/collection/components/mds-button-dropdown/pattern.md +8 -1
  204. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  205. package/dist/collection/components/mds-button-group/documentation.json +2 -2
  206. package/dist/collection/components/mds-calendar/AGENTS.md +4 -4
  207. package/dist/collection/components/mds-calendar/documentation.json +5 -5
  208. package/dist/collection/components/mds-calendar/mds-calendar.css +12 -4
  209. package/dist/collection/components/mds-calendar/mds-calendar.js +40 -20
  210. package/dist/collection/components/mds-calendar/pattern.md +4 -3
  211. package/dist/collection/components/mds-calendar-cell/AGENTS.md +8 -8
  212. package/dist/collection/components/mds-calendar-cell/antipattern.md +2 -1
  213. package/dist/collection/components/mds-calendar-cell/documentation.json +14 -10
  214. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +260 -109
  215. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +8 -3
  216. package/dist/collection/components/mds-calendar-cell/pattern.md +3 -1
  217. package/dist/collection/components/mds-card/AGENTS.md +5 -4
  218. package/dist/collection/components/mds-card/antipattern.md +1 -1
  219. package/dist/collection/components/mds-card/documentation.json +10 -5
  220. package/dist/collection/components/mds-card/mds-card.css +2 -1
  221. package/dist/collection/components/mds-card/mds-card.js +22 -13
  222. package/dist/collection/components/mds-card/pattern.md +4 -3
  223. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  224. package/dist/collection/components/mds-card-content/documentation.json +2 -2
  225. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  226. package/dist/collection/components/mds-card-footer/documentation.json +2 -2
  227. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  228. package/dist/collection/components/mds-card-header/documentation.json +2 -2
  229. package/dist/collection/components/mds-card-media/AGENTS.md +2 -2
  230. package/dist/collection/components/mds-card-media/documentation.json +7 -3
  231. package/dist/collection/components/mds-card-media/mds-card-media.js +2 -1
  232. package/dist/collection/components/mds-chip/AGENTS.md +3 -3
  233. package/dist/collection/components/mds-chip/documentation.json +6 -6
  234. package/dist/collection/components/mds-chip/mds-chip.css +12 -9
  235. package/dist/collection/components/mds-chip/mds-chip.js +40 -60
  236. package/dist/collection/components/mds-chip/pattern.md +1 -1
  237. package/dist/collection/components/mds-details/AGENTS.md +5 -4
  238. package/dist/collection/components/mds-details/documentation.json +6 -6
  239. package/dist/collection/components/mds-details/mds-details.css +14 -2
  240. package/dist/collection/components/mds-details/mds-details.js +14 -4
  241. package/dist/collection/components/mds-details/pattern.md +2 -2
  242. package/dist/collection/components/mds-dropdown/AGENTS.md +7 -7
  243. package/dist/collection/components/mds-dropdown/documentation.json +15 -10
  244. package/dist/collection/components/mds-dropdown/mds-dropdown.css +66 -33
  245. package/dist/collection/components/mds-dropdown/mds-dropdown.js +31 -12
  246. package/dist/collection/components/mds-dropdown/pattern.md +4 -2
  247. package/dist/collection/components/mds-emoji/AGENTS.md +11 -11
  248. package/dist/collection/components/mds-emoji/antipattern.md +1 -1
  249. package/dist/collection/components/mds-emoji/documentation.json +34 -64
  250. package/dist/collection/components/mds-emoji/mds-emoji.js +101 -77
  251. package/dist/collection/components/mds-emoji/meta/gaze.js +22 -0
  252. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  253. package/dist/collection/components/mds-entity/documentation.json +2 -2
  254. package/dist/collection/components/mds-entity/mds-entity.css +9 -4
  255. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  256. package/dist/collection/components/mds-file/AGENTS.md +5 -5
  257. package/dist/collection/components/mds-file/documentation.json +4 -4
  258. package/dist/collection/components/mds-file/mds-file.css +2 -2
  259. package/dist/collection/components/mds-file/mds-file.js +21 -3
  260. package/dist/collection/components/mds-file-preview/AGENTS.md +5 -5
  261. package/dist/collection/components/mds-file-preview/antipattern.md +1 -1
  262. package/dist/collection/components/mds-file-preview/documentation.json +20 -10
  263. package/dist/collection/components/mds-file-preview/mds-file-preview.css +27 -1
  264. package/dist/collection/components/mds-file-preview/mds-file-preview.js +34 -21
  265. package/dist/collection/components/mds-file-preview/pattern.md +1 -1
  266. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-filter/documentation.json +2 -2
  268. package/dist/collection/components/mds-filter/mds-filter.css +3 -3
  269. package/dist/collection/components/mds-filter/mds-filter.js +6 -2
  270. package/dist/collection/components/mds-filter-item/AGENTS.md +2 -2
  271. package/dist/collection/components/mds-filter-item/documentation.json +3 -3
  272. package/dist/collection/components/mds-filter-item/mds-filter-item.css +7 -4
  273. package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -14
  274. package/dist/collection/components/mds-header/AGENTS.md +5 -5
  275. package/dist/collection/components/mds-header/antipattern.md +2 -2
  276. package/dist/collection/components/mds-header/documentation.json +14 -9
  277. package/dist/collection/components/mds-header/mds-header.css +8 -6
  278. package/dist/collection/components/mds-header/mds-header.js +10 -9
  279. package/dist/collection/components/mds-header/pattern.md +1 -1
  280. package/dist/collection/components/mds-header-bar/AGENTS.md +5 -5
  281. package/dist/collection/components/mds-header-bar/documentation.json +14 -10
  282. package/dist/collection/components/mds-header-bar/mds-header-bar.css +13 -4
  283. package/dist/collection/components/mds-header-bar/mds-header-bar.js +11 -9
  284. package/dist/collection/components/mds-header-bar/pattern.md +2 -2
  285. package/dist/collection/components/mds-help/AGENTS.md +7 -7
  286. package/dist/collection/components/mds-help/documentation.json +11 -7
  287. package/dist/collection/components/mds-help/mds-help.css +22 -0
  288. package/dist/collection/components/mds-help/mds-help.js +8 -5
  289. package/dist/collection/components/mds-help/pattern.md +2 -2
  290. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +2 -2
  291. package/dist/collection/components/mds-horizontal-scroll/documentation.json +7 -3
  292. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +3 -3
  293. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +7 -11
  294. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  295. package/dist/collection/components/mds-hr/documentation.json +2 -2
  296. package/dist/collection/components/mds-hr/mds-hr.css +1 -1
  297. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  298. package/dist/collection/components/mds-icon/AGENTS.md +2 -2
  299. package/dist/collection/components/mds-icon/documentation.json +4 -4
  300. package/dist/collection/components/mds-icon/mds-icon.js +14 -3
  301. package/dist/collection/components/mds-icon/pattern.md +1 -1
  302. package/dist/collection/components/mds-img/AGENTS.md +9 -9
  303. package/dist/collection/components/mds-img/antipattern.md +1 -1
  304. package/dist/collection/components/mds-img/documentation.json +36 -34
  305. package/dist/collection/components/mds-img/mds-img.js +58 -56
  306. package/dist/collection/components/mds-input/AGENTS.md +15 -15
  307. package/dist/collection/components/mds-input/antipattern.md +1 -1
  308. package/dist/collection/components/mds-input/documentation.json +83 -22
  309. package/dist/collection/components/mds-input/mds-input.css +3 -3
  310. package/dist/collection/components/mds-input/mds-input.js +33 -9
  311. package/dist/collection/components/mds-input-date/AGENTS.md +3 -3
  312. package/dist/collection/components/mds-input-date/antipattern.md +1 -1
  313. package/dist/collection/components/mds-input-date/documentation.json +23 -6
  314. package/dist/collection/components/mds-input-date/mds-input-date.css +1 -2
  315. package/dist/collection/components/mds-input-date/mds-input-date.js +17 -2
  316. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  317. package/dist/collection/components/mds-input-date-range/documentation.json +18 -2
  318. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +18 -2
  319. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +3 -3
  320. package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +1 -1
  321. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +26 -8
  322. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +31 -9
  323. package/dist/collection/components/mds-input-field/AGENTS.md +4 -4
  324. package/dist/collection/components/mds-input-field/documentation.json +10 -6
  325. package/dist/collection/components/mds-input-field/mds-input-field.css +1 -1
  326. package/dist/collection/components/mds-input-field/mds-input-field.js +5 -2
  327. package/dist/collection/components/mds-input-otp/AGENTS.md +5 -4
  328. package/dist/collection/components/mds-input-otp/antipattern.md +1 -1
  329. package/dist/collection/components/mds-input-otp/documentation.json +5 -5
  330. package/dist/collection/components/mds-input-otp/mds-input-otp.css +12 -0
  331. package/dist/collection/components/mds-input-otp/mds-input-otp.js +53 -18
  332. package/dist/collection/components/mds-input-otp/pattern.md +1 -1
  333. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  334. package/dist/collection/components/mds-input-range/antipattern.md +1 -1
  335. package/dist/collection/components/mds-input-range/documentation.json +3 -3
  336. package/dist/collection/components/mds-input-range/mds-input-range.css +3 -3
  337. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  338. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  339. package/dist/collection/components/mds-input-select/documentation.json +2 -2
  340. package/dist/collection/components/mds-input-select/mds-input-select.css +9 -2
  341. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  342. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  343. package/dist/collection/components/mds-input-switch/antipattern.md +1 -1
  344. package/dist/collection/components/mds-input-switch/documentation.json +3 -3
  345. package/dist/collection/components/mds-input-switch/mds-input-switch.css +7 -6
  346. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  347. package/dist/collection/components/mds-input-tip/AGENTS.md +2 -2
  348. package/dist/collection/components/mds-input-tip/documentation.json +3 -3
  349. package/dist/collection/components/mds-input-tip/mds-input-tip.js +4 -3
  350. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-input-tip-item/documentation.json +2 -2
  352. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +3 -1
  353. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  354. package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +2 -8
  355. package/dist/collection/components/mds-input-upload/AGENTS.md +2 -2
  356. package/dist/collection/components/mds-input-upload/documentation.json +7 -3
  357. package/dist/collection/components/mds-input-upload/mds-input-upload.css +4 -3
  358. package/dist/collection/components/mds-input-upload/mds-input-upload.js +13 -8
  359. package/dist/collection/components/mds-keyboard/AGENTS.md +2 -2
  360. package/dist/collection/components/mds-keyboard/documentation.json +4 -4
  361. package/dist/collection/components/mds-keyboard/mds-keyboard.css +24 -13
  362. package/dist/collection/components/mds-keyboard/mds-keyboard.js +11 -3
  363. package/dist/collection/components/mds-keyboard/pattern.md +1 -1
  364. package/dist/collection/components/mds-keyboard-key/AGENTS.md +2 -2
  365. package/dist/collection/components/mds-keyboard-key/documentation.json +3 -3
  366. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -2
  367. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  368. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  369. package/dist/collection/components/mds-kpi/documentation.json +2 -2
  370. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  371. package/dist/collection/components/mds-kpi-item/AGENTS.md +2 -2
  372. package/dist/collection/components/mds-kpi-item/antipattern.md +1 -1
  373. package/dist/collection/components/mds-kpi-item/documentation.json +5 -5
  374. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +15 -1
  375. package/dist/collection/components/mds-kpi-item/pattern.md +2 -2
  376. package/dist/collection/components/mds-label/AGENTS.md +2 -2
  377. package/dist/collection/components/mds-label/documentation.json +3 -3
  378. package/dist/collection/components/mds-label/mds-label.css +6 -1
  379. package/dist/collection/components/mds-label/mds-label.js +2 -24
  380. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  381. package/dist/collection/components/mds-list/documentation.json +2 -2
  382. package/dist/collection/components/mds-list/mds-list.js +1 -1
  383. package/dist/collection/components/mds-list-item/AGENTS.md +3 -3
  384. package/dist/collection/components/mds-list-item/documentation.json +12 -4
  385. package/dist/collection/components/mds-list-item/mds-list-item.js +3 -1
  386. package/dist/collection/components/mds-mention/AGENTS.md +2 -2
  387. package/dist/collection/components/mds-mention/documentation.json +3 -3
  388. package/dist/collection/components/mds-mention/mds-mention.css +2 -11
  389. package/dist/collection/components/mds-mention/mds-mention.js +4 -3
  390. package/dist/collection/components/mds-modal/AGENTS.md +7 -6
  391. package/dist/collection/components/mds-modal/documentation.json +16 -7
  392. package/dist/collection/components/mds-modal/mds-modal.css +18 -9
  393. package/dist/collection/components/mds-modal/mds-modal.js +25 -7
  394. package/dist/collection/components/mds-modal/pattern.md +1 -1
  395. package/dist/collection/components/mds-note/AGENTS.md +2 -1
  396. package/dist/collection/components/mds-note/documentation.json +8 -3
  397. package/dist/collection/components/mds-note/mds-note.css +4 -12
  398. package/dist/collection/components/mds-note/mds-note.js +13 -9
  399. package/dist/collection/components/mds-note/pattern.md +1 -0
  400. package/dist/collection/components/mds-notification/AGENTS.md +5 -5
  401. package/dist/collection/components/mds-notification/documentation.json +10 -5
  402. package/dist/collection/components/mds-notification/mds-notification.css +9 -2
  403. package/dist/collection/components/mds-notification/mds-notification.js +78 -13
  404. package/dist/collection/components/mds-paginator/AGENTS.md +4 -3
  405. package/dist/collection/components/mds-paginator/antipattern.md +2 -1
  406. package/dist/collection/components/mds-paginator/documentation.json +6 -6
  407. package/dist/collection/components/mds-paginator/mds-paginator.css +2 -2
  408. package/dist/collection/components/mds-paginator/mds-paginator.js +12 -1
  409. package/dist/collection/components/mds-paginator/pattern.md +9 -1
  410. package/dist/collection/components/mds-paginator-item/AGENTS.md +4 -4
  411. package/dist/collection/components/mds-paginator-item/antipattern.md +2 -1
  412. package/dist/collection/components/mds-paginator-item/documentation.json +6 -6
  413. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +67 -70
  414. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +19 -7
  415. package/dist/collection/components/mds-paginator-item/pattern.md +3 -1
  416. package/dist/collection/components/mds-policy-ai/AGENTS.md +3 -2
  417. package/dist/collection/components/mds-policy-ai/documentation.json +13 -5
  418. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +13 -7
  419. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +3 -2
  420. package/dist/collection/components/mds-policy-ai/pattern.md +6 -1
  421. package/dist/collection/components/mds-pref/AGENTS.md +5 -5
  422. package/dist/collection/components/mds-pref/antipattern.md +1 -1
  423. package/dist/collection/components/mds-pref/documentation.json +8 -8
  424. package/dist/collection/components/mds-pref/mds-pref.js +27 -9
  425. package/dist/collection/components/mds-pref/pattern.md +5 -5
  426. package/dist/collection/components/mds-pref-animation/AGENTS.md +3 -3
  427. package/dist/collection/components/mds-pref-animation/antipattern.md +1 -1
  428. package/dist/collection/components/mds-pref-animation/documentation.json +5 -5
  429. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +38 -5
  430. package/dist/collection/components/mds-pref-animation/pattern.md +6 -6
  431. package/dist/collection/components/mds-pref-consumption/AGENTS.md +3 -3
  432. package/dist/collection/components/mds-pref-consumption/antipattern.md +1 -1
  433. package/dist/collection/components/mds-pref-consumption/documentation.json +5 -5
  434. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +38 -5
  435. package/dist/collection/components/mds-pref-consumption/pattern.md +5 -6
  436. package/dist/collection/components/mds-pref-contrast/AGENTS.md +3 -3
  437. package/dist/collection/components/mds-pref-contrast/antipattern.md +2 -2
  438. package/dist/collection/components/mds-pref-contrast/documentation.json +5 -5
  439. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +41 -29
  440. package/dist/collection/components/mds-pref-contrast/pattern.md +3 -3
  441. package/dist/collection/components/mds-pref-language/AGENTS.md +5 -5
  442. package/dist/collection/components/mds-pref-language/antipattern.md +2 -2
  443. package/dist/collection/components/mds-pref-language/documentation.json +17 -7
  444. package/dist/collection/components/mds-pref-language/mds-pref-language.js +54 -20
  445. package/dist/collection/components/mds-pref-language/pattern.md +3 -3
  446. package/dist/collection/components/mds-pref-language-item/AGENTS.md +2 -2
  447. package/dist/collection/components/mds-pref-language-item/antipattern.md +1 -1
  448. package/dist/collection/components/mds-pref-language-item/documentation.json +10 -5
  449. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +9 -6
  450. package/dist/collection/components/mds-pref-mode/AGENTS.md +11 -4
  451. package/dist/collection/components/mds-pref-mode/antipattern.md +4 -4
  452. package/dist/collection/components/mds-pref-mode/documentation.json +22 -6
  453. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +1 -1
  454. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +22 -23
  455. package/dist/collection/components/mds-pref-mode/pattern.md +5 -5
  456. package/dist/collection/components/mds-pref-theme/AGENTS.md +6 -5
  457. package/dist/collection/components/mds-pref-theme/antipattern.md +4 -4
  458. package/dist/collection/components/mds-pref-theme/documentation.json +17 -7
  459. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +121 -30
  460. package/dist/collection/components/mds-pref-theme/pattern.md +3 -3
  461. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +2 -2
  462. package/dist/collection/components/mds-pref-theme-item/antipattern.md +1 -1
  463. package/dist/collection/components/mds-pref-theme-item/documentation.json +8 -4
  464. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +20 -3
  465. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +6 -2
  466. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  467. package/dist/collection/components/mds-price-table/documentation.json +2 -2
  468. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  469. package/dist/collection/components/mds-price-table-features/AGENTS.md +3 -3
  470. package/dist/collection/components/mds-price-table-features/documentation.json +4 -4
  471. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +2 -2
  472. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  473. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +2 -2
  474. package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -3
  475. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +5 -2
  476. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  477. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  478. package/dist/collection/components/mds-price-table-features-row/documentation.json +2 -2
  479. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  480. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  481. package/dist/collection/components/mds-price-table-header/documentation.json +2 -2
  482. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  483. package/dist/collection/components/mds-price-table-list/AGENTS.md +3 -3
  484. package/dist/collection/components/mds-price-table-list/documentation.json +3 -3
  485. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +2 -1
  486. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +13 -3
  487. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +3 -3
  488. package/dist/collection/components/mds-price-table-list-item/documentation.json +9 -5
  489. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +5 -1
  490. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +2 -1
  491. package/dist/collection/components/mds-price-table-list-item/pattern.md +1 -1
  492. package/dist/collection/components/mds-progress/AGENTS.md +3 -2
  493. package/dist/collection/components/mds-progress/documentation.json +4 -4
  494. package/dist/collection/components/mds-progress/mds-progress.css +2 -1
  495. package/dist/collection/components/mds-progress/mds-progress.js +42 -29
  496. package/dist/collection/components/mds-progress/pattern.md +1 -0
  497. package/dist/collection/components/mds-push-notification/AGENTS.md +4 -4
  498. package/dist/collection/components/mds-push-notification/documentation.json +4 -4
  499. package/dist/collection/components/mds-push-notification/mds-push-notification.js +19 -12
  500. package/dist/collection/components/mds-push-notification-item/AGENTS.md +4 -5
  501. package/dist/collection/components/mds-push-notification-item/documentation.json +18 -13
  502. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +5 -88
  503. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +17 -8
  504. package/dist/collection/components/mds-push-notification-item/pattern.md +2 -3
  505. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  506. package/dist/collection/components/mds-quote/documentation.json +2 -2
  507. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  508. package/dist/collection/components/mds-radial-menu/AGENTS.md +12 -11
  509. package/dist/collection/components/mds-radial-menu/antipattern.md +1 -1
  510. package/dist/collection/components/mds-radial-menu/documentation.json +19 -33
  511. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +24 -7
  512. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +46 -39
  513. package/dist/collection/components/mds-radial-menu/pattern.md +14 -1
  514. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  515. package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
  516. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  517. package/dist/collection/components/mds-radial-progress/AGENTS.md +11 -1
  518. package/dist/collection/components/mds-radial-progress/antipattern.md +8 -1
  519. package/dist/collection/components/mds-radial-progress/documentation.json +31 -5
  520. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +9 -1
  521. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  522. package/dist/collection/components/mds-radial-progress/pattern.md +13 -1
  523. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  524. package/dist/collection/components/mds-separator/documentation.json +2 -2
  525. package/dist/collection/components/mds-separator/mds-separator.css +1 -1
  526. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  527. package/dist/collection/components/mds-spinner/AGENTS.md +2 -2
  528. package/dist/collection/components/mds-spinner/documentation.json +4 -4
  529. package/dist/collection/components/mds-spinner/mds-spinner.css +64 -13
  530. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  531. package/dist/collection/components/mds-spinner/pattern.md +1 -1
  532. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  533. package/dist/collection/components/mds-status-bar/antipattern.md +1 -1
  534. package/dist/collection/components/mds-status-bar/documentation.json +4 -4
  535. package/dist/collection/components/mds-status-bar/mds-status-bar.css +11 -6
  536. package/dist/collection/components/mds-status-bar/mds-status-bar.js +5 -6
  537. package/dist/collection/components/mds-status-bar/pattern.md +1 -1
  538. package/dist/collection/components/mds-stepper-bar/AGENTS.md +5 -5
  539. package/dist/collection/components/mds-stepper-bar/documentation.json +8 -14
  540. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +9 -27
  541. package/dist/collection/components/mds-stepper-bar/pattern.md +1 -1
  542. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +4 -4
  543. package/dist/collection/components/mds-stepper-bar-item/documentation.json +6 -6
  544. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +22 -5
  545. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +15 -3
  546. package/dist/collection/components/mds-stepper-bar-item/pattern.md +1 -1
  547. package/dist/collection/components/mds-tab/AGENTS.md +3 -3
  548. package/dist/collection/components/mds-tab/documentation.json +5 -5
  549. package/dist/collection/components/mds-tab/mds-tab.css +4 -4
  550. package/dist/collection/components/mds-tab/mds-tab.js +9 -3
  551. package/dist/collection/components/mds-tab/pattern.md +9 -0
  552. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  553. package/dist/collection/components/mds-tab-bar/antipattern.md +1 -1
  554. package/dist/collection/components/mds-tab-bar/documentation.json +3 -3
  555. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +9 -3
  556. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +3 -3
  557. package/dist/collection/components/mds-tab-bar-item/antipattern.md +2 -2
  558. package/dist/collection/components/mds-tab-bar-item/documentation.json +5 -5
  559. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +22 -1
  560. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +22 -18
  561. package/dist/collection/components/mds-tab-bar-item/pattern.md +1 -1
  562. package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
  563. package/dist/collection/components/mds-tab-item/documentation.json +9 -4
  564. package/dist/collection/components/mds-tab-item/mds-tab-item.css +11 -1
  565. package/dist/collection/components/mds-tab-item/mds-tab-item.js +4 -1
  566. package/dist/collection/components/mds-table/AGENTS.md +10 -8
  567. package/dist/collection/components/mds-table/antipattern.md +1 -1
  568. package/dist/collection/components/mds-table/documentation.json +41 -10
  569. package/dist/collection/components/mds-table/mds-table.css +20 -21
  570. package/dist/collection/components/mds-table/mds-table.js +97 -21
  571. package/dist/collection/components/mds-table/pattern.md +4 -1
  572. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  573. package/dist/collection/components/mds-table-body/documentation.json +2 -2
  574. package/dist/collection/components/mds-table-body/mds-table-body.css +4 -1
  575. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  576. package/dist/collection/components/mds-table-cell/AGENTS.md +5 -5
  577. package/dist/collection/components/mds-table-cell/antipattern.md +1 -1
  578. package/dist/collection/components/mds-table-cell/documentation.json +11 -7
  579. package/dist/collection/components/mds-table-cell/mds-table-cell.css +7 -11
  580. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  581. package/dist/collection/components/mds-table-cell/pattern.md +6 -0
  582. package/dist/collection/components/mds-table-footer/AGENTS.md +14 -4
  583. package/dist/collection/components/mds-table-footer/documentation.json +42 -9
  584. package/dist/collection/components/mds-table-footer/mds-table-footer.css +6 -1
  585. package/dist/collection/components/mds-table-footer/mds-table-footer.js +41 -2
  586. package/dist/collection/components/mds-table-footer/pattern.md +2 -1
  587. package/dist/collection/components/mds-table-header/AGENTS.md +4 -3
  588. package/dist/collection/components/mds-table-header/documentation.json +49 -6
  589. package/dist/collection/components/mds-table-header/mds-table-header.css +7 -0
  590. package/dist/collection/components/mds-table-header/mds-table-header.js +36 -2
  591. package/dist/collection/components/mds-table-header/pattern.md +1 -1
  592. package/dist/collection/components/mds-table-header-cell/AGENTS.md +3 -3
  593. package/dist/collection/components/mds-table-header-cell/documentation.json +20 -6
  594. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +9 -2
  595. package/dist/collection/components/mds-table-row/AGENTS.md +3 -3
  596. package/dist/collection/components/mds-table-row/documentation.json +5 -5
  597. package/dist/collection/components/mds-table-row/mds-table-row.css +5 -4
  598. package/dist/collection/components/mds-table-row/mds-table-row.js +24 -5
  599. package/dist/collection/components/mds-table-row/pattern.md +1 -2
  600. package/dist/collection/components/mds-text/AGENTS.md +2 -2
  601. package/dist/collection/components/mds-text/documentation.json +3 -3
  602. package/dist/collection/components/mds-text/mds-text.css +86 -3
  603. package/dist/collection/components/mds-text/mds-text.js +1 -1
  604. package/dist/collection/components/mds-toast/AGENTS.md +13 -7
  605. package/dist/collection/components/mds-toast/antipattern.md +18 -0
  606. package/dist/collection/components/mds-toast/documentation.json +53 -13
  607. package/dist/collection/components/mds-toast/mds-toast.css +52 -3
  608. package/dist/collection/components/mds-toast/mds-toast.js +174 -35
  609. package/dist/collection/components/mds-toast/meta/event-detail.js +1 -0
  610. package/dist/collection/components/mds-toast/pattern.md +18 -4
  611. package/dist/collection/components/mds-toast-region/AGENTS.md +51 -0
  612. package/dist/collection/components/mds-toast-region/antipattern.md +62 -0
  613. package/dist/collection/components/mds-toast-region/documentation.json +136 -0
  614. package/dist/collection/components/mds-toast-region/mds-toast-region.css +31 -0
  615. package/dist/collection/components/mds-toast-region/mds-toast-region.js +177 -0
  616. package/dist/collection/components/mds-toast-region/pattern.md +82 -0
  617. package/dist/collection/components/mds-tooltip/AGENTS.md +7 -7
  618. package/dist/collection/components/mds-tooltip/documentation.json +18 -9
  619. package/dist/collection/components/mds-tooltip/mds-tooltip.css +43 -8
  620. package/dist/collection/components/mds-tooltip/mds-tooltip.js +73 -14
  621. package/dist/collection/components/mds-tooltip/pattern.md +2 -2
  622. package/dist/collection/components/mds-tree/AGENTS.md +6 -5
  623. package/dist/collection/components/mds-tree/documentation.json +13 -7
  624. package/dist/collection/components/mds-tree/mds-tree.css +5 -4
  625. package/dist/collection/components/mds-tree/mds-tree.js +41 -16
  626. package/dist/collection/components/mds-tree/pattern.md +5 -1
  627. package/dist/collection/components/mds-tree-item/AGENTS.md +7 -7
  628. package/dist/collection/components/mds-tree-item/documentation.json +7 -7
  629. package/dist/collection/components/mds-tree-item/mds-tree-item.css +47 -15
  630. package/dist/collection/components/mds-tree-item/mds-tree-item.js +22 -8
  631. package/dist/collection/components/mds-tree-item/pattern.md +2 -1
  632. package/dist/collection/components/mds-url-view/AGENTS.md +2 -2
  633. package/dist/collection/components/mds-url-view/documentation.json +3 -3
  634. package/dist/collection/components/mds-url-view/mds-url-view.css +3 -2
  635. package/dist/collection/components/mds-url-view/mds-url-view.js +2 -2
  636. package/dist/collection/components/mds-usage/AGENTS.md +12 -10
  637. package/dist/collection/components/mds-usage/antipattern.md +1 -1
  638. package/dist/collection/components/mds-usage/documentation.json +21 -9
  639. package/dist/collection/components/mds-usage/mds-usage.css +5 -3
  640. package/dist/collection/components/mds-usage/mds-usage.js +5 -2
  641. package/dist/collection/components/mds-usage/pattern.md +4 -4
  642. package/dist/collection/components/mds-video-wall/AGENTS.md +2 -2
  643. package/dist/collection/components/mds-video-wall/documentation.json +3 -3
  644. package/dist/collection/components/mds-video-wall/mds-video-wall.css +10 -5
  645. package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -1
  646. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  647. package/dist/collection/components/mds-zero/documentation.json +2 -2
  648. package/dist/collection/components/mds-zero/mds-zero.css +2 -1
  649. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  650. package/dist/components/index.d.ts +2 -0
  651. package/dist/components/index.js +1 -1
  652. package/dist/components/mds-accordion-item.js +1 -1
  653. package/dist/components/mds-accordion-timer-item.js +1 -1
  654. package/dist/components/mds-accordion-timer.js +1 -1
  655. package/dist/components/mds-accordion.js +1 -1
  656. package/dist/components/mds-author.js +1 -1
  657. package/dist/components/mds-avatar-stack-item.js +1 -1
  658. package/dist/components/mds-avatar-stack.js +1 -1
  659. package/dist/components/mds-avatar.js +1 -1
  660. package/dist/components/mds-badge.js +1 -1
  661. package/dist/components/mds-banner.js +1 -1
  662. package/dist/components/mds-benchmark-bar.js +1 -1
  663. package/dist/components/mds-bibliography.js +1 -1
  664. package/dist/components/mds-breadcrumb-item.js +1 -1
  665. package/dist/components/mds-breadcrumb.js +1 -1
  666. package/dist/components/mds-button-dropdown.js +1 -1
  667. package/dist/components/mds-button-group.js +1 -1
  668. package/dist/components/mds-button.js +1 -1
  669. package/dist/components/mds-calendar-cell.js +1 -1
  670. package/dist/components/mds-calendar.js +1 -1
  671. package/dist/components/mds-card-content.js +1 -1
  672. package/dist/components/mds-card-footer.js +1 -1
  673. package/dist/components/mds-card-header.js +1 -1
  674. package/dist/components/mds-card-media.js +1 -1
  675. package/dist/components/mds-card.js +1 -1
  676. package/dist/components/mds-chip.js +1 -1
  677. package/dist/components/mds-details.js +1 -1
  678. package/dist/components/mds-dropdown.js +1 -1
  679. package/dist/components/mds-emoji.js +7 -7
  680. package/dist/components/mds-entity.js +1 -1
  681. package/dist/components/mds-file-preview.js +1 -1
  682. package/dist/components/mds-file.js +1 -1
  683. package/dist/components/mds-filter-item.js +1 -1
  684. package/dist/components/mds-filter.js +1 -1
  685. package/dist/components/mds-header-bar.js +1 -1
  686. package/dist/components/mds-header.js +1 -1
  687. package/dist/components/mds-help.js +1 -1
  688. package/dist/components/mds-horizontal-scroll.js +1 -1
  689. package/dist/components/mds-hr.js +1 -1
  690. package/dist/components/mds-icon.js +1 -1
  691. package/dist/components/mds-img.js +1 -1
  692. package/dist/components/mds-input-date-range-preselection.js +1 -1
  693. package/dist/components/mds-input-date-range.js +1 -1
  694. package/dist/components/mds-input-date.js +1 -1
  695. package/dist/components/mds-input-field.js +1 -1
  696. package/dist/components/mds-input-otp.js +1 -1
  697. package/dist/components/mds-input-range.js +1 -1
  698. package/dist/components/mds-input-select.js +1 -1
  699. package/dist/components/mds-input-switch.js +1 -1
  700. package/dist/components/mds-input-tip-item.js +1 -1
  701. package/dist/components/mds-input-tip.js +1 -1
  702. package/dist/components/mds-input-upload.js +1 -1
  703. package/dist/components/mds-input.js +1 -1
  704. package/dist/components/mds-keyboard-key.js +1 -1
  705. package/dist/components/mds-keyboard.js +1 -1
  706. package/dist/components/mds-kpi-item.js +1 -1
  707. package/dist/components/mds-kpi.js +1 -1
  708. package/dist/components/mds-label.js +1 -1
  709. package/dist/components/mds-list-item.js +1 -1
  710. package/dist/components/mds-list.js +1 -1
  711. package/dist/components/mds-mention.js +1 -1
  712. package/dist/components/mds-modal.js +1 -1
  713. package/dist/components/mds-note.js +1 -1
  714. package/dist/components/mds-notification.js +1 -1
  715. package/dist/components/mds-paginator-item.js +1 -1
  716. package/dist/components/mds-paginator.js +1 -1
  717. package/dist/components/mds-policy-ai.js +1 -1
  718. package/dist/components/mds-pref-animation.js +1 -1
  719. package/dist/components/mds-pref-consumption.js +1 -1
  720. package/dist/components/mds-pref-contrast.js +1 -1
  721. package/dist/components/mds-pref-language-item.js +1 -1
  722. package/dist/components/mds-pref-language.js +1 -1
  723. package/dist/components/mds-pref-mode.js +1 -1
  724. package/dist/components/mds-pref-theme-item.js +1 -1
  725. package/dist/components/mds-pref-theme.js +1 -1
  726. package/dist/components/mds-pref.js +1 -1
  727. package/dist/components/mds-price-table-features-cell.js +1 -1
  728. package/dist/components/mds-price-table-features-row.js +1 -1
  729. package/dist/components/mds-price-table-features.js +1 -1
  730. package/dist/components/mds-price-table-header.js +1 -1
  731. package/dist/components/mds-price-table-list-item.js +1 -1
  732. package/dist/components/mds-price-table-list.js +1 -1
  733. package/dist/components/mds-price-table.js +1 -1
  734. package/dist/components/mds-progress.js +1 -1
  735. package/dist/components/mds-push-notification-item.js +1 -1
  736. package/dist/components/mds-push-notification.js +1 -1
  737. package/dist/components/mds-quote.js +1 -1
  738. package/dist/components/mds-radial-menu-item.js +1 -1
  739. package/dist/components/mds-radial-menu.js +1 -1
  740. package/dist/components/mds-radial-progress.js +1 -1
  741. package/dist/components/mds-separator.js +1 -1
  742. package/dist/components/mds-spinner.js +1 -1
  743. package/dist/components/mds-status-bar.js +1 -1
  744. package/dist/components/mds-stepper-bar-item.js +1 -1
  745. package/dist/components/mds-stepper-bar.js +1 -1
  746. package/dist/components/mds-tab-bar-item.js +1 -1
  747. package/dist/components/mds-tab-bar.js +1 -1
  748. package/dist/components/mds-tab-item.js +1 -1
  749. package/dist/components/mds-tab.js +1 -1
  750. package/dist/components/mds-table-body.js +1 -1
  751. package/dist/components/mds-table-cell.js +1 -1
  752. package/dist/components/mds-table-footer.js +1 -1
  753. package/dist/components/mds-table-header-cell.js +1 -1
  754. package/dist/components/mds-table-header.js +1 -1
  755. package/dist/components/mds-table-row.js +1 -1
  756. package/dist/components/mds-table.js +1 -1
  757. package/dist/components/mds-text.js +1 -1
  758. package/dist/components/mds-toast-region.d.ts +11 -0
  759. package/dist/components/mds-toast-region.js +1 -0
  760. package/dist/components/mds-toast.js +1 -1
  761. package/dist/components/mds-tooltip.js +1 -1
  762. package/dist/components/mds-tree-item.js +1 -1
  763. package/dist/components/mds-tree.js +1 -1
  764. package/dist/components/mds-url-view.js +1 -1
  765. package/dist/components/mds-usage.js +1 -1
  766. package/dist/components/mds-video-wall.js +1 -1
  767. package/dist/components/mds-zero.js +1 -1
  768. package/dist/components/p-2gaGDQwL.js +1 -0
  769. package/dist/components/p-AFBkzOrP.js +1 -0
  770. package/dist/components/p-B1bYa-o0.js +1 -0
  771. package/dist/components/p-B2p5a1Y8.js +3 -0
  772. package/dist/components/p-B6B6q5kP.js +1 -0
  773. package/dist/components/{p--miH951G.js → p-B9dgiq4u.js} +1 -1
  774. package/dist/components/p-BFisF7aN.js +1 -0
  775. package/dist/components/p-BL220gRU.js +1 -0
  776. package/dist/components/p-BLiWCyrD.js +1 -0
  777. package/dist/components/p-BN5kmfLJ.js +8 -0
  778. package/dist/components/p-BUr3NqxM.js +1 -0
  779. package/dist/components/p-BaFfIZGB.js +1 -0
  780. package/dist/components/{p-faViX-qz.js → p-Bg5E4Wnq.js} +1 -1
  781. package/dist/components/p-BjFCjSw6.js +1 -0
  782. package/dist/components/{p-zHpei4x6.js → p-BlnEiKN4.js} +1 -1
  783. package/dist/components/p-CGrPq3C4.js +1 -0
  784. package/dist/components/p-CIWWmisz.js +1 -0
  785. package/dist/components/p-CJyTL7Mj.js +1 -0
  786. package/dist/components/p-Cvhn9asj.js +1 -0
  787. package/dist/components/p-CylHulxe.js +1 -0
  788. package/dist/components/p-D3_jgpKd.js +1 -0
  789. package/dist/components/p-D4JiVIoh.js +1 -0
  790. package/dist/components/{p-CUmJoPAI.js → p-DACnmwad.js} +1 -1
  791. package/dist/components/p-DGGk8PS_.js +1 -0
  792. package/dist/components/p-DSxDXNWp.js +1 -0
  793. package/dist/components/p-DWIIDHSa.js +1 -0
  794. package/dist/components/p-DYpfVn7a.js +1 -0
  795. package/dist/components/{p-qYRtWYC8.js → p-D_0rjNZp.js} +1 -1
  796. package/dist/components/p-DaptTdaU.js +1 -0
  797. package/dist/components/{p-DLCcW1Q5.js → p-DezdwzYQ.js} +1 -1
  798. package/dist/components/{p-BcUY-9n7.js → p-DhIGZbIo.js} +1 -1
  799. package/dist/components/{p-ay5NzZ_x.js → p-Didp833Z.js} +1 -1
  800. package/dist/components/p-Dleapw-k.js +1 -0
  801. package/dist/components/p-JPhOaOXe.js +1 -0
  802. package/dist/components/p-NOw8-OrM.js +1 -0
  803. package/dist/components/p-NlPseOAv.js +1 -0
  804. package/dist/components/{p-DmPLOktp.js → p-cIZniMh0.js} +1 -1
  805. package/dist/components/p-fhAmrBfl.js +1 -0
  806. package/dist/components/p-sM-eFjwq.js +1 -0
  807. package/dist/components/p-wHQGpA62.js +1 -0
  808. package/dist/documentation.json +1069 -462
  809. package/dist/esm/aria-Cvhn9asj.js +53 -0
  810. package/dist/esm/{floating-controller-D5-8D9mH.js → floating-controller-BV0E_Juq.js} +20 -11
  811. package/dist/esm/{floating-ui.dom-JMPfVnGv.js → floating-ui.dom-BaFfIZGB.js} +1 -115
  812. package/dist/esm/{icon-pNJmnrhq.js → icon-B7RVWU-q.js} +4 -2
  813. package/dist/esm/{index-BxPbQB28.js → index-CPRkNQdE.js} +89 -60
  814. package/dist/esm/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
  815. package/dist/esm/index.js +1 -1
  816. package/dist/esm/keyboard-manager-CGrPq3C4.js +73 -0
  817. package/dist/esm/loader.js +3 -3
  818. package/dist/esm/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
  819. package/dist/esm/{locale.it-Cvxh7La5.js → locale.it-Diyps98n.js} +6 -1
  820. package/dist/esm/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +164 -64
  821. package/dist/esm/magma-components.js +4 -4
  822. package/dist/esm/mds-accordion-item.entry.js +3 -3
  823. package/dist/esm/mds-accordion-timer-item.entry.js +11 -10
  824. package/dist/esm/mds-accordion-timer.entry.js +16 -2
  825. package/dist/esm/mds-accordion.entry.js +36 -21
  826. package/dist/esm/mds-author.entry.js +2 -2
  827. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  828. package/dist/esm/mds-avatar-stack.entry.js +11 -5
  829. package/dist/esm/mds-avatar.entry.js +57 -90
  830. package/dist/esm/mds-badge.entry.js +4 -4
  831. package/dist/esm/mds-banner_3.entry.js +51 -69
  832. package/dist/esm/mds-benchmark-bar.entry.js +6 -3
  833. package/dist/esm/mds-bibliography.entry.js +23 -17
  834. package/dist/esm/mds-breadcrumb-item.entry.js +9 -5
  835. package/dist/esm/mds-breadcrumb.entry.js +17 -33
  836. package/dist/esm/mds-button-dropdown.entry.js +15 -6
  837. package/dist/esm/mds-button-group.entry.js +1 -1
  838. package/dist/esm/mds-button_3.entry.js +54 -38
  839. package/dist/esm/mds-calendar_2.entry.js +50 -28
  840. package/dist/esm/mds-card-content.entry.js +1 -1
  841. package/dist/esm/mds-card-footer.entry.js +1 -1
  842. package/dist/esm/mds-card-header.entry.js +2 -2
  843. package/dist/esm/mds-card-media.entry.js +2 -2
  844. package/dist/esm/mds-card.entry.js +25 -16
  845. package/dist/esm/mds-details.entry.js +18 -8
  846. package/dist/esm/mds-dropdown.entry.js +31 -15
  847. package/dist/esm/mds-emoji.entry.js +191 -134
  848. package/dist/esm/mds-entity.entry.js +5 -5
  849. package/dist/esm/mds-file-preview.entry.js +30 -23
  850. package/dist/esm/mds-file.entry.js +25 -7
  851. package/dist/esm/mds-filter-item.entry.js +9 -21
  852. package/dist/esm/mds-filter.entry.js +10 -6
  853. package/dist/esm/mds-header-bar.entry.js +12 -11
  854. package/dist/esm/mds-header.entry.js +9 -11
  855. package/dist/esm/mds-horizontal-scroll.entry.js +10 -15
  856. package/dist/esm/mds-hr.entry.js +4 -4
  857. package/dist/esm/mds-img.entry.js +38 -46
  858. package/dist/esm/mds-input-date-range-preselection.entry.js +15 -7
  859. package/dist/esm/mds-input-date-range.entry.js +12 -8
  860. package/dist/esm/mds-input-date.entry.js +11 -8
  861. package/dist/esm/mds-input-field.entry.js +2 -2
  862. package/dist/esm/mds-input-otp.entry.js +57 -22
  863. package/dist/esm/mds-input-range.entry.js +4 -4
  864. package/dist/esm/mds-input-select.entry.js +7 -7
  865. package/dist/esm/mds-input-switch_2.entry.js +10 -10
  866. package/dist/esm/mds-input-tip_2.entry.js +9 -8
  867. package/dist/esm/mds-input-upload.entry.js +1097 -15
  868. package/dist/esm/mds-input.entry.js +8 -8
  869. package/dist/esm/mds-keyboard-key.entry.js +5 -5
  870. package/dist/esm/mds-keyboard.entry.js +15 -7
  871. package/dist/esm/mds-kpi-item.entry.js +17 -3
  872. package/dist/esm/mds-kpi.entry.js +2 -2
  873. package/dist/esm/mds-label.entry.js +13 -30
  874. package/dist/esm/mds-list-item.entry.js +2 -2
  875. package/dist/esm/mds-list.entry.js +2 -2
  876. package/dist/esm/mds-mention.entry.js +7 -6
  877. package/dist/esm/mds-modal.entry.js +28 -11
  878. package/dist/esm/mds-note.entry.js +18 -14
  879. package/dist/esm/mds-notification.entry.js +72 -15
  880. package/dist/esm/mds-paginator-item.entry.js +23 -11
  881. package/dist/esm/mds-paginator.entry.js +39 -4
  882. package/dist/esm/mds-policy-ai.entry.js +5 -5
  883. package/dist/esm/mds-pref-animation.entry.js +41 -8
  884. package/dist/esm/mds-pref-consumption.entry.js +41 -8
  885. package/dist/esm/mds-pref-contrast.entry.js +44 -32
  886. package/dist/esm/mds-pref-language-item.entry.js +8 -8
  887. package/dist/esm/mds-pref-language.entry.js +43 -21
  888. package/dist/esm/mds-pref-mode.entry.js +28 -24
  889. package/dist/esm/mds-pref-theme-item.entry.js +4 -3
  890. package/dist/esm/mds-pref-theme.entry.js +109 -31
  891. package/dist/esm/mds-pref.entry.js +28 -11
  892. package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
  893. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  894. package/dist/esm/mds-price-table-features.entry.js +4 -4
  895. package/dist/esm/mds-price-table-header.entry.js +2 -2
  896. package/dist/esm/mds-price-table-list-item.entry.js +3 -3
  897. package/dist/esm/mds-price-table-list.entry.js +14 -6
  898. package/dist/esm/mds-price-table.entry.js +2 -2
  899. package/dist/esm/mds-progress_2.entry.js +46 -33
  900. package/dist/esm/mds-push-notification-item.entry.js +12 -9
  901. package/dist/esm/mds-push-notification.entry.js +36 -13
  902. package/dist/esm/mds-quote.entry.js +3 -3
  903. package/dist/esm/mds-radial-menu-item.entry.js +2 -2
  904. package/dist/esm/mds-radial-menu.entry.js +47 -38
  905. package/dist/esm/mds-separator.entry.js +4 -4
  906. package/dist/esm/mds-status-bar.entry.js +8 -9
  907. package/dist/esm/mds-stepper-bar-item.entry.js +18 -6
  908. package/dist/esm/mds-stepper-bar.entry.js +8 -17
  909. package/dist/esm/mds-tab-bar-item.entry.js +25 -16
  910. package/dist/esm/mds-tab-bar.entry.js +11 -5
  911. package/dist/esm/mds-tab_2.entry.js +16 -10
  912. package/dist/esm/mds-table-body.entry.js +4 -4
  913. package/dist/esm/mds-table-footer.entry.js +13 -4
  914. package/dist/esm/mds-table-header-cell.entry.js +3 -3
  915. package/dist/esm/mds-table-header.entry.js +13 -5
  916. package/dist/esm/mds-table-row.entry.js +35 -11
  917. package/dist/esm/mds-table.entry.js +80 -23
  918. package/dist/esm/mds-text.entry.js +4 -4
  919. package/dist/esm/mds-toast-region.entry.js +117 -0
  920. package/dist/esm/mds-toast.entry.js +163 -33
  921. package/dist/esm/mds-tooltip.entry.js +71 -16
  922. package/dist/esm/mds-tree-item.entry.js +24 -10
  923. package/dist/esm/mds-tree.entry.js +37 -15
  924. package/dist/esm/mds-url-view.entry.js +6 -6
  925. package/dist/esm/mds-usage.entry.js +5 -5
  926. package/dist/esm/mds-video-wall.entry.js +5 -4
  927. package/dist/esm/mds-zero.entry.js +4 -4
  928. package/dist/esm/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +1 -1
  929. package/dist/esm/{slot-C0o_l0td.js → slot-AEckDMXh.js} +15 -1
  930. package/dist/esm-es5/aria-Cvhn9asj.js +6 -0
  931. package/dist/esm-es5/{floating-controller-D5-8D9mH.js → floating-controller-BV0E_Juq.js} +12 -3
  932. package/dist/esm-es5/{floating-ui.dom-JMPfVnGv.js → floating-ui.dom-BaFfIZGB.js} +40 -63
  933. package/dist/esm-es5/icon-B7RVWU-q.js +4 -0
  934. package/dist/esm-es5/{index-BxPbQB28.js → index-CPRkNQdE.js} +44 -42
  935. package/dist/esm-es5/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
  936. package/dist/esm-es5/index.js +1 -1
  937. package/dist/esm-es5/keyboard-manager-CGrPq3C4.js +9 -0
  938. package/dist/esm-es5/loader.js +1 -1
  939. package/dist/esm-es5/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
  940. package/dist/esm-es5/locale.it-Diyps98n.js +11 -0
  941. package/dist/esm-es5/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +51 -20
  942. package/dist/esm-es5/magma-components.js +3 -3
  943. package/dist/esm-es5/mds-accordion-item.entry.js +2 -2
  944. package/dist/esm-es5/mds-accordion-timer-item.entry.js +7 -3
  945. package/dist/esm-es5/mds-accordion-timer.entry.js +12 -2
  946. package/dist/esm-es5/mds-accordion.entry.js +14 -2
  947. package/dist/esm-es5/mds-author.entry.js +1 -1
  948. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  949. package/dist/esm-es5/mds-avatar-stack.entry.js +4 -1
  950. package/dist/esm-es5/mds-avatar.entry.js +19 -6
  951. package/dist/esm-es5/mds-badge.entry.js +1 -1
  952. package/dist/esm-es5/mds-banner_3.entry.js +19 -18
  953. package/dist/esm-es5/mds-benchmark-bar.entry.js +5 -2
  954. package/dist/esm-es5/mds-bibliography.entry.js +13 -2
  955. package/dist/esm-es5/mds-breadcrumb-item.entry.js +4 -1
  956. package/dist/esm-es5/mds-breadcrumb.entry.js +8 -2
  957. package/dist/esm-es5/mds-button-dropdown.entry.js +6 -3
  958. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  959. package/dist/esm-es5/mds-button_3.entry.js +26 -11
  960. package/dist/esm-es5/mds-calendar_2.entry.js +20 -9
  961. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  962. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  963. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  964. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  965. package/dist/esm-es5/mds-card.entry.js +11 -5
  966. package/dist/esm-es5/mds-details.entry.js +7 -2
  967. package/dist/esm-es5/mds-dropdown.entry.js +26 -17
  968. package/dist/esm-es5/mds-emoji.entry.js +334 -302
  969. package/dist/esm-es5/mds-entity.entry.js +1 -1
  970. package/dist/esm-es5/mds-file-preview.entry.js +15 -13
  971. package/dist/esm-es5/mds-file.entry.js +11 -4
  972. package/dist/esm-es5/mds-filter-item.entry.js +2 -5
  973. package/dist/esm-es5/mds-filter.entry.js +7 -3
  974. package/dist/esm-es5/mds-header-bar.entry.js +7 -5
  975. package/dist/esm-es5/mds-header.entry.js +7 -4
  976. package/dist/esm-es5/mds-horizontal-scroll.entry.js +15 -12
  977. package/dist/esm-es5/mds-hr.entry.js +1 -1
  978. package/dist/esm-es5/mds-img.entry.js +17 -11
  979. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +6 -1
  980. package/dist/esm-es5/mds-input-date-range.entry.js +16 -12
  981. package/dist/esm-es5/mds-input-date.entry.js +6 -3
  982. package/dist/esm-es5/mds-input-field.entry.js +2 -2
  983. package/dist/esm-es5/mds-input-otp.entry.js +16 -6
  984. package/dist/esm-es5/mds-input-range.entry.js +3 -3
  985. package/dist/esm-es5/mds-input-select.entry.js +2 -2
  986. package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
  987. package/dist/esm-es5/mds-input-tip_2.entry.js +5 -4
  988. package/dist/esm-es5/mds-input-upload.entry.js +5 -3
  989. package/dist/esm-es5/mds-input.entry.js +3 -3
  990. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  991. package/dist/esm-es5/mds-keyboard.entry.js +7 -3
  992. package/dist/esm-es5/mds-kpi-item.entry.js +7 -2
  993. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  994. package/dist/esm-es5/mds-label.entry.js +2 -2
  995. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  996. package/dist/esm-es5/mds-list.entry.js +1 -1
  997. package/dist/esm-es5/mds-mention.entry.js +4 -3
  998. package/dist/esm-es5/mds-modal.entry.js +19 -7
  999. package/dist/esm-es5/mds-note.entry.js +5 -2
  1000. package/dist/esm-es5/mds-notification.entry.js +25 -5
  1001. package/dist/esm-es5/mds-paginator-item.entry.js +8 -1
  1002. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  1003. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  1004. package/dist/esm-es5/mds-pref-animation.entry.js +14 -4
  1005. package/dist/esm-es5/mds-pref-consumption.entry.js +14 -4
  1006. package/dist/esm-es5/mds-pref-contrast.entry.js +14 -7
  1007. package/dist/esm-es5/mds-pref-language-item.entry.js +5 -5
  1008. package/dist/esm-es5/mds-pref-language.entry.js +20 -6
  1009. package/dist/esm-es5/mds-pref-mode.entry.js +10 -3
  1010. package/dist/esm-es5/mds-pref-theme-item.entry.js +4 -3
  1011. package/dist/esm-es5/mds-pref-theme.entry.js +38 -11
  1012. package/dist/esm-es5/mds-pref.entry.js +13 -7
  1013. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  1014. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  1015. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  1016. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  1017. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  1018. package/dist/esm-es5/mds-price-table-list.entry.js +5 -1
  1019. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  1020. package/dist/esm-es5/mds-progress_2.entry.js +18 -3
  1021. package/dist/esm-es5/mds-push-notification-item.entry.js +7 -3
  1022. package/dist/esm-es5/mds-push-notification.entry.js +9 -12
  1023. package/dist/esm-es5/mds-quote.entry.js +2 -2
  1024. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  1025. package/dist/esm-es5/mds-radial-menu.entry.js +8 -11
  1026. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1027. package/dist/esm-es5/mds-status-bar.entry.js +5 -3
  1028. package/dist/esm-es5/mds-stepper-bar-item.entry.js +9 -3
  1029. package/dist/esm-es5/mds-stepper-bar.entry.js +9 -4
  1030. package/dist/esm-es5/mds-tab-bar-item.entry.js +10 -3
  1031. package/dist/esm-es5/mds-tab-bar.entry.js +5 -1
  1032. package/dist/esm-es5/mds-tab_2.entry.js +6 -4
  1033. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1034. package/dist/esm-es5/mds-table-footer.entry.js +4 -1
  1035. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  1036. package/dist/esm-es5/mds-table-header.entry.js +10 -5
  1037. package/dist/esm-es5/mds-table-row.entry.js +9 -3
  1038. package/dist/esm-es5/mds-table.entry.js +33 -8
  1039. package/dist/esm-es5/mds-text.entry.js +3 -3
  1040. package/dist/esm-es5/mds-toast-region.entry.js +22 -0
  1041. package/dist/esm-es5/mds-toast.entry.js +42 -5
  1042. package/dist/esm-es5/mds-tooltip.entry.js +16 -6
  1043. package/dist/esm-es5/mds-tree-item.entry.js +15 -4
  1044. package/dist/esm-es5/mds-tree.entry.js +15 -2
  1045. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  1046. package/dist/esm-es5/mds-usage.entry.js +3 -3
  1047. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  1048. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1049. package/dist/esm-es5/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +4 -4
  1050. package/dist/esm-es5/slot-AEckDMXh.js +30 -0
  1051. package/dist/hydrate/index.js +4397 -1886
  1052. package/dist/hydrate/index.mjs +4397 -1886
  1053. package/dist/magma-components/index.esm.js +1 -1
  1054. package/dist/magma-components/magma-components.esm.js +1 -1
  1055. package/dist/magma-components/magma-components.js +1 -1
  1056. package/dist/magma-components/p-007968a8.system.entry.js +47 -0
  1057. package/dist/magma-components/p-028f3717.entry.js +1 -0
  1058. package/dist/magma-components/{p-808f6796.entry.js → p-0727d8f9.entry.js} +1 -1
  1059. package/dist/magma-components/p-0b5fe949.entry.js +1 -0
  1060. package/dist/magma-components/p-0b7a884e.system.entry.js +29 -0
  1061. package/dist/magma-components/{p-ed897125.entry.js → p-0bcf3bb6.entry.js} +1 -1
  1062. package/dist/magma-components/{p-c34d9e61.system.entry.js → p-0c9bdfff.system.entry.js} +1 -1
  1063. package/dist/magma-components/{p-514d0fcb.entry.js → p-0dd4b006.entry.js} +1 -1
  1064. package/dist/magma-components/p-0f47fd37.system.entry.js +16 -0
  1065. package/dist/magma-components/p-11e50140.system.entry.js +19 -0
  1066. package/dist/magma-components/{p-c644c5fc.system.entry.js → p-11feeebf.system.entry.js} +4 -1
  1067. package/dist/magma-components/p-1287fb51.entry.js +1 -0
  1068. package/dist/magma-components/p-12a2f8e2.system.entry.js +13 -0
  1069. package/dist/magma-components/p-14b40c21.entry.js +1 -0
  1070. package/dist/magma-components/p-166c0190.entry.js +1 -0
  1071. package/dist/magma-components/{p-a9736d68.system.entry.js → p-176e6d9d.system.entry.js} +1 -1
  1072. package/dist/magma-components/{p-508e10b5.system.entry.js → p-1809e47d.system.entry.js} +455 -422
  1073. package/dist/magma-components/p-1989c0b4.entry.js +8 -0
  1074. package/dist/magma-components/p-1a5411a8.entry.js +1 -0
  1075. package/dist/magma-components/p-1f5cd2b5.entry.js +1 -0
  1076. package/dist/{components/p-B8BWxSho.js → magma-components/p-1f9ebc0d.entry.js} +1 -1
  1077. package/dist/magma-components/{p-837fbbf7.system.entry.js → p-1fe66383.system.entry.js} +1 -1
  1078. package/dist/magma-components/p-20469b7a.system.entry.js +1 -0
  1079. package/dist/magma-components/p-20608f69.system.entry.js +35 -0
  1080. package/dist/magma-components/p-2061e567.entry.js +1 -0
  1081. package/dist/magma-components/p-21c2d7bd.entry.js +1 -0
  1082. package/dist/magma-components/p-21fe0fef.system.entry.js +14 -0
  1083. package/dist/magma-components/p-2294945a.system.entry.js +34 -0
  1084. package/dist/magma-components/p-2362b91a.entry.js +1 -0
  1085. package/dist/magma-components/p-23bf1afa.system.entry.js +27 -0
  1086. package/dist/magma-components/{p-c575cb7b.entry.js → p-23ce0824.entry.js} +1 -1
  1087. package/dist/magma-components/p-25576b51.system.entry.js +14 -0
  1088. package/dist/magma-components/p-288f3cfe.entry.js +1 -0
  1089. package/dist/magma-components/p-29d4605e.system.entry.js +10 -0
  1090. package/dist/magma-components/p-2a2b7c43.entry.js +1 -0
  1091. package/dist/magma-components/p-2aab3752.entry.js +1 -0
  1092. package/dist/magma-components/p-2abfc393.entry.js +1 -0
  1093. package/dist/magma-components/p-2c4d2717.entry.js +1 -0
  1094. package/dist/magma-components/p-2d7d9e4f.entry.js +1 -0
  1095. package/dist/magma-components/p-2f3c6105.entry.js +1 -0
  1096. package/dist/magma-components/p-3093af30.system.entry.js +4 -0
  1097. package/dist/magma-components/{p-35ee2d77.entry.js → p-32bfb09c.entry.js} +1 -1
  1098. package/dist/magma-components/p-342770d2.system.entry.js +7 -0
  1099. package/dist/magma-components/p-36ad5759.system.entry.js +10 -0
  1100. package/dist/magma-components/p-3725c2c1.entry.js +1 -0
  1101. package/dist/magma-components/p-37b801d0.system.entry.js +22 -0
  1102. package/dist/magma-components/{p-2de5f5fe.entry.js → p-3871807a.entry.js} +1 -1
  1103. package/dist/magma-components/{p-154aff83.entry.js → p-38a9e862.entry.js} +1 -1
  1104. package/dist/magma-components/p-3a88fc9b.system.entry.js +1 -0
  1105. package/dist/magma-components/p-3ac09ace.entry.js +1 -0
  1106. package/dist/magma-components/p-3b36319a.entry.js +1 -0
  1107. package/dist/magma-components/{p-8cdad12f.entry.js → p-3ba5ddae.entry.js} +1 -1
  1108. package/dist/magma-components/p-3bb26611.entry.js +1 -0
  1109. package/dist/magma-components/p-3e1b21bd.entry.js +1 -0
  1110. package/dist/magma-components/p-3eaeb263.system.entry.js +25 -0
  1111. package/dist/magma-components/p-3fb98529.system.entry.js +28 -0
  1112. package/dist/magma-components/p-4116e328.system.entry.js +1 -0
  1113. package/dist/magma-components/p-4191bf22.entry.js +1 -0
  1114. package/dist/magma-components/p-4225484c.entry.js +1 -0
  1115. package/dist/magma-components/p-4260da67.system.entry.js +12 -0
  1116. package/dist/magma-components/p-43338a07.entry.js +1 -0
  1117. package/dist/magma-components/p-4582aa3e.system.entry.js +16 -0
  1118. package/dist/magma-components/p-47f7366c.entry.js +1 -0
  1119. package/dist/magma-components/p-495a70e2.entry.js +1 -0
  1120. package/dist/magma-components/p-4a051ef5.system.entry.js +46 -0
  1121. package/dist/magma-components/p-4c2dad1e.system.entry.js +81 -0
  1122. package/dist/magma-components/p-4d079b1a.system.entry.js +26 -0
  1123. package/dist/magma-components/p-4ea00c22.entry.js +1 -0
  1124. package/dist/magma-components/{p-8d2a6896.entry.js → p-4f24ccf3.entry.js} +1 -1
  1125. package/dist/magma-components/{p-ed6e287d.system.entry.js → p-4fdda209.system.entry.js} +4 -4
  1126. package/dist/magma-components/p-505fb7d4.entry.js +1 -0
  1127. package/dist/magma-components/p-51a869ee.entry.js +1 -0
  1128. package/dist/magma-components/p-5219eba6.system.entry.js +4 -0
  1129. package/dist/magma-components/p-52a85b97.system.entry.js +9 -0
  1130. package/dist/magma-components/p-52d5d104.system.entry.js +17 -0
  1131. package/dist/magma-components/p-53bcfdbb.entry.js +1 -0
  1132. package/dist/magma-components/{p-c4ceaef6.system.entry.js → p-5439125d.system.entry.js} +2 -2
  1133. package/dist/magma-components/p-547f657e.system.entry.js +91 -0
  1134. package/dist/magma-components/p-5a2deba5.entry.js +1 -0
  1135. package/dist/magma-components/{p-e238e2eb.entry.js → p-5b21eb78.entry.js} +1 -1
  1136. package/dist/magma-components/p-5d9b1fe5.entry.js +1 -0
  1137. package/dist/magma-components/{p-4dfeb655.system.entry.js → p-5ea3be82.system.entry.js} +2 -2
  1138. package/dist/magma-components/{p-DhhAXEdA.system.js → p-5vJawLPw.system.js} +21 -12
  1139. package/dist/magma-components/p-62e65f3b.entry.js +1 -0
  1140. package/dist/magma-components/p-648ec03b.system.entry.js +73 -0
  1141. package/dist/magma-components/p-69b37755.system.entry.js +17 -0
  1142. package/dist/magma-components/p-6b01ef3b.entry.js +1 -0
  1143. package/dist/magma-components/p-6b2fff4b.system.entry.js +11 -0
  1144. package/dist/magma-components/p-6bc4114c.system.entry.js +19 -0
  1145. package/dist/magma-components/p-6c91b00d.system.entry.js +22 -0
  1146. package/dist/magma-components/p-6da68fd5.entry.js +1 -0
  1147. package/dist/magma-components/p-6ebbcd7b.system.entry.js +14 -0
  1148. package/dist/magma-components/p-70a911e8.entry.js +1 -0
  1149. package/dist/magma-components/p-70f5536c.system.entry.js +15 -0
  1150. package/dist/magma-components/{p-c69ec735.system.entry.js → p-721b625a.system.entry.js} +13 -9
  1151. package/dist/magma-components/p-72cc4977.system.entry.js +21 -0
  1152. package/dist/magma-components/p-7497b39d.system.entry.js +7 -0
  1153. package/dist/magma-components/{p-73e593a2.system.entry.js → p-765ff9a3.system.entry.js} +6 -3
  1154. package/dist/magma-components/p-7a568cbf.entry.js +1 -0
  1155. package/dist/magma-components/p-7d548a19.entry.js +1 -0
  1156. package/dist/magma-components/p-7f776dff.entry.js +1 -0
  1157. package/dist/magma-components/p-8059aa67.system.entry.js +17 -0
  1158. package/dist/magma-components/p-811272a9.entry.js +1 -0
  1159. package/dist/magma-components/p-87b15008.entry.js +1 -0
  1160. package/dist/magma-components/p-88ac5d50.entry.js +1 -0
  1161. package/dist/magma-components/{p-add1a8d0.system.entry.js → p-88be542e.system.entry.js} +2 -2
  1162. package/dist/magma-components/{p-64f78149.system.entry.js → p-890bae38.system.entry.js} +1 -1
  1163. package/dist/magma-components/p-8a4a2b5a.entry.js +1 -0
  1164. package/dist/magma-components/p-8b081ba9.entry.js +1 -0
  1165. package/dist/magma-components/{p-0a9fb138.system.entry.js → p-8ba250d6.system.entry.js} +1 -1
  1166. package/dist/magma-components/p-8d8c9c90.entry.js +1 -0
  1167. package/dist/magma-components/p-8e08ae08.system.entry.js +94 -0
  1168. package/dist/magma-components/p-8f5f2dfe.system.entry.js +19 -0
  1169. package/dist/magma-components/p-90fe332f.entry.js +1 -0
  1170. package/dist/magma-components/p-911dc847.entry.js +1 -0
  1171. package/dist/magma-components/p-916a26e4.entry.js +1 -0
  1172. package/dist/magma-components/p-926ef760.entry.js +1 -0
  1173. package/dist/magma-components/p-93d8b236.system.entry.js +10 -0
  1174. package/dist/magma-components/p-95328cc7.system.entry.js +17 -0
  1175. package/dist/magma-components/p-95486c6a.system.entry.js +5 -0
  1176. package/dist/magma-components/{p-f5bb8c0c.entry.js → p-96f973e3.entry.js} +1 -1
  1177. package/dist/magma-components/p-972ff8a9.entry.js +18 -0
  1178. package/dist/magma-components/p-9a28bd8d.system.entry.js +20 -0
  1179. package/dist/magma-components/p-9bdca8b4.entry.js +1 -0
  1180. package/dist/magma-components/p-9caf411a.system.entry.js +13 -0
  1181. package/dist/magma-components/p-9e4e1a86.system.entry.js +111 -0
  1182. package/dist/magma-components/p-9e7d02e5.entry.js +1 -0
  1183. package/dist/magma-components/p-AEckDMXh.js +1 -0
  1184. package/dist/magma-components/p-B7RVWU-q.js +1 -0
  1185. package/dist/magma-components/{p-CKfEQ187.system.js → p-BHS0WXNt.system.js} +1 -1
  1186. package/dist/magma-components/p-BaFfIZGB.js +1 -0
  1187. package/dist/magma-components/{p-RJ5ZA1kY.system.js → p-BeNKMPXR.system.js} +9 -2
  1188. package/dist/magma-components/{p-Kv1yahtR.js → p-BmT_DEV2.js} +2 -2
  1189. package/dist/magma-components/{p-BTF_aRDG.system.js → p-C1ailvfu.system.js} +28 -28
  1190. package/dist/magma-components/{p-7-TP6wnI.js → p-C25F_FlB.js} +1 -1
  1191. package/dist/magma-components/p-CDjzBTsk.js +1 -0
  1192. package/dist/magma-components/p-CGrPq3C4.js +1 -0
  1193. package/dist/magma-components/p-CPRkNQdE.js +3 -0
  1194. package/dist/magma-components/{p-DaONbL_w.system.js → p-CmzGV0XD.system.js} +44 -44
  1195. package/dist/magma-components/p-Cvhn9asj.js +1 -0
  1196. package/dist/magma-components/{p-hVpoPUxI.system.js → p-D8596ytD.system.js} +8 -8
  1197. package/dist/magma-components/p-D9J8lbUv.system.js +9 -0
  1198. package/dist/magma-components/p-DAifcgtS.system.js +4 -0
  1199. package/dist/magma-components/p-DbyXf6dF.js +1 -0
  1200. package/dist/magma-components/p-JuViHg2B.system.js +11 -0
  1201. package/dist/magma-components/{p-CdsZyFQ-.system.js → p-LUd56iG_.system.js} +1 -1
  1202. package/dist/magma-components/p-QYez4sql.system.js +5 -0
  1203. package/dist/magma-components/{p-BJKToXNf.system.js → p-WSL9tMdv.system.js} +81 -50
  1204. package/dist/magma-components/p-ZaZnuNvg.js +1 -0
  1205. package/dist/magma-components/{p-584a4ee8.system.entry.js → p-a08d20c2.system.entry.js} +1 -1
  1206. package/dist/magma-components/{p-26c85354.system.entry.js → p-a136e6fe.system.entry.js} +6 -1
  1207. package/dist/magma-components/p-a1443292.entry.js +1 -0
  1208. package/dist/magma-components/{p-634727e6.system.entry.js → p-a1ca2441.system.entry.js} +2 -2
  1209. package/dist/magma-components/{p-0d97e28d.system.entry.js → p-a2d10402.system.entry.js} +2 -2
  1210. package/dist/magma-components/p-a2ec6eac.entry.js +1 -0
  1211. package/dist/magma-components/{p-b626c69f.system.entry.js → p-a40443ca.system.entry.js} +1 -1
  1212. package/dist/magma-components/{p-c7d84d1c.system.entry.js → p-a47a9f11.system.entry.js} +1 -1
  1213. package/dist/magma-components/{p-e388f1f2.system.entry.js → p-a4f46de1.system.entry.js} +9 -4
  1214. package/dist/magma-components/p-a51f849a.entry.js +1 -0
  1215. package/dist/magma-components/{p-3fa6cf85.system.entry.js → p-a53f6a94.system.entry.js} +5 -1
  1216. package/dist/magma-components/p-a61623f9.system.entry.js +52 -0
  1217. package/dist/magma-components/p-a6fe6b4c.system.entry.js +1 -0
  1218. package/dist/magma-components/p-a7bad4e8.entry.js +1 -0
  1219. package/dist/magma-components/p-a8593847.entry.js +1 -0
  1220. package/dist/magma-components/p-aa8653b1.system.entry.js +13 -0
  1221. package/dist/magma-components/p-ac4109e3.entry.js +1 -0
  1222. package/dist/magma-components/{p-bba04b08.system.entry.js → p-af704402.system.entry.js} +5 -2
  1223. package/dist/magma-components/p-b36d54e1.system.entry.js +41 -0
  1224. package/dist/magma-components/p-b40ef7ab.system.entry.js +23 -0
  1225. package/dist/magma-components/{p-569cbe13.entry.js → p-b48fc62e.entry.js} +1 -1
  1226. package/dist/magma-components/p-b509fb36.entry.js +1 -0
  1227. package/dist/magma-components/p-b514bd3a.system.entry.js +1 -0
  1228. package/dist/magma-components/p-b58363e2.system.entry.js +31 -0
  1229. package/dist/magma-components/{p-22e9a507.entry.js → p-b62bbd07.entry.js} +1 -1
  1230. package/dist/magma-components/p-b6b7dc40.entry.js +1 -0
  1231. package/dist/magma-components/p-b728638c.system.entry.js +46 -0
  1232. package/dist/magma-components/{p-ac873ab4.entry.js → p-b919ce62.entry.js} +1 -1
  1233. package/dist/magma-components/p-b940888d.entry.js +1 -0
  1234. package/dist/magma-components/p-b9e0b31d.entry.js +1 -0
  1235. package/dist/magma-components/p-bba4c7eb.entry.js +1 -0
  1236. package/dist/magma-components/p-bc30508b.entry.js +1 -0
  1237. package/dist/magma-components/p-be32b7a9.system.entry.js +13 -0
  1238. package/dist/magma-components/p-be741e35.entry.js +1 -0
  1239. package/dist/magma-components/p-c1d8a25e.entry.js +1 -0
  1240. package/dist/magma-components/p-c3622315.entry.js +1 -0
  1241. package/dist/magma-components/p-c4286fb7.system.entry.js +1 -0
  1242. package/dist/magma-components/p-c6db7a0f.system.entry.js +22 -0
  1243. package/dist/magma-components/p-c89c2e30.entry.js +1 -0
  1244. package/dist/magma-components/{p-cefdc01f.system.entry.js → p-ca8e0927.system.entry.js} +2 -2
  1245. package/dist/magma-components/p-cc0cb701.entry.js +1 -0
  1246. package/dist/magma-components/{p-121730d1.entry.js → p-cc109576.entry.js} +1 -1
  1247. package/dist/magma-components/p-cc88c963.system.entry.js +1 -0
  1248. package/dist/magma-components/p-ce2ef293.system.entry.js +48 -0
  1249. package/dist/magma-components/p-d0c0c195.entry.js +1 -0
  1250. package/dist/magma-components/p-d0f257d9.system.entry.js +80 -0
  1251. package/dist/magma-components/p-d3678561.system.entry.js +35 -0
  1252. package/dist/magma-components/p-d8d87750.system.entry.js +21 -0
  1253. package/dist/magma-components/{p-574c2c13.system.entry.js → p-d9551916.system.entry.js} +4 -4
  1254. package/dist/magma-components/p-da532544.system.entry.js +25 -0
  1255. package/dist/magma-components/{p-69d6cc9e.system.entry.js → p-da6cf595.system.entry.js} +2 -2
  1256. package/dist/magma-components/p-da9afc4b.system.entry.js +8 -0
  1257. package/dist/magma-components/p-daf9c8ca.system.entry.js +4 -0
  1258. package/dist/magma-components/p-db75bf05.system.entry.js +49 -0
  1259. package/dist/magma-components/p-dba5a6da.entry.js +1 -0
  1260. package/dist/magma-components/p-dbb82d72.system.entry.js +54 -0
  1261. package/dist/magma-components/p-dbf69d54.system.entry.js +5 -0
  1262. package/dist/magma-components/p-dc3ef031.system.entry.js +27 -0
  1263. package/dist/magma-components/p-dd8fb2f8.system.entry.js +105 -0
  1264. package/dist/magma-components/p-dfbecf72.system.entry.js +11 -0
  1265. package/dist/magma-components/p-e032e77f.system.entry.js +1 -0
  1266. package/dist/magma-components/p-e15a874b.entry.js +1 -0
  1267. package/dist/magma-components/p-e471decd.system.entry.js +32 -0
  1268. package/dist/magma-components/p-e49818c4.entry.js +1 -0
  1269. package/dist/magma-components/{p-6f5a1248.entry.js → p-e5ab1f4f.entry.js} +1 -1
  1270. package/dist/magma-components/p-e6ed6e12.entry.js +1 -0
  1271. package/dist/magma-components/{p-2710ddc4.entry.js → p-e8b9d639.entry.js} +1 -1
  1272. package/dist/magma-components/p-e954b5c5.entry.js +1 -0
  1273. package/dist/magma-components/p-eba7cfb3.entry.js +1 -0
  1274. package/dist/magma-components/p-ecb87d38.entry.js +1 -0
  1275. package/dist/magma-components/p-eebf450c.system.entry.js +4 -0
  1276. package/dist/magma-components/p-ef4d07ba.entry.js +1 -0
  1277. package/dist/magma-components/p-f28e048b.system.entry.js +55 -0
  1278. package/dist/magma-components/{p-789c1b93.system.entry.js → p-f30cdd34.system.entry.js} +1 -1
  1279. package/dist/magma-components/p-f3763382.entry.js +1 -0
  1280. package/dist/magma-components/p-f43379ef.entry.js +1 -0
  1281. package/dist/magma-components/p-f454c06b.entry.js +1 -0
  1282. package/dist/magma-components/p-f48843b7.system.entry.js +1 -0
  1283. package/dist/magma-components/p-f5a08dca.system.entry.js +40 -0
  1284. package/dist/magma-components/p-f7af41fb.system.entry.js +33 -0
  1285. package/dist/magma-components/{p-5c17a324.entry.js → p-f7f6881a.entry.js} +1 -1
  1286. package/dist/magma-components/p-f88c202e.entry.js +1 -0
  1287. package/dist/magma-components/{p-1cb495d3.entry.js → p-f9b5a5ec.entry.js} +1 -1
  1288. package/dist/magma-components/p-fcaa81b3.entry.js +1 -0
  1289. package/dist/magma-components/{p-a462aadd.entry.js → p-fd53a51c.entry.js} +1 -1
  1290. package/dist/magma-components/{p-94e9f2be.system.entry.js → p-ff4276d3.system.entry.js} +7 -2
  1291. package/dist/magma-components/p-nFkaC8l_.system.js +210 -0
  1292. package/dist/magma-components/p-sm_-_oFY.system.js +6 -0
  1293. package/dist/magma-components/{p-8yWTOQiz.js → p-zQY2FlcD.js} +1 -1
  1294. package/dist/stats.json +5466 -4158
  1295. package/dist/types/common/aria.d.ts +8 -1
  1296. package/dist/types/common/file.d.ts +5 -0
  1297. package/dist/types/common/floating-controller.d.ts +8 -1
  1298. package/dist/types/common/keyboard-manager.d.ts +8 -1
  1299. package/dist/types/common/slot.d.ts +9 -1
  1300. package/dist/types/components/mds-accordion/mds-accordion.d.ts +8 -1
  1301. package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +6 -0
  1302. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +2 -1
  1303. package/dist/types/components/mds-avatar/mds-avatar.d.ts +13 -9
  1304. package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +2 -1
  1305. package/dist/types/components/mds-bibliography/mds-bibliography.d.ts +10 -2
  1306. package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -3
  1307. package/dist/types/components/mds-breadcrumb-item/mds-breadcrumb-item.d.ts +4 -1
  1308. package/dist/types/components/mds-button/mds-button.d.ts +7 -1
  1309. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +7 -3
  1310. package/dist/types/components/mds-calendar/mds-calendar.d.ts +7 -0
  1311. package/dist/types/components/mds-calendar-cell/mds-calendar-cell.d.ts +4 -1
  1312. package/dist/types/components/mds-card/mds-card.d.ts +8 -0
  1313. package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -0
  1314. package/dist/types/components/mds-chip/mds-chip.d.ts +7 -5
  1315. package/dist/types/components/mds-details/mds-details.d.ts +3 -1
  1316. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +8 -3
  1317. package/dist/types/components/mds-emoji/mds-emoji.d.ts +18 -10
  1318. package/dist/types/components/mds-emoji/meta/gaze.d.ts +19 -0
  1319. package/dist/types/components/mds-file/mds-file.d.ts +7 -1
  1320. package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +15 -4
  1321. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +0 -2
  1322. package/dist/types/components/mds-header/mds-header.d.ts +7 -5
  1323. package/dist/types/components/mds-header/meta/event-detail.d.ts +2 -1
  1324. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +3 -2
  1325. package/dist/types/components/mds-help/mds-help.d.ts +5 -2
  1326. package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
  1327. package/dist/types/components/mds-icon/mds-icon.d.ts +5 -0
  1328. package/dist/types/components/mds-img/mds-img.d.ts +24 -14
  1329. package/dist/types/components/mds-input/mds-input.d.ts +22 -7
  1330. package/dist/types/components/mds-input-date/mds-input-date.d.ts +6 -0
  1331. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +4 -0
  1332. package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +8 -1
  1333. package/dist/types/components/mds-input-field/mds-input-field.d.ts +4 -1
  1334. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +8 -0
  1335. package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +2 -1
  1336. package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -2
  1337. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -1
  1338. package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +7 -0
  1339. package/dist/types/components/mds-label/mds-label.d.ts +0 -9
  1340. package/dist/types/components/mds-list-item/mds-list-item.d.ts +2 -0
  1341. package/dist/types/components/mds-mention/mds-mention.d.ts +2 -1
  1342. package/dist/types/components/mds-modal/mds-modal.d.ts +4 -1
  1343. package/dist/types/components/mds-note/mds-note.d.ts +1 -0
  1344. package/dist/types/components/mds-notification/mds-notification.d.ts +25 -2
  1345. package/dist/types/components/mds-paginator/mds-paginator.d.ts +1 -0
  1346. package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +7 -0
  1347. package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +2 -1
  1348. package/dist/types/components/mds-pref/mds-pref.d.ts +6 -1
  1349. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +8 -0
  1350. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +8 -0
  1351. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +8 -2
  1352. package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +2 -2
  1353. package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +1 -0
  1354. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +6 -1
  1355. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +16 -2
  1356. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +1 -0
  1357. package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -0
  1358. package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +1 -0
  1359. package/dist/types/components/mds-progress/mds-progress.d.ts +14 -4
  1360. package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +4 -9
  1361. package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +5 -2
  1362. package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +11 -5
  1363. package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +1 -2
  1364. package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +4 -3
  1365. package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +10 -2
  1366. package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +4 -3
  1367. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +3 -0
  1368. package/dist/types/components/mds-table/mds-table.d.ts +15 -2
  1369. package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +9 -1
  1370. package/dist/types/components/mds-table-header/mds-table-header.d.ts +9 -1
  1371. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +5 -0
  1372. package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -0
  1373. package/dist/types/components/mds-toast/mds-toast.d.ts +39 -8
  1374. package/dist/types/components/mds-toast/meta/event-detail.d.ts +3 -0
  1375. package/dist/types/components/mds-toast-region/mds-toast-region.d.ts +36 -0
  1376. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +24 -5
  1377. package/dist/types/components/mds-tree/mds-tree.d.ts +12 -2
  1378. package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +7 -3
  1379. package/dist/types/components/mds-url-view/mds-url-view.d.ts +2 -1
  1380. package/dist/types/components/mds-usage/mds-usage.d.ts +3 -0
  1381. package/dist/types/components.d.ts +253 -119
  1382. package/dist/types/stencil-public-runtime.d.ts +61 -55
  1383. package/package.json +18 -17
  1384. package/dist/cjs/browser-C1BdXKu5.js +0 -10
  1385. package/dist/cjs/keyboard-manager-C_Eaxw-C.js +0 -52
  1386. package/dist/collection/components/mds-avatar/meta/variants.js +0 -20
  1387. package/dist/components/p--5KZXaZp.js +0 -1
  1388. package/dist/components/p--OCrgFeE.js +0 -1
  1389. package/dist/components/p-6LGfUDQ4.js +0 -1
  1390. package/dist/components/p-B9uIL9KO.js +0 -1
  1391. package/dist/components/p-BBDliSai.js +0 -1
  1392. package/dist/components/p-BCwcnHFh.js +0 -1
  1393. package/dist/components/p-BRf-u585.js +0 -1
  1394. package/dist/components/p-BSeokAdy.js +0 -1
  1395. package/dist/components/p-BXUJgu8l.js +0 -1
  1396. package/dist/components/p-BXYUyw7p.js +0 -1
  1397. package/dist/components/p-BfgJ-hHQ.js +0 -1
  1398. package/dist/components/p-CIfGjW_Z.js +0 -1
  1399. package/dist/components/p-CMp9rP7L.js +0 -1
  1400. package/dist/components/p-CSCy6TMW.js +0 -1
  1401. package/dist/components/p-CZjHixVB.js +0 -1
  1402. package/dist/components/p-Ck0q_n7I.js +0 -1
  1403. package/dist/components/p-CrCa_6a1.js +0 -8
  1404. package/dist/components/p-CsgCQiHG.js +0 -1
  1405. package/dist/components/p-Cv7lqHIc.js +0 -1
  1406. package/dist/components/p-Cw6_ooFx.js +0 -1
  1407. package/dist/components/p-DGYRngAi.js +0 -1
  1408. package/dist/components/p-DHu8X7zF.js +0 -1
  1409. package/dist/components/p-DOzcuSrZ.js +0 -1
  1410. package/dist/components/p-DZPHWQtD.js +0 -1
  1411. package/dist/components/p-Dje8Mggf.js +0 -1
  1412. package/dist/components/p-DlRjt7nE.js +0 -1
  1413. package/dist/components/p-HSM_x8fD.js +0 -1
  1414. package/dist/components/p-JMPfVnGv.js +0 -1
  1415. package/dist/components/p-KRu9I7dw.js +0 -1
  1416. package/dist/components/p-lNY_3s6S.js +0 -1
  1417. package/dist/components/p-pBvN1uAc.js +0 -3
  1418. package/dist/esm/aria-CSCy6TMW.js +0 -45
  1419. package/dist/esm/browser-Dje8Mggf.js +0 -8
  1420. package/dist/esm/keyboard-manager-KRu9I7dw.js +0 -50
  1421. package/dist/esm-es5/aria-CSCy6TMW.js +0 -1
  1422. package/dist/esm-es5/browser-Dje8Mggf.js +0 -1
  1423. package/dist/esm-es5/icon-pNJmnrhq.js +0 -1
  1424. package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +0 -5
  1425. package/dist/esm-es5/locale.it-Cvxh7La5.js +0 -6
  1426. package/dist/esm-es5/slot-C0o_l0td.js +0 -23
  1427. package/dist/magma-components/p-00ce5c81.entry.js +0 -1
  1428. package/dist/magma-components/p-00ff586a.system.entry.js +0 -7
  1429. package/dist/magma-components/p-01f05a56.entry.js +0 -1
  1430. package/dist/magma-components/p-0345cbd0.system.entry.js +0 -83
  1431. package/dist/magma-components/p-03a6a8bd.system.entry.js +0 -46
  1432. package/dist/magma-components/p-05de42e1.system.entry.js +0 -1
  1433. package/dist/magma-components/p-063bccb3.entry.js +0 -1
  1434. package/dist/magma-components/p-0a38e4ce.system.entry.js +0 -1
  1435. package/dist/magma-components/p-0c89c485.entry.js +0 -1
  1436. package/dist/magma-components/p-0d94a2b8.entry.js +0 -8
  1437. package/dist/magma-components/p-108e31e6.entry.js +0 -1
  1438. package/dist/magma-components/p-114f0bb7.system.entry.js +0 -14
  1439. package/dist/magma-components/p-137116df.entry.js +0 -1
  1440. package/dist/magma-components/p-13b0babc.system.entry.js +0 -1
  1441. package/dist/magma-components/p-14a108e8.system.entry.js +0 -8
  1442. package/dist/magma-components/p-14eadf95.system.entry.js +0 -21
  1443. package/dist/magma-components/p-155f79f4.system.entry.js +0 -47
  1444. package/dist/magma-components/p-17b62839.entry.js +0 -1
  1445. package/dist/magma-components/p-1802d6a7.entry.js +0 -1
  1446. package/dist/magma-components/p-188d9770.system.entry.js +0 -4
  1447. package/dist/magma-components/p-18ba4766.entry.js +0 -1
  1448. package/dist/magma-components/p-1c63801f.system.entry.js +0 -11
  1449. package/dist/magma-components/p-1c6a507c.system.entry.js +0 -17
  1450. package/dist/magma-components/p-1e2388be.entry.js +0 -1
  1451. package/dist/magma-components/p-24a9871a.system.entry.js +0 -1
  1452. package/dist/magma-components/p-26332bce.system.entry.js +0 -1
  1453. package/dist/magma-components/p-2708561b.system.entry.js +0 -10
  1454. package/dist/magma-components/p-2723caa7.system.entry.js +0 -13
  1455. package/dist/magma-components/p-294241fa.entry.js +0 -1
  1456. package/dist/magma-components/p-2b2d0910.system.entry.js +0 -1
  1457. package/dist/magma-components/p-2c940d19.entry.js +0 -1
  1458. package/dist/magma-components/p-2e74231d.system.entry.js +0 -4
  1459. package/dist/magma-components/p-2e83f801.system.entry.js +0 -1
  1460. package/dist/magma-components/p-2f0815f3.entry.js +0 -18
  1461. package/dist/magma-components/p-30d36dfe.entry.js +0 -1
  1462. package/dist/magma-components/p-323c7aa4.system.entry.js +0 -25
  1463. package/dist/magma-components/p-32e077c0.system.entry.js +0 -7
  1464. package/dist/magma-components/p-334b305d.system.entry.js +0 -16
  1465. package/dist/magma-components/p-341994b3.system.entry.js +0 -89
  1466. package/dist/magma-components/p-35434d4b.system.entry.js +0 -32
  1467. package/dist/magma-components/p-37495e03.entry.js +0 -1
  1468. package/dist/magma-components/p-38e0379a.system.entry.js +0 -10
  1469. package/dist/magma-components/p-3b91efd1.entry.js +0 -1
  1470. package/dist/magma-components/p-3dc4db04.system.entry.js +0 -16
  1471. package/dist/magma-components/p-3f0e82bc.entry.js +0 -1
  1472. package/dist/magma-components/p-40e97485.entry.js +0 -1
  1473. package/dist/magma-components/p-4159c306.entry.js +0 -1
  1474. package/dist/magma-components/p-42411854.system.entry.js +0 -102
  1475. package/dist/magma-components/p-42ebba8c.entry.js +0 -1
  1476. package/dist/magma-components/p-4356d96e.system.entry.js +0 -21
  1477. package/dist/magma-components/p-4577948d.system.entry.js +0 -12
  1478. package/dist/magma-components/p-4658a200.entry.js +0 -1
  1479. package/dist/magma-components/p-4cfa925a.entry.js +0 -1
  1480. package/dist/magma-components/p-4ef19542.entry.js +0 -1
  1481. package/dist/magma-components/p-4oB0woT9.system.js +0 -6
  1482. package/dist/magma-components/p-522fd3d0.system.entry.js +0 -4
  1483. package/dist/magma-components/p-528d913c.system.entry.js +0 -17
  1484. package/dist/magma-components/p-595fde64.entry.js +0 -1
  1485. package/dist/magma-components/p-5989cdf2.system.entry.js +0 -16
  1486. package/dist/magma-components/p-5df91427.system.entry.js +0 -15
  1487. package/dist/magma-components/p-5f1132b8.entry.js +0 -1
  1488. package/dist/magma-components/p-5fcc1455.entry.js +0 -1
  1489. package/dist/magma-components/p-61638aa3.entry.js +0 -1
  1490. package/dist/magma-components/p-6465c8f4.entry.js +0 -1
  1491. package/dist/magma-components/p-6764b13a.entry.js +0 -1
  1492. package/dist/magma-components/p-6812f01b.entry.js +0 -1
  1493. package/dist/magma-components/p-6901428b.system.entry.js +0 -1
  1494. package/dist/magma-components/p-699a7926.entry.js +0 -1
  1495. package/dist/magma-components/p-6a798061.entry.js +0 -1
  1496. package/dist/magma-components/p-6d350c7c.entry.js +0 -1
  1497. package/dist/magma-components/p-6fba5e6c.entry.js +0 -1
  1498. package/dist/magma-components/p-6fd9a2ae.entry.js +0 -1
  1499. package/dist/magma-components/p-6ff8be3e.system.entry.js +0 -30
  1500. package/dist/magma-components/p-70caf05b.system.entry.js +0 -10
  1501. package/dist/magma-components/p-70cc167f.entry.js +0 -1
  1502. package/dist/magma-components/p-736c0e25.system.entry.js +0 -20
  1503. package/dist/magma-components/p-7450a7a7.system.entry.js +0 -49
  1504. package/dist/magma-components/p-7535328a.entry.js +0 -1
  1505. package/dist/magma-components/p-76f02296.system.entry.js +0 -1
  1506. package/dist/magma-components/p-79bc2e81.entry.js +0 -1
  1507. package/dist/magma-components/p-79dc2243.entry.js +0 -1
  1508. package/dist/magma-components/p-7b1c6eb0.entry.js +0 -1
  1509. package/dist/magma-components/p-7b8b51c8.entry.js +0 -1
  1510. package/dist/magma-components/p-7bc0a6c4.entry.js +0 -1
  1511. package/dist/magma-components/p-7c8e79a7.system.entry.js +0 -4
  1512. package/dist/magma-components/p-7c90298a.entry.js +0 -1
  1513. package/dist/magma-components/p-7e02237b.entry.js +0 -1
  1514. package/dist/magma-components/p-7f247e64.system.entry.js +0 -16
  1515. package/dist/magma-components/p-82480df5.entry.js +0 -1
  1516. package/dist/magma-components/p-842b1dfc.entry.js +0 -1
  1517. package/dist/magma-components/p-88c7be3d.system.entry.js +0 -68
  1518. package/dist/magma-components/p-89733d3a.system.entry.js +0 -14
  1519. package/dist/magma-components/p-8c75425d.entry.js +0 -1
  1520. package/dist/magma-components/p-8c76410b.entry.js +0 -1
  1521. package/dist/magma-components/p-8d7835e2.system.entry.js +0 -10
  1522. package/dist/magma-components/p-8f039ca0.system.entry.js +0 -7
  1523. package/dist/magma-components/p-8f54cf62.system.entry.js +0 -4
  1524. package/dist/magma-components/p-8f6bd147.entry.js +0 -1
  1525. package/dist/magma-components/p-9017022c.system.entry.js +0 -15
  1526. package/dist/magma-components/p-909f5b60.system.entry.js +0 -55
  1527. package/dist/magma-components/p-976bb373.system.entry.js +0 -90
  1528. package/dist/magma-components/p-97d82884.system.entry.js +0 -16
  1529. package/dist/magma-components/p-97de86c6.system.entry.js +0 -16
  1530. package/dist/magma-components/p-97e9a197.system.entry.js +0 -32
  1531. package/dist/magma-components/p-9a936cae.system.entry.js +0 -45
  1532. package/dist/magma-components/p-9c6d184f.entry.js +0 -1
  1533. package/dist/magma-components/p-9db0a6e9.entry.js +0 -1
  1534. package/dist/magma-components/p-9e662528.entry.js +0 -1
  1535. package/dist/magma-components/p-9ff02a82.entry.js +0 -1
  1536. package/dist/magma-components/p-B6mQg6yQ.js +0 -1
  1537. package/dist/magma-components/p-BJqUjYIG.system.js +0 -1
  1538. package/dist/magma-components/p-BJtA1qmE.js +0 -1
  1539. package/dist/magma-components/p-BcYSdbK0.system.js +0 -233
  1540. package/dist/magma-components/p-BeYLDgbf.js +0 -1
  1541. package/dist/magma-components/p-BxPbQB28.js +0 -3
  1542. package/dist/magma-components/p-C0o_l0td.js +0 -1
  1543. package/dist/magma-components/p-CSCy6TMW.js +0 -1
  1544. package/dist/magma-components/p-CYRMc5KW.system.js +0 -1
  1545. package/dist/magma-components/p-Dje8Mggf.js +0 -1
  1546. package/dist/magma-components/p-JMPfVnGv.js +0 -1
  1547. package/dist/magma-components/p-KRu9I7dw.js +0 -1
  1548. package/dist/magma-components/p-LerCJgfP.system.js +0 -5
  1549. package/dist/magma-components/p-ZDRIVCAt.system.js +0 -5
  1550. package/dist/magma-components/p-a3e3a653.system.entry.js +0 -81
  1551. package/dist/magma-components/p-a41e52f7.entry.js +0 -1
  1552. package/dist/magma-components/p-a4c26b4d.system.entry.js +0 -19
  1553. package/dist/magma-components/p-a61c7ae9.system.entry.js +0 -7
  1554. package/dist/magma-components/p-a653e096.entry.js +0 -1
  1555. package/dist/magma-components/p-a8bf46cb.system.entry.js +0 -1
  1556. package/dist/magma-components/p-ac4435e7.entry.js +0 -1
  1557. package/dist/magma-components/p-acae292f.system.entry.js +0 -28
  1558. package/dist/magma-components/p-b1a0e56e.system.entry.js +0 -42
  1559. package/dist/magma-components/p-b33a6f7e.system.entry.js +0 -13
  1560. package/dist/magma-components/p-b492dd4c.entry.js +0 -1
  1561. package/dist/magma-components/p-b99cac43.entry.js +0 -1
  1562. package/dist/magma-components/p-baf0359b.entry.js +0 -1
  1563. package/dist/magma-components/p-bbd414dc.entry.js +0 -1
  1564. package/dist/magma-components/p-be1aad5f.entry.js +0 -1
  1565. package/dist/magma-components/p-bf05f9f3.entry.js +0 -1
  1566. package/dist/magma-components/p-bf8c6647.system.entry.js +0 -11
  1567. package/dist/magma-components/p-bfe19e4b.entry.js +0 -1
  1568. package/dist/magma-components/p-c1a7266a.entry.js +0 -1
  1569. package/dist/magma-components/p-c3585de7.system.entry.js +0 -7
  1570. package/dist/magma-components/p-c45d9a64.system.entry.js +0 -32
  1571. package/dist/magma-components/p-cb8b45fd.entry.js +0 -1
  1572. package/dist/magma-components/p-cbfd8b10.system.entry.js +0 -16
  1573. package/dist/magma-components/p-ce46191c.entry.js +0 -1
  1574. package/dist/magma-components/p-cebe7b52.entry.js +0 -1
  1575. package/dist/magma-components/p-d025a34f.system.entry.js +0 -15
  1576. package/dist/magma-components/p-d1c47baa.entry.js +0 -1
  1577. package/dist/magma-components/p-d269bfb0.entry.js +0 -1
  1578. package/dist/magma-components/p-d42f267b.system.entry.js +0 -40
  1579. package/dist/magma-components/p-d5bd6bef.entry.js +0 -1
  1580. package/dist/magma-components/p-d65d8a09.system.entry.js +0 -1
  1581. package/dist/magma-components/p-d6eca2ef.entry.js +0 -1
  1582. package/dist/magma-components/p-d716efe9.system.entry.js +0 -1
  1583. package/dist/magma-components/p-da6ccc03.entry.js +0 -1
  1584. package/dist/magma-components/p-dbaf5368.system.entry.js +0 -7
  1585. package/dist/magma-components/p-dc340618.entry.js +0 -1
  1586. package/dist/magma-components/p-dc752e9b.entry.js +0 -1
  1587. package/dist/magma-components/p-e2ef1d6f.entry.js +0 -1
  1588. package/dist/magma-components/p-e50fdcee.entry.js +0 -1
  1589. package/dist/magma-components/p-e779a67f.system.entry.js +0 -10
  1590. package/dist/magma-components/p-e8ae4016.system.entry.js +0 -1
  1591. package/dist/magma-components/p-e8d95868.system.entry.js +0 -14
  1592. package/dist/magma-components/p-ed232c76.entry.js +0 -1
  1593. package/dist/magma-components/p-ed87425c.system.entry.js +0 -13
  1594. package/dist/magma-components/p-ee876b20.system.entry.js +0 -4
  1595. package/dist/magma-components/p-efe0bb12.system.entry.js +0 -7
  1596. package/dist/magma-components/p-f2412853.system.entry.js +0 -27
  1597. package/dist/magma-components/p-f2743a2b.entry.js +0 -1
  1598. package/dist/magma-components/p-f2f2945b.entry.js +0 -1
  1599. package/dist/magma-components/p-f37f1343.entry.js +0 -1
  1600. package/dist/magma-components/p-f3dd135e.system.entry.js +0 -32
  1601. package/dist/magma-components/p-f5ce24e8.entry.js +0 -1
  1602. package/dist/magma-components/p-f8a88f11.entry.js +0 -1
  1603. package/dist/magma-components/p-f900fe90.entry.js +0 -1
  1604. package/dist/magma-components/p-faa1f22c.entry.js +0 -1
  1605. package/dist/magma-components/p-lozaO1BU.system.js +0 -1
  1606. package/dist/magma-components/p-pNJmnrhq.js +0 -1
  1607. package/dist/types/components/mds-avatar/meta/variants.d.ts +0 -2
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2026-10-15T16:08:09",
2
+ "timestamp": "2026-10-20T14:19:46",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.44.2",
5
+ "version": "4.45.2",
6
6
  "typescriptVersion": "5.8.3"
7
7
  },
8
8
  "components": [
@@ -34,8 +34,8 @@
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, 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. The slider slides only when the selection changes: on load, and when the strip is shown again after being hidden, it is already under the selected tab.\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",
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; a panel past the last item has no tab to open it, so it stays hidden and the component logs a console warning. 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. The slider slides only when the selection changes: on load, and when the strip is shown again after being hidden, it is already under the selected tab.\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\nWith `animation=\"fade\"` every item paints its own states: `--mds-tab-item-default-shadow` gives a shadow to the items that are not selected, and `--mds-tab-item-hover-shadow` to the hovered one (the default shadow when it is not set). With the slider (`animation=\"slide\"`) the items stay transparent over it, so the backgrounds and shadows set on the tab for the items do not apply.\n\n```css\n.schede-a-schedario mds-tab {\n --mds-tab-item-default-shadow: var(--shadow-xs);\n --mds-tab-item-hover-shadow: var(--shadow-sm);\n}\n```\n",
39
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": [
@@ -314,7 +314,7 @@
314
314
  {
315
315
  "name": "--mds-tab-item-hover-shadow",
316
316
  "annotation": "prop",
317
- "docs": "Shadow for hovered tab items."
317
+ "docs": "Shadow for hovered tab items, the default shadow when not set."
318
318
  },
319
319
  {
320
320
  "name": "--mds-tab-item-radius",
@@ -17,7 +17,7 @@ mds-tab-item {
17
17
  * @prop --mds-tab-item-default-shadow: Shadow for default tab items.
18
18
  * @prop --mds-tab-item-hover-background: Background color for hovered tab items.
19
19
  * @prop --mds-tab-item-hover-color: Text color for hovered tab items.
20
- * @prop --mds-tab-item-hover-shadow: Shadow for hovered tab items.
20
+ * @prop --mds-tab-item-hover-shadow: Shadow for hovered tab items, the default shadow when not set.
21
21
  * @prop --mds-tab-item-radius: Border radius for tab items.
22
22
  * @prop --mds-tab-item-selected-background: Background color for selected tab items.
23
23
  * @prop --mds-tab-item-selected-color: Text color for selected tab items.
@@ -100,10 +100,9 @@ mds-tab-item {
100
100
  --mds-tab-direction-vertical-columns: auto auto;
101
101
  --mds-tab-item-default-background: transparent;
102
102
  --mds-tab-item-default-color: rgb(var(--magma-text-muted, var(--text-neutral-muted, 73 73 73)));
103
- --mds-tab-item-default-shadow: transparent;
103
+ --mds-tab-item-default-shadow: none;
104
104
  --mds-tab-item-hover-background: transparent;
105
105
  --mds-tab-item-hover-color: rgb(var(--magma-text-default, var(--text-neutral-default, 5 5 5)));
106
- --mds-tab-item-hover-shadow: transparent;
107
106
 
108
107
  /* the items are buttons: their radius is capped at a part of their height like mds-button's
109
108
  (#913), and the strip, one row of them, at that radius plus its padding */
@@ -169,10 +168,11 @@ mds-tab-item {
169
168
 
170
169
  :host([animation='slide']) ::slotted(mds-tab-item) {
171
170
  --mds-tab-item-hover-background: transparent;
171
+ --mds-tab-item-hover-shadow: none;
172
172
  --mds-tab-item-selected-background: transparent;
173
173
  --mds-tab-item-selected-shadow: transparent;
174
174
  --mds-tab-item-default-background: transparent;
175
- --mds-tab-item-default-shadow: transparent;
175
+ --mds-tab-item-default-shadow: none;
176
176
  }
177
177
 
178
178
  .tabs {
@@ -41,9 +41,15 @@ export class MdsTab {
41
41
  this.updateContentItems = () => {
42
42
  this.contentItems = this.queryContentItems();
43
43
  this.hasContent = this.contentItems.length > 0;
44
+ // a panel past the last item has no tab to open it: it stays hidden, named by nothing
45
+ if (this.contentItems.length > this.tabItems.length) {
46
+ console.warn(`mds-tab: ${this.contentItems.length} content panels for ${this.tabItems.length} mds-tab-item, the panels past the last item are never shown`);
47
+ }
44
48
  this.contentItems.forEach((item, key) => {
45
49
  setAttributeIfEmpty(item, 'role', 'tabpanel');
46
- setAttributeIfEmpty(item, 'aria-labelledby', this.tabItems[key].id);
50
+ if (key < this.tabItems.length) {
51
+ setAttributeIfEmpty(item, 'aria-labelledby', this.tabItems[key].id);
52
+ }
47
53
  });
48
54
  this.selectContentItem();
49
55
  };
@@ -243,12 +249,12 @@ export class MdsTab {
243
249
  });
244
250
  }
245
251
  render() {
246
- return (h(Host, { key: 'cd4099108ea07ad5e23f6ff1d85d473f9b3aa908', "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: '4cb36490dc47b012362aef2a8715e73818e4dc10', class: clsx('tabs-wrapper', this.fill && 'tabs-wrapper--fill', !this.hasContent && 'tabs-wrapper--no-content') }, this.overflow && (h("div", { key: '3383208dc4594679b38bc66b21dfac2579c37369', class: clsx('tabs-wrapper-overflow-left', this.overflowLeft && 'tabs-wrapper-overflow-left--show') })), this.overflow && (h("div", { key: '9920ee4a75aaf6d05427ee10eb690c5b2258e6e5', class: clsx('tabs-wrapper-overflow-right', this.overflowRight && 'tabs-wrapper-overflow-right--show') })), h("div", { key: '76c292c9b65df4933411da50ea7c016a156c78c9', class: "tabs", part: "tabs", role: this.navigation ? undefined : 'tablist' }, h("slot", { key: '5a5dda062820ec7d3c9323bf4f5c329d958a0889' }), this.animation === 'slide' && (h("div", { key: 'ee5cef90a082056a6fa7a607fd745591a5305b9d', class: clsx('slider', !this.sliderSlides && 'slider--still'), part: "slider", style: {
252
+ return (h(Host, { key: '780966a4389bc21db5a6236aad4e2af6b2d3192b', "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: '2f75159dd2f2d3157942333d6fbe38d50db7eefc', class: clsx('tabs-wrapper', this.fill && 'tabs-wrapper--fill', !this.hasContent && 'tabs-wrapper--no-content') }, this.overflow && (h("div", { key: 'fed97d11b8ecaad311ba6d2786f9b943746db74d', class: clsx('tabs-wrapper-overflow-left', this.overflowLeft && 'tabs-wrapper-overflow-left--show') })), this.overflow && (h("div", { key: 'e3820235416a017c11a709512f88b04a4e3011c4', class: clsx('tabs-wrapper-overflow-right', this.overflowRight && 'tabs-wrapper-overflow-right--show') })), h("div", { key: 'e5e2dbfd2794f24e70ca7f6a3b16945abd65edd0', class: "tabs", part: "tabs", role: this.navigation ? undefined : 'tablist' }, h("slot", { key: 'd918fa0ba194bffdc4f563e17450cc3c4b6704ca' }), this.animation === 'slide' && (h("div", { key: '49e15a844be7dd7632191e9f7f1b508be34a2f62', class: clsx('slider', !this.sliderSlides && 'slider--still'), part: "slider", style: {
247
253
  '--mds-tab-slider-width': `${this.sliderWidth}px`,
248
254
  '--mds-tab-slider-height': `${this.sliderHeight}px`,
249
255
  '--mds-tab-slider-offset-x': `${this.sliderOffsetX}px`,
250
256
  '--mds-tab-slider-offset-y': `${this.sliderOffsetY}px`,
251
- } })))), h("div", { key: '2151d66bddf1eb9297b6714801267489405f55ee', class: clsx('contents', !this.hasContent && 'contents--empty'), part: "contents" }, h("slot", { key: 'f0efc24b4e891ed38a05bb9972c71ca0dfcd6758', name: "content", onSlotchange: this.updateContentItems }))));
257
+ } })))), h("div", { key: '5906706f684aeb6f0be7dd1abea27746d71716cf', class: clsx('contents', !this.hasContent && 'contents--empty'), part: "contents" }, h("slot", { key: '088916022b6a8cbc4ab595202aadbfac4bd16d4d', name: "content", onSlotchange: this.updateContentItems }))));
252
258
  }
253
259
  static get is() { return "mds-tab"; }
254
260
  static get encapsulation() { return "shadow"; }
@@ -231,3 +231,12 @@ Style the component only through its documented `--mds-tab-*` CSS custom propert
231
231
  --mds-tab-transition-duration: 0.3s;
232
232
  }
233
233
  ```
234
+
235
+ With `animation="fade"` every item paints its own states: `--mds-tab-item-default-shadow` gives a shadow to the items that are not selected, and `--mds-tab-item-hover-shadow` to the hovered one (the default shadow when it is not set). With the slider (`animation="slide"`) the items stay transparent over it, so the backgrounds and shadows set on the tab for the items do not apply.
236
+
237
+ ```css
238
+ .schede-a-schedario mds-tab {
239
+ --mds-tab-item-default-shadow: var(--shadow-xs);
240
+ --mds-tab-item-hover-shadow: var(--shadow-sm);
241
+ }
242
+ ```
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-tab-bar
8
8
 
9
- > `@maggioli-design-system/magma` 2.3.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.4.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
 
@@ -72,7 +72,7 @@ The item's `icon` prop renders the glyph through the shared icon service and pos
72
72
 
73
73
  #### Do Not Listen for the Item's Internal Event on the Bar's Children
74
74
 
75
- `mdsTabBarItemSelect` is the item-level event `<mds-tab-bar>` coordinates on: its `detail` is the item's `id`, which the bar overwrites with its own `mds-tab-bar-item-<index>` values. To react to selection changes from outside, listen for `mdsTabBarChange` on the parent instead, whose `detail.index` is the position of the selected item.
75
+ `mdsTabBarItemSelect` is the item-level event `<mds-tab-bar>` coordinates on: its `detail` is the item's `id`, the one you gave it or the `mds-tab-bar-item-<index>` the bar gives an item without one. To react to selection changes from outside, listen for `mdsTabBarChange` on the parent instead, whose `detail.index` is the position of the selected item.
76
76
 
77
77
  ```html
78
78
  <!-- INCORRECT -->
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2026-10-15T16:08:09",
2
+ "timestamp": "2026-10-20T14:19:46",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.44.2",
5
+ "version": "4.45.2",
6
6
  "typescriptVersion": "5.8.3"
7
7
  },
8
8
  "components": [
@@ -20,7 +20,7 @@
20
20
  "usage": {
21
21
  "1. Description": "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.\n\n#### Semantic Behavior\n\n- **Compound parent/child**: It accepts only `<mds-tab-bar-item>` elements in its default slot and acts purely as their coordinator.\n- **Single active selection**: When one item reports selection, the others are deselected - enforcing one-active-at-a-time behavior.\n- **Change notification**: After resolving the new selection it emits `mdsTabBarChange` whose detail carries the zero-based `index` of the newly selected item, intended to drive panel/view switching by the consumer.\n- **Default-slot semantics**: The slot is structural (it expects components, not text); the textual label lives inside each `<mds-tab-bar-item>` instead.\n\n#### Properties & Visual Configurations\n\n`<mds-tab-bar>` itself exposes no configuration props - its appearance and content are entirely determined by the `<mds-tab-bar-item>` children it wraps. The relevant intent lives on those children:\n\n- **`selected`** marks which item is active. The parent rewrites it during selection changes; set it on a single child to define the initial active tab.\n- **`icon`** is an SVG filename slug from the Magma icon library, rendered above the item's text label.\n- **`typography`** selects the text scale of the item label from the smaller-typography ladder (defaulting to `'tip'`), letting authors match tab density to surrounding chrome.\n\nThis component does not use the shared `variant` / `tone` ladders defined in [`agents/variants.md`](../../../../agents/variants.md).\n",
22
22
  "2. Pattern": "Correct and idiomatic ways to use the `<mds-tab-bar>` 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 Navigation Bar\n\nThe canonical form. Place one `<mds-tab-bar-item>` per destination. Provide `icon` as a slug from the Magma icon library and the text via the `label` prop. Mark the initially active item with `selected`.\n\n```html\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" selected></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/search\" label=\"Cerca\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/notifications\" label=\"Notifiche\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/person\" label=\"Profilo\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Reacting to Tab Changes\n\nListen for `mdsTabBarChange` on the host. The event detail carries `index` - the zero-based position of the newly selected item - which you use to switch the visible view or panel.\n\n```html\n<mds-tab-bar id=\"app-nav\">\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" selected></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/inbox\" label=\"Messaggi\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/settings\" label=\"Impostazioni\"></mds-tab-bar-item>\n</mds-tab-bar>\n\n<script>\n document.querySelector('#app-nav').addEventListener('mdsTabBarChange', (e) => {\n const activeIndex = e.detail.index;\n showView(activeIndex);\n });\n</script>\n```\n\n#### Setting the Initial Active Tab Programmatically\n\nSet `selected` on exactly one child to control the starting state. If you later need to change the active item from outside - for example, after a router navigation - set `selected` on the new item and remove it from the previous one yourself: the parent syncs the siblings only when an item is clicked, and emits no `mdsTabBarChange` for a change made from code.\n\n```html\n<!-- Second item active on load -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/explore\" label=\"Scopri\" selected></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/favorite\" label=\"Preferiti\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Adjusting Label Typography\n\nUse `typography` on individual items to match the text density to the surrounding chrome. The prop accepts `\"tip\"` (default, smaller) or `\"option\"` (slightly larger). You can mix values if items carry different visual weight.\n\n```html\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" typography=\"option\" selected></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/inbox\" label=\"Posta\" typography=\"option\"></mds-tab-bar-item>\n <mds-tab-bar-item\n icon=\"mi/baseline/settings\"\n label=\"Impostazioni\"\n typography=\"option\"\n ></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Styling Customization via CSS Custom Properties\n\nStyle individual items through the documented `--mds-tab-bar-item-*` CSS custom properties. Set them on the specific item or on a parent selector. Use semantic color roles via `rgb(var(--magma-<role>))` so dark mode and high-contrast keep working.\n\n```css\n/* Brand-specific active color for the whole bar */\nmds-tab-bar mds-tab-bar-item {\n --mds-tab-bar-item-color-selected: rgb(var(--magma-accent-fg));\n}\n\n/* A single item with a distinct idle color */\nmds-tab-bar-item.priority {\n --mds-tab-bar-item-color: rgb(var(--magma-warning-text-default));\n}\n```\n",
23
- "3. Antipattern": "Common incorrect uses of `<mds-tab-bar>`. 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 Place HTML Elements or Text Directly in the Bar's Default Slot\n\n`<mds-tab-bar>` only coordinates `<mds-tab-bar-item>` children; arbitrary HTML or text in its slot breaks the mutual-exclusion logic and the change event.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar>\n <button>Home</button>\n <a href=\"/cerca\">Cerca</a>\n</mds-tab-bar>\n\n<!-- CORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" selected></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/search\" label=\"Cerca\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Do Not Use the Deprecated Default Slot for an Item's Text\n\nSetting an item's text via the default slot is deprecated. Slotted text is read into `label`, and nested HTML is stripped with a console warning - use the `label` prop for the text and the `icon` prop for the glyph.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar-item icon=\"mi/baseline/inbox\">Messaggi</mds-tab-bar-item>\n<mds-tab-bar-item>\n <span class=\"bold\">Messaggi</span>\n <small>(3)</small>\n</mds-tab-bar-item>\n\n<!-- CORRECT -->\n<mds-tab-bar-item icon=\"mi/baseline/inbox\" label=\"Messaggi\"></mds-tab-bar-item>\n```\n\n#### Do Not Slot `<mds-icon>` to Add an Icon\n\nThe item's `icon` prop renders the glyph through the shared icon service and positions it correctly above the label. Slotting `<mds-icon>` puts it in the deprecated default slot, where it is misaligned or stripped.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar-item>\n <mds-icon name=\"mi/baseline/home\"></mds-icon>\n Home\n</mds-tab-bar-item>\n\n<!-- CORRECT -->\n<mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n```\n\n#### Do Not Set `selected=\"false\"` to Deselect an Item\n\n`selected` is a boolean attribute. The item happens to style `selected=\"false\"` as unselected, but the attribute stays on the element and contradicts the state for attribute selectors and checks. Remove the attribute entirely to deselect an item, or let the parent coordinate selection automatically.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" selected=\"false\"></mds-tab-bar-item>\n\n<!-- CORRECT -->\n<mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n```\n\n#### Do Not Listen for the Item's Internal Event on the Bar's Children\n\n`mdsTabBarItemSelect` is the item-level event `<mds-tab-bar>` coordinates on: its `detail` is the item's `id`, which the bar overwrites with its own `mds-tab-bar-item-<index>` values. To react to selection changes from outside, listen for `mdsTabBarChange` on the parent instead, whose `detail.index` is the position of the selected item.\n\n```html\n<!-- INCORRECT -->\n<script>\n document.querySelector('mds-tab-bar-item').addEventListener('mdsTabBarItemSelect', handler);\n</script>\n\n<!-- CORRECT -->\n<script>\n document.querySelector('mds-tab-bar').addEventListener('mdsTabBarChange', (e) => {\n handler(e.detail.index);\n });\n</script>\n```\n\n#### Do Not Style Items by Piercing Shadow DOM\n\nThe only supported customization surface is the four `--mds-tab-bar-item-*` CSS custom properties. Targeting internal nodes via `::part()`, `>>>`, 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-bar-item >>> mds-icon {\n fill: hotpink;\n}\n\n/* CORRECT */\nmds-tab-bar mds-tab-bar-item {\n --mds-tab-bar-item-color-selected: rgb(var(--magma-accent-fg));\n}\n```\n"
23
+ "3. Antipattern": "Common incorrect uses of `<mds-tab-bar>`. 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 Place HTML Elements or Text Directly in the Bar's Default Slot\n\n`<mds-tab-bar>` only coordinates `<mds-tab-bar-item>` children; arbitrary HTML or text in its slot breaks the mutual-exclusion logic and the change event.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar>\n <button>Home</button>\n <a href=\"/cerca\">Cerca</a>\n</mds-tab-bar>\n\n<!-- CORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" selected></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/search\" label=\"Cerca\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Do Not Use the Deprecated Default Slot for an Item's Text\n\nSetting an item's text via the default slot is deprecated. Slotted text is read into `label`, and nested HTML is stripped with a console warning - use the `label` prop for the text and the `icon` prop for the glyph.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar-item icon=\"mi/baseline/inbox\">Messaggi</mds-tab-bar-item>\n<mds-tab-bar-item>\n <span class=\"bold\">Messaggi</span>\n <small>(3)</small>\n</mds-tab-bar-item>\n\n<!-- CORRECT -->\n<mds-tab-bar-item icon=\"mi/baseline/inbox\" label=\"Messaggi\"></mds-tab-bar-item>\n```\n\n#### Do Not Slot `<mds-icon>` to Add an Icon\n\nThe item's `icon` prop renders the glyph through the shared icon service and positions it correctly above the label. Slotting `<mds-icon>` puts it in the deprecated default slot, where it is misaligned or stripped.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar-item>\n <mds-icon name=\"mi/baseline/home\"></mds-icon>\n Home\n</mds-tab-bar-item>\n\n<!-- CORRECT -->\n<mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n```\n\n#### Do Not Set `selected=\"false\"` to Deselect an Item\n\n`selected` is a boolean attribute. The item happens to style `selected=\"false\"` as unselected, but the attribute stays on the element and contradicts the state for attribute selectors and checks. Remove the attribute entirely to deselect an item, or let the parent coordinate selection automatically.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" selected=\"false\"></mds-tab-bar-item>\n\n<!-- CORRECT -->\n<mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n```\n\n#### Do Not Listen for the Item's Internal Event on the Bar's Children\n\n`mdsTabBarItemSelect` is the item-level event `<mds-tab-bar>` coordinates on: its `detail` is the item's `id`, the one you gave it or the `mds-tab-bar-item-<index>` the bar gives an item without one. To react to selection changes from outside, listen for `mdsTabBarChange` on the parent instead, whose `detail.index` is the position of the selected item.\n\n```html\n<!-- INCORRECT -->\n<script>\n document.querySelector('mds-tab-bar-item').addEventListener('mdsTabBarItemSelect', handler);\n</script>\n\n<!-- CORRECT -->\n<script>\n document.querySelector('mds-tab-bar').addEventListener('mdsTabBarChange', (e) => {\n handler(e.detail.index);\n });\n</script>\n```\n\n#### Do Not Style Items by Piercing Shadow DOM\n\nThe only supported customization surface is the four `--mds-tab-bar-item-*` CSS custom properties. Targeting internal nodes via `::part()`, `>>>`, 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-bar-item >>> mds-icon {\n fill: hotpink;\n}\n\n/* CORRECT */\nmds-tab-bar mds-tab-bar-item {\n --mds-tab-bar-item-color-selected: rgb(var(--magma-accent-fg));\n}\n```\n"
24
24
  },
25
25
  "props": [],
26
26
  "methods": [],
@@ -7,21 +7,27 @@ export class MdsTabBar {
7
7
  constructor() {
8
8
  this.queryItems = () => this.element.querySelectorAll('mds-tab-bar-item');
9
9
  }
10
+ // An item keeps the id its author gave it, one without gets `mds-tab-bar-item-<index>`, what its
11
+ // event reported before; the bar tells the items apart by element, not by id. It used to
12
+ // overwrite every id (#827)
10
13
  componentWillLoad() {
11
14
  const items = this.queryItems();
12
- items.forEach((item, key) => (item.id = `mds-tab-bar-item-${key}`));
15
+ items.forEach((item, key) => {
16
+ if (item.id === '')
17
+ item.id = `mds-tab-bar-item-${key}`;
18
+ });
13
19
  }
14
20
  changeEventHandler(event) {
15
21
  const items = this.queryItems();
16
22
  items.forEach((item, key) => {
17
- item.selected = `mds-tab-bar-item-${key}` === event.detail;
23
+ item.selected = item === event.target;
18
24
  if (item.selected) {
19
25
  this.changedEvent.emit({ index: key });
20
26
  }
21
27
  });
22
28
  }
23
29
  render() {
24
- return (h(Host, { key: '9ab51cbd84a4cc05f5eeddc4de653a37fe20ea04', "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: '2a9714515c52dcac254c3fedb9154b754e57a2e4' })));
30
+ return (h(Host, { key: '6320f7b885ccafa39184782fe4dd58c9ab8b7d2c', "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: '9330f606072bfce3e90c8216421fe93a95873e13' })));
25
31
  }
26
32
  static get is() { return "mds-tab-bar"; }
27
33
  static get encapsulation() { return "shadow"; }
@@ -6,15 +6,15 @@
6
6
 
7
7
  # mds-tab-bar-item
8
8
 
9
- > `@maggioli-design-system/magma` 2.3.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.4.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
 
13
13
  #### Semantic Behavior
14
14
 
15
15
  - **Compound child only**: Must be placed as a direct default-slot child of `<mds-tab-bar>`; it is not used standalone or mixed with other child types.
16
- - **Parent-coordinated selection**: Clicking the item, when becoming selected, emits `mdsTabBarItemSelect` carrying its own `id`. The parent re-drives every sibling's `selected` so exactly one item is active at a time - items do not deselect each other on their own.
17
- - **Whole-host click target**: The entire item (icon + label) is the click surface, not just the text. It has no `tabindex` and no ARIA role, so it is reachable by pointer only.
16
+ - **Parent-coordinated selection**: Clicking an item that is not selected selects it and emits `mdsTabBarItemSelect` carrying its own `id`; a click on the selected item changes nothing and emits nothing. The parent re-drives every sibling's `selected` so exactly one item is active at a time - items do not deselect each other on their own.
17
+ - **Whole-host click target**: The entire item (icon + label) is the click surface, not just the text. It is a button (`role="button"`, unless you set another role) in the tab order, activated by Enter and Space as by a click; the selected item carries `aria-current="true"`.
18
18
  - **Label is text**: Set the visible text with the `label` prop. The default slot is a **deprecated** fallback kept for backward compatibility - slotted text is read into `label`, while nested HTML is stripped with a console warning; avoid placing HTML elements or other components there.
19
19
 
20
20
  #### Properties & Visual Configurations
@@ -11,7 +11,7 @@ Common incorrect uses of `<mds-tab-bar-item>`. Each entry pairs the wrong form w
11
11
 
12
12
  #### Do Not Use Outside `<mds-tab-bar>`
13
13
 
14
- `<mds-tab-bar-item>` relies on the parent to assign its `id`, listen for `mdsTabBarItemSelect`, and drive mutual exclusivity. Without the parent, the item has no stable id, selection does not propagate, and no other item is deselected when this one is clicked.
14
+ `<mds-tab-bar-item>` relies on the parent to give it an `id` when it has none, listen for `mdsTabBarItemSelect`, and drive mutual exclusivity. Without the parent, an item without an `id` reports an empty one, selection does not propagate, and no other item is deselected when this one is clicked.
15
15
 
16
16
  ```html
17
17
  <!-- INCORRECT -->
@@ -79,7 +79,7 @@ The `icon` prop renders the glyph through the shared icon service and positions
79
79
 
80
80
  #### Do Not Listen to Raw Click Events for Tab Changes
81
81
 
82
- `<mds-tab-bar-item>` emits `mdsTabBarItemSelect` when selected; `<mds-tab-bar>` re-emits `mdsTabBarChange` with the resolved index. Listening to the native `click` event gives you no index, and it also fires on clicks that select nothing (every other click on the item that is already active).
82
+ `<mds-tab-bar-item>` emits `mdsTabBarItemSelect` when selected; `<mds-tab-bar>` re-emits `mdsTabBarChange` with the resolved index. Listening to the native `click` event gives you no index, and it also fires on clicks that select nothing (any click on the item that is already active).
83
83
 
84
84
  ```html
85
85
  <!-- INCORRECT -->
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2026-10-15T16:08:09",
2
+ "timestamp": "2026-10-20T14:19:46",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.44.2",
5
+ "version": "4.45.2",
6
6
  "typescriptVersion": "5.8.3"
7
7
  },
8
8
  "components": [
@@ -18,9 +18,9 @@
18
18
  }
19
19
  ],
20
20
  "usage": {
21
- "1. Description": "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.\n\n#### Semantic Behavior\n\n- **Compound child only**: Must be placed as a direct default-slot child of `<mds-tab-bar>`; it is not used standalone or mixed with other child types.\n- **Parent-coordinated selection**: Clicking the item, when becoming selected, emits `mdsTabBarItemSelect` carrying its own `id`. The parent re-drives every sibling's `selected` so exactly one item is active at a time - items do not deselect each other on their own.\n- **Whole-host click target**: The entire item (icon + label) is the click surface, not just the text. It has no `tabindex` and no ARIA role, so it is reachable by pointer only.\n- **Label is text**: Set the visible text with the `label` prop. The default slot is a **deprecated** fallback kept for backward compatibility - slotted text is read into `label`, while nested HTML is stripped with a console warning; avoid placing HTML elements or other components there.\n\n#### Properties & Visual Configurations\n\n- **`icon`**: Icon name shown above the label; use it to give the tab a recognizable glyph. Optional - defaults to empty.\n- **`label`**: The tab's visible text. This is the preferred and idiomatic way to set the text, matching the `label` prop on [`mds-button`](../mds-button/AGENTS.md) and other Magma components.\n- **`selected`**: Marks this item as the active tab. You typically do not toggle it manually at runtime - the parent manages it - but you can set it on one item as the initial active tab.\n- **`typography`**: Controls the label's text style, constrained to the smaller typography set (`tip` by default, or `option`). Pick `option` for a slightly more prominent label.\n\nThe active vs. resting appearance is configured through the `--mds-tab-bar-item-*` CSS custom properties (background and color, each with a `-selected` variant) listed in [`AGENTS.md`](AGENTS.md).\n",
22
- "2. Pattern": "Correct and idiomatic ways to use the `<mds-tab-bar-item>` 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 Bar\n\nThe canonical form. Place all items directly inside `<mds-tab-bar>`. Give each item an `icon` and set its text with the `label` prop. The parent assigns `id`s automatically and coordinates selection.\n\n```html\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/search\" label=\"Cerca\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/notifications\" label=\"Notifiche\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/person\" label=\"Profilo\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Setting the Initial Active Tab\n\nMark one item as pre-selected on first render with the `selected` boolean attribute. Do not set more than one item as `selected` - the parent enforces mutual exclusivity once the first click event fires.\n\n```html\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" selected></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/search\" label=\"Cerca\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/notifications\" label=\"Notifiche\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Listening for Selection Changes\n\nListen to `mdsTabBarItemSelect` on the item to react when a specific tab becomes active, or listen to `mdsTabBarChange` on the parent to receive the zero-based index of the newly selected item.\n\n```html\n<mds-tab-bar id=\"main-nav\">\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/search\" label=\"Cerca\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/person\" label=\"Profilo\"></mds-tab-bar-item>\n</mds-tab-bar>\n\n<script>\n document.querySelector('#main-nav').addEventListener('mdsTabBarChange', (e) => {\n console.log('tab selezionato:', e.detail.index);\n });\n</script>\n```\n\n#### Driving Selection Programmatically\n\nSet the `selected` prop on the desired item from JavaScript, and remove it from the previously selected one: the item updates its own visual state, but the parent syncs the siblings only on the next click and emits no `mdsTabBarChange` for a change made from code. Do not address the items by your own `id`: the bar replaces it with `mds-tab-bar-item-<index>` when it loads.\n\n```html\n<mds-tab-bar id=\"wizard-nav\">\n <mds-tab-bar-item icon=\"mi/baseline/person\" label=\"Profilo\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/lock\" label=\"Sicurezza\"></mds-tab-bar-item>\n <mds-tab-bar-item\n icon=\"mi/baseline/notifications\"\n label=\"Notifiche\"\n ></mds-tab-bar-item>\n</mds-tab-bar>\n\n<script>\n document.querySelectorAll('#wizard-nav mds-tab-bar-item')[1].selected = true;\n</script>\n```\n\n#### Larger Label Typography\n\nUse `typography=\"option\"` for a slightly more prominent label when the tab bar sits in a layout where `tip` (the default) reads too small.\n\n```html\n<mds-tab-bar>\n <mds-tab-bar-item\n icon=\"mi/baseline/dashboard\"\n label=\"Dashboard\"\n typography=\"option\"\n selected\n ></mds-tab-bar-item>\n <mds-tab-bar-item\n icon=\"mi/baseline/bar-chart\"\n label=\"Statistiche\"\n typography=\"option\"\n ></mds-tab-bar-item>\n <mds-tab-bar-item\n icon=\"mi/baseline/settings\"\n label=\"Impostazioni\"\n typography=\"option\"\n ></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Styling Customization\n\nOverride colors through the four documented `--mds-tab-bar-item-*` CSS custom properties. Set them on the host or a parent selector; use semantic color roles via `rgb(var(--magma-<role>))` so dark mode keeps working.\n\n```css\n.app-bottom-nav mds-tab-bar-item {\n --mds-tab-bar-item-background: rgb(var(--magma-wash-base));\n --mds-tab-bar-item-color: rgb(var(--magma-text-muted));\n --mds-tab-bar-item-background-selected: rgb(var(--magma-accent-surface-subtle));\n --mds-tab-bar-item-color-selected: rgb(var(--magma-accent-fg));\n}\n```\n",
23
- "3. Antipattern": "Common incorrect uses of `<mds-tab-bar-item>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Use Outside `<mds-tab-bar>`\n\n`<mds-tab-bar-item>` relies on the parent to assign its `id`, listen for `mdsTabBarItemSelect`, and drive mutual exclusivity. Without the parent, the item has no stable id, selection does not propagate, and no other item is deselected when this one is clicked.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" selected></mds-tab-bar-item>\n\n<!-- CORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" selected></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/search\" label=\"Cerca\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Do Not Use the Deprecated Default Slot for Text\n\nSetting the text via the default slot is deprecated. Slotted text is read into `label`, and any nested HTML is stripped with a console warning. Use the `label` prop instead.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\">Home</mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/search\"><strong>Cerca</strong></mds-tab-bar-item>\n</mds-tab-bar>\n\n<!-- CORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/search\" label=\"Cerca\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Do Not Slot `<mds-icon>` to Add an Icon\n\nThe `icon` prop renders the glyph through the shared icon service and positions it above the label automatically. Slotting `<mds-icon>` puts it in the deprecated default slot, where it is stripped and misaligns.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item>\n <mds-icon name=\"mi/baseline/home\"></mds-icon>\n Home\n </mds-tab-bar-item>\n</mds-tab-bar>\n\n<!-- CORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Do Not Set `selected=\"false\"` to Deselect\n\n`selected` is a boolean attribute. The item happens to style `selected=\"false\"` as unselected, but the attribute stays on the element and contradicts the state for attribute selectors and checks. Remove the attribute or set the property to `undefined` to deselect.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" selected=\"false\"></mds-tab-bar-item>\n</mds-tab-bar>\n\n<!-- CORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Do Not Listen to Raw Click Events for Tab Changes\n\n`<mds-tab-bar-item>` emits `mdsTabBarItemSelect` when selected; `<mds-tab-bar>` re-emits `mdsTabBarChange` with the resolved index. Listening to the native `click` event gives you no index, and it also fires on clicks that select nothing (every other click on the item that is already active).\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar id=\"nav\">\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n</mds-tab-bar>\n<script>\n document.querySelector('mds-tab-bar-item').addEventListener('click', handler);\n</script>\n\n<!-- CORRECT -->\n<mds-tab-bar id=\"nav\">\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n</mds-tab-bar>\n<script>\n document.querySelector('#nav').addEventListener('mdsTabBarChange', handler);\n</script>\n```\n\n#### Do Not Use an Invalid `typography` Value\n\n`typography` accepts only `\"tip\"` (default) or `\"option\"`. Passing any other value - such as `\"caption\"` or `\"label\"` - is outside the typed `TypographySmallerType`: it is passed unchecked to the inner `<mds-text>`, so the label silently leaves the tab bar's type scale.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" typography=\"caption\"></mds-tab-bar-item>\n</mds-tab-bar>\n\n<!-- CORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" typography=\"option\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n"
21
+ "1. Description": "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.\n\n#### Semantic Behavior\n\n- **Compound child only**: Must be placed as a direct default-slot child of `<mds-tab-bar>`; it is not used standalone or mixed with other child types.\n- **Parent-coordinated selection**: Clicking an item that is not selected selects it and emits `mdsTabBarItemSelect` carrying its own `id`; a click on the selected item changes nothing and emits nothing. The parent re-drives every sibling's `selected` so exactly one item is active at a time - items do not deselect each other on their own.\n- **Whole-host click target**: The entire item (icon + label) is the click surface, not just the text. It is a button (`role=\"button\"`, unless you set another role) in the tab order, activated by Enter and Space as by a click; the selected item carries `aria-current=\"true\"`.\n- **Label is text**: Set the visible text with the `label` prop. The default slot is a **deprecated** fallback kept for backward compatibility - slotted text is read into `label`, while nested HTML is stripped with a console warning; avoid placing HTML elements or other components there.\n\n#### Properties & Visual Configurations\n\n- **`icon`**: Icon name shown above the label; use it to give the tab a recognizable glyph. Optional - defaults to empty.\n- **`label`**: The tab's visible text. This is the preferred and idiomatic way to set the text, matching the `label` prop on [`mds-button`](../mds-button/AGENTS.md) and other Magma components.\n- **`selected`**: Marks this item as the active tab. You typically do not toggle it manually at runtime - the parent manages it - but you can set it on one item as the initial active tab.\n- **`typography`**: Controls the label's text style, constrained to the smaller typography set (`tip` by default, or `option`). Pick `option` for a slightly more prominent label.\n\nThe active vs. resting appearance is configured through the `--mds-tab-bar-item-*` CSS custom properties (background and color, each with a `-selected` variant) listed in [`AGENTS.md`](AGENTS.md).\n",
22
+ "2. Pattern": "Correct and idiomatic ways to use the `<mds-tab-bar-item>` 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 Bar\n\nThe canonical form. Place all items directly inside `<mds-tab-bar>`. Give each item an `icon` and set its text with the `label` prop. The parent keeps the `id` you give an item, gives one to the items without, and coordinates selection.\n\n```html\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/search\" label=\"Cerca\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/notifications\" label=\"Notifiche\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/person\" label=\"Profilo\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Setting the Initial Active Tab\n\nMark one item as pre-selected on first render with the `selected` boolean attribute. Do not set more than one item as `selected` - the parent enforces mutual exclusivity once the first click event fires.\n\n```html\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" selected></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/search\" label=\"Cerca\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/notifications\" label=\"Notifiche\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Listening for Selection Changes\n\nListen to `mdsTabBarItemSelect` on the item to react when a specific tab becomes active, or listen to `mdsTabBarChange` on the parent to receive the zero-based index of the newly selected item.\n\n```html\n<mds-tab-bar id=\"main-nav\">\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/search\" label=\"Cerca\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/person\" label=\"Profilo\"></mds-tab-bar-item>\n</mds-tab-bar>\n\n<script>\n document.querySelector('#main-nav').addEventListener('mdsTabBarChange', (e) => {\n console.log('tab selezionato:', e.detail.index);\n });\n</script>\n```\n\n#### Driving Selection Programmatically\n\nSet the `selected` prop on the desired item from JavaScript, and remove it from the previously selected one: the item updates its own visual state, but the parent syncs the siblings only on the next click and emits no `mdsTabBarChange` for a change made from code. Do not address the items by your own `id`: the bar replaces it with `mds-tab-bar-item-<index>` when it loads.\n\n```html\n<mds-tab-bar id=\"wizard-nav\">\n <mds-tab-bar-item icon=\"mi/baseline/person\" label=\"Profilo\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/lock\" label=\"Sicurezza\"></mds-tab-bar-item>\n <mds-tab-bar-item\n icon=\"mi/baseline/notifications\"\n label=\"Notifiche\"\n ></mds-tab-bar-item>\n</mds-tab-bar>\n\n<script>\n document.querySelectorAll('#wizard-nav mds-tab-bar-item')[1].selected = true;\n</script>\n```\n\n#### Larger Label Typography\n\nUse `typography=\"option\"` for a slightly more prominent label when the tab bar sits in a layout where `tip` (the default) reads too small.\n\n```html\n<mds-tab-bar>\n <mds-tab-bar-item\n icon=\"mi/baseline/dashboard\"\n label=\"Dashboard\"\n typography=\"option\"\n selected\n ></mds-tab-bar-item>\n <mds-tab-bar-item\n icon=\"mi/baseline/bar-chart\"\n label=\"Statistiche\"\n typography=\"option\"\n ></mds-tab-bar-item>\n <mds-tab-bar-item\n icon=\"mi/baseline/settings\"\n label=\"Impostazioni\"\n typography=\"option\"\n ></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Styling Customization\n\nOverride colors through the four documented `--mds-tab-bar-item-*` CSS custom properties. Set them on the host or a parent selector; use semantic color roles via `rgb(var(--magma-<role>))` so dark mode keeps working.\n\n```css\n.app-bottom-nav mds-tab-bar-item {\n --mds-tab-bar-item-background: rgb(var(--magma-wash-base));\n --mds-tab-bar-item-color: rgb(var(--magma-text-muted));\n --mds-tab-bar-item-background-selected: rgb(var(--magma-accent-surface-subtle));\n --mds-tab-bar-item-color-selected: rgb(var(--magma-accent-fg));\n}\n```\n",
23
+ "3. Antipattern": "Common incorrect uses of `<mds-tab-bar-item>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Use Outside `<mds-tab-bar>`\n\n`<mds-tab-bar-item>` relies on the parent to give it an `id` when it has none, listen for `mdsTabBarItemSelect`, and drive mutual exclusivity. Without the parent, an item without an `id` reports an empty one, selection does not propagate, and no other item is deselected when this one is clicked.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" selected></mds-tab-bar-item>\n\n<!-- CORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" selected></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/search\" label=\"Cerca\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Do Not Use the Deprecated Default Slot for Text\n\nSetting the text via the default slot is deprecated. Slotted text is read into `label`, and any nested HTML is stripped with a console warning. Use the `label` prop instead.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\">Home</mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/search\"><strong>Cerca</strong></mds-tab-bar-item>\n</mds-tab-bar>\n\n<!-- CORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n <mds-tab-bar-item icon=\"mi/baseline/search\" label=\"Cerca\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Do Not Slot `<mds-icon>` to Add an Icon\n\nThe `icon` prop renders the glyph through the shared icon service and positions it above the label automatically. Slotting `<mds-icon>` puts it in the deprecated default slot, where it is stripped and misaligns.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item>\n <mds-icon name=\"mi/baseline/home\"></mds-icon>\n Home\n </mds-tab-bar-item>\n</mds-tab-bar>\n\n<!-- CORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Do Not Set `selected=\"false\"` to Deselect\n\n`selected` is a boolean attribute. The item happens to style `selected=\"false\"` as unselected, but the attribute stays on the element and contradicts the state for attribute selectors and checks. Remove the attribute or set the property to `undefined` to deselect.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" selected=\"false\"></mds-tab-bar-item>\n</mds-tab-bar>\n\n<!-- CORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n\n#### Do Not Listen to Raw Click Events for Tab Changes\n\n`<mds-tab-bar-item>` emits `mdsTabBarItemSelect` when selected; `<mds-tab-bar>` re-emits `mdsTabBarChange` with the resolved index. Listening to the native `click` event gives you no index, and it also fires on clicks that select nothing (any click on the item that is already active).\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar id=\"nav\">\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n</mds-tab-bar>\n<script>\n document.querySelector('mds-tab-bar-item').addEventListener('click', handler);\n</script>\n\n<!-- CORRECT -->\n<mds-tab-bar id=\"nav\">\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\"></mds-tab-bar-item>\n</mds-tab-bar>\n<script>\n document.querySelector('#nav').addEventListener('mdsTabBarChange', handler);\n</script>\n```\n\n#### Do Not Use an Invalid `typography` Value\n\n`typography` accepts only `\"tip\"` (default) or `\"option\"`. Passing any other value - such as `\"caption\"` or `\"label\"` - is outside the typed `TypographySmallerType`: it is passed unchecked to the inner `<mds-text>`, so the label silently leaves the tab bar's type scale.\n\n```html\n<!-- INCORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" typography=\"caption\"></mds-tab-bar-item>\n</mds-tab-bar>\n\n<!-- CORRECT -->\n<mds-tab-bar>\n <mds-tab-bar-item icon=\"mi/baseline/home\" label=\"Home\" typography=\"option\"></mds-tab-bar-item>\n</mds-tab-bar>\n```\n"
24
24
  },
25
25
  "props": [
26
26
  {
@@ -1,3 +1,15 @@
1
+ @keyframes focus-bounce {
2
+ 0%,
3
+ 75%,
4
+ 100% {
5
+ outline-offset: var(--magma-outline-focus-offset, 2px);
6
+ }
7
+
8
+ 50% {
9
+ outline-offset: var(--magma-outline-blur-offset, 6px);
10
+ }
11
+ }
12
+
1
13
  :host(:not(:is([hydrated], .hydrated))) {
2
14
  @apply not-hydrated;
3
15
  }
@@ -26,7 +38,12 @@ mds-text {
26
38
  --mds-tab-bar-item-transition-duration: var(--duration-200, 200ms);
27
39
  --private-tab-bar-item-transition-duration: var(--mds-tab-bar-item-transition-duration);
28
40
 
29
- @apply ease-in-out;
41
+ /* the bar sits on the bottom edge of the viewport: the focus ring is drawn inside the item,
42
+ bouncing inwards */
43
+ --magma-outline-blur-offset: -8px;
44
+ --magma-outline-focus-offset: -4px;
45
+
46
+ @apply focus-bounce ease-in-out;
30
47
 
31
48
  align-items: center;
32
49
  background-color: var(--mds-tab-bar-item-background, rgb(var(--magma-wash-soft, var(--tone-neutral-10, 237 237 237))));
@@ -51,6 +68,10 @@ mds-text {
51
68
  fill: var(--mds-tab-bar-item-color-selected, rgb(var(--magma-accent-fg, var(--variant-primary-03, 7 76 204))));
52
69
  }
53
70
 
71
+ :host(:focus-visible) {
72
+ @apply focus-bounce--focused;
73
+ }
74
+
54
75
  /* Motion, held back.
55
76
  *
56
77
  * Every component zeroes the private durations its own base CSS reads, which composes
@@ -1,4 +1,6 @@
1
- import { Host, h, } from "@stencil/core";
1
+ import { Host, h } from "@stencil/core";
2
+ import { KeyboardManager } from "../../common/keyboard-manager";
3
+ import { setAttributeIfEmpty } from "../../common/aria";
2
4
  import { readSlottedLabel, sanitizeLabel } from "../../common/slot";
3
5
  import { preferenceStore } from "../../common/preference";
4
6
  /**
@@ -6,6 +8,7 @@ import { preferenceStore } from "../../common/preference";
6
8
  */
7
9
  export class MdsTabBarItem {
8
10
  constructor() {
11
+ this.km = new KeyboardManager();
9
12
  /**
10
13
  * The icon displayed in the tab bar item.
11
14
  */
@@ -14,11 +17,12 @@ export class MdsTabBarItem {
14
17
  * Specifies the typography of the element
15
18
  */
16
19
  this.typography = 'tip';
20
+ // the selected item stays selected: a click on it selects nothing new, so it emits nothing
17
21
  this.select = () => {
18
- this.isSelected = !this.isSelected;
19
- if (this.isSelected) {
20
- this.selectedEvent.emit(this.element.id);
21
- }
22
+ if (this.selected)
23
+ return;
24
+ this.selected = true;
25
+ this.selectedEvent.emit(this.element.id);
22
26
  };
23
27
  this.onSlotChangeHandler = () => {
24
28
  var _a;
@@ -28,17 +32,25 @@ export class MdsTabBarItem {
28
32
  this.label = readSlottedLabel(this.element);
29
33
  };
30
34
  }
31
- componentWillLoad() {
32
- this.isSelected = this.selected;
35
+ // the item is a button that shows its view: a tab stop that Enter and Space activate as a click
36
+ // does. A role set by the caller is theirs and stays
37
+ componentDidLoad() {
38
+ setAttributeIfEmpty(this.element, 'role', 'button');
39
+ this.km.addElement(this.element);
40
+ this.km.attachClickBehavior('element', { space: true });
41
+ }
42
+ // an item moved in the page is disconnected and connected again, without loading again
43
+ connectedCallback() {
44
+ this.km.attachClickBehavior('element', { space: true });
33
45
  }
34
- validateSelected(newValue) {
35
- this.isSelected = newValue;
46
+ disconnectedCallback() {
47
+ this.km.detachClickBehavior();
36
48
  }
37
49
  labelChanged(newValue) {
38
50
  this.label = sanitizeLabel(newValue);
39
51
  }
40
52
  render() {
41
- return (h(Host, { key: '6f0512a0b1573502fb7a670dfc98347561d48a9f', 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: '7f42e15ab36fee44a8e293de4385ebf76f093ca9', name: this.icon }), h("mds-text", { key: '81152d93c2cec346d56bdbbfd047aa27f8de8d4a', typography: this.typography }, this.label || h("slot", { key: '87794df6827caa30fdfafed3cec10e90fbc56b3f', onSlotchange: this.onSlotChangeHandler }))));
53
+ return (h(Host, { key: '07a69626ce8cb7ba0b06b73c3f142288afe2840d', "aria-current": this.selected ? 'true' : undefined, onClick: this.select, tabindex: "0", "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: 'b39c091c24e9083ca99d5652683930a079ff871e', name: this.icon }), h("mds-text", { key: 'abf14096b043f1986ef0bd94658c9e1c5c957a87', typography: this.typography }, this.label || h("slot", { key: '11b55d8935e8d74c6f830b93fb9b7a8e11248638', onSlotchange: this.onSlotChangeHandler }))));
42
54
  }
43
55
  static get is() { return "mds-tab-bar-item"; }
44
56
  static get encapsulation() { return "shadow"; }
@@ -141,11 +153,6 @@ export class MdsTabBarItem {
141
153
  }
142
154
  };
143
155
  }
144
- static get states() {
145
- return {
146
- "isSelected": {}
147
- };
148
- }
149
156
  static get events() {
150
157
  return [{
151
158
  "method": "selectedEvent",
@@ -167,9 +174,6 @@ export class MdsTabBarItem {
167
174
  static get elementRef() { return "element"; }
168
175
  static get watchers() {
169
176
  return [{
170
- "propName": "selected",
171
- "methodName": "validateSelected"
172
- }, {
173
177
  "propName": "label",
174
178
  "methodName": "labelChanged"
175
179
  }];
@@ -11,7 +11,7 @@ Correct and idiomatic ways to use the `<mds-tab-bar-item>` component, ordered fr
11
11
 
12
12
  #### Basic Tab Bar
13
13
 
14
- The canonical form. Place all items directly inside `<mds-tab-bar>`. Give each item an `icon` and set its text with the `label` prop. The parent assigns `id`s automatically and coordinates selection.
14
+ The canonical form. Place all items directly inside `<mds-tab-bar>`. Give each item an `icon` and set its text with the `label` prop. The parent keeps the `id` you give an item, gives one to the items without, and coordinates selection.
15
15
 
16
16
  ```html
17
17
  <mds-tab-bar>
@@ -6,7 +6,7 @@
6
6
 
7
7
  # mds-tab-item
8
8
 
9
- > `@maggioli-design-system/magma` 2.3.0. Shadow DOM: style it only through the CSS custom properties and parts below.
9
+ > `@maggioli-design-system/magma` 2.4.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
 
@@ -65,7 +65,7 @@ This child does not use the shared `variant`/`tone` ladders; its props mirror th
65
65
 
66
66
  | Part | Description |
67
67
  | --- | --- |
68
- | `button` | - |
68
+ | `button` | The `mds-button` of the tab |
69
69
 
70
70
  ## CSS custom properties
71
71