@maggioli-design-system/magma 2.12.0 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1539) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +72 -0
  3. package/README.md +6 -5
  4. package/agents/assets.md +7 -6
  5. package/agents/color.md +7 -4
  6. package/agents/components.md +3 -2
  7. package/agents/conventions.md +11 -1
  8. package/agents/install.md +10 -3
  9. package/agents/patterns/actions.md +7 -6
  10. package/agents/patterns/empty-state.md +5 -7
  11. package/agents/patterns/previews/actions/banner.dark.webp +0 -0
  12. package/agents/patterns/previews/actions/banner.light.webp +0 -0
  13. package/agents/patterns/previews/actions/confirm.dark.webp +0 -0
  14. package/agents/patterns/previews/actions/confirm.light.webp +0 -0
  15. package/agents/patterns/previews/actions/danger-zone.dark.webp +0 -0
  16. package/agents/patterns/previews/actions/danger-zone.light.webp +0 -0
  17. package/agents/patterns/previews/actions/dismiss-message.light.webp +0 -0
  18. package/agents/patterns/previews/actions/dismiss.dark.webp +0 -0
  19. package/agents/patterns/previews/actions/dismiss.light.webp +0 -0
  20. package/agents/patterns/previews/actions/part-primary.light.webp +0 -0
  21. package/agents/patterns/previews/actions/stacked.light.webp +0 -0
  22. package/agents/patterns/previews/app-shell/back-office.light.webp +0 -0
  23. package/agents/patterns/previews/app-shell/many-sections.dark.webp +0 -0
  24. package/agents/patterns/previews/app-shell/many-sections.light.webp +0 -0
  25. package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
  26. package/agents/patterns/previews/app-shell/public-service.light.webp +0 -0
  27. package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
  28. package/agents/patterns/previews/app-shell/section-menus.light.webp +0 -0
  29. package/agents/patterns/previews/confirm-action/ask-before-sending.dark.webp +0 -0
  30. package/agents/patterns/previews/confirm-action/ask-before-sending.light.webp +0 -0
  31. package/agents/patterns/previews/confirm-action/ask-first-many.dark.webp +0 -0
  32. package/agents/patterns/previews/confirm-action/ask-first-many.light.webp +0 -0
  33. package/agents/patterns/previews/confirm-action/ask-first.dark.webp +0 -0
  34. package/agents/patterns/previews/confirm-action/ask-first.light.webp +0 -0
  35. package/agents/patterns/previews/confirm-action/make-reversible.dark.webp +0 -0
  36. package/agents/patterns/previews/confirm-action/make-reversible.light.webp +0 -0
  37. package/agents/patterns/previews/confirm-action/send-as-shown.dark.webp +0 -0
  38. package/agents/patterns/previews/confirm-action/send-as-shown.light.webp +0 -0
  39. package/agents/patterns/previews/empty-state/add-the-first.dark.webp +0 -0
  40. package/agents/patterns/previews/empty-state/add-the-first.html +5 -7
  41. package/agents/patterns/previews/empty-state/add-the-first.light.webp +0 -0
  42. package/agents/patterns/previews/empty-state/all-done.dark.webp +0 -0
  43. package/agents/patterns/previews/empty-state/all-done.html +5 -7
  44. package/agents/patterns/previews/empty-state/all-done.light.webp +0 -0
  45. package/agents/patterns/previews/empty-state/clear-filters.dark.webp +0 -0
  46. package/agents/patterns/previews/empty-state/clear-filters.html +4 -6
  47. package/agents/patterns/previews/empty-state/clear-filters.light.webp +0 -0
  48. package/agents/patterns/previews/empty-state/filled-by-others.dark.webp +0 -0
  49. package/agents/patterns/previews/empty-state/filled-by-others.html +5 -7
  50. package/agents/patterns/previews/empty-state/filled-by-others.light.webp +0 -0
  51. package/agents/patterns/previews/empty-state/not-found.dark.webp +0 -0
  52. package/agents/patterns/previews/empty-state/not-found.html +5 -7
  53. package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
  54. package/agents/patterns/previews/error-recovery/changed-meanwhile.dark.webp +0 -0
  55. package/agents/patterns/previews/error-recovery/changed-meanwhile.light.webp +0 -0
  56. package/agents/patterns/previews/error-recovery/check-or-repeat.light.webp +0 -0
  57. package/agents/patterns/previews/error-recovery/content-another-way.light.webp +0 -0
  58. package/agents/patterns/previews/error-recovery/partial.dark.webp +0 -0
  59. package/agents/patterns/previews/error-recovery/partial.light.webp +0 -0
  60. package/agents/patterns/previews/error-recovery/retry-action.light.webp +0 -0
  61. package/agents/patterns/previews/error-recovery/retry-content.dark.webp +0 -0
  62. package/agents/patterns/previews/error-recovery/sign-in-again.dark.webp +0 -0
  63. package/agents/patterns/previews/error-recovery/sign-in-again.light.webp +0 -0
  64. package/agents/patterns/previews/item-list/documents-of-a-request.dark.webp +0 -0
  65. package/agents/patterns/previews/item-list/documents-of-a-request.light.webp +0 -0
  66. package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
  67. package/agents/patterns/previews/item-list/queue-of-a-desk.html +1 -1
  68. package/agents/patterns/previews/item-list/queue-of-a-desk.light.webp +0 -0
  69. package/agents/patterns/previews/item-list/requests-of-an-office.dark.webp +0 -0
  70. package/agents/patterns/previews/item-list/requests-of-an-office.light.webp +0 -0
  71. package/agents/patterns/previews/item-list/requests-to-assign.dark.webp +0 -0
  72. package/agents/patterns/previews/item-list/requests-to-assign.html +3 -12
  73. package/agents/patterns/previews/item-list/requests-to-assign.light.webp +0 -0
  74. package/agents/patterns/previews/labels-and-values/payment-before-paying.dark.webp +0 -0
  75. package/agents/patterns/previews/labels-and-values/what-is-sent.dark.webp +0 -0
  76. package/agents/patterns/previews/labels-and-values/what-is-sent.light.webp +0 -0
  77. package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
  78. package/agents/patterns/previews/list-with-filters/act-on-many.html +2 -9
  79. package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
  80. package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
  81. package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
  82. package/agents/patterns/previews/list-with-filters/show-new-items.html +1 -1
  83. package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
  84. package/agents/patterns/previews/loading/await-and-say.dark.webp +0 -0
  85. package/agents/patterns/previews/loading/await-and-say.html +2 -5
  86. package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
  87. package/agents/patterns/previews/loading/first-load.light.webp +0 -0
  88. package/agents/patterns/previews/loading/keep-while-reloading.dark.webp +0 -0
  89. package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
  90. package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
  91. package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
  92. package/agents/patterns/previews/loading/long-load.light.webp +0 -0
  93. package/agents/patterns/previews/loading/progress-in-place.light.webp +0 -0
  94. package/agents/patterns/previews/message-placement/action-done-elsewhere.dark.webp +0 -0
  95. package/agents/patterns/previews/message-placement/action-done-elsewhere.light.webp +0 -0
  96. package/agents/patterns/previews/message-placement/action-failed-elsewhere.dark.webp +0 -0
  97. package/agents/patterns/previews/message-placement/action-failed-in-place.dark.webp +0 -0
  98. package/agents/patterns/previews/message-placement/action-failed-in-place.light.webp +0 -0
  99. package/agents/patterns/previews/message-placement/action-partial-in-place.dark.webp +0 -0
  100. package/agents/patterns/previews/message-placement/action-partial-in-place.light.webp +0 -0
  101. package/agents/patterns/previews/message-placement/app-deadline.dark.webp +0 -0
  102. package/agents/patterns/previews/message-placement/app-deadline.light.webp +0 -0
  103. package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
  104. package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
  105. package/agents/patterns/previews/message-placement/decision.light.webp +0 -0
  106. package/agents/patterns/previews/message-placement/field-error.dark.webp +0 -0
  107. package/agents/patterns/previews/message-placement/field-error.light.webp +0 -0
  108. package/agents/patterns/previews/message-placement/field-hint.light.webp +0 -0
  109. package/agents/patterns/previews/message-placement/field-valid.dark.webp +0 -0
  110. package/agents/patterns/previews/message-placement/field-valid.light.webp +0 -0
  111. package/agents/patterns/previews/message-placement/region-failed.dark.webp +0 -0
  112. package/agents/patterns/previews/message-placement/region-info.dark.webp +0 -0
  113. package/agents/patterns/previews/message-placement/region-info.light.webp +0 -0
  114. package/agents/patterns/previews/page-header/contact-being-edited.dark.webp +0 -0
  115. package/agents/patterns/previews/page-header/contact-being-edited.light.webp +0 -0
  116. package/agents/patterns/previews/page-header/members-of-a-group.light.webp +0 -0
  117. package/agents/patterns/previews/page-header/request-from-the-list.dark.webp +0 -0
  118. package/agents/patterns/previews/record-detail/ask-for-words.dark.webp +0 -0
  119. package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
  120. package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
  121. package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
  122. package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
  123. package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
  124. package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
  125. package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
  126. package/agents/patterns/previews/record-detail/run-at-once.light.webp +0 -0
  127. package/agents/patterns/previews/record-detail/work-on-it.dark.webp +0 -0
  128. package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
  129. package/agents/patterns/previews/rhythm/between-containers.dark.webp +0 -0
  130. package/agents/patterns/previews/rhythm/between-containers.light.webp +0 -0
  131. package/agents/patterns/previews/rhythm/between-fields.dark.webp +0 -0
  132. package/agents/patterns/previews/rhythm/between-fields.light.webp +0 -0
  133. package/agents/patterns/previews/rhythm/between-groups.light.webp +0 -0
  134. package/agents/patterns/previews/rhythm/between-sections.dark.webp +0 -0
  135. package/agents/patterns/previews/rhythm/between-sections.light.webp +0 -0
  136. package/agents/patterns/previews/rhythm/inline.light.webp +0 -0
  137. package/agents/patterns/previews/rhythm/inset.dark.webp +0 -0
  138. package/agents/patterns/previews/rhythm/inset.light.webp +0 -0
  139. package/agents/patterns/previews/rhythm/title-content.dark.webp +0 -0
  140. package/agents/patterns/previews/rhythm/title-content.light.webp +0 -0
  141. package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
  142. package/agents/patterns/previews/surfaces/band.light.webp +0 -0
  143. package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
  144. package/agents/patterns/previews/surfaces/canvas.light.webp +0 -0
  145. package/agents/patterns/previews/surfaces/card.dark.webp +0 -0
  146. package/agents/patterns/previews/surfaces/card.light.webp +0 -0
  147. package/agents/patterns/previews/surfaces/dialog.dark.webp +0 -0
  148. package/agents/patterns/previews/surfaces/dialog.light.webp +0 -0
  149. package/agents/patterns/previews/surfaces/edit-actions.dark.webp +0 -0
  150. package/agents/patterns/previews/surfaces/edit-actions.light.webp +0 -0
  151. package/agents/patterns/previews/surfaces/intro-band.dark.webp +0 -0
  152. package/agents/patterns/previews/surfaces/intro-band.html +66 -0
  153. package/agents/patterns/previews/surfaces/intro-band.light.webp +0 -0
  154. package/agents/patterns/previews/surfaces/section.dark.webp +0 -0
  155. package/agents/patterns/previews/surfaces/section.light.webp +0 -0
  156. package/agents/patterns/previews/titles/dialog.dark.webp +0 -0
  157. package/agents/patterns/previews/titles/dialog.light.webp +0 -0
  158. package/agents/patterns/previews/titles/group.light.webp +0 -0
  159. package/agents/patterns/previews/titles/page.light.webp +0 -0
  160. package/agents/patterns/previews/titles/part.light.webp +0 -0
  161. package/agents/patterns/previews/titles/section.light.webp +0 -0
  162. package/agents/patterns/previews/widths/dialog.dark.webp +0 -0
  163. package/agents/patterns/previews/widths/dialog.light.webp +0 -0
  164. package/agents/patterns/previews/widths/field.dark.webp +0 -0
  165. package/agents/patterns/previews/widths/field.light.webp +0 -0
  166. package/agents/patterns/previews/widths/form.dark.webp +0 -0
  167. package/agents/patterns/previews/widths/form.light.webp +0 -0
  168. package/agents/patterns/previews/widths/page.dark.webp +0 -0
  169. package/agents/patterns/previews/widths/page.light.webp +0 -0
  170. package/agents/patterns/previews/widths/reading.dark.webp +0 -0
  171. package/agents/patterns/previews/widths/reading.light.webp +0 -0
  172. package/agents/patterns/surfaces.md +49 -11
  173. package/agents/patterns/titles.md +15 -14
  174. package/agents/patterns.md +1 -1
  175. package/agents/theming.md +5 -0
  176. package/dist/cjs/{floating-controller-B4YhrWm8.js → floating-controller-B21tqid0.js} +51 -4
  177. package/dist/cjs/{floating-ui.dom-VQ_HnnRe.js → floating-ui.dom-1Z4VE-PH.js} +1 -0
  178. package/dist/cjs/{index-BQNHYWJg.js → index-B99V_UhC.js} +87 -44
  179. package/dist/cjs/{index-Csgx951d.js → index-CFEj7WVH.js} +12 -1
  180. package/dist/cjs/index.cjs.js +45 -3
  181. package/dist/cjs/loader.cjs.js +2 -2
  182. package/dist/cjs/{locale-DgMC52AD.js → locale-6jikg4jE.js} +1 -1
  183. package/dist/cjs/magma-components.cjs.js +3 -3
  184. package/dist/cjs/mds-accordion-item.cjs.entry.js +10 -7
  185. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +10 -7
  186. package/dist/cjs/mds-accordion-timer.cjs.entry.js +4 -3
  187. package/dist/cjs/mds-accordion.cjs.entry.js +5 -4
  188. package/dist/cjs/mds-author.cjs.entry.js +4 -3
  189. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +4 -3
  190. package/dist/cjs/mds-avatar-stack.cjs.entry.js +4 -3
  191. package/dist/cjs/mds-avatar.cjs.entry.js +5 -4
  192. package/dist/cjs/mds-badge.cjs.entry.js +5 -4
  193. package/dist/cjs/mds-banner_3.cjs.entry.js +56 -27
  194. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +4 -3
  195. package/dist/cjs/mds-bibliography.cjs.entry.js +4 -3
  196. package/dist/cjs/mds-book.cjs.entry.js +8 -7
  197. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +4 -3
  198. package/dist/cjs/mds-breadcrumb.cjs.entry.js +6 -5
  199. package/dist/cjs/mds-button-dropdown.cjs.entry.js +7 -6
  200. package/dist/cjs/mds-button-group.cjs.entry.js +5 -4
  201. package/dist/cjs/mds-button_3.cjs.entry.js +15 -12
  202. package/dist/cjs/mds-calendar_2.cjs.entry.js +190 -305
  203. package/dist/cjs/mds-card-content.cjs.entry.js +4 -3
  204. package/dist/cjs/mds-card-footer.cjs.entry.js +5 -4
  205. package/dist/cjs/mds-card-header.cjs.entry.js +4 -3
  206. package/dist/cjs/mds-card-media.cjs.entry.js +4 -3
  207. package/dist/cjs/mds-card.cjs.entry.js +6 -5
  208. package/dist/cjs/mds-details.cjs.entry.js +5 -4
  209. package/dist/cjs/mds-dropdown.cjs.entry.js +46 -17
  210. package/dist/cjs/mds-emoji.cjs.entry.js +5 -4
  211. package/dist/cjs/mds-entity.cjs.entry.js +5 -4
  212. package/dist/cjs/mds-file-preview.cjs.entry.js +7 -6
  213. package/dist/cjs/mds-file.cjs.entry.js +6 -5
  214. package/dist/cjs/mds-filter-item.cjs.entry.js +6 -5
  215. package/dist/cjs/mds-filter.cjs.entry.js +6 -5
  216. package/dist/cjs/mds-header-bar.cjs.entry.js +6 -5
  217. package/dist/cjs/mds-header.cjs.entry.js +5 -4
  218. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +6 -5
  219. package/dist/cjs/mds-hr.cjs.entry.js +5 -4
  220. package/dist/cjs/mds-img.cjs.entry.js +5 -4
  221. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +4 -3
  222. package/dist/cjs/mds-input-date-range.cjs.entry.js +126 -31
  223. package/dist/cjs/mds-input-date.cjs.entry.js +26 -12
  224. package/dist/cjs/mds-input-field.cjs.entry.js +4 -3
  225. package/dist/cjs/mds-input-otp.cjs.entry.js +6 -5
  226. package/dist/cjs/mds-input-range-value.cjs.entry.js +18 -0
  227. package/dist/cjs/mds-input-range.cjs.entry.js +410 -29
  228. package/dist/cjs/mds-input-select.cjs.entry.js +9 -8
  229. package/dist/cjs/mds-input-switch_2.cjs.entry.js +9 -7
  230. package/dist/cjs/mds-input-tip_2.cjs.entry.js +17 -12
  231. package/dist/cjs/mds-input-upload.cjs.entry.js +10 -9
  232. package/dist/cjs/mds-input.cjs.entry.js +292 -35
  233. package/dist/cjs/mds-keyboard-key.cjs.entry.js +6 -5
  234. package/dist/cjs/mds-keyboard.cjs.entry.js +6 -5
  235. package/dist/cjs/mds-kpi-item.cjs.entry.js +5 -4
  236. package/dist/cjs/mds-kpi.cjs.entry.js +4 -3
  237. package/dist/cjs/mds-label.cjs.entry.js +6 -5
  238. package/dist/cjs/mds-link.cjs.entry.js +9 -8
  239. package/dist/cjs/mds-list-item.cjs.entry.js +4 -3
  240. package/dist/cjs/mds-list.cjs.entry.js +4 -3
  241. package/dist/cjs/mds-mention.cjs.entry.js +6 -5
  242. package/dist/cjs/mds-modal.cjs.entry.js +7 -6
  243. package/dist/cjs/mds-note.cjs.entry.js +6 -5
  244. package/dist/cjs/mds-notification.cjs.entry.js +6 -5
  245. package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -4
  246. package/dist/cjs/mds-paginator.cjs.entry.js +6 -5
  247. package/dist/cjs/mds-policy-ai.cjs.entry.js +6 -5
  248. package/dist/cjs/mds-pref-animation.cjs.entry.js +6 -5
  249. package/dist/cjs/mds-pref-consumption.cjs.entry.js +6 -5
  250. package/dist/cjs/mds-pref-contrast.cjs.entry.js +6 -5
  251. package/dist/cjs/mds-pref-language-item.cjs.entry.js +6 -5
  252. package/dist/cjs/mds-pref-language.cjs.entry.js +6 -5
  253. package/dist/cjs/mds-pref-mode.cjs.entry.js +6 -5
  254. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
  255. package/dist/cjs/mds-pref-theme.cjs.entry.js +6 -5
  256. package/dist/cjs/mds-pref.cjs.entry.js +12 -6
  257. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +5 -4
  258. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +5 -4
  259. package/dist/cjs/mds-price-table-features.cjs.entry.js +5 -4
  260. package/dist/cjs/mds-price-table-header.cjs.entry.js +4 -3
  261. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +4 -3
  262. package/dist/cjs/mds-price-table-list.cjs.entry.js +5 -4
  263. package/dist/cjs/mds-price-table.cjs.entry.js +4 -3
  264. package/dist/cjs/mds-progress_2.cjs.entry.js +13 -8
  265. package/dist/cjs/mds-push-notification-item.cjs.entry.js +7 -6
  266. package/dist/cjs/mds-push-notification.cjs.entry.js +6 -5
  267. package/dist/cjs/mds-quote.cjs.entry.js +5 -4
  268. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +4 -3
  269. package/dist/cjs/mds-radial-menu.cjs.entry.js +8 -7
  270. package/dist/cjs/mds-separator.cjs.entry.js +5 -4
  271. package/dist/cjs/mds-status-bar.cjs.entry.js +5 -4
  272. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +7 -6
  273. package/dist/cjs/mds-stepper-bar.cjs.entry.js +6 -6
  274. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +5 -4
  275. package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -4
  276. package/dist/cjs/mds-tab_2.cjs.entry.js +41 -17
  277. package/dist/cjs/mds-table-body.cjs.entry.js +5 -4
  278. package/dist/cjs/mds-table-footer.cjs.entry.js +5 -4
  279. package/dist/cjs/mds-table-header-cell.cjs.entry.js +5 -4
  280. package/dist/cjs/mds-table-header.cjs.entry.js +14 -14
  281. package/dist/cjs/mds-table-row.cjs.entry.js +7 -6
  282. package/dist/cjs/mds-table.cjs.entry.js +42 -14
  283. package/dist/cjs/mds-text.cjs.entry.js +5 -4
  284. package/dist/cjs/mds-toast-region.cjs.entry.js +4 -3
  285. package/dist/cjs/mds-toast.cjs.entry.js +6 -5
  286. package/dist/cjs/mds-tooltip.cjs.entry.js +33 -14
  287. package/dist/cjs/mds-tree-item.cjs.entry.js +6 -5
  288. package/dist/cjs/mds-tree.cjs.entry.js +4 -3
  289. package/dist/cjs/mds-url-view.cjs.entry.js +6 -18
  290. package/dist/cjs/mds-usage.cjs.entry.js +6 -5
  291. package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
  292. package/dist/cjs/mds-zero.cjs.entry.js +15 -5
  293. package/dist/cjs/{navigation-5yeOyO6F.js → navigation-Dxea9mKE.js} +7 -0
  294. package/dist/cjs/{preference-DhNxLZ4R.js → preference-DTUJPGHS.js} +1 -1
  295. package/dist/collection/collection-manifest.json +2 -1
  296. package/dist/collection/common/floating-controller.js +50 -3
  297. package/dist/collection/common/navigation.js +7 -0
  298. package/dist/collection/common/validity/index.js +3 -0
  299. package/dist/collection/components/mds-accordion/AGENTS.md +2 -2
  300. package/dist/collection/components/mds-accordion/documentation.json +5 -4
  301. package/dist/collection/components/mds-accordion/examples.md +3 -3
  302. package/dist/collection/components/mds-accordion/mds-accordion.js +1 -1
  303. package/dist/collection/components/mds-accordion-item/AGENTS.md +5 -3
  304. package/dist/collection/components/mds-accordion-item/documentation.json +60 -5
  305. package/dist/collection/components/mds-accordion-item/examples.md +5 -3
  306. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +9 -0
  307. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +32 -4
  308. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  309. package/dist/collection/components/mds-accordion-timer/documentation.json +3 -2
  310. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +1 -1
  311. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +6 -4
  312. package/dist/collection/components/mds-accordion-timer-item/documentation.json +64 -9
  313. package/dist/collection/components/mds-accordion-timer-item/examples.md +5 -3
  314. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +9 -0
  315. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +32 -4
  316. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  317. package/dist/collection/components/mds-author/documentation.json +3 -2
  318. package/dist/collection/components/mds-author/mds-author.js +1 -1
  319. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  320. package/dist/collection/components/mds-avatar/documentation.json +3 -2
  321. package/dist/collection/components/mds-avatar/mds-avatar.js +1 -1
  322. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  323. package/dist/collection/components/mds-avatar-stack/documentation.json +3 -2
  324. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +1 -1
  325. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  326. package/dist/collection/components/mds-avatar-stack-item/documentation.json +3 -2
  327. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +1 -1
  328. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  329. package/dist/collection/components/mds-badge/documentation.json +3 -2
  330. package/dist/collection/components/mds-badge/mds-badge.js +1 -1
  331. package/dist/collection/components/mds-banner/AGENTS.md +4 -1
  332. package/dist/collection/components/mds-banner/documentation.json +44 -5
  333. package/dist/collection/components/mds-banner/examples.md +15 -9
  334. package/dist/collection/components/mds-banner/mds-banner.js +63 -19
  335. package/dist/collection/components/mds-banner/meta/dictionary.js +7 -0
  336. package/dist/collection/components/mds-banner/meta/types.js +1 -0
  337. package/dist/collection/components/mds-banner/mistakes.md +20 -0
  338. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  339. package/dist/collection/components/mds-benchmark-bar/documentation.json +3 -2
  340. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +1 -1
  341. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  342. package/dist/collection/components/mds-bibliography/documentation.json +3 -2
  343. package/dist/collection/components/mds-bibliography/mds-bibliography.js +1 -1
  344. package/dist/collection/components/mds-book/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-book/documentation.json +3 -2
  346. package/dist/collection/components/mds-book/mds-book.js +3 -3
  347. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  348. package/dist/collection/components/mds-breadcrumb/documentation.json +3 -2
  349. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +1 -1
  350. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-breadcrumb-item/documentation.json +3 -2
  352. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
  353. package/dist/collection/components/mds-button/AGENTS.md +1 -1
  354. package/dist/collection/components/mds-button/documentation.json +3 -2
  355. package/dist/collection/components/mds-button/mds-button.js +4 -4
  356. package/dist/collection/components/mds-button-dropdown/AGENTS.md +3 -1
  357. package/dist/collection/components/mds-button-dropdown/documentation.json +5 -4
  358. package/dist/collection/components/mds-button-dropdown/examples.md +16 -0
  359. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +12 -0
  360. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  361. package/dist/collection/components/mds-button-group/AGENTS.md +3 -2
  362. package/dist/collection/components/mds-button-group/documentation.json +5 -4
  363. package/dist/collection/components/mds-button-group/examples.md +16 -0
  364. package/dist/collection/components/mds-button-group/mds-button-group.css +13 -0
  365. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  366. package/dist/collection/components/mds-calendar/AGENTS.md +8 -4
  367. package/dist/collection/components/mds-calendar/documentation.json +44 -5
  368. package/dist/collection/components/mds-calendar/examples.md +17 -1
  369. package/dist/collection/components/mds-calendar/mds-calendar.css +4 -0
  370. package/dist/collection/components/mds-calendar/mds-calendar.js +206 -300
  371. package/dist/collection/components/mds-calendar/meta/types.js +1 -0
  372. package/dist/collection/components/mds-calendar/mistakes.md +1 -1
  373. package/dist/collection/components/mds-calendar-cell/AGENTS.md +4 -4
  374. package/dist/collection/components/mds-calendar-cell/documentation.json +37 -24
  375. package/dist/collection/components/mds-calendar-cell/examples.md +3 -3
  376. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +121 -84
  377. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  378. package/dist/collection/components/mds-card/AGENTS.md +4 -2
  379. package/dist/collection/components/mds-card/documentation.json +12 -5
  380. package/dist/collection/components/mds-card/examples.md +6 -1
  381. package/dist/collection/components/mds-card/mds-card.css +8 -0
  382. package/dist/collection/components/mds-card/mds-card.js +1 -1
  383. package/dist/collection/components/mds-card/mistakes.md +1 -1
  384. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  385. package/dist/collection/components/mds-card-content/documentation.json +3 -2
  386. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  387. package/dist/collection/components/mds-card-footer/AGENTS.md +2 -2
  388. package/dist/collection/components/mds-card-footer/documentation.json +5 -4
  389. package/dist/collection/components/mds-card-footer/examples.md +1 -1
  390. package/dist/collection/components/mds-card-footer/mds-card-footer.css +9 -0
  391. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  392. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  393. package/dist/collection/components/mds-card-header/documentation.json +3 -2
  394. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  395. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  396. package/dist/collection/components/mds-card-media/documentation.json +3 -2
  397. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  398. package/dist/collection/components/mds-chip/AGENTS.md +5 -2
  399. package/dist/collection/components/mds-chip/documentation.json +37 -5
  400. package/dist/collection/components/mds-chip/examples.md +10 -0
  401. package/dist/collection/components/mds-chip/mds-chip.css +18 -0
  402. package/dist/collection/components/mds-chip/mds-chip.js +25 -1
  403. package/dist/collection/components/mds-chip/mistakes.md +25 -1
  404. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  405. package/dist/collection/components/mds-details/documentation.json +3 -2
  406. package/dist/collection/components/mds-details/mds-details.js +1 -1
  407. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  408. package/dist/collection/components/mds-dropdown/documentation.json +4 -3
  409. package/dist/collection/components/mds-dropdown/mds-dropdown.js +40 -12
  410. package/dist/collection/components/mds-dropdown/mistakes.md +1 -1
  411. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  412. package/dist/collection/components/mds-emoji/documentation.json +3 -2
  413. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  414. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  415. package/dist/collection/components/mds-entity/documentation.json +3 -2
  416. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  417. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  418. package/dist/collection/components/mds-file/documentation.json +3 -2
  419. package/dist/collection/components/mds-file/mds-file.js +1 -1
  420. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  421. package/dist/collection/components/mds-file-preview/documentation.json +3 -2
  422. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  423. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  424. package/dist/collection/components/mds-filter/documentation.json +3 -2
  425. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  426. package/dist/collection/components/mds-filter-item/AGENTS.md +2 -2
  427. package/dist/collection/components/mds-filter-item/documentation.json +5 -4
  428. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  429. package/dist/collection/components/mds-filter-item/mistakes.md +16 -0
  430. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  431. package/dist/collection/components/mds-header/documentation.json +3 -2
  432. package/dist/collection/components/mds-header/mds-header.js +1 -1
  433. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  434. package/dist/collection/components/mds-header-bar/documentation.json +3 -2
  435. package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
  436. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  437. package/dist/collection/components/mds-help/documentation.json +3 -2
  438. package/dist/collection/components/mds-help/mds-help.js +1 -1
  439. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  440. package/dist/collection/components/mds-horizontal-scroll/documentation.json +3 -2
  441. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  442. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  443. package/dist/collection/components/mds-hr/documentation.json +3 -2
  444. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  445. package/dist/collection/components/mds-icon/AGENTS.md +2 -2
  446. package/dist/collection/components/mds-icon/documentation.json +5 -4
  447. package/dist/collection/components/mds-icon/examples.md +3 -3
  448. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  449. package/dist/collection/components/mds-icon/services/icons-set.service.js +43 -1
  450. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  451. package/dist/collection/components/mds-img/documentation.json +3 -2
  452. package/dist/collection/components/mds-input/AGENTS.md +22 -18
  453. package/dist/collection/components/mds-input/documentation.json +32 -19
  454. package/dist/collection/components/mds-input/examples.md +20 -3
  455. package/dist/collection/components/mds-input/mds-input.css +115 -8
  456. package/dist/collection/components/mds-input/mds-input.js +236 -37
  457. package/dist/collection/components/mds-input/meta/color.js +19 -0
  458. package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +5 -1
  459. package/dist/collection/components/mds-input/meta/validators.js +10 -0
  460. package/dist/collection/components/mds-input/meta/validity.js +5 -2
  461. package/dist/collection/components/mds-input/mistakes.md +15 -1
  462. package/dist/collection/components/mds-input-date/AGENTS.md +7 -7
  463. package/dist/collection/components/mds-input-date/documentation.json +7 -24
  464. package/dist/collection/components/mds-input-date/examples.md +1 -1
  465. package/dist/collection/components/mds-input-date/mds-input-date.css +17 -15
  466. package/dist/collection/components/mds-input-date/mds-input-date.js +21 -8
  467. package/dist/collection/components/mds-input-date-range/AGENTS.md +10 -7
  468. package/dist/collection/components/mds-input-date-range/documentation.json +16 -8
  469. package/dist/collection/components/mds-input-date-range/examples.md +12 -1
  470. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +15 -0
  471. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +90 -27
  472. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  473. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +3 -2
  474. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  475. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  476. package/dist/collection/components/mds-input-field/documentation.json +3 -2
  477. package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
  478. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  479. package/dist/collection/components/mds-input-otp/documentation.json +3 -2
  480. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  481. package/dist/collection/components/mds-input-range/AGENTS.md +27 -8
  482. package/dist/collection/components/mds-input-range/documentation.json +31 -9
  483. package/dist/collection/components/mds-input-range/examples.md +41 -0
  484. package/dist/collection/components/mds-input-range/mds-input-range.css +68 -5
  485. package/dist/collection/components/mds-input-range/mds-input-range.js +440 -29
  486. package/dist/collection/components/mds-input-range/meta/event-detail.js +1 -0
  487. package/dist/collection/components/mds-input-range/mistakes.md +37 -0
  488. package/dist/collection/components/mds-input-range-value/AGENTS.md +43 -0
  489. package/dist/collection/components/mds-input-range-value/documentation.json +77 -0
  490. package/dist/collection/components/mds-input-range-value/examples.md +66 -0
  491. package/dist/collection/components/mds-input-range-value/mds-input-range-value.css +6 -0
  492. package/dist/collection/components/mds-input-range-value/mds-input-range-value.js +50 -0
  493. package/dist/collection/components/mds-input-range-value/mistakes.md +56 -0
  494. package/dist/collection/components/mds-input-select/AGENTS.md +2 -2
  495. package/dist/collection/components/mds-input-select/documentation.json +4 -3
  496. package/dist/collection/components/mds-input-select/mds-input-select.css +9 -19
  497. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  498. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  499. package/dist/collection/components/mds-input-switch/documentation.json +3 -2
  500. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  501. package/dist/collection/components/mds-input-tip/AGENTS.md +7 -6
  502. package/dist/collection/components/mds-input-tip/documentation.json +17 -10
  503. package/dist/collection/components/mds-input-tip/examples.md +2 -2
  504. package/dist/collection/components/mds-input-tip/mds-input-tip.css +15 -17
  505. package/dist/collection/components/mds-input-tip/mds-input-tip.js +9 -6
  506. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  507. package/dist/collection/components/mds-input-tip-item/documentation.json +3 -2
  508. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  509. package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +1 -1
  510. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  511. package/dist/collection/components/mds-input-upload/documentation.json +3 -2
  512. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  513. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  514. package/dist/collection/components/mds-keyboard/documentation.json +3 -2
  515. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  516. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  517. package/dist/collection/components/mds-keyboard-key/documentation.json +3 -2
  518. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  519. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  520. package/dist/collection/components/mds-kpi/documentation.json +3 -2
  521. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  522. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  523. package/dist/collection/components/mds-kpi-item/documentation.json +3 -2
  524. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  525. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  526. package/dist/collection/components/mds-label/documentation.json +3 -2
  527. package/dist/collection/components/mds-label/mds-label.js +1 -1
  528. package/dist/collection/components/mds-link/AGENTS.md +1 -1
  529. package/dist/collection/components/mds-link/documentation.json +3 -2
  530. package/dist/collection/components/mds-link/mds-link.js +3 -3
  531. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  532. package/dist/collection/components/mds-list/documentation.json +3 -2
  533. package/dist/collection/components/mds-list/mds-list.js +1 -1
  534. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  535. package/dist/collection/components/mds-list-item/documentation.json +3 -2
  536. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  537. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  538. package/dist/collection/components/mds-mention/documentation.json +3 -2
  539. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  540. package/dist/collection/components/mds-modal/AGENTS.md +2 -1
  541. package/dist/collection/components/mds-modal/documentation.json +5 -4
  542. package/dist/collection/components/mds-modal/examples.md +2 -0
  543. package/dist/collection/components/mds-modal/mds-modal.js +2 -2
  544. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  545. package/dist/collection/components/mds-note/documentation.json +3 -2
  546. package/dist/collection/components/mds-note/mds-note.js +1 -1
  547. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  548. package/dist/collection/components/mds-notification/documentation.json +3 -2
  549. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  550. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  551. package/dist/collection/components/mds-paginator/documentation.json +3 -2
  552. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  553. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  554. package/dist/collection/components/mds-paginator-item/documentation.json +3 -2
  555. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  556. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  557. package/dist/collection/components/mds-policy-ai/documentation.json +3 -2
  558. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  559. package/dist/collection/components/mds-pref/AGENTS.md +4 -1
  560. package/dist/collection/components/mds-pref/documentation.json +31 -4
  561. package/dist/collection/components/mds-pref/examples.md +14 -0
  562. package/dist/collection/components/mds-pref/mds-pref.js +26 -2
  563. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  564. package/dist/collection/components/mds-pref-animation/documentation.json +3 -2
  565. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  566. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  567. package/dist/collection/components/mds-pref-consumption/documentation.json +3 -2
  568. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  569. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  570. package/dist/collection/components/mds-pref-contrast/documentation.json +3 -2
  571. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  572. package/dist/collection/components/mds-pref-language/AGENTS.md +2 -2
  573. package/dist/collection/components/mds-pref-language/documentation.json +4 -3
  574. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  575. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  576. package/dist/collection/components/mds-pref-language-item/documentation.json +3 -2
  577. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  578. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  579. package/dist/collection/components/mds-pref-mode/documentation.json +3 -2
  580. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
  581. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  582. package/dist/collection/components/mds-pref-theme/documentation.json +3 -2
  583. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
  584. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  585. package/dist/collection/components/mds-pref-theme-item/documentation.json +3 -2
  586. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  587. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  588. package/dist/collection/components/mds-price-table/documentation.json +3 -2
  589. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  590. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  591. package/dist/collection/components/mds-price-table-features/documentation.json +3 -2
  592. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  593. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  594. package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -2
  595. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  596. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  597. package/dist/collection/components/mds-price-table-features-row/documentation.json +3 -2
  598. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  599. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  600. package/dist/collection/components/mds-price-table-header/documentation.json +3 -2
  601. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  602. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  603. package/dist/collection/components/mds-price-table-list/documentation.json +3 -2
  604. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  605. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  606. package/dist/collection/components/mds-price-table-list-item/documentation.json +3 -2
  607. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  608. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  609. package/dist/collection/components/mds-progress/documentation.json +3 -2
  610. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  611. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  612. package/dist/collection/components/mds-push-notification/documentation.json +3 -2
  613. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  614. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  615. package/dist/collection/components/mds-push-notification-item/documentation.json +3 -2
  616. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  617. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  618. package/dist/collection/components/mds-quote/documentation.json +3 -2
  619. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  620. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  621. package/dist/collection/components/mds-radial-menu/documentation.json +3 -2
  622. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  623. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  624. package/dist/collection/components/mds-radial-menu-item/documentation.json +3 -2
  625. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  626. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  627. package/dist/collection/components/mds-radial-progress/documentation.json +3 -2
  628. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +4 -2
  629. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +5 -2
  630. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  631. package/dist/collection/components/mds-separator/documentation.json +3 -2
  632. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  633. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  634. package/dist/collection/components/mds-spinner/documentation.json +3 -2
  635. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  636. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  637. package/dist/collection/components/mds-status-bar/documentation.json +3 -2
  638. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  639. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  640. package/dist/collection/components/mds-stepper-bar/documentation.json +3 -2
  641. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +3 -4
  642. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +2 -2
  643. package/dist/collection/components/mds-stepper-bar-item/documentation.json +5 -4
  644. package/dist/collection/components/mds-stepper-bar-item/examples.md +1 -1
  645. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +7 -2
  646. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  647. package/dist/collection/components/mds-tab/AGENTS.md +3 -3
  648. package/dist/collection/components/mds-tab/documentation.json +8 -3
  649. package/dist/collection/components/mds-tab/mds-tab.js +34 -12
  650. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  651. package/dist/collection/components/mds-tab-bar/documentation.json +3 -2
  652. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  653. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  654. package/dist/collection/components/mds-tab-bar-item/documentation.json +3 -2
  655. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  656. package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
  657. package/dist/collection/components/mds-tab-item/documentation.json +7 -2
  658. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  659. package/dist/collection/components/mds-table/AGENTS.md +4 -4
  660. package/dist/collection/components/mds-table/documentation.json +10 -9
  661. package/dist/collection/components/mds-table/examples.md +21 -0
  662. package/dist/collection/components/mds-table/mds-table.js +42 -15
  663. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  664. package/dist/collection/components/mds-table-body/documentation.json +3 -2
  665. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  666. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  667. package/dist/collection/components/mds-table-cell/documentation.json +3 -2
  668. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  669. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  670. package/dist/collection/components/mds-table-footer/documentation.json +3 -2
  671. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  672. package/dist/collection/components/mds-table-header/AGENTS.md +3 -3
  673. package/dist/collection/components/mds-table-header/documentation.json +5 -8
  674. package/dist/collection/components/mds-table-header/mds-table-header.js +9 -14
  675. package/dist/collection/components/mds-table-header/mistakes.md +1 -1
  676. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  677. package/dist/collection/components/mds-table-header-cell/documentation.json +3 -2
  678. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  679. package/dist/collection/components/mds-table-row/AGENTS.md +2 -2
  680. package/dist/collection/components/mds-table-row/documentation.json +4 -3
  681. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  682. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  683. package/dist/collection/components/mds-text/documentation.json +3 -2
  684. package/dist/collection/components/mds-text/mds-text.js +1 -1
  685. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  686. package/dist/collection/components/mds-toast/documentation.json +3 -2
  687. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  688. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  689. package/dist/collection/components/mds-toast-region/documentation.json +3 -2
  690. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  691. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  692. package/dist/collection/components/mds-tooltip/documentation.json +3 -2
  693. package/dist/collection/components/mds-tooltip/mds-tooltip.js +27 -9
  694. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  695. package/dist/collection/components/mds-tree/documentation.json +3 -2
  696. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  697. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  698. package/dist/collection/components/mds-tree-item/documentation.json +3 -2
  699. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  700. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  701. package/dist/collection/components/mds-url-view/documentation.json +3 -2
  702. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -14
  703. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  704. package/dist/collection/components/mds-usage/documentation.json +3 -2
  705. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  706. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  707. package/dist/collection/components/mds-video-wall/documentation.json +3 -2
  708. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  709. package/dist/collection/components/mds-zero/AGENTS.md +7 -6
  710. package/dist/collection/components/mds-zero/documentation.json +6 -5
  711. package/dist/collection/components/mds-zero/examples.md +37 -19
  712. package/dist/collection/components/mds-zero/mds-zero.css +22 -24
  713. package/dist/collection/components/mds-zero/mds-zero.js +17 -1
  714. package/dist/collection/components/mds-zero/mistakes.md +46 -8
  715. package/dist/collection/fixtures/dark-mode.js +16 -0
  716. package/dist/collection/index.js +2 -20
  717. package/dist/collection/type/file-types.js +1 -1
  718. package/dist/collection/type/input.js +1 -0
  719. package/dist/components/index.d.ts +2 -0
  720. package/dist/components/index.js +1 -1
  721. package/dist/components/mds-accordion-item.js +1 -1
  722. package/dist/components/mds-accordion-timer-item.js +1 -1
  723. package/dist/components/mds-accordion-timer.js +1 -1
  724. package/dist/components/mds-accordion.js +1 -1
  725. package/dist/components/mds-author.js +1 -1
  726. package/dist/components/mds-avatar-stack-item.js +1 -1
  727. package/dist/components/mds-avatar-stack.js +1 -1
  728. package/dist/components/mds-avatar.js +1 -1
  729. package/dist/components/mds-badge.js +1 -1
  730. package/dist/components/mds-banner.js +1 -1
  731. package/dist/components/mds-benchmark-bar.js +1 -1
  732. package/dist/components/mds-bibliography.js +1 -1
  733. package/dist/components/mds-book.js +1 -1
  734. package/dist/components/mds-breadcrumb-item.js +1 -1
  735. package/dist/components/mds-breadcrumb.js +1 -1
  736. package/dist/components/mds-button-dropdown.js +1 -1
  737. package/dist/components/mds-button-group.js +1 -1
  738. package/dist/components/mds-button.js +1 -1
  739. package/dist/components/mds-calendar-cell.js +1 -1
  740. package/dist/components/mds-calendar.js +1 -1
  741. package/dist/components/mds-card-content.js +1 -1
  742. package/dist/components/mds-card-footer.js +1 -1
  743. package/dist/components/mds-card-header.js +1 -1
  744. package/dist/components/mds-card-media.js +1 -1
  745. package/dist/components/mds-card.js +1 -1
  746. package/dist/components/mds-chip.js +1 -1
  747. package/dist/components/mds-details.js +1 -1
  748. package/dist/components/mds-dropdown.js +1 -1
  749. package/dist/components/mds-emoji.js +3 -3
  750. package/dist/components/mds-entity.js +1 -1
  751. package/dist/components/mds-file-preview.js +1 -1
  752. package/dist/components/mds-file.js +1 -1
  753. package/dist/components/mds-filter-item.js +1 -1
  754. package/dist/components/mds-filter.js +1 -1
  755. package/dist/components/mds-header-bar.js +1 -1
  756. package/dist/components/mds-header.js +1 -1
  757. package/dist/components/mds-help.js +1 -1
  758. package/dist/components/mds-horizontal-scroll.js +1 -1
  759. package/dist/components/mds-hr.js +1 -1
  760. package/dist/components/mds-icon.js +1 -1
  761. package/dist/components/mds-img.js +1 -1
  762. package/dist/components/mds-input-date-range-preselection.js +1 -1
  763. package/dist/components/mds-input-date-range.js +1 -1
  764. package/dist/components/mds-input-date.js +1 -1
  765. package/dist/components/mds-input-field.js +1 -1
  766. package/dist/components/mds-input-otp.js +1 -1
  767. package/dist/components/mds-input-range-value.d.ts +11 -0
  768. package/dist/components/mds-input-range-value.js +1 -0
  769. package/dist/components/mds-input-range.js +1 -1
  770. package/dist/components/mds-input-select.js +1 -1
  771. package/dist/components/mds-input-switch.js +1 -1
  772. package/dist/components/mds-input-tip-item.js +1 -1
  773. package/dist/components/mds-input-tip.js +1 -1
  774. package/dist/components/mds-input-upload.js +1 -1
  775. package/dist/components/mds-input.js +1 -1
  776. package/dist/components/mds-keyboard-key.js +1 -1
  777. package/dist/components/mds-keyboard.js +1 -1
  778. package/dist/components/mds-kpi-item.js +1 -1
  779. package/dist/components/mds-kpi.js +1 -1
  780. package/dist/components/mds-label.js +1 -1
  781. package/dist/components/mds-link.js +1 -1
  782. package/dist/components/mds-list-item.js +1 -1
  783. package/dist/components/mds-list.js +1 -1
  784. package/dist/components/mds-mention.js +1 -1
  785. package/dist/components/mds-modal.js +1 -1
  786. package/dist/components/mds-note.js +1 -1
  787. package/dist/components/mds-notification.js +1 -1
  788. package/dist/components/mds-paginator-item.js +1 -1
  789. package/dist/components/mds-paginator.js +1 -1
  790. package/dist/components/mds-policy-ai.js +1 -1
  791. package/dist/components/mds-pref-animation.js +1 -1
  792. package/dist/components/mds-pref-consumption.js +1 -1
  793. package/dist/components/mds-pref-contrast.js +1 -1
  794. package/dist/components/mds-pref-language-item.js +1 -1
  795. package/dist/components/mds-pref-language.js +1 -1
  796. package/dist/components/mds-pref-mode.js +1 -1
  797. package/dist/components/mds-pref-theme-item.js +1 -1
  798. package/dist/components/mds-pref-theme.js +1 -1
  799. package/dist/components/mds-pref.js +1 -1
  800. package/dist/components/mds-price-table-features-cell.js +1 -1
  801. package/dist/components/mds-price-table-features-row.js +1 -1
  802. package/dist/components/mds-price-table-features.js +1 -1
  803. package/dist/components/mds-price-table-header.js +1 -1
  804. package/dist/components/mds-price-table-list-item.js +1 -1
  805. package/dist/components/mds-price-table-list.js +1 -1
  806. package/dist/components/mds-price-table.js +1 -1
  807. package/dist/components/mds-progress.js +1 -1
  808. package/dist/components/mds-push-notification-item.js +1 -1
  809. package/dist/components/mds-push-notification.js +1 -1
  810. package/dist/components/mds-quote.js +1 -1
  811. package/dist/components/mds-radial-menu-item.js +1 -1
  812. package/dist/components/mds-radial-menu.js +1 -1
  813. package/dist/components/mds-radial-progress.js +1 -1
  814. package/dist/components/mds-separator.js +1 -1
  815. package/dist/components/mds-spinner.js +1 -1
  816. package/dist/components/mds-status-bar.js +1 -1
  817. package/dist/components/mds-stepper-bar-item.js +1 -1
  818. package/dist/components/mds-stepper-bar.js +1 -1
  819. package/dist/components/mds-tab-bar-item.js +1 -1
  820. package/dist/components/mds-tab-bar.js +1 -1
  821. package/dist/components/mds-tab-item.js +1 -1
  822. package/dist/components/mds-tab.js +1 -1
  823. package/dist/components/mds-table-body.js +1 -1
  824. package/dist/components/mds-table-cell.js +1 -1
  825. package/dist/components/mds-table-footer.js +1 -1
  826. package/dist/components/mds-table-header-cell.js +1 -1
  827. package/dist/components/mds-table-header.js +1 -1
  828. package/dist/components/mds-table-row.js +1 -1
  829. package/dist/components/mds-table.js +1 -1
  830. package/dist/components/mds-text.js +1 -1
  831. package/dist/components/mds-toast-region.js +1 -1
  832. package/dist/components/mds-toast.js +1 -1
  833. package/dist/components/mds-tooltip.js +1 -1
  834. package/dist/components/mds-tree-item.js +1 -1
  835. package/dist/components/mds-tree.js +1 -1
  836. package/dist/components/mds-url-view.js +1 -1
  837. package/dist/components/mds-usage.js +1 -1
  838. package/dist/components/mds-video-wall.js +1 -1
  839. package/dist/components/mds-zero.js +1 -1
  840. package/dist/components/{p-Bbrei_yQ.js → p-AWCYh8Xe.js} +1 -1
  841. package/dist/components/{p-ClvoVgmw.js → p-B-GgEAg7.js} +1 -1
  842. package/dist/components/p-B3npFzUR.js +1 -0
  843. package/dist/components/p-BD9VWE7b.js +1 -0
  844. package/dist/components/{p-BBZyH3mn.js → p-BFZN4zJ9.js} +1 -1
  845. package/dist/components/p-BG1fjwnd.js +1 -0
  846. package/dist/components/{p-BI1ShBQG.js → p-BNl6YWNN.js} +1 -1
  847. package/dist/components/{p-BE05D6Pe.js → p-Bg11_7lt.js} +1 -1
  848. package/dist/components/{p-3rr6yzu-.js → p-BiJ4xa4V.js} +1 -1
  849. package/dist/components/{p-CvbuCEYD.js → p-BmlDGlcB.js} +2 -2
  850. package/dist/components/p-C0m6B_kt.js +1 -0
  851. package/dist/components/{p-j5Hnbfv9.js → p-C589Hkfn.js} +1 -1
  852. package/dist/components/{p-BaFfIZGB.js → p-C7p9e0P3.js} +1 -1
  853. package/dist/components/{p-Vgo7t88R.js → p-C878c9Nu.js} +1 -1
  854. package/dist/components/{p-CWOW2Vna.js → p-CDcB9Zdz.js} +1 -1
  855. package/dist/components/{p-CZwKeFQT.js → p-CS8s4gRV.js} +1 -1
  856. package/dist/components/p-CSw6DbKp.js +1 -0
  857. package/dist/components/p-CUT9aFzz.js +1 -0
  858. package/dist/components/p-CfCw1XZP.js +1 -0
  859. package/dist/components/{p-BpND63Kl.js → p-Cjy1i94z.js} +1 -1
  860. package/dist/components/{p-Do7IoDLD.js → p-Cs80Zm2b.js} +2 -2
  861. package/dist/components/{p-NNPsVjnj.js → p-Cs8RIbsQ.js} +1 -1
  862. package/dist/components/p-CtEHhdv4.js +1 -0
  863. package/dist/components/{p-F0qhFsF0.js → p-Cty6fegI.js} +1 -1
  864. package/dist/components/{p-C6LU1s8K.js → p-D7C-gjL6.js} +1 -1
  865. package/dist/components/{p-DrtIqOQn.js → p-DKYN6Ikh.js} +1 -1
  866. package/dist/components/p-DvccsLwr.js +1 -0
  867. package/dist/components/{p-CrOv4KdL.js → p-DxNrlomi.js} +1 -1
  868. package/dist/components/p-G8GFHw3L.js +1 -0
  869. package/dist/components/p-MjWyZlga.js +1 -0
  870. package/dist/components/p-VoGfNJRY.js +1 -0
  871. package/dist/components/{p-BuhoBOYR.js → p-WFNxKo1V.js} +1 -1
  872. package/dist/components/{p-DN1yF-xO.js → p-aZlZ1XB9.js} +1 -1
  873. package/dist/components/p-g2_CekDc.js +3 -0
  874. package/dist/components/p-kS9VRIWa.js +1 -0
  875. package/dist/components/{p-BBrPpCNK.js → p-oHBGZ2Av.js} +1 -1
  876. package/dist/documentation.json +530 -157
  877. package/dist/esm/{floating-controller-xixU_s1w.js → floating-controller-DlFrvBTG.js} +51 -4
  878. package/dist/esm/{floating-ui.dom-BaFfIZGB.js → floating-ui.dom-C7p9e0P3.js} +1 -1
  879. package/dist/esm/{index-CvLLN-QH.js → index-CPibDZjX.js} +87 -44
  880. package/dist/esm/{index-DEL0bLpb.js → index-DWniH_Ge.js} +12 -1
  881. package/dist/esm/index.js +45 -3
  882. package/dist/esm/loader.js +3 -3
  883. package/dist/esm/{locale-DhP1Ge2o.js → locale-B7Hw4niB.js} +1 -1
  884. package/dist/esm/magma-components.js +4 -4
  885. package/dist/esm/mds-accordion-item.entry.js +10 -7
  886. package/dist/esm/mds-accordion-timer-item.entry.js +10 -7
  887. package/dist/esm/mds-accordion-timer.entry.js +4 -3
  888. package/dist/esm/mds-accordion.entry.js +5 -4
  889. package/dist/esm/mds-author.entry.js +4 -3
  890. package/dist/esm/mds-avatar-stack-item.entry.js +4 -3
  891. package/dist/esm/mds-avatar-stack.entry.js +4 -3
  892. package/dist/esm/mds-avatar.entry.js +5 -4
  893. package/dist/esm/mds-badge.entry.js +5 -4
  894. package/dist/esm/mds-banner_3.entry.js +56 -27
  895. package/dist/esm/mds-benchmark-bar.entry.js +4 -3
  896. package/dist/esm/mds-bibliography.entry.js +4 -3
  897. package/dist/esm/mds-book.entry.js +8 -7
  898. package/dist/esm/mds-breadcrumb-item.entry.js +4 -3
  899. package/dist/esm/mds-breadcrumb.entry.js +6 -5
  900. package/dist/esm/mds-button-dropdown.entry.js +7 -6
  901. package/dist/esm/mds-button-group.entry.js +5 -4
  902. package/dist/esm/mds-button_3.entry.js +15 -12
  903. package/dist/esm/mds-calendar_2.entry.js +190 -305
  904. package/dist/esm/mds-card-content.entry.js +4 -3
  905. package/dist/esm/mds-card-footer.entry.js +5 -4
  906. package/dist/esm/mds-card-header.entry.js +4 -3
  907. package/dist/esm/mds-card-media.entry.js +4 -3
  908. package/dist/esm/mds-card.entry.js +6 -5
  909. package/dist/esm/mds-details.entry.js +5 -4
  910. package/dist/esm/mds-dropdown.entry.js +46 -17
  911. package/dist/esm/mds-emoji.entry.js +5 -4
  912. package/dist/esm/mds-entity.entry.js +5 -4
  913. package/dist/esm/mds-file-preview.entry.js +7 -6
  914. package/dist/esm/mds-file.entry.js +6 -5
  915. package/dist/esm/mds-filter-item.entry.js +6 -5
  916. package/dist/esm/mds-filter.entry.js +6 -5
  917. package/dist/esm/mds-header-bar.entry.js +6 -5
  918. package/dist/esm/mds-header.entry.js +5 -4
  919. package/dist/esm/mds-horizontal-scroll.entry.js +6 -5
  920. package/dist/esm/mds-hr.entry.js +5 -4
  921. package/dist/esm/mds-img.entry.js +5 -4
  922. package/dist/esm/mds-input-date-range-preselection.entry.js +4 -3
  923. package/dist/esm/mds-input-date-range.entry.js +126 -31
  924. package/dist/esm/mds-input-date.entry.js +26 -12
  925. package/dist/esm/mds-input-field.entry.js +4 -3
  926. package/dist/esm/mds-input-otp.entry.js +6 -5
  927. package/dist/esm/mds-input-range-value.entry.js +16 -0
  928. package/dist/esm/mds-input-range.entry.js +410 -29
  929. package/dist/esm/mds-input-select.entry.js +9 -8
  930. package/dist/esm/mds-input-switch_2.entry.js +9 -7
  931. package/dist/esm/mds-input-tip_2.entry.js +17 -12
  932. package/dist/esm/mds-input-upload.entry.js +10 -9
  933. package/dist/esm/mds-input.entry.js +292 -35
  934. package/dist/esm/mds-keyboard-key.entry.js +6 -5
  935. package/dist/esm/mds-keyboard.entry.js +6 -5
  936. package/dist/esm/mds-kpi-item.entry.js +5 -4
  937. package/dist/esm/mds-kpi.entry.js +4 -3
  938. package/dist/esm/mds-label.entry.js +6 -5
  939. package/dist/esm/mds-link.entry.js +9 -8
  940. package/dist/esm/mds-list-item.entry.js +4 -3
  941. package/dist/esm/mds-list.entry.js +4 -3
  942. package/dist/esm/mds-mention.entry.js +6 -5
  943. package/dist/esm/mds-modal.entry.js +7 -6
  944. package/dist/esm/mds-note.entry.js +6 -5
  945. package/dist/esm/mds-notification.entry.js +6 -5
  946. package/dist/esm/mds-paginator-item.entry.js +5 -4
  947. package/dist/esm/mds-paginator.entry.js +6 -5
  948. package/dist/esm/mds-policy-ai.entry.js +6 -5
  949. package/dist/esm/mds-pref-animation.entry.js +6 -5
  950. package/dist/esm/mds-pref-consumption.entry.js +6 -5
  951. package/dist/esm/mds-pref-contrast.entry.js +6 -5
  952. package/dist/esm/mds-pref-language-item.entry.js +6 -5
  953. package/dist/esm/mds-pref-language.entry.js +6 -5
  954. package/dist/esm/mds-pref-mode.entry.js +6 -5
  955. package/dist/esm/mds-pref-theme-item.entry.js +4 -3
  956. package/dist/esm/mds-pref-theme.entry.js +6 -5
  957. package/dist/esm/mds-pref.entry.js +12 -6
  958. package/dist/esm/mds-price-table-features-cell.entry.js +5 -4
  959. package/dist/esm/mds-price-table-features-row.entry.js +5 -4
  960. package/dist/esm/mds-price-table-features.entry.js +5 -4
  961. package/dist/esm/mds-price-table-header.entry.js +4 -3
  962. package/dist/esm/mds-price-table-list-item.entry.js +4 -3
  963. package/dist/esm/mds-price-table-list.entry.js +5 -4
  964. package/dist/esm/mds-price-table.entry.js +4 -3
  965. package/dist/esm/mds-progress_2.entry.js +13 -8
  966. package/dist/esm/mds-push-notification-item.entry.js +7 -6
  967. package/dist/esm/mds-push-notification.entry.js +6 -5
  968. package/dist/esm/mds-quote.entry.js +5 -4
  969. package/dist/esm/mds-radial-menu-item.entry.js +4 -3
  970. package/dist/esm/mds-radial-menu.entry.js +8 -7
  971. package/dist/esm/mds-separator.entry.js +5 -4
  972. package/dist/esm/mds-status-bar.entry.js +5 -4
  973. package/dist/esm/mds-stepper-bar-item.entry.js +7 -6
  974. package/dist/esm/mds-stepper-bar.entry.js +6 -6
  975. package/dist/esm/mds-tab-bar-item.entry.js +5 -4
  976. package/dist/esm/mds-tab-bar.entry.js +5 -4
  977. package/dist/esm/mds-tab_2.entry.js +41 -17
  978. package/dist/esm/mds-table-body.entry.js +5 -4
  979. package/dist/esm/mds-table-footer.entry.js +5 -4
  980. package/dist/esm/mds-table-header-cell.entry.js +5 -4
  981. package/dist/esm/mds-table-header.entry.js +14 -14
  982. package/dist/esm/mds-table-row.entry.js +7 -6
  983. package/dist/esm/mds-table.entry.js +42 -14
  984. package/dist/esm/mds-text.entry.js +5 -4
  985. package/dist/esm/mds-toast-region.entry.js +4 -3
  986. package/dist/esm/mds-toast.entry.js +6 -5
  987. package/dist/esm/mds-tooltip.entry.js +33 -14
  988. package/dist/esm/mds-tree-item.entry.js +6 -5
  989. package/dist/esm/mds-tree.entry.js +4 -3
  990. package/dist/esm/mds-url-view.entry.js +6 -18
  991. package/dist/esm/mds-usage.entry.js +6 -5
  992. package/dist/esm/mds-video-wall.entry.js +5 -4
  993. package/dist/esm/mds-zero.entry.js +15 -5
  994. package/dist/esm/{navigation-Bz1eiKqd.js → navigation-To9IeLHs.js} +7 -0
  995. package/dist/esm/{preference-C8foBO86.js → preference-CBMLGSf7.js} +1 -1
  996. package/dist/esm-es5/{floating-controller-xixU_s1w.js → floating-controller-DlFrvBTG.js} +32 -12
  997. package/dist/esm-es5/{floating-ui.dom-BaFfIZGB.js → floating-ui.dom-C7p9e0P3.js} +18 -18
  998. package/dist/esm-es5/{index-CvLLN-QH.js → index-CPibDZjX.js} +30 -27
  999. package/dist/esm-es5/index-DWniH_Ge.js +13 -0
  1000. package/dist/esm-es5/index.js +47 -5
  1001. package/dist/esm-es5/loader.js +1 -1
  1002. package/dist/esm-es5/{locale-DhP1Ge2o.js → locale-B7Hw4niB.js} +1 -1
  1003. package/dist/esm-es5/magma-components.js +3 -3
  1004. package/dist/esm-es5/mds-accordion-item.entry.js +6 -4
  1005. package/dist/esm-es5/mds-accordion-timer-item.entry.js +6 -4
  1006. package/dist/esm-es5/mds-accordion-timer.entry.js +4 -4
  1007. package/dist/esm-es5/mds-accordion.entry.js +4 -4
  1008. package/dist/esm-es5/mds-author.entry.js +1 -1
  1009. package/dist/esm-es5/mds-avatar-stack-item.entry.js +2 -2
  1010. package/dist/esm-es5/mds-avatar-stack.entry.js +2 -2
  1011. package/dist/esm-es5/mds-avatar.entry.js +7 -7
  1012. package/dist/esm-es5/mds-badge.entry.js +2 -2
  1013. package/dist/esm-es5/mds-banner_3.entry.js +25 -6
  1014. package/dist/esm-es5/mds-benchmark-bar.entry.js +3 -3
  1015. package/dist/esm-es5/mds-bibliography.entry.js +6 -6
  1016. package/dist/esm-es5/mds-book.entry.js +22 -22
  1017. package/dist/esm-es5/mds-breadcrumb-item.entry.js +2 -2
  1018. package/dist/esm-es5/mds-breadcrumb.entry.js +4 -4
  1019. package/dist/esm-es5/mds-button-dropdown.entry.js +5 -5
  1020. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  1021. package/dist/esm-es5/mds-button_3.entry.js +20 -20
  1022. package/dist/esm-es5/mds-calendar_2.entry.js +56 -14
  1023. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  1024. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  1025. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  1026. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  1027. package/dist/esm-es5/mds-card.entry.js +3 -3
  1028. package/dist/esm-es5/mds-details.entry.js +3 -3
  1029. package/dist/esm-es5/mds-dropdown.entry.js +31 -16
  1030. package/dist/esm-es5/mds-emoji.entry.js +44 -44
  1031. package/dist/esm-es5/mds-entity.entry.js +1 -1
  1032. package/dist/esm-es5/mds-file-preview.entry.js +5 -5
  1033. package/dist/esm-es5/mds-file.entry.js +7 -7
  1034. package/dist/esm-es5/mds-filter-item.entry.js +4 -4
  1035. package/dist/esm-es5/mds-filter.entry.js +7 -7
  1036. package/dist/esm-es5/mds-header-bar.entry.js +3 -3
  1037. package/dist/esm-es5/mds-header.entry.js +8 -8
  1038. package/dist/esm-es5/mds-horizontal-scroll.entry.js +13 -13
  1039. package/dist/esm-es5/mds-hr.entry.js +1 -1
  1040. package/dist/esm-es5/mds-img.entry.js +4 -4
  1041. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +3 -3
  1042. package/dist/esm-es5/mds-input-date-range.entry.js +48 -15
  1043. package/dist/esm-es5/mds-input-date.entry.js +19 -10
  1044. package/dist/esm-es5/mds-input-field.entry.js +4 -4
  1045. package/dist/esm-es5/mds-input-otp.entry.js +6 -6
  1046. package/dist/esm-es5/mds-input-range-value.entry.js +1 -0
  1047. package/dist/esm-es5/mds-input-range.entry.js +93 -12
  1048. package/dist/esm-es5/mds-input-select.entry.js +4 -4
  1049. package/dist/esm-es5/mds-input-switch_2.entry.js +5 -5
  1050. package/dist/esm-es5/mds-input-tip_2.entry.js +9 -6
  1051. package/dist/esm-es5/mds-input-upload.entry.js +8 -8
  1052. package/dist/esm-es5/mds-input.entry.js +157 -52
  1053. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  1054. package/dist/esm-es5/mds-keyboard.entry.js +7 -7
  1055. package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
  1056. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  1057. package/dist/esm-es5/mds-label.entry.js +2 -2
  1058. package/dist/esm-es5/mds-link.entry.js +7 -7
  1059. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  1060. package/dist/esm-es5/mds-list.entry.js +1 -1
  1061. package/dist/esm-es5/mds-mention.entry.js +2 -2
  1062. package/dist/esm-es5/mds-modal.entry.js +14 -14
  1063. package/dist/esm-es5/mds-note.entry.js +3 -3
  1064. package/dist/esm-es5/mds-notification.entry.js +8 -8
  1065. package/dist/esm-es5/mds-paginator-item.entry.js +3 -3
  1066. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  1067. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  1068. package/dist/esm-es5/mds-pref-animation.entry.js +4 -4
  1069. package/dist/esm-es5/mds-pref-consumption.entry.js +4 -4
  1070. package/dist/esm-es5/mds-pref-contrast.entry.js +4 -4
  1071. package/dist/esm-es5/mds-pref-language-item.entry.js +3 -3
  1072. package/dist/esm-es5/mds-pref-language.entry.js +9 -9
  1073. package/dist/esm-es5/mds-pref-mode.entry.js +7 -7
  1074. package/dist/esm-es5/mds-pref-theme-item.entry.js +5 -5
  1075. package/dist/esm-es5/mds-pref-theme.entry.js +14 -14
  1076. package/dist/esm-es5/mds-pref.entry.js +7 -4
  1077. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  1078. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  1079. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  1080. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  1081. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  1082. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  1083. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  1084. package/dist/esm-es5/mds-progress_2.entry.js +9 -5
  1085. package/dist/esm-es5/mds-push-notification-item.entry.js +3 -3
  1086. package/dist/esm-es5/mds-push-notification.entry.js +7 -7
  1087. package/dist/esm-es5/mds-quote.entry.js +2 -2
  1088. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  1089. package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
  1090. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1091. package/dist/esm-es5/mds-status-bar.entry.js +3 -3
  1092. package/dist/esm-es5/mds-stepper-bar-item.entry.js +5 -5
  1093. package/dist/esm-es5/mds-stepper-bar.entry.js +8 -5
  1094. package/dist/esm-es5/mds-tab-bar-item.entry.js +4 -4
  1095. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  1096. package/dist/esm-es5/mds-tab_2.entry.js +31 -11
  1097. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1098. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  1099. package/dist/esm-es5/mds-table-header-cell.entry.js +7 -7
  1100. package/dist/esm-es5/mds-table-header.entry.js +9 -8
  1101. package/dist/esm-es5/mds-table-row.entry.js +4 -4
  1102. package/dist/esm-es5/mds-table.entry.js +24 -11
  1103. package/dist/esm-es5/mds-text.entry.js +7 -7
  1104. package/dist/esm-es5/mds-toast-region.entry.js +5 -5
  1105. package/dist/esm-es5/mds-toast.entry.js +7 -7
  1106. package/dist/esm-es5/mds-tooltip.entry.js +12 -3
  1107. package/dist/esm-es5/mds-tree-item.entry.js +7 -7
  1108. package/dist/esm-es5/mds-tree.entry.js +5 -5
  1109. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  1110. package/dist/esm-es5/mds-usage.entry.js +3 -3
  1111. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  1112. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1113. package/dist/esm-es5/{navigation-Bz1eiKqd.js → navigation-To9IeLHs.js} +8 -1
  1114. package/dist/esm-es5/{preference-C8foBO86.js → preference-CBMLGSf7.js} +1 -1
  1115. package/dist/hydrate/index.js +2097 -1008
  1116. package/dist/hydrate/index.mjs +2097 -1008
  1117. package/dist/magma-components/index.esm.js +1 -1
  1118. package/dist/magma-components/magma-components.esm.js +1 -1
  1119. package/dist/magma-components/magma-components.js +1 -1
  1120. package/dist/magma-components/{p-c4c1ef48.system.entry.js → p-009e4359.system.entry.js} +118 -118
  1121. package/dist/magma-components/{p-f0909679.system.entry.js → p-01d6d5a5.system.entry.js} +24 -11
  1122. package/dist/magma-components/p-03285704.entry.js +1 -0
  1123. package/dist/magma-components/p-03441f69.entry.js +1 -0
  1124. package/dist/magma-components/p-03896fbd.entry.js +1 -0
  1125. package/dist/magma-components/p-038fc1db.entry.js +1 -0
  1126. package/dist/magma-components/{p-e3b9ea0b.system.entry.js → p-03a2f4e7.system.entry.js} +2 -2
  1127. package/dist/magma-components/{p-caca78ff.system.entry.js → p-06ba1f71.system.entry.js} +4 -4
  1128. package/dist/magma-components/p-0760e8a4.entry.js +1 -0
  1129. package/dist/magma-components/p-082b787b.entry.js +1 -0
  1130. package/dist/magma-components/p-09537867.entry.js +1 -0
  1131. package/dist/magma-components/p-09675899.entry.js +1 -0
  1132. package/dist/magma-components/p-0a914567.entry.js +1 -0
  1133. package/dist/magma-components/p-0c8dd132.entry.js +1 -0
  1134. package/dist/magma-components/p-0d7370d8.system.entry.js +1 -0
  1135. package/dist/magma-components/{p-7a73fd19.system.entry.js → p-0e7bb90b.system.entry.js} +20 -20
  1136. package/dist/magma-components/{p-dd348171.system.entry.js → p-10a68a4d.system.entry.js} +2 -2
  1137. package/dist/magma-components/p-11312b0c.entry.js +1 -0
  1138. package/dist/magma-components/{p-840c19ee.system.entry.js → p-11543f44.system.entry.js} +4 -4
  1139. package/dist/magma-components/{p-3a836de8.system.entry.js → p-11ee7089.system.entry.js} +5 -5
  1140. package/dist/magma-components/p-13e94501.entry.js +1 -0
  1141. package/dist/magma-components/{p-c9baa3fb.system.entry.js → p-14f60718.system.entry.js} +1 -1
  1142. package/dist/magma-components/p-16651356.entry.js +1 -0
  1143. package/dist/magma-components/p-1686b36a.entry.js +1 -0
  1144. package/dist/magma-components/{p-2e825656.system.entry.js → p-16a7e26a.system.entry.js} +4 -4
  1145. package/dist/magma-components/p-1784d5fb.entry.js +1 -0
  1146. package/dist/magma-components/p-18421a84.entry.js +1 -0
  1147. package/dist/magma-components/p-1934151b.entry.js +1 -0
  1148. package/dist/magma-components/p-193b58d0.entry.js +1 -0
  1149. package/dist/magma-components/{p-720e9291.system.entry.js → p-19f3b524.system.entry.js} +6 -6
  1150. package/dist/magma-components/{p-c54f2089.system.entry.js → p-1d101083.system.entry.js} +1 -1
  1151. package/dist/magma-components/p-1db5ab39.entry.js +1 -0
  1152. package/dist/magma-components/{p-24fb2c5c.system.entry.js → p-1e5d4854.system.entry.js} +7 -7
  1153. package/dist/magma-components/p-1f756317.entry.js +1 -0
  1154. package/dist/magma-components/p-2100343f.entry.js +1 -0
  1155. package/dist/magma-components/p-211b2675.system.entry.js +1 -0
  1156. package/dist/magma-components/{p-ca5427d4.system.entry.js → p-2289423c.system.entry.js} +1 -1
  1157. package/dist/magma-components/p-26aad538.entry.js +1 -0
  1158. package/dist/magma-components/p-270e9afa.entry.js +1 -0
  1159. package/dist/magma-components/{p-9f0100f2.system.entry.js → p-275d7968.system.entry.js} +14 -14
  1160. package/dist/magma-components/{p-5f20592f.system.entry.js → p-28ecae1e.system.entry.js} +2 -2
  1161. package/dist/magma-components/{p-c94e7973.system.entry.js → p-2a5223df.system.entry.js} +7 -7
  1162. package/dist/magma-components/p-2aa3e73a.system.entry.js +13 -0
  1163. package/dist/magma-components/p-2c64ec7e.entry.js +1 -0
  1164. package/dist/magma-components/{p-bcc6c358.system.entry.js → p-2dc9499c.system.entry.js} +3 -3
  1165. package/dist/magma-components/{p-00d2ef14.system.entry.js → p-2dd32b3f.system.entry.js} +7 -7
  1166. package/dist/magma-components/{p-380adee8.system.entry.js → p-2e5684a0.system.entry.js} +2 -2
  1167. package/dist/magma-components/{p-390d0672.system.entry.js → p-303173d5.system.entry.js} +3 -3
  1168. package/dist/magma-components/{p-7a4e8bc0.system.entry.js → p-33172d6f.system.entry.js} +8 -5
  1169. package/dist/magma-components/p-333c0ae5.entry.js +1 -0
  1170. package/dist/magma-components/p-3341ac50.entry.js +1 -0
  1171. package/dist/magma-components/p-34183ce3.entry.js +1 -0
  1172. package/dist/magma-components/p-35a77756.entry.js +1 -0
  1173. package/dist/magma-components/p-37172440.entry.js +1 -0
  1174. package/dist/magma-components/{p-3c911608.system.entry.js → p-37470fef.system.entry.js} +9 -5
  1175. package/dist/magma-components/p-3b41f929.entry.js +1 -0
  1176. package/dist/magma-components/p-3ccc1c10.entry.js +1 -0
  1177. package/dist/magma-components/p-3d0578a7.entry.js +1 -0
  1178. package/dist/magma-components/p-3d45d7a7.entry.js +1 -0
  1179. package/dist/magma-components/{p-caf478ff.system.entry.js → p-3d60f528.system.entry.js} +2 -2
  1180. package/dist/magma-components/p-3fb983e9.system.entry.js +1 -0
  1181. package/dist/magma-components/p-4082973c.system.entry.js +30 -0
  1182. package/dist/magma-components/p-41829c15.system.entry.js +7 -0
  1183. package/dist/magma-components/p-420c5af4.entry.js +1 -0
  1184. package/dist/magma-components/p-4242100c.entry.js +1 -0
  1185. package/dist/magma-components/p-430239ca.entry.js +8 -0
  1186. package/dist/magma-components/p-4564e7ad.entry.js +1 -0
  1187. package/dist/magma-components/{p-6336d979.entry.js → p-47712df6.entry.js} +1 -1
  1188. package/dist/magma-components/p-478bbfdb.entry.js +1 -0
  1189. package/dist/magma-components/p-478e6930.entry.js +1 -0
  1190. package/dist/magma-components/{p-c691f27e.system.entry.js → p-483480f9.system.entry.js} +31 -11
  1191. package/dist/magma-components/p-4bb45501.entry.js +1 -0
  1192. package/dist/magma-components/p-4e431466.entry.js +1 -0
  1193. package/dist/magma-components/{p-1dc0d59c.system.entry.js → p-4e4dd1c1.system.entry.js} +5 -5
  1194. package/dist/magma-components/{p-109926ce.system.entry.js → p-522968d1.system.entry.js} +6 -6
  1195. package/dist/magma-components/{p-7e0a8194.system.entry.js → p-52b73a95.system.entry.js} +7 -7
  1196. package/dist/magma-components/p-533bb401.system.entry.js +60 -0
  1197. package/dist/magma-components/{p-9228db0b.system.entry.js → p-555bd3f8.system.entry.js} +7 -7
  1198. package/dist/magma-components/{p-804f4794.system.entry.js → p-56715bbc.system.entry.js} +4 -4
  1199. package/dist/magma-components/{p-527569a3.system.entry.js → p-586878a2.system.entry.js} +2 -2
  1200. package/dist/magma-components/{p-3cf8ed46.system.entry.js → p-58bbada6.system.entry.js} +1 -1
  1201. package/dist/magma-components/{p-eac943e5.system.entry.js → p-5b5d57b0.system.entry.js} +4 -4
  1202. package/dist/magma-components/p-5c0f0517.entry.js +1 -0
  1203. package/dist/magma-components/p-5c4aed7e.entry.js +1 -0
  1204. package/dist/magma-components/p-5d8cb375.system.entry.js +107 -0
  1205. package/dist/magma-components/p-62e42a62.entry.js +1 -0
  1206. package/dist/magma-components/p-6443e40f.entry.js +1 -0
  1207. package/dist/magma-components/{p-11456781.system.entry.js → p-6471c0a4.system.entry.js} +2 -2
  1208. package/dist/magma-components/{p-b871ad36.system.entry.js → p-6619b3c0.system.entry.js} +11 -11
  1209. package/dist/magma-components/p-67fa6fd7.entry.js +1 -0
  1210. package/dist/magma-components/{p-79085c46.system.entry.js → p-68d83e18.system.entry.js} +1 -1
  1211. package/dist/magma-components/{p-3ba14295.system.entry.js → p-6c6ec154.system.entry.js} +4 -4
  1212. package/dist/magma-components/{p-8ac1ba5c.system.entry.js → p-6d7e8240.system.entry.js} +4 -4
  1213. package/dist/magma-components/{p-3f0e6729.system.entry.js → p-6de384d0.system.entry.js} +3 -3
  1214. package/dist/magma-components/p-6fb17347.system.entry.js +1 -0
  1215. package/dist/magma-components/p-6fdf3b37.entry.js +1 -0
  1216. package/dist/magma-components/p-70cf2c28.entry.js +1 -0
  1217. package/dist/magma-components/p-73596a07.entry.js +1 -0
  1218. package/dist/magma-components/{p-a5ca10ae.system.entry.js → p-73a6ee3b.system.entry.js} +1 -1
  1219. package/dist/magma-components/{p-a9ab9eb0.system.entry.js → p-73b0b35f.system.entry.js} +2 -2
  1220. package/dist/magma-components/p-73c0b53e.system.entry.js +82 -0
  1221. package/dist/magma-components/p-73f22a7d.entry.js +1 -0
  1222. package/dist/magma-components/p-756cd3dc.entry.js +1 -0
  1223. package/dist/magma-components/p-757c3420.entry.js +1 -0
  1224. package/dist/magma-components/p-778a46fa.entry.js +1 -0
  1225. package/dist/magma-components/p-78cced59.entry.js +1 -0
  1226. package/dist/magma-components/p-7caf244b.system.entry.js +7 -0
  1227. package/dist/magma-components/p-7cfa2415.system.entry.js +1 -0
  1228. package/dist/magma-components/p-7e87807d.entry.js +1 -0
  1229. package/dist/magma-components/p-8193fd71.entry.js +1 -0
  1230. package/dist/magma-components/p-82041de2.entry.js +1 -0
  1231. package/dist/magma-components/{p-a2d4d849.system.entry.js → p-825713bc.system.entry.js} +2 -2
  1232. package/dist/magma-components/p-851010c6.system.entry.js +25 -0
  1233. package/dist/magma-components/p-857e893e.system.entry.js +26 -0
  1234. package/dist/magma-components/p-8928d9b5.system.entry.js +110 -0
  1235. package/dist/magma-components/p-8aa6524e.entry.js +1 -0
  1236. package/dist/magma-components/p-8acbf50a.entry.js +1 -0
  1237. package/dist/magma-components/p-8e471af5.entry.js +1 -0
  1238. package/dist/magma-components/p-913123e6.entry.js +1 -0
  1239. package/dist/magma-components/{p-724b7fff.system.entry.js → p-91406af1.system.entry.js} +9 -8
  1240. package/dist/magma-components/p-95a29fd2.entry.js +1 -0
  1241. package/dist/magma-components/{p-4a9ed4f7.system.entry.js → p-96ece2cc.system.entry.js} +4 -4
  1242. package/dist/magma-components/p-96f66b8f.entry.js +1 -0
  1243. package/dist/magma-components/{p-2a5167e3.system.entry.js → p-97e55f7e.system.entry.js} +5 -5
  1244. package/dist/magma-components/{p-bc054fa3.system.entry.js → p-98a3802b.system.entry.js} +33 -18
  1245. package/dist/magma-components/{p-0da5c696.system.entry.js → p-9b00051f.system.entry.js} +8 -8
  1246. package/dist/magma-components/p-9be80c34.entry.js +1 -0
  1247. package/dist/magma-components/{p-7701a318.system.entry.js → p-9c0d1025.system.entry.js} +1 -1
  1248. package/dist/magma-components/{p-6f90c2c9.system.entry.js → p-9e3c1c28.system.entry.js} +9 -9
  1249. package/dist/magma-components/{p-BoDvZoCN.system.js → p-B6f9M1Bj.system.js} +8 -1
  1250. package/dist/magma-components/p-B7Jp0tqu.system.js +5 -0
  1251. package/dist/magma-components/p-BAW1DAbr.system.js +13 -0
  1252. package/dist/magma-components/{p-nFkaC8l_.system.js → p-BAcul0Zt.system.js} +1 -1
  1253. package/dist/magma-components/{p-DxR4rGsw.js → p-BXkIXROP.js} +1 -1
  1254. package/dist/magma-components/{p-CATyfc78.js → p-BkfGbFba.js} +2 -2
  1255. package/dist/magma-components/{p-BaFfIZGB.js → p-C7p9e0P3.js} +1 -1
  1256. package/dist/magma-components/p-CPibDZjX.js +3 -0
  1257. package/dist/magma-components/{p-Cbabyppz.system.js → p-CyPLJo0p.system.js} +34 -14
  1258. package/dist/magma-components/{p-BHdlb7Fr.system.js → p-CzZWts7L.system.js} +8 -8
  1259. package/dist/magma-components/{p-VOjLCGlK.system.js → p-D5Yayq7E.system.js} +47 -5
  1260. package/dist/magma-components/{p-DOisMne4.system.js → p-DGfoeZMw.system.js} +6 -6
  1261. package/dist/magma-components/{p-BZP13mns.system.js → p-EhfbAdzV.system.js} +52 -51
  1262. package/dist/magma-components/p-H8sVzFTL.js +1 -0
  1263. package/dist/magma-components/p-a00805cd.system.entry.js +136 -0
  1264. package/dist/magma-components/p-a025b35b.entry.js +1 -0
  1265. package/dist/magma-components/p-a02819e3.entry.js +1 -0
  1266. package/dist/magma-components/p-a0389821.entry.js +1 -0
  1267. package/dist/magma-components/p-a075c069.entry.js +1 -0
  1268. package/dist/magma-components/p-a0764f01.entry.js +1 -0
  1269. package/dist/magma-components/{p-54abba52.system.entry.js → p-a171c096.system.entry.js} +4 -4
  1270. package/dist/magma-components/{p-9b0b65f0.system.entry.js → p-a190c325.system.entry.js} +3 -3
  1271. package/dist/magma-components/{p-f2649031.entry.js → p-a33a235e.entry.js} +1 -1
  1272. package/dist/magma-components/{p-7fbdf896.system.entry.js → p-a4aaf1c6.system.entry.js} +8 -8
  1273. package/dist/magma-components/{p-c8c918d2.entry.js → p-a9c7fb3f.entry.js} +3 -3
  1274. package/dist/magma-components/{p-372fa5d4.system.entry.js → p-a9d100e5.system.entry.js} +7 -7
  1275. package/dist/magma-components/{p-09a7c1de.system.entry.js → p-aa601247.system.entry.js} +2 -2
  1276. package/dist/magma-components/{p-ca4e8601.system.entry.js → p-aa86018e.system.entry.js} +2 -2
  1277. package/dist/magma-components/p-ab920e0b.entry.js +1 -0
  1278. package/dist/magma-components/{p-f51ed098.entry.js → p-ac401f1a.entry.js} +1 -1
  1279. package/dist/magma-components/{p-f5bd5b64.system.entry.js → p-ad12fa89.system.entry.js} +3 -3
  1280. package/dist/magma-components/{p-3ddae677.system.entry.js → p-ad6b5fc1.system.entry.js} +3 -3
  1281. package/dist/magma-components/p-ada93f68.entry.js +1 -0
  1282. package/dist/magma-components/{p-4a72d72c.system.entry.js → p-ae258eca.system.entry.js} +2 -2
  1283. package/dist/magma-components/{p-a48c73b1.system.entry.js → p-af1a93c6.system.entry.js} +7 -7
  1284. package/dist/magma-components/p-b0406c51.entry.js +1 -0
  1285. package/dist/magma-components/p-b18b0088.system.entry.js +9 -0
  1286. package/dist/magma-components/p-b1fe6261.entry.js +1 -0
  1287. package/dist/magma-components/{p-99d2ace2.system.entry.js → p-b47c444e.system.entry.js} +2 -2
  1288. package/dist/magma-components/p-b4856322.entry.js +1 -0
  1289. package/dist/magma-components/p-b7d90310.entry.js +1 -0
  1290. package/dist/magma-components/{p-0e1d239b.system.entry.js → p-b8e5411d.system.entry.js} +1 -1
  1291. package/dist/magma-components/{p-4a2ed30e.system.entry.js → p-b95f648f.system.entry.js} +3 -3
  1292. package/dist/magma-components/{p-64f86e46.system.entry.js → p-ba148b89.system.entry.js} +7 -7
  1293. package/dist/magma-components/p-bbbf8b89.system.entry.js +29 -0
  1294. package/dist/magma-components/p-bca909d9.entry.js +1 -0
  1295. package/dist/magma-components/p-bd4ad8c7.entry.js +1 -0
  1296. package/dist/magma-components/p-bd539dbc.entry.js +1 -0
  1297. package/dist/magma-components/{p-f7e9af99.system.entry.js → p-c0c69807.system.entry.js} +2 -2
  1298. package/dist/magma-components/{p-22f24125.system.entry.js → p-c2a883b0.system.entry.js} +1 -1
  1299. package/dist/magma-components/{p-b7d18d7a.system.entry.js → p-c2d9cf4e.system.entry.js} +1 -1
  1300. package/dist/magma-components/{p-555ba0e0.system.entry.js → p-c3cfbc71.system.entry.js} +8 -8
  1301. package/dist/magma-components/p-c5b7f820.system.entry.js +1 -0
  1302. package/dist/magma-components/p-c67655fa.entry.js +1 -0
  1303. package/dist/magma-components/p-c6cab2cb.entry.js +1 -0
  1304. package/dist/magma-components/p-c6f56934.entry.js +1 -0
  1305. package/dist/magma-components/{p-793072e1.system.entry.js → p-c8430552.system.entry.js} +14 -14
  1306. package/dist/magma-components/p-c902d468.entry.js +1 -0
  1307. package/dist/magma-components/p-ca0f3549.entry.js +1 -0
  1308. package/dist/magma-components/{p-98cc6473.system.entry.js → p-ca5867f5.system.entry.js} +15 -15
  1309. package/dist/magma-components/p-cc5518b1.entry.js +1 -0
  1310. package/dist/magma-components/{p-32b3ad6f.entry.js → p-ccb23b6a.entry.js} +1 -1
  1311. package/dist/magma-components/p-ccb64689.system.entry.js +113 -0
  1312. package/dist/magma-components/{p-fe51c0cb.system.entry.js → p-cf8cfcac.system.entry.js} +3 -3
  1313. package/dist/magma-components/p-cfb153b8.entry.js +1 -0
  1314. package/dist/magma-components/p-cfcb8bb5.entry.js +1 -0
  1315. package/dist/magma-components/p-d0b45a54.entry.js +1 -0
  1316. package/dist/magma-components/{p-3f17a06f.system.entry.js → p-d0dfa8b5.system.entry.js} +2 -2
  1317. package/dist/magma-components/p-d1281855.system.entry.js +330 -0
  1318. package/dist/magma-components/{p-48a1871f.system.entry.js → p-d173ae2f.system.entry.js} +1 -1
  1319. package/dist/magma-components/p-d1751ff6.entry.js +1 -0
  1320. package/dist/magma-components/p-d32ca6ce.entry.js +1 -0
  1321. package/dist/magma-components/p-d4452e41.entry.js +1 -0
  1322. package/dist/magma-components/p-d5dec64d.entry.js +1 -0
  1323. package/dist/magma-components/p-d7813f9b.system.entry.js +13 -0
  1324. package/dist/magma-components/{p-27a32865.system.entry.js → p-dd4b04ed.system.entry.js} +3 -3
  1325. package/dist/magma-components/p-ddc31c50.entry.js +1 -0
  1326. package/dist/magma-components/{p-b129b127.system.entry.js → p-df70af5f.system.entry.js} +37 -37
  1327. package/dist/magma-components/p-e009c632.entry.js +1 -0
  1328. package/dist/magma-components/p-e160e4e1.entry.js +1 -0
  1329. package/dist/magma-components/p-e497f0db.entry.js +1 -0
  1330. package/dist/magma-components/p-e4db9ad2.entry.js +1 -0
  1331. package/dist/magma-components/p-e63c1ba4.entry.js +1 -0
  1332. package/dist/magma-components/p-e66db408.entry.js +1 -0
  1333. package/dist/magma-components/{p-5c6fdabd.system.entry.js → p-e84361ee.system.entry.js} +12 -3
  1334. package/dist/magma-components/p-ea93721d.entry.js +1 -0
  1335. package/dist/magma-components/{p-f6358241.system.entry.js → p-eb4f76d8.system.entry.js} +9 -6
  1336. package/dist/magma-components/p-ecf29ffa.entry.js +1 -0
  1337. package/dist/magma-components/{p-5794053b.system.entry.js → p-ede31d27.system.entry.js} +6 -6
  1338. package/dist/magma-components/{p-66f7f9b1.system.entry.js → p-ee247029.system.entry.js} +3 -3
  1339. package/dist/magma-components/{p-45c26a24.system.entry.js → p-ee65f0eb.system.entry.js} +5 -5
  1340. package/dist/magma-components/p-efcd8a1d.entry.js +1 -0
  1341. package/dist/magma-components/{p-9b0d7f7d.system.entry.js → p-f01e7a7e.system.entry.js} +4 -4
  1342. package/dist/magma-components/{p-188a55ac.system.entry.js → p-f0d93b22.system.entry.js} +9 -6
  1343. package/dist/magma-components/{p-c0295a0e.system.entry.js → p-f2e5a2c7.system.entry.js} +7 -7
  1344. package/dist/magma-components/p-f3041712.entry.js +1 -0
  1345. package/dist/magma-components/{p-97a501cd.system.entry.js → p-f3f1da06.system.entry.js} +5 -5
  1346. package/dist/magma-components/{p-b1cd3acf.system.entry.js → p-f4e8f507.system.entry.js} +2 -2
  1347. package/dist/magma-components/{p-1e24aafa.system.entry.js → p-f5c82548.system.entry.js} +1 -1
  1348. package/dist/magma-components/{p-411fca2f.system.entry.js → p-f6f6d914.system.entry.js} +3 -3
  1349. package/dist/magma-components/p-f9d2316a.entry.js +1 -0
  1350. package/dist/magma-components/p-fe4ae251.entry.js +1 -0
  1351. package/dist/magma-components/{p-16bbff4e.system.entry.js → p-ffcfa9e3.system.entry.js} +2 -2
  1352. package/dist/magma-components/p-kW8cjKIa.js +1 -0
  1353. package/dist/mcp/checks.js +1 -1
  1354. package/dist/stats.json +4106 -3337
  1355. package/dist/types/common/floating-controller.d.ts +14 -0
  1356. package/dist/types/common/navigation.d.ts +7 -0
  1357. package/dist/types/common/preference.d.ts +13 -1
  1358. package/dist/types/common/validity/index.d.ts +1 -1
  1359. package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +10 -2
  1360. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +10 -2
  1361. package/dist/types/components/mds-banner/mds-banner.d.ts +13 -4
  1362. package/dist/types/components/mds-banner/meta/dictionary.d.ts +7 -0
  1363. package/dist/types/components/mds-banner/meta/types.d.ts +2 -0
  1364. package/dist/types/components/mds-calendar/mds-calendar.d.ts +60 -16
  1365. package/dist/types/components/mds-calendar/meta/types.d.ts +2 -0
  1366. package/dist/types/components/mds-chip/mds-chip.d.ts +10 -0
  1367. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +1 -0
  1368. package/dist/types/components/mds-icon/services/icons-set.service.d.ts +42 -0
  1369. package/dist/types/components/mds-input/mds-input.d.ts +114 -10
  1370. package/dist/types/components/mds-input/meta/color.d.ts +13 -0
  1371. package/dist/types/components/mds-input/meta/types.d.ts +1 -1
  1372. package/dist/types/components/mds-input/meta/validators.d.ts +5 -0
  1373. package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
  1374. package/dist/types/components/mds-input-date/mds-input-date.d.ts +13 -2
  1375. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +34 -3
  1376. package/dist/types/components/mds-input-range/mds-input-range.d.ts +96 -4
  1377. package/dist/types/components/mds-input-range/meta/event-detail.d.ts +7 -0
  1378. package/dist/types/components/mds-input-range-value/mds-input-range-value.d.ts +18 -0
  1379. package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +6 -3
  1380. package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -1
  1381. package/dist/types/components/mds-pref/mds-pref.d.ts +6 -0
  1382. package/dist/types/components/mds-tab/mds-tab.d.ts +2 -1
  1383. package/dist/types/components/mds-table/mds-table.d.ts +6 -1
  1384. package/dist/types/components/mds-table-header/mds-table-header.d.ts +1 -1
  1385. package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -3
  1386. package/dist/types/components/mds-zero/mds-zero.d.ts +4 -0
  1387. package/dist/types/components.d.ts +157 -38
  1388. package/dist/types/fixtures/dark-mode.d.ts +7 -0
  1389. package/dist/types/index.d.ts +20 -8
  1390. package/dist/types/stencil-public-runtime.d.ts +1 -1
  1391. package/dist/types/type/file-types.d.ts +1 -1
  1392. package/dist/types/type/input.d.ts +2 -2
  1393. package/package.json +19 -17
  1394. package/dist/components/p-BQSO-HFx.js +0 -1
  1395. package/dist/components/p-Bw-eI2ca.js +0 -1
  1396. package/dist/components/p-BwwiliWt.js +0 -1
  1397. package/dist/components/p-CZX6N7ce.js +0 -1
  1398. package/dist/components/p-CpuUmvdl.js +0 -1
  1399. package/dist/components/p-DUgCzZw9.js +0 -1
  1400. package/dist/components/p-DWOg4-dH.js +0 -1
  1401. package/dist/components/p-DZ4_zLTp.js +0 -1
  1402. package/dist/components/p-J48g0t65.js +0 -1
  1403. package/dist/components/p-TZJN-ygm.js +0 -3
  1404. package/dist/components/p-UfaGafRS.js +0 -1
  1405. package/dist/components/p-k_Ly95Tj.js +0 -1
  1406. package/dist/components/p-lXKBo6V3.js +0 -1
  1407. package/dist/components/p-oFHbHRLX.js +0 -1
  1408. package/dist/esm-es5/index-DEL0bLpb.js +0 -10
  1409. package/dist/magma-components/p-02aed12a.entry.js +0 -1
  1410. package/dist/magma-components/p-0417391b.entry.js +0 -1
  1411. package/dist/magma-components/p-08f7a84b.entry.js +0 -1
  1412. package/dist/magma-components/p-0df067b4.entry.js +0 -1
  1413. package/dist/magma-components/p-0f4c2de6.entry.js +0 -1
  1414. package/dist/magma-components/p-14de26d5.entry.js +0 -1
  1415. package/dist/magma-components/p-163eccbd.entry.js +0 -1
  1416. package/dist/magma-components/p-167ba07a.entry.js +0 -1
  1417. package/dist/magma-components/p-17249b74.entry.js +0 -1
  1418. package/dist/magma-components/p-1a53d9d0.system.entry.js +0 -225
  1419. package/dist/magma-components/p-1cc379d6.entry.js +0 -1
  1420. package/dist/magma-components/p-223efc32.entry.js +0 -1
  1421. package/dist/magma-components/p-2454e4cd.system.entry.js +0 -7
  1422. package/dist/magma-components/p-24a69c45.entry.js +0 -1
  1423. package/dist/magma-components/p-259d9380.entry.js +0 -1
  1424. package/dist/magma-components/p-26b08e33.entry.js +0 -1
  1425. package/dist/magma-components/p-2940499f.entry.js +0 -1
  1426. package/dist/magma-components/p-2f4a7253.system.entry.js +0 -1
  1427. package/dist/magma-components/p-2ffa4d4a.entry.js +0 -1
  1428. package/dist/magma-components/p-33129e0c.system.entry.js +0 -13
  1429. package/dist/magma-components/p-397c0686.entry.js +0 -1
  1430. package/dist/magma-components/p-3bf4f012.system.entry.js +0 -13
  1431. package/dist/magma-components/p-3de37b32.entry.js +0 -1
  1432. package/dist/magma-components/p-40c59c18.entry.js +0 -1
  1433. package/dist/magma-components/p-43c307f5.entry.js +0 -1
  1434. package/dist/magma-components/p-440d7942.entry.js +0 -1
  1435. package/dist/magma-components/p-4541c233.entry.js +0 -1
  1436. package/dist/magma-components/p-4612bc78.entry.js +0 -8
  1437. package/dist/magma-components/p-4718a71d.entry.js +0 -1
  1438. package/dist/magma-components/p-4a1f7eb5.entry.js +0 -1
  1439. package/dist/magma-components/p-4c3b3913.system.entry.js +0 -25
  1440. package/dist/magma-components/p-4c955367.entry.js +0 -1
  1441. package/dist/magma-components/p-4ebb0a9e.entry.js +0 -1
  1442. package/dist/magma-components/p-4f80bf37.entry.js +0 -1
  1443. package/dist/magma-components/p-52211fa3.entry.js +0 -1
  1444. package/dist/magma-components/p-52cc5a93.entry.js +0 -1
  1445. package/dist/magma-components/p-56cf1cab.entry.js +0 -1
  1446. package/dist/magma-components/p-59aa4994.entry.js +0 -1
  1447. package/dist/magma-components/p-5a754d7b.entry.js +0 -1
  1448. package/dist/magma-components/p-5ca6063a.entry.js +0 -1
  1449. package/dist/magma-components/p-5cb581df.entry.js +0 -1
  1450. package/dist/magma-components/p-5d825728.entry.js +0 -1
  1451. package/dist/magma-components/p-5dfca9f0.entry.js +0 -1
  1452. package/dist/magma-components/p-5f38e95b.entry.js +0 -1
  1453. package/dist/magma-components/p-5f4bec31.entry.js +0 -1
  1454. package/dist/magma-components/p-627f5956.entry.js +0 -1
  1455. package/dist/magma-components/p-6352c2ea.entry.js +0 -1
  1456. package/dist/magma-components/p-64884d84.entry.js +0 -1
  1457. package/dist/magma-components/p-65ea6fc9.entry.js +0 -1
  1458. package/dist/magma-components/p-68b0d45a.entry.js +0 -1
  1459. package/dist/magma-components/p-6a4d44e2.entry.js +0 -1
  1460. package/dist/magma-components/p-6a90caf5.system.entry.js +0 -1
  1461. package/dist/magma-components/p-6c4f2de0.entry.js +0 -1
  1462. package/dist/magma-components/p-70faf379.entry.js +0 -1
  1463. package/dist/magma-components/p-71d03e56.entry.js +0 -1
  1464. package/dist/magma-components/p-73dc7c66.entry.js +0 -1
  1465. package/dist/magma-components/p-7476cf76.system.entry.js +0 -77
  1466. package/dist/magma-components/p-77707706.entry.js +0 -1
  1467. package/dist/magma-components/p-78d00f88.entry.js +0 -1
  1468. package/dist/magma-components/p-79392a0a.entry.js +0 -1
  1469. package/dist/magma-components/p-7a33ab3c.entry.js +0 -1
  1470. package/dist/magma-components/p-7b552dbe.entry.js +0 -1
  1471. package/dist/magma-components/p-7c13ccb0.entry.js +0 -1
  1472. package/dist/magma-components/p-848d1b42.system.entry.js +0 -30
  1473. package/dist/magma-components/p-84d0d701.entry.js +0 -1
  1474. package/dist/magma-components/p-86494ea9.entry.js +0 -1
  1475. package/dist/magma-components/p-8915347f.entry.js +0 -1
  1476. package/dist/magma-components/p-8b8a6662.entry.js +0 -1
  1477. package/dist/magma-components/p-8c20ac0c.entry.js +0 -1
  1478. package/dist/magma-components/p-90c60c48.entry.js +0 -1
  1479. package/dist/magma-components/p-90e20ad3.entry.js +0 -1
  1480. package/dist/magma-components/p-94548d43.entry.js +0 -1
  1481. package/dist/magma-components/p-95020326.entry.js +0 -1
  1482. package/dist/magma-components/p-970f45df.entry.js +0 -1
  1483. package/dist/magma-components/p-9aba3769.entry.js +0 -1
  1484. package/dist/magma-components/p-9b8d15a8.system.entry.js +0 -1
  1485. package/dist/magma-components/p-9e94f4a3.system.entry.js +0 -41
  1486. package/dist/magma-components/p-B8zYiZQY.system.js +0 -5
  1487. package/dist/magma-components/p-CvLLN-QH.js +0 -3
  1488. package/dist/magma-components/p-CxzVgcYv.js +0 -1
  1489. package/dist/magma-components/p-D3J9KZKy.system.js +0 -10
  1490. package/dist/magma-components/p-Dx7iOdVP.js +0 -1
  1491. package/dist/magma-components/p-a112a0e2.system.entry.js +0 -24
  1492. package/dist/magma-components/p-a2767235.entry.js +0 -1
  1493. package/dist/magma-components/p-a2c3b294.system.entry.js +0 -94
  1494. package/dist/magma-components/p-a4f53c83.entry.js +0 -1
  1495. package/dist/magma-components/p-a58e8a5c.entry.js +0 -1
  1496. package/dist/magma-components/p-a9a872e1.entry.js +0 -1
  1497. package/dist/magma-components/p-ab1c3fb0.system.entry.js +0 -7
  1498. package/dist/magma-components/p-ab445c2b.entry.js +0 -1
  1499. package/dist/magma-components/p-abe32d5b.entry.js +0 -1
  1500. package/dist/magma-components/p-af56e3e4.system.entry.js +0 -32
  1501. package/dist/magma-components/p-b1238d48.entry.js +0 -1
  1502. package/dist/magma-components/p-b705b805.entry.js +0 -1
  1503. package/dist/magma-components/p-ba871d9c.entry.js +0 -1
  1504. package/dist/magma-components/p-ba95bf93.entry.js +0 -1
  1505. package/dist/magma-components/p-bd489df9.entry.js +0 -1
  1506. package/dist/magma-components/p-bfd95736.entry.js +0 -1
  1507. package/dist/magma-components/p-c06d8b5a.entry.js +0 -1
  1508. package/dist/magma-components/p-c131d726.entry.js +0 -1
  1509. package/dist/magma-components/p-c2758b81.entry.js +0 -1
  1510. package/dist/magma-components/p-c49676e6.entry.js +0 -1
  1511. package/dist/magma-components/p-c8414ee6.entry.js +0 -1
  1512. package/dist/magma-components/p-c91cb63a.entry.js +0 -1
  1513. package/dist/magma-components/p-cb06839f.entry.js +0 -1
  1514. package/dist/magma-components/p-ce42734f.entry.js +0 -1
  1515. package/dist/magma-components/p-d1e4a032.entry.js +0 -1
  1516. package/dist/magma-components/p-d25a47fa.entry.js +0 -1
  1517. package/dist/magma-components/p-d29b32b4.system.entry.js +0 -1
  1518. package/dist/magma-components/p-d2ba5851.system.entry.js +0 -82
  1519. package/dist/magma-components/p-d365c6b6.entry.js +0 -1
  1520. package/dist/magma-components/p-d3b06151.entry.js +0 -1
  1521. package/dist/magma-components/p-d45f65e0.entry.js +0 -1
  1522. package/dist/magma-components/p-d51ec950.entry.js +0 -1
  1523. package/dist/magma-components/p-d760c1fa.entry.js +0 -1
  1524. package/dist/magma-components/p-d785d7ee.entry.js +0 -1
  1525. package/dist/magma-components/p-d9092133.entry.js +0 -1
  1526. package/dist/magma-components/p-de423b11.entry.js +0 -1
  1527. package/dist/magma-components/p-df78b7ac.system.entry.js +0 -1
  1528. package/dist/magma-components/p-e39b5e12.entry.js +0 -1
  1529. package/dist/magma-components/p-eb220deb.system.entry.js +0 -7
  1530. package/dist/magma-components/p-eca42fe8.system.entry.js +0 -29
  1531. package/dist/magma-components/p-ecda3e45.entry.js +0 -1
  1532. package/dist/magma-components/p-f9f3ad86.entry.js +0 -1
  1533. package/dist/magma-components/p-fb4b648a.entry.js +0 -1
  1534. package/dist/magma-components/p-fd4588c5.entry.js +0 -1
  1535. package/dist/magma-components/p-fdd17ee6.entry.js +0 -1
  1536. package/dist/magma-components/p-ff6cf4f8.system.entry.js +0 -98
  1537. package/dist/magma-components/p-ff76c614.entry.js +0 -1
  1538. /package/dist/components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
  1539. /package/dist/magma-components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,d as createEvent,h as h$4,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{g as getDefaultExportFromCjs}from"./_commonjsHelpers-B85MJLTf.js";import{m as miBaselineCancel}from"./cancel-BJ8rpzfj.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-DhP1Ge2o.js";import{s as sanitizeISO8601Date}from"./date-CACEYk42.js";import{p as preferenceStore}from"./preference-C8foBO86.js";var dayjs_min$1={exports:{}};var dayjs_min=dayjs_min$1.exports;var hasRequiredDayjs_min;function requireDayjs_min(){if(hasRequiredDayjs_min)return dayjs_min$1.exports;hasRequiredDayjs_min=1;(function(t,a){!function(a,r){t.exports=r()}(dayjs_min,(function(){var t=1e3,a=6e4,r=36e5,i="millisecond",e="second",n="minute",o="hour",s="day",c="week",u="month",m="quarter",d="year",h="date",l="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|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,g={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"],r=t%100;return"["+t+(a[(r-20)%10]||a[r]||a[0])+"]"}},p=function(t,a,r){var i=String(t);return!i||i.length>=a?t:""+Array(a+1-i.length).join(r)+t},b={s:p,z:function(t){var a=-t.utcOffset(),r=Math.abs(a),i=Math.floor(r/60),e=r%60;return(a<=0?"+":"-")+p(i,2,"0")+":"+p(e,2,"0")},m:function t(a,r){if(a.date()<r.date())return-t(r,a);var i=12*(r.year()-a.year())+(r.month()-a.month()),e=a.clone().add(i,u),n=r-e<0,o=a.clone().add(i+(n?-1:1),u);return+(-(i+(r-e)/(n?e-o:o-e))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:d,w:c,d:s,D:h,h:o,m:n,s:e,ms:i,Q:m}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",$={};$[y]=g;var k="$isDayjsObject",w=function(t){return t instanceof D||!(!t||!t[k])},M=function t(a,r,i){var e;if(!a)return y;if("string"==typeof a){var n=a.toLowerCase();$[n]&&(e=n),r&&($[n]=r,e=n);var o=a.split("-");if(!e&&o.length>1)return t(o[0])}else{var s=a.name;$[s]=a,e=s}return!i&&e&&(y=e),e||!i&&y},x=function(t,a){if(w(t))return t.clone();var r="object"==typeof a?a:{};return r.date=t,r.args=arguments,new D(r)},j=b;j.l=M,j.i=w,j.w=function(t,a){return x(t,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var D=function(){function g(t){this.$L=M(t.locale,null,true),this.parse(t),this.$x=this.$x||t.x||{},this[k]=true}var p=g.prototype;return p.parse=function(t){this.$d=function(t){var a=t.date,r=t.utc;if(null===a)return new Date(NaN);if(j.u(a))return new Date;if(a instanceof Date)return new Date(a);if("string"==typeof a&&!/Z$/i.test(a)){var i=a.match(f);if(i){var e=i[2]-1||0,n=(i[7]||"0").substring(0,3);return r?new Date(Date.UTC(i[1],e,i[3]||1,i[4]||0,i[5]||0,i[6]||0,n)):new Date(i[1],e,i[3]||1,i[4]||0,i[5]||0,i[6]||0,n)}}return new Date(a)}(t),this.init()},p.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()},p.$utils=function(){return j},p.isValid=function(){return!(this.$d.toString()===l)},p.isSame=function(t,a){var r=x(t);return this.startOf(a)<=r&&r<=this.endOf(a)},p.isAfter=function(t,a){return x(t)<this.startOf(a)},p.isBefore=function(t,a){return this.endOf(a)<x(t)},p.$g=function(t,a,r){return j.u(t)?this[a]:this.set(r,t)},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(t,a){var r=this,i=!!j.u(a)||a,m=j.p(t),l=function(t,a){var e=j.w(r.$u?Date.UTC(r.$y,a,t):new Date(r.$y,a,t),r);return i?e:e.endOf(s)},f=function(t,a){return j.w(r.toDate()[t].apply(r.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(a)),r)},v=this.$W,g=this.$M,p=this.$D,b="set"+(this.$u?"UTC":"");switch(m){case d:return i?l(1,0):l(31,11);case u:return i?l(1,g):l(0,g+1);case c:var y=this.$locale().weekStart||0,$=(v<y?v+7:v)-y;return l(i?p-$:p+(6-$),g);case s:case h:return f(b+"Hours",0);case o:return f(b+"Minutes",1);case n:return f(b+"Seconds",2);case e:return f(b+"Milliseconds",3);default:return this.clone()}},p.endOf=function(t){return this.startOf(t,false)},p.$set=function(t,a){var r,c=j.p(t),m="set"+(this.$u?"UTC":""),l=(r={},r[s]=m+"Date",r[h]=m+"Date",r[u]=m+"Month",r[d]=m+"FullYear",r[o]=m+"Hours",r[n]=m+"Minutes",r[e]=m+"Seconds",r[i]=m+"Milliseconds",r)[c],f=c===s?this.$D+(a-this.$W):a;if(c===u||c===d){var v=this.clone().set(h,1);v.$d[l](f),v.init(),this.$d=v.set(h,Math.min(this.$D,v.daysInMonth())).$d}else l&&this.$d[l](f);return this.init(),this},p.set=function(t,a){return this.clone().$set(t,a)},p.get=function(t){return this[j.p(t)]()},p.add=function(i,m){var h,l=this;i=Number(i);var f=j.p(m),v=function(t){var a=x(l);return j.w(a.date(a.date()+Math.round(t*i)),l)};if(f===u)return this.set(u,this.$M+i);if(f===d)return this.set(d,this.$y+i);if(f===s)return v(1);if(f===c)return v(7);var g=(h={},h[n]=a,h[o]=r,h[e]=t,h)[f]||1,p=this.$d.getTime()+i*g;return j.w(p,this)},p.subtract=function(t,a){return this.add(-1*t,a)},p.format=function(t){var a=this,r=this.$locale();if(!this.isValid())return r.invalidDate||l;var i=t||"YYYY-MM-DDTHH:mm:ssZ",e=j.z(this),n=this.$H,o=this.$m,s=this.$M,c=r.weekdays,u=r.months,m=r.meridiem,d=function(t,r,e,n){return t&&(t[r]||t(a,i))||e[r].slice(0,n)},h=function(t){return j.s(n%12||12,t,"0")},f=m||function(t,a,r){var i=t<12?"AM":"PM";return r?i.toLowerCase():i};return i.replace(v,(function(t,i){return i||function(t){switch(t){case"YY":return String(a.$y).slice(-2);case"YYYY":return j.s(a.$y,4,"0");case"M":return s+1;case"MM":return j.s(s+1,2,"0");case"MMM":return d(r.monthsShort,s,u,3);case"MMMM":return d(u,s);case"D":return a.$D;case"DD":return j.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return d(r.weekdaysMin,a.$W,c,2);case"ddd":return d(r.weekdaysShort,a.$W,c,3);case"dddd":return c[a.$W];case"H":return String(n);case"HH":return j.s(n,2,"0");case"h":return h(1);case"hh":return h(2);case"a":return f(n,o,true);case"A":return f(n,o,false);case"m":return String(o);case"mm":return j.s(o,2,"0");case"s":return String(a.$s);case"ss":return j.s(a.$s,2,"0");case"SSS":return j.s(a.$ms,3,"0");case"Z":return e}return null}(t)||e.replace(":","")}))},p.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},p.diff=function(i,h,l){var f,v=this,g=j.p(h),p=x(i),b=(p.utcOffset()-this.utcOffset())*a,y=this-p,$=function(){return j.m(v,p)};switch(g){case d:f=$()/12;break;case u:f=$();break;case m:f=$()/3;break;case c:f=(y-b)/6048e5;break;case s:f=(y-b)/864e5;break;case o:f=y/r;break;case n:f=y/a;break;case e:f=y/t;break;default:f=y}return l?f:j.a(f)},p.daysInMonth=function(){return this.endOf(u).$D},p.$locale=function(){return $[this.$L]},p.locale=function(t,a){if(!t)return this.$L;var r=this.clone(),i=M(t,a,true);return i&&(r.$L=i),r},p.clone=function(){return j.w(this.$d,this)},p.toDate=function(){return new Date(this.valueOf())},p.toJSON=function(){return this.isValid()?this.toISOString():null},p.toISOString=function(){return this.$d.toISOString()},p.toString=function(){return this.$d.toUTCString()},g}(),_=D.prototype;return x.prototype=_,[["$ms",i],["$s",e],["$m",n],["$H",o],["$W",s],["$M",u],["$y",d],["$D",h]].forEach((function(t){_[t[1]]=function(a){return this.$g(a,t[0],t[1])}})),x.extend=function(t,a){return t.$i||(t(a,D,x),t.$i=true),x},x.locale=M,x.isDayjs=w,x.unix=function(t){return x(1e3*t)},x.en=$[y],x.Ls=$,x.p={},x}))})(dayjs_min$1);return dayjs_min$1.exports}var dayjs_minExports=requireDayjs_min();var dayjs=getDefaultExportFromCjs(dayjs_minExports);var dismiss$3="Κλείσιμο";var future$3="σε %s";var past$3="πριν από %s";var s$3="λίγα δευτ.";var m$3="1 λεπτό";var mm$3="%d λεπτά";var h$3="1 ώρα";var hh$3="%d ώρες";var d$3="1 ημέρα";var dd$3="%d ημέρες";var M$3="1 μήνας";var MM$3="%d μήνες";var y$3="1 έτος";var yy$3="%d έτη";var localeEl={dismiss:dismiss$3,future:future$3,past:past$3,s:s$3,m:m$3,mm:mm$3,h:h$3,hh:hh$3,d:d$3,dd:dd$3,M:M$3,MM:MM$3,y:y$3,yy:yy$3};var dismiss$2="Close";var future$2="in %s";var past$2="%s ago";var s$2="few sec";var m$2="1 min";var mm$2="%d mins";var h$2="1 hour";var hh$2="%d hours";var d$2="1 day";var dd$2="%d days";var M$2="1 month";var MM$2="%d months";var y$2="1 year";var yy$2="%d years";var localeEn={dismiss:dismiss$2,future:future$2,past:past$2,s:s$2,m:m$2,mm:mm$2,h:h$2,hh:hh$2,d:d$2,dd:dd$2,M:M$2,MM:MM$2,y:y$2,yy:yy$2};var dismiss$1="Cerrar";var future$1="en %s";var past$1="hace %s";var s$1="pocos seg";var m$1="1 min";var mm$1="%d mins";var h$1="1 hora";var hh$1="%d horas";var d$1="1 día";var dd$1="%d días";var M$1="1 mes";var MM$1="%d meses";var y$1="1 año";var yy$1="%d años";var localeEs={dismiss:dismiss$1,future:future$1,past:past$1,s:s$1,m:m$1,mm:mm$1,h:h$1,hh:hh$1,d:d$1,dd:dd$1,M:M$1,MM:MM$1,y:y$1,yy:yy$1};var dismiss="Chiudi";var future="tra %s";var past="%s fa";var s="pochi sec";var m="1 min";var mm="%d min";var h="1 ora";var hh="%d ore";var d="1 giorno";var dd="%d giorni";var M="1 mese";var MM="%d mesi";var y="1 anno";var yy="%d anni";var localeIt={dismiss:dismiss,future:future,past:past,s:s,m:m,mm:mm,h:h,hh:hh,d:d,dd:dd,M:M,MM:MM,y:y,yy:yy};var relativeTime$2={exports:{}};var relativeTime$1=relativeTime$2.exports;var hasRequiredRelativeTime;function requireRelativeTime(){if(hasRequiredRelativeTime)return relativeTime$2.exports;hasRequiredRelativeTime=1;(function(t,a){!function(a,r){t.exports=r()}(relativeTime$1,(function(){return function(t,a,r){t=t||{};var i=a.prototype,e={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 n(t,a,r,e){return i.fromToBase(t,a,r,e)}r.en.relativeTime=e,i.fromToBase=function(a,i,n,o,s){for(var c,u,m,d=n.$locale().relativeTime||e,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 v=h[f];v.d&&(c=o?r(a).diff(n,v.d,true):n.diff(a,v.d,true));var g=(t.rounding||Math.round)(Math.abs(c));if(m=c>0,g<=v.r||!v.r){g<=1&&f>0&&(v=h[f-1]);var p=d[v.l];s&&(g=s(""+g)),u="string"==typeof p?p.replace("%d",g):p(g,i,v.l,m);break}}if(i)return u;var b=m?d.future:d.past;return"function"==typeof b?b(u):b.replace("%s",u)},i.to=function(t,a){return n(t,a,this,true)},i.from=function(t,a){return n(t,a,this)};var o=function(t){return t.$u?r.utc():r()};i.toNow=function(t){return this.to(o(this),t)},i.fromNow=function(t){return this.from(o(this),t)}}}))})(relativeTime$2);return relativeTime$2.exports}var relativeTimeExports=requireRelativeTime();var relativeTime=getDefaultExportFromCjs(relativeTimeExports);var mdsPushNotificationItemCss=function(){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:var(--duration-300,.3s);--private-push-notification-item-duration:var(--mds-push-notification-item-duration,var(--duration-300,.3s));--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-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));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--mds-push-notification-item-shadow);color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;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;transition-duration:var(--private-push-notification-item-duration);transition-property:background-color,box-shadow,color,margin,transform;transition-timing-function:var(--mds-push-notification-item-timing-function)}:host([deletable]:not([deletable=false])),:host([dismissible]:not([dismissible=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(--magma-radius-3xs,var(--radius-squircle-3xs,6px));box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);corner-shape:var(--magma-corner-shape,squircle);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,rotate,scale,transform,translate,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(--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(--magma-radius-full,var(--radius-full,1000px));fill:var(--mds-push-notification-item-icon-color,rgb(var(--magma-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(--text-neutral-default,5 5 5)))}:host([variant=primary][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-push-notification-item-icon-color:rgb(var(--magma-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(--variant-primary-09,220 224 231)));--mds-push-notification-item-icon-color:rgb(var(--magma-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=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=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=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=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=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=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=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=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=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=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=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=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(--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=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(--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=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(--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=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(--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)))}@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(--text-neutral-default,5 5 5)))}}"};var MdsPushNotificationItem=/** @class */function(){function t(t){var a=this;registerInstance(this,t);this.closedEvent=createEvent(this,"mdsPushNotificationItemClose",7);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
1
+ import{r as registerInstance,d as createEvent,h as h$4,e as Host,g as getElement}from"./index-CPibDZjX.js";import{g as getDefaultExportFromCjs}from"./_commonjsHelpers-B85MJLTf.js";import{m as miBaselineCancel}from"./cancel-BJ8rpzfj.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-B7Hw4niB.js";import{s as sanitizeISO8601Date}from"./date-CACEYk42.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var dayjs_min$1={exports:{}};var dayjs_min=dayjs_min$1.exports;var hasRequiredDayjs_min;function requireDayjs_min(){if(hasRequiredDayjs_min)return dayjs_min$1.exports;hasRequiredDayjs_min=1;(function(t,a){!function(a,r){t.exports=r()}(dayjs_min,(function(){var t=1e3,a=6e4,r=36e5,i="millisecond",e="second",n="minute",o="hour",s="day",c="week",u="month",m="quarter",h="year",d="date",l="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|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,g={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"],r=t%100;return"["+t+(a[(r-20)%10]||a[r]||a[0])+"]"}},b=function(t,a,r){var i=String(t);return!i||i.length>=a?t:""+Array(a+1-i.length).join(r)+t},p={s:b,z:function(t){var a=-t.utcOffset(),r=Math.abs(a),i=Math.floor(r/60),e=r%60;return(a<=0?"+":"-")+b(i,2,"0")+":"+b(e,2,"0")},m:function t(a,r){if(a.date()<r.date())return-t(r,a);var i=12*(r.year()-a.year())+(r.month()-a.month()),e=a.clone().add(i,u),n=r-e<0,o=a.clone().add(i+(n?-1:1),u);return+(-(i+(r-e)/(n?e-o:o-e))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:h,w:c,d:s,D:d,h:o,m:n,s:e,ms:i,Q:m}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",$={};$[y]=g;var k="$isDayjsObject",w=function(t){return t instanceof D||!(!t||!t[k])},M=function t(a,r,i){var e;if(!a)return y;if("string"==typeof a){var n=a.toLowerCase();$[n]&&(e=n),r&&($[n]=r,e=n);var o=a.split("-");if(!e&&o.length>1)return t(o[0])}else{var s=a.name;$[s]=a,e=s}return!i&&e&&(y=e),e||!i&&y},x=function(t,a){if(w(t))return t.clone();var r="object"==typeof a?a:{};return r.date=t,r.args=arguments,new D(r)},j=p;j.l=M,j.i=w,j.w=function(t,a){return x(t,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var D=function(){function g(t){this.$L=M(t.locale,null,true),this.parse(t),this.$x=this.$x||t.x||{},this[k]=true}var b=g.prototype;return b.parse=function(t){this.$d=function(t){var a=t.date,r=t.utc;if(null===a)return new Date(NaN);if(j.u(a))return new Date;if(a instanceof Date)return new Date(a);if("string"==typeof a&&!/Z$/i.test(a)){var i=a.match(f);if(i){var e=i[2]-1||0,n=(i[7]||"0").substring(0,3);return r?new Date(Date.UTC(i[1],e,i[3]||1,i[4]||0,i[5]||0,i[6]||0,n)):new Date(i[1],e,i[3]||1,i[4]||0,i[5]||0,i[6]||0,n)}}return new Date(a)}(t),this.init()},b.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()},b.$utils=function(){return j},b.isValid=function(){return!(this.$d.toString()===l)},b.isSame=function(t,a){var r=x(t);return this.startOf(a)<=r&&r<=this.endOf(a)},b.isAfter=function(t,a){return x(t)<this.startOf(a)},b.isBefore=function(t,a){return this.endOf(a)<x(t)},b.$g=function(t,a,r){return j.u(t)?this[a]:this.set(r,t)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(t,a){var r=this,i=!!j.u(a)||a,m=j.p(t),l=function(t,a){var e=j.w(r.$u?Date.UTC(r.$y,a,t):new Date(r.$y,a,t),r);return i?e:e.endOf(s)},f=function(t,a){return j.w(r.toDate()[t].apply(r.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(a)),r)},v=this.$W,g=this.$M,b=this.$D,p="set"+(this.$u?"UTC":"");switch(m){case h:return i?l(1,0):l(31,11);case u:return i?l(1,g):l(0,g+1);case c:var y=this.$locale().weekStart||0,$=(v<y?v+7:v)-y;return l(i?b-$:b+(6-$),g);case s:case d:return f(p+"Hours",0);case o:return f(p+"Minutes",1);case n:return f(p+"Seconds",2);case e:return f(p+"Milliseconds",3);default:return this.clone()}},b.endOf=function(t){return this.startOf(t,false)},b.$set=function(t,a){var r,c=j.p(t),m="set"+(this.$u?"UTC":""),l=(r={},r[s]=m+"Date",r[d]=m+"Date",r[u]=m+"Month",r[h]=m+"FullYear",r[o]=m+"Hours",r[n]=m+"Minutes",r[e]=m+"Seconds",r[i]=m+"Milliseconds",r)[c],f=c===s?this.$D+(a-this.$W):a;if(c===u||c===h){var v=this.clone().set(d,1);v.$d[l](f),v.init(),this.$d=v.set(d,Math.min(this.$D,v.daysInMonth())).$d}else l&&this.$d[l](f);return this.init(),this},b.set=function(t,a){return this.clone().$set(t,a)},b.get=function(t){return this[j.p(t)]()},b.add=function(i,m){var d,l=this;i=Number(i);var f=j.p(m),v=function(t){var a=x(l);return j.w(a.date(a.date()+Math.round(t*i)),l)};if(f===u)return this.set(u,this.$M+i);if(f===h)return this.set(h,this.$y+i);if(f===s)return v(1);if(f===c)return v(7);var g=(d={},d[n]=a,d[o]=r,d[e]=t,d)[f]||1,b=this.$d.getTime()+i*g;return j.w(b,this)},b.subtract=function(t,a){return this.add(-1*t,a)},b.format=function(t){var a=this,r=this.$locale();if(!this.isValid())return r.invalidDate||l;var i=t||"YYYY-MM-DDTHH:mm:ssZ",e=j.z(this),n=this.$H,o=this.$m,s=this.$M,c=r.weekdays,u=r.months,m=r.meridiem,h=function(t,r,e,n){return t&&(t[r]||t(a,i))||e[r].slice(0,n)},d=function(t){return j.s(n%12||12,t,"0")},f=m||function(t,a,r){var i=t<12?"AM":"PM";return r?i.toLowerCase():i};return i.replace(v,(function(t,i){return i||function(t){switch(t){case"YY":return String(a.$y).slice(-2);case"YYYY":return j.s(a.$y,4,"0");case"M":return s+1;case"MM":return j.s(s+1,2,"0");case"MMM":return h(r.monthsShort,s,u,3);case"MMMM":return h(u,s);case"D":return a.$D;case"DD":return j.s(a.$D,2,"0");case"d":return String(a.$W);case"dd":return h(r.weekdaysMin,a.$W,c,2);case"ddd":return h(r.weekdaysShort,a.$W,c,3);case"dddd":return c[a.$W];case"H":return String(n);case"HH":return j.s(n,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return f(n,o,true);case"A":return f(n,o,false);case"m":return String(o);case"mm":return j.s(o,2,"0");case"s":return String(a.$s);case"ss":return j.s(a.$s,2,"0");case"SSS":return j.s(a.$ms,3,"0");case"Z":return e}return null}(t)||e.replace(":","")}))},b.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},b.diff=function(i,d,l){var f,v=this,g=j.p(d),b=x(i),p=(b.utcOffset()-this.utcOffset())*a,y=this-b,$=function(){return j.m(v,b)};switch(g){case h:f=$()/12;break;case u:f=$();break;case m:f=$()/3;break;case c:f=(y-p)/6048e5;break;case s:f=(y-p)/864e5;break;case o:f=y/r;break;case n:f=y/a;break;case e:f=y/t;break;default:f=y}return l?f:j.a(f)},b.daysInMonth=function(){return this.endOf(u).$D},b.$locale=function(){return $[this.$L]},b.locale=function(t,a){if(!t)return this.$L;var r=this.clone(),i=M(t,a,true);return i&&(r.$L=i),r},b.clone=function(){return j.w(this.$d,this)},b.toDate=function(){return new Date(this.valueOf())},b.toJSON=function(){return this.isValid()?this.toISOString():null},b.toISOString=function(){return this.$d.toISOString()},b.toString=function(){return this.$d.toUTCString()},g}(),_=D.prototype;return x.prototype=_,[["$ms",i],["$s",e],["$m",n],["$H",o],["$W",s],["$M",u],["$y",h],["$D",d]].forEach((function(t){_[t[1]]=function(a){return this.$g(a,t[0],t[1])}})),x.extend=function(t,a){return t.$i||(t(a,D,x),t.$i=true),x},x.locale=M,x.isDayjs=w,x.unix=function(t){return x(1e3*t)},x.en=$[y],x.Ls=$,x.p={},x}))})(dayjs_min$1);return dayjs_min$1.exports}var dayjs_minExports=requireDayjs_min();var dayjs=getDefaultExportFromCjs(dayjs_minExports);var dismiss$3="Κλείσιμο";var future$3="σε %s";var past$3="πριν από %s";var s$3="λίγα δευτ.";var m$3="1 λεπτό";var mm$3="%d λεπτά";var h$3="1 ώρα";var hh$3="%d ώρες";var d$3="1 ημέρα";var dd$3="%d ημέρες";var M$3="1 μήνας";var MM$3="%d μήνες";var y$3="1 έτος";var yy$3="%d έτη";var localeEl={dismiss:dismiss$3,future:future$3,past:past$3,s:s$3,m:m$3,mm:mm$3,h:h$3,hh:hh$3,d:d$3,dd:dd$3,M:M$3,MM:MM$3,y:y$3,yy:yy$3};var dismiss$2="Close";var future$2="in %s";var past$2="%s ago";var s$2="few sec";var m$2="1 min";var mm$2="%d mins";var h$2="1 hour";var hh$2="%d hours";var d$2="1 day";var dd$2="%d days";var M$2="1 month";var MM$2="%d months";var y$2="1 year";var yy$2="%d years";var localeEn={dismiss:dismiss$2,future:future$2,past:past$2,s:s$2,m:m$2,mm:mm$2,h:h$2,hh:hh$2,d:d$2,dd:dd$2,M:M$2,MM:MM$2,y:y$2,yy:yy$2};var dismiss$1="Cerrar";var future$1="en %s";var past$1="hace %s";var s$1="pocos seg";var m$1="1 min";var mm$1="%d mins";var h$1="1 hora";var hh$1="%d horas";var d$1="1 día";var dd$1="%d días";var M$1="1 mes";var MM$1="%d meses";var y$1="1 año";var yy$1="%d años";var localeEs={dismiss:dismiss$1,future:future$1,past:past$1,s:s$1,m:m$1,mm:mm$1,h:h$1,hh:hh$1,d:d$1,dd:dd$1,M:M$1,MM:MM$1,y:y$1,yy:yy$1};var dismiss="Chiudi";var future="tra %s";var past="%s fa";var s="pochi sec";var m="1 min";var mm="%d min";var h="1 ora";var hh="%d ore";var d="1 giorno";var dd="%d giorni";var M="1 mese";var MM="%d mesi";var y="1 anno";var yy="%d anni";var localeIt={dismiss:dismiss,future:future,past:past,s:s,m:m,mm:mm,h:h,hh:hh,d:d,dd:dd,M:M,MM:MM,y:y,yy:yy};var relativeTime$2={exports:{}};var relativeTime$1=relativeTime$2.exports;var hasRequiredRelativeTime;function requireRelativeTime(){if(hasRequiredRelativeTime)return relativeTime$2.exports;hasRequiredRelativeTime=1;(function(t,a){!function(a,r){t.exports=r()}(relativeTime$1,(function(){return function(t,a,r){t=t||{};var i=a.prototype,e={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 n(t,a,r,e){return i.fromToBase(t,a,r,e)}r.en.relativeTime=e,i.fromToBase=function(a,i,n,o,s){for(var c,u,m,h=n.$locale().relativeTime||e,d=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=d.length,f=0;f<l;f+=1){var v=d[f];v.d&&(c=o?r(a).diff(n,v.d,true):n.diff(a,v.d,true));var g=(t.rounding||Math.round)(Math.abs(c));if(m=c>0,g<=v.r||!v.r){g<=1&&f>0&&(v=d[f-1]);var b=h[v.l];s&&(g=s(""+g)),u="string"==typeof b?b.replace("%d",g):b(g,i,v.l,m);break}}if(i)return u;var p=m?h.future:h.past;return"function"==typeof p?p(u):p.replace("%s",u)},i.to=function(t,a){return n(t,a,this,true)},i.from=function(t,a){return n(t,a,this)};var o=function(t){return t.$u?r.utc():r()};i.toNow=function(t){return this.to(o(this),t)},i.fromNow=function(t){return this.from(o(this),t)}}}))})(relativeTime$2);return relativeTime$2.exports}var relativeTimeExports=requireRelativeTime();var relativeTime=getDefaultExportFromCjs(relativeTimeExports);var mdsPushNotificationItemCss=function(){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:var(--duration-300,.3s);--private-push-notification-item-duration:var(--mds-push-notification-item-duration,var(--duration-300,.3s));--mds-push-notification-item-icon-background-color:#0000;--mds-push-notification-item-icon-color:rgb(var(--magma-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));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--mds-push-notification-item-shadow);color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;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;transition-duration:var(--private-push-notification-item-duration);transition-property:background-color,box-shadow,color,margin,transform;transition-timing-function:var(--mds-push-notification-item-timing-function)}:host([deletable]:not([deletable=false])),:host([dismissible]:not([dismissible=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(--magma-radius-3xs,var(--radius-squircle-3xs,6px));box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);corner-shape:var(--magma-corner-shape,squircle);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,rotate,scale,transform,translate,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(--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(--magma-radius-full,var(--radius-full,1000px));fill:var(--mds-push-notification-item-icon-color,rgb(var(--magma-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(--text-neutral-default,5 5 5)))}:host([variant=primary][tone=strong]){--mds-push-notification-item-icon-background-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-push-notification-item-icon-color:rgb(var(--magma-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(--variant-primary-09,220 224 231)));--mds-push-notification-item-icon-color:rgb(var(--magma-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=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=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=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=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=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=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=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=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=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=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=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=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(--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=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(--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=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(--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=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(--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)))}@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(--text-neutral-default,5 5 5)))}}"};var MdsPushNotificationItem=/** @class */function(){function t(a){var r=this.constructor;var i=this;if(r===t)registerInstance(this,a);this.closedEvent=createEvent(this,"mdsPushNotificationItemClose",7);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
2
  /**
3
3
  * Specifies how the notification date is written: `timeago` shows the time passed, any other
4
4
  * value is the Day.js format of a static date
@@ -19,6 +19,6 @@ import{r as registerInstance,d as createEvent,h as h$4,e as Host,g as getElement
19
19
  * Specifies the color tone of the component
20
20
  */this.tone="weak";this.onClickClose=function(t){t.stopPropagation();
21
21
  // the detail the event declares: it was emitted empty
22
- a.closedEvent.emit({id:a.host.id})};this.isDismissible=function(){return a.dismissible===true||a.deletable===true};this.onSlotChange=function(){a.hasActions=hasChildWithSlot(a.host,"action");a.hasBadge=hasChildWithSlot(a.host,"badge")}}t.prototype.componentDidLoad=function(){this.handleDismissibleChange(this.dismissible);this.handleDeletableChange(this.deletable)};t.prototype.componentWillLoad=function(){var t;dayjs.extend(relativeTime);this.onSlotChange();if(this.datetime!==undefined&&this.datetime!==""){this.datetime=(t=sanitizeISO8601Date(this.datetime.toString()))!==null&&t!==void 0?t:undefined}var 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")};dayjs.locale("custom-locale",{relativeTime:a})};
22
+ i.closedEvent.emit({id:i.host.id})};this.isDismissible=function(){return i.dismissible===true||i.deletable===true};this.onSlotChange=function(){i.hasActions=hasChildWithSlot(i.host,"action");i.hasBadge=hasChildWithSlot(i.host,"badge")}}t.prototype.componentDidLoad=function(){this.handleDismissibleChange(this.dismissible);this.handleDeletableChange(this.deletable)};t.prototype.componentWillLoad=function(){var t;dayjs.extend(relativeTime);this.onSlotChange();if(this.datetime!==undefined&&this.datetime!==""){this.datetime=(t=sanitizeISO8601Date(this.datetime.toString()))!==null&&t!==void 0?t:undefined}var 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")};dayjs.locale("custom-locale",{relativeTime:a})};
23
23
  // a false boolean is an absent attribute: `dismissible="false"` leaves the host once loaded
24
- t.prototype.handleDismissibleChange=function(t){if(t===false){this.dismissible=undefined}};t.prototype.handleDeletableChange=function(t){if(t===false){this.deletable=undefined}};t.prototype.render=function(){var t;return h$4(Host,{key:"14830fd226096ba0e4a23908a80777c033923aa0","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},((t=this.icon)!==null&&t!==void 0?t:this.preview==="avatar")&&h$4("mds-avatar",{key:"acdddd7d881ce3e197dbff6739ce2f8bae045512",class:"avatar",icon:this.icon,initials:this.initials,part:"avatar",src:this.src,tone:this.tone,variant:this.variant}),this.src&&this.preview!=="avatar"&&h$4("mds-img",{key:"56eb02f1e285d25c865939f1388dd599b03598da",class:"picture",part:"picture",src:this.src}),h$4("div",{key:"f16836329fbdeae62f89bb508857df96435f6e28",class:"content",part:"content"},h$4("div",{key:"0dda0ac2cdc68b5c25b40a8ac41a85fcae9de480",class:"header"},h$4("div",{key:"0578618158458a600a89477d6650a6af1d3a5d7b",class:"infos"},h$4("div",{key:"997941970b86040ea2afda071af1126da5d73ed8",class:clsx("badge",!this.hasBadge&&"badge--hidden")},h$4("slot",{key:"fe76178d16c789a7c07268aa7fb4b79027056054",name:"badge",onSlotchange:this.onSlotChange})),this.subject&&h$4("mds-text",{key:"a2bf86680c0137b4f31555b22a257e370988a9f3",class:"subject",typography:"h6",variant:"title",truncate:"all"},this.subject)),this.datetime&&h$4("mds-text",{key:"58b984969110250db376bb39f541ecfd298bf0dc",class:"time",typography:"option"},this.dateFormat==="timeago"?dayjs(this.datetime).fromNow():dayjs(this.datetime).format(this.dateFormat))),h$4("mds-text",{key:"dd9170a5c751e1427bc4f3d82c9d64a3bf7e84d2",class:"message",truncate:"all",typography:"caption",variant:"info"},this.message),h$4("div",{key:"4ed5cb5c5eb21e6add9f9401af74cd9302803286",class:clsx("actions",!this.hasActions&&"actions--hidden"),part:"actions"},h$4("slot",{key:"4dfa757129a14e0f24f2b4a8b52ecc3498a0157e",name:"action",onSlotchange:this.onSlotChange}))),this.isDismissible()&&h$4("mds-button",{key:"e3f70b0cdb7480f8950d7b4922deb444f95fe471",class:"close-button",variant:"dark",tone:"text",title:this.t.get("dismiss"),icon:miBaselineCancel,onClick:this.onClickClose}))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{dismissible:[{handleDismissibleChange:0}],deletable:[{handleDeletableChange:0}]}},enumerable:false,configurable:true});return t}();MdsPushNotificationItem.style=mdsPushNotificationItemCss();export{MdsPushNotificationItem as mds_push_notification_item};
24
+ t.prototype.handleDismissibleChange=function(t){if(t===false){this.dismissible=undefined}};t.prototype.handleDeletableChange=function(t){if(t===false){this.deletable=undefined}};t.prototype.render=function(){var t;return h$4(Host,{key:"d0a21ae35ae09e877be8dc38d7821002a971e2ea","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},((t=this.icon)!==null&&t!==void 0?t:this.preview==="avatar")&&h$4("mds-avatar",{key:"c78c59876db9c681e18d0ba27198bca44fb4e288",class:"avatar",icon:this.icon,initials:this.initials,part:"avatar",src:this.src,tone:this.tone,variant:this.variant}),this.src&&this.preview!=="avatar"&&h$4("mds-img",{key:"75fe759e559e6873da0eb79b94a71e1cca541b4f",class:"picture",part:"picture",src:this.src}),h$4("div",{key:"277a1bbbba44bc30b1c85690e99dbee4544ebbbd",class:"content",part:"content"},h$4("div",{key:"77ad70ba7e30b15e56aacd37c9a883b08adcb3cf",class:"header"},h$4("div",{key:"42fae7c2a8122cc53f4d40c50e0c622cc30d4398",class:"infos"},h$4("div",{key:"b57aebdf60c34fa74448c4d601e26e034da29c57",class:clsx("badge",!this.hasBadge&&"badge--hidden")},h$4("slot",{key:"e8c38c362735b709608b780a66f23ae8b7d2c197",name:"badge",onSlotchange:this.onSlotChange})),this.subject&&h$4("mds-text",{key:"4f72c3e80334cf6e91a2cf384c4417f851f240ba",class:"subject",typography:"h6",variant:"title",truncate:"all"},this.subject)),this.datetime&&h$4("mds-text",{key:"3750f6266d49a045e5a60f9b3b6aca17d1be59e3",class:"time",typography:"option"},this.dateFormat==="timeago"?dayjs(this.datetime).fromNow():dayjs(this.datetime).format(this.dateFormat))),h$4("mds-text",{key:"56015a986d83001ba1b37bd23371b4ebb85b5c35",class:"message",truncate:"all",typography:"caption",variant:"info"},this.message),h$4("div",{key:"47dd547d4dd8a5fcbc81636cf9846e4ad64baf98",class:clsx("actions",!this.hasActions&&"actions--hidden"),part:"actions"},h$4("slot",{key:"c489df9b9209bc1dabac854bae44138bf9140ab4",name:"action",onSlotchange:this.onSlotChange}))),this.isDismissible()&&h$4("mds-button",{key:"91b50e0f6c7f3e69c4946c2447321cfa31a20d50",class:"close-button",variant:"dark",tone:"text",title:this.t.get("dismiss"),icon:miBaselineCancel,onClick:this.onClickClose}))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{dismissible:[{handleDismissibleChange:0}],deletable:[{handleDeletableChange:0}]}},enumerable:false,configurable:true});return t}();MdsPushNotificationItem.style=mdsPushNotificationItemCss();export{MdsPushNotificationItem as mds_push_notification_item};
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(i,t,e,n){function o(i){return i instanceof e?i:new e((function(t){t(i)}))}return new(e||(e=Promise))((function(e,a){function r(i){try{c(n.next(i))}catch(i){a(i)}}function s(i){try{c(n["throw"](i))}catch(i){a(i)}}function c(i){i.done?e(i.value):o(i.value).then(r,s)}c((n=n.apply(i,t||[])).next())}))};var __generator=this&&this.__generator||function(i,t){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,r=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return r.next=s(0),r["throw"]=s(1),r["return"]=s(2),typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(i){return function(t){return c([i,t])}}function c(s){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(e=0)),e)try{if(n=1,o&&(a=s[0]&2?o["return"]:s[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,s[1])).done)return a;if(o=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;o=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){e.label=s[1];break}if(s[0]===6&&e.label<a[1]){e.label=a[1];a=s;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(s);break}if(a[2])e.ops.pop();e.trys.pop();continue}s=t.call(i,e)}catch(i){s=[6,i];o=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{a as cssSizeToNumber,c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{L as Locale}from"./locale-DhP1Ge2o.js";import{p as preferenceStore}from"./preference-C8foBO86.js";var clearNotifications$3="Εκκαθάριση ειδοποιήσεων";var localeEl={clearNotifications:clearNotifications$3};var clearNotifications$2="Clear notifications";var localeEn={clearNotifications:clearNotifications$2};var clearNotifications$1="Borrar notificaciones";var localeEs={clearNotifications:clearNotifications$1};var clearNotifications="Cancella notifiche";var localeIt={clearNotifications:clearNotifications};var mdsPushNotificationCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-push-notification-fadeout-delay:0s;--mds-push-notification-gap:calc(var(--spacing,.0025rem)*200);--mds-push-notification-items-intro-delay:var(--duration-300,.3s);--mds-push-notification-items-outro-delay:0s;--mds-push-notification-items-duration:var(--duration-300,.3s);--mds-push-notification-items-gap:var(--mds-push-notification-gap,calc(var(--spacing,.0025rem)*200));--mds-push-notification-items-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232))/0) 0%,rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232))/.85) 100%);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));background:var(--mds-push-notification-background);bottom:0;box-sizing:initial!important;display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*200);max-width:calc(var(--spacing,.0025rem)*9000);min-width:calc(var(--spacing,.0025rem)*7200);overflow-x:hidden;padding:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*2400);position:fixed;right:0;top:0;transform:translate(100%);transition-delay:var(--mds-push-notification-fadeout-delay,0s);transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));z-index:var(--magma-notification-z-index,2000)}:host::-webkit-scrollbar{display:none}.notifications{display:flex;flex-direction:column-reverse;gap:var(--mds-push-notification-items-gap)}.notifications ::slotted(mds-push-notification-item){--mds-push-notification-item-duration:var(--mds-push-notification-items-duration,var(--duration-300,.3s));--mds-push-notification-item-timing-function:var(--mds-push-notification-items-timing-function);position:absolute;transform:translate(calc(100% + calc(var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)) + var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)))));visibility:hidden}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-backdrop-color,0 0 0)/0) 0%,rgb(var(--magma-backdrop-color,0 0 0)/.5) 20%,rgb(var(--magma-backdrop-color,0 0 0)/.85) 100%)}:host([visible]){transform:translate(0);transition-delay:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-backdrop-color,0 0 0)/0) 0%,rgb(var(--magma-backdrop-color,0 0 0)/.5) 20%,rgb(var(--magma-backdrop-color,0 0 0)/.85) 100%)}}'};var MdsPushNotification=/** @class */function(){function i(i){var t=this;registerInstance(this,i);this.changedEvent=createEvent(this,"mdsPushNotificationChange",7);this.shownEvent=createEvent(this,"mdsPushNotificationShow",7);this.hiddenEvent=createEvent(this,"mdsPushNotificationHide",7);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
1
+ var __awaiter=this&&this.__awaiter||function(i,t,n,e){function o(i){return i instanceof n?i:new n((function(t){t(i)}))}return new(n||(n=Promise))((function(n,r){function a(i){try{c(e.next(i))}catch(i){r(i)}}function s(i){try{c(e["throw"](i))}catch(i){r(i)}}function c(i){i.done?n(i.value):o(i.value).then(a,s)}c((e=e.apply(i,t||[])).next())}))};var __generator=this&&this.__generator||function(i,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},e,o,r,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(i){return function(t){return c([i,t])}}function c(s){if(e)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(n=0)),n)try{if(e=1,o&&(r=s[0]&2?o["return"]:s[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,s[1])).done)return r;if(o=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1];r=s;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(s);break}if(r[2])n.ops.pop();n.trys.pop();continue}s=t.call(i,n)}catch(i){s=[6,i];o=0}finally{e=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{a as cssSizeToNumber,c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{L as Locale}from"./locale-B7Hw4niB.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var clearNotifications$3="Εκκαθάριση ειδοποιήσεων";var localeEl={clearNotifications:clearNotifications$3};var clearNotifications$2="Clear notifications";var localeEn={clearNotifications:clearNotifications$2};var clearNotifications$1="Borrar notificaciones";var localeEs={clearNotifications:clearNotifications$1};var clearNotifications="Cancella notifiche";var localeIt={clearNotifications:clearNotifications};var mdsPushNotificationCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-push-notification-fadeout-delay:0s;--mds-push-notification-gap:calc(var(--spacing,.0025rem)*200);--mds-push-notification-items-intro-delay:var(--duration-300,.3s);--mds-push-notification-items-outro-delay:0s;--mds-push-notification-items-duration:var(--duration-300,.3s);--mds-push-notification-items-gap:var(--mds-push-notification-gap,calc(var(--spacing,.0025rem)*200));--mds-push-notification-items-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232))/0) 0%,rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232))/.85) 100%);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));background:var(--mds-push-notification-background);bottom:0;box-sizing:initial!important;display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*200);max-width:calc(var(--spacing,.0025rem)*9000);min-width:calc(var(--spacing,.0025rem)*7200);overflow-x:hidden;padding:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*2400);position:fixed;right:0;top:0;transform:translate(100%);transition-delay:var(--mds-push-notification-fadeout-delay,0s);transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));z-index:var(--magma-notification-z-index,2000)}:host::-webkit-scrollbar{display:none}.notifications{display:flex;flex-direction:column-reverse;gap:var(--mds-push-notification-items-gap)}.notifications ::slotted(mds-push-notification-item){--mds-push-notification-item-duration:var(--mds-push-notification-items-duration,var(--duration-300,.3s));--mds-push-notification-item-timing-function:var(--mds-push-notification-items-timing-function);position:absolute;transform:translate(calc(100% + calc(var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)) + var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)))));visibility:hidden}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-backdrop-color,0 0 0)/0) 0%,rgb(var(--magma-backdrop-color,0 0 0)/.5) 20%,rgb(var(--magma-backdrop-color,0 0 0)/.85) 100%)}:host([visible]){transform:translate(0);transition-delay:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(to right,rgb(var(--magma-backdrop-color,0 0 0)/0) 0%,rgb(var(--magma-backdrop-color,0 0 0)/.5) 20%,rgb(var(--magma-backdrop-color,0 0 0)/.85) 100%)}}'};var MdsPushNotification=/** @class */function(){function i(i){var t=this.constructor;var n=this;if(t===MdsPushNotification)registerInstance(this,i);this.changedEvent=createEvent(this,"mdsPushNotificationChange",7);this.shownEvent=createEvent(this,"mdsPushNotificationShow",7);this.hiddenEvent=createEvent(this,"mdsPushNotificationHide",7);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
2
  /**
3
3
  * Specifies when the stack shows: with `auto` whenever notifications are added, with `manual`
4
4
  * only through `visible` or `show()`. In both, removing the last notification hides it; a
@@ -16,7 +16,7 @@ var __awaiter=this&&this.__awaiter||function(i,t,e,n){function o(i){return i ins
16
16
  * @returns
17
17
  */this.introItem=function(i){
18
18
  // no reason why I must duplicata marginBottom negative to prevent flickering
19
- i.style.marginBottom="-".concat(i.offsetHeight+cssSizeToNumber(t.cssItemsGap),"px");return new Promise((function(e){setTimeout((function(){i.style.marginBottom="-".concat(i.offsetHeight+cssSizeToNumber(t.cssItemsGap),"px");setTimeout((function(){i.style.visibility="visible";i.style.position="relative";i.style.transform="translate(0, 0)";i.style.marginBottom="0px";e()}),cssDurationToMilliseconds(t.cssItemsIntroDuration))}),15);// hope to find a better solution not based on 15ms of delay, not very robust
19
+ i.style.marginBottom="-".concat(i.offsetHeight+cssSizeToNumber(n.cssItemsGap),"px");return new Promise((function(t){setTimeout((function(){i.style.marginBottom="-".concat(i.offsetHeight+cssSizeToNumber(n.cssItemsGap),"px");setTimeout((function(){i.style.visibility="visible";i.style.position="relative";i.style.transform="translate(0, 0)";i.style.marginBottom="0px";t()}),cssDurationToMilliseconds(n.cssItemsIntroDuration))}),15);// hope to find a better solution not based on 15ms of delay, not very robust
20
20
  }))};
21
21
  /**
22
22
  * Animation for close notification
@@ -25,15 +25,15 @@ i.style.marginBottom="-".concat(i.offsetHeight+cssSizeToNumber(t.cssItemsGap),"p
25
25
  */this.outroItem=function(i){
26
26
  // the elements: the nodes counted the whitespace between indented items too, so the stack
27
27
  // never hid once its last item was closed
28
- if(t.slotNotifications.assignedElements().length<=1)t.hide();
28
+ if(n.slotNotifications.assignedElements().length<=1)n.hide();
29
29
  // no reason why I must duplicate marginBottom negative to prevent flickering
30
- i.style.marginBottom="0px";return new Promise((function(e){setTimeout((function(){i.style.marginBottom="0px";setTimeout((function(){i.addEventListener("transitionend",(function(){
30
+ i.style.marginBottom="0px";return new Promise((function(t){setTimeout((function(){i.style.marginBottom="0px";setTimeout((function(){i.addEventListener("transitionend",(function(){
31
31
  // element.removeEventListener('transitionend')
32
- i.remove()}));i.style.removeProperty("transform");i.style.marginBottom="-".concat(i.offsetHeight+cssSizeToNumber(t.cssItemsGap),"px");e()}),cssDurationToMilliseconds(t.cssItemsOutroDuration))}),15);// hope to find a better solution not based on 15ms of delay, not very robust
32
+ i.remove()}));i.style.removeProperty("transform");i.style.marginBottom="-".concat(i.offsetHeight+cssSizeToNumber(n.cssItemsGap),"px");t()}),cssDurationToMilliseconds(n.cssItemsOutroDuration))}),15);// hope to find a better solution not based on 15ms of delay, not very robust
33
33
  }))};
34
34
  /**
35
35
  * manages the opening of notifications when they are added to the slot
36
- */this.handleSlotChange=function(){var i=t.slotNotifications.assignedElements().map((function(i){return i})).filter((function(i){return i.style.visibility===""}));if(i.length===0)return;i.forEach((function(i){return __awaiter(t,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){switch(e.label){case 0:i.addEventListener("mdsPushNotificationItemClose",(function(){return t.outroItem(i)}));return[4/*yield*/,this.introItem(i)];case 1:e.sent();return[2/*return*/]}}))}))}));if(t.behavior==="auto")t.show()};this.updateCSSCustomProps=function(){var i,e,n;var o=window.getComputedStyle(t.host);t.cssItemsGap=(i=o.getPropertyValue("--mds-push-notification-items-gap"))!==null&&i!==void 0?i:"0.5rem";t.cssItemsIntroDuration=(e=o.getPropertyValue("--mds-push-notification-items-intro-delay"))!==null&&e!==void 0?e:"200ms";t.cssItemsOutroDuration=(n=o.getPropertyValue("--mds-push-notification-items-outro-delay"))!==null&&n!==void 0?n:"0ms"};this.clear=function(){t.slotNotifications.assignedElements().forEach((function(i){return t.outroItem(i)}));t.hide()}}
36
+ */this.handleSlotChange=function(){var i=n.slotNotifications.assignedElements().map((function(i){return i})).filter((function(i){return i.style.visibility===""}));if(i.length===0)return;i.forEach((function(i){return __awaiter(n,void 0,void 0,(function(){var t=this;return __generator(this,(function(n){switch(n.label){case 0:i.addEventListener("mdsPushNotificationItemClose",(function(){return t.outroItem(i)}));return[4/*yield*/,this.introItem(i)];case 1:n.sent();return[2/*return*/]}}))}))}));if(n.behavior==="auto")n.show()};this.updateCSSCustomProps=function(){var i,t,e;var o=window.getComputedStyle(n.host);n.cssItemsGap=(i=o.getPropertyValue("--mds-push-notification-items-gap"))!==null&&i!==void 0?i:"0.5rem";n.cssItemsIntroDuration=(t=o.getPropertyValue("--mds-push-notification-items-intro-delay"))!==null&&t!==void 0?t:"200ms";n.cssItemsOutroDuration=(e=o.getPropertyValue("--mds-push-notification-items-outro-delay"))!==null&&e!==void 0?e:"0ms"};this.clear=function(){n.slotNotifications.assignedElements().forEach((function(i){return n.outroItem(i)}));n.hide()}}
37
37
  /**
38
38
  * Shows the notification container.
39
39
  */i.prototype.show=function(){this.visible=true;return Promise.resolve()};
@@ -43,4 +43,4 @@ i.remove()}));i.style.removeProperty("transform");i.style.marginBottom="-".conca
43
43
  /**
44
44
  * Removes the given notification item(s) from the stack.
45
45
  * @param notification the notification item or items to remove
46
- */i.prototype.removeNotification=function(i){if(Array.isArray(i)){i.forEach(this.outroItem)}else{this.outroItem(i)}return Promise.resolve()};i.prototype.componentDidLoad=function(){this.updateCSSCustomProps();this.slotNotifications.addEventListener("slotchange",this.handleSlotChange);this.handleSlotChange()};i.prototype.visibleChanged=function(i){if(i){this.changedEvent.emit({visible:true});this.shownEvent.emit();return}if(i===undefined){this.changedEvent.emit({visible:false});this.hiddenEvent.emit();return}this.visible=undefined};i.prototype.render=function(){var i=this;return h(Host,{key:"36f61efc8071d0aecefdc63a1197ee36ad7239d9","pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-button",{key:"b23e5ff4e6f57523922d65630e94f8236bc6ec0f",variant:"dark",onClick:this.clear,label:this.t.get("clearNotifications")}),h("div",{key:"2e1a804d01b5e4b2a312842f8bc6b87a778588ba",class:"notifications",part:"notifications"},h("slot",{key:"183e615bda0f59fe044b42a6e63883d695ca4d3a",ref:function(t){return i.slotNotifications=t}})))};Object.defineProperty(i.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(i,"watchers",{get:function(){return{visible:[{visibleChanged:0}]}},enumerable:false,configurable:true});return i}();MdsPushNotification.style=mdsPushNotificationCss();export{MdsPushNotification as mds_push_notification};
46
+ */i.prototype.removeNotification=function(i){if(Array.isArray(i)){i.forEach(this.outroItem)}else{this.outroItem(i)}return Promise.resolve()};i.prototype.componentDidLoad=function(){this.updateCSSCustomProps();this.slotNotifications.addEventListener("slotchange",this.handleSlotChange);this.handleSlotChange()};i.prototype.visibleChanged=function(i){if(i){this.changedEvent.emit({visible:true});this.shownEvent.emit();return}if(i===undefined){this.changedEvent.emit({visible:false});this.hiddenEvent.emit();return}this.visible=undefined};i.prototype.render=function(){var i=this;return h(Host,{key:"86075c74b57be72288f6ff4c5e09705ef55c5158","pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-button",{key:"4fba585d6b3f4e427ac2418a8412caa78c9fcffb",variant:"dark",onClick:this.clear,label:this.t.get("clearNotifications")}),h("div",{key:"f1e912771abfa2c815237063b10b2d1e81494b9a",class:"notifications",part:"notifications"},h("slot",{key:"716d88f48d375428cf81c2c6f6c568d88ac600c1",ref:function(t){return i.slotNotifications=t}})))};Object.defineProperty(i.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(i,"watchers",{get:function(){return{visible:[{visibleChanged:0}]}},enumerable:false,configurable:true});return i}();MdsPushNotification.style=mdsPushNotificationCss();export{MdsPushNotification as mds_push_notification};
@@ -1,7 +1,7 @@
1
- import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C8foBO86.js";var mdsQuoteCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:inline-flex}.open-quote{flex-shrink:0}.quote{display:grid;gap:calc(var(--spacing,.0025rem)*400);-webkit-user-select:all;user-select:all}span{-webkit-user-select:none;user-select:none}:host([pref-contrast=more]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}"};var MdsQuote=/** @class */function(){function e(e){registerInstance(this,e);
1
+ import{r as registerInstance,h,e as Host}from"./index-CPibDZjX.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var mdsQuoteCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:inline-flex}.open-quote{flex-shrink:0}.quote{display:grid;gap:calc(var(--spacing,.0025rem)*400);-webkit-user-select:all;user-select:all}span{-webkit-user-select:none;user-select:none}:host([pref-contrast=more]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}"};var MdsQuote=/** @class */function(){function e(t){var a=this.constructor;if(a===e)registerInstance(this,t);
2
2
  /**
3
3
  * Specifies the font typography of the element
4
4
  */this.typography="h3";
5
5
  /**
6
6
  * Specifies the tag the element
7
- */this.tag="h3"}e.prototype.render=function(){return h(Host,{key:"6e46f730171afdefac27546d6261a9ab656ef4da","pref-contrast":preferenceStore.state.contrast},h("mds-text",{key:"0b9ce18650cf0b839e92c267ee78a29b32e20b7d",class:"open-quote",tag:"div",typography:this.typography},h("span",{key:"6eee51a70339abc4f58cae2cef5c7a86c1e0febc"},h("i",{key:"ccef2867ea967c55ea22a7505cfdb98178e29dbb"},"❝ "))),h("div",{key:"49d695a4256be488283dbe8dc7e2dc3f188fd5c3",class:"quote"},h("mds-text",{key:"27bc9f404e5601cec55182f44830085fae7d6005",tag:this.tag,typography:this.typography},h("i",{key:"c49a9af532fead02d5ec75e367368e9dab90123f"},h("slot",{key:"630b5df45c9530f1a9c80bb205656bae75ec2b4c"}),h("span",{key:"f6948ddba583ecffff48dd83b4a92d6b4f54896c"}," ❞"))),h("slot",{key:"3df9055b9cf0f8930a8996d4639db84871e6e742",name:"author"})))};return e}();MdsQuote.style=mdsQuoteCss();export{MdsQuote as mds_quote};
7
+ */this.tag="h3"}e.prototype.render=function(){return h(Host,{key:"491a828d48c3d535cded139ae8410bb11f41708a","pref-contrast":preferenceStore.state.contrast},h("mds-text",{key:"3b4daf005144099d4b0804192603aa0c2d273f9b",class:"open-quote",tag:"div",typography:this.typography},h("span",{key:"30d075dc69a936582ba65c8860e6d7cfc0e025f4"},h("i",{key:"9bbc4c074d2b66a7073a19483c022f4a0fa7ba9b"},"❝ "))),h("div",{key:"b59ae4dc6f43080125dad853566f9c9d41c18495",class:"quote"},h("mds-text",{key:"d2b5457edd6426dfa4fccdc3c47ea45a96b804ad",tag:this.tag,typography:this.typography},h("i",{key:"977ee2f996f2134c3633d1e67cced1a9502c4610"},h("slot",{key:"5fc8f691daa764c9c610c7dd14cfadaa18a81767"}),h("span",{key:"d4e76a6a412606bb0dc55881cee99dd937a0659e"}," ❞"))),h("slot",{key:"c39d5d22504b79c3c406069619d001dfa4d1289d",name:"author"})))};return e}();MdsQuote.style=mdsQuoteCss();export{MdsQuote as mds_quote};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";var mdsRadialMenuItemCss=function(){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,var(--duration-500,.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);transition-delay:var(--mds-radial-menu-item-delay);transition-duration:var(--mds-radial-menu-item-transition-duration,var(--duration-500,.5s));transition-property:translate,transform;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}"};var MdsRadialMenuItem=/** @class */function(){function t(t){registerInstance(this,t);
1
+ import{r as registerInstance,h,e as Host}from"./index-CPibDZjX.js";var mdsRadialMenuItemCss=function(){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,var(--duration-500,.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);transition-delay:var(--mds-radial-menu-item-delay);transition-duration:var(--mds-radial-menu-item-transition-duration,var(--duration-500,.5s));transition-property:translate,transform;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}"};var MdsRadialMenuItem=/** @class */function(){function t(i){var n=this.constructor;if(n===t)registerInstance(this,i);
2
2
  /**
3
3
  * Specifies the tone variant for the button
4
4
  */this.tone="weak";
@@ -7,4 +7,4 @@ import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";var mdsRadial
7
7
  */this.variant="dark";
8
8
  /**
9
9
  * Specifies the size of the menu item.
10
- */this.size="lg"}t.prototype.render=function(){return h(Host,{key:"472c0dffc51c0774ac9cb9ab0c4984bb81ecfb95",slot:"item"},h("mds-button",{key:"1378032778f14cef19a9f44c029f9df5c42c29c9","aria-label":this.tooltip,class:"button",icon:this.icon,variant:this.variant,tone:this.tone,size:this.size}),this.tooltip&&h("mds-tooltip",{key:"9efec3460abb91faae41712ea252a6ec8cc340fa",class:"tooltip",target:".button",placement:"top",disableAutoPlacement:true},this.tooltip))};return t}();MdsRadialMenuItem.style=mdsRadialMenuItemCss();export{MdsRadialMenuItem as mds_radial_menu_item};
10
+ */this.size="lg"}t.prototype.render=function(){return h(Host,{key:"2480382503fb86778e5b68c823d68571286b3263",slot:"item"},h("mds-button",{key:"2815d05863e74c12c66216c54f25146212db42eb","aria-label":this.tooltip,class:"button",icon:this.icon,variant:this.variant,tone:this.tone,size:this.size}),this.tooltip&&h("mds-tooltip",{key:"e53369b4bd2bef594146baee609b04d8e3043922",class:"tooltip",target:".button",placement:"top",disableAutoPlacement:true},this.tooltip))};return t}();MdsRadialMenuItem.style=mdsRadialMenuItemCss();export{MdsRadialMenuItem as mds_radial_menu_item};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{b as queryChildrenBySlot}from"./slot-AEckDMXh.js";import{m as miBaselineClose}from"./close-J-ikDhyq.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{B as Backdrop}from"./floating-controller-xixU_s1w.js";import{L as Locale}from"./locale-DhP1Ge2o.js";import"./floating-ui.dom-BaFfIZGB.js";import"./unit-CWk1SCJg.js";import"./aria-DwKxtKwS.js";import"./preference-C8foBO86.js";var miBaselineMoreVert='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2z"/></svg>';var closeMenu$3="Κλείσιμο μενού";var openMenu$3="Άνοιγμα μενού";var localeEl={closeMenu:closeMenu$3,openMenu:openMenu$3};var closeMenu$2="Close menu";var openMenu$2="Open menu";var localeEn={closeMenu:closeMenu$2,openMenu:openMenu$2};var closeMenu$1="Cerrar el menú";var openMenu$1="Abrir el menú";var localeEs={closeMenu:closeMenu$1,openMenu:openMenu$1};var closeMenu="Chiudi il menu";var openMenu="Apri il menu";var localeIt={closeMenu:closeMenu,openMenu:openMenu};var mdsRadialMenuCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-radial-menu-angle-start:0deg;--mds-radial-menu-angle-end:360deg;--mds-radial-menu-context-menu-z-index:var(--magma-context-menu-z-index,8000);--mds-radial-menu-delay:10ms;--mds-radial-menu-direction:-1;--mds-radial-menu-disc-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5);--mds-radial-menu-disc-filter:blur(calc(var(--spacing,.0025rem)*200));--mds-radial-menu-disc-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-radial-menu-disc-size:calc(var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem) * 2000)) * 2);--mds-radial-menu-radius:calc(var(--spacing,.0025rem)*2000);--mds-radial-menu-transition-duration:var(--duration-500,.5s);--mds-radial-menu-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-radial-menu-nth-siblings:0;--mds-radial-menu-disc-delay:0s;--mds-radial-menu-disc-scale:0;--mds-radial-menu-radius-current:0;--private-radial-menu-sweep:calc(var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg));--mds-radial-menu-is-full-circle:cos(clamp(0deg,max(var(--private-radial-menu-sweep) - 360deg,360deg - var(--private-radial-menu-sweep)) * 1000,90deg));--mds-radial-menu-is-start-greater-than-end:sin(clamp(-90deg,var(--private-radial-menu-sweep) * 1000,90deg));display:inline-flex;position:relative;transition-duration:var(--mds-radial-menu-transition-duration);transition-property:top,left;transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:var(--magma-dropdown-z-index,5000)}:host([direction=clockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*-1)}:host([direction=counterclockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*1)}.menu-button{border-radius:100%;position:relative;transform:scale(1);transition-duration:var(--mds-radial-menu-transition-duration);transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:2}:host(:not([opened])) .menu-button--hidden{transform:scale(0)}.radial-menu{inset:0;pointer-events:none;position:absolute;transition-delay:calc((var(--mds-radial-menu-nth-siblings)*2)*var(--mds-radial-menu-delay,10ms));transition-property:z-index;z-index:3}:host(:not([opened])) .radial-menu{transition-delay:0s;z-index:1}:host(:not([opened])){--mds-radial-menu-radius-current:0}:host([opened]){--mds-radial-menu-radius-current:var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem)*2000))}:host([opened]) ::slotted(mds-radial-menu-item){pointer-events:auto;transform:scale(1)}::slotted(mds-radial-menu-item){--mds-radial-menu-item-offset-per-child:calc((var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg))/(var(--mds-radial-menu-nth-siblings) + var(--mds-radial-menu-is-full-circle)));--mds-radial-menu-item-angle-offset:calc(var(--mds-radial-menu-direction,-1)*var(--mds-radial-menu-item-index)*var(--mds-radial-menu-item-offset-per-child));--mds-radial-menu-item-delay:calc((var(--mds-radial-menu-item-index) + 1)*var(--mds-radial-menu-delay,10ms));--mds-radial-menu-item-translate:calc(cos((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current)) calc(sin((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current) * -1)}.disc{--size:calc(var(--mds-radial-menu-disc-size,calc(calc(var(--spacing,.0025rem) * 2000) * 2)) + var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem) * 2000)));-webkit-backdrop-filter:var(--mds-radial-menu-disc-filter);backdrop-filter:var(--mds-radial-menu-disc-filter);background-color:var(--mds-radial-menu-disc-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5));border-radius:100%;box-shadow:var(--mds-radial-menu-disc-shadow);display:inline-flex;height:var(--size);inset:50%;position:absolute;transform:translate(-50%,-50%) scale(var(--mds-radial-menu-disc-scale));transition-delay:var(--mds-radial-menu-disc-delay);transition-duration:var(--mds-radial-menu-transition-duration);transition-property:height,transform,width;transition-timing-function:var(--mds-radial-menu-transition-timing-function);width:var(--size);z-index:0}:host(:not([opened][disc])){--mds-radial-menu-disc-scale:0;--mds-radial-menu-disc-delay:calc((var(--mds-radial-menu-nth-siblings) + 1)*var(--mds-radial-menu-delay,10ms))}:host([opened][disc]){--mds-radial-menu-disc-scale:1;--mds-radial-menu-disc-delay:0s}:host([interaction=rightclick]){position:fixed;z-index:var(--mds-radial-menu-context-menu-z-index,var(--magma-context-menu-z-index,8000))}"};var MdsRadialMenu=/** @class */function(){function e(e){var n=this;registerInstance(this,e);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.backdropController=new Backdrop("mds-radial-menu-backdrop");
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{b as queryChildrenBySlot}from"./slot-AEckDMXh.js";import{m as miBaselineClose}from"./close-J-ikDhyq.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{B as Backdrop}from"./floating-controller-DlFrvBTG.js";import{L as Locale}from"./locale-B7Hw4niB.js";import"./floating-ui.dom-C7p9e0P3.js";import"./unit-CWk1SCJg.js";import"./aria-DwKxtKwS.js";import"./preference-CBMLGSf7.js";var miBaselineMoreVert='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2s-2 .9-2 2s.9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2z"/></svg>';var closeMenu$3="Κλείσιμο μενού";var openMenu$3="Άνοιγμα μενού";var localeEl={closeMenu:closeMenu$3,openMenu:openMenu$3};var closeMenu$2="Close menu";var openMenu$2="Open menu";var localeEn={closeMenu:closeMenu$2,openMenu:openMenu$2};var closeMenu$1="Cerrar el menú";var openMenu$1="Abrir el menú";var localeEs={closeMenu:closeMenu$1,openMenu:openMenu$1};var closeMenu="Chiudi il menu";var openMenu="Apri il menu";var localeIt={closeMenu:closeMenu,openMenu:openMenu};var mdsRadialMenuCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-radial-menu-angle-start:0deg;--mds-radial-menu-angle-end:360deg;--mds-radial-menu-context-menu-z-index:var(--magma-context-menu-z-index,8000);--mds-radial-menu-delay:10ms;--mds-radial-menu-direction:-1;--mds-radial-menu-disc-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5);--mds-radial-menu-disc-filter:blur(calc(var(--spacing,.0025rem)*200));--mds-radial-menu-disc-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-radial-menu-disc-size:calc(var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem) * 2000)) * 2);--mds-radial-menu-radius:calc(var(--spacing,.0025rem)*2000);--mds-radial-menu-transition-duration:var(--duration-500,.5s);--mds-radial-menu-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-radial-menu-nth-siblings:0;--mds-radial-menu-disc-delay:0s;--mds-radial-menu-disc-scale:0;--mds-radial-menu-radius-current:0;--private-radial-menu-sweep:calc(var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg));--mds-radial-menu-is-full-circle:cos(clamp(0deg,max(var(--private-radial-menu-sweep) - 360deg,360deg - var(--private-radial-menu-sweep)) * 1000,90deg));--mds-radial-menu-is-start-greater-than-end:sin(clamp(-90deg,var(--private-radial-menu-sweep) * 1000,90deg));display:inline-flex;position:relative;transition-duration:var(--mds-radial-menu-transition-duration);transition-property:top,left;transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:var(--magma-dropdown-z-index,5000)}:host([direction=clockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*-1)}:host([direction=counterclockwise]){--mds-radial-menu-direction:calc(var(--mds-radial-menu-is-start-greater-than-end)*1)}.menu-button{border-radius:100%;position:relative;transform:scale(1);transition-duration:var(--mds-radial-menu-transition-duration);transition-timing-function:var(--mds-radial-menu-transition-timing-function);z-index:2}:host(:not([opened])) .menu-button--hidden{transform:scale(0)}.radial-menu{inset:0;pointer-events:none;position:absolute;transition-delay:calc((var(--mds-radial-menu-nth-siblings)*2)*var(--mds-radial-menu-delay,10ms));transition-property:z-index;z-index:3}:host(:not([opened])) .radial-menu{transition-delay:0s;z-index:1}:host(:not([opened])){--mds-radial-menu-radius-current:0}:host([opened]){--mds-radial-menu-radius-current:var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem)*2000))}:host([opened]) ::slotted(mds-radial-menu-item){pointer-events:auto;transform:scale(1)}::slotted(mds-radial-menu-item){--mds-radial-menu-item-offset-per-child:calc((var(--mds-radial-menu-angle-end,360deg) - var(--mds-radial-menu-angle-start,0deg))/(var(--mds-radial-menu-nth-siblings) + var(--mds-radial-menu-is-full-circle)));--mds-radial-menu-item-angle-offset:calc(var(--mds-radial-menu-direction,-1)*var(--mds-radial-menu-item-index)*var(--mds-radial-menu-item-offset-per-child));--mds-radial-menu-item-delay:calc((var(--mds-radial-menu-item-index) + 1)*var(--mds-radial-menu-delay,10ms));--mds-radial-menu-item-translate:calc(cos((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current)) calc(sin((var(--mds-radial-menu-angle-start,0deg) + var(--mds-radial-menu-item-angle-offset))) * var(--mds-radial-menu-radius-current) * -1)}.disc{--size:calc(var(--mds-radial-menu-disc-size,calc(calc(var(--spacing,.0025rem) * 2000) * 2)) + var(--mds-radial-menu-radius,calc(var(--spacing,.0025rem) * 2000)));-webkit-backdrop-filter:var(--mds-radial-menu-disc-filter);backdrop-filter:var(--mds-radial-menu-disc-filter);background-color:var(--mds-radial-menu-disc-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5));border-radius:100%;box-shadow:var(--mds-radial-menu-disc-shadow);display:inline-flex;height:var(--size);inset:50%;position:absolute;transform:translate(-50%,-50%) scale(var(--mds-radial-menu-disc-scale));transition-delay:var(--mds-radial-menu-disc-delay);transition-duration:var(--mds-radial-menu-transition-duration);transition-property:height,transform,width;transition-timing-function:var(--mds-radial-menu-transition-timing-function);width:var(--size);z-index:0}:host(:not([opened][disc])){--mds-radial-menu-disc-scale:0;--mds-radial-menu-disc-delay:calc((var(--mds-radial-menu-nth-siblings) + 1)*var(--mds-radial-menu-delay,10ms))}:host([opened][disc]){--mds-radial-menu-disc-scale:1;--mds-radial-menu-disc-delay:0s}:host([interaction=rightclick]){position:fixed;z-index:var(--mds-radial-menu-context-menu-z-index,var(--magma-context-menu-z-index,8000))}"};var MdsRadialMenu=/** @class */function(){function e(a){var n=this.constructor;var i=this;if(n===e)registerInstance(this,a);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.backdropController=new Backdrop("mds-radial-menu-backdrop");
2
2
  /**
3
3
  * Specifies the direction of the menu elements
4
4
  */this.direction="clockwise";
@@ -16,10 +16,10 @@ import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.j
16
16
  */this.tone="strong";
17
17
  /**
18
18
  * Specifies the size for the button
19
- */this.size="lg";this.toggleMenu=function(){if(n.opened===true){n.opened=undefined;return}n.opened=true};this.setItemSize=function(){var e;(e=n.items)===null||e===void 0?void 0:e.forEach((function(e){e.size=n.size}))};this.setItemIndex=function(){n.items.forEach((function(e,n){e.style.setProperty("--mds-radial-menu-item-index",n.toString())}))};
19
+ */this.size="lg";this.toggleMenu=function(){if(i.opened===true){i.opened=undefined;return}i.opened=true};this.setItemSize=function(){var e;(e=i.items)===null||e===void 0?void 0:e.forEach((function(e){e.size=i.size}))};this.setItemIndex=function(){i.items.forEach((function(e,a){e.style.setProperty("--mds-radial-menu-item-index",a.toString())}))};
20
20
  // a geometry prop writes its custom property inline only while it is set: without it the menu
21
21
  // takes the value a stylesheet gives the property, or the default of the component
22
- this.writeGeometry=function(e,a,i){if(typeof a!=="number"||!Number.isFinite(a)){n.hostElement.style.removeProperty(e);return}n.hostElement.style.setProperty(e,"".concat(a).concat(i))};this.updateItems=function(){n.items=queryChildrenBySlot(n.hostElement,"item");n.setItemSize();n.setItemIndex();n.hostElement.style.setProperty("--mds-radial-menu-nth-siblings",(n.items.length-1).toString())};
22
+ this.writeGeometry=function(e,a,n){if(typeof a!=="number"||!Number.isFinite(a)){i.hostElement.style.removeProperty(e);return}i.hostElement.style.setProperty(e,"".concat(a).concat(n))};this.updateItems=function(){i.items=queryChildrenBySlot(i.hostElement,"item");i.setItemSize();i.setItemIndex();i.hostElement.style.setProperty("--mds-radial-menu-nth-siblings",(i.items.length-1).toString())};
23
23
  // a click outside the menu and Escape close the open menu: the backdrop takes no pointer, so
24
24
  // nothing else did. Escape gives the focus back to the trigger when it was inside the menu
25
- this.handleOutsideClick=function(e){if(e.composedPath().includes(n.hostElement))return;n.opened=undefined};this.handleEscape=function(e){var a,i;if(e.key!=="Escape")return;var r=n.hostElement.matches(":focus-within");n.opened=undefined;if(r&&n.interaction==="click"){(i=(a=n.hostElement.shadowRoot)===null||a===void 0?void 0:a.querySelector(".menu-button"))===null||i===void 0?void 0:i.focus()}};this.listenOutside=function(e){if(typeof document==="undefined")return;document.removeEventListener("click",n.handleOutsideClick);document.removeEventListener("keydown",n.handleEscape);if(!e)return;document.addEventListener("click",n.handleOutsideClick);document.addEventListener("keydown",n.handleEscape)};this.toggleRightClickMenu=function(e){e.preventDefault();n.hostElement.style.top="".concat(e.clientY-n.hostElement.offsetHeight/2,"px");n.hostElement.style.left="".concat(e.clientX-n.hostElement.offsetWidth/2,"px");n.toggleMenu()};this.handleBackdrop=function(){if(!n.backdrop){n.backdropController.detachBackdrop();return}if(n.opened){n.backdropController.attachBackdrop();return}n.backdropController.detachBackdrop()}}e.prototype.componentWillLoad=function(){var e;this.icon=(e=this.icon)!==null&&e!==void 0?e:miBaselineMoreVert;this.onAngleStartChange(this.angleStart);this.onAngleEndChange(this.angleEnd);this.onRadiusChange(this.radius);this.onSizeChange()};e.prototype.componentDidLoad=function(){this.updateItems();this.onOpenedChange(this.opened);this.onInteractionChange(this.interaction)};e.prototype.disconnectedCallback=function(){if(typeof document==="undefined")return;document.removeEventListener("contextmenu",this.toggleRightClickMenu);this.listenOutside(false)};e.prototype.onDiscChanged=function(e){if(e===false){this.disc=undefined}};e.prototype.backdropChanged=function(e){if(e===false){this.backdrop=undefined}this.handleBackdrop()};e.prototype.onInteractionChange=function(e){if(typeof document==="undefined")return;if(e==="rightclick"){document.addEventListener("contextmenu",this.toggleRightClickMenu);return}document.removeEventListener("contextmenu",this.toggleRightClickMenu)};e.prototype.onAngleStartChange=function(e){this.writeGeometry("--mds-radial-menu-angle-start",e,"deg")};e.prototype.onAngleEndChange=function(e){this.writeGeometry("--mds-radial-menu-angle-end",e,"deg")};e.prototype.onRadiusChange=function(e){this.writeGeometry("--mds-radial-menu-radius",e,"rem")};e.prototype.onSizeChange=function(){this.setItemSize()};e.prototype.onOpenedChange=function(e){if(e===false){this.opened=undefined}this.handleBackdrop();this.listenOutside(!!e)};e.prototype.render=function(){return h(Host,{key:"50afd404c2d35151f6763801445ef1b47ed1fbd0"},h("mds-button",{key:"9c7e5505b3a32d5102ddbde9bb9fc3aeb9e9f0bf","aria-label":this.t.get(this.opened?"closeMenu":"openMenu"),class:clsx("menu-button",this.interaction!=="click"&&"menu-button--hidden"),icon:this.opened?miBaselineClose:this.icon,tone:this.tone,variant:this.variant,size:this.size,onClick:this.toggleMenu}),h("div",{key:"352bccc56d2b08d3705c514808cd16ee8ceb747d",class:"radial-menu",part:"radial-menu"},h("slot",{key:"e55721554687ce5f754210503680a8d22e46483f",name:"item",onSlotchange:this.updateItems})),h("div",{key:"2c77b3c3b897312fee4fee0354bb5f1d92f295ab",class:"disc"}))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disc:[{onDiscChanged:0}],backdrop:[{backdropChanged:0}],interaction:[{onInteractionChange:0}],angleStart:[{onAngleStartChange:0}],angleEnd:[{onAngleEndChange:0}],radius:[{onRadiusChange:0}],size:[{onSizeChange:0}],opened:[{onOpenedChange:0}]}},enumerable:false,configurable:true});return e}();MdsRadialMenu.style=mdsRadialMenuCss();export{MdsRadialMenu as mds_radial_menu};
25
+ this.handleOutsideClick=function(e){if(e.composedPath().includes(i.hostElement))return;i.opened=undefined};this.handleEscape=function(e){var a,n;if(e.key!=="Escape")return;var r=i.hostElement.matches(":focus-within");i.opened=undefined;if(r&&i.interaction==="click"){(n=(a=i.hostElement.shadowRoot)===null||a===void 0?void 0:a.querySelector(".menu-button"))===null||n===void 0?void 0:n.focus()}};this.listenOutside=function(e){if(typeof document==="undefined")return;document.removeEventListener("click",i.handleOutsideClick);document.removeEventListener("keydown",i.handleEscape);if(!e)return;document.addEventListener("click",i.handleOutsideClick);document.addEventListener("keydown",i.handleEscape)};this.toggleRightClickMenu=function(e){e.preventDefault();i.hostElement.style.top="".concat(e.clientY-i.hostElement.offsetHeight/2,"px");i.hostElement.style.left="".concat(e.clientX-i.hostElement.offsetWidth/2,"px");i.toggleMenu()};this.handleBackdrop=function(){if(!i.backdrop){i.backdropController.detachBackdrop();return}if(i.opened){i.backdropController.attachBackdrop();return}i.backdropController.detachBackdrop()}}e.prototype.componentWillLoad=function(){var e;this.icon=(e=this.icon)!==null&&e!==void 0?e:miBaselineMoreVert;this.onAngleStartChange(this.angleStart);this.onAngleEndChange(this.angleEnd);this.onRadiusChange(this.radius);this.onSizeChange()};e.prototype.componentDidLoad=function(){this.updateItems();this.onOpenedChange(this.opened);this.onInteractionChange(this.interaction)};e.prototype.disconnectedCallback=function(){if(typeof document==="undefined")return;document.removeEventListener("contextmenu",this.toggleRightClickMenu);this.listenOutside(false)};e.prototype.onDiscChanged=function(e){if(e===false){this.disc=undefined}};e.prototype.backdropChanged=function(e){if(e===false){this.backdrop=undefined}this.handleBackdrop()};e.prototype.onInteractionChange=function(e){if(typeof document==="undefined")return;if(e==="rightclick"){document.addEventListener("contextmenu",this.toggleRightClickMenu);return}document.removeEventListener("contextmenu",this.toggleRightClickMenu)};e.prototype.onAngleStartChange=function(e){this.writeGeometry("--mds-radial-menu-angle-start",e,"deg")};e.prototype.onAngleEndChange=function(e){this.writeGeometry("--mds-radial-menu-angle-end",e,"deg")};e.prototype.onRadiusChange=function(e){this.writeGeometry("--mds-radial-menu-radius",e,"rem")};e.prototype.onSizeChange=function(){this.setItemSize()};e.prototype.onOpenedChange=function(e){if(e===false){this.opened=undefined}this.handleBackdrop();this.listenOutside(!!e)};e.prototype.render=function(){return h(Host,{key:"1a6ad969a1f8ac7bdc3b45765d194756789e7914"},h("mds-button",{key:"1cacf81c7cb48c4ac0bcbc860fd30c8f48b6b130","aria-label":this.t.get(this.opened?"closeMenu":"openMenu"),class:clsx("menu-button",this.interaction!=="click"&&"menu-button--hidden"),icon:this.opened?miBaselineClose:this.icon,tone:this.tone,variant:this.variant,size:this.size,onClick:this.toggleMenu}),h("div",{key:"3a5b3cf8e13aafc7c14154e7f60f5ef842ce7e3b",class:"radial-menu",part:"radial-menu"},h("slot",{key:"30ece6c2b2192a4f8a62548f86f62237b0f9a3ff",name:"item",onSlotchange:this.updateItems})),h("div",{key:"b62a5837203506d1278dd55f970a7751f0c3c52a",class:"disc"}))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{disc:[{onDiscChanged:0}],backdrop:[{backdropChanged:0}],interaction:[{onInteractionChange:0}],angleStart:[{onAngleStartChange:0}],angleEnd:[{onAngleEndChange:0}],radius:[{onRadiusChange:0}],size:[{onSizeChange:0}],opened:[{onOpenedChange:0}]}},enumerable:false,configurable:true});return e}();MdsRadialMenu.style=mdsRadialMenuCss();export{MdsRadialMenu as mds_radial_menu};
@@ -1 +1 @@
1
- import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C8foBO86.js";var mdsSeparatorCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-separator-background:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));background-color:var(--mds-separator-background,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;height:1px}"};var MdsSeparator=/** @class */function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,{key:"58f04372d1fd554508fa699db32051218a50bbc4","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]})};return r}();MdsSeparator.style=mdsSeparatorCss();export{MdsSeparator as mds_separator};
1
+ import{r as registerInstance,h,e as Host}from"./index-CPibDZjX.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var mdsSeparatorCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-separator-background:rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196)));background-color:var(--mds-separator-background,rgb(var(--magma-border-default,var(--border-neutral-default,196 196 196))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;height:1px}"};var MdsSeparator=/** @class */function(){function r(e){var a=this.constructor;if(a===r)registerInstance(this,e)}r.prototype.render=function(){return h(Host,{key:"cc609caf4e23e314169a4213bea63b58d45590b6","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]})};return r}();MdsSeparator.style=mdsSeparatorCss();export{MdsSeparator as mds_separator};
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(a,t,r,e){function s(a){return a instanceof r?a:new r((function(t){t(a)}))}return new(r||(r=Promise))((function(r,n){function i(a){try{c(e.next(a))}catch(a){n(a)}}function o(a){try{c(e["throw"](a))}catch(a){n(a)}}function c(a){a.done?r(a.value):s(a.value).then(i,o)}c((e=e.apply(a,t||[])).next())}))};var __generator=this&&this.__generator||function(a,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},e,s,n,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=o(0),i["throw"]=o(1),i["return"]=o(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(a){return function(t){return c([a,t])}}function c(o){if(e)throw new TypeError("Generator is already executing.");while(i&&(i=0,o[0]&&(r=0)),r)try{if(e=1,s&&(n=o[0]&2?s["return"]:o[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,o[1])).done)return n;if(s=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;s=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(o[0]===6&&r.label<n[1]){r.label=n[1];n=o;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(o);break}if(n[2])r.ops.pop();r.trys.pop();continue}o=t.call(a,r)}catch(a){o=[6,a];s=0}finally{e=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C8foBO86.js";var mdsStatusBarCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-modal,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-status-bar-max-width:calc(var(--spacing,.0025rem)*12500);--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1);--mds-status-bar-backdrop-filter:blur(calc(var(--spacing,.0025rem)*250));display:block}mds-modal{--mds-modal-custom-window-distance:0;--mds-modal-custom-closed-transform:translateY(100%)}.status-bar-area{-webkit-backdrop-filter:var(--mds-status-bar-backdrop-filter);backdrop-filter:var(--mds-status-bar-backdrop-filter);background-color:var(--mds-status-bar-backdrop,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px)) var(--magma-radius-xl,var(--radius-squircle-xl,36px)) 0 0;corner-shape:var(--magma-corner-shape,squircle);margin-left:calc(var(--spacing,.0025rem)*600);margin-right:calc(var(--spacing,.0025rem)*600);max-width:none;padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*600);transition-property:background-color,transform,opacity;width:auto}.status-bar{--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;gap:calc(var(--spacing,.0025rem)*400);max-width:var(--mds-status-bar-max-width,calc(var(--spacing,.0025rem)*12500));padding:calc(var(--spacing,.0025rem)*600)}.actions,.status-bar{display:inline-flex;flex-wrap:wrap}.actions{flex-grow:1;gap:var(--magma-rhythm-inline,12px)}@container status-bar not (min-width:23.75rem){.actions{flex-basis:100%;flex-direction:column}::slotted(*){align-self:stretch}}:host([pref-consumption=medium]){--mds-status-bar-backdrop-filter:none}:host([pref-contrast=more]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .status-bar,:host([pref-theme-scheme=dark]) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}@media (max-width:480px){.status-bar-area{border-radius:0;margin-left:0;margin-right:0;padding:calc(var(--spacing,.0025rem)*400);width:100%}.status-bar{container:status-bar/inline-size;width:100%}::slotted(*){flex-grow:1}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}}"};var MdsStatusBar=/** @class */function(){function a(a){var t=this;registerInstance(this,a);
1
+ var __awaiter=this&&this.__awaiter||function(a,t,r,e){function s(a){return a instanceof r?a:new r((function(t){t(a)}))}return new(r||(r=Promise))((function(r,n){function i(a){try{c(e.next(a))}catch(a){n(a)}}function o(a){try{c(e["throw"](a))}catch(a){n(a)}}function c(a){a.done?r(a.value):s(a.value).then(i,o)}c((e=e.apply(a,t||[])).next())}))};var __generator=this&&this.__generator||function(a,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},e,s,n,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=o(0),i["throw"]=o(1),i["return"]=o(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(a){return function(t){return c([a,t])}}function c(o){if(e)throw new TypeError("Generator is already executing.");while(i&&(i=0,o[0]&&(r=0)),r)try{if(e=1,s&&(n=o[0]&2?s["return"]:o[0]?s["throw"]||((n=s["return"])&&n.call(s),0):s.next)&&!(n=n.call(s,o[1])).done)return n;if(s=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:r.label++;return{value:o[1],done:false};case 5:r.label++;s=o[1];o=[0];continue;case 7:o=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){r.label=o[1];break}if(o[0]===6&&r.label<n[1]){r.label=n[1];n=o;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(o);break}if(n[2])r.ops.pop();r.trys.pop();continue}o=t.call(a,r)}catch(a){o=[6,a];s=0}finally{e=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{r as registerInstance,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var mdsStatusBarCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-modal,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-status-bar-max-width:calc(var(--spacing,.0025rem)*12500);--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1);--mds-status-bar-backdrop-filter:blur(calc(var(--spacing,.0025rem)*250));display:block}mds-modal{--mds-modal-custom-window-distance:0;--mds-modal-custom-closed-transform:translateY(100%)}.status-bar-area{-webkit-backdrop-filter:var(--mds-status-bar-backdrop-filter);backdrop-filter:var(--mds-status-bar-backdrop-filter);background-color:var(--mds-status-bar-backdrop,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.1));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px)) var(--magma-radius-xl,var(--radius-squircle-xl,36px)) 0 0;corner-shape:var(--magma-corner-shape,squircle);margin-left:calc(var(--spacing,.0025rem)*600);margin-right:calc(var(--spacing,.0025rem)*600);max-width:none;padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*600);transition-property:background-color,transform,opacity;width:auto}.status-bar{--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--shadow-md,0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;gap:calc(var(--spacing,.0025rem)*400);max-width:var(--mds-status-bar-max-width,calc(var(--spacing,.0025rem)*12500));padding:calc(var(--spacing,.0025rem)*600)}.actions,.status-bar{display:inline-flex;flex-wrap:wrap}.actions{flex-grow:1;gap:var(--magma-rhythm-inline,12px)}@container status-bar not (min-width:23.75rem){.actions{flex-basis:100%;flex-direction:column}::slotted(*){align-self:stretch}}:host([pref-consumption=medium]){--mds-status-bar-backdrop-filter:none}:host([pref-contrast=more]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .status-bar,:host([pref-theme-scheme=dark]) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}@media (max-width:480px){.status-bar-area{border-radius:0;margin-left:0;margin-right:0;padding:calc(var(--spacing,.0025rem)*400);width:100%}.status-bar{container:status-bar/inline-size;width:100%}::slotted(*){flex-grow:1}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-status-bar-backdrop:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))) .status-bar{box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15))}}"};var MdsStatusBar=/** @class */function(){function a(a){var t=this.constructor;var r=this;if(t===MdsStatusBar)registerInstance(this,a);
2
2
  /**
3
3
  * Specifies if the component prevents the body from scrolling when modal window is opened
4
4
  */this.overflow="manual";
@@ -6,7 +6,7 @@ var __awaiter=this&&this.__awaiter||function(a,t,r,e){function s(a){return a ins
6
6
  * Specifies the position of the status bar
7
7
  */this.position="bottom-right";
8
8
  // the modal closes itself too (a swipe): the bar follows it
9
- this.handleModalClose=function(){t.visible=undefined}}a.prototype.handleVisbilityProp=function(a){if(a===false){this.visible=undefined}};
9
+ this.handleModalClose=function(){r.visible=undefined}}a.prototype.handleVisbilityProp=function(a){if(a===false){this.visible=undefined}};
10
10
  /**
11
11
  * Hides the status bar.
12
- */a.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.visible=undefined;return[2/*return*/]}))}))};a.prototype.render=function(){return h(Host,{key:"880e7f856b4c853713fda33f0584f105d187d47f","pref-consumption":preferenceStore.state.consumption,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-modal",{key:"a43bbc63dc55ebc684c977ed4044ea7debd96923",class:"modal",hideBackdrop:true,onMdsModalClose:this.handleModalClose,opened:this.visible,position:this.position,animation:"custom",overflow:this.overflow},h("div",{key:"01c957e7114d2ea0af3cf816d035d0850a573b53",class:"status-bar-area",part:"status-bar-area",slot:"window"},h("div",{key:"5c10f82297549778a96697e1d14a682c48d73ecf",class:"status-bar",part:"status-bar"},this.description&&h("mds-text",{key:"a77565fd4d45418c2a1bcbd537d6f5dd8fc77d08",typography:"caption",class:"description"},this.description),h("div",{key:"db03d3c1eaf4a7c69168151fcd3010e1d374fae1",class:"actions",part:"actions"},h("slot",{key:"e208b8ba39e479529fe37f4ed2228dcbd6f5edd5"}))))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{visible:[{handleVisbilityProp:0}]}},enumerable:false,configurable:true});return a}();MdsStatusBar.style=mdsStatusBarCss();export{MdsStatusBar as mds_status_bar};
12
+ */a.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.visible=undefined;return[2/*return*/]}))}))};a.prototype.render=function(){return h(Host,{key:"1565b05d0612583dc07155efba9e4af8141912d3","pref-consumption":preferenceStore.state.consumption,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-modal",{key:"f9e72231e344ba37aea2237a38e503127dca8b36",class:"modal",hideBackdrop:true,onMdsModalClose:this.handleModalClose,opened:this.visible,position:this.position,animation:"custom",overflow:this.overflow},h("div",{key:"cabc0d4462f4252754fbc7d19cfca59793f687af",class:"status-bar-area",part:"status-bar-area",slot:"window"},h("div",{key:"66dda69b720346a2989ddf397fe9652e8c03ae79",class:"status-bar",part:"status-bar"},this.description&&h("mds-text",{key:"2d00da12d0943b5d126f28b04eee1c19321c2161",typography:"caption",class:"description"},this.description),h("div",{key:"21b538c7f39924e0929f018185388b773ea7d1ba",class:"actions",part:"actions"},h("slot",{key:"cd54a6b9e0f074b9e408e48b304eaffeb411288e"}))))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{visible:[{handleVisbilityProp:0}]}},enumerable:false,configurable:true});return a}();MdsStatusBar.style=mdsStatusBarCss();export{MdsStatusBar as mds_status_bar};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{K as KeyboardManager}from"./keyboard-manager-CGrPq3C4.js";import{L as Locale}from"./locale-DhP1Ge2o.js";import{p as preferenceStore}from"./preference-C8foBO86.js";var badgeDone$3="Ολοκληρώθηκε";var badgeCurrent$3="Καθημερινή";var badgeQueued$3="Σε αναμονή";var step$3="Βήμα {{ index }}";var localeEl={badgeDone:badgeDone$3,badgeCurrent:badgeCurrent$3,badgeQueued:badgeQueued$3,step:step$3};var badgeDone$2="Done";var badgeCurrent$2="Current";var badgeQueued$2="Queued";var step$2="Step {{ index }}";var localeEn={badgeDone:badgeDone$2,badgeCurrent:badgeCurrent$2,badgeQueued:badgeQueued$2,step:step$2};var badgeDone$1="Completado";var badgeCurrent$1="En curso";var badgeQueued$1="En cola";var step$1="Paso {{ index }}";var localeEs={badgeDone:badgeDone$1,badgeCurrent:badgeCurrent$1,badgeQueued:badgeQueued$1,step:step$1};var badgeDone="Completato";var badgeCurrent="In corso";var badgeQueued="In coda";var step="Step {{ index }}";var localeIt={badgeDone:badgeDone,badgeCurrent:badgeCurrent,badgeQueued:badgeQueued,step:step};var mdsStepperBarItemCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-badge,mds-icon,mds-progress,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-stepper-bar-item-header-gap:var(--mds-stepper-bar-gap,calc(var(--spacing,.0025rem)*50));--mds-stepper-bar-item-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-stepper-bar-item-duration:.25s;--private-stepper-bar-item-duaration:var(--mds-stepper-bar-item-duration,.25s);--mds-stepper-bar-item-transition-duration:var(--duration-200,.2s);--private-stepper-bar-item-transition-duration:var(--mds-stepper-bar-item-transition-duration);--mds-stepper-bar-item-icon-background-done:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-icon-background-current:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-stepper-bar-item-icon-color-done:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color-current:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-stepper-bar-item-min-width:calc(var(--spacing,.0025rem)*4500);--mds-stepper-bar-item-progress-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-stepper-bar-item-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-progress-thickness:calc(var(--spacing,.0025rem)*200);border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;display:grid;flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*400);min-width:var(--mds-stepper-bar-item-min-width,calc(var(--spacing,.0025rem)*4500));position:relative;scroll-snap-align:center;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:outline,outline-offset,background-color}:host(:last-of-type){flex-basis:calc(var(--spacing,.0025rem)*100)}:host(:last-of-type) .progress{display:none}:host([done]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-done,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-done,rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:0s}:host([current]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-current,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-current,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:calc(var(--private-stepper-bar-item-duaration)/2)}.header{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:flex;gap:var(--mds-stepper-bar-item-header-gap);transition-duration:var(--private-stepper-bar-item-transition-duration);transition-property:outline,outline-offset;width:100%}.icon{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-stepper-bar-item-icon-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;fill:var(--mds-stepper-bar-item-icon-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));flex-shrink:0;padding:calc(var(--spacing,.0025rem)*200);position:relative;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:background-color,fill;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.progress{--mds-progress-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-progress-color:var(--mds-stepper-bar-item-progress-color,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-progress-thickness:var(--mds-stepper-bar-item-progress-thickness,calc(var(--spacing,.0025rem)*200));--mds-progress-radius:0;flex-grow:1}.infos{display:grid;gap:calc(var(--spacing,.0025rem)*100);padding-left:calc(var(--spacing,.0025rem)*100)}.text{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));color:var(--mds-stepper-bar-item-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));pointer-events:none;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.badge,.step{border-radius:var(--magma-radius-full,var(--radius-full,1000px));pointer-events:none}.step{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}}'};var MdsStepperBarItem=/** @class */function(){function e(e){var r=this;registerInstance(this,e);this.doneEvent=createEvent(this,"mdsStepperBarItemDone",7);this.km=new KeyboardManager;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{K as KeyboardManager}from"./keyboard-manager-CGrPq3C4.js";import{L as Locale}from"./locale-B7Hw4niB.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var badgeDone$3="Ολοκληρώθηκε";var badgeCurrent$3="Καθημερινή";var badgeQueued$3="Σε αναμονή";var step$3="Βήμα {{ index }}";var localeEl={badgeDone:badgeDone$3,badgeCurrent:badgeCurrent$3,badgeQueued:badgeQueued$3,step:step$3};var badgeDone$2="Done";var badgeCurrent$2="Current";var badgeQueued$2="Queued";var step$2="Step {{ index }}";var localeEn={badgeDone:badgeDone$2,badgeCurrent:badgeCurrent$2,badgeQueued:badgeQueued$2,step:step$2};var badgeDone$1="Completado";var badgeCurrent$1="En curso";var badgeQueued$1="En cola";var step$1="Paso {{ index }}";var localeEs={badgeDone:badgeDone$1,badgeCurrent:badgeCurrent$1,badgeQueued:badgeQueued$1,step:step$1};var badgeDone="Completato";var badgeCurrent="In corso";var badgeQueued="In coda";var step="Step {{ index }}";var localeIt={badgeDone:badgeDone,badgeCurrent:badgeCurrent,badgeQueued:badgeQueued,step:step};var mdsStepperBarItemCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-badge,mds-icon,mds-progress,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-stepper-bar-item-header-gap:var(--mds-stepper-bar-gap,calc(var(--spacing,.0025rem)*50));--mds-stepper-bar-item-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-stepper-bar-item-duration:.25s;--private-stepper-bar-item-duaration:var(--mds-stepper-bar-item-duration,.25s);--mds-stepper-bar-item-transition-duration:var(--duration-200,.2s);--private-stepper-bar-item-transition-duration:var(--mds-stepper-bar-item-transition-duration);--mds-stepper-bar-item-icon-background-done:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-icon-background-current:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-stepper-bar-item-icon-color-done:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color-current:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-stepper-bar-item-min-width:calc(var(--spacing,.0025rem)*4500);--mds-stepper-bar-item-progress-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-stepper-bar-item-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-progress-thickness:calc(var(--spacing,.0025rem)*200);border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;display:grid;flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*400);min-width:var(--mds-stepper-bar-item-min-width,calc(var(--spacing,.0025rem)*4500));position:relative;scroll-snap-align:center;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:outline,outline-offset,background-color}:host(:last-of-type){flex-basis:auto;flex-grow:0;min-width:auto}:host(:last-of-type) .progress{display:none}:host([done]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-done,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-done,rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:0s}:host([current]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-current,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-current,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:calc(var(--private-stepper-bar-item-duaration)/2)}.header{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:flex;gap:var(--mds-stepper-bar-item-header-gap);transition-duration:var(--private-stepper-bar-item-transition-duration);transition-property:outline,outline-offset;width:100%}.icon{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-stepper-bar-item-icon-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;fill:var(--mds-stepper-bar-item-icon-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));flex-shrink:0;padding:calc(var(--spacing,.0025rem)*200);position:relative;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:background-color,fill;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.progress{--mds-progress-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-progress-color:var(--mds-stepper-bar-item-progress-color,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-progress-thickness:var(--mds-stepper-bar-item-progress-thickness,calc(var(--spacing,.0025rem)*200));--mds-progress-radius:0;flex-grow:1}.infos{display:grid;gap:calc(var(--spacing,.0025rem)*100);padding-left:calc(var(--spacing,.0025rem)*100)}.text{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));color:var(--mds-stepper-bar-item-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));pointer-events:none;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.badge,.step{border-radius:var(--magma-radius-full,var(--radius-full,1000px));pointer-events:none}.step{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}}'};var MdsStepperBarItem=/** @class */function(){function e(r){var a=this.constructor;var t=this;if(a===e)registerInstance(this,r);this.doneEvent=createEvent(this,"mdsStepperBarItemDone",7);this.km=new KeyboardManager;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
2
  /**
3
3
  * Specifies the icon displayed of the component when is checked
4
4
  */this.iconChecked=this.icon;
@@ -12,14 +12,14 @@ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from".
12
12
  * Specifies the typography of the element
13
13
  */this.typography="h6";
14
14
  // a step already done can be gone back to: the item is a button then
15
- this.isReachable=function(){return!!r.isDone&&!r.isCurrent};
15
+ this.isReachable=function(){return!!t.isDone&&!t.isCurrent};
16
16
  /**
17
17
  * Asks to go back to this step, with its value: the event was declared and never emitted. The
18
18
  * stepper bar is driven by its `itemsDone`, so the page answers by setting it.
19
- */this.handleClick=function(){var e;if(!r.isReachable())return;r.doneEvent.emit({value:(e=r.value)!==null&&e!==void 0?e:""})};
19
+ */this.handleClick=function(){var e;if(!t.isReachable())return;t.doneEvent.emit({value:(e=t.value)!==null&&e!==void 0?e:""})};
20
20
  // the status goes through label, a watched prop: the badge reads its deprecated slot once, and
21
21
  // the render reuses the same badge from one status to the next
22
- this.showBadge=function(){if(r.isDone){return h("mds-badge",{class:"badge",variant:"success",tone:"weak",typography:"option",label:r.t.get("badgeDone")})}if(r.isCurrent){return h("mds-badge",{class:"badge",variant:"info",tone:"weak",typography:"option",label:r.t.get("badgeCurrent")})}return h("mds-badge",{class:"badge",variant:"dark",tone:"weak",typography:"option",label:r.t.get("badgeQueued")})}}e.prototype.componentWillLoad=function(){var e=this;this.isCurrent=this.current;this.isDone=this.done;var r=this.host.parentElement;
22
+ this.showBadge=function(){if(t.isDone){return h("mds-badge",{class:"badge",variant:"success",tone:"weak",typography:"option",label:t.t.get("badgeDone")})}if(t.isCurrent){return h("mds-badge",{class:"badge",variant:"info",tone:"weak",typography:"option",label:t.t.get("badgeCurrent")})}return h("mds-badge",{class:"badge",variant:"dark",tone:"weak",typography:"option",label:t.t.get("badgeQueued")})}}e.prototype.componentWillLoad=function(){var e=this;this.isCurrent=this.current;this.isDone=this.done;var r=this.host.parentElement;
23
23
  // childNodes counts the whitespace between the tags, so formatted markup made
24
24
  // the step numbers come out doubled: 2, 4, 6, 8 for four steps.
25
- if(r){this.index=Array.from(r.children).filter((function(r){return r.tagName===e.host.tagName})).indexOf(this.host)}};e.prototype.componentDidLoad=function(){this.km.addElement(this.host);this.km.attachClickBehavior()};e.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};e.prototype.selectedHandler=function(e){this.isDone=e};e.prototype.currentHandler=function(e){this.isCurrent=e};e.prototype.render=function(){return h(Host,{key:"c148fade103ed5492e0ee8fdd6d6a67815682e28",onClick:this.handleClick,"pref-animation":preferenceStore.state.animation,role:this.isReachable()?"button":undefined,tabindex:this.isReachable()?"0":undefined},h("div",{key:"9dd7c9a4f85276e408a89fc1af0e62c5c07b4d17",class:"header"},h("mds-icon",{key:"d7dd1d04438a250cdb08968a34be726c0cf6e9f6",class:"icon",name:clsx(this.isDone&&!this.isCurrent?this.iconChecked:this.icon)}),h("mds-progress",{key:"1f25e035cc868887c91e60322622bee9c5933a1c","aria-hidden":"true",class:"progress",progress:this.isDone?1:0})),h("div",{key:"5659c6702369d3db54f9ea1bc1fed7d02d089a4d",class:"infos"},this.step&&h("mds-text",{key:"b973fcfc8225369bd26bae1452dd43738a9cebe6",class:"step",typography:"option"},this.t.get("step",{index:this.index+1})),this.label&&h("mds-text",{key:"f6b876a52756bc1ad7b22f579f4606f315dfdd11",class:"text",typography:this.typography},this.label),this.badge&&h("div",{key:"900d7a98f21cd4b167374dc50f9f6c1ae8f529f0",part:"badge"},this.showBadge())))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{done:[{selectedHandler:0}],current:[{currentHandler:0}]}},enumerable:false,configurable:true});return e}();MdsStepperBarItem.style=mdsStepperBarItemCss();export{MdsStepperBarItem as mds_stepper_bar_item};
25
+ if(r){this.index=Array.from(r.children).filter((function(r){return r.tagName===e.host.tagName})).indexOf(this.host)}};e.prototype.componentDidLoad=function(){this.km.addElement(this.host);this.km.attachClickBehavior()};e.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};e.prototype.selectedHandler=function(e){this.isDone=e};e.prototype.currentHandler=function(e){this.isCurrent=e};e.prototype.render=function(){return h(Host,{key:"c8e06e24da1e579af66e778b5294cb6468d9927d",onClick:this.handleClick,"pref-animation":preferenceStore.state.animation,role:this.isReachable()?"button":undefined,tabindex:this.isReachable()?"0":undefined},h("div",{key:"1b5f3eaeca130aeb9e8b9be0db0f4f7e46d95a57",class:"header"},h("mds-icon",{key:"35c72f7d1f1ce1b2deb2f6e5ce8f030587d8e15f",class:"icon",name:clsx(this.isDone&&!this.isCurrent?this.iconChecked:this.icon)}),h("mds-progress",{key:"ca8427a5fc8750bca33270a88770ed9aa84ae762","aria-hidden":"true",class:"progress",progress:this.isDone?1:0})),h("div",{key:"fe997a5100abc1b1439b747fb56748f4a8eec645",class:"infos"},this.step&&h("mds-text",{key:"6a5b47ff7aee8f410a563e50498736f94b8ee578",class:"step",typography:"option"},this.t.get("step",{index:this.index+1})),this.label&&h("mds-text",{key:"4f16b0b56931210e9b0cb25d6f5fb4e0916b4f04",class:"text",typography:this.typography},this.label),this.badge&&h("div",{key:"f994a629e8695a3cb0a412c541b7e860f8a6024a",part:"badge"},this.showBadge())))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{done:[{selectedHandler:0}],current:[{currentHandler:0}]}},enumerable:false,configurable:true});return e}();MdsStepperBarItem.style=mdsStepperBarItemCss();export{MdsStepperBarItem as mds_stepper_bar_item};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";var mdsStepperBarCss=function(){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(--border-neutral-strong,140 140 140)));--mds-stepper-bar-scrollbar-track-background:rgb(var(--magma-wash-strong,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);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(--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(--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(--border-neutral-strong,140 140 140)))) var(--mds-stepper-bar-scrollbar-track-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));scrollbar-width:thin}}@media (prefers-reduced-motion:reduce){:host{--mds-stepper-bar-scroll-behavior:auto}}"};var MdsStepperBar=/** @class */function(){function r(r){var e=this;registerInstance(this,r);this.changedEvent=createEvent(this,"mdsStepperBarChange",7);this.currentItem=0;
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPibDZjX.js";var mdsStepperBarCss=function(){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(--border-neutral-strong,140 140 140)));--mds-stepper-bar-scrollbar-track-background:rgb(var(--magma-wash-strong,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);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(--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(--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(--border-neutral-strong,140 140 140)))) var(--mds-stepper-bar-scrollbar-track-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));scrollbar-width:thin}}@media (prefers-reduced-motion:reduce){:host{--mds-stepper-bar-scroll-behavior:auto}}"};var MdsStepperBar=/** @class */function(){function r(e){var a=this.constructor;var t=this;if(a===r)registerInstance(this,e);this.changedEvent=createEvent(this,"mdsStepperBarChange",7);this.currentItem=0;
2
2
  /**
3
3
  * Sets the current item by its position, counted from 1: the items before it are done. 1 makes
4
4
  * the first item current with none done, 0 makes no item current, the number of items + 1 marks
@@ -6,13 +6,13 @@ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from".
6
6
  */this.itemsDone=1;
7
7
  /**
8
8
  * Specifies the navigation type
9
- */this.navigation="none";this.queryItems=function(){return e.element.querySelectorAll("mds-stepper-bar-item")};this.queryContentItems=function(){return e.element.querySelectorAll("[slot=content]")};
9
+ */this.navigation="none";this.queryItems=function(){return t.element.querySelectorAll("mds-stepper-bar-item")};this.queryContentItems=function(){return t.element.querySelectorAll("[slot=content]")};
10
10
  // private queryContents = (): NodeListOf<HTMLElement> =>
11
11
  // this.element.querySelectorAll<HTMLElement>('[slot="content"]')
12
- this.minmax=function(r,e,t){return Math.min(Math.max(r,e),t)};this.setCurrent=function(r){e.items=e.queryItems();e.currentItem=r-1;var t=new Array;e.items.forEach((function(r,a){var s;r.done=false;if(a<e.currentItem){r.done=true;var o=(s=r.value)!==null&&s!==void 0?s:"";if(o!==""){t.push(o)}}r.current=false;if(a===e.currentItem){r.current=true;e.currentItem=a}}));e.changedEvent.emit({value:t.toString(),step:e.currentItem});e.scrollItems();e.setCurrentContent()};
12
+ this.minmax=function(r,e,a){return Math.min(Math.max(r,e),a)};this.setCurrent=function(r){t.items=t.queryItems();t.currentItem=r-1;var e=new Array;t.items.forEach((function(r,a){var s;r.done=false;if(a<t.currentItem){r.done=true;var o=(s=r.value)!==null&&s!==void 0?s:"";if(o!==""){e.push(o)}}r.current=false;if(a===t.currentItem){r.current=true;t.currentItem=a}}));t.changedEvent.emit({value:e.toString(),step:t.currentItem});t.scrollItems();t.setCurrentContent()};
13
13
  // the `hidden` attribute hides a panel without any style of the page: the `hidden` class it
14
14
  // used took effect only where the page defined it
15
- this.setCurrentContent=function(){e.contentItems.forEach((function(r,t){r.hidden=t!==e.currentItem}))};this.scrollItems=function(){var r;var t=(r=e.element.shadowRoot)===null||r===void 0?void 0:r.querySelector(".items");var a=e.queryItems();var s=e.minmax(e.currentItem,0,e.items.length-1);if(!t)throw Error("No mds-stepper-bar-items found");if(s<=0){t.scrollLeft=0;return}if(s>=a.length){e.scrollToItem(t,a[a.length-1],"start");return}e.scrollToItem(t,a[s],"centre")};
15
+ this.setCurrentContent=function(){t.contentItems.forEach((function(r,e){r.hidden=e!==t.currentItem}))};this.scrollItems=function(){var r;var e=(r=t.element.shadowRoot)===null||r===void 0?void 0:r.querySelector(".items");var a=t.queryItems();var s=t.minmax(t.currentItem,0,t.items.length-1);if(!e)throw Error("No mds-stepper-bar-items found");if(s<=0){e.scrollLeft=0;return}if(s>=a.length){t.scrollToItem(e,a[a.length-1],"start");return}t.scrollToItem(e,a[s],"centre")};
16
16
  /**
17
17
  * Measures from the boxes and moves the current scroll by the difference.
18
18
  * `offsetLeft` would mix two coordinate systems: the items are slotted light
@@ -21,4 +21,7 @@ this.setCurrentContent=function(){e.contentItems.forEach((function(r,t){r.hidden
21
21
  * div in the shadow root that measures from its own parent. What is left over
22
22
  * is the distance of the component from the left of the page, and it lands
23
23
  * straight on the scroll.
24
- */this.scrollToItem=function(r,e,t){var a=r.getBoundingClientRect();var s=e.getBoundingClientRect();var o=t==="centre"?(a.width-s.width)/2:0;r.scrollLeft+=s.left-a.left-o}}r.prototype.componentWillLoad=function(){this.items=this.queryItems();this.items.forEach((function(r,e){r.id="mds-stepper-bar-item-".concat(e)}))};r.prototype.componentDidLoad=function(){this.contentItems=this.queryContentItems();this.setCurrent(this.itemsDone)};r.prototype.itemDone=function(r){this.setCurrent(r)};r.prototype.render=function(){return h(Host,{key:"5bfca2c7bb7bdf41579a1273321d722a3ac07f68"},h("div",{key:"f12bd756e4ffc9530f60f1e1a3638f8658c351e9",class:"items",part:"items"},h("slot",{key:"4560d8b3fd65583232019c46b45321d3e6525b09"})),h("div",{key:"05fc5f8e6b27e75fd84cb41b97741b281e4de8b5",class:"contents",part:"contents"},h("slot",{key:"8a165bb392fbfd6f68015f8e09ea50ee40a9183f",name:"content"})))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{itemsDone:[{itemDone:0}]}},enumerable:false,configurable:true});return r}();MdsStepperBar.style=mdsStepperBarCss();export{MdsStepperBar as mds_stepper_bar};
24
+ */this.scrollToItem=function(r,e,a){var t=r.getBoundingClientRect();var s=e.getBoundingClientRect();var o=a==="centre"?(t.width-s.width)/2:0;r.scrollLeft+=s.left-t.left-o}}
25
+ // the bar used to write `mds-stepper-bar-item-<n>` as the id of every item, over the one of the
26
+ // page, when it found its items by id; it finds them by tag now, and the id is the page's (#680)
27
+ r.prototype.componentWillLoad=function(){this.items=this.queryItems()};r.prototype.componentDidLoad=function(){this.contentItems=this.queryContentItems();this.setCurrent(this.itemsDone)};r.prototype.itemDone=function(r){this.setCurrent(r)};r.prototype.render=function(){return h(Host,{key:"8a87d3b610e75a5fb1101996cd5438fd852e0af8"},h("div",{key:"857f02a3d688bb1fac96c940a80101270581ed82",class:"items",part:"items"},h("slot",{key:"851451da7aae2afe5990409caa9e2d4d451e16d2"})),h("div",{key:"52a58c90c98316c5b7286ca74bababb912f3f227",class:"contents",part:"contents"},h("slot",{key:"460e5686e1a292e57fd5e49bfe0b955075cc7e50",name:"content"})))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{itemsDone:[{itemDone:0}]}},enumerable:false,configurable:true});return r}();MdsStepperBar.style=mdsStepperBarCss();export{MdsStepperBar as mds_stepper_bar};