@maggioli-design-system/magma 2.11.0 → 2.13.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 (1661) hide show
  1. package/AGENTS.md +2 -2
  2. package/CHANGELOG.md +110 -0
  3. package/README.md +15 -11
  4. package/agents/assets.md +7 -6
  5. package/agents/color.md +8 -4
  6. package/agents/components.md +3 -2
  7. package/agents/conventions.md +11 -1
  8. package/agents/install.md +10 -3
  9. package/agents/mcp.md +5 -5
  10. package/agents/patterns/actions.md +11 -9
  11. package/agents/patterns/app-shell.md +70 -22
  12. package/agents/patterns/density.md +4 -3
  13. package/agents/patterns/empty-state.md +5 -7
  14. package/agents/patterns/previews/actions/banner.dark.webp +0 -0
  15. package/agents/patterns/previews/actions/banner.light.webp +0 -0
  16. package/agents/patterns/previews/actions/confirm.dark.webp +0 -0
  17. package/agents/patterns/previews/actions/confirm.light.webp +0 -0
  18. package/agents/patterns/previews/actions/danger-zone.dark.webp +0 -0
  19. package/agents/patterns/previews/actions/danger-zone.light.webp +0 -0
  20. package/agents/patterns/previews/actions/dismiss-message.light.webp +0 -0
  21. package/agents/patterns/previews/actions/dismiss.dark.webp +0 -0
  22. package/agents/patterns/previews/actions/dismiss.light.webp +0 -0
  23. package/agents/patterns/previews/actions/part-primary.light.webp +0 -0
  24. package/agents/patterns/previews/actions/stacked.light.webp +0 -0
  25. package/agents/patterns/previews/app-shell/back-office.dark.webp +0 -0
  26. package/agents/patterns/previews/app-shell/back-office.html +2 -2
  27. package/agents/patterns/previews/app-shell/back-office.light.webp +0 -0
  28. package/agents/patterns/previews/app-shell/many-sections.dark.webp +0 -0
  29. package/agents/patterns/previews/app-shell/many-sections.html +1 -1
  30. package/agents/patterns/previews/app-shell/many-sections.light.webp +0 -0
  31. package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
  32. package/agents/patterns/previews/app-shell/public-service.html +2 -2
  33. package/agents/patterns/previews/app-shell/public-service.light.webp +0 -0
  34. package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
  35. package/agents/patterns/previews/app-shell/section-menus.html +68 -0
  36. package/agents/patterns/previews/app-shell/section-menus.light.webp +0 -0
  37. package/agents/patterns/previews/confirm-action/ask-before-sending.dark.webp +0 -0
  38. package/agents/patterns/previews/confirm-action/ask-before-sending.light.webp +0 -0
  39. package/agents/patterns/previews/confirm-action/ask-first-many.dark.webp +0 -0
  40. package/agents/patterns/previews/confirm-action/ask-first-many.light.webp +0 -0
  41. package/agents/patterns/previews/confirm-action/ask-first.dark.webp +0 -0
  42. package/agents/patterns/previews/confirm-action/ask-first.light.webp +0 -0
  43. package/agents/patterns/previews/confirm-action/make-reversible.dark.webp +0 -0
  44. package/agents/patterns/previews/confirm-action/make-reversible.light.webp +0 -0
  45. package/agents/patterns/previews/confirm-action/send-as-shown.dark.webp +0 -0
  46. package/agents/patterns/previews/confirm-action/send-as-shown.light.webp +0 -0
  47. package/agents/patterns/previews/empty-state/add-the-first.dark.webp +0 -0
  48. package/agents/patterns/previews/empty-state/add-the-first.html +5 -7
  49. package/agents/patterns/previews/empty-state/add-the-first.light.webp +0 -0
  50. package/agents/patterns/previews/empty-state/all-done.dark.webp +0 -0
  51. package/agents/patterns/previews/empty-state/all-done.html +5 -7
  52. package/agents/patterns/previews/empty-state/all-done.light.webp +0 -0
  53. package/agents/patterns/previews/empty-state/clear-filters.dark.webp +0 -0
  54. package/agents/patterns/previews/empty-state/clear-filters.html +4 -6
  55. package/agents/patterns/previews/empty-state/clear-filters.light.webp +0 -0
  56. package/agents/patterns/previews/empty-state/filled-by-others.dark.webp +0 -0
  57. package/agents/patterns/previews/empty-state/filled-by-others.html +5 -7
  58. package/agents/patterns/previews/empty-state/filled-by-others.light.webp +0 -0
  59. package/agents/patterns/previews/empty-state/not-found.dark.webp +0 -0
  60. package/agents/patterns/previews/empty-state/not-found.html +7 -9
  61. package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
  62. package/agents/patterns/previews/error-recovery/changed-meanwhile.dark.webp +0 -0
  63. package/agents/patterns/previews/error-recovery/changed-meanwhile.light.webp +0 -0
  64. package/agents/patterns/previews/error-recovery/check-or-repeat.light.webp +0 -0
  65. package/agents/patterns/previews/error-recovery/content-another-way.light.webp +0 -0
  66. package/agents/patterns/previews/error-recovery/partial.dark.webp +0 -0
  67. package/agents/patterns/previews/error-recovery/partial.light.webp +0 -0
  68. package/agents/patterns/previews/error-recovery/retry-action.light.webp +0 -0
  69. package/agents/patterns/previews/error-recovery/retry-content.dark.webp +0 -0
  70. package/agents/patterns/previews/error-recovery/sign-in-again.dark.webp +0 -0
  71. package/agents/patterns/previews/error-recovery/sign-in-again.light.webp +0 -0
  72. package/agents/patterns/previews/item-list/documents-of-a-request.dark.webp +0 -0
  73. package/agents/patterns/previews/item-list/documents-of-a-request.light.webp +0 -0
  74. package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
  75. package/agents/patterns/previews/item-list/queue-of-a-desk.html +1 -1
  76. package/agents/patterns/previews/item-list/queue-of-a-desk.light.webp +0 -0
  77. package/agents/patterns/previews/item-list/requests-of-an-office.dark.webp +0 -0
  78. package/agents/patterns/previews/item-list/requests-of-an-office.light.webp +0 -0
  79. package/agents/patterns/previews/item-list/requests-to-assign.dark.webp +0 -0
  80. package/agents/patterns/previews/item-list/requests-to-assign.html +3 -12
  81. package/agents/patterns/previews/item-list/requests-to-assign.light.webp +0 -0
  82. package/agents/patterns/previews/labels-and-values/payment-before-paying.dark.webp +0 -0
  83. package/agents/patterns/previews/labels-and-values/what-is-sent.dark.webp +0 -0
  84. package/agents/patterns/previews/labels-and-values/what-is-sent.light.webp +0 -0
  85. package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
  86. package/agents/patterns/previews/list-with-filters/act-on-many.html +4 -11
  87. package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
  88. package/agents/patterns/previews/list-with-filters/find-and-open.dark.webp +0 -0
  89. package/agents/patterns/previews/list-with-filters/find-and-open.html +2 -2
  90. package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
  91. package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
  92. package/agents/patterns/previews/list-with-filters/show-new-items.html +3 -3
  93. package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
  94. package/agents/patterns/previews/loading/await-and-say.dark.webp +0 -0
  95. package/agents/patterns/previews/loading/await-and-say.html +2 -5
  96. package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
  97. package/agents/patterns/previews/loading/first-load.light.webp +0 -0
  98. package/agents/patterns/previews/loading/keep-while-reloading.light.webp +0 -0
  99. package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
  100. package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
  101. package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
  102. package/agents/patterns/previews/loading/long-load.light.webp +0 -0
  103. package/agents/patterns/previews/loading/progress-in-place.light.webp +0 -0
  104. package/agents/patterns/previews/message-placement/action-done-elsewhere.dark.webp +0 -0
  105. package/agents/patterns/previews/message-placement/action-done-elsewhere.light.webp +0 -0
  106. package/agents/patterns/previews/message-placement/action-failed-elsewhere.dark.webp +0 -0
  107. package/agents/patterns/previews/message-placement/action-failed-elsewhere.light.webp +0 -0
  108. package/agents/patterns/previews/message-placement/action-failed-in-place.dark.webp +0 -0
  109. package/agents/patterns/previews/message-placement/action-failed-in-place.light.webp +0 -0
  110. package/agents/patterns/previews/message-placement/action-partial-in-place.dark.webp +0 -0
  111. package/agents/patterns/previews/message-placement/action-partial-in-place.light.webp +0 -0
  112. package/agents/patterns/previews/message-placement/app-deadline.dark.webp +0 -0
  113. package/agents/patterns/previews/message-placement/app-deadline.light.webp +0 -0
  114. package/agents/patterns/previews/message-placement/app-failed.dark.webp +0 -0
  115. package/agents/patterns/previews/message-placement/app-failed.html +2 -2
  116. package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
  117. package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
  118. package/agents/patterns/previews/message-placement/decision.light.webp +0 -0
  119. package/agents/patterns/previews/message-placement/field-error.dark.webp +0 -0
  120. package/agents/patterns/previews/message-placement/field-error.light.webp +0 -0
  121. package/agents/patterns/previews/message-placement/field-hint.light.webp +0 -0
  122. package/agents/patterns/previews/message-placement/field-valid.dark.webp +0 -0
  123. package/agents/patterns/previews/message-placement/field-valid.light.webp +0 -0
  124. package/agents/patterns/previews/message-placement/region-failed.dark.webp +0 -0
  125. package/agents/patterns/previews/message-placement/region-info.dark.webp +0 -0
  126. package/agents/patterns/previews/message-placement/region-info.light.webp +0 -0
  127. package/agents/patterns/previews/page-header/contact-being-edited.dark.webp +0 -0
  128. package/agents/patterns/previews/page-header/contact-being-edited.light.webp +0 -0
  129. package/agents/patterns/previews/page-header/members-of-a-group.light.webp +0 -0
  130. package/agents/patterns/previews/page-header/request-from-the-list.dark.webp +0 -0
  131. package/agents/patterns/previews/record-detail/ask-for-words.dark.webp +0 -0
  132. package/agents/patterns/previews/record-detail/ask-for-words.html +2 -2
  133. package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
  134. package/agents/patterns/previews/record-detail/edit-data.dark.webp +0 -0
  135. package/agents/patterns/previews/record-detail/edit-data.html +2 -2
  136. package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
  137. package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
  138. package/agents/patterns/previews/record-detail/read-the-data.html +2 -2
  139. package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
  140. package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
  141. package/agents/patterns/previews/record-detail/record-changed.html +2 -2
  142. package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
  143. package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
  144. package/agents/patterns/previews/record-detail/run-at-once.html +2 -2
  145. package/agents/patterns/previews/record-detail/run-at-once.light.webp +0 -0
  146. package/agents/patterns/previews/record-detail/work-on-it.dark.webp +0 -0
  147. package/agents/patterns/previews/record-detail/work-on-it.html +2 -2
  148. package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
  149. package/agents/patterns/previews/rhythm/between-containers.dark.webp +0 -0
  150. package/agents/patterns/previews/rhythm/between-containers.light.webp +0 -0
  151. package/agents/patterns/previews/rhythm/between-fields.dark.webp +0 -0
  152. package/agents/patterns/previews/rhythm/between-fields.light.webp +0 -0
  153. package/agents/patterns/previews/rhythm/between-groups.light.webp +0 -0
  154. package/agents/patterns/previews/rhythm/between-sections.dark.webp +0 -0
  155. package/agents/patterns/previews/rhythm/between-sections.light.webp +0 -0
  156. package/agents/patterns/previews/rhythm/inline.light.webp +0 -0
  157. package/agents/patterns/previews/rhythm/inset.dark.webp +0 -0
  158. package/agents/patterns/previews/rhythm/inset.light.webp +0 -0
  159. package/agents/patterns/previews/rhythm/title-content.dark.webp +0 -0
  160. package/agents/patterns/previews/rhythm/title-content.light.webp +0 -0
  161. package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
  162. package/agents/patterns/previews/surfaces/band.html +2 -2
  163. package/agents/patterns/previews/surfaces/band.light.webp +0 -0
  164. package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
  165. package/agents/patterns/previews/surfaces/canvas.html +2 -2
  166. package/agents/patterns/previews/surfaces/canvas.light.webp +0 -0
  167. package/agents/patterns/previews/surfaces/card.dark.webp +0 -0
  168. package/agents/patterns/previews/surfaces/card.light.webp +0 -0
  169. package/agents/patterns/previews/surfaces/dialog.dark.webp +0 -0
  170. package/agents/patterns/previews/surfaces/dialog.light.webp +0 -0
  171. package/agents/patterns/previews/surfaces/edit-actions.dark.webp +0 -0
  172. package/agents/patterns/previews/surfaces/edit-actions.light.webp +0 -0
  173. package/agents/patterns/previews/surfaces/intro-band.dark.webp +0 -0
  174. package/agents/patterns/previews/surfaces/intro-band.html +66 -0
  175. package/agents/patterns/previews/surfaces/intro-band.light.webp +0 -0
  176. package/agents/patterns/previews/surfaces/section.dark.webp +0 -0
  177. package/agents/patterns/previews/surfaces/section.light.webp +0 -0
  178. package/agents/patterns/previews/titles/dialog.dark.webp +0 -0
  179. package/agents/patterns/previews/titles/dialog.light.webp +0 -0
  180. package/agents/patterns/previews/titles/group.light.webp +0 -0
  181. package/agents/patterns/previews/titles/page.dark.webp +0 -0
  182. package/agents/patterns/previews/titles/page.light.webp +0 -0
  183. package/agents/patterns/previews/titles/part.light.webp +0 -0
  184. package/agents/patterns/previews/titles/section.light.webp +0 -0
  185. package/agents/patterns/previews/widths/dialog.dark.webp +0 -0
  186. package/agents/patterns/previews/widths/dialog.light.webp +0 -0
  187. package/agents/patterns/previews/widths/field.dark.webp +0 -0
  188. package/agents/patterns/previews/widths/field.light.webp +0 -0
  189. package/agents/patterns/previews/widths/form.dark.webp +0 -0
  190. package/agents/patterns/previews/widths/form.light.webp +0 -0
  191. package/agents/patterns/previews/widths/page.dark.webp +0 -0
  192. package/agents/patterns/previews/widths/page.html +2 -2
  193. package/agents/patterns/previews/widths/page.light.webp +0 -0
  194. package/agents/patterns/previews/widths/reading.dark.webp +0 -0
  195. package/agents/patterns/previews/widths/reading.light.webp +0 -0
  196. package/agents/patterns/rhythm.md +2 -1
  197. package/agents/patterns/surfaces.md +53 -14
  198. package/agents/patterns/titles.md +19 -17
  199. package/agents/patterns/widths.md +4 -3
  200. package/agents/patterns.md +9 -8
  201. package/agents/theming.md +12 -0
  202. package/dist/cjs/{aria-CzO5Rp1y.js → aria-r1anAHBr.js} +12 -0
  203. package/dist/cjs/{floating-controller-DaFymQCT.js → floating-controller-B21tqid0.js} +52 -5
  204. package/dist/cjs/{floating-ui.dom-VQ_HnnRe.js → floating-ui.dom-1Z4VE-PH.js} +1 -0
  205. package/dist/cjs/{index-BQNHYWJg.js → index-B99V_UhC.js} +87 -44
  206. package/dist/cjs/{index-Bg68W-da.js → index-CFEj7WVH.js} +12 -1
  207. package/dist/cjs/index.cjs.js +45 -3
  208. package/dist/cjs/loader.cjs.js +2 -2
  209. package/dist/cjs/{locale-CaR39iYg.js → locale-6jikg4jE.js} +1 -1
  210. package/dist/cjs/magma-components.cjs.js +3 -3
  211. package/dist/cjs/mds-accordion-item.cjs.entry.js +10 -7
  212. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +10 -7
  213. package/dist/cjs/mds-accordion-timer.cjs.entry.js +4 -3
  214. package/dist/cjs/mds-accordion.cjs.entry.js +5 -4
  215. package/dist/cjs/mds-author.cjs.entry.js +4 -3
  216. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +4 -3
  217. package/dist/cjs/mds-avatar-stack.cjs.entry.js +4 -3
  218. package/dist/cjs/mds-avatar.cjs.entry.js +5 -4
  219. package/dist/cjs/mds-badge.cjs.entry.js +6 -5
  220. package/dist/cjs/mds-banner_3.cjs.entry.js +56 -27
  221. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +4 -3
  222. package/dist/cjs/mds-bibliography.cjs.entry.js +4 -3
  223. package/dist/cjs/mds-book.cjs.entry.js +8 -7
  224. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +4 -3
  225. package/dist/cjs/mds-breadcrumb.cjs.entry.js +6 -5
  226. package/dist/cjs/mds-button-dropdown.cjs.entry.js +10 -7
  227. package/dist/cjs/mds-button-group.cjs.entry.js +5 -4
  228. package/dist/cjs/mds-button_3.cjs.entry.js +86 -21
  229. package/dist/cjs/mds-calendar_2.cjs.entry.js +190 -305
  230. package/dist/cjs/mds-card-content.cjs.entry.js +4 -3
  231. package/dist/cjs/mds-card-footer.cjs.entry.js +5 -4
  232. package/dist/cjs/mds-card-header.cjs.entry.js +4 -3
  233. package/dist/cjs/mds-card-media.cjs.entry.js +4 -3
  234. package/dist/cjs/mds-card.cjs.entry.js +6 -5
  235. package/dist/cjs/mds-details.cjs.entry.js +5 -4
  236. package/dist/cjs/mds-dropdown.cjs.entry.js +48 -19
  237. package/dist/cjs/mds-emoji.cjs.entry.js +5 -4
  238. package/dist/cjs/mds-entity.cjs.entry.js +5 -4
  239. package/dist/cjs/mds-file-preview.cjs.entry.js +8 -7
  240. package/dist/cjs/mds-file.cjs.entry.js +8 -7
  241. package/dist/cjs/mds-filter-item.cjs.entry.js +8 -7
  242. package/dist/cjs/mds-filter.cjs.entry.js +7 -6
  243. package/dist/cjs/mds-header-bar.cjs.entry.js +6 -5
  244. package/dist/cjs/mds-header.cjs.entry.js +6 -5
  245. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +6 -5
  246. package/dist/cjs/mds-hr.cjs.entry.js +5 -4
  247. package/dist/cjs/mds-img.cjs.entry.js +5 -4
  248. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +3 -2
  249. package/dist/cjs/mds-input-date-range.cjs.entry.js +127 -32
  250. package/dist/cjs/mds-input-date.cjs.entry.js +26 -12
  251. package/dist/cjs/mds-input-field.cjs.entry.js +3 -2
  252. package/dist/cjs/mds-input-otp.cjs.entry.js +5 -4
  253. package/dist/cjs/mds-input-range-value.cjs.entry.js +18 -0
  254. package/dist/cjs/mds-input-range.cjs.entry.js +410 -29
  255. package/dist/cjs/mds-input-select.cjs.entry.js +9 -8
  256. package/dist/cjs/mds-input-switch_2.cjs.entry.js +11 -9
  257. package/dist/cjs/mds-input-tip_2.cjs.entry.js +17 -12
  258. package/dist/cjs/mds-input-upload.cjs.entry.js +10 -9
  259. package/dist/cjs/mds-input.cjs.entry.js +293 -36
  260. package/dist/cjs/mds-keyboard-key.cjs.entry.js +6 -5
  261. package/dist/cjs/mds-keyboard.cjs.entry.js +7 -6
  262. package/dist/cjs/mds-kpi-item.cjs.entry.js +6 -5
  263. package/dist/cjs/mds-kpi.cjs.entry.js +4 -3
  264. package/dist/cjs/mds-label.cjs.entry.js +7 -6
  265. package/dist/cjs/mds-link.cjs.entry.js +9 -8
  266. package/dist/cjs/mds-list-item.cjs.entry.js +4 -3
  267. package/dist/cjs/mds-list.cjs.entry.js +4 -3
  268. package/dist/cjs/mds-mention.cjs.entry.js +6 -5
  269. package/dist/cjs/mds-modal.cjs.entry.js +37 -17
  270. package/dist/cjs/mds-note.cjs.entry.js +7 -6
  271. package/dist/cjs/mds-notification.cjs.entry.js +7 -6
  272. package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -4
  273. package/dist/cjs/mds-paginator.cjs.entry.js +7 -6
  274. package/dist/cjs/mds-policy-ai.cjs.entry.js +6 -5
  275. package/dist/cjs/mds-pref-animation.cjs.entry.js +6 -5
  276. package/dist/cjs/mds-pref-consumption.cjs.entry.js +6 -5
  277. package/dist/cjs/mds-pref-contrast.cjs.entry.js +6 -5
  278. package/dist/cjs/mds-pref-language-item.cjs.entry.js +6 -5
  279. package/dist/cjs/mds-pref-language.cjs.entry.js +6 -5
  280. package/dist/cjs/mds-pref-mode.cjs.entry.js +25 -15
  281. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
  282. package/dist/cjs/mds-pref-theme.cjs.entry.js +34 -10
  283. package/dist/cjs/mds-pref.cjs.entry.js +12 -28
  284. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +6 -5
  285. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +6 -5
  286. package/dist/cjs/mds-price-table-features.cjs.entry.js +5 -4
  287. package/dist/cjs/mds-price-table-header.cjs.entry.js +4 -3
  288. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +4 -3
  289. package/dist/cjs/mds-price-table-list.cjs.entry.js +6 -5
  290. package/dist/cjs/mds-price-table.cjs.entry.js +4 -3
  291. package/dist/cjs/mds-progress_2.cjs.entry.js +14 -9
  292. package/dist/cjs/mds-push-notification-item.cjs.entry.js +7 -6
  293. package/dist/cjs/mds-push-notification.cjs.entry.js +7 -6
  294. package/dist/cjs/mds-quote.cjs.entry.js +5 -4
  295. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +4 -3
  296. package/dist/cjs/mds-radial-menu.cjs.entry.js +9 -8
  297. package/dist/cjs/mds-separator.cjs.entry.js +5 -4
  298. package/dist/cjs/mds-status-bar.cjs.entry.js +6 -5
  299. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +7 -6
  300. package/dist/cjs/mds-stepper-bar.cjs.entry.js +6 -6
  301. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +7 -6
  302. package/dist/cjs/mds-tab-bar.cjs.entry.js +6 -5
  303. package/dist/cjs/mds-tab_2.cjs.entry.js +43 -19
  304. package/dist/cjs/mds-table-body.cjs.entry.js +5 -4
  305. package/dist/cjs/mds-table-footer.cjs.entry.js +5 -4
  306. package/dist/cjs/mds-table-header-cell.cjs.entry.js +5 -4
  307. package/dist/cjs/mds-table-header.cjs.entry.js +14 -14
  308. package/dist/cjs/mds-table-row.cjs.entry.js +7 -6
  309. package/dist/cjs/mds-table.cjs.entry.js +43 -15
  310. package/dist/cjs/mds-text.cjs.entry.js +5 -4
  311. package/dist/cjs/mds-toast-region.cjs.entry.js +4 -3
  312. package/dist/cjs/mds-toast.cjs.entry.js +6 -5
  313. package/dist/cjs/mds-tooltip.cjs.entry.js +35 -16
  314. package/dist/cjs/mds-tree-item.cjs.entry.js +6 -5
  315. package/dist/cjs/mds-tree.cjs.entry.js +4 -3
  316. package/dist/cjs/mds-url-view.cjs.entry.js +7 -19
  317. package/dist/cjs/mds-usage.cjs.entry.js +7 -6
  318. package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
  319. package/dist/cjs/mds-zero.cjs.entry.js +15 -5
  320. package/dist/cjs/{navigation-5yeOyO6F.js → navigation-Dxea9mKE.js} +7 -0
  321. package/dist/cjs/{preference-CQQ3eb9W.js → preference-DTUJPGHS.js} +21 -1
  322. package/dist/collection/collection-manifest.json +2 -1
  323. package/dist/collection/common/aria.js +12 -1
  324. package/dist/collection/common/floating-controller.js +50 -3
  325. package/dist/collection/common/navigation.js +7 -0
  326. package/dist/collection/common/preference.js +19 -1
  327. package/dist/collection/common/validity/index.js +3 -0
  328. package/dist/collection/components/mds-accordion/AGENTS.md +2 -2
  329. package/dist/collection/components/mds-accordion/documentation.json +5 -4
  330. package/dist/collection/components/mds-accordion/examples.md +3 -3
  331. package/dist/collection/components/mds-accordion/mds-accordion.js +1 -1
  332. package/dist/collection/components/mds-accordion-item/AGENTS.md +5 -3
  333. package/dist/collection/components/mds-accordion-item/documentation.json +60 -5
  334. package/dist/collection/components/mds-accordion-item/examples.md +5 -3
  335. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +9 -0
  336. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +32 -4
  337. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  338. package/dist/collection/components/mds-accordion-timer/documentation.json +3 -2
  339. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +1 -1
  340. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +6 -4
  341. package/dist/collection/components/mds-accordion-timer-item/documentation.json +64 -9
  342. package/dist/collection/components/mds-accordion-timer-item/examples.md +5 -3
  343. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +9 -0
  344. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +32 -4
  345. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  346. package/dist/collection/components/mds-author/documentation.json +3 -2
  347. package/dist/collection/components/mds-author/mds-author.js +1 -1
  348. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  349. package/dist/collection/components/mds-avatar/documentation.json +4 -3
  350. package/dist/collection/components/mds-avatar/mds-avatar.js +1 -1
  351. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  352. package/dist/collection/components/mds-avatar-stack/documentation.json +4 -3
  353. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +1 -1
  354. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  355. package/dist/collection/components/mds-avatar-stack-item/documentation.json +4 -3
  356. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +1 -1
  357. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  358. package/dist/collection/components/mds-badge/documentation.json +3 -2
  359. package/dist/collection/components/mds-badge/mds-badge.css +15 -10
  360. package/dist/collection/components/mds-badge/mds-badge.js +1 -1
  361. package/dist/collection/components/mds-banner/AGENTS.md +4 -1
  362. package/dist/collection/components/mds-banner/documentation.json +45 -6
  363. package/dist/collection/components/mds-banner/examples.md +15 -9
  364. package/dist/collection/components/mds-banner/mds-banner.js +63 -19
  365. package/dist/collection/components/mds-banner/meta/dictionary.js +7 -0
  366. package/dist/collection/components/mds-banner/meta/types.js +1 -0
  367. package/dist/collection/components/mds-banner/mistakes.md +20 -0
  368. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  369. package/dist/collection/components/mds-benchmark-bar/documentation.json +3 -2
  370. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +1 -1
  371. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  372. package/dist/collection/components/mds-bibliography/documentation.json +3 -2
  373. package/dist/collection/components/mds-bibliography/mds-bibliography.js +1 -1
  374. package/dist/collection/components/mds-book/AGENTS.md +1 -1
  375. package/dist/collection/components/mds-book/documentation.json +3 -2
  376. package/dist/collection/components/mds-book/mds-book.js +3 -3
  377. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  378. package/dist/collection/components/mds-breadcrumb/documentation.json +4 -3
  379. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +1 -1
  380. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  381. package/dist/collection/components/mds-breadcrumb-item/documentation.json +4 -3
  382. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
  383. package/dist/collection/components/mds-button/AGENTS.md +9 -4
  384. package/dist/collection/components/mds-button/documentation.json +102 -8
  385. package/dist/collection/components/mds-button/examples.md +73 -0
  386. package/dist/collection/components/mds-button/mds-button.css +122 -14
  387. package/dist/collection/components/mds-button/mds-button.js +139 -13
  388. package/dist/collection/components/mds-button/mistakes.md +35 -0
  389. package/dist/collection/components/mds-button-dropdown/AGENTS.md +9 -2
  390. package/dist/collection/components/mds-button-dropdown/documentation.json +100 -6
  391. package/dist/collection/components/mds-button-dropdown/examples.md +16 -0
  392. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +12 -0
  393. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +69 -3
  394. package/dist/collection/components/mds-button-group/AGENTS.md +3 -2
  395. package/dist/collection/components/mds-button-group/documentation.json +5 -4
  396. package/dist/collection/components/mds-button-group/examples.md +16 -0
  397. package/dist/collection/components/mds-button-group/mds-button-group.css +13 -0
  398. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  399. package/dist/collection/components/mds-calendar/AGENTS.md +8 -4
  400. package/dist/collection/components/mds-calendar/documentation.json +45 -6
  401. package/dist/collection/components/mds-calendar/examples.md +17 -1
  402. package/dist/collection/components/mds-calendar/mds-calendar.css +4 -0
  403. package/dist/collection/components/mds-calendar/mds-calendar.js +206 -300
  404. package/dist/collection/components/mds-calendar/meta/types.js +1 -0
  405. package/dist/collection/components/mds-calendar/mistakes.md +1 -1
  406. package/dist/collection/components/mds-calendar-cell/AGENTS.md +4 -4
  407. package/dist/collection/components/mds-calendar-cell/documentation.json +38 -25
  408. package/dist/collection/components/mds-calendar-cell/examples.md +3 -3
  409. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +121 -84
  410. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  411. package/dist/collection/components/mds-card/AGENTS.md +4 -2
  412. package/dist/collection/components/mds-card/documentation.json +12 -5
  413. package/dist/collection/components/mds-card/examples.md +6 -1
  414. package/dist/collection/components/mds-card/mds-card.css +8 -0
  415. package/dist/collection/components/mds-card/mds-card.js +1 -1
  416. package/dist/collection/components/mds-card/mistakes.md +1 -1
  417. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  418. package/dist/collection/components/mds-card-content/documentation.json +3 -2
  419. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  420. package/dist/collection/components/mds-card-footer/AGENTS.md +2 -2
  421. package/dist/collection/components/mds-card-footer/documentation.json +5 -4
  422. package/dist/collection/components/mds-card-footer/examples.md +1 -1
  423. package/dist/collection/components/mds-card-footer/mds-card-footer.css +9 -0
  424. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  425. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  426. package/dist/collection/components/mds-card-header/documentation.json +3 -2
  427. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  428. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  429. package/dist/collection/components/mds-card-media/documentation.json +3 -2
  430. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  431. package/dist/collection/components/mds-chip/AGENTS.md +5 -2
  432. package/dist/collection/components/mds-chip/documentation.json +38 -6
  433. package/dist/collection/components/mds-chip/examples.md +10 -0
  434. package/dist/collection/components/mds-chip/mds-chip.css +21 -2
  435. package/dist/collection/components/mds-chip/mds-chip.js +25 -1
  436. package/dist/collection/components/mds-chip/mistakes.md +25 -1
  437. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  438. package/dist/collection/components/mds-details/documentation.json +3 -2
  439. package/dist/collection/components/mds-details/mds-details.js +1 -1
  440. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  441. package/dist/collection/components/mds-dropdown/documentation.json +4 -3
  442. package/dist/collection/components/mds-dropdown/mds-dropdown.css +12 -14
  443. package/dist/collection/components/mds-dropdown/mds-dropdown.js +40 -12
  444. package/dist/collection/components/mds-dropdown/mistakes.md +1 -1
  445. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  446. package/dist/collection/components/mds-emoji/documentation.json +3 -2
  447. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  448. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  449. package/dist/collection/components/mds-entity/documentation.json +4 -3
  450. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  451. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  452. package/dist/collection/components/mds-file/documentation.json +3 -2
  453. package/dist/collection/components/mds-file/mds-file.css +3 -2
  454. package/dist/collection/components/mds-file/mds-file.js +1 -1
  455. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  456. package/dist/collection/components/mds-file-preview/documentation.json +4 -3
  457. package/dist/collection/components/mds-file-preview/mds-file-preview.css +3 -2
  458. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  459. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  460. package/dist/collection/components/mds-filter/documentation.json +3 -2
  461. package/dist/collection/components/mds-filter/mds-filter.css +3 -2
  462. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  463. package/dist/collection/components/mds-filter-item/AGENTS.md +2 -2
  464. package/dist/collection/components/mds-filter-item/documentation.json +5 -4
  465. package/dist/collection/components/mds-filter-item/mds-filter-item.css +3 -2
  466. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  467. package/dist/collection/components/mds-filter-item/mistakes.md +16 -0
  468. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  469. package/dist/collection/components/mds-header/documentation.json +4 -3
  470. package/dist/collection/components/mds-header/mds-header.css +3 -2
  471. package/dist/collection/components/mds-header/mds-header.js +1 -1
  472. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  473. package/dist/collection/components/mds-header-bar/documentation.json +4 -3
  474. package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
  475. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  476. package/dist/collection/components/mds-help/documentation.json +3 -2
  477. package/dist/collection/components/mds-help/mds-help.js +1 -1
  478. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  479. package/dist/collection/components/mds-horizontal-scroll/documentation.json +4 -3
  480. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  481. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  482. package/dist/collection/components/mds-hr/documentation.json +3 -2
  483. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  484. package/dist/collection/components/mds-icon/AGENTS.md +2 -2
  485. package/dist/collection/components/mds-icon/documentation.json +5 -4
  486. package/dist/collection/components/mds-icon/examples.md +3 -3
  487. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  488. package/dist/collection/components/mds-icon/services/icons-set.service.js +43 -1
  489. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  490. package/dist/collection/components/mds-img/documentation.json +4 -3
  491. package/dist/collection/components/mds-input/AGENTS.md +22 -18
  492. package/dist/collection/components/mds-input/documentation.json +33 -20
  493. package/dist/collection/components/mds-input/examples.md +20 -3
  494. package/dist/collection/components/mds-input/mds-input.css +131 -16
  495. package/dist/collection/components/mds-input/mds-input.js +236 -37
  496. package/dist/collection/components/mds-input/meta/color.js +19 -0
  497. package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +5 -1
  498. package/dist/collection/components/mds-input/meta/validators.js +10 -0
  499. package/dist/collection/components/mds-input/meta/validity.js +5 -2
  500. package/dist/collection/components/mds-input/mistakes.md +15 -1
  501. package/dist/collection/components/mds-input-date/AGENTS.md +7 -7
  502. package/dist/collection/components/mds-input-date/documentation.json +8 -25
  503. package/dist/collection/components/mds-input-date/examples.md +1 -1
  504. package/dist/collection/components/mds-input-date/mds-input-date.css +20 -17
  505. package/dist/collection/components/mds-input-date/mds-input-date.js +21 -8
  506. package/dist/collection/components/mds-input-date-range/AGENTS.md +10 -7
  507. package/dist/collection/components/mds-input-date-range/documentation.json +17 -9
  508. package/dist/collection/components/mds-input-date-range/examples.md +12 -1
  509. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +18 -2
  510. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +90 -27
  511. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  512. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +4 -3
  513. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  514. package/dist/collection/components/mds-input-field/documentation.json +3 -2
  515. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  516. package/dist/collection/components/mds-input-otp/documentation.json +4 -3
  517. package/dist/collection/components/mds-input-range/AGENTS.md +27 -8
  518. package/dist/collection/components/mds-input-range/documentation.json +31 -9
  519. package/dist/collection/components/mds-input-range/examples.md +41 -0
  520. package/dist/collection/components/mds-input-range/mds-input-range.css +71 -7
  521. package/dist/collection/components/mds-input-range/mds-input-range.js +440 -29
  522. package/dist/collection/components/mds-input-range/meta/event-detail.js +1 -0
  523. package/dist/collection/components/mds-input-range/mistakes.md +37 -0
  524. package/dist/collection/components/mds-input-range-value/AGENTS.md +43 -0
  525. package/dist/collection/components/mds-input-range-value/documentation.json +77 -0
  526. package/dist/collection/components/mds-input-range-value/examples.md +66 -0
  527. package/dist/collection/components/mds-input-range-value/mds-input-range-value.css +6 -0
  528. package/dist/collection/components/mds-input-range-value/mds-input-range-value.js +50 -0
  529. package/dist/collection/components/mds-input-range-value/mistakes.md +56 -0
  530. package/dist/collection/components/mds-input-select/AGENTS.md +2 -2
  531. package/dist/collection/components/mds-input-select/documentation.json +4 -3
  532. package/dist/collection/components/mds-input-select/mds-input-select.css +24 -30
  533. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  534. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  535. package/dist/collection/components/mds-input-switch/documentation.json +3 -2
  536. package/dist/collection/components/mds-input-switch/mds-input-switch.css +3 -2
  537. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  538. package/dist/collection/components/mds-input-tip/AGENTS.md +7 -6
  539. package/dist/collection/components/mds-input-tip/documentation.json +17 -10
  540. package/dist/collection/components/mds-input-tip/examples.md +2 -2
  541. package/dist/collection/components/mds-input-tip/mds-input-tip.css +15 -17
  542. package/dist/collection/components/mds-input-tip/mds-input-tip.js +9 -6
  543. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  544. package/dist/collection/components/mds-input-tip-item/documentation.json +3 -2
  545. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  546. package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +1 -1
  547. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  548. package/dist/collection/components/mds-input-upload/documentation.json +4 -3
  549. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  550. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  551. package/dist/collection/components/mds-keyboard/documentation.json +4 -3
  552. package/dist/collection/components/mds-keyboard/mds-keyboard.css +3 -2
  553. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  554. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  555. package/dist/collection/components/mds-keyboard-key/documentation.json +3 -2
  556. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  557. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  558. package/dist/collection/components/mds-kpi/documentation.json +3 -2
  559. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  560. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  561. package/dist/collection/components/mds-kpi-item/documentation.json +3 -2
  562. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +9 -6
  563. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  564. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  565. package/dist/collection/components/mds-label/documentation.json +4 -3
  566. package/dist/collection/components/mds-label/mds-label.css +3 -2
  567. package/dist/collection/components/mds-label/mds-label.js +1 -1
  568. package/dist/collection/components/mds-link/AGENTS.md +1 -1
  569. package/dist/collection/components/mds-link/documentation.json +3 -2
  570. package/dist/collection/components/mds-link/mds-link.js +3 -3
  571. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  572. package/dist/collection/components/mds-list/documentation.json +3 -2
  573. package/dist/collection/components/mds-list/mds-list.js +1 -1
  574. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  575. package/dist/collection/components/mds-list-item/documentation.json +3 -2
  576. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  577. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  578. package/dist/collection/components/mds-mention/documentation.json +4 -3
  579. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  580. package/dist/collection/components/mds-modal/AGENTS.md +4 -3
  581. package/dist/collection/components/mds-modal/documentation.json +7 -6
  582. package/dist/collection/components/mds-modal/examples.md +2 -0
  583. package/dist/collection/components/mds-modal/mds-modal.css +3 -2
  584. package/dist/collection/components/mds-modal/mds-modal.js +32 -13
  585. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  586. package/dist/collection/components/mds-note/documentation.json +4 -3
  587. package/dist/collection/components/mds-note/mds-note.css +3 -2
  588. package/dist/collection/components/mds-note/mds-note.js +1 -1
  589. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  590. package/dist/collection/components/mds-notification/documentation.json +3 -2
  591. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  592. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  593. package/dist/collection/components/mds-paginator/documentation.json +3 -2
  594. package/dist/collection/components/mds-paginator/mds-paginator.css +3 -2
  595. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  596. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  597. package/dist/collection/components/mds-paginator-item/documentation.json +3 -2
  598. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  599. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  600. package/dist/collection/components/mds-policy-ai/documentation.json +4 -3
  601. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  602. package/dist/collection/components/mds-pref/AGENTS.md +6 -3
  603. package/dist/collection/components/mds-pref/documentation.json +32 -10
  604. package/dist/collection/components/mds-pref/examples.md +15 -1
  605. package/dist/collection/components/mds-pref/mds-pref.js +26 -30
  606. package/dist/collection/components/mds-pref/mistakes.md +1 -1
  607. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  608. package/dist/collection/components/mds-pref-animation/documentation.json +4 -3
  609. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  610. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  611. package/dist/collection/components/mds-pref-consumption/documentation.json +4 -3
  612. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  613. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  614. package/dist/collection/components/mds-pref-contrast/documentation.json +4 -3
  615. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  616. package/dist/collection/components/mds-pref-language/AGENTS.md +2 -2
  617. package/dist/collection/components/mds-pref-language/documentation.json +5 -4
  618. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  619. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  620. package/dist/collection/components/mds-pref-language-item/documentation.json +4 -3
  621. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  622. package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -2
  623. package/dist/collection/components/mds-pref-mode/documentation.json +7 -6
  624. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -1
  625. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +20 -11
  626. package/dist/collection/components/mds-pref-mode/mistakes.md +1 -1
  627. package/dist/collection/components/mds-pref-theme/AGENTS.md +6 -5
  628. package/dist/collection/components/mds-pref-theme/documentation.json +9 -8
  629. package/dist/collection/components/mds-pref-theme/examples.md +1 -1
  630. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +32 -9
  631. package/dist/collection/components/mds-pref-theme/mistakes.md +1 -1
  632. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +2 -2
  633. package/dist/collection/components/mds-pref-theme-item/documentation.json +5 -4
  634. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  635. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  636. package/dist/collection/components/mds-price-table/documentation.json +3 -2
  637. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  638. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  639. package/dist/collection/components/mds-price-table-features/documentation.json +3 -2
  640. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  641. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  642. package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -2
  643. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +3 -2
  644. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  645. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  646. package/dist/collection/components/mds-price-table-features-row/documentation.json +3 -2
  647. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +3 -2
  648. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  649. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  650. package/dist/collection/components/mds-price-table-header/documentation.json +3 -2
  651. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  652. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  653. package/dist/collection/components/mds-price-table-list/documentation.json +3 -2
  654. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +3 -2
  655. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  656. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  657. package/dist/collection/components/mds-price-table-list-item/documentation.json +3 -2
  658. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  659. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  660. package/dist/collection/components/mds-progress/documentation.json +3 -2
  661. package/dist/collection/components/mds-progress/mds-progress.css +3 -2
  662. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  663. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  664. package/dist/collection/components/mds-push-notification/documentation.json +4 -3
  665. package/dist/collection/components/mds-push-notification/mds-push-notification.css +3 -2
  666. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  667. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  668. package/dist/collection/components/mds-push-notification-item/documentation.json +4 -3
  669. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  670. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  671. package/dist/collection/components/mds-quote/documentation.json +3 -2
  672. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  673. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  674. package/dist/collection/components/mds-radial-menu/documentation.json +4 -3
  675. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  676. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  677. package/dist/collection/components/mds-radial-menu-item/documentation.json +4 -3
  678. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  679. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  680. package/dist/collection/components/mds-radial-progress/documentation.json +3 -2
  681. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +4 -2
  682. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +5 -2
  683. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  684. package/dist/collection/components/mds-separator/documentation.json +3 -2
  685. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  686. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  687. package/dist/collection/components/mds-spinner/documentation.json +3 -2
  688. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  689. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  690. package/dist/collection/components/mds-status-bar/documentation.json +4 -3
  691. package/dist/collection/components/mds-status-bar/mds-status-bar.css +3 -2
  692. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  693. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  694. package/dist/collection/components/mds-stepper-bar/documentation.json +3 -2
  695. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +3 -4
  696. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +2 -2
  697. package/dist/collection/components/mds-stepper-bar-item/documentation.json +5 -4
  698. package/dist/collection/components/mds-stepper-bar-item/examples.md +1 -1
  699. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +7 -2
  700. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  701. package/dist/collection/components/mds-tab/AGENTS.md +3 -3
  702. package/dist/collection/components/mds-tab/documentation.json +8 -3
  703. package/dist/collection/components/mds-tab/mds-tab.css +3 -2
  704. package/dist/collection/components/mds-tab/mds-tab.js +34 -12
  705. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  706. package/dist/collection/components/mds-tab-bar/documentation.json +3 -2
  707. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +3 -2
  708. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  709. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  710. package/dist/collection/components/mds-tab-bar-item/documentation.json +3 -2
  711. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +3 -2
  712. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  713. package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
  714. package/dist/collection/components/mds-tab-item/documentation.json +8 -3
  715. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  716. package/dist/collection/components/mds-table/AGENTS.md +4 -4
  717. package/dist/collection/components/mds-table/documentation.json +10 -9
  718. package/dist/collection/components/mds-table/examples.md +21 -0
  719. package/dist/collection/components/mds-table/mds-table.css +6 -4
  720. package/dist/collection/components/mds-table/mds-table.js +42 -15
  721. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  722. package/dist/collection/components/mds-table-body/documentation.json +3 -2
  723. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  724. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  725. package/dist/collection/components/mds-table-cell/documentation.json +3 -2
  726. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  727. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  728. package/dist/collection/components/mds-table-footer/documentation.json +3 -2
  729. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  730. package/dist/collection/components/mds-table-header/AGENTS.md +3 -3
  731. package/dist/collection/components/mds-table-header/documentation.json +6 -9
  732. package/dist/collection/components/mds-table-header/mds-table-header.js +9 -14
  733. package/dist/collection/components/mds-table-header/mistakes.md +1 -1
  734. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  735. package/dist/collection/components/mds-table-header-cell/documentation.json +4 -3
  736. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  737. package/dist/collection/components/mds-table-row/AGENTS.md +2 -2
  738. package/dist/collection/components/mds-table-row/documentation.json +4 -3
  739. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  740. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  741. package/dist/collection/components/mds-text/documentation.json +3 -2
  742. package/dist/collection/components/mds-text/mds-text.js +1 -1
  743. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  744. package/dist/collection/components/mds-toast/documentation.json +4 -3
  745. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  746. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  747. package/dist/collection/components/mds-toast-region/documentation.json +3 -2
  748. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  749. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  750. package/dist/collection/components/mds-tooltip/documentation.json +3 -2
  751. package/dist/collection/components/mds-tooltip/mds-tooltip.css +4 -2
  752. package/dist/collection/components/mds-tooltip/mds-tooltip.js +27 -9
  753. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  754. package/dist/collection/components/mds-tree/documentation.json +3 -2
  755. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  756. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  757. package/dist/collection/components/mds-tree-item/documentation.json +4 -3
  758. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  759. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  760. package/dist/collection/components/mds-url-view/documentation.json +4 -3
  761. package/dist/collection/components/mds-url-view/mds-url-view.css +3 -2
  762. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -14
  763. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  764. package/dist/collection/components/mds-usage/documentation.json +3 -2
  765. package/dist/collection/components/mds-usage/mds-usage.css +3 -2
  766. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  767. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  768. package/dist/collection/components/mds-video-wall/documentation.json +3 -2
  769. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  770. package/dist/collection/components/mds-zero/AGENTS.md +7 -6
  771. package/dist/collection/components/mds-zero/documentation.json +6 -5
  772. package/dist/collection/components/mds-zero/examples.md +37 -19
  773. package/dist/collection/components/mds-zero/mds-zero.css +22 -23
  774. package/dist/collection/components/mds-zero/mds-zero.js +17 -1
  775. package/dist/collection/components/mds-zero/mistakes.md +46 -8
  776. package/dist/collection/fixtures/dark-mode.js +16 -0
  777. package/dist/collection/index.js +2 -20
  778. package/dist/collection/type/button.js +3 -0
  779. package/dist/collection/type/file-types.js +1 -1
  780. package/dist/collection/type/input.js +1 -0
  781. package/dist/components/index.d.ts +2 -0
  782. package/dist/components/index.js +1 -1
  783. package/dist/components/mds-accordion-item.js +1 -1
  784. package/dist/components/mds-accordion-timer-item.js +1 -1
  785. package/dist/components/mds-accordion-timer.js +1 -1
  786. package/dist/components/mds-accordion.js +1 -1
  787. package/dist/components/mds-author.js +1 -1
  788. package/dist/components/mds-avatar-stack-item.js +1 -1
  789. package/dist/components/mds-avatar-stack.js +1 -1
  790. package/dist/components/mds-avatar.js +1 -1
  791. package/dist/components/mds-badge.js +1 -1
  792. package/dist/components/mds-banner.js +1 -1
  793. package/dist/components/mds-benchmark-bar.js +1 -1
  794. package/dist/components/mds-bibliography.js +1 -1
  795. package/dist/components/mds-book.js +1 -1
  796. package/dist/components/mds-breadcrumb-item.js +1 -1
  797. package/dist/components/mds-breadcrumb.js +1 -1
  798. package/dist/components/mds-button-dropdown.js +1 -1
  799. package/dist/components/mds-button-group.js +1 -1
  800. package/dist/components/mds-button.js +1 -1
  801. package/dist/components/mds-calendar-cell.js +1 -1
  802. package/dist/components/mds-calendar.js +1 -1
  803. package/dist/components/mds-card-content.js +1 -1
  804. package/dist/components/mds-card-footer.js +1 -1
  805. package/dist/components/mds-card-header.js +1 -1
  806. package/dist/components/mds-card-media.js +1 -1
  807. package/dist/components/mds-card.js +1 -1
  808. package/dist/components/mds-chip.js +1 -1
  809. package/dist/components/mds-details.js +1 -1
  810. package/dist/components/mds-dropdown.js +1 -1
  811. package/dist/components/mds-emoji.js +3 -3
  812. package/dist/components/mds-entity.js +1 -1
  813. package/dist/components/mds-file-preview.js +1 -1
  814. package/dist/components/mds-file.js +1 -1
  815. package/dist/components/mds-filter-item.js +1 -1
  816. package/dist/components/mds-filter.js +1 -1
  817. package/dist/components/mds-header-bar.js +1 -1
  818. package/dist/components/mds-header.js +1 -1
  819. package/dist/components/mds-help.js +1 -1
  820. package/dist/components/mds-horizontal-scroll.js +1 -1
  821. package/dist/components/mds-hr.js +1 -1
  822. package/dist/components/mds-icon.js +1 -1
  823. package/dist/components/mds-img.js +1 -1
  824. package/dist/components/mds-input-date-range-preselection.js +1 -1
  825. package/dist/components/mds-input-date-range.js +1 -1
  826. package/dist/components/mds-input-date.js +1 -1
  827. package/dist/components/mds-input-field.js +1 -1
  828. package/dist/components/mds-input-otp.js +1 -1
  829. package/dist/components/mds-input-range-value.d.ts +11 -0
  830. package/dist/components/mds-input-range-value.js +1 -0
  831. package/dist/components/mds-input-range.js +1 -1
  832. package/dist/components/mds-input-select.js +1 -1
  833. package/dist/components/mds-input-switch.js +1 -1
  834. package/dist/components/mds-input-tip-item.js +1 -1
  835. package/dist/components/mds-input-tip.js +1 -1
  836. package/dist/components/mds-input-upload.js +1 -1
  837. package/dist/components/mds-input.js +1 -1
  838. package/dist/components/mds-keyboard-key.js +1 -1
  839. package/dist/components/mds-keyboard.js +1 -1
  840. package/dist/components/mds-kpi-item.js +1 -1
  841. package/dist/components/mds-kpi.js +1 -1
  842. package/dist/components/mds-label.js +1 -1
  843. package/dist/components/mds-link.js +1 -1
  844. package/dist/components/mds-list-item.js +1 -1
  845. package/dist/components/mds-list.js +1 -1
  846. package/dist/components/mds-mention.js +1 -1
  847. package/dist/components/mds-modal.js +1 -1
  848. package/dist/components/mds-note.js +1 -1
  849. package/dist/components/mds-notification.js +1 -1
  850. package/dist/components/mds-paginator-item.js +1 -1
  851. package/dist/components/mds-paginator.js +1 -1
  852. package/dist/components/mds-policy-ai.js +1 -1
  853. package/dist/components/mds-pref-animation.js +1 -1
  854. package/dist/components/mds-pref-consumption.js +1 -1
  855. package/dist/components/mds-pref-contrast.js +1 -1
  856. package/dist/components/mds-pref-language-item.js +1 -1
  857. package/dist/components/mds-pref-language.js +1 -1
  858. package/dist/components/mds-pref-mode.js +1 -1
  859. package/dist/components/mds-pref-theme-item.js +1 -1
  860. package/dist/components/mds-pref-theme.js +1 -1
  861. package/dist/components/mds-pref.js +1 -1
  862. package/dist/components/mds-price-table-features-cell.js +1 -1
  863. package/dist/components/mds-price-table-features-row.js +1 -1
  864. package/dist/components/mds-price-table-features.js +1 -1
  865. package/dist/components/mds-price-table-header.js +1 -1
  866. package/dist/components/mds-price-table-list-item.js +1 -1
  867. package/dist/components/mds-price-table-list.js +1 -1
  868. package/dist/components/mds-price-table.js +1 -1
  869. package/dist/components/mds-progress.js +1 -1
  870. package/dist/components/mds-push-notification-item.js +1 -1
  871. package/dist/components/mds-push-notification.js +1 -1
  872. package/dist/components/mds-quote.js +1 -1
  873. package/dist/components/mds-radial-menu-item.js +1 -1
  874. package/dist/components/mds-radial-menu.js +1 -1
  875. package/dist/components/mds-radial-progress.js +1 -1
  876. package/dist/components/mds-separator.js +1 -1
  877. package/dist/components/mds-spinner.js +1 -1
  878. package/dist/components/mds-status-bar.js +1 -1
  879. package/dist/components/mds-stepper-bar-item.js +1 -1
  880. package/dist/components/mds-stepper-bar.js +1 -1
  881. package/dist/components/mds-tab-bar-item.js +1 -1
  882. package/dist/components/mds-tab-bar.js +1 -1
  883. package/dist/components/mds-tab-item.js +1 -1
  884. package/dist/components/mds-tab.js +1 -1
  885. package/dist/components/mds-table-body.js +1 -1
  886. package/dist/components/mds-table-cell.js +1 -1
  887. package/dist/components/mds-table-footer.js +1 -1
  888. package/dist/components/mds-table-header-cell.js +1 -1
  889. package/dist/components/mds-table-header.js +1 -1
  890. package/dist/components/mds-table-row.js +1 -1
  891. package/dist/components/mds-table.js +1 -1
  892. package/dist/components/mds-text.js +1 -1
  893. package/dist/components/mds-toast-region.js +1 -1
  894. package/dist/components/mds-toast.js +1 -1
  895. package/dist/components/mds-tooltip.js +1 -1
  896. package/dist/components/mds-tree-item.js +1 -1
  897. package/dist/components/mds-tree.js +1 -1
  898. package/dist/components/mds-url-view.js +1 -1
  899. package/dist/components/mds-usage.js +1 -1
  900. package/dist/components/mds-video-wall.js +1 -1
  901. package/dist/components/mds-zero.js +1 -1
  902. package/dist/components/{p-CVRN4LDc.js → p-AWCYh8Xe.js} +1 -1
  903. package/dist/components/{p-CKnbQQUb.js → p-B-GgEAg7.js} +1 -1
  904. package/dist/components/p-B3npFzUR.js +1 -0
  905. package/dist/components/p-BD9VWE7b.js +1 -0
  906. package/dist/components/{p-DvDB_L_5.js → p-BFZN4zJ9.js} +1 -1
  907. package/dist/components/p-BG1fjwnd.js +1 -0
  908. package/dist/components/{p-ikNX7XDH.js → p-BNl6YWNN.js} +1 -1
  909. package/dist/components/p-Bg11_7lt.js +1 -0
  910. package/dist/components/p-BiJ4xa4V.js +1 -0
  911. package/dist/components/{p-CZjwSwe5.js → p-BmlDGlcB.js} +2 -2
  912. package/dist/components/p-C0m6B_kt.js +1 -0
  913. package/dist/components/{p-D_RIY063.js → p-C589Hkfn.js} +1 -1
  914. package/dist/{magma-components/p-BaFfIZGB.js → components/p-C7p9e0P3.js} +1 -1
  915. package/dist/components/{p-DdzJfsw7.js → p-C878c9Nu.js} +1 -1
  916. package/dist/components/{p-Br6-kva-.js → p-CDcB9Zdz.js} +1 -1
  917. package/dist/components/{p-BFDRt7-n.js → p-CS8s4gRV.js} +1 -1
  918. package/dist/components/p-CSw6DbKp.js +1 -0
  919. package/dist/components/p-CUT9aFzz.js +1 -0
  920. package/dist/components/p-CfCw1XZP.js +1 -0
  921. package/dist/components/{p-DhpcFZrc.js → p-Cjy1i94z.js} +1 -1
  922. package/dist/components/{p-gLo3t_qO.js → p-Cs80Zm2b.js} +2 -2
  923. package/dist/components/{p-BaynxVRZ.js → p-Cs8RIbsQ.js} +1 -1
  924. package/dist/components/p-CtEHhdv4.js +1 -0
  925. package/dist/components/{p-DOdUioZq.js → p-Cty6fegI.js} +1 -1
  926. package/dist/components/{p-COkn4Vtq.js → p-D7C-gjL6.js} +1 -1
  927. package/dist/components/{p-BiW6luA5.js → p-DKYN6Ikh.js} +1 -1
  928. package/dist/components/p-DvccsLwr.js +1 -0
  929. package/dist/components/p-DwKxtKwS.js +1 -0
  930. package/dist/components/{p-C_Pc94vn.js → p-DxNrlomi.js} +1 -1
  931. package/dist/components/p-G8GFHw3L.js +1 -0
  932. package/dist/components/p-MjWyZlga.js +1 -0
  933. package/dist/components/p-VoGfNJRY.js +1 -0
  934. package/dist/components/{p-DqdlT4UG.js → p-WFNxKo1V.js} +1 -1
  935. package/dist/components/{p-D8CloC8I.js → p-aZlZ1XB9.js} +1 -1
  936. package/dist/components/p-g2_CekDc.js +3 -0
  937. package/dist/components/p-kS9VRIWa.js +1 -0
  938. package/dist/components/{p-C7rDjrH4.js → p-oHBGZ2Av.js} +1 -1
  939. package/dist/documentation.json +788 -229
  940. package/dist/esm/{aria-Cvhn9asj.js → aria-DwKxtKwS.js} +12 -1
  941. package/dist/esm/{floating-controller-BVlbYYkf.js → floating-controller-DlFrvBTG.js} +52 -5
  942. package/dist/esm/{floating-ui.dom-BaFfIZGB.js → floating-ui.dom-C7p9e0P3.js} +1 -1
  943. package/dist/esm/{index-CvLLN-QH.js → index-CPibDZjX.js} +87 -44
  944. package/dist/esm/{index-BJVvHlvf.js → index-DWniH_Ge.js} +12 -1
  945. package/dist/esm/index.js +45 -3
  946. package/dist/esm/loader.js +3 -3
  947. package/dist/esm/{locale-B6cOkl4I.js → locale-B7Hw4niB.js} +1 -1
  948. package/dist/esm/magma-components.js +4 -4
  949. package/dist/esm/mds-accordion-item.entry.js +10 -7
  950. package/dist/esm/mds-accordion-timer-item.entry.js +10 -7
  951. package/dist/esm/mds-accordion-timer.entry.js +4 -3
  952. package/dist/esm/mds-accordion.entry.js +5 -4
  953. package/dist/esm/mds-author.entry.js +4 -3
  954. package/dist/esm/mds-avatar-stack-item.entry.js +4 -3
  955. package/dist/esm/mds-avatar-stack.entry.js +4 -3
  956. package/dist/esm/mds-avatar.entry.js +5 -4
  957. package/dist/esm/mds-badge.entry.js +6 -5
  958. package/dist/esm/mds-banner_3.entry.js +56 -27
  959. package/dist/esm/mds-benchmark-bar.entry.js +4 -3
  960. package/dist/esm/mds-bibliography.entry.js +4 -3
  961. package/dist/esm/mds-book.entry.js +8 -7
  962. package/dist/esm/mds-breadcrumb-item.entry.js +4 -3
  963. package/dist/esm/mds-breadcrumb.entry.js +6 -5
  964. package/dist/esm/mds-button-dropdown.entry.js +10 -7
  965. package/dist/esm/mds-button-group.entry.js +5 -4
  966. package/dist/esm/mds-button_3.entry.js +86 -21
  967. package/dist/esm/mds-calendar_2.entry.js +190 -305
  968. package/dist/esm/mds-card-content.entry.js +4 -3
  969. package/dist/esm/mds-card-footer.entry.js +5 -4
  970. package/dist/esm/mds-card-header.entry.js +4 -3
  971. package/dist/esm/mds-card-media.entry.js +4 -3
  972. package/dist/esm/mds-card.entry.js +6 -5
  973. package/dist/esm/mds-details.entry.js +5 -4
  974. package/dist/esm/mds-dropdown.entry.js +48 -19
  975. package/dist/esm/mds-emoji.entry.js +5 -4
  976. package/dist/esm/mds-entity.entry.js +5 -4
  977. package/dist/esm/mds-file-preview.entry.js +8 -7
  978. package/dist/esm/mds-file.entry.js +8 -7
  979. package/dist/esm/mds-filter-item.entry.js +8 -7
  980. package/dist/esm/mds-filter.entry.js +7 -6
  981. package/dist/esm/mds-header-bar.entry.js +6 -5
  982. package/dist/esm/mds-header.entry.js +6 -5
  983. package/dist/esm/mds-horizontal-scroll.entry.js +6 -5
  984. package/dist/esm/mds-hr.entry.js +5 -4
  985. package/dist/esm/mds-img.entry.js +5 -4
  986. package/dist/esm/mds-input-date-range-preselection.entry.js +3 -2
  987. package/dist/esm/mds-input-date-range.entry.js +127 -32
  988. package/dist/esm/mds-input-date.entry.js +26 -12
  989. package/dist/esm/mds-input-field.entry.js +3 -2
  990. package/dist/esm/mds-input-otp.entry.js +5 -4
  991. package/dist/esm/mds-input-range-value.entry.js +16 -0
  992. package/dist/esm/mds-input-range.entry.js +410 -29
  993. package/dist/esm/mds-input-select.entry.js +9 -8
  994. package/dist/esm/mds-input-switch_2.entry.js +11 -9
  995. package/dist/esm/mds-input-tip_2.entry.js +17 -12
  996. package/dist/esm/mds-input-upload.entry.js +10 -9
  997. package/dist/esm/mds-input.entry.js +293 -36
  998. package/dist/esm/mds-keyboard-key.entry.js +6 -5
  999. package/dist/esm/mds-keyboard.entry.js +7 -6
  1000. package/dist/esm/mds-kpi-item.entry.js +6 -5
  1001. package/dist/esm/mds-kpi.entry.js +4 -3
  1002. package/dist/esm/mds-label.entry.js +7 -6
  1003. package/dist/esm/mds-link.entry.js +9 -8
  1004. package/dist/esm/mds-list-item.entry.js +4 -3
  1005. package/dist/esm/mds-list.entry.js +4 -3
  1006. package/dist/esm/mds-mention.entry.js +6 -5
  1007. package/dist/esm/mds-modal.entry.js +37 -17
  1008. package/dist/esm/mds-note.entry.js +7 -6
  1009. package/dist/esm/mds-notification.entry.js +7 -6
  1010. package/dist/esm/mds-paginator-item.entry.js +5 -4
  1011. package/dist/esm/mds-paginator.entry.js +7 -6
  1012. package/dist/esm/mds-policy-ai.entry.js +6 -5
  1013. package/dist/esm/mds-pref-animation.entry.js +6 -5
  1014. package/dist/esm/mds-pref-consumption.entry.js +6 -5
  1015. package/dist/esm/mds-pref-contrast.entry.js +6 -5
  1016. package/dist/esm/mds-pref-language-item.entry.js +6 -5
  1017. package/dist/esm/mds-pref-language.entry.js +6 -5
  1018. package/dist/esm/mds-pref-mode.entry.js +25 -15
  1019. package/dist/esm/mds-pref-theme-item.entry.js +4 -3
  1020. package/dist/esm/mds-pref-theme.entry.js +34 -10
  1021. package/dist/esm/mds-pref.entry.js +12 -28
  1022. package/dist/esm/mds-price-table-features-cell.entry.js +6 -5
  1023. package/dist/esm/mds-price-table-features-row.entry.js +6 -5
  1024. package/dist/esm/mds-price-table-features.entry.js +5 -4
  1025. package/dist/esm/mds-price-table-header.entry.js +4 -3
  1026. package/dist/esm/mds-price-table-list-item.entry.js +4 -3
  1027. package/dist/esm/mds-price-table-list.entry.js +6 -5
  1028. package/dist/esm/mds-price-table.entry.js +4 -3
  1029. package/dist/esm/mds-progress_2.entry.js +14 -9
  1030. package/dist/esm/mds-push-notification-item.entry.js +7 -6
  1031. package/dist/esm/mds-push-notification.entry.js +7 -6
  1032. package/dist/esm/mds-quote.entry.js +5 -4
  1033. package/dist/esm/mds-radial-menu-item.entry.js +4 -3
  1034. package/dist/esm/mds-radial-menu.entry.js +9 -8
  1035. package/dist/esm/mds-separator.entry.js +5 -4
  1036. package/dist/esm/mds-status-bar.entry.js +6 -5
  1037. package/dist/esm/mds-stepper-bar-item.entry.js +7 -6
  1038. package/dist/esm/mds-stepper-bar.entry.js +6 -6
  1039. package/dist/esm/mds-tab-bar-item.entry.js +7 -6
  1040. package/dist/esm/mds-tab-bar.entry.js +6 -5
  1041. package/dist/esm/mds-tab_2.entry.js +43 -19
  1042. package/dist/esm/mds-table-body.entry.js +5 -4
  1043. package/dist/esm/mds-table-footer.entry.js +5 -4
  1044. package/dist/esm/mds-table-header-cell.entry.js +5 -4
  1045. package/dist/esm/mds-table-header.entry.js +14 -14
  1046. package/dist/esm/mds-table-row.entry.js +7 -6
  1047. package/dist/esm/mds-table.entry.js +43 -15
  1048. package/dist/esm/mds-text.entry.js +5 -4
  1049. package/dist/esm/mds-toast-region.entry.js +4 -3
  1050. package/dist/esm/mds-toast.entry.js +6 -5
  1051. package/dist/esm/mds-tooltip.entry.js +35 -16
  1052. package/dist/esm/mds-tree-item.entry.js +6 -5
  1053. package/dist/esm/mds-tree.entry.js +4 -3
  1054. package/dist/esm/mds-url-view.entry.js +7 -19
  1055. package/dist/esm/mds-usage.entry.js +7 -6
  1056. package/dist/esm/mds-video-wall.entry.js +5 -4
  1057. package/dist/esm/mds-zero.entry.js +15 -5
  1058. package/dist/esm/{navigation-Bz1eiKqd.js → navigation-To9IeLHs.js} +7 -0
  1059. package/dist/esm/{preference-C5XjgGCb.js → preference-CBMLGSf7.js} +20 -2
  1060. package/dist/esm-es5/aria-DwKxtKwS.js +12 -0
  1061. package/dist/esm-es5/{floating-controller-BVlbYYkf.js → floating-controller-DlFrvBTG.js} +32 -12
  1062. package/dist/esm-es5/{floating-ui.dom-BaFfIZGB.js → floating-ui.dom-C7p9e0P3.js} +18 -18
  1063. package/dist/esm-es5/{index-CvLLN-QH.js → index-CPibDZjX.js} +30 -27
  1064. package/dist/esm-es5/index-DWniH_Ge.js +13 -0
  1065. package/dist/esm-es5/index.js +47 -5
  1066. package/dist/esm-es5/loader.js +1 -1
  1067. package/dist/esm-es5/{locale-B6cOkl4I.js → locale-B7Hw4niB.js} +18 -18
  1068. package/dist/esm-es5/magma-components.js +3 -3
  1069. package/dist/esm-es5/mds-accordion-item.entry.js +6 -4
  1070. package/dist/esm-es5/mds-accordion-timer-item.entry.js +6 -4
  1071. package/dist/esm-es5/mds-accordion-timer.entry.js +4 -4
  1072. package/dist/esm-es5/mds-accordion.entry.js +4 -4
  1073. package/dist/esm-es5/mds-author.entry.js +1 -1
  1074. package/dist/esm-es5/mds-avatar-stack-item.entry.js +2 -2
  1075. package/dist/esm-es5/mds-avatar-stack.entry.js +2 -2
  1076. package/dist/esm-es5/mds-avatar.entry.js +7 -7
  1077. package/dist/esm-es5/mds-badge.entry.js +2 -2
  1078. package/dist/esm-es5/mds-banner_3.entry.js +25 -6
  1079. package/dist/esm-es5/mds-benchmark-bar.entry.js +3 -3
  1080. package/dist/esm-es5/mds-bibliography.entry.js +6 -6
  1081. package/dist/esm-es5/mds-book.entry.js +22 -22
  1082. package/dist/esm-es5/mds-breadcrumb-item.entry.js +2 -2
  1083. package/dist/esm-es5/mds-breadcrumb.entry.js +4 -4
  1084. package/dist/esm-es5/mds-button-dropdown.entry.js +6 -4
  1085. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  1086. package/dist/esm-es5/mds-button_3.entry.js +45 -23
  1087. package/dist/esm-es5/mds-calendar_2.entry.js +56 -14
  1088. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  1089. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  1090. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  1091. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  1092. package/dist/esm-es5/mds-card.entry.js +3 -3
  1093. package/dist/esm-es5/mds-details.entry.js +3 -3
  1094. package/dist/esm-es5/mds-dropdown.entry.js +30 -15
  1095. package/dist/esm-es5/mds-emoji.entry.js +44 -44
  1096. package/dist/esm-es5/mds-entity.entry.js +1 -1
  1097. package/dist/esm-es5/mds-file-preview.entry.js +8 -8
  1098. package/dist/esm-es5/mds-file.entry.js +7 -7
  1099. package/dist/esm-es5/mds-filter-item.entry.js +4 -4
  1100. package/dist/esm-es5/mds-filter.entry.js +7 -7
  1101. package/dist/esm-es5/mds-header-bar.entry.js +3 -3
  1102. package/dist/esm-es5/mds-header.entry.js +8 -8
  1103. package/dist/esm-es5/mds-horizontal-scroll.entry.js +13 -13
  1104. package/dist/esm-es5/mds-hr.entry.js +1 -1
  1105. package/dist/esm-es5/mds-img.entry.js +4 -4
  1106. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +2 -2
  1107. package/dist/esm-es5/mds-input-date-range.entry.js +48 -15
  1108. package/dist/esm-es5/mds-input-date.entry.js +19 -10
  1109. package/dist/esm-es5/mds-input-field.entry.js +3 -3
  1110. package/dist/esm-es5/mds-input-otp.entry.js +5 -5
  1111. package/dist/esm-es5/mds-input-range-value.entry.js +1 -0
  1112. package/dist/esm-es5/mds-input-range.entry.js +93 -12
  1113. package/dist/esm-es5/mds-input-select.entry.js +8 -8
  1114. package/dist/esm-es5/mds-input-switch_2.entry.js +5 -5
  1115. package/dist/esm-es5/mds-input-tip_2.entry.js +9 -6
  1116. package/dist/esm-es5/mds-input-upload.entry.js +8 -8
  1117. package/dist/esm-es5/mds-input.entry.js +157 -52
  1118. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  1119. package/dist/esm-es5/mds-keyboard.entry.js +7 -7
  1120. package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
  1121. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  1122. package/dist/esm-es5/mds-label.entry.js +2 -2
  1123. package/dist/esm-es5/mds-link.entry.js +7 -7
  1124. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  1125. package/dist/esm-es5/mds-list.entry.js +1 -1
  1126. package/dist/esm-es5/mds-mention.entry.js +2 -2
  1127. package/dist/esm-es5/mds-modal.entry.js +28 -16
  1128. package/dist/esm-es5/mds-note.entry.js +3 -3
  1129. package/dist/esm-es5/mds-notification.entry.js +8 -8
  1130. package/dist/esm-es5/mds-paginator-item.entry.js +3 -3
  1131. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  1132. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  1133. package/dist/esm-es5/mds-pref-animation.entry.js +4 -4
  1134. package/dist/esm-es5/mds-pref-consumption.entry.js +4 -4
  1135. package/dist/esm-es5/mds-pref-contrast.entry.js +4 -4
  1136. package/dist/esm-es5/mds-pref-language-item.entry.js +3 -3
  1137. package/dist/esm-es5/mds-pref-language.entry.js +9 -9
  1138. package/dist/esm-es5/mds-pref-mode.entry.js +14 -4
  1139. package/dist/esm-es5/mds-pref-theme-item.entry.js +5 -5
  1140. package/dist/esm-es5/mds-pref-theme.entry.js +25 -12
  1141. package/dist/esm-es5/mds-pref.entry.js +8 -13
  1142. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  1143. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  1144. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  1145. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  1146. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  1147. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  1148. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  1149. package/dist/esm-es5/mds-progress_2.entry.js +9 -5
  1150. package/dist/esm-es5/mds-push-notification-item.entry.js +3 -3
  1151. package/dist/esm-es5/mds-push-notification.entry.js +7 -7
  1152. package/dist/esm-es5/mds-quote.entry.js +2 -2
  1153. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  1154. package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
  1155. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1156. package/dist/esm-es5/mds-status-bar.entry.js +2 -2
  1157. package/dist/esm-es5/mds-stepper-bar-item.entry.js +5 -5
  1158. package/dist/esm-es5/mds-stepper-bar.entry.js +8 -5
  1159. package/dist/esm-es5/mds-tab-bar-item.entry.js +4 -4
  1160. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  1161. package/dist/esm-es5/mds-tab_2.entry.js +31 -11
  1162. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1163. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  1164. package/dist/esm-es5/mds-table-header-cell.entry.js +7 -7
  1165. package/dist/esm-es5/mds-table-header.entry.js +9 -8
  1166. package/dist/esm-es5/mds-table-row.entry.js +4 -4
  1167. package/dist/esm-es5/mds-table.entry.js +24 -11
  1168. package/dist/esm-es5/mds-text.entry.js +7 -7
  1169. package/dist/esm-es5/mds-toast-region.entry.js +5 -5
  1170. package/dist/esm-es5/mds-toast.entry.js +7 -7
  1171. package/dist/esm-es5/mds-tooltip.entry.js +12 -3
  1172. package/dist/esm-es5/mds-tree-item.entry.js +7 -7
  1173. package/dist/esm-es5/mds-tree.entry.js +5 -5
  1174. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  1175. package/dist/esm-es5/mds-usage.entry.js +3 -3
  1176. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  1177. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1178. package/dist/esm-es5/{navigation-Bz1eiKqd.js → navigation-To9IeLHs.js} +8 -1
  1179. package/dist/esm-es5/{preference-C5XjgGCb.js → preference-CBMLGSf7.js} +15 -5
  1180. package/dist/hydrate/index.js +2307 -1091
  1181. package/dist/hydrate/index.mjs +2307 -1091
  1182. package/dist/lint/core/patterns.d.ts +26 -16
  1183. package/dist/lint/core/patterns.js +55 -38
  1184. package/dist/lint/mcp/tools.json +7 -7
  1185. package/dist/magma-components/index.esm.js +1 -1
  1186. package/dist/magma-components/magma-components.esm.js +1 -1
  1187. package/dist/magma-components/magma-components.js +1 -1
  1188. package/dist/magma-components/{p-2a445b98.system.entry.js → p-009e4359.system.entry.js} +137 -137
  1189. package/dist/magma-components/{p-b523fabe.system.entry.js → p-01d6d5a5.system.entry.js} +24 -11
  1190. package/dist/magma-components/p-03285704.entry.js +1 -0
  1191. package/dist/magma-components/p-03441f69.entry.js +1 -0
  1192. package/dist/magma-components/p-03896fbd.entry.js +1 -0
  1193. package/dist/magma-components/p-038fc1db.entry.js +1 -0
  1194. package/dist/magma-components/{p-e3b9ea0b.system.entry.js → p-03a2f4e7.system.entry.js} +2 -2
  1195. package/dist/magma-components/{p-4646cdc0.system.entry.js → p-06ba1f71.system.entry.js} +4 -4
  1196. package/dist/magma-components/p-0760e8a4.entry.js +1 -0
  1197. package/dist/magma-components/p-082b787b.entry.js +1 -0
  1198. package/dist/magma-components/p-09537867.entry.js +1 -0
  1199. package/dist/magma-components/p-09675899.entry.js +1 -0
  1200. package/dist/magma-components/p-0a914567.entry.js +1 -0
  1201. package/dist/magma-components/p-0c8dd132.entry.js +1 -0
  1202. package/dist/magma-components/p-0d7370d8.system.entry.js +1 -0
  1203. package/dist/magma-components/p-0e7bb90b.system.entry.js +127 -0
  1204. package/dist/magma-components/{p-03fb86a6.system.entry.js → p-10a68a4d.system.entry.js} +2 -2
  1205. package/dist/magma-components/p-11312b0c.entry.js +1 -0
  1206. package/dist/magma-components/{p-6c73689a.system.entry.js → p-11543f44.system.entry.js} +4 -4
  1207. package/dist/magma-components/{p-e0049e96.system.entry.js → p-11ee7089.system.entry.js} +5 -5
  1208. package/dist/magma-components/p-13e94501.entry.js +1 -0
  1209. package/dist/magma-components/{p-387fa36d.system.entry.js → p-14f60718.system.entry.js} +1 -1
  1210. package/dist/magma-components/p-16651356.entry.js +1 -0
  1211. package/dist/magma-components/p-1686b36a.entry.js +1 -0
  1212. package/dist/magma-components/{p-ad13ade5.system.entry.js → p-16a7e26a.system.entry.js} +4 -4
  1213. package/dist/magma-components/p-1784d5fb.entry.js +1 -0
  1214. package/dist/magma-components/p-18421a84.entry.js +1 -0
  1215. package/dist/magma-components/p-1934151b.entry.js +1 -0
  1216. package/dist/magma-components/p-193b58d0.entry.js +1 -0
  1217. package/dist/magma-components/{p-b30b487c.system.entry.js → p-19f3b524.system.entry.js} +6 -6
  1218. package/dist/magma-components/{p-87831da2.system.entry.js → p-1d101083.system.entry.js} +1 -1
  1219. package/dist/magma-components/p-1db5ab39.entry.js +1 -0
  1220. package/dist/magma-components/{p-fae9612b.system.entry.js → p-1e5d4854.system.entry.js} +7 -7
  1221. package/dist/magma-components/p-1f756317.entry.js +1 -0
  1222. package/dist/magma-components/p-2100343f.entry.js +1 -0
  1223. package/dist/magma-components/p-211b2675.system.entry.js +1 -0
  1224. package/dist/magma-components/{p-445bc62a.system.entry.js → p-2289423c.system.entry.js} +1 -1
  1225. package/dist/magma-components/p-26aad538.entry.js +1 -0
  1226. package/dist/magma-components/p-270e9afa.entry.js +1 -0
  1227. package/dist/magma-components/{p-3b578659.system.entry.js → p-275d7968.system.entry.js} +14 -14
  1228. package/dist/magma-components/{p-f181c679.system.entry.js → p-28ecae1e.system.entry.js} +2 -2
  1229. package/dist/magma-components/{p-9f55fa7a.system.entry.js → p-2a5223df.system.entry.js} +7 -7
  1230. package/dist/magma-components/p-2aa3e73a.system.entry.js +13 -0
  1231. package/dist/magma-components/p-2c64ec7e.entry.js +1 -0
  1232. package/dist/magma-components/{p-05455645.system.entry.js → p-2dc9499c.system.entry.js} +3 -3
  1233. package/dist/magma-components/{p-0384db44.system.entry.js → p-2dd32b3f.system.entry.js} +7 -7
  1234. package/dist/magma-components/p-2e5684a0.system.entry.js +5 -0
  1235. package/dist/magma-components/{p-b0749f83.system.entry.js → p-303173d5.system.entry.js} +3 -3
  1236. package/dist/magma-components/{p-625de2e6.system.entry.js → p-33172d6f.system.entry.js} +8 -5
  1237. package/dist/magma-components/p-333c0ae5.entry.js +1 -0
  1238. package/dist/magma-components/p-3341ac50.entry.js +1 -0
  1239. package/dist/magma-components/p-34183ce3.entry.js +1 -0
  1240. package/dist/magma-components/p-35a77756.entry.js +1 -0
  1241. package/dist/magma-components/p-37172440.entry.js +1 -0
  1242. package/dist/magma-components/p-37470fef.system.entry.js +51 -0
  1243. package/dist/magma-components/p-3b41f929.entry.js +1 -0
  1244. package/dist/magma-components/p-3ccc1c10.entry.js +1 -0
  1245. package/dist/magma-components/p-3d0578a7.entry.js +1 -0
  1246. package/dist/magma-components/p-3d45d7a7.entry.js +1 -0
  1247. package/dist/magma-components/{p-d85f3e5e.system.entry.js → p-3d60f528.system.entry.js} +2 -2
  1248. package/dist/magma-components/p-3fb983e9.system.entry.js +1 -0
  1249. package/dist/magma-components/p-4082973c.system.entry.js +30 -0
  1250. package/dist/magma-components/p-41829c15.system.entry.js +7 -0
  1251. package/dist/magma-components/p-420c5af4.entry.js +1 -0
  1252. package/dist/magma-components/p-4242100c.entry.js +1 -0
  1253. package/dist/magma-components/p-430239ca.entry.js +8 -0
  1254. package/dist/magma-components/p-4564e7ad.entry.js +1 -0
  1255. package/dist/magma-components/{p-a9caed77.entry.js → p-47712df6.entry.js} +1 -1
  1256. package/dist/magma-components/p-478bbfdb.entry.js +1 -0
  1257. package/dist/magma-components/p-478e6930.entry.js +1 -0
  1258. package/dist/magma-components/{p-8b8cd213.system.entry.js → p-483480f9.system.entry.js} +31 -11
  1259. package/dist/magma-components/p-4bb45501.entry.js +1 -0
  1260. package/dist/magma-components/p-4e431466.entry.js +1 -0
  1261. package/dist/magma-components/{p-ae9735e4.system.entry.js → p-4e4dd1c1.system.entry.js} +5 -5
  1262. package/dist/magma-components/{p-109926ce.system.entry.js → p-522968d1.system.entry.js} +6 -6
  1263. package/dist/magma-components/{p-d81fcbde.system.entry.js → p-52b73a95.system.entry.js} +7 -7
  1264. package/dist/magma-components/p-533bb401.system.entry.js +60 -0
  1265. package/dist/magma-components/p-555bd3f8.system.entry.js +29 -0
  1266. package/dist/magma-components/{p-35c170ba.system.entry.js → p-56715bbc.system.entry.js} +4 -4
  1267. package/dist/magma-components/{p-a65ce11a.system.entry.js → p-586878a2.system.entry.js} +2 -2
  1268. package/dist/magma-components/{p-aac622ef.system.entry.js → p-58bbada6.system.entry.js} +1 -1
  1269. package/dist/magma-components/{p-99bfa07e.system.entry.js → p-5b5d57b0.system.entry.js} +4 -4
  1270. package/dist/magma-components/p-5c0f0517.entry.js +1 -0
  1271. package/dist/magma-components/p-5c4aed7e.entry.js +1 -0
  1272. package/dist/magma-components/p-5d8cb375.system.entry.js +107 -0
  1273. package/dist/magma-components/p-62e42a62.entry.js +1 -0
  1274. package/dist/magma-components/p-6443e40f.entry.js +1 -0
  1275. package/dist/magma-components/{p-0c8f22dc.system.entry.js → p-6471c0a4.system.entry.js} +2 -2
  1276. package/dist/magma-components/{p-3be9b384.system.entry.js → p-6619b3c0.system.entry.js} +8 -8
  1277. package/dist/magma-components/p-67fa6fd7.entry.js +1 -0
  1278. package/dist/magma-components/{p-4f48c171.system.entry.js → p-68d83e18.system.entry.js} +1 -1
  1279. package/dist/magma-components/{p-fff26731.system.entry.js → p-6c6ec154.system.entry.js} +4 -4
  1280. package/dist/magma-components/{p-8ac1ba5c.system.entry.js → p-6d7e8240.system.entry.js} +4 -4
  1281. package/dist/magma-components/{p-3f0e6729.system.entry.js → p-6de384d0.system.entry.js} +3 -3
  1282. package/dist/magma-components/p-6fb17347.system.entry.js +1 -0
  1283. package/dist/magma-components/p-6fdf3b37.entry.js +1 -0
  1284. package/dist/magma-components/p-70cf2c28.entry.js +1 -0
  1285. package/dist/magma-components/p-73596a07.entry.js +1 -0
  1286. package/dist/magma-components/{p-1a20f239.system.entry.js → p-73a6ee3b.system.entry.js} +1 -1
  1287. package/dist/magma-components/{p-0a0dfdf4.system.entry.js → p-73b0b35f.system.entry.js} +2 -2
  1288. package/dist/magma-components/p-73c0b53e.system.entry.js +82 -0
  1289. package/dist/magma-components/p-73f22a7d.entry.js +1 -0
  1290. package/dist/magma-components/p-756cd3dc.entry.js +1 -0
  1291. package/dist/magma-components/p-757c3420.entry.js +1 -0
  1292. package/dist/magma-components/p-778a46fa.entry.js +1 -0
  1293. package/dist/magma-components/p-78cced59.entry.js +1 -0
  1294. package/dist/magma-components/p-7caf244b.system.entry.js +7 -0
  1295. package/dist/magma-components/p-7cfa2415.system.entry.js +1 -0
  1296. package/dist/magma-components/p-7e87807d.entry.js +1 -0
  1297. package/dist/magma-components/p-8193fd71.entry.js +1 -0
  1298. package/dist/magma-components/p-82041de2.entry.js +1 -0
  1299. package/dist/magma-components/{p-4669334a.system.entry.js → p-825713bc.system.entry.js} +2 -2
  1300. package/dist/magma-components/p-851010c6.system.entry.js +25 -0
  1301. package/dist/magma-components/p-857e893e.system.entry.js +26 -0
  1302. package/dist/magma-components/p-8928d9b5.system.entry.js +110 -0
  1303. package/dist/magma-components/p-8aa6524e.entry.js +1 -0
  1304. package/dist/magma-components/p-8acbf50a.entry.js +1 -0
  1305. package/dist/magma-components/p-8e471af5.entry.js +1 -0
  1306. package/dist/magma-components/p-913123e6.entry.js +1 -0
  1307. package/dist/magma-components/{p-bc054ffa.system.entry.js → p-91406af1.system.entry.js} +9 -8
  1308. package/dist/magma-components/p-95a29fd2.entry.js +1 -0
  1309. package/dist/magma-components/{p-efe27253.system.entry.js → p-96ece2cc.system.entry.js} +3 -3
  1310. package/dist/magma-components/p-96f66b8f.entry.js +1 -0
  1311. package/dist/magma-components/{p-6129954d.system.entry.js → p-97e55f7e.system.entry.js} +5 -5
  1312. package/dist/magma-components/p-98a3802b.system.entry.js +126 -0
  1313. package/dist/magma-components/{p-18244fd7.system.entry.js → p-9b00051f.system.entry.js} +8 -8
  1314. package/dist/magma-components/p-9be80c34.entry.js +1 -0
  1315. package/dist/magma-components/{p-0fc41e34.system.entry.js → p-9c0d1025.system.entry.js} +1 -1
  1316. package/dist/magma-components/{p-12be0f43.system.entry.js → p-9e3c1c28.system.entry.js} +9 -9
  1317. package/dist/magma-components/{p-BoDvZoCN.system.js → p-B6f9M1Bj.system.js} +8 -1
  1318. package/dist/magma-components/p-B7Jp0tqu.system.js +5 -0
  1319. package/dist/magma-components/p-BAW1DAbr.system.js +13 -0
  1320. package/dist/magma-components/{p-nFkaC8l_.system.js → p-BAcul0Zt.system.js} +1 -1
  1321. package/dist/magma-components/p-BXVzhErg.system.js +12 -0
  1322. package/dist/magma-components/{p-iX3kcwYg.js → p-BXkIXROP.js} +1 -1
  1323. package/dist/magma-components/{p-OafT80hV.js → p-BkfGbFba.js} +2 -2
  1324. package/dist/{components/p-BaFfIZGB.js → magma-components/p-C7p9e0P3.js} +1 -1
  1325. package/dist/magma-components/p-CPibDZjX.js +3 -0
  1326. package/dist/magma-components/{p-CZuIEo2v.system.js → p-CyPLJo0p.system.js} +34 -14
  1327. package/dist/magma-components/{p-CuHZXISO.system.js → p-CzZWts7L.system.js} +18 -18
  1328. package/dist/magma-components/{p-VOjLCGlK.system.js → p-D5Yayq7E.system.js} +47 -5
  1329. package/dist/magma-components/{p-mGgjNqBm.system.js → p-DGfoeZMw.system.js} +19 -9
  1330. package/dist/magma-components/p-DwKxtKwS.js +1 -0
  1331. package/dist/magma-components/{p-BZP13mns.system.js → p-EhfbAdzV.system.js} +52 -51
  1332. package/dist/magma-components/p-H8sVzFTL.js +1 -0
  1333. package/dist/magma-components/p-a00805cd.system.entry.js +136 -0
  1334. package/dist/magma-components/p-a025b35b.entry.js +1 -0
  1335. package/dist/magma-components/p-a02819e3.entry.js +1 -0
  1336. package/dist/magma-components/p-a0389821.entry.js +1 -0
  1337. package/dist/magma-components/p-a075c069.entry.js +1 -0
  1338. package/dist/magma-components/p-a0764f01.entry.js +1 -0
  1339. package/dist/magma-components/{p-3139988c.system.entry.js → p-a171c096.system.entry.js} +4 -4
  1340. package/dist/magma-components/{p-6d009b42.system.entry.js → p-a190c325.system.entry.js} +3 -3
  1341. package/dist/magma-components/{p-8bf8e032.entry.js → p-a33a235e.entry.js} +1 -1
  1342. package/dist/magma-components/{p-45b19935.system.entry.js → p-a4aaf1c6.system.entry.js} +8 -8
  1343. package/dist/magma-components/{p-9ef64212.entry.js → p-a9c7fb3f.entry.js} +3 -3
  1344. package/dist/magma-components/{p-9c2b67fc.system.entry.js → p-a9d100e5.system.entry.js} +6 -6
  1345. package/dist/magma-components/{p-8239e526.system.entry.js → p-aa601247.system.entry.js} +2 -2
  1346. package/dist/magma-components/{p-b781c932.system.entry.js → p-aa86018e.system.entry.js} +2 -2
  1347. package/dist/magma-components/p-ab920e0b.entry.js +1 -0
  1348. package/dist/magma-components/{p-30f95d10.entry.js → p-ac401f1a.entry.js} +1 -1
  1349. package/dist/magma-components/{p-11210b60.system.entry.js → p-ad12fa89.system.entry.js} +3 -3
  1350. package/dist/magma-components/p-ad6b5fc1.system.entry.js +16 -0
  1351. package/dist/magma-components/p-ada93f68.entry.js +1 -0
  1352. package/dist/magma-components/{p-4a72d72c.system.entry.js → p-ae258eca.system.entry.js} +2 -2
  1353. package/dist/magma-components/{p-cfbf3a76.system.entry.js → p-af1a93c6.system.entry.js} +7 -7
  1354. package/dist/magma-components/p-b0406c51.entry.js +1 -0
  1355. package/dist/magma-components/p-b18b0088.system.entry.js +9 -0
  1356. package/dist/magma-components/p-b1fe6261.entry.js +1 -0
  1357. package/dist/magma-components/p-b47c444e.system.entry.js +5 -0
  1358. package/dist/magma-components/p-b4856322.entry.js +1 -0
  1359. package/dist/magma-components/p-b7d90310.entry.js +1 -0
  1360. package/dist/magma-components/{p-b6412ddd.system.entry.js → p-b8e5411d.system.entry.js} +1 -1
  1361. package/dist/magma-components/{p-adab176e.system.entry.js → p-b95f648f.system.entry.js} +3 -3
  1362. package/dist/magma-components/{p-98e167e8.system.entry.js → p-ba148b89.system.entry.js} +7 -7
  1363. package/dist/magma-components/p-bbbf8b89.system.entry.js +29 -0
  1364. package/dist/magma-components/p-bca909d9.entry.js +1 -0
  1365. package/dist/magma-components/p-bd4ad8c7.entry.js +1 -0
  1366. package/dist/magma-components/p-bd539dbc.entry.js +1 -0
  1367. package/dist/magma-components/{p-f7e9af99.system.entry.js → p-c0c69807.system.entry.js} +2 -2
  1368. package/dist/magma-components/{p-22f24125.system.entry.js → p-c2a883b0.system.entry.js} +1 -1
  1369. package/dist/magma-components/p-c2d9cf4e.system.entry.js +1 -0
  1370. package/dist/magma-components/{p-4fd0fdb8.system.entry.js → p-c3cfbc71.system.entry.js} +8 -8
  1371. package/dist/magma-components/p-c5b7f820.system.entry.js +1 -0
  1372. package/dist/magma-components/p-c67655fa.entry.js +1 -0
  1373. package/dist/magma-components/p-c6cab2cb.entry.js +1 -0
  1374. package/dist/magma-components/p-c6f56934.entry.js +1 -0
  1375. package/dist/magma-components/{p-ccffdf0b.system.entry.js → p-c8430552.system.entry.js} +28 -16
  1376. package/dist/magma-components/p-c902d468.entry.js +1 -0
  1377. package/dist/magma-components/p-ca0f3549.entry.js +1 -0
  1378. package/dist/magma-components/{p-9e07535e.system.entry.js → p-ca5867f5.system.entry.js} +27 -14
  1379. package/dist/magma-components/p-cc5518b1.entry.js +1 -0
  1380. package/dist/magma-components/{p-d360e4c5.entry.js → p-ccb23b6a.entry.js} +1 -1
  1381. package/dist/magma-components/p-ccb64689.system.entry.js +113 -0
  1382. package/dist/magma-components/p-cf8cfcac.system.entry.js +10 -0
  1383. package/dist/magma-components/p-cfb153b8.entry.js +1 -0
  1384. package/dist/magma-components/p-cfcb8bb5.entry.js +1 -0
  1385. package/dist/magma-components/p-d0b45a54.entry.js +1 -0
  1386. package/dist/magma-components/{p-90d50492.system.entry.js → p-d0dfa8b5.system.entry.js} +2 -2
  1387. package/dist/magma-components/p-d1281855.system.entry.js +330 -0
  1388. package/dist/magma-components/{p-8a8cad6c.system.entry.js → p-d173ae2f.system.entry.js} +1 -1
  1389. package/dist/magma-components/p-d1751ff6.entry.js +1 -0
  1390. package/dist/magma-components/p-d32ca6ce.entry.js +1 -0
  1391. package/dist/magma-components/p-d4452e41.entry.js +1 -0
  1392. package/dist/magma-components/p-d5dec64d.entry.js +1 -0
  1393. package/dist/magma-components/p-d7813f9b.system.entry.js +13 -0
  1394. package/dist/magma-components/{p-c35ea44d.system.entry.js → p-dd4b04ed.system.entry.js} +3 -3
  1395. package/dist/magma-components/p-ddc31c50.entry.js +1 -0
  1396. package/dist/magma-components/{p-4748378e.system.entry.js → p-df70af5f.system.entry.js} +39 -39
  1397. package/dist/magma-components/p-e009c632.entry.js +1 -0
  1398. package/dist/magma-components/p-e160e4e1.entry.js +1 -0
  1399. package/dist/magma-components/p-e497f0db.entry.js +1 -0
  1400. package/dist/magma-components/p-e4db9ad2.entry.js +1 -0
  1401. package/dist/magma-components/p-e63c1ba4.entry.js +1 -0
  1402. package/dist/magma-components/p-e66db408.entry.js +1 -0
  1403. package/dist/magma-components/{p-f09f3fe1.system.entry.js → p-e84361ee.system.entry.js} +12 -3
  1404. package/dist/magma-components/p-ea93721d.entry.js +1 -0
  1405. package/dist/magma-components/p-eb4f76d8.system.entry.js +22 -0
  1406. package/dist/magma-components/p-ecf29ffa.entry.js +1 -0
  1407. package/dist/magma-components/{p-bba4f1f0.system.entry.js → p-ede31d27.system.entry.js} +11 -11
  1408. package/dist/magma-components/{p-cf42d6ea.system.entry.js → p-ee247029.system.entry.js} +3 -3
  1409. package/dist/magma-components/{p-c915fba5.system.entry.js → p-ee65f0eb.system.entry.js} +5 -5
  1410. package/dist/magma-components/p-efcd8a1d.entry.js +1 -0
  1411. package/dist/magma-components/{p-f40e3918.system.entry.js → p-f01e7a7e.system.entry.js} +4 -4
  1412. package/dist/magma-components/{p-95ddc950.system.entry.js → p-f0d93b22.system.entry.js} +9 -6
  1413. package/dist/magma-components/{p-60acbc5f.system.entry.js → p-f2e5a2c7.system.entry.js} +7 -7
  1414. package/dist/magma-components/p-f3041712.entry.js +1 -0
  1415. package/dist/magma-components/{p-9303fb16.system.entry.js → p-f3f1da06.system.entry.js} +5 -5
  1416. package/dist/magma-components/{p-e79eb427.system.entry.js → p-f4e8f507.system.entry.js} +2 -2
  1417. package/dist/magma-components/{p-384d93dc.system.entry.js → p-f5c82548.system.entry.js} +1 -1
  1418. package/dist/magma-components/p-f6f6d914.system.entry.js +14 -0
  1419. package/dist/magma-components/p-f9d2316a.entry.js +1 -0
  1420. package/dist/magma-components/p-fe4ae251.entry.js +1 -0
  1421. package/dist/magma-components/{p-f4fc9f29.system.entry.js → p-ffcfa9e3.system.entry.js} +2 -2
  1422. package/dist/magma-components/p-kW8cjKIa.js +1 -0
  1423. package/dist/{lint/mcp → mcp}/checks.js +5 -5
  1424. package/dist/{lint/mcp → mcp}/components.js +4 -6
  1425. package/dist/{lint/mcp → mcp}/guides.js +11 -9
  1426. package/dist/{lint/mcp → mcp}/icons.js +21 -0
  1427. package/dist/mcp/package.json +3 -0
  1428. package/dist/{lint/mcp → mcp}/patterns.js +8 -9
  1429. package/dist/{lint/mcp → mcp}/protocol.js +1 -1
  1430. package/dist/{lint/mcp → mcp}/render.js +61 -33
  1431. package/dist/{lint/mcp → mcp}/server.js +4 -4
  1432. package/dist/{lint/mcp → mcp}/tokens.js +1 -2
  1433. package/dist/mcp/tools.json +1374 -0
  1434. package/dist/stats.json +4506 -3454
  1435. package/dist/types/common/aria.d.ts +8 -1
  1436. package/dist/types/common/floating-controller.d.ts +14 -0
  1437. package/dist/types/common/navigation.d.ts +7 -0
  1438. package/dist/types/common/preference.d.ts +26 -2
  1439. package/dist/types/common/validity/index.d.ts +1 -1
  1440. package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +10 -2
  1441. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +10 -2
  1442. package/dist/types/components/mds-banner/mds-banner.d.ts +13 -4
  1443. package/dist/types/components/mds-banner/meta/dictionary.d.ts +7 -0
  1444. package/dist/types/components/mds-banner/meta/types.d.ts +2 -0
  1445. package/dist/types/components/mds-button/mds-button.d.ts +50 -4
  1446. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +22 -2
  1447. package/dist/types/components/mds-calendar/mds-calendar.d.ts +60 -16
  1448. package/dist/types/components/mds-calendar/meta/types.d.ts +2 -0
  1449. package/dist/types/components/mds-chip/mds-chip.d.ts +10 -0
  1450. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +1 -0
  1451. package/dist/types/components/mds-icon/services/icons-set.service.d.ts +42 -0
  1452. package/dist/types/components/mds-input/mds-input.d.ts +114 -10
  1453. package/dist/types/components/mds-input/meta/color.d.ts +13 -0
  1454. package/dist/types/components/mds-input/meta/types.d.ts +1 -1
  1455. package/dist/types/components/mds-input/meta/validators.d.ts +5 -0
  1456. package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
  1457. package/dist/types/components/mds-input-date/mds-input-date.d.ts +13 -2
  1458. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +34 -3
  1459. package/dist/types/components/mds-input-range/mds-input-range.d.ts +96 -4
  1460. package/dist/types/components/mds-input-range/meta/event-detail.d.ts +7 -0
  1461. package/dist/types/components/mds-input-range-value/mds-input-range-value.d.ts +18 -0
  1462. package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +6 -3
  1463. package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -1
  1464. package/dist/types/components/mds-modal/mds-modal.d.ts +8 -1
  1465. package/dist/types/components/mds-pref/mds-pref.d.ts +6 -9
  1466. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +16 -5
  1467. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +14 -1
  1468. package/dist/types/components/mds-tab/mds-tab.d.ts +2 -1
  1469. package/dist/types/components/mds-table/mds-table.d.ts +6 -1
  1470. package/dist/types/components/mds-table-header/mds-table-header.d.ts +1 -1
  1471. package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -3
  1472. package/dist/types/components/mds-zero/mds-zero.d.ts +4 -0
  1473. package/dist/types/components.d.ts +224 -51
  1474. package/dist/types/fixtures/dark-mode.d.ts +7 -0
  1475. package/dist/types/index.d.ts +20 -8
  1476. package/dist/types/stencil-public-runtime.d.ts +1 -1
  1477. package/dist/types/type/button.d.ts +2 -0
  1478. package/dist/types/type/file-types.d.ts +1 -1
  1479. package/dist/types/type/input.d.ts +2 -2
  1480. package/package.json +22 -19
  1481. package/dist/components/p-4LbHmDXv.js +0 -1
  1482. package/dist/components/p-B6AFku7a.js +0 -1
  1483. package/dist/components/p-BwT0RJip.js +0 -1
  1484. package/dist/components/p-COUgBzJ4.js +0 -1
  1485. package/dist/components/p-CP5Qw9_T.js +0 -1
  1486. package/dist/components/p-Cvhn9asj.js +0 -1
  1487. package/dist/components/p-DGhzWuCS.js +0 -1
  1488. package/dist/components/p-DJd8f8dz.js +0 -1
  1489. package/dist/components/p-DTtmr_Y9.js +0 -1
  1490. package/dist/components/p-DW6ie49j.js +0 -1
  1491. package/dist/components/p-DlglisEn.js +0 -1
  1492. package/dist/components/p-FsctOap9.js +0 -1
  1493. package/dist/components/p-G7Udw5H5.js +0 -1
  1494. package/dist/components/p-Ic8cYsgt.js +0 -1
  1495. package/dist/components/p-TZJN-ygm.js +0 -3
  1496. package/dist/components/p-jasGzfhE.js +0 -1
  1497. package/dist/components/p-l0KS6hTQ.js +0 -1
  1498. package/dist/esm-es5/aria-Cvhn9asj.js +0 -6
  1499. package/dist/esm-es5/index-BJVvHlvf.js +0 -10
  1500. package/dist/lint/mcp/checks.d.ts +0 -29
  1501. package/dist/lint/mcp/cli.d.ts +0 -2
  1502. package/dist/lint/mcp/color.d.ts +0 -12
  1503. package/dist/lint/mcp/components.d.ts +0 -5
  1504. package/dist/lint/mcp/context.d.ts +0 -45
  1505. package/dist/lint/mcp/guides.d.ts +0 -3
  1506. package/dist/lint/mcp/icons.d.ts +0 -9
  1507. package/dist/lint/mcp/patterns.d.ts +0 -75
  1508. package/dist/lint/mcp/protocol.d.ts +0 -77
  1509. package/dist/lint/mcp/render-page.d.ts +0 -40
  1510. package/dist/lint/mcp/render.d.ts +0 -130
  1511. package/dist/lint/mcp/server.d.ts +0 -39
  1512. package/dist/lint/mcp/tokens.d.ts +0 -37
  1513. package/dist/magma-components/p-02b106c2.entry.js +0 -1
  1514. package/dist/magma-components/p-0417391b.entry.js +0 -1
  1515. package/dist/magma-components/p-06691ab3.system.entry.js +0 -27
  1516. package/dist/magma-components/p-074d7b75.entry.js +0 -1
  1517. package/dist/magma-components/p-08da465d.entry.js +0 -1
  1518. package/dist/magma-components/p-0d3da482.system.entry.js +0 -1
  1519. package/dist/magma-components/p-0d42ac4a.entry.js +0 -1
  1520. package/dist/magma-components/p-10d52280.entry.js +0 -1
  1521. package/dist/magma-components/p-13cfc01a.entry.js +0 -1
  1522. package/dist/magma-components/p-14122f2d.entry.js +0 -1
  1523. package/dist/magma-components/p-1467ded5.system.entry.js +0 -7
  1524. package/dist/magma-components/p-18b27217.entry.js +0 -1
  1525. package/dist/magma-components/p-198ea5d8.entry.js +0 -1
  1526. package/dist/magma-components/p-1d8485de.system.entry.js +0 -28
  1527. package/dist/magma-components/p-1f746ad1.system.entry.js +0 -82
  1528. package/dist/magma-components/p-2111aa67.system.entry.js +0 -1
  1529. package/dist/magma-components/p-21345ecc.entry.js +0 -1
  1530. package/dist/magma-components/p-25dcbf22.entry.js +0 -1
  1531. package/dist/magma-components/p-27254fbd.entry.js +0 -1
  1532. package/dist/magma-components/p-299dab17.entry.js +0 -1
  1533. package/dist/magma-components/p-29dd6d94.entry.js +0 -1
  1534. package/dist/magma-components/p-2d199db0.system.entry.js +0 -25
  1535. package/dist/magma-components/p-2d2cdf0d.entry.js +0 -1
  1536. package/dist/magma-components/p-2e68180d.system.entry.js +0 -32
  1537. package/dist/magma-components/p-308a4ae5.system.entry.js +0 -1
  1538. package/dist/magma-components/p-34421ef2.system.entry.js +0 -77
  1539. package/dist/magma-components/p-37881115.system.entry.js +0 -14
  1540. package/dist/magma-components/p-3af8a86a.system.entry.js +0 -111
  1541. package/dist/magma-components/p-3b494de7.entry.js +0 -1
  1542. package/dist/magma-components/p-445198a1.entry.js +0 -1
  1543. package/dist/magma-components/p-45a3e7eb.entry.js +0 -1
  1544. package/dist/magma-components/p-4606d11f.entry.js +0 -1
  1545. package/dist/magma-components/p-46a928c3.entry.js +0 -1
  1546. package/dist/magma-components/p-4cd21f19.entry.js +0 -1
  1547. package/dist/magma-components/p-4da1c089.entry.js +0 -1
  1548. package/dist/magma-components/p-4e5b8618.system.entry.js +0 -1
  1549. package/dist/magma-components/p-4e8c5b68.entry.js +0 -1
  1550. package/dist/magma-components/p-4f0153cd.entry.js +0 -1
  1551. package/dist/magma-components/p-4fc0e294.entry.js +0 -1
  1552. package/dist/magma-components/p-52211fa3.entry.js +0 -1
  1553. package/dist/magma-components/p-5575f198.entry.js +0 -1
  1554. package/dist/magma-components/p-5686da49.system.entry.js +0 -13
  1555. package/dist/magma-components/p-56a25ec6.entry.js +0 -1
  1556. package/dist/magma-components/p-57ee6e32.entry.js +0 -1
  1557. package/dist/magma-components/p-5931fdfc.system.entry.js +0 -41
  1558. package/dist/magma-components/p-59aa4994.entry.js +0 -1
  1559. package/dist/magma-components/p-5a8fa2d0.entry.js +0 -1
  1560. package/dist/magma-components/p-5aa8f150.entry.js +0 -1
  1561. package/dist/magma-components/p-5c8f408e.entry.js +0 -1
  1562. package/dist/magma-components/p-5d1cba9c.system.entry.js +0 -1
  1563. package/dist/magma-components/p-5d56a7cd.system.entry.js +0 -47
  1564. package/dist/magma-components/p-60b21db7.entry.js +0 -1
  1565. package/dist/magma-components/p-60d6e60f.entry.js +0 -1
  1566. package/dist/magma-components/p-61e11cd0.system.entry.js +0 -16
  1567. package/dist/magma-components/p-627c2780.entry.js +0 -1
  1568. package/dist/magma-components/p-6896786e.entry.js +0 -1
  1569. package/dist/magma-components/p-69319301.system.entry.js +0 -10
  1570. package/dist/magma-components/p-6a994dc1.entry.js +0 -1
  1571. package/dist/magma-components/p-72971cf7.system.entry.js +0 -7
  1572. package/dist/magma-components/p-741f8f45.system.entry.js +0 -13
  1573. package/dist/magma-components/p-7837856f.entry.js +0 -1
  1574. package/dist/magma-components/p-797c64f4.system.entry.js +0 -19
  1575. package/dist/magma-components/p-7a920b70.entry.js +0 -1
  1576. package/dist/magma-components/p-7b06b2f2.entry.js +0 -1
  1577. package/dist/magma-components/p-7c055074.entry.js +0 -1
  1578. package/dist/magma-components/p-7c3a7521.entry.js +0 -1
  1579. package/dist/magma-components/p-7d61f442.entry.js +0 -1
  1580. package/dist/magma-components/p-7ee31f2e.entry.js +0 -1
  1581. package/dist/magma-components/p-7f418ae1.entry.js +0 -1
  1582. package/dist/magma-components/p-7ff5552f.entry.js +0 -1
  1583. package/dist/magma-components/p-81212e34.entry.js +0 -1
  1584. package/dist/magma-components/p-81d2582a.entry.js +0 -1
  1585. package/dist/magma-components/p-844bce77.entry.js +0 -1
  1586. package/dist/magma-components/p-84aac233.entry.js +0 -1
  1587. package/dist/magma-components/p-84d0d701.entry.js +0 -1
  1588. package/dist/magma-components/p-85376ff5.entry.js +0 -1
  1589. package/dist/magma-components/p-85bf9c93.entry.js +0 -1
  1590. package/dist/magma-components/p-86f11a5a.entry.js +0 -1
  1591. package/dist/magma-components/p-8aa4cd10.entry.js +0 -1
  1592. package/dist/magma-components/p-8b8a6662.entry.js +0 -1
  1593. package/dist/magma-components/p-8feba226.entry.js +0 -1
  1594. package/dist/magma-components/p-948ecde4.entry.js +0 -8
  1595. package/dist/magma-components/p-97217527.system.entry.js +0 -1
  1596. package/dist/magma-components/p-97c6e10a.entry.js +0 -1
  1597. package/dist/magma-components/p-9a0f8eb1.entry.js +0 -1
  1598. package/dist/magma-components/p-9c784173.entry.js +0 -1
  1599. package/dist/magma-components/p-9e2b1a29.entry.js +0 -1
  1600. package/dist/magma-components/p-9ed54db1.entry.js +0 -1
  1601. package/dist/magma-components/p-9ef0d4e5.system.entry.js +0 -7
  1602. package/dist/magma-components/p-B8zYiZQY.system.js +0 -5
  1603. package/dist/magma-components/p-CLhuNxYQ.js +0 -1
  1604. package/dist/magma-components/p-CvLLN-QH.js +0 -3
  1605. package/dist/magma-components/p-Cvhn9asj.js +0 -1
  1606. package/dist/magma-components/p-CxTugGM9.system.js +0 -10
  1607. package/dist/magma-components/p-Dx_cCOTw.js +0 -1
  1608. package/dist/magma-components/p-a2e3a545.entry.js +0 -1
  1609. package/dist/magma-components/p-a3156523.system.entry.js +0 -98
  1610. package/dist/magma-components/p-a3d09996.entry.js +0 -1
  1611. package/dist/magma-components/p-a8206d9c.entry.js +0 -1
  1612. package/dist/magma-components/p-ac099ed6.entry.js +0 -1
  1613. package/dist/magma-components/p-ac161cb5.entry.js +0 -1
  1614. package/dist/magma-components/p-b0850daa.entry.js +0 -1
  1615. package/dist/magma-components/p-b2763352.entry.js +0 -1
  1616. package/dist/magma-components/p-b464668b.system.entry.js +0 -105
  1617. package/dist/magma-components/p-b61546fd.entry.js +0 -1
  1618. package/dist/magma-components/p-b85f56d7.entry.js +0 -1
  1619. package/dist/magma-components/p-b8f4938a.entry.js +0 -1
  1620. package/dist/magma-components/p-be2ca282.entry.js +0 -1
  1621. package/dist/magma-components/p-bfd95736.entry.js +0 -1
  1622. package/dist/magma-components/p-c0286dc3.system.entry.js +0 -94
  1623. package/dist/magma-components/p-c2758b81.entry.js +0 -1
  1624. package/dist/magma-components/p-c683cd13.entry.js +0 -1
  1625. package/dist/magma-components/p-c7dc17f8.entry.js +0 -1
  1626. package/dist/magma-components/p-c9553777.entry.js +0 -1
  1627. package/dist/magma-components/p-c9bd81c5.system.entry.js +0 -225
  1628. package/dist/magma-components/p-cd6dd836.entry.js +0 -1
  1629. package/dist/magma-components/p-d29c959d.entry.js +0 -1
  1630. package/dist/magma-components/p-d43e2a9a.entry.js +0 -1
  1631. package/dist/magma-components/p-d50d4023.entry.js +0 -1
  1632. package/dist/magma-components/p-dcb5f965.entry.js +0 -1
  1633. package/dist/magma-components/p-ddfb4da3.entry.js +0 -1
  1634. package/dist/magma-components/p-dfab370b.entry.js +0 -1
  1635. package/dist/magma-components/p-e059aaa9.entry.js +0 -1
  1636. package/dist/magma-components/p-e428490d.system.entry.js +0 -5
  1637. package/dist/magma-components/p-e7f717ab.entry.js +0 -1
  1638. package/dist/magma-components/p-e92327a2.entry.js +0 -1
  1639. package/dist/magma-components/p-ecc2893d.system.entry.js +0 -24
  1640. package/dist/magma-components/p-ed4fd7a4.entry.js +0 -1
  1641. package/dist/magma-components/p-ef1bdd44.entry.js +0 -1
  1642. package/dist/magma-components/p-f045b018.entry.js +0 -1
  1643. package/dist/magma-components/p-f22b8091.entry.js +0 -1
  1644. package/dist/magma-components/p-f493fdc3.entry.js +0 -1
  1645. package/dist/magma-components/p-f5d9f625.entry.js +0 -1
  1646. package/dist/magma-components/p-f7426a75.entry.js +0 -1
  1647. package/dist/magma-components/p-fa387b74.system.entry.js +0 -5
  1648. package/dist/magma-components/p-fba648e0.entry.js +0 -1
  1649. package/dist/magma-components/p-fbf563c8.entry.js +0 -1
  1650. package/dist/magma-components/p-fd81c4ef.system.entry.js +0 -29
  1651. package/dist/magma-components/p-fdedc0ba.entry.js +0 -1
  1652. package/dist/magma-components/p-ff65fc97.entry.js +0 -1
  1653. package/dist/magma-components/p-ff82edad.entry.js +0 -1
  1654. package/dist/magma-components/p-sm_-_oFY.system.js +0 -6
  1655. /package/dist/components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
  1656. /package/dist/magma-components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
  1657. /package/dist/{lint/mcp → mcp}/cli.js +0 -0
  1658. /package/dist/{lint/mcp → mcp}/color.js +0 -0
  1659. /package/dist/{lint/mcp → mcp}/context.js +0 -0
  1660. /package/dist/{lint/mcp → mcp}/icon.svg +0 -0
  1661. /package/dist/{lint/mcp → mcp}/render-page.js +0 -0
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{K as KeyboardManager}from"./keyboard-manager-CGrPq3C4.js";import{s as setAttributeIfEmpty}from"./aria-Cvhn9asj.js";import{r as readSlottedLabel,s as sanitizeLabel}from"./slot-AEckDMXh.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsTabBarItemCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-bar-item-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-tab-bar-item-background-selected:#0000;--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-tab-bar-item-transition-duration:var(--duration-200,.2s);--private-tab-bar-item-transition-duration:var(--mds-tab-bar-item-transition-duration);--magma-outline-blur-offset:calc(var(--spacing,.0025rem)*-200);--magma-outline-focus-offset:calc(var(--spacing,.0025rem)*-100);animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-tab-bar-item-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));color:var(--mds-tab-bar-item-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));cursor:pointer;display:flex;fill:var(--mds-tab-bar-item-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*200);text-align:center;transition-duration:.2s;transition-duration:var(--private-tab-bar-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:color,background-color,fill;transition-timing-function:ease-in-out;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([selected]:not([selected=false])){background-color:var(--mds-tab-bar-item-background-selected,#0000);color:var(--mds-tab-bar-item-color-selected,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));fill:var(--mds-tab-bar-item-color-selected,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))))}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-bar-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:host([pref-contrast=more]){--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-bar-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}}'};var MdsTabBarItem=/** @class */function(){function t(t){var e=this;registerInstance(this,t);this.selectedEvent=createEvent(this,"mdsTabBarItemSelect",7);this.km=new KeyboardManager;
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{K as KeyboardManager}from"./keyboard-manager-CGrPq3C4.js";import{s as setAttributeIfEmpty}from"./aria-DwKxtKwS.js";import{r as readSlottedLabel,s as sanitizeLabel}from"./slot-AEckDMXh.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var mdsTabBarItemCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-bar-item-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-tab-bar-item-background-selected:#0000;--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-tab-bar-item-transition-duration:var(--duration-200,.2s);--private-tab-bar-item-transition-duration:var(--mds-tab-bar-item-transition-duration);--magma-outline-blur-offset:calc(var(--spacing,.0025rem)*-200);--magma-outline-focus-offset:calc(var(--spacing,.0025rem)*-100);animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-tab-bar-item-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));color:var(--mds-tab-bar-item-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));cursor:pointer;display:flex;fill:var(--mds-tab-bar-item-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*200);text-align:center;transition-duration:.2s;transition-duration:var(--private-tab-bar-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:color,background-color,fill;transition-timing-function:ease-in-out;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([selected]:not([selected=false])){background-color:var(--mds-tab-bar-item-background-selected,#0000);color:var(--mds-tab-bar-item-color-selected,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));fill:var(--mds-tab-bar-item-color-selected,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))))}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-bar-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:host([pref-contrast=more]){--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-bar-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}}'};var MdsTabBarItem=/** @class */function(){function t(e){var a=this.constructor;var r=this;if(a===t)registerInstance(this,e);this.selectedEvent=createEvent(this,"mdsTabBarItemSelect",7);this.km=new KeyboardManager;
2
2
  /**
3
3
  * The icon displayed in the tab bar item.
4
4
  */this.icon="";
@@ -6,10 +6,10 @@ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from".
6
6
  * Specifies the typography of the element
7
7
  */this.typography="tip";
8
8
  // the selected item stays selected: a click on it selects nothing new, so it emits nothing
9
- this.select=function(){if(e.selected)return;e.selected=true;e.selectedEvent.emit(e.element.id)};this.onSlotChangeHandler=function(){var t;
10
- /* this should be removed in the future once slotted text is no longer used, use the label property instead */if(((t=e.label)!==null&&t!==void 0?t:"")!=="")return;e.label=readSlottedLabel(e.element)}}
9
+ this.select=function(){if(r.selected)return;r.selected=true;r.selectedEvent.emit(r.element.id)};this.onSlotChangeHandler=function(){var t;
10
+ /* this should be removed in the future once slotted text is no longer used, use the label property instead */if(((t=r.label)!==null&&t!==void 0?t:"")!=="")return;r.label=readSlottedLabel(r.element)}}
11
11
  // the item is a button that shows its view: a tab stop that Enter and Space activate as a click
12
12
  // does. A role set by the caller is theirs and stays
13
13
  t.prototype.componentDidLoad=function(){setAttributeIfEmpty(this.element,"role","button");this.km.addElement(this.element);this.km.attachClickBehavior("element",{space:true})};
14
14
  // an item moved in the page is disconnected and connected again, without loading again
15
- t.prototype.connectedCallback=function(){this.km.attachClickBehavior("element",{space:true})};t.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};t.prototype.labelChanged=function(t){this.label=sanitizeLabel(t)};t.prototype.render=function(){return h(Host,{key:"c0a736a5ba24d73ea1e260e8e09bcdce2d0a77ad","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:"23612713bfcf7c2f26bbaf8cae9bd61a2e788328",name:this.icon}),h("mds-text",{key:"3fcf4ef9ab00b300dd920e610bb2537cdcce41cb",typography:this.typography},this.label||h("slot",{key:"e8818ad61b655c9882b2cb13ec4f512962622263",onSlotchange:this.onSlotChangeHandler})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{label:[{labelChanged:0}]}},enumerable:false,configurable:true});return t}();MdsTabBarItem.style=mdsTabBarItemCss();export{MdsTabBarItem as mds_tab_bar_item};
15
+ t.prototype.connectedCallback=function(){this.km.attachClickBehavior("element",{space:true})};t.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};t.prototype.labelChanged=function(t){this.label=sanitizeLabel(t)};t.prototype.render=function(){return h(Host,{key:"8069c5f41f3d990551a5639ca9421d425ad64c6e","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:"77357d18df1ebbb0f27f9659bf3e948847c3a6a9",name:this.icon}),h("mds-text",{key:"3c20fc23fa1c7be6cb8f4d42dc6e9b7ac2dbf475",typography:this.typography},this.label||h("slot",{key:"cfada30c6dd82c9efc7335aee053f9ddf2ef41cf",onSlotchange:this.onSlotChangeHandler})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{label:[{labelChanged:0}]}},enumerable:false,configurable:true});return t}();MdsTabBarItem.style=mdsTabBarItemCss();export{MdsTabBarItem as mds_tab_bar_item};
@@ -1,5 +1,5 @@
1
- import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsTabBarCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-tab-bar-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-bar-transition-duration:var(--duration-200,.2s);--private-tab-bar-transition-duration:var(--mds-tab-bar-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));bottom:0;box-shadow:var(--shadow-ring-weak-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.15));display:flex;justify-content:space-around;left:0;position:fixed;right:0;transition-duration:var(--private-tab-bar-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-bar-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-bar-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'};var MdsTabBar=/** @class */function(){function t(t){var e=this;registerInstance(this,t);this.changedEvent=createEvent(this,"mdsTabBarChange",7);this.queryItems=function(){return e.element.querySelectorAll("mds-tab-bar-item")}}
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var mdsTabBarCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-tab-bar-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-bar-transition-duration:var(--duration-200,.2s);--private-tab-bar-transition-duration:var(--mds-tab-bar-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));bottom:0;box-shadow:var(--shadow-ring-weak-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.15));display:flex;justify-content:space-around;left:0;position:fixed;right:0;transition-duration:var(--private-tab-bar-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-bar-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-bar-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'};var MdsTabBar=/** @class */function(){function e(t){var r=this.constructor;var a=this;if(r===e)registerInstance(this,t);this.changedEvent=createEvent(this,"mdsTabBarChange",7);this.queryItems=function(){return a.element.querySelectorAll("mds-tab-bar-item")}}
2
2
  // An item keeps the id its author gave it, one without gets `mds-tab-bar-item-<index>`, what its
3
3
  // event reported before; the bar tells the items apart by element, not by id. It used to
4
4
  // overwrite every id (#827)
5
- t.prototype.componentWillLoad=function(){var t=this.queryItems();t.forEach((function(t,e){if(t.id==="")t.id="mds-tab-bar-item-".concat(e)}))};t.prototype.changeEventHandler=function(t){var e=this;var r=this.queryItems();r.forEach((function(r,a){r.selected=r===t.target;if(r.selected){e.changedEvent.emit({index:a})}}))};t.prototype.render=function(){return h(Host,{key:"a07a89f34109e105ed285f1f902ac854d4264cb5","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:"e2615d3d5cebdb872189154744e15e617c1f4a40"}))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsTabBar.style=mdsTabBarCss();export{MdsTabBar as mds_tab_bar};
5
+ e.prototype.componentWillLoad=function(){var e=this.queryItems();e.forEach((function(e,t){if(e.id==="")e.id="mds-tab-bar-item-".concat(t)}))};e.prototype.changeEventHandler=function(e){var t=this;var r=this.queryItems();r.forEach((function(r,a){r.selected=r===e.target;if(r.selected){t.changedEvent.emit({index:a})}}))};e.prototype.render=function(){return h(Host,{key:"e1b028b665dc887f457b45256b5327284e8f010c","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:"e4ecdc5a88870dfc3444b3b8d4bae25e7a3af750"}))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsTabBar.style=mdsTabBarCss();export{MdsTabBar as mds_tab_bar};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{b as queryChildrenBySlot}from"./slot-AEckDMXh.js";import{s as setAttributeIfEmpty,h as hashRandomValue}from"./aria-Cvhn9asj.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsTabCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-tab-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-direction-vertical-columns:auto auto;--mds-tab-item-default-background:#0000;--mds-tab-item-default-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-tab-item-default-shadow:none;--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-radius:min(calc(var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px))) - var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200))),var(--magma-corner-cap,.5) * var(--private-tab-item-height));--mds-tab-item-selected-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-selected-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);--mds-tab-scroll-behavior:smooth;--mds-tab-scroll-scrollbar-margin:0;--mds-tab-scroll-scrollbar-radius:0;--mds-tab-scroll-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-tab-scroll-scrollbar-thumb-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3);--mds-tab-scroll-scrollbar-track-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-tab-slide-delay:.125s;--mds-tab-tabs-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-tab-tabs-gap:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-overflow-shadow-size:calc(var(--spacing,.0025rem)*600);--mds-tab-tabs-overflow-shadow:0 0 var(--mds-tab-tabs-overflow-shadow-size,calc(var(--spacing,.0025rem)*600)) calc(var(--spacing,.0025rem)*-50) rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.375);--mds-tab-tabs-padding:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-tab-item-height) + var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem)*200)));--mds-tab-tabs-wrapper-margin:0;--mds-tab-tabs-wrapper-outline-opacity:.7;--mds-tab-tabs-wrapper-shadow-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-transition-duration:var(--duration-500,.5s);--private-tab-transition-duration:var(--mds-tab-transition-duration,var(--duration-500,.5s));--private-tab-item-height:calc(var(--spacing,.0025rem)*900);--mds-tab-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-tab-corner-shape:var(--magma-corner-shape,squircle);border-radius:var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));corner-shape:var(--mds-tab-corner-shape,round);display:grid;gap:0 calc(var(--spacing,.0025rem)*600);grid-template-rows:min-content auto;position:relative}:host([size=sm]){--private-tab-item-height:calc(var(--spacing,.0025rem)*700)}:host([animation=slide]) ::slotted(mds-tab-item){--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-shadow:none;--mds-tab-item-selected-background:#0000;--mds-tab-item-selected-shadow:#0000;--mds-tab-item-default-background:#0000;--mds-tab-item-default-shadow:none}.tabs{align-items:flex-start;background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));box-sizing:border-box;display:flex;gap:var(--mds-tab-tabs-gap,calc(var(--spacing,.0025rem)*200));overflow:auto;padding:var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem)*200));scroll-behavior:var(--mds-tab-scroll-behavior);scroll-snap-type:x mandatory;transition-duration:var(--private-tab-transition-duration);transition-property:background-color;transition-timing-function:var(--mds-tab-transition-timing-function);z-index:0}.tabs,.tabs-wrapper{border-radius:inherit;corner-shape:inherit;position:relative}.tabs-wrapper{display:grid;flex-shrink:0;margin:var(--mds-tab-tabs-wrapper-margin,0);max-width:max-content;overflow:hidden}.tabs-wrapper--fill{max-width:100%}.tabs-wrapper:after{border-radius:inherit;corner-shape:inherit;border-radius:var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:var(--mds-tab-tabs-wrapper-shadow);content:"";inset:0;opacity:var(--mds-tab-tabs-wrapper-outline-opacity,.7);pointer-events:none;position:absolute;transition-duration:var(--private-tab-transition-duration);transition-duration:var(--mds-tab-transition-duration,var(--duration-500,.5s));transition-property:box-shadow,opacity;transition-timing-function:var(--mds-tab-transition-timing-function);z-index:1}.contents{--mds-tab-contents-height:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;align-items:stretch;box-sizing:border-box;display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*600);height:var(--mds-tab-contents-height);overflow:auto hidden;position:relative;scroll-behavior:var(--mds-tab-scroll-behavior);scroll-snap-type:x mandatory;scrollbar-width:none;transition-duration:var(--private-tab-transition-duration);transition-property:height;transition-timing-function:var(--mds-tab-transition-timing-function)}.contents::-webkit-scrollbar{display:none}.contents--empty{display:none}::slotted([slot=content]){flex-basis:0;flex-grow:1;min-width:100%;scroll-snap-align:start;width:100%}::slotted([slot=content][mds-tab-content-hidden]){display:none!important}.slider{--mds-tab-slider-offset-x:0;--mds-tab-slider-offset-y:0;--mds-tab-slider-width:0;--mds-tab-slider-height:0;background-color:var(--mds-tab-item-selected-background);border-radius:var(--mds-tab-item-radius);box-shadow:var(--mds-tab-item-selected-shadow);corner-shape:var(--mds-tab-corner-shape);height:var(--mds-tab-slider-height);inset:0 auto auto 0;pointer-events:none;position:absolute;transform:translate(var(--mds-tab-slider-offset-x),var(--mds-tab-slider-offset-y));transition-duration:var(--mds-tab-transition-duration,var(--duration-500,.5s));transition-property:background-color,box-shadow,transform,width;transition-timing-function:var(--mds-tab-transition-timing-function);width:var(--mds-tab-slider-width);will-change:height,transform,width;z-index:-1}.slider--still{transition-property:background-color,box-shadow}::slotted(mds-tab-item){position:relative;z-index:1}:host([direction=vertical]){--mds-tab-tabs-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));grid-template-columns:var(--mds-tab-direction-vertical-columns,auto auto);grid-template-rows:1fr}:host([direction=vertical]) .tabs{align-self:start;flex-direction:column}:host([direction=vertical]) .tabs-wrapper{align-self:start;max-width:none}:host([direction=vertical][fill]) :is(.tabs,.tabs-wrapper){align-self:auto}:host([direction=vertical]) .tabs-wrapper--no-content{grid-column:1/-1}:host([direction=vertical])::slotted(mds-tab-item){width:100%}:host(:not([scrollbar])) .tabs{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([scrollbar])) .tabs::-webkit-scrollbar{display:none}:host([scrollbar]) .tabs::-webkit-scrollbar{height:var(--mds-tab-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-tab-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([scrollbar]) .tabs::-webkit-scrollbar-track{background-color:var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--mds-tab-scroll-scrollbar-radius,0);margin-block:var(--mds-tab-scroll-scrollbar-margin,0);margin-inline:var(--mds-tab-scroll-scrollbar-margin,0)}:host([scrollbar]) .tabs::-webkit-scrollbar-thumb{background-color:var(--mds-tab-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3));border-radius:var(--mds-tab-scroll-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.tabs{scrollbar-color:var(--mds-tab-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3)) var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));scrollbar-width:thin}}.tabs-wrapper-overflow-left,.tabs-wrapper-overflow-right{--size:calc(var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200)) * 2);--offset-outside:calc(var(--size) + var(--mds-tab-tabs-overflow-shadow-size,calc(var(--spacing,.0025rem) * 600)));background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));border-radius:100%;box-shadow:var(--mds-tab-tabs-overflow-shadow);content:"";display:inline-flex;height:auto;pointer-events:none;position:absolute;transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:var(--size);z-index:2}.tabs-wrapper-overflow-left{inset:0 auto 0 0;transform:translateX(calc(var(--offset-outside)*-1))}.tabs-wrapper-overflow-right{inset:0 0 0 auto;transform:translateX(var(--offset-outside))}.tabs-wrapper-overflow-left--show{transform:translate(-100%)}.tabs-wrapper-overflow-right--show{transform:translate(100%)}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-tab-item-selected-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([pref-contrast=more]){--mds-tab-item-selected-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-tab-tabs-wrapper-outline-opacity:.3}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-transition-duration:0s}@media (prefers-reduced-motion:reduce){:host{--mds-tab-scroll-behavior:auto}:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-tab-item-selected-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-item-selected-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-tab-tabs-wrapper-outline-opacity:.3}}'};var MdsTab=/** @class */function(){function t(t){var a=this;registerInstance(this,t);this.changedEvent=createEvent(this,"mdsTabChange",7);this.currentItemIndex=-1;this.tabItems=[];this.contentItems=[];this.sliderWidth=-1;this.sliderHeight=-1;this.sliderOffsetX=-1;this.sliderOffsetY=-1;
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{b as queryChildrenBySlot}from"./slot-AEckDMXh.js";import{s as setAttributeIfEmpty,h as hashRandomValue}from"./aria-DwKxtKwS.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var mdsTabCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-tab-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-direction-vertical-columns:auto auto;--mds-tab-item-default-background:#0000;--mds-tab-item-default-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-tab-item-default-shadow:none;--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-radius:min(calc(var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px))) - var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200))),var(--magma-corner-cap,.5) * var(--private-tab-item-height));--mds-tab-item-selected-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-selected-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);--mds-tab-scroll-behavior:smooth;--mds-tab-scroll-scrollbar-margin:0;--mds-tab-scroll-scrollbar-radius:0;--mds-tab-scroll-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-tab-scroll-scrollbar-thumb-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3);--mds-tab-scroll-scrollbar-track-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-tab-slide-delay:.125s;--mds-tab-tabs-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-tab-tabs-gap:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-overflow-shadow-size:calc(var(--spacing,.0025rem)*600);--mds-tab-tabs-overflow-shadow:0 0 var(--mds-tab-tabs-overflow-shadow-size,calc(var(--spacing,.0025rem)*600)) calc(var(--spacing,.0025rem)*-50) rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.375);--mds-tab-tabs-padding:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-tab-item-height) + var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem)*200)));--mds-tab-tabs-wrapper-margin:0;--mds-tab-tabs-wrapper-outline-opacity:.7;--mds-tab-tabs-wrapper-shadow-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-transition-duration:var(--duration-500,.5s);--private-tab-transition-duration:var(--mds-tab-transition-duration,var(--duration-500,.5s));--private-tab-item-height:calc(var(--spacing,.0025rem)*900);--mds-tab-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-tab-corner-shape:var(--magma-corner-shape,squircle);border-radius:var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));corner-shape:var(--mds-tab-corner-shape,round);display:grid;gap:0 calc(var(--spacing,.0025rem)*600);grid-template-rows:min-content auto;position:relative}:host([size=sm]){--private-tab-item-height:calc(var(--spacing,.0025rem)*700)}:host([animation=slide]) ::slotted(mds-tab-item){--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-shadow:none;--mds-tab-item-selected-background:#0000;--mds-tab-item-selected-shadow:#0000;--mds-tab-item-default-background:#0000;--mds-tab-item-default-shadow:none}.tabs{align-items:flex-start;background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));box-sizing:border-box;display:flex;gap:var(--mds-tab-tabs-gap,calc(var(--spacing,.0025rem)*200));overflow:auto;padding:var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem)*200));scroll-behavior:var(--mds-tab-scroll-behavior);scroll-snap-type:x mandatory;transition-duration:var(--private-tab-transition-duration);transition-property:background-color;transition-timing-function:var(--mds-tab-transition-timing-function);z-index:0}.tabs,.tabs-wrapper{border-radius:inherit;corner-shape:inherit;position:relative}.tabs-wrapper{display:grid;flex-shrink:0;margin:var(--mds-tab-tabs-wrapper-margin,0);max-width:max-content;overflow:hidden}.tabs-wrapper--fill{max-width:100%}.tabs-wrapper:after{border-radius:inherit;corner-shape:inherit;border-radius:var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:var(--mds-tab-tabs-wrapper-shadow);content:"";inset:0;opacity:var(--mds-tab-tabs-wrapper-outline-opacity,.7);pointer-events:none;position:absolute;transition-duration:var(--private-tab-transition-duration);transition-duration:var(--mds-tab-transition-duration,var(--duration-500,.5s));transition-property:box-shadow,opacity;transition-timing-function:var(--mds-tab-transition-timing-function);z-index:1}.contents{--mds-tab-contents-height:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;align-items:stretch;box-sizing:border-box;display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*600);height:var(--mds-tab-contents-height);overflow:auto hidden;position:relative;scroll-behavior:var(--mds-tab-scroll-behavior);scroll-snap-type:x mandatory;scrollbar-width:none;transition-duration:var(--private-tab-transition-duration);transition-property:height;transition-timing-function:var(--mds-tab-transition-timing-function)}.contents::-webkit-scrollbar{display:none}.contents--empty{display:none}::slotted([slot=content]){flex-basis:0;flex-grow:1;min-width:100%;scroll-snap-align:start;width:100%}::slotted([slot=content][mds-tab-content-hidden]){display:none!important}.slider{--mds-tab-slider-offset-x:0;--mds-tab-slider-offset-y:0;--mds-tab-slider-width:0;--mds-tab-slider-height:0;background-color:var(--mds-tab-item-selected-background);border-radius:var(--mds-tab-item-radius);box-shadow:var(--mds-tab-item-selected-shadow);corner-shape:var(--mds-tab-corner-shape);height:var(--mds-tab-slider-height);inset:0 auto auto 0;pointer-events:none;position:absolute;transform:translate(var(--mds-tab-slider-offset-x),var(--mds-tab-slider-offset-y));transition-duration:var(--mds-tab-transition-duration,var(--duration-500,.5s));transition-property:background-color,box-shadow,transform,width;transition-timing-function:var(--mds-tab-transition-timing-function);width:var(--mds-tab-slider-width);will-change:height,transform,width;z-index:-1}.slider--still{transition-property:background-color,box-shadow}::slotted(mds-tab-item){position:relative;z-index:1}:host([direction=vertical]){--mds-tab-tabs-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));grid-template-columns:var(--mds-tab-direction-vertical-columns,auto auto);grid-template-rows:1fr}:host([direction=vertical]) .tabs{align-self:start;flex-direction:column}:host([direction=vertical]) .tabs-wrapper{align-self:start;max-width:none}:host([direction=vertical][fill]) :is(.tabs,.tabs-wrapper){align-self:auto}:host([direction=vertical]) .tabs-wrapper--no-content{grid-column:1/-1}:host([direction=vertical])::slotted(mds-tab-item){width:100%}:host(:not([scrollbar])) .tabs{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([scrollbar])) .tabs::-webkit-scrollbar{display:none}:host([scrollbar]) .tabs::-webkit-scrollbar{height:var(--mds-tab-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-tab-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([scrollbar]) .tabs::-webkit-scrollbar-track{background-color:var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--mds-tab-scroll-scrollbar-radius,0);margin-block:var(--mds-tab-scroll-scrollbar-margin,0);margin-inline:var(--mds-tab-scroll-scrollbar-margin,0)}:host([scrollbar]) .tabs::-webkit-scrollbar-thumb{background-color:var(--mds-tab-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3));border-radius:var(--mds-tab-scroll-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.tabs{scrollbar-color:var(--mds-tab-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3)) var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));scrollbar-width:thin}}.tabs-wrapper-overflow-left,.tabs-wrapper-overflow-right{--size:calc(var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200)) * 2);--offset-outside:calc(var(--size) + var(--mds-tab-tabs-overflow-shadow-size,calc(var(--spacing,.0025rem) * 600)));background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));border-radius:100%;box-shadow:var(--mds-tab-tabs-overflow-shadow);content:"";display:inline-flex;height:auto;pointer-events:none;position:absolute;transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:var(--size);z-index:2}.tabs-wrapper-overflow-left{inset:0 auto 0 0;transform:translateX(calc(var(--offset-outside)*-1))}.tabs-wrapper-overflow-right{inset:0 0 0 auto;transform:translateX(var(--offset-outside))}.tabs-wrapper-overflow-left--show{transform:translate(-100%)}.tabs-wrapper-overflow-right--show{transform:translate(100%)}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-tab-item-selected-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([pref-contrast=more]){--mds-tab-item-selected-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-tab-tabs-wrapper-outline-opacity:.3}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-transition-duration:0s}@media (prefers-reduced-motion:reduce){:host{--mds-tab-scroll-behavior:auto}:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-tab-item-selected-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-item-selected-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-tab-tabs-wrapper-outline-opacity:.3}}'};var MdsTab=/** @class */function(){function t(a){var r=this.constructor;var e=this;if(r===t)registerInstance(this,a);this.changedEvent=createEvent(this,"mdsTabChange",7);this.currentItemIndex=-1;this.tabItems=[];this.contentItems=[];this.sliderWidth=-1;this.sliderHeight=-1;this.sliderOffsetX=-1;this.sliderOffsetY=-1;
2
2
  /** the slider slides only to follow a selection, any other move draws it in place */this.sliderSlides=false;this.overflowLeft=false;this.overflowRight=false;
3
3
  /** every item is a link: the strip is a navigation, not a tablist */this.navigation=false;this.hasContent=false;
4
4
  /**
@@ -6,28 +6,48 @@ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from".
6
6
  */this.direction="horizontal";
7
7
  /**
8
8
  * Sets the animation type of the selection transition between `mds-tab-item` elements
9
- */this.animation="slide";this.queryContentItems=function(){return queryChildrenBySlot(a.element,"content")};this.updateContentItems=function(){a.contentItems=a.queryContentItems();a.hasContent=a.contentItems.length>0;
9
+ */this.animation="slide";this.queryContentItems=function(){return queryChildrenBySlot(e.element,"content")};this.updateContentItems=function(){e.contentItems=e.queryContentItems();e.hasContent=e.contentItems.length>0;
10
10
  // a panel past the last item has no tab to open it: it stays hidden, named by nothing
11
- if(a.contentItems.length>a.tabItems.length){console.warn("mds-tab: ".concat(a.contentItems.length," content panels for ").concat(a.tabItems.length," mds-tab-item, the panels past the last item are never shown"))}a.contentItems.forEach((function(t,r){setAttributeIfEmpty(t,"role","tabpanel");if(r<a.tabItems.length){setAttributeIfEmpty(t,"aria-labelledby",a.tabItems[r].id)}}));a.selectContentItem()};this.setTabsItems=function(){a.tabItems=Array.from(a.element.querySelectorAll("mds-tab-item"));a.currentItemIndex=-1;a.navigation=a.tabItems.length>0&&a.tabItems.every((function(t){var a;return((a=t.href)!==null&&a!==void 0?a:"")!==""}));a.tabItems.forEach((function(t){t.size=a.size;t.direction=a.direction;t.animation=a.animation}));a.tabItems.forEach((function(t,r){if(t.id===""){setAttributeIfEmpty(t,"id",hashRandomValue("mds-tab-item"))}if(t.selected){a.currentItemIndex=r;a.currentItemEl=a.tabItems[a.currentItemIndex]}}))};this.updateTabItems=function(){a.setTabsItems();if(a.overflow)a.updateOverflowState();a.updateSliderPosition();a.scrollTabs(a.currentItemIndex)};this.unsetOverflowCheck=function(){a.tabs.removeEventListener("scroll",a.updateOverflowState);a.observer.unobserve(a.tabsContainer)};this.initOverflowCheck=function(){a.tabs.addEventListener("scroll",a.updateOverflowState);a.observer=new ResizeObserver((function(){if(a.overflow)a.updateOverflowState();a.updateSliderPosition()}));a.observer.observe(a.tabsContainer);a.updateOverflowState()};this.updateOverflowState=function(){if(a.tabs==null||a.tabsContainer==null)return;var t=a.tabsContainer.offsetWidth;var r=a.tabs.scrollWidth;var e=a.tabs.scrollLeft;a.overflowLeft=e>0;a.overflowRight=Math.ceil(e+t)<r-1};
11
+ if(e.contentItems.length>e.tabItems.length){console.warn("mds-tab: ".concat(e.contentItems.length," content panels for ").concat(e.tabItems.length," mds-tab-item, the panels past the last item are never shown"))}e.contentItems.forEach((function(t,a){setAttributeIfEmpty(t,"role","tabpanel");if(a<e.tabItems.length){setAttributeIfEmpty(t,"aria-labelledby",e.tabItems[a].id)}}));e.selectContentItem()};this.setTabsItems=function(){e.tabItems=Array.from(e.element.querySelectorAll("mds-tab-item"));e.currentItemIndex=-1;e.navigation=e.tabItems.length>0&&e.tabItems.every((function(t){var a;return((a=t.href)!==null&&a!==void 0?a:"")!==""}));e.tabItems.forEach((function(t){t.size=e.size;t.direction=e.direction;t.animation=e.animation}));e.tabItems.forEach((function(t,a){if(t.id===""){setAttributeIfEmpty(t,"id",hashRandomValue("mds-tab-item"))}if(t.selected){e.currentItemIndex=a;e.currentItemEl=e.tabItems[e.currentItemIndex]}}))};this.updateTabItems=function(){e.setTabsItems();if(e.overflow)e.updateOverflowState();e.updateSliderPosition();e.scrollTabs(e.currentItemIndex)};
12
+ // The strip is watched while it is drawn and in the page: its scroll for the overflow shadows,
13
+ // its size for those and for the slider. A strip removed before its first load has neither
14
+ // parts nor observer: its teardown used to read them and throw (#1245)
15
+ this.unsetOverflowCheck=function(){var t,a;(t=e.tabs)===null||t===void 0?void 0:t.removeEventListener("scroll",e.updateOverflowState);(a=e.observer)===null||a===void 0?void 0:a.disconnect();e.observer=undefined};this.initOverflowCheck=function(){
16
+ // not drawn yet: componentDidLoad starts the check. Out of the page (removed before its load
17
+ // ended): connectedCallback starts it when the strip comes back
18
+ if(e.tabs==null||e.tabsContainer==null||!e.element.isConnected)return;
19
+ // one check at a time: a second observer would keep running after the teardown
20
+ e.unsetOverflowCheck();e.tabs.addEventListener("scroll",e.updateOverflowState);e.observer=new ResizeObserver((function(){if(e.overflow)e.updateOverflowState();e.updateSliderPosition()}));e.observer.observe(e.tabsContainer);e.updateOverflowState()};this.updateOverflowState=function(){if(e.tabs==null||e.tabsContainer==null)return;var t=e.tabsContainer.offsetWidth;var a=e.tabs.scrollWidth;var r=e.tabs.scrollLeft;e.overflowLeft=r>0;e.overflowRight=Math.ceil(r+t)<a-1};
12
21
  /**
13
22
  * Moves the slider under the selected item. It slides there only to follow a selection
14
23
  * (`slide`): on load, after a change of the layout, or when the strip is shown again after
15
24
  * being hidden, it is drawn in place, so the strip appears with the selected tab already
16
25
  * marked (#924).
17
- */this.updateSliderPosition=function(t){if(t===void 0){t=false}if(a.animation==="slide"&&a.currentItemIndex>=0){self.requestAnimationFrame((function(){
26
+ */this.updateSliderPosition=function(t){if(t===void 0){t=false}if(e.animation==="slide"&&e.currentItemIndex>=0){self.requestAnimationFrame((function(){
18
27
  // a hidden strip has no box, and every measure reads 0: the slider keeps its place
19
28
  // instead of collapsing in the corner, and the observer moves it once the strip is shown
20
- if(!a.currentItemEl.offsetWidth)return;a.sliderSlides=t;a.sliderWidth=a.currentItemEl.offsetWidth;a.sliderHeight=a.currentItemEl.offsetHeight;a.sliderOffsetX=a.currentItemEl.offsetLeft-a.tabsContainer.offsetLeft;a.sliderOffsetY=a.currentItemEl.offsetTop-a.tabsContainer.offsetTop+a.currentItemEl.offsetHeight-a.sliderHeight}))}else{a.sliderHeight=-1;a.sliderOffsetX=-1;a.sliderOffsetY=-1;a.sliderWidth=-1}};this.scrollTabs=function(t){
29
+ if(!e.currentItemEl.offsetWidth)return;e.sliderSlides=t;e.sliderWidth=e.currentItemEl.offsetWidth;e.sliderHeight=e.currentItemEl.offsetHeight;e.sliderOffsetX=e.currentItemEl.offsetLeft-e.tabsContainer.offsetLeft;e.sliderOffsetY=e.currentItemEl.offsetTop-e.tabsContainer.offsetTop+e.currentItemEl.offsetHeight-e.sliderHeight}))}else{e.sliderHeight=-1;e.sliderOffsetX=-1;e.sliderOffsetY=-1;e.sliderWidth=-1}};this.scrollTabs=function(t){
21
30
  // no item selected: nothing to bring into view
22
- if(t<0||t>=a.tabItems.length)return;var r=a.tabItems[t];setTimeout((function(){a.tabs.scrollLeft=r.offsetLeft-a.tabs.offsetLeft-a.tabs.offsetWidth/2+r.offsetWidth/2;a.updateOverflowState()}),cssDurationToMilliseconds(a.cssSlideDelayDuration))};this.selectContentItem=function(){a.contentItems.forEach((function(t,r){t.setAttribute("mds-tab-content-hidden","");if(r===a.currentItemIndex){t.removeAttribute("mds-tab-content-hidden")}}))};this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var t=window.getComputedStyle(a.element);a.cssSlideDelayDuration=t.getPropertyValue("--mds-tab-slide-delay")}}t.prototype.componentWillLoad=function(){this.setTabsItems();this.hasContent=this.queryContentItems().length>0};t.prototype.disconnectedCallback=function(){this.unsetOverflowCheck()};t.prototype.componentDidLoad=function(){var t,a,r,e;this.updateCSSCustomProps();this.tabs=(t=this.element.shadowRoot)===null||t===void 0?void 0:t.querySelector(".tabs");this.tabsContainer=(a=this.element.shadowRoot)===null||a===void 0?void 0:a.querySelector(".tabs-wrapper");
31
+ if(t<0||t>=e.tabItems.length)return;var a=e.tabItems[t];setTimeout((function(){e.tabs.scrollLeft=a.offsetLeft-e.tabs.offsetLeft-e.tabs.offsetWidth/2+a.offsetWidth/2;e.updateOverflowState()}),cssDurationToMilliseconds(e.cssSlideDelayDuration))};this.selectContentItem=function(){e.contentItems.forEach((function(t,a){t.setAttribute("mds-tab-content-hidden","");if(a===e.currentItemIndex){t.removeAttribute("mds-tab-content-hidden")}}))};this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var t=window.getComputedStyle(e.element);e.cssSlideDelayDuration=t.getPropertyValue("--mds-tab-slide-delay")}}t.prototype.componentWillLoad=function(){this.setTabsItems();this.hasContent=this.queryContentItems().length>0};
32
+ // a strip moved in the page is disconnected and connected again, without loading again: the
33
+ // check of its scroll and size starts again here. On the first connection it is not drawn yet,
34
+ // and componentDidLoad starts it
35
+ t.prototype.connectedCallback=function(){this.initOverflowCheck()};t.prototype.disconnectedCallback=function(){this.unsetOverflowCheck()};t.prototype.componentDidLoad=function(){var t,a,r,e;this.updateCSSCustomProps();this.tabs=(t=this.element.shadowRoot)===null||t===void 0?void 0:t.querySelector(".tabs");this.tabsContainer=(a=this.element.shadowRoot)===null||a===void 0?void 0:a.querySelector(".tabs-wrapper");
23
36
  // attach onSlotChange event here to prevent fire event before componentDidLoad
24
37
  (e=(r=this.element.shadowRoot)===null||r===void 0?void 0:r.querySelector("slot"))===null||e===void 0?void 0:e.addEventListener("slotchange",this.updateTabItems.bind(this));this.updateContentItems();this.initOverflowCheck();this.updateSliderPosition();if(this.currentItemIndex>0){this.scrollTabs(this.currentItemIndex)}};t.prototype.changeEventHandler=function(t){var a=this;
38
+ // the focus goes back to the selected item only when it was in the strip: an item selected
39
+ // from code, while the user is elsewhere, does not pull the focus away (#341)
40
+ var r=this.element.matches(":focus-within");
25
41
  // since the external developer can define a custom id
26
42
  // we must find the key from event.detail
27
- this.tabItems.forEach((function(r,e){var s;if(r.id===t.detail.target.id){a.changedEvent.emit({id:e,value:r.value});a.currentItemIndex=e;a.currentItemEl=a.tabItems[a.currentItemIndex];a.scrollTabs(e);r.selected=true;
43
+ this.tabItems.forEach((function(e,s){var i;if(e.id===t.detail.target.id){a.changedEvent.emit({id:s,value:e.value});a.currentItemIndex=s;a.currentItemEl=a.tabItems[a.currentItemIndex];a.scrollTabs(s);e.selected=true;
28
44
  // for some reason, mds-tab-item looses focus when we click Enter with the keyboard,
29
45
  // which forces user to find again where the tab is with keyboard
30
- var i=(s=a.tabItems[a.currentItemIndex].shadowRoot)===null||s===void 0?void 0:s.querySelector("mds-button");setTimeout((function(){i.focus()}),0);return}r.selected=undefined}));this.selectContentItem();this.updateSliderPosition(true)};t.prototype.focusEventHandler=function(t){var a=this;this.tabItems.forEach((function(r,e){if(r.id===t.detail.target.id){a.scrollTabs(e)}}))};t.prototype.handleAnimationChange=function(t){this.tabItems.forEach((function(a){a.animation=t}));this.updateSliderPosition()};t.prototype.handleDirectionChange=function(t){this.tabItems.forEach((function(a){a.direction=t}))};t.prototype.handleScrollbarChange=function(t){if(t===false){this.scrollbar=undefined}};t.prototype.handleFillChange=function(t){if(t===false){this.fill=undefined}};t.prototype.handleOverflowChange=function(t){if(!t){this.unsetOverflowCheck();return}this.initOverflowCheck()};t.prototype.handleSizeChange=function(t){this.tabItems.forEach((function(a){a.size=t}))};t.prototype.render=function(){return h(Host,{key:"58be0df0b0c905523f4d0beede4715d932485443","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:"e0780f9195f420c4e3a4bd2db19180fe30a85439",class:clsx("tabs-wrapper",this.fill&&"tabs-wrapper--fill",!this.hasContent&&"tabs-wrapper--no-content")},this.overflow&&h("div",{key:"c296a8cbcd98e7f30fb307cd40488922de10b6f6",class:clsx("tabs-wrapper-overflow-left",this.overflowLeft&&"tabs-wrapper-overflow-left--show")}),this.overflow&&h("div",{key:"658a74925e94d87f1e34a22505f33926e4026c79",class:clsx("tabs-wrapper-overflow-right",this.overflowRight&&"tabs-wrapper-overflow-right--show")}),h("div",{key:"7468e4809d27db72f90fc3de933476140a5174e3",class:"tabs",part:"tabs",role:this.navigation?undefined:"tablist"},h("slot",{key:"b2fed893724483067ef90578231cefc4089d5f76"}),this.animation==="slide"&&h("div",{key:"30e2bddb258599cef8f849c4e1ac1abe4e060a87",class:clsx("slider",!this.sliderSlides&&"slider--still"),part:"slider",style:{"--mds-tab-slider-width":"".concat(this.sliderWidth,"px"),"--mds-tab-slider-height":"".concat(this.sliderHeight,"px"),"--mds-tab-slider-offset-x":"".concat(this.sliderOffsetX,"px"),"--mds-tab-slider-offset-y":"".concat(this.sliderOffsetY,"px")}}))),h("div",{key:"1de02410dd2a846e3017164c99b0518ff90016ed",class:clsx("contents",!this.hasContent&&"contents--empty"),part:"contents"},h("slot",{key:"53ddc415fb8f8fde0c648610704032696f6ec9a4",name:"content",onSlotchange:this.updateContentItems})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{animation:[{handleAnimationChange:0}],direction:[{handleDirectionChange:0}],scrollbar:[{handleScrollbarChange:0}],fill:[{handleFillChange:0}],overflow:[{handleOverflowChange:0}],size:[{handleSizeChange:0}]}},enumerable:false,configurable:true});return t}();MdsTab.style=mdsTabCss();var mdsTabItemCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-item-selected-shadow:inherit;--mds-tab-item-radius:inherit;corner-shape:var(--magma-corner-shape,squircle);cursor:pointer;display:flex}:host([animation=slide]){--mds-tab-item-hover-background:#0000;--mds-tab-item-selected-background:#0000;--mds-tab-item-selected-shadow:none;--mds-tab-item-default-background:#0000;--mds-tab-item-default-shadow:none;--mds-tab-item-hover-shadow:none}.button{--mds-button-background:var(--mds-tab-item-default-background);--mds-button-color:var(--mds-tab-item-default-color);--mds-button-radius:var(--mds-tab-item-radius);--mds-button-border-default-opacity:0;--mds-button-corner-shape:var(--mds-tab-item-corner-shape,var(--magma-corner-shape,squircle));aspect-ratio:auto;box-shadow:var(--mds-tab-item-default-shadow,none);flex-grow:1}.button:hover{--mds-button-background:var(--mds-tab-item-hover-background);--mds-button-color:var(--mds-tab-item-hover-color);box-shadow:var(--mds-tab-item-hover-shadow,var(--mds-tab-item-default-shadow,none))}.button.selected,.button.selected:hover{--mds-button-background:var(--mds-tab-item-selected-background);--mds-button-color:var(--mds-tab-item-selected-color);box-shadow:var(--mds-tab-item-selected-shadow);pointer-events:none}:host([disabled]){pointer-events:none}:host([direction=vertical]){width:100%}:host([direction=vertical]) .button{justify-content:start}:host([pref-contrast=more]){--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-selected-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-selected-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}"};var MdsTabItem=/** @class */function(){function t(t){var a=this;registerInstance(this,t);this.selectedEvent=createEvent(this,"mdsTabItemSelect",7);this.focusedEvent=createEvent(this,"mdsTabItemFocus",7);
46
+ var o=(i=a.tabItems[a.currentItemIndex].shadowRoot)===null||i===void 0?void 0:i.querySelector("mds-button");if(r){setTimeout((function(){o.focus()}),0)}return}e.selected=undefined}));this.selectContentItem();this.updateSliderPosition(true)};t.prototype.focusEventHandler=function(t){var a=this;this.tabItems.forEach((function(r,e){if(r.id===t.detail.target.id){a.scrollTabs(e)}}))};t.prototype.handleAnimationChange=function(t){this.tabItems.forEach((function(a){a.animation=t}));this.updateSliderPosition()};t.prototype.handleDirectionChange=function(t){this.tabItems.forEach((function(a){a.direction=t}))};t.prototype.handleScrollbarChange=function(t){if(t===false){this.scrollbar=undefined}};t.prototype.handleFillChange=function(t){if(t===false){this.fill=undefined}};
47
+ // the strip is watched whatever overflow says, since its observer moves the slider too: turned
48
+ // off, the check used to stop and the slider no longer followed the layout; turned on, a
49
+ // second observer started next to the first. The shadows only need the current state
50
+ t.prototype.handleOverflowChange=function(t){if(t)this.updateOverflowState()};t.prototype.handleSizeChange=function(t){this.tabItems.forEach((function(a){a.size=t}))};t.prototype.render=function(){return h(Host,{key:"8e3ed3a7fd00a35bd6e3295708aade46e1805198","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:"ddee4ddaa01a5ce04c0f01fb7add6fe3ff7794fd",class:clsx("tabs-wrapper",this.fill&&"tabs-wrapper--fill",!this.hasContent&&"tabs-wrapper--no-content")},this.overflow&&h("div",{key:"973a0e3882b4367ffbf8999a5ed831a42189bc72",class:clsx("tabs-wrapper-overflow-left",this.overflowLeft&&"tabs-wrapper-overflow-left--show")}),this.overflow&&h("div",{key:"7b68531f75994ceb71a5042f570b8418d727eb6c",class:clsx("tabs-wrapper-overflow-right",this.overflowRight&&"tabs-wrapper-overflow-right--show")}),h("div",{key:"b3fb3257a3768504c985625e4d62cf49ac4b6869",class:"tabs",part:"tabs",role:this.navigation?undefined:"tablist"},h("slot",{key:"fdfb35af098e351286bf17ddc32b9775fbf24cb8"}),this.animation==="slide"&&h("div",{key:"70abec64979148220b64d0478558d2345c239561",class:clsx("slider",!this.sliderSlides&&"slider--still"),part:"slider",style:{"--mds-tab-slider-width":"".concat(this.sliderWidth,"px"),"--mds-tab-slider-height":"".concat(this.sliderHeight,"px"),"--mds-tab-slider-offset-x":"".concat(this.sliderOffsetX,"px"),"--mds-tab-slider-offset-y":"".concat(this.sliderOffsetY,"px")}}))),h("div",{key:"6439fa4bd9dd90a8fcc83558b3198006f560b5dc",class:clsx("contents",!this.hasContent&&"contents--empty"),part:"contents"},h("slot",{key:"1493a4088a5b1c99b932418d22f0692f870fa268",name:"content",onSlotchange:this.updateContentItems})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{animation:[{handleAnimationChange:0}],direction:[{handleDirectionChange:0}],scrollbar:[{handleScrollbarChange:0}],fill:[{handleFillChange:0}],overflow:[{handleOverflowChange:0}],size:[{handleSizeChange:0}]}},enumerable:false,configurable:true});return t}();MdsTab.style=mdsTabCss();var mdsTabItemCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-item-selected-shadow:inherit;--mds-tab-item-radius:inherit;corner-shape:var(--magma-corner-shape,squircle);cursor:pointer;display:flex}:host([animation=slide]){--mds-tab-item-hover-background:#0000;--mds-tab-item-selected-background:#0000;--mds-tab-item-selected-shadow:none;--mds-tab-item-default-background:#0000;--mds-tab-item-default-shadow:none;--mds-tab-item-hover-shadow:none}.button{--mds-button-background:var(--mds-tab-item-default-background);--mds-button-color:var(--mds-tab-item-default-color);--mds-button-radius:var(--mds-tab-item-radius);--mds-button-border-default-opacity:0;--mds-button-corner-shape:var(--mds-tab-item-corner-shape,var(--magma-corner-shape,squircle));aspect-ratio:auto;box-shadow:var(--mds-tab-item-default-shadow,none);flex-grow:1}.button:hover{--mds-button-background:var(--mds-tab-item-hover-background);--mds-button-color:var(--mds-tab-item-hover-color);box-shadow:var(--mds-tab-item-hover-shadow,var(--mds-tab-item-default-shadow,none))}.button.selected,.button.selected:hover{--mds-button-background:var(--mds-tab-item-selected-background);--mds-button-color:var(--mds-tab-item-selected-color);box-shadow:var(--mds-tab-item-selected-shadow);pointer-events:none}:host([disabled]){pointer-events:none}:host([direction=vertical]){width:100%}:host([direction=vertical]) .button{justify-content:start}:host([pref-contrast=more]){--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-selected-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-selected-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}"};var MdsTabItem=/** @class */function(){function t(a){var r=this.constructor;var e=this;if(r===t)registerInstance(this,a);this.selectedEvent=createEvent(this,"mdsTabItemSelect",7);this.focusedEvent=createEvent(this,"mdsTabItemFocus",7);
31
51
  /**
32
52
  * Specifies the horizontal position of the icon displayed in the tab item
33
53
  */this.iconPosition="left";
@@ -36,12 +56,12 @@ var i=(s=a.tabItems[a.currentItemIndex].shadowRoot)===null||s===void 0?void 0:s.
36
56
  */this.type="submit";
37
57
  /**
38
58
  * Specifies the size for the tab item
39
- */this.size="md";this.isLink=function(){var t;return((t=a.href)!==null&&t!==void 0?t:"")!==""};this.toggle=function(t){if(a.disabled){return}
59
+ */this.size="md";this.isLink=function(){var t;return((t=e.href)!==null&&t!==void 0?t:"")!==""};this.toggle=function(t){if(e.disabled){return}
40
60
  // a modifier click on a link opens it elsewhere (new tab or window): the strip stays as it is
41
- if(a.isLink()&&(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){return}a.isSelected=!a.isSelected;if(a.isSelected){a.selectedEvent.emit({target:a.element,value:a.value})}};this.focus=function(){a.focusedEvent.emit({target:a.element,value:a.value})}}t.prototype.validateActive=function(t){
61
+ if(e.isLink()&&(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){return}e.isSelected=!e.isSelected;if(e.isSelected){e.selectedEvent.emit({target:e.element,value:e.value})}};this.focus=function(){e.focusedEvent.emit({target:e.element,value:e.value})}}t.prototype.validateActive=function(t){
42
62
  // the item that announced its selection gets `selected` back from the parent: it has
43
63
  // announced it already, a second time would double the parent's mdsTabChange
44
- if(this.isSelected===t)return;this.isSelected=t;if(this.isSelected){this.selectedEvent.emit({target:this.element,value:this.value})}};t.prototype.componentWillLoad=function(){this.hasText=this.element.innerHTML!==""};t.prototype.render=function(){var t;return h(Host,{key:"1bd2e5db6838e13bad1315c6ea68afe6394d5d1b","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-button",{key:"de1bf92ee7e18246a70bbee0e7a823fc10dbaec7",class:clsx("button",this.selected?"selected":""),await:this.await,disabled:(t=this.disabled)!==null&&t!==void 0?t:undefined,href:this.href,icon:this.icon,iconPosition:this.iconPosition,onKeyDown:this.focus,onClick:this.toggle,part:"button",
64
+ if(this.isSelected===t)return;this.isSelected=t;if(this.isSelected){this.selectedEvent.emit({target:this.element,value:this.value})}};t.prototype.componentWillLoad=function(){this.hasText=this.element.innerHTML!==""};t.prototype.render=function(){var t;return h(Host,{key:"deb51f02138c3aa0bdd65e098960e145eb64d77c","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-button",{key:"7a751a266335d07ecd3666bb0efc367a23683c0f",class:clsx("button",this.selected?"selected":""),await:this.await,disabled:(t=this.disabled)!==null&&t!==void 0?t:undefined,href:this.href,icon:this.icon,iconPosition:this.iconPosition,onKeyDown:this.focus,onClick:this.toggle,part:"button",
45
65
  // a tab controls a panel; one with href is a link to another page or place, which
46
66
  // ARIA names as such, the selected one being the current one
47
67
  role:this.isLink()?"link":"tab","aria-current":this.isLink()&&this.selected?"true":undefined,"aria-expanded":this.expanded===undefined?undefined:"".concat(this.expanded),label:this.label,size:this.size,
@@ -1 +1 @@
1
- import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsTableBodyCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-table-row:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-body-background-hover:var(--mds-table-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--mds-table-body-background:var(--mds-table-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-body-background-alt:var(--mds-table-body-background-hover);--mds-table-body-color-alt:var(--mds-table-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-table-body-color:var(--mds-table-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-background:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-body-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-body-transition-duration:var(--duration-200,.2s);--private-table-body-transition-duration:var(--mds-table-body-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));display:table-row-group;overflow:hidden;transition-duration:var(--private-table-body-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host(:last-of-type) ::slotted(:last-of-type){--private-cell-border-color:#0000}:host([interactive]:hover){--mds-table-row-background:var(--mds-table-body-background-hover);--mds-table-row-color:var(--mds-table-body-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))))}:host([selection]){--mds-table-body-background:var(--mds-table-body-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-body-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-body-transition-duration:0s}}'};var MdsTableBody=/** @class */function(){function a(a){registerInstance(this,a)}a.prototype.render=function(){return h(Host,{key:"b22fe5e0cf94a49b51b82b058c994219c32f4065",role:"rowgroup","pref-animation":preferenceStore.state.animation},h("slot",{key:"140031cdddbcbabe2865cb76faac725f09d9a895"}))};return a}();MdsTableBody.style=mdsTableBodyCss();export{MdsTableBody as mds_table_body};
1
+ import{r as registerInstance,h,e as Host}from"./index-CPibDZjX.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var mdsTableBodyCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-table-row:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-body-background-hover:var(--mds-table-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--mds-table-body-background:var(--mds-table-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-body-background-alt:var(--mds-table-body-background-hover);--mds-table-body-color-alt:var(--mds-table-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-table-body-color:var(--mds-table-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-background:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-body-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-body-transition-duration:var(--duration-200,.2s);--private-table-body-transition-duration:var(--mds-table-body-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));display:table-row-group;overflow:hidden;transition-duration:var(--private-table-body-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host(:last-of-type) ::slotted(:last-of-type){--private-cell-border-color:#0000}:host([interactive]:hover){--mds-table-row-background:var(--mds-table-body-background-hover);--mds-table-row-color:var(--mds-table-body-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))))}:host([selection]){--mds-table-body-background:var(--mds-table-body-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-body-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-body-transition-duration:0s}}'};var MdsTableBody=/** @class */function(){function a(t){var e=this.constructor;if(e===a)registerInstance(this,t)}a.prototype.render=function(){return h(Host,{key:"14360a6d3e9429672e0d89bfec86b2e0ec35ed42",role:"rowgroup","pref-animation":preferenceStore.state.animation},h("slot",{key:"8203819e71715b4d3ed6a724e7ed78585179eb33"}))};return a}();MdsTableBody.style=mdsTableBodyCss();export{MdsTableBody as mds_table_body};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsTableFooterCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-table-cell:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-footer-transition-duration:var(--duration-200,.2s);--private-table-footer-transition-duration:var(--mds-table-footer-transition-duration);--mds-table-row-background:var(--mds-table-background);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-top:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;transition-duration:var(--private-table-footer-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions,.selection,::slotted(mds-table-cell){--private-cell-border-color:#0000}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-footer-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-footer-transition-duration:0s}}'};var MdsTableFooter=/** @class */function(){function e(e){registerInstance(this,e);this.hasActions=false}e.prototype.componentWillLoad=function(){var e;
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var mdsTableFooterCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-table-cell:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-footer-transition-duration:var(--duration-200,.2s);--private-table-footer-transition-duration:var(--mds-table-footer-transition-duration);--mds-table-row-background:var(--mds-table-background);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-top:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;transition-duration:var(--private-table-footer-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions,.selection,::slotted(mds-table-cell){--private-cell-border-color:#0000}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-footer-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-footer-transition-duration:0s}}'};var MdsTableFooter=/** @class */function(){function e(t){var o=this.constructor;if(o===e)registerInstance(this,t);this.hasActions=false}e.prototype.componentWillLoad=function(){var e;
2
2
  // the rows with actions have a last column of their own, which the header labels: an empty
3
3
  // cell lines the footer up with it, as the selection cell does with the first column
4
- this.hasActions=((e=this.host.closest("mds-table"))===null||e===void 0?void 0:e.querySelector('mds-table-row > [slot="action"]'))!=null};e.prototype.render=function(){return h(Host,{key:"96c5f9d32b8f4aca64150c72f343293ad324509a",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"d97719b4a810e5ab3e66b3f33fcc3821a1c58e73",class:"selection"}),h("slot",{key:"8b75c9356b11ea5e3681e6bcf659c782c46e0eba"}),this.hasActions&&h("mds-table-cell",{key:"c74aa55c1589f065eeea67d9a483104ac6619c08",class:"actions"}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsTableFooter.style=mdsTableFooterCss();export{MdsTableFooter as mds_table_footer};
4
+ this.hasActions=((e=this.host.closest("mds-table"))===null||e===void 0?void 0:e.querySelector('mds-table-row > [slot="action"]'))!=null};e.prototype.render=function(){return h(Host,{key:"5e71a5aa234dcd3d4c57033102556776e6ef10e8",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"3de1cd2e2f824cecb2ffb107fed0b2f958dbae41",class:"selection"}),h("slot",{key:"9ff616d93ae59620dbb9dcb3d9843192cfd90b32"}),this.hasActions&&h("mds-table-cell",{key:"9a560fff64a49294c5de07db1518beada080c5a2",class:"actions"}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsTableFooter.style=mdsTableFooterCss();export{MdsTableFooter as mds_table_footer};
@@ -1,23 +1,23 @@
1
- var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++){if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||Array.prototype.slice.call(t))};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement,B as Build}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";import{m as miBaselineKeyboardArrowUp}from"./keyboard-arrow-up-Ccz0jCNB.js";import{m as miBaselineKeyboardArrowDown}from"./keyboard-arrow-down-DiWN48aq.js";import{c as clsx}from"./clsx-ChV9xqsO.js";var miBaselineUnfoldMore='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 5.83L15.17 9l1.41-1.41L12 3L7.41 7.59L8.83 9L12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15L12 18.17z"/></svg>';var mdsTableHeaderCellCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial;--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-header-cell-transition-duration:var(--duration-200,.2s);--private-table-header-cell-transition-duration:var(--mds-table-header-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background);border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color)!important;border-top:var(--private-cell-border-width) solid #0000!important;display:table-cell;padding:var(--mds-table-cell-padding);transition-duration:var(--private-table-header-cell-transition-duration);transition-property:background-color,border-color,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));vertical-align:top;white-space:nowrap}.action{margin-inline:calc(var(--spacing,.0025rem)*-200);padding-inline:calc(var(--spacing,.0025rem)*200)}.action:hover,:host([direction=ascending]) .action,:host([direction=descending]) .action{background-color:var(--mds-table-background-alt)}.action::part(label){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);min-height:auto;text-box:trim-both cap alphabetic;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-size-info-label,.75rem);font-weight:var(--tw-font-weight,var(--text-size-info-label--font-weight,700));line-height:var(--tw-leading,var(--text-size-info-label--line-height,1rem))}.action::part(label):where(){text-box:normal}.label{align-items:center;display:inline-flex;height:calc(var(--spacing,.0025rem)*700)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-header-cell-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-header-cell-transition-duration:0s}}'};var cycle=["none","ascending","descending"];
1
+ var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++){if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||Array.prototype.slice.call(t))};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement,B as Build}from"./index-CPibDZjX.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";import{m as miBaselineKeyboardArrowUp}from"./keyboard-arrow-up-Ccz0jCNB.js";import{m as miBaselineKeyboardArrowDown}from"./keyboard-arrow-down-DiWN48aq.js";import{c as clsx}from"./clsx-ChV9xqsO.js";var miBaselineUnfoldMore='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 5.83L15.17 9l1.41-1.41L12 3L7.41 7.59L8.83 9L12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15L12 18.17z"/></svg>';var mdsTableHeaderCellCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial;--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-header-cell-transition-duration:var(--duration-200,.2s);--private-table-header-cell-transition-duration:var(--mds-table-header-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background);border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color)!important;border-top:var(--private-cell-border-width) solid #0000!important;display:table-cell;padding:var(--mds-table-cell-padding);transition-duration:var(--private-table-header-cell-transition-duration);transition-property:background-color,border-color,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));vertical-align:top;white-space:nowrap}.action{margin-inline:calc(var(--spacing,.0025rem)*-200);padding-inline:calc(var(--spacing,.0025rem)*200)}.action:hover,:host([direction=ascending]) .action,:host([direction=descending]) .action{background-color:var(--mds-table-background-alt)}.action::part(label){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);min-height:auto;text-box:trim-both cap alphabetic;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-size-info-label,.75rem);font-weight:var(--tw-font-weight,var(--text-size-info-label--font-weight,700));line-height:var(--tw-leading,var(--text-size-info-label--line-height,1rem))}.action::part(label):where(){text-box:normal}.label{align-items:center;display:inline-flex;height:calc(var(--spacing,.0025rem)*700)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-header-cell-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-header-cell-transition-duration:0s}}'};var cycle=["none","ascending","descending"];
2
2
  // the order the rows of a table body had before any column sorted them, brought back when the
3
3
  // last sorted column returns to none; rows that left the body in the meantime stay out
4
- var naturalOrder=new WeakMap;var MdsTableHeaderCell=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.sortEvent=createEvent(this,"mdsTableHeaderCellSort",7);
4
+ var naturalOrder=new WeakMap;var MdsTableHeaderCell=/** @class */function(){function e(t){var r=this.constructor;var n=this;if(r===e)registerInstance(this,t);this.sortEvent=createEvent(this,"mdsTableHeaderCellSort",7);
5
5
  // set while the click writes `direction`: the watcher must not take it for a write from outside
6
6
  this.writingDirection=false;
7
7
  /**
8
8
  * Specifies the current sort direction of the column. Set from outside, it sorts the rows like a
9
9
  * click, or only shows the order when the table has `sorting="external"`.
10
- */this.direction="none";this.table=function(){return t.element.closest("mds-table")};this.body=function(){var e;return(e=t.table())===null||e===void 0?void 0:e.querySelector("mds-table-body")};this.rows=function(e){return Array.from(e.children)};this.index=function(){var e,r;return Array.from((r=(e=t.element.closest("mds-table-header"))===null||e===void 0?void 0:e.children)!==null&&r!==void 0?r:[]).indexOf(t.element)};this.siblings=function(){var e,r;return Array.from((r=(e=t.element.closest("mds-table-header"))===null||e===void 0?void 0:e.querySelectorAll("mds-table-header-cell"))!==null&&r!==void 0?r:[]).filter((function(e){return e!==t.element}))};this.hasSortedSibling=function(){return t.siblings().some((function(e){return e.direction!=="none"}))};this.isExternal=function(){var e;var r=t.table();return((e=r===null||r===void 0?void 0:r.sorting)!==null&&e!==void 0?e:r===null||r===void 0?void 0:r.getAttribute("sorting"))==="external"};this.getValue=function(e){if(e.value!=null&&e.value!==""&&e.value!==0&&!Number.isNaN(e.value)){return e.value}return e.textContent!==null&&e.textContent!==""?e.textContent.trim():""};this.sortRows=function(e){if(t.direction==="none"){
10
+ */this.direction="none";this.table=function(){return n.element.closest("mds-table")};this.body=function(){var e;return(e=n.table())===null||e===void 0?void 0:e.querySelector("mds-table-body")};this.rows=function(e){return Array.from(e.children)};this.index=function(){var e,t;return Array.from((t=(e=n.element.closest("mds-table-header"))===null||e===void 0?void 0:e.children)!==null&&t!==void 0?t:[]).indexOf(n.element)};this.siblings=function(){var e,t;return Array.from((t=(e=n.element.closest("mds-table-header"))===null||e===void 0?void 0:e.querySelectorAll("mds-table-header-cell"))!==null&&t!==void 0?t:[]).filter((function(e){return e!==n.element}))};this.hasSortedSibling=function(){return n.siblings().some((function(e){return e.direction!=="none"}))};this.isExternal=function(){var e;var t=n.table();return((e=t===null||t===void 0?void 0:t.sorting)!==null&&e!==void 0?e:t===null||t===void 0?void 0:t.getAttribute("sorting"))==="external"};this.getValue=function(e){if(e.value!=null&&e.value!==""&&e.value!==0&&!Number.isNaN(e.value)){return e.value}return e.textContent!==null&&e.textContent!==""?e.textContent.trim():""};this.sortRows=function(e){if(n.direction==="none"){
11
11
  // another column drives the order now: there is nothing of this one to undo
12
- if(t.hasSortedSibling()){return}var r=naturalOrder.get(e);naturalOrder.delete(e);if(!r){return}var n=new Set(r);var i=t.rows(e).filter((function(e){return!n.has(e)}));__spreadArray(__spreadArray([],r.filter((function(t){return t.parentElement===e})),true),i,true).forEach((function(t){return e.appendChild(t)}));return}if(!naturalOrder.has(e)){naturalOrder.set(e,t.rows(e))}var a=t.index();var o=__spreadArray([],t.rows(e),true).sort((function(e,r){var n=t.getValue(e.querySelectorAll("mds-table-cell")[a]);var i=t.getValue(r.querySelectorAll("mds-table-cell")[a]);var o=!isNaN(Number(n))&&!isNaN(Number(i));if(o){return t.direction==="ascending"?Number(n)-Number(i):Number(i)-Number(n)}return t.direction==="ascending"?String(n).localeCompare(String(i)):String(i).localeCompare(String(n))}));o.forEach((function(t){return e.appendChild(t)}))};
12
+ if(n.hasSortedSibling()){return}var t=naturalOrder.get(e);naturalOrder.delete(e);if(!t){return}var r=new Set(t);var i=n.rows(e).filter((function(e){return!r.has(e)}));__spreadArray(__spreadArray([],t.filter((function(t){return t.parentElement===e})),true),i,true).forEach((function(t){return e.appendChild(t)}));return}if(!naturalOrder.has(e)){naturalOrder.set(e,n.rows(e))}var a=n.index();var o=__spreadArray([],n.rows(e),true).sort((function(e,t){var r=n.getValue(e.querySelectorAll("mds-table-cell")[a]);var i=n.getValue(t.querySelectorAll("mds-table-cell")[a]);var o=!isNaN(Number(r))&&!isNaN(Number(i));if(o){return n.direction==="ascending"?Number(r)-Number(i):Number(i)-Number(r)}return n.direction==="ascending"?String(r).localeCompare(String(i)):String(i).localeCompare(String(r))}));o.forEach((function(t){return e.appendChild(t)}))};
13
13
  // the rows of a sorted table and the cells of the sorted column carry `sorted`, which their
14
14
  // styles read; a column that returns to none clears its own cells, and the rows only when no
15
15
  // other column is sorted
16
- this.markRows=function(e){var r=t.index();var n=t.direction!=="none";var i=!n&&t.hasSortedSibling();t.rows(e).forEach((function(e){if(n){e.setAttribute("sorted","")}else if(!i){e.removeAttribute("sorted")}var t=e.children[r];if(n){t===null||t===void 0?void 0:t.setAttribute("sorted","")}else{t===null||t===void 0?void 0:t.removeAttribute("sorted")}}))};
16
+ this.markRows=function(e){var t=n.index();var r=n.direction!=="none";var i=!r&&n.hasSortedSibling();n.rows(e).forEach((function(e){if(r){e.setAttribute("sorted","")}else if(!i){e.removeAttribute("sorted")}var n=e.children[t];if(r){n===null||n===void 0?void 0:n.setAttribute("sorted","")}else{n===null||n===void 0?void 0:n.removeAttribute("sorted")}}))};
17
17
  // rows rendered after the sort, the page an application loads with `sorting="external"`, get
18
18
  // the marks of the sorted column too
19
- this.observeRows=function(e){var r;(r=t.bodyObserver)===null||r===void 0?void 0:r.disconnect();t.bodyObserver=undefined;if(t.direction==="none"||!Build.isBrowser){return}t.bodyObserver=new MutationObserver((function(){return t.markRows(e)}));t.bodyObserver.observe(e,{childList:true})};
19
+ this.observeRows=function(e){var t;(t=n.bodyObserver)===null||t===void 0?void 0:t.disconnect();n.bodyObserver=undefined;if(n.direction==="none"||!Build.isBrowser){return}n.bodyObserver=new MutationObserver((function(){return n.markRows(e)}));n.bodyObserver.observe(e,{childList:true})};
20
20
  /**
21
21
  * Brings the table in line with `direction`, whoever set it: one sorted column at a time, the
22
22
  * rows in its order unless the table sorts them outside, the marks of the sorted column.
23
- */this.applyDirection=function(){var e=t.body();if(!t.sortable||!e){return}if(t.direction!=="none"){t.siblings().forEach((function(e){if(e.direction!=="none"){e.direction="none"}}))}if(!t.isExternal()){t.sortRows(e)}t.markRows(e);t.observeRows(e)};this.sort=function(){var e=cycle[(cycle.indexOf(t.direction)+1)%cycle.length];t.writingDirection=true;t.direction=e;t.writingDirection=false;t.applyDirection();t.sortEvent.emit({direction:e,index:t.index(),sortKey:t.sortKey})}}e.prototype.componentDidLoad=function(){if(this.direction!=="none"){this.applyDirection()}};e.prototype.disconnectedCallback=function(){var e;(e=this.bodyObserver)===null||e===void 0?void 0:e.disconnect()};e.prototype.directionHandler=function(){if(this.writingDirection){return}this.applyDirection()};e.prototype.render=function(){return h(Host,{key:"2bfda7e7033b6a33078c2e6c63310ee4ca2edc48",role:"columnheader","aria-sort":this.direction,"pref-animation":preferenceStore.state.animation},this.sortable?h("mds-button",{class:"action",icon:clsx(this.direction==="none"&&miBaselineUnfoldMore,this.direction==="ascending"&&miBaselineKeyboardArrowUp,this.direction==="descending"&&miBaselineKeyboardArrowDown),"icon-position":"right",onClick:this.sort,tone:"text",variant:"dark",size:"sm",part:"action",label:this.label}):h("mds-text",{class:"label",typography:"label",part:"label"},this.label))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{direction:[{directionHandler:0}]}},enumerable:false,configurable:true});return e}();MdsTableHeaderCell.style=mdsTableHeaderCellCss();export{MdsTableHeaderCell as mds_table_header_cell};
23
+ */this.applyDirection=function(){var e=n.body();if(!n.sortable||!e){return}if(n.direction!=="none"){n.siblings().forEach((function(e){if(e.direction!=="none"){e.direction="none"}}))}if(!n.isExternal()){n.sortRows(e)}n.markRows(e);n.observeRows(e)};this.sort=function(){var e=cycle[(cycle.indexOf(n.direction)+1)%cycle.length];n.writingDirection=true;n.direction=e;n.writingDirection=false;n.applyDirection();n.sortEvent.emit({direction:e,index:n.index(),sortKey:n.sortKey})}}e.prototype.componentDidLoad=function(){if(this.direction!=="none"){this.applyDirection()}};e.prototype.disconnectedCallback=function(){var e;(e=this.bodyObserver)===null||e===void 0?void 0:e.disconnect()};e.prototype.directionHandler=function(){if(this.writingDirection){return}this.applyDirection()};e.prototype.render=function(){return h(Host,{key:"e3cff2f77cb3c68dd73c3472e457159d916673bd",role:"columnheader","aria-sort":this.direction,"pref-animation":preferenceStore.state.animation},this.sortable?h("mds-button",{class:"action",icon:clsx(this.direction==="none"&&miBaselineUnfoldMore,this.direction==="ascending"&&miBaselineKeyboardArrowUp,this.direction==="descending"&&miBaselineKeyboardArrowDown),"icon-position":"right",onClick:this.sort,tone:"text",variant:"dark",size:"sm",part:"action",label:this.label}):h("mds-text",{class:"label",typography:"label",part:"label"},this.label))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{direction:[{directionHandler:0}]}},enumerable:false,configurable:true});return e}();MdsTableHeaderCell.style=mdsTableHeaderCellCss();export{MdsTableHeaderCell as mds_table_header_cell};
@@ -1,19 +1,20 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,o,a){function n(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,r){function i(e){try{l(a.next(e))}catch(e){r(e)}}function s(e){try{l(a["throw"](e))}catch(e){r(e)}}function l(e){e.done?o(e.value):n(e.value).then(i,s)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var o={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=s(0),i["throw"]=s(1),i["return"]=s(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return l([e,t])}}function l(s){if(a)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(o=0)),o)try{if(a=1,n&&(r=s[0]&2?n["return"]:s[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;if(n=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:o.label++;return{value:s[1],done:false};case 5:o.label++;n=s[1];s=[0];continue;case 7:s=o.ops.pop();o.trys.pop();continue;default:if(!(r=o.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){o=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){o.label=s[1];break}if(s[0]===6&&o.label<r[1]){o.label=r[1];r=s;break}if(r&&o.label<r[2]){o.label=r[2];o.ops.push(s);break}if(r[2])o.ops.pop();o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e];n=0}finally{a=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{L as Locale}from"./locale-B6cOkl4I.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var actions$3="Ενέργεια";var selectAllRows$3="Επιλογή όλων των γραμμών";var selectNoneRows$3="Αποεπιλογή όλων των γραμμών";var localeEl={actions:actions$3,selectAllRows:selectAllRows$3,selectNoneRows:selectNoneRows$3};var actions$2="Action";var selectAllRows$2="Select all rows";var selectNoneRows$2="Deselect all rows";var localeEn={actions:actions$2,selectAllRows:selectAllRows$2,selectNoneRows:selectNoneRows$2};var actions$1="Acción";var selectAllRows$1="Seleccionar todas las filas";var selectNoneRows$1="Deseleccionar todas las filas";var localeEs={actions:actions$1,selectAllRows:selectAllRows$1,selectNoneRows:selectNoneRows$1};var actions="Azione";var selectAllRows="Seleziona tutte le righe";var selectNoneRows="Deseleziona tutte le righe";var localeIt={actions:actions,selectAllRows:selectAllRows,selectNoneRows:selectNoneRows};var mdsTableHeaderCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-input-switch,mds-table-cell,mds-table-header-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-header-transition-duration:var(--duration-200,.2s);--private-table-header-transition-duration:var(--mds-table-header-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;transition-duration:var(--private-table-header-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions{text-align:right}.selection{--mds-table-cell-background:var(--mds-table-background);vertical-align:middle}.checkbox-wrapper{display:flex}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-header-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-header-transition-duration:0s}}'};var MdsTableHeader=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.selectAll=false;this.hasActions=false;this.indeterminate=false;this.hasSelection=false;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.handleSelectAllChange=function(e){var o,a;if(t.indeterminate){t.selectAll=true}else{t.selectAll=(o=e.detail.checked)!==null&&o!==void 0?o:false}t.indeterminate=false;(a=t.table)===null||a===void 0?void 0:a.selectAll(t.selectAll)}}
1
+ var __awaiter=this&&this.__awaiter||function(e,t,a,o){function r(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,n){function i(e){try{l(o.next(e))}catch(e){n(e)}}function s(e){try{l(o["throw"](e))}catch(e){n(e)}}function l(e){e.done?a(e.value):r(e.value).then(i,s)}l((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,r,n,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=s(0),i["throw"]=s(1),i["return"]=s(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return l([e,t])}}function l(s){if(o)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(a=0)),a)try{if(o=1,r&&(n=s[0]&2?r["return"]:s[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,s[1])).done)return n;if(r=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;r=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){a.label=s[1];break}if(s[0]===6&&a.label<n[1]){a.label=n[1];n=s;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(s);break}if(n[2])a.ops.pop();a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e];r=0}finally{o=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{L as Locale}from"./locale-B7Hw4niB.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var actions$3="Ενέργεια";var selectAllRows$3="Επιλογή όλων των γραμμών";var selectNoneRows$3="Αποεπιλογή όλων των γραμμών";var localeEl={actions:actions$3,selectAllRows:selectAllRows$3,selectNoneRows:selectNoneRows$3};var actions$2="Action";var selectAllRows$2="Select all rows";var selectNoneRows$2="Deselect all rows";var localeEn={actions:actions$2,selectAllRows:selectAllRows$2,selectNoneRows:selectNoneRows$2};var actions$1="Acción";var selectAllRows$1="Seleccionar todas las filas";var selectNoneRows$1="Deseleccionar todas las filas";var localeEs={actions:actions$1,selectAllRows:selectAllRows$1,selectNoneRows:selectNoneRows$1};var actions="Azione";var selectAllRows="Seleziona tutte le righe";var selectNoneRows="Deseleziona tutte le righe";var localeIt={actions:actions,selectAllRows:selectAllRows,selectNoneRows:selectNoneRows};var mdsTableHeaderCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-input-switch,mds-table-cell,mds-table-header-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-header-transition-duration:var(--duration-200,.2s);--private-table-header-transition-duration:var(--mds-table-header-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;transition-duration:var(--private-table-header-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions{text-align:right}.selection{--mds-table-cell-background:var(--mds-table-background);vertical-align:middle}.checkbox-wrapper{display:flex}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-header-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-header-transition-duration:0s}}'};var MdsTableHeader=/** @class */function(){function e(e){var t=this.constructor;var a=this;if(t===MdsTableHeader)registerInstance(this,e);this.selectAll=false;this.hasActions=false;this.indeterminate=false;this.hasSelection=false;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.handleSelectAllChange=function(e){var t,o;if(a.indeterminate){a.selectAll=true}else{a.selectAll=(t=e.detail.checked)!==null&&t!==void 0?t:false}a.indeterminate=false;(o=a.table)===null||o===void 0?void 0:o.selectAll(a.selectAll)}}
2
2
  /**
3
3
  * Updates the header's select-all state from the number of selected rows.
4
4
  * @param selectedItems the number of currently selected rows
5
5
  * @param totalItems the total number of selectable rows
6
- */e.prototype.setSelection=function(e,t){return __awaiter(this,void 0,void 0,(function(){var o,a;return __generator(this,(function(n){this.indeterminate=e!==0&&e!==t;
7
- // the reference used to be looked up only on the indeterminate branch, so the first
8
- // call that was NOT indeterminate - select all, or unselect the last row - threw on an
9
- // undefined checkbox; and a header that is not selectable renders none at all
10
- (o=this.checkboxEl)!==null&&o!==void 0?o:this.checkboxEl=(a=this.host.shadowRoot)===null||a===void 0?void 0:a.querySelector(".checkbox");if(!this.checkboxEl){return[2/*return*/]}
6
+ */e.prototype.setSelection=function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.indeterminate=e!==0&&e!==t;
11
7
  // totalItems 0 would otherwise read as "all of them are selected"
12
- this.checkboxEl.checked=t>0&&e===t;return[2/*return*/]}))}))};
8
+ this.selectAll=t>0&&e===t;
9
+ // the checkbox is rendered from this state, which keeps a count made before it exists: the
10
+ // table counts on load, a frame before the header it makes selectable draws its checkbox
11
+ // (#1230). A click changes the checkbox's own `checked`, which a render with the same state
12
+ // does not set back, so the count sets it here too; a header that is not selectable has none
13
+ if(this.checkboxEl){this.checkboxEl.checked=this.selectAll}return[2/*return*/]}))}))};
13
14
  /**
14
15
  * `internal` Shows or hides the Actions column: mds-table calls it whenever its rows gain or
15
16
  * lose `slot="action"` content, the header itself reads them only on load
16
17
  * @param hasActions whether any row has actions
17
18
  */e.prototype.setActions=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.hasActions=e;return[2/*return*/]}))}))};e.prototype.componentWillLoad=function(){var e;this.table=this.host.closest("mds-table");
18
19
  // standalone header (or SSR of the subtree alone): no surrounding table
19
- this.hasActions=((e=this.table)===null||e===void 0?void 0:e.querySelector('mds-table-row > [slot="action"]'))!=null};e.prototype.render=function(){return h(Host,{key:"f0c10f794062311dc64648c43fe67503cce1e359",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"27d20511af3da6ced3e6b4ab924dd3d76cc572e1",class:"selection",role:"columnheader"},h("div",{key:"024b30bafcbc428716801c54233d0def52027a70",class:"checkbox-wrapper"},h("mds-input-switch",{key:"b0bb5f4a65b11295f327081aad9e4e3ae5a06cca",class:"checkbox",title:this.t.get(this.selectAll?"selectNoneRows":"selectAllRows"),type:"checkbox",onMdsInputSwitchChange:this.handleSelectAllChange,indeterminate:this.indeterminate}))),h("slot",{key:"1c5f8294357647d4d639476371be246a206bd735"}),this.hasActions&&h("mds-table-header-cell",{key:"27c552d2db1f13a5efc0804162d3c2963d9d8435",part:"actions",class:"actions",label:this.t.get("actions")}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsTableHeader.style=mdsTableHeaderCss();export{MdsTableHeader as mds_table_header};
20
+ this.hasActions=((e=this.table)===null||e===void 0?void 0:e.querySelector('mds-table-row > [slot="action"]'))!=null};e.prototype.render=function(){var e=this;return h(Host,{key:"5cb4d1f4c12186e8cfacddadad9a34b45a289ac7",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"ad6d2c579cab8f6ab9bbee088e61f9768fe7077e",class:"selection",role:"columnheader"},h("div",{key:"cbd6b63af772ec973e272ece84e54dcae2bcd079",class:"checkbox-wrapper"},h("mds-input-switch",{key:"1fadc5f41ed92700bbd771c9954d3ced0c5586cb",class:"checkbox",ref:function(t){return e.checkboxEl=t},title:this.t.get(this.selectAll?"selectNoneRows":"selectAllRows"),type:"checkbox",checked:this.selectAll,onMdsInputSwitchChange:this.handleSelectAllChange,indeterminate:this.indeterminate}))),h("slot",{key:"d7f17f172f83a7aea6386d4a44f51231a968736b"}),this.hasActions&&h("mds-table-header-cell",{key:"f2764423d8293918189022aae70e768cfc62af22",part:"actions",class:"actions",label:this.t.get("actions")}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsTableHeader.style=mdsTableHeaderCss();export{MdsTableHeader as mds_table_header};
@@ -1,10 +1,10 @@
1
- import{r as registerInstance,h,e as Host,g as getElement,B as Build}from"./index-CvLLN-QH.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-B6cOkl4I.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var selectRow$3="Επιλογή γραμμής";var unselectRow$3="Αποεπιλογή γραμμής";var localeEl={selectRow:selectRow$3,unselectRow:unselectRow$3};var selectRow$2="Select row";var unselectRow$2="Deselect row";var localeEn={selectRow:selectRow$2,unselectRow:unselectRow$2};var selectRow$1="Seleccionar fila";var unselectRow$1="Deseleccionar fila";var localeEs={selectRow:selectRow$1,unselectRow:unselectRow$1};var selectRow="Seleziona riga";var unselectRow="Deseleziona riga";var localeIt={selectRow:selectRow,unselectRow:unselectRow};var isSafari=function(){if(navigator){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}return false};var mdsTableRowCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-input-switch,mds-table-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-row-color-hover:var(--mds-table-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-color-alt:var(--mds-table-color-alt,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-background-hover:var(--mds-table-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-background-alt:var(--mds-table-background-alt,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-actions-gap:var(--mds-table-actions-gap,calc(var(--spacing,.0025rem)*400));--mds-table-row-transition-duration:var(--duration-200,.2s);--private-table-row-transition-duration:var(--mds-table-row-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));color:var(--mds-table-row-color);display:table-row;position:relative;transition-duration:var(--private-table-row-transition-duration);transition-property:color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.selection-cell{vertical-align:middle}.checkbox-wrapper{display:flex}:host([interactive]:hover){--mds-table-row-actions-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}:host([selected]){--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}:host([sorted]){--mds-table-row-background:var(--mds-table-row-background-alt);--mds-table-row-color:var(--mds-table-row-color-alt)}:host([sorted][selected]){--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}.actions-view{display:flex;justify-content:end;pointer-events:none;position:absolute}.actions,.actions-view{align-items:center;inset:0}.actions{--mds-table-row-actions-background:var(--mds-table-row-background);background-color:var(--mds-table-row-actions-background);border-bottom-left-radius:calc(var(--magma-radius-lg,var(--radius-squircle-lg,28px)) + var(--mds-table-border-width)*2);border-top-left-radius:calc(var(--magma-radius-lg,var(--radius-squircle-lg,28px)) + var(--mds-table-border-width)*2);corner-shape:var(--magma-corner-shape,squircle);display:inline-flex;gap:var(--mds-table-row-actions-gap,calc(var(--spacing,.0025rem)*400));margin-right:100%;padding:calc(var(--mds-table-border-width)*2);padding-right:0;pointer-events:auto;position:sticky;transform:translate(100%);transition-duration:var(--duration-500,.5s);transition-property:transform,background-color,padding-right;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}:host(:hover) .actions{transform:translate(100%)}:host([overlay-actions]) .actions{padding-right:var(--mds-table-cell-padding);transform:translate(100%)}:host([overlay-actions]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background);transform:translate(0)}:host(:not([interactive]):hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))))}:host([selection]:not([interactive]):not([selected]):hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-alt)}.actions-cell--disable,.actions-cell--disable .actions{position:static!important}.actions-cell--disable .actions{margin-right:0!important;transform:translate(0)!important}.actions-cell--hidden{display:none}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-row-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-row-transition-duration:0s}}'};var MdsTableRow=/** @class */function(){function a(a){var e=this;registerInstance(this,a);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
1
+ import{r as registerInstance,h,e as Host,g as getElement,B as Build}from"./index-CPibDZjX.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-B7Hw4niB.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var selectRow$3="Επιλογή γραμμής";var unselectRow$3="Αποεπιλογή γραμμής";var localeEl={selectRow:selectRow$3,unselectRow:unselectRow$3};var selectRow$2="Select row";var unselectRow$2="Deselect row";var localeEn={selectRow:selectRow$2,unselectRow:unselectRow$2};var selectRow$1="Seleccionar fila";var unselectRow$1="Deseleccionar fila";var localeEs={selectRow:selectRow$1,unselectRow:unselectRow$1};var selectRow="Seleziona riga";var unselectRow="Deseleziona riga";var localeIt={selectRow:selectRow,unselectRow:unselectRow};var isSafari=function(){if(navigator){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}return false};var mdsTableRowCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-input-switch,mds-table-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-row-color-hover:var(--mds-table-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-color-alt:var(--mds-table-color-alt,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-background-hover:var(--mds-table-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-background-alt:var(--mds-table-background-alt,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-actions-gap:var(--mds-table-actions-gap,calc(var(--spacing,.0025rem)*400));--mds-table-row-transition-duration:var(--duration-200,.2s);--private-table-row-transition-duration:var(--mds-table-row-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));color:var(--mds-table-row-color);display:table-row;position:relative;transition-duration:var(--private-table-row-transition-duration);transition-property:color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.selection-cell{vertical-align:middle}.checkbox-wrapper{display:flex}:host([interactive]:hover){--mds-table-row-actions-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}:host([selected]){--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}:host([sorted]){--mds-table-row-background:var(--mds-table-row-background-alt);--mds-table-row-color:var(--mds-table-row-color-alt)}:host([sorted][selected]){--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}.actions-view{display:flex;justify-content:end;pointer-events:none;position:absolute}.actions,.actions-view{align-items:center;inset:0}.actions{--mds-table-row-actions-background:var(--mds-table-row-background);background-color:var(--mds-table-row-actions-background);border-bottom-left-radius:calc(var(--magma-radius-lg,var(--radius-squircle-lg,28px)) + var(--mds-table-border-width)*2);border-top-left-radius:calc(var(--magma-radius-lg,var(--radius-squircle-lg,28px)) + var(--mds-table-border-width)*2);corner-shape:var(--magma-corner-shape,squircle);display:inline-flex;gap:var(--mds-table-row-actions-gap,calc(var(--spacing,.0025rem)*400));margin-right:100%;padding:calc(var(--mds-table-border-width)*2);padding-right:0;pointer-events:auto;position:sticky;transform:translate(100%);transition-duration:var(--duration-500,.5s);transition-property:transform,background-color,padding-right;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}:host(:hover) .actions{transform:translate(100%)}:host([overlay-actions]) .actions{padding-right:var(--mds-table-cell-padding);transform:translate(100%)}:host([overlay-actions]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background);transform:translate(0)}:host(:not([interactive]):hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))))}:host([selection]:not([interactive]):not([selected]):hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-alt)}.actions-cell--disable,.actions-cell--disable .actions{position:static!important}.actions-cell--disable .actions{margin-right:0!important;transform:translate(0)!important}.actions-cell--hidden{display:none}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-row-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-row-transition-duration:0s}}'};var MdsTableRow=/** @class */function(){function a(e){var t=this.constructor;var r=this;if(t===a)registerInstance(this,e);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
2
  /**
3
3
  * Specifies whether the row can be selected via a checkbox.
4
- */this.selectable=undefined;this.onActionSlotChange=function(){var a;var t=hasChildWithSlot(e.host,"action");
4
+ */this.selectable=undefined;this.onActionSlotChange=function(){var a;var e=hasChildWithSlot(r.host,"action");
5
5
  // the slot fires on load too, with nothing new: the table hears only of a real change,
6
6
  // actions rendered later or taken away, which its observer of the rows cannot see (#801)
7
- if(t===e.hasActions)return;e.hasActions=t;(a=e.host.closest("mds-table"))===null||a===void 0?void 0:a.updateActions()};this.handleSelectionChange=function(a){e.selected=a.detail.checked}}a.prototype.componentWillLoad=function(){this.hasActions=hasChildWithSlot(this.host,"action")};a.prototype.connectedCallback=function(){
7
+ if(e===r.hasActions)return;r.hasActions=e;(a=r.host.closest("mds-table"))===null||a===void 0?void 0:a.updateActions()};this.handleSelectionChange=function(a){r.selected=a.detail.checked}}a.prototype.componentWillLoad=function(){this.hasActions=hasChildWithSlot(this.host,"action")};a.prototype.connectedCallback=function(){
8
8
  // a row moved or re-attached after its first load lost the observer in disconnectedCallback:
9
9
  // React reveals a streamed SSR boundary that way, moving the rows hydrated in a hidden
10
10
  // container, so the width measured there (0, or nothing yet) would never be updated
@@ -19,4 +19,4 @@ a.sizerWidth="".concat((o=(r=(t=e[0].borderBoxSize)===null||t===void 0?void 0:t[
19
19
  this.observer.observe(this.actions)};a.prototype.disconnectedCallback=function(){var a;(a=this.observer)===null||a===void 0?void 0:a.disconnect()};
20
20
  // the table learns of every change of `selected`, from the checkbox or from code: only the
21
21
  // checkbox used to tell it, so a row selected from code was missing from mdsTableSelectionChange
22
- a.prototype.selectedChanged=function(a,e){var t;if(!!a===!!e)return;void((t=this.host.closest("mds-table"))===null||t===void 0?void 0:t.updateSelection())};a.prototype.render=function(){var a=this;return h(Host,{key:"e7733d4225d8e29e2731d7dcd25df17ab2a2d6d0",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"97f970960fcb9b8dd9569f4406767a01260cc72f",class:"selection-cell"},h("div",{key:"8d4a2a0367fe55d5a9f079e07da0406b6d9f9b48",class:"checkbox-wrapper"},h("mds-input-switch",{key:"814cc2f370b4ebddb286b0e51e3e128879517625",title:this.t.get(this.selected?"unselectRow":"selectRow"),type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),h("slot",{key:"38cd06e93a36a5590065147c37f15bda2097731f"}),isSafari()&&h("mds-table-cell",{key:"9a9242d8ccb7dc2d017d09b9c2d1433fc04f005b",class:clsx("actions-cell","actions-cell--disable",!this.hasActions&&"actions-cell--hidden")},h("div",{key:"425c755654ccac10bf419588116b7e4164c5fa3b",class:"actions"},h("slot",{key:"11add2130db342701e2f36f6d9912b19cb8a4350",name:"action",onSlotchange:this.onActionSlotChange}))),!isSafari()&&h("mds-table-cell",{key:"c7fb915ab3de7cb27c75d4186c4229ca3c0f7cef",class:clsx("actions-cell",!this.hasActions&&"actions-cell--hidden")},h("div",{key:"129fb7ff6fe6062aae0553cecaec09e78e4876fa",class:"actions-sizer",style:Object.assign({minHeight:"1px"},this.sizerWidth&&{maxWidth:this.sizerWidth,minWidth:this.sizerWidth})}),h("div",{key:"73616e36222037501491a0190c85d568cb62687d",class:"actions-view"},h("div",{key:"7b7d185368e98fef08b873da267b1b35bf60be9c",class:"actions",ref:function(e){return a.actions=e},style:this.sizerWidth!==undefined?{marginRight:"calc(".concat(this.sizerWidth," + var(--mds-table-cell-padding))")}:undefined},h("slot",{key:"0e86eeafefa9cb2629e708aa2f8eb2d33fe0d14b",name:"action",onSlotchange:this.onActionSlotChange})))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{selected:[{selectedChanged:0}]}},enumerable:false,configurable:true});return a}();MdsTableRow.style=mdsTableRowCss();export{MdsTableRow as mds_table_row};
22
+ a.prototype.selectedChanged=function(a,e){var t;if(!!a===!!e)return;void((t=this.host.closest("mds-table"))===null||t===void 0?void 0:t.updateSelection())};a.prototype.render=function(){var a=this;return h(Host,{key:"85a0bd1428af665e8842f1e54812af66484f650c",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"1713f90b8d344460f12ca191ce1d0bce92b6ab30",class:"selection-cell"},h("div",{key:"fdb8a35477e381cba72a677c1a634104fc56bbe9",class:"checkbox-wrapper"},h("mds-input-switch",{key:"4c78bfdaed2839d9d40fdd4b9cecd5b8f049b4b8",title:this.t.get(this.selected?"unselectRow":"selectRow"),type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),h("slot",{key:"e62e319379642c123908bad50398791cf5e0b7c7"}),isSafari()&&h("mds-table-cell",{key:"630b7c3f88f3588d3b21a760da5c8492569baf17",class:clsx("actions-cell","actions-cell--disable",!this.hasActions&&"actions-cell--hidden")},h("div",{key:"37795b0e4797c3218e0cc7b8cb330858b993407a",class:"actions"},h("slot",{key:"80a238bc8b4e28d1223062c5821f520cc06242f0",name:"action",onSlotchange:this.onActionSlotChange}))),!isSafari()&&h("mds-table-cell",{key:"249a41a4a78436f1cf869c333d00e575cc54d09e",class:clsx("actions-cell",!this.hasActions&&"actions-cell--hidden")},h("div",{key:"fd1833119df4cfdaee21ec04dcb8e5ff6a15c847",class:"actions-sizer",style:Object.assign({minHeight:"1px"},this.sizerWidth&&{maxWidth:this.sizerWidth,minWidth:this.sizerWidth})}),h("div",{key:"14968e9ed0463883ef60820a9fce17dd9e44d95b",class:"actions-view"},h("div",{key:"c0a84ad546e6e4677fa16a273e1a9067eec3889b",class:"actions",ref:function(e){return a.actions=e},style:this.sizerWidth!==undefined?{marginRight:"calc(".concat(this.sizerWidth," + var(--mds-table-cell-padding))")}:undefined},h("slot",{key:"9d706c0274d70e949233662698334878b72a99ef",name:"action",onSlotchange:this.onActionSlotChange})))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{selected:[{selectedChanged:0}]}},enumerable:false,configurable:true});return a}();MdsTableRow.style=mdsTableRowCss();export{MdsTableRow as mds_table_row};