@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,9 +1,11 @@
1
- var __awaiter=this&&this.__awaiter||function(t,a,e,r){function i(t){return t instanceof e?t:new e((function(a){a(t)}))}return new(e||(e=Promise))((function(e,n){function o(t){try{u(r.next(t))}catch(t){n(t)}}function s(t){try{u(r["throw"](t))}catch(t){n(t)}}function u(t){t.done?e(t.value):i(t.value).then(o,s)}u((r=r.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=s(0),o["throw"]=s(1),o["return"]=s(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(a){return u([t,a])}}function u(s){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(e=0)),e)try{if(r=1,i&&(n=s[0]&2?i["return"]:s[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;if(i=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;i=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(n=e.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){e.label=s[1];break}if(s[0]===6&&e.label<n[1]){e.label=n[1];n=s;break}if(n&&e.label<n[2]){e.label=n[2];e.ops.push(s);break}if(n[2])e.ops.pop();e.trys.pop();continue}s=a.call(t,e)}catch(t){s=[6,t];i=0}finally{r=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{K as KeyboardManager}from"./keyboard-manager-CGrPq3C4.js";import{u as unslugName,s as setAttributeIfEmpty}from"./aria-Cvhn9asj.js";import{a as isIconFormatIsBase64,i as isIconFormatIsSVG,B as BASE64_SVG_ICON}from"./icon-B7RVWU-q.js";import{r as readSlottedLabel,s as sanitizeLabel}from"./slot-AEckDMXh.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";import{r as requestSubmitAs}from"./form-wI0alRSO.js";import{N as NavigationService}from"./navigation-Bz1eiKqd.js";import{IconsSetService}from"./index.js";var buttonSizeTypographyVariant={sm:"action",md:"action",lg:"h6",xl:"h5"};var mdiApple='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple" viewBox="0 0 24 24"><path d="M18.71,19.5C17.88,20.74 17,21.95 15.66,21.97C14.32,22 13.89,21.18 12.37,21.18C10.84,21.18 10.37,21.95 9.1,22C7.79,22.05 6.8,20.68 5.96,19.47C4.25,17 2.94,12.45 4.7,9.39C5.57,7.87 7.13,6.91 8.82,6.88C10.1,6.86 11.32,7.75 12.11,7.75C12.89,7.75 14.37,6.68 15.92,6.84C16.57,6.87 18.39,7.1 19.56,8.82C19.47,8.88 17.39,10.1 17.41,12.63C17.44,15.65 20.06,16.66 20.09,16.67C20.06,16.74 19.67,18.11 18.71,19.5M13,3.5C13.73,2.67 14.94,2.04 15.94,2C16.07,3.17 15.6,4.35 14.9,5.19C14.21,6.04 13.07,6.7 11.95,6.61C11.8,5.46 12.36,4.26 13,3.5Z" /></svg>';var logoGoogle='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" xmlnsXlink="http://www.w3.org/1999/xlink"><path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"></path><path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"></path><path fill="#FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"></path><path fill="#34A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"></path><path fill="none" d="M0 0h48v48H0z"></path></svg>\n';var mdsButtonCss=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-font-weight: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-spinner,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-button-await-duration:.725s;--mds-button-transition-duration:var(--duration-300,.3s);--private-button-transition-duration:var(--mds-button-transition-duration);--mds-button-border-hover-opacity:.75;--mds-button-border-tone-outline-hover-width:calc(var(--spacing,.0025rem)*75);--mds-button-border-tone-outline-opacity:.3;--mds-button-border-tone-strong-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-tone-weak-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-default-opacity:0;--mds-button-border-opacity:0;--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-gap:calc(var(--spacing,.0025rem)*200);--mds-button-line-clamp:1;--mds-button-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-button-height));--private-button-height:calc(var(--spacing,.0025rem)*900);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));background-color:var(--mds-button-background,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));border-radius:var(--mds-button-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))/var(--mds-button-border-opacity,0));box-sizing:border-box;color:var(--mds-button-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--mds-button-corner-shape,var(--magma-corner-shape,squircle));align-items:center;align-self:flex-start;cursor:pointer;display:inline-flex;fill:currentColor;gap:var(--mds-button-gap,calc(var(--spacing,.0025rem)*200));justify-content:center;justify-self:flex-start;min-height:var(--private-button-height);min-width:var(--private-button-height);padding:0 calc(var(--spacing,.0025rem)*400);position:relative;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,outline,outline-offset,transform;transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));-webkit-user-select:none;user-select:none;--private-button-fill:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231));--private-button-fill-hover:var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204));--private-button-on-fill:var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-accent-surface,var(--variant-primary-09,220 224 231));--private-button-wash-hover:var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226));--private-button-wash-hover-ring:var(--private-button-wash-hover);--private-button-ink:var(--private-button-fill-hover);--private-button-ink-hover:var(--private-button-ink);--private-button-outline:var(--private-button-fill);--private-button-outline-ink:var(--private-button-ink);--private-button-text-ink:var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163));--private-button-text-ink-hover:var(--private-button-fill);--private-button-text-wash:var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240));--private-button-text-ink-active:var(--private-button-text-ink);--mds-button-background:rgb(var(--private-button-fill));--mds-button-border-color-rgb:var(--private-button-fill);--mds-button-color:rgb(var(--private-button-on-fill))}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running;z-index:10}.link{border-radius:inherit;corner-shape:inherit;inset:0;outline:none;position:absolute;z-index:1}.text{--mds-text-line-clamp:var(--mds-button-line-clamp,1)}.text:first-letter{text-transform:var(--mds-button-label-transform,uppercase)}.icon{align-items:center;display:inline-flex;fill:inherit;flex-shrink:0;justify-content:center;pointer-events:none;transition-property:fill;transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955))}.await,.icon{transition-duration:var(--private-button-transition-duration)}.await{display:none;margin-right:calc(calc(-1 * var(--mds-button-gap,calc(var(--spacing,.0025rem) * 200))) - calc(var(--spacing,.0025rem) * 600));transform:scale(0);transition-behavior:allow-discrete;transition-property:display,margin-right,opacity,transform,width;transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955))}.await,.spinner{height:calc(var(--spacing,.0025rem)*600);width:calc(var(--spacing,.0025rem)*600)}.spinner{--mds-spinner-duration:var(--mds-button-await-duration,.725s);color:currentColor}:is(:host(:not([await])),:host([await=false])) .spinner{transition-duration:var(--duration-200,.2s);transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94))}:host([await]:not([await=false])) .await{display:flex;margin-right:0;opacity:1;transform:scale(1)}@starting-style{:host([await]:not([await=false])) .await{margin-right:calc(calc(-1 * var(--mds-button-gap,calc(var(--spacing,.0025rem) * 200))) - calc(var(--spacing,.0025rem) * 600));opacity:0;transform:scale(0)}}:host([await]:not([await=false])){pointer-events:none}:host([icon]:not([label])[await]:not([await=false])) .icon{display:none}:host(:disabled:not([disabled=false])),:host([disabled]:not([disabled=false])){opacity:.5;pointer-events:none}:host([size=sm]){--mds-button-radius:min(var(--magma-radius-md,var(--radius-squircle-md,20px)),var(--magma-corner-cap,.5) * var(--private-button-height));--private-button-height:calc(var(--spacing,.0025rem)*700);padding:0 calc(var(--spacing,.0025rem)*300)}:host([size=sm]) .icon{height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}:host([size=sm]):host([await]:not([await=false])) .await{transform:scale(.75)}:host([size=md]){--private-button-height:calc(var(--spacing,.0025rem)*900);padding-left:calc(var(--spacing,.0025rem)*400);padding-right:calc(var(--spacing,.0025rem)*400)}:host([size=md]):host([icon][icon-position=left]){padding-left:calc(var(--spacing,.0025rem)*300)}:host([size=md]):host([icon][icon-position=right]){padding-right:calc(var(--spacing,.0025rem)*300)}:host([size=lg]){--private-button-height:calc(var(--spacing,.0025rem)*1200);padding-left:calc(var(--spacing,.0025rem)*500);padding-right:calc(var(--spacing,.0025rem)*500)}:host([size=lg]):host([icon][icon-position=left]){padding-left:calc(var(--spacing,.0025rem)*400)}:host([size=lg]):host([icon][icon-position=right]){padding-right:calc(var(--spacing,.0025rem)*400)}:host([size=xl]){--private-button-height:calc(var(--spacing,.0025rem)*1300);padding-left:calc(var(--spacing,.0025rem)*600);padding-right:calc(var(--spacing,.0025rem)*600)}:host([size=xl]) .icon{height:calc(var(--spacing,.0025rem)*800);width:calc(var(--spacing,.0025rem)*800)}:host([size][icon][icon-position]:not([label])){aspect-ratio:1;padding:0}.label{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-action,.875rem);font-weight:var(--tw-font-weight,var(--text-size-title-action--font-weight,500));line-height:var(--tw-leading,var(--text-size-title-action--line-height,1.5rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-width:0}.label:where(input){text-box:normal}:host([size=lg]) .label{font-size:var(--text-size-title-h6,1rem);font-weight:var(--tw-font-weight,var(--text-size-title-h6--font-weight,700));letter-spacing:var(--tw-tracking,var(--text-size-title-h6--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h6--line-height,1.5rem));--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-wrap:balance}:host([size=xl]) .label{font-size:var(--text-size-title-h5,1.25rem);font-weight:var(--tw-font-weight,var(--text-size-title-h5--font-weight,900));letter-spacing:var(--tw-tracking,var(--text-size-title-h5--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h5--line-height,1.75rem));--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);text-wrap:balance}:host([truncate]) .label{overflow:hidden;text-overflow:ellipsis}:host([truncate=word]) .label{white-space:nowrap}:host([truncate=all]) .label{-webkit-line-clamp:var(--mds-button-line-clamp,1);line-clamp:var(--mds-button-line-clamp,1);-webkit-box-orient:vertical;display:-webkit-box}:host(:not([label])) .text,:host([label=""]) .text{display:none}:host([variant=ai]){--private-button-fill:var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245));--private-button-fill-hover:var(--magma-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242));--private-button-wash:var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253));--private-button-wash-hover:var(--magma-accent-ai-surface-hover,var(--variant-ai-08,219 205 252));--private-button-text-ink:var(--magma-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190));--private-button-text-wash:var(--magma-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254))}:host([tone=strong]:hover){--mds-button-background:rgb(var(--private-button-fill-hover));--mds-button-border-color-rgb:var(--private-button-fill-hover)}:host([tone=weak]){--mds-button-background:rgb(var(--private-button-wash));--mds-button-border-color-rgb:var(--private-button-wash);--mds-button-color:rgb(var(--private-button-ink));fill:rgb(var(--private-button-ink))}:host([tone=weak]:hover){--mds-button-background:rgb(var(--private-button-wash-hover));--mds-button-border-color-rgb:var(--private-button-wash-hover-ring);--mds-button-color:rgb(var(--private-button-ink-hover))}:host([tone=outline]){--mds-button-border-color-rgb:var(--private-button-outline);--mds-button-color:rgb(var(--private-button-outline-ink));--mds-button-border-opacity:var(--mds-button-border-tone-outline-opacity)}:host([tone=outline]:hover),:host([tone=text]){--mds-button-color:rgb(var(--private-button-text-ink))}:host([tone=text]:hover){--mds-button-background:rgb(var(--private-button-text-wash));--mds-button-color:rgb(var(--private-button-text-ink-hover))}:host([tone=text][active]){--mds-button-color:rgb(var(--private-button-text-ink-active))}:host([variant=error]),:host([variant=info]),:host([variant=success]),:host([variant=warning]){--private-button-text-ink-hover:var(--private-button-ink-hover);--private-button-text-ink-active:var(--private-button-ink-hover)}:host([variant=info]){--private-button-fill:var(--magma-info-emphasis,var(--status-info-04,0 119 164));--private-button-fill-hover:var(--magma-info-emphasis-hover,var(--status-info-03,0 94 137));--private-button-on-fill:var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-info-wash-base,var(--status-info-09,193 230 246));--private-button-wash-hover:var(--magma-info-wash-strong,var(--status-info-08,168 219 242));--private-button-ink:var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137));--private-button-ink-hover:var(--magma-info-text-default,var(--text-info-default,0 45 86));--private-button-text-ink:var(--magma-info-text-muted,var(--text-info-muted,0 71 114));--private-button-text-wash:var(--magma-info-wash-soft,var(--status-info-10,220 240 250))}:host([variant=success]){--private-button-fill:var(--magma-success-emphasis,var(--status-success-04,0 128 57));--private-button-fill-hover:var(--magma-success-emphasis-hover,var(--status-success-03,0 102 32));--private-button-on-fill:var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-success-wash-base,var(--status-success-09,191 233 205));--private-button-wash-hover:var(--magma-success-wash-strong,var(--status-success-08,165 225 186));--private-button-ink:var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32));--private-button-ink-hover:var(--magma-success-text-default,var(--text-success-default,0 53 0));--private-button-text-ink:var(--magma-success-text-muted,var(--text-success-muted,0 80 7));--private-button-text-wash:var(--magma-success-wash-soft,var(--status-success-10,220 243 227))}:host([variant=warning]){--private-button-fill:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0));--private-button-fill-hover:var(--magma-warning-emphasis-hover,var(--status-warning-03,113 85 0));--private-button-on-fill:var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-warning-wash-base,var(--status-warning-09,255 220 117));--private-button-wash-hover:var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57));--private-button-ink:var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0));--private-button-ink-hover:var(--magma-warning-text-default,var(--text-warning-default,58 44 0));--private-button-text-ink:var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0));--private-button-text-wash:var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181))}:host([variant=error]){--private-button-fill:var(--magma-danger-emphasis,var(--status-error-04,196 64 65));--private-button-fill-hover:var(--magma-danger-emphasis-hover,var(--status-error-03,165 33 40));--private-button-on-fill:var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-danger-wash-base,var(--status-error-09,255 214 211));--private-button-wash-hover:var(--magma-danger-wash-strong,var(--status-error-08,254 198 194));--private-button-ink:var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40));--private-button-ink-hover:var(--magma-danger-text-default,var(--text-error-default,89 0 0));--private-button-text-ink:var(--magma-danger-text-muted,var(--text-error-muted,132 0 11));--private-button-text-wash:var(--magma-danger-wash-soft,var(--status-error-10,255 232 230))}:host([variant=light]){--private-button-fill:var(--tone-neutral-seed,255 255 255);--private-button-fill-hover:var(--private-button-fill);--private-button-on-fill:var(--magma-text-muted,var(--text-neutral-muted,73 73 73));--private-button-wash:var(--private-button-fill);--private-button-wash-hover:var(--private-button-fill);--private-button-ink:var(--private-button-on-fill);--private-button-ink-hover:var(--magma-text-default,var(--text-neutral-default,5 5 5));--private-button-outline:var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-outline-ink:var(--private-button-outline);--private-button-text-ink:var(--private-button-outline);--private-button-text-ink-hover:var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255));--private-button-text-wash:var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73))}:host([variant=dark]){--private-button-fill:var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42));--private-button-fill-hover:var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73));--private-button-on-fill:var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-wash-strong,var(--tone-neutral-08,208 208 208));--private-button-wash-hover:var(--private-button-wash);--private-button-wash-hover-ring:var(--magma-border-strong,var(--border-neutral-strong,140 140 140));--private-button-ink:var(--magma-text-default,var(--text-neutral-default,5 5 5));--private-button-outline-ink:var(--magma-text-muted,var(--text-neutral-muted,73 73 73));--private-button-text-ink:var(--private-button-ink);--private-button-text-ink-hover:var(--private-button-ink);--private-button-text-wash:var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))}:host([variant=google]),:host([variant=google][tone]){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-hover-opacity:.5;--mds-button-border-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.2;--mds-button-border-width:calc(var(--spacing,.0025rem)*25);--mds-button-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-button-border-color-rgb:var(--magma-text-default,var(--text-neutral-default,5 5 5));--private-button-ink:var(--magma-text-muted,var(--text-neutral-muted,73 73 73));box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))/var(--mds-button-border-opacity,0))}:host([variant=google]:hover),:host([variant=google][tone]:hover){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-width:var(--mds-button-border-hover-width);--mds-button-border-opacity:var(--mds-button-border-hover-opacity,.75)}:host([variant=apple]) .icon{transform:translateY(-5%)}:host([variant=apple]),:host([variant=apple][tone]){--mds-button-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-button-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-button-border-width:0;--mds-button-border-color-rgb:var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42));--private-button-ink:var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))}:host([variant=apple]:hover),:host([variant=apple][tone]:hover){--mds-button-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-button-border-opacity:1}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=google]),:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=google][tone]){--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.3}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=google]:hover),:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=google][tone]:hover){--mds-button-border-opacity:.5}:host([tone=outline]),:host([tone=text]){--mds-button-background:#0000}:host([tone=box]),:host([tone=strong]),:host([tone=weak]){--mds-button-border-default-opacity:1;--mds-button-border-width:0;--mds-button-border-opacity:var(--mds-button-border-default-opacity,0)}:host([tone=strong]:hover),:host([tone=strong][active]){--mds-button-border-width:var(--mds-button-border-tone-strong-hover-width,calc(var(--spacing,.0025rem)*50))}:host([tone=weak]:hover),:host([tone=weak][active]){--mds-button-border-width:var(--mds-button-border-tone-weak-hover-width,calc(var(--spacing,.0025rem)*50))}:host([tone=outline]:hover),:host([tone=outline][active]){--mds-button-background:#0000;--mds-button-border-width:var(--mds-button-border-tone-outline-hover-width,calc(var(--spacing,.0025rem)*75));--mds-button-border-opacity:var(--mds-button-border-hover-opacity,.75)}:host([tone=box]){box-shadow:var(--shadow-box-solid-strong,#0006 0 2px 4px,#0000004d 0 7px 13px -3px,#00000059 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset);transition-property:background-color,border-color,box-shadow,color,outline,filter,outline-offset,transform}:host([tone=box]):host(:hover){filter:brightness(1.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-button-transition-duration:0s}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=google]),:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=google][tone]){--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.3}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=google]:hover),:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=google][tone]:hover){--mds-button-border-opacity:.5}}@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-button-transition-duration:0s}}'};var MdsButton=/** @class */function(){function t(t){var a=this;registerInstance(this,t);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}this.km=new KeyboardManager;
1
+ var __awaiter=this&&this.__awaiter||function(t,a,r,e){function n(t){return t instanceof r?t:new r((function(a){a(t)}))}return new(r||(r=Promise))((function(r,i){function o(t){try{u(e.next(t))}catch(t){i(t)}}function s(t){try{u(e["throw"](t))}catch(t){i(t)}}function u(t){t.done?r(t.value):n(t.value).then(o,s)}u((e=e.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},e,n,i,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=s(0),o["throw"]=s(1),o["return"]=s(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(a){return u([t,a])}}function u(s){if(e)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(r=0)),r)try{if(e=1,n&&(i=s[0]&2?n["return"]:s[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;if(n=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){r.label=s[1];break}if(s[0]===6&&r.label<i[1]){r.label=i[1];i=s;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(s);break}if(i[2])r.ops.pop();r.trys.pop();continue}s=a.call(t,r)}catch(t){s=[6,t];n=0}finally{e=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,a,r){if(r||arguments.length===2)for(var e=0,n=a.length,i;e<n;e++){if(i||!(e in a)){if(!i)i=Array.prototype.slice.call(a,0,e);i[e]=a[e]}}return t.concat(i||Array.prototype.slice.call(a))};import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{K as KeyboardManager}from"./keyboard-manager-CGrPq3C4.js";import{c as currentOf,u as unslugName,s as setAttributeIfEmpty}from"./aria-DwKxtKwS.js";import{a as isIconFormatIsBase64,i as isIconFormatIsSVG,B as BASE64_SVG_ICON}from"./icon-B7RVWU-q.js";import{r as readSlottedLabel,s as sanitizeLabel}from"./slot-AEckDMXh.js";import{p as preferenceStore}from"./preference-C8foBO86.js";import{r as requestSubmitAs}from"./form-wI0alRSO.js";import{N as NavigationService}from"./navigation-Bz1eiKqd.js";import{IconsSetService}from"./index.js";var buttonSizeTypographyVariant={sm:"action",md:"action",lg:"h6",xl:"h5"};var mdiApple='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple" viewBox="0 0 24 24"><path d="M18.71,19.5C17.88,20.74 17,21.95 15.66,21.97C14.32,22 13.89,21.18 12.37,21.18C10.84,21.18 10.37,21.95 9.1,22C7.79,22.05 6.8,20.68 5.96,19.47C4.25,17 2.94,12.45 4.7,9.39C5.57,7.87 7.13,6.91 8.82,6.88C10.1,6.86 11.32,7.75 12.11,7.75C12.89,7.75 14.37,6.68 15.92,6.84C16.57,6.87 18.39,7.1 19.56,8.82C19.47,8.88 17.39,10.1 17.41,12.63C17.44,15.65 20.06,16.66 20.09,16.67C20.06,16.74 19.67,18.11 18.71,19.5M13,3.5C13.73,2.67 14.94,2.04 15.94,2C16.07,3.17 15.6,4.35 14.9,5.19C14.21,6.04 13.07,6.7 11.95,6.61C11.8,5.46 12.36,4.26 13,3.5Z" /></svg>';var logoGoogle='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" xmlnsXlink="http://www.w3.org/1999/xlink"><path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"></path><path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"></path><path fill="#FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"></path><path fill="#34A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"></path><path fill="none" d="M0 0h48v48H0z"></path></svg>\n';var mdsButtonCss=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-font-weight: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-spinner,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-button-await-duration:.725s;--mds-button-transition-duration:var(--duration-300,.3s);--private-button-transition-duration:var(--mds-button-transition-duration);--mds-button-border-hover-opacity:.75;--mds-button-border-tone-outline-hover-width:calc(var(--spacing,.0025rem)*75);--mds-button-border-tone-outline-opacity:.3;--mds-button-border-tone-strong-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-tone-weak-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-default-opacity:0;--mds-button-border-opacity:0;--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-gap:calc(var(--spacing,.0025rem)*200);--mds-button-line-clamp:1;--mds-button-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-button-height));--private-button-height:calc(var(--spacing,.0025rem)*900);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));background-color:var(--mds-button-background,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));border-radius:var(--mds-button-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))/var(--mds-button-border-opacity,0));box-sizing:border-box;color:var(--mds-button-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;corner-shape:var(--mds-button-corner-shape,var(--magma-corner-shape,squircle));align-items:center;align-self:flex-start;cursor:pointer;display:inline-flex;fill:currentColor;gap:var(--mds-button-gap,calc(var(--spacing,.0025rem)*200));justify-content:center;justify-self:flex-start;min-height:var(--private-button-height);min-width:var(--private-button-height);padding:0 calc(var(--spacing,.0025rem)*400);position:relative;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,box-shadow,color,outline,outline-offset,transform;transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));-webkit-user-select:none;user-select:none;--private-button-fill:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231));--private-button-fill-hover:var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204));--private-button-on-fill:var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-accent-surface,var(--variant-primary-09,220 224 231));--private-button-wash-hover:var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226));--private-button-wash-hover-ring:var(--private-button-wash-hover);--private-button-ink:var(--private-button-fill-hover);--private-button-ink-hover:var(--private-button-ink);--private-button-outline:var(--private-button-fill);--private-button-outline-ink:var(--private-button-ink);--private-button-text-ink:var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163));--private-button-text-ink-hover:var(--private-button-fill);--private-button-text-wash:var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240));--private-button-text-ink-active:var(--private-button-text-ink);--private-button-current-wash:var(--magma-accent-surface-selected,var(--variant-primary-10,236 237 240));--mds-button-background:rgb(var(--private-button-fill));--mds-button-border-color-rgb:var(--private-button-fill);--mds-button-color:rgb(var(--private-button-on-fill))}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running;z-index:10}.link{border-radius:inherit;corner-shape:inherit;inset:0;outline:none;position:absolute;z-index:1}.text{--mds-text-line-clamp:var(--mds-button-line-clamp,1)}.text:first-letter{text-transform:var(--mds-button-label-transform,uppercase)}.icon{align-items:center;display:inline-flex;fill:inherit;flex-shrink:0;justify-content:center;pointer-events:none;transition-property:fill;transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955))}.await,.icon{transition-duration:var(--private-button-transition-duration)}.await{display:none;margin-right:calc(calc(-1 * var(--mds-button-gap,calc(var(--spacing,.0025rem) * 200))) - calc(var(--spacing,.0025rem) * 600));transform:scale(0);transition-behavior:allow-discrete;transition-property:display,margin-right,opacity,transform,width;transition-timing-function:var(--ease-in-out-quad,cubic-bezier(.455,.03,.515,.955))}.await,.spinner{height:calc(var(--spacing,.0025rem)*600);width:calc(var(--spacing,.0025rem)*600)}.spinner{--mds-spinner-duration:var(--mds-button-await-duration,.725s);color:currentColor}:is(:host(:not([await])),:host([await=false])) .spinner{transition-duration:var(--duration-200,.2s);transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94))}:host([await]:not([await=false])) .await{display:flex;margin-right:0;opacity:1;transform:scale(1)}@starting-style{:host([await]:not([await=false])) .await{margin-right:calc(calc(-1 * var(--mds-button-gap,calc(var(--spacing,.0025rem) * 200))) - calc(var(--spacing,.0025rem) * 600));opacity:0;transform:scale(0)}}:host([await]:not([await=false])){pointer-events:none}:host([icon]:not([label])[await]:not([await=false])) .icon{display:none}:host(:disabled:not([disabled=false])),:host([disabled]:not([disabled=false])){opacity:.5;pointer-events:none}:host([size=sm]){--mds-button-radius:min(var(--magma-radius-md,var(--radius-squircle-md,20px)),var(--magma-corner-cap,.5) * var(--private-button-height));--private-button-height:calc(var(--spacing,.0025rem)*700);padding:0 calc(var(--spacing,.0025rem)*300)}:host([size=sm]) .icon{height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}:host([size=sm]):host([await]:not([await=false])) .await{transform:scale(.75)}:host([size=md]){--private-button-height:calc(var(--spacing,.0025rem)*900);padding-left:calc(var(--spacing,.0025rem)*400);padding-right:calc(var(--spacing,.0025rem)*400)}:host([size=md]):host([icon][icon-position=left]){padding-left:calc(var(--spacing,.0025rem)*300)}:host([size=md]):host([icon][icon-position=right]){padding-right:calc(var(--spacing,.0025rem)*300)}:host([size=lg]){--private-button-height:calc(var(--spacing,.0025rem)*1200);padding-left:calc(var(--spacing,.0025rem)*500);padding-right:calc(var(--spacing,.0025rem)*500)}:host([size=lg]):host([icon][icon-position=left]){padding-left:calc(var(--spacing,.0025rem)*400)}:host([size=lg]):host([icon][icon-position=right]){padding-right:calc(var(--spacing,.0025rem)*400)}:host([size=xl]){--private-button-height:calc(var(--spacing,.0025rem)*1300);padding-left:calc(var(--spacing,.0025rem)*600);padding-right:calc(var(--spacing,.0025rem)*600)}:host([size=xl]) .icon{height:calc(var(--spacing,.0025rem)*800);width:calc(var(--spacing,.0025rem)*800)}:host([size][icon][icon-position]:not([label])){aspect-ratio:1;padding:0}.label{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-title-action,.875rem);font-weight:var(--tw-font-weight,var(--text-size-title-action--font-weight,500));line-height:var(--tw-leading,var(--text-size-title-action--line-height,1.5rem));min-height:auto;text-box:trim-both text;--tw-font-weight:var(--font-weight-medium,500);font-weight:var(--font-weight-medium,500);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-width:0}.label:where(input){text-box:normal}:host([size=lg]) .label{font-size:var(--text-size-title-h6,1rem);font-weight:var(--tw-font-weight,var(--text-size-title-h6--font-weight,700));letter-spacing:var(--tw-tracking,var(--text-size-title-h6--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h6--line-height,1.5rem));--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-wrap:balance}:host([size=xl]) .label{font-size:var(--text-size-title-h5,1.25rem);font-weight:var(--tw-font-weight,var(--text-size-title-h5--font-weight,900));letter-spacing:var(--tw-tracking,var(--text-size-title-h5--letter-spacing,-.025em));line-height:var(--tw-leading,var(--text-size-title-h5--line-height,1.75rem));--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900);text-wrap:balance}:host([truncate]) .label{overflow:hidden;text-overflow:ellipsis}:host([truncate=word]) .label{white-space:nowrap}:host([truncate=all]) .label{-webkit-line-clamp:var(--mds-button-line-clamp,1);line-clamp:var(--mds-button-line-clamp,1);-webkit-box-orient:vertical;display:-webkit-box}:host(:not([label])) .text,:host([label=""]) .text{display:none}:host([variant=ai]){--private-button-fill:var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245));--private-button-fill-hover:var(--magma-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242));--private-button-wash:var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253));--private-button-wash-hover:var(--magma-accent-ai-surface-hover,var(--variant-ai-08,219 205 252));--private-button-text-ink:var(--magma-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190));--private-button-text-wash:var(--magma-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254));--private-button-current-wash:var(--magma-accent-ai-surface-selected,var(--variant-ai-10,240 234 254))}:host([tone=strong]:hover){--mds-button-background:rgb(var(--private-button-fill-hover));--mds-button-border-color-rgb:var(--private-button-fill-hover)}:host([tone=weak]){--mds-button-background:rgb(var(--private-button-wash));--mds-button-border-color-rgb:var(--private-button-wash);--mds-button-color:rgb(var(--private-button-ink));fill:rgb(var(--private-button-ink))}:host([tone=weak]:hover){--mds-button-background:rgb(var(--private-button-wash-hover));--mds-button-border-color-rgb:var(--private-button-wash-hover-ring);--mds-button-color:rgb(var(--private-button-ink-hover))}:host([tone=outline]){--mds-button-border-color-rgb:var(--private-button-outline);--mds-button-color:rgb(var(--private-button-outline-ink));--mds-button-border-opacity:var(--mds-button-border-tone-outline-opacity)}:host([tone=outline]:hover),:host([tone=text]){--mds-button-color:rgb(var(--private-button-text-ink))}:host([tone=text]:hover){--mds-button-background:rgb(var(--private-button-text-wash));--mds-button-color:rgb(var(--private-button-text-ink-hover))}:host([tone=text][active]){--mds-button-color:rgb(var(--private-button-text-ink-active))}:host([variant=error]),:host([variant=info]),:host([variant=success]),:host([variant=warning]){--private-button-text-ink-hover:var(--private-button-ink-hover);--private-button-text-ink-active:var(--private-button-ink-hover)}:host([variant=info]){--private-button-fill:var(--magma-info-emphasis,var(--status-info-04,0 119 164));--private-button-fill-hover:var(--magma-info-emphasis-hover,var(--status-info-03,0 94 137));--private-button-on-fill:var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-info-wash-base,var(--status-info-09,193 230 246));--private-button-current-wash:var(--magma-info-wash-soft,var(--status-info-10,220 240 250));--private-button-wash-hover:var(--magma-info-wash-strong,var(--status-info-08,168 219 242));--private-button-ink:var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137));--private-button-ink-hover:var(--magma-info-text-default,var(--text-info-default,0 45 86));--private-button-text-ink:var(--magma-info-text-muted,var(--text-info-muted,0 71 114));--private-button-text-wash:var(--magma-info-wash-soft,var(--status-info-10,220 240 250))}:host([variant=success]){--private-button-fill:var(--magma-success-emphasis,var(--status-success-04,0 128 57));--private-button-fill-hover:var(--magma-success-emphasis-hover,var(--status-success-03,0 102 32));--private-button-on-fill:var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-success-wash-base,var(--status-success-09,191 233 205));--private-button-current-wash:var(--magma-success-wash-soft,var(--status-success-10,220 243 227));--private-button-wash-hover:var(--magma-success-wash-strong,var(--status-success-08,165 225 186));--private-button-ink:var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32));--private-button-ink-hover:var(--magma-success-text-default,var(--text-success-default,0 53 0));--private-button-text-ink:var(--magma-success-text-muted,var(--text-success-muted,0 80 7));--private-button-text-wash:var(--magma-success-wash-soft,var(--status-success-10,220 243 227))}:host([variant=warning]){--private-button-fill:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0));--private-button-fill-hover:var(--magma-warning-emphasis-hover,var(--status-warning-03,113 85 0));--private-button-on-fill:var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-warning-wash-base,var(--status-warning-09,255 220 117));--private-button-current-wash:var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181));--private-button-wash-hover:var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57));--private-button-ink:var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0));--private-button-ink-hover:var(--magma-warning-text-default,var(--text-warning-default,58 44 0));--private-button-text-ink:var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0));--private-button-text-wash:var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181))}:host([variant=error]){--private-button-fill:var(--magma-danger-emphasis,var(--status-error-04,196 64 65));--private-button-fill-hover:var(--magma-danger-emphasis-hover,var(--status-error-03,165 33 40));--private-button-on-fill:var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-danger-wash-base,var(--status-error-09,255 214 211));--private-button-current-wash:var(--magma-danger-wash-soft,var(--status-error-10,255 232 230));--private-button-wash-hover:var(--magma-danger-wash-strong,var(--status-error-08,254 198 194));--private-button-ink:var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40));--private-button-ink-hover:var(--magma-danger-text-default,var(--text-error-default,89 0 0));--private-button-text-ink:var(--magma-danger-text-muted,var(--text-error-muted,132 0 11));--private-button-text-wash:var(--magma-danger-wash-soft,var(--status-error-10,255 232 230))}:host([variant=light]){--private-button-fill:var(--tone-neutral-seed,255 255 255);--private-button-fill-hover:var(--private-button-fill);--private-button-on-fill:var(--magma-text-muted,var(--text-neutral-muted,73 73 73));--private-button-wash:var(--private-button-fill);--private-button-wash-hover:var(--private-button-fill);--private-button-ink:var(--private-button-on-fill);--private-button-ink-hover:var(--magma-text-default,var(--text-neutral-default,5 5 5));--private-button-outline:var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255));--private-button-outline-ink:var(--private-button-outline);--private-button-text-ink:var(--private-button-outline);--private-button-text-ink-hover:var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255));--private-button-text-wash:var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73));--private-button-current-wash:var(--private-button-wash)}:host([variant=dark]){--private-button-fill:var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42));--private-button-fill-hover:var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73));--private-button-on-fill:var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255));--private-button-wash:var(--magma-wash-strong,var(--tone-neutral-08,208 208 208));--private-button-wash-hover:var(--private-button-wash);--private-button-wash-hover-ring:var(--magma-border-strong,var(--border-neutral-strong,140 140 140));--private-button-ink:var(--magma-text-default,var(--text-neutral-default,5 5 5));--private-button-outline-ink:var(--magma-text-muted,var(--text-neutral-muted,73 73 73));--private-button-text-ink:var(--private-button-ink);--private-button-text-ink-hover:var(--private-button-ink);--private-button-text-wash:var(--magma-wash-soft,var(--tone-neutral-10,237 237 237));--private-button-current-wash:var(--private-button-wash)}:host([variant=google]),:host([variant=google][tone]){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-hover-opacity:.5;--mds-button-border-hover-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.2;--mds-button-border-width:calc(var(--spacing,.0025rem)*25);--mds-button-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-button-border-color-rgb:var(--magma-text-default,var(--text-neutral-default,5 5 5));--private-button-ink:var(--magma-text-muted,var(--text-neutral-muted,73 73 73));box-shadow:0 0 0 var(--mds-button-border-width,calc(var(--spacing,.0025rem)*50)) rgb(var(--mds-button-border-color-rgb,var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))/var(--mds-button-border-opacity,0))}:host([variant=google]:hover),:host([variant=google][tone]:hover){--mds-button-background:rgb(var(--tone-neutral-seed,255 255 255));--mds-button-border-width:var(--mds-button-border-hover-width);--mds-button-border-opacity:var(--mds-button-border-hover-opacity,.75)}:host([variant=apple]) .icon{transform:translateY(-5%)}:host([variant=apple]),:host([variant=apple][tone]){--mds-button-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-button-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-button-border-width:0;--mds-button-border-color-rgb:var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42));--private-button-ink:var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))}:host([variant=apple]:hover),:host([variant=apple][tone]:hover){--mds-button-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-button-border-opacity:1}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=google]){--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.3}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=google]:hover){--mds-button-border-opacity:.5}:host([tone=outline]),:host([tone=text]){--mds-button-background:#0000}:host([tone=box]),:host([tone=strong]),:host([tone=weak]){--mds-button-border-default-opacity:1;--mds-button-border-width:0;--mds-button-border-opacity:var(--mds-button-border-default-opacity,0)}:host([tone=strong]:hover),:host([tone=strong][active]){--mds-button-border-width:var(--mds-button-border-tone-strong-hover-width,calc(var(--spacing,.0025rem)*50))}:host([tone=weak]:hover),:host([tone=weak][active]){--mds-button-border-width:var(--mds-button-border-tone-weak-hover-width,calc(var(--spacing,.0025rem)*50))}:host([tone=outline]:hover),:host([tone=outline][active]){--mds-button-background:#0000;--mds-button-border-width:var(--mds-button-border-tone-outline-hover-width,calc(var(--spacing,.0025rem)*75));--mds-button-border-opacity:var(--mds-button-border-hover-opacity,.75)}:host([tone=box]){box-shadow:var(--shadow-box-solid-strong,#0006 0 2px 4px,#0000004d 0 7px 13px -3px,#00000059 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset);transition-property:background-color,border-color,box-shadow,color,outline,filter,outline-offset,transform}:host([tone=box]):host(:hover){filter:brightness(1.1)}:host([current]:not([current=false],[current=section])){cursor:default;pointer-events:none}:host([current]:not([current=false])[tone=box]),:host([current]:not([current=false])[tone=strong]){--mds-button-background:rgb(var(--private-button-fill));--mds-button-border-color-rgb:var(--private-button-fill);--mds-button-border-width:0;filter:none}:host([current]:not([current=false])[tone=weak]){--mds-button-background:rgb(var(--private-button-current-wash));--mds-button-border-color-rgb:var(--private-button-current-wash);--mds-button-border-width:0;--mds-button-color:rgb(var(--private-button-ink));fill:rgb(var(--private-button-ink))}:host([current]:not([current=false])[tone=outline]){--mds-button-background:rgb(var(--private-button-text-wash));--mds-button-border-opacity:var(--mds-button-border-tone-outline-opacity);--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-color:rgb(var(--private-button-outline-ink))}:host([current]:not([current=false])[tone=text]){--mds-button-background:rgb(var(--private-button-text-wash));--mds-button-color:rgb(var(--private-button-text-ink))}:host([current]:not([current=false])) .text{--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700)}:host([current]:not([current=false])[size=lg]) .text{--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900)}:host([current]:not([current=false])) .icon:not(.current){display:none}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-button-transition-duration:0s}@property --tw-font-weight{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=google]){--mds-button-border-width:calc(var(--spacing,.0025rem)*50);--mds-button-border-opacity:.3}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=google]:hover){--mds-button-border-opacity:.5}}@media (hover:hover){:host(:hover:not([current]:not([current=false]))) .icon:not(.hover),:host(:not(:hover,[current]:not([current=false]))) .icon:not(.rest){display:none}}@media (hover:none){:host(:not([current]:not([current=false]))) .icon:not(.rest){display:none}}@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-button-transition-duration:0s}}'};var MdsButton=/** @class */function(){function t(t){var a=this;registerInstance(this,t);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}this.km=new KeyboardManager;
2
2
  // the spinner is rendered from the first time the button awaits, and then kept: it slides out
3
3
  // when the button stops awaiting
4
4
  this.hasAwaited=false;
5
5
  // whether the title on the host is the one the button took from its icon slug
6
6
  this.iconTitle=false;
7
+ // whether the aria-current on the host is the one the button wrote from current
8
+ this.ownAriaCurrent=false;
7
9
  /**
8
10
  * Specifies if the text is animated when it is rendered
9
11
  */this.animation="none";
@@ -30,12 +32,21 @@ this.iconTitle=false;
30
32
  */this.truncate="word";
31
33
  /**
32
34
  * Enter, and Space unless the button is a link, click the button as the pointer does: never
33
- * while it is disabled or awaiting. A busy button keeps the focus it had, but a second Enter
34
- * does not submit again.
35
- */this.syncClickBehavior=function(){if(a.disabled||a.await){a.km.detachClickBehavior();return}a.km.attachClickBehavior("element",{space:!a.isLink()})};
36
- // an awaiting button takes no pointer, but the click of a script or of an assistive
37
- // technology still reaches it: it must not submit the form a second time
38
- this.handleRequestSubmitForm=function(t){t.preventDefault();if(a.await)return;if(a.internals.form)requestSubmitAs(a.internals.form,a.name,a.value)};this.handleReset=function(t){var e;t.preventDefault();if(a.await)return;(e=a.internals.form)===null||e===void 0?void 0:e.reset()};this.mouseDown=function(){a.active=true};this.mouseUp=function(){a.active=false};this.isLink=function(){var t;return((t=a.href)!==null&&t!==void 0?t:"")!==""};
35
+ * while it is disabled or awaiting, nor on the view you are in. A busy button keeps the focus
36
+ * it had, but a second Enter does not submit again.
37
+ */this.syncClickBehavior=function(){if(a.disabled||a.await||a.isCurrentView()){a.km.detachClickBehavior();return}a.km.attachClickBehavior("element",{space:!a.isLink()})};
38
+ /**
39
+ * The current button tells the assistive technology where you are, as the paginator and the
40
+ * breadcrumb do: `page` for the link to the page you are on, `true` for a view that is not a
41
+ * page of its own and for a section you are inside of (#1264). An aria-current the author
42
+ * wrote, `step` or `date` say, is theirs and stays.
43
+ */this.syncAriaCurrent=function(){if(a.host.hasAttribute("aria-current")&&!a.ownAriaCurrent)return;var t=currentOf(a.current);if(!t){if(a.ownAriaCurrent)a.host.removeAttribute("aria-current");a.ownAriaCurrent=false;return}a.host.setAttribute("aria-current",t==="page"&&a.isLink()?"page":"true");a.ownAriaCurrent=true};
44
+ // an awaiting button, and the one of the view you are in, take no pointer, but the click of a
45
+ // script or of an assistive technology still reaches them: it must not submit the form
46
+ this.handleRequestSubmitForm=function(t){t.preventDefault();if(a.await||a.isCurrentView())return;if(a.internals.form)requestSubmitAs(a.internals.form,a.name,a.value)};this.handleReset=function(t){var r;t.preventDefault();if(a.await||a.isCurrentView())return;(r=a.internals.form)===null||r===void 0?void 0:r.reset()};this.mouseDown=function(){a.active=true};this.mouseUp=function(){a.active=false};this.isLink=function(){var t;return((t=a.href)!==null&&t!==void 0?t:"")!==""};
47
+ // the button of the view you are in does nothing: going there again would only reload it. A
48
+ // section you are inside of stays a link back to it (#1264)
49
+ this.isCurrentView=function(){return currentOf(a.current)==="page"};
39
50
  // a link the browser opens in a new tab or window: asked by the button, or by the user
40
51
  this.opensElsewhere=function(t){return a.target==="blank"||t.ctrlKey||t.metaKey||t.shiftKey};
41
52
  /**
@@ -47,7 +58,9 @@ this.opensElsewhere=function(t){return a.target==="blank"||t.ctrlKey||t.metaKey|
47
58
  * technology: the host follows the link as the anchor would, once every listener on the page
48
59
  * had its say. The timeout is what lets a listener added after this one, or delegated to the
49
60
  * document by a framework, cancel the navigation: a microtask could run between two listeners.
50
- */this.handleLinkClick=function(t){var e;if(!a.isLink()||a.disabled||a.await)return;var r=(e=a.href)!==null&&e!==void 0?e:"";if(a.anchor&&t.composedPath().includes(a.anchor)){if(a.opensElsewhere(t)||!NavigationService.canHandle(r,t))return;t.preventDefault();a.route(r,t);return}setTimeout((function(){if(!t.defaultPrevented)a.follow(t)}))};this.follow=function(t){var e;if(typeof window==="undefined")return;var r=(e=a.href)!==null&&e!==void 0?e:"";if(a.opensElsewhere(t)){window.open(r,"_blank");return}if(NavigationService.canHandle(r,t)){a.route(r,t);return}window.location.assign(r)};
61
+ */this.handleLinkClick=function(t){var r;if(!a.isLink()||a.disabled||a.await)return;if(a.isCurrentView()){
62
+ // the anchor takes no pointer then (mds-button-current.css): this is the click of a script
63
+ t.preventDefault();return}var e=(r=a.href)!==null&&r!==void 0?r:"";if(a.anchor&&t.composedPath().includes(a.anchor)){if(a.opensElsewhere(t)||!NavigationService.canHandle(e,t))return;t.preventDefault();a.route(e,t);return}setTimeout((function(){if(!t.defaultPrevented)a.follow(t)}))};this.follow=function(t){var r;if(typeof window==="undefined")return;var e=(r=a.href)!==null&&r!==void 0?r:"";if(a.opensElsewhere(t)){window.open(e,"_blank");return}if(NavigationService.canHandle(e,t)){a.route(e,t);return}window.location.assign(e)};
51
64
  // the registered router renders the route; a link it declines is loaded as the browser would
52
65
  this.route=function(t,a){if(!NavigationService.handle(t,a))window.location.assign(t)};
53
66
  // the host is the only tab stop: a click still focuses the anchor, which hands the focus back
@@ -60,31 +73,40 @@ this.focusHost=function(){a.host.focus()};
60
73
  */this.syncIconName=function(){var t;if(a.host.hasAttribute("aria-labelledby")){if(a.iconTitle)a.host.removeAttribute("title");a.iconTitle=false;return}if(a.iconTitle||((t=a.label)!==null&&t!==void 0?t:"")!==""||!a.icon)return;
61
74
  // an icon given as markup has no slug to take a name from: whoever renders it names the
62
75
  // button (#937)
63
- if(isIconFormatIsBase64(a.icon)||isIconFormatIsSVG(a.icon))return;if(a.host.hasAttribute("aria-label")||a.host.hasAttribute("title"))return;a.host.setAttribute("title",unslugName(a.icon));a.iconTitle=true};this.onSlotChangeHandler=function(){var t;
76
+ if(isIconFormatIsBase64(a.icon)||isIconFormatIsSVG(a.icon))return;if(a.host.hasAttribute("aria-label")||a.host.hasAttribute("title"))return;a.host.setAttribute("title",unslugName(a.icon));a.iconTitle=true};
77
+ /**
78
+ * The icons of the button, one for each icon it shows: at rest `icon`, on the current button
79
+ * `iconCurrent`, under the pointer `iconHover`, which falls back on `iconCurrent` (#1264). Each
80
+ * carries the states it is the icon of, and the stylesheet hides the others
81
+ * (mds-button-icon-state.css): all of them are rendered, so an icon is fetched with the button
82
+ * and not the first time its state comes, blank until it arrives. Without `icon` there is
83
+ * none: the room of the icon is the one `icon` gives (mds-button-size.css), and an icon that
84
+ * came only in a state would move the label.
85
+ */this.renderIcons=function(){var t;var r=(t=a.icon)!==null&&t!==void 0?t:"";if(r==="")return null;var e=a.iconCurrent||r;var n=[["rest",r],["current",e],["hover",a.iconHover||e]];var i=new Map;n.forEach((function(t){var a=t[0],r=t[1];var e;return i.set(r,__spreadArray(__spreadArray([],(e=i.get(r))!==null&&e!==void 0?e:[],true),[a],false))}));return Array.from(i,(function(t){var a=t[0],r=t[1];return h("mds-icon",{"aria-hidden":"true",class:"icon ".concat(r.join(" ")),key:a,name:a,part:"icon"})}))};this.onSlotChangeHandler=function(){var t;
64
86
  /* this should be removed in the future once slotted text is no longer used, use the label property instead */if(((t=a.label)!==null&&t!==void 0?t:"")!=="")return;a.label=readSlottedLabel(a.host)}}t.prototype.disabledChanged=function(t){this.syncClickBehavior();if(t)return;
65
87
  /**
66
88
  * When the component is disabled="false" it won't work with onClick events
67
89
  * since formAssociated where added to it.
68
90
  * https://github.com/ionic-team/stencil/issues/5461
69
- */this.disabled=undefined};t.prototype.labelChanged=function(t){this.label=sanitizeLabel(t)};t.prototype.awaitChanged=function(t){this.host.setAttribute("aria-busy",(!!t).toString());if(t===false)this.await=undefined;this.syncClickBehavior()};t.prototype.handleTypeChange=function(t){
91
+ */this.disabled=undefined};t.prototype.labelChanged=function(t){this.label=sanitizeLabel(t)};t.prototype.awaitChanged=function(t){this.host.setAttribute("aria-busy",(!!t).toString());if(t===false)this.await=undefined;this.syncClickBehavior()};t.prototype.currentChanged=function(){this.syncClickBehavior();this.syncAriaCurrent()};t.prototype.handleTypeChange=function(t){
70
92
  // If not participating we don't do anything
71
93
  if(!this.internals.form)return;if(t==="submit"){this.host.removeEventListener("click",this.handleReset);this.host.addEventListener("click",this.handleRequestSubmitForm)}else if(t==="reset"){this.host.removeEventListener("click",this.handleRequestSubmitForm);this.host.addEventListener("click",this.handleReset)}else{this.host.removeEventListener("click",this.handleRequestSubmitForm);this.host.removeEventListener("click",this.handleReset)}};
72
94
  // the role tells the assistive technology what the host is; one set by the caller
73
95
  // (mds-tab-item names its button a tab) is theirs and stays
74
- t.prototype.handleHrefChange=function(){var t;var a=this.host.getAttribute("role");if(a===null||a==="button"||a==="link"){this.host.setAttribute("role",this.isLink()?"link":"button")}this.handleTypeChange(this.isLink()?"link":(t=this.type)!==null&&t!==void 0?t:"");this.syncClickBehavior()};t.prototype.handleVariantChange=function(t){if(t==="google"){this.icon=logoGoogle;return}if(t==="apple"){this.icon=mdiApple;return}};t.prototype.componentWillLoad=function(){this.handleVariantChange(this.variant);if(this.isLink())return;if(this.internals.form){if(this.type==="submit"){this.host.addEventListener("click",this.handleRequestSubmitForm)}else if(this.type==="reset"){this.host.addEventListener("click",this.handleReset)}}};t.prototype.componentDidLoad=function(){this.km.addElement(this.host);this.syncClickBehavior();this.host.setAttribute("aria-busy",this.await?"true":"false");if(this.autoFocus){this.host.focus()}if(this.label===""){this.label=undefined}this.syncIconName();setAttributeIfEmpty(this.host,"role",this.isLink()?"link":"button")};
96
+ t.prototype.handleHrefChange=function(){var t;var a=this.host.getAttribute("role");if(a===null||a==="button"||a==="link"){this.host.setAttribute("role",this.isLink()?"link":"button")}this.handleTypeChange(this.isLink()?"link":(t=this.type)!==null&&t!==void 0?t:"");this.syncClickBehavior();this.syncAriaCurrent()};t.prototype.handleVariantChange=function(t){if(t==="google"){this.icon=logoGoogle;return}if(t==="apple"){this.icon=mdiApple;return}};t.prototype.componentWillLoad=function(){this.handleVariantChange(this.variant);if(this.isLink())return;if(this.internals.form){if(this.type==="submit"){this.host.addEventListener("click",this.handleRequestSubmitForm)}else if(this.type==="reset"){this.host.addEventListener("click",this.handleReset)}}};t.prototype.componentDidLoad=function(){this.km.addElement(this.host);this.syncClickBehavior();this.host.setAttribute("aria-busy",this.await?"true":"false");if(this.autoFocus){this.host.focus()}if(this.label===""){this.label=undefined}this.syncIconName();setAttributeIfEmpty(this.host,"role",this.isLink()?"link":"button");this.syncAriaCurrent()};
75
97
  // Stencil watches a native attribute too (it joins observedAttributes), the lint rule predates it
76
98
  // eslint-disable-next-line stencil/no-unused-watch
77
99
  t.prototype.handleAriaLabelledbyChange=function(){this.syncIconName()};
78
100
  // a button moved in the page is disconnected and connected again, without loading again
79
- t.prototype.connectedCallback=function(){if(!this.disabled)this.host.removeAttribute("disabled");this.syncClickBehavior()};t.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};t.prototype.render=function(){var t=this;var a;this.typography=(a=buttonSizeTypographyVariant[this.size])!==null&&a!==void 0?a:buttonSizeTypographyVariant.md;this.hasAwaited||(this.hasAwaited=!!this.await);var e=this.label||h("slot",{key:"120c97a64a4e076e702f01500b770be0451e9bfe",onSlotchange:this.onSlotChangeHandler});return h(Host,{key:"94245fe58a92d10b2fa6441571cce04816acd064",onClick:this.handleLinkClick,onMouseDown:this.mouseDown,onMouseUp:this.mouseUp,onMouseOut:this.mouseUp,tabindex:"0","pref-animation":preferenceStore.state.animation,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.isLink()&&
101
+ t.prototype.connectedCallback=function(){if(!this.disabled)this.host.removeAttribute("disabled");this.syncClickBehavior()};t.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};t.prototype.render=function(){var t=this;var a;this.typography=(a=buttonSizeTypographyVariant[this.size])!==null&&a!==void 0?a:buttonSizeTypographyVariant.md;this.hasAwaited||(this.hasAwaited=!!this.await);var r=this.label||h("slot",{key:"8f11a9221ab55ee59d82b44981d8d0f14df5f10c",onSlotchange:this.onSlotChangeHandler});return h(Host,{key:"c4561e04894cc86cab7c68076bd23b1eb20b8d93",onClick:this.handleLinkClick,onMouseDown:this.mouseDown,onMouseUp:this.mouseUp,onMouseOut:this.mouseUp,tabindex:"0","pref-animation":preferenceStore.state.animation,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.isLink()&&
80
102
  // the link under the pointer, over the whole button: the host keeps the focus, the
81
103
  // role and the name, so the anchor is out of the tab order and hidden from the
82
104
  // assistive technology
83
- h("a",{key:"b9d3fe23e9f7c477861f7101a0cdcb9d578e5423","aria-hidden":"true",class:"link",href:this.href,onFocus:this.focusHost,ref:function(a){return t.anchor=a},tabindex:"-1",target:this.target==="blank"?"_blank":undefined}),h("div",{key:"bf85804f1868ce4fd4b505af0ea14ad86eae5548",class:"await"},this.hasAwaited&&h("mds-spinner",{key:"186f4fad70548c06bfa2bd5c855bf9a7c8d69145",class:"spinner",running:this.await})),this.icon&&this.iconPosition==="left"&&h("mds-icon",{key:"951ba6977908bbec7d954d654413ca36b101d3b3","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}),this.animation==="yugop"?h("mds-text",{class:"text",part:"label",tag:"span",typography:this.typography,truncate:this.truncate,animation:this.animation,text:this.label},e):
105
+ h("a",{key:"de18eb7ca1dd87b03b9e9e1e3ec64bb8b0c17a24","aria-hidden":"true",class:"link",href:this.href,onFocus:this.focusHost,ref:function(a){return t.anchor=a},tabindex:"-1",target:this.target==="blank"?"_blank":undefined}),h("div",{key:"f0a92e4ad84dd3f1a32d68dbb84732a57fecff3c",class:"await"},this.hasAwaited&&h("mds-spinner",{key:"d0d8dcfcf5f07a0acc918f305c46e6a94c997e6e",class:"spinner",running:this.await})),this.iconPosition==="left"&&this.renderIcons(),this.animation==="yugop"?h("mds-text",{class:"text",part:"label",tag:"span",typography:this.typography,truncate:this.truncate,animation:this.animation,text:this.label},r):
84
106
  // a span of its own, not an mds-text: a nested component is one more to hydrate and
85
107
  // its whole stylesheet in every declarative shadow root (#831). Only the animated
86
108
  // label needs mds-text, which scrambles it
87
- h("span",{class:"text label",part:"label"},e),h("slot",{key:"15edf088a9c9f7d92295c16c3fb7e0d5e7bffe6f",name:"notification"}),this.icon&&this.iconPosition==="right"&&h("mds-icon",{key:"f0c5145f48b71299b2cb4f54bd0acd3e45f0133e","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:[{disabledChanged:0}],label:[{labelChanged:0}],await:[{awaitChanged:0}],type:[{handleTypeChange:0}],href:[{handleHrefChange:0}],variant:[{handleVariantChange:0}],"aria-labelledby":[{handleAriaLabelledbyChange:0}]}},enumerable:false,configurable:true});return t}();MdsButton.style=mdsButtonCss();var mdsIconCss=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{align-items:center;aspect-ratio:var(--aspect-square,1/1);display:inline-flex;justify-content:center;width:calc(var(--spacing,.0025rem)*600)}.icon{align-items:center;display:inline-flex;font-style:normal;justify-content:center;width:100%}.icon svg{height:auto;width:100%}"};var MdsIcon=/** @class */function(){function t(t){var a=this;registerInstance(this,t);
109
+ h("span",{class:"text label",part:"label"},r),h("slot",{key:"1e1d34d93b36b703884a8e8781d50fde3e0ca75a",name:"notification"}),this.iconPosition==="right"&&this.renderIcons())};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:[{disabledChanged:0}],label:[{labelChanged:0}],await:[{awaitChanged:0}],current:[{currentChanged:0}],type:[{handleTypeChange:0}],href:[{handleHrefChange:0}],variant:[{handleVariantChange:0}],"aria-labelledby":[{handleAriaLabelledbyChange:0}]}},enumerable:false,configurable:true});return t}();MdsButton.style=mdsButtonCss();var mdsIconCss=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{align-items:center;aspect-ratio:var(--aspect-square,1/1);display:inline-flex;justify-content:center;width:calc(var(--spacing,.0025rem)*600)}.icon{align-items:center;display:inline-flex;font-style:normal;justify-content:center;width:100%}.icon svg{height:auto;width:100%}"};var MdsIcon=/** @class */function(){function t(t){var a=this;registerInstance(this,t);
88
110
  // Each update supersedes the ones still loading: only the latest one sets the svg
89
111
  this.lastUpdate=0;this.wasDisconnected=false;this.onSvgPathUpdate=function(){a.updateIcon()};
90
112
  /**
@@ -97,9 +119,9 @@ if(this.wasDisconnected){this.wasDisconnected=false;this.updateIcon()}};t.protot
97
119
  /**
98
120
  * Set the path to the directory of svg files
99
121
  * @param svgPath path to the directory of svg files
100
- */t.prototype.setSvgPath=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){IconsSetService.setSvgPath(t);return[2/*return*/,Promise.resolve()]}))}))};t.prototype.updateIcon=function(){return __awaiter(this,void 0,void 0,(function(){var t,a,e;return __generator(this,(function(r){switch(r.label){case 0:a=++this.lastUpdate;
122
+ */t.prototype.setSvgPath=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){IconsSetService.setSvgPath(t);return[2/*return*/,Promise.resolve()]}))}))};t.prototype.updateIcon=function(){return __awaiter(this,void 0,void 0,(function(){var t,a,r;return __generator(this,(function(e){switch(e.label){case 0:a=++this.lastUpdate;
101
123
  // `name` is undefined (or null) at runtime when the attribute is missing or removed
102
- if(((t=this.name)!==null&&t!==void 0?t:"")===""){this.svgHTML="";return[2/*return*/,Promise.resolve()]}if(isIconFormatIsBase64(this.name)){this.svgHTML=this.convertBase64ToSvg();return[2/*return*/,Promise.resolve()]}if(isIconFormatIsSVG(this.name)){this.svgHTML=this.name;return[2/*return*/,Promise.resolve()]}return[4/*yield*/,IconsSetService.fetchSvg(this.name)];case 1:e=r.sent();if(a===this.lastUpdate){this.svgHTML=e}return[2/*return*/]}}))}))};t.prototype.render=function(){return h(Host,{key:"31f2603c7f65a99a6575f3a098b29c30d96814f4"},this.svgHTML&&h("i",{key:"50f0050345c919d23da626051b49ba96033f57cb","aria-hidden":"true",class:"icon",part:"svg",innerHTML:this.svgHTML}))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{name:[{updateIcon:0}]}},enumerable:false,configurable:true});return t}();MdsIcon.style=mdsIconCss();var awaitIcon='<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path opacity="0.25" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="currentColor" stroke-width="4"/>\n <path opacity="0.75" d="M10 2.2002C5.43552 3.12674 2 7.16224 2 12.0002C2 13.5118 2.3354 14.9451 2.93585 16.2297" stroke="currentColor" stroke-width="4" stroke-linecap="round"/>\n</svg>\n';var mdsSpinnerCss=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{--mds-spinner-duration:.725s;--private-spinner-duration:var(--mds-spinner-duration,.725s);--tw-ease:var(--ease-in-out-quart,cubic-bezier(.77,0,.175,1));align-items:center;color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));display:inline-flex;height:calc(var(--spacing,.0025rem)*1200);justify-content:center;opacity:0;overflow:hidden;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:opacity,transform;transition-timing-function:var(--ease-in-out-quart,cubic-bezier(.77,0,.175,1));width:calc(var(--spacing,.0025rem)*1200)}:host([running]){--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));opacity:1;transform:scale(1);transition-duration:var(--duration-700,.7s);transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.await-icon{animation:var(--animate-spin,spin 1s linear infinite);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));animation-duration:var(--private-spinner-duration);animation-play-state:paused;aspect-ratio:var(--aspect-square,1/1);display:flex;flex-shrink:0;stroke:currentColor;transition-duration:var(--duration-300,.3s);transition-property:stroke;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:100%}.await-icon svg{width:100%}:host([running]) .await-icon{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-spinner-duration:8s}:host([pref-contrast=more]){color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}: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}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(1turn)}}@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-spinner-duration:8s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}}'};var MdsSpinner=/** @class */function(){function t(t){registerInstance(this,t);
124
+ if(((t=this.name)!==null&&t!==void 0?t:"")===""){this.svgHTML="";return[2/*return*/,Promise.resolve()]}if(isIconFormatIsBase64(this.name)){this.svgHTML=this.convertBase64ToSvg();return[2/*return*/,Promise.resolve()]}if(isIconFormatIsSVG(this.name)){this.svgHTML=this.name;return[2/*return*/,Promise.resolve()]}return[4/*yield*/,IconsSetService.fetchSvg(this.name)];case 1:r=e.sent();if(a===this.lastUpdate){this.svgHTML=r}return[2/*return*/]}}))}))};t.prototype.render=function(){return h(Host,{key:"914582762cc5bc2f4337785619b67d6075239cdf"},this.svgHTML&&h("i",{key:"1b934b89e07ffd1f3535f6759119d588be04daf5","aria-hidden":"true",class:"icon",part:"svg",innerHTML:this.svgHTML}))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{name:[{updateIcon:0}]}},enumerable:false,configurable:true});return t}();MdsIcon.style=mdsIconCss();var awaitIcon='<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path opacity="0.25" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="currentColor" stroke-width="4"/>\n <path opacity="0.75" d="M10 2.2002C5.43552 3.12674 2 7.16224 2 12.0002C2 13.5118 2.3354 14.9451 2.93585 16.2297" stroke="currentColor" stroke-width="4" stroke-linecap="round"/>\n</svg>\n';var mdsSpinnerCss=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{--mds-spinner-duration:.725s;--private-spinner-duration:var(--mds-spinner-duration,.725s);--tw-ease:var(--ease-in-out-quart,cubic-bezier(.77,0,.175,1));align-items:center;color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));display:inline-flex;height:calc(var(--spacing,.0025rem)*1200);justify-content:center;opacity:0;overflow:hidden;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:opacity,transform;transition-timing-function:var(--ease-in-out-quart,cubic-bezier(.77,0,.175,1));width:calc(var(--spacing,.0025rem)*1200)}:host([running]){--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));opacity:1;transform:scale(1);transition-duration:var(--duration-700,.7s);transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.await-icon{animation:var(--animate-spin,spin 1s linear infinite);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));animation-duration:var(--private-spinner-duration);animation-play-state:paused;aspect-ratio:var(--aspect-square,1/1);display:flex;flex-shrink:0;stroke:currentColor;transition-duration:var(--duration-300,.3s);transition-property:stroke;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:100%}.await-icon svg{width:100%}:host([running]) .await-icon{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-spinner-duration:8s}:host([pref-contrast=more]){color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}: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}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(1turn)}}@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-spinner-duration:8s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}}'};var MdsSpinner=/** @class */function(){function t(t){registerInstance(this,t);
103
125
  /**
104
126
  * Specifies if the animation is running or not, it's required for performance reasons
105
- */this.running=false}t.prototype.handleRunning=function(t){if(t===false){this.running=undefined}};t.prototype.render=function(){return h(Host,{key:"4743a4d7be3f8e48cfa307e253f551dc0077d632","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast},h("i",{key:"f9455fa26ba96233d9c873c11811914283b3347a",class:"await-icon",innerHTML:awaitIcon}))};Object.defineProperty(t,"watchers",{get:function(){return{running:[{handleRunning:0}]}},enumerable:false,configurable:true});return t}();MdsSpinner.style=mdsSpinnerCss();export{MdsButton as mds_button,MdsIcon as mds_icon,MdsSpinner as mds_spinner};
127
+ */this.running=false}t.prototype.handleRunning=function(t){if(t===false){this.running=undefined}};t.prototype.render=function(){return h(Host,{key:"6b9e79f4cc1f86bbfcf2cd03c64c921f13f939e7","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast},h("i",{key:"8059d35d7d5b406b491c30beae224f078185dc06",class:"await-icon",innerHTML:awaitIcon}))};Object.defineProperty(t,"watchers",{get:function(){return{running:[{handleRunning:0}]}},enumerable:false,configurable:true});return t}();MdsSpinner.style=mdsSpinnerCss();export{MdsButton as mds_button,MdsIcon as mds_icon,MdsSpinner as mds_spinner};
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(e,a,r,t){function n(e){return e instanceof r?e:new r((function(a){a(e)}))}return new(r||(r=Promise))((function(r,i){function l(e){try{s(t.next(e))}catch(e){i(e)}}function o(e){try{s(t["throw"](e))}catch(e){i(e)}}function s(e){e.done?r(e.value):n(e.value).then(l,o)}s((t=t.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,n,i,l=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return l.next=o(0),l["throw"]=o(1),l["return"]=o(2),typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(e){return function(a){return s([e,a])}}function s(o){if(t)throw new TypeError("Generator is already executing.");while(l&&(l=0,o[0]&&(r=0)),r)try{if(t=1,n&&(i=o[0]&2?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;if(n=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;n=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){r.label=o[1];break}if(o[0]===6&&r.label<i[1]){r.label=i[1];i=o;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(o);break}if(i[2])r.ops.pop();r.trys.pop();continue}o=a.call(e,r)}catch(e){o=[6,e];n=0}finally{t=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[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{D as DateTime}from"./luxon-DbyXf6dF.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";import{s as sanitizeISO8601Date}from"./date-CACEYk42.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-B6cOkl4I.js";var miBaselineForwardIos='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.23 20.23L8 22l10-10L8 2L6.23 3.77L14.46 12z"/></svg>';var miBaselineBackIosNew='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.77 3.77L16 2L6 12l10 10l1.77-1.77L9.54 12z"/></svg>';var nextMonth$3="Επόμενος μήνας";var nextYears$3="Επόμενα έτη";var previousMonth$3="Προηγούμενος μήνας";var previousYears$3="Προηγούμενα έτη";var localeEl={nextMonth:nextMonth$3,nextYears:nextYears$3,previousMonth:previousMonth$3,previousYears:previousYears$3};var nextMonth$2="Next month";var nextYears$2="Next years";var previousMonth$2="Previous month";var previousYears$2="Previous years";var localeEn={nextMonth:nextMonth$2,nextYears:nextYears$2,previousMonth:previousMonth$2,previousYears:previousYears$2};var nextMonth$1="Mes siguiente";var nextYears$1="Años siguientes";var previousMonth$1="Mes anterior";var previousYears$1="Años anteriores";var localeEs={nextMonth:nextMonth$1,nextYears:nextYears$1,previousMonth:previousMonth$1,previousYears:previousYears$1};var nextMonth="Mese successivo";var nextYears="Anni successivi";var previousMonth="Mese precedente";var previousYears="Anni precedenti";var localeIt={nextMonth:nextMonth,nextYears:nextYears,previousMonth:previousMonth,previousYears:previousYears};var mdsCalendarCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar-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-calendar-day-number-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-calendar-cell-gap:calc(var(--spacing,.0025rem)*50);--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));--mds-calendar-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-calendar-padding:calc(var(--spacing,.0025rem)*400);--mds-calendar-select-month-or-year-height:calc(var(--spacing,.0025rem)*900);--mds-calendar-select-month-or-year-width:calc(var(--spacing,.0025rem)*5600);--mds-calendar-max-width:calc(var(--spacing,.0025rem)*12000);background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));corner-shape:var(--magma-corner-shape,squircle);cursor:auto;display:inline-flex;inline-size:100%;max-width:var(--mds-calendar-max-width,calc(var(--spacing,.0025rem)*12000));min-width:min-content;overflow:hidden}.calendar-view{background-color:var(--mds-calendar-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:inherit;box-sizing:border-box;corner-shape:inherit;display:grid;flex:auto;width:100%}.calendar-preselection,.calendar-view{padding:var(--mds-calendar-padding,calc(var(--spacing,.0025rem)*400))}.calendar-preselection{display:none;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content}.calendar-preselection--has-preselection{display:grid}nav{display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;min-width:0}.action{justify-content:left;min-width:min-content;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-back,.action-forward{flex-shrink:0}.select-month-or-year{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));border-radius:min(var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))),var(--magma-corner-cap,.5) * var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900)));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;flex:0 0 var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));justify-content:flex-start;max-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));min-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));overflow:hidden}.action-month,.action-year{--mds-button-radius:0;align-self:stretch;block-size:100%;box-sizing:border-box;cursor:default;height:100%;max-block-size:100%;max-height:100%;min-block-size:0;min-height:0;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-month{flex:auto;min-width:0}.action-year{flex:0 0 calc(var(--spacing,.0025rem)*1800)}.action-month::part(label),.action-year::part(label){overflow:visible;text-overflow:clip;white-space:nowrap}.week-day-name{align-items:center;block-size:calc(var(--spacing,.0025rem)*1200);inline-size:100%;min-height:auto;padding:0}.month-view__cells,.month-view__days-names{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(7,minmax(1px,100%));min-width:0}.month-view{display:grid}.month-view__month-names,.month-view__years{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(3,minmax(1px,100%));min-width:0}"};var MdsCalendar=/** @class */function(){function e(e){var a=this;registerInstance(this,e);this.datesEmitter=createEvent(this,"mdsCalendarChange",7);this.navigationEmitter=createEvent(this,"mdsCalendarNavigate",7);this.hoverEmitter=createEvent(this,"mdsCalendarHover",7);this.checkPreselectionsEmitter=createEvent(this,"mdsCalendarPreselect",7);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.hasPreselection=false;this.currentDate=DateTime.now();this.weekDaysinMonth=[];this.weekdays=[];this.startDateIdentifier=null;this.endDateIdentifier=null;this.isFirstClick=true;this.currentView="calendar";this.selectedYear=this.currentDate.year;
1
+ var __awaiter=this&&this.__awaiter||function(e,a,r,t){function n(e){return e instanceof r?e:new r((function(a){a(e)}))}return new(r||(r=Promise))((function(r,i){function l(e){try{s(t.next(e))}catch(e){i(e)}}function o(e){try{s(t["throw"](e))}catch(e){i(e)}}function s(e){e.done?r(e.value):n(e.value).then(l,o)}s((t=t.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,n,i,l=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return l.next=o(0),l["throw"]=o(1),l["return"]=o(2),typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(e){return function(a){return s([e,a])}}function s(o){if(t)throw new TypeError("Generator is already executing.");while(l&&(l=0,o[0]&&(r=0)),r)try{if(t=1,n&&(i=o[0]&2?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;if(n=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;n=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){r.label=o[1];break}if(o[0]===6&&r.label<i[1]){r.label=i[1];i=o;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(o);break}if(i[2])r.ops.pop();r.trys.pop();continue}o=a.call(e,r)}catch(e){o=[6,e];n=0}finally{t=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[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{D as DateTime}from"./luxon-DbyXf6dF.js";import{p as preferenceStore}from"./preference-C8foBO86.js";import{s as sanitizeISO8601Date}from"./date-CACEYk42.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-DhP1Ge2o.js";var miBaselineForwardIos='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.23 20.23L8 22l10-10L8 2L6.23 3.77L14.46 12z"/></svg>';var miBaselineBackIosNew='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.77 3.77L16 2L6 12l10 10l1.77-1.77L9.54 12z"/></svg>';var nextMonth$3="Επόμενος μήνας";var nextYears$3="Επόμενα έτη";var previousMonth$3="Προηγούμενος μήνας";var previousYears$3="Προηγούμενα έτη";var localeEl={nextMonth:nextMonth$3,nextYears:nextYears$3,previousMonth:previousMonth$3,previousYears:previousYears$3};var nextMonth$2="Next month";var nextYears$2="Next years";var previousMonth$2="Previous month";var previousYears$2="Previous years";var localeEn={nextMonth:nextMonth$2,nextYears:nextYears$2,previousMonth:previousMonth$2,previousYears:previousYears$2};var nextMonth$1="Mes siguiente";var nextYears$1="Años siguientes";var previousMonth$1="Mes anterior";var previousYears$1="Años anteriores";var localeEs={nextMonth:nextMonth$1,nextYears:nextYears$1,previousMonth:previousMonth$1,previousYears:previousYears$1};var nextMonth="Mese successivo";var nextYears="Anni successivi";var previousMonth="Mese precedente";var previousYears="Anni precedenti";var localeIt={nextMonth:nextMonth,nextYears:nextYears,previousMonth:previousMonth,previousYears:previousYears};var mdsCalendarCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar-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-calendar-day-number-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-calendar-cell-gap:calc(var(--spacing,.0025rem)*50);--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));--mds-calendar-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-calendar-padding:calc(var(--spacing,.0025rem)*400);--mds-calendar-select-month-or-year-height:calc(var(--spacing,.0025rem)*900);--mds-calendar-select-month-or-year-width:calc(var(--spacing,.0025rem)*5600);--mds-calendar-max-width:calc(var(--spacing,.0025rem)*12000);background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));corner-shape:var(--magma-corner-shape,squircle);cursor:auto;display:inline-flex;inline-size:100%;max-width:var(--mds-calendar-max-width,calc(var(--spacing,.0025rem)*12000));min-width:min-content;overflow:hidden}.calendar-view{background-color:var(--mds-calendar-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:inherit;box-sizing:border-box;corner-shape:inherit;display:grid;flex:auto;width:100%}.calendar-preselection,.calendar-view{padding:var(--mds-calendar-padding,calc(var(--spacing,.0025rem)*400))}.calendar-preselection{display:none;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content}.calendar-preselection--has-preselection{display:grid}nav{display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;min-width:0}.action{justify-content:left;min-width:min-content;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-back,.action-forward{flex-shrink:0}.select-month-or-year{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));border-radius:min(var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))),var(--magma-corner-cap,.5) * var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900)));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;flex:0 0 var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));justify-content:flex-start;max-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));min-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));overflow:hidden}.action-month,.action-year{--mds-button-radius:0;align-self:stretch;block-size:100%;box-sizing:border-box;cursor:default;height:100%;max-block-size:100%;max-height:100%;min-block-size:0;min-height:0;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-month{flex:auto;min-width:0}.action-year{flex:0 0 calc(var(--spacing,.0025rem)*1800)}.action-month::part(label),.action-year::part(label){overflow:visible;text-overflow:clip;white-space:nowrap}.week-day-name{align-items:center;block-size:calc(var(--spacing,.0025rem)*1200);inline-size:100%;min-height:auto;padding:0}.month-view__cells,.month-view__days-names{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(7,minmax(1px,100%));min-width:0}.month-view{display:grid}.month-view__month-names,.month-view__years{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(3,minmax(1px,100%));min-width:0}"};var MdsCalendar=/** @class */function(){function e(e){var a=this;registerInstance(this,e);this.datesEmitter=createEvent(this,"mdsCalendarChange",7);this.navigationEmitter=createEvent(this,"mdsCalendarNavigate",7);this.hoverEmitter=createEvent(this,"mdsCalendarHover",7);this.checkPreselectionsEmitter=createEvent(this,"mdsCalendarPreselect",7);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.hasPreselection=false;this.currentDate=DateTime.now();this.weekDaysinMonth=[];this.weekdays=[];this.startDateIdentifier=null;this.endDateIdentifier=null;this.isFirstClick=true;this.currentView="calendar";this.selectedYear=this.currentDate.year;
2
2
  /**
3
3
  * If set, the component selects a single date instead of a date range (start and end date).
4
4
  */this.singlePicker=false;
@@ -71,9 +71,9 @@ this.updatePreselection=function(){a.hasPreselection=hasChildWithSlot(a.host,"pr
71
71
  */e.prototype.resolveHoverDate=function(){if(this.hoverDate!==null&&this.hoverDate!==""){return this.hoverDate}return this.internalHoverDate};e.prototype.updateDates=function(){var e=this;this.updateCalendar().then((function(){requestAnimationFrame((function(){return e.setDates()}))}))};e.prototype.updateCalendar=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){try{e=this.currentDate.startOf("week");this.weekdays=Array.from({length:7}).map((function(a,r){return e.setLocale(preferenceStore.state.language).plus({days:r}).toFormat("ccc")}));this.calculateWeekDaysInMonth();this.currentMonth=this.currentDate.setLocale(preferenceStore.state.language).toFormat("MMMM");this.currentMonthNumber=this.currentDate.month;this.currentYear=this.currentDate.toFormat("yyyy")}catch(e){console.error("Error while updating the calendar:",e)}return[2/*return*/]}))}))};e.prototype.setDates=function(){var e=this.host;if(e==null)return;var a=e.shadowRoot;if(!a)return;var r=a.querySelectorAll("mds-calendar-cell[selection], mds-calendar-cell[preview]");if(!this.singlePicker){var t=this.resolveHoverDate();if(t!==null&&(this.internalEndDate===null||this.internalEndDate==="")){this.setHoverSelection(r,a,t)}else{this.setRangeSelection(r,a)}}else{this.setSingleSelection(r,a)}};e.prototype.clearSelectionState=function(e){e.forEach((function(e){e.removeAttribute("selection");e.removeAttribute("preview")}))};e.prototype.setRangeSelection=function(e,a){var r=this;this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=DateTime.fromISO(this.internalStartDate.toString());if(this.internalEndDate===null||this.internalEndDate===""){this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false;var t=a.querySelectorAll("mds-calendar-cell");t.forEach((function(e){if(e.getAttribute("date")===r.startDateTime.toFormat("yyyy-MM-dd")){e.setAttribute("selection","single");e.setAttribute("preview","true")}}));return}this.endDateTime=DateTime.fromISO(this.internalEndDate.toString());this.startDateIdentifier=this.startDateTime.toISODate();this.endDateIdentifier=this.endDateTime.toISODate();var n=a.querySelectorAll("mds-calendar-cell");if(n!=null){var i=void 0;for(var l=0;l<n.length;l++){var o=n[l].getAttribute("date");if(o!==null&&o!==""){var s=DateTime.fromISO(o);if(s.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){n[l].setAttribute("selection","start")}if(s.toFormat("yyyy-MM-dd")===this.endDateTime.toFormat("yyyy-MM-dd")){if(this.startDateTime.equals(this.endDateTime)){n[l].setAttribute("selection","single")}else{n[l].setAttribute("selection","end")}}i=s>this.startDateTime&&s<this.endDateTime;if(i){n[l].setAttribute("selection","middle")}}}}};e.prototype.setHoverSelection=function(e,a,r){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate===""){this.setRangeSelection(e,a);return}var t=DateTime.fromISO(this.internalStartDate);var n=DateTime.fromISO(r);if(!t.isValid||!n.isValid){this.setRangeSelection(e,a);return}var i=t<=n;var l=Array.from(a.querySelectorAll("mds-calendar-cell"));l.forEach((function(e){var a=e.getAttribute("date");if(a===null||a==="")return;var r=DateTime.fromISO(a);if(!r.isValid)return;var l=i?r>=t&&r<=n:r>=n&&r<=t;if(!l)return;e.setAttribute("preview","true");var o="middle";if(t.equals(n)&&r.equals(t)){o="single"}else if(r.equals(t)){o=i?"start":"end"}else if(r.equals(n)){o=i?"end":"start"}e.setAttribute("selection",o)}))};e.prototype.setSingleSelection=function(e,a){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=DateTime.fromISO(this.internalStartDate.toString());var r=a.querySelectorAll("mds-calendar-cell");if(r!=null){for(var t=0;t<r.length;t++){var n=r[t].getAttribute("date");if(n!==null&&n!==""){var i=DateTime.fromISO(n);if(i.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){r[t].setAttribute("selection","single")}}}}};e.prototype.changeMonth=function(e){var a=this;this.currentDate=this.currentDate.plus({months:e});this.updateCalendar().then((function(){requestAnimationFrame((function(){return a.setDates()}))}));this.navigationEmitter.emit({currentDate:this.currentDate.toISODate(),delta:e})};e.prototype.calculateWeekDaysInMonth=function(){var e=this.currentDate.startOf("month");var a=this.currentDate.endOf("month");var r=[];var t=e.weekday;var n=t-1;var i=e.minus({days:n});for(var l=i;l<e;l=l.plus({days:1})){r.push({date:l,isCurrentMonth:false})}for(var l=e;l<=a;l=l.plus({days:1})){r.push({date:l,isCurrentMonth:true})}var o=a.weekday;var s=7-o;var c=a.plus({days:1});for(var l=c;l<c.plus({days:s});l=l.plus({days:1})){r.push({date:l,isCurrentMonth:false})}this.weekDaysinMonth=r};e.prototype.handleRange=function(e,a){var r=this;if(!this.singlePicker&&(this.endDate===null||this.endDate==="")&&(this.internalEndDate===null||this.internalEndDate==="")&&this.isFirstClick){var t=this.parseDateProp(this.startDate||this.host.getAttribute("start-date"),"start-date");if(t!==null){this.internalStartDate=t;this.startDateTime=DateTime.fromISO(t);this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false}}var n=function(){r.internalStartDate=null;r.internalEndDate=null;r.startDateIdentifier=null;r.startDateTime=null;r.endDateIdentifier=null;r.endDateTime=null;r.isFirstClick=true;var e=r.host;requestAnimationFrame((function(){var a;(a=e===null||e===void 0?void 0:e.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection");e.removeAttribute("preview")}))}))};if(this.startDateIdentifier!==null&&this.startDateIdentifier!==""&&this.endDateIdentifier!==null&&this.endDateIdentifier!==""){n()}if(this.isFirstClick){this.startDateIdentifier=a.toISODate();this.startDateTime=a;this.internalStartDate=this.startDateTime.toISO().split("T")[0];this.isFirstClick=false;var i=this.host;requestAnimationFrame((function(){var e;(e=i===null||i===void 0?void 0:i.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection")}))}));requestAnimationFrame((function(){e.setAttribute("selection","single");e.setAttribute("preview","true")}));this.datesEmitter.emit({startDate:this.internalStartDate});return}if(this.startDateIdentifier!==null&&this.startDateIdentifier!==""&&DateTime.fromISO(this.startDateIdentifier)<DateTime.fromISO(e.getAttribute("date"))){this.endDateIdentifier=e.getAttribute("date");this.endDateTime=a;this.internalEndDate=this.endDateTime.toISO().split("T")[0]}else{this.endDateIdentifier=this.startDateIdentifier;this.endDateTime=this.startDateTime;this.internalEndDate=this.internalStartDate;this.startDateIdentifier=e.getAttribute("date");this.startDateTime=a;this.internalStartDate=this.startDateTime.toISO().split("T")[0]}
72
72
  // Redraw start, middle and end from the internal dates: a standalone calendar has no parent
73
73
  // echoing the range through start-date / end-date, so nothing else would mark the two ends.
74
- requestAnimationFrame((function(){return r.setDates()}));if(this.internalStartDate!==null&&this.internalStartDate!==""&&this.internalEndDate!==null&&this.internalEndDate!==""){this.datesEmitter.emit({startDate:this.internalStartDate,endDate:this.internalEndDate});this.checkPreselectionsEmitter.emit()}};e.prototype.handleSingleSelection=function(e,a){var r;var t=this.host;(r=t===null||t===void 0?void 0:t.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection")}));this.startDateIdentifier=e.getAttribute("date");this.startDateTime=a;this.internalStartDate=this.startDateTime.toISO().split("T")[0];this.isFirstClick=false;e.setAttribute("selection","single");if(this.internalStartDate!==null&&this.internalStartDate!==""){this.datesEmitter.emit({startDate:this.internalStartDate})}};e.prototype.isDateDisabled=function(e){if(this.min!==null&&this.min!==""&&e<DateTime.fromISO(this.min)){return true}if(this.max!==null&&this.max!==""&&e>DateTime.fromISO(this.max)){return true}return undefined};e.prototype.render=function(){var e=this;return h(Host,{key:"5ece6c00dd42e09020407a839a354c3076565a2f"},h("div",{key:"49f671efc9d432d9c4eb4d28f0c6b33b9873422d",class:clsx("calendar-preselection",this.hasPreselection&&!this.hidePreselection&&"calendar-preselection--has-preselection")},h("slot",{key:"c2a4f2f42dd5e56a5f8f91666d89cae614f56186",name:"preselection",onSlotchange:this.updatePreselection})),h("div",{key:"b6e9ad5d16530969414894ef8b2725d029bc3dff",class:"calendar-view"},h("nav",{key:"d1fb5573c5b47ce8ed9cb47f4ce728b89f87fd5e"},!this.hidePreviousButton&&h("mds-button",{key:"1e65631d9cb3757ee22a6b333828199bcf356d87","aria-label":this.t.get(this.currentView==="years"?"previousYears":"previousMonth"),class:"action-back",
74
+ requestAnimationFrame((function(){return r.setDates()}));if(this.internalStartDate!==null&&this.internalStartDate!==""&&this.internalEndDate!==null&&this.internalEndDate!==""){this.datesEmitter.emit({startDate:this.internalStartDate,endDate:this.internalEndDate});this.checkPreselectionsEmitter.emit()}};e.prototype.handleSingleSelection=function(e,a){var r;var t=this.host;(r=t===null||t===void 0?void 0:t.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection")}));this.startDateIdentifier=e.getAttribute("date");this.startDateTime=a;this.internalStartDate=this.startDateTime.toISO().split("T")[0];this.isFirstClick=false;e.setAttribute("selection","single");if(this.internalStartDate!==null&&this.internalStartDate!==""){this.datesEmitter.emit({startDate:this.internalStartDate})}};e.prototype.isDateDisabled=function(e){if(this.min!==null&&this.min!==""&&e<DateTime.fromISO(this.min)){return true}if(this.max!==null&&this.max!==""&&e>DateTime.fromISO(this.max)){return true}return undefined};e.prototype.render=function(){var e=this;return h(Host,{key:"7d364657953704cd8258a82b5e1719e767a083b9"},h("div",{key:"2835c4fce7b3f64b852aab31f5c272edb82f44da",class:clsx("calendar-preselection",this.hasPreselection&&!this.hidePreselection&&"calendar-preselection--has-preselection")},h("slot",{key:"cc5f37ca21c7da2af7235586d05fb72b0c42abf2",name:"preselection",onSlotchange:this.updatePreselection})),h("div",{key:"8dcaf0e0246f882a0a3ffa0edd95e8e7a3ef3a89",class:"calendar-view"},h("nav",{key:"c67cfa25cbae478fa2e0e2e28edfb941cba53d55"},!this.hidePreviousButton&&h("mds-button",{key:"82c8ae04096b358e3bfc9704d4ad829ef3b8d5ad","aria-label":this.t.get(this.currentView==="years"?"previousYears":"previousMonth"),class:"action-back",
75
75
  // the months view has nothing to move back or forward to
76
- disabled:this.currentView==="months",icon:miBaselineBackIosNew,variant:"dark",tone:"text",onClick:this.handlePrev}),h("div",{key:"01a1fc7f777d8dfa4ebac2ef9ed4a46bf7eb67b4",class:"select-month-or-year"},(this.currentView==="calendar"||this.currentView==="months")&&h("mds-button",{key:"c6fe68177bf27cb74a29d687df79a83403d48cb0",class:"action-month",truncate:"none",variant:"dark",tone:"text",label:this.currentMonth,onClick:this.handleMonthActionClick}),(this.currentView==="calendar"||this.currentView==="years")&&h("mds-button",{key:"4370a3e90fa6ecc64f3e6948690627f4271669b2",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),!this.hideNextButton&&h("mds-button",{key:"4cea0bf61baf52db367566835856d675a15cbc66","aria-label":this.t.get(this.currentView==="years"?"nextYears":"nextMonth"),class:"action-forward",disabled:this.currentView==="months",icon:miBaselineForwardIos,variant:"dark",tone:"text",onClick:this.handleNext})),this.currentView==="calendar"&&h("section",{key:"23bd1514cd3390ea62c773f0d93ef21002163827",class:"month-view"},h("header",{key:"4d87c57be1eb6f653889775a037947b4e54100fb",class:"month-view__days-names"},this.weekdays.map((function(e){return h("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:e})}))),h("div",{key:"dc486f4388d2c4052ee05150e9b5eab4c56d26e9",class:"month-view__cells"},this.weekDaysinMonth.map((function(a,r){return h("mds-calendar-cell",{key:r,today:!e.hideToday&&DateTime.now().toFormat("yyyy-MM-dd")===a.date.toFormat("yyyy-MM-dd"),date:a.date.toFormat("yyyy-MM-dd"),month:a.isCurrentMonth?"current":"other",disabled:e.isDateDisabled(a.date),onClick:e.handleCellClick(a.date),title:a.date.setLocale(preferenceStore.state.language).toFormat("cccc d LLLL").replace(/^./,(function(e){return e.toUpperCase()})),label:a.date.toFormat("dd")})})))),this.currentView==="months"&&h("section",{key:"f48bd4d763824ae2becb1f377e51ae9c71454301",class:"month-selection"},h("header",{key:"34cd5dd481b16891bb7987f2b2a5a145636658ea",class:"month-view__month-names"},Array.from({length:12}).map((function(a,r){var t=DateTime.local().set({month:r+1}).setLocale(preferenceStore.state.language).toFormat("MMMM");return h("mds-button",{class:"action",variant:"dark",tone:"text",label:t,onClick:e.handleMonthSelect(r+1)})})))),this.currentView==="years"&&h("section",{key:"f9df821453277ca1e20fe56bb8533768b68e62b0",class:"year-selection"},h("header",{key:"4aa693be77a139bfd8bedf79b0516b17763937ce",class:"month-view__years"},Array.from({length:12}).map((function(a,r){var t=e.selectedYear+r;return h("mds-button",{class:"action",variant:"dark",tone:"text",label:"".concat(t),onClick:e.handleYearSelect(t)})}))))))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{startDate:[{handleStartDate:0}],endDate:[{handleEndDate:0}],viewDate:[{handleViewDate:0}],hoverDate:[{handleHoverDate:0}]}},enumerable:false,configurable:true});return e}();MdsCalendar.style=mdsCalendarCss();var mdsCalendarCellCss=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{--private-calendar-cell-background:var(--mds-calendar-cell-background,#0000);--private-calendar-cell-boundaries-padding:var(--mds-calendar-cell-boundaries-padding,calc(var(--spacing,.0025rem)*100));--private-calendar-cell-color:var(--mds-calendar-cell-color,var(--mds-calendar-day-number-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));--private-calendar-cell-other-month-background:var(--mds-calendar-cell-other-month-background,#0000);--private-calendar-cell-other-month-color:var(--mds-calendar-cell-other-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-disabled-background:var(--mds-calendar-cell-disabled-background,#0000);--private-calendar-cell-disabled-color:var(--mds-calendar-cell-disabled-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-weekend-background:var(--mds-calendar-cell-weekend-background,#0000);--private-calendar-cell-weekend-color:var(--mds-calendar-cell-weekend-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--private-calendar-cell-selection-boundaries-border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-calendar-cell-selection-week-boundaries-border-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-calendar-cell-preselection-today-background:var(--mds-calendar-cell-preselection-today-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));--private-calendar-cell-preselection-today-color:var(--mds-calendar-cell-preselection-today-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));--private-calendar-cell-preselection-current-month-background:var(--mds-calendar-cell-preselection-current-month-background,rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226))));--private-calendar-cell-preselection-current-month-color:var(--mds-calendar-cell-preselection-current-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-current-month-boundaries-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-current-month-boundaries-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--private-calendar-cell-preselection-other-month-background:var(--mds-calendar-cell-preselection-other-month-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));--private-calendar-cell-preselection-other-month-color:var(--mds-calendar-cell-preselection-other-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-other-month-boundaries-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-other-month-boundaries-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--private-calendar-cell-selection-current-month-background:var(--mds-calendar-cell-selection-current-month-background,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--private-calendar-cell-selection-current-month-color:var(--mds-calendar-cell-selection-current-month-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--private-calendar-cell-selection-current-month-boundaries-background:var(--mds-calendar-cell-selection-current-month-boundaries-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--private-calendar-cell-selection-current-month-boundaries-color:var(--mds-calendar-cell-selection-current-month-boundaries-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--private-calendar-cell-selection-current-month-weekend-background:var(--mds-calendar-cell-selection-current-month-weekend-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-calendar-cell-selection-current-month-weekend-color:var(--mds-calendar-cell-selection-current-month-weekend-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--private-calendar-cell-selection-current-month-weekend-boundaries-background:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-calendar-cell-selection-current-month-weekend-boundaries-color:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--private-calendar-cell-selection-other-month-background:var(--mds-calendar-cell-selection-other-month-background,rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226))));--private-calendar-cell-selection-other-month-color:var(--mds-calendar-cell-selection-other-month-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--private-calendar-cell-selection-other-month-boundaries-background:var(--mds-calendar-cell-selection-other-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--private-calendar-cell-selection-other-month-boundaries-color:var(--mds-calendar-cell-selection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:center;aspect-ratio:1;display:flex;justify-content:center;padding:var(--private-calendar-cell-boundaries-padding);position:relative}:host([month=other]){visibility:var(--mds-calendar-cell-other-month-visibility,hidden)}.inner-dot{aspect-ratio:1;background-color:var(--private-calendar-cell-inner-background);border-radius:var(--private-calendar-cell-selection-boundaries-border-radius);display:flex;min-height:0;min-width:0;width:100%;z-index:1}.area-background{background-color:var(--private-calendar-cell-background);inset:0;position:absolute;z-index:0}.action,.area-background{color:var(--private-calendar-cell-color)}.action{align-items:center;background-color:#0000;border-radius:0;display:flex;inset:calc(var(--mds-calendar-cell-gap)*-1);justify-content:center;min-height:0;min-width:0;padding:0;place-self:stretch stretch;position:absolute;width:auto;z-index:2}:host([selection]:not(:where([selection=none]))[orientation=horizontal]) .area-background{margin-left:calc(var(--mds-calendar-cell-gap)*-1);margin-right:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=horizontal]) .area-background{border-bottom-left-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-left-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-left:0}:host([selection=end][orientation=horizontal]) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-right:0}:host([selection]:not(:where([selection=none]))[orientation=vertical]) .area-background{margin-bottom:calc(var(--mds-calendar-cell-gap)*-1);margin-top:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=vertical]) .area-background{border-radius:var(--private-calendar-cell-selection-boundaries-border-radius) var(--private-calendar-cell-selection-boundaries-border-radius) 0 0;margin-top:0}:host([selection=end][orientation=vertical]) .area-background{border-radius:0 0 var(--private-calendar-cell-selection-boundaries-border-radius) var(--private-calendar-cell-selection-boundaries-border-radius);margin-bottom:0}:host([orientation=vertical]:not([selection=start],[selection=end])) .area-background{border-radius:0}:host(:nth-child(7n-6)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n-6)) .area-background{border-bottom-left-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius);border-top-left-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius)}:host(:nth-child(7n)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius)}:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius)}:host([selection]:not(:where([selection=none]))[orientation=horizontal]:nth-child(7n-6)) .area-background{margin-left:0}:host([selection]:not(:where([selection=none]))[orientation=horizontal]:nth-child(7n)) .area-background{margin-right:0}:host([selection=single][orientation=horizontal]) .area-background{border-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-left:0;margin-right:0}:host(:nth-child(7n)),:host(:nth-child(7n-1)){--private-calendar-cell-color:var(--private-calendar-cell-weekend-color);--private-calendar-cell-background:var(--private-calendar-cell-weekend-background)}:host([month=other]:not([selection]:not(:where([selection=none])))){--private-calendar-cell-color:var(--private-calendar-cell-other-month-color);--private-calendar-cell-background:var(--private-calendar-cell-other-month-background)}:host([disabled]){--private-calendar-cell-color:var(--private-calendar-cell-disabled-color);--private-calendar-cell-background:var(--private-calendar-cell-disabled-background);cursor:auto;pointer-events:none}:host(:not([selection]:not(:where([selection=none])))[today]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-today-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-today-color)}:host([selection]:not(:where([selection=none]))[month=current]){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-color)}:host([selection]:not(:where([selection=none]))[month=current]:nth-child(7n)),:host([selection]:not(:where([selection=none]))[month=current]:nth-child(7n-1)){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-weekend-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-weekend-color)}:host([selection=end][month=current]:nth-child(7n)),:host([selection=end][month=current]:nth-child(7n-1)),:host([selection=start][month=current]:nth-child(7n)),:host([selection=start][month=current]:nth-child(7n-1)){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-weekend-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-weekend-boundaries-color)}:host([selection]:not(:where([selection=none]))[month=other]){--private-calendar-cell-background:var(--private-calendar-cell-selection-other-month-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-other-month-color)}:host([selection=end][month=current]),:host([selection=start][month=current]){--private-calendar-cell-inner-background:var(--private-calendar-cell-selection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-boundaries-color)}:host([selection=end][month=other]),:host([selection=start][month=other]){--private-calendar-cell-inner-background:var(--private-calendar-cell-selection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-other-month-boundaries-color)}:host([selection]:not(:where([selection=none]))[month=current][preview]:not([preview=false])){--private-calendar-cell-background:var(--private-calendar-cell-preselection-current-month-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-color)}:host([selection]:not(:where([selection=none]))[month=other][preview]:not([preview=false])){--private-calendar-cell-background:var(--private-calendar-cell-preselection-other-month-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-color)}:host([selection=end][month=current][preview]:not([preview=false])),:host([selection=start][month=current][preview]:not([preview=false])){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-boundaries-color)}:host([selection=end][month=other][preview]:not([preview=false])),:host([selection=start][month=other][preview]:not([preview=false])){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-boundaries-color)}:host([selection=single][month=current]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-boundaries-color)}:host([selection=single][month=other]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-boundaries-color)}"};var MdsCalendarCell=/** @class */function(){function e(e){registerInstance(this,e);
76
+ disabled:this.currentView==="months",icon:miBaselineBackIosNew,variant:"dark",tone:"text",onClick:this.handlePrev}),h("div",{key:"0409951f53f9e5c028c7e8267f04b2a456df2111",class:"select-month-or-year"},(this.currentView==="calendar"||this.currentView==="months")&&h("mds-button",{key:"2f7afe0273e28d2f4ebfabc71024e37b96ad8e5f",class:"action-month",truncate:"none",variant:"dark",tone:"text",label:this.currentMonth,onClick:this.handleMonthActionClick}),(this.currentView==="calendar"||this.currentView==="years")&&h("mds-button",{key:"3a233fb788358b65b1c59a5ede0b38b9b1ab8fc8",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),!this.hideNextButton&&h("mds-button",{key:"a7597ce596f7c6d39faa821895db02c1b9d345ba","aria-label":this.t.get(this.currentView==="years"?"nextYears":"nextMonth"),class:"action-forward",disabled:this.currentView==="months",icon:miBaselineForwardIos,variant:"dark",tone:"text",onClick:this.handleNext})),this.currentView==="calendar"&&h("section",{key:"94c96f546d3e4f31b16e0fea9dedc583ce99dab3",class:"month-view"},h("header",{key:"1f25122100daaa1b27cf8b458519da726c4ea5a3",class:"month-view__days-names"},this.weekdays.map((function(e){return h("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:e})}))),h("div",{key:"d8992b68d6219ff53540cc662c6f90f44b0d2520",class:"month-view__cells"},this.weekDaysinMonth.map((function(a,r){return h("mds-calendar-cell",{key:r,today:!e.hideToday&&DateTime.now().toFormat("yyyy-MM-dd")===a.date.toFormat("yyyy-MM-dd"),date:a.date.toFormat("yyyy-MM-dd"),month:a.isCurrentMonth?"current":"other",disabled:e.isDateDisabled(a.date),onClick:e.handleCellClick(a.date),title:a.date.setLocale(preferenceStore.state.language).toFormat("cccc d LLLL").replace(/^./,(function(e){return e.toUpperCase()})),label:a.date.toFormat("dd")})})))),this.currentView==="months"&&h("section",{key:"240b9a51a80acf35c531727fe0a964b545f847e7",class:"month-selection"},h("header",{key:"765d49c4f4c27a5cb254625cc598d7a43b22cdde",class:"month-view__month-names"},Array.from({length:12}).map((function(a,r){var t=DateTime.local().set({month:r+1}).setLocale(preferenceStore.state.language).toFormat("MMMM");return h("mds-button",{class:"action",variant:"dark",tone:"text",label:t,onClick:e.handleMonthSelect(r+1)})})))),this.currentView==="years"&&h("section",{key:"f15302a959313e70f7a956985356b7dbc4db60f5",class:"year-selection"},h("header",{key:"1a090fb50734801ace2815129c436dd9920eea43",class:"month-view__years"},Array.from({length:12}).map((function(a,r){var t=e.selectedYear+r;return h("mds-button",{class:"action",variant:"dark",tone:"text",label:"".concat(t),onClick:e.handleYearSelect(t)})}))))))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{startDate:[{handleStartDate:0}],endDate:[{handleEndDate:0}],viewDate:[{handleViewDate:0}],hoverDate:[{handleHoverDate:0}]}},enumerable:false,configurable:true});return e}();MdsCalendar.style=mdsCalendarCss();var mdsCalendarCellCss=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{--private-calendar-cell-background:var(--mds-calendar-cell-background,#0000);--private-calendar-cell-boundaries-padding:var(--mds-calendar-cell-boundaries-padding,calc(var(--spacing,.0025rem)*100));--private-calendar-cell-color:var(--mds-calendar-cell-color,var(--mds-calendar-day-number-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));--private-calendar-cell-other-month-background:var(--mds-calendar-cell-other-month-background,#0000);--private-calendar-cell-other-month-color:var(--mds-calendar-cell-other-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-disabled-background:var(--mds-calendar-cell-disabled-background,#0000);--private-calendar-cell-disabled-color:var(--mds-calendar-cell-disabled-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-weekend-background:var(--mds-calendar-cell-weekend-background,#0000);--private-calendar-cell-weekend-color:var(--mds-calendar-cell-weekend-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--private-calendar-cell-selection-boundaries-border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-calendar-cell-selection-week-boundaries-border-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-calendar-cell-preselection-today-background:var(--mds-calendar-cell-preselection-today-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));--private-calendar-cell-preselection-today-color:var(--mds-calendar-cell-preselection-today-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));--private-calendar-cell-preselection-current-month-background:var(--mds-calendar-cell-preselection-current-month-background,rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226))));--private-calendar-cell-preselection-current-month-color:var(--mds-calendar-cell-preselection-current-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-current-month-boundaries-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-current-month-boundaries-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--private-calendar-cell-preselection-other-month-background:var(--mds-calendar-cell-preselection-other-month-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));--private-calendar-cell-preselection-other-month-color:var(--mds-calendar-cell-preselection-other-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-other-month-boundaries-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-other-month-boundaries-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--private-calendar-cell-selection-current-month-background:var(--mds-calendar-cell-selection-current-month-background,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--private-calendar-cell-selection-current-month-color:var(--mds-calendar-cell-selection-current-month-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--private-calendar-cell-selection-current-month-boundaries-background:var(--mds-calendar-cell-selection-current-month-boundaries-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--private-calendar-cell-selection-current-month-boundaries-color:var(--mds-calendar-cell-selection-current-month-boundaries-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--private-calendar-cell-selection-current-month-weekend-background:var(--mds-calendar-cell-selection-current-month-weekend-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-calendar-cell-selection-current-month-weekend-color:var(--mds-calendar-cell-selection-current-month-weekend-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--private-calendar-cell-selection-current-month-weekend-boundaries-background:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-calendar-cell-selection-current-month-weekend-boundaries-color:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--private-calendar-cell-selection-other-month-background:var(--mds-calendar-cell-selection-other-month-background,rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226))));--private-calendar-cell-selection-other-month-color:var(--mds-calendar-cell-selection-other-month-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--private-calendar-cell-selection-other-month-boundaries-background:var(--mds-calendar-cell-selection-other-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--private-calendar-cell-selection-other-month-boundaries-color:var(--mds-calendar-cell-selection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:center;aspect-ratio:1;display:flex;justify-content:center;padding:var(--private-calendar-cell-boundaries-padding);position:relative}:host([month=other]){visibility:var(--mds-calendar-cell-other-month-visibility,hidden)}.inner-dot{aspect-ratio:1;background-color:var(--private-calendar-cell-inner-background);border-radius:var(--private-calendar-cell-selection-boundaries-border-radius);display:flex;min-height:0;min-width:0;width:100%;z-index:1}.area-background{background-color:var(--private-calendar-cell-background);inset:0;position:absolute;z-index:0}.action,.area-background{color:var(--private-calendar-cell-color)}.action{align-items:center;background-color:#0000;border-radius:0;display:flex;inset:calc(var(--mds-calendar-cell-gap)*-1);justify-content:center;min-height:0;min-width:0;padding:0;place-self:stretch stretch;position:absolute;width:auto;z-index:2}:host([selection]:not(:where([selection=none]))[orientation=horizontal]) .area-background{margin-left:calc(var(--mds-calendar-cell-gap)*-1);margin-right:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=horizontal]) .area-background{border-bottom-left-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-left-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-left:0}:host([selection=end][orientation=horizontal]) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-right:0}:host([selection]:not(:where([selection=none]))[orientation=vertical]) .area-background{margin-bottom:calc(var(--mds-calendar-cell-gap)*-1);margin-top:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=vertical]) .area-background{border-radius:var(--private-calendar-cell-selection-boundaries-border-radius) var(--private-calendar-cell-selection-boundaries-border-radius) 0 0;margin-top:0}:host([selection=end][orientation=vertical]) .area-background{border-radius:0 0 var(--private-calendar-cell-selection-boundaries-border-radius) var(--private-calendar-cell-selection-boundaries-border-radius);margin-bottom:0}:host([orientation=vertical]:not([selection=start],[selection=end])) .area-background{border-radius:0}:host(:nth-child(7n-6)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n-6)) .area-background{border-bottom-left-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius);border-top-left-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius)}:host(:nth-child(7n)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius)}:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius)}:host([selection]:not(:where([selection=none]))[orientation=horizontal]:nth-child(7n-6)) .area-background{margin-left:0}:host([selection]:not(:where([selection=none]))[orientation=horizontal]:nth-child(7n)) .area-background{margin-right:0}:host([selection=single][orientation=horizontal]) .area-background{border-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-left:0;margin-right:0}:host(:nth-child(7n)),:host(:nth-child(7n-1)){--private-calendar-cell-color:var(--private-calendar-cell-weekend-color);--private-calendar-cell-background:var(--private-calendar-cell-weekend-background)}:host([month=other]:not([selection]:not(:where([selection=none])))){--private-calendar-cell-color:var(--private-calendar-cell-other-month-color);--private-calendar-cell-background:var(--private-calendar-cell-other-month-background)}:host([disabled]){--private-calendar-cell-color:var(--private-calendar-cell-disabled-color);--private-calendar-cell-background:var(--private-calendar-cell-disabled-background);cursor:auto;pointer-events:none}:host(:not([selection]:not(:where([selection=none])))[today]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-today-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-today-color)}:host([selection]:not(:where([selection=none]))[month=current]){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-color)}:host([selection]:not(:where([selection=none]))[month=current]:nth-child(7n)),:host([selection]:not(:where([selection=none]))[month=current]:nth-child(7n-1)){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-weekend-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-weekend-color)}:host([selection=end][month=current]:nth-child(7n)),:host([selection=end][month=current]:nth-child(7n-1)),:host([selection=start][month=current]:nth-child(7n)),:host([selection=start][month=current]:nth-child(7n-1)){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-weekend-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-weekend-boundaries-color)}:host([selection]:not(:where([selection=none]))[month=other]){--private-calendar-cell-background:var(--private-calendar-cell-selection-other-month-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-other-month-color)}:host([selection=end][month=current]),:host([selection=start][month=current]){--private-calendar-cell-inner-background:var(--private-calendar-cell-selection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-boundaries-color)}:host([selection=end][month=other]),:host([selection=start][month=other]){--private-calendar-cell-inner-background:var(--private-calendar-cell-selection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-other-month-boundaries-color)}:host([selection]:not(:where([selection=none]))[month=current][preview]:not([preview=false])){--private-calendar-cell-background:var(--private-calendar-cell-preselection-current-month-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-color)}:host([selection]:not(:where([selection=none]))[month=other][preview]:not([preview=false])){--private-calendar-cell-background:var(--private-calendar-cell-preselection-other-month-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-color)}:host([selection=end][month=current][preview]:not([preview=false])),:host([selection=start][month=current][preview]:not([preview=false])){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-boundaries-color)}:host([selection=end][month=other][preview]:not([preview=false])),:host([selection=start][month=other][preview]:not([preview=false])){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-boundaries-color)}:host([selection=single][month=current]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-boundaries-color)}:host([selection=single][month=other]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-boundaries-color)}"};var MdsCalendarCell=/** @class */function(){function e(e){registerInstance(this,e);
77
77
  /**
78
78
  * Specifies if the day belongs to the displayed month, `current`, or to an adjacent one,
79
79
  * `other`. `weekend` is deprecated and does nothing: the weekend days are styled by their
@@ -91,4 +91,4 @@ disabled:this.currentView==="months",icon:miBaselineBackIosNew,variant:"dark",to
91
91
  */this.disabled=undefined;
92
92
  /**
93
93
  * Specifies if the cell is today
94
- */this.today=undefined}e.prototype.render=function(){return h(Host,{key:"a393822aa73f1d6094e8b0faa05ebe863ce20749"},h("div",{key:"c80b08e7bf127713f261c35b0807d21fae450950",class:"inner-dot"}),h("div",{key:"571f5470a1465c2541bb1328ad6a3b1600af64bb",class:"area-background"}),h("mds-button",{key:"d303799a03cd311d4dcb7aaf0141838d7f99cde7",class:"action",variant:"dark",tone:"text",disabled:this.disabled,label:this.label}))};return e}();MdsCalendarCell.style=mdsCalendarCellCss();export{MdsCalendar as mds_calendar,MdsCalendarCell as mds_calendar_cell};
94
+ */this.today=undefined}e.prototype.render=function(){return h(Host,{key:"9c19030367078a5eccc316b5d53926a0758491c8"},h("div",{key:"2de6eb5cc31346cb53712cf2dd5a1d0aad886bc0",class:"inner-dot"}),h("div",{key:"47c6370d028c21c127a5158dcfee340153ace542",class:"area-background"}),h("mds-button",{key:"2197b967617bf0b4517a2417c8722b2d21e57f5e",class:"action",variant:"dark",tone:"text",disabled:this.disabled,label:this.label}))};return e}();MdsCalendarCell.style=mdsCalendarCellCss();export{MdsCalendar as mds_calendar,MdsCalendarCell as mds_calendar_cell};
@@ -1 +1 @@
1
- import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";var mdsCardContentCss=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{background-color:var(--mds-card-background);display:grid;gap:var(--magma-rhythm-title-content,12px);grid-template-columns:repeat(auto-fit,minmax(1px,100%));min-width:0}"};var MdsCardContent=/** @class */function(){function t(t){registerInstance(this,t)}t.prototype.render=function(){return h(Host,{key:"9442d6ac5c93929fb7c33552f8ed265c0be5903d",slot:"content"},h("slot",{key:"6687d6821f4e887066dbaf83a262273be3500d21"}))};return t}();MdsCardContent.style=mdsCardContentCss();export{MdsCardContent as mds_card_content};
1
+ import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";var mdsCardContentCss=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{background-color:var(--mds-card-background);display:grid;gap:var(--magma-rhythm-title-content,12px);grid-template-columns:repeat(auto-fit,minmax(1px,100%));min-width:0}"};var MdsCardContent=/** @class */function(){function t(t){registerInstance(this,t)}t.prototype.render=function(){return h(Host,{key:"fe4474d05d2732af268bfc5cd77407024311a853",slot:"content"},h("slot",{key:"44170dc2a65310a2c32e1fe2a977c070904f48dc"}))};return t}();MdsCardContent.style=mdsCardContentCss();export{MdsCardContent as mds_card_content};
@@ -1 +1 @@
1
- import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";var mdsCardFooterCss=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{background-color:var(--mds-card-background);container-type:inline-size;display:block;flex-grow:1;min-width:0}.actions{align-items:center;display:flex;gap:var(--magma-rhythm-inline,12px);justify-content:flex-end}@container not (min-width:23.75rem){.actions{flex-direction:column}::slotted(*){align-self:stretch}}"};var MdsCardFooter=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"1244832dcbc5ec2b4b8ea3c8f5a427559e4017e6",slot:"footer"},h("div",{key:"122a992da6485f84e631eb8b13d01a6c18a9b6ca",class:"actions"},h("slot",{key:"1384adbb3d46542d77eb80e9b737c0a416afe43f"})))};return e}();MdsCardFooter.style=mdsCardFooterCss();export{MdsCardFooter as mds_card_footer};
1
+ import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";var mdsCardFooterCss=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{background-color:var(--mds-card-background);container-type:inline-size;display:block;flex-grow:1;min-width:0}.actions{align-items:center;display:flex;gap:var(--magma-rhythm-inline,12px);justify-content:flex-end}@container not (min-width:23.75rem){.actions{flex-direction:column}::slotted(*){align-self:stretch}}"};var MdsCardFooter=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"041084d763c19e6eb310b522e2e38ba1386c0fb1",slot:"footer"},h("div",{key:"620dfd1b91499967fbc7e85122b6d68a265b0f4b",class:"actions"},h("slot",{key:"9e3f73b0ed73ebe85efaafb2254377c21b5c5d0a"})))};return e}();MdsCardFooter.style=mdsCardFooterCss();export{MdsCardFooter as mds_card_footer};
@@ -1 +1 @@
1
- import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as clsx}from"./clsx-ChV9xqsO.js";var mdsCardHeaderCss=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{align-items:center;background-color:var(--mds-card-background);display:flex;flex-grow:1;gap:var(--magma-rhythm-inline,12px);justify-content:space-between;min-width:0}.actions--hidden{display:none}"};var MdsCardHeader=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.onActionSlotChange=function(){t.hasActions=hasChildWithSlot(t.hostElement,"action")}}e.prototype.componentWillLoad=function(){this.hasActions=hasChildWithSlot(this.hostElement,"action")};e.prototype.render=function(){return h(Host,{key:"ccb8bdb1dee6f1a2ea573d9684494d336da0c39a",slot:"header"},h("slot",{key:"19c284aafd807fa73290e61b22341153ad99d2be"}),h("div",{key:"4a90ab896e9332e9314e743792ca154a8a619adb",class:clsx("actions",!this.hasActions&&"actions--hidden")},h("slot",{key:"476b6c584cfbb47fdfb8d241fd42094322006382",name:"action",onSlotchange:this.onActionSlotChange})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsCardHeader.style=mdsCardHeaderCss();export{MdsCardHeader as mds_card_header};
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as clsx}from"./clsx-ChV9xqsO.js";var mdsCardHeaderCss=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{align-items:center;background-color:var(--mds-card-background);display:flex;flex-grow:1;gap:var(--magma-rhythm-inline,12px);justify-content:space-between;min-width:0}.actions--hidden{display:none}"};var MdsCardHeader=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.onActionSlotChange=function(){t.hasActions=hasChildWithSlot(t.hostElement,"action")}}e.prototype.componentWillLoad=function(){this.hasActions=hasChildWithSlot(this.hostElement,"action")};e.prototype.render=function(){return h(Host,{key:"0f112721dcb5333fd6515080adbfb6440cbb7a4a",slot:"header"},h("slot",{key:"d0672410e2d2348a4bfad6f7e62049fd1f4d2ca5"}),h("div",{key:"2b4ececae2b69d3503343435e9bcbeecf594c395",class:clsx("actions",!this.hasActions&&"actions--hidden")},h("slot",{key:"b558a8269bfcf246b1d4565a640d6e26667da17e",name:"action",onSlotchange:this.onActionSlotChange})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsCardHeader.style=mdsCardHeaderCss();export{MdsCardHeader as mds_card_header};
@@ -1 +1 @@
1
- import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";var mdsCardMediaCss=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{background-color:var(--mds-card-background);display:grid;min-width:0;position:relative}.content{align-items:flex-end;display:flex;gap:calc(var(--spacing,.0025rem)*200);inset:0;justify-content:center;padding:calc(var(--spacing,.0025rem)*400);position:absolute}.img{object-fit:contain}"};var MdsCardMedia=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"d3d6f892c4088589a29dcbfd85c1701cd7399069",slot:"media"},h("div",{key:"77b861317e2f45a3dbe6322d3bf3c60c6fe65894",class:"content",part:"content"},h("slot",{key:"1ec6b672a6d5cf53ab1b6e3b491fd6fd0072db4b",name:"content"})),h("slot",{key:"f9fac921c9fe1bdba57524daed701803fc36882a"}))};return e}();MdsCardMedia.style=mdsCardMediaCss();export{MdsCardMedia as mds_card_media};
1
+ import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";var mdsCardMediaCss=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{background-color:var(--mds-card-background);display:grid;min-width:0;position:relative}.content{align-items:flex-end;display:flex;gap:calc(var(--spacing,.0025rem)*200);inset:0;justify-content:center;padding:calc(var(--spacing,.0025rem)*400);position:absolute}.img{object-fit:contain}"};var MdsCardMedia=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"78a86950589ee86d8815ccf50d2e5d99cc43534c",slot:"media"},h("div",{key:"4213cbc4615e656e7dbf3f5bb3e699028ccb8557",class:"content",part:"content"},h("slot",{key:"2b951d628297ef9a44130f105932d816b885a6c9",name:"content"})),h("slot",{key:"48eefb41bc06d5a193df6389de755af26a1b2736"}))};return e}();MdsCardMedia.style=mdsCardMediaCss();export{MdsCardMedia as mds_card_media};
@@ -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";import{c as clsx}from"./clsx-ChV9xqsO.js";var mdsCardCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-card-content,mds-card-footer,mds-card-header,mds-card-media):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-card-gap:var(--magma-rhythm-title-content,12px);--mds-card-padding:var(--magma-rhythm-inset,24px);--mds-card-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));background-color:var(--mds-card-background);border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));box-shadow:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);corner-shape:var(--magma-corner-shape,squircle);container:mds-card/inline-size;display:grid;min-height:calc(var(--spacing,.0025rem)*400);overflow:hidden}.layout:not(.layout--disabled) ::slotted([slot=media]){grid-area:media;margin-inline:calc(var(--mds-card-padding,var(--magma-rhythm-inset,24px))*-1)}:is(.layout--cfm:not(.layout--disabled),.layout--cm:not(.layout--disabled),.layout--fm:not(.layout--disabled),.layout--m:not(.layout--disabled)) ::slotted([slot=media]){margin-block-start:calc(var(--mds-card-padding,var(--magma-rhythm-inset,24px))*-1)}:is(.layout--hm:not(.layout--disabled),.layout--m:not(.layout--disabled)) ::slotted([slot=media]){margin-block-end:calc(var(--mds-card-padding,var(--magma-rhythm-inset,24px))*-1)}.layout:not(.layout--disabled) ::slotted([slot=header]){grid-area:header}.layout:not(.layout--disabled) ::slotted([slot=content]){grid-area:content}.layout:not(.layout--disabled) ::slotted([slot=footer]){align-self:end;grid-area:footer}.layout:not(.layout--disabled,.layout--f) ::slotted([slot=footer]){margin-block-start:max(0px,var(--magma-rhythm-content-actions,24px) - var(--mds-card-gap,var(--magma-rhythm-title-content,12px)))}.layout{display:grid;gap:var(--mds-card-gap,var(--magma-rhythm-title-content,12px));grid-template-columns:repeat(auto-fit,minmax(1px,100%));padding:var(--mds-card-padding,var(--magma-rhythm-inset,24px))}.layout--cfhm:not(.layout--disabled){grid-template-areas:"header""media""content""footer";grid-template-rows:min-content min-content 1fr min-content}.layout--chm:not(.layout--disabled){grid-template-areas:"header""media""content";grid-template-rows:min-content min-content 1fr}.layout--cfm:not(.layout--disabled){grid-template-areas:"media""content""footer";grid-template-rows:min-content 1fr min-content}.layout--fhm:not(.layout--disabled){grid-template-areas:"header""media""footer";grid-template-rows:min-content 1fr min-content}.layout--cfh:not(.layout--disabled){grid-template-areas:"header""content""footer";grid-template-rows:min-content 1fr min-content}.layout--hm:not(.layout--disabled){grid-template-areas:"header""media";grid-template-rows:min-content 1fr}.layout--fm:not(.layout--disabled){grid-template-areas:"media""footer";grid-template-rows:1fr min-content}.layout--cm:not(.layout--disabled){grid-template-areas:"media""content";grid-template-rows:min-content 1fr}.layout--fh:not(.layout--disabled){grid-template-areas:"header""footer";grid-template-rows:min-content 1fr}.layout--ch:not(.layout--disabled){grid-template-areas:"header""content";grid-template-rows:min-content 1fr}.layout--cf:not(.layout--disabled){grid-template-areas:"content""footer";grid-template-rows:1fr min-content}.layout--h:not(.layout--disabled){grid-template-areas:"header";grid-template-rows:1fr}.layout--m:not(.layout--disabled){grid-template-areas:"media";grid-template-rows:1fr}.layout--c:not(.layout--disabled){grid-template-areas:"content";grid-template-rows:1fr}.layout--f:not(.layout--disabled){grid-template-areas:"footer";grid-template-rows:1fr}@container mds-card not (max-width:30em){.layout--cfhm:not(.layout--disabled){grid-template-areas:"media header""media content""media footer";grid-template-columns:minmax(calc(var(--spacing,.0025rem)*6000),1fr) 2fr;grid-template-rows:min-content 1fr min-content}.layout--chm:not(.layout--disabled){grid-template-areas:"media header""media content""media content";grid-template-rows:min-content 1fr 1fr}.layout--chm:not(.layout--disabled),.layout--fhm:not(.layout--disabled){grid-template-columns:minmax(calc(var(--spacing,.0025rem)*6000),1fr) 2fr}.layout--fhm:not(.layout--disabled){grid-template-areas:"media header""media footer";grid-template-rows:min-content 1fr}.layout--cfm:not(.layout--disabled){grid-template-areas:"media content""media footer";grid-template-rows:1fr min-content}.layout--cfm:not(.layout--disabled),.layout--cm:not(.layout--disabled){grid-template-columns:minmax(calc(var(--spacing,.0025rem)*6000),1fr) 2fr}.layout--cm:not(.layout--disabled){grid-template-areas:"media content";grid-template-rows:1fr}:is(.layout--cfhm:not(.layout--disabled),.layout--cfm:not(.layout--disabled),.layout--chm:not(.layout--disabled),.layout--cm:not(.layout--disabled),.layout--fhm:not(.layout--disabled)) ::slotted([slot=media]){margin-block:calc(var(--mds-card-padding,var(--magma-rhythm-inset,24px))*-1);margin-inline:calc(var(--mds-card-padding,var(--magma-rhythm-inset,24px))*-1) 0}}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}@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(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}'};
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";import{c as clsx}from"./clsx-ChV9xqsO.js";var mdsCardCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-card-content,mds-card-footer,mds-card-header,mds-card-media):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-card-gap:var(--magma-rhythm-title-content,12px);--mds-card-padding:var(--magma-rhythm-inset,24px);--mds-card-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));background-color:var(--mds-card-background);border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));box-shadow:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);corner-shape:var(--magma-corner-shape,squircle);container:mds-card/inline-size;display:grid;min-height:calc(var(--spacing,.0025rem)*400);overflow:hidden}.layout:not(.layout--disabled) ::slotted([slot=media]){grid-area:media;margin-inline:calc(var(--mds-card-padding,var(--magma-rhythm-inset,24px))*-1)}:is(.layout--cfm:not(.layout--disabled),.layout--cm:not(.layout--disabled),.layout--fm:not(.layout--disabled),.layout--m:not(.layout--disabled)) ::slotted([slot=media]){margin-block-start:calc(var(--mds-card-padding,var(--magma-rhythm-inset,24px))*-1)}:is(.layout--hm:not(.layout--disabled),.layout--m:not(.layout--disabled)) ::slotted([slot=media]){margin-block-end:calc(var(--mds-card-padding,var(--magma-rhythm-inset,24px))*-1)}.layout:not(.layout--disabled) ::slotted([slot=header]){grid-area:header}.layout:not(.layout--disabled) ::slotted([slot=content]){grid-area:content}.layout:not(.layout--disabled) ::slotted([slot=footer]){align-self:end;grid-area:footer}.layout:not(.layout--disabled,.layout--f) ::slotted([slot=footer]){margin-block-start:max(0px,var(--magma-rhythm-content-actions,24px) - var(--mds-card-gap,var(--magma-rhythm-title-content,12px)))}.layout{display:grid;gap:var(--mds-card-gap,var(--magma-rhythm-title-content,12px));grid-template-columns:repeat(auto-fit,minmax(1px,100%));padding:var(--mds-card-padding,var(--magma-rhythm-inset,24px))}.layout--cfhm:not(.layout--disabled){grid-template-areas:"header""media""content""footer";grid-template-rows:min-content min-content 1fr min-content}.layout--chm:not(.layout--disabled){grid-template-areas:"header""media""content";grid-template-rows:min-content min-content 1fr}.layout--cfm:not(.layout--disabled){grid-template-areas:"media""content""footer";grid-template-rows:min-content 1fr min-content}.layout--fhm:not(.layout--disabled){grid-template-areas:"header""media""footer";grid-template-rows:min-content 1fr min-content}.layout--cfh:not(.layout--disabled){grid-template-areas:"header""content""footer";grid-template-rows:min-content 1fr min-content}.layout--hm:not(.layout--disabled){grid-template-areas:"header""media";grid-template-rows:min-content 1fr}.layout--fm:not(.layout--disabled){grid-template-areas:"media""footer";grid-template-rows:1fr min-content}.layout--cm:not(.layout--disabled){grid-template-areas:"media""content";grid-template-rows:min-content 1fr}.layout--fh:not(.layout--disabled){grid-template-areas:"header""footer";grid-template-rows:min-content 1fr}.layout--ch:not(.layout--disabled){grid-template-areas:"header""content";grid-template-rows:min-content 1fr}.layout--cf:not(.layout--disabled){grid-template-areas:"content""footer";grid-template-rows:1fr min-content}.layout--h:not(.layout--disabled){grid-template-areas:"header";grid-template-rows:1fr}.layout--m:not(.layout--disabled){grid-template-areas:"media";grid-template-rows:1fr}.layout--c:not(.layout--disabled){grid-template-areas:"content";grid-template-rows:1fr}.layout--f:not(.layout--disabled){grid-template-areas:"footer";grid-template-rows:1fr}@container mds-card not (max-width:30em){.layout--cfhm:not(.layout--disabled){grid-template-areas:"media header""media content""media footer";grid-template-columns:minmax(calc(var(--spacing,.0025rem)*6000),1fr) 2fr;grid-template-rows:min-content 1fr min-content}.layout--chm:not(.layout--disabled){grid-template-areas:"media header""media content""media content";grid-template-rows:min-content 1fr 1fr}.layout--chm:not(.layout--disabled),.layout--fhm:not(.layout--disabled){grid-template-columns:minmax(calc(var(--spacing,.0025rem)*6000),1fr) 2fr}.layout--fhm:not(.layout--disabled){grid-template-areas:"media header""media footer";grid-template-rows:min-content 1fr}.layout--cfm:not(.layout--disabled){grid-template-areas:"media content""media footer";grid-template-rows:1fr min-content}.layout--cfm:not(.layout--disabled),.layout--cm:not(.layout--disabled){grid-template-columns:minmax(calc(var(--spacing,.0025rem)*6000),1fr) 2fr}.layout--cm:not(.layout--disabled){grid-template-areas:"media content";grid-template-rows:1fr}:is(.layout--cfhm:not(.layout--disabled),.layout--cfm:not(.layout--disabled),.layout--chm:not(.layout--disabled),.layout--cm:not(.layout--disabled),.layout--fhm:not(.layout--disabled)) ::slotted([slot=media]){margin-block:calc(var(--mds-card-padding,var(--magma-rhythm-inset,24px))*-1);margin-inline:calc(var(--mds-card-padding,var(--magma-rhythm-inset,24px))*-1) 0}}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}@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(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}'};
2
2
  // the regions of the card, in the alphabetical order their initials name a layout with
3
3
  var REGIONS=["content","footer","header","media"];var MdsCard=/** @class */function(){function a(a){var t=this;registerInstance(this,a);
4
4
  /**
@@ -10,4 +10,4 @@ var REGIONS=["content","footer","header","media"];var MdsCard=/** @class */funct
10
10
  * its name, since the card reads it before it has written its own slot. The layout used to be
11
11
  * read once, on load, and to name a slotted element after its tag (`d` for a
12
12
  * `<div slot="header">`), a layout no rule draws.
13
- */this.updateLayout=function(){var a=new Set(Array.from(t.host.children).map((function(a){var t;return(t=a.getAttribute("slot"))!==null&&t!==void 0?t:a.tagName.startsWith("MDS-CARD-")?a.tagName.toLowerCase().replace("mds-card-",""):""})));t.layout=REGIONS.filter((function(t){return a.has(t)})).map((function(a){return a.charAt(0)})).join("")}}a.prototype.componentWillLoad=function(){this.updateLayout()};a.prototype.render=function(){return h(Host,{key:"4ee6a499e8237b3ac758033408292fcd06421a80","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"84a453bba42042d39937fc2101bdaa3bc30bae23",class:clsx("layout",this.layout&&"layout--".concat(this.layout),this.disableAutoGrid?"layout--disabled":""),part:"layout"},h("slot",{key:"0838ad16e610630b8ea27cbbfed2c1c101a1e041",name:"media",onSlotchange:this.updateLayout}),h("slot",{key:"03891802fbdc79d0e8c6b3fc90919c10caed66d3",name:"header",onSlotchange:this.updateLayout}),h("slot",{key:"7c49d83ac9f5ca1f50feec8c7cd0ef5f5fd874eb",name:"content",onSlotchange:this.updateLayout}),h("slot",{key:"6a0cbdaa8914b3185ce730e6a1b6081da9ef14b2",name:"footer",onSlotchange:this.updateLayout})))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return a}();MdsCard.style=mdsCardCss();export{MdsCard as mds_card};
13
+ */this.updateLayout=function(){var a=new Set(Array.from(t.host.children).map((function(a){var t;return(t=a.getAttribute("slot"))!==null&&t!==void 0?t:a.tagName.startsWith("MDS-CARD-")?a.tagName.toLowerCase().replace("mds-card-",""):""})));t.layout=REGIONS.filter((function(t){return a.has(t)})).map((function(a){return a.charAt(0)})).join("")}}a.prototype.componentWillLoad=function(){this.updateLayout()};a.prototype.render=function(){return h(Host,{key:"1833e583fdc91488a7b5fc884e18a1db9e7f3ca0","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"b4229149eb4e38249031a73e8be4c640e1d840c0",class:clsx("layout",this.layout&&"layout--".concat(this.layout),this.disableAutoGrid?"layout--disabled":""),part:"layout"},h("slot",{key:"f3064a7b6c7228b73fb9caa33a60215b7f873022",name:"media",onSlotchange:this.updateLayout}),h("slot",{key:"589b8ca9816bd9b9f0966bf357fb8463c07ace57",name:"header",onSlotchange:this.updateLayout}),h("slot",{key:"791bbe9f607ee094d9a88a19ac857070fb1b7afc",name:"content",onSlotchange:this.updateLayout}),h("slot",{key:"7b9f0beda1e731af5f92a9864e0b0b7047830887",name:"footer",onSlotchange:this.updateLayout})))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return a}();MdsCard.style=mdsCardCss();export{MdsCard as mds_card};