@maggioli-design-system/magma 2.10.0 → 2.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1405) hide show
  1. package/AGENTS.md +2 -2
  2. package/CHANGELOG.md +59 -0
  3. package/README.md +14 -7
  4. package/agents/assets.md +1 -1
  5. package/agents/color.md +3 -2
  6. package/agents/mcp.md +5 -5
  7. package/agents/patterns/actions.md +4 -3
  8. package/agents/patterns/app-shell.md +70 -22
  9. package/agents/patterns/density.md +4 -3
  10. package/agents/patterns/previews/actions/banner.dark.webp +0 -0
  11. package/agents/patterns/previews/actions/banner.light.webp +0 -0
  12. package/agents/patterns/previews/actions/confirm.dark.webp +0 -0
  13. package/agents/patterns/previews/actions/confirm.light.webp +0 -0
  14. package/agents/patterns/previews/actions/danger-zone.dark.webp +0 -0
  15. package/agents/patterns/previews/actions/danger-zone.light.webp +0 -0
  16. package/agents/patterns/previews/actions/destructive-in-menu.dark.webp +0 -0
  17. package/agents/patterns/previews/actions/destructive-in-menu.light.webp +0 -0
  18. package/agents/patterns/previews/actions/dismiss-message.dark.webp +0 -0
  19. package/agents/patterns/previews/actions/dismiss-message.light.webp +0 -0
  20. package/agents/patterns/previews/actions/dismiss.dark.webp +0 -0
  21. package/agents/patterns/previews/actions/dismiss.light.webp +0 -0
  22. package/agents/patterns/previews/actions/more-in-menu.dark.webp +0 -0
  23. package/agents/patterns/previews/actions/more-in-menu.light.webp +0 -0
  24. package/agents/patterns/previews/actions/part-primary.dark.webp +0 -0
  25. package/agents/patterns/previews/actions/part-primary.light.webp +0 -0
  26. package/agents/patterns/previews/actions/primary.dark.webp +0 -0
  27. package/agents/patterns/previews/actions/primary.light.webp +0 -0
  28. package/agents/patterns/previews/actions/remove.dark.webp +0 -0
  29. package/agents/patterns/previews/actions/remove.light.webp +0 -0
  30. package/agents/patterns/previews/actions/secondary.dark.webp +0 -0
  31. package/agents/patterns/previews/actions/secondary.light.webp +0 -0
  32. package/agents/patterns/previews/actions/stacked.dark.webp +0 -0
  33. package/agents/patterns/previews/actions/stacked.light.webp +0 -0
  34. package/agents/patterns/previews/actions/toast.dark.webp +0 -0
  35. package/agents/patterns/previews/actions/toast.light.webp +0 -0
  36. package/agents/patterns/previews/app-shell/back-office.dark.webp +0 -0
  37. package/agents/patterns/previews/app-shell/back-office.html +2 -2
  38. package/agents/patterns/previews/app-shell/back-office.light.webp +0 -0
  39. package/agents/patterns/previews/app-shell/many-sections.dark.webp +0 -0
  40. package/agents/patterns/previews/app-shell/many-sections.html +1 -1
  41. package/agents/patterns/previews/app-shell/many-sections.light.webp +0 -0
  42. package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
  43. package/agents/patterns/previews/app-shell/public-service.html +2 -2
  44. package/agents/patterns/previews/app-shell/public-service.light.webp +0 -0
  45. package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
  46. package/agents/patterns/previews/app-shell/section-menus.html +68 -0
  47. package/agents/patterns/previews/app-shell/section-menus.light.webp +0 -0
  48. package/agents/patterns/previews/confirm-action/act-then-undo.dark.webp +0 -0
  49. package/agents/patterns/previews/confirm-action/act-then-undo.light.webp +0 -0
  50. package/agents/patterns/previews/confirm-action/ask-before-sending.dark.webp +0 -0
  51. package/agents/patterns/previews/confirm-action/ask-before-sending.light.webp +0 -0
  52. package/agents/patterns/previews/confirm-action/ask-first-many.dark.webp +0 -0
  53. package/agents/patterns/previews/confirm-action/ask-first-many.light.webp +0 -0
  54. package/agents/patterns/previews/confirm-action/ask-first.dark.webp +0 -0
  55. package/agents/patterns/previews/confirm-action/ask-first.light.webp +0 -0
  56. package/agents/patterns/previews/confirm-action/make-reversible.dark.webp +0 -0
  57. package/agents/patterns/previews/confirm-action/make-reversible.light.webp +0 -0
  58. package/agents/patterns/previews/confirm-action/send-as-shown.dark.webp +0 -0
  59. package/agents/patterns/previews/confirm-action/send-as-shown.light.webp +0 -0
  60. package/agents/patterns/previews/empty-state/add-the-first.dark.webp +0 -0
  61. package/agents/patterns/previews/empty-state/add-the-first.light.webp +0 -0
  62. package/agents/patterns/previews/empty-state/all-done.dark.webp +0 -0
  63. package/agents/patterns/previews/empty-state/all-done.light.webp +0 -0
  64. package/agents/patterns/previews/empty-state/clear-filters.dark.webp +0 -0
  65. package/agents/patterns/previews/empty-state/clear-filters.light.webp +0 -0
  66. package/agents/patterns/previews/empty-state/filled-by-others.dark.webp +0 -0
  67. package/agents/patterns/previews/empty-state/filled-by-others.light.webp +0 -0
  68. package/agents/patterns/previews/empty-state/not-found.dark.webp +0 -0
  69. package/agents/patterns/previews/empty-state/not-found.html +2 -2
  70. package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
  71. package/agents/patterns/previews/empty-state/one-line.dark.webp +0 -0
  72. package/agents/patterns/previews/empty-state/one-line.light.webp +0 -0
  73. package/agents/patterns/previews/error-recovery/action-another-way.dark.webp +0 -0
  74. package/agents/patterns/previews/error-recovery/action-another-way.light.webp +0 -0
  75. package/agents/patterns/previews/error-recovery/changed-meanwhile.dark.webp +0 -0
  76. package/agents/patterns/previews/error-recovery/changed-meanwhile.light.webp +0 -0
  77. package/agents/patterns/previews/error-recovery/check-or-repeat.dark.webp +0 -0
  78. package/agents/patterns/previews/error-recovery/check-or-repeat.light.webp +0 -0
  79. package/agents/patterns/previews/error-recovery/content-another-way.dark.webp +0 -0
  80. package/agents/patterns/previews/error-recovery/content-another-way.light.webp +0 -0
  81. package/agents/patterns/previews/error-recovery/partial.dark.webp +0 -0
  82. package/agents/patterns/previews/error-recovery/partial.light.webp +0 -0
  83. package/agents/patterns/previews/error-recovery/retry-action.dark.webp +0 -0
  84. package/agents/patterns/previews/error-recovery/retry-action.light.webp +0 -0
  85. package/agents/patterns/previews/error-recovery/retry-content.dark.webp +0 -0
  86. package/agents/patterns/previews/error-recovery/retry-content.light.webp +0 -0
  87. package/agents/patterns/previews/error-recovery/sign-in-again.dark.webp +0 -0
  88. package/agents/patterns/previews/error-recovery/sign-in-again.light.webp +0 -0
  89. package/agents/patterns/previews/item-list/documents-of-a-request.dark.webp +0 -0
  90. package/agents/patterns/previews/item-list/documents-of-a-request.light.webp +0 -0
  91. package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
  92. package/agents/patterns/previews/item-list/queue-of-a-desk.light.webp +0 -0
  93. package/agents/patterns/previews/item-list/requests-of-an-office.dark.webp +0 -0
  94. package/agents/patterns/previews/item-list/requests-of-an-office.light.webp +0 -0
  95. package/agents/patterns/previews/item-list/requests-to-assign.dark.webp +0 -0
  96. package/agents/patterns/previews/item-list/requests-to-assign.light.webp +0 -0
  97. package/agents/patterns/previews/labels-and-values/data-of-a-contact.dark.webp +0 -0
  98. package/agents/patterns/previews/labels-and-values/data-of-a-contact.light.webp +0 -0
  99. package/agents/patterns/previews/labels-and-values/payment-before-paying.dark.webp +0 -0
  100. package/agents/patterns/previews/labels-and-values/payment-before-paying.light.webp +0 -0
  101. package/agents/patterns/previews/labels-and-values/what-is-sent.dark.webp +0 -0
  102. package/agents/patterns/previews/labels-and-values/what-is-sent.light.webp +0 -0
  103. package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
  104. package/agents/patterns/previews/list-with-filters/act-on-many.html +2 -2
  105. package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
  106. package/agents/patterns/previews/list-with-filters/find-and-open.dark.webp +0 -0
  107. package/agents/patterns/previews/list-with-filters/find-and-open.html +2 -2
  108. package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
  109. package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
  110. package/agents/patterns/previews/list-with-filters/show-new-items.html +2 -2
  111. package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
  112. package/agents/patterns/previews/loading/await-and-say.dark.webp +0 -0
  113. package/agents/patterns/previews/loading/await-and-say.light.webp +0 -0
  114. package/agents/patterns/previews/loading/await-the-control.dark.webp +0 -0
  115. package/agents/patterns/previews/loading/await-the-control.light.webp +0 -0
  116. package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
  117. package/agents/patterns/previews/loading/first-load.light.webp +0 -0
  118. package/agents/patterns/previews/loading/keep-while-reloading.dark.webp +0 -0
  119. package/agents/patterns/previews/loading/keep-while-reloading.light.webp +0 -0
  120. package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
  121. package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
  122. package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
  123. package/agents/patterns/previews/loading/long-load.light.webp +0 -0
  124. package/agents/patterns/previews/loading/progress-in-place.dark.webp +0 -0
  125. package/agents/patterns/previews/loading/progress-in-place.light.webp +0 -0
  126. package/agents/patterns/previews/loading/run-in-background.dark.webp +0 -0
  127. package/agents/patterns/previews/loading/run-in-background.light.webp +0 -0
  128. package/agents/patterns/previews/message-placement/action-done-elsewhere.dark.webp +0 -0
  129. package/agents/patterns/previews/message-placement/action-done-elsewhere.light.webp +0 -0
  130. package/agents/patterns/previews/message-placement/action-done-in-page.dark.webp +0 -0
  131. package/agents/patterns/previews/message-placement/action-done-in-page.light.webp +0 -0
  132. package/agents/patterns/previews/message-placement/action-done-in-part.dark.webp +0 -0
  133. package/agents/patterns/previews/message-placement/action-done-in-part.light.webp +0 -0
  134. package/agents/patterns/previews/message-placement/action-failed-elsewhere.dark.webp +0 -0
  135. package/agents/patterns/previews/message-placement/action-failed-elsewhere.light.webp +0 -0
  136. package/agents/patterns/previews/message-placement/action-failed-in-place.dark.webp +0 -0
  137. package/agents/patterns/previews/message-placement/action-failed-in-place.light.webp +0 -0
  138. package/agents/patterns/previews/message-placement/action-later.dark.webp +0 -0
  139. package/agents/patterns/previews/message-placement/action-later.light.webp +0 -0
  140. package/agents/patterns/previews/message-placement/action-partial-elsewhere.dark.webp +0 -0
  141. package/agents/patterns/previews/message-placement/action-partial-elsewhere.light.webp +0 -0
  142. package/agents/patterns/previews/message-placement/action-partial-in-place.dark.webp +0 -0
  143. package/agents/patterns/previews/message-placement/action-partial-in-place.light.webp +0 -0
  144. package/agents/patterns/previews/message-placement/action-taken.dark.webp +0 -0
  145. package/agents/patterns/previews/message-placement/action-taken.light.webp +0 -0
  146. package/agents/patterns/previews/message-placement/app-deadline.dark.webp +0 -0
  147. package/agents/patterns/previews/message-placement/app-deadline.light.webp +0 -0
  148. package/agents/patterns/previews/message-placement/app-failed.dark.webp +0 -0
  149. package/agents/patterns/previews/message-placement/app-failed.html +2 -2
  150. package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
  151. package/agents/patterns/previews/message-placement/app-info.dark.webp +0 -0
  152. package/agents/patterns/previews/message-placement/app-info.light.webp +0 -0
  153. package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
  154. package/agents/patterns/previews/message-placement/decision.light.webp +0 -0
  155. package/agents/patterns/previews/message-placement/field-error.dark.webp +0 -0
  156. package/agents/patterns/previews/message-placement/field-error.light.webp +0 -0
  157. package/agents/patterns/previews/message-placement/field-hint.dark.webp +0 -0
  158. package/agents/patterns/previews/message-placement/field-hint.light.webp +0 -0
  159. package/agents/patterns/previews/message-placement/field-valid.dark.webp +0 -0
  160. package/agents/patterns/previews/message-placement/field-valid.light.webp +0 -0
  161. package/agents/patterns/previews/message-placement/region-failed.dark.webp +0 -0
  162. package/agents/patterns/previews/message-placement/region-failed.light.webp +0 -0
  163. package/agents/patterns/previews/message-placement/region-info.dark.webp +0 -0
  164. package/agents/patterns/previews/message-placement/region-info.light.webp +0 -0
  165. package/agents/patterns/previews/page-header/contact-being-edited.dark.webp +0 -0
  166. package/agents/patterns/previews/page-header/contact-being-edited.light.webp +0 -0
  167. package/agents/patterns/previews/page-header/members-of-a-group.dark.webp +0 -0
  168. package/agents/patterns/previews/page-header/members-of-a-group.light.webp +0 -0
  169. package/agents/patterns/previews/page-header/own-profile.dark.webp +0 -0
  170. package/agents/patterns/previews/page-header/own-profile.light.webp +0 -0
  171. package/agents/patterns/previews/page-header/request-from-the-list.dark.webp +0 -0
  172. package/agents/patterns/previews/page-header/request-from-the-list.light.webp +0 -0
  173. package/agents/patterns/previews/page-header/requests-of-an-office.dark.webp +0 -0
  174. package/agents/patterns/previews/page-header/requests-of-an-office.light.webp +0 -0
  175. package/agents/patterns/previews/record-detail/ask-for-words.dark.webp +0 -0
  176. package/agents/patterns/previews/record-detail/ask-for-words.html +2 -2
  177. package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
  178. package/agents/patterns/previews/record-detail/edit-data.dark.webp +0 -0
  179. package/agents/patterns/previews/record-detail/edit-data.html +2 -2
  180. package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
  181. package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
  182. package/agents/patterns/previews/record-detail/read-the-data.html +2 -2
  183. package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
  184. package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
  185. package/agents/patterns/previews/record-detail/record-changed.html +2 -2
  186. package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
  187. package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
  188. package/agents/patterns/previews/record-detail/run-at-once.html +2 -2
  189. package/agents/patterns/previews/record-detail/run-at-once.light.webp +0 -0
  190. package/agents/patterns/previews/record-detail/work-on-it.dark.webp +0 -0
  191. package/agents/patterns/previews/record-detail/work-on-it.html +2 -2
  192. package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
  193. package/agents/patterns/previews/rhythm/between-containers.dark.webp +0 -0
  194. package/agents/patterns/previews/rhythm/between-containers.light.webp +0 -0
  195. package/agents/patterns/previews/rhythm/between-fields.dark.webp +0 -0
  196. package/agents/patterns/previews/rhythm/between-fields.light.webp +0 -0
  197. package/agents/patterns/previews/rhythm/between-groups.dark.webp +0 -0
  198. package/agents/patterns/previews/rhythm/between-groups.light.webp +0 -0
  199. package/agents/patterns/previews/rhythm/between-sections.dark.webp +0 -0
  200. package/agents/patterns/previews/rhythm/between-sections.light.webp +0 -0
  201. package/agents/patterns/previews/rhythm/content-actions.dark.webp +0 -0
  202. package/agents/patterns/previews/rhythm/content-actions.light.webp +0 -0
  203. package/agents/patterns/previews/rhythm/inline.dark.webp +0 -0
  204. package/agents/patterns/previews/rhythm/inline.light.webp +0 -0
  205. package/agents/patterns/previews/rhythm/inset.dark.webp +0 -0
  206. package/agents/patterns/previews/rhythm/inset.light.webp +0 -0
  207. package/agents/patterns/previews/rhythm/label-control.dark.webp +0 -0
  208. package/agents/patterns/previews/rhythm/label-control.light.webp +0 -0
  209. package/agents/patterns/previews/rhythm/title-content.dark.webp +0 -0
  210. package/agents/patterns/previews/rhythm/title-content.light.webp +0 -0
  211. package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
  212. package/agents/patterns/previews/surfaces/band.html +2 -2
  213. package/agents/patterns/previews/surfaces/band.light.webp +0 -0
  214. package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
  215. package/agents/patterns/previews/surfaces/canvas.html +2 -2
  216. package/agents/patterns/previews/surfaces/canvas.light.webp +0 -0
  217. package/agents/patterns/previews/surfaces/card.dark.webp +0 -0
  218. package/agents/patterns/previews/surfaces/card.light.webp +0 -0
  219. package/agents/patterns/previews/surfaces/dialog.dark.webp +0 -0
  220. package/agents/patterns/previews/surfaces/dialog.light.webp +0 -0
  221. package/agents/patterns/previews/surfaces/edit-actions.dark.webp +0 -0
  222. package/agents/patterns/previews/surfaces/edit-actions.light.webp +0 -0
  223. package/agents/patterns/previews/surfaces/section.dark.webp +0 -0
  224. package/agents/patterns/previews/surfaces/section.light.webp +0 -0
  225. package/agents/patterns/previews/titles/dialog.dark.webp +0 -0
  226. package/agents/patterns/previews/titles/dialog.light.webp +0 -0
  227. package/agents/patterns/previews/titles/group.dark.webp +0 -0
  228. package/agents/patterns/previews/titles/group.light.webp +0 -0
  229. package/agents/patterns/previews/titles/page.dark.webp +0 -0
  230. package/agents/patterns/previews/titles/page.light.webp +0 -0
  231. package/agents/patterns/previews/titles/part.dark.webp +0 -0
  232. package/agents/patterns/previews/titles/part.light.webp +0 -0
  233. package/agents/patterns/previews/titles/section.dark.webp +0 -0
  234. package/agents/patterns/previews/titles/section.light.webp +0 -0
  235. package/agents/patterns/previews/widths/dialog.dark.webp +0 -0
  236. package/agents/patterns/previews/widths/dialog.light.webp +0 -0
  237. package/agents/patterns/previews/widths/field.dark.webp +0 -0
  238. package/agents/patterns/previews/widths/field.light.webp +0 -0
  239. package/agents/patterns/previews/widths/form.dark.webp +0 -0
  240. package/agents/patterns/previews/widths/form.light.webp +0 -0
  241. package/agents/patterns/previews/widths/page.dark.webp +0 -0
  242. package/agents/patterns/previews/widths/page.html +2 -2
  243. package/agents/patterns/previews/widths/page.light.webp +0 -0
  244. package/agents/patterns/previews/widths/reading.dark.webp +0 -0
  245. package/agents/patterns/previews/widths/reading.light.webp +0 -0
  246. package/agents/patterns/rhythm.md +2 -1
  247. package/agents/patterns/surfaces.md +4 -3
  248. package/agents/patterns/titles.md +4 -3
  249. package/agents/patterns/widths.md +4 -3
  250. package/agents/patterns.md +8 -7
  251. package/agents/theming.md +21 -9
  252. package/dist/cjs/{aria-CzO5Rp1y.js → aria-r1anAHBr.js} +12 -0
  253. package/dist/cjs/{floating-controller-DaFymQCT.js → floating-controller-B4YhrWm8.js} +1 -1
  254. package/dist/cjs/{index-Bg68W-da.js → index-Csgx951d.js} +1 -1
  255. package/dist/cjs/loader.cjs.js +1 -1
  256. package/dist/cjs/{locale-CaR39iYg.js → locale-DgMC52AD.js} +1 -1
  257. package/dist/cjs/magma-components.cjs.js +1 -1
  258. package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
  259. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
  260. package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
  261. package/dist/cjs/mds-avatar.cjs.entry.js +1 -1
  262. package/dist/cjs/mds-badge.cjs.entry.js +2 -2
  263. package/dist/cjs/mds-banner_3.cjs.entry.js +5 -5
  264. package/dist/cjs/mds-book.cjs.entry.js +2 -2
  265. package/dist/cjs/mds-breadcrumb.cjs.entry.js +2 -2
  266. package/dist/cjs/mds-button-dropdown.cjs.entry.js +6 -4
  267. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  268. package/dist/cjs/mds-button_3.cjs.entry.js +78 -16
  269. package/dist/cjs/mds-calendar_2.cjs.entry.js +8 -8
  270. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  271. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  272. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  273. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  274. package/dist/cjs/mds-card.cjs.entry.js +2 -2
  275. package/dist/cjs/mds-details.cjs.entry.js +2 -2
  276. package/dist/cjs/mds-dropdown.cjs.entry.js +6 -6
  277. package/dist/cjs/mds-emoji.cjs.entry.js +41 -12
  278. package/dist/cjs/mds-entity.cjs.entry.js +2 -2
  279. package/dist/cjs/mds-file-preview.cjs.entry.js +5 -5
  280. package/dist/cjs/mds-file.cjs.entry.js +5 -5
  281. package/dist/cjs/mds-filter-item.cjs.entry.js +5 -5
  282. package/dist/cjs/mds-filter.cjs.entry.js +4 -4
  283. package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
  284. package/dist/cjs/mds-header.cjs.entry.js +3 -3
  285. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +3 -3
  286. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  287. package/dist/cjs/mds-img.cjs.entry.js +2 -2
  288. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  289. package/dist/cjs/mds-input-date-range.cjs.entry.js +4 -4
  290. package/dist/cjs/mds-input-date.cjs.entry.js +6 -6
  291. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  292. package/dist/cjs/mds-input-otp.cjs.entry.js +3 -3
  293. package/dist/cjs/mds-input-range.cjs.entry.js +3 -3
  294. package/dist/cjs/mds-input-select.cjs.entry.js +6 -6
  295. package/dist/cjs/mds-input-switch_2.cjs.entry.js +6 -6
  296. package/dist/cjs/mds-input-tip_2.cjs.entry.js +5 -5
  297. package/dist/cjs/mds-input-upload.cjs.entry.js +7 -7
  298. package/dist/cjs/mds-input.cjs.entry.js +8 -8
  299. package/dist/cjs/mds-keyboard-key.cjs.entry.js +3 -3
  300. package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
  301. package/dist/cjs/mds-kpi-item.cjs.entry.js +3 -3
  302. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  303. package/dist/cjs/mds-label.cjs.entry.js +3 -3
  304. package/dist/cjs/mds-link.cjs.entry.js +5 -5
  305. package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
  306. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  307. package/dist/cjs/mds-mention.cjs.entry.js +3 -3
  308. package/dist/cjs/mds-modal.cjs.entry.js +34 -15
  309. package/dist/cjs/mds-note.cjs.entry.js +4 -4
  310. package/dist/cjs/mds-notification.cjs.entry.js +3 -3
  311. package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
  312. package/dist/cjs/mds-paginator.cjs.entry.js +4 -4
  313. package/dist/cjs/mds-policy-ai.cjs.entry.js +3 -3
  314. package/dist/cjs/mds-pref-animation.cjs.entry.js +3 -3
  315. package/dist/cjs/mds-pref-consumption.cjs.entry.js +3 -3
  316. package/dist/cjs/mds-pref-contrast.cjs.entry.js +3 -3
  317. package/dist/cjs/mds-pref-language-item.cjs.entry.js +3 -3
  318. package/dist/cjs/mds-pref-language.cjs.entry.js +3 -3
  319. package/dist/cjs/mds-pref-mode.cjs.entry.js +22 -13
  320. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +18 -4
  321. package/dist/cjs/mds-pref-theme.cjs.entry.js +42 -10
  322. package/dist/cjs/mds-pref.cjs.entry.js +3 -25
  323. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
  324. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  325. package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
  326. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  327. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
  328. package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
  329. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  330. package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
  331. package/dist/cjs/mds-push-notification-item.cjs.entry.js +4 -4
  332. package/dist/cjs/mds-push-notification.cjs.entry.js +4 -4
  333. package/dist/cjs/mds-quote.cjs.entry.js +2 -2
  334. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
  335. package/dist/cjs/mds-radial-menu.cjs.entry.js +5 -5
  336. package/dist/cjs/mds-separator.cjs.entry.js +2 -2
  337. package/dist/cjs/mds-status-bar.cjs.entry.js +3 -3
  338. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +3 -3
  339. package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
  340. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
  341. package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
  342. package/dist/cjs/mds-tab_2.cjs.entry.js +6 -6
  343. package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
  344. package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
  345. package/dist/cjs/mds-table-header-cell.cjs.entry.js +2 -2
  346. package/dist/cjs/mds-table-header.cjs.entry.js +3 -3
  347. package/dist/cjs/mds-table-row.cjs.entry.js +4 -4
  348. package/dist/cjs/mds-table.cjs.entry.js +4 -4
  349. package/dist/cjs/mds-text.cjs.entry.js +2 -2
  350. package/dist/cjs/mds-toast-region.cjs.entry.js +1 -1
  351. package/dist/cjs/mds-toast.cjs.entry.js +3 -3
  352. package/dist/cjs/mds-tooltip.cjs.entry.js +5 -5
  353. package/dist/cjs/mds-tree-item.cjs.entry.js +3 -3
  354. package/dist/cjs/mds-tree.cjs.entry.js +1 -1
  355. package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
  356. package/dist/cjs/mds-usage.cjs.entry.js +4 -4
  357. package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
  358. package/dist/cjs/mds-zero.cjs.entry.js +3 -3
  359. package/dist/cjs/{preference-CQQ3eb9W.js → preference-DhNxLZ4R.js} +20 -0
  360. package/dist/collection/common/aria.js +12 -1
  361. package/dist/collection/common/preference.js +19 -1
  362. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  363. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  364. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  365. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  366. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  367. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  368. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  369. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  370. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  371. package/dist/collection/components/mds-author/documentation.json +1 -1
  372. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  373. package/dist/collection/components/mds-avatar/documentation.json +2 -2
  374. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  375. package/dist/collection/components/mds-avatar-stack/documentation.json +2 -2
  376. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  377. package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
  378. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  379. package/dist/collection/components/mds-badge/documentation.json +1 -1
  380. package/dist/collection/components/mds-badge/mds-badge.css +15 -10
  381. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  382. package/dist/collection/components/mds-banner/documentation.json +2 -2
  383. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  384. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  385. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  386. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  387. package/dist/collection/components/mds-book/AGENTS.md +1 -1
  388. package/dist/collection/components/mds-book/documentation.json +1 -1
  389. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  390. package/dist/collection/components/mds-breadcrumb/documentation.json +2 -2
  391. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  392. package/dist/collection/components/mds-breadcrumb-item/documentation.json +2 -2
  393. package/dist/collection/components/mds-button/AGENTS.md +9 -4
  394. package/dist/collection/components/mds-button/documentation.json +100 -7
  395. package/dist/collection/components/mds-button/examples.md +73 -0
  396. package/dist/collection/components/mds-button/mds-button.css +122 -14
  397. package/dist/collection/components/mds-button/mds-button.js +139 -13
  398. package/dist/collection/components/mds-button/mistakes.md +35 -0
  399. package/dist/collection/components/mds-button-dropdown/AGENTS.md +7 -2
  400. package/dist/collection/components/mds-button-dropdown/documentation.json +97 -4
  401. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +69 -3
  402. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  403. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  404. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  405. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  406. package/dist/collection/components/mds-calendar/documentation.json +2 -2
  407. package/dist/collection/components/mds-calendar/mds-calendar.js +5 -5
  408. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  409. package/dist/collection/components/mds-calendar-cell/documentation.json +2 -2
  410. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  411. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  412. package/dist/collection/components/mds-card/documentation.json +1 -1
  413. package/dist/collection/components/mds-card/mds-card.js +1 -1
  414. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  415. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  416. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  417. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  418. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  419. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  420. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  421. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  422. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  423. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  424. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  425. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  426. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  427. package/dist/collection/components/mds-chip/documentation.json +2 -2
  428. package/dist/collection/components/mds-chip/mds-chip.css +3 -2
  429. package/dist/collection/components/mds-chip/mds-chip.js +1 -1
  430. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  431. package/dist/collection/components/mds-details/documentation.json +1 -1
  432. package/dist/collection/components/mds-details/mds-details.js +1 -1
  433. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  434. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  435. package/dist/collection/components/mds-dropdown/mds-dropdown.css +12 -14
  436. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  437. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  438. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  439. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  440. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  441. package/dist/collection/components/mds-entity/documentation.json +2 -2
  442. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  443. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  444. package/dist/collection/components/mds-file/documentation.json +1 -1
  445. package/dist/collection/components/mds-file/mds-file.css +3 -2
  446. package/dist/collection/components/mds-file/mds-file.js +1 -1
  447. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  448. package/dist/collection/components/mds-file-preview/documentation.json +2 -2
  449. package/dist/collection/components/mds-file-preview/mds-file-preview.css +3 -2
  450. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  451. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  452. package/dist/collection/components/mds-filter/documentation.json +1 -1
  453. package/dist/collection/components/mds-filter/mds-filter.css +3 -2
  454. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  455. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  456. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  457. package/dist/collection/components/mds-filter-item/mds-filter-item.css +3 -2
  458. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  459. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  460. package/dist/collection/components/mds-header/documentation.json +2 -2
  461. package/dist/collection/components/mds-header/mds-header.css +3 -2
  462. package/dist/collection/components/mds-header/mds-header.js +1 -1
  463. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  464. package/dist/collection/components/mds-header-bar/documentation.json +2 -2
  465. package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
  466. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  467. package/dist/collection/components/mds-help/documentation.json +1 -1
  468. package/dist/collection/components/mds-help/mds-help.js +1 -1
  469. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  470. package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
  471. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  472. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  473. package/dist/collection/components/mds-hr/documentation.json +1 -1
  474. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  475. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  476. package/dist/collection/components/mds-icon/documentation.json +1 -1
  477. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  478. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  479. package/dist/collection/components/mds-img/documentation.json +2 -2
  480. package/dist/collection/components/mds-input/AGENTS.md +1 -1
  481. package/dist/collection/components/mds-input/documentation.json +2 -2
  482. package/dist/collection/components/mds-input/mds-input.css +16 -8
  483. package/dist/collection/components/mds-input/mds-input.js +3 -3
  484. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  485. package/dist/collection/components/mds-input-date/documentation.json +2 -2
  486. package/dist/collection/components/mds-input-date/mds-input-date.css +3 -2
  487. package/dist/collection/components/mds-input-date/mds-input-date.js +2 -2
  488. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  489. package/dist/collection/components/mds-input-date-range/documentation.json +2 -2
  490. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +3 -2
  491. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  492. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +2 -2
  493. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  494. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  495. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  496. package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
  497. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  498. package/dist/collection/components/mds-input-otp/documentation.json +2 -2
  499. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  500. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  501. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  502. package/dist/collection/components/mds-input-range/mds-input-range.css +3 -2
  503. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  504. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  505. package/dist/collection/components/mds-input-select/documentation.json +1 -1
  506. package/dist/collection/components/mds-input-select/mds-input-select.css +15 -11
  507. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  508. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  509. package/dist/collection/components/mds-input-switch/documentation.json +1 -1
  510. package/dist/collection/components/mds-input-switch/mds-input-switch.css +3 -2
  511. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  512. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  513. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  514. package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
  515. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  516. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  517. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  518. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  519. package/dist/collection/components/mds-input-upload/documentation.json +2 -2
  520. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  521. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  522. package/dist/collection/components/mds-keyboard/documentation.json +2 -2
  523. package/dist/collection/components/mds-keyboard/mds-keyboard.css +3 -2
  524. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  525. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  526. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  527. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  528. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  529. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  530. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  531. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  532. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  533. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +9 -6
  534. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  535. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  536. package/dist/collection/components/mds-label/documentation.json +2 -2
  537. package/dist/collection/components/mds-label/mds-label.css +3 -2
  538. package/dist/collection/components/mds-link/AGENTS.md +1 -1
  539. package/dist/collection/components/mds-link/documentation.json +1 -1
  540. package/dist/collection/components/mds-link/mds-link.js +3 -3
  541. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  542. package/dist/collection/components/mds-list/documentation.json +1 -1
  543. package/dist/collection/components/mds-list/mds-list.js +1 -1
  544. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  545. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  546. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  547. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  548. package/dist/collection/components/mds-mention/documentation.json +2 -2
  549. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  550. package/dist/collection/components/mds-modal/AGENTS.md +3 -3
  551. package/dist/collection/components/mds-modal/documentation.json +4 -4
  552. package/dist/collection/components/mds-modal/mds-modal.css +3 -2
  553. package/dist/collection/components/mds-modal/mds-modal.js +32 -13
  554. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  555. package/dist/collection/components/mds-note/documentation.json +2 -2
  556. package/dist/collection/components/mds-note/mds-note.css +3 -2
  557. package/dist/collection/components/mds-note/mds-note.js +1 -1
  558. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  559. package/dist/collection/components/mds-notification/documentation.json +1 -1
  560. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  561. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  562. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  563. package/dist/collection/components/mds-paginator/mds-paginator.css +3 -2
  564. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  565. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  566. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  567. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  568. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  569. package/dist/collection/components/mds-policy-ai/documentation.json +2 -2
  570. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  571. package/dist/collection/components/mds-pref/AGENTS.md +3 -3
  572. package/dist/collection/components/mds-pref/documentation.json +4 -9
  573. package/dist/collection/components/mds-pref/examples.md +1 -1
  574. package/dist/collection/components/mds-pref/mds-pref.js +1 -29
  575. package/dist/collection/components/mds-pref/mistakes.md +1 -1
  576. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  577. package/dist/collection/components/mds-pref-animation/documentation.json +2 -2
  578. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  579. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  580. package/dist/collection/components/mds-pref-consumption/documentation.json +2 -2
  581. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  582. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  583. package/dist/collection/components/mds-pref-contrast/documentation.json +2 -2
  584. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  585. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  586. package/dist/collection/components/mds-pref-language/documentation.json +2 -2
  587. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  588. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  589. package/dist/collection/components/mds-pref-language-item/documentation.json +2 -2
  590. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  591. package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -2
  592. package/dist/collection/components/mds-pref-mode/documentation.json +5 -5
  593. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -1
  594. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +20 -11
  595. package/dist/collection/components/mds-pref-mode/mistakes.md +1 -1
  596. package/dist/collection/components/mds-pref-theme/AGENTS.md +7 -6
  597. package/dist/collection/components/mds-pref-theme/documentation.json +7 -7
  598. package/dist/collection/components/mds-pref-theme/examples.md +18 -21
  599. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +43 -11
  600. package/dist/collection/components/mds-pref-theme/mistakes.md +15 -15
  601. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +6 -6
  602. package/dist/collection/components/mds-pref-theme-item/documentation.json +9 -9
  603. package/dist/collection/components/mds-pref-theme-item/examples.md +18 -24
  604. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +13 -7
  605. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +19 -5
  606. package/dist/collection/components/mds-pref-theme-item/mistakes.md +14 -16
  607. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  608. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  609. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  610. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  611. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  612. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  613. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  614. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  615. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +3 -2
  616. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  617. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  618. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  619. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +3 -2
  620. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  621. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  622. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  623. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  624. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  625. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  626. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +3 -2
  627. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  628. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  629. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  630. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  631. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  632. package/dist/collection/components/mds-progress/documentation.json +1 -1
  633. package/dist/collection/components/mds-progress/mds-progress.css +3 -2
  634. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  635. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  636. package/dist/collection/components/mds-push-notification/documentation.json +2 -2
  637. package/dist/collection/components/mds-push-notification/mds-push-notification.css +3 -2
  638. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  639. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  640. package/dist/collection/components/mds-push-notification-item/documentation.json +2 -2
  641. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  642. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  643. package/dist/collection/components/mds-quote/documentation.json +1 -1
  644. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  645. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  646. package/dist/collection/components/mds-radial-menu/documentation.json +2 -2
  647. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  648. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  649. package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
  650. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  651. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  652. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  653. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  654. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  655. package/dist/collection/components/mds-separator/documentation.json +1 -1
  656. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  657. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  658. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  659. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  660. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  661. package/dist/collection/components/mds-status-bar/documentation.json +2 -2
  662. package/dist/collection/components/mds-status-bar/mds-status-bar.css +3 -2
  663. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  664. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  665. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  666. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  667. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  668. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  669. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  670. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  671. package/dist/collection/components/mds-tab/documentation.json +1 -1
  672. package/dist/collection/components/mds-tab/mds-tab.css +3 -2
  673. package/dist/collection/components/mds-tab/mds-tab.js +2 -2
  674. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  675. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  676. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +3 -2
  677. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  678. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  679. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  680. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +3 -2
  681. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  682. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  683. package/dist/collection/components/mds-tab-item/documentation.json +2 -2
  684. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  685. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  686. package/dist/collection/components/mds-table/documentation.json +1 -1
  687. package/dist/collection/components/mds-table/mds-table.css +6 -4
  688. package/dist/collection/components/mds-table/mds-table.js +1 -1
  689. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  690. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  691. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  692. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  693. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  694. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  695. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  696. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  697. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  698. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  699. package/dist/collection/components/mds-table-header/documentation.json +2 -2
  700. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  701. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  702. package/dist/collection/components/mds-table-header-cell/documentation.json +2 -2
  703. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  704. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  705. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  706. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  707. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  708. package/dist/collection/components/mds-text/documentation.json +1 -1
  709. package/dist/collection/components/mds-text/mds-text.js +1 -1
  710. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  711. package/dist/collection/components/mds-toast/documentation.json +2 -2
  712. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  713. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  714. package/dist/collection/components/mds-toast-region/documentation.json +1 -1
  715. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  716. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  717. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  718. package/dist/collection/components/mds-tooltip/mds-tooltip.css +4 -2
  719. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  720. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  721. package/dist/collection/components/mds-tree/documentation.json +1 -1
  722. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  723. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  724. package/dist/collection/components/mds-tree-item/documentation.json +2 -2
  725. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  726. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  727. package/dist/collection/components/mds-url-view/documentation.json +2 -2
  728. package/dist/collection/components/mds-url-view/mds-url-view.css +3 -2
  729. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  730. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  731. package/dist/collection/components/mds-usage/documentation.json +1 -1
  732. package/dist/collection/components/mds-usage/mds-usage.css +3 -2
  733. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  734. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  735. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  736. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  737. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  738. package/dist/collection/components/mds-zero/documentation.json +1 -1
  739. package/dist/collection/components/mds-zero/mds-zero.css +3 -2
  740. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  741. package/dist/collection/type/button.js +3 -0
  742. package/dist/components/index.js +1 -1
  743. package/dist/components/mds-accordion-item.js +1 -1
  744. package/dist/components/mds-accordion-timer-item.js +1 -1
  745. package/dist/components/mds-accordion.js +1 -1
  746. package/dist/components/mds-avatar-stack-item.js +1 -1
  747. package/dist/components/mds-avatar-stack.js +1 -1
  748. package/dist/components/mds-avatar.js +1 -1
  749. package/dist/components/mds-badge.js +1 -1
  750. package/dist/components/mds-banner.js +1 -1
  751. package/dist/components/mds-benchmark-bar.js +1 -1
  752. package/dist/components/mds-bibliography.js +1 -1
  753. package/dist/components/mds-book.js +1 -1
  754. package/dist/components/mds-breadcrumb-item.js +1 -1
  755. package/dist/components/mds-breadcrumb.js +1 -1
  756. package/dist/components/mds-button-dropdown.js +1 -1
  757. package/dist/components/mds-button-group.js +1 -1
  758. package/dist/components/mds-button.js +1 -1
  759. package/dist/components/mds-calendar-cell.js +1 -1
  760. package/dist/components/mds-calendar.js +1 -1
  761. package/dist/components/mds-card-content.js +1 -1
  762. package/dist/components/mds-card-footer.js +1 -1
  763. package/dist/components/mds-card-header.js +1 -1
  764. package/dist/components/mds-card-media.js +1 -1
  765. package/dist/components/mds-card.js +1 -1
  766. package/dist/components/mds-chip.js +1 -1
  767. package/dist/components/mds-details.js +1 -1
  768. package/dist/components/mds-dropdown.js +1 -1
  769. package/dist/components/mds-emoji.js +5 -5
  770. package/dist/components/mds-entity.js +1 -1
  771. package/dist/components/mds-file-preview.js +1 -1
  772. package/dist/components/mds-file.js +1 -1
  773. package/dist/components/mds-filter-item.js +1 -1
  774. package/dist/components/mds-filter.js +1 -1
  775. package/dist/components/mds-header-bar.js +1 -1
  776. package/dist/components/mds-header.js +1 -1
  777. package/dist/components/mds-help.js +1 -1
  778. package/dist/components/mds-horizontal-scroll.js +1 -1
  779. package/dist/components/mds-hr.js +1 -1
  780. package/dist/components/mds-icon.js +1 -1
  781. package/dist/components/mds-img.js +1 -1
  782. package/dist/components/mds-input-date-range-preselection.js +1 -1
  783. package/dist/components/mds-input-date-range.js +1 -1
  784. package/dist/components/mds-input-date.js +1 -1
  785. package/dist/components/mds-input-field.js +1 -1
  786. package/dist/components/mds-input-otp.js +1 -1
  787. package/dist/components/mds-input-range.js +1 -1
  788. package/dist/components/mds-input-select.js +1 -1
  789. package/dist/components/mds-input-switch.js +1 -1
  790. package/dist/components/mds-input-tip-item.js +1 -1
  791. package/dist/components/mds-input-tip.js +1 -1
  792. package/dist/components/mds-input-upload.js +1 -1
  793. package/dist/components/mds-input.js +1 -1
  794. package/dist/components/mds-keyboard-key.js +1 -1
  795. package/dist/components/mds-keyboard.js +1 -1
  796. package/dist/components/mds-kpi-item.js +1 -1
  797. package/dist/components/mds-kpi.js +1 -1
  798. package/dist/components/mds-label.js +1 -1
  799. package/dist/components/mds-link.js +1 -1
  800. package/dist/components/mds-list-item.js +1 -1
  801. package/dist/components/mds-list.js +1 -1
  802. package/dist/components/mds-mention.js +1 -1
  803. package/dist/components/mds-modal.js +1 -1
  804. package/dist/components/mds-note.js +1 -1
  805. package/dist/components/mds-notification.js +1 -1
  806. package/dist/components/mds-paginator-item.js +1 -1
  807. package/dist/components/mds-paginator.js +1 -1
  808. package/dist/components/mds-policy-ai.js +1 -1
  809. package/dist/components/mds-pref-animation.js +1 -1
  810. package/dist/components/mds-pref-consumption.js +1 -1
  811. package/dist/components/mds-pref-contrast.js +1 -1
  812. package/dist/components/mds-pref-language-item.js +1 -1
  813. package/dist/components/mds-pref-language.js +1 -1
  814. package/dist/components/mds-pref-mode.js +1 -1
  815. package/dist/components/mds-pref-theme-item.js +1 -1
  816. package/dist/components/mds-pref-theme.js +1 -1
  817. package/dist/components/mds-pref.js +1 -1
  818. package/dist/components/mds-price-table-features-cell.js +1 -1
  819. package/dist/components/mds-price-table-features-row.js +1 -1
  820. package/dist/components/mds-price-table-features.js +1 -1
  821. package/dist/components/mds-price-table-header.js +1 -1
  822. package/dist/components/mds-price-table-list-item.js +1 -1
  823. package/dist/components/mds-price-table-list.js +1 -1
  824. package/dist/components/mds-price-table.js +1 -1
  825. package/dist/components/mds-progress.js +1 -1
  826. package/dist/components/mds-push-notification-item.js +1 -1
  827. package/dist/components/mds-push-notification.js +1 -1
  828. package/dist/components/mds-quote.js +1 -1
  829. package/dist/components/mds-radial-menu-item.js +1 -1
  830. package/dist/components/mds-radial-menu.js +1 -1
  831. package/dist/components/mds-radial-progress.js +1 -1
  832. package/dist/components/mds-separator.js +1 -1
  833. package/dist/components/mds-spinner.js +1 -1
  834. package/dist/components/mds-status-bar.js +1 -1
  835. package/dist/components/mds-stepper-bar-item.js +1 -1
  836. package/dist/components/mds-stepper-bar.js +1 -1
  837. package/dist/components/mds-tab-bar-item.js +1 -1
  838. package/dist/components/mds-tab-bar.js +1 -1
  839. package/dist/components/mds-tab-item.js +1 -1
  840. package/dist/components/mds-tab.js +1 -1
  841. package/dist/components/mds-table-body.js +1 -1
  842. package/dist/components/mds-table-cell.js +1 -1
  843. package/dist/components/mds-table-footer.js +1 -1
  844. package/dist/components/mds-table-header-cell.js +1 -1
  845. package/dist/components/mds-table-header.js +1 -1
  846. package/dist/components/mds-table-row.js +1 -1
  847. package/dist/components/mds-table.js +1 -1
  848. package/dist/components/mds-text.js +1 -1
  849. package/dist/components/mds-toast-region.js +1 -1
  850. package/dist/components/mds-toast.js +1 -1
  851. package/dist/components/mds-tooltip.js +1 -1
  852. package/dist/components/mds-tree-item.js +1 -1
  853. package/dist/components/mds-tree.js +1 -1
  854. package/dist/components/mds-url-view.js +1 -1
  855. package/dist/components/mds-usage.js +1 -1
  856. package/dist/components/mds-video-wall.js +1 -1
  857. package/dist/components/mds-zero.js +1 -1
  858. package/dist/components/p-3rr6yzu-.js +1 -0
  859. package/dist/components/{p-DvDB_L_5.js → p-BBZyH3mn.js} +1 -1
  860. package/dist/components/{p-C7rDjrH4.js → p-BBrPpCNK.js} +1 -1
  861. package/dist/components/p-BE05D6Pe.js +1 -0
  862. package/dist/components/{p-ikNX7XDH.js → p-BI1ShBQG.js} +1 -1
  863. package/dist/components/p-BQSO-HFx.js +1 -0
  864. package/dist/components/{p-CVRN4LDc.js → p-Bbrei_yQ.js} +1 -1
  865. package/dist/components/{p-DhpcFZrc.js → p-BpND63Kl.js} +1 -1
  866. package/dist/components/{p-DqdlT4UG.js → p-BuhoBOYR.js} +1 -1
  867. package/dist/components/p-Bw-eI2ca.js +1 -0
  868. package/dist/components/{p-DTtmr_Y9.js → p-BwwiliWt.js} +1 -1
  869. package/dist/components/{p-COkn4Vtq.js → p-C6LU1s8K.js} +1 -1
  870. package/dist/components/{p-Br6-kva-.js → p-CWOW2Vna.js} +1 -1
  871. package/dist/components/{p-B6AFku7a.js → p-CZX6N7ce.js} +1 -1
  872. package/dist/components/{p-BFDRt7-n.js → p-CZwKeFQT.js} +1 -1
  873. package/dist/components/{p-CKnbQQUb.js → p-ClvoVgmw.js} +1 -1
  874. package/dist/{magma-components/p-CLhuNxYQ.js → components/p-CpuUmvdl.js} +1 -1
  875. package/dist/components/{p-C_Pc94vn.js → p-CrOv4KdL.js} +1 -1
  876. package/dist/components/{p-CZjwSwe5.js → p-CvbuCEYD.js} +2 -2
  877. package/dist/components/{p-D8CloC8I.js → p-DN1yF-xO.js} +1 -1
  878. package/dist/components/{p-4LbHmDXv.js → p-DUgCzZw9.js} +1 -1
  879. package/dist/components/{p-DJd8f8dz.js → p-DWOg4-dH.js} +1 -1
  880. package/dist/components/{p-FsctOap9.js → p-DZ4_zLTp.js} +1 -1
  881. package/dist/components/{p-gLo3t_qO.js → p-Do7IoDLD.js} +2 -2
  882. package/dist/components/{p-BiW6luA5.js → p-DrtIqOQn.js} +1 -1
  883. package/dist/components/p-DwKxtKwS.js +1 -0
  884. package/dist/components/{p-DOdUioZq.js → p-F0qhFsF0.js} +1 -1
  885. package/dist/components/p-J48g0t65.js +1 -0
  886. package/dist/components/{p-BaynxVRZ.js → p-NNPsVjnj.js} +1 -1
  887. package/dist/components/{p-CP5Qw9_T.js → p-UfaGafRS.js} +1 -1
  888. package/dist/components/{p-DdzJfsw7.js → p-Vgo7t88R.js} +1 -1
  889. package/dist/components/{p-D_RIY063.js → p-j5Hnbfv9.js} +1 -1
  890. package/dist/components/{p-DW6ie49j.js → p-k_Ly95Tj.js} +1 -1
  891. package/dist/components/{p-DlglisEn.js → p-lXKBo6V3.js} +1 -1
  892. package/dist/components/{p-DGhzWuCS.js → p-oFHbHRLX.js} +1 -1
  893. package/dist/documentation.json +269 -83
  894. package/dist/esm/{aria-Cvhn9asj.js → aria-DwKxtKwS.js} +12 -1
  895. package/dist/esm/{floating-controller-BVlbYYkf.js → floating-controller-xixU_s1w.js} +1 -1
  896. package/dist/esm/{index-BJVvHlvf.js → index-DEL0bLpb.js} +1 -1
  897. package/dist/esm/loader.js +1 -1
  898. package/dist/esm/{locale-B6cOkl4I.js → locale-DhP1Ge2o.js} +1 -1
  899. package/dist/esm/magma-components.js +1 -1
  900. package/dist/esm/mds-accordion-item.entry.js +1 -1
  901. package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
  902. package/dist/esm/mds-accordion.entry.js +1 -1
  903. package/dist/esm/mds-avatar.entry.js +1 -1
  904. package/dist/esm/mds-badge.entry.js +2 -2
  905. package/dist/esm/mds-banner_3.entry.js +5 -5
  906. package/dist/esm/mds-book.entry.js +2 -2
  907. package/dist/esm/mds-breadcrumb.entry.js +2 -2
  908. package/dist/esm/mds-button-dropdown.entry.js +6 -4
  909. package/dist/esm/mds-button-group.entry.js +1 -1
  910. package/dist/esm/mds-button_3.entry.js +78 -16
  911. package/dist/esm/mds-calendar_2.entry.js +8 -8
  912. package/dist/esm/mds-card-content.entry.js +1 -1
  913. package/dist/esm/mds-card-footer.entry.js +1 -1
  914. package/dist/esm/mds-card-header.entry.js +1 -1
  915. package/dist/esm/mds-card-media.entry.js +1 -1
  916. package/dist/esm/mds-card.entry.js +2 -2
  917. package/dist/esm/mds-details.entry.js +2 -2
  918. package/dist/esm/mds-dropdown.entry.js +6 -6
  919. package/dist/esm/mds-emoji.entry.js +41 -12
  920. package/dist/esm/mds-entity.entry.js +2 -2
  921. package/dist/esm/mds-file-preview.entry.js +5 -5
  922. package/dist/esm/mds-file.entry.js +5 -5
  923. package/dist/esm/mds-filter-item.entry.js +5 -5
  924. package/dist/esm/mds-filter.entry.js +4 -4
  925. package/dist/esm/mds-header-bar.entry.js +3 -3
  926. package/dist/esm/mds-header.entry.js +3 -3
  927. package/dist/esm/mds-horizontal-scroll.entry.js +3 -3
  928. package/dist/esm/mds-hr.entry.js +2 -2
  929. package/dist/esm/mds-img.entry.js +2 -2
  930. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  931. package/dist/esm/mds-input-date-range.entry.js +4 -4
  932. package/dist/esm/mds-input-date.entry.js +6 -6
  933. package/dist/esm/mds-input-field.entry.js +1 -1
  934. package/dist/esm/mds-input-otp.entry.js +3 -3
  935. package/dist/esm/mds-input-range.entry.js +3 -3
  936. package/dist/esm/mds-input-select.entry.js +6 -6
  937. package/dist/esm/mds-input-switch_2.entry.js +6 -6
  938. package/dist/esm/mds-input-tip_2.entry.js +5 -5
  939. package/dist/esm/mds-input-upload.entry.js +7 -7
  940. package/dist/esm/mds-input.entry.js +8 -8
  941. package/dist/esm/mds-keyboard-key.entry.js +3 -3
  942. package/dist/esm/mds-keyboard.entry.js +4 -4
  943. package/dist/esm/mds-kpi-item.entry.js +3 -3
  944. package/dist/esm/mds-kpi.entry.js +1 -1
  945. package/dist/esm/mds-label.entry.js +3 -3
  946. package/dist/esm/mds-link.entry.js +5 -5
  947. package/dist/esm/mds-list-item.entry.js +1 -1
  948. package/dist/esm/mds-list.entry.js +1 -1
  949. package/dist/esm/mds-mention.entry.js +3 -3
  950. package/dist/esm/mds-modal.entry.js +34 -15
  951. package/dist/esm/mds-note.entry.js +4 -4
  952. package/dist/esm/mds-notification.entry.js +3 -3
  953. package/dist/esm/mds-paginator-item.entry.js +2 -2
  954. package/dist/esm/mds-paginator.entry.js +4 -4
  955. package/dist/esm/mds-policy-ai.entry.js +3 -3
  956. package/dist/esm/mds-pref-animation.entry.js +3 -3
  957. package/dist/esm/mds-pref-consumption.entry.js +3 -3
  958. package/dist/esm/mds-pref-contrast.entry.js +3 -3
  959. package/dist/esm/mds-pref-language-item.entry.js +3 -3
  960. package/dist/esm/mds-pref-language.entry.js +3 -3
  961. package/dist/esm/mds-pref-mode.entry.js +22 -13
  962. package/dist/esm/mds-pref-theme-item.entry.js +18 -4
  963. package/dist/esm/mds-pref-theme.entry.js +42 -10
  964. package/dist/esm/mds-pref.entry.js +3 -25
  965. package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
  966. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  967. package/dist/esm/mds-price-table-features.entry.js +2 -2
  968. package/dist/esm/mds-price-table-header.entry.js +1 -1
  969. package/dist/esm/mds-price-table-list-item.entry.js +1 -1
  970. package/dist/esm/mds-price-table-list.entry.js +3 -3
  971. package/dist/esm/mds-price-table.entry.js +1 -1
  972. package/dist/esm/mds-progress_2.entry.js +4 -4
  973. package/dist/esm/mds-push-notification-item.entry.js +4 -4
  974. package/dist/esm/mds-push-notification.entry.js +4 -4
  975. package/dist/esm/mds-quote.entry.js +2 -2
  976. package/dist/esm/mds-radial-menu-item.entry.js +1 -1
  977. package/dist/esm/mds-radial-menu.entry.js +5 -5
  978. package/dist/esm/mds-separator.entry.js +2 -2
  979. package/dist/esm/mds-status-bar.entry.js +3 -3
  980. package/dist/esm/mds-stepper-bar-item.entry.js +3 -3
  981. package/dist/esm/mds-stepper-bar.entry.js +1 -1
  982. package/dist/esm/mds-tab-bar-item.entry.js +4 -4
  983. package/dist/esm/mds-tab-bar.entry.js +3 -3
  984. package/dist/esm/mds-tab_2.entry.js +6 -6
  985. package/dist/esm/mds-table-body.entry.js +2 -2
  986. package/dist/esm/mds-table-footer.entry.js +2 -2
  987. package/dist/esm/mds-table-header-cell.entry.js +2 -2
  988. package/dist/esm/mds-table-header.entry.js +3 -3
  989. package/dist/esm/mds-table-row.entry.js +4 -4
  990. package/dist/esm/mds-table.entry.js +4 -4
  991. package/dist/esm/mds-text.entry.js +2 -2
  992. package/dist/esm/mds-toast-region.entry.js +1 -1
  993. package/dist/esm/mds-toast.entry.js +3 -3
  994. package/dist/esm/mds-tooltip.entry.js +5 -5
  995. package/dist/esm/mds-tree-item.entry.js +3 -3
  996. package/dist/esm/mds-tree.entry.js +1 -1
  997. package/dist/esm/mds-url-view.entry.js +4 -4
  998. package/dist/esm/mds-usage.entry.js +4 -4
  999. package/dist/esm/mds-video-wall.entry.js +2 -2
  1000. package/dist/esm/mds-zero.entry.js +3 -3
  1001. package/dist/esm/{preference-C5XjgGCb.js → preference-C8foBO86.js} +19 -1
  1002. package/dist/esm-es5/aria-DwKxtKwS.js +12 -0
  1003. package/dist/esm-es5/{floating-controller-BVlbYYkf.js → floating-controller-xixU_s1w.js} +1 -1
  1004. package/dist/esm-es5/{index-BJVvHlvf.js → index-DEL0bLpb.js} +1 -1
  1005. package/dist/esm-es5/loader.js +1 -1
  1006. package/dist/esm-es5/{locale-B6cOkl4I.js → locale-DhP1Ge2o.js} +18 -18
  1007. package/dist/esm-es5/magma-components.js +1 -1
  1008. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  1009. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  1010. package/dist/esm-es5/mds-accordion.entry.js +1 -1
  1011. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  1012. package/dist/esm-es5/mds-badge.entry.js +1 -1
  1013. package/dist/esm-es5/mds-banner_3.entry.js +4 -4
  1014. package/dist/esm-es5/mds-book.entry.js +1 -1
  1015. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  1016. package/dist/esm-es5/mds-button-dropdown.entry.js +6 -4
  1017. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  1018. package/dist/esm-es5/mds-button_3.entry.js +39 -17
  1019. package/dist/esm-es5/mds-calendar_2.entry.js +4 -4
  1020. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  1021. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  1022. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  1023. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  1024. package/dist/esm-es5/mds-card.entry.js +2 -2
  1025. package/dist/esm-es5/mds-details.entry.js +2 -2
  1026. package/dist/esm-es5/mds-dropdown.entry.js +13 -13
  1027. package/dist/esm-es5/mds-emoji.entry.js +111 -109
  1028. package/dist/esm-es5/mds-entity.entry.js +1 -1
  1029. package/dist/esm-es5/mds-file-preview.entry.js +7 -7
  1030. package/dist/esm-es5/mds-file.entry.js +3 -3
  1031. package/dist/esm-es5/mds-filter-item.entry.js +2 -2
  1032. package/dist/esm-es5/mds-filter.entry.js +2 -2
  1033. package/dist/esm-es5/mds-header-bar.entry.js +2 -2
  1034. package/dist/esm-es5/mds-header.entry.js +2 -2
  1035. package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
  1036. package/dist/esm-es5/mds-hr.entry.js +1 -1
  1037. package/dist/esm-es5/mds-img.entry.js +1 -1
  1038. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +3 -3
  1039. package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
  1040. package/dist/esm-es5/mds-input-date.entry.js +3 -3
  1041. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  1042. package/dist/esm-es5/mds-input-otp.entry.js +2 -2
  1043. package/dist/esm-es5/mds-input-range.entry.js +2 -2
  1044. package/dist/esm-es5/mds-input-select.entry.js +10 -10
  1045. package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
  1046. package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
  1047. package/dist/esm-es5/mds-input-upload.entry.js +2 -2
  1048. package/dist/esm-es5/mds-input.entry.js +3 -3
  1049. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  1050. package/dist/esm-es5/mds-keyboard.entry.js +2 -2
  1051. package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
  1052. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  1053. package/dist/esm-es5/mds-label.entry.js +1 -1
  1054. package/dist/esm-es5/mds-link.entry.js +2 -2
  1055. package/dist/esm-es5/mds-list-item.entry.js +1 -1
  1056. package/dist/esm-es5/mds-list.entry.js +1 -1
  1057. package/dist/esm-es5/mds-mention.entry.js +2 -2
  1058. package/dist/esm-es5/mds-modal.entry.js +23 -11
  1059. package/dist/esm-es5/mds-note.entry.js +2 -2
  1060. package/dist/esm-es5/mds-notification.entry.js +2 -2
  1061. package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
  1062. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  1063. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  1064. package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
  1065. package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
  1066. package/dist/esm-es5/mds-pref-contrast.entry.js +3 -3
  1067. package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
  1068. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  1069. package/dist/esm-es5/mds-pref-mode.entry.js +13 -3
  1070. package/dist/esm-es5/mds-pref-theme-item.entry.js +12 -5
  1071. package/dist/esm-es5/mds-pref-theme.entry.js +26 -8
  1072. package/dist/esm-es5/mds-pref.entry.js +4 -12
  1073. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  1074. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  1075. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  1076. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  1077. package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
  1078. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  1079. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  1080. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  1081. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  1082. package/dist/esm-es5/mds-push-notification.entry.js +6 -6
  1083. package/dist/esm-es5/mds-quote.entry.js +2 -2
  1084. package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
  1085. package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
  1086. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1087. package/dist/esm-es5/mds-status-bar.entry.js +3 -3
  1088. package/dist/esm-es5/mds-stepper-bar-item.entry.js +2 -2
  1089. package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
  1090. package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
  1091. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  1092. package/dist/esm-es5/mds-tab_2.entry.js +3 -3
  1093. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1094. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  1095. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  1096. package/dist/esm-es5/mds-table-header.entry.js +2 -2
  1097. package/dist/esm-es5/mds-table-row.entry.js +2 -2
  1098. package/dist/esm-es5/mds-table.entry.js +2 -2
  1099. package/dist/esm-es5/mds-text.entry.js +2 -2
  1100. package/dist/esm-es5/mds-toast-region.entry.js +1 -1
  1101. package/dist/esm-es5/mds-toast.entry.js +2 -2
  1102. package/dist/esm-es5/mds-tooltip.entry.js +2 -2
  1103. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  1104. package/dist/esm-es5/mds-tree.entry.js +1 -1
  1105. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  1106. package/dist/esm-es5/mds-usage.entry.js +3 -3
  1107. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  1108. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1109. package/dist/esm-es5/{preference-C5XjgGCb.js → preference-C8foBO86.js} +14 -4
  1110. package/dist/hydrate/index.js +410 -231
  1111. package/dist/hydrate/index.mjs +410 -231
  1112. package/dist/lint/core/patterns.d.ts +56 -16
  1113. package/dist/lint/core/patterns.js +145 -38
  1114. package/dist/lint/mcp/tools.json +8 -8
  1115. package/dist/magma-components/magma-components.esm.js +1 -1
  1116. package/dist/magma-components/{p-0384db44.system.entry.js → p-00d2ef14.system.entry.js} +5 -5
  1117. package/dist/magma-components/{p-ff65fc97.entry.js → p-02aed12a.entry.js} +1 -1
  1118. package/dist/magma-components/{p-7c055074.entry.js → p-08f7a84b.entry.js} +1 -1
  1119. package/dist/magma-components/{p-8239e526.system.entry.js → p-09a7c1de.system.entry.js} +1 -1
  1120. package/dist/magma-components/{p-18244fd7.system.entry.js → p-0da5c696.system.entry.js} +3 -3
  1121. package/dist/magma-components/{p-5575f198.entry.js → p-0df067b4.entry.js} +1 -1
  1122. package/dist/magma-components/{p-b6412ddd.system.entry.js → p-0e1d239b.system.entry.js} +1 -1
  1123. package/dist/magma-components/{p-ac161cb5.entry.js → p-0f4c2de6.entry.js} +1 -1
  1124. package/dist/magma-components/{p-0c8f22dc.system.entry.js → p-11456781.system.entry.js} +2 -2
  1125. package/dist/magma-components/{p-a2e3a545.entry.js → p-14de26d5.entry.js} +1 -1
  1126. package/dist/magma-components/p-163eccbd.entry.js +1 -0
  1127. package/dist/magma-components/{p-844bce77.entry.js → p-167ba07a.entry.js} +1 -1
  1128. package/dist/magma-components/{p-f4fc9f29.system.entry.js → p-16bbff4e.system.entry.js} +1 -1
  1129. package/dist/magma-components/{p-e059aaa9.entry.js → p-17249b74.entry.js} +1 -1
  1130. package/dist/magma-components/{p-95ddc950.system.entry.js → p-188a55ac.system.entry.js} +3 -3
  1131. package/dist/magma-components/{p-c9bd81c5.system.entry.js → p-1a53d9d0.system.entry.js} +7 -7
  1132. package/dist/magma-components/{p-27254fbd.entry.js → p-1cc379d6.entry.js} +1 -1
  1133. package/dist/magma-components/{p-ae9735e4.system.entry.js → p-1dc0d59c.system.entry.js} +2 -2
  1134. package/dist/magma-components/{p-384d93dc.system.entry.js → p-1e24aafa.system.entry.js} +1 -1
  1135. package/dist/magma-components/p-223efc32.entry.js +1 -0
  1136. package/dist/magma-components/{p-1467ded5.system.entry.js → p-2454e4cd.system.entry.js} +2 -2
  1137. package/dist/magma-components/{p-18b27217.entry.js → p-24a69c45.entry.js} +1 -1
  1138. package/dist/magma-components/{p-fae9612b.system.entry.js → p-24fb2c5c.system.entry.js} +2 -2
  1139. package/dist/magma-components/{p-ef1bdd44.entry.js → p-259d9380.entry.js} +1 -1
  1140. package/dist/magma-components/{p-4fc0e294.entry.js → p-26b08e33.entry.js} +1 -1
  1141. package/dist/magma-components/{p-c35ea44d.system.entry.js → p-27a32865.system.entry.js} +2 -2
  1142. package/dist/magma-components/{p-299dab17.entry.js → p-2940499f.entry.js} +1 -1
  1143. package/dist/magma-components/{p-6129954d.system.entry.js → p-2a5167e3.system.entry.js} +1 -1
  1144. package/dist/magma-components/{p-ad13ade5.system.entry.js → p-2e825656.system.entry.js} +3 -3
  1145. package/dist/magma-components/{p-308a4ae5.system.entry.js → p-2f4a7253.system.entry.js} +1 -1
  1146. package/dist/magma-components/{p-29dd6d94.entry.js → p-2ffa4d4a.entry.js} +1 -1
  1147. package/dist/magma-components/{p-d360e4c5.entry.js → p-32b3ad6f.entry.js} +1 -1
  1148. package/dist/magma-components/{p-5686da49.system.entry.js → p-33129e0c.system.entry.js} +3 -3
  1149. package/dist/magma-components/{p-9c2b67fc.system.entry.js → p-372fa5d4.system.entry.js} +3 -3
  1150. package/dist/magma-components/p-380adee8.system.entry.js +5 -0
  1151. package/dist/magma-components/{p-b0749f83.system.entry.js → p-390d0672.system.entry.js} +3 -3
  1152. package/dist/magma-components/p-397c0686.entry.js +1 -0
  1153. package/dist/magma-components/{p-e0049e96.system.entry.js → p-3a836de8.system.entry.js} +1 -1
  1154. package/dist/magma-components/{p-fff26731.system.entry.js → p-3ba14295.system.entry.js} +2 -2
  1155. package/dist/magma-components/{p-741f8f45.system.entry.js → p-3bf4f012.system.entry.js} +2 -2
  1156. package/dist/magma-components/{p-5d56a7cd.system.entry.js → p-3c911608.system.entry.js} +3 -3
  1157. package/dist/magma-components/{p-aac622ef.system.entry.js → p-3cf8ed46.system.entry.js} +1 -1
  1158. package/dist/magma-components/{p-61e11cd0.system.entry.js → p-3ddae677.system.entry.js} +3 -3
  1159. package/dist/magma-components/{p-2d2cdf0d.entry.js → p-3de37b32.entry.js} +1 -1
  1160. package/dist/magma-components/{p-90d50492.system.entry.js → p-3f17a06f.system.entry.js} +2 -2
  1161. package/dist/magma-components/{p-4f0153cd.entry.js → p-40c59c18.entry.js} +1 -1
  1162. package/dist/magma-components/p-411fca2f.system.entry.js +14 -0
  1163. package/dist/magma-components/{p-7f418ae1.entry.js → p-43c307f5.entry.js} +1 -1
  1164. package/dist/magma-components/{p-14122f2d.entry.js → p-440d7942.entry.js} +1 -1
  1165. package/dist/magma-components/{p-6a994dc1.entry.js → p-4541c233.entry.js} +1 -1
  1166. package/dist/magma-components/p-45c26a24.system.entry.js +21 -0
  1167. package/dist/magma-components/{p-948ecde4.entry.js → p-4612bc78.entry.js} +2 -2
  1168. package/dist/magma-components/{p-be2ca282.entry.js → p-4718a71d.entry.js} +1 -1
  1169. package/dist/magma-components/{p-8a8cad6c.system.entry.js → p-48a1871f.system.entry.js} +1 -1
  1170. package/dist/magma-components/{p-7ee31f2e.entry.js → p-4a1f7eb5.entry.js} +1 -1
  1171. package/dist/magma-components/{p-adab176e.system.entry.js → p-4a2ed30e.system.entry.js} +2 -2
  1172. package/dist/magma-components/{p-efe27253.system.entry.js → p-4a9ed4f7.system.entry.js} +1 -1
  1173. package/dist/magma-components/{p-2d199db0.system.entry.js → p-4c3b3913.system.entry.js} +2 -2
  1174. package/dist/magma-components/p-4c955367.entry.js +1 -0
  1175. package/dist/magma-components/p-4ebb0a9e.entry.js +1 -0
  1176. package/dist/magma-components/{p-02b106c2.entry.js → p-4f80bf37.entry.js} +1 -1
  1177. package/dist/magma-components/{p-a65ce11a.system.entry.js → p-527569a3.system.entry.js} +2 -2
  1178. package/dist/magma-components/{p-0d42ac4a.entry.js → p-52cc5a93.entry.js} +1 -1
  1179. package/dist/magma-components/{p-3139988c.system.entry.js → p-54abba52.system.entry.js} +1 -1
  1180. package/dist/magma-components/{p-4fd0fdb8.system.entry.js → p-555ba0e0.system.entry.js} +2 -2
  1181. package/dist/magma-components/{p-5c8f408e.entry.js → p-56cf1cab.entry.js} +1 -1
  1182. package/dist/magma-components/{p-bba4f1f0.system.entry.js → p-5794053b.system.entry.js} +10 -10
  1183. package/dist/magma-components/{p-57ee6e32.entry.js → p-5a754d7b.entry.js} +1 -1
  1184. package/dist/magma-components/{p-f09f3fe1.system.entry.js → p-5c6fdabd.system.entry.js} +3 -3
  1185. package/dist/magma-components/{p-c683cd13.entry.js → p-5ca6063a.entry.js} +1 -1
  1186. package/dist/magma-components/{p-ac099ed6.entry.js → p-5cb581df.entry.js} +1 -1
  1187. package/dist/magma-components/{p-445198a1.entry.js → p-5d825728.entry.js} +1 -1
  1188. package/dist/magma-components/{p-60b21db7.entry.js → p-5dfca9f0.entry.js} +1 -1
  1189. package/dist/magma-components/{p-f181c679.system.entry.js → p-5f20592f.system.entry.js} +1 -1
  1190. package/dist/magma-components/p-5f38e95b.entry.js +1 -0
  1191. package/dist/magma-components/p-5f4bec31.entry.js +1 -0
  1192. package/dist/magma-components/p-627f5956.entry.js +1 -0
  1193. package/dist/magma-components/{p-a9caed77.entry.js → p-6336d979.entry.js} +1 -1
  1194. package/dist/magma-components/{p-7837856f.entry.js → p-6352c2ea.entry.js} +1 -1
  1195. package/dist/magma-components/{p-10d52280.entry.js → p-64884d84.entry.js} +1 -1
  1196. package/dist/magma-components/{p-98e167e8.system.entry.js → p-64f86e46.system.entry.js} +2 -2
  1197. package/dist/magma-components/{p-9a0f8eb1.entry.js → p-65ea6fc9.entry.js} +1 -1
  1198. package/dist/magma-components/{p-cf42d6ea.system.entry.js → p-66f7f9b1.system.entry.js} +3 -3
  1199. package/dist/magma-components/{p-13cfc01a.entry.js → p-68b0d45a.entry.js} +1 -1
  1200. package/dist/magma-components/{p-b61546fd.entry.js → p-6a4d44e2.entry.js} +1 -1
  1201. package/dist/magma-components/p-6a90caf5.system.entry.js +1 -0
  1202. package/dist/magma-components/{p-dfab370b.entry.js → p-6c4f2de0.entry.js} +1 -1
  1203. package/dist/magma-components/{p-12be0f43.system.entry.js → p-6f90c2c9.system.entry.js} +2 -2
  1204. package/dist/magma-components/p-70faf379.entry.js +1 -0
  1205. package/dist/magma-components/{p-e7f717ab.entry.js → p-71d03e56.entry.js} +1 -1
  1206. package/dist/magma-components/{p-b30b487c.system.entry.js → p-720e9291.system.entry.js} +3 -3
  1207. package/dist/magma-components/{p-bc054ffa.system.entry.js → p-724b7fff.system.entry.js} +2 -2
  1208. package/dist/magma-components/{p-6896786e.entry.js → p-73dc7c66.entry.js} +1 -1
  1209. package/dist/magma-components/{p-34421ef2.system.entry.js → p-7476cf76.system.entry.js} +3 -3
  1210. package/dist/magma-components/{p-0fc41e34.system.entry.js → p-7701a318.system.entry.js} +1 -1
  1211. package/dist/magma-components/{p-85bf9c93.entry.js → p-77707706.entry.js} +1 -1
  1212. package/dist/magma-components/{p-c9553777.entry.js → p-78d00f88.entry.js} +1 -1
  1213. package/dist/magma-components/{p-4f48c171.system.entry.js → p-79085c46.system.entry.js} +1 -1
  1214. package/dist/magma-components/{p-ccffdf0b.system.entry.js → p-793072e1.system.entry.js} +23 -11
  1215. package/dist/magma-components/{p-b2763352.entry.js → p-79392a0a.entry.js} +1 -1
  1216. package/dist/magma-components/{p-7ff5552f.entry.js → p-7a33ab3c.entry.js} +1 -1
  1217. package/dist/magma-components/{p-625de2e6.system.entry.js → p-7a4e8bc0.system.entry.js} +4 -4
  1218. package/dist/magma-components/p-7a73fd19.system.entry.js +127 -0
  1219. package/dist/magma-components/p-7b552dbe.entry.js +1 -0
  1220. package/dist/magma-components/{p-84aac233.entry.js → p-7c13ccb0.entry.js} +1 -1
  1221. package/dist/magma-components/{p-d81fcbde.system.entry.js → p-7e0a8194.system.entry.js} +5 -5
  1222. package/dist/magma-components/{p-45b19935.system.entry.js → p-7fbdf896.system.entry.js} +3 -3
  1223. package/dist/magma-components/{p-35c170ba.system.entry.js → p-804f4794.system.entry.js} +2 -2
  1224. package/dist/magma-components/{p-6c73689a.system.entry.js → p-840c19ee.system.entry.js} +4 -4
  1225. package/dist/magma-components/p-848d1b42.system.entry.js +30 -0
  1226. package/dist/magma-components/{p-81212e34.entry.js → p-86494ea9.entry.js} +1 -1
  1227. package/dist/magma-components/p-8915347f.entry.js +1 -0
  1228. package/dist/magma-components/{p-f493fdc3.entry.js → p-8c20ac0c.entry.js} +1 -1
  1229. package/dist/magma-components/{p-f22b8091.entry.js → p-90c60c48.entry.js} +1 -1
  1230. package/dist/magma-components/{p-60d6e60f.entry.js → p-90e20ad3.entry.js} +1 -1
  1231. package/dist/magma-components/{p-797c64f4.system.entry.js → p-9228db0b.system.entry.js} +13 -3
  1232. package/dist/magma-components/p-94548d43.entry.js +1 -0
  1233. package/dist/magma-components/{p-9c784173.entry.js → p-95020326.entry.js} +1 -1
  1234. package/dist/magma-components/{p-8feba226.entry.js → p-970f45df.entry.js} +1 -1
  1235. package/dist/magma-components/{p-9303fb16.system.entry.js → p-97a501cd.system.entry.js} +2 -2
  1236. package/dist/magma-components/{p-4e072e24.system.entry.js → p-98cc6473.system.entry.js} +30 -12
  1237. package/dist/magma-components/p-99d2ace2.system.entry.js +5 -0
  1238. package/dist/magma-components/{p-627c2780.entry.js → p-9aba3769.entry.js} +1 -1
  1239. package/dist/magma-components/{p-6d009b42.system.entry.js → p-9b0b65f0.system.entry.js} +2 -2
  1240. package/dist/magma-components/{p-f40e3918.system.entry.js → p-9b0d7f7d.system.entry.js} +2 -2
  1241. package/dist/magma-components/{p-5d1cba9c.system.entry.js → p-9b8d15a8.system.entry.js} +1 -1
  1242. package/dist/magma-components/{p-5931fdfc.system.entry.js → p-9e94f4a3.system.entry.js} +4 -4
  1243. package/dist/magma-components/{p-3b578659.system.entry.js → p-9f0100f2.system.entry.js} +2 -2
  1244. package/dist/magma-components/p-B8zYiZQY.system.js +1 -1
  1245. package/dist/magma-components/{p-CuHZXISO.system.js → p-BHdlb7Fr.system.js} +19 -19
  1246. package/dist/magma-components/p-BXVzhErg.system.js +12 -0
  1247. package/dist/magma-components/{p-OafT80hV.js → p-CATyfc78.js} +2 -2
  1248. package/dist/magma-components/{p-CZuIEo2v.system.js → p-Cbabyppz.system.js} +1 -1
  1249. package/dist/magma-components/{p-Dx_cCOTw.js → p-CxzVgcYv.js} +1 -1
  1250. package/dist/magma-components/{p-CxTugGM9.system.js → p-D3J9KZKy.system.js} +1 -1
  1251. package/dist/magma-components/{p-mGgjNqBm.system.js → p-DOisMne4.system.js} +17 -7
  1252. package/dist/magma-components/p-DwKxtKwS.js +1 -0
  1253. package/dist/{components/p-jasGzfhE.js → magma-components/p-Dx7iOdVP.js} +1 -1
  1254. package/dist/magma-components/{p-iX3kcwYg.js → p-DxR4rGsw.js} +1 -1
  1255. package/dist/magma-components/{p-ecc2893d.system.entry.js → p-a112a0e2.system.entry.js} +1 -1
  1256. package/dist/magma-components/{p-86f11a5a.entry.js → p-a2767235.entry.js} +1 -1
  1257. package/dist/magma-components/{p-c0286dc3.system.entry.js → p-a2c3b294.system.entry.js} +6 -6
  1258. package/dist/magma-components/{p-4669334a.system.entry.js → p-a2d4d849.system.entry.js} +2 -2
  1259. package/dist/magma-components/{p-cfbf3a76.system.entry.js → p-a48c73b1.system.entry.js} +2 -2
  1260. package/dist/magma-components/{p-4e8c5b68.entry.js → p-a4f53c83.entry.js} +1 -1
  1261. package/dist/magma-components/{p-e92327a2.entry.js → p-a58e8a5c.entry.js} +1 -1
  1262. package/dist/magma-components/{p-1a20f239.system.entry.js → p-a5ca10ae.system.entry.js} +1 -1
  1263. package/dist/magma-components/{p-46a928c3.entry.js → p-a9a872e1.entry.js} +1 -1
  1264. package/dist/magma-components/{p-0a0dfdf4.system.entry.js → p-a9ab9eb0.system.entry.js} +2 -2
  1265. package/dist/magma-components/{p-72971cf7.system.entry.js → p-ab1c3fb0.system.entry.js} +1 -1
  1266. package/dist/magma-components/{p-074d7b75.entry.js → p-ab445c2b.entry.js} +1 -1
  1267. package/dist/magma-components/{p-45a3e7eb.entry.js → p-abe32d5b.entry.js} +1 -1
  1268. package/dist/magma-components/{p-2e68180d.system.entry.js → p-af56e3e4.system.entry.js} +2 -2
  1269. package/dist/magma-components/{p-ed4fd7a4.entry.js → p-b1238d48.entry.js} +1 -1
  1270. package/dist/magma-components/{p-4748378e.system.entry.js → p-b129b127.system.entry.js} +14 -14
  1271. package/dist/magma-components/{p-e79eb427.system.entry.js → p-b1cd3acf.system.entry.js} +2 -2
  1272. package/dist/magma-components/{p-5aa8f150.entry.js → p-b705b805.entry.js} +1 -1
  1273. package/dist/magma-components/{p-2111aa67.system.entry.js → p-b7d18d7a.system.entry.js} +1 -1
  1274. package/dist/magma-components/{p-3be9b384.system.entry.js → p-b871ad36.system.entry.js} +10 -10
  1275. package/dist/magma-components/{p-f7426a75.entry.js → p-ba871d9c.entry.js} +1 -1
  1276. package/dist/magma-components/{p-5a8fa2d0.entry.js → p-ba95bf93.entry.js} +1 -1
  1277. package/dist/magma-components/{p-3af8a86a.system.entry.js → p-bc054fa3.system.entry.js} +3 -3
  1278. package/dist/magma-components/{p-05455645.system.entry.js → p-bcc6c358.system.entry.js} +2 -2
  1279. package/dist/magma-components/{p-7c3a7521.entry.js → p-bd489df9.entry.js} +1 -1
  1280. package/dist/magma-components/{p-60acbc5f.system.entry.js → p-c0295a0e.system.entry.js} +2 -2
  1281. package/dist/magma-components/p-c06d8b5a.entry.js +1 -0
  1282. package/dist/magma-components/p-c131d726.entry.js +1 -0
  1283. package/dist/magma-components/{p-198ea5d8.entry.js → p-c49676e6.entry.js} +1 -1
  1284. package/dist/magma-components/{p-0dcde20a.system.entry.js → p-c4c1ef48.system.entry.js} +91 -89
  1285. package/dist/magma-components/{p-87831da2.system.entry.js → p-c54f2089.system.entry.js} +1 -1
  1286. package/dist/magma-components/{p-8b8cd213.system.entry.js → p-c691f27e.system.entry.js} +3 -3
  1287. package/dist/magma-components/p-c8414ee6.entry.js +1 -0
  1288. package/dist/magma-components/{p-77001a72.entry.js → p-c8c918d2.entry.js} +5 -5
  1289. package/dist/magma-components/{p-85376ff5.entry.js → p-c91cb63a.entry.js} +1 -1
  1290. package/dist/magma-components/{p-9f55fa7a.system.entry.js → p-c94e7973.system.entry.js} +2 -2
  1291. package/dist/magma-components/{p-387fa36d.system.entry.js → p-c9baa3fb.system.entry.js} +1 -1
  1292. package/dist/magma-components/{p-b781c932.system.entry.js → p-ca4e8601.system.entry.js} +1 -1
  1293. package/dist/magma-components/{p-445bc62a.system.entry.js → p-ca5427d4.system.entry.js} +1 -1
  1294. package/dist/magma-components/{p-4646cdc0.system.entry.js → p-caca78ff.system.entry.js} +2 -2
  1295. package/dist/magma-components/{p-d85f3e5e.system.entry.js → p-caf478ff.system.entry.js} +2 -2
  1296. package/dist/magma-components/{p-b8f4938a.entry.js → p-cb06839f.entry.js} +1 -1
  1297. package/dist/magma-components/{p-d29c959d.entry.js → p-ce42734f.entry.js} +1 -1
  1298. package/dist/magma-components/{p-8aa4cd10.entry.js → p-d1e4a032.entry.js} +1 -1
  1299. package/dist/magma-components/p-d25a47fa.entry.js +1 -0
  1300. package/dist/magma-components/{p-0d3da482.system.entry.js → p-d29b32b4.system.entry.js} +1 -1
  1301. package/dist/magma-components/{p-1f746ad1.system.entry.js → p-d2ba5851.system.entry.js} +9 -9
  1302. package/dist/magma-components/{p-d50d4023.entry.js → p-d365c6b6.entry.js} +1 -1
  1303. package/dist/magma-components/{p-7a920b70.entry.js → p-d3b06151.entry.js} +1 -1
  1304. package/dist/magma-components/{p-4cd21f19.entry.js → p-d45f65e0.entry.js} +1 -1
  1305. package/dist/magma-components/{p-fdedc0ba.entry.js → p-d51ec950.entry.js} +1 -1
  1306. package/dist/magma-components/{p-4606d11f.entry.js → p-d760c1fa.entry.js} +1 -1
  1307. package/dist/magma-components/p-d785d7ee.entry.js +1 -0
  1308. package/dist/magma-components/{p-08da465d.entry.js → p-d9092133.entry.js} +1 -1
  1309. package/dist/magma-components/{p-03fb86a6.system.entry.js → p-dd348171.system.entry.js} +2 -2
  1310. package/dist/magma-components/{p-dcb5f965.entry.js → p-de423b11.entry.js} +1 -1
  1311. package/dist/magma-components/{p-97217527.system.entry.js → p-df78b7ac.system.entry.js} +1 -1
  1312. package/dist/magma-components/{p-fba648e0.entry.js → p-e39b5e12.entry.js} +1 -1
  1313. package/dist/magma-components/{p-99bfa07e.system.entry.js → p-eac943e5.system.entry.js} +1 -1
  1314. package/dist/magma-components/{p-9ef0d4e5.system.entry.js → p-eb220deb.system.entry.js} +2 -2
  1315. package/dist/magma-components/{p-fd81c4ef.system.entry.js → p-eca42fe8.system.entry.js} +2 -2
  1316. package/dist/magma-components/{p-56a25ec6.entry.js → p-ecda3e45.entry.js} +1 -1
  1317. package/dist/magma-components/{p-b523fabe.system.entry.js → p-f0909679.system.entry.js} +2 -2
  1318. package/dist/magma-components/{p-8bf8e032.entry.js → p-f2649031.entry.js} +1 -1
  1319. package/dist/magma-components/{p-30f95d10.entry.js → p-f51ed098.entry.js} +1 -1
  1320. package/dist/magma-components/{p-11210b60.system.entry.js → p-f5bd5b64.system.entry.js} +3 -3
  1321. package/dist/magma-components/p-f6358241.system.entry.js +19 -0
  1322. package/dist/magma-components/{p-b0850daa.entry.js → p-f9f3ad86.entry.js} +1 -1
  1323. package/dist/magma-components/{p-a3d09996.entry.js → p-fb4b648a.entry.js} +1 -1
  1324. package/dist/magma-components/{p-81d2582a.entry.js → p-fd4588c5.entry.js} +1 -1
  1325. package/dist/magma-components/{p-3b494de7.entry.js → p-fdd17ee6.entry.js} +1 -1
  1326. package/dist/magma-components/p-fe51c0cb.system.entry.js +10 -0
  1327. package/dist/magma-components/{p-a3156523.system.entry.js → p-ff6cf4f8.system.entry.js} +3 -3
  1328. package/dist/magma-components/{p-4da1c089.entry.js → p-ff76c614.entry.js} +1 -1
  1329. package/dist/{lint/mcp → mcp}/checks.js +4 -4
  1330. package/dist/{lint/mcp → mcp}/components.js +4 -6
  1331. package/dist/{lint/mcp → mcp}/guides.js +11 -9
  1332. package/dist/{lint/mcp → mcp}/icons.js +21 -0
  1333. package/dist/mcp/package.json +3 -0
  1334. package/dist/{lint/mcp → mcp}/patterns.js +27 -18
  1335. package/dist/{lint/mcp → mcp}/protocol.js +1 -1
  1336. package/dist/{lint/mcp → mcp}/render-page.js +17 -0
  1337. package/dist/{lint/mcp → mcp}/render.js +157 -48
  1338. package/dist/{lint/mcp → mcp}/server.js +4 -4
  1339. package/dist/{lint/mcp → mcp}/tokens.js +1 -2
  1340. package/dist/mcp/tools.json +1374 -0
  1341. package/dist/stats.json +2322 -2038
  1342. package/dist/types/common/aria.d.ts +8 -1
  1343. package/dist/types/common/preference.d.ts +13 -1
  1344. package/dist/types/components/mds-button/mds-button.d.ts +50 -4
  1345. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +22 -2
  1346. package/dist/types/components/mds-modal/mds-modal.d.ts +8 -1
  1347. package/dist/types/components/mds-pref/mds-pref.d.ts +0 -9
  1348. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +16 -5
  1349. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +14 -1
  1350. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +9 -2
  1351. package/dist/types/components.d.ts +71 -17
  1352. package/dist/types/type/button.d.ts +2 -0
  1353. package/package.json +15 -13
  1354. package/dist/components/p-BwT0RJip.js +0 -1
  1355. package/dist/components/p-COUgBzJ4.js +0 -1
  1356. package/dist/components/p-Cvhn9asj.js +0 -1
  1357. package/dist/components/p-G7Udw5H5.js +0 -1
  1358. package/dist/components/p-Ic8cYsgt.js +0 -1
  1359. package/dist/components/p-l0KS6hTQ.js +0 -1
  1360. package/dist/esm-es5/aria-Cvhn9asj.js +0 -6
  1361. package/dist/lint/mcp/checks.d.ts +0 -29
  1362. package/dist/lint/mcp/cli.d.ts +0 -2
  1363. package/dist/lint/mcp/color.d.ts +0 -12
  1364. package/dist/lint/mcp/components.d.ts +0 -5
  1365. package/dist/lint/mcp/context.d.ts +0 -45
  1366. package/dist/lint/mcp/guides.d.ts +0 -3
  1367. package/dist/lint/mcp/icons.d.ts +0 -9
  1368. package/dist/lint/mcp/patterns.d.ts +0 -75
  1369. package/dist/lint/mcp/protocol.d.ts +0 -77
  1370. package/dist/lint/mcp/render-page.d.ts +0 -36
  1371. package/dist/lint/mcp/render.d.ts +0 -109
  1372. package/dist/lint/mcp/server.d.ts +0 -39
  1373. package/dist/lint/mcp/tokens.d.ts +0 -37
  1374. package/dist/magma-components/p-06691ab3.system.entry.js +0 -27
  1375. package/dist/magma-components/p-1d8485de.system.entry.js +0 -28
  1376. package/dist/magma-components/p-21345ecc.entry.js +0 -1
  1377. package/dist/magma-components/p-25dcbf22.entry.js +0 -1
  1378. package/dist/magma-components/p-34d58345.entry.js +0 -1
  1379. package/dist/magma-components/p-37881115.system.entry.js +0 -14
  1380. package/dist/magma-components/p-4e5b8618.system.entry.js +0 -1
  1381. package/dist/magma-components/p-52e2b0d4.system.entry.js +0 -14
  1382. package/dist/magma-components/p-69319301.system.entry.js +0 -10
  1383. package/dist/magma-components/p-7b06b2f2.entry.js +0 -1
  1384. package/dist/magma-components/p-7d61f442.entry.js +0 -1
  1385. package/dist/magma-components/p-9e2b1a29.entry.js +0 -1
  1386. package/dist/magma-components/p-9ed54db1.entry.js +0 -1
  1387. package/dist/magma-components/p-Cvhn9asj.js +0 -1
  1388. package/dist/magma-components/p-a8206d9c.entry.js +0 -1
  1389. package/dist/magma-components/p-b464668b.system.entry.js +0 -105
  1390. package/dist/magma-components/p-b85f56d7.entry.js +0 -1
  1391. package/dist/magma-components/p-c7dc17f8.entry.js +0 -1
  1392. package/dist/magma-components/p-d43e2a9a.entry.js +0 -1
  1393. package/dist/magma-components/p-ddfb4da3.entry.js +0 -1
  1394. package/dist/magma-components/p-e428490d.system.entry.js +0 -5
  1395. package/dist/magma-components/p-f045b018.entry.js +0 -1
  1396. package/dist/magma-components/p-f3708d1a.entry.js +0 -1
  1397. package/dist/magma-components/p-f5d9f625.entry.js +0 -1
  1398. package/dist/magma-components/p-fa387b74.system.entry.js +0 -5
  1399. package/dist/magma-components/p-fbf563c8.entry.js +0 -1
  1400. package/dist/magma-components/p-ff82edad.entry.js +0 -1
  1401. package/dist/magma-components/p-sm_-_oFY.system.js +0 -6
  1402. /package/dist/{lint/mcp → mcp}/cli.js +0 -0
  1403. /package/dist/{lint/mcp → mcp}/color.js +0 -0
  1404. /package/dist/{lint/mcp → mcp}/context.js +0 -0
  1405. /package/dist/{lint/mcp → mcp}/icon.svg +0 -0
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(e,r,a,t){function n(e){return e instanceof a?e:new a((function(r){r(e)}))}return new(a||(a=Promise))((function(a,i){function l(e){try{c(t.next(e))}catch(e){i(e)}}function o(e){try{c(t["throw"](e))}catch(e){i(e)}}function c(e){e.done?a(e.value):n(e.value).then(l,o)}c((t=t.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var a={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,n,i,l=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return l.next=o(0),l["throw"]=o(1),l["return"]=o(2),typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(e){return function(r){return c([e,r])}}function c(o){if(t)throw new TypeError("Generator is already executing.");while(l&&(l=0,o[0]&&(a=0)),a)try{if(t=1,n&&(i=o[0]&2?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;if(n=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;n=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(i=a.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(o[0]===6&&a.label<i[1]){a.label=i[1];i=o;break}if(i&&a.label<i[2]){a.label=i[2];a.ops.push(o);break}if(i[2])a.ops.pop();a.trys.pop();continue}o=r.call(e,a)}catch(e){o=[6,e];n=0}finally{t=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-BZP13mns.system.js","./p-WSL9tMdv.system.js","./p-mGgjNqBm.system.js","./p-opeIIa7t.system.js","./p-BeNKMPXR.system.js","./p-Qrub-hmK.system.js","./p-CuHZXISO.system.js"],(function(e){"use strict";var r,a,t,n,i,l,o,c,s,d,h;return{setters:[function(e){r=e.r;a=e.d;t=e.h;n=e.e;i=e.g},function(e){l=e.D},function(e){o=e.p},function(e){c=e.s},function(e){s=e.h},function(e){d=e.c},function(e){h=e.L}],execute:function(){var u='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.23 20.23L8 22l10-10L8 2L6.23 3.77L14.46 12z"/></svg>';var v='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.77 3.77L16 2L6 12l10 10l1.77-1.77L9.54 12z"/></svg>';var m="Επόμενος μήνας";var b="Επόμενα έτη";var f="Προηγούμενος μήνας";var p="Προηγούμενα έτη";var g={nextMonth:m,nextYears:b,previousMonth:f,previousYears:p};var y="Next month";var k="Next years";var w="Previous month";var x="Previous years";var M={nextMonth:y,nextYears:k,previousMonth:w,previousYears:x};var _="Mes siguiente";var z="Años siguientes";var A="Mes anterior";var q="Años anteriores";var D={nextMonth:_,nextYears:z,previousMonth:A,previousYears:q};var j="Mese successivo";var C="Anni successivi";var F="Mese precedente";var L="Anni precedenti";var P={nextMonth:j,nextYears:C,previousMonth:F,previousYears:L};var Y=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-calendar-day-number-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-calendar-cell-gap:calc(var(--spacing,.0025rem)*50);--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));--mds-calendar-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-calendar-padding:calc(var(--spacing,.0025rem)*400);--mds-calendar-select-month-or-year-height:calc(var(--spacing,.0025rem)*900);--mds-calendar-select-month-or-year-width:calc(var(--spacing,.0025rem)*5600);--mds-calendar-max-width:calc(var(--spacing,.0025rem)*12000);background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));corner-shape:var(--magma-corner-shape,squircle);cursor:auto;display:inline-flex;inline-size:100%;max-width:var(--mds-calendar-max-width,calc(var(--spacing,.0025rem)*12000));min-width:min-content;overflow:hidden}.calendar-view{background-color:var(--mds-calendar-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:inherit;box-sizing:border-box;corner-shape:inherit;display:grid;flex:auto;width:100%}.calendar-preselection,.calendar-view{padding:var(--mds-calendar-padding,calc(var(--spacing,.0025rem)*400))}.calendar-preselection{display:none;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content}.calendar-preselection--has-preselection{display:grid}nav{display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;min-width:0}.action{justify-content:left;min-width:min-content;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-back,.action-forward{flex-shrink:0}.select-month-or-year{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));border-radius:min(var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))),var(--magma-corner-cap,.5) * var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900)));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;flex:0 0 var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));justify-content:flex-start;max-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));min-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));overflow:hidden}.action-month,.action-year{--mds-button-radius:0;align-self:stretch;block-size:100%;box-sizing:border-box;cursor:default;height:100%;max-block-size:100%;max-height:100%;min-block-size:0;min-height:0;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-month{flex:auto;min-width:0}.action-year{flex:0 0 calc(var(--spacing,.0025rem)*1800)}.action-month::part(label),.action-year::part(label){overflow:visible;text-overflow:clip;white-space:nowrap}.week-day-name{align-items:center;block-size:calc(var(--spacing,.0025rem)*1200);inline-size:100%;min-height:auto;padding:0}.month-view__cells,.month-view__days-names{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(7,minmax(1px,100%));min-width:0}.month-view{display:grid}.month-view__month-names,.month-view__years{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(3,minmax(1px,100%));min-width:0}"};var S=e("mds_calendar",/** @class */function(){function e(e){var t=this;r(this,e);this.datesEmitter=a(this,"mdsCalendarChange",7);this.navigationEmitter=a(this,"mdsCalendarNavigate",7);this.hoverEmitter=a(this,"mdsCalendarHover",7);this.checkPreselectionsEmitter=a(this,"mdsCalendarPreselect",7);this.t=new h({el:g,en:M,es:D,it:P});this.hasPreselection=false;this.currentDate=l.now();this.weekDaysinMonth=[];this.weekdays=[];this.startDateIdentifier=null;this.endDateIdentifier=null;this.isFirstClick=true;this.currentView="calendar";this.selectedYear=this.currentDate.year;
1
+ var __awaiter=this&&this.__awaiter||function(e,r,a,t){function n(e){return e instanceof a?e:new a((function(r){r(e)}))}return new(a||(a=Promise))((function(a,i){function l(e){try{o(t.next(e))}catch(e){i(e)}}function c(e){try{o(t["throw"](e))}catch(e){i(e)}}function o(e){e.done?a(e.value):n(e.value).then(l,c)}o((t=t.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var a={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,n,i,l=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return l.next=c(0),l["throw"]=c(1),l["return"]=c(2),typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(e){return function(r){return o([e,r])}}function o(c){if(t)throw new TypeError("Generator is already executing.");while(l&&(l=0,c[0]&&(a=0)),a)try{if(t=1,n&&(i=c[0]&2?n["return"]:c[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,c[1])).done)return i;if(n=0,i)c=[c[0]&2,i.value];switch(c[0]){case 0:case 1:i=c;break;case 4:a.label++;return{value:c[1],done:false};case 5:a.label++;n=c[1];c=[0];continue;case 7:c=a.ops.pop();a.trys.pop();continue;default:if(!(i=a.trys,i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(c[0]===6&&a.label<i[1]){a.label=i[1];i=c;break}if(i&&a.label<i[2]){a.label=i[2];a.ops.push(c);break}if(i[2])a.ops.pop();a.trys.pop();continue}c=r.call(e,a)}catch(e){c=[6,e];n=0}finally{t=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-BZP13mns.system.js","./p-WSL9tMdv.system.js","./p-DOisMne4.system.js","./p-opeIIa7t.system.js","./p-BeNKMPXR.system.js","./p-Qrub-hmK.system.js","./p-BHdlb7Fr.system.js"],(function(e){"use strict";var r,a,t,n,i,l,c,o,s,d,h;return{setters:[function(e){r=e.r;a=e.d;t=e.h;n=e.e;i=e.g},function(e){l=e.D},function(e){c=e.p},function(e){o=e.s},function(e){s=e.h},function(e){d=e.c},function(e){h=e.L}],execute:function(){var u='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.23 20.23L8 22l10-10L8 2L6.23 3.77L14.46 12z"/></svg>';var v='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.77 3.77L16 2L6 12l10 10l1.77-1.77L9.54 12z"/></svg>';var m="Επόμενος μήνας";var b="Επόμενα έτη";var f="Προηγούμενος μήνας";var p="Προηγούμενα έτη";var g={nextMonth:m,nextYears:b,previousMonth:f,previousYears:p};var y="Next month";var k="Next years";var w="Previous month";var x="Previous years";var M={nextMonth:y,nextYears:k,previousMonth:w,previousYears:x};var _="Mes siguiente";var z="Años siguientes";var A="Mes anterior";var q="Años anteriores";var D={nextMonth:_,nextYears:z,previousMonth:A,previousYears:q};var j="Mese successivo";var F="Anni successivi";var C="Mese precedente";var L="Anni precedenti";var P={nextMonth:j,nextYears:F,previousMonth:C,previousYears:L};var Y=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-calendar-day-number-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-calendar-cell-gap:calc(var(--spacing,.0025rem)*50);--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));--mds-calendar-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-calendar-padding:calc(var(--spacing,.0025rem)*400);--mds-calendar-select-month-or-year-height:calc(var(--spacing,.0025rem)*900);--mds-calendar-select-month-or-year-width:calc(var(--spacing,.0025rem)*5600);--mds-calendar-max-width:calc(var(--spacing,.0025rem)*12000);background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));corner-shape:var(--magma-corner-shape,squircle);cursor:auto;display:inline-flex;inline-size:100%;max-width:var(--mds-calendar-max-width,calc(var(--spacing,.0025rem)*12000));min-width:min-content;overflow:hidden}.calendar-view{background-color:var(--mds-calendar-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:inherit;box-sizing:border-box;corner-shape:inherit;display:grid;flex:auto;width:100%}.calendar-preselection,.calendar-view{padding:var(--mds-calendar-padding,calc(var(--spacing,.0025rem)*400))}.calendar-preselection{display:none;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content}.calendar-preselection--has-preselection{display:grid}nav{display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;min-width:0}.action{justify-content:left;min-width:min-content;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-back,.action-forward{flex-shrink:0}.select-month-or-year{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));border-radius:min(var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))),var(--magma-corner-cap,.5) * var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900)));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;flex:0 0 var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));justify-content:flex-start;max-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));min-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-inline-size:var(--mds-calendar-select-month-or-year-width,calc(var(--spacing,.0025rem)*5600));overflow:hidden}.action-month,.action-year{--mds-button-radius:0;align-self:stretch;block-size:100%;box-sizing:border-box;cursor:default;height:100%;max-block-size:100%;max-height:100%;min-block-size:0;min-height:0;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-month{flex:auto;min-width:0}.action-year{flex:0 0 calc(var(--spacing,.0025rem)*1800)}.action-month::part(label),.action-year::part(label){overflow:visible;text-overflow:clip;white-space:nowrap}.week-day-name{align-items:center;block-size:calc(var(--spacing,.0025rem)*1200);inline-size:100%;min-height:auto;padding:0}.month-view__cells,.month-view__days-names{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(7,minmax(1px,100%));min-width:0}.month-view{display:grid}.month-view__month-names,.month-view__years{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(3,minmax(1px,100%));min-width:0}"};var S=e("mds_calendar",/** @class */function(){function e(e){var t=this;r(this,e);this.datesEmitter=a(this,"mdsCalendarChange",7);this.navigationEmitter=a(this,"mdsCalendarNavigate",7);this.hoverEmitter=a(this,"mdsCalendarHover",7);this.checkPreselectionsEmitter=a(this,"mdsCalendarPreselect",7);this.t=new h({el:g,en:M,es:D,it:P});this.hasPreselection=false;this.currentDate=l.now();this.weekDaysinMonth=[];this.weekdays=[];this.startDateIdentifier=null;this.endDateIdentifier=null;this.isFirstClick=true;this.currentView="calendar";this.selectedYear=this.currentDate.year;
2
2
  /**
3
3
  * If set, the component selects a single date instead of a date range (start and end date).
4
4
  */this.singlePicker=false;
@@ -60,7 +60,7 @@ this.updatePreselection=function(){t.hasPreselection=s(t.host,"preselection")||t
60
60
  /**
61
61
  * Normalizes a date prop to ISO 8601, treating an empty or invalid value as unset (`null`).
62
62
  * An invalid value is reported with a warning instead of breaking the component lifecycle.
63
- */e.prototype.parseDateProp=function(e,r){if(e===null||e===""){return null}var a=c(e.toString());if(a===null||!l.fromISO(a).isValid){console.warn("mds-calendar: ignoring the invalid ".concat(r,' "').concat(e,'"'));return null}return a};e.prototype.componentWillLoad=function(){this.internalStartDate=this.parseDateProp(this.internalStartDate,"start-date");this.internalEndDate=this.parseDateProp(this.internalEndDate,"end-date");if(this.singlePicker&&this.internalEndDate!==null){console.warn("singlePicker is enabled, endDate cannot be set");this.internalEndDate=null}this.orderRange();if(this.viewDate!==null&&this.viewDate!==""){var e=l.fromISO(this.viewDate.toString());if(e.isValid){this.currentDate=e}}else if(this.internalStartDate!==null){this.startDateTime=l.fromISO(this.internalStartDate);this.currentDate=this.startDateTime}if(this.internalEndDate!==null){this.endDateTime=l.fromISO(this.internalEndDate)}this.updateCalendar()};e.prototype.componentDidLoad=function(){var e,r,a;this.updatePreselection();(r=(e=this.host)===null||e===void 0?void 0:e.shadowRoot)===null||r===void 0?void 0:r.addEventListener("mouseover",this.handleMouseOver);(a=this.host)===null||a===void 0?void 0:a.addEventListener("mouseleave",this.handleMouseLeave);this.setDates()};e.prototype.disconnectedCallback=function(){var e,r,a;(r=(e=this.host)===null||e===void 0?void 0:e.shadowRoot)===null||r===void 0?void 0:r.removeEventListener("mouseover",this.handleMouseOver);(a=this.host)===null||a===void 0?void 0:a.removeEventListener("mouseleave",this.handleMouseLeave)};
63
+ */e.prototype.parseDateProp=function(e,r){if(e===null||e===""){return null}var a=o(e.toString());if(a===null||!l.fromISO(a).isValid){console.warn("mds-calendar: ignoring the invalid ".concat(r,' "').concat(e,'"'));return null}return a};e.prototype.componentWillLoad=function(){this.internalStartDate=this.parseDateProp(this.internalStartDate,"start-date");this.internalEndDate=this.parseDateProp(this.internalEndDate,"end-date");if(this.singlePicker&&this.internalEndDate!==null){console.warn("singlePicker is enabled, endDate cannot be set");this.internalEndDate=null}this.orderRange();if(this.viewDate!==null&&this.viewDate!==""){var e=l.fromISO(this.viewDate.toString());if(e.isValid){this.currentDate=e}}else if(this.internalStartDate!==null){this.startDateTime=l.fromISO(this.internalStartDate);this.currentDate=this.startDateTime}if(this.internalEndDate!==null){this.endDateTime=l.fromISO(this.internalEndDate)}this.updateCalendar()};e.prototype.componentDidLoad=function(){var e,r,a;this.updatePreselection();(r=(e=this.host)===null||e===void 0?void 0:e.shadowRoot)===null||r===void 0?void 0:r.addEventListener("mouseover",this.handleMouseOver);(a=this.host)===null||a===void 0?void 0:a.addEventListener("mouseleave",this.handleMouseLeave);this.setDates()};e.prototype.disconnectedCallback=function(){var e,r,a;(r=(e=this.host)===null||e===void 0?void 0:e.shadowRoot)===null||r===void 0?void 0:r.removeEventListener("mouseover",this.handleMouseOver);(a=this.host)===null||a===void 0?void 0:a.removeEventListener("mouseleave",this.handleMouseLeave)};
64
64
  /**
65
65
  * Sets the calendar's current date and re-renders the calendar accordingly.
66
66
  * @param date the date to display, in ISO format (YYYY-MM-DD)
@@ -68,12 +68,12 @@ this.updatePreselection=function(){t.hasPreselection=s(t.host,"preselection")||t
68
68
  /**
69
69
  * The date previewed on hover: a `hover-date` set by a parent wins over the cell hovered in
70
70
  * this calendar, so that the parent can spread the preview across several visible calendars.
71
- */e.prototype.resolveHoverDate=function(){if(this.hoverDate!==null&&this.hoverDate!==""){return this.hoverDate}return this.internalHoverDate};e.prototype.updateDates=function(){var e=this;this.updateCalendar().then((function(){requestAnimationFrame((function(){return e.setDates()}))}))};e.prototype.updateCalendar=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){try{e=this.currentDate.startOf("week");this.weekdays=Array.from({length:7}).map((function(r,a){return e.setLocale(o.state.language).plus({days:a}).toFormat("ccc")}));this.calculateWeekDaysInMonth();this.currentMonth=this.currentDate.setLocale(o.state.language).toFormat("MMMM");this.currentMonthNumber=this.currentDate.month;this.currentYear=this.currentDate.toFormat("yyyy")}catch(e){console.error("Error while updating the calendar:",e)}return[2/*return*/]}))}))};e.prototype.setDates=function(){var e=this.host;if(e==null)return;var r=e.shadowRoot;if(!r)return;var a=r.querySelectorAll("mds-calendar-cell[selection], mds-calendar-cell[preview]");if(!this.singlePicker){var t=this.resolveHoverDate();if(t!==null&&(this.internalEndDate===null||this.internalEndDate==="")){this.setHoverSelection(a,r,t)}else{this.setRangeSelection(a,r)}}else{this.setSingleSelection(a,r)}};e.prototype.clearSelectionState=function(e){e.forEach((function(e){e.removeAttribute("selection");e.removeAttribute("preview")}))};e.prototype.setRangeSelection=function(e,r){var a=this;this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=l.fromISO(this.internalStartDate.toString());if(this.internalEndDate===null||this.internalEndDate===""){this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false;var t=r.querySelectorAll("mds-calendar-cell");t.forEach((function(e){if(e.getAttribute("date")===a.startDateTime.toFormat("yyyy-MM-dd")){e.setAttribute("selection","single");e.setAttribute("preview","true")}}));return}this.endDateTime=l.fromISO(this.internalEndDate.toString());this.startDateIdentifier=this.startDateTime.toISODate();this.endDateIdentifier=this.endDateTime.toISODate();var n=r.querySelectorAll("mds-calendar-cell");if(n!=null){var i=void 0;for(var o=0;o<n.length;o++){var c=n[o].getAttribute("date");if(c!==null&&c!==""){var s=l.fromISO(c);if(s.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){n[o].setAttribute("selection","start")}if(s.toFormat("yyyy-MM-dd")===this.endDateTime.toFormat("yyyy-MM-dd")){if(this.startDateTime.equals(this.endDateTime)){n[o].setAttribute("selection","single")}else{n[o].setAttribute("selection","end")}}i=s>this.startDateTime&&s<this.endDateTime;if(i){n[o].setAttribute("selection","middle")}}}}};e.prototype.setHoverSelection=function(e,r,a){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate===""){this.setRangeSelection(e,r);return}var t=l.fromISO(this.internalStartDate);var n=l.fromISO(a);if(!t.isValid||!n.isValid){this.setRangeSelection(e,r);return}var i=t<=n;var o=Array.from(r.querySelectorAll("mds-calendar-cell"));o.forEach((function(e){var r=e.getAttribute("date");if(r===null||r==="")return;var a=l.fromISO(r);if(!a.isValid)return;var o=i?a>=t&&a<=n:a>=n&&a<=t;if(!o)return;e.setAttribute("preview","true");var c="middle";if(t.equals(n)&&a.equals(t)){c="single"}else if(a.equals(t)){c=i?"start":"end"}else if(a.equals(n)){c=i?"end":"start"}e.setAttribute("selection",c)}))};e.prototype.setSingleSelection=function(e,r){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=l.fromISO(this.internalStartDate.toString());var a=r.querySelectorAll("mds-calendar-cell");if(a!=null){for(var t=0;t<a.length;t++){var n=a[t].getAttribute("date");if(n!==null&&n!==""){var i=l.fromISO(n);if(i.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){a[t].setAttribute("selection","single")}}}}};e.prototype.changeMonth=function(e){var r=this;this.currentDate=this.currentDate.plus({months:e});this.updateCalendar().then((function(){requestAnimationFrame((function(){return r.setDates()}))}));this.navigationEmitter.emit({currentDate:this.currentDate.toISODate(),delta:e})};e.prototype.calculateWeekDaysInMonth=function(){var e=this.currentDate.startOf("month");var r=this.currentDate.endOf("month");var a=[];var t=e.weekday;var n=t-1;var i=e.minus({days:n});for(var l=i;l<e;l=l.plus({days:1})){a.push({date:l,isCurrentMonth:false})}for(var l=e;l<=r;l=l.plus({days:1})){a.push({date:l,isCurrentMonth:true})}var o=r.weekday;var c=7-o;var s=r.plus({days:1});for(var l=s;l<s.plus({days:c});l=l.plus({days:1})){a.push({date:l,isCurrentMonth:false})}this.weekDaysinMonth=a};e.prototype.handleRange=function(e,r){var a=this;if(!this.singlePicker&&(this.endDate===null||this.endDate==="")&&(this.internalEndDate===null||this.internalEndDate==="")&&this.isFirstClick){var t=this.parseDateProp(this.startDate||this.host.getAttribute("start-date"),"start-date");if(t!==null){this.internalStartDate=t;this.startDateTime=l.fromISO(t);this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false}}var n=function(){a.internalStartDate=null;a.internalEndDate=null;a.startDateIdentifier=null;a.startDateTime=null;a.endDateIdentifier=null;a.endDateTime=null;a.isFirstClick=true;var e=a.host;requestAnimationFrame((function(){var r;(r=e===null||e===void 0?void 0:e.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection");e.removeAttribute("preview")}))}))};if(this.startDateIdentifier!==null&&this.startDateIdentifier!==""&&this.endDateIdentifier!==null&&this.endDateIdentifier!==""){n()}if(this.isFirstClick){this.startDateIdentifier=r.toISODate();this.startDateTime=r;this.internalStartDate=this.startDateTime.toISO().split("T")[0];this.isFirstClick=false;var i=this.host;requestAnimationFrame((function(){var e;(e=i===null||i===void 0?void 0:i.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection")}))}));requestAnimationFrame((function(){e.setAttribute("selection","single");e.setAttribute("preview","true")}));this.datesEmitter.emit({startDate:this.internalStartDate});return}if(this.startDateIdentifier!==null&&this.startDateIdentifier!==""&&l.fromISO(this.startDateIdentifier)<l.fromISO(e.getAttribute("date"))){this.endDateIdentifier=e.getAttribute("date");this.endDateTime=r;this.internalEndDate=this.endDateTime.toISO().split("T")[0]}else{this.endDateIdentifier=this.startDateIdentifier;this.endDateTime=this.startDateTime;this.internalEndDate=this.internalStartDate;this.startDateIdentifier=e.getAttribute("date");this.startDateTime=r;this.internalStartDate=this.startDateTime.toISO().split("T")[0]}
71
+ */e.prototype.resolveHoverDate=function(){if(this.hoverDate!==null&&this.hoverDate!==""){return this.hoverDate}return this.internalHoverDate};e.prototype.updateDates=function(){var e=this;this.updateCalendar().then((function(){requestAnimationFrame((function(){return e.setDates()}))}))};e.prototype.updateCalendar=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){try{e=this.currentDate.startOf("week");this.weekdays=Array.from({length:7}).map((function(r,a){return e.setLocale(c.state.language).plus({days:a}).toFormat("ccc")}));this.calculateWeekDaysInMonth();this.currentMonth=this.currentDate.setLocale(c.state.language).toFormat("MMMM");this.currentMonthNumber=this.currentDate.month;this.currentYear=this.currentDate.toFormat("yyyy")}catch(e){console.error("Error while updating the calendar:",e)}return[2/*return*/]}))}))};e.prototype.setDates=function(){var e=this.host;if(e==null)return;var r=e.shadowRoot;if(!r)return;var a=r.querySelectorAll("mds-calendar-cell[selection], mds-calendar-cell[preview]");if(!this.singlePicker){var t=this.resolveHoverDate();if(t!==null&&(this.internalEndDate===null||this.internalEndDate==="")){this.setHoverSelection(a,r,t)}else{this.setRangeSelection(a,r)}}else{this.setSingleSelection(a,r)}};e.prototype.clearSelectionState=function(e){e.forEach((function(e){e.removeAttribute("selection");e.removeAttribute("preview")}))};e.prototype.setRangeSelection=function(e,r){var a=this;this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=l.fromISO(this.internalStartDate.toString());if(this.internalEndDate===null||this.internalEndDate===""){this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false;var t=r.querySelectorAll("mds-calendar-cell");t.forEach((function(e){if(e.getAttribute("date")===a.startDateTime.toFormat("yyyy-MM-dd")){e.setAttribute("selection","single");e.setAttribute("preview","true")}}));return}this.endDateTime=l.fromISO(this.internalEndDate.toString());this.startDateIdentifier=this.startDateTime.toISODate();this.endDateIdentifier=this.endDateTime.toISODate();var n=r.querySelectorAll("mds-calendar-cell");if(n!=null){var i=void 0;for(var c=0;c<n.length;c++){var o=n[c].getAttribute("date");if(o!==null&&o!==""){var s=l.fromISO(o);if(s.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){n[c].setAttribute("selection","start")}if(s.toFormat("yyyy-MM-dd")===this.endDateTime.toFormat("yyyy-MM-dd")){if(this.startDateTime.equals(this.endDateTime)){n[c].setAttribute("selection","single")}else{n[c].setAttribute("selection","end")}}i=s>this.startDateTime&&s<this.endDateTime;if(i){n[c].setAttribute("selection","middle")}}}}};e.prototype.setHoverSelection=function(e,r,a){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate===""){this.setRangeSelection(e,r);return}var t=l.fromISO(this.internalStartDate);var n=l.fromISO(a);if(!t.isValid||!n.isValid){this.setRangeSelection(e,r);return}var i=t<=n;var c=Array.from(r.querySelectorAll("mds-calendar-cell"));c.forEach((function(e){var r=e.getAttribute("date");if(r===null||r==="")return;var a=l.fromISO(r);if(!a.isValid)return;var c=i?a>=t&&a<=n:a>=n&&a<=t;if(!c)return;e.setAttribute("preview","true");var o="middle";if(t.equals(n)&&a.equals(t)){o="single"}else if(a.equals(t)){o=i?"start":"end"}else if(a.equals(n)){o=i?"end":"start"}e.setAttribute("selection",o)}))};e.prototype.setSingleSelection=function(e,r){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=l.fromISO(this.internalStartDate.toString());var a=r.querySelectorAll("mds-calendar-cell");if(a!=null){for(var t=0;t<a.length;t++){var n=a[t].getAttribute("date");if(n!==null&&n!==""){var i=l.fromISO(n);if(i.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){a[t].setAttribute("selection","single")}}}}};e.prototype.changeMonth=function(e){var r=this;this.currentDate=this.currentDate.plus({months:e});this.updateCalendar().then((function(){requestAnimationFrame((function(){return r.setDates()}))}));this.navigationEmitter.emit({currentDate:this.currentDate.toISODate(),delta:e})};e.prototype.calculateWeekDaysInMonth=function(){var e=this.currentDate.startOf("month");var r=this.currentDate.endOf("month");var a=[];var t=e.weekday;var n=t-1;var i=e.minus({days:n});for(var l=i;l<e;l=l.plus({days:1})){a.push({date:l,isCurrentMonth:false})}for(var l=e;l<=r;l=l.plus({days:1})){a.push({date:l,isCurrentMonth:true})}var c=r.weekday;var o=7-c;var s=r.plus({days:1});for(var l=s;l<s.plus({days:o});l=l.plus({days:1})){a.push({date:l,isCurrentMonth:false})}this.weekDaysinMonth=a};e.prototype.handleRange=function(e,r){var a=this;if(!this.singlePicker&&(this.endDate===null||this.endDate==="")&&(this.internalEndDate===null||this.internalEndDate==="")&&this.isFirstClick){var t=this.parseDateProp(this.startDate||this.host.getAttribute("start-date"),"start-date");if(t!==null){this.internalStartDate=t;this.startDateTime=l.fromISO(t);this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false}}var n=function(){a.internalStartDate=null;a.internalEndDate=null;a.startDateIdentifier=null;a.startDateTime=null;a.endDateIdentifier=null;a.endDateTime=null;a.isFirstClick=true;var e=a.host;requestAnimationFrame((function(){var r;(r=e===null||e===void 0?void 0:e.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection");e.removeAttribute("preview")}))}))};if(this.startDateIdentifier!==null&&this.startDateIdentifier!==""&&this.endDateIdentifier!==null&&this.endDateIdentifier!==""){n()}if(this.isFirstClick){this.startDateIdentifier=r.toISODate();this.startDateTime=r;this.internalStartDate=this.startDateTime.toISO().split("T")[0];this.isFirstClick=false;var i=this.host;requestAnimationFrame((function(){var e;(e=i===null||i===void 0?void 0:i.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection")}))}));requestAnimationFrame((function(){e.setAttribute("selection","single");e.setAttribute("preview","true")}));this.datesEmitter.emit({startDate:this.internalStartDate});return}if(this.startDateIdentifier!==null&&this.startDateIdentifier!==""&&l.fromISO(this.startDateIdentifier)<l.fromISO(e.getAttribute("date"))){this.endDateIdentifier=e.getAttribute("date");this.endDateTime=r;this.internalEndDate=this.endDateTime.toISO().split("T")[0]}else{this.endDateIdentifier=this.startDateIdentifier;this.endDateTime=this.startDateTime;this.internalEndDate=this.internalStartDate;this.startDateIdentifier=e.getAttribute("date");this.startDateTime=r;this.internalStartDate=this.startDateTime.toISO().split("T")[0]}
72
72
  // Redraw start, middle and end from the internal dates: a standalone calendar has no parent
73
73
  // echoing the range through start-date / end-date, so nothing else would mark the two ends.
74
- requestAnimationFrame((function(){return a.setDates()}));if(this.internalStartDate!==null&&this.internalStartDate!==""&&this.internalEndDate!==null&&this.internalEndDate!==""){this.datesEmitter.emit({startDate:this.internalStartDate,endDate:this.internalEndDate});this.checkPreselectionsEmitter.emit()}};e.prototype.handleSingleSelection=function(e,r){var a;var t=this.host;(a=t===null||t===void 0?void 0:t.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection")}));this.startDateIdentifier=e.getAttribute("date");this.startDateTime=r;this.internalStartDate=this.startDateTime.toISO().split("T")[0];this.isFirstClick=false;e.setAttribute("selection","single");if(this.internalStartDate!==null&&this.internalStartDate!==""){this.datesEmitter.emit({startDate:this.internalStartDate})}};e.prototype.isDateDisabled=function(e){if(this.min!==null&&this.min!==""&&e<l.fromISO(this.min)){return true}if(this.max!==null&&this.max!==""&&e>l.fromISO(this.max)){return true}return undefined};e.prototype.render=function(){var e=this;return t(n,{key:"5ece6c00dd42e09020407a839a354c3076565a2f"},t("div",{key:"49f671efc9d432d9c4eb4d28f0c6b33b9873422d",class:d("calendar-preselection",this.hasPreselection&&!this.hidePreselection&&"calendar-preselection--has-preselection")},t("slot",{key:"c2a4f2f42dd5e56a5f8f91666d89cae614f56186",name:"preselection",onSlotchange:this.updatePreselection})),t("div",{key:"b6e9ad5d16530969414894ef8b2725d029bc3dff",class:"calendar-view"},t("nav",{key:"d1fb5573c5b47ce8ed9cb47f4ce728b89f87fd5e"},!this.hidePreviousButton&&t("mds-button",{key:"1e65631d9cb3757ee22a6b333828199bcf356d87","aria-label":this.t.get(this.currentView==="years"?"previousYears":"previousMonth"),class:"action-back",
74
+ requestAnimationFrame((function(){return a.setDates()}));if(this.internalStartDate!==null&&this.internalStartDate!==""&&this.internalEndDate!==null&&this.internalEndDate!==""){this.datesEmitter.emit({startDate:this.internalStartDate,endDate:this.internalEndDate});this.checkPreselectionsEmitter.emit()}};e.prototype.handleSingleSelection=function(e,r){var a;var t=this.host;(a=t===null||t===void 0?void 0:t.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection")}));this.startDateIdentifier=e.getAttribute("date");this.startDateTime=r;this.internalStartDate=this.startDateTime.toISO().split("T")[0];this.isFirstClick=false;e.setAttribute("selection","single");if(this.internalStartDate!==null&&this.internalStartDate!==""){this.datesEmitter.emit({startDate:this.internalStartDate})}};e.prototype.isDateDisabled=function(e){if(this.min!==null&&this.min!==""&&e<l.fromISO(this.min)){return true}if(this.max!==null&&this.max!==""&&e>l.fromISO(this.max)){return true}return undefined};e.prototype.render=function(){var e=this;return t(n,{key:"7d364657953704cd8258a82b5e1719e767a083b9"},t("div",{key:"2835c4fce7b3f64b852aab31f5c272edb82f44da",class:d("calendar-preselection",this.hasPreselection&&!this.hidePreselection&&"calendar-preselection--has-preselection")},t("slot",{key:"cc5f37ca21c7da2af7235586d05fb72b0c42abf2",name:"preselection",onSlotchange:this.updatePreselection})),t("div",{key:"8dcaf0e0246f882a0a3ffa0edd95e8e7a3ef3a89",class:"calendar-view"},t("nav",{key:"c67cfa25cbae478fa2e0e2e28edfb941cba53d55"},!this.hidePreviousButton&&t("mds-button",{key:"82c8ae04096b358e3bfc9704d4ad829ef3b8d5ad","aria-label":this.t.get(this.currentView==="years"?"previousYears":"previousMonth"),class:"action-back",
75
75
  // the months view has nothing to move back or forward to
76
- disabled:this.currentView==="months",icon:v,variant:"dark",tone:"text",onClick:this.handlePrev}),t("div",{key:"01a1fc7f777d8dfa4ebac2ef9ed4a46bf7eb67b4",class:"select-month-or-year"},(this.currentView==="calendar"||this.currentView==="months")&&t("mds-button",{key:"c6fe68177bf27cb74a29d687df79a83403d48cb0",class:"action-month",truncate:"none",variant:"dark",tone:"text",label:this.currentMonth,onClick:this.handleMonthActionClick}),(this.currentView==="calendar"||this.currentView==="years")&&t("mds-button",{key:"4370a3e90fa6ecc64f3e6948690627f4271669b2",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),!this.hideNextButton&&t("mds-button",{key:"4cea0bf61baf52db367566835856d675a15cbc66","aria-label":this.t.get(this.currentView==="years"?"nextYears":"nextMonth"),class:"action-forward",disabled:this.currentView==="months",icon:u,variant:"dark",tone:"text",onClick:this.handleNext})),this.currentView==="calendar"&&t("section",{key:"23bd1514cd3390ea62c773f0d93ef21002163827",class:"month-view"},t("header",{key:"4d87c57be1eb6f653889775a037947b4e54100fb",class:"month-view__days-names"},this.weekdays.map((function(e){return t("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:e})}))),t("div",{key:"dc486f4388d2c4052ee05150e9b5eab4c56d26e9",class:"month-view__cells"},this.weekDaysinMonth.map((function(r,a){return t("mds-calendar-cell",{key:a,today:!e.hideToday&&l.now().toFormat("yyyy-MM-dd")===r.date.toFormat("yyyy-MM-dd"),date:r.date.toFormat("yyyy-MM-dd"),month:r.isCurrentMonth?"current":"other",disabled:e.isDateDisabled(r.date),onClick:e.handleCellClick(r.date),title:r.date.setLocale(o.state.language).toFormat("cccc d LLLL").replace(/^./,(function(e){return e.toUpperCase()})),label:r.date.toFormat("dd")})})))),this.currentView==="months"&&t("section",{key:"f48bd4d763824ae2becb1f377e51ae9c71454301",class:"month-selection"},t("header",{key:"34cd5dd481b16891bb7987f2b2a5a145636658ea",class:"month-view__month-names"},Array.from({length:12}).map((function(r,a){var n=l.local().set({month:a+1}).setLocale(o.state.language).toFormat("MMMM");return t("mds-button",{class:"action",variant:"dark",tone:"text",label:n,onClick:e.handleMonthSelect(a+1)})})))),this.currentView==="years"&&t("section",{key:"f9df821453277ca1e20fe56bb8533768b68e62b0",class:"year-selection"},t("header",{key:"4aa693be77a139bfd8bedf79b0516b17763937ce",class:"month-view__years"},Array.from({length:12}).map((function(r,a){var n=e.selectedYear+a;return t("mds-button",{class:"action",variant:"dark",tone:"text",label:"".concat(n),onClick:e.handleYearSelect(n)})}))))))};Object.defineProperty(e.prototype,"host",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{startDate:[{handleStartDate:0}],endDate:[{handleEndDate:0}],viewDate:[{handleViewDate:0}],hoverDate:[{handleHoverDate:0}]}},enumerable:false,configurable:true});return e}());S.style=Y();var B=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--private-calendar-cell-background:var(--mds-calendar-cell-background,#0000);--private-calendar-cell-boundaries-padding:var(--mds-calendar-cell-boundaries-padding,calc(var(--spacing,.0025rem)*100));--private-calendar-cell-color:var(--mds-calendar-cell-color,var(--mds-calendar-day-number-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));--private-calendar-cell-other-month-background:var(--mds-calendar-cell-other-month-background,#0000);--private-calendar-cell-other-month-color:var(--mds-calendar-cell-other-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-disabled-background:var(--mds-calendar-cell-disabled-background,#0000);--private-calendar-cell-disabled-color:var(--mds-calendar-cell-disabled-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-weekend-background:var(--mds-calendar-cell-weekend-background,#0000);--private-calendar-cell-weekend-color:var(--mds-calendar-cell-weekend-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--private-calendar-cell-selection-boundaries-border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-calendar-cell-selection-week-boundaries-border-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-calendar-cell-preselection-today-background:var(--mds-calendar-cell-preselection-today-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));--private-calendar-cell-preselection-today-color:var(--mds-calendar-cell-preselection-today-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));--private-calendar-cell-preselection-current-month-background:var(--mds-calendar-cell-preselection-current-month-background,rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226))));--private-calendar-cell-preselection-current-month-color:var(--mds-calendar-cell-preselection-current-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-current-month-boundaries-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-current-month-boundaries-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--private-calendar-cell-preselection-other-month-background:var(--mds-calendar-cell-preselection-other-month-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));--private-calendar-cell-preselection-other-month-color:var(--mds-calendar-cell-preselection-other-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-other-month-boundaries-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-other-month-boundaries-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--private-calendar-cell-selection-current-month-background:var(--mds-calendar-cell-selection-current-month-background,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--private-calendar-cell-selection-current-month-color:var(--mds-calendar-cell-selection-current-month-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--private-calendar-cell-selection-current-month-boundaries-background:var(--mds-calendar-cell-selection-current-month-boundaries-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--private-calendar-cell-selection-current-month-boundaries-color:var(--mds-calendar-cell-selection-current-month-boundaries-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--private-calendar-cell-selection-current-month-weekend-background:var(--mds-calendar-cell-selection-current-month-weekend-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-calendar-cell-selection-current-month-weekend-color:var(--mds-calendar-cell-selection-current-month-weekend-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--private-calendar-cell-selection-current-month-weekend-boundaries-background:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-calendar-cell-selection-current-month-weekend-boundaries-color:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--private-calendar-cell-selection-other-month-background:var(--mds-calendar-cell-selection-other-month-background,rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226))));--private-calendar-cell-selection-other-month-color:var(--mds-calendar-cell-selection-other-month-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--private-calendar-cell-selection-other-month-boundaries-background:var(--mds-calendar-cell-selection-other-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--private-calendar-cell-selection-other-month-boundaries-color:var(--mds-calendar-cell-selection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:center;aspect-ratio:1;display:flex;justify-content:center;padding:var(--private-calendar-cell-boundaries-padding);position:relative}:host([month=other]){visibility:var(--mds-calendar-cell-other-month-visibility,hidden)}.inner-dot{aspect-ratio:1;background-color:var(--private-calendar-cell-inner-background);border-radius:var(--private-calendar-cell-selection-boundaries-border-radius);display:flex;min-height:0;min-width:0;width:100%;z-index:1}.area-background{background-color:var(--private-calendar-cell-background);inset:0;position:absolute;z-index:0}.action,.area-background{color:var(--private-calendar-cell-color)}.action{align-items:center;background-color:#0000;border-radius:0;display:flex;inset:calc(var(--mds-calendar-cell-gap)*-1);justify-content:center;min-height:0;min-width:0;padding:0;place-self:stretch stretch;position:absolute;width:auto;z-index:2}:host([selection]:not(:where([selection=none]))[orientation=horizontal]) .area-background{margin-left:calc(var(--mds-calendar-cell-gap)*-1);margin-right:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=horizontal]) .area-background{border-bottom-left-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-left-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-left:0}:host([selection=end][orientation=horizontal]) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-right:0}:host([selection]:not(:where([selection=none]))[orientation=vertical]) .area-background{margin-bottom:calc(var(--mds-calendar-cell-gap)*-1);margin-top:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=vertical]) .area-background{border-radius:var(--private-calendar-cell-selection-boundaries-border-radius) var(--private-calendar-cell-selection-boundaries-border-radius) 0 0;margin-top:0}:host([selection=end][orientation=vertical]) .area-background{border-radius:0 0 var(--private-calendar-cell-selection-boundaries-border-radius) var(--private-calendar-cell-selection-boundaries-border-radius);margin-bottom:0}:host([orientation=vertical]:not([selection=start],[selection=end])) .area-background{border-radius:0}:host(:nth-child(7n-6)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n-6)) .area-background{border-bottom-left-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius);border-top-left-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius)}:host(:nth-child(7n)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius)}:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius)}:host([selection]:not(:where([selection=none]))[orientation=horizontal]:nth-child(7n-6)) .area-background{margin-left:0}:host([selection]:not(:where([selection=none]))[orientation=horizontal]:nth-child(7n)) .area-background{margin-right:0}:host([selection=single][orientation=horizontal]) .area-background{border-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-left:0;margin-right:0}:host(:nth-child(7n)),:host(:nth-child(7n-1)){--private-calendar-cell-color:var(--private-calendar-cell-weekend-color);--private-calendar-cell-background:var(--private-calendar-cell-weekend-background)}:host([month=other]:not([selection]:not(:where([selection=none])))){--private-calendar-cell-color:var(--private-calendar-cell-other-month-color);--private-calendar-cell-background:var(--private-calendar-cell-other-month-background)}:host([disabled]){--private-calendar-cell-color:var(--private-calendar-cell-disabled-color);--private-calendar-cell-background:var(--private-calendar-cell-disabled-background);cursor:auto;pointer-events:none}:host(:not([selection]:not(:where([selection=none])))[today]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-today-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-today-color)}:host([selection]:not(:where([selection=none]))[month=current]){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-color)}:host([selection]:not(:where([selection=none]))[month=current]:nth-child(7n)),:host([selection]:not(:where([selection=none]))[month=current]:nth-child(7n-1)){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-weekend-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-weekend-color)}:host([selection=end][month=current]:nth-child(7n)),:host([selection=end][month=current]:nth-child(7n-1)),:host([selection=start][month=current]:nth-child(7n)),:host([selection=start][month=current]:nth-child(7n-1)){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-weekend-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-weekend-boundaries-color)}:host([selection]:not(:where([selection=none]))[month=other]){--private-calendar-cell-background:var(--private-calendar-cell-selection-other-month-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-other-month-color)}:host([selection=end][month=current]),:host([selection=start][month=current]){--private-calendar-cell-inner-background:var(--private-calendar-cell-selection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-boundaries-color)}:host([selection=end][month=other]),:host([selection=start][month=other]){--private-calendar-cell-inner-background:var(--private-calendar-cell-selection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-other-month-boundaries-color)}:host([selection]:not(:where([selection=none]))[month=current][preview]:not([preview=false])){--private-calendar-cell-background:var(--private-calendar-cell-preselection-current-month-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-color)}:host([selection]:not(:where([selection=none]))[month=other][preview]:not([preview=false])){--private-calendar-cell-background:var(--private-calendar-cell-preselection-other-month-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-color)}:host([selection=end][month=current][preview]:not([preview=false])),:host([selection=start][month=current][preview]:not([preview=false])){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-boundaries-color)}:host([selection=end][month=other][preview]:not([preview=false])),:host([selection=start][month=other][preview]:not([preview=false])){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-boundaries-color)}:host([selection=single][month=current]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-boundaries-color)}:host([selection=single][month=other]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-boundaries-color)}"};var I=e("mds_calendar_cell",/** @class */function(){function e(e){r(this,e);
76
+ disabled:this.currentView==="months",icon:v,variant:"dark",tone:"text",onClick:this.handlePrev}),t("div",{key:"0409951f53f9e5c028c7e8267f04b2a456df2111",class:"select-month-or-year"},(this.currentView==="calendar"||this.currentView==="months")&&t("mds-button",{key:"2f7afe0273e28d2f4ebfabc71024e37b96ad8e5f",class:"action-month",truncate:"none",variant:"dark",tone:"text",label:this.currentMonth,onClick:this.handleMonthActionClick}),(this.currentView==="calendar"||this.currentView==="years")&&t("mds-button",{key:"3a233fb788358b65b1c59a5ede0b38b9b1ab8fc8",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),!this.hideNextButton&&t("mds-button",{key:"a7597ce596f7c6d39faa821895db02c1b9d345ba","aria-label":this.t.get(this.currentView==="years"?"nextYears":"nextMonth"),class:"action-forward",disabled:this.currentView==="months",icon:u,variant:"dark",tone:"text",onClick:this.handleNext})),this.currentView==="calendar"&&t("section",{key:"94c96f546d3e4f31b16e0fea9dedc583ce99dab3",class:"month-view"},t("header",{key:"1f25122100daaa1b27cf8b458519da726c4ea5a3",class:"month-view__days-names"},this.weekdays.map((function(e){return t("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:e})}))),t("div",{key:"d8992b68d6219ff53540cc662c6f90f44b0d2520",class:"month-view__cells"},this.weekDaysinMonth.map((function(r,a){return t("mds-calendar-cell",{key:a,today:!e.hideToday&&l.now().toFormat("yyyy-MM-dd")===r.date.toFormat("yyyy-MM-dd"),date:r.date.toFormat("yyyy-MM-dd"),month:r.isCurrentMonth?"current":"other",disabled:e.isDateDisabled(r.date),onClick:e.handleCellClick(r.date),title:r.date.setLocale(c.state.language).toFormat("cccc d LLLL").replace(/^./,(function(e){return e.toUpperCase()})),label:r.date.toFormat("dd")})})))),this.currentView==="months"&&t("section",{key:"240b9a51a80acf35c531727fe0a964b545f847e7",class:"month-selection"},t("header",{key:"765d49c4f4c27a5cb254625cc598d7a43b22cdde",class:"month-view__month-names"},Array.from({length:12}).map((function(r,a){var n=l.local().set({month:a+1}).setLocale(c.state.language).toFormat("MMMM");return t("mds-button",{class:"action",variant:"dark",tone:"text",label:n,onClick:e.handleMonthSelect(a+1)})})))),this.currentView==="years"&&t("section",{key:"f15302a959313e70f7a956985356b7dbc4db60f5",class:"year-selection"},t("header",{key:"1a090fb50734801ace2815129c436dd9920eea43",class:"month-view__years"},Array.from({length:12}).map((function(r,a){var n=e.selectedYear+a;return t("mds-button",{class:"action",variant:"dark",tone:"text",label:"".concat(n),onClick:e.handleYearSelect(n)})}))))))};Object.defineProperty(e.prototype,"host",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{startDate:[{handleStartDate:0}],endDate:[{handleEndDate:0}],viewDate:[{handleViewDate:0}],hoverDate:[{handleHoverDate:0}]}},enumerable:false,configurable:true});return e}());S.style=Y();var B=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--private-calendar-cell-background:var(--mds-calendar-cell-background,#0000);--private-calendar-cell-boundaries-padding:var(--mds-calendar-cell-boundaries-padding,calc(var(--spacing,.0025rem)*100));--private-calendar-cell-color:var(--mds-calendar-cell-color,var(--mds-calendar-day-number-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));--private-calendar-cell-other-month-background:var(--mds-calendar-cell-other-month-background,#0000);--private-calendar-cell-other-month-color:var(--mds-calendar-cell-other-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-disabled-background:var(--mds-calendar-cell-disabled-background,#0000);--private-calendar-cell-disabled-color:var(--mds-calendar-cell-disabled-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-weekend-background:var(--mds-calendar-cell-weekend-background,#0000);--private-calendar-cell-weekend-color:var(--mds-calendar-cell-weekend-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--private-calendar-cell-selection-boundaries-border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-calendar-cell-selection-week-boundaries-border-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-calendar-cell-preselection-today-background:var(--mds-calendar-cell-preselection-today-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));--private-calendar-cell-preselection-today-color:var(--mds-calendar-cell-preselection-today-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));--private-calendar-cell-preselection-current-month-background:var(--mds-calendar-cell-preselection-current-month-background,rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226))));--private-calendar-cell-preselection-current-month-color:var(--mds-calendar-cell-preselection-current-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-current-month-boundaries-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-current-month-boundaries-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--private-calendar-cell-preselection-other-month-background:var(--mds-calendar-cell-preselection-other-month-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));--private-calendar-cell-preselection-other-month-color:var(--mds-calendar-cell-preselection-other-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-other-month-boundaries-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-other-month-boundaries-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--private-calendar-cell-selection-current-month-background:var(--mds-calendar-cell-selection-current-month-background,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--private-calendar-cell-selection-current-month-color:var(--mds-calendar-cell-selection-current-month-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--private-calendar-cell-selection-current-month-boundaries-background:var(--mds-calendar-cell-selection-current-month-boundaries-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--private-calendar-cell-selection-current-month-boundaries-color:var(--mds-calendar-cell-selection-current-month-boundaries-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--private-calendar-cell-selection-current-month-weekend-background:var(--mds-calendar-cell-selection-current-month-weekend-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-calendar-cell-selection-current-month-weekend-color:var(--mds-calendar-cell-selection-current-month-weekend-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--private-calendar-cell-selection-current-month-weekend-boundaries-background:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-calendar-cell-selection-current-month-weekend-boundaries-color:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--private-calendar-cell-selection-other-month-background:var(--mds-calendar-cell-selection-other-month-background,rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226))));--private-calendar-cell-selection-other-month-color:var(--mds-calendar-cell-selection-other-month-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--private-calendar-cell-selection-other-month-boundaries-background:var(--mds-calendar-cell-selection-other-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--private-calendar-cell-selection-other-month-boundaries-color:var(--mds-calendar-cell-selection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:center;aspect-ratio:1;display:flex;justify-content:center;padding:var(--private-calendar-cell-boundaries-padding);position:relative}:host([month=other]){visibility:var(--mds-calendar-cell-other-month-visibility,hidden)}.inner-dot{aspect-ratio:1;background-color:var(--private-calendar-cell-inner-background);border-radius:var(--private-calendar-cell-selection-boundaries-border-radius);display:flex;min-height:0;min-width:0;width:100%;z-index:1}.area-background{background-color:var(--private-calendar-cell-background);inset:0;position:absolute;z-index:0}.action,.area-background{color:var(--private-calendar-cell-color)}.action{align-items:center;background-color:#0000;border-radius:0;display:flex;inset:calc(var(--mds-calendar-cell-gap)*-1);justify-content:center;min-height:0;min-width:0;padding:0;place-self:stretch stretch;position:absolute;width:auto;z-index:2}:host([selection]:not(:where([selection=none]))[orientation=horizontal]) .area-background{margin-left:calc(var(--mds-calendar-cell-gap)*-1);margin-right:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=horizontal]) .area-background{border-bottom-left-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-left-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-left:0}:host([selection=end][orientation=horizontal]) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-right:0}:host([selection]:not(:where([selection=none]))[orientation=vertical]) .area-background{margin-bottom:calc(var(--mds-calendar-cell-gap)*-1);margin-top:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=vertical]) .area-background{border-radius:var(--private-calendar-cell-selection-boundaries-border-radius) var(--private-calendar-cell-selection-boundaries-border-radius) 0 0;margin-top:0}:host([selection=end][orientation=vertical]) .area-background{border-radius:0 0 var(--private-calendar-cell-selection-boundaries-border-radius) var(--private-calendar-cell-selection-boundaries-border-radius);margin-bottom:0}:host([orientation=vertical]:not([selection=start],[selection=end])) .area-background{border-radius:0}:host(:nth-child(7n-6)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n-6)) .area-background{border-bottom-left-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius);border-top-left-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius)}:host(:nth-child(7n)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius)}:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius)}:host([selection]:not(:where([selection=none]))[orientation=horizontal]:nth-child(7n-6)) .area-background{margin-left:0}:host([selection]:not(:where([selection=none]))[orientation=horizontal]:nth-child(7n)) .area-background{margin-right:0}:host([selection=single][orientation=horizontal]) .area-background{border-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-left:0;margin-right:0}:host(:nth-child(7n)),:host(:nth-child(7n-1)){--private-calendar-cell-color:var(--private-calendar-cell-weekend-color);--private-calendar-cell-background:var(--private-calendar-cell-weekend-background)}:host([month=other]:not([selection]:not(:where([selection=none])))){--private-calendar-cell-color:var(--private-calendar-cell-other-month-color);--private-calendar-cell-background:var(--private-calendar-cell-other-month-background)}:host([disabled]){--private-calendar-cell-color:var(--private-calendar-cell-disabled-color);--private-calendar-cell-background:var(--private-calendar-cell-disabled-background);cursor:auto;pointer-events:none}:host(:not([selection]:not(:where([selection=none])))[today]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-today-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-today-color)}:host([selection]:not(:where([selection=none]))[month=current]){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-color)}:host([selection]:not(:where([selection=none]))[month=current]:nth-child(7n)),:host([selection]:not(:where([selection=none]))[month=current]:nth-child(7n-1)){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-weekend-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-weekend-color)}:host([selection=end][month=current]:nth-child(7n)),:host([selection=end][month=current]:nth-child(7n-1)),:host([selection=start][month=current]:nth-child(7n)),:host([selection=start][month=current]:nth-child(7n-1)){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-weekend-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-weekend-boundaries-color)}:host([selection]:not(:where([selection=none]))[month=other]){--private-calendar-cell-background:var(--private-calendar-cell-selection-other-month-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-other-month-color)}:host([selection=end][month=current]),:host([selection=start][month=current]){--private-calendar-cell-inner-background:var(--private-calendar-cell-selection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-boundaries-color)}:host([selection=end][month=other]),:host([selection=start][month=other]){--private-calendar-cell-inner-background:var(--private-calendar-cell-selection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-other-month-boundaries-color)}:host([selection]:not(:where([selection=none]))[month=current][preview]:not([preview=false])){--private-calendar-cell-background:var(--private-calendar-cell-preselection-current-month-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-color)}:host([selection]:not(:where([selection=none]))[month=other][preview]:not([preview=false])){--private-calendar-cell-background:var(--private-calendar-cell-preselection-other-month-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-color)}:host([selection=end][month=current][preview]:not([preview=false])),:host([selection=start][month=current][preview]:not([preview=false])){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-boundaries-color)}:host([selection=end][month=other][preview]:not([preview=false])),:host([selection=start][month=other][preview]:not([preview=false])){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-boundaries-color)}:host([selection=single][month=current]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-boundaries-color)}:host([selection=single][month=other]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-boundaries-color)}"};var O=e("mds_calendar_cell",/** @class */function(){function e(e){r(this,e);
77
77
  /**
78
78
  * Specifies if the day belongs to the displayed month, `current`, or to an adjacent one,
79
79
  * `other`. `weekend` is deprecated and does nothing: the weekend days are styled by their
@@ -91,4 +91,4 @@ disabled:this.currentView==="months",icon:v,variant:"dark",tone:"text",onClick:t
91
91
  */this.disabled=undefined;
92
92
  /**
93
93
  * Specifies if the cell is today
94
- */this.today=undefined}e.prototype.render=function(){return t(n,{key:"a393822aa73f1d6094e8b0faa05ebe863ce20749"},t("div",{key:"c80b08e7bf127713f261c35b0807d21fae450950",class:"inner-dot"}),t("div",{key:"571f5470a1465c2541bb1328ad6a3b1600af64bb",class:"area-background"}),t("mds-button",{key:"d303799a03cd311d4dcb7aaf0141838d7f99cde7",class:"action",variant:"dark",tone:"text",disabled:this.disabled,label:this.label}))};return e}());I.style=B()}}}));
94
+ */this.today=undefined}e.prototype.render=function(){return t(n,{key:"9c19030367078a5eccc316b5d53926a0758491c8"},t("div",{key:"2de6eb5cc31346cb53712cf2dd5a1d0aad886bc0",class:"inner-dot"}),t("div",{key:"47c6370d028c21c127a5158dcfee340153ace542",class:"area-background"}),t("mds-button",{key:"2197b967617bf0b4517a2417c8722b2d21e57f5e",class:"action",variant:"dark",tone:"text",disabled:this.disabled,label:this.label}))};return e}());O.style=B()}}}));
@@ -1,3 +1,3 @@
1
- System.register(["./p-BZP13mns.system.js","./p-DUHwOT7z.system.js","./p-CuHZXISO.system.js","./p-Y11niGnP.system.js","./p-C0tqOovl.system.js","./p-BcI1w9tp.system.js","./p-D-RexH7B.system.js","./p-mGgjNqBm.system.js"],(function(a){"use strict";var e,r,i,t,o,s,n,c,l;return{setters:[function(a){e=a.r;r=a.h;i=a.e},function(a){t=a.k},function(a){o=a.L},function(a){s=a.m},function(a){n=a.m},function(a){c=a.m},function(a){l=a.m},null],execute:function(){var d="Αλφαβητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου";var v="Πλήκτρο λειτουργίας {{ character }} που χρησιμοποιείται συχνά για καθολικές λειτουργίες ανάλογα με το λειτουργικό σύστημα και την έκδοσή του";var h="Αριθμητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου";var m="Πλήκτρο τροποποίησης Alt{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}} (εναλλακτικό), που χρησιμοποιείται συχνά για συντομεύσεις συστήματος";var p="Πλήκτρο τροποποίησης Control ή Ctrl{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται σε πολλές συντομεύσεις";var g="Πλήκτρο τροποποίησης Meta{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, πλήκτρο Windows ⊞ στα Windows ή Command ⌘ στο macOS";var y="Πλήκτρο τροποποίησης Shift{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται για κεφαλαία γράμματα";var k="Πλήκτρο πλοήγησης Κάτω βέλος";var u="Πλήκτρο πλοήγησης Αριστερό βέλος";var w="Πλήκτρο πλοήγησης Δεξί βέλος";var b="Πλήκτρο πλοήγησης Πάνω βέλος";var f="Πλήκτρο πλοήγησης Μετάβαση στο τέλος";var z="Πλήκτρο πλοήγησης Μετάβαση στην αρχή";var x="Πλήκτρο πλοήγησης Κύλιση προς τα κάτω";var T="Πλήκτρο πλοήγησης Κύλιση προς τα πάνω";var P="Πλήκτρο Enter αριθμητικού πληκτρολογίου για επιβεβαίωση ενέργειας";var C="Ειδικό πλήκτρο Διαγραφή χαρακτήρα";var L="Ειδικό πλήκτρο Caps Lock (συνήθως αποφεύγεται στις συντομεύσεις πληκτρολογίου)";var S="Ειδικό πλήκτρο Διαγραφή επιλεγμένου στοιχείου";var H="Ειδικό πλήκτρο Enter για επιβεβαίωση ενέργειας";var M="Ειδικό πλήκτρο Έξοδος ή ακύρωση";var A="Ειδικό πλήκτρο Διάστημα";var B="Ειδικό πλήκτρο Tab για εναλλαγή εστίασης μεταξύ στοιχείων";var E={keyCharacter:d,keyFunction:v,keyNumber:h,modAlt:m,modControl:p,modMeta:g,modShift:y,navArrowDown:k,navArrowLeft:u,navArrowRight:w,navArrowUp:b,navEnd:f,navHome:z,navPageDown:x,navPageUp:T,numPadEnter:P,specBackspace:C,specCapsLock:L,specDelete:S,specEnter:H,specEscape:M,specSpace:A,specTab:B};var V="Alphabetic character {{ character }} typically used for composing keyboard shortcuts";var D="Function key {{ character }} often used for global functions depending on the operating system and its version";var j="Numeric character {{ character }} typically used for composing keyboard shortcuts";var F="Modifier key Alt{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}} (alternative), often used for system shortcuts";var N="Modifier key Control or Ctrl{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used in many shortcuts";var U="Modifier key Meta{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, Windows ⊞ key on Windows or Command ⌘ on macOS";var q="Modifier key Shift{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used for uppercase letters";var O="Navigation key Down Arrow";var W="Navigation key Left Arrow";var I="Navigation key Right Arrow";var R="Navigation key Up Arrow";var G="Navigation key Go to End";var Z="Navigation key Go to Home";var _="Navigation key Scroll Down";var K="Navigation key Scroll Up";var X="Keypad Enter key to confirm an action";var Y="Special key Delete character";var J="Special key Caps Lock (generally avoided in keyboard shortcuts)";var Q="Special key Delete selected item";var $="Special key Enter to confirm an action";var aa="Special key Exit or cancel";var ea="Special key Space bar";var ra="Special key Tab to change focus between elements";var ia={keyCharacter:V,keyFunction:D,keyNumber:j,modAlt:F,modControl:N,modMeta:U,modShift:q,navArrowDown:O,navArrowLeft:W,navArrowRight:I,navArrowUp:R,navEnd:G,navHome:Z,navPageDown:_,navPageUp:K,numPadEnter:X,specBackspace:Y,specCapsLock:J,specDelete:Q,specEnter:$,specEscape:aa,specSpace:ea,specTab:ra};var ta="Carácter alfabético {{ character }} típicamente usado para componer atajos de teclado";var oa="Tecla de función {{ character }} a menudo utilizada para funciones globales según el sistema operativo y su versión";var sa="Carácter numérico {{ character }} típicamente usado para componer atajos de teclado";var na="Tecla modificadora Alt{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}} (alternativa), a menudo usada para atajos de sistema";var ca="Tecla modificadora Control o Ctrl{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada en muchos atajos";var la="Tecla modificadora Meta{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, tecla Windows ⊞ en Windows o Command ⌘ en macOS";var da="Tecla modificadora Shift{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada para letras mayúsculas";var va="Tecla de navegación Flecha abajo";var ha="Tecla de navegación Flecha izquierda";var ma="Tecla de navegación Flecha derecha";var pa="Tecla de navegación Flecha arriba";var ga="Tecla de navegación Ir al final";var ya="Tecla de navegación Ir al inicio";var ka="Tecla de navegación Desplazar hacia abajo";var ua="Tecla de navegación Desplazar hacia arriba";var wa="Tecla Enter del teclado numérico para confirmar una acción";var ba="Tecla especial Borrar carácter";var fa="Tecla especial Bloq Mayús (generalmente evitada en atajos de teclado)";var za="Tecla especial Eliminar elemento seleccionado";var xa="Tecla especial Enter para confirmar una acción";var Ta="Tecla especial Salir o cancelar";var Pa="Tecla especial Barra espaciadora";var Ca="Tecla especial Tab para cambiar el foco entre elementos";var La={keyCharacter:ta,keyFunction:oa,keyNumber:sa,modAlt:na,modControl:ca,modMeta:la,modShift:da,navArrowDown:va,navArrowLeft:ha,navArrowRight:ma,navArrowUp:pa,navEnd:ga,navHome:ya,navPageDown:ka,navPageUp:ua,numPadEnter:wa,specBackspace:ba,specCapsLock:fa,specDelete:za,specEnter:xa,specEscape:Ta,specSpace:Pa,specTab:Ca};var Sa="Carattere alfabetico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera";var Ha="Tasto funzione {{ character }} spesso usato per funzioni globali a seconda del sistema operativo e della sua versione";var Ma="Carattere numerico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera";var Aa="Tasto modificatore Alt{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}} (alternativo), spesso usato per shortcut di sistema";var Ba="Tasto modificatore Control o Ctrl{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato in molte scorciatoie";var Ea="Tasto modificatore meta{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, Finestra ⊞ su Windows o Command ⌘ su macOS";var Va="Tasto modificatore Shift{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato per maiuscole";var Da="Tasto navigazione Freccia giù";var ja="Tasto navigazione Freccia sinistra";var Fa="Tasto navigazione Freccia destra";var Na="Tasto navigazione Freccia su";var Ua="Tasto navigazione Vai alla fine";var qa="Tasto navigazione Vai all'inizio";var Oa="Tasto navigazione Scorri in giù";var Wa="Tasto navigazione Scorri in su";var Ia="Tasto Invio per confermare una azione dal tastierino numerico";var Ra="Tasto speciale Cancella carattere";var Ga="Tasto speciale Blocco maiuscole (generalmente evitato nelle scorciatoie da tastiera)";var Za="Tasto speciale Cancella elemento selezionato";var _a="Tasto speciale Invio per confermare una azione";var Ka="Tasto speciale Esci o annulla";var Xa="Tasto speciale Barra spaziatrice";var Ya="Tasto speciale Tab per cambiare focus tra elementi";var Ja={keyCharacter:Sa,keyFunction:Ha,keyNumber:Ma,modAlt:Aa,modControl:Ba,modMeta:Ea,modShift:Va,navArrowDown:Da,navArrowLeft:ja,navArrowRight:Fa,navArrowUp:Na,navEnd:Ua,navHome:qa,navPageDown:Oa,navPageUp:Wa,numPadEnter:Ia,specBackspace:Ra,specCapsLock:Ga,specDelete:Za,specEnter:_a,specEscape:Ka,specSpace:Xa,specTab:Ya};var Qa='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 7v4H5.83l3.58-3.59L8 6l-6 6l6 6l1.41-1.41L5.83 13H21V7z"/></svg>';var $a='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6l6 6l1.41-1.41z"/></svg>';var ae='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11.59 7.41L15.17 11H1v2h14.17l-3.59 3.59L13 18l6-6l-6-6l-1.41 1.41zM20 6v12h2V6h-2z"/></svg>';var ee='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.5 3C15.57 3 14 4.57 14 6.5V8h-4V6.5C10 4.57 8.43 3 6.5 3S3 4.57 3 6.5S4.57 10 6.5 10H8v4H6.5C4.57 14 3 15.57 3 17.5S4.57 21 6.5 21s3.5-1.57 3.5-3.5V16h4v1.5c0 1.93 1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5s-1.57-3.5-3.5-3.5H16v-4h1.5c1.93 0 3.5-1.57 3.5-3.5S19.43 3 17.5 3zM16 8V6.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S18.33 8 17.5 8H16zM6.5 8C5.67 8 5 7.33 5 6.5S5.67 5 6.5 5S8 5.67 8 6.5V8H6.5zm3.5 6v-4h4v4h-4zm7.5 5c-.83 0-1.5-.67-1.5-1.5V16h1.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5zm-11 0c-.83 0-1.5-.67-1.5-1.5S5.67 16 6.5 16H8v1.5c0 .83-.67 1.5-1.5 1.5z"/></svg>';var re='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 5h6v2h-6zM9 5H3v2h4.85l6.92 12H21v-2h-5.07z"/></svg>';var ie='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 3h8v8H3zm10 0h8v8h-8zM3 13h8v8H3zm10 0h8v8h-8z"/></svg>';var te='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H7.07L2.4 12l4.66-7H22v14zm-11.59-2L14 13.41L17.59 17L19 15.59L15.41 12L19 8.41L17.59 7L14 10.59L10.41 7L9 8.41L12.59 12L9 15.59z"/></svg>';var oe='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8.41L16.59 13L18 11.59l-6-6l-6 6L7.41 13L12 8.41zM6 18h12v-2H6v2z"/></svg>';var se='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-keyboard-space" viewBox="0 0 24 24"><path d="M3 15H5V19H19V15H21V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V15Z" /></svg>';var ne='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 9l1.41 1.41L11 5.83V22h2V5.83l4.59 4.59L19 9l-7-7l-7 7z"/></svg>';var ce='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 15l-1.41-1.41L13 18.17V2h-2v16.17l-4.59-4.59L5 15l7 7l7-7z"/></svg>';var le='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple-keyboard-shift" viewBox="0 0 24 24"><path d="M15,18V12H17.17L12,6.83L6.83,12H9V18H15M12,4L22,14H17V20H7V14H2L12,4Z" /></svg>';var de='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8 11h3v10h2V11h3l-4-4l-4 4zM4 3v2h16V3H4z"/></svg>';var ve='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 13h-3V3h-2v10H8l4 4l4-4zM4 19v2h16v-2H4z"/></svg>';var he=new Map;he.set("arrowdown",n);he.set("arrowleft",$a);he.set("arrowright",l);he.set("arrowup",c);he.set("command",ee);he.set("commandleft",ee);he.set("commandright",ee);he.set("delete",te);he.set("capslock",oe);he.set("backspace",te);he.set("enter",Qa);he.set("home",de);he.set("end",ve);he.set("option",re);he.set("optionleft",re);he.set("optionright",re);he.set("pagedown",ce);he.set("pageup",ne);he.set("shift",le);he.set("shiftleft",le);he.set("shiftright",le);he.set("space",se);he.set("tab",ae);he.set("windows",ie);he.set("windowsleft",ie);he.set("windowsright",ie);var me=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-keyboard-key-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-key-illumination-light-size:calc(var(--spacing,.0025rem)*50);--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) * -1) 0 0 rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/var(--mds-keyboard-key-illumination-dark-opacity,.05)) inset;--mds-keyboard-key-illumination-light:0 var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem)*50)) 0 0 rgb(255 255 255/var(--mds-keyboard-key-illumination-light-opacity,.5)) inset;--mds-keyboard-key-padding:calc(var(--spacing,.0025rem)*100);--mds-keyboard-key-transition-duration:var(--duration-300,.3s);--icon-size:calc(var(--spacing,.0025rem)*600);--key-size-default:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)));--key-size-pressed:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * 2));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-end;display:inline-flex;min-height:var(--key-size-default);min-width:var(--key-size-default)}.physical-key{background-color:var(--mds-keyboard-key-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-sizing:border-box;corner-shape:inherit;align-items:baseline;display:inline-flex;flex-grow:1;flex-shrink:0;height:var(--key-size-default);justify-content:center;min-width:calc(var(--spacing,.0025rem)*1000);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100));position:relative;text-align:center;transition-duration:var(--mds-keyboard-key-transition-duration,var(--duration-300,.3s));transition-property:box-shadow,padding,height;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));-webkit-user-select:none;user-select:none}:host(:active) .physical-key,:host([pressed]:not([pressed=false])) .physical-key{--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * -1) 0 0 rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/var(--mds-keyboard-key-illumination-dark-opacity)) inset;box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);height:var(--key-size-pressed);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))}:host([name=space]) .physical-key{min-width:calc(var(--key-size-default)*2)}mds-badge{background-color:#0000;color:currentColor;margin-left:calc(var(--spacing,.0025rem)*50);padding:0;white-space:nowrap}.shortcut-icon{fill:currentColor}.shortcut-text{color:currentColor;text-transform:capitalize;white-space:nowrap}"};var pe=a("mds_keyboard_key",/** @class */function(){function a(a){var r=this;e(this,a);this.t=new o({el:E,en:ia,es:La,it:Ja});this.keyboardKeys=t;this.getTitle=function(){var a;
1
+ System.register(["./p-BZP13mns.system.js","./p-DUHwOT7z.system.js","./p-BHdlb7Fr.system.js","./p-Y11niGnP.system.js","./p-C0tqOovl.system.js","./p-BcI1w9tp.system.js","./p-D-RexH7B.system.js","./p-DOisMne4.system.js"],(function(a){"use strict";var e,r,i,t,o,s,n,c,l;return{setters:[function(a){e=a.r;r=a.h;i=a.e},function(a){t=a.k},function(a){o=a.L},function(a){s=a.m},function(a){n=a.m},function(a){c=a.m},function(a){l=a.m},null],execute:function(){var d="Αλφαβητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου";var v="Πλήκτρο λειτουργίας {{ character }} που χρησιμοποιείται συχνά για καθολικές λειτουργίες ανάλογα με το λειτουργικό σύστημα και την έκδοσή του";var h="Αριθμητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου";var m="Πλήκτρο τροποποίησης Alt{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}} (εναλλακτικό), που χρησιμοποιείται συχνά για συντομεύσεις συστήματος";var p="Πλήκτρο τροποποίησης Control ή Ctrl{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται σε πολλές συντομεύσεις";var g="Πλήκτρο τροποποίησης Meta{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, πλήκτρο Windows ⊞ στα Windows ή Command ⌘ στο macOS";var y="Πλήκτρο τροποποίησης Shift{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται για κεφαλαία γράμματα";var k="Πλήκτρο πλοήγησης Κάτω βέλος";var u="Πλήκτρο πλοήγησης Αριστερό βέλος";var w="Πλήκτρο πλοήγησης Δεξί βέλος";var b="Πλήκτρο πλοήγησης Πάνω βέλος";var f="Πλήκτρο πλοήγησης Μετάβαση στο τέλος";var z="Πλήκτρο πλοήγησης Μετάβαση στην αρχή";var x="Πλήκτρο πλοήγησης Κύλιση προς τα κάτω";var T="Πλήκτρο πλοήγησης Κύλιση προς τα πάνω";var P="Πλήκτρο Enter αριθμητικού πληκτρολογίου για επιβεβαίωση ενέργειας";var C="Ειδικό πλήκτρο Διαγραφή χαρακτήρα";var L="Ειδικό πλήκτρο Caps Lock (συνήθως αποφεύγεται στις συντομεύσεις πληκτρολογίου)";var H="Ειδικό πλήκτρο Διαγραφή επιλεγμένου στοιχείου";var S="Ειδικό πλήκτρο Enter για επιβεβαίωση ενέργειας";var M="Ειδικό πλήκτρο Έξοδος ή ακύρωση";var A="Ειδικό πλήκτρο Διάστημα";var B="Ειδικό πλήκτρο Tab για εναλλαγή εστίασης μεταξύ στοιχείων";var E={keyCharacter:d,keyFunction:v,keyNumber:h,modAlt:m,modControl:p,modMeta:g,modShift:y,navArrowDown:k,navArrowLeft:u,navArrowRight:w,navArrowUp:b,navEnd:f,navHome:z,navPageDown:x,navPageUp:T,numPadEnter:P,specBackspace:C,specCapsLock:L,specDelete:H,specEnter:S,specEscape:M,specSpace:A,specTab:B};var V="Alphabetic character {{ character }} typically used for composing keyboard shortcuts";var D="Function key {{ character }} often used for global functions depending on the operating system and its version";var j="Numeric character {{ character }} typically used for composing keyboard shortcuts";var F="Modifier key Alt{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}} (alternative), often used for system shortcuts";var N="Modifier key Control or Ctrl{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used in many shortcuts";var U="Modifier key Meta{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, Windows ⊞ key on Windows or Command ⌘ on macOS";var q="Modifier key Shift{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used for uppercase letters";var O="Navigation key Down Arrow";var W="Navigation key Left Arrow";var R="Navigation key Right Arrow";var I="Navigation key Up Arrow";var G="Navigation key Go to End";var Z="Navigation key Go to Home";var _="Navigation key Scroll Down";var K="Navigation key Scroll Up";var Y="Keypad Enter key to confirm an action";var J="Special key Delete character";var Q="Special key Caps Lock (generally avoided in keyboard shortcuts)";var X="Special key Delete selected item";var $="Special key Enter to confirm an action";var aa="Special key Exit or cancel";var ea="Special key Space bar";var ra="Special key Tab to change focus between elements";var ia={keyCharacter:V,keyFunction:D,keyNumber:j,modAlt:F,modControl:N,modMeta:U,modShift:q,navArrowDown:O,navArrowLeft:W,navArrowRight:R,navArrowUp:I,navEnd:G,navHome:Z,navPageDown:_,navPageUp:K,numPadEnter:Y,specBackspace:J,specCapsLock:Q,specDelete:X,specEnter:$,specEscape:aa,specSpace:ea,specTab:ra};var ta="Carácter alfabético {{ character }} típicamente usado para componer atajos de teclado";var oa="Tecla de función {{ character }} a menudo utilizada para funciones globales según el sistema operativo y su versión";var sa="Carácter numérico {{ character }} típicamente usado para componer atajos de teclado";var na="Tecla modificadora Alt{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}} (alternativa), a menudo usada para atajos de sistema";var ca="Tecla modificadora Control o Ctrl{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada en muchos atajos";var la="Tecla modificadora Meta{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, tecla Windows ⊞ en Windows o Command ⌘ en macOS";var da="Tecla modificadora Shift{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada para letras mayúsculas";var va="Tecla de navegación Flecha abajo";var ha="Tecla de navegación Flecha izquierda";var ma="Tecla de navegación Flecha derecha";var pa="Tecla de navegación Flecha arriba";var ga="Tecla de navegación Ir al final";var ya="Tecla de navegación Ir al inicio";var ka="Tecla de navegación Desplazar hacia abajo";var ua="Tecla de navegación Desplazar hacia arriba";var wa="Tecla Enter del teclado numérico para confirmar una acción";var ba="Tecla especial Borrar carácter";var fa="Tecla especial Bloq Mayús (generalmente evitada en atajos de teclado)";var za="Tecla especial Eliminar elemento seleccionado";var xa="Tecla especial Enter para confirmar una acción";var Ta="Tecla especial Salir o cancelar";var Pa="Tecla especial Barra espaciadora";var Ca="Tecla especial Tab para cambiar el foco entre elementos";var La={keyCharacter:ta,keyFunction:oa,keyNumber:sa,modAlt:na,modControl:ca,modMeta:la,modShift:da,navArrowDown:va,navArrowLeft:ha,navArrowRight:ma,navArrowUp:pa,navEnd:ga,navHome:ya,navPageDown:ka,navPageUp:ua,numPadEnter:wa,specBackspace:ba,specCapsLock:fa,specDelete:za,specEnter:xa,specEscape:Ta,specSpace:Pa,specTab:Ca};var Ha="Carattere alfabetico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera";var Sa="Tasto funzione {{ character }} spesso usato per funzioni globali a seconda del sistema operativo e della sua versione";var Ma="Carattere numerico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera";var Aa="Tasto modificatore Alt{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}} (alternativo), spesso usato per shortcut di sistema";var Ba="Tasto modificatore Control o Ctrl{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato in molte scorciatoie";var Ea="Tasto modificatore meta{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, Finestra ⊞ su Windows o Command ⌘ su macOS";var Va="Tasto modificatore Shift{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato per maiuscole";var Da="Tasto navigazione Freccia giù";var ja="Tasto navigazione Freccia sinistra";var Fa="Tasto navigazione Freccia destra";var Na="Tasto navigazione Freccia su";var Ua="Tasto navigazione Vai alla fine";var qa="Tasto navigazione Vai all'inizio";var Oa="Tasto navigazione Scorri in giù";var Wa="Tasto navigazione Scorri in su";var Ra="Tasto Invio per confermare una azione dal tastierino numerico";var Ia="Tasto speciale Cancella carattere";var Ga="Tasto speciale Blocco maiuscole (generalmente evitato nelle scorciatoie da tastiera)";var Za="Tasto speciale Cancella elemento selezionato";var _a="Tasto speciale Invio per confermare una azione";var Ka="Tasto speciale Esci o annulla";var Ya="Tasto speciale Barra spaziatrice";var Ja="Tasto speciale Tab per cambiare focus tra elementi";var Qa={keyCharacter:Ha,keyFunction:Sa,keyNumber:Ma,modAlt:Aa,modControl:Ba,modMeta:Ea,modShift:Va,navArrowDown:Da,navArrowLeft:ja,navArrowRight:Fa,navArrowUp:Na,navEnd:Ua,navHome:qa,navPageDown:Oa,navPageUp:Wa,numPadEnter:Ra,specBackspace:Ia,specCapsLock:Ga,specDelete:Za,specEnter:_a,specEscape:Ka,specSpace:Ya,specTab:Ja};var Xa='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 7v4H5.83l3.58-3.59L8 6l-6 6l6 6l1.41-1.41L5.83 13H21V7z"/></svg>';var $a='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6l6 6l1.41-1.41z"/></svg>';var ae='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11.59 7.41L15.17 11H1v2h14.17l-3.59 3.59L13 18l6-6l-6-6l-1.41 1.41zM20 6v12h2V6h-2z"/></svg>';var ee='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.5 3C15.57 3 14 4.57 14 6.5V8h-4V6.5C10 4.57 8.43 3 6.5 3S3 4.57 3 6.5S4.57 10 6.5 10H8v4H6.5C4.57 14 3 15.57 3 17.5S4.57 21 6.5 21s3.5-1.57 3.5-3.5V16h4v1.5c0 1.93 1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5s-1.57-3.5-3.5-3.5H16v-4h1.5c1.93 0 3.5-1.57 3.5-3.5S19.43 3 17.5 3zM16 8V6.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S18.33 8 17.5 8H16zM6.5 8C5.67 8 5 7.33 5 6.5S5.67 5 6.5 5S8 5.67 8 6.5V8H6.5zm3.5 6v-4h4v4h-4zm7.5 5c-.83 0-1.5-.67-1.5-1.5V16h1.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5zm-11 0c-.83 0-1.5-.67-1.5-1.5S5.67 16 6.5 16H8v1.5c0 .83-.67 1.5-1.5 1.5z"/></svg>';var re='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 5h6v2h-6zM9 5H3v2h4.85l6.92 12H21v-2h-5.07z"/></svg>';var ie='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 3h8v8H3zm10 0h8v8h-8zM3 13h8v8H3zm10 0h8v8h-8z"/></svg>';var te='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H7.07L2.4 12l4.66-7H22v14zm-11.59-2L14 13.41L17.59 17L19 15.59L15.41 12L19 8.41L17.59 7L14 10.59L10.41 7L9 8.41L12.59 12L9 15.59z"/></svg>';var oe='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8.41L16.59 13L18 11.59l-6-6l-6 6L7.41 13L12 8.41zM6 18h12v-2H6v2z"/></svg>';var se='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-keyboard-space" viewBox="0 0 24 24"><path d="M3 15H5V19H19V15H21V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V15Z" /></svg>';var ne='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 9l1.41 1.41L11 5.83V22h2V5.83l4.59 4.59L19 9l-7-7l-7 7z"/></svg>';var ce='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 15l-1.41-1.41L13 18.17V2h-2v16.17l-4.59-4.59L5 15l7 7l7-7z"/></svg>';var le='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple-keyboard-shift" viewBox="0 0 24 24"><path d="M15,18V12H17.17L12,6.83L6.83,12H9V18H15M12,4L22,14H17V20H7V14H2L12,4Z" /></svg>';var de='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8 11h3v10h2V11h3l-4-4l-4 4zM4 3v2h16V3H4z"/></svg>';var ve='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 13h-3V3h-2v10H8l4 4l4-4zM4 19v2h16v-2H4z"/></svg>';var he=new Map;he.set("arrowdown",n);he.set("arrowleft",$a);he.set("arrowright",l);he.set("arrowup",c);he.set("command",ee);he.set("commandleft",ee);he.set("commandright",ee);he.set("delete",te);he.set("capslock",oe);he.set("backspace",te);he.set("enter",Xa);he.set("home",de);he.set("end",ve);he.set("option",re);he.set("optionleft",re);he.set("optionright",re);he.set("pagedown",ce);he.set("pageup",ne);he.set("shift",le);he.set("shiftleft",le);he.set("shiftright",le);he.set("space",se);he.set("tab",ae);he.set("windows",ie);he.set("windowsleft",ie);he.set("windowsright",ie);var me=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-keyboard-key-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-key-illumination-light-size:calc(var(--spacing,.0025rem)*50);--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) * -1) 0 0 rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/var(--mds-keyboard-key-illumination-dark-opacity,.05)) inset;--mds-keyboard-key-illumination-light:0 var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem)*50)) 0 0 rgb(255 255 255/var(--mds-keyboard-key-illumination-light-opacity,.5)) inset;--mds-keyboard-key-padding:calc(var(--spacing,.0025rem)*100);--mds-keyboard-key-transition-duration:var(--duration-300,.3s);--icon-size:calc(var(--spacing,.0025rem)*600);--key-size-default:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)));--key-size-pressed:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * 2));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-end;display:inline-flex;min-height:var(--key-size-default);min-width:var(--key-size-default)}.physical-key{background-color:var(--mds-keyboard-key-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-sizing:border-box;corner-shape:inherit;align-items:baseline;display:inline-flex;flex-grow:1;flex-shrink:0;height:var(--key-size-default);justify-content:center;min-width:calc(var(--spacing,.0025rem)*1000);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100));position:relative;text-align:center;transition-duration:var(--mds-keyboard-key-transition-duration,var(--duration-300,.3s));transition-property:box-shadow,padding,height;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));-webkit-user-select:none;user-select:none}:host(:active) .physical-key,:host([pressed]:not([pressed=false])) .physical-key{--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * -1) 0 0 rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/var(--mds-keyboard-key-illumination-dark-opacity)) inset;box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);height:var(--key-size-pressed);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))}:host([name=space]) .physical-key{min-width:calc(var(--key-size-default)*2)}mds-badge{background-color:#0000;color:currentColor;margin-left:calc(var(--spacing,.0025rem)*50);padding:0;white-space:nowrap}.shortcut-icon{fill:currentColor}.shortcut-text{color:currentColor;text-transform:capitalize;white-space:nowrap}"};var pe=a("mds_keyboard_key",/** @class */function(){function a(a){var r=this;e(this,a);this.t=new o({el:E,en:ia,es:La,it:Qa});this.keyboardKeys=t;this.getTitle=function(){var a;
2
2
  // the type has no empty name, but the attribute can be empty or removed
3
- var e=(a=r.name)!==null&&a!==void 0?a:"";if(e!==""){return r.t.get(r.keyboardKeys[e.toLowerCase()].description,{character:r.keyboardKeys[e.toLowerCase()].alias,keyboardPosition:r.keyboardKeys[e.toLowerCase()].keyboardPosition})}return undefined}}a.prototype.render=function(){var a,e,t,o;return r(i,{key:"90be6ba97836ecbf397939d5b45995793bdcf5e7",title:this.getTitle()},r("div",{key:"128a79845f8ab95bebb1995078f30b2dc18a3559",class:"physical-key"},this.name&&he.has(this.name)?r("mds-icon",{name:(a=he.get(this.name))!==null&&a!==void 0?a:s,class:"shortcut-icon"}):r("mds-text",{class:"shortcut-text",typography:"detail"},this.name&&r("b",null,this.keyboardKeys[this.name].alias)),this.name&&((e=this.keyboardKeys[this.name])===null||e===void 0?void 0:e.keyboardPosition)&&r("mds-text",{key:"5fe71715d293a137a4749e96cf44e2b7ab8cb322",typography:"label"},((t=this.keyboardKeys[this.name].keyboardPosition)===null||t===void 0?void 0:t.left)&&"l",((o=this.keyboardKeys[this.name].keyboardPosition)===null||o===void 0?void 0:o.right)&&"r")))};return a}());pe.style=me()}}}));
3
+ var e=(a=r.name)!==null&&a!==void 0?a:"";if(e!==""){return r.t.get(r.keyboardKeys[e.toLowerCase()].description,{character:r.keyboardKeys[e.toLowerCase()].alias,keyboardPosition:r.keyboardKeys[e.toLowerCase()].keyboardPosition})}return undefined}}a.prototype.render=function(){var a,e,t,o;return r(i,{key:"1c8d64e64357d4ebaab797d3fd182ec6a2b2ebf4",title:this.getTitle()},r("div",{key:"ea07aba65e7d7b5d3d33d942f4a8ef840e7b35a5",class:"physical-key"},this.name&&he.has(this.name)?r("mds-icon",{name:(a=he.get(this.name))!==null&&a!==void 0?a:s,class:"shortcut-icon"}):r("mds-text",{class:"shortcut-text",typography:"detail"},this.name&&r("b",null,this.keyboardKeys[this.name].alias)),this.name&&((e=this.keyboardKeys[this.name])===null||e===void 0?void 0:e.keyboardPosition)&&r("mds-text",{key:"a82c73dde75bad541107ad0cab84901e964b151c",typography:"label"},((t=this.keyboardKeys[this.name].keyboardPosition)===null||t===void 0?void 0:t.left)&&"l",((o=this.keyboardKeys[this.name].keyboardPosition)===null||o===void 0?void 0:o.right)&&"r")))};return a}());pe.style=me()}}}));
@@ -1,4 +1,4 @@
1
- var __spreadArray=this&&this.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var i=0,r=e.length,a;i<r;i++){if(a||!(i in e)){if(!a)a=Array.prototype.slice.call(e,0,i);a[i]=e[i]}}return t.concat(a||Array.prototype.slice.call(e))};System.register(["./p-BZP13mns.system.js","./p-mGgjNqBm.system.js","./p-BcI1w9tp.system.js","./p-C0tqOovl.system.js","./p-Qrub-hmK.system.js"],(function(t){"use strict";var e,n,i,r,a,o,s,l,d,u;return{setters:[function(t){e=t.r;n=t.d;i=t.h;r=t.e;a=t.g;o=t.B},function(t){s=t.p},function(t){l=t.m},function(t){d=t.m},function(t){u=t.c}],execute:function(){var c='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 5.83L15.17 9l1.41-1.41L12 3L7.41 7.59L8.83 9L12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15L12 18.17z"/></svg>';var f=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;--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,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-table-header-cell-transition-duration:var(--duration-200,.2s);--private-table-header-cell-transition-duration:var(--mds-table-header-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background);border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color)!important;border-top:var(--private-cell-border-width) solid #0000!important;display:table-cell;padding:var(--mds-table-cell-padding);transition-duration:var(--private-table-header-cell-transition-duration);transition-property:background-color,border-color,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));vertical-align:top;white-space:nowrap}.action{margin-inline:calc(var(--spacing,.0025rem)*-200);padding-inline:calc(var(--spacing,.0025rem)*200)}.action:hover,:host([direction=ascending]) .action,:host([direction=descending]) .action{background-color:var(--mds-table-background-alt)}.action::part(label){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);min-height:auto;text-box:trim-both cap alphabetic;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-size-info-label,.75rem);font-weight:var(--tw-font-weight,var(--text-size-info-label--font-weight,700));line-height:var(--tw-leading,var(--text-size-info-label--line-height,1rem))}.action::part(label):where(){text-box:normal}.label{align-items:center;display:inline-flex;height:calc(var(--spacing,.0025rem)*700)}: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-table-header-cell-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@property --tw-font-weight{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-table-header-cell-transition-duration:0s}}'};var h=["none","ascending","descending"];
1
+ var __spreadArray=this&&this.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var i=0,r=e.length,a;i<r;i++){if(a||!(i in e)){if(!a)a=Array.prototype.slice.call(e,0,i);a[i]=e[i]}}return t.concat(a||Array.prototype.slice.call(e))};System.register(["./p-BZP13mns.system.js","./p-DOisMne4.system.js","./p-BcI1w9tp.system.js","./p-C0tqOovl.system.js","./p-Qrub-hmK.system.js"],(function(t){"use strict";var e,n,i,r,a,o,s,l,d,u;return{setters:[function(t){e=t.r;n=t.d;i=t.h;r=t.e;a=t.g;o=t.B},function(t){s=t.p},function(t){l=t.m},function(t){d=t.m},function(t){u=t.c}],execute:function(){var c='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 5.83L15.17 9l1.41-1.41L12 3L7.41 7.59L8.83 9L12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15L12 18.17z"/></svg>';var f=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;--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,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-table-header-cell-transition-duration:var(--duration-200,.2s);--private-table-header-cell-transition-duration:var(--mds-table-header-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background);border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color)!important;border-top:var(--private-cell-border-width) solid #0000!important;display:table-cell;padding:var(--mds-table-cell-padding);transition-duration:var(--private-table-header-cell-transition-duration);transition-property:background-color,border-color,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));vertical-align:top;white-space:nowrap}.action{margin-inline:calc(var(--spacing,.0025rem)*-200);padding-inline:calc(var(--spacing,.0025rem)*200)}.action:hover,:host([direction=ascending]) .action,:host([direction=descending]) .action{background-color:var(--mds-table-background-alt)}.action::part(label){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);min-height:auto;text-box:trim-both cap alphabetic;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-size-info-label,.75rem);font-weight:var(--tw-font-weight,var(--text-size-info-label--font-weight,700));line-height:var(--tw-leading,var(--text-size-info-label--line-height,1rem))}.action::part(label):where(){text-box:normal}.label{align-items:center;display:inline-flex;height:calc(var(--spacing,.0025rem)*700)}: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-table-header-cell-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@property --tw-font-weight{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-table-header-cell-transition-duration:0s}}'};var h=["none","ascending","descending"];
2
2
  // the order the rows of a table body had before any column sorted them, brought back when the
3
3
  // last sorted column returns to none; rows that left the body in the meantime stay out
4
4
  var m=new WeakMap;var v=t("mds_table_header_cell",/** @class */function(){function t(t){var i=this;e(this,t);this.sortEvent=n(this,"mdsTableHeaderCellSort",7);
@@ -20,4 +20,4 @@ this.observeRows=function(t){var e;(e=i.bodyObserver)===null||e===void 0?void 0:
20
20
  /**
21
21
  * Brings the table in line with `direction`, whoever set it: one sorted column at a time, the
22
22
  * rows in its order unless the table sorts them outside, the marks of the sorted column.
23
- */this.applyDirection=function(){var t=i.body();if(!i.sortable||!t){return}if(i.direction!=="none"){i.siblings().forEach((function(t){if(t.direction!=="none"){t.direction="none"}}))}if(!i.isExternal()){i.sortRows(t)}i.markRows(t);i.observeRows(t)};this.sort=function(){var t=h[(h.indexOf(i.direction)+1)%h.length];i.writingDirection=true;i.direction=t;i.writingDirection=false;i.applyDirection();i.sortEvent.emit({direction:t,index:i.index(),sortKey:i.sortKey})}}t.prototype.componentDidLoad=function(){if(this.direction!=="none"){this.applyDirection()}};t.prototype.disconnectedCallback=function(){var t;(t=this.bodyObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.directionHandler=function(){if(this.writingDirection){return}this.applyDirection()};t.prototype.render=function(){return i(r,{key:"2bfda7e7033b6a33078c2e6c63310ee4ca2edc48",role:"columnheader","aria-sort":this.direction,"pref-animation":s.state.animation},this.sortable?i("mds-button",{class:"action",icon:u(this.direction==="none"&&c,this.direction==="ascending"&&l,this.direction==="descending"&&d),"icon-position":"right",onClick:this.sort,tone:"text",variant:"dark",size:"sm",part:"action",label:this.label}):i("mds-text",{class:"label",typography:"label",part:"label"},this.label))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{direction:[{directionHandler:0}]}},enumerable:false,configurable:true});return t}());v.style=f()}}}));
23
+ */this.applyDirection=function(){var t=i.body();if(!i.sortable||!t){return}if(i.direction!=="none"){i.siblings().forEach((function(t){if(t.direction!=="none"){t.direction="none"}}))}if(!i.isExternal()){i.sortRows(t)}i.markRows(t);i.observeRows(t)};this.sort=function(){var t=h[(h.indexOf(i.direction)+1)%h.length];i.writingDirection=true;i.direction=t;i.writingDirection=false;i.applyDirection();i.sortEvent.emit({direction:t,index:i.index(),sortKey:i.sortKey})}}t.prototype.componentDidLoad=function(){if(this.direction!=="none"){this.applyDirection()}};t.prototype.disconnectedCallback=function(){var t;(t=this.bodyObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.directionHandler=function(){if(this.writingDirection){return}this.applyDirection()};t.prototype.render=function(){return i(r,{key:"4e2574a9ba2dc75ba5de5482baa21a30856b2820",role:"columnheader","aria-sort":this.direction,"pref-animation":s.state.animation},this.sortable?i("mds-button",{class:"action",icon:u(this.direction==="none"&&c,this.direction==="ascending"&&l,this.direction==="descending"&&d),"icon-position":"right",onClick:this.sort,tone:"text",variant:"dark",size:"sm",part:"action",label:this.label}):i("mds-text",{class:"label",typography:"label",part:"label"},this.label))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{direction:[{directionHandler:0}]}},enumerable:false,configurable:true});return t}());v.style=f()}}}));
@@ -1 +1 @@
1
- import{r as e,d as t,h as r,e as i,g as o}from"./p-CvLLN-QH.js";import{c as a}from"./p-ChV9xqsO.js";import{h as n}from"./p-AEckDMXh.js";import{L as s}from"./p-OafT80hV.js";import{c as d}from"./p-CWk1SCJg.js";import"./p-iX3kcwYg.js";var l={expand:"Ανάπτυξη {{ label }}",collapse:"Σύμπτυξη {{ label }}"},c={expand:"Expand {{ label }}",collapse:"Collapse {{ label }}"},g={expand:"Expandir {{ label }}",collapse:"Contraer {{ label }}"},m={expand:"Espandi {{ label }}",collapse:"Contrai {{ label }}"};const h=class{constructor(r){e(this,r),this.expandEvent=t(this,"mdsTreeItemExpand",7),this.collapsedEvent=t(this,"mdsTreeItemCollapse",7),this.hasActions=!1,this.hasChildren=!1,this.t=new s({el:l,en:c,es:g,it:m}),this.truncate="word",this.checkChildrenTransitionEnd=()=>{this.childrenElement.classList.contains("children--expanded")||this.childrenElement.classList.add("children--hidden")},this.updateToggleIcon=()=>{this.currentToggleIcon="folder"!==this.toggle?'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41L13.17 12l-4.58 4.59L10 18l6-6z"/></svg>':this.expanded?'<svg xmlns="http://www.w3.org/2000/svg" id="mdi-folder-open" viewBox="0 0 24 24"><path d="M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z" /></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></svg>'},this.onClick=()=>{!this.async||this.expanded?this.updateToggle():this.idle()},this.idle=()=>{this.await=!0,this.expandEvent.emit({element:this.host})},this.updateToggle=()=>{this.expanded=!this.expanded,this.updateToggleIcon()},this.updateCssCustomProperty=()=>{const e=window.getComputedStyle(this.host);this.cssToggleChildrenDuration=e.getPropertyValue("--mds-tree-item-transition-duration")},this.resolveActions=()=>{var e;const t=this.host.closest("mds-tree-item[actions], mds-tree[actions]");this.resolvedActions=null!==(e=null==t?void 0:t.getAttribute("actions"))&&void 0!==e?e:"auto"},this.expandedState=()=>this.hasChildren||this.async?String(!!this.expanded):void 0,this.onActionSlotChange=()=>{this.hasActions=n(this.host,"action")},this.updateHasChildren=()=>{this.hasChildren=!!this.host.querySelector("mds-tree-item")}}handleIconChange(){this.updateToggleIcon()}handleExpandedChange(e){var t;this.updateToggleIcon(),e?null===(t=this.childrenElement)||void 0===t||t.classList.remove("children--hidden"):(this.updateCssCustomProperty(),this.toggleChildrenTimer=setTimeout((()=>{clearTimeout(this.toggleChildrenTimer),this.collapsedEvent.emit({element:this.host})}),d(this.cssToggleChildrenDuration,0)))}async expand(){this.expanded=!0,this.await=!1,this.updateToggleIcon()}handleActionsChange(){this.resolveActions()}async refreshActions(){this.resolveActions()}componentWillLoad(){this.updateToggleIcon(),this.resolveActions(),this.hasActions=n(this.host,"action"),this.updateHasChildren()}componentDidLoad(){var e;this.updateCssCustomProperty(),this.childrenElement=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".children"),this.childrenElement.addEventListener("transitionend",this.checkChildrenTransitionEnd)}disconnectedCallback(){this.childrenElement.removeEventListener("transitionend",this.checkChildrenTransitionEnd)}render(){return r(i,{key:"0b8989fe8658a78595ad519f7d5fcf4ab1b01ef9","resolved-actions":this.resolvedActions,role:"listitem"},r("div",{key:"58327c637ab5874af654e9ea3b8df8c27d5fe9a7",class:a("header",this.hasChildren&&"header--has-children")},r("div",{key:"908bcb731e5f159893eb93870d13a0ada33ea660",class:"tree-node"},r("div",{key:"e798ccd7f960ae57a93c7a212a51cddf0b108a32",class:"tree-branch"}),r("div",{key:"f40911ba253eaedbc69ea1098a01ade437267db2",class:"tree-dot"})),r("div",{key:"be23bc3098d14da3f023fb994689f67a2ed736ff",class:"toggle-icon"},r("mds-button",{key:"f8f2ebdd8eadd07dfab24829d7cfe39071c3fd9f","aria-expanded":this.expandedState(),await:this.await,onClick:this.onClick,icon:this.await?void 0:this.currentToggleIcon,title:this.t.get(this.expanded?"collapse":"expand",{label:this.label}),variant:"dark",tone:"text",size:"sm"})),r("div",{key:"5a9dd1a7453773c78eba34f67e869140a10fc343",class:"title"},r("mds-button",{key:"6c5703856313ea94d1e48b0812faba3e5e41be60","aria-expanded":this.expandedState(),class:a("label-action",this.await&&"label-action--await"),disabled:this.await,icon:this.icon,onClick:this.onClick,variant:"dark",tone:"text",truncate:this.truncate,label:this.label}),r("div",{key:"da094ca419337f2e5b04b97686a58ac2fb2d60b9",class:a("actions-container",this.hasActions&&"actions-container--has-actions"),part:"actions-container"},r("div",{key:"e4bd7d06c35faf67e2db8034751ffc15e2203471",class:"actions",part:"actions-list"},r("slot",{key:"538dac195393c94fcd48ce30a8de13eefe1ed902",name:"action",onSlotchange:this.onActionSlotChange}))))),r("div",{key:"70659d3908b9a2b90da2839c0e3083a2e9d6d727",class:a("children",this.hasChildren&&"children--has-children",this.expanded&&"children--expanded"),role:this.hasChildren?"list":void 0},r("slot",{key:"aaa70df1c6b65cb3e48e5ff19b58d4f37c0333d2",onSlotchange:this.updateHasChildren})))}get host(){return o(this)}static get watchers(){return{toggle:[{handleIconChange:0}],expanded:[{handleExpandedChange:0}],actions:[{handleActionsChange:0}]}}};h.style='@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@container style(--mds-tree-branch-use-rounded-border:true){:host{--mds-tree-branch-border-radius:var(--private-tree-item-branch-border-radius)}}@container style(--mds-tree-branch-use-rounded-border:false){:host{--mds-tree-branch-border-radius:0px}}:host{--mds-tree-item-actions-border-radius:var(--mds-tree-actions-border-radius);--mds-tree-item-actions-gap:var(--mds-tree-actions-gap);--mds-tree-item-branch-border-color:var(--mds-tree-branch-border-color);--mds-tree-item-branch-border-radius:var(--mds-tree-branch-border-radius,var(--private-tree-item-branch-border-radius));--mds-tree-item-branch-border-size:var(--mds-tree-branch-border-size);--mds-tree-item-branch-dot-default-color:var(--mds-tree-branch-dot-default-color);--mds-tree-item-branch-dot-expanded-color:var(--mds-tree-branch-dot-expanded-color);--mds-tree-item-label-default-background:var(--mds-tree-label-default-background);--mds-tree-item-label-hover-background:var(--mds-tree-label-hover-background);--mds-tree-item-label-icon-default-color:var(--mds-tree-label-icon-default-color);--mds-tree-item-label-icon-hover-color:var(--mds-tree-label-icon-hover-color);--mds-tree-item-line-clamp:var(--mds-tree-line-clamp);--mds-tree-item-toggle-gap:var(--mds-tree-toggle-gap,calc(var(--spacing,.0025rem)*100));--mds-tree-item-toggle-icon-async-background:var(--mds-tree-toggle-icon-async-background);--mds-tree-item-toggle-icon-async-color:var(--mds-tree-toggle-icon-async-color);--mds-tree-item-toggle-icon-chevron-default-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-item-toggle-icon-chevron-default-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-item-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-expanded-background,var(--mds-tree-item-toggle-icon-chevron-default-background));--mds-tree-item-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-expanded-color,var(--mds-tree-item-toggle-icon-chevron-default-color));--mds-tree-item-toggle-icon-folder-default-background:var(--mds-tree-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-default-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-item-toggle-icon-folder-expanded-background:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-expanded-color,var(--mds-tree-item-toggle-icon-folder-default-color));--mds-tree-item-toggle-icon-position-right-default-background:var(--mds-tree-toggle-icon-position-right-default-background);--mds-tree-item-toggle-icon-position-right-default-color:var(--mds-tree-toggle-icon-position-right-default-color);--mds-tree-item-toggle-icon-position-right-expanded-background:var(--mds-tree-toggle-icon-position-right-expanded-background);--mds-tree-item-toggle-icon-position-right-expanded-color:var(--mds-tree-toggle-icon-position-right-expanded-color);--mds-tree-item-toggle-size:var(--mds-tree-toggle-size);--mds-tree-item-transition-duration:var(--mds-tree-transition-duration);--mds-tree-item-transition-timing-function:var(--mds-tree-transition-timing-function);--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color);--header-gap:var(--mds-tree-item-toggle-gap);--private-tree-item-branch-border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * var(--mds-tree-item-toggle-size));display:grid;transition-duration:var(--mds-tree-item-transition-duration);transition-timing-function:var(--mds-tree-item-transition-timing-function)}.header{--offset:calc(var(--mds-tree-item-toggle-size) + var(--header-gap));align-items:flex-start;gap:var(--header-gap);position:relative;z-index:1}.header,.title{display:flex;min-width:0}.title{align-items:stretch;flex-grow:1;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between}.label-action{--mds-button-line-clamp:var(--mds-tree-item-line-clamp);--padding:calc(var(--spacing,.0025rem)*100);background-color:var(--mds-tree-item-label-default-background);border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * calc(var(--spacing,.0025rem)*900));fill:var(--mds-tree-item-label-icon-default-color);flex-grow:1;justify-content:flex-start;margin-left:calc(var(--padding)*-1);padding-left:var(--padding);padding-right:var(--padding)}.label-action:hover{background-color:var(--mds-tree-item-label-hover-background);fill:var(--mds-tree-item-label-icon-hover-color)}.actions-container{--ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);interpolate-size:allow-keywords;align-items:center;display:none;justify-content:flex-start;min-width:0;overflow:hidden;transition-behavior:allow-discrete;transition-duration:var(--duration-300,.3s);transition-property:min-width,width,overflow;transition-timing-function:var(--ease);width:0}.actions-container--has-actions{display:flex}.actions{border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;flex-shrink:0;gap:var(--mds-tree-item-actions-gap);pointer-events:none;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:transform;transition-timing-function:var(--ease)}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions-container{pointer-events:auto}.header:focus-within .actions-container,.header:hover .actions-container,:host([resolved-actions=visible]) .actions-container{animation:toggleOverflow var(--duration-300,.3s) forwards;min-width:fit-content;width:fit-content}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions{transform:scale(1)}.children{--mds-tree-item-children-padding-left:calc(var(--mds-tree-item-toggle-size)/2 - var(--mds-tree-item-branch-border-size)/2);interpolate-size:allow-keywords;display:flex;flex-direction:column;height:0;overflow:clip;padding-left:var(--mds-tree-item-children-padding-left);position:relative;transform:translateY(calc(var(--mds-tree-item-toggle-size)/2*-1));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height,transform,visibility;transition-timing-function:var(--mds-tree-item-transition-timing-function);visibility:hidden;z-index:0}.children--expanded{animation:toggleOverflow var(--mds-tree-item-transition-duration) forwards;animation-timing-function:var(--mds-tree-item-transition-timing-function);display:flex;height:auto;transform:translateY(0);visibility:inherit}.children--empty,.children--hidden{display:none}@keyframes toggleOverflow{99.99%{overflow:hidden}to{overflow:visible}}@keyframes toggleDisplay{99.99%{display:flex}to{display:none}}.tree-node{--middle-pos-x:calc(50% - var(--mds-tree-item-branch-border-size)/2);align-items:center;box-sizing:border-box;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;pointer-events:none;position:relative;width:var(--mds-tree-item-toggle-size);z-index:0}.tree-branch{--pos-y:calc(calc(var(--mds-tree-item-toggle-size) / 2 + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)))) * -1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))) + var(--mds-tree-item-branch-border-size) / 2);--tree-width:calc(var(--mds-tree-item-toggle-size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--tree-height);inset:0;position:absolute;transform:translateY(var(--pos-y));width:calc(var(--mds-tree-item-toggle-size)/2);z-index:1}:host(:first-of-type) .tree-branch{--pos-y:calc(var(--mds-tree-item-toggle-size)/2*-1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-size)/2)}.tree-dot{--size:calc(var(--spacing,.0025rem)*300 + var(--mds-tree-item-branch-border-size)*2);background-color:var(--mds-tree-item-branch-border-color);border-radius:var(--size);display:none;height:var(--size);position:relative;width:var(--size)}.header--has-children .tree-dot{display:inline-flex}.header:not(.header--has-children) .tree-node .tree-branch{width:calc(var(--mds-tree-item-toggle-size) - var(--header-gap))}:host(:not(:last-of-type)) .header--has-children .tree-node:after{--size:calc(calc(var(--mds-tree-item-toggle-size) / 2) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))));--pos-y:calc(var(--size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;content:"";corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--size);inset:0;position:absolute;transform:translateY(var(--pos-y));width:var(--mds-tree-item-branch-border-size);z-index:1}:host(:not(:last-of-type)) .children--has-children:before{border-left:var(--mds-tree-item-branch-border-size) solid var(--mds-tree-item-branch-border-color);content:"";display:flex;height:calc(100% + var(--mds-tree-item-toggle-size));left:0;position:absolute;top:calc(var(--mds-tree-item-toggle-size)*-1)}.tree-dot:after{--pos-y:calc(var(--size)/2);background-color:var(--mds-tree-item-branch-border-color);box-sizing:border-box;content:"";display:inline-flex;height:calc(var(--size)/2);inset:0 50% 0 0;position:absolute;transform:translate(calc(var(--pos-y) - var(--mds-tree-item-branch-border-size)/2),var(--pos-y));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-branch-border-size);z-index:1}:host([expanded]) .tree-dot:after{height:calc(var(--size) + var(--mds-tree-item-branch-border-size))}:host([depth="0"]) .children--has-children .tree-branch,:host([depth="0"]) .children--has-children:before,:host([depth="0"]) .header--has-children .tree-node:after,:host([depth="0"]) .tree-node .tree-branch,:host([depth="0"]) .tree-node:before{display:none}.toggle-icon{align-items:center;align-self:center;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;margin-left:calc(var(--offset)*-1);position:relative;transform:rotate(0);transition-duration:var(--mds-tree-item-transition-duration);transition-property:transform;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-toggle-size);z-index:1}.toggle-icon mds-button{--size:calc(var(--spacing,.0025rem)*600);align-self:center;background-color:var(--mds-tree-item-icon-background-color);border:0;border-radius:var(--mds-tree-item-toggle-size);color:var(--mds-tree-item-icon-color);fill:var(--mds-tree-item-icon-color);height:var(--size);min-height:var(--size);min-width:var(--size);overflow:hidden;width:var(--size)}.toggle-icon mds-button[await]{background-color:var(--mds-tree-item-toggle-icon-async-background);color:var(--mds-tree-item-toggle-icon-async-color)}:host([toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color)}:host([expanded][toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-expanded-color)}:host([toggle=folder][toggle-position=left]) .toggle-icon mds-button{box-shadow:0 calc(var(--spacing,.0025rem)*25) 0 0 var(--mds-tree-item-branch-border-color)}:host([toggle=folder]) .toggle-icon mds-button{--size:auto;border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));padding:calc(var(--spacing,.0025rem)*25) calc(var(--spacing,.0025rem)*50)}:host([toggle=folder]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-default-color)}:host([toggle=folder][expanded]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-expanded-color)}:host([toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-default-color);background-color:#0000;order:1}:host([expanded][toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-expanded-color)}:host([expanded][toggle-position=left][toggle=chevron]) .toggle-icon{transform:rotate(90deg)}.header:not(.header--has-children) .toggle-icon{display:none}:host([toggle-position=left]) .toggle-icon{order:0}:host([toggle-position=right]) .header--has-children .title{margin-right:var(--offset)}:host([toggle-position=left][toggle=chevron][expanded]) .toggle-icon{transform:rotate(90deg)}:host([toggle-position=left][toggle=chevron]:not([expanded])) .toggle-icon{transform:rotate(0)}:host([toggle=chevron][toggle-position=right]) .toggle-icon{transform:rotate(90deg)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon{transform:rotate(270deg)}:host([toggle=chevron][toggle-position=right]) .toggle-icon--dot,:host([toggle=folder][toggle-position=right]) .toggle-icon--dot{transform:rotate(0)scale(.825)}:host([toggle=chevron][toggle-position=right]) .toggle-icon,:host([toggle=folder][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-default-color)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon,:host([toggle=folder][expanded][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-expanded-color)}:host([appearance=none]) .header{--offset:0;gap:0}:host([appearance=none]) .tree-dot,:host([appearance=none]) .tree-node,:host([appearance=none]:not(:last-of-type)) .children--has-children:before{display:none}:host([appearance=none]) .label-action{--padding:calc(var(--spacing,.0025rem)*200);margin-left:0;padding-left:var(--padding);padding-right:var(--padding)}:host([appearance=none][toggle-position=left]) .children{padding-left:calc(var(--header-gap)*2 + var(--mds-tree-item-branch-border-size) + var(--mds-tree-item-children-padding-left)*2)}:host([appearance=none][toggle-position=right]) .children{padding-left:var(--mds-tree-item-children-padding-left)}';export{h as mds_tree_item}
1
+ import{r as e,d as t,h as r,e as i,g as o}from"./p-CvLLN-QH.js";import{c as a}from"./p-ChV9xqsO.js";import{h as n}from"./p-AEckDMXh.js";import{L as s}from"./p-CATyfc78.js";import{c as d}from"./p-CWk1SCJg.js";import"./p-DxR4rGsw.js";var l={expand:"Ανάπτυξη {{ label }}",collapse:"Σύμπτυξη {{ label }}"},c={expand:"Expand {{ label }}",collapse:"Collapse {{ label }}"},g={expand:"Expandir {{ label }}",collapse:"Contraer {{ label }}"},m={expand:"Espandi {{ label }}",collapse:"Contrai {{ label }}"};const h=class{constructor(r){e(this,r),this.expandEvent=t(this,"mdsTreeItemExpand",7),this.collapsedEvent=t(this,"mdsTreeItemCollapse",7),this.hasActions=!1,this.hasChildren=!1,this.t=new s({el:l,en:c,es:g,it:m}),this.truncate="word",this.checkChildrenTransitionEnd=()=>{this.childrenElement.classList.contains("children--expanded")||this.childrenElement.classList.add("children--hidden")},this.updateToggleIcon=()=>{this.currentToggleIcon="folder"!==this.toggle?'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41L13.17 12l-4.58 4.59L10 18l6-6z"/></svg>':this.expanded?'<svg xmlns="http://www.w3.org/2000/svg" id="mdi-folder-open" viewBox="0 0 24 24"><path d="M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z" /></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></svg>'},this.onClick=()=>{!this.async||this.expanded?this.updateToggle():this.idle()},this.idle=()=>{this.await=!0,this.expandEvent.emit({element:this.host})},this.updateToggle=()=>{this.expanded=!this.expanded,this.updateToggleIcon()},this.updateCssCustomProperty=()=>{const e=window.getComputedStyle(this.host);this.cssToggleChildrenDuration=e.getPropertyValue("--mds-tree-item-transition-duration")},this.resolveActions=()=>{var e;const t=this.host.closest("mds-tree-item[actions], mds-tree[actions]");this.resolvedActions=null!==(e=null==t?void 0:t.getAttribute("actions"))&&void 0!==e?e:"auto"},this.expandedState=()=>this.hasChildren||this.async?String(!!this.expanded):void 0,this.onActionSlotChange=()=>{this.hasActions=n(this.host,"action")},this.updateHasChildren=()=>{this.hasChildren=!!this.host.querySelector("mds-tree-item")}}handleIconChange(){this.updateToggleIcon()}handleExpandedChange(e){var t;this.updateToggleIcon(),e?null===(t=this.childrenElement)||void 0===t||t.classList.remove("children--hidden"):(this.updateCssCustomProperty(),this.toggleChildrenTimer=setTimeout((()=>{clearTimeout(this.toggleChildrenTimer),this.collapsedEvent.emit({element:this.host})}),d(this.cssToggleChildrenDuration,0)))}async expand(){this.expanded=!0,this.await=!1,this.updateToggleIcon()}handleActionsChange(){this.resolveActions()}async refreshActions(){this.resolveActions()}componentWillLoad(){this.updateToggleIcon(),this.resolveActions(),this.hasActions=n(this.host,"action"),this.updateHasChildren()}componentDidLoad(){var e;this.updateCssCustomProperty(),this.childrenElement=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".children"),this.childrenElement.addEventListener("transitionend",this.checkChildrenTransitionEnd)}disconnectedCallback(){this.childrenElement.removeEventListener("transitionend",this.checkChildrenTransitionEnd)}render(){return r(i,{key:"6c6b31e8790cc266209f12efd80debf6e1d21658","resolved-actions":this.resolvedActions,role:"listitem"},r("div",{key:"281d0adfd2afbd17e9271636791b2e912cdba0c2",class:a("header",this.hasChildren&&"header--has-children")},r("div",{key:"a14107f899f923e36997b8685d837d4eef070e5b",class:"tree-node"},r("div",{key:"dda88b437b8b1cee887e0430a432315ae86844f8",class:"tree-branch"}),r("div",{key:"0fb57ee7af3ab545e18d9b9e64fa09bd3f1a59aa",class:"tree-dot"})),r("div",{key:"27c056f7ba2e0b489e308d094a999d52a4c37eda",class:"toggle-icon"},r("mds-button",{key:"211b68fa05759ed79a409369fe61fad64ba33082","aria-expanded":this.expandedState(),await:this.await,onClick:this.onClick,icon:this.await?void 0:this.currentToggleIcon,title:this.t.get(this.expanded?"collapse":"expand",{label:this.label}),variant:"dark",tone:"text",size:"sm"})),r("div",{key:"a4f7f73b8505a641d070d57c59b57bd89ef057db",class:"title"},r("mds-button",{key:"ccc08c04407f0f1f099e9e054e9c576cb3cb4bb1","aria-expanded":this.expandedState(),class:a("label-action",this.await&&"label-action--await"),disabled:this.await,icon:this.icon,onClick:this.onClick,variant:"dark",tone:"text",truncate:this.truncate,label:this.label}),r("div",{key:"9c203dcc2c3d6d31e03152c0108d2e8fa21cac4c",class:a("actions-container",this.hasActions&&"actions-container--has-actions"),part:"actions-container"},r("div",{key:"13653e45ebd87131ac11c4913d17590255e85b41",class:"actions",part:"actions-list"},r("slot",{key:"99d9d2866a97276cb7b73e26a70f31461ab009e0",name:"action",onSlotchange:this.onActionSlotChange}))))),r("div",{key:"6646eb4a733e9280c457012060ae71c2fb41dfbf",class:a("children",this.hasChildren&&"children--has-children",this.expanded&&"children--expanded"),role:this.hasChildren?"list":void 0},r("slot",{key:"bff9f032d72955098086c8a0b9fa4f5a84ad28d9",onSlotchange:this.updateHasChildren})))}get host(){return o(this)}static get watchers(){return{toggle:[{handleIconChange:0}],expanded:[{handleExpandedChange:0}],actions:[{handleActionsChange:0}]}}};h.style='@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@container style(--mds-tree-branch-use-rounded-border:true){:host{--mds-tree-branch-border-radius:var(--private-tree-item-branch-border-radius)}}@container style(--mds-tree-branch-use-rounded-border:false){:host{--mds-tree-branch-border-radius:0px}}:host{--mds-tree-item-actions-border-radius:var(--mds-tree-actions-border-radius);--mds-tree-item-actions-gap:var(--mds-tree-actions-gap);--mds-tree-item-branch-border-color:var(--mds-tree-branch-border-color);--mds-tree-item-branch-border-radius:var(--mds-tree-branch-border-radius,var(--private-tree-item-branch-border-radius));--mds-tree-item-branch-border-size:var(--mds-tree-branch-border-size);--mds-tree-item-branch-dot-default-color:var(--mds-tree-branch-dot-default-color);--mds-tree-item-branch-dot-expanded-color:var(--mds-tree-branch-dot-expanded-color);--mds-tree-item-label-default-background:var(--mds-tree-label-default-background);--mds-tree-item-label-hover-background:var(--mds-tree-label-hover-background);--mds-tree-item-label-icon-default-color:var(--mds-tree-label-icon-default-color);--mds-tree-item-label-icon-hover-color:var(--mds-tree-label-icon-hover-color);--mds-tree-item-line-clamp:var(--mds-tree-line-clamp);--mds-tree-item-toggle-gap:var(--mds-tree-toggle-gap,calc(var(--spacing,.0025rem)*100));--mds-tree-item-toggle-icon-async-background:var(--mds-tree-toggle-icon-async-background);--mds-tree-item-toggle-icon-async-color:var(--mds-tree-toggle-icon-async-color);--mds-tree-item-toggle-icon-chevron-default-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-item-toggle-icon-chevron-default-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-item-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-expanded-background,var(--mds-tree-item-toggle-icon-chevron-default-background));--mds-tree-item-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-expanded-color,var(--mds-tree-item-toggle-icon-chevron-default-color));--mds-tree-item-toggle-icon-folder-default-background:var(--mds-tree-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-default-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-item-toggle-icon-folder-expanded-background:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-expanded-color,var(--mds-tree-item-toggle-icon-folder-default-color));--mds-tree-item-toggle-icon-position-right-default-background:var(--mds-tree-toggle-icon-position-right-default-background);--mds-tree-item-toggle-icon-position-right-default-color:var(--mds-tree-toggle-icon-position-right-default-color);--mds-tree-item-toggle-icon-position-right-expanded-background:var(--mds-tree-toggle-icon-position-right-expanded-background);--mds-tree-item-toggle-icon-position-right-expanded-color:var(--mds-tree-toggle-icon-position-right-expanded-color);--mds-tree-item-toggle-size:var(--mds-tree-toggle-size);--mds-tree-item-transition-duration:var(--mds-tree-transition-duration);--mds-tree-item-transition-timing-function:var(--mds-tree-transition-timing-function);--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color);--header-gap:var(--mds-tree-item-toggle-gap);--private-tree-item-branch-border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * var(--mds-tree-item-toggle-size));display:grid;transition-duration:var(--mds-tree-item-transition-duration);transition-timing-function:var(--mds-tree-item-transition-timing-function)}.header{--offset:calc(var(--mds-tree-item-toggle-size) + var(--header-gap));align-items:flex-start;gap:var(--header-gap);position:relative;z-index:1}.header,.title{display:flex;min-width:0}.title{align-items:stretch;flex-grow:1;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between}.label-action{--mds-button-line-clamp:var(--mds-tree-item-line-clamp);--padding:calc(var(--spacing,.0025rem)*100);background-color:var(--mds-tree-item-label-default-background);border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * calc(var(--spacing,.0025rem)*900));fill:var(--mds-tree-item-label-icon-default-color);flex-grow:1;justify-content:flex-start;margin-left:calc(var(--padding)*-1);padding-left:var(--padding);padding-right:var(--padding)}.label-action:hover{background-color:var(--mds-tree-item-label-hover-background);fill:var(--mds-tree-item-label-icon-hover-color)}.actions-container{--ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);interpolate-size:allow-keywords;align-items:center;display:none;justify-content:flex-start;min-width:0;overflow:hidden;transition-behavior:allow-discrete;transition-duration:var(--duration-300,.3s);transition-property:min-width,width,overflow;transition-timing-function:var(--ease);width:0}.actions-container--has-actions{display:flex}.actions{border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;flex-shrink:0;gap:var(--mds-tree-item-actions-gap);pointer-events:none;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:transform;transition-timing-function:var(--ease)}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions-container{pointer-events:auto}.header:focus-within .actions-container,.header:hover .actions-container,:host([resolved-actions=visible]) .actions-container{animation:toggleOverflow var(--duration-300,.3s) forwards;min-width:fit-content;width:fit-content}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions{transform:scale(1)}.children{--mds-tree-item-children-padding-left:calc(var(--mds-tree-item-toggle-size)/2 - var(--mds-tree-item-branch-border-size)/2);interpolate-size:allow-keywords;display:flex;flex-direction:column;height:0;overflow:clip;padding-left:var(--mds-tree-item-children-padding-left);position:relative;transform:translateY(calc(var(--mds-tree-item-toggle-size)/2*-1));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height,transform,visibility;transition-timing-function:var(--mds-tree-item-transition-timing-function);visibility:hidden;z-index:0}.children--expanded{animation:toggleOverflow var(--mds-tree-item-transition-duration) forwards;animation-timing-function:var(--mds-tree-item-transition-timing-function);display:flex;height:auto;transform:translateY(0);visibility:inherit}.children--empty,.children--hidden{display:none}@keyframes toggleOverflow{99.99%{overflow:hidden}to{overflow:visible}}@keyframes toggleDisplay{99.99%{display:flex}to{display:none}}.tree-node{--middle-pos-x:calc(50% - var(--mds-tree-item-branch-border-size)/2);align-items:center;box-sizing:border-box;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;pointer-events:none;position:relative;width:var(--mds-tree-item-toggle-size);z-index:0}.tree-branch{--pos-y:calc(calc(var(--mds-tree-item-toggle-size) / 2 + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)))) * -1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))) + var(--mds-tree-item-branch-border-size) / 2);--tree-width:calc(var(--mds-tree-item-toggle-size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--tree-height);inset:0;position:absolute;transform:translateY(var(--pos-y));width:calc(var(--mds-tree-item-toggle-size)/2);z-index:1}:host(:first-of-type) .tree-branch{--pos-y:calc(var(--mds-tree-item-toggle-size)/2*-1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-size)/2)}.tree-dot{--size:calc(var(--spacing,.0025rem)*300 + var(--mds-tree-item-branch-border-size)*2);background-color:var(--mds-tree-item-branch-border-color);border-radius:var(--size);display:none;height:var(--size);position:relative;width:var(--size)}.header--has-children .tree-dot{display:inline-flex}.header:not(.header--has-children) .tree-node .tree-branch{width:calc(var(--mds-tree-item-toggle-size) - var(--header-gap))}:host(:not(:last-of-type)) .header--has-children .tree-node:after{--size:calc(calc(var(--mds-tree-item-toggle-size) / 2) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))));--pos-y:calc(var(--size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;content:"";corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--size);inset:0;position:absolute;transform:translateY(var(--pos-y));width:var(--mds-tree-item-branch-border-size);z-index:1}:host(:not(:last-of-type)) .children--has-children:before{border-left:var(--mds-tree-item-branch-border-size) solid var(--mds-tree-item-branch-border-color);content:"";display:flex;height:calc(100% + var(--mds-tree-item-toggle-size));left:0;position:absolute;top:calc(var(--mds-tree-item-toggle-size)*-1)}.tree-dot:after{--pos-y:calc(var(--size)/2);background-color:var(--mds-tree-item-branch-border-color);box-sizing:border-box;content:"";display:inline-flex;height:calc(var(--size)/2);inset:0 50% 0 0;position:absolute;transform:translate(calc(var(--pos-y) - var(--mds-tree-item-branch-border-size)/2),var(--pos-y));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-branch-border-size);z-index:1}:host([expanded]) .tree-dot:after{height:calc(var(--size) + var(--mds-tree-item-branch-border-size))}:host([depth="0"]) .children--has-children .tree-branch,:host([depth="0"]) .children--has-children:before,:host([depth="0"]) .header--has-children .tree-node:after,:host([depth="0"]) .tree-node .tree-branch,:host([depth="0"]) .tree-node:before{display:none}.toggle-icon{align-items:center;align-self:center;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;margin-left:calc(var(--offset)*-1);position:relative;transform:rotate(0);transition-duration:var(--mds-tree-item-transition-duration);transition-property:transform;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-toggle-size);z-index:1}.toggle-icon mds-button{--size:calc(var(--spacing,.0025rem)*600);align-self:center;background-color:var(--mds-tree-item-icon-background-color);border:0;border-radius:var(--mds-tree-item-toggle-size);color:var(--mds-tree-item-icon-color);fill:var(--mds-tree-item-icon-color);height:var(--size);min-height:var(--size);min-width:var(--size);overflow:hidden;width:var(--size)}.toggle-icon mds-button[await]{background-color:var(--mds-tree-item-toggle-icon-async-background);color:var(--mds-tree-item-toggle-icon-async-color)}:host([toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color)}:host([expanded][toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-expanded-color)}:host([toggle=folder][toggle-position=left]) .toggle-icon mds-button{box-shadow:0 calc(var(--spacing,.0025rem)*25) 0 0 var(--mds-tree-item-branch-border-color)}:host([toggle=folder]) .toggle-icon mds-button{--size:auto;border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));padding:calc(var(--spacing,.0025rem)*25) calc(var(--spacing,.0025rem)*50)}:host([toggle=folder]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-default-color)}:host([toggle=folder][expanded]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-expanded-color)}:host([toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-default-color);background-color:#0000;order:1}:host([expanded][toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-expanded-color)}:host([expanded][toggle-position=left][toggle=chevron]) .toggle-icon{transform:rotate(90deg)}.header:not(.header--has-children) .toggle-icon{display:none}:host([toggle-position=left]) .toggle-icon{order:0}:host([toggle-position=right]) .header--has-children .title{margin-right:var(--offset)}:host([toggle-position=left][toggle=chevron][expanded]) .toggle-icon{transform:rotate(90deg)}:host([toggle-position=left][toggle=chevron]:not([expanded])) .toggle-icon{transform:rotate(0)}:host([toggle=chevron][toggle-position=right]) .toggle-icon{transform:rotate(90deg)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon{transform:rotate(270deg)}:host([toggle=chevron][toggle-position=right]) .toggle-icon--dot,:host([toggle=folder][toggle-position=right]) .toggle-icon--dot{transform:rotate(0)scale(.825)}:host([toggle=chevron][toggle-position=right]) .toggle-icon,:host([toggle=folder][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-default-color)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon,:host([toggle=folder][expanded][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-expanded-color)}:host([appearance=none]) .header{--offset:0;gap:0}:host([appearance=none]) .tree-dot,:host([appearance=none]) .tree-node,:host([appearance=none]:not(:last-of-type)) .children--has-children:before{display:none}:host([appearance=none]) .label-action{--padding:calc(var(--spacing,.0025rem)*200);margin-left:0;padding-left:var(--padding);padding-right:var(--padding)}:host([appearance=none][toggle-position=left]) .children{padding-left:calc(var(--header-gap)*2 + var(--mds-tree-item-branch-border-size) + var(--mds-tree-item-children-padding-left)*2)}:host([appearance=none][toggle-position=right]) .children{padding-left:var(--mds-tree-item-children-padding-left)}';export{h as mds_tree_item}
@@ -1 +1 @@
1
- import{r as a,h as t,e as i,g as r}from"./p-CvLLN-QH.js";import{K as e}from"./p-CGrPq3C4.js";import{p as o}from"./p-iX3kcwYg.js";const n=class{constructor(t){a(this,t),this.km=new e,this.syncClickBehavior=()=>{this.disabled||this.selected?this.km.detachClickBehavior():this.km.attachClickBehavior("element",{space:!0})}}componentDidLoad(){this.km.addElement(this.host),this.syncClickBehavior()}componentDidUpdate(){this.syncClickBehavior()}connectedCallback(){this.syncClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){return t(i,{key:"c9d38effc2ced1fcc2a12f39760969f29693ddf3","aria-current":this.selected?"page":void 0,"aria-disabled":this.disabled?"true":void 0,role:"button",tabindex:this.disabled?void 0:"0","pref-animation":o.state.animation,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},void 0!==this.icon?t("mds-icon",{class:"icon",name:this.icon}):t("mds-text",{class:"text",typography:"caption"},t("b",null,t("slot",null))))}get host(){return r(this)}};n.style='@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}}';export{n as mds_paginator_item}
1
+ import{r as a,h as t,e as i,g as r}from"./p-CvLLN-QH.js";import{K as e}from"./p-CGrPq3C4.js";import{p as o}from"./p-DxR4rGsw.js";const n=class{constructor(t){a(this,t),this.km=new e,this.syncClickBehavior=()=>{this.disabled||this.selected?this.km.detachClickBehavior():this.km.attachClickBehavior("element",{space:!0})}}componentDidLoad(){this.km.addElement(this.host),this.syncClickBehavior()}componentDidUpdate(){this.syncClickBehavior()}connectedCallback(){this.syncClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){return t(i,{key:"1c1e25118676b13db5fa50f88d5b23094b2097b9","aria-current":this.selected?"page":void 0,"aria-disabled":this.disabled?"true":void 0,role:"button",tabindex:this.disabled?void 0:"0","pref-animation":o.state.animation,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},void 0!==this.icon?t("mds-icon",{class:"icon",name:this.icon}):t("mds-text",{class:"text",typography:"caption"},t("b",null,t("slot",null))))}get host(){return r(this)}};n.style='@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}}';export{n as mds_paginator_item}
@@ -1 +1 @@
1
- System.register(["./p-BZP13mns.system.js","./p-mGgjNqBm.system.js"],(function(e){"use strict";var t,a,r,i;return{setters:[function(e){t=e.r;a=e.h;r=e.e},function(e){i=e.p}],execute:function(){var n=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-price-table-features-border-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-price-table-features-padding:calc(var(--spacing,.0025rem)*300);--mds-price-table-features-transition-duration:var(--duration-200,.2s);--private-price-table-features-transition-duration:var(--mds-price-table-features-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));display:flex;transition-duration:var(--private-price-table-features-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));width:100%}.table-wrapper{scroll-margin-inline:calc(var(--spacing,.0025rem)*600);width:100%}table{border-collapse:collapse;min-width:100%;table-layout:fixed}header{border-bottom:1px solid var(--mds-price-table-features-border-color);padding:var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) 0}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-price-table-features-transition-duration:0s}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-transition-duration:0s}}'};var o=e("mds_price_table_features",/** @class */function(){function e(e){t(this,e)}e.prototype.render=function(){return a(r,{key:"378f57d71d79a60688031d554696be702330d253","pref-animation":i.state.animation,"pref-contrast":i.state.contrast,"pref-mode":i.state.mode,"pref-theme-scheme":i.state["theme-scheme"]},a("div",{key:"1b5c77a41c38a6829a0cf7c70498aead57345d68",class:"table-wrapper"},this.label&&a("header",{key:"bcb5802c0052cd1e066ab385e0585b26fee7bafb",part:"header"},a("mds-text",{key:"add22d94011ee31612ecfc97d22ec3fc9f825bea",typography:"detail"},a("b",{key:"7b5fecd5596faae0f3878841f6380e51c76e3000"},this.label))),a("table",{key:"31922a400b16ae52de4fbd15d2a51f49101bde17"},a("tbody",{key:"d06cbb5264bc93e375dfa101a0310aebcc707001"},a("slot",{key:"2845a29ee02facf52f0aca385a5151b794a5b28b"})))))};return e}());o.style=n()}}}));
1
+ System.register(["./p-BZP13mns.system.js","./p-DOisMne4.system.js"],(function(e){"use strict";var t,a,r,i;return{setters:[function(e){t=e.r;a=e.h;r=e.e},function(e){i=e.p}],execute:function(){var n=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-price-table-features-border-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-price-table-features-padding:calc(var(--spacing,.0025rem)*300);--mds-price-table-features-transition-duration:var(--duration-200,.2s);--private-price-table-features-transition-duration:var(--mds-price-table-features-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));display:flex;transition-duration:var(--private-price-table-features-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));width:100%}.table-wrapper{scroll-margin-inline:calc(var(--spacing,.0025rem)*600);width:100%}table{border-collapse:collapse;min-width:100%;table-layout:fixed}header{border-bottom:1px solid var(--mds-price-table-features-border-color);padding:var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) 0}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-price-table-features-transition-duration:0s}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-transition-duration:0s}}'};var o=e("mds_price_table_features",/** @class */function(){function e(e){t(this,e)}e.prototype.render=function(){return a(r,{key:"9215c76f05534716639bfe6f258eeee2e9eab3fb","pref-animation":i.state.animation,"pref-contrast":i.state.contrast,"pref-mode":i.state.mode,"pref-theme-scheme":i.state["theme-scheme"]},a("div",{key:"d09ed4dcf74974ea157adb6348c7693f8c06b7ca",class:"table-wrapper"},this.label&&a("header",{key:"d79681ee6e0ab336b26403e7a5035679eeac63bf",part:"header"},a("mds-text",{key:"c2ca4b57a42be5d153c891f4239d41af892f6ff4",typography:"detail"},a("b",{key:"9adca4d5fffc2aad67f142a47e45d06c08050e76"},this.label))),a("table",{key:"3e98eff375a8fe29e45958f7390b3ebe3410a0a6"},a("tbody",{key:"cceb3eae6dd1e97724fc77cb00a8a02d21bb3589"},a("slot",{key:"7d6daa7c86fcfbf451893337c7f4c65013e73409"})))))};return e}());o.style=n()}}}));
@@ -1 +1 @@
1
- import{r as t,d as e,h as s,e as i}from"./p-CvLLN-QH.js";import{m as a}from"./p-XQgkfNpn.js";import{L as o}from"./p-OafT80hV.js";import{p as r}from"./p-iX3kcwYg.js";var l={contrastMore:"Περισσότερο",contrastDefault:"Προεπιλογή",label:"Αντίθεση",systemSettings:"Ρυθμίσεις συστήματος"},n={contrastMore:"More",contrastDefault:"Default",label:"Contrast",systemSettings:"System settings"},d={contrastMore:"Mayor",contrastDefault:"Predeterminado",label:"Contraste",systemSettings:"Sistema operativo"},h={contrastMore:"Maggiore",contrastDefault:"Predefinito",label:"Contrasto",systemSettings:"Sistema operativo"};const m=class{constructor(s){t(this,s),this.prefChangeEvent=e(this,"mdsPrefChange",7),this.localStorageAlias="mdsPrefContrast",this.customPropertyAlias="--magma-pref-contrast",this.defaultMode="system",this.syncingFromStore=!1,this.t=new o({el:l,en:n,es:d,it:h}),this.contrast={more:{selector:"pref-contrast-more",label:"contrastMore"},system:{selector:"pref-contrast-system",label:"systemSettings"},"no-preference":{selector:"pref-contrast-no-preference",label:"contrastDefault"}},this.isMode=t=>null!=t&&{}.hasOwnProperty.call(this.contrast,t),this.warnInvalidMode=t=>{console.warn(`mds-pref-contrast: ignoring the invalid mode "${t}", use one of: ${Object.keys(this.contrast).join(", ")}`)},this.syncContrast=t=>{void 0!==t&&t!==this.mode&&(this.syncingFromStore=!0,this.mode=t,this.appliedMode=t,this.syncingFromStore=!1)},this.setContrast=t=>{if(t===this.appliedMode)return void(this.mode=t);const e=void 0===this.appliedMode;if(this.appliedMode=t,this.mode=t,localStorage.setItem(this.localStorageAlias,this.mode),"undefined"!=typeof document){const e=document.querySelector("html");for(const t in this.contrast)({}).hasOwnProperty.call(this.contrast,t)&&(null==e||e.classList.remove(this.contrast[t].selector));null==e||e.classList.add(this.contrast[t].selector),null==e||e.style.setProperty(this.customPropertyAlias,this.mode)}r.state.contrast=t,e||this.prefChangeEvent.emit({preference:"contrast"})},this.handleModeClick=t=>()=>{this.setContrast(t)}}componentWillLoad(){var t;null==this.mode||this.isMode(this.mode)||this.warnInvalidMode(this.mode);const e=localStorage.getItem(this.localStorageAlias);null===e||this.isMode(e)||localStorage.removeItem(this.localStorageAlias),this.setContrast(null!==(t=[this.mode,e].find(this.isMode))&&void 0!==t?t:this.defaultMode)}connectedCallback(){this.unsubscribeStore=r.onChange("contrast",this.syncContrast)}disconnectedCallback(){var t;null===(t=this.unsubscribeStore)||void 0===t||t.call(this)}modeChanged(t,e){if(t!==e&&!this.syncingFromStore)return this.isMode(t)?void this.setContrast(t):(null!=t&&this.warnInvalidMode(t),void this.syncContrast(r.state.contrast))}render(){var t;return s(i,{key:"6e5c18cf0518f086767a0d827b9da87661790f18","pref-contrast":r.state.contrast},s("mds-text",{key:"29c7d8c487409be078d3b1e92cf1a47fb83f5470",class:"info",typography:"caption"},s("b",{key:"22dae9f0fffbc00d0edfdc0fa48efda7da9289d0"},this.t.get("label"))," ",this.t.get(this.contrast[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),s("mds-tab",{key:"dbd63e502598843a3345ee504bf129b8961868c3",fill:!0,size:this.size},s("mds-tab-item",{key:"a36586976716623583adcfed0ac5dc977f9f8e0f",selected:"more"===this.mode,onClick:this.handleModeClick("more"),class:"item item--more",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2S2 6.48 2 12s4.48 10 10 10zm1-17.93c3.94.49 7 3.85 7 7.93s-3.05 7.44-7 7.93V4.07z"/></svg>',title:this.t.get(this.contrast.more.label)}),s("mds-tab-item",{key:"bb764d6de2aab97d7230399660bdef2bf4dfd7ef",selected:"system"===this.mode,onClick:this.handleModeClick("system"),class:"item item--system",icon:a,title:this.t.get(this.contrast.system.label)}),s("mds-tab-item",{key:"c1fbc8d128c34447cd35adf9b59e22f4c822ba5d",selected:"no-preference"===this.mode,onClick:this.handleModeClick("no-preference"),class:"item item--default",icon:"no-preference"===this.mode?'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25L19 9zm-7.5.5L9 4L6.5 9.5L1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25L19 15z"/></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zm0 6l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25zm-7.5-5.5L9 4L6.5 9.5L1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zm-1.51 3.49L9 15.17l-.99-2.18L5.83 12l2.18-.99L9 8.83l.99 2.18l2.18.99l-2.18.99z"/></svg>',title:this.t.get(this.contrast["no-preference"].label)})))}static get watchers(){return{mode:[{modeChanged:0}]}}};m.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--default,.item--more,.item--system{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}";export{m as mds_pref_contrast}
1
+ import{r as t,d as e,h as s,e as i}from"./p-CvLLN-QH.js";import{m as a}from"./p-XQgkfNpn.js";import{L as o}from"./p-CATyfc78.js";import{p as r}from"./p-DxR4rGsw.js";var l={contrastMore:"Περισσότερο",contrastDefault:"Προεπιλογή",label:"Αντίθεση",systemSettings:"Ρυθμίσεις συστήματος"},n={contrastMore:"More",contrastDefault:"Default",label:"Contrast",systemSettings:"System settings"},c={contrastMore:"Mayor",contrastDefault:"Predeterminado",label:"Contraste",systemSettings:"Sistema operativo"},h={contrastMore:"Maggiore",contrastDefault:"Predefinito",label:"Contrasto",systemSettings:"Sistema operativo"};const d=class{constructor(s){t(this,s),this.prefChangeEvent=e(this,"mdsPrefChange",7),this.localStorageAlias="mdsPrefContrast",this.customPropertyAlias="--magma-pref-contrast",this.defaultMode="system",this.syncingFromStore=!1,this.t=new o({el:l,en:n,es:c,it:h}),this.contrast={more:{selector:"pref-contrast-more",label:"contrastMore"},system:{selector:"pref-contrast-system",label:"systemSettings"},"no-preference":{selector:"pref-contrast-no-preference",label:"contrastDefault"}},this.isMode=t=>null!=t&&{}.hasOwnProperty.call(this.contrast,t),this.warnInvalidMode=t=>{console.warn(`mds-pref-contrast: ignoring the invalid mode "${t}", use one of: ${Object.keys(this.contrast).join(", ")}`)},this.syncContrast=t=>{void 0!==t&&t!==this.mode&&(this.syncingFromStore=!0,this.mode=t,this.appliedMode=t,this.syncingFromStore=!1)},this.setContrast=t=>{if(t===this.appliedMode)return void(this.mode=t);const e=void 0===this.appliedMode;if(this.appliedMode=t,this.mode=t,localStorage.setItem(this.localStorageAlias,this.mode),"undefined"!=typeof document){const e=document.querySelector("html");for(const t in this.contrast)({}).hasOwnProperty.call(this.contrast,t)&&(null==e||e.classList.remove(this.contrast[t].selector));null==e||e.classList.add(this.contrast[t].selector),null==e||e.style.setProperty(this.customPropertyAlias,this.mode)}r.state.contrast=t,e||this.prefChangeEvent.emit({preference:"contrast"})},this.handleModeClick=t=>()=>{this.setContrast(t)}}componentWillLoad(){var t;null==this.mode||this.isMode(this.mode)||this.warnInvalidMode(this.mode);const e=localStorage.getItem(this.localStorageAlias);null===e||this.isMode(e)||localStorage.removeItem(this.localStorageAlias),this.setContrast(null!==(t=[this.mode,e].find(this.isMode))&&void 0!==t?t:this.defaultMode)}connectedCallback(){this.unsubscribeStore=r.onChange("contrast",this.syncContrast)}disconnectedCallback(){var t;null===(t=this.unsubscribeStore)||void 0===t||t.call(this)}modeChanged(t,e){if(t!==e&&!this.syncingFromStore)return this.isMode(t)?void this.setContrast(t):(null!=t&&this.warnInvalidMode(t),void this.syncContrast(r.state.contrast))}render(){var t;return s(i,{key:"136d35ad5870e5dd4a007b8dce566fdeb7494e10","pref-contrast":r.state.contrast},s("mds-text",{key:"c605bab430ac596e7cca2b17d16e235ac3b5e1da",class:"info",typography:"caption"},s("b",{key:"bc71e7c6a5a14fab1b2b11e51c44c9c03a181b16"},this.t.get("label"))," ",this.t.get(this.contrast[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),s("mds-tab",{key:"640abdb2091eec8d2bd0a4ccc6fec6610f74f4cf",fill:!0,size:this.size},s("mds-tab-item",{key:"82ba971d217b1bfb233ae4deae84e3f14078cbe0",selected:"more"===this.mode,onClick:this.handleModeClick("more"),class:"item item--more",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2S2 6.48 2 12s4.48 10 10 10zm1-17.93c3.94.49 7 3.85 7 7.93s-3.05 7.44-7 7.93V4.07z"/></svg>',title:this.t.get(this.contrast.more.label)}),s("mds-tab-item",{key:"7a7e192cc6726b6852d9c93343c078c4ecc06fb9",selected:"system"===this.mode,onClick:this.handleModeClick("system"),class:"item item--system",icon:a,title:this.t.get(this.contrast.system.label)}),s("mds-tab-item",{key:"d6922b829b6a96257192b7f1ff7f5ce22b559248",selected:"no-preference"===this.mode,onClick:this.handleModeClick("no-preference"),class:"item item--default",icon:"no-preference"===this.mode?'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25L19 9zm-7.5.5L9 4L6.5 9.5L1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25L19 15z"/></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zm0 6l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25zm-7.5-5.5L9 4L6.5 9.5L1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zm-1.51 3.49L9 15.17l-.99-2.18L5.83 12l2.18-.99L9 8.83l.99 2.18l2.18.99l-2.18.99z"/></svg>',title:this.t.get(this.contrast["no-preference"].label)})))}static get watchers(){return{mode:[{modeChanged:0}]}}};d.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--default,.item--more,.item--system{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}";export{d as mds_pref_contrast}