@maggioli-design-system/magma 2.5.1 → 2.7.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 (1485) hide show
  1. package/AGENTS.md +19 -4
  2. package/CHANGELOG.md +69 -0
  3. package/agents/assets.md +24 -10
  4. package/agents/color.md +22 -4
  5. package/agents/components.md +164 -92
  6. package/agents/conventions.md +19 -8
  7. package/agents/install.md +7 -0
  8. package/agents/lint.md +298 -0
  9. package/agents/mcp.md +107 -0
  10. package/agents/reporting.md +53 -2
  11. package/agents/theming.md +8 -0
  12. package/dist/cjs/index-BQNHYWJg.js +4 -0
  13. package/dist/cjs/loader.cjs.js +1 -1
  14. package/dist/cjs/magma-components.cjs.js +1 -1
  15. package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
  16. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
  17. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-author.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  21. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-avatar.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-badge.cjs.entry.js +1 -1
  24. package/dist/cjs/mds-banner_3.cjs.entry.js +3 -3
  25. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-book.cjs.entry.js +703 -0
  28. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-breadcrumb.cjs.entry.js +1 -1
  30. package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
  31. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  32. package/dist/cjs/mds-button_3.cjs.entry.js +6 -6
  33. package/dist/cjs/mds-calendar_2.cjs.entry.js +6 -6
  34. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  37. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  38. package/dist/cjs/mds-card.cjs.entry.js +1 -1
  39. package/dist/cjs/mds-details.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
  41. package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
  42. package/dist/cjs/mds-entity.cjs.entry.js +1 -1
  43. package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
  44. package/dist/cjs/mds-file.cjs.entry.js +1 -1
  45. package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
  46. package/dist/cjs/mds-filter.cjs.entry.js +1 -1
  47. package/dist/cjs/mds-header-bar.cjs.entry.js +1 -1
  48. package/dist/cjs/mds-header.cjs.entry.js +2 -2
  49. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  50. package/dist/cjs/mds-hr.cjs.entry.js +1 -1
  51. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  52. package/dist/cjs/mds-input-date-range.cjs.entry.js +2 -2
  53. package/dist/cjs/mds-input-date.cjs.entry.js +2 -2
  54. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  55. package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
  56. package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
  57. package/dist/cjs/mds-input-select.cjs.entry.js +2 -2
  58. package/dist/cjs/mds-input-switch_2.cjs.entry.js +2 -2
  59. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  60. package/dist/cjs/mds-input-upload.cjs.entry.js +5 -5
  61. package/dist/cjs/mds-input.cjs.entry.js +2 -2
  62. package/dist/cjs/mds-keyboard-key.cjs.entry.js +2 -2
  63. package/dist/cjs/mds-keyboard.cjs.entry.js +2 -2
  64. package/dist/cjs/mds-kpi-item.cjs.entry.js +1 -1
  65. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  66. package/dist/cjs/mds-label.cjs.entry.js +1 -1
  67. package/dist/cjs/mds-link.cjs.entry.js +3 -3
  68. package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
  69. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  70. package/dist/cjs/mds-mention.cjs.entry.js +1 -1
  71. package/dist/cjs/mds-modal.cjs.entry.js +3 -3
  72. package/dist/cjs/mds-note.cjs.entry.js +1 -1
  73. package/dist/cjs/mds-notification.cjs.entry.js +1 -1
  74. package/dist/cjs/mds-paginator-item.cjs.entry.js +1 -1
  75. package/dist/cjs/mds-paginator.cjs.entry.js +1 -1
  76. package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
  77. package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
  78. package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
  79. package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
  80. package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
  81. package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
  82. package/dist/cjs/mds-pref-mode.cjs.entry.js +1 -1
  83. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +1 -1
  84. package/dist/cjs/mds-pref-theme.cjs.entry.js +1 -1
  85. package/dist/cjs/mds-pref.cjs.entry.js +1 -1
  86. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +1 -1
  87. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +1 -1
  88. package/dist/cjs/mds-price-table-features.cjs.entry.js +1 -1
  89. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  90. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
  91. package/dist/cjs/mds-price-table-list.cjs.entry.js +1 -1
  92. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  93. package/dist/cjs/mds-progress_2.cjs.entry.js +2 -2
  94. package/dist/cjs/mds-push-notification-item.cjs.entry.js +2 -2
  95. package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
  96. package/dist/cjs/mds-quote.cjs.entry.js +1 -1
  97. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
  98. package/dist/cjs/mds-radial-menu.cjs.entry.js +1 -1
  99. package/dist/cjs/mds-separator.cjs.entry.js +1 -1
  100. package/dist/cjs/mds-status-bar.cjs.entry.js +1 -1
  101. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +1 -1
  102. package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
  103. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +1 -1
  104. package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
  105. package/dist/cjs/mds-tab_2.cjs.entry.js +4 -4
  106. package/dist/cjs/mds-table-body.cjs.entry.js +1 -1
  107. package/dist/cjs/mds-table-footer.cjs.entry.js +1 -1
  108. package/dist/cjs/mds-table-header-cell.cjs.entry.js +1 -1
  109. package/dist/cjs/mds-table-header.cjs.entry.js +1 -1
  110. package/dist/cjs/mds-table-row.cjs.entry.js +2 -2
  111. package/dist/cjs/mds-table.cjs.entry.js +1 -1
  112. package/dist/cjs/mds-text.cjs.entry.js +1 -1
  113. package/dist/cjs/mds-toast-region.cjs.entry.js +1 -1
  114. package/dist/cjs/mds-toast.cjs.entry.js +1 -1
  115. package/dist/cjs/mds-tooltip.cjs.entry.js +2 -2
  116. package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
  117. package/dist/cjs/mds-tree.cjs.entry.js +1 -1
  118. package/dist/cjs/mds-url-view.cjs.entry.js +1 -1
  119. package/dist/cjs/mds-usage.cjs.entry.js +1 -1
  120. package/dist/cjs/mds-video-wall.cjs.entry.js +1 -1
  121. package/dist/cjs/mds-zero.cjs.entry.js +1 -1
  122. package/dist/collection/collection-manifest.json +1 -0
  123. package/dist/collection/components/mds-accordion/AGENTS.md +3 -5
  124. package/dist/collection/components/mds-accordion/antipattern.md +1 -2
  125. package/dist/collection/components/mds-accordion/documentation.json +21 -10
  126. package/dist/collection/components/mds-accordion/mds-accordion.css +3 -3
  127. package/dist/collection/components/mds-accordion/mds-accordion.js +2 -1
  128. package/dist/collection/components/mds-accordion/pattern.md +1 -4
  129. package/dist/collection/components/mds-accordion-item/AGENTS.md +3 -7
  130. package/dist/collection/components/mds-accordion-item/documentation.json +20 -9
  131. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +1 -1
  132. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -1
  133. package/dist/collection/components/mds-accordion-item/pattern.md +3 -5
  134. package/dist/collection/components/mds-accordion-timer/AGENTS.md +3 -5
  135. package/dist/collection/components/mds-accordion-timer/antipattern.md +5 -3
  136. package/dist/collection/components/mds-accordion-timer/documentation.json +17 -8
  137. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +1 -1
  138. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +2 -1
  139. package/dist/collection/components/mds-accordion-timer/pattern.md +6 -6
  140. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +3 -5
  141. package/dist/collection/components/mds-accordion-timer-item/antipattern.md +1 -2
  142. package/dist/collection/components/mds-accordion-timer-item/documentation.json +17 -8
  143. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +1 -1
  144. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -1
  145. package/dist/collection/components/mds-accordion-timer-item/pattern.md +1 -5
  146. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  147. package/dist/collection/components/mds-author/documentation.json +5 -1
  148. package/dist/collection/components/mds-author/mds-author.js +2 -1
  149. package/dist/collection/components/mds-avatar/AGENTS.md +3 -3
  150. package/dist/collection/components/mds-avatar/antipattern.md +1 -1
  151. package/dist/collection/components/mds-avatar/documentation.json +17 -8
  152. package/dist/collection/components/mds-avatar/mds-avatar.css +3 -3
  153. package/dist/collection/components/mds-avatar/mds-avatar.js +2 -1
  154. package/dist/collection/components/mds-avatar/pattern.md +1 -2
  155. package/dist/collection/components/mds-avatar-stack/AGENTS.md +3 -12
  156. package/dist/collection/components/mds-avatar-stack/antipattern.md +1 -2
  157. package/dist/collection/components/mds-avatar-stack/documentation.json +31 -15
  158. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +1 -1
  159. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +2 -1
  160. package/dist/collection/components/mds-avatar-stack/pattern.md +2 -5
  161. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +3 -6
  162. package/dist/collection/components/mds-avatar-stack-item/documentation.json +22 -10
  163. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +2 -2
  164. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +4 -1
  165. package/dist/collection/components/mds-avatar-stack-item/pattern.md +4 -5
  166. package/dist/collection/components/mds-badge/AGENTS.md +3 -3
  167. package/dist/collection/components/mds-badge/antipattern.md +1 -1
  168. package/dist/collection/components/mds-badge/documentation.json +17 -8
  169. package/dist/collection/components/mds-badge/mds-badge.css +3 -3
  170. package/dist/collection/components/mds-badge/mds-badge.js +2 -1
  171. package/dist/collection/components/mds-badge/pattern.md +4 -7
  172. package/dist/collection/components/mds-banner/AGENTS.md +3 -8
  173. package/dist/collection/components/mds-banner/antipattern.md +1 -2
  174. package/dist/collection/components/mds-banner/documentation.json +29 -14
  175. package/dist/collection/components/mds-banner/mds-banner.css +4 -4
  176. package/dist/collection/components/mds-banner/mds-banner.js +2 -1
  177. package/dist/collection/components/mds-banner/pattern.md +1 -2
  178. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  179. package/dist/collection/components/mds-benchmark-bar/documentation.json +5 -1
  180. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +2 -1
  181. package/dist/collection/components/mds-bibliography/AGENTS.md +3 -3
  182. package/dist/collection/components/mds-bibliography/antipattern.md +1 -3
  183. package/dist/collection/components/mds-bibliography/documentation.json +15 -7
  184. package/dist/collection/components/mds-bibliography/mds-bibliography.css +1 -1
  185. package/dist/collection/components/mds-bibliography/mds-bibliography.js +4 -1
  186. package/dist/collection/components/mds-bibliography/pattern.md +1 -3
  187. package/dist/collection/components/mds-book/AGENTS.md +79 -0
  188. package/dist/collection/components/mds-book/antipattern.md +88 -0
  189. package/dist/collection/components/mds-book/documentation.json +482 -0
  190. package/dist/collection/components/mds-book/mds-book.css +901 -0
  191. package/dist/collection/components/mds-book/mds-book.js +731 -0
  192. package/dist/collection/components/mds-book/meta/dictionary.js +5 -0
  193. package/dist/collection/components/mds-book/meta/format.js +57 -0
  194. package/dist/collection/components/mds-book/meta/pose.js +107 -0
  195. package/dist/collection/components/mds-book/meta/spine.js +61 -0
  196. package/dist/collection/components/mds-book/meta/types.js +1 -0
  197. package/dist/collection/components/mds-book/meta/volume.js +23 -0
  198. package/dist/collection/components/mds-book/pattern.md +111 -0
  199. package/dist/collection/components/mds-breadcrumb/AGENTS.md +3 -14
  200. package/dist/collection/components/mds-breadcrumb/antipattern.md +1 -1
  201. package/dist/collection/components/mds-breadcrumb/documentation.json +28 -14
  202. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -1
  203. package/dist/collection/components/mds-breadcrumb/pattern.md +6 -6
  204. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +3 -11
  205. package/dist/collection/components/mds-breadcrumb-item/antipattern.md +3 -3
  206. package/dist/collection/components/mds-breadcrumb-item/documentation.json +22 -11
  207. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +2 -1
  208. package/dist/collection/components/mds-breadcrumb-item/pattern.md +12 -14
  209. package/dist/collection/components/mds-button/AGENTS.md +3 -12
  210. package/dist/collection/components/mds-button/documentation.json +37 -17
  211. package/dist/collection/components/mds-button/mds-button.css +5 -5
  212. package/dist/collection/components/mds-button/mds-button.js +5 -4
  213. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  214. package/dist/collection/components/mds-button-dropdown/documentation.json +7 -2
  215. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +1 -1
  216. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +2 -1
  217. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  218. package/dist/collection/components/mds-button-group/documentation.json +5 -1
  219. package/dist/collection/components/mds-button-group/mds-button-group.js +2 -1
  220. package/dist/collection/components/mds-calendar/AGENTS.md +3 -6
  221. package/dist/collection/components/mds-calendar/antipattern.md +1 -1
  222. package/dist/collection/components/mds-calendar/documentation.json +25 -12
  223. package/dist/collection/components/mds-calendar/mds-calendar.css +4 -4
  224. package/dist/collection/components/mds-calendar/mds-calendar.js +6 -5
  225. package/dist/collection/components/mds-calendar/pattern.md +1 -3
  226. package/dist/collection/components/mds-calendar-cell/AGENTS.md +3 -35
  227. package/dist/collection/components/mds-calendar-cell/antipattern.md +1 -2
  228. package/dist/collection/components/mds-calendar-cell/documentation.json +81 -40
  229. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +2 -2
  230. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +4 -1
  231. package/dist/collection/components/mds-calendar-cell/pattern.md +4 -5
  232. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  233. package/dist/collection/components/mds-card/antipattern.md +2 -2
  234. package/dist/collection/components/mds-card/documentation.json +13 -6
  235. package/dist/collection/components/mds-card/mds-card.css +3 -3
  236. package/dist/collection/components/mds-card/mds-card.js +2 -1
  237. package/dist/collection/components/mds-card/pattern.md +4 -4
  238. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  239. package/dist/collection/components/mds-card-content/documentation.json +5 -1
  240. package/dist/collection/components/mds-card-content/mds-card-content.js +2 -1
  241. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  242. package/dist/collection/components/mds-card-footer/documentation.json +5 -1
  243. package/dist/collection/components/mds-card-footer/mds-card-footer.js +2 -1
  244. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  245. package/dist/collection/components/mds-card-header/documentation.json +5 -1
  246. package/dist/collection/components/mds-card-header/mds-card-header.js +2 -1
  247. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  248. package/dist/collection/components/mds-card-media/documentation.json +5 -1
  249. package/dist/collection/components/mds-card-media/mds-card-media.js +2 -1
  250. package/dist/collection/components/mds-chip/AGENTS.md +3 -10
  251. package/dist/collection/components/mds-chip/antipattern.md +2 -3
  252. package/dist/collection/components/mds-chip/documentation.json +35 -17
  253. package/dist/collection/components/mds-chip/mds-chip.css +4 -4
  254. package/dist/collection/components/mds-chip/mds-chip.js +4 -1
  255. package/dist/collection/components/mds-chip/pattern.md +4 -6
  256. package/dist/collection/components/mds-details/AGENTS.md +3 -7
  257. package/dist/collection/components/mds-details/antipattern.md +1 -5
  258. package/dist/collection/components/mds-details/documentation.json +14 -7
  259. package/dist/collection/components/mds-details/mds-details.js +2 -1
  260. package/dist/collection/components/mds-details/pattern.md +4 -6
  261. package/dist/collection/components/mds-dropdown/AGENTS.md +3 -9
  262. package/dist/collection/components/mds-dropdown/antipattern.md +1 -1
  263. package/dist/collection/components/mds-dropdown/documentation.json +31 -15
  264. package/dist/collection/components/mds-dropdown/mds-dropdown.css +4 -4
  265. package/dist/collection/components/mds-dropdown/mds-dropdown.js +3 -2
  266. package/dist/collection/components/mds-dropdown/pattern.md +2 -4
  267. package/dist/collection/components/mds-emoji/AGENTS.md +8 -32
  268. package/dist/collection/components/mds-emoji/antipattern.md +0 -18
  269. package/dist/collection/components/mds-emoji/documentation.json +73 -35
  270. package/dist/collection/components/mds-emoji/mds-emoji.css +8 -4
  271. package/dist/collection/components/mds-emoji/mds-emoji.js +4 -1
  272. package/dist/collection/components/mds-emoji/pattern.md +9 -25
  273. package/dist/collection/components/mds-entity/AGENTS.md +3 -4
  274. package/dist/collection/components/mds-entity/antipattern.md +10 -3
  275. package/dist/collection/components/mds-entity/documentation.json +17 -8
  276. package/dist/collection/components/mds-entity/mds-entity.css +2 -2
  277. package/dist/collection/components/mds-entity/mds-entity.js +2 -1
  278. package/dist/collection/components/mds-entity/pattern.md +1 -4
  279. package/dist/collection/components/mds-file/AGENTS.md +3 -3
  280. package/dist/collection/components/mds-file/antipattern.md +2 -3
  281. package/dist/collection/components/mds-file/documentation.json +15 -7
  282. package/dist/collection/components/mds-file/mds-file.css +1 -1
  283. package/dist/collection/components/mds-file/mds-file.js +4 -1
  284. package/dist/collection/components/mds-file/pattern.md +1 -3
  285. package/dist/collection/components/mds-file-preview/AGENTS.md +3 -3
  286. package/dist/collection/components/mds-file-preview/antipattern.md +1 -1
  287. package/dist/collection/components/mds-file-preview/documentation.json +17 -8
  288. package/dist/collection/components/mds-file-preview/mds-file-preview.css +3 -3
  289. package/dist/collection/components/mds-file-preview/mds-file-preview.js +3 -2
  290. package/dist/collection/components/mds-file-preview/pattern.md +2 -3
  291. package/dist/collection/components/mds-filter/AGENTS.md +3 -8
  292. package/dist/collection/components/mds-filter/antipattern.md +2 -2
  293. package/dist/collection/components/mds-filter/documentation.json +27 -13
  294. package/dist/collection/components/mds-filter/mds-filter.css +3 -3
  295. package/dist/collection/components/mds-filter/mds-filter.js +2 -1
  296. package/dist/collection/components/mds-filter/pattern.md +2 -5
  297. package/dist/collection/components/mds-filter-item/AGENTS.md +2 -7
  298. package/dist/collection/components/mds-filter-item/antipattern.md +4 -4
  299. package/dist/collection/components/mds-filter-item/documentation.json +17 -8
  300. package/dist/collection/components/mds-filter-item/mds-filter-item.js +4 -1
  301. package/dist/collection/components/mds-filter-item/pattern.md +5 -7
  302. package/dist/collection/components/mds-header/AGENTS.md +4 -8
  303. package/dist/collection/components/mds-header/documentation.json +28 -13
  304. package/dist/collection/components/mds-header/mds-header.css +7 -7
  305. package/dist/collection/components/mds-header/mds-header.js +2 -1
  306. package/dist/collection/components/mds-header/pattern.md +1 -3
  307. package/dist/collection/components/mds-header-bar/AGENTS.md +2 -4
  308. package/dist/collection/components/mds-header-bar/antipattern.md +6 -8
  309. package/dist/collection/components/mds-header-bar/documentation.json +9 -4
  310. package/dist/collection/components/mds-header-bar/mds-header-bar.js +2 -1
  311. package/dist/collection/components/mds-header-bar/pattern.md +10 -6
  312. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  313. package/dist/collection/components/mds-help/documentation.json +13 -5
  314. package/dist/collection/components/mds-help/mds-help.css +4 -4
  315. package/dist/collection/components/mds-help/mds-help.js +2 -1
  316. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +5 -11
  317. package/dist/collection/components/mds-horizontal-scroll/antipattern.md +2 -2
  318. package/dist/collection/components/mds-horizontal-scroll/documentation.json +34 -14
  319. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +2 -1
  320. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +2 -1
  321. package/dist/collection/components/mds-horizontal-scroll/pattern.md +4 -15
  322. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  323. package/dist/collection/components/mds-hr/documentation.json +7 -2
  324. package/dist/collection/components/mds-hr/mds-hr.js +4 -1
  325. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  326. package/dist/collection/components/mds-icon/documentation.json +5 -1
  327. package/dist/collection/components/mds-icon/mds-icon.js +2 -1
  328. package/dist/collection/components/mds-img/AGENTS.md +3 -5
  329. package/dist/collection/components/mds-img/antipattern.md +1 -1
  330. package/dist/collection/components/mds-img/documentation.json +19 -9
  331. package/dist/collection/components/mds-img/mds-img.css +2 -2
  332. package/dist/collection/components/mds-img/mds-img.js +1 -0
  333. package/dist/collection/components/mds-img/pattern.md +1 -4
  334. package/dist/collection/components/mds-input/AGENTS.md +3 -9
  335. package/dist/collection/components/mds-input/antipattern.md +1 -1
  336. package/dist/collection/components/mds-input/documentation.json +39 -19
  337. package/dist/collection/components/mds-input/mds-input.css +8 -8
  338. package/dist/collection/components/mds-input/mds-input.js +3 -2
  339. package/dist/collection/components/mds-input/pattern.md +1 -3
  340. package/dist/collection/components/mds-input-date/AGENTS.md +3 -8
  341. package/dist/collection/components/mds-input-date/antipattern.md +1 -1
  342. package/dist/collection/components/mds-input-date/documentation.json +31 -15
  343. package/dist/collection/components/mds-input-date/mds-input-date.css +5 -5
  344. package/dist/collection/components/mds-input-date/mds-input-date.js +3 -2
  345. package/dist/collection/components/mds-input-date/pattern.md +1 -2
  346. package/dist/collection/components/mds-input-date-range/AGENTS.md +3 -4
  347. package/dist/collection/components/mds-input-date-range/documentation.json +22 -10
  348. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +5 -5
  349. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +3 -2
  350. package/dist/collection/components/mds-input-date-range/pattern.md +1 -2
  351. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +3 -13
  352. package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +11 -6
  353. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +26 -13
  354. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +2 -1
  355. package/dist/collection/components/mds-input-date-range-preselection/pattern.md +1 -11
  356. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  357. package/dist/collection/components/mds-input-field/documentation.json +9 -3
  358. package/dist/collection/components/mds-input-field/mds-input-field.css +2 -2
  359. package/dist/collection/components/mds-input-field/mds-input-field.js +2 -1
  360. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  361. package/dist/collection/components/mds-input-otp/documentation.json +7 -2
  362. package/dist/collection/components/mds-input-otp/mds-input-otp.js +4 -1
  363. package/dist/collection/components/mds-input-range/AGENTS.md +3 -13
  364. package/dist/collection/components/mds-input-range/antipattern.md +1 -5
  365. package/dist/collection/components/mds-input-range/documentation.json +26 -13
  366. package/dist/collection/components/mds-input-range/mds-input-range.js +2 -1
  367. package/dist/collection/components/mds-input-range/pattern.md +2 -12
  368. package/dist/collection/components/mds-input-select/AGENTS.md +3 -7
  369. package/dist/collection/components/mds-input-select/antipattern.md +1 -1
  370. package/dist/collection/components/mds-input-select/documentation.json +25 -12
  371. package/dist/collection/components/mds-input-select/mds-input-select.css +3 -3
  372. package/dist/collection/components/mds-input-select/mds-input-select.js +3 -2
  373. package/dist/collection/components/mds-input-select/pattern.md +1 -3
  374. package/dist/collection/components/mds-input-switch/AGENTS.md +2 -30
  375. package/dist/collection/components/mds-input-switch/antipattern.md +5 -6
  376. package/dist/collection/components/mds-input-switch/documentation.json +61 -30
  377. package/dist/collection/components/mds-input-switch/mds-input-switch.js +2 -1
  378. package/dist/collection/components/mds-input-switch/pattern.md +2 -11
  379. package/dist/collection/components/mds-input-tip/AGENTS.md +3 -5
  380. package/dist/collection/components/mds-input-tip/antipattern.md +10 -6
  381. package/dist/collection/components/mds-input-tip/documentation.json +17 -8
  382. package/dist/collection/components/mds-input-tip/mds-input-tip.css +1 -1
  383. package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -1
  384. package/dist/collection/components/mds-input-tip/pattern.md +1 -4
  385. package/dist/collection/components/mds-input-tip-item/AGENTS.md +4 -3
  386. package/dist/collection/components/mds-input-tip-item/antipattern.md +2 -2
  387. package/dist/collection/components/mds-input-tip-item/documentation.json +14 -7
  388. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +2 -2
  389. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -2
  390. package/dist/collection/components/mds-input-tip-item/pattern.md +1 -2
  391. package/dist/collection/components/mds-input-upload/AGENTS.md +3 -5
  392. package/dist/collection/components/mds-input-upload/antipattern.md +2 -3
  393. package/dist/collection/components/mds-input-upload/documentation.json +19 -9
  394. package/dist/collection/components/mds-input-upload/mds-input-upload.css +1 -1
  395. package/dist/collection/components/mds-input-upload/mds-input-upload.js +8 -5
  396. package/dist/collection/components/mds-input-upload/pattern.md +1 -5
  397. package/dist/collection/components/mds-keyboard/AGENTS.md +3 -18
  398. package/dist/collection/components/mds-keyboard/antipattern.md +3 -3
  399. package/dist/collection/components/mds-keyboard/documentation.json +47 -23
  400. package/dist/collection/components/mds-keyboard/mds-keyboard.css +17 -5
  401. package/dist/collection/components/mds-keyboard/mds-keyboard.js +2 -1
  402. package/dist/collection/components/mds-keyboard/pattern.md +1 -2
  403. package/dist/collection/components/mds-keyboard-key/AGENTS.md +3 -6
  404. package/dist/collection/components/mds-keyboard-key/antipattern.md +1 -2
  405. package/dist/collection/components/mds-keyboard-key/documentation.json +21 -10
  406. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +7 -3
  407. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +4 -1
  408. package/dist/collection/components/mds-keyboard-key/pattern.md +1 -12
  409. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  410. package/dist/collection/components/mds-kpi/documentation.json +10 -4
  411. package/dist/collection/components/mds-kpi/mds-kpi.css +2 -2
  412. package/dist/collection/components/mds-kpi/mds-kpi.js +2 -1
  413. package/dist/collection/components/mds-kpi/pattern.md +7 -4
  414. package/dist/collection/components/mds-kpi-item/AGENTS.md +3 -8
  415. package/dist/collection/components/mds-kpi-item/antipattern.md +2 -4
  416. package/dist/collection/components/mds-kpi-item/documentation.json +16 -8
  417. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +2 -1
  418. package/dist/collection/components/mds-kpi-item/pattern.md +9 -7
  419. package/dist/collection/components/mds-label/AGENTS.md +3 -7
  420. package/dist/collection/components/mds-label/documentation.json +24 -11
  421. package/dist/collection/components/mds-label/mds-label.css +2 -2
  422. package/dist/collection/components/mds-label/mds-label.js +4 -1
  423. package/dist/collection/components/mds-label/pattern.md +1 -3
  424. package/dist/collection/components/mds-link/AGENTS.md +4 -9
  425. package/dist/collection/components/mds-link/documentation.json +22 -10
  426. package/dist/collection/components/mds-link/mds-link.css +1 -1
  427. package/dist/collection/components/mds-link/mds-link.js +4 -3
  428. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  429. package/dist/collection/components/mds-list/documentation.json +6 -2
  430. package/dist/collection/components/mds-list/mds-list.js +2 -1
  431. package/dist/collection/components/mds-list/pattern.md +5 -5
  432. package/dist/collection/components/mds-list-item/AGENTS.md +2 -4
  433. package/dist/collection/components/mds-list-item/antipattern.md +1 -1
  434. package/dist/collection/components/mds-list-item/documentation.json +9 -4
  435. package/dist/collection/components/mds-list-item/mds-list-item.js +2 -1
  436. package/dist/collection/components/mds-list-item/pattern.md +4 -4
  437. package/dist/collection/components/mds-mention/AGENTS.md +2 -4
  438. package/dist/collection/components/mds-mention/antipattern.md +5 -5
  439. package/dist/collection/components/mds-mention/documentation.json +11 -5
  440. package/dist/collection/components/mds-mention/mds-mention.js +4 -1
  441. package/dist/collection/components/mds-mention/pattern.md +3 -5
  442. package/dist/collection/components/mds-modal/AGENTS.md +3 -9
  443. package/dist/collection/components/mds-modal/antipattern.md +1 -3
  444. package/dist/collection/components/mds-modal/documentation.json +37 -18
  445. package/dist/collection/components/mds-modal/mds-modal.css +7 -7
  446. package/dist/collection/components/mds-modal/mds-modal.js +4 -3
  447. package/dist/collection/components/mds-modal/pattern.md +2 -6
  448. package/dist/collection/components/mds-note/AGENTS.md +3 -5
  449. package/dist/collection/components/mds-note/documentation.json +18 -8
  450. package/dist/collection/components/mds-note/mds-note.css +2 -2
  451. package/dist/collection/components/mds-note/mds-note.js +2 -1
  452. package/dist/collection/components/mds-note/pattern.md +1 -3
  453. package/dist/collection/components/mds-notification/AGENTS.md +3 -11
  454. package/dist/collection/components/mds-notification/antipattern.md +2 -2
  455. package/dist/collection/components/mds-notification/documentation.json +33 -16
  456. package/dist/collection/components/mds-notification/mds-notification.css +2 -2
  457. package/dist/collection/components/mds-notification/mds-notification.js +4 -1
  458. package/dist/collection/components/mds-notification/pattern.md +3 -5
  459. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  460. package/dist/collection/components/mds-paginator/documentation.json +12 -5
  461. package/dist/collection/components/mds-paginator/mds-paginator.css +2 -2
  462. package/dist/collection/components/mds-paginator/mds-paginator.js +4 -1
  463. package/dist/collection/components/mds-paginator/pattern.md +1 -3
  464. package/dist/collection/components/mds-paginator-item/AGENTS.md +3 -10
  465. package/dist/collection/components/mds-paginator-item/documentation.json +34 -16
  466. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +5 -5
  467. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -1
  468. package/dist/collection/components/mds-paginator-item/pattern.md +5 -6
  469. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  470. package/dist/collection/components/mds-policy-ai/documentation.json +6 -2
  471. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +2 -1
  472. package/dist/collection/components/mds-policy-ai/pattern.md +4 -4
  473. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  474. package/dist/collection/components/mds-pref/documentation.json +5 -5
  475. package/dist/collection/components/mds-pref/mds-pref.js +2 -2
  476. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  477. package/dist/collection/components/mds-pref-animation/documentation.json +7 -2
  478. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +4 -1
  479. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  480. package/dist/collection/components/mds-pref-consumption/documentation.json +7 -2
  481. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +4 -1
  482. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  483. package/dist/collection/components/mds-pref-contrast/documentation.json +7 -2
  484. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +4 -1
  485. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  486. package/dist/collection/components/mds-pref-language/documentation.json +5 -1
  487. package/dist/collection/components/mds-pref-language/mds-pref-language.js +2 -1
  488. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  489. package/dist/collection/components/mds-pref-language-item/documentation.json +7 -2
  490. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +4 -1
  491. package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -3
  492. package/dist/collection/components/mds-pref-mode/antipattern.md +1 -2
  493. package/dist/collection/components/mds-pref-mode/documentation.json +15 -7
  494. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +1 -1
  495. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +4 -1
  496. package/dist/collection/components/mds-pref-mode/pattern.md +1 -3
  497. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  498. package/dist/collection/components/mds-pref-theme/documentation.json +6 -2
  499. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +2 -1
  500. package/dist/collection/components/mds-pref-theme/pattern.md +1 -2
  501. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +3 -5
  502. package/dist/collection/components/mds-pref-theme-item/antipattern.md +1 -2
  503. package/dist/collection/components/mds-pref-theme-item/documentation.json +19 -9
  504. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +1 -1
  505. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +4 -1
  506. package/dist/collection/components/mds-pref-theme-item/pattern.md +2 -6
  507. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  508. package/dist/collection/components/mds-price-table/documentation.json +6 -2
  509. package/dist/collection/components/mds-price-table/mds-price-table.js +2 -1
  510. package/dist/collection/components/mds-price-table/pattern.md +4 -4
  511. package/dist/collection/components/mds-price-table-features/AGENTS.md +4 -3
  512. package/dist/collection/components/mds-price-table-features/antipattern.md +0 -1
  513. package/dist/collection/components/mds-price-table-features/documentation.json +12 -6
  514. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +1 -1
  515. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -1
  516. package/dist/collection/components/mds-price-table-features/pattern.md +2 -3
  517. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +3 -6
  518. package/dist/collection/components/mds-price-table-features-cell/antipattern.md +3 -3
  519. package/dist/collection/components/mds-price-table-features-cell/documentation.json +19 -9
  520. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +1 -1
  521. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -1
  522. package/dist/collection/components/mds-price-table-features-cell/pattern.md +1 -6
  523. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +3 -3
  524. package/dist/collection/components/mds-price-table-features-row/documentation.json +14 -6
  525. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +2 -2
  526. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +2 -1
  527. package/dist/collection/components/mds-price-table-features-row/pattern.md +1 -3
  528. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  529. package/dist/collection/components/mds-price-table-header/documentation.json +5 -1
  530. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +2 -1
  531. package/dist/collection/components/mds-price-table-list/AGENTS.md +3 -5
  532. package/dist/collection/components/mds-price-table-list/antipattern.md +1 -4
  533. package/dist/collection/components/mds-price-table-list/documentation.json +10 -5
  534. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -1
  535. package/dist/collection/components/mds-price-table-list/pattern.md +12 -7
  536. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +2 -6
  537. package/dist/collection/components/mds-price-table-list-item/antipattern.md +1 -5
  538. package/dist/collection/components/mds-price-table-list-item/documentation.json +13 -6
  539. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +2 -1
  540. package/dist/collection/components/mds-price-table-list-item/pattern.md +7 -4
  541. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  542. package/dist/collection/components/mds-progress/documentation.json +15 -6
  543. package/dist/collection/components/mds-progress/mds-progress.css +5 -5
  544. package/dist/collection/components/mds-progress/mds-progress.js +2 -1
  545. package/dist/collection/components/mds-push-notification/AGENTS.md +4 -7
  546. package/dist/collection/components/mds-push-notification/antipattern.md +2 -2
  547. package/dist/collection/components/mds-push-notification/documentation.json +24 -12
  548. package/dist/collection/components/mds-push-notification/mds-push-notification.css +11 -11
  549. package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -1
  550. package/dist/collection/components/mds-push-notification/pattern.md +2 -5
  551. package/dist/collection/components/mds-push-notification-item/AGENTS.md +3 -5
  552. package/dist/collection/components/mds-push-notification-item/documentation.json +20 -9
  553. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +3 -3
  554. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +3 -2
  555. package/dist/collection/components/mds-push-notification-item/pattern.md +1 -3
  556. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  557. package/dist/collection/components/mds-quote/documentation.json +5 -1
  558. package/dist/collection/components/mds-quote/mds-quote.js +2 -1
  559. package/dist/collection/components/mds-radial-menu/AGENTS.md +4 -11
  560. package/dist/collection/components/mds-radial-menu/documentation.json +31 -15
  561. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +3 -3
  562. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +2 -1
  563. package/dist/collection/components/mds-radial-menu/pattern.md +2 -6
  564. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +2 -5
  565. package/dist/collection/components/mds-radial-menu-item/antipattern.md +7 -5
  566. package/dist/collection/components/mds-radial-menu-item/documentation.json +13 -6
  567. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +4 -1
  568. package/dist/collection/components/mds-radial-menu-item/pattern.md +6 -8
  569. package/dist/collection/components/mds-radial-progress/AGENTS.md +3 -3
  570. package/dist/collection/components/mds-radial-progress/documentation.json +15 -6
  571. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +3 -3
  572. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +2 -1
  573. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  574. package/dist/collection/components/mds-separator/documentation.json +9 -3
  575. package/dist/collection/components/mds-separator/mds-separator.css +1 -1
  576. package/dist/collection/components/mds-separator/mds-separator.js +4 -1
  577. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  578. package/dist/collection/components/mds-spinner/documentation.json +9 -3
  579. package/dist/collection/components/mds-spinner/mds-spinner.css +1 -1
  580. package/dist/collection/components/mds-spinner/mds-spinner.js +4 -1
  581. package/dist/collection/components/mds-status-bar/AGENTS.md +3 -3
  582. package/dist/collection/components/mds-status-bar/antipattern.md +0 -1
  583. package/dist/collection/components/mds-status-bar/documentation.json +13 -6
  584. package/dist/collection/components/mds-status-bar/mds-status-bar.css +1 -1
  585. package/dist/collection/components/mds-status-bar/mds-status-bar.js +2 -1
  586. package/dist/collection/components/mds-status-bar/pattern.md +1 -3
  587. package/dist/collection/components/mds-stepper-bar/AGENTS.md +3 -7
  588. package/dist/collection/components/mds-stepper-bar/documentation.json +22 -10
  589. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +2 -2
  590. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +2 -1
  591. package/dist/collection/components/mds-stepper-bar/pattern.md +2 -6
  592. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +3 -11
  593. package/dist/collection/components/mds-stepper-bar-item/antipattern.md +3 -3
  594. package/dist/collection/components/mds-stepper-bar-item/documentation.json +31 -15
  595. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +2 -2
  596. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +2 -1
  597. package/dist/collection/components/mds-stepper-bar-item/pattern.md +2 -5
  598. package/dist/collection/components/mds-tab/AGENTS.md +3 -27
  599. package/dist/collection/components/mds-tab/antipattern.md +1 -3
  600. package/dist/collection/components/mds-tab/documentation.json +67 -33
  601. package/dist/collection/components/mds-tab/mds-tab.css +5 -5
  602. package/dist/collection/components/mds-tab/mds-tab.js +3 -2
  603. package/dist/collection/components/mds-tab/pattern.md +3 -13
  604. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  605. package/dist/collection/components/mds-tab-bar/antipattern.md +2 -2
  606. package/dist/collection/components/mds-tab-bar/documentation.json +7 -3
  607. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -1
  608. package/dist/collection/components/mds-tab-bar/pattern.md +3 -3
  609. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +4 -4
  610. package/dist/collection/components/mds-tab-bar-item/documentation.json +15 -7
  611. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +2 -2
  612. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +2 -1
  613. package/dist/collection/components/mds-tab-bar-item/pattern.md +1 -3
  614. package/dist/collection/components/mds-tab-item/AGENTS.md +2 -8
  615. package/dist/collection/components/mds-tab-item/antipattern.md +3 -3
  616. package/dist/collection/components/mds-tab-item/documentation.json +17 -8
  617. package/dist/collection/components/mds-tab-item/mds-tab-item.js +2 -1
  618. package/dist/collection/components/mds-tab-item/pattern.md +6 -5
  619. package/dist/collection/components/mds-table/AGENTS.md +3 -7
  620. package/dist/collection/components/mds-table/documentation.json +24 -11
  621. package/dist/collection/components/mds-table/mds-table.css +3 -3
  622. package/dist/collection/components/mds-table/mds-table.js +2 -1
  623. package/dist/collection/components/mds-table/pattern.md +2 -6
  624. package/dist/collection/components/mds-table-body/AGENTS.md +3 -4
  625. package/dist/collection/components/mds-table-body/antipattern.md +1 -2
  626. package/dist/collection/components/mds-table-body/documentation.json +17 -8
  627. package/dist/collection/components/mds-table-body/mds-table-body.css +2 -2
  628. package/dist/collection/components/mds-table-body/mds-table-body.js +2 -1
  629. package/dist/collection/components/mds-table-body/pattern.md +1 -4
  630. package/dist/collection/components/mds-table-cell/AGENTS.md +4 -4
  631. package/dist/collection/components/mds-table-cell/antipattern.md +1 -1
  632. package/dist/collection/components/mds-table-cell/documentation.json +16 -8
  633. package/dist/collection/components/mds-table-cell/mds-table-cell.css +2 -2
  634. package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -1
  635. package/dist/collection/components/mds-table-cell/pattern.md +1 -7
  636. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  637. package/dist/collection/components/mds-table-footer/antipattern.md +2 -2
  638. package/dist/collection/components/mds-table-footer/documentation.json +7 -3
  639. package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -1
  640. package/dist/collection/components/mds-table-footer/pattern.md +2 -4
  641. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  642. package/dist/collection/components/mds-table-header/documentation.json +5 -1
  643. package/dist/collection/components/mds-table-header/mds-table-header.js +2 -1
  644. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  645. package/dist/collection/components/mds-table-header-cell/documentation.json +5 -1
  646. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +2 -1
  647. package/dist/collection/components/mds-table-row/AGENTS.md +2 -8
  648. package/dist/collection/components/mds-table-row/antipattern.md +4 -5
  649. package/dist/collection/components/mds-table-row/documentation.json +17 -8
  650. package/dist/collection/components/mds-table-row/mds-table-row.js +4 -3
  651. package/dist/collection/components/mds-table-row/pattern.md +5 -8
  652. package/dist/collection/components/mds-text/AGENTS.md +3 -3
  653. package/dist/collection/components/mds-text/antipattern.md +1 -2
  654. package/dist/collection/components/mds-text/documentation.json +17 -8
  655. package/dist/collection/components/mds-text/mds-text.css +3 -3
  656. package/dist/collection/components/mds-text/mds-text.js +2 -1
  657. package/dist/collection/components/mds-text/pattern.md +0 -11
  658. package/dist/collection/components/mds-toast/AGENTS.md +3 -3
  659. package/dist/collection/components/mds-toast/antipattern.md +2 -2
  660. package/dist/collection/components/mds-toast/documentation.json +19 -9
  661. package/dist/collection/components/mds-toast/mds-toast.css +4 -4
  662. package/dist/collection/components/mds-toast/mds-toast.js +2 -1
  663. package/dist/collection/components/mds-toast/pattern.md +2 -3
  664. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  665. package/dist/collection/components/mds-toast-region/documentation.json +7 -2
  666. package/dist/collection/components/mds-toast-region/mds-toast-region.css +1 -1
  667. package/dist/collection/components/mds-toast-region/mds-toast-region.js +2 -1
  668. package/dist/collection/components/mds-tooltip/AGENTS.md +3 -8
  669. package/dist/collection/components/mds-tooltip/antipattern.md +1 -1
  670. package/dist/collection/components/mds-tooltip/documentation.json +27 -13
  671. package/dist/collection/components/mds-tooltip/mds-tooltip.css +5 -5
  672. package/dist/collection/components/mds-tooltip/mds-tooltip.js +2 -1
  673. package/dist/collection/components/mds-tooltip/pattern.md +1 -3
  674. package/dist/collection/components/mds-tree/AGENTS.md +3 -28
  675. package/dist/collection/components/mds-tree/antipattern.md +3 -4
  676. package/dist/collection/components/mds-tree/documentation.json +63 -31
  677. package/dist/collection/components/mds-tree/mds-tree.css +1 -1
  678. package/dist/collection/components/mds-tree/mds-tree.js +2 -1
  679. package/dist/collection/components/mds-tree/pattern.md +3 -9
  680. package/dist/collection/components/mds-tree-item/AGENTS.md +2 -33
  681. package/dist/collection/components/mds-tree-item/antipattern.md +1 -5
  682. package/dist/collection/components/mds-tree-item/documentation.json +67 -33
  683. package/dist/collection/components/mds-tree-item/mds-tree-item.js +2 -1
  684. package/dist/collection/components/mds-tree-item/pattern.md +5 -10
  685. package/dist/collection/components/mds-url-view/AGENTS.md +3 -2
  686. package/dist/collection/components/mds-url-view/antipattern.md +1 -2
  687. package/dist/collection/components/mds-url-view/documentation.json +19 -9
  688. package/dist/collection/components/mds-url-view/mds-url-view.css +4 -4
  689. package/dist/collection/components/mds-url-view/mds-url-view.js +4 -1
  690. package/dist/collection/components/mds-url-view/pattern.md +1 -2
  691. package/dist/collection/components/mds-usage/AGENTS.md +2 -6
  692. package/dist/collection/components/mds-usage/antipattern.md +6 -4
  693. package/dist/collection/components/mds-usage/documentation.json +13 -6
  694. package/dist/collection/components/mds-usage/mds-usage.js +2 -1
  695. package/dist/collection/components/mds-usage/pattern.md +10 -6
  696. package/dist/collection/components/mds-video-wall/AGENTS.md +3 -4
  697. package/dist/collection/components/mds-video-wall/antipattern.md +5 -5
  698. package/dist/collection/components/mds-video-wall/documentation.json +15 -7
  699. package/dist/collection/components/mds-video-wall/mds-video-wall.css +1 -1
  700. package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -1
  701. package/dist/collection/components/mds-video-wall/pattern.md +2 -4
  702. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  703. package/dist/collection/components/mds-zero/antipattern.md +6 -6
  704. package/dist/collection/components/mds-zero/documentation.json +9 -4
  705. package/dist/collection/components/mds-zero/mds-zero.css +1 -1
  706. package/dist/collection/components/mds-zero/mds-zero.js +2 -1
  707. package/dist/collection/components/mds-zero/pattern.md +3 -3
  708. package/dist/components/index.d.ts +2 -0
  709. package/dist/components/index.js +1 -1
  710. package/dist/components/mds-accordion-item.js +1 -1
  711. package/dist/components/mds-accordion-timer-item.js +1 -1
  712. package/dist/components/mds-accordion-timer.js +1 -1
  713. package/dist/components/mds-accordion.js +1 -1
  714. package/dist/components/mds-author.js +1 -1
  715. package/dist/components/mds-avatar-stack-item.js +1 -1
  716. package/dist/components/mds-avatar-stack.js +1 -1
  717. package/dist/components/mds-avatar.js +1 -1
  718. package/dist/components/mds-badge.js +1 -1
  719. package/dist/components/mds-banner.js +1 -1
  720. package/dist/components/mds-benchmark-bar.js +1 -1
  721. package/dist/components/mds-bibliography.js +1 -1
  722. package/dist/components/mds-book.d.ts +11 -0
  723. package/dist/components/mds-book.js +1 -0
  724. package/dist/components/mds-breadcrumb-item.js +1 -1
  725. package/dist/components/mds-breadcrumb.js +1 -1
  726. package/dist/components/mds-button-dropdown.js +1 -1
  727. package/dist/components/mds-button-group.js +1 -1
  728. package/dist/components/mds-button.js +1 -1
  729. package/dist/components/mds-calendar-cell.js +1 -1
  730. package/dist/components/mds-calendar.js +1 -1
  731. package/dist/components/mds-card-content.js +1 -1
  732. package/dist/components/mds-card-footer.js +1 -1
  733. package/dist/components/mds-card-header.js +1 -1
  734. package/dist/components/mds-card-media.js +1 -1
  735. package/dist/components/mds-card.js +1 -1
  736. package/dist/components/mds-chip.js +1 -1
  737. package/dist/components/mds-details.js +1 -1
  738. package/dist/components/mds-dropdown.js +1 -1
  739. package/dist/components/mds-emoji.js +2 -2
  740. package/dist/components/mds-entity.js +1 -1
  741. package/dist/components/mds-file-preview.js +1 -1
  742. package/dist/components/mds-file.js +1 -1
  743. package/dist/components/mds-filter-item.js +1 -1
  744. package/dist/components/mds-filter.js +1 -1
  745. package/dist/components/mds-header-bar.js +1 -1
  746. package/dist/components/mds-header.js +1 -1
  747. package/dist/components/mds-help.js +1 -1
  748. package/dist/components/mds-horizontal-scroll.js +1 -1
  749. package/dist/components/mds-hr.js +1 -1
  750. package/dist/components/mds-icon.js +1 -1
  751. package/dist/components/mds-img.js +1 -1
  752. package/dist/components/mds-input-date-range-preselection.js +1 -1
  753. package/dist/components/mds-input-date-range.js +1 -1
  754. package/dist/components/mds-input-date.js +1 -1
  755. package/dist/components/mds-input-field.js +1 -1
  756. package/dist/components/mds-input-otp.js +1 -1
  757. package/dist/components/mds-input-range.js +1 -1
  758. package/dist/components/mds-input-select.js +1 -1
  759. package/dist/components/mds-input-switch.js +1 -1
  760. package/dist/components/mds-input-tip-item.js +1 -1
  761. package/dist/components/mds-input-tip.js +1 -1
  762. package/dist/components/mds-input-upload.js +1 -1
  763. package/dist/components/mds-input.js +1 -1
  764. package/dist/components/mds-keyboard-key.js +1 -1
  765. package/dist/components/mds-keyboard.js +1 -1
  766. package/dist/components/mds-kpi-item.js +1 -1
  767. package/dist/components/mds-kpi.js +1 -1
  768. package/dist/components/mds-label.js +1 -1
  769. package/dist/components/mds-link.js +1 -1
  770. package/dist/components/mds-list-item.js +1 -1
  771. package/dist/components/mds-list.js +1 -1
  772. package/dist/components/mds-mention.js +1 -1
  773. package/dist/components/mds-modal.js +1 -1
  774. package/dist/components/mds-note.js +1 -1
  775. package/dist/components/mds-notification.js +1 -1
  776. package/dist/components/mds-paginator-item.js +1 -1
  777. package/dist/components/mds-paginator.js +1 -1
  778. package/dist/components/mds-policy-ai.js +1 -1
  779. package/dist/components/mds-pref-animation.js +1 -1
  780. package/dist/components/mds-pref-consumption.js +1 -1
  781. package/dist/components/mds-pref-contrast.js +1 -1
  782. package/dist/components/mds-pref-language-item.js +1 -1
  783. package/dist/components/mds-pref-language.js +1 -1
  784. package/dist/components/mds-pref-mode.js +1 -1
  785. package/dist/components/mds-pref-theme-item.js +1 -1
  786. package/dist/components/mds-pref-theme.js +1 -1
  787. package/dist/components/mds-pref.js +1 -1
  788. package/dist/components/mds-price-table-features-cell.js +1 -1
  789. package/dist/components/mds-price-table-features-row.js +1 -1
  790. package/dist/components/mds-price-table-features.js +1 -1
  791. package/dist/components/mds-price-table-header.js +1 -1
  792. package/dist/components/mds-price-table-list-item.js +1 -1
  793. package/dist/components/mds-price-table-list.js +1 -1
  794. package/dist/components/mds-price-table.js +1 -1
  795. package/dist/components/mds-progress.js +1 -1
  796. package/dist/components/mds-push-notification-item.js +1 -1
  797. package/dist/components/mds-push-notification.js +1 -1
  798. package/dist/components/mds-quote.js +1 -1
  799. package/dist/components/mds-radial-menu-item.js +1 -1
  800. package/dist/components/mds-radial-menu.js +1 -1
  801. package/dist/components/mds-radial-progress.js +1 -1
  802. package/dist/components/mds-separator.js +1 -1
  803. package/dist/components/mds-spinner.js +1 -1
  804. package/dist/components/mds-status-bar.js +1 -1
  805. package/dist/components/mds-stepper-bar-item.js +1 -1
  806. package/dist/components/mds-stepper-bar.js +1 -1
  807. package/dist/components/mds-tab-bar-item.js +1 -1
  808. package/dist/components/mds-tab-bar.js +1 -1
  809. package/dist/components/mds-tab-item.js +1 -1
  810. package/dist/components/mds-tab.js +1 -1
  811. package/dist/components/mds-table-body.js +1 -1
  812. package/dist/components/mds-table-cell.js +1 -1
  813. package/dist/components/mds-table-footer.js +1 -1
  814. package/dist/components/mds-table-header-cell.js +1 -1
  815. package/dist/components/mds-table-header.js +1 -1
  816. package/dist/components/mds-table-row.js +1 -1
  817. package/dist/components/mds-table.js +1 -1
  818. package/dist/components/mds-text.js +1 -1
  819. package/dist/components/mds-toast-region.js +1 -1
  820. package/dist/components/mds-toast.js +1 -1
  821. package/dist/components/mds-tooltip.js +1 -1
  822. package/dist/components/mds-tree-item.js +1 -1
  823. package/dist/components/mds-tree.js +1 -1
  824. package/dist/components/mds-url-view.js +1 -1
  825. package/dist/components/mds-usage.js +1 -1
  826. package/dist/components/mds-video-wall.js +1 -1
  827. package/dist/components/mds-zero.js +1 -1
  828. package/dist/components/p-B8hgyXdE.js +1 -0
  829. package/dist/components/{p-DkUdrGHq.js → p-BBO_llcO.js} +1 -1
  830. package/dist/components/{p-D0A8gS-P.js → p-BM7joOdq.js} +1 -1
  831. package/dist/components/{p-DNeEn8Rr.js → p-BMIaZ4HY.js} +1 -1
  832. package/dist/components/{p-BwJQB6rG.js → p-BOJQ3tkp.js} +1 -1
  833. package/dist/components/{p-CJYY4da7.js → p-BU1O2DcC.js} +1 -1
  834. package/dist/components/{p-CaROqeeK.js → p-Bo6ezD1p.js} +1 -1
  835. package/dist/components/p-C0H8bZpf.js +1 -0
  836. package/dist/components/{p-s1CktmPS.js → p-C1YH20BL.js} +1 -1
  837. package/dist/components/{p-Cmn1DJAB.js → p-CEw7GvM-.js} +1 -1
  838. package/dist/components/{p-D-DdDIb9.js → p-CNUWS_Mg.js} +1 -1
  839. package/dist/components/{p-DucY18_e.js → p-CNpL55c-.js} +1 -1
  840. package/dist/components/{p-DnySYX0L.js → p-CV7wjM1c.js} +1 -1
  841. package/dist/components/{p-BU3bsIX2.js → p-CWSIl1jl.js} +1 -1
  842. package/dist/components/{p-DFD4E9zJ.js → p-CYK2Xr_v.js} +1 -1
  843. package/dist/components/p-Czqtt8kO.js +1 -0
  844. package/dist/components/{p-Dm-OUwDe.js → p-DD2muCqG.js} +1 -1
  845. package/dist/components/{p-ZuubAcA3.js → p-DDTJwlAd.js} +1 -1
  846. package/dist/components/{p-5lLueiFt.js → p-DJ401QTd.js} +1 -1
  847. package/dist/components/{p-BbK4qeM7.js → p-DMyL4CYh.js} +1 -1
  848. package/dist/components/{p-Cu5nEwMu.js → p-DbVGGhs_.js} +1 -1
  849. package/dist/components/{p-C4XdTZQ-.js → p-DccBbfK8.js} +1 -1
  850. package/dist/components/{p-BbgQG1UL.js → p-H0YXZ5fD.js} +2 -2
  851. package/dist/components/{p-yNPPTJ7i.js → p-IaXq1Xsc.js} +1 -1
  852. package/dist/components/{p-ClPv-Ljc.js → p-M8dGB4KH.js} +1 -1
  853. package/dist/components/{p-CPvuXO7s.js → p-TNn_HE5x.js} +1 -1
  854. package/dist/components/{p-CNF3u0Li.js → p-aujz-VM9.js} +1 -1
  855. package/dist/components/{p-CSxW5f2f.js → p-e9NGNm7d.js} +1 -1
  856. package/dist/components/{p-DkYDXDkD.js → p-kZBPId_x.js} +1 -1
  857. package/dist/components/{p-BO-jHv-F.js → p-qnCVkeGX.js} +1 -1
  858. package/dist/documentation.json +2613 -918
  859. package/dist/esm/index-CvLLN-QH.js +4 -0
  860. package/dist/esm/loader.js +1 -1
  861. package/dist/esm/magma-components.js +1 -1
  862. package/dist/esm/mds-accordion-item.entry.js +1 -1
  863. package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
  864. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  865. package/dist/esm/mds-accordion.entry.js +1 -1
  866. package/dist/esm/mds-author.entry.js +1 -1
  867. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  868. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  869. package/dist/esm/mds-avatar.entry.js +1 -1
  870. package/dist/esm/mds-badge.entry.js +1 -1
  871. package/dist/esm/mds-banner_3.entry.js +3 -3
  872. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  873. package/dist/esm/mds-bibliography.entry.js +1 -1
  874. package/dist/esm/mds-book.entry.js +701 -0
  875. package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
  876. package/dist/esm/mds-breadcrumb.entry.js +1 -1
  877. package/dist/esm/mds-button-dropdown.entry.js +1 -1
  878. package/dist/esm/mds-button-group.entry.js +1 -1
  879. package/dist/esm/mds-button_3.entry.js +6 -6
  880. package/dist/esm/mds-calendar_2.entry.js +6 -6
  881. package/dist/esm/mds-card-content.entry.js +1 -1
  882. package/dist/esm/mds-card-footer.entry.js +1 -1
  883. package/dist/esm/mds-card-header.entry.js +1 -1
  884. package/dist/esm/mds-card-media.entry.js +1 -1
  885. package/dist/esm/mds-card.entry.js +1 -1
  886. package/dist/esm/mds-details.entry.js +1 -1
  887. package/dist/esm/mds-dropdown.entry.js +2 -2
  888. package/dist/esm/mds-emoji.entry.js +1 -1
  889. package/dist/esm/mds-entity.entry.js +1 -1
  890. package/dist/esm/mds-file-preview.entry.js +2 -2
  891. package/dist/esm/mds-file.entry.js +1 -1
  892. package/dist/esm/mds-filter-item.entry.js +1 -1
  893. package/dist/esm/mds-filter.entry.js +1 -1
  894. package/dist/esm/mds-header-bar.entry.js +1 -1
  895. package/dist/esm/mds-header.entry.js +2 -2
  896. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  897. package/dist/esm/mds-hr.entry.js +1 -1
  898. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  899. package/dist/esm/mds-input-date-range.entry.js +2 -2
  900. package/dist/esm/mds-input-date.entry.js +2 -2
  901. package/dist/esm/mds-input-field.entry.js +1 -1
  902. package/dist/esm/mds-input-otp.entry.js +1 -1
  903. package/dist/esm/mds-input-range.entry.js +1 -1
  904. package/dist/esm/mds-input-select.entry.js +2 -2
  905. package/dist/esm/mds-input-switch_2.entry.js +2 -2
  906. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  907. package/dist/esm/mds-input-upload.entry.js +5 -5
  908. package/dist/esm/mds-input.entry.js +2 -2
  909. package/dist/esm/mds-keyboard-key.entry.js +2 -2
  910. package/dist/esm/mds-keyboard.entry.js +2 -2
  911. package/dist/esm/mds-kpi-item.entry.js +1 -1
  912. package/dist/esm/mds-kpi.entry.js +1 -1
  913. package/dist/esm/mds-label.entry.js +1 -1
  914. package/dist/esm/mds-link.entry.js +3 -3
  915. package/dist/esm/mds-list-item.entry.js +1 -1
  916. package/dist/esm/mds-list.entry.js +1 -1
  917. package/dist/esm/mds-mention.entry.js +1 -1
  918. package/dist/esm/mds-modal.entry.js +3 -3
  919. package/dist/esm/mds-note.entry.js +1 -1
  920. package/dist/esm/mds-notification.entry.js +1 -1
  921. package/dist/esm/mds-paginator-item.entry.js +1 -1
  922. package/dist/esm/mds-paginator.entry.js +1 -1
  923. package/dist/esm/mds-policy-ai.entry.js +1 -1
  924. package/dist/esm/mds-pref-animation.entry.js +1 -1
  925. package/dist/esm/mds-pref-consumption.entry.js +1 -1
  926. package/dist/esm/mds-pref-contrast.entry.js +1 -1
  927. package/dist/esm/mds-pref-language-item.entry.js +1 -1
  928. package/dist/esm/mds-pref-language.entry.js +1 -1
  929. package/dist/esm/mds-pref-mode.entry.js +1 -1
  930. package/dist/esm/mds-pref-theme-item.entry.js +1 -1
  931. package/dist/esm/mds-pref-theme.entry.js +1 -1
  932. package/dist/esm/mds-pref.entry.js +1 -1
  933. package/dist/esm/mds-price-table-features-cell.entry.js +1 -1
  934. package/dist/esm/mds-price-table-features-row.entry.js +1 -1
  935. package/dist/esm/mds-price-table-features.entry.js +1 -1
  936. package/dist/esm/mds-price-table-header.entry.js +1 -1
  937. package/dist/esm/mds-price-table-list-item.entry.js +1 -1
  938. package/dist/esm/mds-price-table-list.entry.js +1 -1
  939. package/dist/esm/mds-price-table.entry.js +1 -1
  940. package/dist/esm/mds-progress_2.entry.js +2 -2
  941. package/dist/esm/mds-push-notification-item.entry.js +2 -2
  942. package/dist/esm/mds-push-notification.entry.js +2 -2
  943. package/dist/esm/mds-quote.entry.js +1 -1
  944. package/dist/esm/mds-radial-menu-item.entry.js +1 -1
  945. package/dist/esm/mds-radial-menu.entry.js +1 -1
  946. package/dist/esm/mds-separator.entry.js +1 -1
  947. package/dist/esm/mds-status-bar.entry.js +1 -1
  948. package/dist/esm/mds-stepper-bar-item.entry.js +1 -1
  949. package/dist/esm/mds-stepper-bar.entry.js +1 -1
  950. package/dist/esm/mds-tab-bar-item.entry.js +1 -1
  951. package/dist/esm/mds-tab-bar.entry.js +1 -1
  952. package/dist/esm/mds-tab_2.entry.js +4 -4
  953. package/dist/esm/mds-table-body.entry.js +1 -1
  954. package/dist/esm/mds-table-footer.entry.js +1 -1
  955. package/dist/esm/mds-table-header-cell.entry.js +1 -1
  956. package/dist/esm/mds-table-header.entry.js +1 -1
  957. package/dist/esm/mds-table-row.entry.js +2 -2
  958. package/dist/esm/mds-table.entry.js +1 -1
  959. package/dist/esm/mds-text.entry.js +1 -1
  960. package/dist/esm/mds-toast-region.entry.js +1 -1
  961. package/dist/esm/mds-toast.entry.js +1 -1
  962. package/dist/esm/mds-tooltip.entry.js +2 -2
  963. package/dist/esm/mds-tree-item.entry.js +1 -1
  964. package/dist/esm/mds-tree.entry.js +1 -1
  965. package/dist/esm/mds-url-view.entry.js +1 -1
  966. package/dist/esm/mds-usage.entry.js +1 -1
  967. package/dist/esm/mds-video-wall.entry.js +1 -1
  968. package/dist/esm/mds-zero.entry.js +1 -1
  969. package/dist/esm-es5/index-CvLLN-QH.js +8 -6
  970. package/dist/esm-es5/loader.js +1 -1
  971. package/dist/esm-es5/magma-components.js +2 -2
  972. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  973. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  974. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  975. package/dist/esm-es5/mds-accordion.entry.js +2 -2
  976. package/dist/esm-es5/mds-author.entry.js +1 -1
  977. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  978. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  979. package/dist/esm-es5/mds-avatar.entry.js +5 -5
  980. package/dist/esm-es5/mds-badge.entry.js +1 -1
  981. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  982. package/dist/esm-es5/mds-benchmark-bar.entry.js +3 -3
  983. package/dist/esm-es5/mds-bibliography.entry.js +2 -2
  984. package/dist/esm-es5/mds-book.entry.js +207 -0
  985. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  986. package/dist/esm-es5/mds-breadcrumb.entry.js +4 -4
  987. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  988. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  989. package/dist/esm-es5/mds-button_3.entry.js +5 -5
  990. package/dist/esm-es5/mds-calendar_2.entry.js +3 -3
  991. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  992. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  993. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  994. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  995. package/dist/esm-es5/mds-card.entry.js +1 -1
  996. package/dist/esm-es5/mds-details.entry.js +1 -1
  997. package/dist/esm-es5/mds-dropdown.entry.js +1 -1
  998. package/dist/esm-es5/mds-emoji.entry.js +1 -1
  999. package/dist/esm-es5/mds-entity.entry.js +1 -1
  1000. package/dist/esm-es5/mds-file-preview.entry.js +3 -3
  1001. package/dist/esm-es5/mds-file.entry.js +1 -1
  1002. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  1003. package/dist/esm-es5/mds-filter.entry.js +1 -1
  1004. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  1005. package/dist/esm-es5/mds-header.entry.js +2 -2
  1006. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  1007. package/dist/esm-es5/mds-hr.entry.js +1 -1
  1008. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  1009. package/dist/esm-es5/mds-input-date-range.entry.js +2 -2
  1010. package/dist/esm-es5/mds-input-date.entry.js +2 -2
  1011. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  1012. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  1013. package/dist/esm-es5/mds-input-range.entry.js +1 -1
  1014. package/dist/esm-es5/mds-input-select.entry.js +1 -1
  1015. package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
  1016. package/dist/esm-es5/mds-input-tip_2.entry.js +2 -2
  1017. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  1018. package/dist/esm-es5/mds-input.entry.js +1 -1
  1019. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  1020. package/dist/esm-es5/mds-keyboard.entry.js +2 -2
  1021. package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
  1022. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  1023. package/dist/esm-es5/mds-label.entry.js +1 -1
  1024. package/dist/esm-es5/mds-link.entry.js +1 -1
  1025. package/dist/esm-es5/mds-list-item.entry.js +1 -1
  1026. package/dist/esm-es5/mds-list.entry.js +1 -1
  1027. package/dist/esm-es5/mds-mention.entry.js +2 -2
  1028. package/dist/esm-es5/mds-modal.entry.js +1 -1
  1029. package/dist/esm-es5/mds-note.entry.js +1 -1
  1030. package/dist/esm-es5/mds-notification.entry.js +1 -1
  1031. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  1032. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  1033. package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
  1034. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  1035. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  1036. package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
  1037. package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
  1038. package/dist/esm-es5/mds-pref-language.entry.js +1 -1
  1039. package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
  1040. package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
  1041. package/dist/esm-es5/mds-pref-theme.entry.js +6 -6
  1042. package/dist/esm-es5/mds-pref.entry.js +1 -1
  1043. package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
  1044. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  1045. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  1046. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  1047. package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
  1048. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  1049. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  1050. package/dist/esm-es5/mds-progress_2.entry.js +2 -2
  1051. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  1052. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  1053. package/dist/esm-es5/mds-quote.entry.js +1 -1
  1054. package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
  1055. package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
  1056. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1057. package/dist/esm-es5/mds-status-bar.entry.js +1 -1
  1058. package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
  1059. package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
  1060. package/dist/esm-es5/mds-tab-bar-item.entry.js +1 -1
  1061. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  1062. package/dist/esm-es5/mds-tab_2.entry.js +3 -3
  1063. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1064. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  1065. package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
  1066. package/dist/esm-es5/mds-table-header.entry.js +4 -4
  1067. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  1068. package/dist/esm-es5/mds-table.entry.js +2 -2
  1069. package/dist/esm-es5/mds-text.entry.js +1 -1
  1070. package/dist/esm-es5/mds-toast-region.entry.js +1 -1
  1071. package/dist/esm-es5/mds-toast.entry.js +1 -1
  1072. package/dist/esm-es5/mds-tooltip.entry.js +2 -2
  1073. package/dist/esm-es5/mds-tree-item.entry.js +1 -1
  1074. package/dist/esm-es5/mds-tree.entry.js +1 -1
  1075. package/dist/esm-es5/mds-url-view.entry.js +1 -1
  1076. package/dist/esm-es5/mds-usage.entry.js +1 -1
  1077. package/dist/esm-es5/mds-video-wall.entry.js +1 -1
  1078. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1079. package/dist/hydrate/index.js +1044 -156
  1080. package/dist/hydrate/index.mjs +1044 -156
  1081. package/dist/lint/core/checks.d.ts +40 -0
  1082. package/dist/lint/core/checks.js +143 -0
  1083. package/dist/lint/core/colors.d.ts +2 -0
  1084. package/dist/lint/core/colors.js +40 -0
  1085. package/dist/lint/core/data.d.ts +90 -0
  1086. package/dist/lint/core/data.js +186 -0
  1087. package/dist/lint/core/element.d.ts +55 -0
  1088. package/dist/lint/core/element.js +19 -0
  1089. package/dist/lint/eslint/adapters.d.ts +55 -0
  1090. package/dist/lint/eslint/adapters.js +254 -0
  1091. package/dist/lint/eslint/index.d.ts +7 -0
  1092. package/dist/lint/eslint/index.js +87 -0
  1093. package/dist/lint/index.d.ts +4 -0
  1094. package/dist/lint/index.js +10 -0
  1095. package/dist/lint/mcp/checks.d.ts +15 -0
  1096. package/dist/lint/mcp/checks.js +443 -0
  1097. package/dist/lint/mcp/cli.d.ts +2 -0
  1098. package/dist/lint/mcp/cli.js +29 -0
  1099. package/dist/lint/mcp/color.d.ts +12 -0
  1100. package/dist/lint/mcp/color.js +87 -0
  1101. package/dist/lint/mcp/components.d.ts +5 -0
  1102. package/dist/lint/mcp/components.js +362 -0
  1103. package/dist/lint/mcp/context.d.ts +36 -0
  1104. package/dist/lint/mcp/context.js +98 -0
  1105. package/dist/lint/mcp/guides.d.ts +3 -0
  1106. package/dist/lint/mcp/guides.js +137 -0
  1107. package/dist/lint/mcp/icon.svg +11 -0
  1108. package/dist/lint/mcp/icons.d.ts +3 -0
  1109. package/dist/lint/mcp/icons.js +196 -0
  1110. package/dist/lint/mcp/protocol.d.ts +59 -0
  1111. package/dist/lint/mcp/protocol.js +111 -0
  1112. package/dist/lint/mcp/server.d.ts +37 -0
  1113. package/dist/lint/mcp/server.js +73 -0
  1114. package/dist/lint/mcp/tokens.d.ts +37 -0
  1115. package/dist/lint/mcp/tokens.js +629 -0
  1116. package/dist/lint/mcp/tools.json +962 -0
  1117. package/dist/lint/package.json +3 -0
  1118. package/dist/lint/stylelint/index.d.ts +3 -0
  1119. package/dist/lint/stylelint/index.js +203 -0
  1120. package/dist/lint/stylelint/recommended.d.ts +3 -0
  1121. package/dist/lint/stylelint/recommended.js +11 -0
  1122. package/dist/lint/stylelint/strict.d.ts +3 -0
  1123. package/dist/lint/stylelint/strict.js +11 -0
  1124. package/dist/magma-components/magma-components.esm.js +1 -1
  1125. package/dist/magma-components/{p-a8a0a9ba.entry.js → p-00aa9a51.entry.js} +1 -1
  1126. package/dist/magma-components/{p-62e94d78.system.entry.js → p-00acb2e1.system.entry.js} +2 -2
  1127. package/dist/magma-components/{p-4bc3335f.system.entry.js → p-037126b7.system.entry.js} +1 -1
  1128. package/dist/magma-components/{p-e5d41024.system.entry.js → p-03da0376.system.entry.js} +1 -1
  1129. package/dist/magma-components/{p-25a6e977.entry.js → p-0417391b.entry.js} +1 -1
  1130. package/dist/magma-components/{p-377d0661.entry.js → p-05ef91a5.entry.js} +1 -1
  1131. package/dist/magma-components/{p-7b300282.entry.js → p-07d35da6.entry.js} +1 -1
  1132. package/dist/magma-components/{p-f4d80d9a.entry.js → p-09c80fdb.entry.js} +1 -1
  1133. package/dist/magma-components/{p-5cfa0dce.entry.js → p-0b0ca53c.entry.js} +1 -1
  1134. package/dist/magma-components/{p-624a3909.system.entry.js → p-0babf674.system.entry.js} +3 -3
  1135. package/dist/magma-components/{p-b01118cc.entry.js → p-0d90c991.entry.js} +1 -1
  1136. package/dist/magma-components/{p-9745dc51.entry.js → p-103465cf.entry.js} +1 -1
  1137. package/dist/magma-components/{p-d608b79c.entry.js → p-10983da0.entry.js} +1 -1
  1138. package/dist/magma-components/{p-52d905fe.system.entry.js → p-109926ce.system.entry.js} +2 -2
  1139. package/dist/magma-components/{p-770b3c4b.entry.js → p-14b13850.entry.js} +1 -1
  1140. package/dist/magma-components/{p-b5cc09c7.system.entry.js → p-154ba354.system.entry.js} +2 -2
  1141. package/dist/magma-components/{p-f5a33058.entry.js → p-160cd923.entry.js} +1 -1
  1142. package/dist/magma-components/{p-5ef0fb69.system.entry.js → p-1685e74c.system.entry.js} +1 -1
  1143. package/dist/magma-components/p-1748ca8b.system.entry.js +1 -0
  1144. package/dist/magma-components/{p-c03fc4fe.system.entry.js → p-17a43cb6.system.entry.js} +2 -2
  1145. package/dist/magma-components/p-17ccfc01.system.entry.js +208 -0
  1146. package/dist/magma-components/{p-f0285a1e.system.entry.js → p-1b415625.system.entry.js} +3 -3
  1147. package/dist/magma-components/{p-3e18b181.system.entry.js → p-1b67b149.system.entry.js} +1 -1
  1148. package/dist/magma-components/p-1c00d0f7.entry.js +1 -0
  1149. package/dist/magma-components/{p-79f543fc.system.entry.js → p-1cd75adf.system.entry.js} +3 -3
  1150. package/dist/magma-components/{p-8f47eb63.system.entry.js → p-1d8485de.system.entry.js} +4 -4
  1151. package/dist/magma-components/{p-168d5fad.entry.js → p-2006cfeb.entry.js} +1 -1
  1152. package/dist/magma-components/{p-02fe26b4.system.entry.js → p-2216f207.system.entry.js} +2 -2
  1153. package/dist/magma-components/{p-edf003f1.system.entry.js → p-22f24125.system.entry.js} +1 -1
  1154. package/dist/magma-components/{p-6560b426.system.entry.js → p-25c07b67.system.entry.js} +1 -1
  1155. package/dist/magma-components/{p-e3a65644.entry.js → p-29fbb7cf.entry.js} +1 -1
  1156. package/dist/magma-components/{p-f7147d05.entry.js → p-2a26b614.entry.js} +1 -1
  1157. package/dist/magma-components/p-2a6c2a41.entry.js +1 -0
  1158. package/dist/magma-components/{p-06fde29d.entry.js → p-2c28056d.entry.js} +1 -1
  1159. package/dist/magma-components/{p-23722401.entry.js → p-2c5e5cd1.entry.js} +1 -1
  1160. package/dist/magma-components/{p-d92ccce5.system.entry.js → p-2c7d091e.system.entry.js} +3 -3
  1161. package/dist/magma-components/{p-3abaa053.entry.js → p-2c997b47.entry.js} +1 -1
  1162. package/dist/magma-components/{p-0a8e8525.entry.js → p-2f39f4e4.entry.js} +1 -1
  1163. package/dist/magma-components/{p-02298ed0.system.entry.js → p-31370fdb.system.entry.js} +1 -1
  1164. package/dist/magma-components/{p-3df07021.system.entry.js → p-3139988c.system.entry.js} +1 -1
  1165. package/dist/magma-components/p-32418266.entry.js +1 -0
  1166. package/dist/magma-components/{p-cc9659e1.system.entry.js → p-33c80de3.system.entry.js} +1 -1
  1167. package/dist/magma-components/{p-09a7b578.system.entry.js → p-34c0e63c.system.entry.js} +1 -1
  1168. package/dist/magma-components/{p-3c669cfb.entry.js → p-354a5b47.entry.js} +1 -1
  1169. package/dist/magma-components/{p-071f5c7b.system.entry.js → p-35c6341a.system.entry.js} +3 -3
  1170. package/dist/magma-components/{p-f09b08f9.entry.js → p-379f51a6.entry.js} +1 -1
  1171. package/dist/magma-components/{p-7c217aa5.entry.js → p-381f49ea.entry.js} +1 -1
  1172. package/dist/magma-components/{p-221c2f0d.entry.js → p-384ab014.entry.js} +1 -1
  1173. package/dist/magma-components/{p-6af00399.system.entry.js → p-386bb24e.system.entry.js} +3 -3
  1174. package/dist/magma-components/{p-1e18fcc5.system.entry.js → p-39a2df98.system.entry.js} +1 -1
  1175. package/dist/magma-components/{p-2752b45a.system.entry.js → p-3a7c4314.system.entry.js} +3 -3
  1176. package/dist/magma-components/{p-7be0d28b.entry.js → p-3a9a75e5.entry.js} +1 -1
  1177. package/dist/magma-components/{p-5435f2a9.entry.js → p-3b691cc3.entry.js} +1 -1
  1178. package/dist/magma-components/{p-88460d31.system.entry.js → p-3bdb541f.system.entry.js} +1 -1
  1179. package/dist/magma-components/{p-85fb1d08.entry.js → p-3ca004c3.entry.js} +1 -1
  1180. package/dist/magma-components/{p-4776ac1f.entry.js → p-3caf6a26.entry.js} +1 -1
  1181. package/dist/magma-components/{p-ced3ebb8.entry.js → p-3dccd446.entry.js} +1 -1
  1182. package/dist/magma-components/{p-55b10b70.system.entry.js → p-3dde41b0.system.entry.js} +1 -1
  1183. package/dist/magma-components/{p-be6e156a.system.entry.js → p-3e8e0003.system.entry.js} +2 -2
  1184. package/dist/magma-components/{p-21547758.system.entry.js → p-3f0e6729.system.entry.js} +3 -3
  1185. package/dist/magma-components/{p-f306b5c1.entry.js → p-42ab27de.entry.js} +1 -1
  1186. package/dist/magma-components/{p-803957de.system.entry.js → p-430a4c4b.system.entry.js} +1 -1
  1187. package/dist/magma-components/{p-d48c40ab.system.entry.js → p-47b05fa1.system.entry.js} +1 -1
  1188. package/dist/magma-components/{p-e5eb2390.entry.js → p-47db3155.entry.js} +1 -1
  1189. package/dist/magma-components/{p-2c845743.system.entry.js → p-48f86057.system.entry.js} +1 -1
  1190. package/dist/magma-components/{p-7961c335.system.entry.js → p-4a72d72c.system.entry.js} +1 -1
  1191. package/dist/magma-components/{p-227f57e6.entry.js → p-4aa94380.entry.js} +1 -1
  1192. package/dist/magma-components/{p-b9ca6c2e.entry.js → p-4ab2eb7e.entry.js} +1 -1
  1193. package/dist/magma-components/{p-c3c487aa.system.entry.js → p-4bea91e1.system.entry.js} +1 -1
  1194. package/dist/magma-components/{p-f588cf9e.entry.js → p-4cd21f19.entry.js} +1 -1
  1195. package/dist/magma-components/{p-dbca23af.entry.js → p-4de89d1b.entry.js} +1 -1
  1196. package/dist/magma-components/{p-23fabd66.system.entry.js → p-50c8f36c.system.entry.js} +1 -1
  1197. package/dist/magma-components/{p-f39416e9.system.entry.js → p-5200ab23.system.entry.js} +2 -2
  1198. package/dist/magma-components/{p-f35608b2.entry.js → p-52211fa3.entry.js} +1 -1
  1199. package/dist/magma-components/{p-37487e8b.system.entry.js → p-53981624.system.entry.js} +1 -1
  1200. package/dist/magma-components/p-53acdc6b.entry.js +1 -0
  1201. package/dist/magma-components/p-5660182a.system.entry.js +1 -0
  1202. package/dist/magma-components/{p-464e6431.entry.js → p-56c5ca6f.entry.js} +1 -1
  1203. package/dist/magma-components/p-57e92942.system.entry.js +20 -0
  1204. package/dist/magma-components/{p-63b10a6e.entry.js → p-59aa4994.entry.js} +1 -1
  1205. package/dist/magma-components/{p-9a3ddc91.entry.js → p-59f06b9c.entry.js} +1 -1
  1206. package/dist/magma-components/{p-3d95e688.system.entry.js → p-5aa78075.system.entry.js} +3 -3
  1207. package/dist/magma-components/{p-14635a8f.entry.js → p-5cf87a7f.entry.js} +1 -1
  1208. package/dist/magma-components/{p-87baf82a.entry.js → p-5e8df58d.entry.js} +1 -1
  1209. package/dist/magma-components/{p-880f3eac.system.entry.js → p-5ed74216.system.entry.js} +1 -1
  1210. package/dist/magma-components/{p-50705d36.system.entry.js → p-5f064376.system.entry.js} +1 -1
  1211. package/dist/magma-components/{p-93d7485d.entry.js → p-60727165.entry.js} +2 -2
  1212. package/dist/magma-components/{p-278c362d.entry.js → p-6093aa8e.entry.js} +1 -1
  1213. package/dist/magma-components/{p-b8a59768.entry.js → p-62d9eaca.entry.js} +1 -1
  1214. package/dist/magma-components/{p-947fcf74.system.entry.js → p-6b402a09.system.entry.js} +9 -9
  1215. package/dist/magma-components/p-6b55c5fe.system.entry.js +1 -0
  1216. package/dist/magma-components/{p-3d162e99.system.entry.js → p-6d57674c.system.entry.js} +2 -2
  1217. package/dist/magma-components/p-6d96d223.entry.js +1 -0
  1218. package/dist/magma-components/{p-38b16983.system.entry.js → p-6df26141.system.entry.js} +3 -3
  1219. package/dist/magma-components/{p-5f8db04c.system.entry.js → p-6df7da52.system.entry.js} +1 -1
  1220. package/dist/magma-components/{p-9250ec26.system.entry.js → p-6e751bcc.system.entry.js} +2 -2
  1221. package/dist/magma-components/{p-fc22f5e0.system.entry.js → p-718d6384.system.entry.js} +1 -1
  1222. package/dist/magma-components/{p-b4633c9c.system.entry.js → p-71dab494.system.entry.js} +3 -3
  1223. package/dist/magma-components/{p-ec635255.entry.js → p-732d09b6.entry.js} +1 -1
  1224. package/dist/magma-components/{p-fac6f123.entry.js → p-73f4f67e.entry.js} +1 -1
  1225. package/dist/magma-components/{p-772c18f4.entry.js → p-785fa112.entry.js} +1 -1
  1226. package/dist/magma-components/{p-9cf81575.system.entry.js → p-79fd07e7.system.entry.js} +1 -1
  1227. package/dist/magma-components/{p-0033cb92.system.entry.js → p-7acbc6ea.system.entry.js} +1 -1
  1228. package/dist/magma-components/{p-67eb3881.entry.js → p-7dd0364b.entry.js} +1 -1
  1229. package/dist/magma-components/{p-85a31141.entry.js → p-7e7391fd.entry.js} +1 -1
  1230. package/dist/magma-components/{p-f5326224.system.entry.js → p-7ec28ff1.system.entry.js} +2 -2
  1231. package/dist/magma-components/{p-f901c844.entry.js → p-7f74ec99.entry.js} +1 -1
  1232. package/dist/magma-components/{p-0679c988.system.entry.js → p-7ffce9e8.system.entry.js} +1 -1
  1233. package/dist/magma-components/{p-06ccc40d.entry.js → p-81212e34.entry.js} +1 -1
  1234. package/dist/magma-components/{p-cf6f54e5.system.entry.js → p-8219e58f.system.entry.js} +2 -2
  1235. package/dist/magma-components/{p-eb92312f.system.entry.js → p-84711ab6.system.entry.js} +3 -3
  1236. package/dist/magma-components/p-84bf333b.entry.js +1 -0
  1237. package/dist/magma-components/{p-4792ff7f.entry.js → p-84d0d701.entry.js} +1 -1
  1238. package/dist/magma-components/{p-30be5c39.entry.js → p-857ae762.entry.js} +1 -1
  1239. package/dist/magma-components/{p-8f63f1a1.system.entry.js → p-87395a4d.system.entry.js} +1 -1
  1240. package/dist/magma-components/{p-2431fbfa.system.entry.js → p-87831da2.system.entry.js} +1 -1
  1241. package/dist/magma-components/{p-e39518b4.system.entry.js → p-896310aa.system.entry.js} +2 -2
  1242. package/dist/magma-components/{p-dc1a5826.system.entry.js → p-8ac1ba5c.system.entry.js} +1 -1
  1243. package/dist/magma-components/{p-86cf87fb.entry.js → p-8b8a6662.entry.js} +1 -1
  1244. package/dist/magma-components/{p-62fc9695.entry.js → p-8d7093af.entry.js} +1 -1
  1245. package/dist/magma-components/{p-8ab9ff37.system.entry.js → p-8e15c151.system.entry.js} +1 -1
  1246. package/dist/magma-components/{p-075acd04.entry.js → p-8f1c529f.entry.js} +1 -1
  1247. package/dist/magma-components/{p-07a3c63c.system.entry.js → p-8f1e9021.system.entry.js} +1 -1
  1248. package/dist/magma-components/{p-69abd1d1.entry.js → p-904c1222.entry.js} +1 -1
  1249. package/dist/magma-components/{p-a70fb4fb.system.entry.js → p-907f06cd.system.entry.js} +9 -9
  1250. package/dist/magma-components/{p-3f68ddca.entry.js → p-9332358d.entry.js} +1 -1
  1251. package/dist/magma-components/{p-44998584.system.entry.js → p-93b9d39d.system.entry.js} +2 -2
  1252. package/dist/magma-components/{p-d8ae0f02.system.entry.js → p-965e7a82.system.entry.js} +1 -1
  1253. package/dist/magma-components/{p-c50e20cf.system.entry.js → p-96dfb60e.system.entry.js} +1 -1
  1254. package/dist/magma-components/{p-3beea731.system.entry.js → p-9c408768.system.entry.js} +1 -1
  1255. package/dist/magma-components/{p-1d2220f0.system.entry.js → p-9e792bed.system.entry.js} +1 -1
  1256. package/dist/magma-components/{p-8258733b.entry.js → p-9fdd477a.entry.js} +1 -1
  1257. package/dist/magma-components/{p-f82c2b7e.system.entry.js → p-9fefa077.system.entry.js} +1 -1
  1258. package/dist/magma-components/p-B8zYiZQY.system.js +2 -2
  1259. package/dist/magma-components/{p-97eb734a.system.entry.js → p-a0d637b6.system.entry.js} +1 -1
  1260. package/dist/magma-components/p-a26c05b6.entry.js +1 -0
  1261. package/dist/magma-components/{p-ccc40c6a.system.entry.js → p-a7baf451.system.entry.js} +2 -2
  1262. package/dist/magma-components/{p-77545238.entry.js → p-ac9feb04.entry.js} +1 -1
  1263. package/dist/magma-components/{p-dedbf8d6.entry.js → p-ad383f92.entry.js} +1 -1
  1264. package/dist/magma-components/{p-1ea582a9.system.entry.js → p-ae4736a0.system.entry.js} +3 -3
  1265. package/dist/magma-components/{p-9fc385aa.entry.js → p-b3332c5f.entry.js} +1 -1
  1266. package/dist/magma-components/{p-a987086b.system.entry.js → p-b3e2b68a.system.entry.js} +1 -1
  1267. package/dist/magma-components/{p-808b9277.entry.js → p-b86144d4.entry.js} +1 -1
  1268. package/dist/magma-components/{p-a0612465.system.entry.js → p-bbde5701.system.entry.js} +1 -1
  1269. package/dist/magma-components/{p-5472f18d.system.entry.js → p-bc075b3b.system.entry.js} +2 -2
  1270. package/dist/magma-components/{p-29971e1d.entry.js → p-bc19b136.entry.js} +1 -1
  1271. package/dist/magma-components/{p-17ec24dc.entry.js → p-bcca26d9.entry.js} +1 -1
  1272. package/dist/magma-components/{p-8b501f92.entry.js → p-bf35627d.entry.js} +1 -1
  1273. package/dist/magma-components/p-bfd95736.entry.js +1 -0
  1274. package/dist/magma-components/{p-6a2d67d1.system.entry.js → p-c086a5a4.system.entry.js} +1 -1
  1275. package/dist/magma-components/{p-41a0f896.entry.js → p-c27206ca.entry.js} +1 -1
  1276. package/dist/magma-components/{p-762a6b7b.entry.js → p-c2758b81.entry.js} +1 -1
  1277. package/dist/magma-components/{p-d3491226.system.entry.js → p-c2c693ed.system.entry.js} +1 -1
  1278. package/dist/magma-components/{p-642925b7.system.entry.js → p-c4a5ab6e.system.entry.js} +1 -1
  1279. package/dist/magma-components/{p-b23bee0c.entry.js → p-c58157cf.entry.js} +1 -1
  1280. package/dist/magma-components/{p-8a9544aa.entry.js → p-c597ad47.entry.js} +1 -1
  1281. package/dist/magma-components/{p-295d8fab.entry.js → p-c7b2ebb5.entry.js} +1 -1
  1282. package/dist/magma-components/{p-046697e4.system.entry.js → p-c8b06821.system.entry.js} +1 -1
  1283. package/dist/magma-components/p-ca1143bc.entry.js +1 -0
  1284. package/dist/magma-components/p-cb88fa71.entry.js +1 -0
  1285. package/dist/magma-components/{p-cc954b22.system.entry.js → p-cd783f9e.system.entry.js} +1 -1
  1286. package/dist/magma-components/{p-bd97e368.system.entry.js → p-cd955bc7.system.entry.js} +1 -1
  1287. package/dist/magma-components/{p-1f623b75.entry.js → p-ce42e251.entry.js} +1 -1
  1288. package/dist/magma-components/{p-7bf46d43.entry.js → p-cf4f4561.entry.js} +1 -1
  1289. package/dist/magma-components/{p-44333d50.system.entry.js → p-d0a15a3a.system.entry.js} +1 -1
  1290. package/dist/magma-components/{p-f616f467.entry.js → p-d218ae47.entry.js} +1 -1
  1291. package/dist/magma-components/{p-69badbba.entry.js → p-d331ff5c.entry.js} +1 -1
  1292. package/dist/magma-components/{p-f75935ed.system.entry.js → p-d3844c9a.system.entry.js} +4 -4
  1293. package/dist/magma-components/{p-837d31b8.entry.js → p-d3ac9a1a.entry.js} +1 -1
  1294. package/dist/magma-components/{p-8740403e.system.entry.js → p-d4c3250f.system.entry.js} +2 -2
  1295. package/dist/magma-components/p-d638bbb0.entry.js +1 -0
  1296. package/dist/magma-components/{p-72ad419d.system.entry.js → p-d65e9f0a.system.entry.js} +1 -1
  1297. package/dist/magma-components/{p-7d0c8177.entry.js → p-d87ecd68.entry.js} +1 -1
  1298. package/dist/magma-components/{p-2e48f88d.system.entry.js → p-d93b48b4.system.entry.js} +1 -1
  1299. package/dist/magma-components/{p-de1ae02c.entry.js → p-d94281cb.entry.js} +1 -1
  1300. package/dist/magma-components/{p-b467f737.entry.js → p-d9f92ff8.entry.js} +1 -1
  1301. package/dist/magma-components/{p-4cabfdbc.entry.js → p-da9bc02a.entry.js} +1 -1
  1302. package/dist/magma-components/{p-521ba3a8.entry.js → p-dc618cae.entry.js} +1 -1
  1303. package/dist/magma-components/p-de38f745.entry.js +1 -0
  1304. package/dist/magma-components/{p-e2fa6300.system.entry.js → p-dee123c7.system.entry.js} +1 -1
  1305. package/dist/magma-components/p-df387755.entry.js +1 -0
  1306. package/dist/magma-components/{p-b373cc32.entry.js → p-dfab370b.entry.js} +1 -1
  1307. package/dist/magma-components/{p-0e887379.system.entry.js → p-e30d0684.system.entry.js} +2 -2
  1308. package/dist/magma-components/{p-f66675f5.system.entry.js → p-e371f9e1.system.entry.js} +1 -1
  1309. package/dist/magma-components/{p-8f7daab1.system.entry.js → p-e3b9ea0b.system.entry.js} +1 -1
  1310. package/dist/magma-components/{p-104ba54e.system.entry.js → p-e3d262d9.system.entry.js} +2 -2
  1311. package/dist/magma-components/{p-7fde3025.system.entry.js → p-e54587e7.system.entry.js} +3 -3
  1312. package/dist/magma-components/{p-ad05ef26.system.entry.js → p-e5f893f9.system.entry.js} +1 -1
  1313. package/dist/magma-components/{p-2c3f518c.system.entry.js → p-e709a52e.system.entry.js} +2 -2
  1314. package/dist/magma-components/{p-8d14f146.entry.js → p-e8452cce.entry.js} +1 -1
  1315. package/dist/magma-components/{p-09f621ea.entry.js → p-ea503851.entry.js} +1 -1
  1316. package/dist/magma-components/{p-6dff107d.system.entry.js → p-ec44a4ea.system.entry.js} +2 -2
  1317. package/dist/magma-components/{p-9f6c502b.entry.js → p-ed133270.entry.js} +1 -1
  1318. package/dist/magma-components/{p-bb282bc1.system.entry.js → p-ee780f82.system.entry.js} +2 -2
  1319. package/dist/magma-components/p-ef4ee9ca.entry.js +1 -0
  1320. package/dist/magma-components/{p-7ca73c56.entry.js → p-f045b018.entry.js} +1 -1
  1321. package/dist/magma-components/{p-b69c3126.entry.js → p-f2211b1f.entry.js} +1 -1
  1322. package/dist/magma-components/{p-c40ad03a.entry.js → p-f267ff68.entry.js} +1 -1
  1323. package/dist/magma-components/{p-d254de66.system.entry.js → p-f27de6cb.system.entry.js} +1 -1
  1324. package/dist/magma-components/{p-2d9c9ef9.entry.js → p-f2ef884c.entry.js} +1 -1
  1325. package/dist/magma-components/{p-9f8ce68f.entry.js → p-f3f88f32.entry.js} +1 -1
  1326. package/dist/magma-components/{p-94439d8b.system.entry.js → p-f40e3918.system.entry.js} +2 -2
  1327. package/dist/magma-components/{p-6e32bf99.entry.js → p-f4181b35.entry.js} +1 -1
  1328. package/dist/magma-components/{p-8a76097f.entry.js → p-f4351160.entry.js} +1 -1
  1329. package/dist/magma-components/{p-c3a3caae.system.entry.js → p-f4fc9f29.system.entry.js} +1 -1
  1330. package/dist/magma-components/{p-da93a00b.system.entry.js → p-f5c7b147.system.entry.js} +1 -1
  1331. package/dist/magma-components/{p-84ed22ea.system.entry.js → p-f7d5445c.system.entry.js} +1 -1
  1332. package/dist/magma-components/{p-08370fc2.system.entry.js → p-f7e9af99.system.entry.js} +1 -1
  1333. package/dist/magma-components/{p-95478664.system.entry.js → p-f8c85ad7.system.entry.js} +1 -1
  1334. package/dist/magma-components/{p-c6819aad.entry.js → p-f9b601de.entry.js} +1 -1
  1335. package/dist/magma-components/{p-ffbf7448.entry.js → p-fa44d0d2.entry.js} +1 -1
  1336. package/dist/magma-components/{p-d3d74616.entry.js → p-fba648e0.entry.js} +1 -1
  1337. package/dist/magma-components/{p-35528bdd.system.entry.js → p-fe8e3721.system.entry.js} +1 -1
  1338. package/dist/magma-components/{p-2a4d22c9.system.entry.js → p-fe98a77e.system.entry.js} +2 -2
  1339. package/dist/magma-components/{p-8ca2e879.system.entry.js → p-ff7fc1f6.system.entry.js} +2 -2
  1340. package/dist/stats.json +3133 -1157
  1341. package/dist/types/components/mds-accordion/mds-accordion.d.ts +1 -0
  1342. package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +1 -0
  1343. package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +1 -0
  1344. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +1 -0
  1345. package/dist/types/components/mds-author/mds-author.d.ts +1 -0
  1346. package/dist/types/components/mds-avatar/mds-avatar.d.ts +1 -0
  1347. package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +1 -0
  1348. package/dist/types/components/mds-avatar-stack-item/mds-avatar-stack-item.d.ts +3 -0
  1349. package/dist/types/components/mds-badge/mds-badge.d.ts +1 -0
  1350. package/dist/types/components/mds-banner/mds-banner.d.ts +1 -0
  1351. package/dist/types/components/mds-benchmark-bar/mds-benchmark-bar.d.ts +1 -0
  1352. package/dist/types/components/mds-bibliography/mds-bibliography.d.ts +3 -0
  1353. package/dist/types/components/mds-book/mds-book.d.ts +114 -0
  1354. package/dist/types/components/mds-book/meta/dictionary.d.ts +4 -0
  1355. package/dist/types/components/mds-book/meta/format.d.ts +30 -0
  1356. package/dist/types/components/mds-book/meta/pose.d.ts +64 -0
  1357. package/dist/types/components/mds-book/meta/spine.d.ts +33 -0
  1358. package/dist/types/components/mds-book/meta/types.d.ts +3 -0
  1359. package/dist/types/components/mds-book/meta/volume.d.ts +22 -0
  1360. package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +1 -0
  1361. package/dist/types/components/mds-breadcrumb-item/mds-breadcrumb-item.d.ts +1 -0
  1362. package/dist/types/components/mds-button/mds-button.d.ts +1 -0
  1363. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +1 -0
  1364. package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -0
  1365. package/dist/types/components/mds-calendar/mds-calendar.d.ts +1 -0
  1366. package/dist/types/components/mds-calendar-cell/mds-calendar-cell.d.ts +3 -0
  1367. package/dist/types/components/mds-card/mds-card.d.ts +1 -0
  1368. package/dist/types/components/mds-card-content/mds-card-content.d.ts +1 -0
  1369. package/dist/types/components/mds-card-footer/mds-card-footer.d.ts +1 -0
  1370. package/dist/types/components/mds-card-header/mds-card-header.d.ts +1 -0
  1371. package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -0
  1372. package/dist/types/components/mds-chip/mds-chip.d.ts +3 -0
  1373. package/dist/types/components/mds-details/mds-details.d.ts +1 -0
  1374. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +1 -0
  1375. package/dist/types/components/mds-emoji/mds-emoji.d.ts +3 -0
  1376. package/dist/types/components/mds-entity/mds-entity.d.ts +1 -0
  1377. package/dist/types/components/mds-file/mds-file.d.ts +3 -0
  1378. package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +1 -0
  1379. package/dist/types/components/mds-filter/mds-filter.d.ts +1 -0
  1380. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +3 -0
  1381. package/dist/types/components/mds-header/mds-header.d.ts +1 -0
  1382. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +1 -0
  1383. package/dist/types/components/mds-help/mds-help.d.ts +1 -0
  1384. package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
  1385. package/dist/types/components/mds-hr/mds-hr.d.ts +3 -0
  1386. package/dist/types/components/mds-icon/mds-icon.d.ts +1 -0
  1387. package/dist/types/components/mds-img/mds-img.d.ts +1 -0
  1388. package/dist/types/components/mds-input/mds-input.d.ts +1 -0
  1389. package/dist/types/components/mds-input-date/mds-input-date.d.ts +1 -0
  1390. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +1 -0
  1391. package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +1 -0
  1392. package/dist/types/components/mds-input-field/mds-input-field.d.ts +1 -0
  1393. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +3 -0
  1394. package/dist/types/components/mds-input-range/mds-input-range.d.ts +1 -0
  1395. package/dist/types/components/mds-input-select/mds-input-select.d.ts +1 -0
  1396. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +1 -0
  1397. package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +1 -0
  1398. package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +1 -0
  1399. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -0
  1400. package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +1 -0
  1401. package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +3 -0
  1402. package/dist/types/components/mds-kpi/mds-kpi.d.ts +1 -0
  1403. package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +1 -0
  1404. package/dist/types/components/mds-label/mds-label.d.ts +3 -0
  1405. package/dist/types/components/mds-link/mds-link.d.ts +1 -0
  1406. package/dist/types/components/mds-list/mds-list.d.ts +1 -0
  1407. package/dist/types/components/mds-list-item/mds-list-item.d.ts +1 -0
  1408. package/dist/types/components/mds-mention/mds-mention.d.ts +3 -0
  1409. package/dist/types/components/mds-modal/mds-modal.d.ts +1 -0
  1410. package/dist/types/components/mds-note/mds-note.d.ts +1 -0
  1411. package/dist/types/components/mds-notification/mds-notification.d.ts +3 -0
  1412. package/dist/types/components/mds-paginator/mds-paginator.d.ts +3 -0
  1413. package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +1 -0
  1414. package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +1 -0
  1415. package/dist/types/components/mds-pref/mds-pref.d.ts +1 -1
  1416. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +3 -0
  1417. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +3 -0
  1418. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +3 -0
  1419. package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +1 -0
  1420. package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -0
  1421. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +3 -0
  1422. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +1 -0
  1423. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +3 -0
  1424. package/dist/types/components/mds-price-table/mds-price-table.d.ts +1 -0
  1425. package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +1 -0
  1426. package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +1 -0
  1427. package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +1 -0
  1428. package/dist/types/components/mds-price-table-header/mds-price-table-header.d.ts +1 -0
  1429. package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -0
  1430. package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +1 -0
  1431. package/dist/types/components/mds-progress/mds-progress.d.ts +1 -0
  1432. package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +1 -0
  1433. package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +1 -0
  1434. package/dist/types/components/mds-quote/mds-quote.d.ts +1 -0
  1435. package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +1 -0
  1436. package/dist/types/components/mds-radial-menu-item/mds-radial-menu-item.d.ts +3 -0
  1437. package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +1 -0
  1438. package/dist/types/components/mds-separator/mds-separator.d.ts +3 -0
  1439. package/dist/types/components/mds-spinner/mds-spinner.d.ts +3 -0
  1440. package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +1 -0
  1441. package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +1 -0
  1442. package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +1 -0
  1443. package/dist/types/components/mds-tab/mds-tab.d.ts +1 -0
  1444. package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +1 -0
  1445. package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +1 -0
  1446. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +1 -0
  1447. package/dist/types/components/mds-table/mds-table.d.ts +1 -0
  1448. package/dist/types/components/mds-table-body/mds-table-body.d.ts +1 -0
  1449. package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +1 -0
  1450. package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +1 -0
  1451. package/dist/types/components/mds-table-header/mds-table-header.d.ts +1 -0
  1452. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +1 -0
  1453. package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -0
  1454. package/dist/types/components/mds-text/mds-text.d.ts +1 -0
  1455. package/dist/types/components/mds-toast/mds-toast.d.ts +1 -0
  1456. package/dist/types/components/mds-toast-region/mds-toast-region.d.ts +1 -0
  1457. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +1 -0
  1458. package/dist/types/components/mds-tree/mds-tree.d.ts +1 -0
  1459. package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +1 -0
  1460. package/dist/types/components/mds-url-view/mds-url-view.d.ts +3 -0
  1461. package/dist/types/components/mds-usage/mds-usage.d.ts +1 -0
  1462. package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +1 -0
  1463. package/dist/types/components/mds-zero/mds-zero.d.ts +1 -0
  1464. package/dist/types/components.d.ts +1517 -6
  1465. package/package.json +43 -5
  1466. package/dist/components/p-B0AnE3sA.js +0 -1
  1467. package/dist/components/p-CHHEp_7y.js +0 -1
  1468. package/dist/components/p-D8wd-EZX.js +0 -1
  1469. package/dist/magma-components/p-0193734e.entry.js +0 -1
  1470. package/dist/magma-components/p-083dceb8.system.entry.js +0 -1
  1471. package/dist/magma-components/p-093b8fbc.system.entry.js +0 -20
  1472. package/dist/magma-components/p-0e2cd21e.entry.js +0 -1
  1473. package/dist/magma-components/p-11320427.entry.js +0 -1
  1474. package/dist/magma-components/p-1c2c4670.entry.js +0 -1
  1475. package/dist/magma-components/p-335244bb.entry.js +0 -1
  1476. package/dist/magma-components/p-3fb46ab9.system.entry.js +0 -1
  1477. package/dist/magma-components/p-4d485e1f.system.entry.js +0 -1
  1478. package/dist/magma-components/p-6436178a.entry.js +0 -1
  1479. package/dist/magma-components/p-7ad68b2f.entry.js +0 -1
  1480. package/dist/magma-components/p-89d4b6e9.entry.js +0 -1
  1481. package/dist/magma-components/p-984dd850.entry.js +0 -1
  1482. package/dist/magma-components/p-a7c01334.entry.js +0 -1
  1483. package/dist/magma-components/p-ab4b617d.entry.js +0 -1
  1484. package/dist/magma-components/p-d6b38d8a.entry.js +0 -1
  1485. package/dist/magma-components/p-e1383302.entry.js +0 -1
@@ -71,9 +71,9 @@ this.updatePreselection=function(){t.hasPreselection=s(t.host,"preselection")||t
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(r){try{e=this.currentDate.startOf("week");this.weekdays=Array.from({length:7}).map((function(r,a){return e.setLocale(o.state.language).plus({days:a}).toFormat("ccc")}));this.calculateWeekDaysInMonth();this.currentMonth=this.currentDate.setLocale(o.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 r=e.shadowRoot;if(!r)return;var a=r.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(a,r,t)}else{this.setRangeSelection(a,r)}}else{this.setSingleSelection(a,r)}};e.prototype.clearSelectionState=function(e){e.forEach((function(e){e.removeAttribute("selection");e.removeAttribute("preview")}))};e.prototype.setRangeSelection=function(e,r){var a=this;this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=l.fromISO(this.internalStartDate.toString());if(this.internalEndDate===null||this.internalEndDate===""){this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false;var t=r.querySelectorAll("mds-calendar-cell");t.forEach((function(e){if(e.getAttribute("date")===a.startDateTime.toFormat("yyyy-MM-dd")){e.setAttribute("selection","single");e.setAttribute("preview","true")}}));return}this.endDateTime=l.fromISO(this.internalEndDate.toString());this.startDateIdentifier=this.startDateTime.toISODate();this.endDateIdentifier=this.endDateTime.toISODate();var n=r.querySelectorAll("mds-calendar-cell");if(n!=null){var i=void 0;for(var o=0;o<n.length;o++){var c=n[o].getAttribute("date");if(c!==null&&c!==""){var s=l.fromISO(c);if(s.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){n[o].setAttribute("selection","start")}if(s.toFormat("yyyy-MM-dd")===this.endDateTime.toFormat("yyyy-MM-dd")){if(this.startDateTime.equals(this.endDateTime)){n[o].setAttribute("selection","single")}else{n[o].setAttribute("selection","end")}}i=s>this.startDateTime&&s<this.endDateTime;if(i){n[o].setAttribute("selection","middle")}}}}};e.prototype.setHoverSelection=function(e,r,a){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate===""){this.setRangeSelection(e,r);return}var t=l.fromISO(this.internalStartDate);var n=l.fromISO(a);if(!t.isValid||!n.isValid){this.setRangeSelection(e,r);return}var i=t<=n;var o=Array.from(r.querySelectorAll("mds-calendar-cell"));o.forEach((function(e){var r=e.getAttribute("date");if(r===null||r==="")return;var a=l.fromISO(r);if(!a.isValid)return;var o=i?a>=t&&a<=n:a>=n&&a<=t;if(!o)return;e.setAttribute("preview","true");var c="middle";if(t.equals(n)&&a.equals(t)){c="single"}else if(a.equals(t)){c=i?"start":"end"}else if(a.equals(n)){c=i?"end":"start"}e.setAttribute("selection",c)}))};e.prototype.setSingleSelection=function(e,r){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=l.fromISO(this.internalStartDate.toString());var a=r.querySelectorAll("mds-calendar-cell");if(a!=null){for(var t=0;t<a.length;t++){var n=a[t].getAttribute("date");if(n!==null&&n!==""){var i=l.fromISO(n);if(i.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){a[t].setAttribute("selection","single")}}}}};e.prototype.changeMonth=function(e){var r=this;this.currentDate=this.currentDate.plus({months:e});this.updateCalendar().then((function(){requestAnimationFrame((function(){return r.setDates()}))}));this.navigationEmitter.emit({currentDate:this.currentDate.toISODate(),delta:e})};e.prototype.calculateWeekDaysInMonth=function(){var e=this.currentDate.startOf("month");var r=this.currentDate.endOf("month");var a=[];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})){a.push({date:l,isCurrentMonth:false})}for(var l=e;l<=r;l=l.plus({days:1})){a.push({date:l,isCurrentMonth:true})}var o=r.weekday;var c=7-o;var s=r.plus({days:1});for(var l=s;l<s.plus({days:c});l=l.plus({days:1})){a.push({date:l,isCurrentMonth:false})}this.weekDaysinMonth=a};e.prototype.handleRange=function(e,r){var a=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=l.fromISO(t);this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false}}var n=function(){a.internalStartDate=null;a.internalEndDate=null;a.startDateIdentifier=null;a.startDateTime=null;a.endDateIdentifier=null;a.endDateTime=null;a.isFirstClick=true;var e=a.host;requestAnimationFrame((function(){var r;(r=e===null||e===void 0?void 0:e.shadowRoot)===null||r===void 0?void 0:r.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=r.toISODate();this.startDateTime=r;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!==""&&l.fromISO(this.startDateIdentifier)<l.fromISO(e.getAttribute("date"))){this.endDateIdentifier=e.getAttribute("date");this.endDateTime=r;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=r;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 a.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,r){var a;var t=this.host;(a=t===null||t===void 0?void 0:t.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection")}));this.startDateIdentifier=e.getAttribute("date");this.startDateTime=r;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<l.fromISO(this.min)){return true}if(this.max!==null&&this.max!==""&&e>l.fromISO(this.max)){return true}return undefined};e.prototype.render=function(){var e=this;return t(n,{key:"8611a2c99c4cd736e76f1b7ede71aaf4f98fc00b"},t("div",{key:"2722b2e4b90c64e0d1247931380fdba8f634da1a",class:d("calendar-preselection",this.hasPreselection&&!this.hidePreselection&&"calendar-preselection--has-preselection")},t("slot",{key:"3dbd57162a6b22bfd51c163a476b90498c81e757",name:"preselection",onSlotchange:this.updatePreselection})),t("div",{key:"29e894b84333a08efa15cd46dc2015ac8d8a9663",class:"calendar-view"},t("nav",{key:"5383cd78806d501699f6d41e883aab92b79a2456"},!this.hidePreviousButton&&t("mds-button",{key:"f9c65eb580f1ab80c74b7ac002d56ca5bddbc4ae","aria-label":this.t.get(this.currentView==="years"?"previousYears":"previousMonth"),class:"action-back",
74
+ requestAnimationFrame((function(){return a.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,r){var a;var t=this.host;(a=t===null||t===void 0?void 0:t.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection")}));this.startDateIdentifier=e.getAttribute("date");this.startDateTime=r;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<l.fromISO(this.min)){return true}if(this.max!==null&&this.max!==""&&e>l.fromISO(this.max)){return true}return undefined};e.prototype.render=function(){var e=this;return t(n,{key:"5ece6c00dd42e09020407a839a354c3076565a2f"},t("div",{key:"49f671efc9d432d9c4eb4d28f0c6b33b9873422d",class:d("calendar-preselection",this.hasPreselection&&!this.hidePreselection&&"calendar-preselection--has-preselection")},t("slot",{key:"c2a4f2f42dd5e56a5f8f91666d89cae614f56186",name:"preselection",onSlotchange:this.updatePreselection})),t("div",{key:"b6e9ad5d16530969414894ef8b2725d029bc3dff",class:"calendar-view"},t("nav",{key:"d1fb5573c5b47ce8ed9cb47f4ce728b89f87fd5e"},!this.hidePreviousButton&&t("mds-button",{key:"1e65631d9cb3757ee22a6b333828199bcf356d87","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:v,variant:"dark",tone:"text",onClick:this.handlePrev}),t("div",{key:"4979c86c0979effdd2104de726c5711f079bb5c7",class:"select-month-or-year"},(this.currentView==="calendar"||this.currentView==="months")&&t("mds-button",{key:"ca34dd25e152dd700f69e4367d1d6647b38b9768",class:"action-month",truncate:"none",variant:"dark",tone:"text",label:this.currentMonth,onClick:this.handleMonthActionClick}),(this.currentView==="calendar"||this.currentView==="years")&&t("mds-button",{key:"853f39d4f660f27fad3ca55ce4970495115d40de",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),!this.hideNextButton&&t("mds-button",{key:"ea639d7b4fa5ff27d2f059ecbd7db49ba60e2642","aria-label":this.t.get(this.currentView==="years"?"nextYears":"nextMonth"),class:"action-forward",disabled:this.currentView==="months",icon:u,variant:"dark",tone:"text",onClick:this.handleNext})),this.currentView==="calendar"&&t("section",{key:"89f888f30c42fc106d29b7b3e2b69555db02805f",class:"month-view"},t("header",{key:"56c800fd0acb55f7843d055e7465f18e0df9e295",class:"month-view__days-names"},this.weekdays.map((function(e){return t("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:e})}))),t("div",{key:"f03c98174586cb5b86c86dbc3fe7763359a984fc",class:"month-view__cells"},this.weekDaysinMonth.map((function(r,a){return t("mds-calendar-cell",{key:a,today:!e.hideToday&&l.now().toFormat("yyyy-MM-dd")===r.date.toFormat("yyyy-MM-dd"),date:r.date.toFormat("yyyy-MM-dd"),month:r.isCurrentMonth?"current":"other",disabled:e.isDateDisabled(r.date),onClick:e.handleCellClick(r.date),title:r.date.setLocale(o.state.language).toFormat("cccc d LLLL").replace(/^./,(function(e){return e.toUpperCase()})),label:r.date.toFormat("dd")})})))),this.currentView==="months"&&t("section",{key:"a96f215d14da90cf1d66cead45dc6120678f1313",class:"month-selection"},t("header",{key:"54fffeb45ff37884669e27142c763d2003351da0",class:"month-view__month-names"},Array.from({length:12}).map((function(r,a){var n=l.local().set({month:a+1}).setLocale(o.state.language).toFormat("MMMM");return t("mds-button",{class:"action",variant:"dark",tone:"text",label:n,onClick:e.handleMonthSelect(a+1)})})))),this.currentView==="years"&&t("section",{key:"eeade1ee73a96c0a4e2ee9d0b0986feec7652077",class:"year-selection"},t("header",{key:"1dd18af4c5ddb8d77c0930d3362716967350f229",class:"month-view__years"},Array.from({length:12}).map((function(r,a){var n=e.selectedYear+a;return t("mds-button",{class:"action",variant:"dark",tone:"text",label:"".concat(n),onClick:e.handleYearSelect(n)})}))))))};Object.defineProperty(e.prototype,"host",{get:function(){return i(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}());S.style=Y();var B=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-accent-border,var(--variant-primary-06,148 172 218))));--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 I=e("mds_calendar_cell",/** @class */function(){function e(e){r(this,e);
76
+ disabled:this.currentView==="months",icon:v,variant:"dark",tone:"text",onClick:this.handlePrev}),t("div",{key:"01a1fc7f777d8dfa4ebac2ef9ed4a46bf7eb67b4",class:"select-month-or-year"},(this.currentView==="calendar"||this.currentView==="months")&&t("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")&&t("mds-button",{key:"4370a3e90fa6ecc64f3e6948690627f4271669b2",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),!this.hideNextButton&&t("mds-button",{key:"4cea0bf61baf52db367566835856d675a15cbc66","aria-label":this.t.get(this.currentView==="years"?"nextYears":"nextMonth"),class:"action-forward",disabled:this.currentView==="months",icon:u,variant:"dark",tone:"text",onClick:this.handleNext})),this.currentView==="calendar"&&t("section",{key:"23bd1514cd3390ea62c773f0d93ef21002163827",class:"month-view"},t("header",{key:"4d87c57be1eb6f653889775a037947b4e54100fb",class:"month-view__days-names"},this.weekdays.map((function(e){return t("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:e})}))),t("div",{key:"dc486f4388d2c4052ee05150e9b5eab4c56d26e9",class:"month-view__cells"},this.weekDaysinMonth.map((function(r,a){return t("mds-calendar-cell",{key:a,today:!e.hideToday&&l.now().toFormat("yyyy-MM-dd")===r.date.toFormat("yyyy-MM-dd"),date:r.date.toFormat("yyyy-MM-dd"),month:r.isCurrentMonth?"current":"other",disabled:e.isDateDisabled(r.date),onClick:e.handleCellClick(r.date),title:r.date.setLocale(o.state.language).toFormat("cccc d LLLL").replace(/^./,(function(e){return e.toUpperCase()})),label:r.date.toFormat("dd")})})))),this.currentView==="months"&&t("section",{key:"f48bd4d763824ae2becb1f377e51ae9c71454301",class:"month-selection"},t("header",{key:"34cd5dd481b16891bb7987f2b2a5a145636658ea",class:"month-view__month-names"},Array.from({length:12}).map((function(r,a){var n=l.local().set({month:a+1}).setLocale(o.state.language).toFormat("MMMM");return t("mds-button",{class:"action",variant:"dark",tone:"text",label:n,onClick:e.handleMonthSelect(a+1)})})))),this.currentView==="years"&&t("section",{key:"f9df821453277ca1e20fe56bb8533768b68e62b0",class:"year-selection"},t("header",{key:"4aa693be77a139bfd8bedf79b0516b17763937ce",class:"month-view__years"},Array.from({length:12}).map((function(r,a){var n=e.selectedYear+a;return t("mds-button",{class:"action",variant:"dark",tone:"text",label:"".concat(n),onClick:e.handleYearSelect(n)})}))))))};Object.defineProperty(e.prototype,"host",{get:function(){return i(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}());S.style=Y();var B=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-accent-border,var(--variant-primary-06,148 172 218))));--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 I=e("mds_calendar_cell",/** @class */function(){function e(e){r(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:v,variant:"dark",tone:"text",onClick:t
91
91
  */this.disabled=undefined;
92
92
  /**
93
93
  * Specifies if the cell is today
94
- */this.today=undefined}e.prototype.render=function(){return t(n,{key:"21da5d99d0748ca3904e882198c257f5a8d90227"},t("div",{key:"ddb54e7f37beda15bd28254f7fa3c01d857e6e64",class:"inner-dot"}),t("div",{key:"32087d935d2905d8ce6b78b372109c53fbb25c5f",class:"area-background"}),t("mds-button",{key:"518d648a07f7af617e703c61fa8d9c6265760df2",class:"action",variant:"dark",tone:"text",disabled:this.disabled,label:this.label}))};return e}());I.style=B()}}}));
94
+ */this.today=undefined}e.prototype.render=function(){return t(n,{key:"a393822aa73f1d6094e8b0faa05ebe863ce20749"},t("div",{key:"c80b08e7bf127713f261c35b0807d21fae450950",class:"inner-dot"}),t("div",{key:"571f5470a1465c2541bb1328ad6a3b1600af64bb",class:"area-background"}),t("mds-button",{key:"d303799a03cd311d4dcb7aaf0141838d7f99cde7",class:"action",variant:"dark",tone:"text",disabled:this.disabled,label:this.label}))};return e}());I.style=B()}}}));
@@ -21,4 +21,4 @@ this.setCurrentContent=function(){a.contentItems.forEach((function(r,e){r.hidden
21
21
  * div in the shadow root that measures from its own parent. What is left over
22
22
  * is the distance of the component from the left of the page, and it lands
23
23
  * straight on the scroll.
24
- */this.scrollToItem=function(r,e,t){var a=r.getBoundingClientRect();var s=e.getBoundingClientRect();var o=t==="centre"?(a.width-s.width)/2:0;r.scrollLeft+=s.left-a.left-o}}r.prototype.componentWillLoad=function(){this.items=this.queryItems();this.items.forEach((function(r,e){r.id="mds-stepper-bar-item-".concat(e)}))};r.prototype.componentDidLoad=function(){this.contentItems=this.queryContentItems();this.setCurrent(this.itemsDone)};r.prototype.itemDone=function(r){this.setCurrent(r)};r.prototype.render=function(){return a(s,{key:"8c22e823f3cffd7700825b69e1f9cfa2e59e2542"},a("div",{key:"82ba27f5184fc093da0536d98bde6f7b78ff9d2a",class:"items",part:"items"},a("slot",{key:"d1d078643e92a4043b027bce2f6c559fc3549d8e"})),a("div",{key:"8b8b4151e347dd23710658957a404bd3f6b7994f",class:"contents",part:"contents"},a("slot",{key:"574604142923e58e257f5c40ebb605216061e043",name:"content"})))};Object.defineProperty(r.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{itemsDone:[{itemDone:0}]}},enumerable:false,configurable:true});return r}());i.style=n()}}}));
24
+ */this.scrollToItem=function(r,e,t){var a=r.getBoundingClientRect();var s=e.getBoundingClientRect();var o=t==="centre"?(a.width-s.width)/2:0;r.scrollLeft+=s.left-a.left-o}}r.prototype.componentWillLoad=function(){this.items=this.queryItems();this.items.forEach((function(r,e){r.id="mds-stepper-bar-item-".concat(e)}))};r.prototype.componentDidLoad=function(){this.contentItems=this.queryContentItems();this.setCurrent(this.itemsDone)};r.prototype.itemDone=function(r){this.setCurrent(r)};r.prototype.render=function(){return a(s,{key:"4cee33d7549fc0ec2f6b35860c2fdd74bb379509"},a("div",{key:"b9a7e3d7df02ed8f098232b6a8078ce8d58ea5c2",class:"items",part:"items"},a("slot",{key:"d1cae57eb1d6a175ec23b554435ce36d0af37567"})),a("div",{key:"eb65a046cc49732c0679e4aef0dcb6b0467a5413",class:"contents",part:"contents"},a("slot",{key:"d08d348e9a159fc44e5b8d14a7c4c9920f34370e",name:"content"})))};Object.defineProperty(r.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{itemsDone:[{itemDone:0}]}},enumerable:false,configurable:true});return r}());i.style=n()}}}));
@@ -1,7 +1,7 @@
1
- System.register(["./p-BZP13mns.system.js"],(function(a){"use strict";var t,i,e;return{setters:[function(a){t=a.r;i=a.h;e=a.e}],execute:function(){var r='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10"/>\n</svg>\n';var n=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-list-item-icon-margin:0 calc(var(--spacing,.0025rem)*200) 0 0;align-items:flex-start;display:flex;justify-content:flex-start;width:100%}.icon{fill:currentColor;height:calc(var(--spacing,.0025rem)*600);margin:var(--mds-list-item-icon-margin,0 calc(var(--spacing,.0025rem)*200) 0 0);width:calc(var(--spacing,.0025rem)*600)}:host([typography=paragraph]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=caption]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*-50) calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=label]),:host([typography=tip]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*-100) calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=option]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*-200) calc(var(--spacing,.0025rem)*200) 0 0}"};var s=a("mds_list_item",/** @class */function(){function a(a){t(this,a);
1
+ System.register(["./p-BZP13mns.system.js"],(function(t){"use strict";var i,a,r;return{setters:[function(t){i=t.r;a=t.h;r=t.e}],execute:function(){var n='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10"/>\n</svg>\n';var s=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-list-item-icon-margin:0 calc(var(--spacing,.0025rem)*200) 0 0;align-items:flex-start;display:flex;justify-content:flex-start;width:100%}.icon{fill:currentColor;height:calc(var(--spacing,.0025rem)*600);margin:var(--mds-list-item-icon-margin,0 calc(var(--spacing,.0025rem)*200) 0 0);width:calc(var(--spacing,.0025rem)*600)}:host([typography=paragraph]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=caption]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*-50) calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=label]),:host([typography=tip]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*-100) calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=option]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*-200) calc(var(--spacing,.0025rem)*200) 0 0}"};var e=t("mds_list_item",/** @class */function(){function t(t){i(this,t);
2
2
  /**
3
3
  * Specifies the typography of the element
4
4
  */this.typography="detail";
5
5
  /**
6
6
  * Specifies the variant for `typography`
7
- */this.variant="info"}a.prototype.render=function(){var a;return i(e,{key:"fff0acba842bb1d2a9aeea3bdbf5eefe54dee797",role:"listitem"},i("mds-icon",{key:"0069980ad2855fbf4c8d6f24674dcc7278e79795","aria-hidden":"true",class:"icon",name:(a=this.icon)!==null&&a!==void 0?a:r,part:"icon"}),i("mds-text",{key:"cfe17aebe2d78ae500a799a6de2d811b1bc50c58",tag:"span",typography:this.typography,variant:this.variant,part:"text"},i("slot",{key:"7822a2ea0234bf4665865b397ca4c6b9a184ad4f"})))};return a}());s.style=n()}}}));
7
+ */this.variant="info"}t.prototype.render=function(){var t;return a(r,{key:"748216f9f2fd72a7d18583b24b22ebf5f1bef1bd",role:"listitem"},a("mds-icon",{key:"bedf1c8104b38d4148ceb141bbccc0686557af88","aria-hidden":"true",class:"icon",name:(t=this.icon)!==null&&t!==void 0?t:n,part:"icon"}),a("mds-text",{key:"343367424cb48f13cf3a2e8e40d3e0216500f0b8",tag:"span",typography:this.typography,variant:this.variant,part:"text"},a("slot",{key:"867266521cd6c112ca228265636df7d0bad79994"})))};return t}());e.style=s()}}}));
@@ -31,4 +31,4 @@ return _===h?se:_===E?{value:se[0],symbol:se[1],exponent:te,unit:ne}:se.join(H)}
31
31
  // a preview moved in the page is disconnected and connected again, without loading again
32
32
  e.prototype.connectedCallback=function(){this.attachCardKeyboard()};e.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};e.prototype.handleFilename=function(e){this.format=b(e,this.suffix).format};e.prototype.render=function(){var e,r,a,o,l,v,c;
33
33
  // a removed attribute or a null bound by a framework counts as not set, like an empty value
34
- var m=((e=this.message)!==null&&e!==void 0?e:"")!=="";return i(t,{key:"ccceeecb39e0ce014d80db8278ea827c59f7cb7e","pref-animation":u.state.animation,"pref-contrast":u.state.contrast,"pref-mode":u.state.mode,"pref-theme-scheme":u.state["theme-scheme"]},this.deletable&&i("mds-button",{key:"18bd3233c61809fc39e6767d6ecb49aa7cd07082",title:this.t.get("remove"),class:"action-delete",icon:s,variant:"light",onClick:this.onClickDeletedEvent}),i("div",{key:"78b37a7dd81c75fa1996ff0fb75a9b1ff1abb6d0",class:"card",onClick:this.onClickDownloadEvent,part:"card",ref:this.cardRef,role:this.downloadable?"button":undefined,tabindex:this.downloadable?"0":undefined},((r=this.src)!==null&&r!==void 0?r:"")!==""&&!m&&b(this.filename,this.suffix).preview?i("mds-img",{src:this.src,class:"preview preview--image","aspect-ratio":"1/1"}):i("div",{class:n("preview",m?"preview--status":"preview--icon")},((a=this.icon)!==null&&a!==void 0?a:"")!==""?i("mds-icon",{class:"icon",name:this.icon}):i("mds-icon",{class:"icon",name:g(this.filename,this.suffix).icon}),this.message&&i("mds-text",{class:"message",typography:"caption",variant:"info"},this.message)),i("mds-text",{key:"b75b4c9d2a1b8b9e0ed08fdb7bea49cf1a618ada",class:"file-name",typography:"h6",variant:"title",truncate:this.truncate,title:this.filename},this.filename),i("div",{key:"920765752c32efd20d0d5ed2f6eaa91ec7ac35ef",class:n("infos",this.filesize&&"infos--has-file-size")},this.filesize&&this.filesize===Number(this.filesize).toString()&&i("mds-text",{key:"8b0ff0bcf74ec1ef959460968f731799e5ff597c",class:"file-size",truncate:"word",typography:"caption",variant:"info"},H(Number(this.filesize),{standard:"jedec"})),this.filesize&&this.filesize!==Number(this.filesize).toString()&&i("mds-text",{key:"d2744f6a13812fa0f9d6905a95adaee0694f294e",class:"file-size",truncate:"word",typography:"caption",variant:"info"},this.filesize),f(this.filename,this.suffix)&&i("mds-badge",{key:"7c8d72a726ce424023be53c8514101c43e92d72b",variant:g(this.filename,this.suffix).variant,tone:"weak",class:"suffix",title:(o=this.description)!==null&&o!==void 0?o:this.t.get(this.getDefaultKeyDescription())},f(this.filename,this.suffix)),((l=this.filesize)!==null&&l!==void 0?l:"")===""&&i("mds-text",{key:"8c3d0edb1b594eb9b2c4e14e5f91b0f336cf80a5",class:"description",truncate:"word",typography:"caption",variant:"info",title:(v=this.description)!==null&&v!==void 0?v:this.t.get(this.getDefaultKeyDescription())},(c=this.description)!==null&&c!==void 0?c:this.t.get(this.getDefaultKeyDescription())))))};Object.defineProperty(e.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{filename:[{handleFilename:0}]}},enumerable:false,configurable:true});return e}());W.style=V()}}}));
34
+ var m=((e=this.message)!==null&&e!==void 0?e:"")!=="";return i(t,{key:"cf9c83a4636e4bb391dbfef53ebafa3a2c13d9ff","pref-animation":u.state.animation,"pref-contrast":u.state.contrast,"pref-mode":u.state.mode,"pref-theme-scheme":u.state["theme-scheme"]},this.deletable&&i("mds-button",{key:"ef240e1c6824370a84944040a573853e8ce637ee",title:this.t.get("remove"),class:"action-delete",icon:s,variant:"light",onClick:this.onClickDeletedEvent}),i("div",{key:"6880b354db8a345ea2e3411d6d06646410863d78",class:"card",onClick:this.onClickDownloadEvent,part:"card",ref:this.cardRef,role:this.downloadable?"button":undefined,tabindex:this.downloadable?"0":undefined},((r=this.src)!==null&&r!==void 0?r:"")!==""&&!m&&b(this.filename,this.suffix).preview?i("mds-img",{src:this.src,class:"preview preview--image","aspect-ratio":"1/1"}):i("div",{class:n("preview",m?"preview--status":"preview--icon")},((a=this.icon)!==null&&a!==void 0?a:"")!==""?i("mds-icon",{class:"icon",name:this.icon}):i("mds-icon",{class:"icon",name:g(this.filename,this.suffix).icon}),this.message&&i("mds-text",{class:"message",typography:"caption",variant:"info"},this.message)),i("mds-text",{key:"ec2bfe4f4738c27f0f1d99a466fa01a4d19202f0",class:"file-name",typography:"h6",variant:"title",truncate:this.truncate,title:this.filename},this.filename),i("div",{key:"59eb8b6f5c4f466e4ec6b1a8443a5cd691916e2d",class:n("infos",this.filesize&&"infos--has-file-size")},this.filesize&&this.filesize===Number(this.filesize).toString()&&i("mds-text",{key:"b8c72bfb48476b1acb106899ff518aa2aafa3eaf",class:"file-size",truncate:"word",typography:"caption",variant:"info"},H(Number(this.filesize),{standard:"jedec"})),this.filesize&&this.filesize!==Number(this.filesize).toString()&&i("mds-text",{key:"2d6874a000051b4b5d22b655b46fc1ef5e8b2018",class:"file-size",truncate:"word",typography:"caption",variant:"info"},this.filesize),f(this.filename,this.suffix)&&i("mds-badge",{key:"05c2e209b44033d22d986441171b23b3d4d4c556",variant:g(this.filename,this.suffix).variant,tone:"weak",class:"suffix",title:(o=this.description)!==null&&o!==void 0?o:this.t.get(this.getDefaultKeyDescription())},f(this.filename,this.suffix)),((l=this.filesize)!==null&&l!==void 0?l:"")===""&&i("mds-text",{key:"8e01cb5ad8e7747ba6a99a54d8ee7735602212a3",class:"description",truncate:"word",typography:"caption",variant:"info",title:(v=this.description)!==null&&v!==void 0?v:this.t.get(this.getDefaultKeyDescription())},(c=this.description)!==null&&c!==void 0?c:this.t.get(this.getDefaultKeyDescription())))))};Object.defineProperty(e.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{filename:[{handleFilename:0}]}},enumerable:false,configurable:true});return e}());W.style=V()}}}));
@@ -1,11 +1,11 @@
1
- var __spreadArray=this&&this.__spreadArray||function(t,i,n){if(n||arguments.length===2)for(var r=0,e=i.length,s;r<e;r++){if(s||!(r in i)){if(!s)s=Array.prototype.slice.call(i,0,r);s[r]=i[r]}}return t.concat(s||Array.prototype.slice.call(i))};System.register(["./p-BZP13mns.system.js","./p-BS7eEvwu.system.js","./p-CuHZXISO.system.js","./p-mGgjNqBm.system.js"],(function(t){"use strict";var i,n,r,e,s,a;return{setters:[function(t){i=t.r;n=t.h;r=t.e;e=t.g},function(t){s=t.s},function(t){a=t.L},null],execute:function(){var u="Ψηφίο {{position}} από {{length}}";var o={digit:u};var l="Digit {{position}} of {{length}}";var h={digit:l};var c="Dígito {{position}} de {{length}}";var f={digit:c};var d="Cifra {{position}} di {{length}}";var v={digit:d};var p=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-input:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:inline-flex;gap:calc(var(--spacing,.0025rem)*400)}.input{width:calc(var(--spacing,.0025rem)*1200)}.input::part(field){text-align:center}.input::part(tip-count),.input::part(tip-top){display:none}"};var g=t("mds_input_otp",/** @class */function(){function t(t){var n=this;i(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}
1
+ var __spreadArray=this&&this.__spreadArray||function(t,i,n){if(n||arguments.length===2)for(var r=0,e=i.length,s;r<e;r++){if(s||!(r in i)){if(!s)s=Array.prototype.slice.call(i,0,r);s[r]=i[r]}}return t.concat(s||Array.prototype.slice.call(i))};System.register(["./p-BZP13mns.system.js","./p-BS7eEvwu.system.js","./p-CuHZXISO.system.js","./p-mGgjNqBm.system.js"],(function(t){"use strict";var i,n,r,e,s,a;return{setters:[function(t){i=t.r;n=t.h;r=t.e;e=t.g},function(t){s=t.s},function(t){a=t.L},null],execute:function(){var u="Ψηφίο {{position}} από {{length}}";var o={digit:u};var l="Digit {{position}} of {{length}}";var h={digit:l};var f="Dígito {{position}} de {{length}}";var c={digit:f};var v="Cifra {{position}} di {{length}}";var d={digit:v};var p=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-input:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:inline-flex;gap:calc(var(--spacing,.0025rem)*400)}.input{width:calc(var(--spacing,.0025rem)*1200)}.input::part(field){text-align:center}.input::part(tip-count),.input::part(tip-top){display:none}"};var g=t("mds_input_otp",/** @class */function(){function t(t){var n=this;i(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}
2
2
  // the value of load, which a form reset brings back as the value attribute of a native input
3
3
  this.loadValue="";
4
4
  // the digit of each cell, by position: value joins them and drops the empty ones
5
5
  this.digits=[];
6
6
  // the disabled state of the host as a form control: its own disabled, or a disabled fieldset
7
7
  // around it, which disables the host but not the cells in its shadow root
8
- this.formDisabled=false;this.t=new a({el:o,en:h,es:f,it:v});
8
+ this.formDisabled=false;this.t=new a({el:o,en:h,es:c,it:d});
9
9
  /**
10
10
  * Number of digits in the OTP code
11
11
  */this.length=6;
@@ -37,4 +37,4 @@ if(l==null){n.submit(s);return}s=l;s.setFocus()}};this.digitName=function(t){var
37
37
  if((t!==null&&t!==void 0?t:"")===this.digits.join(""))return;this.fillCells(t!==null&&t!==void 0?t:"")};t.prototype.formDisabledCallback=function(t){this.formDisabled=t};
38
38
  /** Like a native input, a form reset brings back the code of load. */t.prototype.formResetCallback=function(){this.fillCells(this.loadValue)};t.prototype.componentWillLoad=function(){var t;this.loadValue=(t=this.value)!==null&&t!==void 0?t:"";this.fillCells(this.loadValue)};
39
39
  /** Puts a code in the cells, from the first one, as many digits as there are cells. */t.prototype.fillCells=function(t){this.digits=Array.from(t).slice(0,this.length);this.updateValue()};
40
- /** Joins the cells into value, the code the form submits. */t.prototype.updateValue=function(){this.value=this.digits.join("");s(this.internals,this.value)};t.prototype.render=function(){var t=this;return n(r,{key:"c9877d93f4c68eadde74ec087c10bb7465811051"},Array.from({length:this.length}).map((function(i,r){var e;return n("mds-input",{"aria-label":t.digitName(r),class:"input",disabled:t.isDisabled(),maxlength:1,onKeyDown:t.handleKeyDown,onPaste:t.handlePaste,value:(e=t.digits[r])!==null&&e!==void 0?e:""})})))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{valueChanged:0}]}},enumerable:false,configurable:true});return t}());g.style=p()}}}));
40
+ /** Joins the cells into value, the code the form submits. */t.prototype.updateValue=function(){this.value=this.digits.join("");s(this.internals,this.value)};t.prototype.render=function(){var t=this;return n(r,{key:"a2a249f0fb7eb2086f502bda3f83109ab9b58345"},Array.from({length:this.length}).map((function(i,r){var e;return n("mds-input",{"aria-label":t.digitName(r),class:"input",disabled:t.isDisabled(),maxlength:1,onKeyDown:t.handleKeyDown,onPaste:t.handlePaste,value:(e=t.digits[r])!==null&&e!==void 0?e:""})})))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{valueChanged:0}]}},enumerable:false,configurable:true});return t}());g.style=p()}}}));
@@ -1 +1 @@
1
- import{r as t,d as a,h as i,e as r,g as e}from"./p-CvLLN-QH.js";import{s as n}from"./p-wI0alRSO.js";import{u as s}from"./p-Dx_cCOTw.js";import{m as o}from"./p-BVQMG7KJ.js";import{D as d}from"./p-DbyXf6dF.js";import{p as c}from"./p-iX3kcwYg.js";import{L as m}from"./p-OafT80hV.js";var p={openCalendar:"Άνοιγμα ημερολογίου"},h={openCalendar:"Open calendar"},l={openCalendar:"Abrir el calendario"},u={openCalendar:"Apri il calendario"};const g=class{constructor(i){t(this,i),this.validationEvent=a(this,"mdsInputValidation",7),this.valueChange=a(this,"mdsInputDateSelect",7),i.$hostElement$["s-ei"]?this.internals=i.$hostElement$["s-ei"]:(this.internals=i.$hostElement$.attachInternals(),i.$hostElement$["s-ei"]=this.internals),this.t=new m({el:p,en:h,es:l,it:u}),this.formDisabled=!1,this.isSlotted=!1,this.defaultValue="",this.empty=void 0,this.touched=!1,this.value="",this.variant="primary",this.min=null,this.max=null,this.delay=500,this.size="lg",this.hideToday=!1,this.disabled=!1,this.readonly=!1,this.required=!1,this.calendarKey=0,this.hasFocus=!1,this.isDisabled=()=>!!this.disabled||this.formDisabled,this.handleChange=t=>{const a=t.target;this.touched=!0,""!==a.value&&(this.value=a.value),this.validateValue(a.validity.badInput)},this.onBlur=t=>{const a=t.target;this.hasFocus=!1,this.touched=!0,this.value=a.value,this.validateValue(a.validity.badInput)},this.onFocus=t=>{const a=t.target;this.hasFocus=!0,this.readonly&&setTimeout((()=>{a.select()}),10)},this.handleOpenCalendarClick=()=>{this.calendarKey+=1},this.handleCalendarChange=t=>{if(this.touched=!0,this.value=t.detail.startDate,0===this.delay)return;const{dropdownRef:a}=this;a&&setTimeout((()=>{a.visible=!1}),this.delay)}}handleValue(){this.valueChange.emit(this.value),this.validateValue()}validateValue(t=!1){const a=d.fromISO(this.value),i=Boolean(this.value)&&!a.isValid;this.problem=this.findProblem(a,t||i),this.isValid=void 0===this.problem,n(this.internals,this.isValid?this.value:null),this.empty=!(!t&&!i)||void 0,this.updateFormValidity(),this.touched&&(this.variant=this.isValid?"primary":"error",this.validationEvent.emit(this.isValid))}invalidHandler(){this.touched=!0,this.validateValue()}findProblem(t,a){var i,r,e;return a?{rule:"invalidDate"}:this.required&&""===(null!==(i=this.value)&&void 0!==i?i:"")?{rule:"required"}:t.isValid?""!==(null!==(r=this.max)&&void 0!==r?r:"")&&d.fromISO(this.max)<t?{rule:"maxDate",context:{max:this.formatDate(this.max)}}:""!==(null!==(e=this.min)&&void 0!==e?e:"")&&d.fromISO(this.min)>t?{rule:"minDate",context:{min:this.formatDate(this.min)}}:void 0:void 0}formatDate(t){return d.fromISO(t).setLocale(c.state.language).toLocaleString(d.DATE_SHORT)}updateFormValidity(){var t,a;const i=null!==(a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input"))&&void 0!==a?a:void 0;s(this.internals,this.problem,i)}componentDidRender(){this.updateFormValidity()}async focusInput(){var t;(null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input")).focus()}async setValue(t){return this.value=t,this.validateValue(),Promise.resolve()}async getErrors(){return Promise.resolve(this.isValid?null:{error:""})}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){var t;const{touched:a}=this;this.touched=!1;const i=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input");i&&(i.value=this.defaultValue),this.value=this.defaultValue,this.validateValue(),a&&(this.variant="primary")}componentWillLoad(){this.isSlotted=!(null===this.host.getAttribute("slot")||""===this.host.getAttribute("slot")),this.value=this.value||"",this.defaultValue=this.value,this.clampRange(),this.validateValue()}clampRange(){return null!==this.min&&""!==this.min&&null!==this.max&&""!==this.max&&d.fromISO(this.max)<d.fromISO(this.min)&&(this.max=this.min,!0)}validationRulesChanged(){this.clampRange()||this.validateValue()}render(){return i(r,{key:"ca767c9c4d02daded43106191d4fd004b4938ec6",empty:this.empty,"pref-animation":c.state.animation,"pref-contrast":c.state.contrast,"pref-mode":c.state.mode,"pref-theme-scheme":c.state["theme-scheme"]},i("input",{key:"56af9b42a4db5bf071a69ec098d220b006fd2f63","aria-label":this.accessibleName,value:this.value,id:"dateInput",class:"input",part:"input-date",type:"date",disabled:this.isDisabled(),name:this.name,readOnly:this.readonly,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.handleChange,onChange:this.handleChange}),!this.isSlotted&&i("div",{key:"820418fcceacbddfc039a5777c6cef1adac55c93",class:"action-open-calendar-wrapper"},i("mds-button",{key:"d0d2da878a1491ca82d38c5c1c8cf945b20fcd36","aria-label":this.t.get("openCalendar"),id:"calendar-dropdown",class:"action-open-calendar",size:"sm"===this.size?"sm":void 0,disabled:this.isDisabled()||this.readonly,variant:"dark",tone:"text",icon:o,onClick:this.handleOpenCalendarClick})),i("mds-input-tip",{key:"87bb965abf3661b59bd81c488a858d1ed0ece717",position:"top",active:this.hasFocus},this.isDisabled()&&i("mds-input-tip-item",{key:"b1d1068dc9c6474aefd8ea1260f371a0be356a87",expanded:!0,variant:"disabled"}),this.readonly&&i("mds-input-tip-item",{key:"e29d36bb7698aa23d5e2fe599c30fb055958421b",expanded:!0,variant:"readonly"}),this.required&&i("mds-input-tip-item",{key:"defb7729cf5ecd3c42195e85278a9cbb3cdbf1c0",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),!this.isSlotted&&i("mds-dropdown",{key:"10bd1dd955286600cfc075586f4b96c1eb737f2a",placement:"bottom-end","disable-auto-placement":!0,ref:t=>this.dropdownRef=t,role:"group",target:"#calendar-dropdown"},i("mds-calendar",Object.assign({key:this.calendarKey,singlePicker:!0,hideToday:this.hideToday,onMdsCalendarChange:this.handleCalendarChange,startDate:this.value},null!==this.min&&""!==this.min?{min:this.min}:{},null!==this.max&&""!==this.max?{max:this.max}:{}))))}static get formAssociated(){return!0}get host(){return e(this)}static get watchers(){return{value:[{handleValue:0}],max:[{validationRulesChanged:0}],min:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}]}}};g.style='@layer reset,vendor,theme,base,components,utilities;:host{--private-input-date-height:calc(var(--spacing,.0025rem)*1200);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*400);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*1200);--mds-input-date-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-input-date-field-background-empty:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-input-date-field-color-empty:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-input-date-ring:0 0 0 1px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1);--mds-input-date-shadow:0 1px calc(var(--spacing,.0025rem)*75) 0 rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1),0 1px calc(var(--spacing,.0025rem)*50) 0 rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.06);--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*1000);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-date-transition-duration:var(--duration-300,.3s);--private-input-date-transition-duration:var(--mds-input-date-transition-duration);font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-input-date-height));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);container-type:inline-size;display:flex;gap:calc(var(--spacing,.0025rem)*200);overflow:visible;position:relative;--mds-input-date-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-date-variant-color-rgb:0 0 0}.input::-webkit-calendar-picker-indicator{appearance:textfield;display:none}.input{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-hack,.875rem);font-weight:var(--tw-font-weight,var(--text-size-code-hack--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-hack--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:inherit;box-sizing:border-box;color:inherit;corner-shape:inherit;background-color:#0000;border:0;margin:0;overflow:hidden;text-overflow:ellipsis;transition-duration:var(--private-input-date-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,margin,opacity,padding,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:min-content}:host([empty]) .input{background-color:var(--mds-input-date-field-background-empty,rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230))));color:var(--mds-input-date-field-color-empty,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))))}:host([slot]){color:inherit;display:contents}:host([slot]) .input{cursor:text;text-align:center}:host(:not([slot])) .input{background-color:var(--mds-input-date-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));box-shadow:var(--mds-input-date-ring),var(--mds-input-date-shadow);min-height:var(--private-input-date-height);padding-left:var(--private-input-date-padding-inline);padding-right:var(--private-input-date-calendar-area);width:100%}:host(:focus-within) .input{--tw-outline-style:none;outline-style:none;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,rotate,scale,transform,translate,width;transition-timing-function:var(--default-transition-timing-function);--mds-input-date-ring:0 0 0 calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/1);--mds-input-date-shadow:0 calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*150) calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1),0 calc(var(--spacing,.0025rem)*50) calc(var(--spacing,.0025rem)*100) -1px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.06);transition-duration:var(--duration-300,.3s);transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}.input::-webkit-inner-spin-button,.input::-webkit-outer-spin-button{appearance:none;display:none;margin:0}.input:disabled{background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}.input:disabled,.input:disabled::placeholder{color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}.action-open-calendar-wrapper{align-items:center;aspect-ratio:1;bottom:0;display:flex;justify-content:center;position:absolute;right:0;top:0}.action-open-calendar{--mds-button-color:var(--mds-input-date-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));align-self:center}mds-calendar{min-width:min-content;width:100cqw}mds-dropdown{padding:0}mds-input-tip{--mds-input-tip-horizontal-offset:inherit;--mds-input-tip-horizontal-offset-focused:inherit;--mds-input-tip-vertical-offset:inherit;--mds-input-tip-background:inherit}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar,mds-dropdown,mds-input-tip,mds-input-tip-item):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host([size=md]){--private-input-date-height:calc(var(--spacing,.0025rem)*900);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*300);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*1000)}:host([size=sm]){--private-input-date-height:calc(var(--spacing,.0025rem)*700);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*200);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*800)}: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-input-date-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-date-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([pref-contrast=more]){--mds-input-date-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([pref-contrast=more]) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}@supports ((-moz-appearance:none)){.action-open-calendar{display:none}:host(:not([slot])) .input{padding-right:calc(var(--spacing,.0025rem)*400)}}:host(:focus){--mds-input-date-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-variant-color-rgb:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))}:host([variant=ai]){--mds-input-date-icon-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-input-tip-background:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=ai]:focus){--mds-input-date-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-variant-color-rgb:var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245))}:host([variant=info]){--mds-input-date-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=info]:focus){--mds-input-date-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-date-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=success]:focus){--mds-input-date-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-date-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=warning]:focus){--mds-input-date-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-date-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=error]:focus){--mds-input-date-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}@media (forced-colors:active){:host(:focus-within) .input{outline:2px solid #0000;outline-offset:2px}}@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-input-date-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-date-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-date-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}}';export{g as mds_input_date}
1
+ import{r as t,d as a,h as i,e as r,g as e}from"./p-CvLLN-QH.js";import{s as n}from"./p-wI0alRSO.js";import{u as s}from"./p-Dx_cCOTw.js";import{m as o}from"./p-BVQMG7KJ.js";import{D as d}from"./p-DbyXf6dF.js";import{p as c}from"./p-iX3kcwYg.js";import{L as m}from"./p-OafT80hV.js";var p={openCalendar:"Άνοιγμα ημερολογίου"},h={openCalendar:"Open calendar"},l={openCalendar:"Abrir el calendario"},u={openCalendar:"Apri il calendario"};const g=class{constructor(i){t(this,i),this.validationEvent=a(this,"mdsInputValidation",7),this.valueChange=a(this,"mdsInputDateSelect",7),i.$hostElement$["s-ei"]?this.internals=i.$hostElement$["s-ei"]:(this.internals=i.$hostElement$.attachInternals(),i.$hostElement$["s-ei"]=this.internals),this.t=new m({el:p,en:h,es:l,it:u}),this.formDisabled=!1,this.isSlotted=!1,this.defaultValue="",this.empty=void 0,this.touched=!1,this.value="",this.variant="primary",this.min=null,this.max=null,this.delay=500,this.size="lg",this.hideToday=!1,this.disabled=!1,this.readonly=!1,this.required=!1,this.calendarKey=0,this.hasFocus=!1,this.isDisabled=()=>!!this.disabled||this.formDisabled,this.handleChange=t=>{const a=t.target;this.touched=!0,""!==a.value&&(this.value=a.value),this.validateValue(a.validity.badInput)},this.onBlur=t=>{const a=t.target;this.hasFocus=!1,this.touched=!0,this.value=a.value,this.validateValue(a.validity.badInput)},this.onFocus=t=>{const a=t.target;this.hasFocus=!0,this.readonly&&setTimeout((()=>{a.select()}),10)},this.handleOpenCalendarClick=()=>{this.calendarKey+=1},this.handleCalendarChange=t=>{if(this.touched=!0,this.value=t.detail.startDate,0===this.delay)return;const{dropdownRef:a}=this;a&&setTimeout((()=>{a.visible=!1}),this.delay)}}handleValue(){this.valueChange.emit(this.value),this.validateValue()}validateValue(t=!1){const a=d.fromISO(this.value),i=Boolean(this.value)&&!a.isValid;this.problem=this.findProblem(a,t||i),this.isValid=void 0===this.problem,n(this.internals,this.isValid?this.value:null),this.empty=!(!t&&!i)||void 0,this.updateFormValidity(),this.touched&&(this.variant=this.isValid?"primary":"error",this.validationEvent.emit(this.isValid))}invalidHandler(){this.touched=!0,this.validateValue()}findProblem(t,a){var i,r,e;return a?{rule:"invalidDate"}:this.required&&""===(null!==(i=this.value)&&void 0!==i?i:"")?{rule:"required"}:t.isValid?""!==(null!==(r=this.max)&&void 0!==r?r:"")&&d.fromISO(this.max)<t?{rule:"maxDate",context:{max:this.formatDate(this.max)}}:""!==(null!==(e=this.min)&&void 0!==e?e:"")&&d.fromISO(this.min)>t?{rule:"minDate",context:{min:this.formatDate(this.min)}}:void 0:void 0}formatDate(t){return d.fromISO(t).setLocale(c.state.language).toLocaleString(d.DATE_SHORT)}updateFormValidity(){var t,a;const i=null!==(a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input"))&&void 0!==a?a:void 0;s(this.internals,this.problem,i)}componentDidRender(){this.updateFormValidity()}async focusInput(){var t;(null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input")).focus()}async setValue(t){return this.value=t,this.validateValue(),Promise.resolve()}async getErrors(){return Promise.resolve(this.isValid?null:{error:""})}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){var t;const{touched:a}=this;this.touched=!1;const i=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input");i&&(i.value=this.defaultValue),this.value=this.defaultValue,this.validateValue(),a&&(this.variant="primary")}componentWillLoad(){this.isSlotted=!(null===this.host.getAttribute("slot")||""===this.host.getAttribute("slot")),this.value=this.value||"",this.defaultValue=this.value,this.clampRange(),this.validateValue()}clampRange(){return null!==this.min&&""!==this.min&&null!==this.max&&""!==this.max&&d.fromISO(this.max)<d.fromISO(this.min)&&(this.max=this.min,!0)}validationRulesChanged(){this.clampRange()||this.validateValue()}render(){return i(r,{key:"3f759e90a2afb2a60cccffefe05e0d5ee83e6599",empty:this.empty,"pref-animation":c.state.animation,"pref-contrast":c.state.contrast,"pref-mode":c.state.mode,"pref-theme-scheme":c.state["theme-scheme"]},i("input",{key:"aec10df994fff027b3f1036868ba3227eca28b95","aria-label":this.accessibleName,value:this.value,id:"dateInput",class:"input",part:"input-date",type:"date",disabled:this.isDisabled(),name:this.name,readOnly:this.readonly,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.handleChange,onChange:this.handleChange}),!this.isSlotted&&i("div",{key:"2ab71c0e0d679f92a4e46c1dc4bd082c513820b0",class:"action-open-calendar-wrapper"},i("mds-button",{key:"0c1c529596a6f0cecaf1f308a2e4be9359a7055c","aria-label":this.t.get("openCalendar"),id:"calendar-dropdown",class:"action-open-calendar",size:"sm"===this.size?"sm":void 0,disabled:this.isDisabled()||this.readonly,variant:"dark",tone:"text",icon:o,onClick:this.handleOpenCalendarClick})),i("mds-input-tip",{key:"c54689cb5fc4280a5914306bdd531f5d34213d9b",position:"top",active:this.hasFocus},this.isDisabled()&&i("mds-input-tip-item",{key:"8da23823a14db37f4264234923c6e359091a2c16",expanded:!0,variant:"disabled"}),this.readonly&&i("mds-input-tip-item",{key:"077fc5e96d1a1155b56d7c985f903e8d40554df4",expanded:!0,variant:"readonly"}),this.required&&i("mds-input-tip-item",{key:"8d04195ec36c6c6ed3c780b210e3edcefbc931bd",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),!this.isSlotted&&i("mds-dropdown",{key:"82b2a86ab4c71e18d8fd18ce1aedafafca71fcdf",placement:"bottom-end","disable-auto-placement":!0,ref:t=>this.dropdownRef=t,role:"group",target:"#calendar-dropdown"},i("mds-calendar",Object.assign({key:this.calendarKey,singlePicker:!0,hideToday:this.hideToday,onMdsCalendarChange:this.handleCalendarChange,startDate:this.value},null!==this.min&&""!==this.min?{min:this.min}:{},null!==this.max&&""!==this.max?{max:this.max}:{}))))}static get formAssociated(){return!0}get host(){return e(this)}static get watchers(){return{value:[{handleValue:0}],max:[{validationRulesChanged:0}],min:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}]}}};g.style='@layer reset,vendor,theme,base,components,utilities;:host{--private-input-date-height:calc(var(--spacing,.0025rem)*1200);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*400);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*1200);--mds-input-date-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-input-date-field-background-empty:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-input-date-field-color-empty:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-input-date-ring:0 0 0 1px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1);--mds-input-date-shadow:0 1px calc(var(--spacing,.0025rem)*75) 0 rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1),0 1px calc(var(--spacing,.0025rem)*50) 0 rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.06);--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*1000);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-date-transition-duration:var(--duration-300,.3s);--private-input-date-transition-duration:var(--mds-input-date-transition-duration);font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-input-date-height));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);container-type:inline-size;display:flex;gap:calc(var(--spacing,.0025rem)*200);overflow:visible;position:relative;--mds-input-date-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-date-variant-color-rgb:0 0 0}.input::-webkit-calendar-picker-indicator{appearance:textfield;display:none}.input{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-hack,.875rem);font-weight:var(--tw-font-weight,var(--text-size-code-hack--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-hack--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:inherit;box-sizing:border-box;color:inherit;corner-shape:inherit;background-color:#0000;border:0;margin:0;overflow:hidden;text-overflow:ellipsis;transition-duration:var(--private-input-date-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,margin,opacity,padding,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:min-content}:host([empty]) .input{background-color:var(--mds-input-date-field-background-empty,rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230))));color:var(--mds-input-date-field-color-empty,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))))}:host([slot]){color:inherit;display:contents}:host([slot]) .input{cursor:text;text-align:center}:host(:not([slot])) .input{background-color:var(--mds-input-date-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));box-shadow:var(--mds-input-date-ring),var(--mds-input-date-shadow);min-height:var(--private-input-date-height);padding-left:var(--private-input-date-padding-inline);padding-right:var(--private-input-date-calendar-area);width:100%}:host(:focus-within) .input{--tw-outline-style:none;outline-style:none;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,rotate,scale,transform,translate,width;transition-timing-function:var(--default-transition-timing-function);--mds-input-date-ring:0 0 0 calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/1);--mds-input-date-shadow:0 calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*150) calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1),0 calc(var(--spacing,.0025rem)*50) calc(var(--spacing,.0025rem)*100) -1px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.06);transition-duration:var(--duration-300,.3s);transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}.input::-webkit-inner-spin-button,.input::-webkit-outer-spin-button{appearance:none;display:none;margin:0}.input:disabled{background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}.input:disabled,.input:disabled::placeholder{color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}.action-open-calendar-wrapper{align-items:center;aspect-ratio:1;bottom:0;display:flex;justify-content:center;position:absolute;right:0;top:0}.action-open-calendar{--mds-button-color:var(--mds-input-date-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));align-self:center}mds-calendar{min-width:min-content;width:100cqw}mds-dropdown{padding:0}mds-input-tip{--mds-input-tip-horizontal-offset:inherit;--mds-input-tip-horizontal-offset-focused:inherit;--mds-input-tip-vertical-offset:inherit;--mds-input-tip-background:inherit}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar,mds-dropdown,mds-input-tip,mds-input-tip-item):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host([size=md]){--private-input-date-height:calc(var(--spacing,.0025rem)*900);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*300);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*1000)}:host([size=sm]){--private-input-date-height:calc(var(--spacing,.0025rem)*700);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*200);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*800)}: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-input-date-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-date-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([pref-contrast=more]){--mds-input-date-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([pref-contrast=more]) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}@supports ((-moz-appearance:none)){.action-open-calendar{display:none}:host(:not([slot])) .input{padding-right:calc(var(--spacing,.0025rem)*400)}}:host(:focus){--mds-input-date-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-variant-color-rgb:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))}:host([variant=ai]){--mds-input-date-icon-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-input-tip-background:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=ai]:focus){--mds-input-date-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-variant-color-rgb:var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245))}:host([variant=info]){--mds-input-date-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=info]:focus){--mds-input-date-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-date-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=success]:focus){--mds-input-date-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-date-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=warning]:focus){--mds-input-date-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-date-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=error]:focus){--mds-input-date-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}@media (forced-colors:active){:host(:focus-within) .input{outline:2px solid #0000;outline-offset:2px}}@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-input-date-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-date-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-date-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}}';export{g as mds_input_date}
@@ -1 +1 @@
1
- import{r as e,h as r,e as a,g as t}from"./p-CvLLN-QH.js";const o=class{constructor(r){e(this,r),this.onClick=e=>{var r;const a=null===(r=this.host)||void 0===r?void 0:r.closest("mds-input-date-range");a&&(e.stopPropagation(),a.preselect({caller:this.host,start:this.start,end:this.end}),this.selected=!0)}}componentWillLoad(){this.host.hasAttribute("slot")||this.host.setAttribute("slot","calendar-preselection")}render(){return r(a,{key:"a607253e6243cbb4274d86fe0684e47b0c62648e"},r("mds-button",{key:"fe5dd43aaf6f608b6ecb19e457260d803b3226bd",onClick:this.onClick,class:"action",variant:"primary",tone:"strong"},r("slot",{key:"1befcdbdc4d6922cd0eb1d59b6f9cead4c7f2e0d"})))}get host(){return t(this)}};o.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-date-range-preselection-default-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))/0);--mds-date-range-preselection-default-border:var(--magma-border-default,var(--border-neutral-default,196 196 196));--mds-date-range-preselection-default-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-date-range-preselection-selected-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-date-range-preselection-selected-border:var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204));--mds-date-range-preselection-selected-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-date-range-preselection-hover-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-date-range-preselection-hover-border:var(--magma-wash-soft,var(--tone-neutral-10,237 237 237));--mds-date-range-preselection-hover-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-date-range-preselection-background:var(--mds-date-range-preselection-default-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))/0));--mds-date-range-preselection-border:var(--mds-date-range-preselection-default-border,var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-default-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));display:inline-flex;justify-self:start}:host .action{--mds-button-background:var(--mds-date-range-preselection-background);--mds-button-border-color-rgb:var(--mds-date-range-preselection-border);--mds-button-color:var(--mds-date-range-preselection-color)}:host .action:hover{--mds-date-range-preselection-background:var(--mds-date-range-preselection-hover-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-hover-border,var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-hover-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))))}:host([selected]) .action{--mds-date-range-preselection-background:var(--mds-date-range-preselection-selected-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-selected-border,var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-selected-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));pointer-events:none}";export{o as mds_input_date_range_preselection}
1
+ import{r as e,h as a,e as r,g as t}from"./p-CvLLN-QH.js";const o=class{constructor(a){e(this,a),this.onClick=e=>{var a;const r=null===(a=this.host)||void 0===a?void 0:a.closest("mds-input-date-range");r&&(e.stopPropagation(),r.preselect({caller:this.host,start:this.start,end:this.end}),this.selected=!0)}}componentWillLoad(){this.host.hasAttribute("slot")||this.host.setAttribute("slot","calendar-preselection")}render(){return a(r,{key:"202ebd20cf70d0062792763c805de5fa89c984ad"},a("mds-button",{key:"872ffe12a2244d9bd0623e57927a3d21c123c14f",onClick:this.onClick,class:"action",variant:"primary",tone:"strong"},a("slot",{key:"d7618ad21b0cdc80afe3d39905dc8848c5f585ca"})))}get host(){return t(this)}};o.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-date-range-preselection-default-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))/0);--mds-date-range-preselection-default-border:var(--magma-border-default,var(--border-neutral-default,196 196 196));--mds-date-range-preselection-default-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-date-range-preselection-selected-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-date-range-preselection-selected-border:var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204));--mds-date-range-preselection-selected-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-date-range-preselection-hover-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-date-range-preselection-hover-border:var(--magma-wash-soft,var(--tone-neutral-10,237 237 237));--mds-date-range-preselection-hover-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-date-range-preselection-background:var(--mds-date-range-preselection-default-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))/0));--mds-date-range-preselection-border:var(--mds-date-range-preselection-default-border,var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-default-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));display:inline-flex;justify-self:start}:host .action{--mds-button-background:var(--mds-date-range-preselection-background);--mds-button-border-color-rgb:var(--mds-date-range-preselection-border);--mds-button-color:var(--mds-date-range-preselection-color)}:host .action:hover{--mds-date-range-preselection-background:var(--mds-date-range-preselection-hover-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-hover-border,var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-hover-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))))}:host([selected]) .action{--mds-date-range-preselection-background:var(--mds-date-range-preselection-selected-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-selected-border,var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-selected-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));pointer-events:none}";export{o as mds_input_date_range_preselection}
@@ -1 +1 @@
1
- import{r as t,h as a,e,g as r}from"./p-CvLLN-QH.js";import{K as i}from"./p-CGrPq3C4.js";import{u as n,s as o}from"./p-Cvhn9asj.js";import{a as s,i as h,B as v}from"./p-B7RVWU-q.js";import{r as l,s as c}from"./p-AEckDMXh.js";import{p as m}from"./p-iX3kcwYg.js";import{r as u}from"./p-wI0alRSO.js";import{N as d}from"./p-Bz1eiKqd.js";import{IconsSetService as p}from"./index.esm.js";const b={sm:"action",md:"action",lg:"h6",xl:"h5"},g=class{constructor(a){t(this,a),a.$hostElement$["s-ei"]?this.internals=a.$hostElement$["s-ei"]:(this.internals=a.$hostElement$.attachInternals(),a.$hostElement$["s-ei"]=this.internals),this.km=new i,this.hasAwaited=!1,this.iconTitle=!1,this.animation="none",this.iconPosition="left",this.type="submit",this.variant="primary",this.tone="strong",this.size="md",this.target="self",this.truncate="word",this.syncClickBehavior=()=>{this.disabled||this.await?this.km.detachClickBehavior():this.km.attachClickBehavior("element",{space:!this.isLink()})},this.handleRequestSubmitForm=t=>{t.preventDefault(),this.await||this.internals.form&&u(this.internals.form,this.name,this.value)},this.handleReset=t=>{var a;t.preventDefault(),this.await||null===(a=this.internals.form)||void 0===a||a.reset()},this.mouseDown=()=>{this.active=!0},this.mouseUp=()=>{this.active=!1},this.isLink=()=>{var t;return""!==(null!==(t=this.href)&&void 0!==t?t:"")},this.opensElsewhere=t=>"blank"===this.target||t.ctrlKey||t.metaKey||t.shiftKey,this.handleLinkClick=t=>{var a;if(!this.isLink()||this.disabled||this.await)return;const e=null!==(a=this.href)&&void 0!==a?a:"";if(this.anchor&&t.composedPath().includes(this.anchor)){if(this.opensElsewhere(t)||!d.canHandle(e,t))return;return t.preventDefault(),void this.route(e,t)}setTimeout((()=>{t.defaultPrevented||this.follow(t)}))},this.follow=t=>{var a;if("undefined"==typeof window)return;const e=null!==(a=this.href)&&void 0!==a?a:"";this.opensElsewhere(t)?window.open(e,"_blank"):d.canHandle(e,t)?this.route(e,t):window.location.assign(e)},this.route=(t,a)=>{d.handle(t,a)||window.location.assign(t)},this.focusHost=()=>{this.host.focus()},this.syncIconName=()=>{var t;if(this.host.hasAttribute("aria-labelledby"))return this.iconTitle&&this.host.removeAttribute("title"),void(this.iconTitle=!1);!this.iconTitle&&""===(null!==(t=this.label)&&void 0!==t?t:"")&&this.icon&&(s(this.icon)||h(this.icon)||this.host.hasAttribute("aria-label")||this.host.hasAttribute("title")||(this.host.setAttribute("title",n(this.icon)),this.iconTitle=!0))},this.onSlotChangeHandler=()=>{var t;""===(null!==(t=this.label)&&void 0!==t?t:"")&&(this.label=l(this.host))}}disabledChanged(t){this.syncClickBehavior(),t||(this.disabled=void 0)}labelChanged(t){this.label=c(t)}awaitChanged(t){this.host.setAttribute("aria-busy",(!!t).toString()),!1===t&&(this.await=void 0),this.syncClickBehavior()}handleTypeChange(t){this.internals.form&&("submit"===t?(this.host.removeEventListener("click",this.handleReset),this.host.addEventListener("click",this.handleRequestSubmitForm)):"reset"===t?(this.host.removeEventListener("click",this.handleRequestSubmitForm),this.host.addEventListener("click",this.handleReset)):(this.host.removeEventListener("click",this.handleRequestSubmitForm),this.host.removeEventListener("click",this.handleReset)))}handleHrefChange(){var t;const a=this.host.getAttribute("role");null!==a&&"button"!==a&&"link"!==a||this.host.setAttribute("role",this.isLink()?"link":"button"),this.handleTypeChange(this.isLink()?"link":null!==(t=this.type)&&void 0!==t?t:""),this.syncClickBehavior()}handleVariantChange(t){"google"!==t?"apple"!==t||(this.icon='<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>'):this.icon='<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'}componentWillLoad(){this.handleVariantChange(this.variant),this.isLink()||this.internals.form&&("submit"===this.type?this.host.addEventListener("click",this.handleRequestSubmitForm):"reset"===this.type&&this.host.addEventListener("click",this.handleReset))}componentDidLoad(){this.km.addElement(this.host),this.syncClickBehavior(),this.host.setAttribute("aria-busy",this.await?"true":"false"),this.autoFocus&&this.host.focus(),""===this.label&&(this.label=void 0),this.syncIconName(),o(this.host,"role",this.isLink()?"link":"button")}handleAriaLabelledbyChange(){this.syncIconName()}connectedCallback(){this.disabled||this.host.removeAttribute("disabled"),this.syncClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){var t;this.typography=null!==(t=b[this.size])&&void 0!==t?t:b.md,this.hasAwaited||(this.hasAwaited=!!this.await);const r=this.label||a("slot",{key:"6dd794dee818770bd7cdd7e206d31608e49c868d",onSlotchange:this.onSlotChangeHandler});return a(e,{key:"58d03bd3764b18ab27146a26b089db9669ef7ad4",onClick:this.handleLinkClick,onMouseDown:this.mouseDown,onMouseUp:this.mouseUp,onMouseOut:this.mouseUp,tabindex:"0","pref-animation":m.state.animation,"pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},this.isLink()&&a("a",{key:"54c8847d95df3f11c83438198dc9918acb08127c","aria-hidden":"true",class:"link",href:this.href,onFocus:this.focusHost,ref:t=>this.anchor=t,tabindex:"-1",target:"blank"===this.target?"_blank":void 0}),a("div",{key:"8207822559c7fa29b15732345e77e5fcceaab950",class:"await"},this.hasAwaited&&a("mds-spinner",{key:"1d104e3945a97697946386b343ac98bec059aa97",class:"spinner",running:this.await})),this.icon&&"left"===this.iconPosition&&a("mds-icon",{key:"08f19f823d15ee1ae851c768f7591b1671b3379e","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}),"yugop"===this.animation?a("mds-text",{class:"text",part:"label",tag:"span",typography:this.typography,truncate:this.truncate,animation:this.animation,text:this.label},r):a("span",{class:"text label",part:"label"},r),a("slot",{key:"cc55dac67eb6ea0cf6a26219c3192a999a134ef0",name:"notification"}),this.icon&&"right"===this.iconPosition&&a("mds-icon",{key:"df85fffc01f145bac2edd596cf460c96738da5b1","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}))}static get formAssociated(){return!0}get host(){return r(this)}static get watchers(){return{disabled:[{disabledChanged:0}],label:[{labelChanged:0}],await:[{awaitChanged:0}],type:[{handleTypeChange:0}],href:[{handleHrefChange:0}],variant:[{handleVariantChange:0}],"aria-labelledby":[{handleAriaLabelledbyChange:0}]}}};g.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) 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}: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}}';const f=class{constructor(a){t(this,a),this.lastUpdate=0,this.wasDisconnected=!1,this.onSvgPathUpdate=()=>{this.updateIcon()},this.convertBase64ToSvg=()=>{const t=this.name.replace(v,"");try{return(new TextDecoder).decode(Uint8Array.from(atob(t),(t=>t.charCodeAt(0))))}catch(t){return console.warn("mds-icon: ignoring an icon that is not valid base64"),""}}}connectedCallback(){p.registerListener(this.onSvgPathUpdate),this.wasDisconnected&&(this.wasDisconnected=!1,this.updateIcon())}disconnectedCallback(){p.unregisterListener(this.onSvgPathUpdate),this.wasDisconnected=!0}componentWillLoad(){this.updateIcon()}async setSvgPath(t){return p.setSvgPath(t),Promise.resolve()}async updateIcon(){var t;const a=++this.lastUpdate;if(""===(null!==(t=this.name)&&void 0!==t?t:""))return this.svgHTML="",Promise.resolve();if(s(this.name))return this.svgHTML=this.convertBase64ToSvg(),Promise.resolve();if(h(this.name))return this.svgHTML=this.name,Promise.resolve();const e=await p.fetchSvg(this.name);a===this.lastUpdate&&(this.svgHTML=e)}render(){return a(e,{key:"b7f622f4c93eff897cb5d67ac548dbcdce59d022"},this.svgHTML&&a("i",{key:"be836db7e275c2a072ac72cb0f70b19a448765c3","aria-hidden":"true",class:"icon",part:"svg",innerHTML:this.svgHTML}))}get hostElement(){return r(this)}static get watchers(){return{name:[{updateIcon:0}]}}};f.style="@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%}";const w=class{constructor(a){t(this,a),this.running=!1}handleRunning(t){!1===t&&(this.running=void 0)}render(){return a(e,{key:"c954ed0a351fdfcf768d1d739bf5ca9608a03982","pref-animation":m.state.animation,"pref-contrast":m.state.contrast},a("i",{key:"a1812cf9c76c7617eab4ae1eeca19e605bd1da80",class:"await-icon",innerHTML:'<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'}))}static get watchers(){return{running:[{handleRunning:0}]}}};w.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) 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)))}}';export{g as mds_button,f as mds_icon,w as mds_spinner}
1
+ import{r as t,h as a,e,g as r}from"./p-CvLLN-QH.js";import{K as i}from"./p-CGrPq3C4.js";import{u as n,s as o}from"./p-Cvhn9asj.js";import{a as s,i as h,B as v}from"./p-B7RVWU-q.js";import{r as l,s as c}from"./p-AEckDMXh.js";import{p as m}from"./p-iX3kcwYg.js";import{r as u}from"./p-wI0alRSO.js";import{N as d}from"./p-Bz1eiKqd.js";import{IconsSetService as p}from"./index.esm.js";const b={sm:"action",md:"action",lg:"h6",xl:"h5"},g=class{constructor(a){t(this,a),a.$hostElement$["s-ei"]?this.internals=a.$hostElement$["s-ei"]:(this.internals=a.$hostElement$.attachInternals(),a.$hostElement$["s-ei"]=this.internals),this.km=new i,this.hasAwaited=!1,this.iconTitle=!1,this.animation="none",this.iconPosition="left",this.type="submit",this.variant="primary",this.tone="strong",this.size="md",this.target="self",this.truncate="word",this.syncClickBehavior=()=>{this.disabled||this.await?this.km.detachClickBehavior():this.km.attachClickBehavior("element",{space:!this.isLink()})},this.handleRequestSubmitForm=t=>{t.preventDefault(),this.await||this.internals.form&&u(this.internals.form,this.name,this.value)},this.handleReset=t=>{var a;t.preventDefault(),this.await||null===(a=this.internals.form)||void 0===a||a.reset()},this.mouseDown=()=>{this.active=!0},this.mouseUp=()=>{this.active=!1},this.isLink=()=>{var t;return""!==(null!==(t=this.href)&&void 0!==t?t:"")},this.opensElsewhere=t=>"blank"===this.target||t.ctrlKey||t.metaKey||t.shiftKey,this.handleLinkClick=t=>{var a;if(!this.isLink()||this.disabled||this.await)return;const e=null!==(a=this.href)&&void 0!==a?a:"";if(this.anchor&&t.composedPath().includes(this.anchor)){if(this.opensElsewhere(t)||!d.canHandle(e,t))return;return t.preventDefault(),void this.route(e,t)}setTimeout((()=>{t.defaultPrevented||this.follow(t)}))},this.follow=t=>{var a;if("undefined"==typeof window)return;const e=null!==(a=this.href)&&void 0!==a?a:"";this.opensElsewhere(t)?window.open(e,"_blank"):d.canHandle(e,t)?this.route(e,t):window.location.assign(e)},this.route=(t,a)=>{d.handle(t,a)||window.location.assign(t)},this.focusHost=()=>{this.host.focus()},this.syncIconName=()=>{var t;if(this.host.hasAttribute("aria-labelledby"))return this.iconTitle&&this.host.removeAttribute("title"),void(this.iconTitle=!1);!this.iconTitle&&""===(null!==(t=this.label)&&void 0!==t?t:"")&&this.icon&&(s(this.icon)||h(this.icon)||this.host.hasAttribute("aria-label")||this.host.hasAttribute("title")||(this.host.setAttribute("title",n(this.icon)),this.iconTitle=!0))},this.onSlotChangeHandler=()=>{var t;""===(null!==(t=this.label)&&void 0!==t?t:"")&&(this.label=l(this.host))}}disabledChanged(t){this.syncClickBehavior(),t||(this.disabled=void 0)}labelChanged(t){this.label=c(t)}awaitChanged(t){this.host.setAttribute("aria-busy",(!!t).toString()),!1===t&&(this.await=void 0),this.syncClickBehavior()}handleTypeChange(t){this.internals.form&&("submit"===t?(this.host.removeEventListener("click",this.handleReset),this.host.addEventListener("click",this.handleRequestSubmitForm)):"reset"===t?(this.host.removeEventListener("click",this.handleRequestSubmitForm),this.host.addEventListener("click",this.handleReset)):(this.host.removeEventListener("click",this.handleRequestSubmitForm),this.host.removeEventListener("click",this.handleReset)))}handleHrefChange(){var t;const a=this.host.getAttribute("role");null!==a&&"button"!==a&&"link"!==a||this.host.setAttribute("role",this.isLink()?"link":"button"),this.handleTypeChange(this.isLink()?"link":null!==(t=this.type)&&void 0!==t?t:""),this.syncClickBehavior()}handleVariantChange(t){"google"!==t?"apple"!==t||(this.icon='<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>'):this.icon='<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'}componentWillLoad(){this.handleVariantChange(this.variant),this.isLink()||this.internals.form&&("submit"===this.type?this.host.addEventListener("click",this.handleRequestSubmitForm):"reset"===this.type&&this.host.addEventListener("click",this.handleReset))}componentDidLoad(){this.km.addElement(this.host),this.syncClickBehavior(),this.host.setAttribute("aria-busy",this.await?"true":"false"),this.autoFocus&&this.host.focus(),""===this.label&&(this.label=void 0),this.syncIconName(),o(this.host,"role",this.isLink()?"link":"button")}handleAriaLabelledbyChange(){this.syncIconName()}connectedCallback(){this.disabled||this.host.removeAttribute("disabled"),this.syncClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){var t;this.typography=null!==(t=b[this.size])&&void 0!==t?t:b.md,this.hasAwaited||(this.hasAwaited=!!this.await);const r=this.label||a("slot",{key:"120c97a64a4e076e702f01500b770be0451e9bfe",onSlotchange:this.onSlotChangeHandler});return a(e,{key:"94245fe58a92d10b2fa6441571cce04816acd064",onClick:this.handleLinkClick,onMouseDown:this.mouseDown,onMouseUp:this.mouseUp,onMouseOut:this.mouseUp,tabindex:"0","pref-animation":m.state.animation,"pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},this.isLink()&&a("a",{key:"b9d3fe23e9f7c477861f7101a0cdcb9d578e5423","aria-hidden":"true",class:"link",href:this.href,onFocus:this.focusHost,ref:t=>this.anchor=t,tabindex:"-1",target:"blank"===this.target?"_blank":void 0}),a("div",{key:"bf85804f1868ce4fd4b505af0ea14ad86eae5548",class:"await"},this.hasAwaited&&a("mds-spinner",{key:"186f4fad70548c06bfa2bd5c855bf9a7c8d69145",class:"spinner",running:this.await})),this.icon&&"left"===this.iconPosition&&a("mds-icon",{key:"951ba6977908bbec7d954d654413ca36b101d3b3","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}),"yugop"===this.animation?a("mds-text",{class:"text",part:"label",tag:"span",typography:this.typography,truncate:this.truncate,animation:this.animation,text:this.label},r):a("span",{class:"text label",part:"label"},r),a("slot",{key:"15edf088a9c9f7d92295c16c3fb7e0d5e7bffe6f",name:"notification"}),this.icon&&"right"===this.iconPosition&&a("mds-icon",{key:"f0c5145f48b71299b2cb4f54bd0acd3e45f0133e","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}))}static get formAssociated(){return!0}get host(){return r(this)}static get watchers(){return{disabled:[{disabledChanged:0}],label:[{labelChanged:0}],await:[{awaitChanged:0}],type:[{handleTypeChange:0}],href:[{handleHrefChange:0}],variant:[{handleVariantChange:0}],"aria-labelledby":[{handleAriaLabelledbyChange:0}]}}};g.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) 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}: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}}';const f=class{constructor(a){t(this,a),this.lastUpdate=0,this.wasDisconnected=!1,this.onSvgPathUpdate=()=>{this.updateIcon()},this.convertBase64ToSvg=()=>{const t=this.name.replace(v,"");try{return(new TextDecoder).decode(Uint8Array.from(atob(t),(t=>t.charCodeAt(0))))}catch(t){return console.warn("mds-icon: ignoring an icon that is not valid base64"),""}}}connectedCallback(){p.registerListener(this.onSvgPathUpdate),this.wasDisconnected&&(this.wasDisconnected=!1,this.updateIcon())}disconnectedCallback(){p.unregisterListener(this.onSvgPathUpdate),this.wasDisconnected=!0}componentWillLoad(){this.updateIcon()}async setSvgPath(t){return p.setSvgPath(t),Promise.resolve()}async updateIcon(){var t;const a=++this.lastUpdate;if(""===(null!==(t=this.name)&&void 0!==t?t:""))return this.svgHTML="",Promise.resolve();if(s(this.name))return this.svgHTML=this.convertBase64ToSvg(),Promise.resolve();if(h(this.name))return this.svgHTML=this.name,Promise.resolve();const e=await p.fetchSvg(this.name);a===this.lastUpdate&&(this.svgHTML=e)}render(){return a(e,{key:"cad78449760538aff33f53ecaadc71193d7fdbb8"},this.svgHTML&&a("i",{key:"5cebc9a01a40ce5cfba4508932bf2d270f061327","aria-hidden":"true",class:"icon",part:"svg",innerHTML:this.svgHTML}))}get hostElement(){return r(this)}static get watchers(){return{name:[{updateIcon:0}]}}};f.style="@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%}";const w=class{constructor(a){t(this,a),this.running=!1}handleRunning(t){!1===t&&(this.running=void 0)}render(){return a(e,{key:"0daacdb66e13292d526033c319cc29087bde77fb","pref-animation":m.state.animation,"pref-contrast":m.state.contrast},a("i",{key:"4d2a0425f4147fc2babe16c8677273bd429e7bdc",class:"await-icon",innerHTML:'<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'}))}static get watchers(){return{running:[{handleRunning:0}]}}};w.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) 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)))}}';export{g as mds_button,f as mds_icon,w as mds_spinner}
@@ -77,4 +77,4 @@ this.updateWindowPaddings()};t.prototype.disconnectedCallback=function(){this.en
77
77
  this.openAfterRender=true;return}this.openAfterRender=false;if(!o){return}this.opened=undefined;this.closeDialog();if(this.overflow==="auto"){this.enableOverflow()}this.animateCloseWindow();this.closeEvent.emit()};t.prototype.handleHideBackdropProp=function(t){if(t===false){this.hideBackdrop=undefined}};
78
78
  /**
79
79
  * Closes the modal.
80
- */t.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.opened=undefined;return[2/*return*/]}))}))};t.prototype.render=function(){var t=this;return a(n,{key:"80028e8a8a62cfc0f9d1b0fd6e2f72247de85bc3","pref-animation":l.state.animation,"pref-contrast":l.state.contrast,"pref-mode":l.state.mode,"pref-theme-scheme":l.state["theme-scheme"]},a("dialog",{key:"9290f9a300a2fa2d6f5937de81fd21d28a0c5b35","aria-label":this.accessibleName,class:"dialog",part:"dialog",ref:function(o){return t.dialogEl=o},onClick:function(o){t.handleBackdropClick(o)},onCancel:function(o){t.handleCancel(o)}},a("slot",{key:"ccea8b0f2c066cb27aa2e7fdcf520bd8e89c1ab9",name:"window",onSlotchange:this.updateSlots}),!this.hasWindow&&a("div",{key:"62c39ea5cdad1648b041fcdeeb31b0d67f644a6a",class:"window",part:"window"},a("div",{key:"7575493352cd5bbee8e403aed6315fd1a9905996",class:r("window-header",!this.hasTop&&"window-content--empty")},a("slot",{key:"bc422dd130bb99c6521d86a7d3682499cc86d6b6",name:"top",onSlotchange:this.updateSlots})),a("div",{key:"2297021a9dab0041f396b44235e52fa67092989f",class:"window-content-wrapper"},a("div",{key:"305d0097bcc97adadc715ececd8dd2c8b00b3215",class:"window-content",style:{paddingTop:"".concat(this.windowHeaderHeight,"px"),paddingBottom:"".concat(this.windowFooterHeight,"px")}},a("slot",{key:"212b8c05305ce7e0fdafd4c2f5701ddb2a8ae1f4"}))),a("div",{key:"714b2d6d4cd4ee2cd27416a7967c3ad4703eebfa",class:r("window-footer",!this.hasBottom&&"window-content--empty")},a("slot",{key:"640f4e15c6dda56a4a76c9a47ed4d44089a2c359",name:"bottom",onSlotchange:this.updateSlots}))),!this.hasWindow&&a("mds-button",{key:"89d5322b85634bc70ed973467bbdfaa39971d4ff","aria-label":this.t.get("close"),class:"action-close",icon:m,variant:"light",tone:"text",size:"xl",onClick:function(){t.opened=undefined},part:"action-close"})))};Object.defineProperty(t.prototype,"host",{get:function(){return e(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{opened:[{handleOpenProp:0}],hideBackdrop:[{handleHideBackdropProp:0}]}},enumerable:false,configurable:true});return t}());x.style=y()}}}));
80
+ */t.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.opened=undefined;return[2/*return*/]}))}))};t.prototype.render=function(){var t=this;return a(n,{key:"45b3fd950185be51db62a8381caf49d24ec2fa65","pref-animation":l.state.animation,"pref-contrast":l.state.contrast,"pref-mode":l.state.mode,"pref-theme-scheme":l.state["theme-scheme"]},a("dialog",{key:"f9d53be4fc42dd300232a4a546e0be7767756d5a","aria-label":this.accessibleName,class:"dialog",part:"dialog",ref:function(o){return t.dialogEl=o},onClick:function(o){t.handleBackdropClick(o)},onCancel:function(o){t.handleCancel(o)}},a("slot",{key:"bd1c2cab3c4cf3db658a72ae8da8e6e73fa09008",name:"window",onSlotchange:this.updateSlots}),!this.hasWindow&&a("div",{key:"54b538559101fe20fdad60795517b1b5d7e0e41c",class:"window",part:"window"},a("div",{key:"1b1e2a732ce6ec50cc10f4bf75abae25b1da78fd",class:r("window-header",!this.hasTop&&"window-content--empty")},a("slot",{key:"dd0cd5c7095b9f3c87097a601370dddbadd11050",name:"top",onSlotchange:this.updateSlots})),a("div",{key:"b8409013cc7351c26a1bc62f46b06c1907d845d2",class:"window-content-wrapper"},a("div",{key:"419a03164087739c60c19f1709d4abeef8ef5832",class:"window-content",style:{paddingTop:"".concat(this.windowHeaderHeight,"px"),paddingBottom:"".concat(this.windowFooterHeight,"px")}},a("slot",{key:"765333f16f0fecfc3cfa6582131e62981055f610"}))),a("div",{key:"8ef8bed4acbe89bce2a4a2ae544e1b6e0da421c5",class:r("window-footer",!this.hasBottom&&"window-content--empty")},a("slot",{key:"7940e4282ae344c8a92301f21c4cb9b75a8f6028",name:"bottom",onSlotchange:this.updateSlots}))),!this.hasWindow&&a("mds-button",{key:"52ce6a70b25d8a07b4fc5d26fbe43914c363de6e","aria-label":this.t.get("close"),class:"action-close",icon:m,variant:"light",tone:"text",size:"xl",onClick:function(){t.opened=undefined},part:"action-close"})))};Object.defineProperty(t.prototype,"host",{get:function(){return e(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{opened:[{handleOpenProp:0}],hideBackdrop:[{handleHideBackdropProp:0}]}},enumerable:false,configurable:true});return t}());x.style=y()}}}));
@@ -42,4 +42,4 @@ var i=((t=s[this.typography])!==null&&t!==void 0?t:s.detail).tag;this.tag=(e=thi
42
42
  // The scramble is a rAF loop writing innerHTML: no stylesheet can hold it back, so it
43
43
  // asks. The text is written out here rather than left to the render, because the loop
44
44
  // may already have replaced the node the renderer holds.
45
- if(n()){var i=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".text");if(i){i.textContent=t}return}this.animateText(t)};t.prototype.render=function(){var t;return i(a,{key:"7b832f43b66a020dfe3a64bc458280e9e0051069","pref-animation":r.state.animation},i(this.tag,{key:"270d454e9881f9fc213eaceedccc42be0718bb59",class:"text"},((t=this.text)!==null&&t!==void 0?t:"")===""?i("slot",null):this.text))};Object.defineProperty(t.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{text:[{textHandler:0}]}},enumerable:false,configurable:true});return t}());M.style=z()}}}));
45
+ if(n()){var i=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".text");if(i){i.textContent=t}return}this.animateText(t)};t.prototype.render=function(){var t;return i(a,{key:"e6cc44a5067c9a4cf3a0881e24efd50f5d8dc56f","pref-animation":r.state.animation},i(this.tag,{key:"8b8766ca0b773e77dd44e0d2f6f1a860adfd7fd2",class:"text"},((t=this.text)!==null&&t!==void 0?t:"")===""?i("slot",null):this.text))};Object.defineProperty(t.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{text:[{textHandler:0}]}},enumerable:false,configurable:true});return t}());M.style=z()}}}));