@maggioli-design-system/magma 2.14.0 → 2.15.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 (1502) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +43 -0
  3. package/agents/assets.md +1 -1
  4. package/agents/install.md +6 -1
  5. package/agents/mcp.md +3 -2
  6. package/agents/patterns/app-shell.md +18 -14
  7. package/agents/patterns/confirm-action.md +138 -15
  8. package/agents/patterns/empty-state.md +116 -15
  9. package/agents/patterns/error-recovery.md +151 -19
  10. package/agents/patterns/item-list.md +12 -11
  11. package/agents/patterns/labels-and-values.md +1 -0
  12. package/agents/patterns/list-with-filters.md +99 -9
  13. package/agents/patterns/loading.md +141 -19
  14. package/agents/patterns/message-placement.md +355 -39
  15. package/agents/patterns/page-header.md +7 -6
  16. package/agents/patterns/previews/actions/banner.dark.webp +0 -0
  17. package/agents/patterns/previews/actions/banner.light.webp +0 -0
  18. package/agents/patterns/previews/actions/confirm.dark.webp +0 -0
  19. package/agents/patterns/previews/actions/confirm.light.webp +0 -0
  20. package/agents/patterns/previews/actions/danger-zone.dark.webp +0 -0
  21. package/agents/patterns/previews/actions/danger-zone.light.webp +0 -0
  22. package/agents/patterns/previews/actions/destructive-in-menu.dark.webp +0 -0
  23. package/agents/patterns/previews/actions/destructive-in-menu.light.webp +0 -0
  24. package/agents/patterns/previews/actions/dismiss-message.dark.webp +0 -0
  25. package/agents/patterns/previews/actions/dismiss-message.light.webp +0 -0
  26. package/agents/patterns/previews/actions/dismiss.dark.webp +0 -0
  27. package/agents/patterns/previews/actions/dismiss.light.webp +0 -0
  28. package/agents/patterns/previews/actions/more-in-menu.dark.webp +0 -0
  29. package/agents/patterns/previews/actions/more-in-menu.light.webp +0 -0
  30. package/agents/patterns/previews/actions/part-primary.dark.webp +0 -0
  31. package/agents/patterns/previews/actions/part-primary.light.webp +0 -0
  32. package/agents/patterns/previews/actions/primary.dark.webp +0 -0
  33. package/agents/patterns/previews/actions/primary.light.webp +0 -0
  34. package/agents/patterns/previews/actions/remove.dark.webp +0 -0
  35. package/agents/patterns/previews/actions/secondary.dark.webp +0 -0
  36. package/agents/patterns/previews/actions/secondary.light.webp +0 -0
  37. package/agents/patterns/previews/actions/stacked.dark.webp +0 -0
  38. package/agents/patterns/previews/actions/stacked.light.webp +0 -0
  39. package/agents/patterns/previews/actions/toast.dark.webp +0 -0
  40. package/agents/patterns/previews/app-shell/back-office.dark.webp +0 -0
  41. package/agents/patterns/previews/app-shell/back-office.html +2 -2
  42. package/agents/patterns/previews/app-shell/back-office.light.webp +0 -0
  43. package/agents/patterns/previews/app-shell/many-sections.dark.webp +0 -0
  44. package/agents/patterns/previews/app-shell/many-sections.html +2 -2
  45. package/agents/patterns/previews/app-shell/many-sections.light.webp +0 -0
  46. package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
  47. package/agents/patterns/previews/app-shell/public-service.html +2 -2
  48. package/agents/patterns/previews/app-shell/public-service.light.webp +0 -0
  49. package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
  50. package/agents/patterns/previews/app-shell/section-menus.html +2 -2
  51. package/agents/patterns/previews/app-shell/section-menus.light.webp +0 -0
  52. package/agents/patterns/previews/confirm-action/act-then-undo.dark.webp +0 -0
  53. package/agents/patterns/previews/confirm-action/act-then-undo.html +1 -1
  54. package/agents/patterns/previews/confirm-action/ask-before-sending.dark.webp +0 -0
  55. package/agents/patterns/previews/confirm-action/ask-before-sending.light.webp +0 -0
  56. package/agents/patterns/previews/confirm-action/ask-first-many.dark.webp +0 -0
  57. package/agents/patterns/previews/confirm-action/ask-first-many.light.webp +0 -0
  58. package/agents/patterns/previews/confirm-action/ask-first.dark.webp +0 -0
  59. package/agents/patterns/previews/confirm-action/ask-first.light.webp +0 -0
  60. package/agents/patterns/previews/confirm-action/make-reversible.dark.webp +0 -0
  61. package/agents/patterns/previews/confirm-action/make-reversible.html +1 -1
  62. package/agents/patterns/previews/confirm-action/make-reversible.light.webp +0 -0
  63. package/agents/patterns/previews/confirm-action/send-as-shown.dark.webp +0 -0
  64. package/agents/patterns/previews/confirm-action/send-as-shown.html +2 -2
  65. package/agents/patterns/previews/confirm-action/send-as-shown.light.webp +0 -0
  66. package/agents/patterns/previews/empty-state/add-the-first.dark.webp +0 -0
  67. package/agents/patterns/previews/empty-state/add-the-first.html +1 -1
  68. package/agents/patterns/previews/empty-state/add-the-first.light.webp +0 -0
  69. package/agents/patterns/previews/empty-state/all-done.dark.webp +0 -0
  70. package/agents/patterns/previews/empty-state/all-done.html +1 -1
  71. package/agents/patterns/previews/empty-state/all-done.light.webp +0 -0
  72. package/agents/patterns/previews/empty-state/clear-filters.dark.webp +0 -0
  73. package/agents/patterns/previews/empty-state/clear-filters.html +2 -2
  74. package/agents/patterns/previews/empty-state/clear-filters.light.webp +0 -0
  75. package/agents/patterns/previews/empty-state/filled-by-others.dark.webp +0 -0
  76. package/agents/patterns/previews/empty-state/filled-by-others.html +1 -1
  77. package/agents/patterns/previews/empty-state/filled-by-others.light.webp +0 -0
  78. package/agents/patterns/previews/empty-state/not-found.dark.webp +0 -0
  79. package/agents/patterns/previews/empty-state/not-found.html +2 -2
  80. package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
  81. package/agents/patterns/previews/empty-state/one-line.dark.webp +0 -0
  82. package/agents/patterns/previews/empty-state/one-line.html +1 -1
  83. package/agents/patterns/previews/error-recovery/action-another-way.dark.webp +0 -0
  84. package/agents/patterns/previews/error-recovery/action-another-way.html +3 -3
  85. package/agents/patterns/previews/error-recovery/action-another-way.light.webp +0 -0
  86. package/agents/patterns/previews/error-recovery/changed-meanwhile.dark.webp +0 -0
  87. package/agents/patterns/previews/error-recovery/changed-meanwhile.html +4 -4
  88. package/agents/patterns/previews/error-recovery/changed-meanwhile.light.webp +0 -0
  89. package/agents/patterns/previews/error-recovery/check-or-repeat.dark.webp +0 -0
  90. package/agents/patterns/previews/error-recovery/check-or-repeat.html +4 -4
  91. package/agents/patterns/previews/error-recovery/check-or-repeat.light.webp +0 -0
  92. package/agents/patterns/previews/error-recovery/content-another-way.dark.webp +0 -0
  93. package/agents/patterns/previews/error-recovery/content-another-way.html +1 -1
  94. package/agents/patterns/previews/error-recovery/content-another-way.light.webp +0 -0
  95. package/agents/patterns/previews/error-recovery/partial.dark.webp +0 -0
  96. package/agents/patterns/previews/error-recovery/partial.html +2 -2
  97. package/agents/patterns/previews/error-recovery/partial.light.webp +0 -0
  98. package/agents/patterns/previews/error-recovery/retry-action.dark.webp +0 -0
  99. package/agents/patterns/previews/error-recovery/retry-action.html +4 -4
  100. package/agents/patterns/previews/error-recovery/retry-action.light.webp +0 -0
  101. package/agents/patterns/previews/error-recovery/retry-content.dark.webp +0 -0
  102. package/agents/patterns/previews/error-recovery/retry-content.html +2 -2
  103. package/agents/patterns/previews/error-recovery/sign-in-again.dark.webp +0 -0
  104. package/agents/patterns/previews/error-recovery/sign-in-again.html +4 -4
  105. package/agents/patterns/previews/error-recovery/sign-in-again.light.webp +0 -0
  106. package/agents/patterns/previews/item-list/documents-of-a-request.dark.webp +0 -0
  107. package/agents/patterns/previews/item-list/documents-of-a-request.html +1 -1
  108. package/agents/patterns/previews/item-list/documents-of-a-request.light.webp +0 -0
  109. package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
  110. package/agents/patterns/previews/item-list/queue-of-a-desk.light.webp +0 -0
  111. package/agents/patterns/previews/item-list/requests-of-an-office.dark.webp +0 -0
  112. package/agents/patterns/previews/item-list/requests-of-an-office.light.webp +0 -0
  113. package/agents/patterns/previews/item-list/requests-to-assign.dark.webp +0 -0
  114. package/agents/patterns/previews/item-list/requests-to-assign.light.webp +0 -0
  115. package/agents/patterns/previews/labels-and-values/data-of-a-contact.dark.webp +0 -0
  116. package/agents/patterns/previews/labels-and-values/data-of-a-contact.html +1 -1
  117. package/agents/patterns/previews/labels-and-values/payment-before-paying.dark.webp +0 -0
  118. package/agents/patterns/previews/labels-and-values/payment-before-paying.html +2 -2
  119. package/agents/patterns/previews/labels-and-values/payment-before-paying.light.webp +0 -0
  120. package/agents/patterns/previews/labels-and-values/what-is-sent.dark.webp +0 -0
  121. package/agents/patterns/previews/labels-and-values/what-is-sent.html +4 -4
  122. package/agents/patterns/previews/labels-and-values/what-is-sent.light.webp +0 -0
  123. package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
  124. package/agents/patterns/previews/list-with-filters/act-on-many.html +8 -8
  125. package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
  126. package/agents/patterns/previews/list-with-filters/find-and-open.dark.webp +0 -0
  127. package/agents/patterns/previews/list-with-filters/find-and-open.html +4 -4
  128. package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
  129. package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
  130. package/agents/patterns/previews/list-with-filters/show-new-items.html +7 -7
  131. package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
  132. package/agents/patterns/previews/loading/await-and-say.dark.webp +0 -0
  133. package/agents/patterns/previews/loading/await-and-say.html +2 -2
  134. package/agents/patterns/previews/loading/await-and-say.light.webp +0 -0
  135. package/agents/patterns/previews/loading/await-the-control.dark.webp +0 -0
  136. package/agents/patterns/previews/loading/await-the-control.html +3 -3
  137. package/agents/patterns/previews/loading/await-the-control.light.webp +0 -0
  138. package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
  139. package/agents/patterns/previews/loading/first-load.html +1 -1
  140. package/agents/patterns/previews/loading/first-load.light.webp +0 -0
  141. package/agents/patterns/previews/loading/keep-while-reloading.dark.webp +0 -0
  142. package/agents/patterns/previews/loading/keep-while-reloading.html +2 -2
  143. package/agents/patterns/previews/loading/keep-while-reloading.light.webp +0 -0
  144. package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
  145. package/agents/patterns/previews/loading/long-load-measured.html +1 -1
  146. package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
  147. package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
  148. package/agents/patterns/previews/loading/long-load.html +1 -1
  149. package/agents/patterns/previews/loading/long-load.light.webp +0 -0
  150. package/agents/patterns/previews/loading/progress-in-place.dark.webp +0 -0
  151. package/agents/patterns/previews/loading/progress-in-place.html +2 -2
  152. package/agents/patterns/previews/loading/progress-in-place.light.webp +0 -0
  153. package/agents/patterns/previews/loading/run-in-background.dark.webp +0 -0
  154. package/agents/patterns/previews/loading/run-in-background.html +2 -2
  155. package/agents/patterns/previews/loading/run-in-background.light.webp +0 -0
  156. package/agents/patterns/previews/message-placement/action-done-elsewhere.dark.webp +0 -0
  157. package/agents/patterns/previews/message-placement/action-done-elsewhere.html +2 -2
  158. package/agents/patterns/previews/message-placement/action-done-elsewhere.light.webp +0 -0
  159. package/agents/patterns/previews/message-placement/action-done-in-page.dark.webp +0 -0
  160. package/agents/patterns/previews/message-placement/action-done-in-page.html +3 -3
  161. package/agents/patterns/previews/message-placement/action-done-in-page.light.webp +0 -0
  162. package/agents/patterns/previews/message-placement/action-done-in-part.dark.webp +0 -0
  163. package/agents/patterns/previews/message-placement/action-done-in-part.html +4 -4
  164. package/agents/patterns/previews/message-placement/action-done-in-part.light.webp +0 -0
  165. package/agents/patterns/previews/message-placement/action-failed-elsewhere.dark.webp +0 -0
  166. package/agents/patterns/previews/message-placement/action-failed-elsewhere.html +3 -3
  167. package/agents/patterns/previews/message-placement/action-failed-elsewhere.light.webp +0 -0
  168. package/agents/patterns/previews/message-placement/action-failed-in-place.dark.webp +0 -0
  169. package/agents/patterns/previews/message-placement/action-failed-in-place.html +2 -2
  170. package/agents/patterns/previews/message-placement/action-failed-in-place.light.webp +0 -0
  171. package/agents/patterns/previews/message-placement/action-later.dark.webp +0 -0
  172. package/agents/patterns/previews/message-placement/action-later.html +2 -2
  173. package/agents/patterns/previews/message-placement/action-later.light.webp +0 -0
  174. package/agents/patterns/previews/message-placement/action-partial-elsewhere.dark.webp +0 -0
  175. package/agents/patterns/previews/message-placement/action-partial-elsewhere.html +3 -3
  176. package/agents/patterns/previews/message-placement/action-partial-elsewhere.light.webp +0 -0
  177. package/agents/patterns/previews/message-placement/action-partial-in-place.dark.webp +0 -0
  178. package/agents/patterns/previews/message-placement/action-partial-in-place.html +2 -2
  179. package/agents/patterns/previews/message-placement/action-partial-in-place.light.webp +0 -0
  180. package/agents/patterns/previews/message-placement/action-taken.dark.webp +0 -0
  181. package/agents/patterns/previews/message-placement/action-taken.html +1 -1
  182. package/agents/patterns/previews/message-placement/action-taken.light.webp +0 -0
  183. package/agents/patterns/previews/message-placement/app-deadline.dark.webp +0 -0
  184. package/agents/patterns/previews/message-placement/app-deadline.html +1 -1
  185. package/agents/patterns/previews/message-placement/app-failed.dark.webp +0 -0
  186. package/agents/patterns/previews/message-placement/app-failed.html +4 -4
  187. package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
  188. package/agents/patterns/previews/message-placement/app-info.dark.webp +0 -0
  189. package/agents/patterns/previews/message-placement/app-info.html +1 -1
  190. package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
  191. package/agents/patterns/previews/message-placement/decision.html +3 -3
  192. package/agents/patterns/previews/message-placement/decision.light.webp +0 -0
  193. package/agents/patterns/previews/message-placement/field-error.dark.webp +0 -0
  194. package/agents/patterns/previews/message-placement/field-error.html +1 -1
  195. package/agents/patterns/previews/message-placement/field-error.light.webp +0 -0
  196. package/agents/patterns/previews/message-placement/field-hint.dark.webp +0 -0
  197. package/agents/patterns/previews/message-placement/field-hint.light.webp +0 -0
  198. package/agents/patterns/previews/message-placement/field-valid.dark.webp +0 -0
  199. package/agents/patterns/previews/message-placement/field-valid.html +3 -3
  200. package/agents/patterns/previews/message-placement/region-failed.dark.webp +0 -0
  201. package/agents/patterns/previews/message-placement/region-failed.html +3 -3
  202. package/agents/patterns/previews/message-placement/region-info.dark.webp +0 -0
  203. package/agents/patterns/previews/message-placement/region-info.html +2 -2
  204. package/agents/patterns/previews/message-placement/region-info.light.webp +0 -0
  205. package/agents/patterns/previews/page-header/contact-being-edited.dark.webp +0 -0
  206. package/agents/patterns/previews/page-header/contact-being-edited.html +1 -1
  207. package/agents/patterns/previews/page-header/contact-being-edited.light.webp +0 -0
  208. package/agents/patterns/previews/page-header/members-of-a-group.dark.webp +0 -0
  209. package/agents/patterns/previews/page-header/members-of-a-group.html +1 -1
  210. package/agents/patterns/previews/page-header/members-of-a-group.light.webp +0 -0
  211. package/agents/patterns/previews/page-header/own-profile.dark.webp +0 -0
  212. package/agents/patterns/previews/page-header/own-profile.html +1 -1
  213. package/agents/patterns/previews/page-header/own-profile.light.webp +0 -0
  214. package/agents/patterns/previews/page-header/request-from-the-list.dark.webp +0 -0
  215. package/agents/patterns/previews/page-header/request-from-the-list.html +1 -1
  216. package/agents/patterns/previews/page-header/request-from-the-list.light.webp +0 -0
  217. package/agents/patterns/previews/page-header/requests-of-an-office.dark.webp +0 -0
  218. package/agents/patterns/previews/page-header/requests-of-an-office.html +1 -1
  219. package/agents/patterns/previews/page-header/requests-of-an-office.light.webp +0 -0
  220. package/agents/patterns/previews/record-detail/ask-for-words.dark.webp +0 -0
  221. package/agents/patterns/previews/record-detail/ask-for-words.html +3 -3
  222. package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
  223. package/agents/patterns/previews/record-detail/edit-data.dark.webp +0 -0
  224. package/agents/patterns/previews/record-detail/edit-data.html +8 -8
  225. package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
  226. package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
  227. package/agents/patterns/previews/record-detail/read-the-data.html +3 -3
  228. package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
  229. package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
  230. package/agents/patterns/previews/record-detail/record-changed.html +8 -8
  231. package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
  232. package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
  233. package/agents/patterns/previews/record-detail/run-at-once.html +7 -7
  234. package/agents/patterns/previews/record-detail/run-at-once.light.webp +0 -0
  235. package/agents/patterns/previews/record-detail/work-on-it.dark.webp +0 -0
  236. package/agents/patterns/previews/record-detail/work-on-it.html +2 -2
  237. package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
  238. package/agents/patterns/previews/rhythm/between-containers.dark.webp +0 -0
  239. package/agents/patterns/previews/rhythm/between-containers.light.webp +0 -0
  240. package/agents/patterns/previews/rhythm/between-fields.dark.webp +0 -0
  241. package/agents/patterns/previews/rhythm/between-fields.light.webp +0 -0
  242. package/agents/patterns/previews/rhythm/between-groups.dark.webp +0 -0
  243. package/agents/patterns/previews/rhythm/between-groups.light.webp +0 -0
  244. package/agents/patterns/previews/rhythm/between-sections.dark.webp +0 -0
  245. package/agents/patterns/previews/rhythm/between-sections.light.webp +0 -0
  246. package/agents/patterns/previews/rhythm/content-actions.dark.webp +0 -0
  247. package/agents/patterns/previews/rhythm/content-actions.light.webp +0 -0
  248. package/agents/patterns/previews/rhythm/inline.dark.webp +0 -0
  249. package/agents/patterns/previews/rhythm/inline.light.webp +0 -0
  250. package/agents/patterns/previews/rhythm/inset.dark.webp +0 -0
  251. package/agents/patterns/previews/rhythm/inset.light.webp +0 -0
  252. package/agents/patterns/previews/rhythm/label-control.dark.webp +0 -0
  253. package/agents/patterns/previews/rhythm/title-content.dark.webp +0 -0
  254. package/agents/patterns/previews/rhythm/title-content.light.webp +0 -0
  255. package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
  256. package/agents/patterns/previews/surfaces/band.light.webp +0 -0
  257. package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
  258. package/agents/patterns/previews/surfaces/canvas.light.webp +0 -0
  259. package/agents/patterns/previews/surfaces/card.dark.webp +0 -0
  260. package/agents/patterns/previews/surfaces/card.light.webp +0 -0
  261. package/agents/patterns/previews/surfaces/dialog.dark.webp +0 -0
  262. package/agents/patterns/previews/surfaces/dialog.light.webp +0 -0
  263. package/agents/patterns/previews/surfaces/edit-actions.dark.webp +0 -0
  264. package/agents/patterns/previews/surfaces/edit-actions.light.webp +0 -0
  265. package/agents/patterns/previews/surfaces/intro-band.dark.webp +0 -0
  266. package/agents/patterns/previews/surfaces/intro-band.light.webp +0 -0
  267. package/agents/patterns/previews/surfaces/section.dark.webp +0 -0
  268. package/agents/patterns/previews/surfaces/section.light.webp +0 -0
  269. package/agents/patterns/previews/titles/dialog.dark.webp +0 -0
  270. package/agents/patterns/previews/titles/dialog.light.webp +0 -0
  271. package/agents/patterns/previews/titles/group.dark.webp +0 -0
  272. package/agents/patterns/previews/titles/group.light.webp +0 -0
  273. package/agents/patterns/previews/titles/page.dark.webp +0 -0
  274. package/agents/patterns/previews/titles/page.light.webp +0 -0
  275. package/agents/patterns/previews/titles/part.dark.webp +0 -0
  276. package/agents/patterns/previews/titles/part.light.webp +0 -0
  277. package/agents/patterns/previews/titles/section.dark.webp +0 -0
  278. package/agents/patterns/previews/titles/section.light.webp +0 -0
  279. package/agents/patterns/previews/widths/dialog.dark.webp +0 -0
  280. package/agents/patterns/previews/widths/dialog.light.webp +0 -0
  281. package/agents/patterns/previews/widths/field.dark.webp +0 -0
  282. package/agents/patterns/previews/widths/field.light.webp +0 -0
  283. package/agents/patterns/previews/widths/form.dark.webp +0 -0
  284. package/agents/patterns/previews/widths/form.light.webp +0 -0
  285. package/agents/patterns/previews/widths/page.dark.webp +0 -0
  286. package/agents/patterns/previews/widths/page.light.webp +0 -0
  287. package/agents/patterns/previews/widths/reading.dark.webp +0 -0
  288. package/agents/patterns/previews/widths/reading.light.webp +0 -0
  289. package/agents/patterns/record-detail.md +179 -15
  290. package/agents/reporting.md +5 -1
  291. package/dist/cjs/{floating-controller-B21tqid0.js → floating-controller-CelMdjyj.js} +1 -1
  292. package/dist/cjs/{index-B99V_UhC.js → index-CGlQW3pX.js} +16 -6
  293. package/dist/cjs/{index-CFEj7WVH.js → index-CWkxqm6T.js} +1 -1
  294. package/dist/cjs/index.cjs.js +2 -2
  295. package/dist/cjs/loader.cjs.js +2 -2
  296. package/dist/cjs/{locale-6jikg4jE.js → locale-q_KROc3I.js} +10 -2
  297. package/dist/cjs/magma-components.cjs.js +3 -3
  298. package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
  299. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +2 -2
  300. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  301. package/dist/cjs/mds-accordion.cjs.entry.js +3 -3
  302. package/dist/cjs/mds-author.cjs.entry.js +1 -1
  303. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  304. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  305. package/dist/cjs/mds-avatar.cjs.entry.js +3 -3
  306. package/dist/cjs/mds-badge.cjs.entry.js +3 -3
  307. package/dist/cjs/mds-banner_3.cjs.entry.js +5 -5
  308. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
  309. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  310. package/dist/cjs/mds-book.cjs.entry.js +8 -8
  311. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
  312. package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
  313. package/dist/cjs/mds-button-dropdown.cjs.entry.js +27 -9
  314. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  315. package/dist/cjs/mds-button_3.cjs.entry.js +34 -13
  316. package/dist/cjs/mds-calendar_2.cjs.entry.js +4 -4
  317. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  318. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  319. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  320. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  321. package/dist/cjs/mds-card.cjs.entry.js +2 -2
  322. package/dist/cjs/mds-details.cjs.entry.js +3 -3
  323. package/dist/cjs/mds-dropdown.cjs.entry.js +3 -3
  324. package/dist/cjs/mds-emoji.cjs.entry.js +3 -3
  325. package/dist/cjs/mds-entity.cjs.entry.js +3 -3
  326. package/dist/cjs/mds-file-preview.cjs.entry.js +4 -4
  327. package/dist/cjs/mds-file.cjs.entry.js +4 -4
  328. package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
  329. package/dist/cjs/mds-filter.cjs.entry.js +4 -4
  330. package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
  331. package/dist/cjs/mds-header.cjs.entry.js +2 -2
  332. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +3 -3
  333. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  334. package/dist/cjs/mds-img.cjs.entry.js +13 -8
  335. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
  336. package/dist/cjs/mds-input-date-range.cjs.entry.js +8 -8
  337. package/dist/cjs/mds-input-date.cjs.entry.js +5 -5
  338. package/dist/cjs/mds-input-field.cjs.entry.js +4 -3
  339. package/dist/cjs/mds-input-otp.cjs.entry.js +4 -4
  340. package/dist/cjs/mds-input-range-value.cjs.entry.js +2 -2
  341. package/dist/cjs/mds-input-range.cjs.entry.js +6 -6
  342. package/dist/cjs/mds-input-select.cjs.entry.js +7 -7
  343. package/dist/cjs/mds-input-switch_2.cjs.entry.js +6 -6
  344. package/dist/cjs/mds-input-tip_2.cjs.entry.js +6 -6
  345. package/dist/cjs/mds-input-upload.cjs.entry.js +9 -9
  346. package/dist/cjs/mds-input.cjs.entry.js +9 -9
  347. package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
  348. package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
  349. package/dist/cjs/mds-kpi-item.cjs.entry.js +4 -4
  350. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  351. package/dist/cjs/mds-label.cjs.entry.js +4 -4
  352. package/dist/cjs/mds-link.cjs.entry.js +32 -11
  353. package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
  354. package/dist/cjs/mds-list.cjs.entry.js +2 -2
  355. package/dist/cjs/mds-mention.cjs.entry.js +4 -4
  356. package/dist/cjs/mds-modal.cjs.entry.js +5 -5
  357. package/dist/cjs/mds-note.cjs.entry.js +5 -5
  358. package/dist/cjs/mds-notification.cjs.entry.js +3 -3
  359. package/dist/cjs/mds-paginator-item.cjs.entry.js +4 -4
  360. package/dist/cjs/mds-paginator.cjs.entry.js +4 -4
  361. package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -5
  362. package/dist/cjs/mds-pref-animation.cjs.entry.js +4 -4
  363. package/dist/cjs/mds-pref-consumption.cjs.entry.js +4 -4
  364. package/dist/cjs/mds-pref-contrast.cjs.entry.js +4 -4
  365. package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
  366. package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
  367. package/dist/cjs/mds-pref-mode.cjs.entry.js +5 -5
  368. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +3 -3
  369. package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
  370. package/dist/cjs/mds-pref.cjs.entry.js +4 -4
  371. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
  372. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  373. package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
  374. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  375. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
  376. package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -4
  377. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  378. package/dist/cjs/mds-progress_2.cjs.entry.js +6 -6
  379. package/dist/cjs/mds-push-notification-item.cjs.entry.js +6 -6
  380. package/dist/cjs/mds-push-notification.cjs.entry.js +5 -5
  381. package/dist/cjs/mds-quote.cjs.entry.js +3 -3
  382. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
  383. package/dist/cjs/mds-radial-menu.cjs.entry.js +5 -5
  384. package/dist/cjs/mds-separator.cjs.entry.js +4 -4
  385. package/dist/cjs/mds-status-bar.cjs.entry.js +3 -3
  386. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +17 -7
  387. package/dist/cjs/mds-stepper-bar.cjs.entry.js +9 -7
  388. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
  389. package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
  390. package/dist/cjs/mds-tab_2.cjs.entry.js +5 -5
  391. package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
  392. package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
  393. package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
  394. package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
  395. package/dist/cjs/mds-table-row.cjs.entry.js +5 -5
  396. package/dist/cjs/mds-table.cjs.entry.js +5 -5
  397. package/dist/cjs/mds-text.cjs.entry.js +4 -4
  398. package/dist/cjs/mds-toast-region.cjs.entry.js +2 -2
  399. package/dist/cjs/mds-toast.cjs.entry.js +4 -4
  400. package/dist/cjs/mds-tooltip.cjs.entry.js +16 -9
  401. package/dist/cjs/mds-tree-item.cjs.entry.js +4 -4
  402. package/dist/cjs/mds-tree.cjs.entry.js +3 -3
  403. package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
  404. package/dist/cjs/mds-usage.cjs.entry.js +4 -4
  405. package/dist/cjs/mds-video-wall.cjs.entry.js +4 -4
  406. package/dist/cjs/mds-zero.cjs.entry.js +4 -4
  407. package/dist/cjs/{navigation-Dxea9mKE.js → navigation-B2UAUx-z.js} +14 -0
  408. package/dist/cjs/{preference-DTUJPGHS.js → preference-C4QmB-PB.js} +1 -1
  409. package/dist/collection/collection-manifest.json +1 -1
  410. package/dist/collection/common/locale.js +9 -1
  411. package/dist/collection/common/navigation.js +13 -0
  412. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  413. package/dist/collection/components/mds-accordion/documentation.json +2 -2
  414. package/dist/collection/components/mds-accordion/mds-accordion.css +1 -1
  415. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  416. package/dist/collection/components/mds-accordion-item/documentation.json +2 -2
  417. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +3 -3
  418. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  419. package/dist/collection/components/mds-accordion-timer/documentation.json +2 -2
  420. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  421. package/dist/collection/components/mds-accordion-timer-item/documentation.json +2 -2
  422. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  423. package/dist/collection/components/mds-author/documentation.json +2 -2
  424. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  425. package/dist/collection/components/mds-avatar/documentation.json +2 -2
  426. package/dist/collection/components/mds-avatar/mds-avatar.css +44 -44
  427. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  428. package/dist/collection/components/mds-avatar-stack/documentation.json +2 -2
  429. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  430. package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
  431. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  432. package/dist/collection/components/mds-badge/documentation.json +2 -2
  433. package/dist/collection/components/mds-badge/mds-badge.css +53 -53
  434. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  435. package/dist/collection/components/mds-banner/documentation.json +2 -2
  436. package/dist/collection/components/mds-banner/mds-banner.css +13 -13
  437. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  438. package/dist/collection/components/mds-benchmark-bar/documentation.json +2 -2
  439. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  440. package/dist/collection/components/mds-bibliography/documentation.json +2 -2
  441. package/dist/collection/components/mds-book/AGENTS.md +1 -1
  442. package/dist/collection/components/mds-book/documentation.json +2 -2
  443. package/dist/collection/components/mds-book/mds-book.css +2 -2
  444. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  445. package/dist/collection/components/mds-breadcrumb/documentation.json +2 -2
  446. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  447. package/dist/collection/components/mds-breadcrumb-item/documentation.json +2 -2
  448. package/dist/collection/components/mds-button/AGENTS.md +3 -1
  449. package/dist/collection/components/mds-button/documentation.json +33 -4
  450. package/dist/collection/components/mds-button/examples.md +15 -1
  451. package/dist/collection/components/mds-button/mds-button.css +16 -16
  452. package/dist/collection/components/mds-button/mds-button.js +48 -8
  453. package/dist/collection/components/mds-button-dropdown/AGENTS.md +5 -4
  454. package/dist/collection/components/mds-button-dropdown/documentation.json +31 -5
  455. package/dist/collection/components/mds-button-dropdown/examples.md +12 -1
  456. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +6 -6
  457. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +30 -1
  458. package/dist/collection/components/mds-button-dropdown/mistakes.md +16 -0
  459. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  460. package/dist/collection/components/mds-button-group/documentation.json +2 -2
  461. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  462. package/dist/collection/components/mds-calendar/documentation.json +2 -2
  463. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  464. package/dist/collection/components/mds-calendar-cell/documentation.json +2 -2
  465. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +12 -12
  466. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  467. package/dist/collection/components/mds-card/documentation.json +2 -2
  468. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  469. package/dist/collection/components/mds-card-content/documentation.json +2 -2
  470. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  471. package/dist/collection/components/mds-card-footer/documentation.json +2 -2
  472. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  473. package/dist/collection/components/mds-card-header/documentation.json +2 -2
  474. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  475. package/dist/collection/components/mds-card-media/documentation.json +2 -2
  476. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  477. package/dist/collection/components/mds-chip/documentation.json +2 -2
  478. package/dist/collection/components/mds-chip/mds-chip.css +103 -103
  479. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  480. package/dist/collection/components/mds-details/documentation.json +2 -2
  481. package/dist/collection/components/mds-details/mds-details.css +4 -4
  482. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  483. package/dist/collection/components/mds-dropdown/documentation.json +2 -2
  484. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  485. package/dist/collection/components/mds-emoji/documentation.json +2 -2
  486. package/dist/collection/components/mds-emoji/mds-emoji.css +5 -5
  487. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  488. package/dist/collection/components/mds-entity/documentation.json +2 -2
  489. package/dist/collection/components/mds-entity/mds-entity.css +9 -9
  490. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  491. package/dist/collection/components/mds-file/documentation.json +2 -2
  492. package/dist/collection/components/mds-file/mds-file.css +24 -24
  493. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  494. package/dist/collection/components/mds-file-preview/documentation.json +2 -2
  495. package/dist/collection/components/mds-file-preview/mds-file-preview.css +118 -118
  496. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  497. package/dist/collection/components/mds-filter/documentation.json +2 -2
  498. package/dist/collection/components/mds-filter/mds-filter.css +4 -4
  499. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  500. package/dist/collection/components/mds-filter-item/documentation.json +2 -2
  501. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  502. package/dist/collection/components/mds-header/documentation.json +2 -2
  503. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  504. package/dist/collection/components/mds-header-bar/documentation.json +2 -2
  505. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  506. package/dist/collection/components/mds-help/documentation.json +2 -2
  507. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  508. package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
  509. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  510. package/dist/collection/components/mds-hr/documentation.json +2 -2
  511. package/dist/collection/components/mds-icon/AGENTS.md +2 -2
  512. package/dist/collection/components/mds-icon/documentation.json +6 -2
  513. package/dist/collection/components/mds-img/AGENTS.md +6 -4
  514. package/dist/collection/components/mds-img/documentation.json +48 -6
  515. package/dist/collection/components/mds-img/examples.md +15 -1
  516. package/dist/collection/components/mds-img/mds-img.css +6 -6
  517. package/dist/collection/components/mds-img/mds-img.js +37 -6
  518. package/dist/collection/components/mds-img/meta/storybook.js +7 -0
  519. package/dist/collection/components/mds-img/meta/types.js +2 -1
  520. package/dist/collection/components/mds-input/AGENTS.md +1 -1
  521. package/dist/collection/components/mds-input/documentation.json +2 -2
  522. package/dist/collection/components/mds-input/mds-input.css +12 -12
  523. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  524. package/dist/collection/components/mds-input-date/documentation.json +2 -2
  525. package/dist/collection/components/mds-input-date/mds-input-date.css +9 -9
  526. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  527. package/dist/collection/components/mds-input-date-range/documentation.json +2 -2
  528. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +9 -9
  529. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  530. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +2 -2
  531. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +6 -6
  532. package/dist/collection/components/mds-input-field/AGENTS.md +4 -2
  533. package/dist/collection/components/mds-input-field/documentation.json +33 -5
  534. package/dist/collection/components/mds-input-field/examples.md +18 -0
  535. package/dist/collection/components/mds-input-field/mds-input-field.css +39 -2
  536. package/dist/collection/components/mds-input-field/mds-input-field.js +21 -1
  537. package/dist/collection/components/mds-input-field/mistakes.md +21 -0
  538. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  539. package/dist/collection/components/mds-input-otp/documentation.json +2 -2
  540. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  541. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  542. package/dist/collection/components/mds-input-range/documentation.json +2 -2
  543. package/dist/collection/components/mds-input-range/mds-input-range.css +3 -3
  544. package/dist/collection/components/mds-input-range/mds-input-range.js +2 -2
  545. package/dist/collection/components/mds-input-range-value/AGENTS.md +1 -1
  546. package/dist/collection/components/mds-input-range-value/documentation.json +2 -2
  547. package/dist/collection/components/mds-input-range-value/mds-input-range-value.js +1 -1
  548. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  549. package/dist/collection/components/mds-input-select/documentation.json +2 -2
  550. package/dist/collection/components/mds-input-select/mds-input-select.css +7 -7
  551. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  552. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  553. package/dist/collection/components/mds-input-switch/documentation.json +2 -2
  554. package/dist/collection/components/mds-input-switch/mds-input-switch.css +20 -18
  555. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  556. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  557. package/dist/collection/components/mds-input-tip/documentation.json +2 -2
  558. package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
  559. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  560. package/dist/collection/components/mds-input-tip-item/documentation.json +2 -2
  561. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  562. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  563. package/dist/collection/components/mds-input-upload/documentation.json +2 -2
  564. package/dist/collection/components/mds-input-upload/mds-input-upload.css +1 -1
  565. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  566. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  567. package/dist/collection/components/mds-keyboard/documentation.json +2 -2
  568. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  569. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  570. package/dist/collection/components/mds-keyboard-key/documentation.json +2 -2
  571. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  572. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  573. package/dist/collection/components/mds-kpi/documentation.json +2 -2
  574. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  575. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  576. package/dist/collection/components/mds-kpi-item/documentation.json +2 -2
  577. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +4 -4
  578. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  579. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  580. package/dist/collection/components/mds-label/documentation.json +2 -2
  581. package/dist/collection/components/mds-label/mds-label.css +158 -158
  582. package/dist/collection/components/mds-link/AGENTS.md +3 -1
  583. package/dist/collection/components/mds-link/documentation.json +33 -4
  584. package/dist/collection/components/mds-link/examples.md +12 -1
  585. package/dist/collection/components/mds-link/mds-link.css +1 -1
  586. package/dist/collection/components/mds-link/mds-link.js +47 -7
  587. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  588. package/dist/collection/components/mds-list/documentation.json +2 -2
  589. package/dist/collection/components/mds-list/mds-list.js +1 -1
  590. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  591. package/dist/collection/components/mds-list-item/documentation.json +2 -2
  592. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  593. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  594. package/dist/collection/components/mds-mention/documentation.json +2 -2
  595. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  596. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  597. package/dist/collection/components/mds-modal/documentation.json +2 -2
  598. package/dist/collection/components/mds-modal/mds-modal.js +2 -2
  599. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  600. package/dist/collection/components/mds-note/documentation.json +2 -2
  601. package/dist/collection/components/mds-note/mds-note.css +136 -136
  602. package/dist/collection/components/mds-note/mds-note.js +1 -1
  603. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  604. package/dist/collection/components/mds-notification/documentation.json +2 -2
  605. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  606. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  607. package/dist/collection/components/mds-paginator/documentation.json +2 -2
  608. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  609. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  610. package/dist/collection/components/mds-paginator-item/documentation.json +2 -2
  611. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +1 -1
  612. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  613. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  614. package/dist/collection/components/mds-policy-ai/documentation.json +2 -2
  615. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +6 -6
  616. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  617. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  618. package/dist/collection/components/mds-pref/documentation.json +2 -2
  619. package/dist/collection/components/mds-pref/mds-pref.js +1 -1
  620. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  621. package/dist/collection/components/mds-pref-animation/documentation.json +2 -2
  622. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  623. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  624. package/dist/collection/components/mds-pref-consumption/documentation.json +2 -2
  625. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  626. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  627. package/dist/collection/components/mds-pref-contrast/documentation.json +2 -2
  628. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  629. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  630. package/dist/collection/components/mds-pref-language/documentation.json +2 -2
  631. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  632. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  633. package/dist/collection/components/mds-pref-language-item/documentation.json +2 -2
  634. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  635. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  636. package/dist/collection/components/mds-pref-mode/documentation.json +2 -2
  637. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +6 -6
  638. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
  639. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  640. package/dist/collection/components/mds-pref-theme/documentation.json +2 -2
  641. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
  642. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  643. package/dist/collection/components/mds-pref-theme-item/documentation.json +2 -2
  644. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +2 -2
  645. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  646. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  647. package/dist/collection/components/mds-price-table/documentation.json +2 -2
  648. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  649. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  650. package/dist/collection/components/mds-price-table-features/documentation.json +2 -2
  651. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +1 -1
  652. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  653. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  654. package/dist/collection/components/mds-price-table-features-cell/documentation.json +2 -2
  655. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +10 -10
  656. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  657. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  658. package/dist/collection/components/mds-price-table-features-row/documentation.json +2 -2
  659. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  660. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  661. package/dist/collection/components/mds-price-table-header/documentation.json +2 -2
  662. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  663. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  664. package/dist/collection/components/mds-price-table-list/documentation.json +2 -2
  665. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +3 -3
  666. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  667. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  668. package/dist/collection/components/mds-price-table-list-item/documentation.json +2 -2
  669. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  670. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  671. package/dist/collection/components/mds-progress/documentation.json +2 -2
  672. package/dist/collection/components/mds-progress/mds-progress.css +13 -13
  673. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  674. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  675. package/dist/collection/components/mds-push-notification/documentation.json +2 -2
  676. package/dist/collection/components/mds-push-notification/mds-push-notification.css +2 -2
  677. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  678. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  679. package/dist/collection/components/mds-push-notification-item/documentation.json +2 -2
  680. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +38 -38
  681. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  682. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  683. package/dist/collection/components/mds-quote/documentation.json +2 -2
  684. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  685. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  686. package/dist/collection/components/mds-radial-menu/documentation.json +2 -2
  687. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  688. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  689. package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
  690. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  691. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  692. package/dist/collection/components/mds-radial-progress/documentation.json +2 -2
  693. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +5 -5
  694. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  695. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  696. package/dist/collection/components/mds-separator/documentation.json +2 -2
  697. package/dist/collection/components/mds-separator/mds-separator.css +2 -2
  698. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  699. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  700. package/dist/collection/components/mds-spinner/documentation.json +2 -2
  701. package/dist/collection/components/mds-spinner/mds-spinner.css +1 -1
  702. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  703. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  704. package/dist/collection/components/mds-status-bar/documentation.json +2 -2
  705. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  706. package/dist/collection/components/mds-stepper-bar/AGENTS.md +2 -2
  707. package/dist/collection/components/mds-stepper-bar/documentation.json +3 -3
  708. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +8 -6
  709. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +6 -4
  710. package/dist/collection/components/mds-stepper-bar-item/documentation.json +30 -4
  711. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +2 -2
  712. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +31 -2
  713. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  714. package/dist/collection/components/mds-tab/documentation.json +2 -2
  715. package/dist/collection/components/mds-tab/mds-tab.js +2 -2
  716. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  717. package/dist/collection/components/mds-tab-bar/documentation.json +2 -2
  718. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  719. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  720. package/dist/collection/components/mds-tab-bar-item/documentation.json +2 -2
  721. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +3 -3
  722. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  723. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  724. package/dist/collection/components/mds-tab-item/documentation.json +2 -2
  725. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  726. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  727. package/dist/collection/components/mds-table/documentation.json +2 -2
  728. package/dist/collection/components/mds-table/mds-table.css +7 -7
  729. package/dist/collection/components/mds-table/mds-table.js +1 -1
  730. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  731. package/dist/collection/components/mds-table-body/documentation.json +2 -2
  732. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  733. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  734. package/dist/collection/components/mds-table-cell/documentation.json +2 -2
  735. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  736. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  737. package/dist/collection/components/mds-table-footer/documentation.json +2 -2
  738. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  739. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  740. package/dist/collection/components/mds-table-header/documentation.json +2 -2
  741. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  742. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  743. package/dist/collection/components/mds-table-header-cell/documentation.json +2 -2
  744. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  745. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  746. package/dist/collection/components/mds-table-row/documentation.json +2 -2
  747. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  748. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  749. package/dist/collection/components/mds-text/documentation.json +2 -2
  750. package/dist/collection/components/mds-text/mds-text.css +5 -5
  751. package/dist/collection/components/mds-text/mds-text.js +1 -1
  752. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  753. package/dist/collection/components/mds-toast/documentation.json +2 -2
  754. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  755. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  756. package/dist/collection/components/mds-toast-region/documentation.json +2 -2
  757. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  758. package/dist/collection/components/mds-tooltip/AGENTS.md +2 -2
  759. package/dist/collection/components/mds-tooltip/documentation.json +4 -4
  760. package/dist/collection/components/mds-tooltip/examples.md +1 -1
  761. package/dist/collection/components/mds-tooltip/mds-tooltip.js +13 -6
  762. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  763. package/dist/collection/components/mds-tree/documentation.json +2 -2
  764. package/dist/collection/components/mds-tree/mds-tree.css +6 -6
  765. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  766. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  767. package/dist/collection/components/mds-tree-item/documentation.json +2 -2
  768. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  769. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  770. package/dist/collection/components/mds-url-view/documentation.json +2 -2
  771. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  772. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  773. package/dist/collection/components/mds-usage/documentation.json +2 -2
  774. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  775. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  776. package/dist/collection/components/mds-video-wall/documentation.json +2 -2
  777. package/dist/collection/components/mds-video-wall/mds-video-wall.css +2 -2
  778. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  779. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  780. package/dist/collection/components/mds-zero/documentation.json +2 -2
  781. package/dist/collection/components/mds-zero/mds-zero.css +1 -1
  782. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  783. package/dist/collection/fixtures/states.js +35 -0
  784. package/dist/components/index.js +1 -1
  785. package/dist/components/mds-accordion-item.js +1 -1
  786. package/dist/components/mds-accordion-timer-item.js +1 -1
  787. package/dist/components/mds-accordion-timer.js +1 -1
  788. package/dist/components/mds-accordion.js +1 -1
  789. package/dist/components/mds-author.js +1 -1
  790. package/dist/components/mds-avatar-stack-item.js +1 -1
  791. package/dist/components/mds-avatar-stack.js +1 -1
  792. package/dist/components/mds-avatar.js +1 -1
  793. package/dist/components/mds-badge.js +1 -1
  794. package/dist/components/mds-banner.js +1 -1
  795. package/dist/components/mds-benchmark-bar.js +1 -1
  796. package/dist/components/mds-bibliography.js +1 -1
  797. package/dist/components/mds-book.js +1 -1
  798. package/dist/components/mds-breadcrumb-item.js +1 -1
  799. package/dist/components/mds-breadcrumb.js +1 -1
  800. package/dist/components/mds-button-dropdown.js +1 -1
  801. package/dist/components/mds-button-group.js +1 -1
  802. package/dist/components/mds-button.js +1 -1
  803. package/dist/components/mds-calendar-cell.js +1 -1
  804. package/dist/components/mds-calendar.js +1 -1
  805. package/dist/components/mds-card-content.js +1 -1
  806. package/dist/components/mds-card-footer.js +1 -1
  807. package/dist/components/mds-card-header.js +1 -1
  808. package/dist/components/mds-card-media.js +1 -1
  809. package/dist/components/mds-card.js +1 -1
  810. package/dist/components/mds-chip.js +1 -1
  811. package/dist/components/mds-details.js +1 -1
  812. package/dist/components/mds-dropdown.js +1 -1
  813. package/dist/components/mds-emoji.js +3 -3
  814. package/dist/components/mds-entity.js +1 -1
  815. package/dist/components/mds-file-preview.js +1 -1
  816. package/dist/components/mds-file.js +1 -1
  817. package/dist/components/mds-filter-item.js +1 -1
  818. package/dist/components/mds-filter.js +1 -1
  819. package/dist/components/mds-header-bar.js +1 -1
  820. package/dist/components/mds-header.js +1 -1
  821. package/dist/components/mds-help.js +1 -1
  822. package/dist/components/mds-horizontal-scroll.js +1 -1
  823. package/dist/components/mds-hr.js +1 -1
  824. package/dist/components/mds-icon.js +1 -1
  825. package/dist/components/mds-img.js +1 -1
  826. package/dist/components/mds-input-date-range-preselection.js +1 -1
  827. package/dist/components/mds-input-date-range.js +1 -1
  828. package/dist/components/mds-input-date.js +1 -1
  829. package/dist/components/mds-input-field.js +1 -1
  830. package/dist/components/mds-input-otp.js +1 -1
  831. package/dist/components/mds-input-range-value.js +1 -1
  832. package/dist/components/mds-input-range.js +1 -1
  833. package/dist/components/mds-input-select.js +1 -1
  834. package/dist/components/mds-input-switch.js +1 -1
  835. package/dist/components/mds-input-tip-item.js +1 -1
  836. package/dist/components/mds-input-tip.js +1 -1
  837. package/dist/components/mds-input-upload.js +1 -1
  838. package/dist/components/mds-input.js +1 -1
  839. package/dist/components/mds-keyboard-key.js +1 -1
  840. package/dist/components/mds-keyboard.js +1 -1
  841. package/dist/components/mds-kpi-item.js +1 -1
  842. package/dist/components/mds-kpi.js +1 -1
  843. package/dist/components/mds-label.js +1 -1
  844. package/dist/components/mds-link.js +1 -1
  845. package/dist/components/mds-list-item.js +1 -1
  846. package/dist/components/mds-list.js +1 -1
  847. package/dist/components/mds-mention.js +1 -1
  848. package/dist/components/mds-modal.js +1 -1
  849. package/dist/components/mds-note.js +1 -1
  850. package/dist/components/mds-notification.js +1 -1
  851. package/dist/components/mds-paginator-item.js +1 -1
  852. package/dist/components/mds-paginator.js +1 -1
  853. package/dist/components/mds-policy-ai.js +1 -1
  854. package/dist/components/mds-pref-animation.js +1 -1
  855. package/dist/components/mds-pref-consumption.js +1 -1
  856. package/dist/components/mds-pref-contrast.js +1 -1
  857. package/dist/components/mds-pref-language-item.js +1 -1
  858. package/dist/components/mds-pref-language.js +1 -1
  859. package/dist/components/mds-pref-mode.js +1 -1
  860. package/dist/components/mds-pref-theme-item.js +1 -1
  861. package/dist/components/mds-pref-theme.js +1 -1
  862. package/dist/components/mds-pref.js +1 -1
  863. package/dist/components/mds-price-table-features-cell.js +1 -1
  864. package/dist/components/mds-price-table-features-row.js +1 -1
  865. package/dist/components/mds-price-table-features.js +1 -1
  866. package/dist/components/mds-price-table-header.js +1 -1
  867. package/dist/components/mds-price-table-list-item.js +1 -1
  868. package/dist/components/mds-price-table-list.js +1 -1
  869. package/dist/components/mds-price-table.js +1 -1
  870. package/dist/components/mds-progress.js +1 -1
  871. package/dist/components/mds-push-notification-item.js +1 -1
  872. package/dist/components/mds-push-notification.js +1 -1
  873. package/dist/components/mds-quote.js +1 -1
  874. package/dist/components/mds-radial-menu-item.js +1 -1
  875. package/dist/components/mds-radial-menu.js +1 -1
  876. package/dist/components/mds-radial-progress.js +1 -1
  877. package/dist/components/mds-separator.js +1 -1
  878. package/dist/components/mds-spinner.js +1 -1
  879. package/dist/components/mds-status-bar.js +1 -1
  880. package/dist/components/mds-stepper-bar-item.js +1 -1
  881. package/dist/components/mds-stepper-bar.js +1 -1
  882. package/dist/components/mds-tab-bar-item.js +1 -1
  883. package/dist/components/mds-tab-bar.js +1 -1
  884. package/dist/components/mds-tab-item.js +1 -1
  885. package/dist/components/mds-tab.js +1 -1
  886. package/dist/components/mds-table-body.js +1 -1
  887. package/dist/components/mds-table-cell.js +1 -1
  888. package/dist/components/mds-table-footer.js +1 -1
  889. package/dist/components/mds-table-header-cell.js +1 -1
  890. package/dist/components/mds-table-header.js +1 -1
  891. package/dist/components/mds-table-row.js +1 -1
  892. package/dist/components/mds-table.js +1 -1
  893. package/dist/components/mds-text.js +1 -1
  894. package/dist/components/mds-toast-region.js +1 -1
  895. package/dist/components/mds-toast.js +1 -1
  896. package/dist/components/mds-tooltip.js +1 -1
  897. package/dist/components/mds-tree-item.js +1 -1
  898. package/dist/components/mds-tree.js +1 -1
  899. package/dist/components/mds-url-view.js +1 -1
  900. package/dist/components/mds-usage.js +1 -1
  901. package/dist/components/mds-video-wall.js +1 -1
  902. package/dist/components/mds-zero.js +1 -1
  903. package/dist/{magma-components/p-kW8cjKIa.js → components/p-2RxibNiL.js} +1 -1
  904. package/dist/components/p-8D5tJYCb.js +1 -0
  905. package/dist/components/p-B0YEia-F.js +1 -0
  906. package/dist/components/{p-BmlDGlcB.js → p-B3t-yAT6.js} +2 -2
  907. package/dist/components/p-B410qrmd.js +1 -0
  908. package/dist/components/{p-G8GFHw3L.js → p-B7AEyQbN.js} +1 -1
  909. package/dist/components/{p-CSw6DbKp.js → p-B8rSg0wS.js} +1 -1
  910. package/dist/components/{p-DxNrlomi.js → p-BNDlJl3j.js} +1 -1
  911. package/dist/components/p-BPnc1LgR.js +1 -0
  912. package/dist/components/{p-AWCYh8Xe.js → p-BQJgPeCf.js} +1 -1
  913. package/dist/components/p-BWCuKjFs.js +1 -0
  914. package/dist/components/{p-BFZN4zJ9.js → p-BZ0wEKOS.js} +1 -1
  915. package/dist/components/p-BgdT5eTT.js +1 -0
  916. package/dist/components/p-Bi6fFi_w.js +1 -0
  917. package/dist/components/{p-CUT9aFzz.js → p-BiOKp8qm.js} +1 -1
  918. package/dist/components/p-BpgvTr8e.js +8 -0
  919. package/dist/components/{p-BG1fjwnd.js → p-BvJpPiuN.js} +1 -1
  920. package/dist/components/{p-D7C-gjL6.js → p-BwGJqBgv.js} +1 -1
  921. package/dist/components/p-C2bmqdQ1.js +1 -0
  922. package/dist/components/p-CSEkugVv.js +1 -0
  923. package/dist/components/{p-BNl6YWNN.js → p-CbHtKU6H.js} +1 -1
  924. package/dist/components/{p-oHBGZ2Av.js → p-CbyfhFKK.js} +1 -1
  925. package/dist/components/p-ChCkQpXr.js +3 -0
  926. package/dist/components/{p-BiJ4xa4V.js → p-CkFk04x6.js} +1 -1
  927. package/dist/components/{p-WFNxKo1V.js → p-Cu7JR-NZ.js} +1 -1
  928. package/dist/components/{p-Cjy1i94z.js → p-DP8t5EZu.js} +1 -1
  929. package/dist/components/{p-B-GgEAg7.js → p-DWvmuGIQ.js} +1 -1
  930. package/dist/components/p-DXksxnFe.js +1 -0
  931. package/dist/components/{p-C0m6B_kt.js → p-DnyQyLeI.js} +1 -1
  932. package/dist/components/{p-DvccsLwr.js → p-DumA_mZd.js} +1 -1
  933. package/dist/components/p-Pwyk_BKp.js +1 -0
  934. package/dist/components/{p-Cs8RIbsQ.js → p-Y1ObmZyL.js} +1 -1
  935. package/dist/components/{p-CDcB9Zdz.js → p-cIfE1RIC.js} +1 -1
  936. package/dist/components/p-hOV1Raf4.js +1 -0
  937. package/dist/components/{p-kS9VRIWa.js → p-r1P_e7WG.js} +1 -1
  938. package/dist/components/{p-aZlZ1XB9.js → p-tI3q9MMi.js} +1 -1
  939. package/dist/documentation.json +211 -22
  940. package/dist/esm/{floating-controller-DlFrvBTG.js → floating-controller-ECQfm808.js} +1 -1
  941. package/dist/esm/{index-CPibDZjX.js → index-BQhu9Pch.js} +16 -6
  942. package/dist/esm/{index-DWniH_Ge.js → index-CiyNF8so.js} +1 -1
  943. package/dist/esm/index.js +2 -2
  944. package/dist/esm/loader.js +3 -3
  945. package/dist/esm/{locale-B7Hw4niB.js → locale-Cm8DHVsu.js} +10 -2
  946. package/dist/esm/magma-components.js +4 -4
  947. package/dist/esm/mds-accordion-item.entry.js +3 -3
  948. package/dist/esm/mds-accordion-timer-item.entry.js +2 -2
  949. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  950. package/dist/esm/mds-accordion.entry.js +3 -3
  951. package/dist/esm/mds-author.entry.js +1 -1
  952. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  953. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  954. package/dist/esm/mds-avatar.entry.js +3 -3
  955. package/dist/esm/mds-badge.entry.js +3 -3
  956. package/dist/esm/mds-banner_3.entry.js +5 -5
  957. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  958. package/dist/esm/mds-bibliography.entry.js +1 -1
  959. package/dist/esm/mds-book.entry.js +8 -8
  960. package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
  961. package/dist/esm/mds-breadcrumb.entry.js +3 -3
  962. package/dist/esm/mds-button-dropdown.entry.js +27 -9
  963. package/dist/esm/mds-button-group.entry.js +1 -1
  964. package/dist/esm/mds-button_3.entry.js +34 -13
  965. package/dist/esm/mds-calendar_2.entry.js +4 -4
  966. package/dist/esm/mds-card-content.entry.js +1 -1
  967. package/dist/esm/mds-card-footer.entry.js +1 -1
  968. package/dist/esm/mds-card-header.entry.js +1 -1
  969. package/dist/esm/mds-card-media.entry.js +1 -1
  970. package/dist/esm/mds-card.entry.js +2 -2
  971. package/dist/esm/mds-details.entry.js +3 -3
  972. package/dist/esm/mds-dropdown.entry.js +3 -3
  973. package/dist/esm/mds-emoji.entry.js +3 -3
  974. package/dist/esm/mds-entity.entry.js +3 -3
  975. package/dist/esm/mds-file-preview.entry.js +4 -4
  976. package/dist/esm/mds-file.entry.js +4 -4
  977. package/dist/esm/mds-filter-item.entry.js +3 -3
  978. package/dist/esm/mds-filter.entry.js +4 -4
  979. package/dist/esm/mds-header-bar.entry.js +3 -3
  980. package/dist/esm/mds-header.entry.js +2 -2
  981. package/dist/esm/mds-horizontal-scroll.entry.js +3 -3
  982. package/dist/esm/mds-hr.entry.js +2 -2
  983. package/dist/esm/mds-img.entry.js +13 -8
  984. package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
  985. package/dist/esm/mds-input-date-range.entry.js +8 -8
  986. package/dist/esm/mds-input-date.entry.js +5 -5
  987. package/dist/esm/mds-input-field.entry.js +4 -3
  988. package/dist/esm/mds-input-otp.entry.js +4 -4
  989. package/dist/esm/mds-input-range-value.entry.js +2 -2
  990. package/dist/esm/mds-input-range.entry.js +6 -6
  991. package/dist/esm/mds-input-select.entry.js +7 -7
  992. package/dist/esm/mds-input-switch_2.entry.js +6 -6
  993. package/dist/esm/mds-input-tip_2.entry.js +6 -6
  994. package/dist/esm/mds-input-upload.entry.js +9 -9
  995. package/dist/esm/mds-input.entry.js +9 -9
  996. package/dist/esm/mds-keyboard-key.entry.js +4 -4
  997. package/dist/esm/mds-keyboard.entry.js +4 -4
  998. package/dist/esm/mds-kpi-item.entry.js +4 -4
  999. package/dist/esm/mds-kpi.entry.js +2 -2
  1000. package/dist/esm/mds-label.entry.js +4 -4
  1001. package/dist/esm/mds-link.entry.js +32 -11
  1002. package/dist/esm/mds-list-item.entry.js +2 -2
  1003. package/dist/esm/mds-list.entry.js +2 -2
  1004. package/dist/esm/mds-mention.entry.js +4 -4
  1005. package/dist/esm/mds-modal.entry.js +5 -5
  1006. package/dist/esm/mds-note.entry.js +5 -5
  1007. package/dist/esm/mds-notification.entry.js +3 -3
  1008. package/dist/esm/mds-paginator-item.entry.js +4 -4
  1009. package/dist/esm/mds-paginator.entry.js +4 -4
  1010. package/dist/esm/mds-policy-ai.entry.js +5 -5
  1011. package/dist/esm/mds-pref-animation.entry.js +4 -4
  1012. package/dist/esm/mds-pref-consumption.entry.js +4 -4
  1013. package/dist/esm/mds-pref-contrast.entry.js +4 -4
  1014. package/dist/esm/mds-pref-language-item.entry.js +4 -4
  1015. package/dist/esm/mds-pref-language.entry.js +4 -4
  1016. package/dist/esm/mds-pref-mode.entry.js +5 -5
  1017. package/dist/esm/mds-pref-theme-item.entry.js +3 -3
  1018. package/dist/esm/mds-pref-theme.entry.js +4 -4
  1019. package/dist/esm/mds-pref.entry.js +4 -4
  1020. package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
  1021. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  1022. package/dist/esm/mds-price-table-features.entry.js +4 -4
  1023. package/dist/esm/mds-price-table-header.entry.js +2 -2
  1024. package/dist/esm/mds-price-table-list-item.entry.js +2 -2
  1025. package/dist/esm/mds-price-table-list.entry.js +4 -4
  1026. package/dist/esm/mds-price-table.entry.js +2 -2
  1027. package/dist/esm/mds-progress_2.entry.js +6 -6
  1028. package/dist/esm/mds-push-notification-item.entry.js +6 -6
  1029. package/dist/esm/mds-push-notification.entry.js +5 -5
  1030. package/dist/esm/mds-quote.entry.js +3 -3
  1031. package/dist/esm/mds-radial-menu-item.entry.js +2 -2
  1032. package/dist/esm/mds-radial-menu.entry.js +5 -5
  1033. package/dist/esm/mds-separator.entry.js +4 -4
  1034. package/dist/esm/mds-status-bar.entry.js +3 -3
  1035. package/dist/esm/mds-stepper-bar-item.entry.js +17 -7
  1036. package/dist/esm/mds-stepper-bar.entry.js +9 -7
  1037. package/dist/esm/mds-tab-bar-item.entry.js +4 -4
  1038. package/dist/esm/mds-tab-bar.entry.js +3 -3
  1039. package/dist/esm/mds-tab_2.entry.js +5 -5
  1040. package/dist/esm/mds-table-body.entry.js +3 -3
  1041. package/dist/esm/mds-table-footer.entry.js +3 -3
  1042. package/dist/esm/mds-table-header-cell.entry.js +3 -3
  1043. package/dist/esm/mds-table-header.entry.js +4 -4
  1044. package/dist/esm/mds-table-row.entry.js +5 -5
  1045. package/dist/esm/mds-table.entry.js +5 -5
  1046. package/dist/esm/mds-text.entry.js +4 -4
  1047. package/dist/esm/mds-toast-region.entry.js +2 -2
  1048. package/dist/esm/mds-toast.entry.js +4 -4
  1049. package/dist/esm/mds-tooltip.entry.js +16 -9
  1050. package/dist/esm/mds-tree-item.entry.js +4 -4
  1051. package/dist/esm/mds-tree.entry.js +3 -3
  1052. package/dist/esm/mds-url-view.entry.js +4 -4
  1053. package/dist/esm/mds-usage.entry.js +4 -4
  1054. package/dist/esm/mds-video-wall.entry.js +4 -4
  1055. package/dist/esm/mds-zero.entry.js +4 -4
  1056. package/dist/esm/{navigation-To9IeLHs.js → navigation-Pwyk_BKp.js} +14 -1
  1057. package/dist/esm/{preference-CBMLGSf7.js → preference-B_NbXZNw.js} +1 -1
  1058. package/dist/esm-es5/{floating-controller-DlFrvBTG.js → floating-controller-ECQfm808.js} +1 -1
  1059. package/dist/esm-es5/{index-CPibDZjX.js → index-BQhu9Pch.js} +3 -3
  1060. package/dist/esm-es5/{index-DWniH_Ge.js → index-CiyNF8so.js} +1 -1
  1061. package/dist/esm-es5/index.js +1 -1
  1062. package/dist/esm-es5/loader.js +1 -1
  1063. package/dist/esm-es5/{locale-B7Hw4niB.js → locale-Cm8DHVsu.js} +28 -21
  1064. package/dist/esm-es5/magma-components.js +3 -3
  1065. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  1066. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  1067. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  1068. package/dist/esm-es5/mds-accordion.entry.js +1 -1
  1069. package/dist/esm-es5/mds-author.entry.js +1 -1
  1070. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  1071. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  1072. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  1073. package/dist/esm-es5/mds-badge.entry.js +1 -1
  1074. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  1075. package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
  1076. package/dist/esm-es5/mds-bibliography.entry.js +1 -1
  1077. package/dist/esm-es5/mds-book.entry.js +2 -2
  1078. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  1079. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  1080. package/dist/esm-es5/mds-button-dropdown.entry.js +8 -5
  1081. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  1082. package/dist/esm-es5/mds-button_3.entry.js +19 -9
  1083. package/dist/esm-es5/mds-calendar_2.entry.js +2 -2
  1084. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  1085. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  1086. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  1087. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  1088. package/dist/esm-es5/mds-card.entry.js +1 -1
  1089. package/dist/esm-es5/mds-details.entry.js +1 -1
  1090. package/dist/esm-es5/mds-dropdown.entry.js +1 -1
  1091. package/dist/esm-es5/mds-emoji.entry.js +2 -2
  1092. package/dist/esm-es5/mds-entity.entry.js +1 -1
  1093. package/dist/esm-es5/mds-file-preview.entry.js +11 -11
  1094. package/dist/esm-es5/mds-file.entry.js +2 -2
  1095. package/dist/esm-es5/mds-filter-item.entry.js +2 -2
  1096. package/dist/esm-es5/mds-filter.entry.js +1 -1
  1097. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  1098. package/dist/esm-es5/mds-header.entry.js +1 -1
  1099. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  1100. package/dist/esm-es5/mds-hr.entry.js +1 -1
  1101. package/dist/esm-es5/mds-img.entry.js +9 -7
  1102. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  1103. package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
  1104. package/dist/esm-es5/mds-input-date.entry.js +1 -1
  1105. package/dist/esm-es5/mds-input-field.entry.js +7 -7
  1106. package/dist/esm-es5/mds-input-otp.entry.js +2 -2
  1107. package/dist/esm-es5/mds-input-range-value.entry.js +1 -1
  1108. package/dist/esm-es5/mds-input-range.entry.js +6 -6
  1109. package/dist/esm-es5/mds-input-select.entry.js +2 -2
  1110. package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
  1111. package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
  1112. package/dist/esm-es5/mds-input-upload.entry.js +2 -2
  1113. package/dist/esm-es5/mds-input.entry.js +2 -2
  1114. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  1115. package/dist/esm-es5/mds-keyboard.entry.js +2 -2
  1116. package/dist/esm-es5/mds-kpi-item.entry.js +2 -2
  1117. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  1118. package/dist/esm-es5/mds-label.entry.js +1 -1
  1119. package/dist/esm-es5/mds-link.entry.js +16 -7
  1120. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  1121. package/dist/esm-es5/mds-list.entry.js +1 -1
  1122. package/dist/esm-es5/mds-mention.entry.js +2 -2
  1123. package/dist/esm-es5/mds-modal.entry.js +5 -5
  1124. package/dist/esm-es5/mds-note.entry.js +2 -2
  1125. package/dist/esm-es5/mds-notification.entry.js +2 -2
  1126. package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
  1127. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  1128. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  1129. package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
  1130. package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
  1131. package/dist/esm-es5/mds-pref-contrast.entry.js +4 -4
  1132. package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
  1133. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  1134. package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
  1135. package/dist/esm-es5/mds-pref-theme-item.entry.js +2 -2
  1136. package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
  1137. package/dist/esm-es5/mds-pref.entry.js +2 -2
  1138. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  1139. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  1140. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  1141. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  1142. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  1143. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  1144. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  1145. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  1146. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  1147. package/dist/esm-es5/mds-push-notification.entry.js +6 -6
  1148. package/dist/esm-es5/mds-quote.entry.js +2 -2
  1149. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  1150. package/dist/esm-es5/mds-radial-menu.entry.js +2 -2
  1151. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1152. package/dist/esm-es5/mds-status-bar.entry.js +2 -2
  1153. package/dist/esm-es5/mds-stepper-bar-item.entry.js +6 -2
  1154. package/dist/esm-es5/mds-stepper-bar.entry.js +11 -8
  1155. package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
  1156. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  1157. package/dist/esm-es5/mds-tab_2.entry.js +3 -3
  1158. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1159. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  1160. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  1161. package/dist/esm-es5/mds-table-header.entry.js +3 -3
  1162. package/dist/esm-es5/mds-table-row.entry.js +2 -2
  1163. package/dist/esm-es5/mds-table.entry.js +2 -2
  1164. package/dist/esm-es5/mds-text.entry.js +3 -3
  1165. package/dist/esm-es5/mds-toast-region.entry.js +2 -2
  1166. package/dist/esm-es5/mds-toast.entry.js +2 -2
  1167. package/dist/esm-es5/mds-tooltip.entry.js +13 -7
  1168. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  1169. package/dist/esm-es5/mds-tree.entry.js +2 -2
  1170. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  1171. package/dist/esm-es5/mds-usage.entry.js +2 -2
  1172. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  1173. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1174. package/dist/esm-es5/{navigation-To9IeLHs.js → navigation-Pwyk_BKp.js} +10 -1
  1175. package/dist/esm-es5/{preference-CBMLGSf7.js → preference-B_NbXZNw.js} +1 -1
  1176. package/dist/hydrate/index.js +308 -186
  1177. package/dist/hydrate/index.mjs +308 -186
  1178. package/dist/lint/core/data.d.ts +9 -1
  1179. package/dist/lint/core/data.js +6 -2
  1180. package/dist/lint/core/patterns.d.ts +123 -2
  1181. package/dist/lint/core/patterns.js +423 -19
  1182. package/dist/lint/mcp/tools.json +1 -1
  1183. package/dist/magma-components/index.esm.js +1 -1
  1184. package/dist/magma-components/magma-components.esm.js +1 -1
  1185. package/dist/magma-components/magma-components.js +1 -1
  1186. package/dist/magma-components/{p-e63c1ba4.entry.js → p-04092a3b.entry.js} +1 -1
  1187. package/dist/magma-components/{p-b1fe6261.entry.js → p-0415056d.entry.js} +1 -1
  1188. package/dist/magma-components/{p-37470fef.system.entry.js → p-0464a230.system.entry.js} +3 -3
  1189. package/dist/magma-components/p-05098fa3.entry.js +1 -0
  1190. package/dist/magma-components/{p-825713bc.system.entry.js → p-07141f37.system.entry.js} +2 -2
  1191. package/dist/magma-components/{p-82041de2.entry.js → p-07e0564b.entry.js} +1 -1
  1192. package/dist/magma-components/{p-df70af5f.system.entry.js → p-07e3a6ae.system.entry.js} +34 -34
  1193. package/dist/magma-components/{p-8193fd71.entry.js → p-096464f6.entry.js} +1 -1
  1194. package/dist/magma-components/p-0b9dc520.system.entry.js +9 -0
  1195. package/dist/magma-components/{p-f6f6d914.system.entry.js → p-0ba59e33.system.entry.js} +3 -3
  1196. package/dist/magma-components/{p-d4452e41.entry.js → p-0d7848dc.entry.js} +1 -1
  1197. package/dist/magma-components/{p-b8e5411d.system.entry.js → p-0e67ab54.system.entry.js} +1 -1
  1198. package/dist/magma-components/{p-f01e7a7e.system.entry.js → p-0ec9ef12.system.entry.js} +1 -1
  1199. package/dist/magma-components/p-0ef36f08.entry.js +1 -0
  1200. package/dist/magma-components/{p-0d7370d8.system.entry.js → p-12785058.system.entry.js} +1 -1
  1201. package/dist/magma-components/{p-58bbada6.system.entry.js → p-13498dce.system.entry.js} +1 -1
  1202. package/dist/magma-components/{p-a0389821.entry.js → p-13a777ff.entry.js} +1 -1
  1203. package/dist/magma-components/{p-2a5223df.system.entry.js → p-165b9ee9.system.entry.js} +3 -3
  1204. package/dist/magma-components/p-16c3109f.entry.js +8 -0
  1205. package/dist/magma-components/{p-038fc1db.entry.js → p-1a0773d4.entry.js} +1 -1
  1206. package/dist/magma-components/{p-483480f9.system.entry.js → p-1ab76b57.system.entry.js} +3 -3
  1207. package/dist/magma-components/{p-e4db9ad2.entry.js → p-1e686eb7.entry.js} +1 -1
  1208. package/dist/magma-components/{p-97e55f7e.system.entry.js → p-1e938a6f.system.entry.js} +2 -2
  1209. package/dist/magma-components/{p-ae258eca.system.entry.js → p-1ee28c75.system.entry.js} +2 -2
  1210. package/dist/magma-components/{p-5c0f0517.entry.js → p-1eedb159.entry.js} +1 -1
  1211. package/dist/magma-components/{p-11312b0c.entry.js → p-1efd5b03.entry.js} +1 -1
  1212. package/dist/magma-components/{p-13e94501.entry.js → p-20e9860a.entry.js} +1 -1
  1213. package/dist/magma-components/{p-2dd32b3f.system.entry.js → p-2102e6ed.system.entry.js} +3 -3
  1214. package/dist/magma-components/p-2155889e.entry.js +1 -0
  1215. package/dist/magma-components/{p-f4e8f507.system.entry.js → p-22de70f3.system.entry.js} +2 -2
  1216. package/dist/magma-components/p-257ae152.entry.js +1 -0
  1217. package/dist/magma-components/{p-5d8cb375.system.entry.js → p-26695384.system.entry.js} +1 -1
  1218. package/dist/magma-components/{p-c902d468.entry.js → p-26e737f5.entry.js} +1 -1
  1219. package/dist/magma-components/{p-d0b45a54.entry.js → p-271fa94b.entry.js} +1 -1
  1220. package/dist/magma-components/{p-1934151b.entry.js → p-27c42c5b.entry.js} +1 -1
  1221. package/dist/magma-components/{p-a171c096.system.entry.js → p-29eab5de.system.entry.js} +1 -1
  1222. package/dist/magma-components/{p-082b787b.entry.js → p-2a367163.entry.js} +1 -1
  1223. package/dist/magma-components/{p-b95f648f.system.entry.js → p-2adc8da6.system.entry.js} +2 -2
  1224. package/dist/magma-components/p-2b0bb30a.entry.js +1 -0
  1225. package/dist/magma-components/{p-3341ac50.entry.js → p-2cb3092c.entry.js} +1 -1
  1226. package/dist/magma-components/{p-ca5867f5.system.entry.js → p-2cd10aef.system.entry.js} +9 -9
  1227. package/dist/magma-components/{p-91406af1.system.entry.js → p-2e1620ba.system.entry.js} +5 -5
  1228. package/dist/magma-components/p-2eab8fb0.entry.js +1 -0
  1229. package/dist/magma-components/{p-e009c632.entry.js → p-31503852.entry.js} +1 -1
  1230. package/dist/magma-components/{p-efcd8a1d.entry.js → p-3401be31.entry.js} +1 -1
  1231. package/dist/magma-components/{p-ccb23b6a.entry.js → p-35261a76.entry.js} +1 -1
  1232. package/dist/magma-components/p-3578ec8d.entry.js +1 -0
  1233. package/dist/magma-components/{p-a4aaf1c6.system.entry.js → p-381b00f2.system.entry.js} +3 -3
  1234. package/dist/magma-components/p-38b33f35.entry.js +1 -0
  1235. package/dist/magma-components/{p-47712df6.entry.js → p-3936265d.entry.js} +1 -1
  1236. package/dist/magma-components/{p-2dc9499c.system.entry.js → p-394560df.system.entry.js} +2 -2
  1237. package/dist/magma-components/{p-d0dfa8b5.system.entry.js → p-39866e42.system.entry.js} +2 -2
  1238. package/dist/magma-components/{p-6c6ec154.system.entry.js → p-3b1cb8ea.system.entry.js} +2 -2
  1239. package/dist/magma-components/{p-dd4b04ed.system.entry.js → p-3d1f9f06.system.entry.js} +2 -2
  1240. package/dist/magma-components/{p-1e43613e.entry.js → p-3f9b9e40.entry.js} +1 -1
  1241. package/dist/magma-components/{p-56715bbc.system.entry.js → p-401c7cff.system.entry.js} +2 -2
  1242. package/dist/magma-components/{p-ad12fa89.system.entry.js → p-40dc42b3.system.entry.js} +2 -2
  1243. package/dist/magma-components/{p-bd539dbc.entry.js → p-41740349.entry.js} +1 -1
  1244. package/dist/magma-components/p-479731de.entry.js +1 -0
  1245. package/dist/magma-components/{p-9c0d1025.system.entry.js → p-4822b172.system.entry.js} +1 -1
  1246. package/dist/magma-components/{p-03896fbd.entry.js → p-48db6553.entry.js} +1 -1
  1247. package/dist/magma-components/{p-ada93f68.entry.js → p-49918013.entry.js} +1 -1
  1248. package/dist/magma-components/p-4b5444f1.entry.js +1 -0
  1249. package/dist/magma-components/{p-420c5af4.entry.js → p-4b7249eb.entry.js} +1 -1
  1250. package/dist/magma-components/{p-f0d93b22.system.entry.js → p-4cc6c06d.system.entry.js} +3 -3
  1251. package/dist/magma-components/{p-7e87807d.entry.js → p-4e68ec48.entry.js} +1 -1
  1252. package/dist/magma-components/p-4f0c913b.system.entry.js +23 -0
  1253. package/dist/magma-components/{p-95a29fd2.entry.js → p-4f80b9be.entry.js} +1 -1
  1254. package/dist/magma-components/{p-6471c0a4.system.entry.js → p-54dfb648.system.entry.js} +2 -2
  1255. package/dist/magma-components/p-5519483d.entry.js +1 -0
  1256. package/dist/magma-components/p-56565acb.system.entry.js +10 -0
  1257. package/dist/magma-components/{p-3d60f528.system.entry.js → p-5845ebd7.system.entry.js} +2 -2
  1258. package/dist/magma-components/{p-333c0ae5.entry.js → p-58a75841.entry.js} +1 -1
  1259. package/dist/magma-components/{p-ecf29ffa.entry.js → p-59cf0c3d.entry.js} +1 -1
  1260. package/dist/magma-components/{p-c8430552.system.entry.js → p-5c3a54bf.system.entry.js} +2 -2
  1261. package/dist/magma-components/p-5c82a88a.entry.js +1 -0
  1262. package/dist/magma-components/{p-a9c7fb3f.entry.js → p-5cf09df3.entry.js} +3 -3
  1263. package/dist/magma-components/{p-756cd3dc.entry.js → p-5ec955a7.entry.js} +1 -1
  1264. package/dist/magma-components/{p-16651356.entry.js → p-5f17dc76.entry.js} +1 -1
  1265. package/dist/magma-components/p-5fd09fb5.system.entry.js +29 -0
  1266. package/dist/magma-components/{p-b4856322.entry.js → p-5fe812ee.entry.js} +1 -1
  1267. package/dist/magma-components/{p-03441f69.entry.js → p-618f8dc9.entry.js} +1 -1
  1268. package/dist/magma-components/{p-34183ce3.entry.js → p-61fb9286.entry.js} +1 -1
  1269. package/dist/magma-components/{p-6443e40f.entry.js → p-63a53b4d.entry.js} +1 -1
  1270. package/dist/magma-components/{p-52b73a95.system.entry.js → p-6436bfa8.system.entry.js} +2 -2
  1271. package/dist/magma-components/{p-73f22a7d.entry.js → p-648d77bc.entry.js} +1 -1
  1272. package/dist/magma-components/p-65acd2e8.entry.js +1 -0
  1273. package/dist/magma-components/{p-5b5d57b0.system.entry.js → p-65ed7a0f.system.entry.js} +7 -5
  1274. package/dist/magma-components/p-67e30158.entry.js +1 -0
  1275. package/dist/magma-components/{p-68d83e18.system.entry.js → p-6864cc54.system.entry.js} +1 -1
  1276. package/dist/magma-components/{p-aa601247.system.entry.js → p-69afe21e.system.entry.js} +2 -2
  1277. package/dist/magma-components/{p-1686b36a.entry.js → p-6ac46e2f.entry.js} +1 -1
  1278. package/dist/magma-components/{p-09675899.entry.js → p-6b84c7a7.entry.js} +1 -1
  1279. package/dist/magma-components/p-6ba8b2d6.entry.js +1 -0
  1280. package/dist/magma-components/{p-8928d9b5.system.entry.js → p-6c68fbe9.system.entry.js} +2 -2
  1281. package/dist/magma-components/{p-c67655fa.entry.js → p-6cca1d61.entry.js} +1 -1
  1282. package/dist/magma-components/{p-ea93721d.entry.js → p-6e5b15c5.entry.js} +1 -1
  1283. package/dist/magma-components/{p-303173d5.system.entry.js → p-6e8b3c36.system.entry.js} +3 -3
  1284. package/dist/magma-components/{p-bd4ad8c7.entry.js → p-6f7d6a3e.entry.js} +1 -1
  1285. package/dist/magma-components/{p-06ba1f71.system.entry.js → p-70a065dc.system.entry.js} +2 -2
  1286. package/dist/magma-components/{p-4564e7ad.entry.js → p-70a83504.entry.js} +1 -1
  1287. package/dist/magma-components/p-71d171a8.entry.js +1 -0
  1288. package/dist/magma-components/{p-5c4aed7e.entry.js → p-71f650fe.entry.js} +1 -1
  1289. package/dist/magma-components/{p-7cfa2415.system.entry.js → p-73ddade8.system.entry.js} +1 -1
  1290. package/dist/magma-components/p-73efbc7a.entry.js +1 -0
  1291. package/dist/magma-components/p-76fb49a1.system.entry.js +11 -0
  1292. package/dist/magma-components/{p-6d7e8240.system.entry.js → p-795215a4.system.entry.js} +1 -1
  1293. package/dist/magma-components/{p-1db5ab39.entry.js → p-79f36661.entry.js} +1 -1
  1294. package/dist/magma-components/{p-3ccc1c10.entry.js → p-79f6c73e.entry.js} +1 -1
  1295. package/dist/magma-components/{p-2e5684a0.system.entry.js → p-7cb4260c.system.entry.js} +2 -2
  1296. package/dist/magma-components/{p-a33a235e.entry.js → p-7cec80c9.entry.js} +1 -1
  1297. package/dist/magma-components/{p-d1751ff6.entry.js → p-7e717a2b.entry.js} +1 -1
  1298. package/dist/magma-components/{p-c2a883b0.system.entry.js → p-8329caf9.system.entry.js} +1 -1
  1299. package/dist/magma-components/p-85389823.system.entry.js +82 -0
  1300. package/dist/magma-components/{p-16a7e26a.system.entry.js → p-86050b72.system.entry.js} +1 -1
  1301. package/dist/magma-components/{p-4bb45501.entry.js → p-88a7d026.entry.js} +1 -1
  1302. package/dist/magma-components/p-89d47be8.system.entry.js +7 -0
  1303. package/dist/magma-components/p-89eb7b19.entry.js +1 -0
  1304. package/dist/magma-components/{p-03a2f4e7.system.entry.js → p-8a3626c7.system.entry.js} +1 -1
  1305. package/dist/magma-components/{p-9e3c1c28.system.entry.js → p-8e195423.system.entry.js} +5 -5
  1306. package/dist/magma-components/{p-522968d1.system.entry.js → p-907d8111.system.entry.js} +1 -1
  1307. package/dist/magma-components/{p-e66db408.entry.js → p-907dd338.entry.js} +1 -1
  1308. package/dist/magma-components/p-9282b1eb.system.entry.js +60 -0
  1309. package/dist/magma-components/p-92a8391c.entry.js +1 -0
  1310. package/dist/magma-components/{p-01d6d5a5.system.entry.js → p-94b46388.system.entry.js} +2 -2
  1311. package/dist/magma-components/{p-b7d90310.entry.js → p-95f07748.entry.js} +1 -1
  1312. package/dist/magma-components/p-97d431f3.system.entry.js +1 -0
  1313. package/dist/magma-components/{p-ca0f3549.entry.js → p-98048238.entry.js} +1 -1
  1314. package/dist/magma-components/{p-b47c444e.system.entry.js → p-9905ebcf.system.entry.js} +2 -2
  1315. package/dist/magma-components/{p-aa86018e.system.entry.js → p-990b3146.system.entry.js} +2 -2
  1316. package/dist/magma-components/p-9b10fdcb.system.entry.js +27 -0
  1317. package/dist/magma-components/{p-8e471af5.entry.js → p-9b4daea1.entry.js} +1 -1
  1318. package/dist/magma-components/{p-11543f44.system.entry.js → p-9c617430.system.entry.js} +4 -4
  1319. package/dist/magma-components/p-9f58805c.system.entry.js +13 -0
  1320. package/dist/magma-components/{p-c3cfbc71.system.entry.js → p-9f653320.system.entry.js} +2 -2
  1321. package/dist/magma-components/{p-1d101083.system.entry.js → p-9fa41a55.system.entry.js} +1 -1
  1322. package/dist/magma-components/{p-a9d100e5.system.entry.js → p-9fac94ff.system.entry.js} +3 -3
  1323. package/dist/{components/p-CtEHhdv4.js → magma-components/p-B0SxTwF4.js} +1 -1
  1324. package/dist/magma-components/p-B6OZspN1.system.js +5 -0
  1325. package/dist/magma-components/p-BQhu9Pch.js +3 -0
  1326. package/dist/magma-components/{p-EhfbAdzV.system.js → p-BfmjlcJL.system.js} +3 -3
  1327. package/dist/magma-components/{p-B6f9M1Bj.system.js → p-BhMNGZjh.system.js} +13 -4
  1328. package/dist/magma-components/{p-BAW1DAbr.system.js → p-CJcKfFM1.system.js} +2 -2
  1329. package/dist/magma-components/{p-H8sVzFTL.js → p-CV9cS5S1.js} +1 -1
  1330. package/dist/magma-components/{p-DGfoeZMw.system.js → p-C_jcGVti.system.js} +2 -2
  1331. package/dist/magma-components/{p-BXkIXROP.js → p-DCJuMTY7.js} +1 -1
  1332. package/dist/magma-components/{p-BkfGbFba.js → p-DDMAJPbm.js} +2 -2
  1333. package/dist/magma-components/{p-CyPLJo0p.system.js → p-DJ5-T3cU.system.js} +1 -1
  1334. package/dist/magma-components/{p-CzZWts7L.system.js → p-DQfleYtv.system.js} +23 -16
  1335. package/dist/magma-components/{p-D5Yayq7E.system.js → p-Djd8g56b.system.js} +1 -1
  1336. package/dist/magma-components/p-Pwyk_BKp.js +1 -0
  1337. package/dist/magma-components/{p-98a3802b.system.entry.js → p-a0b8c130.system.entry.js} +1 -1
  1338. package/dist/magma-components/{p-03285704.entry.js → p-a1085d6b.entry.js} +1 -1
  1339. package/dist/magma-components/{p-73a6ee3b.system.entry.js → p-a4dcc327.system.entry.js} +1 -1
  1340. package/dist/magma-components/{p-a190c325.system.entry.js → p-a6e82aa7.system.entry.js} +2 -2
  1341. package/dist/magma-components/{p-b20f811b.system.entry.js → p-a738797b.system.entry.js} +2 -2
  1342. package/dist/magma-components/{p-0c8dd132.entry.js → p-a754bd25.entry.js} +1 -1
  1343. package/dist/magma-components/p-a77cbe57.system.entry.js +55 -0
  1344. package/dist/magma-components/{p-778a46fa.entry.js → p-a7cc7459.entry.js} +1 -1
  1345. package/dist/magma-components/p-a90c4a11.entry.js +1 -0
  1346. package/dist/magma-components/{p-bca909d9.entry.js → p-aa65dfb2.entry.js} +1 -1
  1347. package/dist/magma-components/p-ad438b7b.system.entry.js +33 -0
  1348. package/dist/magma-components/{p-6de384d0.system.entry.js → p-adecc08e.system.entry.js} +1 -1
  1349. package/dist/magma-components/{p-009e4359.system.entry.js → p-b27af8ba.system.entry.js} +111 -111
  1350. package/dist/magma-components/{p-cc5518b1.entry.js → p-b2b0f738.entry.js} +1 -1
  1351. package/dist/magma-components/{p-913123e6.entry.js → p-b3aca1fa.entry.js} +1 -1
  1352. package/dist/magma-components/{p-d7813f9b.system.entry.js → p-b440fd7b.system.entry.js} +1 -1
  1353. package/dist/magma-components/{p-3d0578a7.entry.js → p-b4afd3c7.entry.js} +1 -1
  1354. package/dist/magma-components/p-b51ed8f6.entry.js +1 -0
  1355. package/dist/magma-components/{p-70cf2c28.entry.js → p-b6239109.entry.js} +1 -1
  1356. package/dist/magma-components/{p-1e5d4854.system.entry.js → p-b7a16ade.system.entry.js} +2 -2
  1357. package/dist/magma-components/p-b98025cb.system.entry.js +34 -0
  1358. package/dist/magma-components/p-ba6bb2f1.entry.js +1 -0
  1359. package/dist/magma-components/p-ba7f5d01.system.entry.js +1 -0
  1360. package/dist/magma-components/{p-c2d9cf4e.system.entry.js → p-bb3dcd13.system.entry.js} +1 -1
  1361. package/dist/magma-components/p-bb7b5f5e.entry.js +1 -0
  1362. package/dist/magma-components/p-bc0fe932.system.entry.js +7 -0
  1363. package/dist/magma-components/p-be4ff85e.entry.js +1 -0
  1364. package/dist/magma-components/{p-e497f0db.entry.js → p-bfdfba19.entry.js} +1 -1
  1365. package/dist/magma-components/{p-af1a93c6.system.entry.js → p-c021e9a3.system.entry.js} +2 -2
  1366. package/dist/magma-components/{p-cfb153b8.entry.js → p-c082daa4.entry.js} +1 -1
  1367. package/dist/magma-components/{p-1784d5fb.entry.js → p-c28c1c09.entry.js} +1 -1
  1368. package/dist/magma-components/{p-275d7968.system.entry.js → p-c31ba98a.system.entry.js} +14 -14
  1369. package/dist/magma-components/p-c4b498d4.entry.js +1 -0
  1370. package/dist/magma-components/{p-e160e4e1.entry.js → p-c5321c72.entry.js} +1 -1
  1371. package/dist/magma-components/{p-ede31d27.system.entry.js → p-c878eef8.system.entry.js} +2 -2
  1372. package/dist/magma-components/{p-555bd3f8.system.entry.js → p-c8822563.system.entry.js} +2 -2
  1373. package/dist/magma-components/p-cc51ab16.system.entry.js +16 -0
  1374. package/dist/magma-components/{p-f2e5a2c7.system.entry.js → p-cd396f69.system.entry.js} +1 -1
  1375. package/dist/magma-components/{p-a00805cd.system.entry.js → p-d05073ed.system.entry.js} +6 -6
  1376. package/dist/magma-components/{p-270e9afa.entry.js → p-d34cc848.entry.js} +1 -1
  1377. package/dist/magma-components/{p-3fb983e9.system.entry.js → p-d4ca0c40.system.entry.js} +1 -1
  1378. package/dist/magma-components/{p-757c3420.entry.js → p-d52948de.entry.js} +1 -1
  1379. package/dist/magma-components/{p-c5b7f820.system.entry.js → p-d579a012.system.entry.js} +1 -1
  1380. package/dist/magma-components/{p-14f60718.system.entry.js → p-d5bef373.system.entry.js} +1 -1
  1381. package/dist/magma-components/{p-b18b0088.system.entry.js → p-d666a86c.system.entry.js} +1 -1
  1382. package/dist/magma-components/{p-f5c82548.system.entry.js → p-d6934fc0.system.entry.js} +1 -1
  1383. package/dist/magma-components/{p-0760e8a4.entry.js → p-d69ddd73.entry.js} +1 -1
  1384. package/dist/magma-components/{p-eb4f76d8.system.entry.js → p-d7c5f9ec.system.entry.js} +7 -7
  1385. package/dist/magma-components/p-d8ac0d1f.system.entry.js +16 -0
  1386. package/dist/magma-components/{p-9be80c34.entry.js → p-d8c068be.entry.js} +1 -1
  1387. package/dist/magma-components/{p-2289423c.system.entry.js → p-d9edc7f8.system.entry.js} +1 -1
  1388. package/dist/magma-components/p-da4915d0.entry.js +1 -0
  1389. package/dist/magma-components/{p-73b0b35f.system.entry.js → p-dc99e9a9.system.entry.js} +2 -2
  1390. package/dist/magma-components/{p-c0c69807.system.entry.js → p-dd621963.system.entry.js} +1 -1
  1391. package/dist/magma-components/{p-11ee7089.system.entry.js → p-dfc31d2e.system.entry.js} +2 -2
  1392. package/dist/magma-components/p-e5b22a99.system.entry.js +48 -0
  1393. package/dist/magma-components/p-e6500bfe.system.entry.js +29 -0
  1394. package/dist/magma-components/{p-62e42a62.entry.js → p-e88a43ac.entry.js} +1 -1
  1395. package/dist/magma-components/{p-3b41f929.entry.js → p-e9f821a0.entry.js} +1 -1
  1396. package/dist/magma-components/{p-ac401f1a.entry.js → p-ec1b38c7.entry.js} +1 -1
  1397. package/dist/magma-components/{p-ee65f0eb.system.entry.js → p-eec2ae5c.system.entry.js} +2 -2
  1398. package/dist/magma-components/{p-78cced59.entry.js → p-efb4357e.entry.js} +1 -1
  1399. package/dist/magma-components/{p-586878a2.system.entry.js → p-f02972ba.system.entry.js} +4 -4
  1400. package/dist/magma-components/{p-ddc31c50.entry.js → p-f07777b0.entry.js} +1 -1
  1401. package/dist/magma-components/{p-478bbfdb.entry.js → p-f0fd6414.entry.js} +1 -1
  1402. package/dist/magma-components/p-f1d263fa.system.entry.js +137 -0
  1403. package/dist/magma-components/{p-cfcb8bb5.entry.js → p-f43ee21d.entry.js} +1 -1
  1404. package/dist/magma-components/{p-e84361ee.system.entry.js → p-f5ea4c19.system.entry.js} +12 -6
  1405. package/dist/magma-components/{p-4e4dd1c1.system.entry.js → p-f6256d26.system.entry.js} +2 -2
  1406. package/dist/magma-components/{p-8aa6524e.entry.js → p-f62ea4bc.entry.js} +1 -1
  1407. package/dist/magma-components/{p-18421a84.entry.js → p-f6638f03.entry.js} +1 -1
  1408. package/dist/magma-components/{p-41829c15.system.entry.js → p-f895695a.system.entry.js} +2 -2
  1409. package/dist/magma-components/{p-a075c069.entry.js → p-fa8482c0.entry.js} +1 -1
  1410. package/dist/magma-components/{p-857e893e.system.entry.js → p-fafb8e7b.system.entry.js} +3 -3
  1411. package/dist/magma-components/{p-d1281855.system.entry.js → p-fb3b659c.system.entry.js} +5 -5
  1412. package/dist/magma-components/{p-1f756317.entry.js → p-fc167181.entry.js} +1 -1
  1413. package/dist/magma-components/{p-33172d6f.system.entry.js → p-fc7b9e5b.system.entry.js} +11 -8
  1414. package/dist/magma-components/p-fc9a8862.entry.js +1 -0
  1415. package/dist/magma-components/{p-9b00051f.system.entry.js → p-fe6100ff.system.entry.js} +1 -1
  1416. package/dist/magma-components/{p-d173ae2f.system.entry.js → p-fe64c49c.system.entry.js} +1 -1
  1417. package/dist/magma-components/{p-f3041712.entry.js → p-fe9a8ca1.entry.js} +1 -1
  1418. package/dist/mcp/checks.js +32 -13
  1419. package/dist/mcp/patterns.js +1 -1
  1420. package/dist/mcp/tools.json +1 -1
  1421. package/dist/stats.json +2945 -2661
  1422. package/dist/types/common/navigation.d.ts +12 -2
  1423. package/dist/types/components/mds-button/mds-button.d.ts +13 -0
  1424. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +7 -0
  1425. package/dist/types/components/mds-img/mds-img.d.ts +13 -3
  1426. package/dist/types/components/mds-img/meta/storybook.d.ts +11 -0
  1427. package/dist/types/components/mds-img/meta/types.d.ts +2 -0
  1428. package/dist/types/components/mds-input-field/mds-input-field.d.ts +6 -0
  1429. package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
  1430. package/dist/types/components/mds-link/mds-link.d.ts +13 -0
  1431. package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +0 -1
  1432. package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +10 -1
  1433. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +5 -3
  1434. package/dist/types/components.d.ts +62 -8
  1435. package/dist/types/fixtures/states.d.ts +33 -0
  1436. package/package.json +9 -8
  1437. package/dist/components/p-B3npFzUR.js +0 -1
  1438. package/dist/components/p-BD9VWE7b.js +0 -1
  1439. package/dist/components/p-Bg11_7lt.js +0 -1
  1440. package/dist/components/p-C589Hkfn.js +0 -1
  1441. package/dist/components/p-C878c9Nu.js +0 -1
  1442. package/dist/components/p-CS8s4gRV.js +0 -1
  1443. package/dist/components/p-CfCw1XZP.js +0 -1
  1444. package/dist/components/p-Cs80Zm2b.js +0 -8
  1445. package/dist/components/p-Cty6fegI.js +0 -1
  1446. package/dist/components/p-DKYN6Ikh.js +0 -1
  1447. package/dist/components/p-MjWyZlga.js +0 -1
  1448. package/dist/components/p-To9IeLHs.js +0 -1
  1449. package/dist/components/p-VoGfNJRY.js +0 -1
  1450. package/dist/components/p-g2_CekDc.js +0 -3
  1451. package/dist/magma-components/p-09537867.entry.js +0 -1
  1452. package/dist/magma-components/p-0a914567.entry.js +0 -1
  1453. package/dist/magma-components/p-0e7bb90b.system.entry.js +0 -127
  1454. package/dist/magma-components/p-10a68a4d.system.entry.js +0 -7
  1455. package/dist/magma-components/p-193b58d0.entry.js +0 -1
  1456. package/dist/magma-components/p-19f3b524.system.entry.js +0 -55
  1457. package/dist/magma-components/p-2100343f.entry.js +0 -1
  1458. package/dist/magma-components/p-211b2675.system.entry.js +0 -1
  1459. package/dist/magma-components/p-26aad538.entry.js +0 -1
  1460. package/dist/magma-components/p-28ecae1e.system.entry.js +0 -16
  1461. package/dist/magma-components/p-2aa3e73a.system.entry.js +0 -13
  1462. package/dist/magma-components/p-2c64ec7e.entry.js +0 -1
  1463. package/dist/magma-components/p-35a77756.entry.js +0 -1
  1464. package/dist/magma-components/p-37172440.entry.js +0 -1
  1465. package/dist/magma-components/p-3d45d7a7.entry.js +0 -1
  1466. package/dist/magma-components/p-4082973c.system.entry.js +0 -30
  1467. package/dist/magma-components/p-4242100c.entry.js +0 -1
  1468. package/dist/magma-components/p-430239ca.entry.js +0 -8
  1469. package/dist/magma-components/p-478e6930.entry.js +0 -1
  1470. package/dist/magma-components/p-4e431466.entry.js +0 -1
  1471. package/dist/magma-components/p-533bb401.system.entry.js +0 -60
  1472. package/dist/magma-components/p-6619b3c0.system.entry.js +0 -34
  1473. package/dist/magma-components/p-67fa6fd7.entry.js +0 -1
  1474. package/dist/magma-components/p-6fb17347.system.entry.js +0 -1
  1475. package/dist/magma-components/p-6fdf3b37.entry.js +0 -1
  1476. package/dist/magma-components/p-73596a07.entry.js +0 -1
  1477. package/dist/magma-components/p-73c0b53e.system.entry.js +0 -82
  1478. package/dist/magma-components/p-7caf244b.system.entry.js +0 -7
  1479. package/dist/magma-components/p-851010c6.system.entry.js +0 -25
  1480. package/dist/magma-components/p-8acbf50a.entry.js +0 -1
  1481. package/dist/magma-components/p-96ece2cc.system.entry.js +0 -27
  1482. package/dist/magma-components/p-96f66b8f.entry.js +0 -1
  1483. package/dist/magma-components/p-B7Jp0tqu.system.js +0 -5
  1484. package/dist/magma-components/p-CPibDZjX.js +0 -3
  1485. package/dist/magma-components/p-To9IeLHs.js +0 -1
  1486. package/dist/magma-components/p-a025b35b.entry.js +0 -1
  1487. package/dist/magma-components/p-a02819e3.entry.js +0 -1
  1488. package/dist/magma-components/p-a0764f01.entry.js +0 -1
  1489. package/dist/magma-components/p-ab920e0b.entry.js +0 -1
  1490. package/dist/magma-components/p-ad6b5fc1.system.entry.js +0 -16
  1491. package/dist/magma-components/p-b0406c51.entry.js +0 -1
  1492. package/dist/magma-components/p-ba148b89.system.entry.js +0 -23
  1493. package/dist/magma-components/p-bbbf8b89.system.entry.js +0 -29
  1494. package/dist/magma-components/p-c6cab2cb.entry.js +0 -1
  1495. package/dist/magma-components/p-c6f56934.entry.js +0 -1
  1496. package/dist/magma-components/p-cf8cfcac.system.entry.js +0 -10
  1497. package/dist/magma-components/p-d5dec64d.entry.js +0 -1
  1498. package/dist/magma-components/p-ee247029.system.entry.js +0 -9
  1499. package/dist/magma-components/p-f3f1da06.system.entry.js +0 -39
  1500. package/dist/magma-components/p-f9d2316a.entry.js +0 -1
  1501. package/dist/magma-components/p-fe4ae251.entry.js +0 -1
  1502. package/dist/magma-components/p-ffcfa9e3.system.entry.js +0 -11
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{K as KeyboardManager}from"./keyboard-manager-CGrPq3C4.js";import{L as Locale}from"./locale-B7Hw4niB.js";import{N as NavigationService}from"./navigation-To9IeLHs.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var newTab$3="(ανοίγει σε νέα καρτέλα)";var localeEl={newTab:newTab$3};var newTab$2="(opens in a new tab)";var localeEn={newTab:newTab$2};var newTab$1="(se abre en una pestaña nueva)";var localeEs={newTab:newTab$1};var newTab="(si apre in una nuova scheda)";var localeIt={newTab:newTab};var mdsLinkCss=function(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}.link:is(:hover,:active){--private-link-fill:2cap}:host([underline=solid]) .link{text-decoration-line:underline}:host([underline=dotted]){--mds-link-underline-thickness:calc(var(--spacing,.0025rem)*50)}:host([underline=dotted]) .link{text-decoration-line:underline;text-decoration-style:dotted}:host([tone=weak]) .link{--private-link-ink:35%}:host([tone=weak]) .link:is(:hover,:active){--private-link-ink:100%}:host([underline=marker]){--mds-link-underline-color:currentcolor;--mds-link-underline-thickness:calc(var(--spacing,.0025rem)*100)}@supports (color:color-mix(in lab,red,red)){:host([underline=marker]){--mds-link-underline-color:color-mix(in srgb,currentcolor 30%,#0000)}}:host([underline=marker][tone=weak]){--mds-link-underline-color:currentcolor}@supports (color:color-mix(in lab,red,red)){:host([underline=marker][tone=weak]){--mds-link-underline-color:color-mix(in srgb,currentcolor 20%,#0000)}}:host([underline=marker]) .link{--private-link-band:var(--mds-link-underline-thickness);text-decoration-line:none}:host([underline=marker]) .link:is(:hover,:active){--private-link-band:0px}: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-link-transition-duration:0s}:host([pref-contrast=more][tone=weak]:not([underline=marker])) .link{--private-link-ink:100%}:host([pref-contrast=more][underline=marker]) .link{text-decoration-color:initial;text-decoration-line:underline;text-decoration-thickness:calc(var(--spacing,.0025rem)*25)}:host{--mds-link-background-hover:currentcolor;--mds-link-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-link-icon-gap:calc(var(--spacing,.0025rem)*100);--mds-link-icon-size:calc(var(--spacing,.0025rem)*400);--mds-link-transition-duration:var(--duration-500,.5s);--mds-link-underline-color:currentcolor;--mds-link-underline-offset:calc(var(--spacing,.0025rem)*100);--mds-link-underline-thickness:calc(var(--spacing,.0025rem)*25);--private-link-transition-duration:var(--mds-link-transition-duration);display:inline}@supports (color:color-mix(in lab,red,red)){:host{--mds-link-background-hover:color-mix(in srgb,currentcolor 12%,#0000)}}:host([variant=inherit]){--mds-link-color:currentcolor}.link{--private-link-band:0px;--private-link-fill:0px;--private-link-ink:100%;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));box-shadow:inset 0 calc(var(--private-link-band,0px)*-1) var(--mds-link-underline-color),inset 0 calc(var(--private-link-fill,0px)*-1) var(--mds-link-background-hover);color:var(--mds-link-color);cursor:pointer;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));-webkit-text-decoration-color:var(--mds-link-underline-color);text-decoration-color:var(--mds-link-underline-color);transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;-webkit-text-decoration-skip:ink;-webkit-text-decoration-skip-ink:auto;text-decoration-skip-ink:auto;text-decoration-thickness:var(--mds-link-underline-thickness);text-underline-offset:var(--mds-link-underline-offset);transition-duration:var(--private-link-transition-duration);transition-property:--private-link-band,--private-link-fill,--private-link-ink,color,outline,outline-offset;transition-timing-function:var(--ease-out-quint,cubic-bezier(.23,1,.32,1)),var(--ease-out-quint,cubic-bezier(.23,1,.32,1)),var(--ease-out-quint,cubic-bezier(.23,1,.32,1)),var(--ease-out-sine,cubic-bezier(.39,.575,.565,1)),var(--ease-out-sine,cubic-bezier(.39,.575,.565,1)),var(--ease-out-sine,cubic-bezier(.39,.575,.565,1))}@supports (color:color-mix(in lab,red,red)){.link{-webkit-text-decoration-color:color-mix(in srgb,var(--mds-link-underline-color) var(--private-link-ink,100%),#0000);text-decoration-color:color-mix(in srgb,var(--mds-link-underline-color) var(--private-link-ink,100%),#0000)}}.link:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.glue{position:relative}.glue-right{padding-inline-start:calc(var(--mds-link-icon-size) + var(--mds-link-icon-gap))}.glue-left{padding-inline-end:calc(var(--mds-link-icon-size) + var(--mds-link-icon-gap))}.icon{fill:currentColor;height:var(--mds-link-icon-size);position:absolute;top:50%;translate:0 -50%;width:var(--mds-link-icon-size)}.glue-right .icon{inset-inline-end:0}.glue-left .icon{inset-inline-start:0}.hint{border-width:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}@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-link-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])[tone=weak]:not([underline=marker])) .link,:host([pref-contrast=system][tone=weak]:not([underline=marker])) .link{--private-link-ink:100%}:host(:not([pref-contrast])[underline=marker]) .link,:host([pref-contrast=system][underline=marker]) .link{text-decoration-color:initial;text-decoration-line:underline;text-decoration-thickness:calc(var(--spacing,.0025rem)*25)}}"};var MdsLink=/** @class */function(){function n(e){var i=this.constructor;var r=this;if(i===n)registerInstance(this,e);this.km=new KeyboardManager;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-BQhu9Pch.js";import{K as KeyboardManager}from"./keyboard-manager-CGrPq3C4.js";import{L as Locale}from"./locale-Cm8DHVsu.js";import{d as downloadAttribute,N as NavigationService}from"./navigation-Pwyk_BKp.js";import{p as preferenceStore}from"./preference-B_NbXZNw.js";var newTab$3="(ανοίγει σε νέα καρτέλα)";var localeEl={newTab:newTab$3};var newTab$2="(opens in a new tab)";var localeEn={newTab:newTab$2};var newTab$1="(se abre en una pestaña nueva)";var localeEs={newTab:newTab$1};var newTab="(si apre in una nuova scheda)";var localeIt={newTab:newTab};var mdsLinkCss=function(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}.link:is(:hover,:active){--private-link-fill:2cap}:host([underline=solid]) .link{text-decoration-line:underline}:host([underline=dotted]){--mds-link-underline-thickness:calc(var(--spacing,.0025rem)*50)}:host([underline=dotted]) .link{text-decoration-line:underline;text-decoration-style:dotted}:host([tone=weak]) .link{--private-link-ink:35%}:host([tone=weak]) .link:is(:hover,:active){--private-link-ink:100%}:host([underline=marker]){--mds-link-underline-color:currentcolor;--mds-link-underline-thickness:calc(var(--spacing,.0025rem)*100)}@supports (color:color-mix(in lab,red,red)){:host([underline=marker]){--mds-link-underline-color:color-mix(in srgb,currentcolor 30%,#0000)}}:host([underline=marker][tone=weak]){--mds-link-underline-color:currentcolor}@supports (color:color-mix(in lab,red,red)){:host([underline=marker][tone=weak]){--mds-link-underline-color:color-mix(in srgb,currentcolor 20%,#0000)}}:host([underline=marker]) .link{--private-link-band:var(--mds-link-underline-thickness);text-decoration-line:none}:host([underline=marker]) .link:is(:hover,:active){--private-link-band:0px}: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-link-transition-duration:0s}:host([pref-contrast=more][tone=weak]:not([underline=marker])) .link{--private-link-ink:100%}:host([pref-contrast=more][underline=marker]) .link{text-decoration-color:initial;text-decoration-line:underline;text-decoration-thickness:calc(var(--spacing,.0025rem)*25)}:host{--mds-link-background-hover:currentcolor;--mds-link-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,0 73 211)));--mds-link-icon-gap:calc(var(--spacing,.0025rem)*100);--mds-link-icon-size:calc(var(--spacing,.0025rem)*400);--mds-link-transition-duration:var(--duration-500,.5s);--mds-link-underline-color:currentcolor;--mds-link-underline-offset:calc(var(--spacing,.0025rem)*100);--mds-link-underline-thickness:calc(var(--spacing,.0025rem)*25);--private-link-transition-duration:var(--mds-link-transition-duration);display:inline}@supports (color:color-mix(in lab,red,red)){:host{--mds-link-background-hover:color-mix(in srgb,currentcolor 12%,#0000)}}:host([variant=inherit]){--mds-link-color:currentcolor}.link{--private-link-band:0px;--private-link-fill:0px;--private-link-ink:100%;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));box-shadow:inset 0 calc(var(--private-link-band,0px)*-1) var(--mds-link-underline-color),inset 0 calc(var(--private-link-fill,0px)*-1) var(--mds-link-background-hover);color:var(--mds-link-color);cursor:pointer;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));-webkit-text-decoration-color:var(--mds-link-underline-color);text-decoration-color:var(--mds-link-underline-color);transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;-webkit-text-decoration-skip:ink;-webkit-text-decoration-skip-ink:auto;text-decoration-skip-ink:auto;text-decoration-thickness:var(--mds-link-underline-thickness);text-underline-offset:var(--mds-link-underline-offset);transition-duration:var(--private-link-transition-duration);transition-property:--private-link-band,--private-link-fill,--private-link-ink,color,outline,outline-offset;transition-timing-function:var(--ease-out-quint,cubic-bezier(.23,1,.32,1)),var(--ease-out-quint,cubic-bezier(.23,1,.32,1)),var(--ease-out-quint,cubic-bezier(.23,1,.32,1)),var(--ease-out-sine,cubic-bezier(.39,.575,.565,1)),var(--ease-out-sine,cubic-bezier(.39,.575,.565,1)),var(--ease-out-sine,cubic-bezier(.39,.575,.565,1))}@supports (color:color-mix(in lab,red,red)){.link{-webkit-text-decoration-color:color-mix(in srgb,var(--mds-link-underline-color) var(--private-link-ink,100%),#0000);text-decoration-color:color-mix(in srgb,var(--mds-link-underline-color) var(--private-link-ink,100%),#0000)}}.link:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.glue{position:relative}.glue-right{padding-inline-start:calc(var(--mds-link-icon-size) + var(--mds-link-icon-gap))}.glue-left{padding-inline-end:calc(var(--mds-link-icon-size) + var(--mds-link-icon-gap))}.icon{fill:currentColor;height:var(--mds-link-icon-size);position:absolute;top:50%;translate:0 -50%;width:var(--mds-link-icon-size)}.glue-right .icon{inset-inline-end:0}.glue-left .icon{inset-inline-start:0}.hint{border-width:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}@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-link-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])[tone=weak]:not([underline=marker])) .link,:host([pref-contrast=system][tone=weak]:not([underline=marker])) .link{--private-link-ink:100%}:host(:not([pref-contrast])[underline=marker]) .link,:host([pref-contrast=system][underline=marker]) .link{text-decoration-color:initial;text-decoration-line:underline;text-decoration-thickness:calc(var(--spacing,.0025rem)*25)}}"};var MdsLink=/** @class */function(){function e(n){var i=this.constructor;var r=this;if(i===e)registerInstance(this,n);this.km=new KeyboardManager;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
2
  /**
3
3
  * Specifies the target of the URL, if self or blank: blank opens a new tab, without giving it
4
4
  * access to the page (`rel="noopener noreferrer"`), and tells the assistive technology so
@@ -16,9 +16,11 @@ import{r as registerInstance,h,e as Host,g as getElement}from"./index-CPibDZjX.j
16
16
  */this.tone="strong";
17
17
  /**
18
18
  * Specifies the style of the underline, which is always visible
19
- */this.underline="solid";this.isLink=function(){var n;return((n=r.href)!==null&&n!==void 0?n:"")!==""};this.opensInNewTab=function(){return r.isLink()&&r.target==="blank"};
19
+ */this.underline="solid";this.isLink=function(){var e;return((e=r.href)!==null&&e!==void 0?e:"")!==""};this.isDownload=function(){return r.isLink()&&downloadAttribute(r.download)!==undefined};
20
+ // set while the host hands the click of a script to the anchor, for a download
21
+ this.savingFile=false;this.opensInNewTab=function(){return r.isLink()&&r.target==="blank"};
20
22
  // a link the browser opens in a new tab or window: asked by the link, or by the user
21
- this.opensElsewhere=function(n){return r.target==="blank"||n.ctrlKey||n.metaKey||n.shiftKey};
23
+ this.opensElsewhere=function(e){return r.target==="blank"||e.ctrlKey||e.metaKey||e.shiftKey};
22
24
  /**
23
25
  * A click on the anchor is the browser's to follow, unless the router registered with
24
26
  * `NavigationService` takes it over: then the navigation is cancelled here, before the page
@@ -27,13 +29,20 @@ this.opensElsewhere=function(n){return r.target==="blank"||n.ctrlKey||n.metaKey|
27
29
  * A click that did not land on the anchor comes from a script: the host follows the link as
28
30
  * the anchor would, once every listener on the page had its say. The timeout is what lets a
29
31
  * listener added after this one, or delegated to the document by a framework, cancel it.
30
- */this.handleClick=function(n){var e;if(!r.isLink())return;var i=(e=r.href)!==null&&e!==void 0?e:"";if(r.link&&n.composedPath().includes(r.link)){if(r.opensElsewhere(n)||!NavigationService.canHandle(i,n))return;n.preventDefault();r.route(i,n);return}setTimeout((function(){if(!n.defaultPrevented)r.follow(n)}))};this.follow=function(n){var e;if(typeof window==="undefined")return;var i=(e=r.href)!==null&&e!==void 0?e:"";if(r.opensElsewhere(n)){window.open(i,"_blank","noopener,noreferrer");return}if(NavigationService.canHandle(i,n)){r.route(i,n);return}window.location.assign(i)};
32
+ *
33
+ * A download is the browser's on every path: it saves the file, and a router has no view to
34
+ * render for it.
35
+ */this.handleClick=function(e){var n;if(!r.isLink())return;if(r.savingFile){
36
+ // the click the host gave the anchor: the page already had the one of the script
37
+ e.stopImmediatePropagation();return}var i=(n=r.href)!==null&&n!==void 0?n:"";if(r.link&&e.composedPath().includes(r.link)){if(r.isDownload()||r.opensElsewhere(e)||!NavigationService.canHandle(i,e))return;e.preventDefault();r.route(i,e);return}setTimeout((function(){if(!e.defaultPrevented)r.follow(e)}))};this.follow=function(e){var n,i;if(typeof window==="undefined")return;if(r.isDownload()){
38
+ // only an anchor saves a file: a click of its own runs its activation, synchronously
39
+ r.savingFile=true;(n=r.link)===null||n===void 0?void 0:n.click();r.savingFile=false;return}var t=(i=r.href)!==null&&i!==void 0?i:"";if(r.opensElsewhere(e)){window.open(t,"_blank","noopener,noreferrer");return}if(NavigationService.canHandle(t,e)){r.route(t,e);return}window.location.assign(t)};
31
40
  // the registered router renders the route; a link it declines is loaded as the browser would
32
- this.route=function(n,e){if(!NavigationService.handle(n,e))window.location.assign(n)}}
41
+ this.route=function(e,n){if(!NavigationService.handle(e,n))window.location.assign(e)}}
33
42
  // the inline button is a span, which the browser does not click on Enter and Space: the
34
43
  // element changes when href comes or goes, so it is wired again after every render. The
35
44
  // listeners live in the shadow root, so a link taken out of the page keeps them
36
- n.prototype.componentDidRender=function(){this.km.detachClickBehavior();if(this.isLink()||!this.link)return;this.km.addElement(this.link);this.km.attachClickBehavior("element",{space:true})};n.prototype.render=function(){var n=this;var e=this.isLink()?"a":"span";var i=this.opensInNewTab();var r=this.isLink()?{href:this.href,rel:i?"noopener noreferrer":undefined,target:i?"_blank":undefined}:{role:"button",tabindex:"0"};
45
+ e.prototype.componentDidRender=function(){this.km.detachClickBehavior();if(this.isLink()||!this.link)return;this.km.addElement(this.link);this.km.attachClickBehavior("element",{space:true})};e.prototype.render=function(){var e=this;var n=this.isLink()?"a":"span";var i=this.opensInNewTab();var r=this.isLink()?{download:downloadAttribute(this.download),href:this.href,rel:i?"noopener noreferrer":undefined,target:i?"_blank":undefined}:{role:"button",tabindex:"0"};
37
46
  // the word joiner keeps the icon on the line of the word next to it: the icon is drawn in
38
47
  // the padding of an inline box, which the line breaks with the text
39
- var t=this.icon&&h("span",{key:"6e5f84e587ef1b164fd90f3453c1cf841293b029",class:"glue glue-".concat(this.iconPosition==="left"?"left":"right")},"⁠",h("mds-icon",{key:"8f8714a522a7072e24ab9e18940f86a20c48850f","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}));return h(Host,{key:"5a805be50ab14a0777c4b726961e1e60b1f5f876",onClick:this.handleClick,"pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast},h(e,Object.assign({key:"4c525d695115ce035ac2c61b4f847af9f539994d",class:"link",part:"link",ref:function(e){n.link=e}},r),this.iconPosition==="left"&&t,this.label||h("slot",{key:"38e5281a9d6720c703b8af0d951728122bec2957"}),i&&h("span",{key:"927bd21ca46d8b288fcad81dc3d0869e02253377",class:"hint"}," ".concat(this.t.get("newTab"))),this.iconPosition!=="left"&&t))};Object.defineProperty(n,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return n}();MdsLink.style=mdsLinkCss();export{MdsLink as mds_link};
48
+ var t=this.icon&&h("span",{key:"62e9947ad7969ce2ebc630dfabc696bcb97e1caa",class:"glue glue-".concat(this.iconPosition==="left"?"left":"right")},"⁠",h("mds-icon",{key:"0eab3c48ab117354631b5e8b8db403b66f1c0034","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}));return h(Host,{key:"1c66d96eeef7a9ca03ef4f2ac13069e059e0e32a",onClick:this.handleClick,"pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast},h(n,Object.assign({key:"5991d35e637b7265f92703c853953590b2621ac7",class:"link",part:"link",ref:function(n){e.link=n}},r),this.iconPosition==="left"&&t,this.label||h("slot",{key:"d6d07167e65c7cc0a2bf0caa874b44e16ebbc64f"}),i&&h("span",{key:"96e5af2319b3c01a9cbc46c58c6e3e991ab9275f",class:"hint"}," ".concat(this.t.get("newTab"))),this.iconPosition!=="left"&&t))};Object.defineProperty(e,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsLink.style=mdsLinkCss();export{MdsLink as mds_link};
@@ -1,7 +1,7 @@
1
- import{r as registerInstance,h,e as Host}from"./index-CPibDZjX.js";var mggListDot='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10"/>\n</svg>\n';var mdsListItemCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-list-item-icon-margin:0 calc(var(--spacing,.0025rem)*200) 0 0;align-items:flex-start;display:flex;justify-content:flex-start;width:100%}.icon{fill:currentColor;height:calc(var(--spacing,.0025rem)*600);margin:var(--mds-list-item-icon-margin,0 calc(var(--spacing,.0025rem)*200) 0 0);width:calc(var(--spacing,.0025rem)*600)}:host([typography=paragraph]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=caption]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*-50) calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=label]),:host([typography=tip]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*-100) calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=option]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*-200) calc(var(--spacing,.0025rem)*200) 0 0}"};var MdsListItem=/** @class */function(){function t(i){var a=this.constructor;if(a===t)registerInstance(this,i);
1
+ import{r as registerInstance,h,e as Host}from"./index-BQhu9Pch.js";var mggListDot='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10"/>\n</svg>\n';var mdsListItemCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-list-item-icon-margin:0 calc(var(--spacing,.0025rem)*200) 0 0;align-items:flex-start;display:flex;justify-content:flex-start;width:100%}.icon{fill:currentColor;height:calc(var(--spacing,.0025rem)*600);margin:var(--mds-list-item-icon-margin,0 calc(var(--spacing,.0025rem)*200) 0 0);width:calc(var(--spacing,.0025rem)*600)}:host([typography=paragraph]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=caption]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*-50) calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=label]),:host([typography=tip]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*-100) calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=option]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*-200) calc(var(--spacing,.0025rem)*200) 0 0}"};var MdsListItem=/** @class */function(){function t(i){var a=this.constructor;if(a===t)registerInstance(this,i);
2
2
  /**
3
3
  * Specifies the typography of the element
4
4
  */this.typography="detail";
5
5
  /**
6
6
  * Specifies the variant for `typography`
7
- */this.variant="info"}t.prototype.render=function(){var t;return h(Host,{key:"5ee0ed642bd9406ad69f83e3c820d25f0c856c2f",role:"listitem"},h("mds-icon",{key:"e8c1d0d7307d75cbe7be8bb0839017d0a6e5cf0d","aria-hidden":"true",class:"icon",name:(t=this.icon)!==null&&t!==void 0?t:mggListDot,part:"icon"}),h("mds-text",{key:"e19a14db79c1fd4eaef243e80b1d08a67597c6fc",tag:"span",typography:this.typography,variant:this.variant,part:"text"},h("slot",{key:"b17e5f91142411f031648883a84c7746df3f1019"})))};return t}();MdsListItem.style=mdsListItemCss();export{MdsListItem as mds_list_item};
7
+ */this.variant="info"}t.prototype.render=function(){var t;return h(Host,{key:"706be98de8711d0407750efac9c65076bfbc84f3",role:"listitem"},h("mds-icon",{key:"551e070330fcad66d1a7a66d3cefae23f4bc27fb","aria-hidden":"true",class:"icon",name:(t=this.icon)!==null&&t!==void 0?t:mggListDot,part:"icon"}),h("mds-text",{key:"be4101da560b6766d867a87e772b1c08db6faa6b",tag:"span",typography:this.typography,variant:this.variant,part:"text"},h("slot",{key:"06bd2ec3cd35e3270c44dd74cd7977bf315e6f55"})))};return t}();MdsListItem.style=mdsListItemCss();export{MdsListItem as mds_list_item};
@@ -1 +1 @@
1
- import{r as registerInstance,h,e as Host}from"./index-CPibDZjX.js";var mdsListCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-list-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{display:grid;gap:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*400)}ul{margin:0;padding:0}"};var MdsList=/** @class */function(){function t(s){var i=this.constructor;if(i===t)registerInstance(this,s)}t.prototype.render=function(){return h(Host,{key:"992f0daab47901cf835d4b65a972e94e13171ae6",role:"list"},h("slot",{key:"2c7a6e82447e36ca20f23d27f1cf5a3be0cc1f2a"}))};return t}();MdsList.style=mdsListCss();export{MdsList as mds_list};
1
+ import{r as registerInstance,h,e as Host}from"./index-BQhu9Pch.js";var mdsListCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-list-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{display:grid;gap:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*400)}ul{margin:0;padding:0}"};var MdsList=/** @class */function(){function t(s){var i=this.constructor;if(i===t)registerInstance(this,s)}t.prototype.render=function(){return h(Host,{key:"0f28dd354bc80491bc6d5abd0f7aaa6a42eff11e",role:"list"},h("slot",{key:"e561e4138afca86794af395895c1ce5f8f60267a"}))};return t}();MdsList.style=mdsListCss();export{MdsList as mds_list};
@@ -1,5 +1,5 @@
1
- import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{m as miBaselineCancel}from"./cancel-BJ8rpzfj.js";import{L as Locale}from"./locale-B7Hw4niB.js";import"./preference-CBMLGSf7.js";var miBaselineAlternateEmail='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8s8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57V12c0-2.76-2.24-5-5-5s-5 2.24-5 5s2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47c.65.89 1.77 1.47 2.96 1.47c1.97 0 3.5-1.6 3.5-3.57V12c0-5.52-4.48-10-10-10zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3z"/></svg>';var remove$3="Αφαίρεση";var localeEl={remove:remove$3};var remove$2="Remove";var localeEn={remove:remove$2};var remove$1="Eliminar";var localeEs={remove:remove$1};var remove="Rimuovi";var localeIt={remove:remove};var mdsMentionCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-mention-icon-size:calc(var(--spacing,.0025rem)*600);align-items:center;background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));cursor:pointer;display:inline-flex;fill:currentColor;padding:calc(var(--spacing,.0025rem)*25);padding-right:calc(var(--spacing,.0025rem)*200);vertical-align:middle}mds-icon{height:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600));width:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600))}:host([deletable]){padding-right:calc(var(--spacing,.0025rem)*25)}:host([size=sm]){--mds-mention-icon-size:calc(var(--spacing,.0025rem)*400)}:host([size=md]){--mds-mention-icon-size:calc(var(--spacing,.0025rem)*600)}.action-remove{border-radius:var(--magma-radius-full,var(--radius-full,1000px));corner-shape:round;flex-shrink:0;height:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600));margin-left:calc(var(--spacing,.0025rem)*50);min-height:0;min-width:0;padding:0;width:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600))}"};var MdsMention=/** @class */function(){function e(i){var a=this.constructor;var t=this;if(a===e)registerInstance(this,i);this.deleteEvent=createEvent(this,"mdsMentionDelete",7);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-BQhu9Pch.js";import{m as miBaselineCancel}from"./cancel-BJ8rpzfj.js";import{L as Locale}from"./locale-Cm8DHVsu.js";import"./preference-B_NbXZNw.js";var miBaselineAlternateEmail='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8s8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57V12c0-2.76-2.24-5-5-5s-5 2.24-5 5s2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47c.65.89 1.77 1.47 2.96 1.47c1.97 0 3.5-1.6 3.5-3.57V12c0-5.52-4.48-10-10-10zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3z"/></svg>';var remove$3="Αφαίρεση";var localeEl={remove:remove$3};var remove$2="Remove";var localeEn={remove:remove$2};var remove$1="Eliminar";var localeEs={remove:remove$1};var remove="Rimuovi";var localeIt={remove:remove};var mdsMentionCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-mention-icon-size:calc(var(--spacing,.0025rem)*600);align-items:center;background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));cursor:pointer;display:inline-flex;fill:currentColor;padding:calc(var(--spacing,.0025rem)*25);padding-right:calc(var(--spacing,.0025rem)*200);vertical-align:middle}mds-icon{height:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600));width:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600))}:host([deletable]){padding-right:calc(var(--spacing,.0025rem)*25)}:host([size=sm]){--mds-mention-icon-size:calc(var(--spacing,.0025rem)*400)}:host([size=md]){--mds-mention-icon-size:calc(var(--spacing,.0025rem)*600)}.action-remove{border-radius:var(--magma-radius-full,var(--radius-full,1000px));corner-shape:round;flex-shrink:0;height:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600));margin-left:calc(var(--spacing,.0025rem)*50);min-height:0;min-width:0;padding:0;width:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600))}"};var MdsMention=/** @class */function(){function e(a){var i=this.constructor;var t=this;if(i===e)registerInstance(this,a);this.deleteEvent=createEvent(this,"mdsMentionDelete",7);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
2
  /**
3
3
  * Sets the size of the component: the typography of the label (`sm` caption, `md` detail,
4
4
  * `lg` h6) and the size of the icon
5
- */this.size="sm";this.sizeTypography={sm:"caption",md:"detail",lg:"h6"};this.onDeleteHandler=function(e){e.stopPropagation();t.deleteEvent.emit({event:e,element:t.host})}}e.prototype.render=function(){var e,i,a;var t=(e=this.icon)!==null&&e!==void 0?e:"";return h(Host,{key:"0f0c462630eacf83d9607339bedbce61e1c0fa00"},h("mds-icon",{key:"135c2dd5e3edc2920a73207f5e46cfefe5e85d5b",name:t!==""?t:miBaselineAlternateEmail}),h("mds-text",{key:"cc094197f0b2377d92aa903a555123e80354b08c",typography:this.sizeTypography[(i=this.size)!==null&&i!==void 0?i:"md"]},this.size==="lg"?this.label:h("b",null,this.label)),this.deletable&&h("mds-button",{key:"3d5fc1496866e343fac17bb0ef13aad89086a629",class:"action-remove",icon:miBaselineCancel,onClick:this.onDeleteHandler,size:"sm",title:"".concat(this.t.get("remove")," ").concat((a=this.label)!==null&&a!==void 0?a:"").trim(),tone:"text",variant:"dark"}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsMention.style=mdsMentionCss();export{MdsMention as mds_mention};
5
+ */this.size="sm";this.sizeTypography={sm:"caption",md:"detail",lg:"h6"};this.onDeleteHandler=function(e){e.stopPropagation();t.deleteEvent.emit({event:e,element:t.host})}}e.prototype.render=function(){var e,a,i;var t=(e=this.icon)!==null&&e!==void 0?e:"";return h(Host,{key:"2cc2255c3f3e54d17dea2fb8758b55de6319976e"},h("mds-icon",{key:"05586a40dcef97fc0b353ada10ff7ced492d4f95",name:t!==""?t:miBaselineAlternateEmail}),h("mds-text",{key:"8d95cc608b772b07b59fd4d3d3da543abf32bda6",typography:this.sizeTypography[(a=this.size)!==null&&a!==void 0?a:"md"]},this.size==="lg"?this.label:h("b",null,this.label)),this.deletable&&h("mds-button",{key:"8ef64bd8bf5fd367e2fd99231fcab8f8d33d2ea5",class:"action-remove",icon:miBaselineCancel,onClick:this.onDeleteHandler,size:"sm",title:"".concat(this.t.get("remove")," ").concat((i=this.label)!==null&&i!==void 0?i:"").trim(),tone:"text",variant:"dark"}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsMention.style=mdsMentionCss();export{MdsMention as mds_mention};
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(t,o,i,a){function n(t){return t instanceof i?t:new i((function(o){o(t)}))}return new(i||(i=Promise))((function(i,e){function s(t){try{d(a.next(t))}catch(t){e(t)}}function r(t){try{d(a["throw"](t))}catch(t){e(t)}}function d(t){t.done?i(t.value):n(t.value).then(s,r)}d((a=a.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var i={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},a,n,e,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=r(0),s["throw"]=r(1),s["return"]=r(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function r(t){return function(o){return d([t,o])}}function d(r){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,r[0]&&(i=0)),i)try{if(a=1,n&&(e=r[0]&2?n["return"]:r[0]?n["throw"]||((e=n["return"])&&e.call(n),0):n.next)&&!(e=e.call(n,r[1])).done)return e;if(n=0,e)r=[r[0]&2,e.value];switch(r[0]){case 0:case 1:e=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;n=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(e=i.trys,e=e.length>0&&e[e.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!e||r[1]>e[0]&&r[1]<e[3])){i.label=r[1];break}if(r[0]===6&&i.label<e[1]){i.label=e[1];e=r;break}if(e&&i.label<e[2]){i.label=e[2];i.ops.push(r);break}if(e[2])i.ops.pop();i.trys.pop();continue}r=o.call(t,i)}catch(t){r=[6,t];n=0}finally{a=e=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};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{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";import{m as miBaselineClose}from"./close-J-ikDhyq.js";import{L as Locale}from"./locale-B7Hw4niB.js";var close$3="Κλείσιμο";var localeEl={close:close$3};var close$2="Close";var localeEn={close:close$2};var close$1="Cerrar";var localeEs={close:close$1};var close="Chiudi";var localeIt={close:close};var mdsModalCss=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-modal-custom-closed-transform:rotateX(10deg) rotateY(0) scale(1.25) translateY(10%);--mds-modal-custom-window-distance:calc(var(--spacing,.0025rem)*600);--mds-modal-overlay-color:var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0));--mds-modal-overlay-opacity:var(--magma-overlay-opacity,.5);--mds-modal-transition-duration:var(--duration-500,.5s);--mds-modal-transition-timing-function:var(--mds-modal-transition-timing-funciton,var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1)));--mds-modal-window-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-modal-window-distance:0px;--mds-modal-window-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-overflow:auto;--mds-modal-window-radius:0;--mds-modal-window-shadow:var(--shadow-2xl,0 25px 50px -12px #00000040);--mds-modal-window-max-width:33%;--mds-modal-window-min-width:calc(var(--spacing,.0025rem)*10000);--mds-modal-z-index:var(--magma-modal-z-index,3000);--private-modal-transition-duration:var(--mds-modal-transition-duration,var(--duration-500,.5s));--private-modal-width:calc(100vw - var(--private-modal-window-close-margin));--private-modal-custom-opened-transform:translate(0);--private-modal-opened-transform:none;--private-modal-transition-window-transform:translate(0);--private-modal-window-close-margin:calc(var(--spacing,.0025rem)*2000);display:contents}.dialog{align-items:center;background-color:#0000;border:0;box-sizing:border-box;color:inherit;display:none;fill:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));height:auto;inset:0;justify-content:center;margin:0;max-height:none;max-width:none;overflow:clip;padding:0;perspective:calc(var(--spacing,.0025rem)*15000);position:fixed;transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:overlay,display;transition-timing-function:var(--mds-modal-transition-timing-function);width:auto;z-index:var(--mds-modal-z-index,1000)}.dialog[open]{display:flex}.dialog::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0);transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,overlay,display;transition-timing-function:var(--mds-modal-transition-timing-function)}:host([hide-backdrop]) .dialog{pointer-events:none}.action-close{--mds-button-color:rgb(var(--magma-on-backdrop,252 252 252));opacity:0;pointer-events:none;position:absolute;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,bottom,color,fill,opacity,top,transform;transition-timing-function:var(--mds-modal-transition-timing-function)}.action-close::part(icon){height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}:host([position=top-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=top][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(0) scale(.5) translateY(-80%)}:host([position=top-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([position=left][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) rotate(0) scale(.5) translate(-100%)}:host([position=center][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) scale(.5) translateY(40%)}:host([position=right][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(-22deg) rotate(0) scale(.5) translate(100%)}:host([position=bottom-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=bottom][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(0) scale(.5) translateY(80%)}:host([position=bottom-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([animation=custom]){--private-modal-opened-transform:var(--private-modal-custom-opened-transform);--private-modal-transition-window-transform:var(--mds-modal-custom-closed-transform,rotateX(10deg) rotateY(0) scale(1.25) translate(0,10%))}:host([position=top-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,-100%)}:host([position=top][animation=slide]){--private-modal-transition-window-transform:translateY(-100%)}:host([position=top-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,-100%)}:host([position=left][animation=slide]){--private-modal-transition-window-transform:translate(-100%)}:host([position=center][animation=slide]){--private-modal-transition-window-transform:translateY(25%)}:host([position=right][animation=slide]){--private-modal-transition-window-transform:translate(100%)}:host([position=bottom-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,100%)}:host([position=bottom][animation=slide]){--private-modal-transition-window-transform:translateY(50%)}:host([position=bottom-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,100%)}.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/var(--mds-modal-overlay-opacity,var(--magma-overlay-opacity,.5)))}@starting-style{.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0)}}:host ::slotted([slot=window]){margin:var(--mds-modal-custom-window-distance,calc(var(--spacing,.0025rem)*600));max-width:var(--magma-width-dialog,calc(var(--magma-width-form,var(--magma-width-reading,56ch)) + var(--magma-rhythm-inset,24px)*2));width:100%}.window{background-color:var(--mds-modal-window-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--mds-modal-window-radius,0);box-shadow:var(--mds-modal-window-shadow);box-sizing:border-box;display:grid;gap:0;grid-template-columns:repeat(1,minmax(0,100%));height:var(--mds-modal-window-height);margin:var(--mds-modal-window-distance,0);max-height:var(--mds-modal-window-max-height);max-width:var(--private-modal-width);min-width:var(--mds-modal-window-min-width,calc(var(--spacing,.0025rem)*10000));overflow:var(--mds-modal-window-overflow,auto);position:relative;width:100%}.window-content--empty{display:none}.window-content-wrapper{max-height:var(--mds-modal-window-max-height);overflow:hidden}.window-footer,.window-header{box-sizing:border-box;position:absolute}.window-header{inset:0 0 auto}.window-footer{inset:auto 0 0}.dialog .window,.dialog ::slotted([slot=window]){opacity:0;transform:var(--private-modal-transition-window-transform);transition-duration:var(--private-modal-transition-duration);transition-property:transform,opacity;transition-timing-function:var(--mds-modal-transition-timing-function)}.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:1;pointer-events:auto;transform:var(--private-modal-opened-transform)}@starting-style{.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:0;transform:var(--private-modal-transition-window-transform)}.window-content-wrapper{overflow:hidden}}:host([position=top-left]) .dialog,:host([position=top-right]) .dialog,:host([position=top]) .dialog{align-items:flex-start}:host([position=center]) .dialog,:host([position=left]) .dialog,:host([position=right]) .dialog{align-items:center}:host([position=bottom-left]) .dialog,:host([position=bottom-right]) .dialog,:host([position=bottom]) .dialog{align-items:flex-end}:host([position=bottom-left]) .dialog,:host([position=left]) .dialog,:host([position=top-left]) .dialog{justify-content:flex-start}:host([position=bottom]) .dialog,:host([position=center]) .dialog,:host([position=top]) .dialog{justify-content:center}:host([position=bottom-right]) .dialog,:host([position=right]) .dialog,:host([position=top-right]) .dialog{justify-content:flex-end}:host([position=top]){--mds-modal-window-height:auto;align-items:flex-start;justify-content:center}:host([position=top]) .window{--mds-modal-window-max-width:100vw;--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--mds-modal-window-height:100%;--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2)}:host([position=top-left]){align-items:flex-start;justify-content:flex-start}:host([position=top-right]){align-items:flex-start;justify-content:flex-end}:host([position=left]){align-items:center;justify-content:flex-start}:host([position=left]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=left][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=left]:not([opened])) .action-close{transform:translate(-120%)rotate(-45deg)}:host([position=center]){align-items:center;justify-content:center}:host([position=right]){align-items:center;justify-content:flex-end}:host([position=right]) .action-close{left:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=right]:not([opened])) .action-close{transform:translate(120%)rotate(45deg)}:host([position=right][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]){align-items:flex-end;justify-content:flex-start}:host([position=bottom]){--mds-modal-window-height:auto;align-items:flex-end;justify-content:center}:host([position=bottom-right]){align-items:flex-end;justify-content:flex-end}: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-modal-transition-duration:0s}:host([pref-contrast=more]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (max-width:480px){:host{--mds-modal-window-min-width:0px}:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--private-modal-width:100vw}:host([position=left]),:host([position=right]){--private-modal-width:calc(100% - var(--private-modal-window-close-margin))}:host([position=bottom-left]),:host([position=bottom-right]),:host([position=center]),:host([position=top-left]),:host([position=top-right]){--mds-modal-window-height:calc(100dvh - var(--private-modal-window-close-margin) - var(--mds-modal-window-distance,0)*2);--mds-modal-window-max-height:var(--mds-modal-window-height)}:host([position=bottom-left]) .dialog,:host([position=bottom-right]) .dialog,:host([position=center]) .dialog,:host([position=top-left]) .dialog,:host([position=top-right]) .dialog{align-items:flex-end}:host([position=bottom]),:host([position=top]){--mds-modal-window-max-height:calc(100dvh - var(--private-modal-window-close-margin) - var(--mds-modal-window-distance,0)*2)}:host([position=bottom-left]) .action-close,:host([position=bottom-right]) .action-close,:host([position=bottom]) .action-close,:host([position=center]) .action-close,:host([position=top-left]) .action-close,:host([position=top-right]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=top]) .action-close{bottom:calc(var(--spacing,.0025rem)*300);right:calc(var(--spacing,.0025rem)*300)}:host([position=bottom-left][opened]) .action-close,:host([position=bottom-right][opened]) .action-close,:host([position=bottom][opened]) .action-close,:host([position=center][opened]) .action-close,:host([position=top-left][opened]) .action-close,:host([position=top-right][opened]) .action-close,:host([position=top][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]:not([opened])) .action-close,:host([position=bottom-right]:not([opened])) .action-close,:host([position=bottom]:not([opened])) .action-close,:host([position=center]:not([opened])) .action-close,:host([position=top-left]:not([opened])) .action-close,:host([position=top-right]:not([opened])) .action-close{transform:translateY(-120%)rotate(45deg)}:host([position=top]:not([opened])) .action-close{transform:translateY(120%)rotate(-45deg)}}@media not all and (max-width:480px){:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--private-modal-width:var(--mds-modal-window-max-width,33%)}:host([position=bottom]),:host([position=center]),:host([position=top]){--private-modal-width:calc(100vw - var(--private-modal-window-close-margin)*2)}:host([position=bottom-left]) .action-close,:host([position=bottom]) .action-close,:host([position=center]) .action-close,:host([position=top-left]) .action-close,:host([position=top]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=bottom-right]) .action-close,:host([position=top-right]) .action-close{left:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=bottom-left][opened]) .action-close,:host([position=bottom-right][opened]) .action-close,:host([position=bottom][opened]) .action-close,:host([position=center][opened]) .action-close,:host([position=top-left][opened]) .action-close,:host([position=top-right][opened]) .action-close,:host([position=top][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]:not([opened])) .action-close,:host([position=bottom]:not([opened])) .action-close,:host([position=center]:not([opened])) .action-close,:host([position=top-left]:not([opened])) .action-close,:host([position=top]:not([opened])) .action-close{transform:translateY(-120%)rotate(45deg)}:host([position=bottom-right]:not([opened])) .action-close,:host([position=top-right]:not([opened])) .action-close{transform:translateY(-120%)rotate(-45deg)}}@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-modal-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'};var MdsModal=/** @class */function(){function t(t){var o=this.constructor;var i=this;if(o===MdsModal)registerInstance(this,t);this.openEvent=createEvent(this,"mdsModalOpen",7);this.showEvent=createEvent(this,"mdsModalShow",7);this.closeEvent=createEvent(this,"mdsModalClose",7);this.hideEvent=createEvent(this,"mdsModalHide",7);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
1
+ var __awaiter=this&&this.__awaiter||function(t,o,i,n){function a(t){return t instanceof i?t:new i((function(o){o(t)}))}return new(i||(i=Promise))((function(i,e){function s(t){try{d(n.next(t))}catch(t){e(t)}}function r(t){try{d(n["throw"](t))}catch(t){e(t)}}function d(t){t.done?i(t.value):a(t.value).then(s,r)}d((n=n.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var i={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},n,a,e,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=r(0),s["throw"]=r(1),s["return"]=r(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function r(t){return function(o){return d([t,o])}}function d(r){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,r[0]&&(i=0)),i)try{if(n=1,a&&(e=r[0]&2?a["return"]:r[0]?a["throw"]||((e=a["return"])&&e.call(a),0):a.next)&&!(e=e.call(a,r[1])).done)return e;if(a=0,e)r=[r[0]&2,e.value];switch(r[0]){case 0:case 1:e=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(e=i.trys,e=e.length>0&&e[e.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!e||r[1]>e[0]&&r[1]<e[3])){i.label=r[1];break}if(r[0]===6&&i.label<e[1]){i.label=e[1];e=r;break}if(e&&i.label<e[2]){i.label=e[2];i.ops.push(r);break}if(e[2])i.ops.pop();i.trys.pop();continue}r=o.call(t,i)}catch(t){r=[6,t];a=0}finally{n=e=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-BQhu9Pch.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{p as preferenceStore}from"./preference-B_NbXZNw.js";import{m as miBaselineClose}from"./close-J-ikDhyq.js";import{L as Locale}from"./locale-Cm8DHVsu.js";var close$3="Κλείσιμο";var localeEl={close:close$3};var close$2="Close";var localeEn={close:close$2};var close$1="Cerrar";var localeEs={close:close$1};var close="Chiudi";var localeIt={close:close};var mdsModalCss=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-modal-custom-closed-transform:rotateX(10deg) rotateY(0) scale(1.25) translateY(10%);--mds-modal-custom-window-distance:calc(var(--spacing,.0025rem)*600);--mds-modal-overlay-color:var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0));--mds-modal-overlay-opacity:var(--magma-overlay-opacity,.5);--mds-modal-transition-duration:var(--duration-500,.5s);--mds-modal-transition-timing-function:var(--mds-modal-transition-timing-funciton,var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1)));--mds-modal-window-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--magma-field-fill:var(--magma-surface-default,var(--surface-neutral-default,242 242 242));--mds-modal-window-distance:0px;--mds-modal-window-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-overflow:auto;--mds-modal-window-radius:0;--mds-modal-window-shadow:var(--shadow-2xl,0 25px 50px -12px #00000040);--mds-modal-window-max-width:33%;--mds-modal-window-min-width:calc(var(--spacing,.0025rem)*10000);--mds-modal-z-index:var(--magma-modal-z-index,3000);--private-modal-transition-duration:var(--mds-modal-transition-duration,var(--duration-500,.5s));--private-modal-width:calc(100vw - var(--private-modal-window-close-margin));--private-modal-custom-opened-transform:translate(0);--private-modal-opened-transform:none;--private-modal-transition-window-transform:translate(0);--private-modal-window-close-margin:calc(var(--spacing,.0025rem)*2000);display:contents}.dialog{align-items:center;background-color:#0000;border:0;box-sizing:border-box;color:inherit;display:none;fill:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));height:auto;inset:0;justify-content:center;margin:0;max-height:none;max-width:none;overflow:clip;padding:0;perspective:calc(var(--spacing,.0025rem)*15000);position:fixed;transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:overlay,display;transition-timing-function:var(--mds-modal-transition-timing-function);width:auto;z-index:var(--mds-modal-z-index,1000)}.dialog[open]{display:flex}.dialog::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0);transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,overlay,display;transition-timing-function:var(--mds-modal-transition-timing-function)}:host([hide-backdrop]) .dialog{pointer-events:none}.action-close{--mds-button-color:rgb(var(--magma-on-backdrop,252 252 252));opacity:0;pointer-events:none;position:absolute;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,bottom,color,fill,opacity,top,transform;transition-timing-function:var(--mds-modal-transition-timing-function)}.action-close::part(icon){height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}:host([position=top-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=top][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(0) scale(.5) translateY(-80%)}:host([position=top-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([position=left][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) rotate(0) scale(.5) translate(-100%)}:host([position=center][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) scale(.5) translateY(40%)}:host([position=right][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(-22deg) rotate(0) scale(.5) translate(100%)}:host([position=bottom-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=bottom][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(0) scale(.5) translateY(80%)}:host([position=bottom-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([animation=custom]){--private-modal-opened-transform:var(--private-modal-custom-opened-transform);--private-modal-transition-window-transform:var(--mds-modal-custom-closed-transform,rotateX(10deg) rotateY(0) scale(1.25) translate(0,10%))}:host([position=top-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,-100%)}:host([position=top][animation=slide]){--private-modal-transition-window-transform:translateY(-100%)}:host([position=top-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,-100%)}:host([position=left][animation=slide]){--private-modal-transition-window-transform:translate(-100%)}:host([position=center][animation=slide]){--private-modal-transition-window-transform:translateY(25%)}:host([position=right][animation=slide]){--private-modal-transition-window-transform:translate(100%)}:host([position=bottom-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,100%)}:host([position=bottom][animation=slide]){--private-modal-transition-window-transform:translateY(50%)}:host([position=bottom-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,100%)}.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/var(--mds-modal-overlay-opacity,var(--magma-overlay-opacity,.5)))}@starting-style{.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0)}}:host ::slotted([slot=window]){margin:var(--mds-modal-custom-window-distance,calc(var(--spacing,.0025rem)*600));max-width:var(--magma-width-dialog,calc(var(--magma-width-form,var(--magma-width-reading,56ch)) + var(--magma-rhythm-inset,24px)*2));width:100%}.window{background-color:var(--mds-modal-window-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--mds-modal-window-radius,0);box-shadow:var(--mds-modal-window-shadow);box-sizing:border-box;display:grid;gap:0;grid-template-columns:repeat(1,minmax(0,100%));height:var(--mds-modal-window-height);margin:var(--mds-modal-window-distance,0);max-height:var(--mds-modal-window-max-height);max-width:var(--private-modal-width);min-width:var(--mds-modal-window-min-width,calc(var(--spacing,.0025rem)*10000));overflow:var(--mds-modal-window-overflow,auto);position:relative;width:100%}.window-content--empty{display:none}.window-content-wrapper{max-height:var(--mds-modal-window-max-height);overflow:hidden}.window-footer,.window-header{box-sizing:border-box;position:absolute}.window-header{inset:0 0 auto}.window-footer{inset:auto 0 0}.dialog .window,.dialog ::slotted([slot=window]){opacity:0;transform:var(--private-modal-transition-window-transform);transition-duration:var(--private-modal-transition-duration);transition-property:transform,opacity;transition-timing-function:var(--mds-modal-transition-timing-function)}.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:1;pointer-events:auto;transform:var(--private-modal-opened-transform)}@starting-style{.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:0;transform:var(--private-modal-transition-window-transform)}.window-content-wrapper{overflow:hidden}}:host([position=top-left]) .dialog,:host([position=top-right]) .dialog,:host([position=top]) .dialog{align-items:flex-start}:host([position=center]) .dialog,:host([position=left]) .dialog,:host([position=right]) .dialog{align-items:center}:host([position=bottom-left]) .dialog,:host([position=bottom-right]) .dialog,:host([position=bottom]) .dialog{align-items:flex-end}:host([position=bottom-left]) .dialog,:host([position=left]) .dialog,:host([position=top-left]) .dialog{justify-content:flex-start}:host([position=bottom]) .dialog,:host([position=center]) .dialog,:host([position=top]) .dialog{justify-content:center}:host([position=bottom-right]) .dialog,:host([position=right]) .dialog,:host([position=top-right]) .dialog{justify-content:flex-end}:host([position=top]){--mds-modal-window-height:auto;align-items:flex-start;justify-content:center}:host([position=top]) .window{--mds-modal-window-max-width:100vw;--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--mds-modal-window-height:100%;--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2)}:host([position=top-left]){align-items:flex-start;justify-content:flex-start}:host([position=top-right]){align-items:flex-start;justify-content:flex-end}:host([position=left]){align-items:center;justify-content:flex-start}:host([position=left]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=left][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=left]:not([opened])) .action-close{transform:translate(-120%)rotate(-45deg)}:host([position=center]){align-items:center;justify-content:center}:host([position=right]){align-items:center;justify-content:flex-end}:host([position=right]) .action-close{left:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=right]:not([opened])) .action-close{transform:translate(120%)rotate(45deg)}:host([position=right][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]){align-items:flex-end;justify-content:flex-start}:host([position=bottom]){--mds-modal-window-height:auto;align-items:flex-end;justify-content:center}:host([position=bottom-right]){align-items:flex-end;justify-content:flex-end}: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-modal-transition-duration:0s}:host([pref-contrast=more]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (max-width:480px){:host{--mds-modal-window-min-width:0px}:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--private-modal-width:100vw}:host([position=left]),:host([position=right]){--private-modal-width:calc(100% - var(--private-modal-window-close-margin))}:host([position=bottom-left]),:host([position=bottom-right]),:host([position=center]),:host([position=top-left]),:host([position=top-right]){--mds-modal-window-height:calc(100dvh - var(--private-modal-window-close-margin) - var(--mds-modal-window-distance,0)*2);--mds-modal-window-max-height:var(--mds-modal-window-height)}:host([position=bottom-left]) .dialog,:host([position=bottom-right]) .dialog,:host([position=center]) .dialog,:host([position=top-left]) .dialog,:host([position=top-right]) .dialog{align-items:flex-end}:host([position=bottom]),:host([position=top]){--mds-modal-window-max-height:calc(100dvh - var(--private-modal-window-close-margin) - var(--mds-modal-window-distance,0)*2)}:host([position=bottom-left]) .action-close,:host([position=bottom-right]) .action-close,:host([position=bottom]) .action-close,:host([position=center]) .action-close,:host([position=top-left]) .action-close,:host([position=top-right]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=top]) .action-close{bottom:calc(var(--spacing,.0025rem)*300);right:calc(var(--spacing,.0025rem)*300)}:host([position=bottom-left][opened]) .action-close,:host([position=bottom-right][opened]) .action-close,:host([position=bottom][opened]) .action-close,:host([position=center][opened]) .action-close,:host([position=top-left][opened]) .action-close,:host([position=top-right][opened]) .action-close,:host([position=top][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]:not([opened])) .action-close,:host([position=bottom-right]:not([opened])) .action-close,:host([position=bottom]:not([opened])) .action-close,:host([position=center]:not([opened])) .action-close,:host([position=top-left]:not([opened])) .action-close,:host([position=top-right]:not([opened])) .action-close{transform:translateY(-120%)rotate(45deg)}:host([position=top]:not([opened])) .action-close{transform:translateY(120%)rotate(-45deg)}}@media not all and (max-width:480px){:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--private-modal-width:var(--mds-modal-window-max-width,33%)}:host([position=bottom]),:host([position=center]),:host([position=top]){--private-modal-width:calc(100vw - var(--private-modal-window-close-margin)*2)}:host([position=bottom-left]) .action-close,:host([position=bottom]) .action-close,:host([position=center]) .action-close,:host([position=top-left]) .action-close,:host([position=top]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=bottom-right]) .action-close,:host([position=top-right]) .action-close{left:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=bottom-left][opened]) .action-close,:host([position=bottom-right][opened]) .action-close,:host([position=bottom][opened]) .action-close,:host([position=center][opened]) .action-close,:host([position=top-left][opened]) .action-close,:host([position=top-right][opened]) .action-close,:host([position=top][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]:not([opened])) .action-close,:host([position=bottom]:not([opened])) .action-close,:host([position=center]:not([opened])) .action-close,:host([position=top-left]:not([opened])) .action-close,:host([position=top]:not([opened])) .action-close{transform:translateY(-120%)rotate(45deg)}:host([position=bottom-right]:not([opened])) .action-close,:host([position=top-right]:not([opened])) .action-close{transform:translateY(-120%)rotate(-45deg)}}@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-modal-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'};var MdsModal=/** @class */function(){function t(t){var o=this.constructor;var i=this;if(o===MdsModal)registerInstance(this,t);this.openEvent=createEvent(this,"mdsModalOpen",7);this.showEvent=createEvent(this,"mdsModalShow",7);this.closeEvent=createEvent(this,"mdsModalClose",7);this.hideEvent=createEvent(this,"mdsModalHide",7);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
2
  // Initialised on purpose: both readers compare it against '' (the strict boolean
3
3
  // rules forbid the truthiness check this used to be), and an undeclared field is
4
4
  // `undefined`, not ''. See enableOverflow.
@@ -43,16 +43,16 @@ this.setContentOverflow=function(t){if(i.windowContentWrapper){i.windowContentWr
43
43
  i.animationDelayTimeout=setTimeout(i.stopIntroAnimationWindow.bind(i),cssDurationToMilliseconds(i.cssTransitionDuration)+100)};this.animateCloseWindow=function(){i.setContentOverflow("hidden");clearTimeout(i.animationDelayTimeout);i.animationDelayTimeout=setTimeout(i.stopOutroAnimationWindow.bind(i),cssDurationToMilliseconds(i.cssTransitionDuration)+100)};this.setTouchStart=function(t){i.touchStartX=t.touches[0].clientX;i.touchStartY=t.touches[0].clientY};
44
44
  // a swipe is one more way to dismiss the modal: `strict` vetoes it, as it does Esc and the
45
45
  // backdrop
46
- this.setTouchEnd=function(t){if(i.interaction==="strict")return;var o=t.changedTouches[0].clientX;var a=t.changedTouches[0].clientY;var n=i.touchStartX-o;var e=i.touchStartY-a;
46
+ this.setTouchEnd=function(t){if(i.interaction==="strict")return;var o=t.changedTouches[0].clientX;var n=t.changedTouches[0].clientY;var a=i.touchStartX-o;var e=i.touchStartY-n;
47
47
  // if is NOT a diagonal swipe
48
- if(Math.abs(n)>Math.abs(e)){if(i.position==="right"&&n>0)return;if(i.position==="left"&&n<0)return;if(Math.abs(n)>Math.abs(i.touchMargin)){i.opened=undefined}}};this.addMobileEvents=function(){i.windowElement.addEventListener("touchstart",i.setTouchStart);i.windowElement.addEventListener("touchend",i.setTouchEnd)};this.updateSlots=function(){i.hasBottom=hasChildWithSlot(i.host,"bottom");i.hasTop=hasChildWithSlot(i.host,"top");i.hasWindow=hasChildWithSlot(i.host,"window");
48
+ if(Math.abs(a)>Math.abs(e)){if(i.position==="right"&&a>0)return;if(i.position==="left"&&a<0)return;if(Math.abs(a)>Math.abs(i.touchMargin)){i.opened=undefined}}};this.addMobileEvents=function(){i.windowElement.addEventListener("touchstart",i.setTouchStart);i.windowElement.addEventListener("touchend",i.setTouchEnd)};this.updateSlots=function(){i.hasBottom=hasChildWithSlot(i.host,"bottom");i.hasTop=hasChildWithSlot(i.host,"top");i.hasWindow=hasChildWithSlot(i.host,"window");
49
49
  // the slotted window is NOT given a role: the `<dialog>` below is the dialog already,
50
50
  // opened with showModal(), and a second one inside it reads as a second window
51
51
  };
52
52
  /**
53
53
  * Measures the header and the footer to pad the content: the states change
54
54
  * only when a measure differs, so the update pass settles after one render.
55
- */this.updateWindowPaddings=function(){var t,o,a,n;var e=(t=i.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".window-header");var s=(o=i.host.shadowRoot)===null||o===void 0?void 0:o.querySelector(".window-footer");var r=(a=e===null||e===void 0?void 0:e.offsetHeight)!==null&&a!==void 0?a:0;var d=(n=s===null||s===void 0?void 0:s.offsetHeight)!==null&&n!==void 0?n:0;if(r!==i.windowHeaderHeight)i.windowHeaderHeight=r;if(d!==i.windowFooterHeight)i.windowFooterHeight=d};this.showDialog=function(){if(!i.dialogEl||i.dialogEl.open){return}
55
+ */this.updateWindowPaddings=function(){var t,o,n,a;var e=(t=i.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".window-header");var s=(o=i.host.shadowRoot)===null||o===void 0?void 0:o.querySelector(".window-footer");var r=(n=e===null||e===void 0?void 0:e.offsetHeight)!==null&&n!==void 0?n:0;var d=(a=s===null||s===void 0?void 0:s.offsetHeight)!==null&&a!==void 0?a:0;if(r!==i.windowHeaderHeight)i.windowHeaderHeight=r;if(d!==i.windowFooterHeight)i.windowFooterHeight=d};this.showDialog=function(){if(!i.dialogEl||i.dialogEl.open){return}
56
56
  // `showModal()` promotes the dialog to the top layer, traps focus and inerts
57
57
  // the page. `show()` keeps it non-modal so the page behind stays interactive,
58
58
  // preserving the legacy `hideBackdrop` click-through behaviour.
@@ -89,4 +89,4 @@ this.updateWindowPaddings()};t.prototype.disconnectedCallback=function(){this.en
89
89
  this.openAfterRender=true;return}this.openAfterRender=false;if(!o){return}this.opened=undefined;this.closeDialog();if(this.overflow==="auto"){this.enableOverflow()}this.animateCloseWindow();this.closeEvent.emit()};t.prototype.handleHideBackdropProp=function(t){if(t===false){this.hideBackdrop=undefined}};
90
90
  /**
91
91
  * Closes the modal.
92
- */t.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.opened=undefined;return[2/*return*/]}))}))};t.prototype.render=function(){var t=this;return h(Host,{key:"4fa657c26f027629cbd1df8da0cda4a25940f858","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("dialog",{key:"d7595ca45712003876da9c50de28bd81e0e4ddde","aria-label":this.accessibleName,class:"dialog",part:"dialog",ref:function(o){return t.dialogEl=o},onPointerDown:this.handleBackdropPointerDown,onPointerUp:this.handleBackdropPointerUp,onClick:this.handleBackdropClick,onCancel:this.handleCancel},h("slot",{key:"074b7b422d2029bacd4865d69aaafdf2048dc4be",name:"window",onSlotchange:this.updateSlots}),!this.hasWindow&&h("div",{key:"fdec1cd887eb09ecc73017e64d3404776908f84f",class:"window",part:"window"},h("div",{key:"5f2f6eaaf28f5e05d6033037d81955239a7ba47a",class:clsx("window-header",!this.hasTop&&"window-content--empty")},h("slot",{key:"95baad473882f73f97ac36b5bdd9771699183831",name:"top",onSlotchange:this.updateSlots})),h("div",{key:"da5f66a576530dc02c8a80124de33424dfeb21b8",class:"window-content-wrapper"},h("div",{key:"fad382c6b1ccdcbe3b77f3717a4f095df50ae200",class:"window-content",style:{paddingTop:"".concat(this.windowHeaderHeight,"px"),paddingBottom:"".concat(this.windowFooterHeight,"px")}},h("slot",{key:"6a05fe0e7cd31740ad7368b505b857df5509aff2"}))),h("div",{key:"cff0b26e531699c9933d71c534f9badb9ed61364",class:clsx("window-footer",!this.hasBottom&&"window-content--empty")},h("slot",{key:"0ad9eb5c8906d5ff5f32eb9a2aa126cebc3c65a4",name:"bottom",onSlotchange:this.updateSlots}))),!this.hasWindow&&h("mds-button",{key:"53214b1a180a354b98f973e6fef5d8c2a37f6500","aria-label":this.t.get("close"),class:"action-close",icon:miBaselineClose,variant:"light",tone:"text",size:"xl",onClick:this.handleCloseClick,part:"action-close"})))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{opened:[{handleOpenProp:0}],hideBackdrop:[{handleHideBackdropProp:0}]}},enumerable:false,configurable:true});return t}();MdsModal.style=mdsModalCss();export{MdsModal as mds_modal};
92
+ */t.prototype.close=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.opened=undefined;return[2/*return*/]}))}))};t.prototype.render=function(){var t=this;return h(Host,{key:"249c66aba8bc2f085499207628bdefd8ef549625","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("dialog",{key:"8a51e241c2060c5da3631f6542d9b97a9b96698b","aria-label":this.accessibleName,class:"dialog",part:"dialog",ref:function(o){return t.dialogEl=o},onPointerDown:this.handleBackdropPointerDown,onPointerUp:this.handleBackdropPointerUp,onClick:this.handleBackdropClick,onCancel:this.handleCancel},h("slot",{key:"83307972a6e26ebbb7275fdbb03e06afca84cdd8",name:"window",onSlotchange:this.updateSlots}),!this.hasWindow&&h("div",{key:"507cec3b114ab59fdc45db4dc20200ef10736145",class:"window",part:"window"},h("div",{key:"66672b3b8e6d93f85a611883190db309d852e98e",class:clsx("window-header",!this.hasTop&&"window-content--empty")},h("slot",{key:"e408f8d14ab7c8ae393409ded28122a348296143",name:"top",onSlotchange:this.updateSlots})),h("div",{key:"0ef2f19fa55c6fab8d8e613c3e23a7bb301d49df",class:"window-content-wrapper"},h("div",{key:"61294676e39772c048ed430f137e152f90aace42",class:"window-content",style:{paddingTop:"".concat(this.windowHeaderHeight,"px"),paddingBottom:"".concat(this.windowFooterHeight,"px")}},h("slot",{key:"f4e1798dd7623119b779aa744026d4416e9e6555"}))),h("div",{key:"c068a9ca5908014eeed68aa59b4c96e67b1acbf9",class:clsx("window-footer",!this.hasBottom&&"window-content--empty")},h("slot",{key:"d27a8e37dedbc88bb44b9629b84a79cee3bdf922",name:"bottom",onSlotchange:this.updateSlots}))),!this.hasWindow&&h("mds-button",{key:"87d09abebd9231e0e1295ace85e67889ed7d0d0f","aria-label":this.t.get("close"),class:"action-close",icon:miBaselineClose,variant:"light",tone:"text",size:"xl",onClick:this.handleCloseClick,part:"action-close"})))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{opened:[{handleOpenProp:0}],hideBackdrop:[{handleHideBackdropProp:0}]}},enumerable:false,configurable:true});return t}();MdsModal.style=mdsModalCss();export{MdsModal as mds_modal};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{m as miBaselineClose}from"./close-J-ikDhyq.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 deleteLabel$3="Αφαίρεση";var localeEl={deleteLabel:deleteLabel$3};var deleteLabel$2="Remove";var localeEn={deleteLabel:deleteLabel$2};var deleteLabel$1="Eliminar";var localeEs={deleteLabel:deleteLabel$1};var deleteLabel="Rimuovi";var localeIt={deleteLabel:deleteLabel};var mdsNoteCss=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-note-background:rgb(var(--label-yellow-10,253 236 186));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-fold-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-note-fold-size:calc(var(--spacing,.0025rem)*1000);--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68)));--mds-note-transition-duration:var(--duration-300,.3s);--private-note-transition-duration:var(--mds-note-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-note-background,rgb(var(--label-yellow-10,253 236 186)));border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));color:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*200);overflow:hidden;padding:calc(var(--spacing,.0025rem)*600);position:relative;transition-duration:var(--private-note-transition-duration);transition-property:color,background-color}:host ::slotted(mds-text){--mds-text-selection-background:var(--mds-note-selection-background,var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251))));--mds-text-selection-color:var(--mds-note-selection-color,var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68))))}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*1600)}:host([deletable]:not([deletable=false])) .button-close{position:absolute;right:calc(var(--spacing,.0025rem)*400);top:calc(var(--spacing,.0025rem)*400)}.fold{border-color:#0000 #0000 var(--mds-note-fold-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) #0000;border-style:solid;border-width:0 0 var(--mds-note-fold-size,calc(var(--spacing,.0025rem)*1000)) var(--mds-note-fold-size,calc(var(--spacing,.0025rem)*1000));bottom:0;display:block;filter:drop-shadow(0 0 var(--mds-note-fold-size,calc(var(--spacing,.0025rem)*1000)) var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3))));height:0;opacity:.4;pointer-events:none;position:absolute;right:0;transition-duration:inherit;transition-property:border;width:0}.button-close{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:#0000;border-radius:var(--magma-radius-full,var(--radius-full,1000px));cursor:pointer;fill:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));padding:calc(var(--spacing,.0025rem)*100);transition-duration:var(--duration-200,.2s);transition-property:background-color,fill,outline,outline-offset;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.button-close:hover{background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5)}:host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-09,253 214 221));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-selection-color:rgb(var(--label-amaranth-04,213 12 47))}:host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-09,151 237 252));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-selection-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=blue]){--mds-note-background:rgb(var(--label-blue-09,216 222 254));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-08,200 210 253));--mds-note-selection-color:rgb(var(--label-blue-04,63 94 248))}:host([variant=green]){--mds-note-background:rgb(var(--label-green-09,165 240 193));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-08,125 232 164));--mds-note-selection-color:rgb(var(--label-green-04,22 128 61))}:host([variant=lime]){--mds-note-background:rgb(var(--label-lime-09,189 239 111));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-08,159 232 46));--mds-note-selection-color:rgb(var(--label-lime-04,81 124 13))}:host([variant=orange]){--mds-note-background:rgb(var(--label-orange-09,253 217 191));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-08,253 201 166));--mds-note-selection-color:rgb(var(--label-orange-04,185 78 5))}:host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-09,251 213 232));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-selection-color:rgb(var(--label-orchid-04,206 21 113))}:host([variant=purple]){--mds-note-background:rgb(var(--label-purple-09,235 216 253));--mds-note-color:rgb(var(--label-purple-02,90 8 168));--mds-note-selection-background:rgb(var(--label-purple-08,228 202 252));--mds-note-selection-color:rgb(var(--label-purple-04,150 51 245))}:host([variant=red]){--mds-note-background:rgb(var(--label-red-09,250 215 215));--mds-note-color:rgb(var(--label-red-02,131 17 17));--mds-note-selection-background:rgb(var(--label-red-08,248 201 201));--mds-note-selection-color:rgb(var(--label-red-04,212 28 28))}:host([variant=sky]){--mds-note-background:rgb(var(--label-sky-09,185 231 251));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-08,157 220 249));--mds-note-selection-color:rgb(var(--label-sky-04,10 118 167))}:host([variant=violet]){--mds-note-background:rgb(var(--label-violet-09,229 218 253));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-08,219 205 252));--mds-note-selection-color:rgb(var(--label-violet-04,126 73 245))}:host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-09,251 221 131));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-selection-color:rgb(var(--label-yellow-04,141 107 5))}: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-note-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}@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-note-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}}'};var MdsNote=/** @class */function(){function e(o){var r=this.constructor;var a=this;if(r===e)registerInstance(this,o);this.deleteEvent=createEvent(this,"mdsNoteDelete",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-BQhu9Pch.js";import{m as miBaselineClose}from"./close-J-ikDhyq.js";import{K as KeyboardManager}from"./keyboard-manager-CGrPq3C4.js";import{L as Locale}from"./locale-Cm8DHVsu.js";import{p as preferenceStore}from"./preference-B_NbXZNw.js";var deleteLabel$3="Αφαίρεση";var localeEl={deleteLabel:deleteLabel$3};var deleteLabel$2="Remove";var localeEn={deleteLabel:deleteLabel$2};var deleteLabel$1="Eliminar";var localeEs={deleteLabel:deleteLabel$1};var deleteLabel="Rimuovi";var localeIt={deleteLabel:deleteLabel};var mdsNoteCss=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-note-background:rgb(var(--label-yellow-10,255 235 200));--mds-note-color:rgb(var(--label-yellow-02,86 67 20));--mds-note-fold-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-note-fold-size:calc(var(--spacing,.0025rem)*1000);--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-sky-09,196 229 250)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-sky-01,1 48 72)));--mds-note-transition-duration:var(--duration-300,.3s);--private-note-transition-duration:var(--mds-note-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-note-background,rgb(var(--label-yellow-10,255 235 200)));border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));color:var(--mds-note-color,rgb(var(--label-yellow-02,86 67 20)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*200);overflow:hidden;padding:calc(var(--spacing,.0025rem)*600);position:relative;transition-duration:var(--private-note-transition-duration);transition-property:color,background-color}:host ::slotted(mds-text){--mds-text-selection-background:var(--mds-note-selection-background,var(--magma-selection-background,rgb(var(--label-sky-09,196 229 250))));--mds-text-selection-color:var(--mds-note-selection-color,var(--magma-selection-color,rgb(var(--label-sky-01,1 48 72))))}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*1600)}:host([deletable]:not([deletable=false])) .button-close{position:absolute;right:calc(var(--spacing,.0025rem)*400);top:calc(var(--spacing,.0025rem)*400)}.fold{border-color:#0000 #0000 var(--mds-note-fold-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) #0000;border-style:solid;border-width:0 0 var(--mds-note-fold-size,calc(var(--spacing,.0025rem)*1000)) var(--mds-note-fold-size,calc(var(--spacing,.0025rem)*1000));bottom:0;display:block;filter:drop-shadow(0 0 var(--mds-note-fold-size,calc(var(--spacing,.0025rem)*1000)) var(--mds-note-color,rgb(var(--label-yellow-02,86 67 20))));height:0;opacity:.4;pointer-events:none;position:absolute;right:0;transition-duration:inherit;transition-property:border;width:0}.button-close{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:#0000;border-radius:var(--magma-radius-full,var(--radius-full,1000px));cursor:pointer;fill:var(--mds-note-color,rgb(var(--label-yellow-02,86 67 20)));padding:calc(var(--spacing,.0025rem)*100);transition-duration:var(--duration-200,.2s);transition-property:background-color,fill,outline,outline-offset;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.button-close:hover{background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5)}:host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-09,255 214 215));--mds-note-color:rgb(var(--label-amaranth-02,126 28 45));--mds-note-selection-background:rgb(var(--label-amaranth-08,255 197 200));--mds-note-selection-color:rgb(var(--label-amaranth-04,202 51 77))}:host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-09,151 237 252));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-selection-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=blue]){--mds-note-background:rgb(var(--label-blue-09,209 224 254));--mds-note-color:rgb(var(--label-blue-02,9 41 189));--mds-note-selection-background:rgb(var(--label-blue-08,191 212 255));--mds-note-selection-color:rgb(var(--label-blue-04,44 96 250))}:host([variant=green]){--mds-note-background:rgb(var(--label-green-09,154 242 188));--mds-note-color:rgb(var(--label-green-02,12 79 37));--mds-note-selection-background:rgb(var(--label-green-08,119 233 161));--mds-note-selection-color:rgb(var(--label-green-04,21 128 61))}:host([variant=lime]){--mds-note-background:rgb(var(--label-lime-09,186 240 97));--mds-note-color:rgb(var(--label-lime-02,49 76 6));--mds-note-selection-background:rgb(var(--label-lime-08,158 232 41));--mds-note-selection-color:rgb(var(--label-lime-04,81 124 12))}:host([variant=orange]){--mds-note-background:rgb(var(--label-orange-09,255 215 194));--mds-note-color:rgb(var(--label-orange-02,114 49 5));--mds-note-selection-background:rgb(var(--label-orange-08,255 199 170));--mds-note-selection-color:rgb(var(--label-orange-04,181 82 13))}:host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-09,255 212 229));--mds-note-color:rgb(var(--label-orchid-02,129 0 66));--mds-note-selection-background:rgb(var(--label-orchid-08,255 196 218));--mds-note-selection-color:rgb(var(--label-orchid-04,202 34 125))}:host([variant=purple]){--mds-note-background:rgb(var(--label-purple-09,233 217 255));--mds-note-color:rgb(var(--label-purple-02,95 0 162));--mds-note-selection-background:rgb(var(--label-purple-08,225 202 255));--mds-note-selection-color:rgb(var(--label-purple-04,150 64 227))}:host([variant=red]){--mds-note-background:rgb(var(--label-red-09,250 215 215));--mds-note-color:rgb(var(--label-red-02,131 17 17));--mds-note-selection-background:rgb(var(--label-red-08,248 201 201));--mds-note-selection-color:rgb(var(--label-red-04,212 28 28))}:host([variant=sky]){--mds-note-background:rgb(var(--label-sky-09,196 229 250));--mds-note-color:rgb(var(--label-sky-02,3 73 106));--mds-note-selection-background:rgb(var(--label-sky-08,172 217 248));--mds-note-selection-color:rgb(var(--label-sky-04,7 118 169))}:host([variant=violet]){--mds-note-background:rgb(var(--label-violet-09,225 219 255));--mds-note-color:rgb(var(--label-violet-02,84 7 175));--mds-note-selection-background:rgb(var(--label-violet-08,214 205 255));--mds-note-selection-color:rgb(var(--label-violet-04,128 78 232))}:host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-09,254 219 157));--mds-note-color:rgb(var(--label-yellow-02,86 67 20));--mds-note-selection-background:rgb(var(--label-yellow-08,249 205 117));--mds-note-selection-color:rgb(var(--label-yellow-04,140 107 22))}: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-note-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,255 197 200));--mds-note-fold-color:rgb(var(--label-amaranth-06,255 135 144));--mds-note-color:rgb(var(--label-amaranth-02,126 28 45));--mds-note-selection-background:rgb(var(--label-amaranth-07,255 169 173));--mds-note-selection-color:rgb(var(--label-amaranth-03,162 38 60))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,191 212 255));--mds-note-fold-color:rgb(var(--label-blue-06,131 170 255));--mds-note-color:rgb(var(--label-blue-02,9 41 189));--mds-note-selection-background:rgb(var(--label-blue-07,162 192 255));--mds-note-selection-color:rgb(var(--label-blue-03,15 55 241))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,119 233 161));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,12 79 37));--mds-note-selection-background:rgb(var(--label-green-07,43 218 108));--mds-note-selection-color:rgb(var(--label-green-03,16 102 48))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,158 232 41));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 6));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 21));--mds-note-selection-color:rgb(var(--label-lime-03,63 99 9))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,255 199 170));--mds-note-fold-color:rgb(var(--label-orange-06,253 141 81));--mds-note-color:rgb(var(--label-orange-02,114 49 5));--mds-note-selection-background:rgb(var(--label-orange-07,255 172 130));--mds-note-selection-color:rgb(var(--label-orange-03,146 64 8))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,255 196 218));--mds-note-fold-color:rgb(var(--label-orchid-06,248 134 183));--mds-note-color:rgb(var(--label-orchid-02,129 0 66));--mds-note-selection-background:rgb(var(--label-orchid-07,253 167 201));--mds-note-selection-color:rgb(var(--label-orchid-03,165 0 94))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,172 217 248));--mds-note-fold-color:rgb(var(--label-sky-06,82 180 238));--mds-note-color:rgb(var(--label-sky-02,3 73 106));--mds-note-selection-background:rgb(var(--label-sky-07,131 199 243));--mds-note-selection-color:rgb(var(--label-sky-03,4 95 136))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,214 205 255));--mds-note-fold-color:rgb(var(--label-violet-06,178 157 254));--mds-note-color:rgb(var(--label-violet-02,84 7 175));--mds-note-selection-background:rgb(var(--label-violet-07,196 182 255));--mds-note-selection-color:rgb(var(--label-violet-03,105 49 204))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 205 117));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 15));--mds-note-color:rgb(var(--label-yellow-02,86 67 20));--mds-note-selection-background:rgb(var(--label-yellow-07,237 184 41));--mds-note-selection-color:rgb(var(--label-yellow-03,111 85 22))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}@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-note-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,255 197 200));--mds-note-fold-color:rgb(var(--label-amaranth-06,255 135 144));--mds-note-color:rgb(var(--label-amaranth-02,126 28 45));--mds-note-selection-background:rgb(var(--label-amaranth-07,255 169 173));--mds-note-selection-color:rgb(var(--label-amaranth-03,162 38 60))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,191 212 255));--mds-note-fold-color:rgb(var(--label-blue-06,131 170 255));--mds-note-color:rgb(var(--label-blue-02,9 41 189));--mds-note-selection-background:rgb(var(--label-blue-07,162 192 255));--mds-note-selection-color:rgb(var(--label-blue-03,15 55 241))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,119 233 161));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,12 79 37));--mds-note-selection-background:rgb(var(--label-green-07,43 218 108));--mds-note-selection-color:rgb(var(--label-green-03,16 102 48))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,158 232 41));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 6));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 21));--mds-note-selection-color:rgb(var(--label-lime-03,63 99 9))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,255 199 170));--mds-note-fold-color:rgb(var(--label-orange-06,253 141 81));--mds-note-color:rgb(var(--label-orange-02,114 49 5));--mds-note-selection-background:rgb(var(--label-orange-07,255 172 130));--mds-note-selection-color:rgb(var(--label-orange-03,146 64 8))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,255 196 218));--mds-note-fold-color:rgb(var(--label-orchid-06,248 134 183));--mds-note-color:rgb(var(--label-orchid-02,129 0 66));--mds-note-selection-background:rgb(var(--label-orchid-07,253 167 201));--mds-note-selection-color:rgb(var(--label-orchid-03,165 0 94))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,172 217 248));--mds-note-fold-color:rgb(var(--label-sky-06,82 180 238));--mds-note-color:rgb(var(--label-sky-02,3 73 106));--mds-note-selection-background:rgb(var(--label-sky-07,131 199 243));--mds-note-selection-color:rgb(var(--label-sky-03,4 95 136))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,214 205 255));--mds-note-fold-color:rgb(var(--label-violet-06,178 157 254));--mds-note-color:rgb(var(--label-violet-02,84 7 175));--mds-note-selection-background:rgb(var(--label-violet-07,196 182 255));--mds-note-selection-color:rgb(var(--label-violet-03,105 49 204))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 205 117));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 15));--mds-note-color:rgb(var(--label-yellow-02,86 67 20));--mds-note-selection-background:rgb(var(--label-yellow-07,237 184 41));--mds-note-selection-color:rgb(var(--label-yellow-03,111 85 22))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}}'};var MdsNote=/** @class */function(){function e(o){var r=this.constructor;var a=this;if(r===e)registerInstance(this,o);this.deleteEvent=createEvent(this,"mdsNoteDelete",7);this.km=new KeyboardManager;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
2
  /**
3
3
  * Enables the cross icon to perform cancel/delete action on element
4
4
  */this.deletable=false;
@@ -7,4 +7,4 @@ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from".
7
7
  */this.variant="yellow";this.onClickClose=function(){a.deleteEvent.emit()};
8
8
  // Enter clicks the note only while it can be deleted: it was attached on load whatever
9
9
  // `deletable` said, and taken off only by the next update
10
- this.syncClickBehavior=function(){if(a.deletable){a.km.addElement(a.host);a.km.attachClickBehavior();return}a.km.detachClickBehavior()}}e.prototype.componentDidLoad=function(){this.syncClickBehavior()};e.prototype.componentDidUpdate=function(){this.syncClickBehavior()};e.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};e.prototype.render=function(){return h(Host,{key:"ad4f374fa09681ad4de4a94de33f670de48a7c05",role:"note","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.deletable&&h("mds-button",{key:"7d9e041c01e3ff31cbdb5652b81d0aa8aed96145",title:this.t.get("deleteLabel"),icon:miBaselineClose,class:"button-close",variant:"dark",tone:"text",onClick:this.onClickClose}),h("slot",{key:"41dcc7faa86fe83e0a123a79efac074ea4e7fb3e",name:"title"}),h("slot",{key:"d75306d50b37567497378a74ff1f37f559580ee0"}),h("div",{key:"43ad925ea4206649dfe7263dc830a80f5fd8bb9b","aria-hidden":"true",class:"fold"}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsNote.style=mdsNoteCss();export{MdsNote as mds_note};
10
+ this.syncClickBehavior=function(){if(a.deletable){a.km.addElement(a.host);a.km.attachClickBehavior();return}a.km.detachClickBehavior()}}e.prototype.componentDidLoad=function(){this.syncClickBehavior()};e.prototype.componentDidUpdate=function(){this.syncClickBehavior()};e.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};e.prototype.render=function(){return h(Host,{key:"c35582b371682defc36ce83a07b578ea47a79bae",role:"note","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.deletable&&h("mds-button",{key:"f382186bccb732247b6c3f64a1ea4398cad8b3a8",title:this.t.get("deleteLabel"),icon:miBaselineClose,class:"button-close",variant:"dark",tone:"text",onClick:this.onClickClose}),h("slot",{key:"b8ad10ac19653be29b5bf37c095621bbb4d1bc81",name:"title"}),h("slot",{key:"bd9dcf05f15202bcc41ad9f7d014e2740228e623"}),h("div",{key:"601c649283a0923d08d14cef3fa20ffccd491b8b","aria-hidden":"true",class:"fold"}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsNote.style=mdsNoteCss();export{MdsNote as mds_note};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{a as prefersReducedMotion,p as preferenceStore}from"./preference-CBMLGSf7.js";import{r as removeIdRef,s as setAttributeIfEmpty,h as hashRandomValue,a as addIdRef}from"./aria-DwKxtKwS.js";import{o as offset,s as shift,c as computePosition,b as autoUpdate}from"./floating-ui.dom-C7p9e0P3.js";var mdsNotificationCss=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-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-notification-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-notification-dot-padding:calc(var(--spacing,.0025rem)*150);--mds-notification-min-width:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));--mds-notification-ring-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-ring-size:calc(var(--spacing,.0025rem)*50);--mds-notification-size:calc(var(--spacing,.0025rem)*500);--mds-notification-transition-duration:var(--duration-200,.2s);--private-notification-transition-duration:var(--mds-notification-transition-duration,var(--duration-200,.2s));--mds-notification-dot-transition-duration:var(--duration-300,.3s);--private-notification-dot-transition-duration:var(--mds-notification-dot-transition-duration);--mds-notification-transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));--mds-notification-pulse-duration:var(--duration-1000,1s);--private-notification-pulse-duration:var(--mds-notification-pulse-duration);--mds-notification-pulse-spread:calc(var(--spacing,.0025rem)*200);--mds-notification-translate-offset-x:-1.75;--mds-notification-translate-offset-y:-2;--mds-notification-translate:translate(calc(var(--mds-notification-size,calc(var(--spacing,.0025rem) * 500)) / var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,calc(var(--spacing,.0025rem) * 500)) / var(--mds-notification-translate-offset-y,-2)));align-items:center;border-radius:var(--magma-radius-full,var(--radius-full,1000px));bottom:100%;color:var(--mds-notification-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:inline-flex;height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));justify-content:flex-end;min-width:max-content;pointer-events:none;width:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));z-index:10}:host([strategy=absolute]),:host([strategy=fixed]){opacity:0;right:100%;transform:var(--mds-notification-translate,translate(calc(var(--spacing,.0025rem)*500/-1.75),calc(var(--spacing,.0025rem)*500/-2))) scale(0);transform-origin:calc(100% - calc(var(--mds-notification-size,calc(var(--spacing,.0025rem) * 500)) / 2)) 50%;transition-duration:var(--private-notification-transition-duration);transition-property:color,height,opacity,transform,width;transition-timing-function:var(--mds-notification-transition-timing-function)}:host([strategy=absolute]){position:absolute}:host([strategy=fixed]){position:fixed}.dot{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-notification-dot-background,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-shadow:0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem)*50)) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));box-sizing:border-box;display:inline-flex;justify-content:center;line-height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));min-height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));min-width:var(--mds-notification-min-width,calc(var(--spacing,.0025rem)*500));padding-left:var(--mds-notification-dot-padding,calc(var(--spacing,.0025rem)*150));padding-right:var(--mds-notification-dot-padding,calc(var(--spacing,.0025rem)*150));position:static;transition-duration:var(--private-notification-dot-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));white-space:nowrap}:host([strategy=absolute]) .dot,:host([strategy=fixed]) .dot{position:absolute}.pulse{animation-duration:var(--private-notification-pulse-duration);animation-iteration-count:3;animation-name:notification-pulse;animation-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}@keyframes notification-pulse{0%{box-shadow:0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem)*50)) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))),0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem)*50)) var(--mds-notification-dot-background,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))))}to{box-shadow:0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem) * 50)) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))),0 0 0 calc(var(--mds-notification-ring-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-notification-pulse-spread)) #0000}}.spacer{box-sizing:border-box;display:inline-flex;height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));width:var(--mds-notification-min-width,calc(var(--spacing,.0025rem)*500))}:host([dismissed]:not([dismissed=false])[strategy=absolute]),:host([dismissed]:not([dismissed=false])[strategy=fixed]){--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));opacity:1;transform:var(--mds-notification-translate,translate(calc(var(--spacing,.0025rem)*500/-1.75),calc(var(--spacing,.0025rem)*500/-2))) scale(0);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}:host([strategy=absolute]:not([dismissed])),:host([strategy=absolute][dismissed=false]),:host([strategy=fixed]:not([dismissed])),:host([strategy=fixed][dismissed=false]){--tw-ease:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));opacity:1;transform:var(--mds-notification-translate,translate(calc(var(--spacing,.0025rem)*500/-1.75),calc(var(--spacing,.0025rem)*500/-2))) scale(1);transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}:host(:not([target])),:host([strategy=disabled]){opacity:1;position:static;transform:scale(1);transform-origin:unset;transition-duration:0s}:host(:not([target])) .dot,:host([strategy=disabled]) .dot{position:static}:host([dismissed]:not([dismissed=false]):not([target])),:host([dismissed]:not([dismissed=false])[strategy=disabled]){display:none}:host([variant=error]){--mds-notification-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=info]){--mds-notification-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=success]){--mds-notification-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=warning]){--mds-notification-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s;--private-notification-pulse-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-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s;--private-notification-pulse-duration:0s}}'};var MdsNotification=/** @class */function(){function i(t){var a=this.constructor;var n=this;if(a===i)registerInstance(this,t);this.describing=false;this.pulsing=false;
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-BQhu9Pch.js";import{a as prefersReducedMotion,p as preferenceStore}from"./preference-B_NbXZNw.js";import{r as removeIdRef,s as setAttributeIfEmpty,h as hashRandomValue,a as addIdRef}from"./aria-DwKxtKwS.js";import{o as offset,s as shift,c as computePosition,b as autoUpdate}from"./floating-ui.dom-C7p9e0P3.js";var mdsNotificationCss=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-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-notification-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-notification-dot-padding:calc(var(--spacing,.0025rem)*150);--mds-notification-min-width:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));--mds-notification-ring-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-ring-size:calc(var(--spacing,.0025rem)*50);--mds-notification-size:calc(var(--spacing,.0025rem)*500);--mds-notification-transition-duration:var(--duration-200,.2s);--private-notification-transition-duration:var(--mds-notification-transition-duration,var(--duration-200,.2s));--mds-notification-dot-transition-duration:var(--duration-300,.3s);--private-notification-dot-transition-duration:var(--mds-notification-dot-transition-duration);--mds-notification-transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));--mds-notification-pulse-duration:var(--duration-1000,1s);--private-notification-pulse-duration:var(--mds-notification-pulse-duration);--mds-notification-pulse-spread:calc(var(--spacing,.0025rem)*200);--mds-notification-translate-offset-x:-1.75;--mds-notification-translate-offset-y:-2;--mds-notification-translate:translate(calc(var(--mds-notification-size,calc(var(--spacing,.0025rem) * 500)) / var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,calc(var(--spacing,.0025rem) * 500)) / var(--mds-notification-translate-offset-y,-2)));align-items:center;border-radius:var(--magma-radius-full,var(--radius-full,1000px));bottom:100%;color:var(--mds-notification-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:inline-flex;height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));justify-content:flex-end;min-width:max-content;pointer-events:none;width:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));z-index:10}:host([strategy=absolute]),:host([strategy=fixed]){opacity:0;right:100%;transform:var(--mds-notification-translate,translate(calc(var(--spacing,.0025rem)*500/-1.75),calc(var(--spacing,.0025rem)*500/-2))) scale(0);transform-origin:calc(100% - calc(var(--mds-notification-size,calc(var(--spacing,.0025rem) * 500)) / 2)) 50%;transition-duration:var(--private-notification-transition-duration);transition-property:color,height,opacity,transform,width;transition-timing-function:var(--mds-notification-transition-timing-function)}:host([strategy=absolute]){position:absolute}:host([strategy=fixed]){position:fixed}.dot{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-notification-dot-background,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-shadow:0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem)*50)) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));box-sizing:border-box;display:inline-flex;justify-content:center;line-height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));min-height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));min-width:var(--mds-notification-min-width,calc(var(--spacing,.0025rem)*500));padding-left:var(--mds-notification-dot-padding,calc(var(--spacing,.0025rem)*150));padding-right:var(--mds-notification-dot-padding,calc(var(--spacing,.0025rem)*150));position:static;transition-duration:var(--private-notification-dot-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));white-space:nowrap}:host([strategy=absolute]) .dot,:host([strategy=fixed]) .dot{position:absolute}.pulse{animation-duration:var(--private-notification-pulse-duration);animation-iteration-count:3;animation-name:notification-pulse;animation-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}@keyframes notification-pulse{0%{box-shadow:0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem)*50)) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))),0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem)*50)) var(--mds-notification-dot-background,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))))}to{box-shadow:0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem) * 50)) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))),0 0 0 calc(var(--mds-notification-ring-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-notification-pulse-spread)) #0000}}.spacer{box-sizing:border-box;display:inline-flex;height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));width:var(--mds-notification-min-width,calc(var(--spacing,.0025rem)*500))}:host([dismissed]:not([dismissed=false])[strategy=absolute]),:host([dismissed]:not([dismissed=false])[strategy=fixed]){--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));opacity:1;transform:var(--mds-notification-translate,translate(calc(var(--spacing,.0025rem)*500/-1.75),calc(var(--spacing,.0025rem)*500/-2))) scale(0);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}:host([strategy=absolute]:not([dismissed])),:host([strategy=absolute][dismissed=false]),:host([strategy=fixed]:not([dismissed])),:host([strategy=fixed][dismissed=false]){--tw-ease:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));opacity:1;transform:var(--mds-notification-translate,translate(calc(var(--spacing,.0025rem)*500/-1.75),calc(var(--spacing,.0025rem)*500/-2))) scale(1);transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}:host(:not([target])),:host([strategy=disabled]){opacity:1;position:static;transform:scale(1);transform-origin:unset;transition-duration:0s}:host(:not([target])) .dot,:host([strategy=disabled]) .dot{position:static}:host([dismissed]:not([dismissed=false]):not([target])),:host([dismissed]:not([dismissed=false])[strategy=disabled]){display:none}:host([variant=error]){--mds-notification-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}:host([variant=info]){--mds-notification-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=success]){--mds-notification-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=warning]){--mds-notification-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s;--private-notification-pulse-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-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s;--private-notification-pulse-duration:0s}}'};var MdsNotification=/** @class */function(){function i(t){var a=this.constructor;var n=this;if(a===i)registerInstance(this,t);this.describing=false;this.pulsing=false;
2
2
  /**
3
3
  * Specifies the number of notifications to display. At 0 the badge shows no number, as an
4
4
  * empty dot: it is not hidden, `dismissed` takes it off its target
@@ -58,4 +58,4 @@ this.pulsing=false};
58
58
  * pref-animation sheet ends one that is playing when the preference changes.
59
59
  */i.prototype.valueHandler=function(i,t){
60
60
  // a removed attribute leaves null, which counts as no value
61
- if(!this.pulse||this.pulsing||!((i!==null&&i!==void 0?i:0)>(t!==null&&t!==void 0?t:0)))return;if(prefersReducedMotion())return;this.pulsing=true};i.prototype.strategyHandler=function(i){if(i==="disabled"){this.stopAutoUpdate()}};i.prototype.render=function(){return h(Host,{key:"cb1a04079317bf2c424e71a98465a53094ee92a4","aria-hidden":this.describing?"true":undefined,"pref-animation":preferenceStore.state.animation},h("mds-text",{key:"bfda61df8623001081a5fde30170f4bcc9ba3559",typography:"caption",class:{dot:true,pulse:this.pulse&&this.pulsing}},this.clean(this.value)))};Object.defineProperty(i.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(i,"watchers",{get:function(){return{value:[{valueHandler:0}],strategy:[{strategyHandler:0}]}},enumerable:false,configurable:true});return i}();MdsNotification.style=mdsNotificationCss();export{MdsNotification as mds_notification};
61
+ if(!this.pulse||this.pulsing||!((i!==null&&i!==void 0?i:0)>(t!==null&&t!==void 0?t:0)))return;if(prefersReducedMotion())return;this.pulsing=true};i.prototype.strategyHandler=function(i){if(i==="disabled"){this.stopAutoUpdate()}};i.prototype.render=function(){return h(Host,{key:"0cd7987a457c509276e22d9f915f94d68f954590","aria-hidden":this.describing?"true":undefined,"pref-animation":preferenceStore.state.animation},h("mds-text",{key:"f6bc061623bf46f19a6fbf98bce42f5373e93598",typography:"caption",class:{dot:true,pulse:this.pulse&&this.pulsing}},this.clean(this.value)))};Object.defineProperty(i.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(i,"watchers",{get:function(){return{value:[{valueHandler:0}],strategy:[{strategyHandler:0}]}},enumerable:false,configurable:true});return i}();MdsNotification.style=mdsNotificationCss();export{MdsNotification as mds_notification};
@@ -1,8 +1,8 @@
1
- import{r as registerInstance,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{K as KeyboardManager}from"./keyboard-manager-CGrPq3C4.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var mdsPaginatorItemCss=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-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-paginator-item-transition-duration:var(--duration-200,.2s);--private-paginator-item-transition-duration:var(--mds-paginator-item-transition-duration);--private-paginator-item-background-disabled:var(--mds-paginator-item-background-disabled,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));--private-paginator-item-background-hover:var(--mds-paginator-item-background-hover,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--private-paginator-item-background-selected:var(--mds-paginator-item-background-selected,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-paginator-item-background:var(--mds-paginator-item-background,#0000);--private-paginator-item-color-disabled:var(--mds-paginator-item-color-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-paginator-item-color-hover:var(--mds-paginator-item-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--private-paginator-item-color-selected:var(--mds-paginator-item-color-selected,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--private-paginator-item-color:var(--mds-paginator-item-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--private-paginator-item-radius:var(--mds-paginator-item-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-paginator-item-shadow-disabled:var(--mds-paginator-item-shadow-disabled,none);--private-paginator-item-shadow-hover:var(--mds-paginator-item-shadow-hover,none);--private-paginator-item-shadow-selected:var(--mds-paginator-item-shadow-selected,var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f));--private-paginator-item-shadow:var(--mds-paginator-item-shadow,none);--private-paginator-item-size:var(--mds-paginator-item-size,calc(var(--spacing,.0025rem)*900));animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));align-items:center;background-color:var(--private-paginator-item-background);border-radius:var(--private-paginator-item-radius);box-shadow:var(--private-paginator-item-shadow);box-sizing:border-box;color:var(--private-paginator-item-color);cursor:pointer;display:inline-flex;flex-shrink:0;height:var(--private-paginator-item-size);justify-content:center;min-width:var(--private-paginator-item-size);padding-inline:calc(var(--spacing,.0025rem)*300);transition-duration:.2s;transition-duration:var(--private-paginator-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:background-color,box-shadow,color,outline,outline-offset;transition-timing-function:ease-in-out;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));-webkit-user-select:none;user-select:none}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:hover){background-color:var(--private-paginator-item-background-hover);box-shadow:var(--private-paginator-item-shadow-hover);color:var(--private-paginator-item-color-hover);fill:var(--private-paginator-item-color-hover)}:host([icon]){padding:0}:host([selected]){background-color:var(--private-paginator-item-background-selected);box-shadow:var(--private-paginator-item-shadow-selected);color:var(--private-paginator-item-color-selected);fill:var(--private-paginator-item-color-selected);pointer-events:none}:host([disabled]){background-color:var(--private-paginator-item-background-disabled);box-shadow:var(--private-paginator-item-shadow-disabled);color:var(--private-paginator-item-color-disabled);fill:var(--private-paginator-item-color-disabled);pointer-events:none}.icon{fill:currentColor;padding-inline:0}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-paginator-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-paginator-item-transition-duration:0s}}'};var MdsPaginatorItem=/** @class */function(){function a(t){var e=this.constructor;var r=this;if(e===a)registerInstance(this,t);this.km=new KeyboardManager;
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-BQhu9Pch.js";import{K as KeyboardManager}from"./keyboard-manager-CGrPq3C4.js";import{p as preferenceStore}from"./preference-B_NbXZNw.js";var mdsPaginatorItemCss=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-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-paginator-item-transition-duration:var(--duration-200,.2s);--private-paginator-item-transition-duration:var(--mds-paginator-item-transition-duration);--private-paginator-item-background-disabled:var(--mds-paginator-item-background-disabled,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));--private-paginator-item-background-hover:var(--mds-paginator-item-background-hover,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--private-paginator-item-background-selected:var(--mds-paginator-item-background-selected,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,0 73 211))));--private-paginator-item-background:var(--mds-paginator-item-background,#0000);--private-paginator-item-color-disabled:var(--mds-paginator-item-color-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-paginator-item-color-hover:var(--mds-paginator-item-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--private-paginator-item-color-selected:var(--mds-paginator-item-color-selected,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--private-paginator-item-color:var(--mds-paginator-item-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--private-paginator-item-radius:var(--mds-paginator-item-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-paginator-item-shadow-disabled:var(--mds-paginator-item-shadow-disabled,none);--private-paginator-item-shadow-hover:var(--mds-paginator-item-shadow-hover,none);--private-paginator-item-shadow-selected:var(--mds-paginator-item-shadow-selected,var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f));--private-paginator-item-shadow:var(--mds-paginator-item-shadow,none);--private-paginator-item-size:var(--mds-paginator-item-size,calc(var(--spacing,.0025rem)*900));animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));align-items:center;background-color:var(--private-paginator-item-background);border-radius:var(--private-paginator-item-radius);box-shadow:var(--private-paginator-item-shadow);box-sizing:border-box;color:var(--private-paginator-item-color);cursor:pointer;display:inline-flex;flex-shrink:0;height:var(--private-paginator-item-size);justify-content:center;min-width:var(--private-paginator-item-size);padding-inline:calc(var(--spacing,.0025rem)*300);transition-duration:.2s;transition-duration:var(--private-paginator-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:background-color,box-shadow,color,outline,outline-offset;transition-timing-function:ease-in-out;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));-webkit-user-select:none;user-select:none}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:hover){background-color:var(--private-paginator-item-background-hover);box-shadow:var(--private-paginator-item-shadow-hover);color:var(--private-paginator-item-color-hover);fill:var(--private-paginator-item-color-hover)}:host([icon]){padding:0}:host([selected]){background-color:var(--private-paginator-item-background-selected);box-shadow:var(--private-paginator-item-shadow-selected);color:var(--private-paginator-item-color-selected);fill:var(--private-paginator-item-color-selected);pointer-events:none}:host([disabled]){background-color:var(--private-paginator-item-background-disabled);box-shadow:var(--private-paginator-item-shadow-disabled);color:var(--private-paginator-item-color-disabled);fill:var(--private-paginator-item-color-disabled);pointer-events:none}.icon{fill:currentColor;padding-inline:0}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-paginator-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-paginator-item-transition-duration:0s}}'};var MdsPaginatorItem=/** @class */function(){function a(t){var e=this.constructor;var r=this;if(e===a)registerInstance(this,t);this.km=new KeyboardManager;
2
2
  /**
3
3
  * The item is a button: Enter and Space click it as the pointer does, never while it is
4
4
  * disabled or is the selected page, which the pointer cannot click either. A disabled item
5
5
  * leaves the tab order; the selected page stays in it, so the keyboard finds where it is.
6
6
  */this.syncClickBehavior=function(){if(r.disabled||r.selected){r.km.detachClickBehavior();return}r.km.attachClickBehavior("element",{space:true})}}a.prototype.componentDidLoad=function(){this.km.addElement(this.host);this.syncClickBehavior()};a.prototype.componentDidUpdate=function(){this.syncClickBehavior()};
7
7
  // an item moved in the page is disconnected and connected again, without loading again
8
- a.prototype.connectedCallback=function(){this.syncClickBehavior()};a.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};a.prototype.render=function(){return h(Host,{key:"e79ad3883f8c82bf5c8be46f4d51795f9353b450","aria-current":this.selected?"page":undefined,"aria-disabled":this.disabled?"true":undefined,role:"button",tabindex:this.disabled?undefined:"0","pref-animation":preferenceStore.state.animation,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.icon!==undefined?h("mds-icon",{class:"icon",name:this.icon}):h("mds-text",{class:"text",typography:"caption"},h("b",null,h("slot",null))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return a}();MdsPaginatorItem.style=mdsPaginatorItemCss();export{MdsPaginatorItem as mds_paginator_item};
8
+ a.prototype.connectedCallback=function(){this.syncClickBehavior()};a.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};a.prototype.render=function(){return h(Host,{key:"c9d38effc2ced1fcc2a12f39760969f29693ddf3","aria-current":this.selected?"page":undefined,"aria-disabled":this.disabled?"true":undefined,role:"button",tabindex:this.disabled?undefined:"0","pref-animation":preferenceStore.state.animation,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.icon!==undefined?h("mds-icon",{class:"icon",name:this.icon}):h("mds-text",{class:"text",typography:"caption"},h("b",null,h("slot",null))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return a}();MdsPaginatorItem.style=mdsPaginatorItemCss();export{MdsPaginatorItem as mds_paginator_item};
@@ -1,14 +1,14 @@
1
- import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";import{m as miBaselineArrowBack}from"./arrow-back-DnEUG7st.js";import{m as miBaselineArrowForward}from"./arrow-forward-Bd0uuNDE.js";import{L as Locale}from"./locale-B7Hw4niB.js";var nextPage$3="Επόμενη σελίδα";var previousPage$3="Προηγούμενη σελίδα";var localeEl={nextPage:nextPage$3,previousPage:previousPage$3};var nextPage$2="Next page";var previousPage$2="Previous page";var localeEn={nextPage:nextPage$2,previousPage:previousPage$2};var nextPage$1="Página siguiente";var previousPage$1="Página anterior";var localeEs={nextPage:nextPage$1,previousPage:previousPage$1};var nextPage="Pagina successiva";var previousPage="Pagina precedente";var localeIt={nextPage:nextPage,previousPage:previousPage};var mdsPaginatorCss=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-paginator-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-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-paginator-scroll-behavior:smooth;--mds-paginator-transition-duration:var(--duration-200,.2s);--private-paginator-transition-duration:var(--mds-paginator-transition-duration);align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.pages{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-paginator-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;flex-shrink:1;gap:calc(var(--spacing,.0025rem)*50);margin-inline:calc(var(--spacing,.0025rem)*200);overflow:auto;padding:calc(var(--spacing,.0025rem)*200);scroll-behavior:var(--mds-paginator-scroll-behavior,smooth);transition-duration:var(--private-paginator-transition-duration);transition-property:background-color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.pages::-webkit-scrollbar{display:none}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-paginator-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])) .pages{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .pages{box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .item{--mds-paginator-item-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:none}:host([pref-contrast=more]) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host{--mds-paginator-scroll-behavior:auto}:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-paginator-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))) .pages{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .pages{box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-paginator-item-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:none}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}'};var MdsPaginator=/** @class */function(){function e(a){var r=this.constructor;var t=this;if(r===e)registerInstance(this,a);this.pageChangedEvent=createEvent(this,"mdsPaginatorChange",7);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-BQhu9Pch.js";import{p as preferenceStore}from"./preference-B_NbXZNw.js";import{m as miBaselineArrowBack}from"./arrow-back-DnEUG7st.js";import{m as miBaselineArrowForward}from"./arrow-forward-Bd0uuNDE.js";import{L as Locale}from"./locale-Cm8DHVsu.js";var nextPage$3="Επόμενη σελίδα";var previousPage$3="Προηγούμενη σελίδα";var localeEl={nextPage:nextPage$3,previousPage:previousPage$3};var nextPage$2="Next page";var previousPage$2="Previous page";var localeEn={nextPage:nextPage$2,previousPage:previousPage$2};var nextPage$1="Página siguiente";var previousPage$1="Página anterior";var localeEs={nextPage:nextPage$1,previousPage:previousPage$1};var nextPage="Pagina successiva";var previousPage="Pagina precedente";var localeIt={nextPage:nextPage,previousPage:previousPage};var mdsPaginatorCss=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-paginator-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-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-paginator-scroll-behavior:smooth;--mds-paginator-transition-duration:var(--duration-200,.2s);--private-paginator-transition-duration:var(--mds-paginator-transition-duration);align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.pages{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-paginator-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;flex-shrink:1;gap:calc(var(--spacing,.0025rem)*50);margin-inline:calc(var(--spacing,.0025rem)*200);overflow:auto;padding:calc(var(--spacing,.0025rem)*200);scroll-behavior:var(--mds-paginator-scroll-behavior,smooth);transition-duration:var(--private-paginator-transition-duration);transition-property:background-color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.pages::-webkit-scrollbar{display:none}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-paginator-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])) .pages{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .pages{box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .item{--mds-paginator-item-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:none}:host([pref-contrast=more]) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host{--mds-paginator-scroll-behavior:auto}:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-paginator-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))) .pages{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .pages{box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-paginator-item-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:none}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}'};var MdsPaginator=/** @class */function(){function e(a){var r=this.constructor;var t=this;if(r===e)registerInstance(this,a);this.pageChangedEvent=createEvent(this,"mdsPaginatorChange",7);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
2
  /**
3
3
  * Specifies the number of total pages to be handled
4
4
  */this.pages=0;
5
5
  /**
6
6
  * Specifies the current page selected in the paginator
7
- */this.currentPage=1;this.scrollPage=function(e){var a;var r=e;var i=(a=t.element.shadowRoot)===null||a===void 0?void 0:a.querySelector(".pages");var o=i===null||i===void 0?void 0:i.querySelectorAll("mds-paginator-item");if(!i||!o)return;if(r<0){i.scrollLeft=0;return}if(r>o.length-1){var n=o[o.length-1];i.scrollLeft=n.offsetLeft-i.offsetLeft;return}var s=o[r];i.scrollLeft=s.offsetLeft-i.offsetLeft-i.offsetWidth/2+s.offsetWidth/2};
7
+ */this.currentPage=1;this.scrollPage=function(e){var a;var r=e;var o=(a=t.element.shadowRoot)===null||a===void 0?void 0:a.querySelector(".pages");var i=o===null||o===void 0?void 0:o.querySelectorAll("mds-paginator-item");if(!o||!i)return;if(r<0){o.scrollLeft=0;return}if(r>i.length-1){var n=i[i.length-1];o.scrollLeft=n.offsetLeft-o.offsetLeft;return}var s=i[r];o.scrollLeft=s.offsetLeft-o.offsetLeft-o.offsetWidth/2+s.offsetWidth/2};
8
8
  /**
9
9
  * The strip follows the focused item only when the focus comes from the keyboard.
10
10
  * On a pointer interaction the item receives focus on mousedown: scrolling the strip
11
11
  * at that moment moves the item away from under the pointer, the mouseup lands on
12
12
  * another element and the browser dispatches the click on their common ancestor
13
13
  * (the strip itself) instead of the item, so the page would never be selected.
14
- */this.isKeyboardFocus=function(e){try{return e.matches(":focus-visible")}catch(e){return true}};this.handleItemFocus=function(e){var a;var r=e.target;if(!r||!t.isKeyboardFocus(r))return;var i=(a=t.element.shadowRoot)===null||a===void 0?void 0:a.querySelector(".pages");var o=i===null||i===void 0?void 0:i.querySelectorAll("mds-paginator-item");if(!o)return;t.scrollPage(Array.from(o).indexOf(r))};this.goToPage=function(e,a){if(e<1||e>t.pages){return}t.currentPage=e;if(t.pages>2){t.scrollPage(t.currentPage-2)}t.pageChangedEvent.emit({page:t.currentPage,caller:a})};this.handlePrevClick=function(e){t.goToPage(t.currentPage-1,e.target)};this.handleFirstClick=function(e){t.goToPage(1,e.target)};this.handlePageClick=function(e){return function(a){t.goToPage(e,a.target)}};this.handleLastClick=function(e){t.goToPage(t.pages,e.target)};this.handleNextClick=function(e){t.goToPage(t.currentPage+1,e.target)}}e.prototype.componentDidLoad=function(){var e=this;setTimeout((function(){e.goToPage(e.currentPage)}),10)};e.prototype.render=function(){var e=this;return h(Host,{key:"3a50733fcba35e57df5bb1105c0f7bae6b68b718","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-paginator-item",{key:"57d28d89e6d4a5203945b3dd5186d69782000e3a","aria-label":this.t.get("previousPage"),class:"item-icon",icon:miBaselineArrowBack,disabled:this.currentPage===1,onClick:this.handlePrevClick}),this.pages>0&&h("mds-paginator-item",{key:"4a8834dbf9fce48da00890a31d5bac84e68f5571",class:"item-first",selected:this.currentPage===1,onClick:this.handleFirstClick},"1"),this.pages>2&&h("div",{key:"6e1708080dbf44cbcf74662b397e1acbc8abd10d",class:"pages"},Array.from(Array(this.pages-2).keys()).map((function(a){return h("mds-paginator-item",{key:a,class:"item",selected:e.currentPage===a+2,onClick:e.handlePageClick(a+2),onFocus:e.handleItemFocus},a+2)}))),this.pages>1&&h("mds-paginator-item",{key:"83ded5d4945d44368386cf975647739d8db34171",class:"item-last",selected:this.currentPage===this.pages,onClick:this.handleLastClick},this.pages),h("mds-paginator-item",{key:"02c5f128143412de06bb32893712e3636a19fa81","aria-label":this.t.get("nextPage"),class:"item-icon",icon:miBaselineArrowForward,disabled:this.currentPage===this.pages,onClick:this.handleNextClick}))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsPaginator.style=mdsPaginatorCss();export{MdsPaginator as mds_paginator};
14
+ */this.isKeyboardFocus=function(e){try{return e.matches(":focus-visible")}catch(e){return true}};this.handleItemFocus=function(e){var a;var r=e.target;if(!r||!t.isKeyboardFocus(r))return;var o=(a=t.element.shadowRoot)===null||a===void 0?void 0:a.querySelector(".pages");var i=o===null||o===void 0?void 0:o.querySelectorAll("mds-paginator-item");if(!i)return;t.scrollPage(Array.from(i).indexOf(r))};this.goToPage=function(e,a){if(e<1||e>t.pages){return}t.currentPage=e;if(t.pages>2){t.scrollPage(t.currentPage-2)}t.pageChangedEvent.emit({page:t.currentPage,caller:a})};this.handlePrevClick=function(e){t.goToPage(t.currentPage-1,e.target)};this.handleFirstClick=function(e){t.goToPage(1,e.target)};this.handlePageClick=function(e){return function(a){t.goToPage(e,a.target)}};this.handleLastClick=function(e){t.goToPage(t.pages,e.target)};this.handleNextClick=function(e){t.goToPage(t.currentPage+1,e.target)}}e.prototype.componentDidLoad=function(){var e=this;setTimeout((function(){e.goToPage(e.currentPage)}),10)};e.prototype.render=function(){var e=this;return h(Host,{key:"c6f4a5bc33acf44341b5e516ee3209f91846d11e","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-paginator-item",{key:"041df6a22ee0d7c55646a7f09672894956d02dd3","aria-label":this.t.get("previousPage"),class:"item-icon",icon:miBaselineArrowBack,disabled:this.currentPage===1,onClick:this.handlePrevClick}),this.pages>0&&h("mds-paginator-item",{key:"c3a9b2e2b3f9d387164c91dde1298e91a32373ea",class:"item-first",selected:this.currentPage===1,onClick:this.handleFirstClick},"1"),this.pages>2&&h("div",{key:"4024d92df8b151095dd762c3d0944a9a89b0a3ea",class:"pages"},Array.from(Array(this.pages-2).keys()).map((function(a){return h("mds-paginator-item",{key:a,class:"item",selected:e.currentPage===a+2,onClick:e.handlePageClick(a+2),onFocus:e.handleItemFocus},a+2)}))),this.pages>1&&h("mds-paginator-item",{key:"77b855c290ac20fb52aaa5aab6f20e4a67747472",class:"item-last",selected:this.currentPage===this.pages,onClick:this.handleLastClick},this.pages),h("mds-paginator-item",{key:"e07b9b3477a143ad478c1ca116fae1a2f5b5d229","aria-label":this.t.get("nextPage"),class:"item-icon",icon:miBaselineArrowForward,disabled:this.currentPage===this.pages,onClick:this.handleNextClick}))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsPaginator.style=mdsPaginatorCss();export{MdsPaginator as mds_paginator};