@maggioli-design-system/magma 2.0.1 → 2.2.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 (1604) hide show
  1. package/AGENTS.md +72 -0
  2. package/agents/anti-patterns.md +39 -0
  3. package/agents/assets.md +203 -0
  4. package/agents/color.md +193 -0
  5. package/agents/components.md +129 -0
  6. package/agents/conventions.md +188 -0
  7. package/agents/install.md +169 -0
  8. package/agents/reporting.md +118 -0
  9. package/agents/theming.md +140 -0
  10. package/agents/typography.md +32 -0
  11. package/agents/variants.md +112 -0
  12. package/dist/cjs/floating-controller-uOCBLTk2.js +369 -0
  13. package/dist/cjs/form-Bk2OHlHM.js +46 -0
  14. package/dist/cjs/index-MyEb-PfD.js +198 -0
  15. package/dist/cjs/index-UmmmCMIG.js +5184 -0
  16. package/dist/cjs/index.cjs.js +63 -1
  17. package/dist/cjs/loader.cjs.js +2 -2
  18. package/dist/cjs/locale-CnorkBwF.js +816 -0
  19. package/dist/cjs/magma-components.cjs.js +2 -2
  20. package/dist/cjs/mds-accordion-item.cjs.entry.js +2 -2
  21. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +2 -2
  22. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-accordion.cjs.entry.js +2 -2
  24. package/dist/cjs/mds-author.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
  28. package/dist/cjs/mds-badge.cjs.entry.js +2 -2
  29. package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
  30. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
  31. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  32. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
  34. package/dist/cjs/mds-button-dropdown.cjs.entry.js +38 -4
  35. package/dist/cjs/mds-button-group.cjs.entry.js +2 -2
  36. package/dist/cjs/mds-button_3.cjs.entry.js +81 -28
  37. package/dist/cjs/mds-calendar_2.cjs.entry.js +7 -7
  38. package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
  39. package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
  40. package/dist/cjs/mds-card-header.cjs.entry.js +2 -2
  41. package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
  42. package/dist/cjs/mds-card.cjs.entry.js +3 -3
  43. package/dist/cjs/mds-details.cjs.entry.js +3 -3
  44. package/dist/cjs/mds-dropdown.cjs.entry.js +5 -5
  45. package/dist/cjs/mds-emoji.cjs.entry.js +3 -3
  46. package/dist/cjs/mds-entity.cjs.entry.js +3 -3
  47. package/dist/cjs/mds-file-preview.cjs.entry.js +5 -5
  48. package/dist/cjs/mds-file.cjs.entry.js +4 -4
  49. package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
  50. package/dist/cjs/mds-filter.cjs.entry.js +3 -3
  51. package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
  52. package/dist/cjs/mds-header.cjs.entry.js +3 -3
  53. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
  54. package/dist/cjs/mds-hr.cjs.entry.js +3 -3
  55. package/dist/cjs/mds-img.cjs.entry.js +3 -3
  56. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
  57. package/dist/cjs/mds-input-date-range.cjs.entry.js +89 -9
  58. package/dist/cjs/mds-input-date.cjs.entry.js +124 -27
  59. package/dist/cjs/mds-input-field.cjs.entry.js +2 -2
  60. package/dist/cjs/mds-input-otp.cjs.entry.js +65 -19
  61. package/dist/cjs/mds-input-range.cjs.entry.js +32 -16
  62. package/dist/cjs/mds-input-select.cjs.entry.js +159 -30
  63. package/dist/cjs/mds-input-switch_2.cjs.entry.js +64 -22
  64. package/dist/cjs/mds-input-tip_2.cjs.entry.js +6 -6
  65. package/dist/cjs/mds-input-upload.cjs.entry.js +136 -67
  66. package/dist/cjs/mds-input.cjs.entry.js +320 -36
  67. package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
  68. package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
  69. package/dist/cjs/mds-kpi-item.cjs.entry.js +3 -3
  70. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  71. package/dist/cjs/mds-label.cjs.entry.js +3 -3
  72. package/dist/cjs/mds-list-item.cjs.entry.js +3 -3
  73. package/dist/cjs/mds-list.cjs.entry.js +2 -2
  74. package/dist/cjs/mds-mention.cjs.entry.js +4 -4
  75. package/dist/cjs/mds-modal.cjs.entry.js +5 -5
  76. package/dist/cjs/mds-note.cjs.entry.js +4 -4
  77. package/dist/cjs/mds-notification.cjs.entry.js +3 -3
  78. package/dist/cjs/mds-paginator-item.cjs.entry.js +3 -3
  79. package/dist/cjs/mds-paginator.cjs.entry.js +3 -3
  80. package/dist/cjs/mds-policy-ai.cjs.entry.js +4 -4
  81. package/dist/cjs/mds-pref-animation.cjs.entry.js +29 -5
  82. package/dist/cjs/mds-pref-consumption.cjs.entry.js +29 -5
  83. package/dist/cjs/mds-pref-contrast.cjs.entry.js +27 -6
  84. package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
  85. package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
  86. package/dist/cjs/mds-pref-mode.cjs.entry.js +30 -7
  87. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +2 -2
  88. package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
  89. package/dist/cjs/mds-pref.cjs.entry.js +10 -5
  90. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
  91. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  92. package/dist/cjs/mds-price-table-features.cjs.entry.js +3 -3
  93. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  94. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
  95. package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
  96. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  97. package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
  98. package/dist/cjs/mds-push-notification-item.cjs.entry.js +5 -5
  99. package/dist/cjs/mds-push-notification.cjs.entry.js +3 -3
  100. package/dist/cjs/mds-quote.cjs.entry.js +3 -3
  101. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
  102. package/dist/cjs/mds-radial-menu.cjs.entry.js +3 -3
  103. package/dist/cjs/mds-separator.cjs.entry.js +3 -3
  104. package/dist/cjs/mds-status-bar.cjs.entry.js +3 -3
  105. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +4 -4
  106. package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
  107. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +3 -3
  108. package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
  109. package/dist/cjs/mds-tab_2.cjs.entry.js +29 -7
  110. package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
  111. package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
  112. package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
  113. package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
  114. package/dist/cjs/mds-table-row.cjs.entry.js +24 -18
  115. package/dist/cjs/mds-table.cjs.entry.js +4 -4
  116. package/dist/cjs/mds-text.cjs.entry.js +3 -3
  117. package/dist/cjs/mds-toast.cjs.entry.js +3 -3
  118. package/dist/cjs/mds-tooltip.cjs.entry.js +4 -4
  119. package/dist/cjs/mds-tree-item.cjs.entry.js +4 -4
  120. package/dist/cjs/mds-tree.cjs.entry.js +2 -2
  121. package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
  122. package/dist/cjs/mds-usage.cjs.entry.js +4 -4
  123. package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
  124. package/dist/cjs/mds-zero.cjs.entry.js +3 -3
  125. package/dist/cjs/preference-DRkzNp5a.js +389 -0
  126. package/dist/collection/common/form.js +24 -1
  127. package/dist/collection/common/navigation.js +60 -0
  128. package/dist/collection/common/validity/index.js +42 -0
  129. package/dist/collection/components/mds-accordion/AGENTS.md +65 -0
  130. package/dist/collection/components/mds-accordion/antipattern.md +123 -0
  131. package/dist/collection/components/mds-accordion/documentation.json +172 -0
  132. package/dist/collection/components/mds-accordion/pattern.md +150 -0
  133. package/dist/collection/components/mds-accordion-item/AGENTS.md +76 -0
  134. package/dist/collection/components/mds-accordion-item/antipattern.md +137 -0
  135. package/dist/collection/components/mds-accordion-item/documentation.json +288 -0
  136. package/dist/collection/components/mds-accordion-item/pattern.md +156 -0
  137. package/dist/collection/components/mds-accordion-timer/AGENTS.md +65 -0
  138. package/dist/collection/components/mds-accordion-timer/antipattern.md +133 -0
  139. package/dist/collection/components/mds-accordion-timer/documentation.json +168 -0
  140. package/dist/collection/components/mds-accordion-timer/pattern.md +137 -0
  141. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +82 -0
  142. package/dist/collection/components/mds-accordion-timer-item/antipattern.md +143 -0
  143. package/dist/collection/components/mds-accordion-timer-item/documentation.json +400 -0
  144. package/dist/collection/components/mds-accordion-timer-item/pattern.md +136 -0
  145. package/dist/collection/components/mds-author/AGENTS.md +40 -0
  146. package/dist/collection/components/mds-author/antipattern.md +106 -0
  147. package/dist/collection/components/mds-author/documentation.json +51 -0
  148. package/dist/collection/components/mds-author/pattern.md +101 -0
  149. package/dist/collection/components/mds-avatar/AGENTS.md +70 -0
  150. package/dist/collection/components/mds-avatar/antipattern.md +96 -0
  151. package/dist/collection/components/mds-avatar/documentation.json +362 -0
  152. package/dist/collection/components/mds-avatar/pattern.md +108 -0
  153. package/dist/collection/components/mds-avatar-stack/AGENTS.md +65 -0
  154. package/dist/collection/components/mds-avatar-stack/antipattern.md +122 -0
  155. package/dist/collection/components/mds-avatar-stack/documentation.json +196 -0
  156. package/dist/collection/components/mds-avatar-stack/pattern.md +125 -0
  157. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +60 -0
  158. package/dist/collection/components/mds-avatar-stack-item/antipattern.md +113 -0
  159. package/dist/collection/components/mds-avatar-stack-item/documentation.json +315 -0
  160. package/dist/collection/components/mds-avatar-stack-item/pattern.md +105 -0
  161. package/dist/collection/components/mds-badge/AGENTS.md +63 -0
  162. package/dist/collection/components/mds-badge/antipattern.md +104 -0
  163. package/dist/collection/components/mds-badge/documentation.json +316 -0
  164. package/dist/collection/components/mds-badge/pattern.md +130 -0
  165. package/dist/collection/components/mds-banner/AGENTS.md +87 -0
  166. package/dist/collection/components/mds-banner/antipattern.md +141 -0
  167. package/dist/collection/components/mds-banner/documentation.json +378 -0
  168. package/dist/collection/components/mds-banner/pattern.md +176 -0
  169. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +59 -0
  170. package/dist/collection/components/mds-benchmark-bar/antipattern.md +77 -0
  171. package/dist/collection/components/mds-benchmark-bar/documentation.json +313 -0
  172. package/dist/collection/components/mds-benchmark-bar/pattern.md +102 -0
  173. package/dist/collection/components/mds-bibliography/AGENTS.md +61 -0
  174. package/dist/collection/components/mds-bibliography/antipattern.md +130 -0
  175. package/dist/collection/components/mds-bibliography/documentation.json +407 -0
  176. package/dist/collection/components/mds-bibliography/pattern.md +142 -0
  177. package/dist/collection/components/mds-breadcrumb/AGENTS.md +68 -0
  178. package/dist/collection/components/mds-breadcrumb/antipattern.md +112 -0
  179. package/dist/collection/components/mds-breadcrumb/documentation.json +156 -0
  180. package/dist/collection/components/mds-breadcrumb/pattern.md +103 -0
  181. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +67 -0
  182. package/dist/collection/components/mds-breadcrumb-item/antipattern.md +109 -0
  183. package/dist/collection/components/mds-breadcrumb-item/documentation.json +160 -0
  184. package/dist/collection/components/mds-breadcrumb-item/pattern.md +85 -0
  185. package/dist/collection/components/mds-button/AGENTS.md +102 -0
  186. package/dist/collection/components/mds-button/antipattern.md +144 -0
  187. package/dist/collection/components/mds-button/documentation.json +922 -0
  188. package/dist/collection/components/mds-button/mds-button.css +17 -1
  189. package/dist/collection/components/mds-button/mds-button.js +116 -24
  190. package/dist/collection/components/mds-button/pattern.md +198 -0
  191. package/dist/collection/components/mds-button-dropdown/AGENTS.md +88 -0
  192. package/dist/collection/components/mds-button-dropdown/antipattern.md +158 -0
  193. package/dist/collection/components/mds-button-dropdown/documentation.json +614 -0
  194. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +94 -6
  195. package/dist/collection/components/mds-button-dropdown/pattern.md +164 -0
  196. package/dist/collection/components/mds-button-group/AGENTS.md +33 -0
  197. package/dist/collection/components/mds-button-group/antipattern.md +105 -0
  198. package/dist/collection/components/mds-button-group/documentation.json +43 -0
  199. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  200. package/dist/collection/components/mds-button-group/pattern.md +89 -0
  201. package/dist/collection/components/mds-calendar/AGENTS.md +96 -0
  202. package/dist/collection/components/mds-calendar/antipattern.md +113 -0
  203. package/dist/collection/components/mds-calendar/documentation.json +626 -0
  204. package/dist/collection/components/mds-calendar/mds-calendar.js +4 -4
  205. package/dist/collection/components/mds-calendar/pattern.md +128 -0
  206. package/dist/collection/components/mds-calendar-cell/AGENTS.md +94 -0
  207. package/dist/collection/components/mds-calendar-cell/antipattern.md +58 -0
  208. package/dist/collection/components/mds-calendar-cell/documentation.json +539 -0
  209. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  210. package/dist/collection/components/mds-calendar-cell/pattern.md +82 -0
  211. package/dist/collection/components/mds-card/AGENTS.md +60 -0
  212. package/dist/collection/components/mds-card/antipattern.md +133 -0
  213. package/dist/collection/components/mds-card/documentation.json +117 -0
  214. package/dist/collection/components/mds-card/mds-card.js +1 -1
  215. package/dist/collection/components/mds-card/pattern.md +160 -0
  216. package/dist/collection/components/mds-card-content/AGENTS.md +34 -0
  217. package/dist/collection/components/mds-card-content/antipattern.md +110 -0
  218. package/dist/collection/components/mds-card-content/documentation.json +43 -0
  219. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  220. package/dist/collection/components/mds-card-content/pattern.md +91 -0
  221. package/dist/collection/components/mds-card-footer/AGENTS.md +34 -0
  222. package/dist/collection/components/mds-card-footer/antipattern.md +112 -0
  223. package/dist/collection/components/mds-card-footer/documentation.json +43 -0
  224. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  225. package/dist/collection/components/mds-card-footer/pattern.md +95 -0
  226. package/dist/collection/components/mds-card-header/AGENTS.md +38 -0
  227. package/dist/collection/components/mds-card-header/antipattern.md +114 -0
  228. package/dist/collection/components/mds-card-header/documentation.json +51 -0
  229. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  230. package/dist/collection/components/mds-card-header/pattern.md +143 -0
  231. package/dist/collection/components/mds-card-media/AGENTS.md +46 -0
  232. package/dist/collection/components/mds-card-media/antipattern.md +128 -0
  233. package/dist/collection/components/mds-card-media/documentation.json +56 -0
  234. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  235. package/dist/collection/components/mds-card-media/pattern.md +93 -0
  236. package/dist/collection/components/mds-chip/AGENTS.md +84 -0
  237. package/dist/collection/components/mds-chip/antipattern.md +119 -0
  238. package/dist/collection/components/mds-chip/documentation.json +535 -0
  239. package/dist/collection/components/mds-chip/mds-chip.js +2 -2
  240. package/dist/collection/components/mds-chip/pattern.md +166 -0
  241. package/dist/collection/components/mds-details/AGENTS.md +72 -0
  242. package/dist/collection/components/mds-details/antipattern.md +128 -0
  243. package/dist/collection/components/mds-details/documentation.json +153 -0
  244. package/dist/collection/components/mds-details/mds-details.js +1 -1
  245. package/dist/collection/components/mds-details/pattern.md +138 -0
  246. package/dist/collection/components/mds-dropdown/AGENTS.md +95 -0
  247. package/dist/collection/components/mds-dropdown/antipattern.md +137 -0
  248. package/dist/collection/components/mds-dropdown/documentation.json +701 -0
  249. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  250. package/dist/collection/components/mds-dropdown/pattern.md +201 -0
  251. package/dist/collection/components/mds-emoji/AGENTS.md +88 -0
  252. package/dist/collection/components/mds-emoji/antipattern.md +134 -0
  253. package/dist/collection/components/mds-emoji/documentation.json +506 -0
  254. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  255. package/dist/collection/components/mds-emoji/pattern.md +219 -0
  256. package/dist/collection/components/mds-entity/AGENTS.md +76 -0
  257. package/dist/collection/components/mds-entity/antipattern.md +112 -0
  258. package/dist/collection/components/mds-entity/documentation.json +365 -0
  259. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  260. package/dist/collection/components/mds-entity/pattern.md +125 -0
  261. package/dist/collection/components/mds-file/AGENTS.md +63 -0
  262. package/dist/collection/components/mds-file/antipattern.md +92 -0
  263. package/dist/collection/components/mds-file/documentation.json +484 -0
  264. package/dist/collection/components/mds-file/mds-file.js +1 -1
  265. package/dist/collection/components/mds-file/pattern.md +109 -0
  266. package/dist/collection/components/mds-file-preview/AGENTS.md +88 -0
  267. package/dist/collection/components/mds-file-preview/antipattern.md +129 -0
  268. package/dist/collection/components/mds-file-preview/documentation.json +780 -0
  269. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  270. package/dist/collection/components/mds-file-preview/pattern.md +164 -0
  271. package/dist/collection/components/mds-filter/AGENTS.md +72 -0
  272. package/dist/collection/components/mds-filter/antipattern.md +140 -0
  273. package/dist/collection/components/mds-filter/documentation.json +239 -0
  274. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  275. package/dist/collection/components/mds-filter/pattern.md +129 -0
  276. package/dist/collection/components/mds-filter-item/AGENTS.md +64 -0
  277. package/dist/collection/components/mds-filter-item/antipattern.md +127 -0
  278. package/dist/collection/components/mds-filter-item/documentation.json +240 -0
  279. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  280. package/dist/collection/components/mds-filter-item/pattern.md +125 -0
  281. package/dist/collection/components/mds-header/AGENTS.md +95 -0
  282. package/dist/collection/components/mds-header/antipattern.md +120 -0
  283. package/dist/collection/components/mds-header/documentation.json +491 -0
  284. package/dist/collection/components/mds-header/mds-header.js +1 -1
  285. package/dist/collection/components/mds-header/pattern.md +182 -0
  286. package/dist/collection/components/mds-header-bar/AGENTS.md +80 -0
  287. package/dist/collection/components/mds-header-bar/antipattern.md +119 -0
  288. package/dist/collection/components/mds-header-bar/documentation.json +251 -0
  289. package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
  290. package/dist/collection/components/mds-header-bar/pattern.md +134 -0
  291. package/dist/collection/components/mds-help/AGENTS.md +65 -0
  292. package/dist/collection/components/mds-help/antipattern.md +73 -0
  293. package/dist/collection/components/mds-help/documentation.json +228 -0
  294. package/dist/collection/components/mds-help/mds-help.js +1 -1
  295. package/dist/collection/components/mds-help/pattern.md +106 -0
  296. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +72 -0
  297. package/dist/collection/components/mds-horizontal-scroll/antipattern.md +120 -0
  298. package/dist/collection/components/mds-horizontal-scroll/documentation.json +279 -0
  299. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  300. package/dist/collection/components/mds-horizontal-scroll/pattern.md +154 -0
  301. package/dist/collection/components/mds-hr/AGENTS.md +27 -0
  302. package/dist/collection/components/mds-hr/antipattern.md +84 -0
  303. package/dist/collection/components/mds-hr/documentation.json +33 -0
  304. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  305. package/dist/collection/components/mds-hr/pattern.md +88 -0
  306. package/dist/collection/components/mds-icon/AGENTS.md +52 -0
  307. package/dist/collection/components/mds-icon/antipattern.md +118 -0
  308. package/dist/collection/components/mds-icon/documentation.json +205 -0
  309. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  310. package/dist/collection/components/mds-icon/pattern.md +135 -0
  311. package/dist/collection/components/mds-img/AGENTS.md +78 -0
  312. package/dist/collection/components/mds-img/antipattern.md +106 -0
  313. package/dist/collection/components/mds-img/documentation.json +470 -0
  314. package/dist/collection/components/mds-img/pattern.md +128 -0
  315. package/dist/collection/components/mds-input/AGENTS.md +138 -0
  316. package/dist/collection/components/mds-input/antipattern.md +128 -0
  317. package/dist/collection/components/mds-input/documentation.json +1574 -0
  318. package/dist/collection/components/mds-input/mds-input.js +185 -30
  319. package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +8 -1
  320. package/dist/collection/components/mds-input/meta/validators.js +100 -2
  321. package/dist/collection/components/mds-input/meta/validity.js +35 -0
  322. package/dist/collection/components/mds-input/pattern.md +252 -0
  323. package/dist/collection/components/mds-input-date/AGENTS.md +98 -0
  324. package/dist/collection/components/mds-input-date/antipattern.md +107 -0
  325. package/dist/collection/components/mds-input-date/documentation.json +638 -0
  326. package/dist/collection/components/mds-input-date/mds-input-date.js +130 -24
  327. package/dist/collection/components/mds-input-date/pattern.md +158 -0
  328. package/dist/collection/components/mds-input-date-range/AGENTS.md +90 -0
  329. package/dist/collection/components/mds-input-date-range/antipattern.md +168 -0
  330. package/dist/collection/components/mds-input-date-range/documentation.json +502 -0
  331. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +13 -0
  332. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +106 -5
  333. package/dist/collection/components/mds-input-date-range/pattern.md +122 -0
  334. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +62 -0
  335. package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +147 -0
  336. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +176 -0
  337. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  338. package/dist/collection/components/mds-input-date-range-preselection/pattern.md +101 -0
  339. package/dist/collection/components/mds-input-field/AGENTS.md +60 -0
  340. package/dist/collection/components/mds-input-field/antipattern.md +115 -0
  341. package/dist/collection/components/mds-input-field/documentation.json +178 -0
  342. package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
  343. package/dist/collection/components/mds-input-field/pattern.md +95 -0
  344. package/dist/collection/components/mds-input-otp/AGENTS.md +48 -0
  345. package/dist/collection/components/mds-input-otp/antipattern.md +105 -0
  346. package/dist/collection/components/mds-input-otp/documentation.json +203 -0
  347. package/dist/collection/components/mds-input-otp/mds-input-otp.css +4 -1
  348. package/dist/collection/components/mds-input-otp/mds-input-otp.js +88 -15
  349. package/dist/collection/components/mds-input-otp/pattern.md +107 -0
  350. package/dist/collection/components/mds-input-range/AGENTS.md +84 -0
  351. package/dist/collection/components/mds-input-range/antipattern.md +127 -0
  352. package/dist/collection/components/mds-input-range/documentation.json +315 -0
  353. package/dist/collection/components/mds-input-range/mds-input-range.css +6 -2
  354. package/dist/collection/components/mds-input-range/mds-input-range.js +30 -13
  355. package/dist/collection/components/mds-input-range/pattern.md +110 -0
  356. package/dist/collection/components/mds-input-select/AGENTS.md +99 -0
  357. package/dist/collection/components/mds-input-select/antipattern.md +126 -0
  358. package/dist/collection/components/mds-input-select/documentation.json +552 -0
  359. package/dist/collection/components/mds-input-select/mds-input-select.js +164 -35
  360. package/dist/collection/components/mds-input-select/meta/event-detail.js +1 -0
  361. package/dist/collection/components/mds-input-select/pattern.md +168 -0
  362. package/dist/collection/components/mds-input-switch/AGENTS.md +106 -0
  363. package/dist/collection/components/mds-input-switch/antipattern.md +117 -0
  364. package/dist/collection/components/mds-input-switch/documentation.json +638 -0
  365. package/dist/collection/components/mds-input-switch/mds-input-switch.css +4 -1
  366. package/dist/collection/components/mds-input-switch/mds-input-switch.js +59 -16
  367. package/dist/collection/components/mds-input-switch/pattern.md +133 -0
  368. package/dist/collection/components/mds-input-tip/AGENTS.md +56 -0
  369. package/dist/collection/components/mds-input-tip/antipattern.md +108 -0
  370. package/dist/collection/components/mds-input-tip/documentation.json +160 -0
  371. package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
  372. package/dist/collection/components/mds-input-tip/pattern.md +125 -0
  373. package/dist/collection/components/mds-input-tip-item/AGENTS.md +58 -0
  374. package/dist/collection/components/mds-input-tip-item/antipattern.md +98 -0
  375. package/dist/collection/components/mds-input-tip-item/documentation.json +181 -0
  376. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  377. package/dist/collection/components/mds-input-tip-item/pattern.md +107 -0
  378. package/dist/collection/components/mds-input-upload/AGENTS.md +78 -0
  379. package/dist/collection/components/mds-input-upload/antipattern.md +144 -0
  380. package/dist/collection/components/mds-input-upload/documentation.json +425 -0
  381. package/dist/collection/components/mds-input-upload/mds-input-upload.css +15 -0
  382. package/dist/collection/components/mds-input-upload/mds-input-upload.js +176 -66
  383. package/dist/collection/components/mds-input-upload/pattern.md +165 -0
  384. package/dist/collection/components/mds-keyboard/AGENTS.md +76 -0
  385. package/dist/collection/components/mds-keyboard/antipattern.md +111 -0
  386. package/dist/collection/components/mds-keyboard/documentation.json +227 -0
  387. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  388. package/dist/collection/components/mds-keyboard/pattern.md +129 -0
  389. package/dist/collection/components/mds-keyboard-key/AGENTS.md +55 -0
  390. package/dist/collection/components/mds-keyboard-key/antipattern.md +117 -0
  391. package/dist/collection/components/mds-keyboard-key/documentation.json +450 -0
  392. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  393. package/dist/collection/components/mds-keyboard-key/pattern.md +98 -0
  394. package/dist/collection/components/mds-kpi/AGENTS.md +44 -0
  395. package/dist/collection/components/mds-kpi/antipattern.md +93 -0
  396. package/dist/collection/components/mds-kpi/documentation.json +54 -0
  397. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  398. package/dist/collection/components/mds-kpi/pattern.md +109 -0
  399. package/dist/collection/components/mds-kpi-item/AGENTS.md +62 -0
  400. package/dist/collection/components/mds-kpi-item/antipattern.md +119 -0
  401. package/dist/collection/components/mds-kpi-item/documentation.json +199 -0
  402. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  403. package/dist/collection/components/mds-kpi-item/pattern.md +115 -0
  404. package/dist/collection/components/mds-label/AGENTS.md +71 -0
  405. package/dist/collection/components/mds-label/antipattern.md +92 -0
  406. package/dist/collection/components/mds-label/documentation.json +388 -0
  407. package/dist/collection/components/mds-label/pattern.md +111 -0
  408. package/dist/collection/components/mds-list/AGENTS.md +33 -0
  409. package/dist/collection/components/mds-list/antipattern.md +117 -0
  410. package/dist/collection/components/mds-list/documentation.json +43 -0
  411. package/dist/collection/components/mds-list/mds-list.js +1 -1
  412. package/dist/collection/components/mds-list/pattern.md +104 -0
  413. package/dist/collection/components/mds-list-item/AGENTS.md +60 -0
  414. package/dist/collection/components/mds-list-item/antipattern.md +118 -0
  415. package/dist/collection/components/mds-list-item/documentation.json +200 -0
  416. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  417. package/dist/collection/components/mds-list-item/pattern.md +101 -0
  418. package/dist/collection/components/mds-mention/AGENTS.md +55 -0
  419. package/dist/collection/components/mds-mention/antipattern.md +86 -0
  420. package/dist/collection/components/mds-mention/documentation.json +203 -0
  421. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  422. package/dist/collection/components/mds-mention/pattern.md +91 -0
  423. package/dist/collection/components/mds-modal/AGENTS.md +107 -0
  424. package/dist/collection/components/mds-modal/antipattern.md +96 -0
  425. package/dist/collection/components/mds-modal/documentation.json +552 -0
  426. package/dist/collection/components/mds-modal/mds-modal.js +3 -3
  427. package/dist/collection/components/mds-modal/pattern.md +228 -0
  428. package/dist/collection/components/mds-note/AGENTS.md +68 -0
  429. package/dist/collection/components/mds-note/antipattern.md +99 -0
  430. package/dist/collection/components/mds-note/documentation.json +220 -0
  431. package/dist/collection/components/mds-note/mds-note.js +1 -1
  432. package/dist/collection/components/mds-note/pattern.md +108 -0
  433. package/dist/collection/components/mds-notification/AGENTS.md +67 -0
  434. package/dist/collection/components/mds-notification/antipattern.md +86 -0
  435. package/dist/collection/components/mds-notification/documentation.json +253 -0
  436. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  437. package/dist/collection/components/mds-notification/pattern.md +98 -0
  438. package/dist/collection/components/mds-paginator/AGENTS.md +57 -0
  439. package/dist/collection/components/mds-paginator/antipattern.md +95 -0
  440. package/dist/collection/components/mds-paginator/documentation.json +135 -0
  441. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  442. package/dist/collection/components/mds-paginator/pattern.md +92 -0
  443. package/dist/collection/components/mds-paginator-item/AGENTS.md +74 -0
  444. package/dist/collection/components/mds-paginator-item/antipattern.md +95 -0
  445. package/dist/collection/components/mds-paginator-item/documentation.json +206 -0
  446. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  447. package/dist/collection/components/mds-paginator-item/pattern.md +75 -0
  448. package/dist/collection/components/mds-policy-ai/AGENTS.md +58 -0
  449. package/dist/collection/components/mds-policy-ai/antipattern.md +97 -0
  450. package/dist/collection/components/mds-policy-ai/documentation.json +244 -0
  451. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  452. package/dist/collection/components/mds-policy-ai/pattern.md +102 -0
  453. package/dist/collection/components/mds-pref/AGENTS.md +50 -0
  454. package/dist/collection/components/mds-pref/antipattern.md +85 -0
  455. package/dist/collection/components/mds-pref/documentation.json +138 -0
  456. package/dist/collection/components/mds-pref/mds-pref.js +7 -2
  457. package/dist/collection/components/mds-pref/pattern.md +93 -0
  458. package/dist/collection/components/mds-pref-animation/AGENTS.md +48 -0
  459. package/dist/collection/components/mds-pref-animation/antipattern.md +67 -0
  460. package/dist/collection/components/mds-pref-animation/documentation.json +154 -0
  461. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +26 -2
  462. package/dist/collection/components/mds-pref-animation/pattern.md +86 -0
  463. package/dist/collection/components/mds-pref-consumption/AGENTS.md +47 -0
  464. package/dist/collection/components/mds-pref-consumption/antipattern.md +84 -0
  465. package/dist/collection/components/mds-pref-consumption/documentation.json +154 -0
  466. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +26 -2
  467. package/dist/collection/components/mds-pref-consumption/pattern.md +70 -0
  468. package/dist/collection/components/mds-pref-contrast/AGENTS.md +50 -0
  469. package/dist/collection/components/mds-pref-contrast/antipattern.md +71 -0
  470. package/dist/collection/components/mds-pref-contrast/documentation.json +154 -0
  471. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +24 -3
  472. package/dist/collection/components/mds-pref-contrast/pattern.md +82 -0
  473. package/dist/collection/components/mds-pref-language/AGENTS.md +56 -0
  474. package/dist/collection/components/mds-pref-language/antipattern.md +130 -0
  475. package/dist/collection/components/mds-pref-language/documentation.json +174 -0
  476. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  477. package/dist/collection/components/mds-pref-language/pattern.md +104 -0
  478. package/dist/collection/components/mds-pref-language-item/AGENTS.md +48 -0
  479. package/dist/collection/components/mds-pref-language-item/antipattern.md +99 -0
  480. package/dist/collection/components/mds-pref-language-item/documentation.json +122 -0
  481. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  482. package/dist/collection/components/mds-pref-language-item/pattern.md +85 -0
  483. package/dist/collection/components/mds-pref-mode/AGENTS.md +53 -0
  484. package/dist/collection/components/mds-pref-mode/antipattern.md +104 -0
  485. package/dist/collection/components/mds-pref-mode/documentation.json +241 -0
  486. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +27 -4
  487. package/dist/collection/components/mds-pref-mode/pattern.md +94 -0
  488. package/dist/collection/components/mds-pref-theme/AGENTS.md +60 -0
  489. package/dist/collection/components/mds-pref-theme/antipattern.md +104 -0
  490. package/dist/collection/components/mds-pref-theme/documentation.json +277 -0
  491. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
  492. package/dist/collection/components/mds-pref-theme/pattern.md +97 -0
  493. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +60 -0
  494. package/dist/collection/components/mds-pref-theme-item/antipattern.md +98 -0
  495. package/dist/collection/components/mds-pref-theme-item/documentation.json +228 -0
  496. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  497. package/dist/collection/components/mds-pref-theme-item/pattern.md +98 -0
  498. package/dist/collection/components/mds-price-table/AGENTS.md +34 -0
  499. package/dist/collection/components/mds-price-table/antipattern.md +131 -0
  500. package/dist/collection/components/mds-price-table/documentation.json +43 -0
  501. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  502. package/dist/collection/components/mds-price-table/pattern.md +182 -0
  503. package/dist/collection/components/mds-price-table-features/AGENTS.md +61 -0
  504. package/dist/collection/components/mds-price-table-features/antipattern.md +152 -0
  505. package/dist/collection/components/mds-price-table-features/documentation.json +96 -0
  506. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  507. package/dist/collection/components/mds-price-table-features/pattern.md +157 -0
  508. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +69 -0
  509. package/dist/collection/components/mds-price-table-features-cell/antipattern.md +105 -0
  510. package/dist/collection/components/mds-price-table-features-cell/documentation.json +154 -0
  511. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  512. package/dist/collection/components/mds-price-table-features-cell/pattern.md +128 -0
  513. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +43 -0
  514. package/dist/collection/components/mds-price-table-features-row/antipattern.md +135 -0
  515. package/dist/collection/components/mds-price-table-features-row/documentation.json +64 -0
  516. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  517. package/dist/collection/components/mds-price-table-features-row/pattern.md +125 -0
  518. package/dist/collection/components/mds-price-table-header/AGENTS.md +34 -0
  519. package/dist/collection/components/mds-price-table-header/antipattern.md +133 -0
  520. package/dist/collection/components/mds-price-table-header/documentation.json +43 -0
  521. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  522. package/dist/collection/components/mds-price-table-header/pattern.md +176 -0
  523. package/dist/collection/components/mds-price-table-list/AGENTS.md +63 -0
  524. package/dist/collection/components/mds-price-table-list/antipattern.md +133 -0
  525. package/dist/collection/components/mds-price-table-list/documentation.json +104 -0
  526. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  527. package/dist/collection/components/mds-price-table-list/pattern.md +134 -0
  528. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +61 -0
  529. package/dist/collection/components/mds-price-table-list-item/antipattern.md +90 -0
  530. package/dist/collection/components/mds-price-table-list-item/documentation.json +145 -0
  531. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  532. package/dist/collection/components/mds-price-table-list-item/pattern.md +105 -0
  533. package/dist/collection/components/mds-progress/AGENTS.md +68 -0
  534. package/dist/collection/components/mds-progress/antipattern.md +94 -0
  535. package/dist/collection/components/mds-progress/documentation.json +375 -0
  536. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  537. package/dist/collection/components/mds-progress/pattern.md +139 -0
  538. package/dist/collection/components/mds-push-notification/AGENTS.md +88 -0
  539. package/dist/collection/components/mds-push-notification/antipattern.md +154 -0
  540. package/dist/collection/components/mds-push-notification/documentation.json +306 -0
  541. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  542. package/dist/collection/components/mds-push-notification/pattern.md +203 -0
  543. package/dist/collection/components/mds-push-notification-item/AGENTS.md +91 -0
  544. package/dist/collection/components/mds-push-notification-item/antipattern.md +129 -0
  545. package/dist/collection/components/mds-push-notification-item/documentation.json +586 -0
  546. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  547. package/dist/collection/components/mds-push-notification-item/pattern.md +201 -0
  548. package/dist/collection/components/mds-quote/AGENTS.md +51 -0
  549. package/dist/collection/components/mds-quote/antipattern.md +122 -0
  550. package/dist/collection/components/mds-quote/documentation.json +176 -0
  551. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  552. package/dist/collection/components/mds-quote/pattern.md +108 -0
  553. package/dist/collection/components/mds-radial-menu/AGENTS.md +87 -0
  554. package/dist/collection/components/mds-radial-menu/antipattern.md +104 -0
  555. package/dist/collection/components/mds-radial-menu/documentation.json +581 -0
  556. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  557. package/dist/collection/components/mds-radial-menu/pattern.md +150 -0
  558. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +51 -0
  559. package/dist/collection/components/mds-radial-menu-item/antipattern.md +106 -0
  560. package/dist/collection/components/mds-radial-menu-item/documentation.json +294 -0
  561. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  562. package/dist/collection/components/mds-radial-menu-item/pattern.md +98 -0
  563. package/dist/collection/components/mds-radial-progress/AGENTS.md +58 -0
  564. package/dist/collection/components/mds-radial-progress/antipattern.md +99 -0
  565. package/dist/collection/components/mds-radial-progress/documentation.json +232 -0
  566. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  567. package/dist/collection/components/mds-radial-progress/pattern.md +132 -0
  568. package/dist/collection/components/mds-separator/AGENTS.md +39 -0
  569. package/dist/collection/components/mds-separator/antipattern.md +98 -0
  570. package/dist/collection/components/mds-separator/documentation.json +45 -0
  571. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  572. package/dist/collection/components/mds-separator/pattern.md +82 -0
  573. package/dist/collection/components/mds-spinner/AGENTS.md +49 -0
  574. package/dist/collection/components/mds-spinner/antipattern.md +93 -0
  575. package/dist/collection/components/mds-spinner/documentation.json +86 -0
  576. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  577. package/dist/collection/components/mds-spinner/pattern.md +102 -0
  578. package/dist/collection/components/mds-status-bar/AGENTS.md +75 -0
  579. package/dist/collection/components/mds-status-bar/antipattern.md +128 -0
  580. package/dist/collection/components/mds-status-bar/documentation.json +262 -0
  581. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  582. package/dist/collection/components/mds-status-bar/pattern.md +123 -0
  583. package/dist/collection/components/mds-stepper-bar/AGENTS.md +74 -0
  584. package/dist/collection/components/mds-stepper-bar/antipattern.md +123 -0
  585. package/dist/collection/components/mds-stepper-bar/documentation.json +208 -0
  586. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  587. package/dist/collection/components/mds-stepper-bar/pattern.md +182 -0
  588. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +84 -0
  589. package/dist/collection/components/mds-stepper-bar-item/antipattern.md +115 -0
  590. package/dist/collection/components/mds-stepper-bar-item/documentation.json +453 -0
  591. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  592. package/dist/collection/components/mds-stepper-bar-item/pattern.md +203 -0
  593. package/dist/collection/components/mds-tab/AGENTS.md +110 -0
  594. package/dist/collection/components/mds-tab/antipattern.md +191 -0
  595. package/dist/collection/components/mds-tab/documentation.json +495 -0
  596. package/dist/collection/components/mds-tab/mds-tab.css +10 -1
  597. package/dist/collection/components/mds-tab/mds-tab.js +18 -4
  598. package/dist/collection/components/mds-tab/pattern.md +233 -0
  599. package/dist/collection/components/mds-tab-bar/AGENTS.md +46 -0
  600. package/dist/collection/components/mds-tab-bar/antipattern.md +105 -0
  601. package/dist/collection/components/mds-tab-bar/documentation.json +71 -0
  602. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  603. package/dist/collection/components/mds-tab-bar/pattern.md +87 -0
  604. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +67 -0
  605. package/dist/collection/components/mds-tab-bar-item/antipattern.md +116 -0
  606. package/dist/collection/components/mds-tab-bar-item/documentation.json +210 -0
  607. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  608. package/dist/collection/components/mds-tab-bar-item/pattern.md +110 -0
  609. package/dist/collection/components/mds-tab-item/AGENTS.md +83 -0
  610. package/dist/collection/components/mds-tab-item/antipattern.md +159 -0
  611. package/dist/collection/components/mds-tab-item/documentation.json +577 -0
  612. package/dist/collection/components/mds-tab-item/mds-tab-item.js +15 -3
  613. package/dist/collection/components/mds-tab-item/pattern.md +173 -0
  614. package/dist/collection/components/mds-table/AGENTS.md +90 -0
  615. package/dist/collection/components/mds-table/antipattern.md +169 -0
  616. package/dist/collection/components/mds-table/documentation.json +304 -0
  617. package/dist/collection/components/mds-table/mds-table.js +1 -1
  618. package/dist/collection/components/mds-table/pattern.md +288 -0
  619. package/dist/collection/components/mds-table-body/AGENTS.md +55 -0
  620. package/dist/collection/components/mds-table-body/antipattern.md +118 -0
  621. package/dist/collection/components/mds-table-body/documentation.json +122 -0
  622. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  623. package/dist/collection/components/mds-table-body/pattern.md +154 -0
  624. package/dist/collection/components/mds-table-cell/AGENTS.md +56 -0
  625. package/dist/collection/components/mds-table-cell/antipattern.md +100 -0
  626. package/dist/collection/components/mds-table-cell/documentation.json +104 -0
  627. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  628. package/dist/collection/components/mds-table-cell/pattern.md +168 -0
  629. package/dist/collection/components/mds-table-footer/AGENTS.md +33 -0
  630. package/dist/collection/components/mds-table-footer/antipattern.md +114 -0
  631. package/dist/collection/components/mds-table-footer/documentation.json +43 -0
  632. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  633. package/dist/collection/components/mds-table-footer/pattern.md +116 -0
  634. package/dist/collection/components/mds-table-header/AGENTS.md +61 -0
  635. package/dist/collection/components/mds-table-header/antipattern.md +157 -0
  636. package/dist/collection/components/mds-table-header/documentation.json +156 -0
  637. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  638. package/dist/collection/components/mds-table-header/pattern.md +158 -0
  639. package/dist/collection/components/mds-table-header-cell/AGENTS.md +51 -0
  640. package/dist/collection/components/mds-table-header-cell/antipattern.md +108 -0
  641. package/dist/collection/components/mds-table-header-cell/documentation.json +158 -0
  642. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  643. package/dist/collection/components/mds-table-header-cell/pattern.md +145 -0
  644. package/dist/collection/components/mds-table-row/AGENTS.md +68 -0
  645. package/dist/collection/components/mds-table-row/antipattern.md +142 -0
  646. package/dist/collection/components/mds-table-row/documentation.json +252 -0
  647. package/dist/collection/components/mds-table-row/mds-table-row.js +22 -16
  648. package/dist/collection/components/mds-table-row/pattern.md +157 -0
  649. package/dist/collection/components/mds-text/AGENTS.md +64 -0
  650. package/dist/collection/components/mds-text/antipattern.md +113 -0
  651. package/dist/collection/components/mds-text/documentation.json +746 -0
  652. package/dist/collection/components/mds-text/mds-text.js +1 -1
  653. package/dist/collection/components/mds-text/pattern.md +139 -0
  654. package/dist/collection/components/mds-toast/AGENTS.md +78 -0
  655. package/dist/collection/components/mds-toast/antipattern.md +131 -0
  656. package/dist/collection/components/mds-toast/documentation.json +339 -0
  657. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  658. package/dist/collection/components/mds-toast/pattern.md +161 -0
  659. package/dist/collection/components/mds-tooltip/AGENTS.md +80 -0
  660. package/dist/collection/components/mds-tooltip/antipattern.md +108 -0
  661. package/dist/collection/components/mds-tooltip/documentation.json +483 -0
  662. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  663. package/dist/collection/components/mds-tooltip/pattern.md +128 -0
  664. package/dist/collection/components/mds-tree/AGENTS.md +88 -0
  665. package/dist/collection/components/mds-tree/antipattern.md +153 -0
  666. package/dist/collection/components/mds-tree/documentation.json +472 -0
  667. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  668. package/dist/collection/components/mds-tree/pattern.md +198 -0
  669. package/dist/collection/components/mds-tree-item/AGENTS.md +119 -0
  670. package/dist/collection/components/mds-tree-item/antipattern.md +152 -0
  671. package/dist/collection/components/mds-tree-item/documentation.json +646 -0
  672. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  673. package/dist/collection/components/mds-tree-item/pattern.md +201 -0
  674. package/dist/collection/components/mds-url-view/AGENTS.md +63 -0
  675. package/dist/collection/components/mds-url-view/antipattern.md +107 -0
  676. package/dist/collection/components/mds-url-view/documentation.json +209 -0
  677. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  678. package/dist/collection/components/mds-url-view/pattern.md +106 -0
  679. package/dist/collection/components/mds-usage/AGENTS.md +70 -0
  680. package/dist/collection/components/mds-usage/antipattern.md +87 -0
  681. package/dist/collection/components/mds-usage/documentation.json +156 -0
  682. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  683. package/dist/collection/components/mds-usage/pattern.md +117 -0
  684. package/dist/collection/components/mds-video-wall/AGENTS.md +65 -0
  685. package/dist/collection/components/mds-video-wall/antipattern.md +97 -0
  686. package/dist/collection/components/mds-video-wall/documentation.json +316 -0
  687. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  688. package/dist/collection/components/mds-video-wall/pattern.md +101 -0
  689. package/dist/collection/components/mds-zero/AGENTS.md +55 -0
  690. package/dist/collection/components/mds-zero/antipattern.md +106 -0
  691. package/dist/collection/components/mds-zero/documentation.json +82 -0
  692. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  693. package/dist/collection/components/mds-zero/pattern.md +118 -0
  694. package/dist/collection/index.js +11 -4
  695. package/dist/components/index.js +1 -1
  696. package/dist/components/mds-accordion-item.js +1 -1
  697. package/dist/components/mds-accordion-timer-item.js +1 -1
  698. package/dist/components/mds-accordion-timer.js +1 -1
  699. package/dist/components/mds-accordion.js +1 -1
  700. package/dist/components/mds-author.js +1 -1
  701. package/dist/components/mds-avatar-stack-item.js +1 -1
  702. package/dist/components/mds-avatar-stack.js +1 -1
  703. package/dist/components/mds-avatar.js +1 -1
  704. package/dist/components/mds-badge.js +1 -1
  705. package/dist/components/mds-banner.js +1 -1
  706. package/dist/components/mds-benchmark-bar.js +1 -1
  707. package/dist/components/mds-bibliography.js +1 -1
  708. package/dist/components/mds-breadcrumb-item.js +1 -1
  709. package/dist/components/mds-breadcrumb.js +1 -1
  710. package/dist/components/mds-button-dropdown.js +1 -1
  711. package/dist/components/mds-button-group.js +1 -1
  712. package/dist/components/mds-button.js +1 -1
  713. package/dist/components/mds-calendar-cell.js +1 -1
  714. package/dist/components/mds-calendar.js +1 -1
  715. package/dist/components/mds-card-content.js +1 -1
  716. package/dist/components/mds-card-footer.js +1 -1
  717. package/dist/components/mds-card-header.js +1 -1
  718. package/dist/components/mds-card-media.js +1 -1
  719. package/dist/components/mds-card.js +1 -1
  720. package/dist/components/mds-chip.js +1 -1
  721. package/dist/components/mds-details.js +1 -1
  722. package/dist/components/mds-dropdown.js +1 -1
  723. package/dist/components/mds-emoji.js +3 -3
  724. package/dist/components/mds-entity.js +1 -1
  725. package/dist/components/mds-file-preview.js +1 -1
  726. package/dist/components/mds-file.js +3 -3
  727. package/dist/components/mds-filter-item.js +1 -1
  728. package/dist/components/mds-filter.js +1 -1
  729. package/dist/components/mds-header-bar.js +1 -1
  730. package/dist/components/mds-header.js +1 -1
  731. package/dist/components/mds-help.js +1 -1
  732. package/dist/components/mds-horizontal-scroll.js +1 -1
  733. package/dist/components/mds-hr.js +1 -1
  734. package/dist/components/mds-icon.js +1 -1
  735. package/dist/components/mds-img.js +1 -1
  736. package/dist/components/mds-input-date-range-preselection.js +1 -1
  737. package/dist/components/mds-input-date-range.js +1 -1
  738. package/dist/components/mds-input-date.js +1 -1
  739. package/dist/components/mds-input-field.js +1 -1
  740. package/dist/components/mds-input-otp.js +1 -1
  741. package/dist/components/mds-input-range.js +1 -1
  742. package/dist/components/mds-input-select.js +1 -1
  743. package/dist/components/mds-input-switch.js +1 -1
  744. package/dist/components/mds-input-tip-item.js +1 -1
  745. package/dist/components/mds-input-tip.js +1 -1
  746. package/dist/components/mds-input-upload.js +1 -1
  747. package/dist/components/mds-input.js +1 -1
  748. package/dist/components/mds-keyboard-key.js +1 -1
  749. package/dist/components/mds-keyboard.js +1 -1
  750. package/dist/components/mds-kpi-item.js +1 -1
  751. package/dist/components/mds-kpi.js +1 -1
  752. package/dist/components/mds-label.js +1 -1
  753. package/dist/components/mds-list-item.js +1 -1
  754. package/dist/components/mds-list.js +1 -1
  755. package/dist/components/mds-mention.js +1 -1
  756. package/dist/components/mds-modal.js +1 -1
  757. package/dist/components/mds-note.js +1 -1
  758. package/dist/components/mds-notification.js +1 -1
  759. package/dist/components/mds-paginator-item.js +1 -1
  760. package/dist/components/mds-paginator.js +1 -1
  761. package/dist/components/mds-policy-ai.js +1 -1
  762. package/dist/components/mds-pref-animation.js +1 -1
  763. package/dist/components/mds-pref-consumption.js +1 -1
  764. package/dist/components/mds-pref-contrast.js +1 -1
  765. package/dist/components/mds-pref-language-item.js +1 -1
  766. package/dist/components/mds-pref-language.js +1 -1
  767. package/dist/components/mds-pref-mode.js +1 -1
  768. package/dist/components/mds-pref-theme-item.js +1 -1
  769. package/dist/components/mds-pref-theme.js +1 -1
  770. package/dist/components/mds-pref.js +1 -1
  771. package/dist/components/mds-price-table-features-cell.js +1 -1
  772. package/dist/components/mds-price-table-features-row.js +1 -1
  773. package/dist/components/mds-price-table-features.js +1 -1
  774. package/dist/components/mds-price-table-header.js +1 -1
  775. package/dist/components/mds-price-table-list-item.js +1 -1
  776. package/dist/components/mds-price-table-list.js +1 -1
  777. package/dist/components/mds-price-table.js +1 -1
  778. package/dist/components/mds-progress.js +1 -1
  779. package/dist/components/mds-push-notification-item.js +1 -1
  780. package/dist/components/mds-push-notification.js +1 -1
  781. package/dist/components/mds-quote.js +1 -1
  782. package/dist/components/mds-radial-menu-item.js +1 -1
  783. package/dist/components/mds-radial-menu.js +1 -1
  784. package/dist/components/mds-radial-progress.js +1 -1
  785. package/dist/components/mds-separator.js +1 -1
  786. package/dist/components/mds-spinner.js +1 -1
  787. package/dist/components/mds-status-bar.js +1 -1
  788. package/dist/components/mds-stepper-bar-item.js +1 -1
  789. package/dist/components/mds-stepper-bar.js +1 -1
  790. package/dist/components/mds-tab-bar-item.js +1 -1
  791. package/dist/components/mds-tab-bar.js +1 -1
  792. package/dist/components/mds-tab-item.js +1 -1
  793. package/dist/components/mds-tab.js +1 -1
  794. package/dist/components/mds-table-body.js +1 -1
  795. package/dist/components/mds-table-cell.js +1 -1
  796. package/dist/components/mds-table-footer.js +1 -1
  797. package/dist/components/mds-table-header-cell.js +1 -1
  798. package/dist/components/mds-table-header.js +1 -1
  799. package/dist/components/mds-table-row.js +1 -1
  800. package/dist/components/mds-table.js +1 -1
  801. package/dist/components/mds-text.js +1 -1
  802. package/dist/components/mds-toast.js +1 -1
  803. package/dist/components/mds-tooltip.js +1 -1
  804. package/dist/components/mds-tree-item.js +1 -1
  805. package/dist/components/mds-tree.js +1 -1
  806. package/dist/components/mds-url-view.js +1 -1
  807. package/dist/components/mds-usage.js +1 -1
  808. package/dist/components/mds-video-wall.js +1 -1
  809. package/dist/components/mds-zero.js +1 -1
  810. package/dist/components/p--miH951G.js +5 -0
  811. package/dist/components/p-B3Z2Goa-.js +1 -0
  812. package/dist/components/p-B3dWp2vS.js +1 -0
  813. package/dist/components/p-B6FOPjps.js +1 -0
  814. package/dist/components/p-B7CR1EtF.js +1 -0
  815. package/dist/components/p-BBPQjm8h.js +1 -0
  816. package/dist/components/p-BCiJ4PRD.js +1 -0
  817. package/dist/components/p-BHJDW5JC.js +1 -0
  818. package/dist/components/p-BSs0SO-j.js +1 -0
  819. package/dist/components/p-BTpjOy0A.js +1 -0
  820. package/dist/components/p-BY6Qu1V4.js +1 -0
  821. package/dist/components/p-BhmePCyA.js +1 -0
  822. package/dist/components/p-BpGzrg1C.js +1 -0
  823. package/dist/components/p-Bv2IVRzI.js +1 -0
  824. package/dist/components/p-C-J9fW51.js +1 -0
  825. package/dist/components/p-C7EyV0z3.js +1 -0
  826. package/dist/components/p-CAa2kI72.js +1 -0
  827. package/dist/components/p-CBV19-8O.js +1 -0
  828. package/dist/components/p-CCv9tBZK.js +1 -0
  829. package/dist/components/p-CDf607TB.js +1 -0
  830. package/dist/components/p-CEMAGNly.js +1 -0
  831. package/dist/components/p-CGYDZBMv.js +1 -0
  832. package/dist/components/p-CHAvkoj3.js +1 -0
  833. package/dist/components/p-CMFUEkte.js +1 -0
  834. package/dist/components/p-CR2GGKXK.js +1 -0
  835. package/dist/components/p-Cb5kuO7B.js +1 -0
  836. package/dist/components/p-CiNNzAa3.js +1 -0
  837. package/dist/components/p-DGDdPv_Y.js +1 -0
  838. package/dist/components/p-D_wD-Pyk.js +1 -0
  839. package/dist/components/p-HR2JwDjG.js +1 -0
  840. package/dist/components/p-LE7qQIFR.js +8 -0
  841. package/dist/components/p-faViX-qz.js +1 -0
  842. package/dist/components/p-pBvN1uAc.js +3 -0
  843. package/dist/components/p-vgIKH234.js +1 -0
  844. package/dist/components/p-wI0alRSO.js +1 -0
  845. package/dist/components/p-zHpei4x6.js +1 -0
  846. package/dist/documentation.json +623 -365
  847. package/dist/esm/floating-controller-BTYkH_Ih.js +366 -0
  848. package/dist/esm/form-wI0alRSO.js +42 -0
  849. package/dist/esm/index-BhCZiGfL.js +196 -0
  850. package/dist/esm/index-BxPbQB28.js +5149 -0
  851. package/dist/esm/index.js +63 -2
  852. package/dist/esm/loader.js +3 -3
  853. package/dist/esm/locale-CVJm6KFD.js +814 -0
  854. package/dist/esm/magma-components.js +3 -3
  855. package/dist/esm/mds-accordion-item.entry.js +2 -2
  856. package/dist/esm/mds-accordion-timer-item.entry.js +2 -2
  857. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  858. package/dist/esm/mds-accordion.entry.js +2 -2
  859. package/dist/esm/mds-author.entry.js +1 -1
  860. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  861. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  862. package/dist/esm/mds-avatar.entry.js +2 -2
  863. package/dist/esm/mds-badge.entry.js +2 -2
  864. package/dist/esm/mds-banner_3.entry.js +6 -6
  865. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  866. package/dist/esm/mds-bibliography.entry.js +1 -1
  867. package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
  868. package/dist/esm/mds-breadcrumb.entry.js +3 -3
  869. package/dist/esm/mds-button-dropdown.entry.js +38 -4
  870. package/dist/esm/mds-button-group.entry.js +2 -2
  871. package/dist/esm/mds-button_3.entry.js +82 -29
  872. package/dist/esm/mds-calendar_2.entry.js +7 -7
  873. package/dist/esm/mds-card-content.entry.js +2 -2
  874. package/dist/esm/mds-card-footer.entry.js +2 -2
  875. package/dist/esm/mds-card-header.entry.js +2 -2
  876. package/dist/esm/mds-card-media.entry.js +2 -2
  877. package/dist/esm/mds-card.entry.js +3 -3
  878. package/dist/esm/mds-details.entry.js +3 -3
  879. package/dist/esm/mds-dropdown.entry.js +5 -5
  880. package/dist/esm/mds-emoji.entry.js +3 -3
  881. package/dist/esm/mds-entity.entry.js +3 -3
  882. package/dist/esm/mds-file-preview.entry.js +5 -5
  883. package/dist/esm/mds-file.entry.js +4 -4
  884. package/dist/esm/mds-filter-item.entry.js +3 -3
  885. package/dist/esm/mds-filter.entry.js +3 -3
  886. package/dist/esm/mds-header-bar.entry.js +3 -3
  887. package/dist/esm/mds-header.entry.js +3 -3
  888. package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
  889. package/dist/esm/mds-hr.entry.js +3 -3
  890. package/dist/esm/mds-img.entry.js +3 -3
  891. package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
  892. package/dist/esm/mds-input-date-range.entry.js +89 -9
  893. package/dist/esm/mds-input-date.entry.js +124 -27
  894. package/dist/esm/mds-input-field.entry.js +2 -2
  895. package/dist/esm/mds-input-otp.entry.js +65 -19
  896. package/dist/esm/mds-input-range.entry.js +32 -16
  897. package/dist/esm/mds-input-select.entry.js +159 -30
  898. package/dist/esm/mds-input-switch_2.entry.js +64 -22
  899. package/dist/esm/mds-input-tip_2.entry.js +6 -6
  900. package/dist/esm/mds-input-upload.entry.js +136 -67
  901. package/dist/esm/mds-input.entry.js +320 -36
  902. package/dist/esm/mds-keyboard-key.entry.js +4 -4
  903. package/dist/esm/mds-keyboard.entry.js +4 -4
  904. package/dist/esm/mds-kpi-item.entry.js +3 -3
  905. package/dist/esm/mds-kpi.entry.js +2 -2
  906. package/dist/esm/mds-label.entry.js +3 -3
  907. package/dist/esm/mds-list-item.entry.js +3 -3
  908. package/dist/esm/mds-list.entry.js +2 -2
  909. package/dist/esm/mds-mention.entry.js +4 -4
  910. package/dist/esm/mds-modal.entry.js +5 -5
  911. package/dist/esm/mds-note.entry.js +4 -4
  912. package/dist/esm/mds-notification.entry.js +3 -3
  913. package/dist/esm/mds-paginator-item.entry.js +3 -3
  914. package/dist/esm/mds-paginator.entry.js +3 -3
  915. package/dist/esm/mds-policy-ai.entry.js +4 -4
  916. package/dist/esm/mds-pref-animation.entry.js +29 -5
  917. package/dist/esm/mds-pref-consumption.entry.js +29 -5
  918. package/dist/esm/mds-pref-contrast.entry.js +27 -6
  919. package/dist/esm/mds-pref-language-item.entry.js +4 -4
  920. package/dist/esm/mds-pref-language.entry.js +4 -4
  921. package/dist/esm/mds-pref-mode.entry.js +30 -7
  922. package/dist/esm/mds-pref-theme-item.entry.js +2 -2
  923. package/dist/esm/mds-pref-theme.entry.js +4 -4
  924. package/dist/esm/mds-pref.entry.js +10 -5
  925. package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
  926. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  927. package/dist/esm/mds-price-table-features.entry.js +3 -3
  928. package/dist/esm/mds-price-table-header.entry.js +2 -2
  929. package/dist/esm/mds-price-table-list-item.entry.js +2 -2
  930. package/dist/esm/mds-price-table-list.entry.js +3 -3
  931. package/dist/esm/mds-price-table.entry.js +2 -2
  932. package/dist/esm/mds-progress_2.entry.js +4 -4
  933. package/dist/esm/mds-push-notification-item.entry.js +5 -5
  934. package/dist/esm/mds-push-notification.entry.js +3 -3
  935. package/dist/esm/mds-quote.entry.js +3 -3
  936. package/dist/esm/mds-radial-menu-item.entry.js +2 -2
  937. package/dist/esm/mds-radial-menu.entry.js +3 -3
  938. package/dist/esm/mds-separator.entry.js +3 -3
  939. package/dist/esm/mds-status-bar.entry.js +3 -3
  940. package/dist/esm/mds-stepper-bar-item.entry.js +4 -4
  941. package/dist/esm/mds-stepper-bar.entry.js +2 -2
  942. package/dist/esm/mds-tab-bar-item.entry.js +3 -3
  943. package/dist/esm/mds-tab-bar.entry.js +3 -3
  944. package/dist/esm/mds-tab_2.entry.js +29 -7
  945. package/dist/esm/mds-table-body.entry.js +3 -3
  946. package/dist/esm/mds-table-footer.entry.js +3 -3
  947. package/dist/esm/mds-table-header-cell.entry.js +3 -3
  948. package/dist/esm/mds-table-header.entry.js +4 -4
  949. package/dist/esm/mds-table-row.entry.js +24 -18
  950. package/dist/esm/mds-table.entry.js +4 -4
  951. package/dist/esm/mds-text.entry.js +3 -3
  952. package/dist/esm/mds-toast.entry.js +3 -3
  953. package/dist/esm/mds-tooltip.entry.js +4 -4
  954. package/dist/esm/mds-tree-item.entry.js +4 -4
  955. package/dist/esm/mds-tree.entry.js +2 -2
  956. package/dist/esm/mds-url-view.entry.js +4 -4
  957. package/dist/esm/mds-usage.entry.js +4 -4
  958. package/dist/esm/mds-video-wall.entry.js +2 -2
  959. package/dist/esm/mds-zero.entry.js +3 -3
  960. package/dist/esm/preference-DNNqH7BU.js +385 -0
  961. package/dist/esm-es5/floating-controller-BTYkH_Ih.js +66 -0
  962. package/dist/esm-es5/form-wI0alRSO.js +16 -0
  963. package/dist/esm-es5/index-BhCZiGfL.js +10 -0
  964. package/dist/esm-es5/index-BxPbQB28.js +371 -0
  965. package/dist/esm-es5/index.js +37 -20
  966. package/dist/esm-es5/loader.js +1 -1
  967. package/dist/esm-es5/locale-CVJm6KFD.js +230 -0
  968. package/dist/esm-es5/magma-components.js +2 -2
  969. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  970. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  971. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  972. package/dist/esm-es5/mds-accordion.entry.js +1 -1
  973. package/dist/esm-es5/mds-author.entry.js +1 -1
  974. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  975. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  976. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  977. package/dist/esm-es5/mds-badge.entry.js +1 -1
  978. package/dist/esm-es5/mds-banner_3.entry.js +4 -4
  979. package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
  980. package/dist/esm-es5/mds-bibliography.entry.js +1 -1
  981. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  982. package/dist/esm-es5/mds-breadcrumb.entry.js +2 -2
  983. package/dist/esm-es5/mds-button-dropdown.entry.js +10 -4
  984. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  985. package/dist/esm-es5/mds-button_3.entry.js +28 -6
  986. package/dist/esm-es5/mds-calendar_2.entry.js +3 -3
  987. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  988. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  989. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  990. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  991. package/dist/esm-es5/mds-card.entry.js +2 -2
  992. package/dist/esm-es5/mds-details.entry.js +2 -2
  993. package/dist/esm-es5/mds-dropdown.entry.js +2 -2
  994. package/dist/esm-es5/mds-emoji.entry.js +2 -2
  995. package/dist/esm-es5/mds-entity.entry.js +1 -1
  996. package/dist/esm-es5/mds-file-preview.entry.js +12 -12
  997. package/dist/esm-es5/mds-file.entry.js +12 -12
  998. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  999. package/dist/esm-es5/mds-filter.entry.js +2 -2
  1000. package/dist/esm-es5/mds-header-bar.entry.js +2 -2
  1001. package/dist/esm-es5/mds-header.entry.js +4 -4
  1002. package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
  1003. package/dist/esm-es5/mds-hr.entry.js +1 -1
  1004. package/dist/esm-es5/mds-img.entry.js +1 -1
  1005. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  1006. package/dist/esm-es5/mds-input-date-range.entry.js +33 -6
  1007. package/dist/esm-es5/mds-input-date.entry.js +47 -7
  1008. package/dist/esm-es5/mds-input-field.entry.js +2 -2
  1009. package/dist/esm-es5/mds-input-otp.entry.js +21 -4
  1010. package/dist/esm-es5/mds-input-range.entry.js +15 -7
  1011. package/dist/esm-es5/mds-input-select.entry.js +37 -6
  1012. package/dist/esm-es5/mds-input-switch_2.entry.js +24 -4
  1013. package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
  1014. package/dist/esm-es5/mds-input-upload.entry.js +42 -18
  1015. package/dist/esm-es5/mds-input.entry.js +105 -22
  1016. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  1017. package/dist/esm-es5/mds-keyboard.entry.js +2 -2
  1018. package/dist/esm-es5/mds-kpi-item.entry.js +2 -2
  1019. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  1020. package/dist/esm-es5/mds-label.entry.js +1 -1
  1021. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  1022. package/dist/esm-es5/mds-list.entry.js +1 -1
  1023. package/dist/esm-es5/mds-mention.entry.js +2 -2
  1024. package/dist/esm-es5/mds-modal.entry.js +2 -2
  1025. package/dist/esm-es5/mds-note.entry.js +2 -2
  1026. package/dist/esm-es5/mds-notification.entry.js +2 -2
  1027. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  1028. package/dist/esm-es5/mds-paginator.entry.js +2 -2
  1029. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  1030. package/dist/esm-es5/mds-pref-animation.entry.js +7 -1
  1031. package/dist/esm-es5/mds-pref-consumption.entry.js +7 -1
  1032. package/dist/esm-es5/mds-pref-contrast.entry.js +8 -2
  1033. package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
  1034. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  1035. package/dist/esm-es5/mds-pref-mode.entry.js +10 -2
  1036. package/dist/esm-es5/mds-pref-theme-item.entry.js +2 -2
  1037. package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
  1038. package/dist/esm-es5/mds-pref.entry.js +6 -3
  1039. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  1040. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  1041. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  1042. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  1043. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  1044. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  1045. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  1046. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  1047. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  1048. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  1049. package/dist/esm-es5/mds-quote.entry.js +2 -2
  1050. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  1051. package/dist/esm-es5/mds-radial-menu.entry.js +2 -2
  1052. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1053. package/dist/esm-es5/mds-status-bar.entry.js +2 -2
  1054. package/dist/esm-es5/mds-stepper-bar-item.entry.js +2 -2
  1055. package/dist/esm-es5/mds-stepper-bar.entry.js +3 -3
  1056. package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -3
  1057. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  1058. package/dist/esm-es5/mds-tab_2.entry.js +15 -4
  1059. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1060. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  1061. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  1062. package/dist/esm-es5/mds-table-header.entry.js +4 -4
  1063. package/dist/esm-es5/mds-table-row.entry.js +12 -4
  1064. package/dist/esm-es5/mds-table.entry.js +2 -2
  1065. package/dist/esm-es5/mds-text.entry.js +2 -2
  1066. package/dist/esm-es5/mds-toast.entry.js +2 -2
  1067. package/dist/esm-es5/mds-tooltip.entry.js +2 -2
  1068. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  1069. package/dist/esm-es5/mds-tree.entry.js +2 -2
  1070. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  1071. package/dist/esm-es5/mds-usage.entry.js +2 -2
  1072. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  1073. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1074. package/dist/esm-es5/preference-DNNqH7BU.js +58 -0
  1075. package/dist/hydrate/index.js +1708 -441
  1076. package/dist/hydrate/index.mjs +1708 -441
  1077. package/dist/magma-components/index.esm.js +1 -1
  1078. package/dist/magma-components/magma-components.esm.js +1 -1
  1079. package/dist/magma-components/magma-components.js +1 -1
  1080. package/dist/magma-components/p-019e8a95.system.entry.js +13 -0
  1081. package/dist/magma-components/p-01dd1f55.entry.js +1 -0
  1082. package/dist/magma-components/p-02119624.system.entry.js +40 -0
  1083. package/dist/magma-components/p-02fc7592.entry.js +1 -0
  1084. package/dist/magma-components/p-03cd0069.system.entry.js +1 -0
  1085. package/dist/magma-components/p-05fbca60.system.entry.js +37 -0
  1086. package/dist/magma-components/p-06d9af89.entry.js +1 -0
  1087. package/dist/magma-components/p-07e4701d.entry.js +1 -0
  1088. package/dist/magma-components/p-081a19b1.system.entry.js +45 -0
  1089. package/dist/magma-components/p-09d0b6a8.entry.js +1 -0
  1090. package/dist/magma-components/p-0a9fb138.system.entry.js +1 -0
  1091. package/dist/magma-components/p-0b300de7.entry.js +1 -0
  1092. package/dist/magma-components/p-0d3c3de9.entry.js +1 -0
  1093. package/dist/magma-components/p-1150ffb8.system.entry.js +10 -0
  1094. package/dist/magma-components/p-115a5e47.entry.js +1 -0
  1095. package/dist/magma-components/p-1314d80e.entry.js +1 -0
  1096. package/dist/magma-components/p-133a6ffd.system.entry.js +49 -0
  1097. package/dist/magma-components/p-13db55de.entry.js +1 -0
  1098. package/dist/magma-components/p-1a2731ec.system.entry.js +10 -0
  1099. package/dist/magma-components/p-1a602906.system.entry.js +13 -0
  1100. package/dist/magma-components/p-1c975156.entry.js +1 -0
  1101. package/dist/magma-components/p-1cb495d3.entry.js +1 -0
  1102. package/dist/magma-components/p-1d154234.system.entry.js +12 -0
  1103. package/dist/magma-components/p-1d9d7666.entry.js +1 -0
  1104. package/dist/magma-components/p-1ddaaa6d.system.entry.js +217 -0
  1105. package/dist/magma-components/p-21aa0a74.entry.js +1 -0
  1106. package/dist/magma-components/p-21c46e74.system.entry.js +4 -0
  1107. package/dist/magma-components/p-2399b7e8.entry.js +1 -0
  1108. package/dist/magma-components/p-25407d89.entry.js +1 -0
  1109. package/dist/magma-components/p-27547a7a.system.entry.js +7 -0
  1110. package/dist/magma-components/p-289a874e.entry.js +1 -0
  1111. package/dist/magma-components/p-2be3bd23.system.entry.js +1 -0
  1112. package/dist/magma-components/p-2c586431.entry.js +1 -0
  1113. package/dist/magma-components/p-2d324edc.entry.js +1 -0
  1114. package/dist/magma-components/p-2da2cdf3.system.entry.js +7 -0
  1115. package/dist/magma-components/p-2e01e057.system.entry.js +7 -0
  1116. package/dist/magma-components/p-2e9b80e8.entry.js +1 -0
  1117. package/dist/magma-components/p-30c3872d.entry.js +1 -0
  1118. package/dist/magma-components/p-3231a6a3.entry.js +1 -0
  1119. package/dist/magma-components/p-32361702.system.entry.js +7 -0
  1120. package/dist/magma-components/p-3448d0ce.entry.js +1 -0
  1121. package/dist/magma-components/p-367cee40.system.entry.js +1 -0
  1122. package/dist/magma-components/p-3a1a6945.entry.js +1 -0
  1123. package/dist/magma-components/p-3a8870e4.system.entry.js +47 -0
  1124. package/dist/magma-components/p-3b68fbcd.system.entry.js +22 -0
  1125. package/dist/magma-components/p-3ecade3c.system.entry.js +11 -0
  1126. package/dist/magma-components/p-3f05ec8a.entry.js +1 -0
  1127. package/dist/magma-components/p-4073c5f2.system.entry.js +90 -0
  1128. package/dist/magma-components/p-40bd2e6d.entry.js +1 -0
  1129. package/dist/magma-components/p-423597db.system.entry.js +4 -0
  1130. package/dist/magma-components/p-443c2a29.system.entry.js +10 -0
  1131. package/dist/magma-components/p-45a91f1c.system.entry.js +1 -0
  1132. package/dist/magma-components/p-487af9d3.entry.js +1 -0
  1133. package/dist/magma-components/p-4909070e.entry.js +1 -0
  1134. package/dist/magma-components/p-4d966161.system.entry.js +14 -0
  1135. package/dist/magma-components/p-4ddf891e.system.entry.js +69 -0
  1136. package/dist/magma-components/p-4e15cde7.entry.js +1 -0
  1137. package/dist/magma-components/p-4f14a166.entry.js +1 -0
  1138. package/dist/magma-components/p-4ffec31a.system.entry.js +1 -0
  1139. package/dist/magma-components/p-50b266e9.system.entry.js +4 -0
  1140. package/dist/magma-components/p-5165b09f.system.entry.js +4 -0
  1141. package/dist/magma-components/p-544cc9c7.system.entry.js +25 -0
  1142. package/dist/magma-components/p-562bb482.system.entry.js +16 -0
  1143. package/dist/magma-components/p-5ac9e2f4.entry.js +1 -0
  1144. package/dist/magma-components/p-5ae5ec95.entry.js +1 -0
  1145. package/dist/magma-components/p-5d2d8ffe.system.entry.js +11 -0
  1146. package/dist/magma-components/p-5e180f53.system.entry.js +32 -0
  1147. package/dist/magma-components/p-61bedbe7.system.entry.js +68 -0
  1148. package/dist/magma-components/p-61ff1d85.system.entry.js +1 -0
  1149. package/dist/magma-components/p-62b17608.system.entry.js +102 -0
  1150. package/dist/magma-components/p-63e7c98f.entry.js +1 -0
  1151. package/dist/magma-components/p-6474c850.entry.js +8 -0
  1152. package/dist/magma-components/p-660657ac.system.entry.js +15 -0
  1153. package/dist/magma-components/p-66237a64.entry.js +1 -0
  1154. package/dist/magma-components/p-6702e489.entry.js +1 -0
  1155. package/dist/magma-components/p-694ed534.entry.js +1 -0
  1156. package/dist/magma-components/p-6b446fd9.system.entry.js +81 -0
  1157. package/dist/magma-components/p-6c414bc2.system.entry.js +19 -0
  1158. package/dist/magma-components/p-6cbd8a6d.system.entry.js +12 -0
  1159. package/dist/magma-components/p-6d0dc1fd.entry.js +1 -0
  1160. package/dist/magma-components/p-6ed05d99.entry.js +1 -0
  1161. package/dist/magma-components/p-6f2471b1.entry.js +1 -0
  1162. package/dist/magma-components/p-6fa03aab.system.entry.js +7 -0
  1163. package/dist/magma-components/p-7-TP6wnI.js +1 -0
  1164. package/dist/magma-components/p-70141ccd.entry.js +1 -0
  1165. package/dist/magma-components/p-707d8626.system.entry.js +2838 -0
  1166. package/dist/magma-components/p-71dafc3f.entry.js +1 -0
  1167. package/dist/magma-components/p-726209f4.system.entry.js +1 -0
  1168. package/dist/magma-components/p-745ee76b.system.entry.js +32 -0
  1169. package/dist/magma-components/p-761415b3.system.entry.js +37 -0
  1170. package/dist/magma-components/p-771720b7.entry.js +18 -0
  1171. package/dist/magma-components/p-7a7c308b.entry.js +1 -0
  1172. package/dist/magma-components/p-7bea6c05.system.entry.js +10 -0
  1173. package/dist/magma-components/p-7c940015.system.entry.js +1 -0
  1174. package/dist/magma-components/p-7ca990d4.system.entry.js +11 -0
  1175. package/dist/magma-components/p-7d6ca97d.system.entry.js +7 -0
  1176. package/dist/magma-components/p-7ffda4f5.entry.js +1 -0
  1177. package/dist/magma-components/p-8097dfc8.system.entry.js +7 -0
  1178. package/dist/magma-components/p-809adece.system.entry.js +17 -0
  1179. package/dist/magma-components/p-843ab1b4.entry.js +1 -0
  1180. package/dist/magma-components/p-87026d34.entry.js +1 -0
  1181. package/dist/magma-components/p-8765dc11.entry.js +1 -0
  1182. package/dist/magma-components/p-876a5fb9.system.entry.js +1 -0
  1183. package/dist/magma-components/p-87faaa8e.system.entry.js +16 -0
  1184. package/dist/magma-components/p-8a838a1a.entry.js +1 -0
  1185. package/dist/magma-components/p-8bcb2a5f.entry.js +1 -0
  1186. package/dist/magma-components/p-8c93550d.entry.js +1 -0
  1187. package/dist/magma-components/p-8ca1d30d.system.entry.js +1 -0
  1188. package/dist/magma-components/p-8yWTOQiz.js +1 -0
  1189. package/dist/magma-components/p-91451e37.system.entry.js +913 -0
  1190. package/dist/magma-components/p-91c4015f.system.entry.js +4 -0
  1191. package/dist/magma-components/p-91c8960a.system.entry.js +1 -0
  1192. package/dist/magma-components/p-932620b6.entry.js +1 -0
  1193. package/dist/magma-components/p-939da879.system.entry.js +8 -0
  1194. package/dist/magma-components/p-97bde480.entry.js +1 -0
  1195. package/dist/magma-components/p-97d02403.entry.js +1 -0
  1196. package/dist/magma-components/p-983f3e40.entry.js +1 -0
  1197. package/dist/magma-components/p-99227c78.system.entry.js +11 -0
  1198. package/dist/magma-components/p-9a583f6b.system.entry.js +1 -0
  1199. package/dist/magma-components/p-9a86e0ce.system.entry.js +1 -0
  1200. package/dist/magma-components/p-9d1cdb42.system.entry.js +15 -0
  1201. package/dist/magma-components/p-9e5982b6.entry.js +1 -0
  1202. package/dist/magma-components/p-9eb1e154.system.entry.js +14 -0
  1203. package/dist/magma-components/p-9eef2f79.entry.js +1 -0
  1204. package/dist/magma-components/p-9fe14430.system.entry.js +7 -0
  1205. package/dist/magma-components/p-9fe7035a.entry.js +1 -0
  1206. package/dist/magma-components/p-BPNsbMrg.system.js +67 -0
  1207. package/dist/magma-components/p-BS7eEvwu.system.js +17 -0
  1208. package/dist/magma-components/p-BTF_aRDG.system.js +231 -0
  1209. package/dist/magma-components/p-BpVYIPkx.js +1 -0
  1210. package/dist/magma-components/p-BxPbQB28.js +3 -0
  1211. package/dist/magma-components/p-CKfEQ187.system.js +107 -0
  1212. package/dist/magma-components/p-CdsZyFQ-.system.js +10 -0
  1213. package/dist/magma-components/p-DaONbL_w.system.js +162 -0
  1214. package/dist/magma-components/p-Kv1yahtR.js +5 -0
  1215. package/dist/magma-components/p-ZDRIVCAt.system.js +5 -0
  1216. package/dist/magma-components/p-a0972ec9.entry.js +1 -0
  1217. package/dist/magma-components/p-a0d9e01f.system.entry.js +1 -0
  1218. package/dist/magma-components/p-a1851e6f.entry.js +1 -0
  1219. package/dist/magma-components/p-a1b5bd58.entry.js +1 -0
  1220. package/dist/magma-components/p-a2d9549d.system.entry.js +32 -0
  1221. package/dist/magma-components/p-a5a13b20.entry.js +1 -0
  1222. package/dist/magma-components/p-a6a71c77.entry.js +1 -0
  1223. package/dist/magma-components/p-a96312c1.entry.js +1 -0
  1224. package/dist/magma-components/p-a9e4efa3.entry.js +1 -0
  1225. package/dist/magma-components/p-aa0bd826.entry.js +1 -0
  1226. package/dist/magma-components/p-aa74169f.system.entry.js +1 -0
  1227. package/dist/magma-components/p-ab4ffbd4.system.entry.js +68 -0
  1228. package/dist/magma-components/p-ad09a06b.entry.js +1 -0
  1229. package/dist/magma-components/p-ad9cb1f5.entry.js +1 -0
  1230. package/dist/magma-components/p-aed8b119.entry.js +1 -0
  1231. package/dist/magma-components/p-afbef2fc.entry.js +1 -0
  1232. package/dist/magma-components/p-b183d698.system.entry.js +16 -0
  1233. package/dist/magma-components/p-b49196da.entry.js +1 -0
  1234. package/dist/magma-components/p-b77a2832.entry.js +1 -0
  1235. package/dist/magma-components/p-b925c109.system.entry.js +14 -0
  1236. package/dist/magma-components/p-b9e3281a.system.entry.js +72 -0
  1237. package/dist/magma-components/p-bb0538b6.entry.js +1 -0
  1238. package/dist/magma-components/p-bb055583.entry.js +1 -0
  1239. package/dist/magma-components/p-bba04b08.system.entry.js +14 -0
  1240. package/dist/magma-components/p-bc6a41a9.system.entry.js +1 -0
  1241. package/dist/magma-components/p-bd9324f3.system.entry.js +1 -0
  1242. package/dist/magma-components/p-c48e3460.entry.js +1 -0
  1243. package/dist/magma-components/p-c4beed1b.entry.js +1 -0
  1244. package/dist/magma-components/p-c4ccb710.entry.js +1 -0
  1245. package/dist/magma-components/p-c4e4ba90.system.entry.js +38 -0
  1246. package/dist/magma-components/p-c573e136.entry.js +1 -0
  1247. package/dist/magma-components/p-c5ad848f.entry.js +1 -0
  1248. package/dist/magma-components/p-c6841b21.entry.js +1 -0
  1249. package/dist/magma-components/p-c89a44b2.entry.js +1 -0
  1250. package/dist/magma-components/p-c94575de.entry.js +1 -0
  1251. package/dist/magma-components/p-cabe9133.system.entry.js +4 -0
  1252. package/dist/magma-components/p-cb2c5f1b.entry.js +1 -0
  1253. package/dist/magma-components/p-cb571b55.system.entry.js +1 -0
  1254. package/dist/magma-components/p-cbc0f01f.system.entry.js +17 -0
  1255. package/dist/magma-components/p-cc1ee10a.system.entry.js +20 -0
  1256. package/dist/magma-components/p-cd1dc29a.entry.js +1 -0
  1257. package/dist/magma-components/p-cd5cf28b.system.entry.js +1 -0
  1258. package/dist/magma-components/p-cd952369.entry.js +1 -0
  1259. package/dist/magma-components/p-d35aebe5.entry.js +1 -0
  1260. package/dist/magma-components/p-d5e53364.system.entry.js +1 -0
  1261. package/dist/magma-components/p-d74fa7af.entry.js +1 -0
  1262. package/dist/magma-components/p-d7515aae.entry.js +1 -0
  1263. package/dist/magma-components/p-d7a94afb.system.entry.js +7 -0
  1264. package/dist/magma-components/p-d93c9a11.system.entry.js +89 -0
  1265. package/dist/magma-components/p-d9fbbf3f.entry.js +1 -0
  1266. package/dist/magma-components/p-db492cf5.system.entry.js +13 -0
  1267. package/dist/magma-components/p-dc06b29e.entry.js +1 -0
  1268. package/dist/magma-components/p-dc399372.entry.js +1 -0
  1269. package/dist/magma-components/p-dc7bada4.entry.js +1 -0
  1270. package/dist/magma-components/p-dcf841d5.entry.js +1 -0
  1271. package/dist/magma-components/p-dfb4a965.system.entry.js +28 -0
  1272. package/dist/magma-components/p-e1a91e9e.system.entry.js +1 -0
  1273. package/dist/magma-components/p-e2ef1d6f.entry.js +1 -0
  1274. package/dist/magma-components/p-e5438280.system.entry.js +10 -0
  1275. package/dist/magma-components/p-e8cd2b93.system.entry.js +4 -0
  1276. package/dist/magma-components/p-e95f2a48.entry.js +1 -0
  1277. package/dist/magma-components/p-eb113725.system.entry.js +1 -0
  1278. package/dist/magma-components/p-ec5eccbb.entry.js +1 -0
  1279. package/dist/magma-components/p-eca99a0a.system.entry.js +1 -0
  1280. package/dist/magma-components/p-ed897f9f.entry.js +1 -0
  1281. package/dist/magma-components/p-eea815ca.system.entry.js +16 -0
  1282. package/dist/magma-components/p-ef4cd904.system.entry.js +16 -0
  1283. package/dist/magma-components/p-eff1fd6c.system.entry.js +15 -0
  1284. package/dist/magma-components/p-eff38775.entry.js +1 -0
  1285. package/dist/magma-components/p-f01874a8.entry.js +1 -0
  1286. package/dist/magma-components/p-f05d7005.entry.js +1 -0
  1287. package/dist/magma-components/p-f0c67a70.system.entry.js +15 -0
  1288. package/dist/magma-components/p-f215496c.entry.js +1 -0
  1289. package/dist/magma-components/p-f28cfb33.system.entry.js +4 -0
  1290. package/dist/magma-components/p-f3dbebdd.system.entry.js +27 -0
  1291. package/dist/magma-components/p-f65e29e0.system.entry.js +1 -0
  1292. package/dist/magma-components/p-f830793e.entry.js +1 -0
  1293. package/dist/magma-components/p-f835c307.system.entry.js +7 -0
  1294. package/dist/magma-components/p-f89c3a01.system.entry.js +32 -0
  1295. package/dist/magma-components/p-f8da21a1.system.entry.js +3 -0
  1296. package/dist/magma-components/p-f8eb19b3.entry.js +1 -0
  1297. package/dist/magma-components/p-f8feee93.system.entry.js +4 -0
  1298. package/dist/magma-components/p-f97b4ff4.system.entry.js +16 -0
  1299. package/dist/magma-components/p-fc8f8a0c.entry.js +1 -0
  1300. package/dist/magma-components/p-fcaa5967.entry.js +18 -0
  1301. package/dist/magma-components/p-ff970859.system.entry.js +30 -0
  1302. package/dist/magma-components/p-hVpoPUxI.system.js +58 -0
  1303. package/dist/magma-components/p-wI0alRSO.js +1 -0
  1304. package/dist/stats.json +3235 -2557
  1305. package/dist/types/common/form.d.ts +8 -1
  1306. package/dist/types/common/navigation.d.ts +32 -0
  1307. package/dist/types/common/preference.d.ts +1 -1
  1308. package/dist/types/common/validity/index.d.ts +22 -0
  1309. package/dist/types/components/mds-button/mds-button.d.ts +32 -2
  1310. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +23 -1
  1311. package/dist/types/components/mds-input/mds-input.d.ts +41 -2
  1312. package/dist/types/components/mds-input/meta/validators.d.ts +22 -0
  1313. package/dist/types/components/mds-input/meta/validity.d.ts +14 -0
  1314. package/dist/types/components/mds-input-date/mds-input-date.d.ts +38 -0
  1315. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +26 -0
  1316. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +21 -2
  1317. package/dist/types/components/mds-input-range/mds-input-range.d.ts +8 -1
  1318. package/dist/types/components/mds-input-select/mds-input-select.d.ts +41 -4
  1319. package/dist/types/components/mds-input-select/meta/event-detail.d.ts +8 -0
  1320. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +17 -0
  1321. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +27 -5
  1322. package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
  1323. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +10 -1
  1324. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +10 -1
  1325. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +10 -1
  1326. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +10 -1
  1327. package/dist/types/components/mds-tab/mds-tab.d.ts +6 -1
  1328. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +6 -1
  1329. package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -2
  1330. package/dist/types/components.d.ts +106 -23
  1331. package/dist/types/index.d.ts +12 -4
  1332. package/package.json +27 -14
  1333. package/dist/cjs/floating-controller-Cd_vNLLD.js +0 -369
  1334. package/dist/cjs/form-DTCBh5WK.js +0 -22
  1335. package/dist/cjs/index--6wz7eWi.js +0 -5183
  1336. package/dist/cjs/locale-CB5_Z7PE.js +0 -816
  1337. package/dist/cjs/preference-eJcbLLAn.js +0 -389
  1338. package/dist/components/p-6K9sFzLr.js +0 -1
  1339. package/dist/components/p-A9TZf0Ii.js +0 -1
  1340. package/dist/components/p-BBhbQT2f.js +0 -1
  1341. package/dist/components/p-BFpRu7yD.js +0 -1
  1342. package/dist/components/p-BL63WAAq.js +0 -8
  1343. package/dist/components/p-BNHXZ-JR.js +0 -1
  1344. package/dist/components/p-BShLEry5.js +0 -1
  1345. package/dist/components/p-BSxuG1vZ.js +0 -1
  1346. package/dist/components/p-BTHR4xXu.js +0 -1
  1347. package/dist/components/p-BYxxgEE_.js +0 -1
  1348. package/dist/components/p-BZFyAX-6.js +0 -1
  1349. package/dist/components/p-BhFTcUD0.js +0 -3
  1350. package/dist/components/p-Bss3F51Q.js +0 -5
  1351. package/dist/components/p-BtMdmkID.js +0 -1
  1352. package/dist/components/p-ByaUOMp0.js +0 -1
  1353. package/dist/components/p-C1xZO_fq.js +0 -1
  1354. package/dist/components/p-C58NKMEE.js +0 -1
  1355. package/dist/components/p-C6Q4zFh6.js +0 -1
  1356. package/dist/components/p-CUQ7WIXh.js +0 -1
  1357. package/dist/components/p-CVpjH8Un.js +0 -1
  1358. package/dist/components/p-Cd_8zD_I.js +0 -1
  1359. package/dist/components/p-CnAeawmf.js +0 -1
  1360. package/dist/components/p-CvIFS8oA.js +0 -1
  1361. package/dist/components/p-DCrjf0F0.js +0 -1
  1362. package/dist/components/p-DlHJvYE7.js +0 -1
  1363. package/dist/components/p-DlaJNPdd.js +0 -1
  1364. package/dist/components/p-DnrQaRnh.js +0 -1
  1365. package/dist/components/p-OPg_Naue.js +0 -1
  1366. package/dist/components/p-RS4yyl41.js +0 -1
  1367. package/dist/components/p-gv3eu44S.js +0 -1
  1368. package/dist/components/p-kff6xSdW.js +0 -1
  1369. package/dist/components/p-pys1EQ60.js +0 -1
  1370. package/dist/components/p-qketFgr0.js +0 -1
  1371. package/dist/components/p-wq6nWuWE.js +0 -1
  1372. package/dist/components/p-zml3K7nx.js +0 -1
  1373. package/dist/esm/floating-controller-DVldZ5mh.js +0 -366
  1374. package/dist/esm/form-A9TZf0Ii.js +0 -19
  1375. package/dist/esm/index-DIiEV39g.js +0 -5149
  1376. package/dist/esm/locale-CbJbTW_c.js +0 -814
  1377. package/dist/esm/preference-CKerJx2M.js +0 -385
  1378. package/dist/esm-es5/floating-controller-DVldZ5mh.js +0 -66
  1379. package/dist/esm-es5/form-A9TZf0Ii.js +0 -8
  1380. package/dist/esm-es5/index-DIiEV39g.js +0 -371
  1381. package/dist/esm-es5/locale-CbJbTW_c.js +0 -230
  1382. package/dist/esm-es5/preference-CKerJx2M.js +0 -58
  1383. package/dist/magma-components/p-005172ba.entry.js +0 -1
  1384. package/dist/magma-components/p-05fa40aa.system.entry.js +0 -10
  1385. package/dist/magma-components/p-071f18c6.system.entry.js +0 -27
  1386. package/dist/magma-components/p-0798b0bf.system.entry.js +0 -24
  1387. package/dist/magma-components/p-0827a5bd.entry.js +0 -1
  1388. package/dist/magma-components/p-086fb3aa.entry.js +0 -1
  1389. package/dist/magma-components/p-0a088e7d.system.entry.js +0 -10
  1390. package/dist/magma-components/p-0a691082.entry.js +0 -1
  1391. package/dist/magma-components/p-0ec21574.system.entry.js +0 -10
  1392. package/dist/magma-components/p-0f6bb54d.system.entry.js +0 -22
  1393. package/dist/magma-components/p-102d3bd3.system.entry.js +0 -1
  1394. package/dist/magma-components/p-10704ede.system.entry.js +0 -4
  1395. package/dist/magma-components/p-15c77a98.system.entry.js +0 -19
  1396. package/dist/magma-components/p-15f63bf3.entry.js +0 -1
  1397. package/dist/magma-components/p-16e9fb14.system.entry.js +0 -7
  1398. package/dist/magma-components/p-181dfb04.entry.js +0 -1
  1399. package/dist/magma-components/p-184720be.system.entry.js +0 -1
  1400. package/dist/magma-components/p-18473d2f.entry.js +0 -1
  1401. package/dist/magma-components/p-18667ae7.system.entry.js +0 -13
  1402. package/dist/magma-components/p-18f7b970.system.entry.js +0 -4
  1403. package/dist/magma-components/p-19adde9d.entry.js +0 -1
  1404. package/dist/magma-components/p-1afc0452.entry.js +0 -1
  1405. package/dist/magma-components/p-1cce738a.system.entry.js +0 -32
  1406. package/dist/magma-components/p-1df6ac96.system.entry.js +0 -7
  1407. package/dist/magma-components/p-209063b6.system.entry.js +0 -50
  1408. package/dist/magma-components/p-216f95cc.system.entry.js +0 -1
  1409. package/dist/magma-components/p-21891a24.entry.js +0 -1
  1410. package/dist/magma-components/p-21d6687a.system.entry.js +0 -7
  1411. package/dist/magma-components/p-2217a7be.entry.js +0 -1
  1412. package/dist/magma-components/p-231505e8.entry.js +0 -1
  1413. package/dist/magma-components/p-2386f0d6.system.entry.js +0 -37
  1414. package/dist/magma-components/p-23e61db9.system.entry.js +0 -4
  1415. package/dist/magma-components/p-25935d33.system.entry.js +0 -1
  1416. package/dist/magma-components/p-284c40cd.system.entry.js +0 -4
  1417. package/dist/magma-components/p-29684655.system.entry.js +0 -16
  1418. package/dist/magma-components/p-2b56fc14.entry.js +0 -1
  1419. package/dist/magma-components/p-2b73fee6.entry.js +0 -1
  1420. package/dist/magma-components/p-2d5aadba.system.entry.js +0 -7
  1421. package/dist/magma-components/p-2de17848.entry.js +0 -1
  1422. package/dist/magma-components/p-34482514.entry.js +0 -1
  1423. package/dist/magma-components/p-34c0890e.entry.js +0 -1
  1424. package/dist/magma-components/p-3635eca6.system.entry.js +0 -1
  1425. package/dist/magma-components/p-3b0c1202.entry.js +0 -1
  1426. package/dist/magma-components/p-3db23b5f.system.entry.js +0 -16
  1427. package/dist/magma-components/p-3ec7d3ea.entry.js +0 -1
  1428. package/dist/magma-components/p-3f747a63.system.entry.js +0 -1
  1429. package/dist/magma-components/p-3ff30842.system.entry.js +0 -16
  1430. package/dist/magma-components/p-40563e33.entry.js +0 -1
  1431. package/dist/magma-components/p-41bf6f25.system.entry.js +0 -81
  1432. package/dist/magma-components/p-421a630e.entry.js +0 -1
  1433. package/dist/magma-components/p-4299b76b.system.entry.js +0 -4
  1434. package/dist/magma-components/p-4543501c.entry.js +0 -1
  1435. package/dist/magma-components/p-4616bc07.entry.js +0 -1
  1436. package/dist/magma-components/p-46786d71.system.entry.js +0 -14
  1437. package/dist/magma-components/p-470e5ac8.system.entry.js +0 -1
  1438. package/dist/magma-components/p-48d37230.entry.js +0 -1
  1439. package/dist/magma-components/p-49b120cb.system.entry.js +0 -13
  1440. package/dist/magma-components/p-4af76eb3.entry.js +0 -1
  1441. package/dist/magma-components/p-4b3a8132.system.entry.js +0 -13
  1442. package/dist/magma-components/p-4ba6cb3f.entry.js +0 -1
  1443. package/dist/magma-components/p-4c8316a8.entry.js +0 -1
  1444. package/dist/magma-components/p-4c95442e.entry.js +0 -1
  1445. package/dist/magma-components/p-4cadbd49.entry.js +0 -1
  1446. package/dist/magma-components/p-4e4bdbf8.entry.js +0 -1
  1447. package/dist/magma-components/p-4e5ab0e4.system.entry.js +0 -16
  1448. package/dist/magma-components/p-4f107cb2.system.entry.js +0 -2838
  1449. package/dist/magma-components/p-518b55f3.entry.js +0 -1
  1450. package/dist/magma-components/p-56ad5bf2.entry.js +0 -1
  1451. package/dist/magma-components/p-5eec629c.system.entry.js +0 -17
  1452. package/dist/magma-components/p-5f545f85.system.entry.js +0 -1
  1453. package/dist/magma-components/p-61a5ac3d.system.entry.js +0 -17
  1454. package/dist/magma-components/p-636cc471.entry.js +0 -1
  1455. package/dist/magma-components/p-646034cb.system.entry.js +0 -27
  1456. package/dist/magma-components/p-677ab154.system.entry.js +0 -3
  1457. package/dist/magma-components/p-67d80d37.system.entry.js +0 -1
  1458. package/dist/magma-components/p-6937f340.entry.js +0 -1
  1459. package/dist/magma-components/p-6b7e449f.entry.js +0 -1
  1460. package/dist/magma-components/p-6c417ea1.system.entry.js +0 -913
  1461. package/dist/magma-components/p-6ce60d59.entry.js +0 -1
  1462. package/dist/magma-components/p-6cf760ea.system.entry.js +0 -45
  1463. package/dist/magma-components/p-6dc27543.entry.js +0 -1
  1464. package/dist/magma-components/p-6de37588.entry.js +0 -1
  1465. package/dist/magma-components/p-6f6b5eb5.entry.js +0 -1
  1466. package/dist/magma-components/p-7090184f.entry.js +0 -1
  1467. package/dist/magma-components/p-716ad14c.entry.js +0 -1
  1468. package/dist/magma-components/p-71804224.entry.js +0 -1
  1469. package/dist/magma-components/p-735dc594.system.entry.js +0 -1
  1470. package/dist/magma-components/p-739fdf76.system.entry.js +0 -1
  1471. package/dist/magma-components/p-74b0902a.entry.js +0 -1
  1472. package/dist/magma-components/p-7530a2f2.entry.js +0 -1
  1473. package/dist/magma-components/p-759133b3.entry.js +0 -1
  1474. package/dist/magma-components/p-75dd012a.system.entry.js +0 -11
  1475. package/dist/magma-components/p-76ae22d6.entry.js +0 -1
  1476. package/dist/magma-components/p-78248693.entry.js +0 -1
  1477. package/dist/magma-components/p-7912f877.entry.js +0 -1
  1478. package/dist/magma-components/p-7c0d202c.entry.js +0 -1
  1479. package/dist/magma-components/p-7d304fd4.system.entry.js +0 -65
  1480. package/dist/magma-components/p-7f6d708c.system.entry.js +0 -41
  1481. package/dist/magma-components/p-81b72b6e.entry.js +0 -1
  1482. package/dist/magma-components/p-859ab5a2.entry.js +0 -18
  1483. package/dist/magma-components/p-88564e9b.system.entry.js +0 -14
  1484. package/dist/magma-components/p-896ae0ee.entry.js +0 -1
  1485. package/dist/magma-components/p-89a3bc7a.system.entry.js +0 -16
  1486. package/dist/magma-components/p-8b1abf81.system.entry.js +0 -32
  1487. package/dist/magma-components/p-8bbee38d.entry.js +0 -1
  1488. package/dist/magma-components/p-8bf680d6.system.entry.js +0 -15
  1489. package/dist/magma-components/p-8cb3a071.system.entry.js +0 -15
  1490. package/dist/magma-components/p-8dff6606.system.entry.js +0 -11
  1491. package/dist/magma-components/p-8e40eda3.system.entry.js +0 -9
  1492. package/dist/magma-components/p-8f229eaf.entry.js +0 -1
  1493. package/dist/magma-components/p-91b9d4e7.system.entry.js +0 -4
  1494. package/dist/magma-components/p-92e1001f.entry.js +0 -1
  1495. package/dist/magma-components/p-9378b373.system.entry.js +0 -49
  1496. package/dist/magma-components/p-94fa3396.system.entry.js +0 -47
  1497. package/dist/magma-components/p-9741d95e.system.entry.js +0 -7
  1498. package/dist/magma-components/p-97ea9e6e.system.entry.js +0 -68
  1499. package/dist/magma-components/p-9846fe89.system.entry.js +0 -1
  1500. package/dist/magma-components/p-998721b9.system.entry.js +0 -1
  1501. package/dist/magma-components/p-9a5296c0.system.entry.js +0 -7
  1502. package/dist/magma-components/p-9bbd4193.system.entry.js +0 -102
  1503. package/dist/magma-components/p-9be4a736.entry.js +0 -1
  1504. package/dist/magma-components/p-9caffe14.entry.js +0 -1
  1505. package/dist/magma-components/p-9d86477d.system.entry.js +0 -1
  1506. package/dist/magma-components/p-9de1ac7f.entry.js +0 -1
  1507. package/dist/magma-components/p-9e3bc553.system.entry.js +0 -26
  1508. package/dist/magma-components/p-9e58467e.system.entry.js +0 -10
  1509. package/dist/magma-components/p-9e9a1ebd.system.entry.js +0 -15
  1510. package/dist/magma-components/p-A9TZf0Ii.js +0 -1
  1511. package/dist/magma-components/p-BFnx_0hM.js +0 -5
  1512. package/dist/magma-components/p-BbMKuVem.js +0 -1
  1513. package/dist/magma-components/p-C2FHijr2.system.js +0 -231
  1514. package/dist/magma-components/p-CDTiTqY0.system.js +0 -58
  1515. package/dist/magma-components/p-CI85vVs8.system.js +0 -9
  1516. package/dist/magma-components/p-CnXBPjmc.system.js +0 -5
  1517. package/dist/magma-components/p-DB8Rm54c.js +0 -1
  1518. package/dist/magma-components/p-DIiEV39g.js +0 -3
  1519. package/dist/magma-components/p-DVd2EM-q.system.js +0 -90
  1520. package/dist/magma-components/p-DmC-b-ZK.system.js +0 -67
  1521. package/dist/magma-components/p-MGv0i39Y.system.js +0 -162
  1522. package/dist/magma-components/p-a15da479.system.entry.js +0 -8
  1523. package/dist/magma-components/p-a3b0f586.entry.js +0 -1
  1524. package/dist/magma-components/p-a93b2a39.entry.js +0 -1
  1525. package/dist/magma-components/p-aa267e7b.entry.js +0 -1
  1526. package/dist/magma-components/p-ab9095ae.system.entry.js +0 -4
  1527. package/dist/magma-components/p-ab997243.system.entry.js +0 -4
  1528. package/dist/magma-components/p-ace198e9.entry.js +0 -1
  1529. package/dist/magma-components/p-ad3983b2.entry.js +0 -1
  1530. package/dist/magma-components/p-aea6081f.entry.js +0 -1
  1531. package/dist/magma-components/p-af41c8b8.system.entry.js +0 -1
  1532. package/dist/magma-components/p-af45f0a5.system.entry.js +0 -20
  1533. package/dist/magma-components/p-b0539d61.system.entry.js +0 -32
  1534. package/dist/magma-components/p-b35c26f8.entry.js +0 -18
  1535. package/dist/magma-components/p-b3a3578c.entry.js +0 -1
  1536. package/dist/magma-components/p-b49e0321.system.entry.js +0 -1
  1537. package/dist/magma-components/p-b71e0d51.entry.js +0 -1
  1538. package/dist/magma-components/p-b8d4a14e.entry.js +0 -1
  1539. package/dist/magma-components/p-ba035f90.entry.js +0 -1
  1540. package/dist/magma-components/p-bc51d310.system.entry.js +0 -1
  1541. package/dist/magma-components/p-bd490a8e.entry.js +0 -1
  1542. package/dist/magma-components/p-be198039.system.entry.js +0 -4
  1543. package/dist/magma-components/p-bf7168b4.entry.js +0 -1
  1544. package/dist/magma-components/p-bf84d9fa.entry.js +0 -1
  1545. package/dist/magma-components/p-c4e58240.entry.js +0 -1
  1546. package/dist/magma-components/p-c573de10.entry.js +0 -1
  1547. package/dist/magma-components/p-c6be3db7.system.entry.js +0 -1
  1548. package/dist/magma-components/p-c7517884.system.entry.js +0 -38
  1549. package/dist/magma-components/p-c9be79bd.entry.js +0 -1
  1550. package/dist/magma-components/p-c9e12c2b.system.entry.js +0 -7
  1551. package/dist/magma-components/p-cb6a1908.entry.js +0 -1
  1552. package/dist/magma-components/p-cbd5aef4.system.entry.js +0 -14
  1553. package/dist/magma-components/p-cc033985.system.entry.js +0 -14
  1554. package/dist/magma-components/p-cd21137b.system.entry.js +0 -1
  1555. package/dist/magma-components/p-cd84a264.system.entry.js +0 -41
  1556. package/dist/magma-components/p-d0457835.entry.js +0 -1
  1557. package/dist/magma-components/p-d3116844.entry.js +0 -1
  1558. package/dist/magma-components/p-d38165ed.system.entry.js +0 -1
  1559. package/dist/magma-components/p-d3933a22.entry.js +0 -1
  1560. package/dist/magma-components/p-d44c49d6.system.entry.js +0 -8
  1561. package/dist/magma-components/p-d4a529ce.entry.js +0 -1
  1562. package/dist/magma-components/p-d64311e2.entry.js +0 -1
  1563. package/dist/magma-components/p-d6d4aa1a.entry.js +0 -1
  1564. package/dist/magma-components/p-d81e7100.system.entry.js +0 -15
  1565. package/dist/magma-components/p-d8c27f4b.entry.js +0 -1
  1566. package/dist/magma-components/p-d921d876.entry.js +0 -1
  1567. package/dist/magma-components/p-da1ac3e1.entry.js +0 -1
  1568. package/dist/magma-components/p-da4dc390.system.entry.js +0 -4
  1569. package/dist/magma-components/p-dda7a33b.entry.js +0 -1
  1570. package/dist/magma-components/p-de6bc3c8.entry.js +0 -1
  1571. package/dist/magma-components/p-df2b7607.system.entry.js +0 -4
  1572. package/dist/magma-components/p-e0b2ef8f.system.entry.js +0 -1
  1573. package/dist/magma-components/p-e0c50a2d.entry.js +0 -1
  1574. package/dist/magma-components/p-e1277efe.system.entry.js +0 -1
  1575. package/dist/magma-components/p-e1e6dd97.entry.js +0 -1
  1576. package/dist/magma-components/p-e2f7a9bd.system.entry.js +0 -1
  1577. package/dist/magma-components/p-e375c8b1.entry.js +0 -1
  1578. package/dist/magma-components/p-e3fce8ca.entry.js +0 -1
  1579. package/dist/magma-components/p-e5c6f9a9.system.entry.js +0 -7
  1580. package/dist/magma-components/p-e5da7036.entry.js +0 -1
  1581. package/dist/magma-components/p-e6dccab5.system.entry.js +0 -1
  1582. package/dist/magma-components/p-e9a16f22.system.entry.js +0 -134
  1583. package/dist/magma-components/p-ea0091b6.entry.js +0 -1
  1584. package/dist/magma-components/p-ec00defc.system.entry.js +0 -13
  1585. package/dist/magma-components/p-ec59ec9a.entry.js +0 -1
  1586. package/dist/magma-components/p-eddcef53.system.entry.js +0 -1
  1587. package/dist/magma-components/p-edfb0d7a.entry.js +0 -1
  1588. package/dist/magma-components/p-eed00e7f.system.entry.js +0 -1
  1589. package/dist/magma-components/p-ef8cb401.entry.js +0 -1
  1590. package/dist/magma-components/p-f070a5b5.system.entry.js +0 -11
  1591. package/dist/magma-components/p-f23d4974.entry.js +0 -1
  1592. package/dist/magma-components/p-f542246f.system.entry.js +0 -1
  1593. package/dist/magma-components/p-f5c680dd.entry.js +0 -1
  1594. package/dist/magma-components/p-f60c6e8e.system.entry.js +0 -40
  1595. package/dist/magma-components/p-f8369939.entry.js +0 -1
  1596. package/dist/magma-components/p-f97ede3e.system.entry.js +0 -19
  1597. package/dist/magma-components/p-f97ff5b2.entry.js +0 -1
  1598. package/dist/magma-components/p-f9d9cf7c.system.entry.js +0 -11
  1599. package/dist/magma-components/p-fa163e86.entry.js +0 -1
  1600. package/dist/magma-components/p-fe1662e8.system.entry.js +0 -28
  1601. package/dist/magma-components/p-fe19080a.entry.js +0 -8
  1602. package/dist/magma-components/p-ff133cbd.entry.js +0 -1
  1603. package/dist/magma-components/p-ff49fb35.entry.js +0 -1
  1604. package/dist/magma-components/p-fff44704.entry.js +0 -1
@@ -1 +1 @@
1
- import{p as e,H as t,h as r,c as a,t as o}from"./p-BhFTcUD0.js";import{p as s}from"./p-CvIFS8oA.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}componentWillRender(){this.horizontalCells=this.host.querySelectorAll("mds-price-table-features-cell"),this.cellPercWidth=Number(100/this.horizontalCells.length).toFixed(4)+"%",this.horizontalCells.forEach((e=>{e.style.width=this.cellPercWidth}))}render(){return r(a,{key:"fc7e157e50d8f86dfa97670a825d77b112c2cbaa","pref-animation":s.state.animation,"pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},r("slot",{key:"355d8418d3d7af7955096db0760ab3579e71cd21"}))}get host(){return this}static get style(){return'@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(:not(:is([hydrated],.hydrated))),mds-price-table-features-cell:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-features-row-background:#0000;--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-price-table-features-row-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-transition-duration:var(--duration-200,.2s);--private-price-table-features-row-transition-duration:var(--mds-price-table-features-row-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-features-row-background,#0000);color:var(--mds-price-table-features-row-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));display:table-row;-webkit-transition-duration:var(--private-price-table-features-row-transition-duration);transition-duration:var(--private-price-table-features-row-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host(:hover){--mds-price-table-features-row-background:var(--mds-price-table-features-row-background-hover,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));--mds-price-table-features-row-color:var(--mds-price-table-features-row-color-hover,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))))}:host(:hover)>::slotted(mds-price-table-features-cell){--mds-price-table-features-cell-icon-supported-color:var(--mds-price-table-features-cell-icon-supported-color-hover);--mds-price-table-features-cell-icon-unsupported-color:var(--mds-price-table-features-cell-icon-unsupported-color-hover)}:host>::slotted([type=label]){padding-left:0}:host(:hover)>::slotted([type=label]){-webkit-transform:translate(calc(var(--spacing,.0025rem)*200));transform:translate(calc(var(--spacing,.0025rem)*200))}: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-price-table-features-row-transition-duration:0s}:host([pref-contrast=more]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-row-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}}'}},[257,"mds-price-table-features-row",{cellPercWidth:[32]}]),n=i,l=function(){"undefined"!=typeof customElements&&["mds-price-table-features-row"].forEach((e=>{"mds-price-table-features-row"===e&&(customElements.get(o(e))||customElements.define(o(e),i))}))};export{n as MdsPriceTableFeaturesRow,l as defineCustomElement}
1
+ import{p as e,H as t,h as r,c as a,t as o}from"./p-pBvN1uAc.js";import{p as s}from"./p-zHpei4x6.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}componentWillRender(){this.horizontalCells=this.host.querySelectorAll("mds-price-table-features-cell"),this.cellPercWidth=Number(100/this.horizontalCells.length).toFixed(4)+"%",this.horizontalCells.forEach((e=>{e.style.width=this.cellPercWidth}))}render(){return r(a,{key:"e51aa5b5c122ef55bb2a6c8dcf589e336cadf6d5","pref-animation":s.state.animation,"pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},r("slot",{key:"3bc6d211c57c314c4df3f311609bd06195358a19"}))}get host(){return this}static get style(){return'@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(:not(:is([hydrated],.hydrated))),mds-price-table-features-cell:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-features-row-background:#0000;--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-price-table-features-row-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-transition-duration:var(--duration-200,.2s);--private-price-table-features-row-transition-duration:var(--mds-price-table-features-row-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-features-row-background,#0000);color:var(--mds-price-table-features-row-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));display:table-row;-webkit-transition-duration:var(--private-price-table-features-row-transition-duration);transition-duration:var(--private-price-table-features-row-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host(:hover){--mds-price-table-features-row-background:var(--mds-price-table-features-row-background-hover,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));--mds-price-table-features-row-color:var(--mds-price-table-features-row-color-hover,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))))}:host(:hover)>::slotted(mds-price-table-features-cell){--mds-price-table-features-cell-icon-supported-color:var(--mds-price-table-features-cell-icon-supported-color-hover);--mds-price-table-features-cell-icon-unsupported-color:var(--mds-price-table-features-cell-icon-unsupported-color-hover)}:host>::slotted([type=label]){padding-left:0}:host(:hover)>::slotted([type=label]){-webkit-transform:translate(calc(var(--spacing,.0025rem)*200));transform:translate(calc(var(--spacing,.0025rem)*200))}: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-price-table-features-row-transition-duration:0s}:host([pref-contrast=more]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-row-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}}'}},[257,"mds-price-table-features-row",{cellPercWidth:[32]}]),n=i,l=function(){"undefined"!=typeof customElements&&["mds-price-table-features-row"].forEach((e=>{"mds-price-table-features-row"===e&&(customElements.get(o(e))||customElements.define(o(e),i))}))};export{n as MdsPriceTableFeaturesRow,l as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as r,c as a,t as i}from"./p-BhFTcUD0.js";import{p as o}from"./p-CvIFS8oA.js";import{d as s}from"./p-BZFyAX-6.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return r(a,{key:"4cea40f8e29d671ebd61fba34cb9a7edb7517b3b","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},r("div",{key:"7e8b20fafe83f27b3c7d031e8875c0e254e3c82c",class:"table-wrapper"},this.label&&r("header",{key:"7ff3827ecf98976e0f73a8c1dbefc55aa0ec21b1",part:"header"},r("mds-text",{key:"e5f383837d852c48ffd2fdc9555b667cc4822f2f",typography:"detail"},r("b",{key:"0df39a3221f8a463a3d677a89d429d5f3b9f1827"},this.label))),r("table",{key:"6ff8b551d1ac18d48bbf4c98c86a30e057f56b33"},r("tbody",{key:"3daa55e6d546ebffe8695b35340536b73338045c"},r("slot",{key:"6dc5df72184166bd4b444801466f8decbe7db006"})))))}static get style(){return'@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-price-table-features-border-color:rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219))));--mds-price-table-features-padding:calc(var(--spacing,.0025rem)*300);--mds-price-table-features-transition-duration:var(--duration-200,.2s);--private-price-table-features-transition-duration:var(--mds-price-table-features-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));display:flex;-webkit-transition-duration:var(--private-price-table-features-transition-duration);transition-duration:var(--private-price-table-features-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));width:100%}.table-wrapper{scroll-margin-inline:calc(var(--spacing,.0025rem)*600);width:100%}table{border-collapse:collapse;min-width:100%;table-layout:fixed}header{border-bottom:1px solid var(--mds-price-table-features-border-color,rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219)))));padding:var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) 0}: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-price-table-features-transition-duration:0s}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-transition-duration:0s}}'}},[257,"mds-price-table-features",{label:[1]}]),d=n,m=function(){"undefined"!=typeof customElements&&["mds-price-table-features","mds-text"].forEach((e=>{switch(e){case"mds-price-table-features":customElements.get(i(e))||customElements.define(i(e),n);break;case"mds-text":customElements.get(i(e))||s()}}))};export{d as MdsPriceTableFeatures,m as defineCustomElement}
1
+ import{p as e,H as t,h as a,c as r,t as i}from"./p-pBvN1uAc.js";import{p as o}from"./p-zHpei4x6.js";import{d as s}from"./p-C7EyV0z3.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return a(r,{key:"d70c4af7518a4280b71393333027f3e067019b60","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},a("div",{key:"87bfba63057a0aeacb866b4bfa497b7ec488d55e",class:"table-wrapper"},this.label&&a("header",{key:"56de561592a74bcb1527f597e82e6490850f548d",part:"header"},a("mds-text",{key:"95d9b062f696eb256b977285bb0323a7ae24b025",typography:"detail"},a("b",{key:"85df0236c37b1964cc27fcad7309fe71364ad0c0"},this.label))),a("table",{key:"481d988c1ed0cfc67a26bc10f291bb3db44ee774"},a("tbody",{key:"f793c21d2d3e833d893defb8edb39c4623128387"},a("slot",{key:"00a86da6bf07888f31f3a2e1df0fa85bdb99eae9"})))))}static get style(){return'@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-price-table-features-border-color:rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219))));--mds-price-table-features-padding:calc(var(--spacing,.0025rem)*300);--mds-price-table-features-transition-duration:var(--duration-200,.2s);--private-price-table-features-transition-duration:var(--mds-price-table-features-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));display:flex;-webkit-transition-duration:var(--private-price-table-features-transition-duration);transition-duration:var(--private-price-table-features-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));width:100%}.table-wrapper{scroll-margin-inline:calc(var(--spacing,.0025rem)*600);width:100%}table{border-collapse:collapse;min-width:100%;table-layout:fixed}header{border-bottom:1px solid var(--mds-price-table-features-border-color,rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219)))));padding:var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) 0}: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-price-table-features-transition-duration:0s}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-transition-duration:0s}}'}},[257,"mds-price-table-features",{label:[1]}]),d=n,m=function(){"undefined"!=typeof customElements&&["mds-price-table-features","mds-text"].forEach((e=>{switch(e){case"mds-price-table-features":customElements.get(i(e))||customElements.define(i(e),n);break;case"mds-text":customElements.get(i(e))||s()}}))};export{d as MdsPriceTableFeatures,m as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as s,c as r,t as a}from"./p-BhFTcUD0.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(r,{key:"cb5a7e40673f0304f0ed00cae9f93753bc848717"},s("slot",{key:"7bbefb79891067cf911dd2d0042e269e2e14bbbc"}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-price-table-list: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:grid;gap:calc(var(--spacing,.0025rem)*600);grid-template-columns:repeat(auto-fit,minmax(1px,1fr))}"}},[257,"mds-price-table-header"]),o=i,d=function(){"undefined"!=typeof customElements&&["mds-price-table-header"].forEach((e=>{"mds-price-table-header"===e&&(customElements.get(a(e))||customElements.define(a(e),i))}))};export{o as MdsPriceTableHeader,d as defineCustomElement}
1
+ import{p as e,H as t,h as s,c as a,t as r}from"./p-pBvN1uAc.js";const d=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(a,{key:"d2dd005b554bf8aa3d05cafd8948a883144d1c7b"},s("slot",{key:"96beafef46bc93ff413e8fed2d9cf045e027f2fa"}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-price-table-list: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:grid;gap:calc(var(--spacing,.0025rem)*600);grid-template-columns:repeat(auto-fit,minmax(1px,1fr))}"}},[257,"mds-price-table-header"]),i=d,o=function(){"undefined"!=typeof customElements&&["mds-price-table-header"].forEach((e=>{"mds-price-table-header"===e&&(customElements.get(r(e))||customElements.define(r(e),d))}))};export{i as MdsPriceTableHeader,o as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,h as i,c as a,t as r}from"./p-BhFTcUD0.js";import{m as s}from"./p-BFhO-KUe.js";import{m as o}from"./p-BE8xuIpS.js";import{d as n}from"./p-BZFyAX-6.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.supported=!1,this.typography="detail"}render(){return i(a,{key:"9f970a01728c3729c604119a3f9e8ba520754ee9",slot:"item"},i("mds-text",{key:"07f98b7344b20804848c534460eaa84fa3d9c402",class:"icon-container",typography:this.typography},i("i",this.supported?{class:"icon",innerHTML:s,part:"icon"}:{class:"icon",innerHTML:o,part:"icon"})),i("mds-text",{key:"992dc84f0b8fd8ed025e971c3537ce98b675985a",class:"text",typography:this.typography},i("slot",{key:"ff21af191088a6f5555002508e1ef6bf71f61aaf"})))}static get style(){return'@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(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-item-supported-icon-color-hover:rgb(var(--label-green-05,26 148 71));--mds-price-table-list-item-supported-icon-color:rgb(var(--label-green-06,34 195 93));--mds-price-table-list-item-unsupported-icon-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.text{flex-grow:1}.icon-container{flex-shrink:0}.icon{display:flex;--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));fill:var(--mds-price-table-list-item-unsupported-icon-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));height:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--duration-500,.5s);transition-duration:var(--duration-500,.5s);transition-property:fill;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:calc(var(--spacing,.0025rem)*600)}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([supported]:not([supported=false])) .icon{fill:var(--mds-price-table-list-item-supported-icon-color,rgb(var(--label-green-06,34 195 93)))}@property --tw-ease{syntax:"*";inherits:false}'}},[257,"mds-price-table-list-item",{supported:[516],typography:[513]}]),c=l,d=function(){"undefined"!=typeof customElements&&["mds-price-table-list-item","mds-text"].forEach((t=>{switch(t){case"mds-price-table-list-item":customElements.get(r(t))||customElements.define(r(t),l);break;case"mds-text":customElements.get(r(t))||n()}}))};export{c as MdsPriceTableListItem,d as defineCustomElement}
1
+ import{p as t,H as e,h as i,c as r,t as a}from"./p-pBvN1uAc.js";import{m as s}from"./p-BFhO-KUe.js";import{m as o}from"./p-BE8xuIpS.js";import{d as n}from"./p-C7EyV0z3.js";const d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.supported=!1,this.typography="detail"}render(){return i(r,{key:"2c4d187715e04f32a989eaf8358a427ff52e02cf",slot:"item"},i("mds-text",{key:"58d45fa5da8d10ebed428bdd5e8befd0b3e595c5",class:"icon-container",typography:this.typography},i("i",this.supported?{class:"icon",innerHTML:s,part:"icon"}:{class:"icon",innerHTML:o,part:"icon"})),i("mds-text",{key:"86e26bc1f132a173a86a67dd9c156b44eff35c65",class:"text",typography:this.typography},i("slot",{key:"d7babfc9729cfc73d0dd901e2b6d5d23db5865a2"})))}static get style(){return'@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(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-item-supported-icon-color-hover:rgb(var(--label-green-05,26 148 71));--mds-price-table-list-item-supported-icon-color:rgb(var(--label-green-06,34 195 93));--mds-price-table-list-item-unsupported-icon-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.text{flex-grow:1}.icon-container{flex-shrink:0}.icon{display:flex;--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));fill:var(--mds-price-table-list-item-unsupported-icon-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));height:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--duration-500,.5s);transition-duration:var(--duration-500,.5s);transition-property:fill;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:calc(var(--spacing,.0025rem)*600)}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([supported]:not([supported=false])) .icon{fill:var(--mds-price-table-list-item-supported-icon-color,rgb(var(--label-green-06,34 195 93)))}@property --tw-ease{syntax:"*";inherits:false}'}},[257,"mds-price-table-list-item",{supported:[516],typography:[513]}]),c=d,l=function(){"undefined"!=typeof customElements&&["mds-price-table-list-item","mds-text"].forEach((t=>{switch(t){case"mds-price-table-list-item":customElements.get(a(t))||customElements.define(a(t),d);break;case"mds-text":customElements.get(a(t))||n()}}))};export{c as MdsPriceTableListItem,l as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as a,h as e,c as r,t as o}from"./p-BhFTcUD0.js";import{p as i}from"./p-CvIFS8oA.js";import{d as n}from"./p-BTHR4xXu.js";const s=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}componentWillLoad(){this.hasItems=this.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length>0}render(){return e(r,{key:"8f6c18b0be237134b286ba1faa692c4fa31155dc","pref-animation":i.state.animation,"pref-contrast":i.state.contrast,"pref-mode":i.state.mode,"pref-theme-scheme":i.state["theme-scheme"]},e("div",{key:"06ba4d154016b4c30b425d6009c225ecedbfa3f4",class:"header",part:"header"},e("slot",{key:"d50c50297f94298059944dd3a38786dd51756deb",name:"header"})),this.hasItems&&e("mds-separator",{key:"036b691220ae29cb33594cc9c0e872dced72d91c",class:"separator"}),this.hasItems&&e("main",{key:"5b2c708505362b90a26e3865dab3801464c18d1a",class:"main",part:"content"},e("slot",{key:"e322ccf035d2f735cb831ec7f535fa24c9601bc6",name:"item"})),e("div",{key:"30dc745b260d5634d831da707ed81d7edff6dada",class:"footer",part:"footer"},e("slot",{key:"0aa70ea54972d949a7a8f5153a10efdb76a3554d",name:"price"}),e("slot",{key:"d4e804ba15e8f1b63d1d60e14a3e05520f85734d",name:"action"})))}get hostElement(){return this}static get style(){return'@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(:not(:is([hydrated],.hydrated))),mds-separator: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-price-table-list-separator-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))/.5);--mds-price-table-list-transition-duration:var(--duration-200,.2s);--private-price-table-list-transition-duration:var(--mds-price-table-list-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:rgb(var(--label-green-10,206 247 221));border-radius:var(--radius-xl,20px);display:grid;gap:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--private-price-table-list-transition-duration);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.separator{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-list-separator-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))/.5));-webkit-transition-duration:var(--private-price-table-list-transition-duration);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.header,.main{display:grid}.main{gap:calc(var(--spacing,.0025rem)*300)}.footer{display:grid;gap:calc(var(--spacing,.0025rem)*400)}: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-price-table-list-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);background-color:rgb(var(--label-green-09,165 240 193));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-list-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);background-color:rgb(var(--label-green-09,165 240 193));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}'}},[257,"mds-price-table-list",{hasItems:[32]}]),d=s,m=function(){"undefined"!=typeof customElements&&["mds-price-table-list","mds-separator"].forEach((t=>{switch(t){case"mds-price-table-list":customElements.get(o(t))||customElements.define(o(t),s);break;case"mds-separator":customElements.get(o(t))||n()}}))};export{d as MdsPriceTableList,m as defineCustomElement}
1
+ import{p as t,H as a,h as e,c as r,t as o}from"./p-pBvN1uAc.js";import{p as i}from"./p-zHpei4x6.js";import{d as n}from"./p-BSs0SO-j.js";const s=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}componentWillLoad(){this.hasItems=this.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length>0}render(){return e(r,{key:"93acfd389f7c4d5e30abacb57646f5a024caff5b","pref-animation":i.state.animation,"pref-contrast":i.state.contrast,"pref-mode":i.state.mode,"pref-theme-scheme":i.state["theme-scheme"]},e("div",{key:"4e05c08b5b4bffb736c55d9c671843da34e099c1",class:"header",part:"header"},e("slot",{key:"b3af254fa051177ea61b03527143856ec50bbfe1",name:"header"})),this.hasItems&&e("mds-separator",{key:"824c2933a3414563e93f58bd70ead05419b78454",class:"separator"}),this.hasItems&&e("main",{key:"ace71bad20872f85fee8a0218829f45d2387b823",class:"main",part:"content"},e("slot",{key:"6460bf21617109fb44e7fc6813b20c4d0bd11119",name:"item"})),e("div",{key:"29bae6928363dc49659b31aa21231a48bf600c99",class:"footer",part:"footer"},e("slot",{key:"848ba7c6eed967169146022759a32db5f251d351",name:"price"}),e("slot",{key:"cfd31dab6cfda08581960176f56bcc2e4fcc715d",name:"action"})))}get hostElement(){return this}static get style(){return'@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(:not(:is([hydrated],.hydrated))),mds-separator: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-price-table-list-separator-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))/.5);--mds-price-table-list-transition-duration:var(--duration-200,.2s);--private-price-table-list-transition-duration:var(--mds-price-table-list-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:rgb(var(--label-green-10,206 247 221));border-radius:var(--radius-xl,20px);display:grid;gap:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--private-price-table-list-transition-duration);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.separator{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-list-separator-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))/.5));-webkit-transition-duration:var(--private-price-table-list-transition-duration);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.header,.main{display:grid}.main{gap:calc(var(--spacing,.0025rem)*300)}.footer{display:grid;gap:calc(var(--spacing,.0025rem)*400)}: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-price-table-list-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);background-color:rgb(var(--label-green-09,165 240 193));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-list-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);background-color:rgb(var(--label-green-09,165 240 193));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}'}},[257,"mds-price-table-list",{hasItems:[32]}]),d=s,m=function(){"undefined"!=typeof customElements&&["mds-price-table-list","mds-separator"].forEach((t=>{switch(t){case"mds-price-table-list":customElements.get(o(t))||customElements.define(o(t),s);break;case"mds-separator":customElements.get(o(t))||n()}}))};export{d as MdsPriceTableList,m as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as s,c as a,t as r}from"./p-BhFTcUD0.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(a,{key:"e4da51ef603eedd6790e360ded6fba0bef194887"},s("slot",{key:"5e97c1ecdbfe5a322283f41a9b65af0179be8559"}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-price-table-features,mds-price-table-header,mds-price-table-list):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:grid;gap:calc(var(--spacing,.0025rem)*600)}"}},[257,"mds-price-table"]),d=i,o=function(){"undefined"!=typeof customElements&&["mds-price-table"].forEach((e=>{"mds-price-table"===e&&(customElements.get(r(e))||customElements.define(r(e),i))}))};export{d as MdsPriceTable,o as defineCustomElement}
1
+ import{p as e,H as t,h as s,c as r,t as a}from"./p-pBvN1uAc.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(r,{key:"caf66d039cf01848537a794bef732c49ec866bdb"},s("slot",{key:"71787a906bc949b35c67798212e58af9456d1fbf"}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-price-table-features,mds-price-table-header,mds-price-table-list):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:grid;gap:calc(var(--spacing,.0025rem)*600)}"}},[257,"mds-price-table"]),o=i,d=function(){"undefined"!=typeof customElements&&["mds-price-table"].forEach((e=>{"mds-price-table"===e&&(customElements.get(a(e))||customElements.define(a(e),i))}))};export{o as MdsPriceTable,d as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as r}from"./p-DCrjf0F0.js";const s=o,p=r;export{s as MdsProgress,p as defineCustomElement}
1
+ import{M as o,d as s}from"./p-B7CR1EtF.js";const t=o,p=s;export{t as MdsProgress,p as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as a,d as i,h as o,c as n,t as r}from"./p-BhFTcUD0.js";import{g as e}from"./p-E-ZsRS8r.js";import{m as s}from"./p-BJ8rpzfj.js";import{h as c}from"./p-CsgCQiHG.js";import{c as m}from"./p-ChV9xqsO.js";import{L as u}from"./p-Bss3F51Q.js";import{s as d}from"./p-CACEYk42.js";import{p as h}from"./p-CvIFS8oA.js";import{d as l}from"./p-BtMdmkID.js";import{d as f}from"./p-kff6xSdW.js";import{d as p}from"./p-qketFgr0.js";import{d as v}from"./p-Cd_8zD_I.js";import{d as g}from"./p-C58NKMEE.js";import{d as b}from"./p-BZFyAX-6.js";var y,k,w={exports:{}},x=e((y||(y=1,w.exports=function(){var t=6e4,a=36e5,i="millisecond",o="second",n="minute",r="hour",e="day",s="week",c="month",m="quarter",u="year",d="date",h="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var a=["th","st","nd","rd"],i=t%100;return"["+t+(a[(i-20)%10]||a[i]||"th")+"]"}},v=function(t,a,i){var o=t+"";return!o||o.length>=a?t:""+Array(a+1-o.length).join(i)+t},g={s:v,z:function(t){var a=-t.utcOffset(),i=Math.abs(a),o=i%60;return(a<=0?"+":"-")+v(Math.floor(i/60),2,"0")+":"+v(o,2,"0")},m:function t(a,i){if(a.date()<i.date())return-t(i,a);var o=12*(i.year()-a.year())+(i.month()-a.month()),n=a.clone().add(o,c),r=i-n<0,e=a.clone().add(o+(r?-1:1),c);return+(-(o+(i-n)/(r?n-e:e-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:u,w:s,d:e,D:d,h:r,m:n,s:o,ms:i,Q:m}[t]||((t||"")+"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},b="en",y={};y[b]=p;var k="$isDayjsObject",w=function(t){return t instanceof j||!(!t||!t[k])},x=function t(a,i,o){var n;if(!a)return b;if("string"==typeof a){var r=a.toLowerCase();y[r]&&(n=r),i&&(y[r]=i,n=r);var e=a.split("-");if(!n&&e.length>1)return t(e[0])}else{var s=a.name;y[s]=a,n=s}return!o&&n&&(b=n),n||!o&&b},M=function(t,a){if(w(t))return t.clone();var i="object"==typeof a?a:{};return i.date=t,i.args=arguments,new j(i)},D=g;D.l=x,D.i=w,D.w=function(t,a){return M(t,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var j=function(){function p(t){this.$L=x(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[k]=!0}var v=p.prototype;return v.parse=function(t){this.$d=function(t){var a=t.date,i=t.utc;if(null===a)return new Date(NaN);if(D.u(a))return new Date;if(a instanceof Date)return new Date(a);if("string"==typeof a&&!/Z$/i.test(a)){var o=a.match(l);if(o){var n=o[2]-1||0,r=(o[7]||"0").substring(0,3);return i?new Date(Date.UTC(o[1],n,o[3]||1,o[4]||0,o[5]||0,o[6]||0,r)):new Date(o[1],n,o[3]||1,o[4]||0,o[5]||0,o[6]||0,r)}}return new Date(a)}(t),this.init()},v.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},v.$utils=function(){return D},v.isValid=function(){return!(""+this.$d===h)},v.isSame=function(t,a){var i=M(t);return this.startOf(a)<=i&&i<=this.endOf(a)},v.isAfter=function(t,a){return M(t)<this.startOf(a)},v.isBefore=function(t,a){return this.endOf(a)<M(t)},v.$g=function(t,a,i){return D.u(t)?this[a]:this.set(i,t)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(t,a){var i=this,m=!!D.u(a)||a,h=D.p(t),l=function(t,a){var o=D.w(i.$u?Date.UTC(i.$y,a,t):new Date(i.$y,a,t),i);return m?o:o.endOf(e)},f=function(t,a){return D.w(i.toDate()[t].apply(i.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(a)),i)},p=this.$W,v=this.$M,g=this.$D,b="set"+(this.$u?"UTC":"");switch(h){case u:return m?l(1,0):l(31,11);case c:return m?l(1,v):l(0,v+1);case s:var y=this.$locale().weekStart||0,k=(p<y?p+7:p)-y;return l(m?g-k:g+(6-k),v);case e:case d:return f(b+"Hours",0);case r:return f(b+"Minutes",1);case n:return f(b+"Seconds",2);case o:return f(b+"Milliseconds",3);default:return this.clone()}},v.endOf=function(t){return this.startOf(t,!1)},v.$set=function(t,a){var s,m=D.p(t),h="set"+(this.$u?"UTC":""),l=(s={},s[e]=h+"Date",s[d]=h+"Date",s[c]=h+"Month",s[u]=h+"FullYear",s[r]=h+"Hours",s[n]=h+"Minutes",s[o]=h+"Seconds",s[i]=h+"Milliseconds",s)[m],f=m===e?this.$D+(a-this.$W):a;if(m===c||m===u){var p=this.clone().set(d,1);p.$d[l](f),p.init(),this.$d=p.set(d,Math.min(this.$D,p.daysInMonth())).$d}else l&&this.$d[l](f);return this.init(),this},v.set=function(t,a){return this.clone().$set(t,a)},v.get=function(t){return this[D.p(t)]()},v.add=function(i,m){var d,h=this;i=Number(i);var l=D.p(m),f=function(t){var a=M(h);return D.w(a.date(a.date()+Math.round(t*i)),h)};if(l===c)return this.set(c,this.$M+i);if(l===u)return this.set(u,this.$y+i);if(l===e)return f(1);if(l===s)return f(7);var p=(d={},d[n]=t,d[r]=a,d[o]=1e3,d)[l]||1,v=this.$d.getTime()+i*p;return D.w(v,this)},v.subtract=function(t,a){return this.add(-1*t,a)},v.format=function(t){var a=this,i=this.$locale();if(!this.isValid())return i.invalidDate||h;var o=t||"YYYY-MM-DDTHH:mm:ssZ",n=D.z(this),r=this.$H,e=this.$m,s=this.$M,c=i.weekdays,m=i.months,u=function(t,i,n,r){return t&&(t[i]||t(a,o))||n[i].slice(0,r)},d=function(t){return D.s(r%12||12,t,"0")},l=i.meridiem||function(t,a,i){var o=t<12?"AM":"PM";return i?o.toLowerCase():o};return o.replace(f,(function(t,o){return o||function(t){switch(t){case"YY":return(a.$y+"").slice(-2);case"YYYY":return D.s(a.$y,4,"0");case"M":return s+1;case"MM":return D.s(s+1,2,"0");case"MMM":return u(i.monthsShort,s,m,3);case"MMMM":return u(m,s);case"D":return a.$D;case"DD":return D.s(a.$D,2,"0");case"d":return a.$W+"";case"dd":return u(i.weekdaysMin,a.$W,c,2);case"ddd":return u(i.weekdaysShort,a.$W,c,3);case"dddd":return c[a.$W];case"H":return r+"";case"HH":return D.s(r,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return l(r,e,!0);case"A":return l(r,e,!1);case"m":return e+"";case"mm":return D.s(e,2,"0");case"s":return a.$s+"";case"ss":return D.s(a.$s,2,"0");case"SSS":return D.s(a.$ms,3,"0");case"Z":return n}return null}(t)||n.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(i,d,h){var l,f=this,p=D.p(d),v=M(i),g=(v.utcOffset()-this.utcOffset())*t,b=this-v,y=function(){return D.m(f,v)};switch(p){case u:l=y()/12;break;case c:l=y();break;case m:l=y()/3;break;case s:l=(b-g)/6048e5;break;case e:l=(b-g)/864e5;break;case r:l=b/a;break;case n:l=b/t;break;case o:l=b/1e3;break;default:l=b}return h?l:D.a(l)},v.daysInMonth=function(){return this.endOf(c).$D},v.$locale=function(){return y[this.$L]},v.locale=function(t,a){if(!t)return this.$L;var i=this.clone(),o=x(t,a,!0);return o&&(i.$L=o),i},v.clone=function(){return D.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},p}(),_=j.prototype;return M.prototype=_,[["$ms",i],["$s",o],["$m",n],["$H",r],["$W",e],["$M",c],["$y",u],["$D",d]].forEach((function(t){_[t[1]]=function(a){return this.$g(a,t[0],t[1])}})),M.extend=function(t,a){return t.$i||(t(a,j,M),t.$i=!0),M},M.locale=x,M.isDayjs=w,M.unix=function(t){return M(1e3*t)},M.en=y[b],M.Ls=y,M.p={},M}()),w.exports)),M={dismiss:"Κλείσιμο",future:"σε %s",past:"πριν από %s",s:"λίγα δευτ.",m:"1 λεπτό",mm:"%d λεπτά",h:"1 ώρα",hh:"%d ώρες",d:"1 ημέρα",dd:"%d ημέρες",M:"1 μήνας",MM:"%d μήνες",y:"1 έτος",yy:"%d έτη"},D={dismiss:"Close",future:"in %s",past:"%s ago",s:"few sec",m:"1 min",mm:"%d mins",h:"1 hour",hh:"%d hours",d:"1 day",dd:"%d days",M:"1 month",MM:"%d months",y:"1 year",yy:"%d years"},j={dismiss:"Cerrar",future:"en %s",past:"hace %s",s:"pocos seg",m:"1 min",mm:"%d mins",h:"1 hora",hh:"%d horas",d:"1 día",dd:"%d días",M:"1 mes",MM:"%d meses",y:"1 año",yy:"%d años"},_={dismiss:"Chiudi",future:"tra %s",past:"%s fa",s:"pochi sec",m:"1 min",mm:"%d min",h:"1 ora",hh:"%d ore",d:"1 giorno",dd:"%d giorni",M:"1 mese",MM:"%d mesi",y:"1 anno",yy:"%d anni"},C={exports:{}},Y=e((k||(k=1,C.exports=function(t,a,i){t=t||{};var o=a.prototype,n={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function r(t,a,i,n){return o.fromToBase(t,a,i,n)}i.en.relativeTime=n,o.fromToBase=function(a,o,r,e,s){for(var c,m,u,d=r.$locale().relativeTime||n,h=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],l=h.length,f=0;f<l;f+=1){var p=h[f];p.d&&(c=e?i(a).diff(r,p.d,!0):r.diff(a,p.d,!0));var v=(t.rounding||Math.round)(Math.abs(c));if(u=c>0,v<=p.r||!p.r){v<=1&&f>0&&(p=h[f-1]);var g=d[p.l];s&&(v=s(""+v)),m="string"==typeof g?g.replace("%d",v):g(v,o,p.l,u);break}}if(o)return m;var b=u?d.future:d.past;return"function"==typeof b?b(m):b.replace("%s",m)},o.to=function(t,a){return r(t,a,this,!0)},o.from=function(t,a){return r(t,a,this)};var e=function(t){return t.$u?i.utc():i()};o.toNow=function(t){return this.to(e(this),t)},o.fromNow=function(t){return this.from(e(this),t)}}),C.exports));const S=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.closedEvent=i(this,"mdsPushNotificationItemClose",7),this.t=new u({el:M,en:D,es:j,it:_}),this.dateFormat="timeago",this.deletable=!1,this.message="Nessun messaggio disponibile",this.preview="image",this.tone="weak",this.onClickClose=t=>{t.stopPropagation(),this.closedEvent.emit()},this.onSlotChange=()=>{this.hasActions=c(this.host,"action"),this.hasBadge=c(this.host,"badge")}}componentDidLoad(){this.handleDeletableChange(this.deletable)}componentWillLoad(){var t;x.extend(Y),this.onSlotChange(),void 0!==this.datetime&&""!==this.datetime&&(this.datetime=null!==(t=d(""+this.datetime))&&void 0!==t?t:void 0);const a={future:this.t.get("future"),past:this.t.get("past"),s:this.t.get("s"),m:this.t.get("m"),mm:this.t.get("mm"),h:this.t.get("h"),hh:this.t.get("hh"),d:this.t.get("d"),dd:this.t.get("dd"),M:this.t.get("M"),MM:this.t.get("MM"),y:this.t.get("y"),yy:this.t.get("yy")};x.locale("custom-locale",{relativeTime:a})}handleDeletableChange(t){!1===t&&(this.deletable=void 0)}render(){var t;return o(n,{key:"44ada1005f4b353654c1f6ea16750e78247bb954","pref-animation":h.state.animation,"pref-contrast":h.state.contrast,"pref-mode":h.state.mode,"pref-theme-scheme":h.state["theme-scheme"]},(null!==(t=this.icon)&&void 0!==t?t:"avatar"===this.preview)&&o("mds-avatar",{key:"803434ac217118fc5a3147936cef4795c4e85701",class:"avatar",icon:this.icon,initials:this.initials,part:"avatar",src:this.src,tone:this.tone,variant:this.variant}),this.src&&"avatar"!==this.preview&&o("mds-img",{key:"0dd4c581adbc411f9429aadc8b3d8a4ea679e86d",class:"picture",part:"picture",src:this.src}),o("div",{key:"ef2bc48eaa2a1894678e8fac420e3b72d131782f",class:"content",part:"content"},o("div",{key:"b34e5ad851f0f3a2d8d349e4435c05b6b42cd040",class:"header"},o("div",{key:"321b618924ab8280d1d6d7846f0193e0aa27d691",class:"infos"},o("div",{key:"7efed5a22e7cf676f9f75867dc753a4c5af86b4b",class:m("badge",!this.hasBadge&&"badge--hidden")},o("slot",{key:"afe8def12f9dc475906e933ed41e403c07bff4f8",name:"badge",onSlotchange:this.onSlotChange})),this.subject&&o("mds-text",{key:"23fe7b51985ea6815ac337f388c11f59f7b2a7c2",class:"subject",typography:"h6",variant:"title",truncate:"all"},this.subject)),this.datetime&&o("mds-text",{key:"1cdf001ea8c0b3aee55e5c51e7fd5583cb6d6c48",class:"time",typography:"option"},"timeago"===this.dateFormat?x(this.datetime).fromNow():x(this.datetime).format(this.dateFormat))),o("mds-text",{key:"e0ef2a95cbd8c2194db91206c9f22800b36c99d0",class:"message",truncate:"all",typography:"caption",variant:"info"},this.message),o("div",{key:"d05a9eaa20ccb045225c50248faeadf839fbdb41",class:m("actions",!this.hasActions&&"actions--hidden"),part:"actions"},o("slot",{key:"58cdc624c7a23838ff5a9ceb234485610077ccc9",name:"action",onSlotchange:this.onSlotChange}))),this.deletable&&o("mds-button",{key:"68c176fb51d477024a7b26dd18f7618c7e0cc424",class:"close-button",variant:"dark",tone:"text",title:this.t.get("dismiss"),icon:s,onClick:this.onClickClose}))}get host(){return this}static get watchers(){return{deletable:[{handleDeletableChange:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-avatar,mds-button,mds-img,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-push-notification-item-duration:.3s;--private-push-notification-item-duration:var(--mds-push-notification-item-duration,.3s);--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-push-notification-item-message-line-clamp:2;--mds-push-notification-item-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-push-notification-item-subject-line-clamp:1;--mds-push-notification-item-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));align-items:flex-start;background-color:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--radius-lg,16px);-webkit-box-shadow:var(--mds-push-notification-item-shadow);box-shadow:var(--mds-push-notification-item-shadow);color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));display:flex;gap:calc(var(--spacing,.0025rem)*400);max-width:calc(var(--spacing,.0025rem)*8000);min-width:calc(var(--spacing,.0025rem)*7200);padding:calc(var(--spacing,.0025rem)*400);pointer-events:auto;position:relative;-webkit-transition-duration:var(--private-push-notification-item-duration);transition-duration:var(--private-push-notification-item-duration);transition-property:background-color,box-shadow,color,margin,transform;-webkit-transition-timing-function:var(--mds-push-notification-item-timing-function);transition-timing-function:var(--mds-push-notification-item-timing-function)}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*800)}.content{display:grid;flex-grow:1}.actions{display:flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*200);min-width:1px;padding-top:calc(var(--spacing,.0025rem)*200)}.actions--hidden,.badge--hidden{display:none}.avatar,.picture{flex-shrink:0}.picture{border-radius:var(--radius-3xs,4px);-webkit-box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);max-width:calc(var(--spacing,.0025rem)*1200);width:100%}.close-button{opacity:0;padding:calc(var(--spacing,.0025rem)*150);position:absolute;right:0;top:0;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--default-transition-timing-function)}:host(:hover) .close-button{opacity:1}.close-button:focus-visible,.close-button:hover{fill:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));opacity:1}.header{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*100);justify-content:space-between;min-width:0;overflow:hidden;text-overflow:ellipsis}.infos{display:flex;flex-direction:column}.time{flex-shrink:0;margin-right:calc(var(--spacing,.0025rem)*100);white-space:nowrap}.subject{--mds-text-line-clamp:var(--mds-push-notification-item-subject-line-clamp,1);line-height:var(--leading-sm,1.25rem)}.message,.subject{text-overflow:ellipsis}.message{--mds-text-line-clamp:var(--mds-push-notification-item-message-line-clamp,2)}.avatar{background-color:var(--mds-push-notification-item-icon-background-color,#0000);border-radius:var(--radius-full,1000px);fill:var(--mds-push-notification-item-icon-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}.avatar::part(svg){width:calc(var(--spacing,.0025rem)*600)}:host([src]) .avatar{background-color:#0000}:host([icon]) .avatar::part(wrapper){padding:calc(var(--spacing,.0025rem)*150)}: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-push-notification-item-duration:0s}:host([pref-contrast=more]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=primary][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))))}:host([variant=primary]),:host([variant=primary][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}:host([variant=primary][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}:host([variant=orange][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-05,213 90 5));--mds-push-notification-item-icon-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orange]),:host([variant=orange][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-09,253 217 191));--mds-push-notification-item-icon-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=orange][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=amaranth][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-05,242 37 72));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=amaranth]),:host([variant=amaranth][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-09,253 214 221));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=amaranth][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=orchid][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-05,233 44 137));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=orchid]),:host([variant=orchid][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-09,251 213 232));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=orchid][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=purple][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-05,168 86 247));--mds-push-notification-item-icon-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=purple]),:host([variant=purple][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-09,235 216 253));--mds-push-notification-item-icon-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=purple][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=red][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-05,230 66 66));--mds-push-notification-item-icon-color:rgb(var(--label-red-10,252 233 233))}:host([variant=red]),:host([variant=red][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-09,250 215 215));--mds-push-notification-item-icon-color:rgb(var(--label-red-05,230 66 66))}:host([variant=red][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-red-05,230 66 66))}:host([variant=violet][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-05,145 100 246));--mds-push-notification-item-icon-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=violet]),:host([variant=violet][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-09,229 218 253));--mds-push-notification-item-icon-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=violet][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=blue][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-05,90 117 249));--mds-push-notification-item-icon-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=blue]),:host([variant=blue][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-09,216 222 254));--mds-push-notification-item-icon-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=blue][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=sky][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-05,12 136 193));--mds-push-notification-item-icon-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=sky]),:host([variant=sky][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-09,185 231 251));--mds-push-notification-item-icon-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=sky][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=aqua][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-05,5 141 165));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=aqua]),:host([variant=aqua][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-09,151 237 252));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=aqua][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=green][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-05,26 148 71));--mds-push-notification-item-icon-color:rgb(var(--label-green-10,206 247 221))}:host([variant=green]),:host([variant=green][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-09,165 240 193));--mds-push-notification-item-icon-color:rgb(var(--label-green-05,26 148 71))}:host([variant=green][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-green-05,26 148 71))}:host([variant=lime][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-05,93 143 15));--mds-push-notification-item-icon-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=lime]),:host([variant=lime][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-09,189 239 111));--mds-push-notification-item-icon-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=lime][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=yellow][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-05,161 124 6));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=yellow]),:host([variant=yellow][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-09,251 221 131));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=yellow][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=error][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=error]),:host([variant=error][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=error][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=warning][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=warning]),:host([variant=warning][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=warning][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([variant=success][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=success]),:host([variant=success][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=success][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=info][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=info]),:host([variant=info][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=info][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}@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-push-notification-item-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}"}},[257,"mds-push-notification-item",{datetime:[1537],dateFormat:[513,"date-format"],deletable:[1540],icon:[513],initials:[1537],message:[513],preview:[513],src:[513],subject:[513],tone:[513],variant:[513],hasActions:[32],hasBadge:[32]},void 0,{deletable:[{handleDeletableChange:0}]}]),q=S,E=function(){"undefined"!=typeof customElements&&["mds-push-notification-item","mds-avatar","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-push-notification-item":customElements.get(r(t))||customElements.define(r(t),S);break;case"mds-avatar":customElements.get(r(t))||l();break;case"mds-button":customElements.get(r(t))||f();break;case"mds-icon":customElements.get(r(t))||p();break;case"mds-img":customElements.get(r(t))||v();break;case"mds-spinner":customElements.get(r(t))||g();break;case"mds-text":customElements.get(r(t))||b()}}))};export{q as MdsPushNotificationItem,E as defineCustomElement}
1
+ import{p as t,H as a,d as i,h as o,c as n,t as r}from"./p-pBvN1uAc.js";import{g as e}from"./p-E-ZsRS8r.js";import{m as s}from"./p-BJ8rpzfj.js";import{h as c}from"./p-CsgCQiHG.js";import{c as m}from"./p-ChV9xqsO.js";import{L as u}from"./p--miH951G.js";import{s as d}from"./p-CACEYk42.js";import{p as h}from"./p-zHpei4x6.js";import{d as l}from"./p-DGDdPv_Y.js";import{d as f}from"./p-B6FOPjps.js";import{d as p}from"./p-Bv2IVRzI.js";import{d as v}from"./p-BY6Qu1V4.js";import{d as g}from"./p-CHAvkoj3.js";import{d as b}from"./p-C7EyV0z3.js";var y,k,w={exports:{}},x=e((y||(y=1,w.exports=function(){var t=6e4,a=36e5,i="millisecond",o="second",n="minute",r="hour",e="day",s="week",c="month",m="quarter",u="year",d="date",h="Invalid Date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var a=["th","st","nd","rd"],i=t%100;return"["+t+(a[(i-20)%10]||a[i]||"th")+"]"}},v=function(t,a,i){var o=t+"";return!o||o.length>=a?t:""+Array(a+1-o.length).join(i)+t},g={s:v,z:function(t){var a=-t.utcOffset(),i=Math.abs(a),o=i%60;return(a<=0?"+":"-")+v(Math.floor(i/60),2,"0")+":"+v(o,2,"0")},m:function t(a,i){if(a.date()<i.date())return-t(i,a);var o=12*(i.year()-a.year())+(i.month()-a.month()),n=a.clone().add(o,c),r=i-n<0,e=a.clone().add(o+(r?-1:1),c);return+(-(o+(i-n)/(r?n-e:e-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:u,w:s,d:e,D:d,h:r,m:n,s:o,ms:i,Q:m}[t]||((t||"")+"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},b="en",y={};y[b]=p;var k="$isDayjsObject",w=function(t){return t instanceof j||!(!t||!t[k])},x=function t(a,i,o){var n;if(!a)return b;if("string"==typeof a){var r=a.toLowerCase();y[r]&&(n=r),i&&(y[r]=i,n=r);var e=a.split("-");if(!n&&e.length>1)return t(e[0])}else{var s=a.name;y[s]=a,n=s}return!o&&n&&(b=n),n||!o&&b},M=function(t,a){if(w(t))return t.clone();var i="object"==typeof a?a:{};return i.date=t,i.args=arguments,new j(i)},D=g;D.l=x,D.i=w,D.w=function(t,a){return M(t,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var j=function(){function p(t){this.$L=x(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[k]=!0}var v=p.prototype;return v.parse=function(t){this.$d=function(t){var a=t.date,i=t.utc;if(null===a)return new Date(NaN);if(D.u(a))return new Date;if(a instanceof Date)return new Date(a);if("string"==typeof a&&!/Z$/i.test(a)){var o=a.match(l);if(o){var n=o[2]-1||0,r=(o[7]||"0").substring(0,3);return i?new Date(Date.UTC(o[1],n,o[3]||1,o[4]||0,o[5]||0,o[6]||0,r)):new Date(o[1],n,o[3]||1,o[4]||0,o[5]||0,o[6]||0,r)}}return new Date(a)}(t),this.init()},v.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},v.$utils=function(){return D},v.isValid=function(){return!(""+this.$d===h)},v.isSame=function(t,a){var i=M(t);return this.startOf(a)<=i&&i<=this.endOf(a)},v.isAfter=function(t,a){return M(t)<this.startOf(a)},v.isBefore=function(t,a){return this.endOf(a)<M(t)},v.$g=function(t,a,i){return D.u(t)?this[a]:this.set(i,t)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(t,a){var i=this,m=!!D.u(a)||a,h=D.p(t),l=function(t,a){var o=D.w(i.$u?Date.UTC(i.$y,a,t):new Date(i.$y,a,t),i);return m?o:o.endOf(e)},f=function(t,a){return D.w(i.toDate()[t].apply(i.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(a)),i)},p=this.$W,v=this.$M,g=this.$D,b="set"+(this.$u?"UTC":"");switch(h){case u:return m?l(1,0):l(31,11);case c:return m?l(1,v):l(0,v+1);case s:var y=this.$locale().weekStart||0,k=(p<y?p+7:p)-y;return l(m?g-k:g+(6-k),v);case e:case d:return f(b+"Hours",0);case r:return f(b+"Minutes",1);case n:return f(b+"Seconds",2);case o:return f(b+"Milliseconds",3);default:return this.clone()}},v.endOf=function(t){return this.startOf(t,!1)},v.$set=function(t,a){var s,m=D.p(t),h="set"+(this.$u?"UTC":""),l=(s={},s[e]=h+"Date",s[d]=h+"Date",s[c]=h+"Month",s[u]=h+"FullYear",s[r]=h+"Hours",s[n]=h+"Minutes",s[o]=h+"Seconds",s[i]=h+"Milliseconds",s)[m],f=m===e?this.$D+(a-this.$W):a;if(m===c||m===u){var p=this.clone().set(d,1);p.$d[l](f),p.init(),this.$d=p.set(d,Math.min(this.$D,p.daysInMonth())).$d}else l&&this.$d[l](f);return this.init(),this},v.set=function(t,a){return this.clone().$set(t,a)},v.get=function(t){return this[D.p(t)]()},v.add=function(i,m){var d,h=this;i=Number(i);var l=D.p(m),f=function(t){var a=M(h);return D.w(a.date(a.date()+Math.round(t*i)),h)};if(l===c)return this.set(c,this.$M+i);if(l===u)return this.set(u,this.$y+i);if(l===e)return f(1);if(l===s)return f(7);var p=(d={},d[n]=t,d[r]=a,d[o]=1e3,d)[l]||1,v=this.$d.getTime()+i*p;return D.w(v,this)},v.subtract=function(t,a){return this.add(-1*t,a)},v.format=function(t){var a=this,i=this.$locale();if(!this.isValid())return i.invalidDate||h;var o=t||"YYYY-MM-DDTHH:mm:ssZ",n=D.z(this),r=this.$H,e=this.$m,s=this.$M,c=i.weekdays,m=i.months,u=function(t,i,n,r){return t&&(t[i]||t(a,o))||n[i].slice(0,r)},d=function(t){return D.s(r%12||12,t,"0")},l=i.meridiem||function(t,a,i){var o=t<12?"AM":"PM";return i?o.toLowerCase():o};return o.replace(f,(function(t,o){return o||function(t){switch(t){case"YY":return(a.$y+"").slice(-2);case"YYYY":return D.s(a.$y,4,"0");case"M":return s+1;case"MM":return D.s(s+1,2,"0");case"MMM":return u(i.monthsShort,s,m,3);case"MMMM":return u(m,s);case"D":return a.$D;case"DD":return D.s(a.$D,2,"0");case"d":return a.$W+"";case"dd":return u(i.weekdaysMin,a.$W,c,2);case"ddd":return u(i.weekdaysShort,a.$W,c,3);case"dddd":return c[a.$W];case"H":return r+"";case"HH":return D.s(r,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return l(r,e,!0);case"A":return l(r,e,!1);case"m":return e+"";case"mm":return D.s(e,2,"0");case"s":return a.$s+"";case"ss":return D.s(a.$s,2,"0");case"SSS":return D.s(a.$ms,3,"0");case"Z":return n}return null}(t)||n.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(i,d,h){var l,f=this,p=D.p(d),v=M(i),g=(v.utcOffset()-this.utcOffset())*t,b=this-v,y=function(){return D.m(f,v)};switch(p){case u:l=y()/12;break;case c:l=y();break;case m:l=y()/3;break;case s:l=(b-g)/6048e5;break;case e:l=(b-g)/864e5;break;case r:l=b/a;break;case n:l=b/t;break;case o:l=b/1e3;break;default:l=b}return h?l:D.a(l)},v.daysInMonth=function(){return this.endOf(c).$D},v.$locale=function(){return y[this.$L]},v.locale=function(t,a){if(!t)return this.$L;var i=this.clone(),o=x(t,a,!0);return o&&(i.$L=o),i},v.clone=function(){return D.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},p}(),Y=j.prototype;return M.prototype=Y,[["$ms",i],["$s",o],["$m",n],["$H",r],["$W",e],["$M",c],["$y",u],["$D",d]].forEach((function(t){Y[t[1]]=function(a){return this.$g(a,t[0],t[1])}})),M.extend=function(t,a){return t.$i||(t(a,j,M),t.$i=!0),M},M.locale=x,M.isDayjs=w,M.unix=function(t){return M(1e3*t)},M.en=y[b],M.Ls=y,M.p={},M}()),w.exports)),M={dismiss:"Κλείσιμο",future:"σε %s",past:"πριν από %s",s:"λίγα δευτ.",m:"1 λεπτό",mm:"%d λεπτά",h:"1 ώρα",hh:"%d ώρες",d:"1 ημέρα",dd:"%d ημέρες",M:"1 μήνας",MM:"%d μήνες",y:"1 έτος",yy:"%d έτη"},D={dismiss:"Close",future:"in %s",past:"%s ago",s:"few sec",m:"1 min",mm:"%d mins",h:"1 hour",hh:"%d hours",d:"1 day",dd:"%d days",M:"1 month",MM:"%d months",y:"1 year",yy:"%d years"},j={dismiss:"Cerrar",future:"en %s",past:"hace %s",s:"pocos seg",m:"1 min",mm:"%d mins",h:"1 hora",hh:"%d horas",d:"1 día",dd:"%d días",M:"1 mes",MM:"%d meses",y:"1 año",yy:"%d años"},Y={dismiss:"Chiudi",future:"tra %s",past:"%s fa",s:"pochi sec",m:"1 min",mm:"%d min",h:"1 ora",hh:"%d ore",d:"1 giorno",dd:"%d giorni",M:"1 mese",MM:"%d mesi",y:"1 anno",yy:"%d anni"},_={exports:{}},C=e((k||(k=1,_.exports=function(t,a,i){t=t||{};var o=a.prototype,n={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function r(t,a,i,n){return o.fromToBase(t,a,i,n)}i.en.relativeTime=n,o.fromToBase=function(a,o,r,e,s){for(var c,m,u,d=r.$locale().relativeTime||n,h=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],l=h.length,f=0;f<l;f+=1){var p=h[f];p.d&&(c=e?i(a).diff(r,p.d,!0):r.diff(a,p.d,!0));var v=(t.rounding||Math.round)(Math.abs(c));if(u=c>0,v<=p.r||!p.r){v<=1&&f>0&&(p=h[f-1]);var g=d[p.l];s&&(v=s(""+v)),m="string"==typeof g?g.replace("%d",v):g(v,o,p.l,u);break}}if(o)return m;var b=u?d.future:d.past;return"function"==typeof b?b(m):b.replace("%s",m)},o.to=function(t,a){return r(t,a,this,!0)},o.from=function(t,a){return r(t,a,this)};var e=function(t){return t.$u?i.utc():i()};o.toNow=function(t){return this.to(e(this),t)},o.fromNow=function(t){return this.from(e(this),t)}}),_.exports));const S=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.closedEvent=i(this,"mdsPushNotificationItemClose",7),this.t=new u({el:M,en:D,es:j,it:Y}),this.dateFormat="timeago",this.deletable=!1,this.message="Nessun messaggio disponibile",this.preview="image",this.tone="weak",this.onClickClose=t=>{t.stopPropagation(),this.closedEvent.emit()},this.onSlotChange=()=>{this.hasActions=c(this.host,"action"),this.hasBadge=c(this.host,"badge")}}componentDidLoad(){this.handleDeletableChange(this.deletable)}componentWillLoad(){var t;x.extend(C),this.onSlotChange(),void 0!==this.datetime&&""!==this.datetime&&(this.datetime=null!==(t=d(""+this.datetime))&&void 0!==t?t:void 0);const a={future:this.t.get("future"),past:this.t.get("past"),s:this.t.get("s"),m:this.t.get("m"),mm:this.t.get("mm"),h:this.t.get("h"),hh:this.t.get("hh"),d:this.t.get("d"),dd:this.t.get("dd"),M:this.t.get("M"),MM:this.t.get("MM"),y:this.t.get("y"),yy:this.t.get("yy")};x.locale("custom-locale",{relativeTime:a})}handleDeletableChange(t){!1===t&&(this.deletable=void 0)}render(){var t;return o(n,{key:"65eb8aadda38ab214f203b9efd269cdadabf19c7","pref-animation":h.state.animation,"pref-contrast":h.state.contrast,"pref-mode":h.state.mode,"pref-theme-scheme":h.state["theme-scheme"]},(null!==(t=this.icon)&&void 0!==t?t:"avatar"===this.preview)&&o("mds-avatar",{key:"d921bb735ca4027cec2c8a0e2eb1d91eea6c44bb",class:"avatar",icon:this.icon,initials:this.initials,part:"avatar",src:this.src,tone:this.tone,variant:this.variant}),this.src&&"avatar"!==this.preview&&o("mds-img",{key:"626cd19cedb75aa24e1fae8f3dd2359de2f997b9",class:"picture",part:"picture",src:this.src}),o("div",{key:"434afc0f0bd8a7d6fc7a758f690d7297971db13d",class:"content",part:"content"},o("div",{key:"cc54a0fafb80b5831cbc654875dd4de6422f8f46",class:"header"},o("div",{key:"5e27cc2117ddf176ab3df99d46a6e6b3932fc01f",class:"infos"},o("div",{key:"38cb8cbb0468ba5f0445952c6fc2f11f5d1fa488",class:m("badge",!this.hasBadge&&"badge--hidden")},o("slot",{key:"13608d5ed61fe43cfdb8355922d472ef2281a26d",name:"badge",onSlotchange:this.onSlotChange})),this.subject&&o("mds-text",{key:"e123b120cd8b61e4e29dd5b73572aa1263614c8c",class:"subject",typography:"h6",variant:"title",truncate:"all"},this.subject)),this.datetime&&o("mds-text",{key:"9beda7c1bda6b51ace8b1cfdc7ffafe911b597f2",class:"time",typography:"option"},"timeago"===this.dateFormat?x(this.datetime).fromNow():x(this.datetime).format(this.dateFormat))),o("mds-text",{key:"ec0e80b1cb472bca884add80eaa4d55d9c820c66",class:"message",truncate:"all",typography:"caption",variant:"info"},this.message),o("div",{key:"0133e0a437f2286a8f83f18a94ac770ba6223ad4",class:m("actions",!this.hasActions&&"actions--hidden"),part:"actions"},o("slot",{key:"c16ca8d8465c5c9dfb1ed37229b3aa2961e7e394",name:"action",onSlotchange:this.onSlotChange}))),this.deletable&&o("mds-button",{key:"a69962af562d9680900b03892ce0ecf0e4482276",class:"close-button",variant:"dark",tone:"text",title:this.t.get("dismiss"),icon:s,onClick:this.onClickClose}))}get host(){return this}static get watchers(){return{deletable:[{handleDeletableChange:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-avatar,mds-button,mds-img,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-push-notification-item-duration:.3s;--private-push-notification-item-duration:var(--mds-push-notification-item-duration,.3s);--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-push-notification-item-message-line-clamp:2;--mds-push-notification-item-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-push-notification-item-subject-line-clamp:1;--mds-push-notification-item-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));align-items:flex-start;background-color:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--radius-lg,16px);-webkit-box-shadow:var(--mds-push-notification-item-shadow);box-shadow:var(--mds-push-notification-item-shadow);color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));display:flex;gap:calc(var(--spacing,.0025rem)*400);max-width:calc(var(--spacing,.0025rem)*8000);min-width:calc(var(--spacing,.0025rem)*7200);padding:calc(var(--spacing,.0025rem)*400);pointer-events:auto;position:relative;-webkit-transition-duration:var(--private-push-notification-item-duration);transition-duration:var(--private-push-notification-item-duration);transition-property:background-color,box-shadow,color,margin,transform;-webkit-transition-timing-function:var(--mds-push-notification-item-timing-function);transition-timing-function:var(--mds-push-notification-item-timing-function)}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*800)}.content{display:grid;flex-grow:1}.actions{display:flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*200);min-width:1px;padding-top:calc(var(--spacing,.0025rem)*200)}.actions--hidden,.badge--hidden{display:none}.avatar,.picture{flex-shrink:0}.picture{border-radius:var(--radius-3xs,4px);-webkit-box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);max-width:calc(var(--spacing,.0025rem)*1200);width:100%}.close-button{opacity:0;padding:calc(var(--spacing,.0025rem)*150);position:absolute;right:0;top:0;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,width;transition-timing-function:var(--default-transition-timing-function)}:host(:hover) .close-button{opacity:1}.close-button:focus-visible,.close-button:hover{fill:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));opacity:1}.header{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*100);justify-content:space-between;min-width:0;overflow:hidden;text-overflow:ellipsis}.infos{display:flex;flex-direction:column}.time{flex-shrink:0;margin-right:calc(var(--spacing,.0025rem)*100);white-space:nowrap}.subject{--mds-text-line-clamp:var(--mds-push-notification-item-subject-line-clamp,1);line-height:var(--leading-sm,1.25rem)}.message,.subject{text-overflow:ellipsis}.message{--mds-text-line-clamp:var(--mds-push-notification-item-message-line-clamp,2)}.avatar{background-color:var(--mds-push-notification-item-icon-background-color,#0000);border-radius:var(--radius-full,1000px);fill:var(--mds-push-notification-item-icon-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}.avatar::part(svg){width:calc(var(--spacing,.0025rem)*600)}:host([src]) .avatar{background-color:#0000}:host([icon]) .avatar::part(wrapper){padding:calc(var(--spacing,.0025rem)*150)}: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-push-notification-item-duration:0s}:host([pref-contrast=more]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([variant=primary][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))))}:host([variant=primary]),:host([variant=primary][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-push-notification-item-icon-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}:host([variant=primary][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}:host([variant=orange][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-05,213 90 5));--mds-push-notification-item-icon-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orange]),:host([variant=orange][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orange-09,253 217 191));--mds-push-notification-item-icon-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=orange][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=amaranth][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-05,242 37 72));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=amaranth]),:host([variant=amaranth][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-amaranth-09,253 214 221));--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=amaranth][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=orchid][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-05,233 44 137));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=orchid]),:host([variant=orchid][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-orchid-09,251 213 232));--mds-push-notification-item-icon-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=orchid][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=purple][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-05,168 86 247));--mds-push-notification-item-icon-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=purple]),:host([variant=purple][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-purple-09,235 216 253));--mds-push-notification-item-icon-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=purple][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=red][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-05,230 66 66));--mds-push-notification-item-icon-color:rgb(var(--label-red-10,252 233 233))}:host([variant=red]),:host([variant=red][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-red-09,250 215 215));--mds-push-notification-item-icon-color:rgb(var(--label-red-05,230 66 66))}:host([variant=red][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-red-05,230 66 66))}:host([variant=violet][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-05,145 100 246));--mds-push-notification-item-icon-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=violet]),:host([variant=violet][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-violet-09,229 218 253));--mds-push-notification-item-icon-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=violet][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=blue][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-05,90 117 249));--mds-push-notification-item-icon-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=blue]),:host([variant=blue][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-blue-09,216 222 254));--mds-push-notification-item-icon-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=blue][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=sky][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-05,12 136 193));--mds-push-notification-item-icon-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=sky]),:host([variant=sky][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-sky-09,185 231 251));--mds-push-notification-item-icon-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=sky][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=aqua][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-05,5 141 165));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=aqua]),:host([variant=aqua][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-aqua-09,151 237 252));--mds-push-notification-item-icon-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=aqua][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=green][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-05,26 148 71));--mds-push-notification-item-icon-color:rgb(var(--label-green-10,206 247 221))}:host([variant=green]),:host([variant=green][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-green-09,165 240 193));--mds-push-notification-item-icon-color:rgb(var(--label-green-05,26 148 71))}:host([variant=green][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-green-05,26 148 71))}:host([variant=lime][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-05,93 143 15));--mds-push-notification-item-icon-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=lime]),:host([variant=lime][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-lime-09,189 239 111));--mds-push-notification-item-icon-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=lime][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=yellow][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-05,161 124 6));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=yellow]),:host([variant=yellow][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--label-yellow-09,251 221 131));--mds-push-notification-item-icon-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=yellow][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=error][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=error]),:host([variant=error][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-push-notification-item-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=error][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=warning][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=warning]),:host([variant=warning][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-push-notification-item-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=warning][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([variant=success][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=success]),:host([variant=success][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-push-notification-item-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=success][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=info][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=info]),:host([variant=info][tone=weak]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-push-notification-item-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=info][tone=text]){--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}@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-push-notification-item-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-push-notification-item-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)) inset;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}"}},[257,"mds-push-notification-item",{datetime:[1537],dateFormat:[513,"date-format"],deletable:[1540],icon:[513],initials:[1537],message:[513],preview:[513],src:[513],subject:[513],tone:[513],variant:[513],hasActions:[32],hasBadge:[32]},void 0,{deletable:[{handleDeletableChange:0}]}]),H=S,$=function(){"undefined"!=typeof customElements&&["mds-push-notification-item","mds-avatar","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-push-notification-item":customElements.get(r(t))||customElements.define(r(t),S);break;case"mds-avatar":customElements.get(r(t))||l();break;case"mds-button":customElements.get(r(t))||f();break;case"mds-icon":customElements.get(r(t))||p();break;case"mds-img":customElements.get(r(t))||v();break;case"mds-spinner":customElements.get(r(t))||g();break;case"mds-text":customElements.get(r(t))||b()}}))};export{H as MdsPushNotificationItem,$ as defineCustomElement}
@@ -1 +1 @@
1
- import{p as i,H as t,d as s,h as e,c as o,t as a}from"./p-BhFTcUD0.js";import{a as n,c as r}from"./p-D8eZRaSQ.js";import{p as d}from"./p-CvIFS8oA.js";import{d as c}from"./p-kff6xSdW.js";import{d as m}from"./p-qketFgr0.js";import{d as h}from"./p-C58NKMEE.js";import{d as p}from"./p-BZFyAX-6.js";const l=i(class extends t{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.changedEvent=s(this,"mdsPushNotificationChange",7),this.shownEvent=s(this,"mdsPushNotificationShow",7),this.hiddenEvent=s(this,"mdsPushNotificationHide",7),this.behavior="auto",this.introItem=i=>(i.style.marginBottom=`-${i.offsetHeight+n(this.cssItemsGap)}px`,new Promise((t=>{setTimeout((()=>{i.style.marginBottom=`-${i.offsetHeight+n(this.cssItemsGap)}px`,setTimeout((()=>{i.style.visibility="visible",i.style.position="relative",i.style.transform="translate(0, 0)",i.style.marginBottom="0px",t()}),r(this.cssItemsIntroDuration))}),15)}))),this.outroItem=i=>(this.slotNotifications.assignedNodes().length<=1&&this.hide(),i.style.marginBottom="0px",new Promise((t=>{setTimeout((()=>{i.style.marginBottom="0px",setTimeout((()=>{i.addEventListener("transitionend",(()=>{i.remove()})),i.style.removeProperty("transform"),i.style.marginBottom=`-${i.offsetHeight+n(this.cssItemsGap)}px`,t()}),r(this.cssItemsOutroDuration))}),15)}))),this.handleSlotChange=()=>{const i=this.slotNotifications.assignedElements().map((i=>i)).filter((i=>""===i.style.visibility));0!==i.length&&(i.forEach((async i=>{i.addEventListener("mdsPushNotificationItemClose",(()=>this.outroItem(i))),await this.introItem(i)})),"auto"===this.behavior&&this.show())},this.updateCSSCustomProps=()=>{var i,t,s;const e=window.getComputedStyle(this.host);this.cssItemsGap=null!==(i=e.getPropertyValue("--mds-push-notification-items-gap"))&&void 0!==i?i:"0.5rem",this.cssItemsIntroDuration=null!==(t=e.getPropertyValue("--mds-push-notification-items-intro-delay"))&&void 0!==t?t:"200ms",this.cssItemsOutroDuration=null!==(s=e.getPropertyValue("--mds-push-notification-items-outro-delay"))&&void 0!==s?s:"0ms"},this.clear=()=>{this.slotNotifications.assignedElements().forEach((i=>this.outroItem(i))),this.hide()}}show(){return this.visible=!0,Promise.resolve()}hide(){return this.visible=void 0,Promise.resolve()}removeNotification(i){return Array.isArray(i)?i.forEach(this.outroItem):this.outroItem(i),Promise.resolve()}componentDidLoad(){this.updateCSSCustomProps(),this.slotNotifications.addEventListener("slotchange",this.handleSlotChange),this.handleSlotChange()}visibleChanged(i){return i?(this.changedEvent.emit({visible:!0}),void this.shownEvent.emit()):void 0===i?(this.changedEvent.emit({visible:!1}),void this.hiddenEvent.emit()):void(this.visible=void 0)}render(){return e(o,{key:"9d65944b4f7db0db6f32c2b74c5edc7b01ec9e8f","pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},e("mds-button",{key:"8df131a27d484c74819b222ec8891a87badb29bb",variant:"dark",onClick:this.clear,label:"Cancella notifiche"}),e("div",{key:"86d096874d7c4c4e0e5ad1ec83e912fa1ea65a19",class:"notifications",part:"notifications"},e("slot",{key:"fe487f0de52a2b0a2ba1c7f7a760936218b7bcd5",ref:i=>this.slotNotifications=i})))}get host(){return this}static get watchers(){return{visible:[{visibleChanged:0}]}}static get style(){return'@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(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-push-notification-fadeout-delay:0s;--mds-push-notification-gap:calc(var(--spacing,.0025rem)*200);--mds-push-notification-items-intro-delay:.3s;--mds-push-notification-items-outro-delay:0s;--mds-push-notification-items-duration:.3s;--mds-push-notification-items-gap:var(--mds-push-notification-gap,calc(var(--spacing,.0025rem)*200));--mds-push-notification-items-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));--mds-push-notification-background:linear-gradient(90deg,#dcdcdc00 0%,#dcdcdcd9);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));background:var(--mds-push-notification-background);bottom:0;box-sizing:initial!important;display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*200);max-width:360px;min-width:calc(var(--spacing,.0025rem)*7200);overflow-x:hidden;padding:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*2400);position:fixed;right:0;top:0;transform:translate(100%);-webkit-transition-delay:var(--mds-push-notification-fadeout-delay,0s);transition-delay:var(--mds-push-notification-fadeout-delay,0s);-webkit-transition-duration:var(--duration-500,.5s);transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));z-index:var(--magma-notification-z-index,2000)}:host::-webkit-scrollbar{display:none}.notifications{display:flex;flex-direction:column-reverse;gap:var(--mds-push-notification-items-gap)}.notifications ::slotted(mds-push-notification-item){--mds-push-notification-item-duration:var(--mds-push-notification-items-duration,.3s);--mds-push-notification-item-timing-function:var(--mds-push-notification-items-timing-function);position:absolute;-webkit-transform:translate(calc(100% + calc(var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)) + var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)))));transform:translate(calc(100% + calc(var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)) + var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)))));visibility:hidden}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(90deg,#0000 0%,#00000080 20%,#000000d9)}:host([visible]){transform:translate(0);transition-delay:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(90deg,#0000 0%,#00000080 20%,#000000d9)}}'}},[257,"mds-push-notification",{visible:[1540],behavior:[1],show:[64],hide:[64],removeNotification:[64]},void 0,{visible:[{visibleChanged:0}]}]),u=l,f=function(){"undefined"!=typeof customElements&&["mds-push-notification","mds-button","mds-icon","mds-spinner","mds-text"].forEach((i=>{switch(i){case"mds-push-notification":customElements.get(a(i))||customElements.define(a(i),l);break;case"mds-button":customElements.get(a(i))||c();break;case"mds-icon":customElements.get(a(i))||m();break;case"mds-spinner":customElements.get(a(i))||h();break;case"mds-text":customElements.get(a(i))||p()}}))};export{u as MdsPushNotification,f as defineCustomElement}
1
+ import{p as i,H as t,d as s,h as e,c as o,t as a}from"./p-pBvN1uAc.js";import{a as n,c as r}from"./p-D8eZRaSQ.js";import{p as d}from"./p-zHpei4x6.js";import{d as c}from"./p-B6FOPjps.js";import{d as m}from"./p-Bv2IVRzI.js";import{d as h}from"./p-CHAvkoj3.js";import{d as p}from"./p-C7EyV0z3.js";const l=i(class extends t{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.changedEvent=s(this,"mdsPushNotificationChange",7),this.shownEvent=s(this,"mdsPushNotificationShow",7),this.hiddenEvent=s(this,"mdsPushNotificationHide",7),this.behavior="auto",this.introItem=i=>(i.style.marginBottom=`-${i.offsetHeight+n(this.cssItemsGap)}px`,new Promise((t=>{setTimeout((()=>{i.style.marginBottom=`-${i.offsetHeight+n(this.cssItemsGap)}px`,setTimeout((()=>{i.style.visibility="visible",i.style.position="relative",i.style.transform="translate(0, 0)",i.style.marginBottom="0px",t()}),r(this.cssItemsIntroDuration))}),15)}))),this.outroItem=i=>(this.slotNotifications.assignedNodes().length<=1&&this.hide(),i.style.marginBottom="0px",new Promise((t=>{setTimeout((()=>{i.style.marginBottom="0px",setTimeout((()=>{i.addEventListener("transitionend",(()=>{i.remove()})),i.style.removeProperty("transform"),i.style.marginBottom=`-${i.offsetHeight+n(this.cssItemsGap)}px`,t()}),r(this.cssItemsOutroDuration))}),15)}))),this.handleSlotChange=()=>{const i=this.slotNotifications.assignedElements().map((i=>i)).filter((i=>""===i.style.visibility));0!==i.length&&(i.forEach((async i=>{i.addEventListener("mdsPushNotificationItemClose",(()=>this.outroItem(i))),await this.introItem(i)})),"auto"===this.behavior&&this.show())},this.updateCSSCustomProps=()=>{var i,t,s;const e=window.getComputedStyle(this.host);this.cssItemsGap=null!==(i=e.getPropertyValue("--mds-push-notification-items-gap"))&&void 0!==i?i:"0.5rem",this.cssItemsIntroDuration=null!==(t=e.getPropertyValue("--mds-push-notification-items-intro-delay"))&&void 0!==t?t:"200ms",this.cssItemsOutroDuration=null!==(s=e.getPropertyValue("--mds-push-notification-items-outro-delay"))&&void 0!==s?s:"0ms"},this.clear=()=>{this.slotNotifications.assignedElements().forEach((i=>this.outroItem(i))),this.hide()}}show(){return this.visible=!0,Promise.resolve()}hide(){return this.visible=void 0,Promise.resolve()}removeNotification(i){return Array.isArray(i)?i.forEach(this.outroItem):this.outroItem(i),Promise.resolve()}componentDidLoad(){this.updateCSSCustomProps(),this.slotNotifications.addEventListener("slotchange",this.handleSlotChange),this.handleSlotChange()}visibleChanged(i){return i?(this.changedEvent.emit({visible:!0}),void this.shownEvent.emit()):void 0===i?(this.changedEvent.emit({visible:!1}),void this.hiddenEvent.emit()):void(this.visible=void 0)}render(){return e(o,{key:"f4daa137935544f4e809de82e99cbb7e5836b296","pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},e("mds-button",{key:"3df02b625af33465288e49ab0587fe492051ecb4",variant:"dark",onClick:this.clear,label:"Cancella notifiche"}),e("div",{key:"6d83e4b5c9e6a07838b11f82c7f5b0846ee70977",class:"notifications",part:"notifications"},e("slot",{key:"c49dae557c47fd09f36ceb59c55b6b6dc1aafb45",ref:i=>this.slotNotifications=i})))}get host(){return this}static get watchers(){return{visible:[{visibleChanged:0}]}}static get style(){return'@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(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-push-notification-fadeout-delay:0s;--mds-push-notification-gap:calc(var(--spacing,.0025rem)*200);--mds-push-notification-items-intro-delay:.3s;--mds-push-notification-items-outro-delay:0s;--mds-push-notification-items-duration:.3s;--mds-push-notification-items-gap:var(--mds-push-notification-gap,calc(var(--spacing,.0025rem)*200));--mds-push-notification-items-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));--mds-push-notification-background:linear-gradient(90deg,#dcdcdc00 0%,#dcdcdcd9);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));background:var(--mds-push-notification-background);bottom:0;box-sizing:initial!important;display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*200);max-width:360px;min-width:calc(var(--spacing,.0025rem)*7200);overflow-x:hidden;padding:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*2400);position:fixed;right:0;top:0;transform:translate(100%);-webkit-transition-delay:var(--mds-push-notification-fadeout-delay,0s);transition-delay:var(--mds-push-notification-fadeout-delay,0s);-webkit-transition-duration:var(--duration-500,.5s);transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));z-index:var(--magma-notification-z-index,2000)}:host::-webkit-scrollbar{display:none}.notifications{display:flex;flex-direction:column-reverse;gap:var(--mds-push-notification-items-gap)}.notifications ::slotted(mds-push-notification-item){--mds-push-notification-item-duration:var(--mds-push-notification-items-duration,.3s);--mds-push-notification-item-timing-function:var(--mds-push-notification-items-timing-function);position:absolute;-webkit-transform:translate(calc(100% + calc(var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)) + var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)))));transform:translate(calc(100% + calc(var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)) + var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)))));visibility:hidden}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(90deg,#0000 0%,#00000080 20%,#000000d9)}:host([visible]){transform:translate(0);transition-delay:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(90deg,#0000 0%,#00000080 20%,#000000d9)}}'}},[257,"mds-push-notification",{visible:[1540],behavior:[1],show:[64],hide:[64],removeNotification:[64]},void 0,{visible:[{visibleChanged:0}]}]),u=l,f=function(){"undefined"!=typeof customElements&&["mds-push-notification","mds-button","mds-icon","mds-spinner","mds-text"].forEach((i=>{switch(i){case"mds-push-notification":customElements.get(a(i))||customElements.define(a(i),l);break;case"mds-button":customElements.get(a(i))||c();break;case"mds-icon":customElements.get(a(i))||m();break;case"mds-spinner":customElements.get(a(i))||h();break;case"mds-text":customElements.get(a(i))||p()}}))};export{u as MdsPushNotification,f as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as a,c as s,t as o}from"./p-BhFTcUD0.js";import{p as r}from"./p-CvIFS8oA.js";import{d}from"./p-BZFyAX-6.js";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.typography="h3",this.tag="h3"}render(){return a(s,{key:"cfb336faa76b4ab2a68b2d8ca9dc75edfe55aeb6","pref-contrast":r.state.contrast},a("mds-text",{key:"117265de0b62d6e7bfcc6126eb7712a93bba5153",class:"open-quote",tag:"div",typography:this.typography},a("span",{key:"7a8dc8cf4e993d66cfb006bf6208e21ea08e4098"},a("i",{key:"82d9b40c020e8f35a3bc1ba54c2494b5ba5f4991"},"❝ "))),a("div",{key:"87584eea395128b4d65437b575cefb66c9a93891",class:"quote"},a("mds-text",{key:"d630290e2eb5408ed612b3268b92355bcc49da47",tag:this.tag,typography:this.typography},a("i",{key:"6f26b293a426f5ab93873cb46a8abee7c52429fb"},a("slot",{key:"a09ce2ef7bfaa42a21be184d3aa2fc4994509d3a"}),a("span",{key:"c0d0181b85d0d033f0ef00522792675379b42ac1"}," ❞"))),a("slot",{key:"00f4fcf39ffd58d65a7bca5be6ddf04695b0a0fe",name:"author"})))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:inline-flex}.open-quote{flex-shrink:0}.quote{display:grid;gap:calc(var(--spacing,.0025rem)*400);-webkit-user-select:all;user-select:all}span{-webkit-user-select:none;user-select:none}:host([pref-contrast=more]){color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}"}},[257,"mds-quote",{typography:[1],tag:[1]}]),n=c,i=function(){"undefined"!=typeof customElements&&["mds-quote","mds-text"].forEach((e=>{switch(e){case"mds-quote":customElements.get(o(e))||customElements.define(o(e),c);break;case"mds-text":customElements.get(o(e))||d()}}))};export{n as MdsQuote,i as defineCustomElement}
1
+ import{p as e,H as t,h as a,c as s,t as o}from"./p-pBvN1uAc.js";import{p as r}from"./p-zHpei4x6.js";import{d}from"./p-C7EyV0z3.js";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.typography="h3",this.tag="h3"}render(){return a(s,{key:"b2420d27656f92fcd45b5b84b1d3e6760f293f47","pref-contrast":r.state.contrast},a("mds-text",{key:"09f1ebe2c5ae6e8479600a353f5d413919546674",class:"open-quote",tag:"div",typography:this.typography},a("span",{key:"f85c307485a25057fde6ceee8a19aea5be191df9"},a("i",{key:"ad9bb2d28c10a86539c9f05d7392ad379e6e0351"},"❝ "))),a("div",{key:"ca6ec3f4aef754325c424f50a084b4c2021392cf",class:"quote"},a("mds-text",{key:"76f17e8fe122287969a99a36f53eba06d638cedc",tag:this.tag,typography:this.typography},a("i",{key:"ecda34563574602a065090f43b91fe40cd9f519f"},a("slot",{key:"2570cc9ce48a9c7fb009afa34b9bf8e683fab914"}),a("span",{key:"dca3936e9aede37e252f724c95f95cdbce5da391"}," ❞"))),a("slot",{key:"200d2f9c855e7d80e8cb0a6e2828264f28b0ab70",name:"author"})))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:inline-flex}.open-quote{flex-shrink:0}.quote{display:grid;gap:calc(var(--spacing,.0025rem)*400);-webkit-user-select:all;user-select:all}span{-webkit-user-select:none;user-select:none}:host([pref-contrast=more]){color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}"}},[257,"mds-quote",{typography:[1],tag:[1]}]),n=c,i=function(){"undefined"!=typeof customElements&&["mds-quote","mds-text"].forEach((e=>{switch(e){case"mds-quote":customElements.get(o(e))||customElements.define(o(e),c);break;case"mds-text":customElements.get(o(e))||d()}}))};export{n as MdsQuote,i as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as i,h as e,c as s,t as n}from"./p-BhFTcUD0.js";import{d as a}from"./p-kff6xSdW.js";import{d as o}from"./p-qketFgr0.js";import{d as r}from"./p-C58NKMEE.js";import{d as m}from"./p-BZFyAX-6.js";import{d}from"./p-DlHJvYE7.js";const l=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.tone="weak",this.variant="dark",this.size="lg"}render(){return e(s,{key:"4807333d10e3bf1114b507a271709087ef2843ae",slot:"item"},e("mds-button",{key:"1b3112032c24e630f304e64a2ac91cd65dee3d79","aria-label":this.tooltip,class:"button",icon:this.icon,variant:this.variant,tone:this.tone,size:this.size}),this.tooltip&&e("mds-tooltip",{key:"cf983d3a00805a284ab51baee79407abfbc80fc9",class:"tooltip",target:".button",placement:"top",disableAutoPlacement:!0},this.tooltip))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-tooltip):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-radial-menu-item-transition-duration:var(--mds-radial-menu-transition-duration,.5s);--mds-radial-menu-item-transition-timing-function:var(--mds-radial-menu-transition-timing-function,var(--ease-out-expo,cubic-bezier(.19,1,.22,1)));--mds-radial-menu-item-delay:0;--mds-radial-menu-item-index:0;display:inline-flex;inset:0;pointer-events:none;position:absolute;transform:scale(0);-webkit-transition-delay:var(--mds-radial-menu-item-delay);transition-delay:var(--mds-radial-menu-item-delay);-webkit-transition-duration:var(--mds-radial-menu-item-transition-duration,.5s);transition-duration:var(--mds-radial-menu-item-transition-duration,.5s);transition-property:translate,transform;-webkit-transition-timing-function:var(--mds-radial-menu-item-transition-timing-function);transition-timing-function:var(--mds-radial-menu-item-transition-timing-function);translate:var(--mds-radial-menu-item-translate)}:host(:hover){z-index:1}.button{border-radius:100%}.tooltip{--mds-tooltip-delay:0;min-width:max-content;width:min-content}"}},[1,"mds-radial-menu-item",{tooltip:[513],icon:[1537],tone:[513],variant:[513],size:[513]}]),u=l,c=function(){"undefined"!=typeof customElements&&["mds-radial-menu-item","mds-button","mds-icon","mds-spinner","mds-text","mds-tooltip"].forEach((t=>{switch(t){case"mds-radial-menu-item":customElements.get(n(t))||customElements.define(n(t),l);break;case"mds-button":customElements.get(n(t))||a();break;case"mds-icon":customElements.get(n(t))||o();break;case"mds-spinner":customElements.get(n(t))||r();break;case"mds-text":customElements.get(n(t))||m();break;case"mds-tooltip":customElements.get(n(t))||d()}}))};export{u as MdsRadialMenuItem,c as defineCustomElement}
1
+ import{p as t,H as i,h as s,c as n,t as e}from"./p-pBvN1uAc.js";import{d as a}from"./p-B6FOPjps.js";import{d as o}from"./p-Bv2IVRzI.js";import{d as r}from"./p-CHAvkoj3.js";import{d as m}from"./p-C7EyV0z3.js";import{d}from"./p-BBPQjm8h.js";const l=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.tone="weak",this.variant="dark",this.size="lg"}render(){return s(n,{key:"794c7c91ce365ffa9a3a6445857ac35c843c8867",slot:"item"},s("mds-button",{key:"829b309c656016f6ea0d1b4fb982d1f7907ae1a9","aria-label":this.tooltip,class:"button",icon:this.icon,variant:this.variant,tone:this.tone,size:this.size}),this.tooltip&&s("mds-tooltip",{key:"44c017b54e81666d2ca3510dff7049d876d24d4f",class:"tooltip",target:".button",placement:"top",disableAutoPlacement:!0},this.tooltip))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-tooltip):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-radial-menu-item-transition-duration:var(--mds-radial-menu-transition-duration,.5s);--mds-radial-menu-item-transition-timing-function:var(--mds-radial-menu-transition-timing-function,var(--ease-out-expo,cubic-bezier(.19,1,.22,1)));--mds-radial-menu-item-delay:0;--mds-radial-menu-item-index:0;display:inline-flex;inset:0;pointer-events:none;position:absolute;transform:scale(0);-webkit-transition-delay:var(--mds-radial-menu-item-delay);transition-delay:var(--mds-radial-menu-item-delay);-webkit-transition-duration:var(--mds-radial-menu-item-transition-duration,.5s);transition-duration:var(--mds-radial-menu-item-transition-duration,.5s);transition-property:translate,transform;-webkit-transition-timing-function:var(--mds-radial-menu-item-transition-timing-function);transition-timing-function:var(--mds-radial-menu-item-transition-timing-function);translate:var(--mds-radial-menu-item-translate)}:host(:hover){z-index:1}.button{border-radius:100%}.tooltip{--mds-tooltip-delay:0;min-width:max-content;width:min-content}"}},[1,"mds-radial-menu-item",{tooltip:[513],icon:[1537],tone:[513],variant:[513],size:[513]}]),u=l,c=function(){"undefined"!=typeof customElements&&["mds-radial-menu-item","mds-button","mds-icon","mds-spinner","mds-text","mds-tooltip"].forEach((t=>{switch(t){case"mds-radial-menu-item":customElements.get(e(t))||customElements.define(e(t),l);break;case"mds-button":customElements.get(e(t))||a();break;case"mds-icon":customElements.get(e(t))||o();break;case"mds-spinner":customElements.get(e(t))||r();break;case"mds-text":customElements.get(e(t))||m();break;case"mds-tooltip":customElements.get(e(t))||d()}}))};export{u as MdsRadialMenuItem,c as defineCustomElement}
@@ -1 +1 @@
1
- import{p as a,H as i,h as n,c as t,t as e}from"./p-BhFTcUD0.js";import{q as s}from"./p-CsgCQiHG.js";import{m as d}from"./p-J-ikDhyq.js";import{c as r}from"./p-ChV9xqsO.js";import{B as m}from"./p-CVpjH8Un.js";import{d as o}from"./p-kff6xSdW.js";import{d as l}from"./p-qketFgr0.js";import{d as u}from"./p-C58NKMEE.js";import{d as c}from"./p-BZFyAX-6.js";const h=a(class extends i{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.backdropController=new m("mds-radial-menu-backdrop"),this.angleStart=0,this.angleEnd=360,this.radius=5,this.direction="clockwise",this.backdrop=!1,this.interaction="click",this.variant="dark",this.tone="strong",this.size="lg",this.toggleMenu=()=>{this.opened=!0!==this.opened||void 0},this.setItemSize=()=>{var a;null===(a=this.items)||void 0===a||a.forEach((a=>{a.size=this.size}))},this.setItemIndex=()=>{this.items.forEach(((a,i)=>{a.style.setProperty("--mds-radial-menu-item-index",""+i)}))},this.setIsFullCircle=()=>{this.hostElement.style.setProperty("--mds-radial-menu-is-full-circle",this.angleEnd-this.angleStart==360?"1":"0")},this.setIsStartGreaterThanEnd=()=>{this.hostElement.style.setProperty("--mds-radial-menu-is-start-greater-than-end",this.angleStart>this.angleEnd?"-1":"1")},this.updateItems=()=>{this.items=s(this.hostElement,"item"),this.setItemSize(),this.setItemIndex(),this.hostElement.style.setProperty("--mds-radial-menu-nth-siblings",""+(this.items.length-1))},this.toggleRightClickMenu=a=>{a.preventDefault(),this.hostElement.style.top=a.clientY-this.hostElement.offsetHeight/2+"px",this.hostElement.style.left=a.clientX-this.hostElement.offsetWidth/2+"px",this.toggleMenu()},this.handleBackdrop=()=>{this.backdrop&&this.opened?this.backdropController.attachBackdrop():this.backdropController.detachBackdrop()}}componentWillLoad(){var a;this.icon=null!==(a=this.icon)&&void 0!==a?a:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2z"/></svg>',this.onAngleStartChange(this.angleStart),this.onAngleEndChange(this.angleEnd),this.onRadiusChange(this.radius),this.onSizeChange()}componentDidLoad(){this.updateItems(),this.setIsFullCircle(),this.setIsStartGreaterThanEnd(),this.onOpenedChange(this.opened),this.onInteractionChange(this.interaction)}disconnectedCallback(){"undefined"!=typeof document&&document.removeEventListener("contextmenu",this.toggleRightClickMenu)}onDiscChanged(a){!1===a&&(this.disc=void 0)}backdropChanged(a){!1===a&&(this.backdrop=void 0),this.handleBackdrop()}onInteractionChange(a){"undefined"!=typeof document&&("rightclick"!==a?document.removeEventListener("contextmenu",this.toggleRightClickMenu):document.addEventListener("contextmenu",this.toggleRightClickMenu))}onAngleStartChange(a){this.hostElement.style.setProperty("--mds-radial-menu-angle-start",a+"deg"),this.setIsFullCircle(),this.setIsStartGreaterThanEnd()}onAngleEndChange(a){this.hostElement.style.setProperty("--mds-radial-menu-angle-end",a+"deg"),this.setIsFullCircle(),this.setIsStartGreaterThanEnd()}onRadiusChange(a){this.hostElement.style.setProperty("--mds-radial-menu-radius",a+"rem")}onSizeChange(){this.setItemSize()}onOpenedChange(a){!1===a&&(this.opened=void 0),this.handleBackdrop()}render(){return n(t,{key:"46b347e91d0b2cb61e36ab2bf46aacf0490379f6"},n("mds-button",{key:"efd73fd021d94786979105080a6ff51a3e87ea4b",class:r("menu-button","click"!==this.interaction&&"menu-button--hidden"),icon:this.opened?d:this.icon,tone:this.tone,variant:this.variant,size:this.size,onClick:this.toggleMenu}),n("div",{key:"fd3226de96a1b5ea1431cb3aa2022add4d9dfee6",class:"radial-menu",part:"radial-menu"},n("slot",{key:"aba412d874a62a9c86b74ac2a3b1352cf73c1b79",name:"item",onSlotchange:this.updateItems})),n("div",{key:"b81700bf5e3389032080e1fa5d0a8d90edb25747",class:"disc"}))}get hostElement(){return this}static get watchers(){return{disc:[{onDiscChanged:0}],backdrop:[{backdropChanged:0}],interaction:[{onInteractionChange:0}],angleStart:[{onAngleStartChange:0}],angleEnd:[{onAngleEndChange:0}],radius:[{onRadiusChange:0}],size:[{onSizeChange:0}],opened:[{onOpenedChange:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-radial-menu-angle-start:0deg;--mds-radial-menu-angle-end:360deg;--mds-radial-menu-context-menu-z-index:var(--magma-context-menu-z-index,8000);--mds-radial-menu-delay:10ms;--mds-radial-menu-direction:-1;--mds-radial-menu-disc-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))/.5);--mds-radial-menu-disc-filter:blur(8px);--mds-radial-menu-disc-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-radial-menu-disc-size:calc(var(--mds-radial-menu-radius,5rem)*2);--mds-radial-menu-radius:5rem;--mds-radial-menu-transition-duration:.5s;--mds-radial-menu-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-radial-menu-nth-siblings:0;--mds-radial-menu-disc-delay:0s;--mds-radial-menu-disc-scale:0;--mds-radial-menu-radius-current:0;--mds-radial-menu-is-full-circle:1;--mds-radial-menu-is-start-greater-than-end:1;display:inline-flex;position:relative;-webkit-transition-duration:var(--mds-radial-menu-transition-duration);transition-duration:var(--mds-radial-menu-transition-duration);transition-property:top,left;-webkit-transition-timing-function:var(--mds-radial-menu-transition-timing-function);transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:var(--magma-dropdown-z-index,5000)}:host([direction=clockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*-1)}:host([direction=counterclockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*1)}.menu-button{border-radius:100%;position:relative;transform:scale(1);-webkit-transition-duration:var(--mds-radial-menu-transition-duration);transition-duration:var(--mds-radial-menu-transition-duration);-webkit-transition-timing-function:var(--mds-radial-menu-transition-timing-function);transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:2}:host(:not([opened])) .menu-button--hidden{transform:scale(0)}.radial-menu{inset:0;pointer-events:none;position:absolute;-webkit-transition-delay:calc((var(--mds-radial-menu-nth-siblings)*2)*var(--mds-radial-menu-delay,10ms));transition-delay:calc((var(--mds-radial-menu-nth-siblings)*2)*var(--mds-radial-menu-delay,10ms));transition-property:z-index;z-index:3}:host(:not([opened])) .radial-menu{transition-delay:0s;z-index:1}:host(:not([opened])){--mds-radial-menu-radius-current:0}:host([opened]){--mds-radial-menu-radius-current:var(--mds-radial-menu-radius,5rem)}:host([opened]) ::slotted(mds-radial-menu-item){pointer-events:auto;transform:scale(1)}::slotted(mds-radial-menu-item){--mds-radial-menu-item-offset-per-child:calc((var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg))/(var(--mds-radial-menu-nth-siblings) + var(--mds-radial-menu-is-full-circle)));--mds-radial-menu-item-angle-offset:calc(var(--mds-radial-menu-direction,-1)*var(--mds-radial-menu-item-index)*var(--mds-radial-menu-item-offset-per-child));--mds-radial-menu-item-delay:calc((var(--mds-radial-menu-item-index) + 1)*var(--mds-radial-menu-delay,10ms));--mds-radial-menu-item-translate:calc(cos((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current)) calc(sin((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current) * -1)}.disc{--size:calc(var(--mds-radial-menu-disc-size,calc(5rem * 2)) + var(--mds-radial-menu-radius,5rem));-webkit-backdrop-filter:var(--mds-radial-menu-disc-filter);backdrop-filter:var(--mds-radial-menu-disc-filter);background-color:var(--mds-radial-menu-disc-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))/.5));border-radius:100%;-webkit-box-shadow:var(--mds-radial-menu-disc-shadow);box-shadow:var(--mds-radial-menu-disc-shadow);display:inline-flex;height:var(--size);inset:50%;position:absolute;-webkit-transform:translate(-50%,-50%) scale(var(--mds-radial-menu-disc-scale));transform:translate(-50%,-50%) scale(var(--mds-radial-menu-disc-scale));-webkit-transition-delay:var(--mds-radial-menu-disc-delay);transition-delay:var(--mds-radial-menu-disc-delay);-webkit-transition-duration:var(--mds-radial-menu-transition-duration);transition-duration:var(--mds-radial-menu-transition-duration);transition-property:height,transform,width;-webkit-transition-timing-function:var(--mds-radial-menu-transition-timing-function);transition-timing-function:var(--mds-radial-menu-transition-timing-function);width:var(--size);z-index:0}:host(:not([opened][disc])){--mds-radial-menu-disc-scale:0;--mds-radial-menu-disc-delay:calc((var(--mds-radial-menu-nth-siblings) + 1)*var(--mds-radial-menu-delay,10ms))}:host([opened][disc]){--mds-radial-menu-disc-scale:1;--mds-radial-menu-disc-delay:0s}:host([interaction=rightclick]){position:fixed;z-index:var(--mds-radial-menu-context-menu-z-index,var(--magma-context-menu-z-index,8000))}"}},[257,"mds-radial-menu",{angleStart:[514,"angle-start"],angleEnd:[514,"angle-end"],radius:[514],direction:[513],opened:[1540],disc:[1540],backdrop:[516],interaction:[513],icon:[1537],variant:[513],tone:[513],size:[513]},void 0,{disc:[{onDiscChanged:0}],backdrop:[{backdropChanged:0}],interaction:[{onInteractionChange:0}],angleStart:[{onAngleStartChange:0}],angleEnd:[{onAngleEndChange:0}],radius:[{onRadiusChange:0}],size:[{onSizeChange:0}],opened:[{onOpenedChange:0}]}]),g=h,v=function(){"undefined"!=typeof customElements&&["mds-radial-menu","mds-button","mds-icon","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-radial-menu":customElements.get(e(a))||customElements.define(e(a),h);break;case"mds-button":customElements.get(e(a))||o();break;case"mds-icon":customElements.get(e(a))||l();break;case"mds-spinner":customElements.get(e(a))||u();break;case"mds-text":customElements.get(e(a))||c()}}))};export{g as MdsRadialMenu,v as defineCustomElement}
1
+ import{p as a,H as i,h as n,c as t,t as e}from"./p-pBvN1uAc.js";import{q as s}from"./p-CsgCQiHG.js";import{m as d}from"./p-J-ikDhyq.js";import{c as r}from"./p-ChV9xqsO.js";import{B as m}from"./p-BTpjOy0A.js";import{d as o}from"./p-B6FOPjps.js";import{d as l}from"./p-Bv2IVRzI.js";import{d as u}from"./p-CHAvkoj3.js";import{d as c}from"./p-C7EyV0z3.js";const h=a(class extends i{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.backdropController=new m("mds-radial-menu-backdrop"),this.angleStart=0,this.angleEnd=360,this.radius=5,this.direction="clockwise",this.backdrop=!1,this.interaction="click",this.variant="dark",this.tone="strong",this.size="lg",this.toggleMenu=()=>{this.opened=!0!==this.opened||void 0},this.setItemSize=()=>{var a;null===(a=this.items)||void 0===a||a.forEach((a=>{a.size=this.size}))},this.setItemIndex=()=>{this.items.forEach(((a,i)=>{a.style.setProperty("--mds-radial-menu-item-index",""+i)}))},this.setIsFullCircle=()=>{this.hostElement.style.setProperty("--mds-radial-menu-is-full-circle",this.angleEnd-this.angleStart==360?"1":"0")},this.setIsStartGreaterThanEnd=()=>{this.hostElement.style.setProperty("--mds-radial-menu-is-start-greater-than-end",this.angleStart>this.angleEnd?"-1":"1")},this.updateItems=()=>{this.items=s(this.hostElement,"item"),this.setItemSize(),this.setItemIndex(),this.hostElement.style.setProperty("--mds-radial-menu-nth-siblings",""+(this.items.length-1))},this.toggleRightClickMenu=a=>{a.preventDefault(),this.hostElement.style.top=a.clientY-this.hostElement.offsetHeight/2+"px",this.hostElement.style.left=a.clientX-this.hostElement.offsetWidth/2+"px",this.toggleMenu()},this.handleBackdrop=()=>{this.backdrop&&this.opened?this.backdropController.attachBackdrop():this.backdropController.detachBackdrop()}}componentWillLoad(){var a;this.icon=null!==(a=this.icon)&&void 0!==a?a:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2z"/></svg>',this.onAngleStartChange(this.angleStart),this.onAngleEndChange(this.angleEnd),this.onRadiusChange(this.radius),this.onSizeChange()}componentDidLoad(){this.updateItems(),this.setIsFullCircle(),this.setIsStartGreaterThanEnd(),this.onOpenedChange(this.opened),this.onInteractionChange(this.interaction)}disconnectedCallback(){"undefined"!=typeof document&&document.removeEventListener("contextmenu",this.toggleRightClickMenu)}onDiscChanged(a){!1===a&&(this.disc=void 0)}backdropChanged(a){!1===a&&(this.backdrop=void 0),this.handleBackdrop()}onInteractionChange(a){"undefined"!=typeof document&&("rightclick"!==a?document.removeEventListener("contextmenu",this.toggleRightClickMenu):document.addEventListener("contextmenu",this.toggleRightClickMenu))}onAngleStartChange(a){this.hostElement.style.setProperty("--mds-radial-menu-angle-start",a+"deg"),this.setIsFullCircle(),this.setIsStartGreaterThanEnd()}onAngleEndChange(a){this.hostElement.style.setProperty("--mds-radial-menu-angle-end",a+"deg"),this.setIsFullCircle(),this.setIsStartGreaterThanEnd()}onRadiusChange(a){this.hostElement.style.setProperty("--mds-radial-menu-radius",a+"rem")}onSizeChange(){this.setItemSize()}onOpenedChange(a){!1===a&&(this.opened=void 0),this.handleBackdrop()}render(){return n(t,{key:"e8b1b70fe069c88a36d1dc2500a14100d38f5649"},n("mds-button",{key:"814d13c6866c143f2b0da867b993e77fa258cbdb",class:r("menu-button","click"!==this.interaction&&"menu-button--hidden"),icon:this.opened?d:this.icon,tone:this.tone,variant:this.variant,size:this.size,onClick:this.toggleMenu}),n("div",{key:"2b33ebb023d2f1fdb8ebb83f721521687ce6993d",class:"radial-menu",part:"radial-menu"},n("slot",{key:"d93fb4f0448bf8494a6d0074a810e389c27a973b",name:"item",onSlotchange:this.updateItems})),n("div",{key:"0235404156f36bd46ad251013aef1025949b0e4f",class:"disc"}))}get hostElement(){return this}static get watchers(){return{disc:[{onDiscChanged:0}],backdrop:[{backdropChanged:0}],interaction:[{onInteractionChange:0}],angleStart:[{onAngleStartChange:0}],angleEnd:[{onAngleEndChange:0}],radius:[{onRadiusChange:0}],size:[{onSizeChange:0}],opened:[{onOpenedChange:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-radial-menu-angle-start:0deg;--mds-radial-menu-angle-end:360deg;--mds-radial-menu-context-menu-z-index:var(--magma-context-menu-z-index,8000);--mds-radial-menu-delay:10ms;--mds-radial-menu-direction:-1;--mds-radial-menu-disc-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))/.5);--mds-radial-menu-disc-filter:blur(8px);--mds-radial-menu-disc-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-radial-menu-disc-size:calc(var(--mds-radial-menu-radius,5rem)*2);--mds-radial-menu-radius:5rem;--mds-radial-menu-transition-duration:.5s;--mds-radial-menu-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-radial-menu-nth-siblings:0;--mds-radial-menu-disc-delay:0s;--mds-radial-menu-disc-scale:0;--mds-radial-menu-radius-current:0;--mds-radial-menu-is-full-circle:1;--mds-radial-menu-is-start-greater-than-end:1;display:inline-flex;position:relative;-webkit-transition-duration:var(--mds-radial-menu-transition-duration);transition-duration:var(--mds-radial-menu-transition-duration);transition-property:top,left;-webkit-transition-timing-function:var(--mds-radial-menu-transition-timing-function);transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:var(--magma-dropdown-z-index,5000)}:host([direction=clockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*-1)}:host([direction=counterclockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*1)}.menu-button{border-radius:100%;position:relative;transform:scale(1);-webkit-transition-duration:var(--mds-radial-menu-transition-duration);transition-duration:var(--mds-radial-menu-transition-duration);-webkit-transition-timing-function:var(--mds-radial-menu-transition-timing-function);transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:2}:host(:not([opened])) .menu-button--hidden{transform:scale(0)}.radial-menu{inset:0;pointer-events:none;position:absolute;-webkit-transition-delay:calc((var(--mds-radial-menu-nth-siblings)*2)*var(--mds-radial-menu-delay,10ms));transition-delay:calc((var(--mds-radial-menu-nth-siblings)*2)*var(--mds-radial-menu-delay,10ms));transition-property:z-index;z-index:3}:host(:not([opened])) .radial-menu{transition-delay:0s;z-index:1}:host(:not([opened])){--mds-radial-menu-radius-current:0}:host([opened]){--mds-radial-menu-radius-current:var(--mds-radial-menu-radius,5rem)}:host([opened]) ::slotted(mds-radial-menu-item){pointer-events:auto;transform:scale(1)}::slotted(mds-radial-menu-item){--mds-radial-menu-item-offset-per-child:calc((var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg))/(var(--mds-radial-menu-nth-siblings) + var(--mds-radial-menu-is-full-circle)));--mds-radial-menu-item-angle-offset:calc(var(--mds-radial-menu-direction,-1)*var(--mds-radial-menu-item-index)*var(--mds-radial-menu-item-offset-per-child));--mds-radial-menu-item-delay:calc((var(--mds-radial-menu-item-index) + 1)*var(--mds-radial-menu-delay,10ms));--mds-radial-menu-item-translate:calc(cos((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current)) calc(sin((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current) * -1)}.disc{--size:calc(var(--mds-radial-menu-disc-size,calc(5rem * 2)) + var(--mds-radial-menu-radius,5rem));-webkit-backdrop-filter:var(--mds-radial-menu-disc-filter);backdrop-filter:var(--mds-radial-menu-disc-filter);background-color:var(--mds-radial-menu-disc-background,rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))/.5));border-radius:100%;-webkit-box-shadow:var(--mds-radial-menu-disc-shadow);box-shadow:var(--mds-radial-menu-disc-shadow);display:inline-flex;height:var(--size);inset:50%;position:absolute;-webkit-transform:translate(-50%,-50%) scale(var(--mds-radial-menu-disc-scale));transform:translate(-50%,-50%) scale(var(--mds-radial-menu-disc-scale));-webkit-transition-delay:var(--mds-radial-menu-disc-delay);transition-delay:var(--mds-radial-menu-disc-delay);-webkit-transition-duration:var(--mds-radial-menu-transition-duration);transition-duration:var(--mds-radial-menu-transition-duration);transition-property:height,transform,width;-webkit-transition-timing-function:var(--mds-radial-menu-transition-timing-function);transition-timing-function:var(--mds-radial-menu-transition-timing-function);width:var(--size);z-index:0}:host(:not([opened][disc])){--mds-radial-menu-disc-scale:0;--mds-radial-menu-disc-delay:calc((var(--mds-radial-menu-nth-siblings) + 1)*var(--mds-radial-menu-delay,10ms))}:host([opened][disc]){--mds-radial-menu-disc-scale:1;--mds-radial-menu-disc-delay:0s}:host([interaction=rightclick]){position:fixed;z-index:var(--mds-radial-menu-context-menu-z-index,var(--magma-context-menu-z-index,8000))}"}},[257,"mds-radial-menu",{angleStart:[514,"angle-start"],angleEnd:[514,"angle-end"],radius:[514],direction:[513],opened:[1540],disc:[1540],backdrop:[516],interaction:[513],icon:[1537],variant:[513],tone:[513],size:[513]},void 0,{disc:[{onDiscChanged:0}],backdrop:[{backdropChanged:0}],interaction:[{onInteractionChange:0}],angleStart:[{onAngleStartChange:0}],angleEnd:[{onAngleEndChange:0}],radius:[{onRadiusChange:0}],size:[{onSizeChange:0}],opened:[{onOpenedChange:0}]}]),g=h,v=function(){"undefined"!=typeof customElements&&["mds-radial-menu","mds-button","mds-icon","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-radial-menu":customElements.get(e(a))||customElements.define(e(a),h);break;case"mds-button":customElements.get(e(a))||o();break;case"mds-icon":customElements.get(e(a))||l();break;case"mds-spinner":customElements.get(e(a))||u();break;case"mds-text":customElements.get(e(a))||c()}}))};export{g as MdsRadialMenu,v as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as s}from"./p-CUQ7WIXh.js";const p=o,r=s;export{p as MdsRadialProgress,r as defineCustomElement}
1
+ import{M as o,d as s}from"./p-B3Z2Goa-.js";const a=o,p=s;export{a as MdsRadialProgress,p as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as s}from"./p-BTHR4xXu.js";const p=o,r=s;export{p as MdsSeparator,r as defineCustomElement}
1
+ import{M as s,d as o}from"./p-BSs0SO-j.js";const p=s,r=o;export{p as MdsSeparator,r as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as s}from"./p-C58NKMEE.js";const p=o,r=s;export{p as MdsSpinner,r as defineCustomElement}
1
+ import{M as o,d as s}from"./p-CHAvkoj3.js";const p=o,r=s;export{p as MdsSpinner,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as a,H as s,h as t,c as r,t as e}from"./p-BhFTcUD0.js";import{p as o}from"./p-CvIFS8oA.js";import{d as i}from"./p-kff6xSdW.js";import{d}from"./p-qketFgr0.js";import{d as m}from"./p-BShLEry5.js";import{d as c}from"./p-C58NKMEE.js";import{d as n}from"./p-BZFyAX-6.js";const p=a(class extends s{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.overflow="manual",this.position="bottom-right"}componentDidLoad(){var a;this.modal=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".modal"),this.modal.hideBackdrop=!0}handleVisbilityProp(a){!1===a&&(this.visible=void 0)}async hide(){this.visible=void 0}render(){return t(r,{key:"b936d4e3fc3c636b8e8999cd91dc8b2abf8d1484","pref-consumption":o.state.consumption,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},t("mds-modal",{key:"f25d2a41d034098a702507b12c05aa49c3726cb1",class:"modal",opened:this.visible,position:this.position,animation:"custom",overflow:this.overflow},t("div",{key:"02bf4147fb7ba9e8bacea3c9ce3f69ce7c69be02",class:"status-bar-area",part:"status-bar-area",slot:"window"},t("div",{key:"5eb1822ac0b4d308f17ca2a38f4055c23083cff3",class:"status-bar",part:"status-bar"},this.description&&t("mds-text",{key:"aaf2d243d81c374f7bde3b062bd1a742f2b0411c",typography:"caption",class:"description"},this.description),t("div",{key:"ff7122e6c36f3694e9563e6665704932c56ce1cf",class:"actions",part:"actions"},t("slot",{key:"f417fd05a17ec9e0d3da7bcecd6c81d9c82321ac"}))))))}get host(){return this}static get watchers(){return{visible:[{handleVisbilityProp:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-modal,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-status-bar-max-width:500px;--mds-status-bar-backdrop:rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.1);--mds-status-bar-backdrop-filter:blur(10px);display:block}mds-modal{--mds-modal-custom-window-distance:0;--mds-modal-custom-closed-transform:translateY(100%)}.status-bar-area{-webkit-backdrop-filter:var(--mds-status-bar-backdrop-filter);backdrop-filter:var(--mds-status-bar-backdrop-filter);background-color:var(--mds-status-bar-backdrop,rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.1));border-radius:var(--radius-xl,20px) var(--radius-xl,20px) 0 0;margin-left:calc(var(--spacing,.0025rem)*600);margin-right:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*600);transition-property:background-color,transform,opacity}.status-bar{align-items:flex-start;background-color:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--radius-lg,16px);-webkit-box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);max-width:var(--mds-status-bar-max-width,500px);padding:calc(var(--spacing,.0025rem)*600)}.actions,.status-bar{display:inline-flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*400)}.actions{flex-grow:1}:host([pref-consumption=medium]){--mds-status-bar-backdrop-filter:none}:host([pref-contrast=more]){--mds-status-bar-backdrop:rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .status-bar{-webkit-box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15));box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}@media (max-width:480px){.status-bar-area{border-radius:0;margin-left:0;margin-right:0;padding:calc(var(--spacing,.0025rem)*400);width:100%}.status-bar{width:100%}.actions{gap:calc(var(--spacing,.0025rem)*200)}::slotted(*){flex-grow:1}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-status-bar-backdrop:rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .status-bar{-webkit-box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15));box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}}"}},[257,"mds-status-bar",{description:[513],overflow:[513],position:[513],visible:[1540],hide:[64]},void 0,{visible:[{handleVisbilityProp:0}]}]),l=p,b=function(){"undefined"!=typeof customElements&&["mds-status-bar","mds-button","mds-icon","mds-modal","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-status-bar":customElements.get(e(a))||customElements.define(e(a),p);break;case"mds-button":customElements.get(e(a))||i();break;case"mds-icon":customElements.get(e(a))||d();break;case"mds-modal":customElements.get(e(a))||m();break;case"mds-spinner":customElements.get(e(a))||c();break;case"mds-text":customElements.get(e(a))||n()}}))};export{l as MdsStatusBar,b as defineCustomElement}
1
+ import{p as a,H as s,h as t,c as r,t as e}from"./p-pBvN1uAc.js";import{p as o}from"./p-zHpei4x6.js";import{d}from"./p-B6FOPjps.js";import{d as i}from"./p-Bv2IVRzI.js";import{d as m}from"./p-vgIKH234.js";import{d as n}from"./p-CHAvkoj3.js";import{d as c}from"./p-C7EyV0z3.js";const p=a(class extends s{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.overflow="manual",this.position="bottom-right"}componentDidLoad(){var a;this.modal=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".modal"),this.modal.hideBackdrop=!0}handleVisbilityProp(a){!1===a&&(this.visible=void 0)}async hide(){this.visible=void 0}render(){return t(r,{key:"bd6bfd16462641ae9615244e07cf6763132a306d","pref-consumption":o.state.consumption,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},t("mds-modal",{key:"732b0dfe1a9381af936223368fb465fbddc92ec5",class:"modal",opened:this.visible,position:this.position,animation:"custom",overflow:this.overflow},t("div",{key:"4bf29ca7e0a5c2a3b6de185a9a46b9bd7fec303a",class:"status-bar-area",part:"status-bar-area",slot:"window"},t("div",{key:"4c75b2debf61033643adcfdd081e183ea307e0df",class:"status-bar",part:"status-bar"},this.description&&t("mds-text",{key:"7d84aea317475f83ad108087b4ed69d3fff2442b",typography:"caption",class:"description"},this.description),t("div",{key:"def363df5232c8299c886cc17a5e82722297c858",class:"actions",part:"actions"},t("slot",{key:"8a19184549793d1f7471af3c65366eca56a3687a"}))))))}get host(){return this}static get watchers(){return{visible:[{handleVisbilityProp:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-modal,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-status-bar-max-width:500px;--mds-status-bar-backdrop:rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.1);--mds-status-bar-backdrop-filter:blur(10px);display:block}mds-modal{--mds-modal-custom-window-distance:0;--mds-modal-custom-closed-transform:translateY(100%)}.status-bar-area{-webkit-backdrop-filter:var(--mds-status-bar-backdrop-filter);backdrop-filter:var(--mds-status-bar-backdrop-filter);background-color:var(--mds-status-bar-backdrop,rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.1));border-radius:var(--radius-xl,20px) var(--radius-xl,20px) 0 0;margin-left:calc(var(--spacing,.0025rem)*600);margin-right:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*600);transition-property:background-color,transform,opacity}.status-bar{align-items:flex-start;background-color:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--radius-lg,16px);-webkit-box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);max-width:var(--mds-status-bar-max-width,500px);padding:calc(var(--spacing,.0025rem)*600)}.actions,.status-bar{display:inline-flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*400)}.actions{flex-grow:1}:host([pref-consumption=medium]){--mds-status-bar-backdrop-filter:none}:host([pref-contrast=more]){--mds-status-bar-backdrop:rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .status-bar{-webkit-box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15));box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}@media (max-width:480px){.status-bar-area{border-radius:0;margin-left:0;margin-right:0;padding:calc(var(--spacing,.0025rem)*400);width:100%}.status-bar{width:100%}.actions{gap:calc(var(--spacing,.0025rem)*200)}::slotted(*){flex-grow:1}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-status-bar-backdrop:rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .status-bar{-webkit-box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15));box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}}"}},[257,"mds-status-bar",{description:[513],overflow:[513],position:[513],visible:[1540],hide:[64]},void 0,{visible:[{handleVisbilityProp:0}]}]),l=p,b=function(){"undefined"!=typeof customElements&&["mds-status-bar","mds-button","mds-icon","mds-modal","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-status-bar":customElements.get(e(a))||customElements.define(e(a),p);break;case"mds-button":customElements.get(e(a))||d();break;case"mds-icon":customElements.get(e(a))||i();break;case"mds-modal":customElements.get(e(a))||m();break;case"mds-spinner":customElements.get(e(a))||n();break;case"mds-text":customElements.get(e(a))||c()}}))};export{l as MdsStatusBar,b as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,d as a,h as r,c as s,t as i}from"./p-BhFTcUD0.js";import{c as n}from"./p-ChV9xqsO.js";import{K as o}from"./p-KRu9I7dw.js";import{L as m}from"./p-Bss3F51Q.js";import{p}from"./p-CvIFS8oA.js";import{d}from"./p-C1xZO_fq.js";import{d as c}from"./p-qketFgr0.js";import{d as b}from"./p-DCrjf0F0.js";import{d as u}from"./p-CUQ7WIXh.js";import{d as g}from"./p-BZFyAX-6.js";var l={badgeDone:"Ολοκληρώθηκε",badgeCurrent:"Καθημερινή",badgeQueued:"Σε αναμονή",step:"Βήμα {{ index }}"},v={badgeDone:"Done",badgeCurrent:"Current",badgeQueued:"Queued",step:"Step {{ index }}"},h={badgeDone:"Completado",badgeCurrent:"En curso",badgeQueued:"En cola",step:"Paso {{ index }}"},f={badgeDone:"Completato",badgeCurrent:"In corso",badgeQueued:"In coda",step:"Step {{ index }}"};const x=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.doneEvent=a(this,"mdsStepperBarItemDone",7),this.km=new o,this.t=new m({el:l,en:v,es:h,it:f}),this.iconChecked=this.icon,this.done=!1,this.current=!1,this.typography="h6",this.showBadge=()=>this.isDone?r("mds-badge",{class:"badge",variant:"success",tone:"weak",typography:"option"},this.t.get("badgeDone")):this.isCurrent?r("mds-badge",{class:"badge",variant:"info",tone:"weak",typography:"option"},this.t.get("badgeCurrent")):r("mds-badge",{class:"badge",variant:"dark",tone:"weak",typography:"option"},this.t.get("badgeQueued"))}componentWillLoad(){this.isCurrent=this.current,this.isDone=this.done;const e=this.host.parentElement;e&&(this.index=Array.from(e.children).filter((e=>e.tagName===this.host.tagName)).indexOf(this.host))}componentDidLoad(){this.km.addElement(this.host),this.km.attachClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}selectedHandler(e){this.isDone=e}currentHandler(e){this.isCurrent=e}render(){return r(s,{key:"76613b70e079b98f95f090b5dae2a8fcc284bd00","pref-animation":p.state.animation},r("div",{key:"203b989ddfe1c7210f5a3fa58ad0531ff16f0ceb",class:"header"},r("mds-icon",{key:"eb2ac2c896f449884532144204240be3b9762b5c",class:"icon",name:n(this.isDone&&!this.isCurrent?this.iconChecked:this.icon)}),r("mds-progress",{key:"e1b9592f8f8e0a4d11149040c544a395219abfe9","aria-hidden":"true",class:"progress",progress:this.isDone?1:0})),r("div",{key:"d1b155a6f87d4ae4378cc5f74fe634ef8c55e96f",class:"infos"},this.step&&r("mds-text",{key:"bf08860ae9f87eef75122e68f10c905f9c99ef90",class:"step",typography:"option"},this.t.get("step",{index:this.index+1})),this.label&&r("mds-text",{key:"f2e3370be74e7b104d64e1618e0a400e2cd50a37",class:"text",typography:this.typography},this.label),this.badge&&r("div",{key:"1b8a2d7a15e6aba58e1b264c8e6dbc217b0c7a5c",part:"badge"},this.showBadge())))}get host(){return this}static get watchers(){return{done:[{selectedHandler:0}],current:[{currentHandler:0}]}}static get style(){return'@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-stepper-bar-item-header-gap:var(--mds-stepper-bar-gap,calc(var(--spacing,.0025rem)*50));--mds-stepper-bar-item-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-stepper-bar-item-duration:.25s;--private-stepper-bar-item-duaration:var(--mds-stepper-bar-item-duration,.25s);--mds-stepper-bar-item-transition-duration:var(--duration-200,.2s);--private-stepper-bar-item-transition-duration:var(--mds-stepper-bar-item-transition-duration);--mds-stepper-bar-item-icon-background-done:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-icon-background-current:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));--mds-stepper-bar-item-icon-color-done:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-stepper-bar-item-icon-color-current:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-stepper-bar-item-icon-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-stepper-bar-item-min-width:180px;--mds-stepper-bar-item-progress-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-stepper-bar-item-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-progress-thickness:calc(var(--spacing,.0025rem)*200);align-items:flex-start;border-radius:var(--radius-xl,20px);display:grid;flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*400);min-width:var(--mds-stepper-bar-item-min-width,180px);position:relative;scroll-snap-align:center;-webkit-transition-duration:var(--private-stepper-bar-item-duaration);transition-duration:var(--private-stepper-bar-item-duaration);transition-property:outline,outline-offset,background-color}:host(:last-of-type){-ms-flex-preferred-size:calc(var(--spacing,.0025rem)*100);flex-basis:calc(var(--spacing,.0025rem)*100)}:host(:last-of-type) .progress{display:none}:host([done]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-done,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-done,rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));transition-delay:0s}:host([current]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-current,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-current,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));-webkit-transition-delay:calc(var(--private-stepper-bar-item-duaration)/2);transition-delay:calc(var(--private-stepper-bar-item-duaration)/2)}.header{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));align-items:center;border-radius:var(--radius-md,12px);display:flex;gap:var(--mds-stepper-bar-item-header-gap);-webkit-transition-duration:var(--private-stepper-bar-item-transition-duration);transition-duration:var(--private-stepper-bar-item-transition-duration);transition-property:outline,outline-offset;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:100%}.icon{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-stepper-bar-item-icon-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));border-radius:var(--radius-full,1000px);display:flex;fill:var(--mds-stepper-bar-item-icon-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));flex-shrink:0;padding:calc(var(--spacing,.0025rem)*200);position:relative;-webkit-transition-duration:var(--private-stepper-bar-item-duaration);transition-duration:var(--private-stepper-bar-item-duaration);transition-property:background-color,fill;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.progress{--mds-progress-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));--mds-progress-color:var(--mds-stepper-bar-item-progress-color,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-progress-thickness:var(--mds-stepper-bar-item-progress-thickness,calc(var(--spacing,.0025rem)*200));--mds-progress-radius:0;flex-grow:1}.infos{display:grid;gap:calc(var(--spacing,.0025rem)*100);padding-left:calc(var(--spacing,.0025rem)*100)}.text{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));color:var(--mds-stepper-bar-item-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));pointer-events:none;-webkit-transition-duration:var(--private-stepper-bar-item-duaration);transition-duration:var(--private-stepper-bar-item-duaration);transition-property:color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.badge,.step{border-radius:var(--radius-full,1000px);pointer-events:none}.step{color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}}'}},[1,"mds-stepper-bar-item",{label:[1],step:[4],badge:[1540],icon:[1],iconChecked:[1,"icon-checked"],done:[516],current:[1540],value:[513],typography:[1],isDone:[32],isCurrent:[32],index:[32]},void 0,{done:[{selectedHandler:0}],current:[{currentHandler:0}]}]),y=x,k=function(){"undefined"!=typeof customElements&&["mds-stepper-bar-item","mds-badge","mds-icon","mds-progress","mds-radial-progress","mds-text"].forEach((e=>{switch(e){case"mds-stepper-bar-item":customElements.get(i(e))||customElements.define(i(e),x);break;case"mds-badge":customElements.get(i(e))||d();break;case"mds-icon":customElements.get(i(e))||c();break;case"mds-progress":customElements.get(i(e))||b();break;case"mds-radial-progress":customElements.get(i(e))||u();break;case"mds-text":customElements.get(i(e))||g()}}))};export{y as MdsStepperBarItem,k as defineCustomElement}
1
+ import{p as e,H as t,d as a,h as r,c as s,t as i}from"./p-pBvN1uAc.js";import{c as n}from"./p-ChV9xqsO.js";import{K as o}from"./p-KRu9I7dw.js";import{L as m}from"./p--miH951G.js";import{p}from"./p-zHpei4x6.js";import{d}from"./p-BpGzrg1C.js";import{d as c}from"./p-Bv2IVRzI.js";import{d as u}from"./p-B7CR1EtF.js";import{d as b}from"./p-B3Z2Goa-.js";import{d as g}from"./p-C7EyV0z3.js";var l={badgeDone:"Ολοκληρώθηκε",badgeCurrent:"Καθημερινή",badgeQueued:"Σε αναμονή",step:"Βήμα {{ index }}"},v={badgeDone:"Done",badgeCurrent:"Current",badgeQueued:"Queued",step:"Step {{ index }}"},h={badgeDone:"Completado",badgeCurrent:"En curso",badgeQueued:"En cola",step:"Paso {{ index }}"},f={badgeDone:"Completato",badgeCurrent:"In corso",badgeQueued:"In coda",step:"Step {{ index }}"};const x=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.doneEvent=a(this,"mdsStepperBarItemDone",7),this.km=new o,this.t=new m({el:l,en:v,es:h,it:f}),this.iconChecked=this.icon,this.done=!1,this.current=!1,this.typography="h6",this.showBadge=()=>this.isDone?r("mds-badge",{class:"badge",variant:"success",tone:"weak",typography:"option"},this.t.get("badgeDone")):this.isCurrent?r("mds-badge",{class:"badge",variant:"info",tone:"weak",typography:"option"},this.t.get("badgeCurrent")):r("mds-badge",{class:"badge",variant:"dark",tone:"weak",typography:"option"},this.t.get("badgeQueued"))}componentWillLoad(){this.isCurrent=this.current,this.isDone=this.done;const e=this.host.parentElement;e&&(this.index=Array.from(e.children).filter((e=>e.tagName===this.host.tagName)).indexOf(this.host))}componentDidLoad(){this.km.addElement(this.host),this.km.attachClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}selectedHandler(e){this.isDone=e}currentHandler(e){this.isCurrent=e}render(){return r(s,{key:"32426f578d3c59b6aef858e86cf8c655cd3e6a77","pref-animation":p.state.animation},r("div",{key:"5dd6a64bf11e982e1a1e0b1fdf650574e3c3d28d",class:"header"},r("mds-icon",{key:"5955690265e97034af19660a8ea6e3dabdd1b64c",class:"icon",name:n(this.isDone&&!this.isCurrent?this.iconChecked:this.icon)}),r("mds-progress",{key:"f82e8b00a1e98457abb9fe51619d409f117234f3","aria-hidden":"true",class:"progress",progress:this.isDone?1:0})),r("div",{key:"26559ee3895161f4dc4d4ccc723c7de4266391c8",class:"infos"},this.step&&r("mds-text",{key:"3a8cad7a0216497e584e9c6ad3f05d0564a8d519",class:"step",typography:"option"},this.t.get("step",{index:this.index+1})),this.label&&r("mds-text",{key:"269771ed702836a71bf397662b7691d36bc75113",class:"text",typography:this.typography},this.label),this.badge&&r("div",{key:"17bb222483ec1e05d2c5a0aef793ffa537f90806",part:"badge"},this.showBadge())))}get host(){return this}static get watchers(){return{done:[{selectedHandler:0}],current:[{currentHandler:0}]}}static get style(){return'@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-stepper-bar-item-header-gap:var(--mds-stepper-bar-gap,calc(var(--spacing,.0025rem)*50));--mds-stepper-bar-item-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-stepper-bar-item-duration:.25s;--private-stepper-bar-item-duaration:var(--mds-stepper-bar-item-duration,.25s);--mds-stepper-bar-item-transition-duration:var(--duration-200,.2s);--private-stepper-bar-item-transition-duration:var(--mds-stepper-bar-item-transition-duration);--mds-stepper-bar-item-icon-background-done:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-icon-background-current:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));--mds-stepper-bar-item-icon-color-done:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-stepper-bar-item-icon-color-current:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-stepper-bar-item-icon-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-stepper-bar-item-min-width:180px;--mds-stepper-bar-item-progress-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-stepper-bar-item-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-progress-thickness:calc(var(--spacing,.0025rem)*200);align-items:flex-start;border-radius:var(--radius-xl,20px);display:grid;flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*400);min-width:var(--mds-stepper-bar-item-min-width,180px);position:relative;scroll-snap-align:center;-webkit-transition-duration:var(--private-stepper-bar-item-duaration);transition-duration:var(--private-stepper-bar-item-duaration);transition-property:outline,outline-offset,background-color}:host(:last-of-type){-ms-flex-preferred-size:calc(var(--spacing,.0025rem)*100);flex-basis:calc(var(--spacing,.0025rem)*100)}:host(:last-of-type) .progress{display:none}:host([done]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-done,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-done,rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));transition-delay:0s}:host([current]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-current,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-current,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));-webkit-transition-delay:calc(var(--private-stepper-bar-item-duaration)/2);transition-delay:calc(var(--private-stepper-bar-item-duaration)/2)}.header{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));align-items:center;border-radius:var(--radius-md,12px);display:flex;gap:var(--mds-stepper-bar-item-header-gap);-webkit-transition-duration:var(--private-stepper-bar-item-transition-duration);transition-duration:var(--private-stepper-bar-item-transition-duration);transition-property:outline,outline-offset;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:100%}.icon{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-stepper-bar-item-icon-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));border-radius:var(--radius-full,1000px);display:flex;fill:var(--mds-stepper-bar-item-icon-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));flex-shrink:0;padding:calc(var(--spacing,.0025rem)*200);position:relative;-webkit-transition-duration:var(--private-stepper-bar-item-duaration);transition-duration:var(--private-stepper-bar-item-duaration);transition-property:background-color,fill;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.progress{--mds-progress-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));--mds-progress-color:var(--mds-stepper-bar-item-progress-color,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-progress-thickness:var(--mds-stepper-bar-item-progress-thickness,calc(var(--spacing,.0025rem)*200));--mds-progress-radius:0;flex-grow:1}.infos{display:grid;gap:calc(var(--spacing,.0025rem)*100);padding-left:calc(var(--spacing,.0025rem)*100)}.text{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));color:var(--mds-stepper-bar-item-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));pointer-events:none;-webkit-transition-duration:var(--private-stepper-bar-item-duaration);transition-duration:var(--private-stepper-bar-item-duaration);transition-property:color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.badge,.step{border-radius:var(--radius-full,1000px);pointer-events:none}.step{color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}}'}},[1,"mds-stepper-bar-item",{label:[1],step:[4],badge:[1540],icon:[1],iconChecked:[1,"icon-checked"],done:[516],current:[1540],value:[513],typography:[1],isDone:[32],isCurrent:[32],index:[32]},void 0,{done:[{selectedHandler:0}],current:[{currentHandler:0}]}]),y=x,k=function(){"undefined"!=typeof customElements&&["mds-stepper-bar-item","mds-badge","mds-icon","mds-progress","mds-radial-progress","mds-text"].forEach((e=>{switch(e){case"mds-stepper-bar-item":customElements.get(i(e))||customElements.define(i(e),x);break;case"mds-badge":customElements.get(i(e))||d();break;case"mds-icon":customElements.get(i(e))||c();break;case"mds-progress":customElements.get(i(e))||u();break;case"mds-radial-progress":customElements.get(i(e))||b();break;case"mds-text":customElements.get(i(e))||g()}}))};export{y as MdsStepperBarItem,k as defineCustomElement}
@@ -1 +1 @@
1
- import{p as r,H as t,d as s,h as e,c as a,t as o}from"./p-BhFTcUD0.js";const i=r(class extends t{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.changedEvent=s(this,"mdsStepperBarChange",7),this.currentItem=0,this.itemsDone=1,this.navigation="none",this.queryItems=()=>this.element.querySelectorAll("mds-stepper-bar-item"),this.queryContentItems=()=>this.element.querySelectorAll("[slot=content]"),this.minmax=(r,t,s)=>Math.min(Math.max(r,t),s),this.setCurrent=r=>{this.items=this.queryItems(),this.currentItem=r-1;const t=[];this.items.forEach(((r,s)=>{var e;if(r.done=!1,s<this.currentItem){r.done=!0;const s=null!==(e=r.value)&&void 0!==e?e:"";""!==s&&t.push(s)}r.current=!1,s===this.currentItem&&(r.current=!0,this.currentItem=s)})),this.changedEvent.emit({value:""+t,step:this.currentItem}),this.scrollItems(),this.setCurrentContent()},this.setCurrentContent=()=>{this.contentItems.forEach(((r,t)=>{r.classList.add("hidden"),t===this.currentItem&&r.classList.remove("hidden")}))},this.scrollItems=()=>{var r;const t=null===(r=this.element.shadowRoot)||void 0===r?void 0:r.querySelector(".items"),s=this.queryItems(),e=this.minmax(this.currentItem,0,this.items.length-1);if(!t)throw Error("No mds-stepper-bar-items found");e<=0?t.scrollLeft=0:e>=s.length?this.scrollToItem(t,s[s.length-1],"start"):this.scrollToItem(t,s[e],"centre")},this.scrollToItem=(r,t,s)=>{const e=r.getBoundingClientRect(),a=t.getBoundingClientRect();r.scrollLeft+=a.left-e.left-("centre"===s?(e.width-a.width)/2:0)}}componentWillLoad(){this.items=this.queryItems(),this.items.forEach(((r,t)=>{r.id="mds-stepper-bar-item-"+t}))}componentDidLoad(){this.contentItems=this.queryContentItems(),this.setCurrent(this.itemsDone)}itemDone(r){this.setCurrent(r)}changeEventHandler(r){this.items=this.queryItems(),this.items.forEach(((t,s)=>{t.done=!1,"mds-stepper-bar-item-"+s===r.detail&&(t.current=!0,this.currentItem=s)}))}render(){return e(a,{key:"35f536c577499c237e0a5b1865c2dcfaa5735d72"},e("div",{key:"5c204cc4ca343076982d3357e7645cc8770a22be",class:"items",part:"items"},e("slot",{key:"69c3b461ada662e58051b875411781a862ff565d"})),e("div",{key:"7fb5381e1126a5227b50ecc202154e44928aab5e",class:"contents",part:"contents"},e("slot",{key:"535d40033b20590f72e9fef336bda3ed7b06cead",name:"content"})))}get element(){return this}static get watchers(){return{itemsDone:[{itemDone:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-progress,mds-stepper-bar-item):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-stepper-bar-gap:calc(var(--spacing,.0025rem)*50);--mds-stepper-bar-offset-margin:0;--mds-stepper-bar-scroll-behavior:smooth;--mds-stepper-bar-scrollbar-margin:0;--mds-stepper-bar-scrollbar-radius:0;--mds-stepper-bar-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-stepper-bar-scrollbar-thumb-background:rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140))));--mds-stepper-bar-scrollbar-track-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));display:grid;gap:calc(var(--spacing,.0025rem)*600);position:relative}.items{align-items:start;display:flex;flex-grow:1;gap:var(--mds-stepper-bar-gap);margin:0 calc(var(--mds-stepper-bar-offset-margin,0)*-1);overflow:auto;padding:0 var(--mds-stepper-bar-offset-margin,0);position:relative;scroll-behavior:var(--mds-stepper-bar-scroll-behavior,smooth);-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;width:100%;z-index:10}:host([linear=true]) ::slotted(mds-stepper-bar-item),:host([linear]) ::slotted(mds-stepper-bar-item){pointer-events:none}:host([linear=false]) ::slotted(mds-stepper-bar-item){pointer-events:auto}.contents{display:flex;flex-direction:column;width:100%}:host(:not([navigation=scrollbar])) .items{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([navigation=scrollbar])) .items::-webkit-scrollbar{display:none}:host([navigation=scrollbar]) .items::-webkit-scrollbar{height:var(--mds-stepper-bar-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-stepper-bar-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([navigation=scrollbar]) .items::-webkit-scrollbar-track{background-color:var(--mds-stepper-bar-scrollbar-track-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));border-radius:var(--mds-stepper-bar-scrollbar-radius,0);margin-block:var(--mds-stepper-bar-scrollbar-margin,0);margin-inline:var(--mds-stepper-bar-scrollbar-margin,0)}:host([navigation=scrollbar]) .items::-webkit-scrollbar-thumb{background-color:var(--mds-stepper-bar-scrollbar-thumb-background,rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140)))));border-radius:var(--mds-stepper-bar-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.items{scrollbar-color:var(--mds-stepper-bar-scrollbar-thumb-background,rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140))))) var(--mds-stepper-bar-scrollbar-track-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));scrollbar-width:thin}}@media (prefers-reduced-motion:reduce){:host{--mds-stepper-bar-scroll-behavior:auto}}"}},[257,"mds-stepper-bar",{itemsDone:[2,"items-done"],navigation:[513],currentItem:[32]},[[0,"mdsStepperBarItemDone","changeEventHandler"]],{itemsDone:[{itemDone:0}]}]),n=i,l=function(){"undefined"!=typeof customElements&&["mds-stepper-bar"].forEach((r=>{"mds-stepper-bar"===r&&(customElements.get(o(r))||customElements.define(o(r),i))}))};export{n as MdsStepperBar,l as defineCustomElement}
1
+ import{p as r,H as t,d as s,h as e,c as a,t as o}from"./p-pBvN1uAc.js";const i=r(class extends t{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.changedEvent=s(this,"mdsStepperBarChange",7),this.currentItem=0,this.itemsDone=1,this.navigation="none",this.queryItems=()=>this.element.querySelectorAll("mds-stepper-bar-item"),this.queryContentItems=()=>this.element.querySelectorAll("[slot=content]"),this.minmax=(r,t,s)=>Math.min(Math.max(r,t),s),this.setCurrent=r=>{this.items=this.queryItems(),this.currentItem=r-1;const t=[];this.items.forEach(((r,s)=>{var e;if(r.done=!1,s<this.currentItem){r.done=!0;const s=null!==(e=r.value)&&void 0!==e?e:"";""!==s&&t.push(s)}r.current=!1,s===this.currentItem&&(r.current=!0,this.currentItem=s)})),this.changedEvent.emit({value:""+t,step:this.currentItem}),this.scrollItems(),this.setCurrentContent()},this.setCurrentContent=()=>{this.contentItems.forEach(((r,t)=>{r.classList.add("hidden"),t===this.currentItem&&r.classList.remove("hidden")}))},this.scrollItems=()=>{var r;const t=null===(r=this.element.shadowRoot)||void 0===r?void 0:r.querySelector(".items"),s=this.queryItems(),e=this.minmax(this.currentItem,0,this.items.length-1);if(!t)throw Error("No mds-stepper-bar-items found");e<=0?t.scrollLeft=0:e>=s.length?this.scrollToItem(t,s[s.length-1],"start"):this.scrollToItem(t,s[e],"centre")},this.scrollToItem=(r,t,s)=>{const e=r.getBoundingClientRect(),a=t.getBoundingClientRect();r.scrollLeft+=a.left-e.left-("centre"===s?(e.width-a.width)/2:0)}}componentWillLoad(){this.items=this.queryItems(),this.items.forEach(((r,t)=>{r.id="mds-stepper-bar-item-"+t}))}componentDidLoad(){this.contentItems=this.queryContentItems(),this.setCurrent(this.itemsDone)}itemDone(r){this.setCurrent(r)}changeEventHandler(r){this.items=this.queryItems(),this.items.forEach(((t,s)=>{t.done=!1,"mds-stepper-bar-item-"+s===r.detail&&(t.current=!0,this.currentItem=s)}))}render(){return e(a,{key:"6e70673f49ffcf8c703307b6571ba2b822036d8c"},e("div",{key:"1e0443df8ad7034c5af6e1a014a30702e5f973f4",class:"items",part:"items"},e("slot",{key:"5138d0f6c4acc13cc4ef6b074df127a69a13de37"})),e("div",{key:"01282be7099ae99fc3f4aadbd148e4df4570a7a1",class:"contents",part:"contents"},e("slot",{key:"806b797ff756d258e43f46517c2522a99c43c44a",name:"content"})))}get element(){return this}static get watchers(){return{itemsDone:[{itemDone:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-progress,mds-stepper-bar-item):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-stepper-bar-gap:calc(var(--spacing,.0025rem)*50);--mds-stepper-bar-offset-margin:0;--mds-stepper-bar-scroll-behavior:smooth;--mds-stepper-bar-scrollbar-margin:0;--mds-stepper-bar-scrollbar-radius:0;--mds-stepper-bar-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-stepper-bar-scrollbar-thumb-background:rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140))));--mds-stepper-bar-scrollbar-track-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));display:grid;gap:calc(var(--spacing,.0025rem)*600);position:relative}.items{align-items:start;display:flex;flex-grow:1;gap:var(--mds-stepper-bar-gap);margin:0 calc(var(--mds-stepper-bar-offset-margin,0)*-1);overflow:auto;padding:0 var(--mds-stepper-bar-offset-margin,0);position:relative;scroll-behavior:var(--mds-stepper-bar-scroll-behavior,smooth);-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;width:100%;z-index:10}:host([linear=true]) ::slotted(mds-stepper-bar-item),:host([linear]) ::slotted(mds-stepper-bar-item){pointer-events:none}:host([linear=false]) ::slotted(mds-stepper-bar-item){pointer-events:auto}.contents{display:flex;flex-direction:column;width:100%}:host(:not([navigation=scrollbar])) .items{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([navigation=scrollbar])) .items::-webkit-scrollbar{display:none}:host([navigation=scrollbar]) .items::-webkit-scrollbar{height:var(--mds-stepper-bar-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-stepper-bar-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([navigation=scrollbar]) .items::-webkit-scrollbar-track{background-color:var(--mds-stepper-bar-scrollbar-track-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));border-radius:var(--mds-stepper-bar-scrollbar-radius,0);margin-block:var(--mds-stepper-bar-scrollbar-margin,0);margin-inline:var(--mds-stepper-bar-scrollbar-margin,0)}:host([navigation=scrollbar]) .items::-webkit-scrollbar-thumb{background-color:var(--mds-stepper-bar-scrollbar-thumb-background,rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140)))));border-radius:var(--mds-stepper-bar-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.items{scrollbar-color:var(--mds-stepper-bar-scrollbar-thumb-background,rgb(var(--magma-border-strong,var(--magma-tint-border-strong,var(--border-neutral-strong,140 140 140))))) var(--mds-stepper-bar-scrollbar-track-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));scrollbar-width:thin}}@media (prefers-reduced-motion:reduce){:host{--mds-stepper-bar-scroll-behavior:auto}}"}},[257,"mds-stepper-bar",{itemsDone:[2,"items-done"],navigation:[513],currentItem:[32]},[[0,"mdsStepperBarItemDone","changeEventHandler"]],{itemsDone:[{itemDone:0}]}]),n=i,l=function(){"undefined"!=typeof customElements&&["mds-stepper-bar"].forEach((r=>{"mds-stepper-bar"===r&&(customElements.get(o(r))||customElements.define(o(r),i))}))};export{n as MdsStepperBar,l as defineCustomElement}