@maggioli-design-system/magma 2.11.0 → 2.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1228) hide show
  1. package/AGENTS.md +2 -2
  2. package/CHANGELOG.md +38 -0
  3. package/README.md +9 -6
  4. package/agents/color.md +1 -0
  5. package/agents/mcp.md +5 -5
  6. package/agents/patterns/actions.md +4 -3
  7. package/agents/patterns/app-shell.md +70 -22
  8. package/agents/patterns/density.md +4 -3
  9. package/agents/patterns/previews/app-shell/back-office.dark.webp +0 -0
  10. package/agents/patterns/previews/app-shell/back-office.html +2 -2
  11. package/agents/patterns/previews/app-shell/back-office.light.webp +0 -0
  12. package/agents/patterns/previews/app-shell/many-sections.html +1 -1
  13. package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
  14. package/agents/patterns/previews/app-shell/public-service.html +2 -2
  15. package/agents/patterns/previews/app-shell/public-service.light.webp +0 -0
  16. package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
  17. package/agents/patterns/previews/app-shell/section-menus.html +68 -0
  18. package/agents/patterns/previews/app-shell/section-menus.light.webp +0 -0
  19. package/agents/patterns/previews/empty-state/not-found.dark.webp +0 -0
  20. package/agents/patterns/previews/empty-state/not-found.html +2 -2
  21. package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
  22. package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
  23. package/agents/patterns/previews/item-list/queue-of-a-desk.light.webp +0 -0
  24. package/agents/patterns/previews/item-list/requests-of-an-office.dark.webp +0 -0
  25. package/agents/patterns/previews/item-list/requests-of-an-office.light.webp +0 -0
  26. package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
  27. package/agents/patterns/previews/list-with-filters/act-on-many.html +2 -2
  28. package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
  29. package/agents/patterns/previews/list-with-filters/find-and-open.dark.webp +0 -0
  30. package/agents/patterns/previews/list-with-filters/find-and-open.html +2 -2
  31. package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
  32. package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
  33. package/agents/patterns/previews/list-with-filters/show-new-items.html +2 -2
  34. package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
  35. package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
  36. package/agents/patterns/previews/loading/first-load.light.webp +0 -0
  37. package/agents/patterns/previews/loading/keep-while-reloading.dark.webp +0 -0
  38. package/agents/patterns/previews/loading/keep-while-reloading.light.webp +0 -0
  39. package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
  40. package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
  41. package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
  42. package/agents/patterns/previews/loading/long-load.light.webp +0 -0
  43. package/agents/patterns/previews/message-placement/action-failed-elsewhere.light.webp +0 -0
  44. package/agents/patterns/previews/message-placement/app-failed.dark.webp +0 -0
  45. package/agents/patterns/previews/message-placement/app-failed.html +2 -2
  46. package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
  47. package/agents/patterns/previews/record-detail/ask-for-words.dark.webp +0 -0
  48. package/agents/patterns/previews/record-detail/ask-for-words.html +2 -2
  49. package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
  50. package/agents/patterns/previews/record-detail/edit-data.dark.webp +0 -0
  51. package/agents/patterns/previews/record-detail/edit-data.html +2 -2
  52. package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
  53. package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
  54. package/agents/patterns/previews/record-detail/read-the-data.html +2 -2
  55. package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
  56. package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
  57. package/agents/patterns/previews/record-detail/record-changed.html +2 -2
  58. package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
  59. package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
  60. package/agents/patterns/previews/record-detail/run-at-once.html +2 -2
  61. package/agents/patterns/previews/record-detail/run-at-once.light.webp +0 -0
  62. package/agents/patterns/previews/record-detail/work-on-it.dark.webp +0 -0
  63. package/agents/patterns/previews/record-detail/work-on-it.html +2 -2
  64. package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
  65. package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
  66. package/agents/patterns/previews/surfaces/band.html +2 -2
  67. package/agents/patterns/previews/surfaces/band.light.webp +0 -0
  68. package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
  69. package/agents/patterns/previews/surfaces/canvas.html +2 -2
  70. package/agents/patterns/previews/surfaces/canvas.light.webp +0 -0
  71. package/agents/patterns/previews/titles/page.dark.webp +0 -0
  72. package/agents/patterns/previews/widths/page.dark.webp +0 -0
  73. package/agents/patterns/previews/widths/page.html +2 -2
  74. package/agents/patterns/previews/widths/page.light.webp +0 -0
  75. package/agents/patterns/rhythm.md +2 -1
  76. package/agents/patterns/surfaces.md +4 -3
  77. package/agents/patterns/titles.md +4 -3
  78. package/agents/patterns/widths.md +4 -3
  79. package/agents/patterns.md +8 -7
  80. package/agents/theming.md +7 -0
  81. package/dist/cjs/{aria-CzO5Rp1y.js → aria-r1anAHBr.js} +12 -0
  82. package/dist/cjs/{floating-controller-DaFymQCT.js → floating-controller-B4YhrWm8.js} +1 -1
  83. package/dist/cjs/{index-Bg68W-da.js → index-Csgx951d.js} +1 -1
  84. package/dist/cjs/loader.cjs.js +1 -1
  85. package/dist/cjs/{locale-CaR39iYg.js → locale-DgMC52AD.js} +1 -1
  86. package/dist/cjs/magma-components.cjs.js +1 -1
  87. package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
  88. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
  89. package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
  90. package/dist/cjs/mds-avatar.cjs.entry.js +1 -1
  91. package/dist/cjs/mds-badge.cjs.entry.js +2 -2
  92. package/dist/cjs/mds-banner_3.cjs.entry.js +5 -5
  93. package/dist/cjs/mds-book.cjs.entry.js +2 -2
  94. package/dist/cjs/mds-breadcrumb.cjs.entry.js +2 -2
  95. package/dist/cjs/mds-button-dropdown.cjs.entry.js +6 -4
  96. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  97. package/dist/cjs/mds-button_3.cjs.entry.js +78 -16
  98. package/dist/cjs/mds-calendar_2.cjs.entry.js +8 -8
  99. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  100. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  101. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  102. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  103. package/dist/cjs/mds-card.cjs.entry.js +2 -2
  104. package/dist/cjs/mds-details.cjs.entry.js +2 -2
  105. package/dist/cjs/mds-dropdown.cjs.entry.js +6 -6
  106. package/dist/cjs/mds-emoji.cjs.entry.js +2 -2
  107. package/dist/cjs/mds-entity.cjs.entry.js +2 -2
  108. package/dist/cjs/mds-file-preview.cjs.entry.js +5 -5
  109. package/dist/cjs/mds-file.cjs.entry.js +5 -5
  110. package/dist/cjs/mds-filter-item.cjs.entry.js +5 -5
  111. package/dist/cjs/mds-filter.cjs.entry.js +4 -4
  112. package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
  113. package/dist/cjs/mds-header.cjs.entry.js +3 -3
  114. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +3 -3
  115. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  116. package/dist/cjs/mds-img.cjs.entry.js +2 -2
  117. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  118. package/dist/cjs/mds-input-date-range.cjs.entry.js +4 -4
  119. package/dist/cjs/mds-input-date.cjs.entry.js +6 -6
  120. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  121. package/dist/cjs/mds-input-otp.cjs.entry.js +3 -3
  122. package/dist/cjs/mds-input-range.cjs.entry.js +3 -3
  123. package/dist/cjs/mds-input-select.cjs.entry.js +6 -6
  124. package/dist/cjs/mds-input-switch_2.cjs.entry.js +6 -6
  125. package/dist/cjs/mds-input-tip_2.cjs.entry.js +5 -5
  126. package/dist/cjs/mds-input-upload.cjs.entry.js +7 -7
  127. package/dist/cjs/mds-input.cjs.entry.js +8 -8
  128. package/dist/cjs/mds-keyboard-key.cjs.entry.js +3 -3
  129. package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
  130. package/dist/cjs/mds-kpi-item.cjs.entry.js +3 -3
  131. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  132. package/dist/cjs/mds-label.cjs.entry.js +3 -3
  133. package/dist/cjs/mds-link.cjs.entry.js +5 -5
  134. package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
  135. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  136. package/dist/cjs/mds-mention.cjs.entry.js +3 -3
  137. package/dist/cjs/mds-modal.cjs.entry.js +34 -15
  138. package/dist/cjs/mds-note.cjs.entry.js +4 -4
  139. package/dist/cjs/mds-notification.cjs.entry.js +3 -3
  140. package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
  141. package/dist/cjs/mds-paginator.cjs.entry.js +4 -4
  142. package/dist/cjs/mds-policy-ai.cjs.entry.js +3 -3
  143. package/dist/cjs/mds-pref-animation.cjs.entry.js +3 -3
  144. package/dist/cjs/mds-pref-consumption.cjs.entry.js +3 -3
  145. package/dist/cjs/mds-pref-contrast.cjs.entry.js +3 -3
  146. package/dist/cjs/mds-pref-language-item.cjs.entry.js +3 -3
  147. package/dist/cjs/mds-pref-language.cjs.entry.js +3 -3
  148. package/dist/cjs/mds-pref-mode.cjs.entry.js +22 -13
  149. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +1 -1
  150. package/dist/cjs/mds-pref-theme.cjs.entry.js +31 -8
  151. package/dist/cjs/mds-pref.cjs.entry.js +3 -25
  152. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
  153. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  154. package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
  155. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  156. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
  157. package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
  158. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  159. package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
  160. package/dist/cjs/mds-push-notification-item.cjs.entry.js +4 -4
  161. package/dist/cjs/mds-push-notification.cjs.entry.js +4 -4
  162. package/dist/cjs/mds-quote.cjs.entry.js +2 -2
  163. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
  164. package/dist/cjs/mds-radial-menu.cjs.entry.js +5 -5
  165. package/dist/cjs/mds-separator.cjs.entry.js +2 -2
  166. package/dist/cjs/mds-status-bar.cjs.entry.js +3 -3
  167. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +3 -3
  168. package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
  169. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
  170. package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
  171. package/dist/cjs/mds-tab_2.cjs.entry.js +6 -6
  172. package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
  173. package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
  174. package/dist/cjs/mds-table-header-cell.cjs.entry.js +2 -2
  175. package/dist/cjs/mds-table-header.cjs.entry.js +3 -3
  176. package/dist/cjs/mds-table-row.cjs.entry.js +4 -4
  177. package/dist/cjs/mds-table.cjs.entry.js +4 -4
  178. package/dist/cjs/mds-text.cjs.entry.js +2 -2
  179. package/dist/cjs/mds-toast-region.cjs.entry.js +1 -1
  180. package/dist/cjs/mds-toast.cjs.entry.js +3 -3
  181. package/dist/cjs/mds-tooltip.cjs.entry.js +5 -5
  182. package/dist/cjs/mds-tree-item.cjs.entry.js +3 -3
  183. package/dist/cjs/mds-tree.cjs.entry.js +1 -1
  184. package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
  185. package/dist/cjs/mds-usage.cjs.entry.js +4 -4
  186. package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
  187. package/dist/cjs/mds-zero.cjs.entry.js +3 -3
  188. package/dist/cjs/{preference-CQQ3eb9W.js → preference-DhNxLZ4R.js} +20 -0
  189. package/dist/collection/common/aria.js +12 -1
  190. package/dist/collection/common/preference.js +19 -1
  191. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  192. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  193. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  194. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  195. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  196. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  197. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  198. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  199. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  200. package/dist/collection/components/mds-author/documentation.json +1 -1
  201. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  202. package/dist/collection/components/mds-avatar/documentation.json +2 -2
  203. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  204. package/dist/collection/components/mds-avatar-stack/documentation.json +2 -2
  205. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  206. package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
  207. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  208. package/dist/collection/components/mds-badge/documentation.json +1 -1
  209. package/dist/collection/components/mds-badge/mds-badge.css +15 -10
  210. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  211. package/dist/collection/components/mds-banner/documentation.json +2 -2
  212. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  213. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  214. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  215. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  216. package/dist/collection/components/mds-book/AGENTS.md +1 -1
  217. package/dist/collection/components/mds-book/documentation.json +1 -1
  218. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  219. package/dist/collection/components/mds-breadcrumb/documentation.json +2 -2
  220. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  221. package/dist/collection/components/mds-breadcrumb-item/documentation.json +2 -2
  222. package/dist/collection/components/mds-button/AGENTS.md +9 -4
  223. package/dist/collection/components/mds-button/documentation.json +100 -7
  224. package/dist/collection/components/mds-button/examples.md +73 -0
  225. package/dist/collection/components/mds-button/mds-button.css +122 -14
  226. package/dist/collection/components/mds-button/mds-button.js +139 -13
  227. package/dist/collection/components/mds-button/mistakes.md +35 -0
  228. package/dist/collection/components/mds-button-dropdown/AGENTS.md +7 -2
  229. package/dist/collection/components/mds-button-dropdown/documentation.json +97 -4
  230. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +69 -3
  231. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  232. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  233. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  234. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  235. package/dist/collection/components/mds-calendar/documentation.json +2 -2
  236. package/dist/collection/components/mds-calendar/mds-calendar.js +5 -5
  237. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  238. package/dist/collection/components/mds-calendar-cell/documentation.json +2 -2
  239. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  240. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  241. package/dist/collection/components/mds-card/documentation.json +1 -1
  242. package/dist/collection/components/mds-card/mds-card.js +1 -1
  243. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  244. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  245. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  246. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  247. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  248. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  249. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  250. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  251. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  252. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  253. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  254. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  255. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  256. package/dist/collection/components/mds-chip/documentation.json +2 -2
  257. package/dist/collection/components/mds-chip/mds-chip.css +3 -2
  258. package/dist/collection/components/mds-chip/mds-chip.js +1 -1
  259. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  260. package/dist/collection/components/mds-details/documentation.json +1 -1
  261. package/dist/collection/components/mds-details/mds-details.js +1 -1
  262. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  263. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  264. package/dist/collection/components/mds-dropdown/mds-dropdown.css +12 -14
  265. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  266. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  268. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  269. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  270. package/dist/collection/components/mds-entity/documentation.json +2 -2
  271. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  272. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  273. package/dist/collection/components/mds-file/documentation.json +1 -1
  274. package/dist/collection/components/mds-file/mds-file.css +3 -2
  275. package/dist/collection/components/mds-file/mds-file.js +1 -1
  276. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  277. package/dist/collection/components/mds-file-preview/documentation.json +2 -2
  278. package/dist/collection/components/mds-file-preview/mds-file-preview.css +3 -2
  279. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  280. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  281. package/dist/collection/components/mds-filter/documentation.json +1 -1
  282. package/dist/collection/components/mds-filter/mds-filter.css +3 -2
  283. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  284. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  285. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  286. package/dist/collection/components/mds-filter-item/mds-filter-item.css +3 -2
  287. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  288. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  289. package/dist/collection/components/mds-header/documentation.json +2 -2
  290. package/dist/collection/components/mds-header/mds-header.css +3 -2
  291. package/dist/collection/components/mds-header/mds-header.js +1 -1
  292. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  293. package/dist/collection/components/mds-header-bar/documentation.json +2 -2
  294. package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
  295. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  296. package/dist/collection/components/mds-help/documentation.json +1 -1
  297. package/dist/collection/components/mds-help/mds-help.js +1 -1
  298. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  299. package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
  300. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  301. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  302. package/dist/collection/components/mds-hr/documentation.json +1 -1
  303. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  304. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  305. package/dist/collection/components/mds-icon/documentation.json +1 -1
  306. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  307. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  308. package/dist/collection/components/mds-img/documentation.json +2 -2
  309. package/dist/collection/components/mds-input/AGENTS.md +1 -1
  310. package/dist/collection/components/mds-input/documentation.json +2 -2
  311. package/dist/collection/components/mds-input/mds-input.css +16 -8
  312. package/dist/collection/components/mds-input/mds-input.js +3 -3
  313. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  314. package/dist/collection/components/mds-input-date/documentation.json +2 -2
  315. package/dist/collection/components/mds-input-date/mds-input-date.css +3 -2
  316. package/dist/collection/components/mds-input-date/mds-input-date.js +2 -2
  317. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  318. package/dist/collection/components/mds-input-date-range/documentation.json +2 -2
  319. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +3 -2
  320. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  321. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +2 -2
  322. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  323. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  324. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  325. package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
  326. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  327. package/dist/collection/components/mds-input-otp/documentation.json +2 -2
  328. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  329. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  330. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  331. package/dist/collection/components/mds-input-range/mds-input-range.css +3 -2
  332. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  333. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  334. package/dist/collection/components/mds-input-select/documentation.json +1 -1
  335. package/dist/collection/components/mds-input-select/mds-input-select.css +15 -11
  336. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  337. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  338. package/dist/collection/components/mds-input-switch/documentation.json +1 -1
  339. package/dist/collection/components/mds-input-switch/mds-input-switch.css +3 -2
  340. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  341. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  342. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  343. package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
  344. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  346. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  347. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  348. package/dist/collection/components/mds-input-upload/documentation.json +2 -2
  349. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  350. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-keyboard/documentation.json +2 -2
  352. package/dist/collection/components/mds-keyboard/mds-keyboard.css +3 -2
  353. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  354. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  355. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  356. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  357. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  358. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  359. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  360. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  361. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  362. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +9 -6
  363. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  364. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  365. package/dist/collection/components/mds-label/documentation.json +2 -2
  366. package/dist/collection/components/mds-label/mds-label.css +3 -2
  367. package/dist/collection/components/mds-link/AGENTS.md +1 -1
  368. package/dist/collection/components/mds-link/documentation.json +1 -1
  369. package/dist/collection/components/mds-link/mds-link.js +3 -3
  370. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  371. package/dist/collection/components/mds-list/documentation.json +1 -1
  372. package/dist/collection/components/mds-list/mds-list.js +1 -1
  373. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  374. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  375. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  376. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  377. package/dist/collection/components/mds-mention/documentation.json +2 -2
  378. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  379. package/dist/collection/components/mds-modal/AGENTS.md +3 -3
  380. package/dist/collection/components/mds-modal/documentation.json +4 -4
  381. package/dist/collection/components/mds-modal/mds-modal.css +3 -2
  382. package/dist/collection/components/mds-modal/mds-modal.js +32 -13
  383. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  384. package/dist/collection/components/mds-note/documentation.json +2 -2
  385. package/dist/collection/components/mds-note/mds-note.css +3 -2
  386. package/dist/collection/components/mds-note/mds-note.js +1 -1
  387. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  388. package/dist/collection/components/mds-notification/documentation.json +1 -1
  389. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  390. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  391. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  392. package/dist/collection/components/mds-paginator/mds-paginator.css +3 -2
  393. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  394. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  395. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  396. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  397. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  398. package/dist/collection/components/mds-policy-ai/documentation.json +2 -2
  399. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  400. package/dist/collection/components/mds-pref/AGENTS.md +3 -3
  401. package/dist/collection/components/mds-pref/documentation.json +4 -9
  402. package/dist/collection/components/mds-pref/examples.md +1 -1
  403. package/dist/collection/components/mds-pref/mds-pref.js +1 -29
  404. package/dist/collection/components/mds-pref/mistakes.md +1 -1
  405. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  406. package/dist/collection/components/mds-pref-animation/documentation.json +2 -2
  407. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  408. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  409. package/dist/collection/components/mds-pref-consumption/documentation.json +2 -2
  410. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  411. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  412. package/dist/collection/components/mds-pref-contrast/documentation.json +2 -2
  413. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  414. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  415. package/dist/collection/components/mds-pref-language/documentation.json +2 -2
  416. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  417. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  418. package/dist/collection/components/mds-pref-language-item/documentation.json +2 -2
  419. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  420. package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -2
  421. package/dist/collection/components/mds-pref-mode/documentation.json +5 -5
  422. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -1
  423. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +20 -11
  424. package/dist/collection/components/mds-pref-mode/mistakes.md +1 -1
  425. package/dist/collection/components/mds-pref-theme/AGENTS.md +6 -5
  426. package/dist/collection/components/mds-pref-theme/documentation.json +7 -7
  427. package/dist/collection/components/mds-pref-theme/examples.md +1 -1
  428. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +32 -9
  429. package/dist/collection/components/mds-pref-theme/mistakes.md +1 -1
  430. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +2 -2
  431. package/dist/collection/components/mds-pref-theme-item/documentation.json +3 -3
  432. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  433. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  434. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  435. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  436. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  437. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  438. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  439. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  440. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  441. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +3 -2
  442. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  443. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  444. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  445. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +3 -2
  446. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  447. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  448. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  449. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  450. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  451. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  452. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +3 -2
  453. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  454. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  455. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  456. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  457. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  458. package/dist/collection/components/mds-progress/documentation.json +1 -1
  459. package/dist/collection/components/mds-progress/mds-progress.css +3 -2
  460. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  461. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  462. package/dist/collection/components/mds-push-notification/documentation.json +2 -2
  463. package/dist/collection/components/mds-push-notification/mds-push-notification.css +3 -2
  464. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  465. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  466. package/dist/collection/components/mds-push-notification-item/documentation.json +2 -2
  467. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  468. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  469. package/dist/collection/components/mds-quote/documentation.json +1 -1
  470. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  471. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  472. package/dist/collection/components/mds-radial-menu/documentation.json +2 -2
  473. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  474. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  475. package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
  476. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  477. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  478. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  479. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  480. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  481. package/dist/collection/components/mds-separator/documentation.json +1 -1
  482. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  483. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  484. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  485. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  486. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  487. package/dist/collection/components/mds-status-bar/documentation.json +2 -2
  488. package/dist/collection/components/mds-status-bar/mds-status-bar.css +3 -2
  489. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  490. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  491. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  492. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  493. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  494. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  495. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  496. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  497. package/dist/collection/components/mds-tab/documentation.json +1 -1
  498. package/dist/collection/components/mds-tab/mds-tab.css +3 -2
  499. package/dist/collection/components/mds-tab/mds-tab.js +2 -2
  500. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  501. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  502. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +3 -2
  503. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  504. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  505. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  506. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +3 -2
  507. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  508. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  509. package/dist/collection/components/mds-tab-item/documentation.json +2 -2
  510. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  511. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  512. package/dist/collection/components/mds-table/documentation.json +1 -1
  513. package/dist/collection/components/mds-table/mds-table.css +6 -4
  514. package/dist/collection/components/mds-table/mds-table.js +1 -1
  515. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  516. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  517. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  518. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  519. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  520. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  521. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  522. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  523. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  524. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  525. package/dist/collection/components/mds-table-header/documentation.json +2 -2
  526. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  527. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  528. package/dist/collection/components/mds-table-header-cell/documentation.json +2 -2
  529. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  530. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  531. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  532. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  533. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  534. package/dist/collection/components/mds-text/documentation.json +1 -1
  535. package/dist/collection/components/mds-text/mds-text.js +1 -1
  536. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  537. package/dist/collection/components/mds-toast/documentation.json +2 -2
  538. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  539. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  540. package/dist/collection/components/mds-toast-region/documentation.json +1 -1
  541. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  542. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  543. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  544. package/dist/collection/components/mds-tooltip/mds-tooltip.css +4 -2
  545. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  546. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  547. package/dist/collection/components/mds-tree/documentation.json +1 -1
  548. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  549. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  550. package/dist/collection/components/mds-tree-item/documentation.json +2 -2
  551. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  552. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  553. package/dist/collection/components/mds-url-view/documentation.json +2 -2
  554. package/dist/collection/components/mds-url-view/mds-url-view.css +3 -2
  555. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  556. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  557. package/dist/collection/components/mds-usage/documentation.json +1 -1
  558. package/dist/collection/components/mds-usage/mds-usage.css +3 -2
  559. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  560. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  561. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  562. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  563. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  564. package/dist/collection/components/mds-zero/documentation.json +1 -1
  565. package/dist/collection/components/mds-zero/mds-zero.css +3 -2
  566. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  567. package/dist/collection/type/button.js +3 -0
  568. package/dist/components/index.js +1 -1
  569. package/dist/components/mds-accordion-item.js +1 -1
  570. package/dist/components/mds-accordion-timer-item.js +1 -1
  571. package/dist/components/mds-accordion.js +1 -1
  572. package/dist/components/mds-avatar-stack-item.js +1 -1
  573. package/dist/components/mds-avatar-stack.js +1 -1
  574. package/dist/components/mds-avatar.js +1 -1
  575. package/dist/components/mds-badge.js +1 -1
  576. package/dist/components/mds-banner.js +1 -1
  577. package/dist/components/mds-benchmark-bar.js +1 -1
  578. package/dist/components/mds-bibliography.js +1 -1
  579. package/dist/components/mds-book.js +1 -1
  580. package/dist/components/mds-breadcrumb-item.js +1 -1
  581. package/dist/components/mds-breadcrumb.js +1 -1
  582. package/dist/components/mds-button-dropdown.js +1 -1
  583. package/dist/components/mds-button-group.js +1 -1
  584. package/dist/components/mds-button.js +1 -1
  585. package/dist/components/mds-calendar-cell.js +1 -1
  586. package/dist/components/mds-calendar.js +1 -1
  587. package/dist/components/mds-card-content.js +1 -1
  588. package/dist/components/mds-card-footer.js +1 -1
  589. package/dist/components/mds-card-header.js +1 -1
  590. package/dist/components/mds-card-media.js +1 -1
  591. package/dist/components/mds-card.js +1 -1
  592. package/dist/components/mds-chip.js +1 -1
  593. package/dist/components/mds-details.js +1 -1
  594. package/dist/components/mds-dropdown.js +1 -1
  595. package/dist/components/mds-emoji.js +3 -3
  596. package/dist/components/mds-entity.js +1 -1
  597. package/dist/components/mds-file-preview.js +1 -1
  598. package/dist/components/mds-file.js +1 -1
  599. package/dist/components/mds-filter-item.js +1 -1
  600. package/dist/components/mds-filter.js +1 -1
  601. package/dist/components/mds-header-bar.js +1 -1
  602. package/dist/components/mds-header.js +1 -1
  603. package/dist/components/mds-help.js +1 -1
  604. package/dist/components/mds-horizontal-scroll.js +1 -1
  605. package/dist/components/mds-hr.js +1 -1
  606. package/dist/components/mds-icon.js +1 -1
  607. package/dist/components/mds-img.js +1 -1
  608. package/dist/components/mds-input-date-range-preselection.js +1 -1
  609. package/dist/components/mds-input-date-range.js +1 -1
  610. package/dist/components/mds-input-date.js +1 -1
  611. package/dist/components/mds-input-field.js +1 -1
  612. package/dist/components/mds-input-otp.js +1 -1
  613. package/dist/components/mds-input-range.js +1 -1
  614. package/dist/components/mds-input-select.js +1 -1
  615. package/dist/components/mds-input-switch.js +1 -1
  616. package/dist/components/mds-input-tip-item.js +1 -1
  617. package/dist/components/mds-input-tip.js +1 -1
  618. package/dist/components/mds-input-upload.js +1 -1
  619. package/dist/components/mds-input.js +1 -1
  620. package/dist/components/mds-keyboard-key.js +1 -1
  621. package/dist/components/mds-keyboard.js +1 -1
  622. package/dist/components/mds-kpi-item.js +1 -1
  623. package/dist/components/mds-kpi.js +1 -1
  624. package/dist/components/mds-label.js +1 -1
  625. package/dist/components/mds-link.js +1 -1
  626. package/dist/components/mds-list-item.js +1 -1
  627. package/dist/components/mds-list.js +1 -1
  628. package/dist/components/mds-mention.js +1 -1
  629. package/dist/components/mds-modal.js +1 -1
  630. package/dist/components/mds-note.js +1 -1
  631. package/dist/components/mds-notification.js +1 -1
  632. package/dist/components/mds-paginator-item.js +1 -1
  633. package/dist/components/mds-paginator.js +1 -1
  634. package/dist/components/mds-policy-ai.js +1 -1
  635. package/dist/components/mds-pref-animation.js +1 -1
  636. package/dist/components/mds-pref-consumption.js +1 -1
  637. package/dist/components/mds-pref-contrast.js +1 -1
  638. package/dist/components/mds-pref-language-item.js +1 -1
  639. package/dist/components/mds-pref-language.js +1 -1
  640. package/dist/components/mds-pref-mode.js +1 -1
  641. package/dist/components/mds-pref-theme-item.js +1 -1
  642. package/dist/components/mds-pref-theme.js +1 -1
  643. package/dist/components/mds-pref.js +1 -1
  644. package/dist/components/mds-price-table-features-cell.js +1 -1
  645. package/dist/components/mds-price-table-features-row.js +1 -1
  646. package/dist/components/mds-price-table-features.js +1 -1
  647. package/dist/components/mds-price-table-header.js +1 -1
  648. package/dist/components/mds-price-table-list-item.js +1 -1
  649. package/dist/components/mds-price-table-list.js +1 -1
  650. package/dist/components/mds-price-table.js +1 -1
  651. package/dist/components/mds-progress.js +1 -1
  652. package/dist/components/mds-push-notification-item.js +1 -1
  653. package/dist/components/mds-push-notification.js +1 -1
  654. package/dist/components/mds-quote.js +1 -1
  655. package/dist/components/mds-radial-menu-item.js +1 -1
  656. package/dist/components/mds-radial-menu.js +1 -1
  657. package/dist/components/mds-radial-progress.js +1 -1
  658. package/dist/components/mds-separator.js +1 -1
  659. package/dist/components/mds-spinner.js +1 -1
  660. package/dist/components/mds-status-bar.js +1 -1
  661. package/dist/components/mds-stepper-bar-item.js +1 -1
  662. package/dist/components/mds-stepper-bar.js +1 -1
  663. package/dist/components/mds-tab-bar-item.js +1 -1
  664. package/dist/components/mds-tab-bar.js +1 -1
  665. package/dist/components/mds-tab-item.js +1 -1
  666. package/dist/components/mds-tab.js +1 -1
  667. package/dist/components/mds-table-body.js +1 -1
  668. package/dist/components/mds-table-cell.js +1 -1
  669. package/dist/components/mds-table-footer.js +1 -1
  670. package/dist/components/mds-table-header-cell.js +1 -1
  671. package/dist/components/mds-table-header.js +1 -1
  672. package/dist/components/mds-table-row.js +1 -1
  673. package/dist/components/mds-table.js +1 -1
  674. package/dist/components/mds-text.js +1 -1
  675. package/dist/components/mds-toast-region.js +1 -1
  676. package/dist/components/mds-toast.js +1 -1
  677. package/dist/components/mds-tooltip.js +1 -1
  678. package/dist/components/mds-tree-item.js +1 -1
  679. package/dist/components/mds-tree.js +1 -1
  680. package/dist/components/mds-url-view.js +1 -1
  681. package/dist/components/mds-usage.js +1 -1
  682. package/dist/components/mds-video-wall.js +1 -1
  683. package/dist/components/mds-zero.js +1 -1
  684. package/dist/components/p-3rr6yzu-.js +1 -0
  685. package/dist/components/{p-DvDB_L_5.js → p-BBZyH3mn.js} +1 -1
  686. package/dist/components/{p-C7rDjrH4.js → p-BBrPpCNK.js} +1 -1
  687. package/dist/components/p-BE05D6Pe.js +1 -0
  688. package/dist/components/{p-ikNX7XDH.js → p-BI1ShBQG.js} +1 -1
  689. package/dist/components/p-BQSO-HFx.js +1 -0
  690. package/dist/components/{p-CVRN4LDc.js → p-Bbrei_yQ.js} +1 -1
  691. package/dist/components/{p-DhpcFZrc.js → p-BpND63Kl.js} +1 -1
  692. package/dist/components/{p-DqdlT4UG.js → p-BuhoBOYR.js} +1 -1
  693. package/dist/components/p-Bw-eI2ca.js +1 -0
  694. package/dist/components/{p-DTtmr_Y9.js → p-BwwiliWt.js} +1 -1
  695. package/dist/components/{p-COkn4Vtq.js → p-C6LU1s8K.js} +1 -1
  696. package/dist/components/{p-Br6-kva-.js → p-CWOW2Vna.js} +1 -1
  697. package/dist/components/{p-B6AFku7a.js → p-CZX6N7ce.js} +1 -1
  698. package/dist/components/{p-BFDRt7-n.js → p-CZwKeFQT.js} +1 -1
  699. package/dist/components/{p-CKnbQQUb.js → p-ClvoVgmw.js} +1 -1
  700. package/dist/{magma-components/p-CLhuNxYQ.js → components/p-CpuUmvdl.js} +1 -1
  701. package/dist/components/{p-C_Pc94vn.js → p-CrOv4KdL.js} +1 -1
  702. package/dist/components/{p-CZjwSwe5.js → p-CvbuCEYD.js} +2 -2
  703. package/dist/components/{p-D8CloC8I.js → p-DN1yF-xO.js} +1 -1
  704. package/dist/components/{p-4LbHmDXv.js → p-DUgCzZw9.js} +1 -1
  705. package/dist/components/{p-DJd8f8dz.js → p-DWOg4-dH.js} +1 -1
  706. package/dist/components/{p-FsctOap9.js → p-DZ4_zLTp.js} +1 -1
  707. package/dist/components/{p-gLo3t_qO.js → p-Do7IoDLD.js} +2 -2
  708. package/dist/components/{p-BiW6luA5.js → p-DrtIqOQn.js} +1 -1
  709. package/dist/components/p-DwKxtKwS.js +1 -0
  710. package/dist/components/{p-DOdUioZq.js → p-F0qhFsF0.js} +1 -1
  711. package/dist/components/p-J48g0t65.js +1 -0
  712. package/dist/components/{p-BaynxVRZ.js → p-NNPsVjnj.js} +1 -1
  713. package/dist/components/{p-CP5Qw9_T.js → p-UfaGafRS.js} +1 -1
  714. package/dist/components/{p-DdzJfsw7.js → p-Vgo7t88R.js} +1 -1
  715. package/dist/components/{p-D_RIY063.js → p-j5Hnbfv9.js} +1 -1
  716. package/dist/components/{p-DW6ie49j.js → p-k_Ly95Tj.js} +1 -1
  717. package/dist/components/{p-DlglisEn.js → p-lXKBo6V3.js} +1 -1
  718. package/dist/components/{p-DGhzWuCS.js → p-oFHbHRLX.js} +1 -1
  719. package/dist/documentation.json +263 -77
  720. package/dist/esm/{aria-Cvhn9asj.js → aria-DwKxtKwS.js} +12 -1
  721. package/dist/esm/{floating-controller-BVlbYYkf.js → floating-controller-xixU_s1w.js} +1 -1
  722. package/dist/esm/{index-BJVvHlvf.js → index-DEL0bLpb.js} +1 -1
  723. package/dist/esm/loader.js +1 -1
  724. package/dist/esm/{locale-B6cOkl4I.js → locale-DhP1Ge2o.js} +1 -1
  725. package/dist/esm/magma-components.js +1 -1
  726. package/dist/esm/mds-accordion-item.entry.js +1 -1
  727. package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
  728. package/dist/esm/mds-accordion.entry.js +1 -1
  729. package/dist/esm/mds-avatar.entry.js +1 -1
  730. package/dist/esm/mds-badge.entry.js +2 -2
  731. package/dist/esm/mds-banner_3.entry.js +5 -5
  732. package/dist/esm/mds-book.entry.js +2 -2
  733. package/dist/esm/mds-breadcrumb.entry.js +2 -2
  734. package/dist/esm/mds-button-dropdown.entry.js +6 -4
  735. package/dist/esm/mds-button-group.entry.js +1 -1
  736. package/dist/esm/mds-button_3.entry.js +78 -16
  737. package/dist/esm/mds-calendar_2.entry.js +8 -8
  738. package/dist/esm/mds-card-content.entry.js +1 -1
  739. package/dist/esm/mds-card-footer.entry.js +1 -1
  740. package/dist/esm/mds-card-header.entry.js +1 -1
  741. package/dist/esm/mds-card-media.entry.js +1 -1
  742. package/dist/esm/mds-card.entry.js +2 -2
  743. package/dist/esm/mds-details.entry.js +2 -2
  744. package/dist/esm/mds-dropdown.entry.js +6 -6
  745. package/dist/esm/mds-emoji.entry.js +2 -2
  746. package/dist/esm/mds-entity.entry.js +2 -2
  747. package/dist/esm/mds-file-preview.entry.js +5 -5
  748. package/dist/esm/mds-file.entry.js +5 -5
  749. package/dist/esm/mds-filter-item.entry.js +5 -5
  750. package/dist/esm/mds-filter.entry.js +4 -4
  751. package/dist/esm/mds-header-bar.entry.js +3 -3
  752. package/dist/esm/mds-header.entry.js +3 -3
  753. package/dist/esm/mds-horizontal-scroll.entry.js +3 -3
  754. package/dist/esm/mds-hr.entry.js +2 -2
  755. package/dist/esm/mds-img.entry.js +2 -2
  756. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  757. package/dist/esm/mds-input-date-range.entry.js +4 -4
  758. package/dist/esm/mds-input-date.entry.js +6 -6
  759. package/dist/esm/mds-input-field.entry.js +1 -1
  760. package/dist/esm/mds-input-otp.entry.js +3 -3
  761. package/dist/esm/mds-input-range.entry.js +3 -3
  762. package/dist/esm/mds-input-select.entry.js +6 -6
  763. package/dist/esm/mds-input-switch_2.entry.js +6 -6
  764. package/dist/esm/mds-input-tip_2.entry.js +5 -5
  765. package/dist/esm/mds-input-upload.entry.js +7 -7
  766. package/dist/esm/mds-input.entry.js +8 -8
  767. package/dist/esm/mds-keyboard-key.entry.js +3 -3
  768. package/dist/esm/mds-keyboard.entry.js +4 -4
  769. package/dist/esm/mds-kpi-item.entry.js +3 -3
  770. package/dist/esm/mds-kpi.entry.js +1 -1
  771. package/dist/esm/mds-label.entry.js +3 -3
  772. package/dist/esm/mds-link.entry.js +5 -5
  773. package/dist/esm/mds-list-item.entry.js +1 -1
  774. package/dist/esm/mds-list.entry.js +1 -1
  775. package/dist/esm/mds-mention.entry.js +3 -3
  776. package/dist/esm/mds-modal.entry.js +34 -15
  777. package/dist/esm/mds-note.entry.js +4 -4
  778. package/dist/esm/mds-notification.entry.js +3 -3
  779. package/dist/esm/mds-paginator-item.entry.js +2 -2
  780. package/dist/esm/mds-paginator.entry.js +4 -4
  781. package/dist/esm/mds-policy-ai.entry.js +3 -3
  782. package/dist/esm/mds-pref-animation.entry.js +3 -3
  783. package/dist/esm/mds-pref-consumption.entry.js +3 -3
  784. package/dist/esm/mds-pref-contrast.entry.js +3 -3
  785. package/dist/esm/mds-pref-language-item.entry.js +3 -3
  786. package/dist/esm/mds-pref-language.entry.js +3 -3
  787. package/dist/esm/mds-pref-mode.entry.js +22 -13
  788. package/dist/esm/mds-pref-theme-item.entry.js +1 -1
  789. package/dist/esm/mds-pref-theme.entry.js +31 -8
  790. package/dist/esm/mds-pref.entry.js +3 -25
  791. package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
  792. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  793. package/dist/esm/mds-price-table-features.entry.js +2 -2
  794. package/dist/esm/mds-price-table-header.entry.js +1 -1
  795. package/dist/esm/mds-price-table-list-item.entry.js +1 -1
  796. package/dist/esm/mds-price-table-list.entry.js +3 -3
  797. package/dist/esm/mds-price-table.entry.js +1 -1
  798. package/dist/esm/mds-progress_2.entry.js +4 -4
  799. package/dist/esm/mds-push-notification-item.entry.js +4 -4
  800. package/dist/esm/mds-push-notification.entry.js +4 -4
  801. package/dist/esm/mds-quote.entry.js +2 -2
  802. package/dist/esm/mds-radial-menu-item.entry.js +1 -1
  803. package/dist/esm/mds-radial-menu.entry.js +5 -5
  804. package/dist/esm/mds-separator.entry.js +2 -2
  805. package/dist/esm/mds-status-bar.entry.js +3 -3
  806. package/dist/esm/mds-stepper-bar-item.entry.js +3 -3
  807. package/dist/esm/mds-stepper-bar.entry.js +1 -1
  808. package/dist/esm/mds-tab-bar-item.entry.js +4 -4
  809. package/dist/esm/mds-tab-bar.entry.js +3 -3
  810. package/dist/esm/mds-tab_2.entry.js +6 -6
  811. package/dist/esm/mds-table-body.entry.js +2 -2
  812. package/dist/esm/mds-table-footer.entry.js +2 -2
  813. package/dist/esm/mds-table-header-cell.entry.js +2 -2
  814. package/dist/esm/mds-table-header.entry.js +3 -3
  815. package/dist/esm/mds-table-row.entry.js +4 -4
  816. package/dist/esm/mds-table.entry.js +4 -4
  817. package/dist/esm/mds-text.entry.js +2 -2
  818. package/dist/esm/mds-toast-region.entry.js +1 -1
  819. package/dist/esm/mds-toast.entry.js +3 -3
  820. package/dist/esm/mds-tooltip.entry.js +5 -5
  821. package/dist/esm/mds-tree-item.entry.js +3 -3
  822. package/dist/esm/mds-tree.entry.js +1 -1
  823. package/dist/esm/mds-url-view.entry.js +4 -4
  824. package/dist/esm/mds-usage.entry.js +4 -4
  825. package/dist/esm/mds-video-wall.entry.js +2 -2
  826. package/dist/esm/mds-zero.entry.js +3 -3
  827. package/dist/esm/{preference-C5XjgGCb.js → preference-C8foBO86.js} +19 -1
  828. package/dist/esm-es5/aria-DwKxtKwS.js +12 -0
  829. package/dist/esm-es5/{floating-controller-BVlbYYkf.js → floating-controller-xixU_s1w.js} +1 -1
  830. package/dist/esm-es5/{index-BJVvHlvf.js → index-DEL0bLpb.js} +1 -1
  831. package/dist/esm-es5/loader.js +1 -1
  832. package/dist/esm-es5/{locale-B6cOkl4I.js → locale-DhP1Ge2o.js} +18 -18
  833. package/dist/esm-es5/magma-components.js +1 -1
  834. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  835. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  836. package/dist/esm-es5/mds-accordion.entry.js +1 -1
  837. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  838. package/dist/esm-es5/mds-badge.entry.js +1 -1
  839. package/dist/esm-es5/mds-banner_3.entry.js +4 -4
  840. package/dist/esm-es5/mds-book.entry.js +1 -1
  841. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  842. package/dist/esm-es5/mds-button-dropdown.entry.js +6 -4
  843. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  844. package/dist/esm-es5/mds-button_3.entry.js +39 -17
  845. package/dist/esm-es5/mds-calendar_2.entry.js +4 -4
  846. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  847. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  848. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  849. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  850. package/dist/esm-es5/mds-card.entry.js +2 -2
  851. package/dist/esm-es5/mds-details.entry.js +2 -2
  852. package/dist/esm-es5/mds-dropdown.entry.js +13 -13
  853. package/dist/esm-es5/mds-emoji.entry.js +2 -2
  854. package/dist/esm-es5/mds-entity.entry.js +1 -1
  855. package/dist/esm-es5/mds-file-preview.entry.js +7 -7
  856. package/dist/esm-es5/mds-file.entry.js +3 -3
  857. package/dist/esm-es5/mds-filter-item.entry.js +2 -2
  858. package/dist/esm-es5/mds-filter.entry.js +2 -2
  859. package/dist/esm-es5/mds-header-bar.entry.js +2 -2
  860. package/dist/esm-es5/mds-header.entry.js +2 -2
  861. package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
  862. package/dist/esm-es5/mds-hr.entry.js +1 -1
  863. package/dist/esm-es5/mds-img.entry.js +1 -1
  864. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +3 -3
  865. package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
  866. package/dist/esm-es5/mds-input-date.entry.js +3 -3
  867. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  868. package/dist/esm-es5/mds-input-otp.entry.js +2 -2
  869. package/dist/esm-es5/mds-input-range.entry.js +2 -2
  870. package/dist/esm-es5/mds-input-select.entry.js +10 -10
  871. package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
  872. package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
  873. package/dist/esm-es5/mds-input-upload.entry.js +2 -2
  874. package/dist/esm-es5/mds-input.entry.js +3 -3
  875. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  876. package/dist/esm-es5/mds-keyboard.entry.js +2 -2
  877. package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
  878. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  879. package/dist/esm-es5/mds-label.entry.js +1 -1
  880. package/dist/esm-es5/mds-link.entry.js +2 -2
  881. package/dist/esm-es5/mds-list-item.entry.js +1 -1
  882. package/dist/esm-es5/mds-list.entry.js +1 -1
  883. package/dist/esm-es5/mds-mention.entry.js +2 -2
  884. package/dist/esm-es5/mds-modal.entry.js +23 -11
  885. package/dist/esm-es5/mds-note.entry.js +2 -2
  886. package/dist/esm-es5/mds-notification.entry.js +2 -2
  887. package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
  888. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  889. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  890. package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
  891. package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
  892. package/dist/esm-es5/mds-pref-contrast.entry.js +3 -3
  893. package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
  894. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  895. package/dist/esm-es5/mds-pref-mode.entry.js +13 -3
  896. package/dist/esm-es5/mds-pref-theme-item.entry.js +1 -1
  897. package/dist/esm-es5/mds-pref-theme.entry.js +19 -6
  898. package/dist/esm-es5/mds-pref.entry.js +4 -12
  899. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  900. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  901. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  902. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  903. package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
  904. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  905. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  906. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  907. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  908. package/dist/esm-es5/mds-push-notification.entry.js +6 -6
  909. package/dist/esm-es5/mds-quote.entry.js +2 -2
  910. package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
  911. package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
  912. package/dist/esm-es5/mds-separator.entry.js +1 -1
  913. package/dist/esm-es5/mds-status-bar.entry.js +3 -3
  914. package/dist/esm-es5/mds-stepper-bar-item.entry.js +2 -2
  915. package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
  916. package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
  917. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  918. package/dist/esm-es5/mds-tab_2.entry.js +3 -3
  919. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  920. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  921. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  922. package/dist/esm-es5/mds-table-header.entry.js +2 -2
  923. package/dist/esm-es5/mds-table-row.entry.js +2 -2
  924. package/dist/esm-es5/mds-table.entry.js +2 -2
  925. package/dist/esm-es5/mds-text.entry.js +2 -2
  926. package/dist/esm-es5/mds-toast-region.entry.js +1 -1
  927. package/dist/esm-es5/mds-toast.entry.js +2 -2
  928. package/dist/esm-es5/mds-tooltip.entry.js +2 -2
  929. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  930. package/dist/esm-es5/mds-tree.entry.js +1 -1
  931. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  932. package/dist/esm-es5/mds-usage.entry.js +3 -3
  933. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  934. package/dist/esm-es5/mds-zero.entry.js +1 -1
  935. package/dist/esm-es5/{preference-C5XjgGCb.js → preference-C8foBO86.js} +14 -4
  936. package/dist/hydrate/index.js +343 -216
  937. package/dist/hydrate/index.mjs +343 -216
  938. package/dist/lint/core/patterns.d.ts +26 -16
  939. package/dist/lint/core/patterns.js +55 -38
  940. package/dist/lint/mcp/tools.json +7 -7
  941. package/dist/magma-components/magma-components.esm.js +1 -1
  942. package/dist/magma-components/{p-0384db44.system.entry.js → p-00d2ef14.system.entry.js} +5 -5
  943. package/dist/magma-components/{p-ff65fc97.entry.js → p-02aed12a.entry.js} +1 -1
  944. package/dist/magma-components/{p-7c055074.entry.js → p-08f7a84b.entry.js} +1 -1
  945. package/dist/magma-components/{p-8239e526.system.entry.js → p-09a7c1de.system.entry.js} +1 -1
  946. package/dist/magma-components/{p-18244fd7.system.entry.js → p-0da5c696.system.entry.js} +3 -3
  947. package/dist/magma-components/{p-5575f198.entry.js → p-0df067b4.entry.js} +1 -1
  948. package/dist/magma-components/{p-b6412ddd.system.entry.js → p-0e1d239b.system.entry.js} +1 -1
  949. package/dist/magma-components/{p-ac161cb5.entry.js → p-0f4c2de6.entry.js} +1 -1
  950. package/dist/magma-components/{p-0c8f22dc.system.entry.js → p-11456781.system.entry.js} +2 -2
  951. package/dist/magma-components/{p-a2e3a545.entry.js → p-14de26d5.entry.js} +1 -1
  952. package/dist/magma-components/p-163eccbd.entry.js +1 -0
  953. package/dist/magma-components/{p-844bce77.entry.js → p-167ba07a.entry.js} +1 -1
  954. package/dist/magma-components/{p-f4fc9f29.system.entry.js → p-16bbff4e.system.entry.js} +1 -1
  955. package/dist/magma-components/{p-e059aaa9.entry.js → p-17249b74.entry.js} +1 -1
  956. package/dist/magma-components/{p-95ddc950.system.entry.js → p-188a55ac.system.entry.js} +3 -3
  957. package/dist/magma-components/{p-c9bd81c5.system.entry.js → p-1a53d9d0.system.entry.js} +7 -7
  958. package/dist/magma-components/{p-27254fbd.entry.js → p-1cc379d6.entry.js} +1 -1
  959. package/dist/magma-components/{p-ae9735e4.system.entry.js → p-1dc0d59c.system.entry.js} +2 -2
  960. package/dist/magma-components/{p-384d93dc.system.entry.js → p-1e24aafa.system.entry.js} +1 -1
  961. package/dist/magma-components/p-223efc32.entry.js +1 -0
  962. package/dist/magma-components/{p-1467ded5.system.entry.js → p-2454e4cd.system.entry.js} +2 -2
  963. package/dist/magma-components/{p-18b27217.entry.js → p-24a69c45.entry.js} +1 -1
  964. package/dist/magma-components/{p-fae9612b.system.entry.js → p-24fb2c5c.system.entry.js} +2 -2
  965. package/dist/magma-components/{p-ef1bdd44.entry.js → p-259d9380.entry.js} +1 -1
  966. package/dist/magma-components/{p-4fc0e294.entry.js → p-26b08e33.entry.js} +1 -1
  967. package/dist/magma-components/{p-c35ea44d.system.entry.js → p-27a32865.system.entry.js} +2 -2
  968. package/dist/magma-components/{p-299dab17.entry.js → p-2940499f.entry.js} +1 -1
  969. package/dist/magma-components/{p-6129954d.system.entry.js → p-2a5167e3.system.entry.js} +1 -1
  970. package/dist/magma-components/{p-ad13ade5.system.entry.js → p-2e825656.system.entry.js} +3 -3
  971. package/dist/magma-components/{p-308a4ae5.system.entry.js → p-2f4a7253.system.entry.js} +1 -1
  972. package/dist/magma-components/{p-29dd6d94.entry.js → p-2ffa4d4a.entry.js} +1 -1
  973. package/dist/magma-components/{p-d360e4c5.entry.js → p-32b3ad6f.entry.js} +1 -1
  974. package/dist/magma-components/{p-5686da49.system.entry.js → p-33129e0c.system.entry.js} +3 -3
  975. package/dist/magma-components/{p-9c2b67fc.system.entry.js → p-372fa5d4.system.entry.js} +3 -3
  976. package/dist/magma-components/p-380adee8.system.entry.js +5 -0
  977. package/dist/magma-components/{p-b0749f83.system.entry.js → p-390d0672.system.entry.js} +3 -3
  978. package/dist/magma-components/p-397c0686.entry.js +1 -0
  979. package/dist/magma-components/{p-e0049e96.system.entry.js → p-3a836de8.system.entry.js} +1 -1
  980. package/dist/magma-components/{p-fff26731.system.entry.js → p-3ba14295.system.entry.js} +2 -2
  981. package/dist/magma-components/{p-741f8f45.system.entry.js → p-3bf4f012.system.entry.js} +2 -2
  982. package/dist/magma-components/{p-5d56a7cd.system.entry.js → p-3c911608.system.entry.js} +3 -3
  983. package/dist/magma-components/{p-aac622ef.system.entry.js → p-3cf8ed46.system.entry.js} +1 -1
  984. package/dist/magma-components/{p-61e11cd0.system.entry.js → p-3ddae677.system.entry.js} +3 -3
  985. package/dist/magma-components/{p-2d2cdf0d.entry.js → p-3de37b32.entry.js} +1 -1
  986. package/dist/magma-components/{p-90d50492.system.entry.js → p-3f17a06f.system.entry.js} +2 -2
  987. package/dist/magma-components/{p-4f0153cd.entry.js → p-40c59c18.entry.js} +1 -1
  988. package/dist/magma-components/p-411fca2f.system.entry.js +14 -0
  989. package/dist/magma-components/{p-7f418ae1.entry.js → p-43c307f5.entry.js} +1 -1
  990. package/dist/magma-components/{p-14122f2d.entry.js → p-440d7942.entry.js} +1 -1
  991. package/dist/magma-components/{p-6a994dc1.entry.js → p-4541c233.entry.js} +1 -1
  992. package/dist/magma-components/{p-c915fba5.system.entry.js → p-45c26a24.system.entry.js} +1 -1
  993. package/dist/magma-components/{p-948ecde4.entry.js → p-4612bc78.entry.js} +2 -2
  994. package/dist/magma-components/{p-be2ca282.entry.js → p-4718a71d.entry.js} +1 -1
  995. package/dist/magma-components/{p-8a8cad6c.system.entry.js → p-48a1871f.system.entry.js} +1 -1
  996. package/dist/magma-components/{p-7ee31f2e.entry.js → p-4a1f7eb5.entry.js} +1 -1
  997. package/dist/magma-components/{p-adab176e.system.entry.js → p-4a2ed30e.system.entry.js} +2 -2
  998. package/dist/magma-components/{p-efe27253.system.entry.js → p-4a9ed4f7.system.entry.js} +1 -1
  999. package/dist/magma-components/{p-2d199db0.system.entry.js → p-4c3b3913.system.entry.js} +2 -2
  1000. package/dist/magma-components/p-4c955367.entry.js +1 -0
  1001. package/dist/magma-components/p-4ebb0a9e.entry.js +1 -0
  1002. package/dist/magma-components/{p-02b106c2.entry.js → p-4f80bf37.entry.js} +1 -1
  1003. package/dist/magma-components/{p-a65ce11a.system.entry.js → p-527569a3.system.entry.js} +2 -2
  1004. package/dist/magma-components/{p-0d42ac4a.entry.js → p-52cc5a93.entry.js} +1 -1
  1005. package/dist/magma-components/{p-3139988c.system.entry.js → p-54abba52.system.entry.js} +1 -1
  1006. package/dist/magma-components/{p-4fd0fdb8.system.entry.js → p-555ba0e0.system.entry.js} +2 -2
  1007. package/dist/magma-components/{p-5c8f408e.entry.js → p-56cf1cab.entry.js} +1 -1
  1008. package/dist/magma-components/{p-bba4f1f0.system.entry.js → p-5794053b.system.entry.js} +10 -10
  1009. package/dist/magma-components/{p-57ee6e32.entry.js → p-5a754d7b.entry.js} +1 -1
  1010. package/dist/magma-components/{p-f09f3fe1.system.entry.js → p-5c6fdabd.system.entry.js} +3 -3
  1011. package/dist/magma-components/{p-c683cd13.entry.js → p-5ca6063a.entry.js} +1 -1
  1012. package/dist/magma-components/{p-ac099ed6.entry.js → p-5cb581df.entry.js} +1 -1
  1013. package/dist/magma-components/{p-445198a1.entry.js → p-5d825728.entry.js} +1 -1
  1014. package/dist/magma-components/{p-60b21db7.entry.js → p-5dfca9f0.entry.js} +1 -1
  1015. package/dist/magma-components/{p-f181c679.system.entry.js → p-5f20592f.system.entry.js} +1 -1
  1016. package/dist/magma-components/p-5f38e95b.entry.js +1 -0
  1017. package/dist/magma-components/p-5f4bec31.entry.js +1 -0
  1018. package/dist/magma-components/p-627f5956.entry.js +1 -0
  1019. package/dist/magma-components/{p-a9caed77.entry.js → p-6336d979.entry.js} +1 -1
  1020. package/dist/magma-components/{p-7837856f.entry.js → p-6352c2ea.entry.js} +1 -1
  1021. package/dist/magma-components/{p-10d52280.entry.js → p-64884d84.entry.js} +1 -1
  1022. package/dist/magma-components/{p-98e167e8.system.entry.js → p-64f86e46.system.entry.js} +2 -2
  1023. package/dist/magma-components/{p-9a0f8eb1.entry.js → p-65ea6fc9.entry.js} +1 -1
  1024. package/dist/magma-components/{p-cf42d6ea.system.entry.js → p-66f7f9b1.system.entry.js} +3 -3
  1025. package/dist/magma-components/{p-13cfc01a.entry.js → p-68b0d45a.entry.js} +1 -1
  1026. package/dist/magma-components/{p-b61546fd.entry.js → p-6a4d44e2.entry.js} +1 -1
  1027. package/dist/magma-components/p-6a90caf5.system.entry.js +1 -0
  1028. package/dist/magma-components/{p-dfab370b.entry.js → p-6c4f2de0.entry.js} +1 -1
  1029. package/dist/magma-components/{p-12be0f43.system.entry.js → p-6f90c2c9.system.entry.js} +2 -2
  1030. package/dist/magma-components/p-70faf379.entry.js +1 -0
  1031. package/dist/magma-components/{p-e7f717ab.entry.js → p-71d03e56.entry.js} +1 -1
  1032. package/dist/magma-components/{p-b30b487c.system.entry.js → p-720e9291.system.entry.js} +3 -3
  1033. package/dist/magma-components/{p-bc054ffa.system.entry.js → p-724b7fff.system.entry.js} +2 -2
  1034. package/dist/magma-components/{p-6896786e.entry.js → p-73dc7c66.entry.js} +1 -1
  1035. package/dist/magma-components/{p-34421ef2.system.entry.js → p-7476cf76.system.entry.js} +3 -3
  1036. package/dist/magma-components/{p-0fc41e34.system.entry.js → p-7701a318.system.entry.js} +1 -1
  1037. package/dist/magma-components/{p-85bf9c93.entry.js → p-77707706.entry.js} +1 -1
  1038. package/dist/magma-components/{p-c9553777.entry.js → p-78d00f88.entry.js} +1 -1
  1039. package/dist/magma-components/{p-4f48c171.system.entry.js → p-79085c46.system.entry.js} +1 -1
  1040. package/dist/magma-components/{p-ccffdf0b.system.entry.js → p-793072e1.system.entry.js} +23 -11
  1041. package/dist/magma-components/{p-b2763352.entry.js → p-79392a0a.entry.js} +1 -1
  1042. package/dist/magma-components/{p-7ff5552f.entry.js → p-7a33ab3c.entry.js} +1 -1
  1043. package/dist/magma-components/{p-625de2e6.system.entry.js → p-7a4e8bc0.system.entry.js} +4 -4
  1044. package/dist/magma-components/p-7a73fd19.system.entry.js +127 -0
  1045. package/dist/magma-components/p-7b552dbe.entry.js +1 -0
  1046. package/dist/magma-components/{p-84aac233.entry.js → p-7c13ccb0.entry.js} +1 -1
  1047. package/dist/magma-components/{p-d81fcbde.system.entry.js → p-7e0a8194.system.entry.js} +5 -5
  1048. package/dist/magma-components/{p-45b19935.system.entry.js → p-7fbdf896.system.entry.js} +3 -3
  1049. package/dist/magma-components/{p-35c170ba.system.entry.js → p-804f4794.system.entry.js} +2 -2
  1050. package/dist/magma-components/{p-6c73689a.system.entry.js → p-840c19ee.system.entry.js} +4 -4
  1051. package/dist/magma-components/p-848d1b42.system.entry.js +30 -0
  1052. package/dist/magma-components/{p-81212e34.entry.js → p-86494ea9.entry.js} +1 -1
  1053. package/dist/magma-components/p-8915347f.entry.js +1 -0
  1054. package/dist/magma-components/{p-f493fdc3.entry.js → p-8c20ac0c.entry.js} +1 -1
  1055. package/dist/magma-components/{p-f22b8091.entry.js → p-90c60c48.entry.js} +1 -1
  1056. package/dist/magma-components/{p-60d6e60f.entry.js → p-90e20ad3.entry.js} +1 -1
  1057. package/dist/magma-components/{p-797c64f4.system.entry.js → p-9228db0b.system.entry.js} +13 -3
  1058. package/dist/magma-components/p-94548d43.entry.js +1 -0
  1059. package/dist/magma-components/{p-9c784173.entry.js → p-95020326.entry.js} +1 -1
  1060. package/dist/magma-components/{p-8feba226.entry.js → p-970f45df.entry.js} +1 -1
  1061. package/dist/magma-components/{p-9303fb16.system.entry.js → p-97a501cd.system.entry.js} +2 -2
  1062. package/dist/magma-components/{p-9e07535e.system.entry.js → p-98cc6473.system.entry.js} +26 -13
  1063. package/dist/magma-components/p-99d2ace2.system.entry.js +5 -0
  1064. package/dist/magma-components/{p-627c2780.entry.js → p-9aba3769.entry.js} +1 -1
  1065. package/dist/magma-components/{p-6d009b42.system.entry.js → p-9b0b65f0.system.entry.js} +2 -2
  1066. package/dist/magma-components/{p-f40e3918.system.entry.js → p-9b0d7f7d.system.entry.js} +2 -2
  1067. package/dist/magma-components/{p-5d1cba9c.system.entry.js → p-9b8d15a8.system.entry.js} +1 -1
  1068. package/dist/magma-components/{p-5931fdfc.system.entry.js → p-9e94f4a3.system.entry.js} +4 -4
  1069. package/dist/magma-components/{p-3b578659.system.entry.js → p-9f0100f2.system.entry.js} +2 -2
  1070. package/dist/magma-components/p-B8zYiZQY.system.js +1 -1
  1071. package/dist/magma-components/{p-CuHZXISO.system.js → p-BHdlb7Fr.system.js} +19 -19
  1072. package/dist/magma-components/p-BXVzhErg.system.js +12 -0
  1073. package/dist/magma-components/{p-OafT80hV.js → p-CATyfc78.js} +2 -2
  1074. package/dist/magma-components/{p-CZuIEo2v.system.js → p-Cbabyppz.system.js} +1 -1
  1075. package/dist/magma-components/{p-Dx_cCOTw.js → p-CxzVgcYv.js} +1 -1
  1076. package/dist/magma-components/{p-CxTugGM9.system.js → p-D3J9KZKy.system.js} +1 -1
  1077. package/dist/magma-components/{p-mGgjNqBm.system.js → p-DOisMne4.system.js} +17 -7
  1078. package/dist/magma-components/p-DwKxtKwS.js +1 -0
  1079. package/dist/{components/p-jasGzfhE.js → magma-components/p-Dx7iOdVP.js} +1 -1
  1080. package/dist/magma-components/{p-iX3kcwYg.js → p-DxR4rGsw.js} +1 -1
  1081. package/dist/magma-components/{p-ecc2893d.system.entry.js → p-a112a0e2.system.entry.js} +1 -1
  1082. package/dist/magma-components/{p-86f11a5a.entry.js → p-a2767235.entry.js} +1 -1
  1083. package/dist/magma-components/{p-c0286dc3.system.entry.js → p-a2c3b294.system.entry.js} +6 -6
  1084. package/dist/magma-components/{p-4669334a.system.entry.js → p-a2d4d849.system.entry.js} +2 -2
  1085. package/dist/magma-components/{p-cfbf3a76.system.entry.js → p-a48c73b1.system.entry.js} +2 -2
  1086. package/dist/magma-components/{p-4e8c5b68.entry.js → p-a4f53c83.entry.js} +1 -1
  1087. package/dist/magma-components/{p-e92327a2.entry.js → p-a58e8a5c.entry.js} +1 -1
  1088. package/dist/magma-components/{p-1a20f239.system.entry.js → p-a5ca10ae.system.entry.js} +1 -1
  1089. package/dist/magma-components/{p-46a928c3.entry.js → p-a9a872e1.entry.js} +1 -1
  1090. package/dist/magma-components/{p-0a0dfdf4.system.entry.js → p-a9ab9eb0.system.entry.js} +2 -2
  1091. package/dist/magma-components/{p-72971cf7.system.entry.js → p-ab1c3fb0.system.entry.js} +1 -1
  1092. package/dist/magma-components/{p-074d7b75.entry.js → p-ab445c2b.entry.js} +1 -1
  1093. package/dist/magma-components/{p-45a3e7eb.entry.js → p-abe32d5b.entry.js} +1 -1
  1094. package/dist/magma-components/{p-2e68180d.system.entry.js → p-af56e3e4.system.entry.js} +2 -2
  1095. package/dist/magma-components/{p-ed4fd7a4.entry.js → p-b1238d48.entry.js} +1 -1
  1096. package/dist/magma-components/{p-4748378e.system.entry.js → p-b129b127.system.entry.js} +14 -14
  1097. package/dist/magma-components/{p-e79eb427.system.entry.js → p-b1cd3acf.system.entry.js} +2 -2
  1098. package/dist/magma-components/{p-5aa8f150.entry.js → p-b705b805.entry.js} +1 -1
  1099. package/dist/magma-components/{p-2111aa67.system.entry.js → p-b7d18d7a.system.entry.js} +1 -1
  1100. package/dist/magma-components/{p-3be9b384.system.entry.js → p-b871ad36.system.entry.js} +10 -10
  1101. package/dist/magma-components/{p-f7426a75.entry.js → p-ba871d9c.entry.js} +1 -1
  1102. package/dist/magma-components/{p-5a8fa2d0.entry.js → p-ba95bf93.entry.js} +1 -1
  1103. package/dist/magma-components/{p-3af8a86a.system.entry.js → p-bc054fa3.system.entry.js} +3 -3
  1104. package/dist/magma-components/{p-05455645.system.entry.js → p-bcc6c358.system.entry.js} +2 -2
  1105. package/dist/magma-components/{p-7c3a7521.entry.js → p-bd489df9.entry.js} +1 -1
  1106. package/dist/magma-components/{p-60acbc5f.system.entry.js → p-c0295a0e.system.entry.js} +2 -2
  1107. package/dist/magma-components/p-c06d8b5a.entry.js +1 -0
  1108. package/dist/magma-components/p-c131d726.entry.js +1 -0
  1109. package/dist/magma-components/{p-198ea5d8.entry.js → p-c49676e6.entry.js} +1 -1
  1110. package/dist/magma-components/{p-2a445b98.system.entry.js → p-c4c1ef48.system.entry.js} +78 -78
  1111. package/dist/magma-components/{p-87831da2.system.entry.js → p-c54f2089.system.entry.js} +1 -1
  1112. package/dist/magma-components/{p-8b8cd213.system.entry.js → p-c691f27e.system.entry.js} +3 -3
  1113. package/dist/magma-components/p-c8414ee6.entry.js +1 -0
  1114. package/dist/magma-components/{p-9ef64212.entry.js → p-c8c918d2.entry.js} +3 -3
  1115. package/dist/magma-components/{p-85376ff5.entry.js → p-c91cb63a.entry.js} +1 -1
  1116. package/dist/magma-components/{p-9f55fa7a.system.entry.js → p-c94e7973.system.entry.js} +2 -2
  1117. package/dist/magma-components/{p-387fa36d.system.entry.js → p-c9baa3fb.system.entry.js} +1 -1
  1118. package/dist/magma-components/{p-b781c932.system.entry.js → p-ca4e8601.system.entry.js} +1 -1
  1119. package/dist/magma-components/{p-445bc62a.system.entry.js → p-ca5427d4.system.entry.js} +1 -1
  1120. package/dist/magma-components/{p-4646cdc0.system.entry.js → p-caca78ff.system.entry.js} +2 -2
  1121. package/dist/magma-components/{p-d85f3e5e.system.entry.js → p-caf478ff.system.entry.js} +2 -2
  1122. package/dist/magma-components/{p-b8f4938a.entry.js → p-cb06839f.entry.js} +1 -1
  1123. package/dist/magma-components/{p-d29c959d.entry.js → p-ce42734f.entry.js} +1 -1
  1124. package/dist/magma-components/{p-8aa4cd10.entry.js → p-d1e4a032.entry.js} +1 -1
  1125. package/dist/magma-components/{p-cd6dd836.entry.js → p-d25a47fa.entry.js} +1 -1
  1126. package/dist/magma-components/{p-0d3da482.system.entry.js → p-d29b32b4.system.entry.js} +1 -1
  1127. package/dist/magma-components/{p-1f746ad1.system.entry.js → p-d2ba5851.system.entry.js} +9 -9
  1128. package/dist/magma-components/{p-d50d4023.entry.js → p-d365c6b6.entry.js} +1 -1
  1129. package/dist/magma-components/{p-7a920b70.entry.js → p-d3b06151.entry.js} +1 -1
  1130. package/dist/magma-components/{p-4cd21f19.entry.js → p-d45f65e0.entry.js} +1 -1
  1131. package/dist/magma-components/{p-fdedc0ba.entry.js → p-d51ec950.entry.js} +1 -1
  1132. package/dist/magma-components/{p-4606d11f.entry.js → p-d760c1fa.entry.js} +1 -1
  1133. package/dist/magma-components/p-d785d7ee.entry.js +1 -0
  1134. package/dist/magma-components/{p-08da465d.entry.js → p-d9092133.entry.js} +1 -1
  1135. package/dist/magma-components/{p-03fb86a6.system.entry.js → p-dd348171.system.entry.js} +2 -2
  1136. package/dist/magma-components/{p-dcb5f965.entry.js → p-de423b11.entry.js} +1 -1
  1137. package/dist/magma-components/{p-97217527.system.entry.js → p-df78b7ac.system.entry.js} +1 -1
  1138. package/dist/magma-components/{p-fba648e0.entry.js → p-e39b5e12.entry.js} +1 -1
  1139. package/dist/magma-components/{p-99bfa07e.system.entry.js → p-eac943e5.system.entry.js} +1 -1
  1140. package/dist/magma-components/{p-9ef0d4e5.system.entry.js → p-eb220deb.system.entry.js} +2 -2
  1141. package/dist/magma-components/{p-fd81c4ef.system.entry.js → p-eca42fe8.system.entry.js} +2 -2
  1142. package/dist/magma-components/{p-56a25ec6.entry.js → p-ecda3e45.entry.js} +1 -1
  1143. package/dist/magma-components/{p-b523fabe.system.entry.js → p-f0909679.system.entry.js} +2 -2
  1144. package/dist/magma-components/{p-8bf8e032.entry.js → p-f2649031.entry.js} +1 -1
  1145. package/dist/magma-components/{p-30f95d10.entry.js → p-f51ed098.entry.js} +1 -1
  1146. package/dist/magma-components/{p-11210b60.system.entry.js → p-f5bd5b64.system.entry.js} +3 -3
  1147. package/dist/magma-components/p-f6358241.system.entry.js +19 -0
  1148. package/dist/magma-components/{p-b0850daa.entry.js → p-f9f3ad86.entry.js} +1 -1
  1149. package/dist/magma-components/{p-a3d09996.entry.js → p-fb4b648a.entry.js} +1 -1
  1150. package/dist/magma-components/{p-81d2582a.entry.js → p-fd4588c5.entry.js} +1 -1
  1151. package/dist/magma-components/{p-3b494de7.entry.js → p-fdd17ee6.entry.js} +1 -1
  1152. package/dist/magma-components/p-fe51c0cb.system.entry.js +10 -0
  1153. package/dist/magma-components/{p-a3156523.system.entry.js → p-ff6cf4f8.system.entry.js} +3 -3
  1154. package/dist/magma-components/{p-4da1c089.entry.js → p-ff76c614.entry.js} +1 -1
  1155. package/dist/{lint/mcp → mcp}/checks.js +4 -4
  1156. package/dist/{lint/mcp → mcp}/components.js +4 -6
  1157. package/dist/{lint/mcp → mcp}/guides.js +11 -9
  1158. package/dist/{lint/mcp → mcp}/icons.js +21 -0
  1159. package/dist/mcp/package.json +3 -0
  1160. package/dist/{lint/mcp → mcp}/patterns.js +8 -9
  1161. package/dist/{lint/mcp → mcp}/protocol.js +1 -1
  1162. package/dist/{lint/mcp → mcp}/render.js +61 -33
  1163. package/dist/{lint/mcp → mcp}/server.js +4 -4
  1164. package/dist/{lint/mcp → mcp}/tokens.js +1 -2
  1165. package/dist/mcp/tools.json +1374 -0
  1166. package/dist/stats.json +2304 -2021
  1167. package/dist/types/common/aria.d.ts +8 -1
  1168. package/dist/types/common/preference.d.ts +13 -1
  1169. package/dist/types/components/mds-button/mds-button.d.ts +50 -4
  1170. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +22 -2
  1171. package/dist/types/components/mds-modal/mds-modal.d.ts +8 -1
  1172. package/dist/types/components/mds-pref/mds-pref.d.ts +0 -9
  1173. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +16 -5
  1174. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +14 -1
  1175. package/dist/types/components.d.ts +67 -13
  1176. package/dist/types/type/button.d.ts +2 -0
  1177. package/package.json +12 -11
  1178. package/dist/components/p-BwT0RJip.js +0 -1
  1179. package/dist/components/p-COUgBzJ4.js +0 -1
  1180. package/dist/components/p-Cvhn9asj.js +0 -1
  1181. package/dist/components/p-G7Udw5H5.js +0 -1
  1182. package/dist/components/p-Ic8cYsgt.js +0 -1
  1183. package/dist/components/p-l0KS6hTQ.js +0 -1
  1184. package/dist/esm-es5/aria-Cvhn9asj.js +0 -6
  1185. package/dist/lint/mcp/checks.d.ts +0 -29
  1186. package/dist/lint/mcp/cli.d.ts +0 -2
  1187. package/dist/lint/mcp/color.d.ts +0 -12
  1188. package/dist/lint/mcp/components.d.ts +0 -5
  1189. package/dist/lint/mcp/context.d.ts +0 -45
  1190. package/dist/lint/mcp/guides.d.ts +0 -3
  1191. package/dist/lint/mcp/icons.d.ts +0 -9
  1192. package/dist/lint/mcp/patterns.d.ts +0 -75
  1193. package/dist/lint/mcp/protocol.d.ts +0 -77
  1194. package/dist/lint/mcp/render-page.d.ts +0 -40
  1195. package/dist/lint/mcp/render.d.ts +0 -130
  1196. package/dist/lint/mcp/server.d.ts +0 -39
  1197. package/dist/lint/mcp/tokens.d.ts +0 -37
  1198. package/dist/magma-components/p-06691ab3.system.entry.js +0 -27
  1199. package/dist/magma-components/p-1d8485de.system.entry.js +0 -28
  1200. package/dist/magma-components/p-21345ecc.entry.js +0 -1
  1201. package/dist/magma-components/p-25dcbf22.entry.js +0 -1
  1202. package/dist/magma-components/p-37881115.system.entry.js +0 -14
  1203. package/dist/magma-components/p-4e5b8618.system.entry.js +0 -1
  1204. package/dist/magma-components/p-69319301.system.entry.js +0 -10
  1205. package/dist/magma-components/p-7b06b2f2.entry.js +0 -1
  1206. package/dist/magma-components/p-7d61f442.entry.js +0 -1
  1207. package/dist/magma-components/p-97c6e10a.entry.js +0 -1
  1208. package/dist/magma-components/p-9e2b1a29.entry.js +0 -1
  1209. package/dist/magma-components/p-9ed54db1.entry.js +0 -1
  1210. package/dist/magma-components/p-Cvhn9asj.js +0 -1
  1211. package/dist/magma-components/p-a8206d9c.entry.js +0 -1
  1212. package/dist/magma-components/p-b464668b.system.entry.js +0 -105
  1213. package/dist/magma-components/p-b85f56d7.entry.js +0 -1
  1214. package/dist/magma-components/p-c7dc17f8.entry.js +0 -1
  1215. package/dist/magma-components/p-d43e2a9a.entry.js +0 -1
  1216. package/dist/magma-components/p-ddfb4da3.entry.js +0 -1
  1217. package/dist/magma-components/p-e428490d.system.entry.js +0 -5
  1218. package/dist/magma-components/p-f045b018.entry.js +0 -1
  1219. package/dist/magma-components/p-f5d9f625.entry.js +0 -1
  1220. package/dist/magma-components/p-fa387b74.system.entry.js +0 -5
  1221. package/dist/magma-components/p-fbf563c8.entry.js +0 -1
  1222. package/dist/magma-components/p-ff82edad.entry.js +0 -1
  1223. package/dist/magma-components/p-sm_-_oFY.system.js +0 -6
  1224. /package/dist/{lint/mcp → mcp}/cli.js +0 -0
  1225. /package/dist/{lint/mcp → mcp}/color.js +0 -0
  1226. /package/dist/{lint/mcp → mcp}/context.js +0 -0
  1227. /package/dist/{lint/mcp → mcp}/icon.svg +0 -0
  1228. /package/dist/{lint/mcp → mcp}/render-page.js +0 -0
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(i,t,n,e){function o(i){return i instanceof n?i:new n((function(t){t(i)}))}return new(n||(n=Promise))((function(n,a){function r(i){try{c(e.next(i))}catch(i){a(i)}}function s(i){try{c(e["throw"](i))}catch(i){a(i)}}function c(i){i.done?n(i.value):o(i.value).then(r,s)}c((e=e.apply(i,t||[])).next())}))};var __generator=this&&this.__generator||function(i,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},e,o,a,r=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return r.next=s(0),r["throw"]=s(1),r["return"]=s(2),typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(i){return function(t){return c([i,t])}}function c(s){if(e)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(n=0)),n)try{if(e=1,o&&(a=s[0]&2?o["return"]:s[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,s[1])).done)return a;if(o=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(i,n)}catch(i){s=[6,i];o=0}finally{e=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{a as cssSizeToNumber,c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{L as Locale}from"./locale-B6cOkl4I.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var clearNotifications$3="Εκκαθάριση ειδοποιήσεων";var localeEl={clearNotifications:clearNotifications$3};var clearNotifications$2="Clear notifications";var localeEn={clearNotifications:clearNotifications$2};var clearNotifications$1="Borrar notificaciones";var localeEs={clearNotifications:clearNotifications$1};var clearNotifications="Cancella notifiche";var localeIt={clearNotifications:clearNotifications};var mdsPushNotificationCss=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-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-push-notification-fadeout-delay:0s;--mds-push-notification-gap:calc(var(--spacing,.0025rem)*200);--mds-push-notification-items-intro-delay:var(--duration-300,.3s);--mds-push-notification-items-outro-delay:0s;--mds-push-notification-items-duration:var(--duration-300,.3s);--mds-push-notification-items-gap:var(--mds-push-notification-gap,calc(var(--spacing,.0025rem)*200));--mds-push-notification-items-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232))/0) 0%,rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232))/.85) 100%);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));background:var(--mds-push-notification-background);bottom:0;box-sizing:initial!important;display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*200);max-width:calc(var(--spacing,.0025rem)*9000);min-width:calc(var(--spacing,.0025rem)*7200);overflow-x:hidden;padding:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*2400);position:fixed;right:0;top:0;transform:translate(100%);transition-delay:var(--mds-push-notification-fadeout-delay,0s);transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));z-index:var(--magma-notification-z-index,2000)}:host::-webkit-scrollbar{display:none}.notifications{display:flex;flex-direction:column-reverse;gap:var(--mds-push-notification-items-gap)}.notifications ::slotted(mds-push-notification-item){--mds-push-notification-item-duration:var(--mds-push-notification-items-duration,var(--duration-300,.3s));--mds-push-notification-item-timing-function:var(--mds-push-notification-items-timing-function);position:absolute;transform:translate(calc(100% + calc(var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)) + var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)))));visibility:hidden}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-backdrop-color,0 0 0)/0) 0%,rgb(var(--magma-backdrop-color,0 0 0)/.5) 20%,rgb(var(--magma-backdrop-color,0 0 0)/.85) 100%)}:host([visible]){transform:translate(0);transition-delay:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-backdrop-color,0 0 0)/0) 0%,rgb(var(--magma-backdrop-color,0 0 0)/.5) 20%,rgb(var(--magma-backdrop-color,0 0 0)/.85) 100%)}}'};var MdsPushNotification=/** @class */function(){function i(i){var t=this;registerInstance(this,i);this.changedEvent=createEvent(this,"mdsPushNotificationChange",7);this.shownEvent=createEvent(this,"mdsPushNotificationShow",7);this.hiddenEvent=createEvent(this,"mdsPushNotificationHide",7);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
1
+ var __awaiter=this&&this.__awaiter||function(i,t,e,n){function o(i){return i instanceof e?i:new e((function(t){t(i)}))}return new(e||(e=Promise))((function(e,a){function r(i){try{c(n.next(i))}catch(i){a(i)}}function s(i){try{c(n["throw"](i))}catch(i){a(i)}}function c(i){i.done?e(i.value):o(i.value).then(r,s)}c((n=n.apply(i,t||[])).next())}))};var __generator=this&&this.__generator||function(i,t){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,r=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return r.next=s(0),r["throw"]=s(1),r["return"]=s(2),typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(i){return function(t){return c([i,t])}}function c(s){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(e=0)),e)try{if(n=1,o&&(a=s[0]&2?o["return"]:s[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,s[1])).done)return a;if(o=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;o=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){e.label=s[1];break}if(s[0]===6&&e.label<a[1]){e.label=a[1];a=s;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(s);break}if(a[2])e.ops.pop();e.trys.pop();continue}s=t.call(i,e)}catch(i){s=[6,i];o=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{a as cssSizeToNumber,c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{L as Locale}from"./locale-DhP1Ge2o.js";import{p as preferenceStore}from"./preference-C8foBO86.js";var clearNotifications$3="Εκκαθάριση ειδοποιήσεων";var localeEl={clearNotifications:clearNotifications$3};var clearNotifications$2="Clear notifications";var localeEn={clearNotifications:clearNotifications$2};var clearNotifications$1="Borrar notificaciones";var localeEs={clearNotifications:clearNotifications$1};var clearNotifications="Cancella notifiche";var localeIt={clearNotifications:clearNotifications};var mdsPushNotificationCss=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-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-push-notification-fadeout-delay:0s;--mds-push-notification-gap:calc(var(--spacing,.0025rem)*200);--mds-push-notification-items-intro-delay:var(--duration-300,.3s);--mds-push-notification-items-outro-delay:0s;--mds-push-notification-items-duration:var(--duration-300,.3s);--mds-push-notification-items-gap:var(--mds-push-notification-gap,calc(var(--spacing,.0025rem)*200));--mds-push-notification-items-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232))/0) 0%,rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232))/.85) 100%);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));background:var(--mds-push-notification-background);bottom:0;box-sizing:initial!important;display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*200);max-width:calc(var(--spacing,.0025rem)*9000);min-width:calc(var(--spacing,.0025rem)*7200);overflow-x:hidden;padding:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*2400);position:fixed;right:0;top:0;transform:translate(100%);transition-delay:var(--mds-push-notification-fadeout-delay,0s);transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));z-index:var(--magma-notification-z-index,2000)}:host::-webkit-scrollbar{display:none}.notifications{display:flex;flex-direction:column-reverse;gap:var(--mds-push-notification-items-gap)}.notifications ::slotted(mds-push-notification-item){--mds-push-notification-item-duration:var(--mds-push-notification-items-duration,var(--duration-300,.3s));--mds-push-notification-item-timing-function:var(--mds-push-notification-items-timing-function);position:absolute;transform:translate(calc(100% + calc(var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)) + var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)))));visibility:hidden}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-backdrop-color,0 0 0)/0) 0%,rgb(var(--magma-backdrop-color,0 0 0)/.5) 20%,rgb(var(--magma-backdrop-color,0 0 0)/.85) 100%)}:host([visible]){transform:translate(0);transition-delay:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-backdrop-color,0 0 0)/0) 0%,rgb(var(--magma-backdrop-color,0 0 0)/.5) 20%,rgb(var(--magma-backdrop-color,0 0 0)/.85) 100%)}}'};var MdsPushNotification=/** @class */function(){function i(i){var t=this;registerInstance(this,i);this.changedEvent=createEvent(this,"mdsPushNotificationChange",7);this.shownEvent=createEvent(this,"mdsPushNotificationShow",7);this.hiddenEvent=createEvent(this,"mdsPushNotificationHide",7);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
2
  /**
3
3
  * Specifies when the stack shows: with `auto` whenever notifications are added, with `manual`
4
4
  * only through `visible` or `show()`. In both, removing the last notification hides it; a
@@ -16,7 +16,7 @@ var __awaiter=this&&this.__awaiter||function(i,t,n,e){function o(i){return i ins
16
16
  * @returns
17
17
  */this.introItem=function(i){
18
18
  // no reason why I must duplicata marginBottom negative to prevent flickering
19
- i.style.marginBottom="-".concat(i.offsetHeight+cssSizeToNumber(t.cssItemsGap),"px");return new Promise((function(n){setTimeout((function(){i.style.marginBottom="-".concat(i.offsetHeight+cssSizeToNumber(t.cssItemsGap),"px");setTimeout((function(){i.style.visibility="visible";i.style.position="relative";i.style.transform="translate(0, 0)";i.style.marginBottom="0px";n()}),cssDurationToMilliseconds(t.cssItemsIntroDuration))}),15);// hope to find a better solution not based on 15ms of delay, not very robust
19
+ i.style.marginBottom="-".concat(i.offsetHeight+cssSizeToNumber(t.cssItemsGap),"px");return new Promise((function(e){setTimeout((function(){i.style.marginBottom="-".concat(i.offsetHeight+cssSizeToNumber(t.cssItemsGap),"px");setTimeout((function(){i.style.visibility="visible";i.style.position="relative";i.style.transform="translate(0, 0)";i.style.marginBottom="0px";e()}),cssDurationToMilliseconds(t.cssItemsIntroDuration))}),15);// hope to find a better solution not based on 15ms of delay, not very robust
20
20
  }))};
21
21
  /**
22
22
  * Animation for close notification
@@ -27,13 +27,13 @@ i.style.marginBottom="-".concat(i.offsetHeight+cssSizeToNumber(t.cssItemsGap),"p
27
27
  // never hid once its last item was closed
28
28
  if(t.slotNotifications.assignedElements().length<=1)t.hide();
29
29
  // no reason why I must duplicate marginBottom negative to prevent flickering
30
- i.style.marginBottom="0px";return new Promise((function(n){setTimeout((function(){i.style.marginBottom="0px";setTimeout((function(){i.addEventListener("transitionend",(function(){
30
+ i.style.marginBottom="0px";return new Promise((function(e){setTimeout((function(){i.style.marginBottom="0px";setTimeout((function(){i.addEventListener("transitionend",(function(){
31
31
  // element.removeEventListener('transitionend')
32
- i.remove()}));i.style.removeProperty("transform");i.style.marginBottom="-".concat(i.offsetHeight+cssSizeToNumber(t.cssItemsGap),"px");n()}),cssDurationToMilliseconds(t.cssItemsOutroDuration))}),15);// hope to find a better solution not based on 15ms of delay, not very robust
32
+ i.remove()}));i.style.removeProperty("transform");i.style.marginBottom="-".concat(i.offsetHeight+cssSizeToNumber(t.cssItemsGap),"px");e()}),cssDurationToMilliseconds(t.cssItemsOutroDuration))}),15);// hope to find a better solution not based on 15ms of delay, not very robust
33
33
  }))};
34
34
  /**
35
35
  * manages the opening of notifications when they are added to the slot
36
- */this.handleSlotChange=function(){var i=t.slotNotifications.assignedElements().map((function(i){return i})).filter((function(i){return i.style.visibility===""}));if(i.length===0)return;i.forEach((function(i){return __awaiter(t,void 0,void 0,(function(){var t=this;return __generator(this,(function(n){switch(n.label){case 0:i.addEventListener("mdsPushNotificationItemClose",(function(){return t.outroItem(i)}));return[4/*yield*/,this.introItem(i)];case 1:n.sent();return[2/*return*/]}}))}))}));if(t.behavior==="auto")t.show()};this.updateCSSCustomProps=function(){var i,n,e;var o=window.getComputedStyle(t.host);t.cssItemsGap=(i=o.getPropertyValue("--mds-push-notification-items-gap"))!==null&&i!==void 0?i:"0.5rem";t.cssItemsIntroDuration=(n=o.getPropertyValue("--mds-push-notification-items-intro-delay"))!==null&&n!==void 0?n:"200ms";t.cssItemsOutroDuration=(e=o.getPropertyValue("--mds-push-notification-items-outro-delay"))!==null&&e!==void 0?e:"0ms"};this.clear=function(){t.slotNotifications.assignedElements().forEach((function(i){return t.outroItem(i)}));t.hide()}}
36
+ */this.handleSlotChange=function(){var i=t.slotNotifications.assignedElements().map((function(i){return i})).filter((function(i){return i.style.visibility===""}));if(i.length===0)return;i.forEach((function(i){return __awaiter(t,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){switch(e.label){case 0:i.addEventListener("mdsPushNotificationItemClose",(function(){return t.outroItem(i)}));return[4/*yield*/,this.introItem(i)];case 1:e.sent();return[2/*return*/]}}))}))}));if(t.behavior==="auto")t.show()};this.updateCSSCustomProps=function(){var i,e,n;var o=window.getComputedStyle(t.host);t.cssItemsGap=(i=o.getPropertyValue("--mds-push-notification-items-gap"))!==null&&i!==void 0?i:"0.5rem";t.cssItemsIntroDuration=(e=o.getPropertyValue("--mds-push-notification-items-intro-delay"))!==null&&e!==void 0?e:"200ms";t.cssItemsOutroDuration=(n=o.getPropertyValue("--mds-push-notification-items-outro-delay"))!==null&&n!==void 0?n:"0ms"};this.clear=function(){t.slotNotifications.assignedElements().forEach((function(i){return t.outroItem(i)}));t.hide()}}
37
37
  /**
38
38
  * Shows the notification container.
39
39
  */i.prototype.show=function(){this.visible=true;return Promise.resolve()};
@@ -43,4 +43,4 @@ i.remove()}));i.style.removeProperty("transform");i.style.marginBottom="-".conca
43
43
  /**
44
44
  * Removes the given notification item(s) from the stack.
45
45
  * @param notification the notification item or items to remove
46
- */i.prototype.removeNotification=function(i){if(Array.isArray(i)){i.forEach(this.outroItem)}else{this.outroItem(i)}return Promise.resolve()};i.prototype.componentDidLoad=function(){this.updateCSSCustomProps();this.slotNotifications.addEventListener("slotchange",this.handleSlotChange);this.handleSlotChange()};i.prototype.visibleChanged=function(i){if(i){this.changedEvent.emit({visible:true});this.shownEvent.emit();return}if(i===undefined){this.changedEvent.emit({visible:false});this.hiddenEvent.emit();return}this.visible=undefined};i.prototype.render=function(){var i=this;return h(Host,{key:"bdf94fa26147f00b3a7993da27e8e51609220490","pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-button",{key:"2e172047fedaeb721f666281ee03554bc51b841b",variant:"dark",onClick:this.clear,label:this.t.get("clearNotifications")}),h("div",{key:"09704283a8ab0aac5e1ec5b005fe28d7e5a4c3bd",class:"notifications",part:"notifications"},h("slot",{key:"4d2998a1b89b3e82a19099b5eb68324f4ea3847f",ref:function(t){return i.slotNotifications=t}})))};Object.defineProperty(i.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(i,"watchers",{get:function(){return{visible:[{visibleChanged:0}]}},enumerable:false,configurable:true});return i}();MdsPushNotification.style=mdsPushNotificationCss();export{MdsPushNotification as mds_push_notification};
46
+ */i.prototype.removeNotification=function(i){if(Array.isArray(i)){i.forEach(this.outroItem)}else{this.outroItem(i)}return Promise.resolve()};i.prototype.componentDidLoad=function(){this.updateCSSCustomProps();this.slotNotifications.addEventListener("slotchange",this.handleSlotChange);this.handleSlotChange()};i.prototype.visibleChanged=function(i){if(i){this.changedEvent.emit({visible:true});this.shownEvent.emit();return}if(i===undefined){this.changedEvent.emit({visible:false});this.hiddenEvent.emit();return}this.visible=undefined};i.prototype.render=function(){var i=this;return h(Host,{key:"36f61efc8071d0aecefdc63a1197ee36ad7239d9","pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-button",{key:"b23e5ff4e6f57523922d65630e94f8236bc6ec0f",variant:"dark",onClick:this.clear,label:this.t.get("clearNotifications")}),h("div",{key:"2e1a804d01b5e4b2a312842f8bc6b87a778588ba",class:"notifications",part:"notifications"},h("slot",{key:"183e615bda0f59fe044b42a6e63883d695ca4d3a",ref:function(t){return i.slotNotifications=t}})))};Object.defineProperty(i.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(i,"watchers",{get:function(){return{visible:[{visibleChanged:0}]}},enumerable:false,configurable:true});return i}();MdsPushNotification.style=mdsPushNotificationCss();export{MdsPushNotification as mds_push_notification};
@@ -1,7 +1,7 @@
1
- import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsQuoteCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),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{display:inline-flex}.open-quote{flex-shrink:0}.quote{display:grid;gap:calc(var(--spacing,.0025rem)*400);-webkit-user-select:all;user-select:all}span{-webkit-user-select:none;user-select:none}:host([pref-contrast=more]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}"};var MdsQuote=/** @class */function(){function e(e){registerInstance(this,e);
1
+ import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C8foBO86.js";var mdsQuoteCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),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{display:inline-flex}.open-quote{flex-shrink:0}.quote{display:grid;gap:calc(var(--spacing,.0025rem)*400);-webkit-user-select:all;user-select:all}span{-webkit-user-select:none;user-select:none}:host([pref-contrast=more]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}"};var MdsQuote=/** @class */function(){function e(e){registerInstance(this,e);
2
2
  /**
3
3
  * Specifies the font typography of the element
4
4
  */this.typography="h3";
5
5
  /**
6
6
  * Specifies the tag the element
7
- */this.tag="h3"}e.prototype.render=function(){return h(Host,{key:"d481331e031c430ea1b3b665b255099f490d9fc4","pref-contrast":preferenceStore.state.contrast},h("mds-text",{key:"048597dba076854dbdb32fa3ba6f602e2ba0b190",class:"open-quote",tag:"div",typography:this.typography},h("span",{key:"143c009ea97f0f777740db4b287848f92e7b050f"},h("i",{key:"10aff174acfb88f823d98370d55c4abc72f5ce04"},"❝ "))),h("div",{key:"5bfee9efea5d90ae7fa6037ceacf661e6458db30",class:"quote"},h("mds-text",{key:"86e5041f5bae4270f9811594b0324fd64a3552f0",tag:this.tag,typography:this.typography},h("i",{key:"e94f9a97489cfe2cef5e2b5da9dee6919c61bb37"},h("slot",{key:"5a2b0c304bf0d45af9c302db67f997ad438d51b7"}),h("span",{key:"725e6aa534392806b1d33dbf2cf72c11425c54f5"}," ❞"))),h("slot",{key:"6b8ed096f4496d38fbfdf2c5e7c929d4d9f98eba",name:"author"})))};return e}();MdsQuote.style=mdsQuoteCss();export{MdsQuote as mds_quote};
7
+ */this.tag="h3"}e.prototype.render=function(){return h(Host,{key:"6e46f730171afdefac27546d6261a9ab656ef4da","pref-contrast":preferenceStore.state.contrast},h("mds-text",{key:"0b9ce18650cf0b839e92c267ee78a29b32e20b7d",class:"open-quote",tag:"div",typography:this.typography},h("span",{key:"6eee51a70339abc4f58cae2cef5c7a86c1e0febc"},h("i",{key:"ccef2867ea967c55ea22a7505cfdb98178e29dbb"},"❝ "))),h("div",{key:"49d695a4256be488283dbe8dc7e2dc3f188fd5c3",class:"quote"},h("mds-text",{key:"27bc9f404e5601cec55182f44830085fae7d6005",tag:this.tag,typography:this.typography},h("i",{key:"c49a9af532fead02d5ec75e367368e9dab90123f"},h("slot",{key:"630b5df45c9530f1a9c80bb205656bae75ec2b4c"}),h("span",{key:"f6948ddba583ecffff48dd83b4a92d6b4f54896c"}," ❞"))),h("slot",{key:"3df9055b9cf0f8930a8996d4639db84871e6e742",name:"author"})))};return e}();MdsQuote.style=mdsQuoteCss();export{MdsQuote as mds_quote};
@@ -7,4 +7,4 @@ import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";var mdsRadial
7
7
  */this.variant="dark";
8
8
  /**
9
9
  * Specifies the size of the menu item.
10
- */this.size="lg"}t.prototype.render=function(){return h(Host,{key:"0462c38b4ae24c37ae16ecc3c1748196af7360b1",slot:"item"},h("mds-button",{key:"ab8f2626f23ae74459e52d9e510530a9b4e6f3c9","aria-label":this.tooltip,class:"button",icon:this.icon,variant:this.variant,tone:this.tone,size:this.size}),this.tooltip&&h("mds-tooltip",{key:"079490b97bf57ebe6fef48ad105078ff6a1102e4",class:"tooltip",target:".button",placement:"top",disableAutoPlacement:true},this.tooltip))};return t}();MdsRadialMenuItem.style=mdsRadialMenuItemCss();export{MdsRadialMenuItem as mds_radial_menu_item};
10
+ */this.size="lg"}t.prototype.render=function(){return h(Host,{key:"472c0dffc51c0774ac9cb9ab0c4984bb81ecfb95",slot:"item"},h("mds-button",{key:"1378032778f14cef19a9f44c029f9df5c42c29c9","aria-label":this.tooltip,class:"button",icon:this.icon,variant:this.variant,tone:this.tone,size:this.size}),this.tooltip&&h("mds-tooltip",{key:"9efec3460abb91faae41712ea252a6ec8cc340fa",class:"tooltip",target:".button",placement:"top",disableAutoPlacement:true},this.tooltip))};return t}();MdsRadialMenuItem.style=mdsRadialMenuItemCss();export{MdsRadialMenuItem as mds_radial_menu_item};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{b as queryChildrenBySlot}from"./slot-AEckDMXh.js";import{m as miBaselineClose}from"./close-J-ikDhyq.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{B as Backdrop}from"./floating-controller-BVlbYYkf.js";import{L as Locale}from"./locale-B6cOkl4I.js";import"./floating-ui.dom-BaFfIZGB.js";import"./unit-CWk1SCJg.js";import"./aria-Cvhn9asj.js";import"./preference-C5XjgGCb.js";var miBaselineMoreVert='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2z"/></svg>';var closeMenu$3="Κλείσιμο μενού";var openMenu$3="Άνοιγμα μενού";var localeEl={closeMenu:closeMenu$3,openMenu:openMenu$3};var closeMenu$2="Close menu";var openMenu$2="Open menu";var localeEn={closeMenu:closeMenu$2,openMenu:openMenu$2};var closeMenu$1="Cerrar el menú";var openMenu$1="Abrir el menú";var localeEs={closeMenu:closeMenu$1,openMenu:openMenu$1};var closeMenu="Chiudi il menu";var openMenu="Apri il menu";var localeIt={closeMenu:closeMenu,openMenu:openMenu};var mdsRadialMenuCss=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-radial-menu-angle-start:0deg;--mds-radial-menu-angle-end:360deg;--mds-radial-menu-context-menu-z-index:var(--magma-context-menu-z-index,8000);--mds-radial-menu-delay:10ms;--mds-radial-menu-direction:-1;--mds-radial-menu-disc-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5);--mds-radial-menu-disc-filter:blur(calc(var(--spacing,.0025rem)*200));--mds-radial-menu-disc-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-radial-menu-disc-size:calc(var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem) * 2000)) * 2);--mds-radial-menu-radius:calc(var(--spacing,.0025rem)*2000);--mds-radial-menu-transition-duration:var(--duration-500,.5s);--mds-radial-menu-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-radial-menu-nth-siblings:0;--mds-radial-menu-disc-delay:0s;--mds-radial-menu-disc-scale:0;--mds-radial-menu-radius-current:0;--private-radial-menu-sweep:calc(var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg));--mds-radial-menu-is-full-circle:cos(clamp(0deg,max(var(--private-radial-menu-sweep) - 360deg,360deg - var(--private-radial-menu-sweep)) * 1000,90deg));--mds-radial-menu-is-start-greater-than-end:sin(clamp(-90deg,var(--private-radial-menu-sweep) * 1000,90deg));display:inline-flex;position:relative;transition-duration:var(--mds-radial-menu-transition-duration);transition-property:top,left;transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:var(--magma-dropdown-z-index,5000)}:host([direction=clockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*-1)}:host([direction=counterclockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*1)}.menu-button{border-radius:100%;position:relative;transform:scale(1);transition-duration:var(--mds-radial-menu-transition-duration);transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:2}:host(:not([opened])) .menu-button--hidden{transform:scale(0)}.radial-menu{inset:0;pointer-events:none;position:absolute;transition-delay:calc((var(--mds-radial-menu-nth-siblings)*2)*var(--mds-radial-menu-delay,10ms));transition-property:z-index;z-index:3}:host(:not([opened])) .radial-menu{transition-delay:0s;z-index:1}:host(:not([opened])){--mds-radial-menu-radius-current:0}:host([opened]){--mds-radial-menu-radius-current:var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem)*2000))}:host([opened]) ::slotted(mds-radial-menu-item){pointer-events:auto;transform:scale(1)}::slotted(mds-radial-menu-item){--mds-radial-menu-item-offset-per-child:calc((var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg))/(var(--mds-radial-menu-nth-siblings) + var(--mds-radial-menu-is-full-circle)));--mds-radial-menu-item-angle-offset:calc(var(--mds-radial-menu-direction,-1)*var(--mds-radial-menu-item-index)*var(--mds-radial-menu-item-offset-per-child));--mds-radial-menu-item-delay:calc((var(--mds-radial-menu-item-index) + 1)*var(--mds-radial-menu-delay,10ms));--mds-radial-menu-item-translate:calc(cos((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current)) calc(sin((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current) * -1)}.disc{--size:calc(var(--mds-radial-menu-disc-size,calc(calc(var(--spacing,.0025rem) * 2000) * 2)) + var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem) * 2000)));-webkit-backdrop-filter:var(--mds-radial-menu-disc-filter);backdrop-filter:var(--mds-radial-menu-disc-filter);background-color:var(--mds-radial-menu-disc-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5));border-radius:100%;box-shadow:var(--mds-radial-menu-disc-shadow);display:inline-flex;height:var(--size);inset:50%;position:absolute;transform:translate(-50%,-50%) scale(var(--mds-radial-menu-disc-scale));transition-delay:var(--mds-radial-menu-disc-delay);transition-duration:var(--mds-radial-menu-transition-duration);transition-property:height,transform,width;transition-timing-function:var(--mds-radial-menu-transition-timing-function);width:var(--size);z-index:0}:host(:not([opened][disc])){--mds-radial-menu-disc-scale:0;--mds-radial-menu-disc-delay:calc((var(--mds-radial-menu-nth-siblings) + 1)*var(--mds-radial-menu-delay,10ms))}:host([opened][disc]){--mds-radial-menu-disc-scale:1;--mds-radial-menu-disc-delay:0s}:host([interaction=rightclick]){position:fixed;z-index:var(--mds-radial-menu-context-menu-z-index,var(--magma-context-menu-z-index,8000))}"};var MdsRadialMenu=/** @class */function(){function e(e){var a=this;registerInstance(this,e);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.backdropController=new Backdrop("mds-radial-menu-backdrop");
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{b as queryChildrenBySlot}from"./slot-AEckDMXh.js";import{m as miBaselineClose}from"./close-J-ikDhyq.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{B as Backdrop}from"./floating-controller-xixU_s1w.js";import{L as Locale}from"./locale-DhP1Ge2o.js";import"./floating-ui.dom-BaFfIZGB.js";import"./unit-CWk1SCJg.js";import"./aria-DwKxtKwS.js";import"./preference-C8foBO86.js";var miBaselineMoreVert='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2z"/></svg>';var closeMenu$3="Κλείσιμο μενού";var openMenu$3="Άνοιγμα μενού";var localeEl={closeMenu:closeMenu$3,openMenu:openMenu$3};var closeMenu$2="Close menu";var openMenu$2="Open menu";var localeEn={closeMenu:closeMenu$2,openMenu:openMenu$2};var closeMenu$1="Cerrar el menú";var openMenu$1="Abrir el menú";var localeEs={closeMenu:closeMenu$1,openMenu:openMenu$1};var closeMenu="Chiudi il menu";var openMenu="Apri il menu";var localeIt={closeMenu:closeMenu,openMenu:openMenu};var mdsRadialMenuCss=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-radial-menu-angle-start:0deg;--mds-radial-menu-angle-end:360deg;--mds-radial-menu-context-menu-z-index:var(--magma-context-menu-z-index,8000);--mds-radial-menu-delay:10ms;--mds-radial-menu-direction:-1;--mds-radial-menu-disc-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5);--mds-radial-menu-disc-filter:blur(calc(var(--spacing,.0025rem)*200));--mds-radial-menu-disc-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-radial-menu-disc-size:calc(var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem) * 2000)) * 2);--mds-radial-menu-radius:calc(var(--spacing,.0025rem)*2000);--mds-radial-menu-transition-duration:var(--duration-500,.5s);--mds-radial-menu-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-radial-menu-nth-siblings:0;--mds-radial-menu-disc-delay:0s;--mds-radial-menu-disc-scale:0;--mds-radial-menu-radius-current:0;--private-radial-menu-sweep:calc(var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg));--mds-radial-menu-is-full-circle:cos(clamp(0deg,max(var(--private-radial-menu-sweep) - 360deg,360deg - var(--private-radial-menu-sweep)) * 1000,90deg));--mds-radial-menu-is-start-greater-than-end:sin(clamp(-90deg,var(--private-radial-menu-sweep) * 1000,90deg));display:inline-flex;position:relative;transition-duration:var(--mds-radial-menu-transition-duration);transition-property:top,left;transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:var(--magma-dropdown-z-index,5000)}:host([direction=clockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*-1)}:host([direction=counterclockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*1)}.menu-button{border-radius:100%;position:relative;transform:scale(1);transition-duration:var(--mds-radial-menu-transition-duration);transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:2}:host(:not([opened])) .menu-button--hidden{transform:scale(0)}.radial-menu{inset:0;pointer-events:none;position:absolute;transition-delay:calc((var(--mds-radial-menu-nth-siblings)*2)*var(--mds-radial-menu-delay,10ms));transition-property:z-index;z-index:3}:host(:not([opened])) .radial-menu{transition-delay:0s;z-index:1}:host(:not([opened])){--mds-radial-menu-radius-current:0}:host([opened]){--mds-radial-menu-radius-current:var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem)*2000))}:host([opened]) ::slotted(mds-radial-menu-item){pointer-events:auto;transform:scale(1)}::slotted(mds-radial-menu-item){--mds-radial-menu-item-offset-per-child:calc((var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg))/(var(--mds-radial-menu-nth-siblings) + var(--mds-radial-menu-is-full-circle)));--mds-radial-menu-item-angle-offset:calc(var(--mds-radial-menu-direction,-1)*var(--mds-radial-menu-item-index)*var(--mds-radial-menu-item-offset-per-child));--mds-radial-menu-item-delay:calc((var(--mds-radial-menu-item-index) + 1)*var(--mds-radial-menu-delay,10ms));--mds-radial-menu-item-translate:calc(cos((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current)) calc(sin((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current) * -1)}.disc{--size:calc(var(--mds-radial-menu-disc-size,calc(calc(var(--spacing,.0025rem) * 2000) * 2)) + var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem) * 2000)));-webkit-backdrop-filter:var(--mds-radial-menu-disc-filter);backdrop-filter:var(--mds-radial-menu-disc-filter);background-color:var(--mds-radial-menu-disc-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5));border-radius:100%;box-shadow:var(--mds-radial-menu-disc-shadow);display:inline-flex;height:var(--size);inset:50%;position:absolute;transform:translate(-50%,-50%) scale(var(--mds-radial-menu-disc-scale));transition-delay:var(--mds-radial-menu-disc-delay);transition-duration:var(--mds-radial-menu-transition-duration);transition-property:height,transform,width;transition-timing-function:var(--mds-radial-menu-transition-timing-function);width:var(--size);z-index:0}:host(:not([opened][disc])){--mds-radial-menu-disc-scale:0;--mds-radial-menu-disc-delay:calc((var(--mds-radial-menu-nth-siblings) + 1)*var(--mds-radial-menu-delay,10ms))}:host([opened][disc]){--mds-radial-menu-disc-scale:1;--mds-radial-menu-disc-delay:0s}:host([interaction=rightclick]){position:fixed;z-index:var(--mds-radial-menu-context-menu-z-index,var(--magma-context-menu-z-index,8000))}"};var MdsRadialMenu=/** @class */function(){function e(e){var n=this;registerInstance(this,e);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.backdropController=new Backdrop("mds-radial-menu-backdrop");
2
2
  /**
3
3
  * Specifies the direction of the menu elements
4
4
  */this.direction="clockwise";
@@ -16,10 +16,10 @@ import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.j
16
16
  */this.tone="strong";
17
17
  /**
18
18
  * Specifies the size for the button
19
- */this.size="lg";this.toggleMenu=function(){if(a.opened===true){a.opened=undefined;return}a.opened=true};this.setItemSize=function(){var e;(e=a.items)===null||e===void 0?void 0:e.forEach((function(e){e.size=a.size}))};this.setItemIndex=function(){a.items.forEach((function(e,a){e.style.setProperty("--mds-radial-menu-item-index",a.toString())}))};
19
+ */this.size="lg";this.toggleMenu=function(){if(n.opened===true){n.opened=undefined;return}n.opened=true};this.setItemSize=function(){var e;(e=n.items)===null||e===void 0?void 0:e.forEach((function(e){e.size=n.size}))};this.setItemIndex=function(){n.items.forEach((function(e,n){e.style.setProperty("--mds-radial-menu-item-index",n.toString())}))};
20
20
  // a geometry prop writes its custom property inline only while it is set: without it the menu
21
21
  // takes the value a stylesheet gives the property, or the default of the component
22
- this.writeGeometry=function(e,n,i){if(typeof n!=="number"||!Number.isFinite(n)){a.hostElement.style.removeProperty(e);return}a.hostElement.style.setProperty(e,"".concat(n).concat(i))};this.updateItems=function(){a.items=queryChildrenBySlot(a.hostElement,"item");a.setItemSize();a.setItemIndex();a.hostElement.style.setProperty("--mds-radial-menu-nth-siblings",(a.items.length-1).toString())};
22
+ this.writeGeometry=function(e,a,i){if(typeof a!=="number"||!Number.isFinite(a)){n.hostElement.style.removeProperty(e);return}n.hostElement.style.setProperty(e,"".concat(a).concat(i))};this.updateItems=function(){n.items=queryChildrenBySlot(n.hostElement,"item");n.setItemSize();n.setItemIndex();n.hostElement.style.setProperty("--mds-radial-menu-nth-siblings",(n.items.length-1).toString())};
23
23
  // a click outside the menu and Escape close the open menu: the backdrop takes no pointer, so
24
24
  // nothing else did. Escape gives the focus back to the trigger when it was inside the menu
25
- this.handleOutsideClick=function(e){if(e.composedPath().includes(a.hostElement))return;a.opened=undefined};this.handleEscape=function(e){var n,i;if(e.key!=="Escape")return;var r=a.hostElement.matches(":focus-within");a.opened=undefined;if(r&&a.interaction==="click"){(i=(n=a.hostElement.shadowRoot)===null||n===void 0?void 0:n.querySelector(".menu-button"))===null||i===void 0?void 0:i.focus()}};this.listenOutside=function(e){if(typeof document==="undefined")return;document.removeEventListener("click",a.handleOutsideClick);document.removeEventListener("keydown",a.handleEscape);if(!e)return;document.addEventListener("click",a.handleOutsideClick);document.addEventListener("keydown",a.handleEscape)};this.toggleRightClickMenu=function(e){e.preventDefault();a.hostElement.style.top="".concat(e.clientY-a.hostElement.offsetHeight/2,"px");a.hostElement.style.left="".concat(e.clientX-a.hostElement.offsetWidth/2,"px");a.toggleMenu()};this.handleBackdrop=function(){if(!a.backdrop){a.backdropController.detachBackdrop();return}if(a.opened){a.backdropController.attachBackdrop();return}a.backdropController.detachBackdrop()}}e.prototype.componentWillLoad=function(){var e;this.icon=(e=this.icon)!==null&&e!==void 0?e:miBaselineMoreVert;this.onAngleStartChange(this.angleStart);this.onAngleEndChange(this.angleEnd);this.onRadiusChange(this.radius);this.onSizeChange()};e.prototype.componentDidLoad=function(){this.updateItems();this.onOpenedChange(this.opened);this.onInteractionChange(this.interaction)};e.prototype.disconnectedCallback=function(){if(typeof document==="undefined")return;document.removeEventListener("contextmenu",this.toggleRightClickMenu);this.listenOutside(false)};e.prototype.onDiscChanged=function(e){if(e===false){this.disc=undefined}};e.prototype.backdropChanged=function(e){if(e===false){this.backdrop=undefined}this.handleBackdrop()};e.prototype.onInteractionChange=function(e){if(typeof document==="undefined")return;if(e==="rightclick"){document.addEventListener("contextmenu",this.toggleRightClickMenu);return}document.removeEventListener("contextmenu",this.toggleRightClickMenu)};e.prototype.onAngleStartChange=function(e){this.writeGeometry("--mds-radial-menu-angle-start",e,"deg")};e.prototype.onAngleEndChange=function(e){this.writeGeometry("--mds-radial-menu-angle-end",e,"deg")};e.prototype.onRadiusChange=function(e){this.writeGeometry("--mds-radial-menu-radius",e,"rem")};e.prototype.onSizeChange=function(){this.setItemSize()};e.prototype.onOpenedChange=function(e){if(e===false){this.opened=undefined}this.handleBackdrop();this.listenOutside(!!e)};e.prototype.render=function(){return h(Host,{key:"48ec388f368d507bb78c962571d374eea8721fa7"},h("mds-button",{key:"3dec1e1078042ac9cf14a500eafa2e5bedbccf1a","aria-label":this.t.get(this.opened?"closeMenu":"openMenu"),class:clsx("menu-button",this.interaction!=="click"&&"menu-button--hidden"),icon:this.opened?miBaselineClose:this.icon,tone:this.tone,variant:this.variant,size:this.size,onClick:this.toggleMenu}),h("div",{key:"02e19718dc0929b000d3aff181f5e1b28b3e74a7",class:"radial-menu",part:"radial-menu"},h("slot",{key:"23a7901d5ddcb8893e5f79a355e25904738ff7c8",name:"item",onSlotchange:this.updateItems})),h("div",{key:"41563fb328e7623b7f2e10569604f93800183432",class:"disc"}))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disc:[{onDiscChanged:0}],backdrop:[{backdropChanged:0}],interaction:[{onInteractionChange:0}],angleStart:[{onAngleStartChange:0}],angleEnd:[{onAngleEndChange:0}],radius:[{onRadiusChange:0}],size:[{onSizeChange:0}],opened:[{onOpenedChange:0}]}},enumerable:false,configurable:true});return e}();MdsRadialMenu.style=mdsRadialMenuCss();export{MdsRadialMenu as mds_radial_menu};
25
+ this.handleOutsideClick=function(e){if(e.composedPath().includes(n.hostElement))return;n.opened=undefined};this.handleEscape=function(e){var a,i;if(e.key!=="Escape")return;var r=n.hostElement.matches(":focus-within");n.opened=undefined;if(r&&n.interaction==="click"){(i=(a=n.hostElement.shadowRoot)===null||a===void 0?void 0:a.querySelector(".menu-button"))===null||i===void 0?void 0:i.focus()}};this.listenOutside=function(e){if(typeof document==="undefined")return;document.removeEventListener("click",n.handleOutsideClick);document.removeEventListener("keydown",n.handleEscape);if(!e)return;document.addEventListener("click",n.handleOutsideClick);document.addEventListener("keydown",n.handleEscape)};this.toggleRightClickMenu=function(e){e.preventDefault();n.hostElement.style.top="".concat(e.clientY-n.hostElement.offsetHeight/2,"px");n.hostElement.style.left="".concat(e.clientX-n.hostElement.offsetWidth/2,"px");n.toggleMenu()};this.handleBackdrop=function(){if(!n.backdrop){n.backdropController.detachBackdrop();return}if(n.opened){n.backdropController.attachBackdrop();return}n.backdropController.detachBackdrop()}}e.prototype.componentWillLoad=function(){var e;this.icon=(e=this.icon)!==null&&e!==void 0?e:miBaselineMoreVert;this.onAngleStartChange(this.angleStart);this.onAngleEndChange(this.angleEnd);this.onRadiusChange(this.radius);this.onSizeChange()};e.prototype.componentDidLoad=function(){this.updateItems();this.onOpenedChange(this.opened);this.onInteractionChange(this.interaction)};e.prototype.disconnectedCallback=function(){if(typeof document==="undefined")return;document.removeEventListener("contextmenu",this.toggleRightClickMenu);this.listenOutside(false)};e.prototype.onDiscChanged=function(e){if(e===false){this.disc=undefined}};e.prototype.backdropChanged=function(e){if(e===false){this.backdrop=undefined}this.handleBackdrop()};e.prototype.onInteractionChange=function(e){if(typeof document==="undefined")return;if(e==="rightclick"){document.addEventListener("contextmenu",this.toggleRightClickMenu);return}document.removeEventListener("contextmenu",this.toggleRightClickMenu)};e.prototype.onAngleStartChange=function(e){this.writeGeometry("--mds-radial-menu-angle-start",e,"deg")};e.prototype.onAngleEndChange=function(e){this.writeGeometry("--mds-radial-menu-angle-end",e,"deg")};e.prototype.onRadiusChange=function(e){this.writeGeometry("--mds-radial-menu-radius",e,"rem")};e.prototype.onSizeChange=function(){this.setItemSize()};e.prototype.onOpenedChange=function(e){if(e===false){this.opened=undefined}this.handleBackdrop();this.listenOutside(!!e)};e.prototype.render=function(){return h(Host,{key:"50afd404c2d35151f6763801445ef1b47ed1fbd0"},h("mds-button",{key:"9c7e5505b3a32d5102ddbde9bb9fc3aeb9e9f0bf","aria-label":this.t.get(this.opened?"closeMenu":"openMenu"),class:clsx("menu-button",this.interaction!=="click"&&"menu-button--hidden"),icon:this.opened?miBaselineClose:this.icon,tone:this.tone,variant:this.variant,size:this.size,onClick:this.toggleMenu}),h("div",{key:"352bccc56d2b08d3705c514808cd16ee8ceb747d",class:"radial-menu",part:"radial-menu"},h("slot",{key:"e55721554687ce5f754210503680a8d22e46483f",name:"item",onSlotchange:this.updateItems})),h("div",{key:"2c77b3c3b897312fee4fee0354bb5f1d92f295ab",class:"disc"}))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disc:[{onDiscChanged:0}],backdrop:[{backdropChanged:0}],interaction:[{onInteractionChange:0}],angleStart:[{onAngleStartChange:0}],angleEnd:[{onAngleEndChange:0}],radius:[{onRadiusChange:0}],size:[{onSizeChange:0}],opened:[{onOpenedChange:0}]}},enumerable:false,configurable:true});return e}();MdsRadialMenu.style=mdsRadialMenuCss();export{MdsRadialMenu as mds_radial_menu};
@@ -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 mdsSeparatorCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(: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-separator-background:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));background-color:var(--mds-separator-background,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;height:1px}"};var MdsSeparator=/** @class */function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,{key:"d409a86e48c7af10b9a876ae2eae14dd01d36c25","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]})};return r}();MdsSeparator.style=mdsSeparatorCss();export{MdsSeparator as mds_separator};
1
+ import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C8foBO86.js";var mdsSeparatorCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(: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-separator-background:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));background-color:var(--mds-separator-background,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;height:1px}"};var MdsSeparator=/** @class */function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,{key:"58f04372d1fd554508fa699db32051218a50bbc4","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]})};return r}();MdsSeparator.style=mdsSeparatorCss();export{MdsSeparator as mds_separator};
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(a,r,t,e){function s(a){return a instanceof t?a:new t((function(r){r(a)}))}return new(t||(t=Promise))((function(t,n){function i(a){try{c(e.next(a))}catch(a){n(a)}}function o(a){try{c(e["throw"](a))}catch(a){n(a)}}function c(a){a.done?t(a.value):s(a.value).then(i,o)}c((e=e.apply(a,r||[])).next())}))};var __generator=this&&this.__generator||function(a,r){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},e,s,n,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=o(0),i["throw"]=o(1),i["return"]=o(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(a){return function(r){return c([a,r])}}function c(o){if(e)throw new TypeError("Generator is already executing.");while(i&&(i=0,o[0]&&(t=0)),t)try{if(e=1,s&&(n=o[0]&2?s["return"]:o[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,o[1])).done)return n;if(s=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;s=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(n=t.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){t.label=o[1];break}if(o[0]===6&&t.label<n[1]){t.label=n[1];n=o;break}if(n&&t.label<n[2]){t.label=n[2];t.ops.push(o);break}if(n[2])t.ops.pop();t.trys.pop();continue}o=r.call(a,t)}catch(a){o=[6,a];s=0}finally{e=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};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 mdsStatusBarCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-modal,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-status-bar-max-width:calc(var(--spacing,.0025rem)*12500);--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1);--mds-status-bar-backdrop-filter:blur(calc(var(--spacing,.0025rem)*250));display:block}mds-modal{--mds-modal-custom-window-distance:0;--mds-modal-custom-closed-transform:translateY(100%)}.status-bar-area{-webkit-backdrop-filter:var(--mds-status-bar-backdrop-filter);backdrop-filter:var(--mds-status-bar-backdrop-filter);background-color:var(--mds-status-bar-backdrop,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px)) var(--magma-radius-xl,var(--radius-squircle-xl,36px)) 0 0;corner-shape:var(--magma-corner-shape,squircle);margin-left:calc(var(--spacing,.0025rem)*600);margin-right:calc(var(--spacing,.0025rem)*600);max-width:none;padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*600);transition-property:background-color,transform,opacity;width:auto}.status-bar{--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;gap:calc(var(--spacing,.0025rem)*400);max-width:var(--mds-status-bar-max-width,calc(var(--spacing,.0025rem)*12500));padding:calc(var(--spacing,.0025rem)*600)}.actions,.status-bar{display:inline-flex;flex-wrap:wrap}.actions{flex-grow:1;gap:var(--magma-rhythm-inline,12px)}@container status-bar not (min-width:23.75rem){.actions{flex-basis:100%;flex-direction:column}::slotted(*){align-self:stretch}}:host([pref-consumption=medium]){--mds-status-bar-backdrop-filter:none}:host([pref-contrast=more]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}@media (max-width:480px){.status-bar-area{border-radius:0;margin-left:0;margin-right:0;padding:calc(var(--spacing,.0025rem)*400);width:100%}.status-bar{container:status-bar/inline-size;width:100%}::slotted(*){flex-grow:1}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}}"};var MdsStatusBar=/** @class */function(){function a(a){var r=this;registerInstance(this,a);
1
+ var __awaiter=this&&this.__awaiter||function(a,t,r,e){function s(a){return a instanceof r?a:new r((function(t){t(a)}))}return new(r||(r=Promise))((function(r,n){function i(a){try{c(e.next(a))}catch(a){n(a)}}function o(a){try{c(e["throw"](a))}catch(a){n(a)}}function c(a){a.done?r(a.value):s(a.value).then(i,o)}c((e=e.apply(a,t||[])).next())}))};var __generator=this&&this.__generator||function(a,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},e,s,n,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=o(0),i["throw"]=o(1),i["return"]=o(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(a){return function(t){return c([a,t])}}function c(o){if(e)throw new TypeError("Generator is already executing.");while(i&&(i=0,o[0]&&(r=0)),r)try{if(e=1,s&&(n=o[0]&2?s["return"]:o[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,o[1])).done)return n;if(s=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;s=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(o[0]===6&&r.label<n[1]){r.label=n[1];n=o;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(o);break}if(n[2])r.ops.pop();r.trys.pop();continue}o=t.call(a,r)}catch(a){o=[6,a];s=0}finally{e=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C8foBO86.js";var mdsStatusBarCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-modal,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-status-bar-max-width:calc(var(--spacing,.0025rem)*12500);--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1);--mds-status-bar-backdrop-filter:blur(calc(var(--spacing,.0025rem)*250));display:block}mds-modal{--mds-modal-custom-window-distance:0;--mds-modal-custom-closed-transform:translateY(100%)}.status-bar-area{-webkit-backdrop-filter:var(--mds-status-bar-backdrop-filter);backdrop-filter:var(--mds-status-bar-backdrop-filter);background-color:var(--mds-status-bar-backdrop,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px)) var(--magma-radius-xl,var(--radius-squircle-xl,36px)) 0 0;corner-shape:var(--magma-corner-shape,squircle);margin-left:calc(var(--spacing,.0025rem)*600);margin-right:calc(var(--spacing,.0025rem)*600);max-width:none;padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*600);transition-property:background-color,transform,opacity;width:auto}.status-bar{--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;gap:calc(var(--spacing,.0025rem)*400);max-width:var(--mds-status-bar-max-width,calc(var(--spacing,.0025rem)*12500));padding:calc(var(--spacing,.0025rem)*600)}.actions,.status-bar{display:inline-flex;flex-wrap:wrap}.actions{flex-grow:1;gap:var(--magma-rhythm-inline,12px)}@container status-bar not (min-width:23.75rem){.actions{flex-basis:100%;flex-direction:column}::slotted(*){align-self:stretch}}:host([pref-consumption=medium]){--mds-status-bar-backdrop-filter:none}:host([pref-contrast=more]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .status-bar,:host([pref-theme-scheme=dark]) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}@media (max-width:480px){.status-bar-area{border-radius:0;margin-left:0;margin-right:0;padding:calc(var(--spacing,.0025rem)*400);width:100%}.status-bar{container:status-bar/inline-size;width:100%}::slotted(*){flex-grow:1}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}}"};var MdsStatusBar=/** @class */function(){function a(a){var t=this;registerInstance(this,a);
2
2
  /**
3
3
  * Specifies if the component prevents the body from scrolling when modal window is opened
4
4
  */this.overflow="manual";
@@ -6,7 +6,7 @@ var __awaiter=this&&this.__awaiter||function(a,r,t,e){function s(a){return a ins
6
6
  * Specifies the position of the status bar
7
7
  */this.position="bottom-right";
8
8
  // the modal closes itself too (a swipe): the bar follows it
9
- this.handleModalClose=function(){r.visible=undefined}}a.prototype.handleVisbilityProp=function(a){if(a===false){this.visible=undefined}};
9
+ this.handleModalClose=function(){t.visible=undefined}}a.prototype.handleVisbilityProp=function(a){if(a===false){this.visible=undefined}};
10
10
  /**
11
11
  * Hides the status bar.
12
- */a.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.visible=undefined;return[2/*return*/]}))}))};a.prototype.render=function(){return h(Host,{key:"b82643f6d8f0a7de0f3813e2ac25b84f91c709dd","pref-consumption":preferenceStore.state.consumption,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-modal",{key:"349e092fd8ef59cc80fe4884909e1a02bdfa9111",class:"modal",hideBackdrop:true,onMdsModalClose:this.handleModalClose,opened:this.visible,position:this.position,animation:"custom",overflow:this.overflow},h("div",{key:"f219dec751c64d4e6c3ff61c8039b85799023b69",class:"status-bar-area",part:"status-bar-area",slot:"window"},h("div",{key:"baf3741a1717e5ed853fda613301d9a88fdbacd7",class:"status-bar",part:"status-bar"},this.description&&h("mds-text",{key:"8fa7f0fd44ae3909c4e362a24bedb62238a2d041",typography:"caption",class:"description"},this.description),h("div",{key:"aaa1b75e0ef2ff55991eac01a4e2450dec43ddf4",class:"actions",part:"actions"},h("slot",{key:"4b397d248c08e2cb66ffe6caedcf7c8e84d2f46e"}))))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{visible:[{handleVisbilityProp:0}]}},enumerable:false,configurable:true});return a}();MdsStatusBar.style=mdsStatusBarCss();export{MdsStatusBar as mds_status_bar};
12
+ */a.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.visible=undefined;return[2/*return*/]}))}))};a.prototype.render=function(){return h(Host,{key:"880e7f856b4c853713fda33f0584f105d187d47f","pref-consumption":preferenceStore.state.consumption,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-modal",{key:"a43bbc63dc55ebc684c977ed4044ea7debd96923",class:"modal",hideBackdrop:true,onMdsModalClose:this.handleModalClose,opened:this.visible,position:this.position,animation:"custom",overflow:this.overflow},h("div",{key:"01c957e7114d2ea0af3cf816d035d0850a573b53",class:"status-bar-area",part:"status-bar-area",slot:"window"},h("div",{key:"5c10f82297549778a96697e1d14a682c48d73ecf",class:"status-bar",part:"status-bar"},this.description&&h("mds-text",{key:"a77565fd4d45418c2a1bcbd537d6f5dd8fc77d08",typography:"caption",class:"description"},this.description),h("div",{key:"db03d3c1eaf4a7c69168151fcd3010e1d374fae1",class:"actions",part:"actions"},h("slot",{key:"e208b8ba39e479529fe37f4ed2228dcbd6f5edd5"}))))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{visible:[{handleVisbilityProp:0}]}},enumerable:false,configurable:true});return a}();MdsStatusBar.style=mdsStatusBarCss();export{MdsStatusBar as mds_status_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{c as clsx}from"./clsx-ChV9xqsO.js";import{K as KeyboardManager}from"./keyboard-manager-CGrPq3C4.js";import{L as Locale}from"./locale-B6cOkl4I.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var badgeDone$3="Ολοκληρώθηκε";var badgeCurrent$3="Καθημερινή";var badgeQueued$3="Σε αναμονή";var step$3="Βήμα {{ index }}";var localeEl={badgeDone:badgeDone$3,badgeCurrent:badgeCurrent$3,badgeQueued:badgeQueued$3,step:step$3};var badgeDone$2="Done";var badgeCurrent$2="Current";var badgeQueued$2="Queued";var step$2="Step {{ index }}";var localeEn={badgeDone:badgeDone$2,badgeCurrent:badgeCurrent$2,badgeQueued:badgeQueued$2,step:step$2};var badgeDone$1="Completado";var badgeCurrent$1="En curso";var badgeQueued$1="En cola";var step$1="Paso {{ index }}";var localeEs={badgeDone:badgeDone$1,badgeCurrent:badgeCurrent$1,badgeQueued:badgeQueued$1,step:step$1};var badgeDone="Completato";var badgeCurrent="In corso";var badgeQueued="In coda";var step="Step {{ index }}";var localeIt={badgeDone:badgeDone,badgeCurrent:badgeCurrent,badgeQueued:badgeQueued,step:step};var mdsStepperBarItemCss=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-badge,mds-icon,mds-progress,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-stepper-bar-item-header-gap:var(--mds-stepper-bar-gap,calc(var(--spacing,.0025rem)*50));--mds-stepper-bar-item-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-stepper-bar-item-duration:.25s;--private-stepper-bar-item-duaration:var(--mds-stepper-bar-item-duration,.25s);--mds-stepper-bar-item-transition-duration:var(--duration-200,.2s);--private-stepper-bar-item-transition-duration:var(--mds-stepper-bar-item-transition-duration);--mds-stepper-bar-item-icon-background-done:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-icon-background-current:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-stepper-bar-item-icon-color-done:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color-current:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-stepper-bar-item-min-width:calc(var(--spacing,.0025rem)*4500);--mds-stepper-bar-item-progress-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-stepper-bar-item-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-progress-thickness:calc(var(--spacing,.0025rem)*200);border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;display:grid;flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*400);min-width:var(--mds-stepper-bar-item-min-width,calc(var(--spacing,.0025rem)*4500));position:relative;scroll-snap-align:center;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:outline,outline-offset,background-color}:host(:last-of-type){flex-basis:calc(var(--spacing,.0025rem)*100)}:host(:last-of-type) .progress{display:none}:host([done]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-done,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-done,rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:0s}:host([current]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-current,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-current,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:calc(var(--private-stepper-bar-item-duaration)/2)}.header{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:flex;gap:var(--mds-stepper-bar-item-header-gap);transition-duration:var(--private-stepper-bar-item-transition-duration);transition-property:outline,outline-offset;width:100%}.icon{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-stepper-bar-item-icon-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;fill:var(--mds-stepper-bar-item-icon-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));flex-shrink:0;padding:calc(var(--spacing,.0025rem)*200);position:relative;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:background-color,fill;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.progress{--mds-progress-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-progress-color:var(--mds-stepper-bar-item-progress-color,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-progress-thickness:var(--mds-stepper-bar-item-progress-thickness,calc(var(--spacing,.0025rem)*200));--mds-progress-radius:0;flex-grow:1}.infos{display:grid;gap:calc(var(--spacing,.0025rem)*100);padding-left:calc(var(--spacing,.0025rem)*100)}.text{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));color:var(--mds-stepper-bar-item-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));pointer-events:none;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.badge,.step{border-radius:var(--magma-radius-full,var(--radius-full,1000px));pointer-events:none}.step{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}: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-stepper-bar-item-duaration:0s;--private-stepper-bar-item-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-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}}'};var MdsStepperBarItem=/** @class */function(){function e(e){var r=this;registerInstance(this,e);this.doneEvent=createEvent(this,"mdsStepperBarItemDone",7);this.km=new KeyboardManager;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{K as KeyboardManager}from"./keyboard-manager-CGrPq3C4.js";import{L as Locale}from"./locale-DhP1Ge2o.js";import{p as preferenceStore}from"./preference-C8foBO86.js";var badgeDone$3="Ολοκληρώθηκε";var badgeCurrent$3="Καθημερινή";var badgeQueued$3="Σε αναμονή";var step$3="Βήμα {{ index }}";var localeEl={badgeDone:badgeDone$3,badgeCurrent:badgeCurrent$3,badgeQueued:badgeQueued$3,step:step$3};var badgeDone$2="Done";var badgeCurrent$2="Current";var badgeQueued$2="Queued";var step$2="Step {{ index }}";var localeEn={badgeDone:badgeDone$2,badgeCurrent:badgeCurrent$2,badgeQueued:badgeQueued$2,step:step$2};var badgeDone$1="Completado";var badgeCurrent$1="En curso";var badgeQueued$1="En cola";var step$1="Paso {{ index }}";var localeEs={badgeDone:badgeDone$1,badgeCurrent:badgeCurrent$1,badgeQueued:badgeQueued$1,step:step$1};var badgeDone="Completato";var badgeCurrent="In corso";var badgeQueued="In coda";var step="Step {{ index }}";var localeIt={badgeDone:badgeDone,badgeCurrent:badgeCurrent,badgeQueued:badgeQueued,step:step};var mdsStepperBarItemCss=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-badge,mds-icon,mds-progress,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-stepper-bar-item-header-gap:var(--mds-stepper-bar-gap,calc(var(--spacing,.0025rem)*50));--mds-stepper-bar-item-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-stepper-bar-item-duration:.25s;--private-stepper-bar-item-duaration:var(--mds-stepper-bar-item-duration,.25s);--mds-stepper-bar-item-transition-duration:var(--duration-200,.2s);--private-stepper-bar-item-transition-duration:var(--mds-stepper-bar-item-transition-duration);--mds-stepper-bar-item-icon-background-done:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-icon-background-current:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-stepper-bar-item-icon-color-done:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color-current:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-stepper-bar-item-min-width:calc(var(--spacing,.0025rem)*4500);--mds-stepper-bar-item-progress-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-stepper-bar-item-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-progress-thickness:calc(var(--spacing,.0025rem)*200);border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;display:grid;flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*400);min-width:var(--mds-stepper-bar-item-min-width,calc(var(--spacing,.0025rem)*4500));position:relative;scroll-snap-align:center;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:outline,outline-offset,background-color}:host(:last-of-type){flex-basis:calc(var(--spacing,.0025rem)*100)}:host(:last-of-type) .progress{display:none}:host([done]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-done,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-done,rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:0s}:host([current]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-current,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-current,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:calc(var(--private-stepper-bar-item-duaration)/2)}.header{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:flex;gap:var(--mds-stepper-bar-item-header-gap);transition-duration:var(--private-stepper-bar-item-transition-duration);transition-property:outline,outline-offset;width:100%}.icon{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-stepper-bar-item-icon-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;fill:var(--mds-stepper-bar-item-icon-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));flex-shrink:0;padding:calc(var(--spacing,.0025rem)*200);position:relative;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:background-color,fill;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.progress{--mds-progress-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-progress-color:var(--mds-stepper-bar-item-progress-color,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-progress-thickness:var(--mds-stepper-bar-item-progress-thickness,calc(var(--spacing,.0025rem)*200));--mds-progress-radius:0;flex-grow:1}.infos{display:grid;gap:calc(var(--spacing,.0025rem)*100);padding-left:calc(var(--spacing,.0025rem)*100)}.text{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));color:var(--mds-stepper-bar-item-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));pointer-events:none;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.badge,.step{border-radius:var(--magma-radius-full,var(--radius-full,1000px));pointer-events:none}.step{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}: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-stepper-bar-item-duaration:0s;--private-stepper-bar-item-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-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}}'};var MdsStepperBarItem=/** @class */function(){function e(e){var r=this;registerInstance(this,e);this.doneEvent=createEvent(this,"mdsStepperBarItemDone",7);this.km=new KeyboardManager;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
2
  /**
3
3
  * Specifies the icon displayed of the component when is checked
4
4
  */this.iconChecked=this.icon;
@@ -22,4 +22,4 @@ this.isReachable=function(){return!!r.isDone&&!r.isCurrent};
22
22
  this.showBadge=function(){if(r.isDone){return h("mds-badge",{class:"badge",variant:"success",tone:"weak",typography:"option",label:r.t.get("badgeDone")})}if(r.isCurrent){return h("mds-badge",{class:"badge",variant:"info",tone:"weak",typography:"option",label:r.t.get("badgeCurrent")})}return h("mds-badge",{class:"badge",variant:"dark",tone:"weak",typography:"option",label:r.t.get("badgeQueued")})}}e.prototype.componentWillLoad=function(){var e=this;this.isCurrent=this.current;this.isDone=this.done;var r=this.host.parentElement;
23
23
  // childNodes counts the whitespace between the tags, so formatted markup made
24
24
  // the step numbers come out doubled: 2, 4, 6, 8 for four steps.
25
- if(r){this.index=Array.from(r.children).filter((function(r){return r.tagName===e.host.tagName})).indexOf(this.host)}};e.prototype.componentDidLoad=function(){this.km.addElement(this.host);this.km.attachClickBehavior()};e.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};e.prototype.selectedHandler=function(e){this.isDone=e};e.prototype.currentHandler=function(e){this.isCurrent=e};e.prototype.render=function(){return h(Host,{key:"d04169e67c362e935f473637343b5134f5ee2ed2",onClick:this.handleClick,"pref-animation":preferenceStore.state.animation,role:this.isReachable()?"button":undefined,tabindex:this.isReachable()?"0":undefined},h("div",{key:"2a92d2a4b99adaa06e3bbcfc1506676d9cfd46cf",class:"header"},h("mds-icon",{key:"e1a700f2516aadaf659c0d802ed4047fa5b3c590",class:"icon",name:clsx(this.isDone&&!this.isCurrent?this.iconChecked:this.icon)}),h("mds-progress",{key:"8a20feb305e55b6872e07857f8205e3bdbc1ed4b","aria-hidden":"true",class:"progress",progress:this.isDone?1:0})),h("div",{key:"91e788c04f843d475d0e50ef89921e6a473f0406",class:"infos"},this.step&&h("mds-text",{key:"f4c2276fdd3f9491bdc67c85c3febbc14bd3a85d",class:"step",typography:"option"},this.t.get("step",{index:this.index+1})),this.label&&h("mds-text",{key:"d32dd159c044ea6b3f618c97b499442efd86bfc2",class:"text",typography:this.typography},this.label),this.badge&&h("div",{key:"4fd5400c7550984b3019aab5e506d71765dd4cf7",part:"badge"},this.showBadge())))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{done:[{selectedHandler:0}],current:[{currentHandler:0}]}},enumerable:false,configurable:true});return e}();MdsStepperBarItem.style=mdsStepperBarItemCss();export{MdsStepperBarItem as mds_stepper_bar_item};
25
+ if(r){this.index=Array.from(r.children).filter((function(r){return r.tagName===e.host.tagName})).indexOf(this.host)}};e.prototype.componentDidLoad=function(){this.km.addElement(this.host);this.km.attachClickBehavior()};e.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};e.prototype.selectedHandler=function(e){this.isDone=e};e.prototype.currentHandler=function(e){this.isCurrent=e};e.prototype.render=function(){return h(Host,{key:"c148fade103ed5492e0ee8fdd6d6a67815682e28",onClick:this.handleClick,"pref-animation":preferenceStore.state.animation,role:this.isReachable()?"button":undefined,tabindex:this.isReachable()?"0":undefined},h("div",{key:"9dd7c9a4f85276e408a89fc1af0e62c5c07b4d17",class:"header"},h("mds-icon",{key:"d7dd1d04438a250cdb08968a34be726c0cf6e9f6",class:"icon",name:clsx(this.isDone&&!this.isCurrent?this.iconChecked:this.icon)}),h("mds-progress",{key:"1f25e035cc868887c91e60322622bee9c5933a1c","aria-hidden":"true",class:"progress",progress:this.isDone?1:0})),h("div",{key:"5659c6702369d3db54f9ea1bc1fed7d02d089a4d",class:"infos"},this.step&&h("mds-text",{key:"b973fcfc8225369bd26bae1452dd43738a9cebe6",class:"step",typography:"option"},this.t.get("step",{index:this.index+1})),this.label&&h("mds-text",{key:"f6b876a52756bc1ad7b22f579f4606f315dfdd11",class:"text",typography:this.typography},this.label),this.badge&&h("div",{key:"900d7a98f21cd4b167374dc50f9f6c1ae8f529f0",part:"badge"},this.showBadge())))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{done:[{selectedHandler:0}],current:[{currentHandler:0}]}},enumerable:false,configurable:true});return e}();MdsStepperBarItem.style=mdsStepperBarItemCss();export{MdsStepperBarItem as mds_stepper_bar_item};
@@ -21,4 +21,4 @@ this.setCurrentContent=function(){e.contentItems.forEach((function(r,t){r.hidden
21
21
  * div in the shadow root that measures from its own parent. What is left over
22
22
  * is the distance of the component from the left of the page, and it lands
23
23
  * straight on the scroll.
24
- */this.scrollToItem=function(r,e,t){var a=r.getBoundingClientRect();var s=e.getBoundingClientRect();var o=t==="centre"?(a.width-s.width)/2:0;r.scrollLeft+=s.left-a.left-o}}r.prototype.componentWillLoad=function(){this.items=this.queryItems();this.items.forEach((function(r,e){r.id="mds-stepper-bar-item-".concat(e)}))};r.prototype.componentDidLoad=function(){this.contentItems=this.queryContentItems();this.setCurrent(this.itemsDone)};r.prototype.itemDone=function(r){this.setCurrent(r)};r.prototype.render=function(){return h(Host,{key:"bb18a2d591a3642d435e7a3e64a02ba8d8d7dfab"},h("div",{key:"9249171b05df2a7b75b59b821343db73e2d3412a",class:"items",part:"items"},h("slot",{key:"cf12320ba42b87989d758a282f17140d81a8ebb1"})),h("div",{key:"f8200536055da9b67161ac7565888fae52da0612",class:"contents",part:"contents"},h("slot",{key:"b8dd8d7665bfee01be176d11c43e138eee18efa6",name:"content"})))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{itemsDone:[{itemDone:0}]}},enumerable:false,configurable:true});return r}();MdsStepperBar.style=mdsStepperBarCss();export{MdsStepperBar as mds_stepper_bar};
24
+ */this.scrollToItem=function(r,e,t){var a=r.getBoundingClientRect();var s=e.getBoundingClientRect();var o=t==="centre"?(a.width-s.width)/2:0;r.scrollLeft+=s.left-a.left-o}}r.prototype.componentWillLoad=function(){this.items=this.queryItems();this.items.forEach((function(r,e){r.id="mds-stepper-bar-item-".concat(e)}))};r.prototype.componentDidLoad=function(){this.contentItems=this.queryContentItems();this.setCurrent(this.itemsDone)};r.prototype.itemDone=function(r){this.setCurrent(r)};r.prototype.render=function(){return h(Host,{key:"5bfca2c7bb7bdf41579a1273321d722a3ac07f68"},h("div",{key:"f12bd756e4ffc9530f60f1e1a3638f8658c351e9",class:"items",part:"items"},h("slot",{key:"4560d8b3fd65583232019c46b45321d3e6525b09"})),h("div",{key:"05fc5f8e6b27e75fd84cb41b97741b281e4de8b5",class:"contents",part:"contents"},h("slot",{key:"8a165bb392fbfd6f68015f8e09ea50ee40a9183f",name:"content"})))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{itemsDone:[{itemDone:0}]}},enumerable:false,configurable:true});return r}();MdsStepperBar.style=mdsStepperBarCss();export{MdsStepperBar as mds_stepper_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{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-CvLLN-QH.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-C8foBO86.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(t){var e=this;registerInstance(this,t);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="";
@@ -12,4 +12,4 @@ this.select=function(){if(e.selected)return;e.selected=true;e.selectedEvent.emit
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:"b9b010944dfba025034fc9ebcd74ca650e1f9556","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:"d55970773da8bdcf93e1acc5609d028f4882e476",name:this.icon}),h("mds-text",{key:"402fe8ef6fa97521211443f3e187d87ec7c925bd",typography:this.typography},this.label||h("slot",{key:"e59b885dafe37e6e5e5e1a5857f656d04640f289",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-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C8foBO86.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(e){var t=this;registerInstance(this,e);this.changedEvent=createEvent(this,"mdsTabBarChange",7);this.queryItems=function(){return t.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:"0f7181022ad1966e9b0733352d98f77f652a27e4","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:"7e237b32fd45a6bb95db2da1bd2c3707a9719ba2"}))};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-CvLLN-QH.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-C8foBO86.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(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;
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
  /**
@@ -27,7 +27,7 @@ if(t<0||t>=a.tabItems.length)return;var r=a.tabItems[t];setTimeout((function(){a
27
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;
28
28
  // for some reason, mds-tab-item looses focus when we click Enter with the keyboard,
29
29
  // 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);
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:"4f3cd0012d557450d8b3ee53aaaeedac1ef982ac","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:"59750f7c48dd4f5a08bf92f27e05c332d596c880",class:clsx("tabs-wrapper",this.fill&&"tabs-wrapper--fill",!this.hasContent&&"tabs-wrapper--no-content")},this.overflow&&h("div",{key:"f9df8f6e60e71dcc31f1d2a5586c2ad0e247da16",class:clsx("tabs-wrapper-overflow-left",this.overflowLeft&&"tabs-wrapper-overflow-left--show")}),this.overflow&&h("div",{key:"4c76f2668ab74e3689e17a079c68aa9178846d5c",class:clsx("tabs-wrapper-overflow-right",this.overflowRight&&"tabs-wrapper-overflow-right--show")}),h("div",{key:"05e5033aaf88d20c657c195ec96882b280df94f6",class:"tabs",part:"tabs",role:this.navigation?undefined:"tablist"},h("slot",{key:"a154c17217000c1874832676633577731e494a67"}),this.animation==="slide"&&h("div",{key:"85c19f869c9f2b4b3c15c63672018bb68669cb04",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:"d08a6005638930f270a16043fe5505af66369d40",class:clsx("contents",!this.hasContent&&"contents--empty"),part:"contents"},h("slot",{key:"6072650632766a86f1aa0cbc8fddfdab13c1e09e",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);
31
31
  /**
32
32
  * Specifies the horizontal position of the icon displayed in the tab item
33
33
  */this.iconPosition="left";
@@ -41,7 +41,7 @@ var i=(s=a.tabItems[a.currentItemIndex].shadowRoot)===null||s===void 0?void 0:s.
41
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){
42
42
  // the item that announced its selection gets `selected` back from the parent: it has
43
43
  // 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",
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:"b76c9deb90f9f130e09d785339f5461a4d84ec8f","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-button",{key:"ad5fa296996f4d1dd25ec6d52b106bf81cd4d834",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
45
  // a tab controls a panel; one with href is a link to another page or place, which
46
46
  // ARIA names as such, the selected one being the current one
47
47
  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-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C8foBO86.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:"a486bbfa9564c87dadc5ec2ccb0eb2e45717e4e4",role:"rowgroup","pref-animation":preferenceStore.state.animation},h("slot",{key:"799b404207955a1183e9de4e126f2ec11211bf51"}))};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-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C8foBO86.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;
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:"8ca63c86939911cfe92651ef735680dfbfa40249",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"e27c9083e19b9ab31aa4a4c4a9427e2cc7d31976",class:"selection"}),h("slot",{key:"a40b309111f59a1b1add8eb1b4670d72116e4f5e"}),this.hasActions&&h("mds-table-cell",{key:"dba950b640ba6a023f17a87b903bc13d5defe2a3",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,4 +1,4 @@
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-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C8foBO86.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
4
  var naturalOrder=new WeakMap;var MdsTableHeaderCell=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.sortEvent=createEvent(this,"mdsTableHeaderCellSort",7);
@@ -20,4 +20,4 @@ this.observeRows=function(e){var r;(r=t.bodyObserver)===null||r===void 0?void 0:
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=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:"4e2574a9ba2dc75ba5de5482baa21a30856b2820",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};