@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
- import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{m as miBaselineArrowBack}from"./arrow-back-DnEUG7st.js";import{m as miBaselineArrowForward}from"./arrow-forward-Bd0uuNDE.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{a as cssSizeToNumber}from"./unit-CWk1SCJg.js";import{L as Locale}from"./locale-B6cOkl4I.js";import"./preference-C5XjgGCb.js";var scrollBack$3="Κύλιση προς τα πίσω";var scrollForward$3="Κύλιση προς τα εμπρός";var localeEl={scrollBack:scrollBack$3,scrollForward:scrollForward$3};var scrollBack$2="Scroll back";var scrollForward$2="Scroll forward";var localeEn={scrollBack:scrollBack$2,scrollForward:scrollForward$2};var scrollBack$1="Desplazar hacia atrás";var scrollForward$1="Desplazar hacia adelante";var localeEs={scrollBack:scrollBack$1,scrollForward:scrollForward$1};var scrollBack="Scorri indietro";var scrollForward="Scorri avanti";var localeIt={scrollBack:scrollBack,scrollForward:scrollForward};var mdsHorizontalScrollCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-horizontal-scroll-behavior:smooth;--mds-horizontal-scroll-dots-gap:calc(var(--spacing,.0025rem)*100);--mds-horizontal-scroll-dot-size:calc(var(--spacing,.0025rem)*200);--mds-horizontal-scroll-dot-max-width:auto;--mds-horizontal-scroll-dot-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-horizontal-scroll-dot-area-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-horizontal-scroll-contents-padding:calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-contents-scroll-padding:0 calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-controls-margin:calc(var(--spacing,.0025rem)*1200);--mds-horizontal-scroll-gap:calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-max-width:var(--breakpoint-wide,1280px);--mds-horizontal-scroll-scrollbar-margin:0;--mds-horizontal-scroll-scrollbar-radius:0;--mds-horizontal-scroll-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-horizontal-scroll-scrollbar-thumb-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3);--mds-horizontal-scroll-scrollbar-track-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--max-width:var(--mds-horizontal-scroll-max-width,var(--breakpoint-wide,1280px));--scroll-margin:calc(((100svw - var(--max-width)) / 2) + (var(--mds-horizontal-scroll-controls-margin,calc(var(--spacing,.0025rem) * 1200)) * 2));align-items:center;container:mds-horizontal-scroll/inline-size;display:flex;flex-direction:column;justify-content:center;position:relative;width:100%}.navigation{border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:none;padding:0;position:absolute;top:50%;transform:translateY(-50%);transition-duration:var(--duration-200,.2s);transition-property:opacity,scale,transform}.contents{box-sizing:border-box;display:flex;gap:var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem)*600));overflow:auto;padding-bottom:var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600));padding-top:var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600));position:relative;scroll-behavior:var(--mds-horizontal-scroll-behavior,smooth);scroll-padding:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600));scroll-snap-type:x mandatory;width:100%}.contents>::slotted(*){flex:0 0 0;scroll-margin:0 var(--scroll-margin)}.spacer{--width:calc(var(--scroll-margin) - var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)));content:"";display:block;flex:0 0 0;min-width:clamp(1px,var(--width),var(--width));scroll-margin:0 var(--scroll-margin)}@container (max-width:1024px){:host{--scroll-margin:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}.contents{scroll-padding:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}.contents>::slotted(*){scroll-margin:0 var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}}.navigation--back{left:clamp(calc(var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) / 2),var(--position),var(--position))}.navigation--back,.navigation--forward{--position:calc(var(--scroll-margin) - var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) - var(--mds-horizontal-scroll-controls-margin,calc(var(--spacing,.0025rem) * 1200)))}.navigation--forward{right:clamp(calc(var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) / 2),var(--position),var(--position))}.navigation--disabled{opacity:0;pointer-events:none;transform:translateY(-50%)scale(.5)}:host([controls=all]) .navigation{display:flex}.dot-navigation{align-self:center;background-color:var(--mds-horizontal-scroll-dot-area-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:none;gap:var(--mds-horizontal-scroll-dots-gap,calc(var(--spacing,.0025rem)*100));justify-content:start;margin:0 auto var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600)) auto;max-width:calc(var(--spacing,.0025rem)*4000);padding:calc(var(--spacing,.0025rem)*50);width:100%}:host([navigation=position]) .dot-navigation{display:inline-flex}.dot{background-color:var(--mds-horizontal-scroll-dot-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));height:var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem)*200));max-width:var(--mds-horizontal-scroll-dot-max-width);min-width:var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem)*200));transition-duration:var(--duration-300,.3s);transition-property:width;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:calc(var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem) * 200)) * 2)}:host(:not([navigation=scrollbar])) .contents{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([navigation=scrollbar])) .contents::-webkit-scrollbar{display:none}:host([navigation=scrollbar]) .contents::-webkit-scrollbar{height:var(--mds-horizontal-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-horizontal-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([navigation=scrollbar]) .contents::-webkit-scrollbar-track{background-color:var(--mds-horizontal-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--mds-horizontal-scroll-scrollbar-radius,0);margin-block:var(--mds-horizontal-scroll-scrollbar-margin,0);margin-inline:var(--mds-horizontal-scroll-scrollbar-margin,0)}:host([navigation=scrollbar]) .contents::-webkit-scrollbar-thumb{background-color:var(--mds-horizontal-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3));border-radius:var(--mds-horizontal-scroll-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.contents{scrollbar-color:var(--mds-horizontal-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3)) var(--mds-horizontal-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));scrollbar-width:thin}}:host([snap=start]) .contents>::slotted(*){scroll-snap-align:start}:host([snap=center]) .contents>::slotted(*){scroll-snap-align:center}:host([snap=end]) .contents>::slotted(*){scroll-snap-align:end}@media (prefers-reduced-motion:reduce){:host{--mds-horizontal-scroll-behavior:auto}}@media (min-width:1920px){:host([controls=tv]) .navigation{display:flex}}@media (min-width:1600px){:host([controls=xlarge]) .navigation{display:flex}}@media (min-width:1440px){:host([controls=large]) .navigation{display:flex}}@media (min-width:1280px){:host([controls=wide]) .navigation{display:flex}}@media (min-width:1024px){:host([controls=desktop]) .navigation{display:flex}}@media (min-width:768px){:host([controls=tablet]) .navigation{display:flex}}'};var MdsHorizontalScroll=/** @class */function(){function a(a){var r=this;registerInstance(this,a);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.elements=[];this.hasCompatibility=true;this.showForward=true;this.showBack=false;
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{m as miBaselineArrowBack}from"./arrow-back-DnEUG7st.js";import{m as miBaselineArrowForward}from"./arrow-forward-Bd0uuNDE.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{a as cssSizeToNumber}from"./unit-CWk1SCJg.js";import{L as Locale}from"./locale-DhP1Ge2o.js";import"./preference-C8foBO86.js";var scrollBack$3="Κύλιση προς τα πίσω";var scrollForward$3="Κύλιση προς τα εμπρός";var localeEl={scrollBack:scrollBack$3,scrollForward:scrollForward$3};var scrollBack$2="Scroll back";var scrollForward$2="Scroll forward";var localeEn={scrollBack:scrollBack$2,scrollForward:scrollForward$2};var scrollBack$1="Desplazar hacia atrás";var scrollForward$1="Desplazar hacia adelante";var localeEs={scrollBack:scrollBack$1,scrollForward:scrollForward$1};var scrollBack="Scorri indietro";var scrollForward="Scorri avanti";var localeIt={scrollBack:scrollBack,scrollForward:scrollForward};var mdsHorizontalScrollCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-horizontal-scroll-behavior:smooth;--mds-horizontal-scroll-dots-gap:calc(var(--spacing,.0025rem)*100);--mds-horizontal-scroll-dot-size:calc(var(--spacing,.0025rem)*200);--mds-horizontal-scroll-dot-max-width:auto;--mds-horizontal-scroll-dot-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-horizontal-scroll-dot-area-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-horizontal-scroll-contents-padding:calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-contents-scroll-padding:0 calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-controls-margin:calc(var(--spacing,.0025rem)*1200);--mds-horizontal-scroll-gap:calc(var(--spacing,.0025rem)*600);--mds-horizontal-scroll-max-width:var(--breakpoint-wide,1280px);--mds-horizontal-scroll-scrollbar-margin:0;--mds-horizontal-scroll-scrollbar-radius:0;--mds-horizontal-scroll-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-horizontal-scroll-scrollbar-thumb-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3);--mds-horizontal-scroll-scrollbar-track-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--max-width:var(--mds-horizontal-scroll-max-width,var(--breakpoint-wide,1280px));--scroll-margin:calc(((100svw - var(--max-width)) / 2) + (var(--mds-horizontal-scroll-controls-margin,calc(var(--spacing,.0025rem) * 1200)) * 2));align-items:center;container:mds-horizontal-scroll/inline-size;display:flex;flex-direction:column;justify-content:center;position:relative;width:100%}.navigation{border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:none;padding:0;position:absolute;top:50%;transform:translateY(-50%);transition-duration:var(--duration-200,.2s);transition-property:opacity,scale,transform}.contents{box-sizing:border-box;display:flex;gap:var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem)*600));overflow:auto;padding-bottom:var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600));padding-top:var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600));position:relative;scroll-behavior:var(--mds-horizontal-scroll-behavior,smooth);scroll-padding:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600));scroll-snap-type:x mandatory;width:100%}.contents>::slotted(*){flex:0 0 0;scroll-margin:0 var(--scroll-margin)}.spacer{--width:calc(var(--scroll-margin) - var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)));content:"";display:block;flex:0 0 0;min-width:clamp(1px,var(--width),var(--width));scroll-margin:0 var(--scroll-margin)}@container (max-width:1024px){:host{--scroll-margin:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}.contents{scroll-padding:var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}.contents>::slotted(*){scroll-margin:0 var(--mds-horizontal-scroll-contents-scroll-padding,0 calc(var(--spacing,.0025rem)*600))}}.navigation--back{left:clamp(calc(var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) / 2),var(--position),var(--position))}.navigation--back,.navigation--forward{--position:calc(var(--scroll-margin) - var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) - var(--mds-horizontal-scroll-controls-margin,calc(var(--spacing,.0025rem) * 1200)))}.navigation--forward{right:clamp(calc(var(--mds-horizontal-scroll-gap,calc(var(--spacing,.0025rem) * 600)) / 2),var(--position),var(--position))}.navigation--disabled{opacity:0;pointer-events:none;transform:translateY(-50%)scale(.5)}:host([controls=all]) .navigation{display:flex}.dot-navigation{align-self:center;background-color:var(--mds-horizontal-scroll-dot-area-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:none;gap:var(--mds-horizontal-scroll-dots-gap,calc(var(--spacing,.0025rem)*100));justify-content:start;margin:0 auto var(--mds-horizontal-scroll-contents-padding,calc(var(--spacing,.0025rem)*600)) auto;max-width:calc(var(--spacing,.0025rem)*4000);padding:calc(var(--spacing,.0025rem)*50);width:100%}:host([navigation=position]) .dot-navigation{display:inline-flex}.dot{background-color:var(--mds-horizontal-scroll-dot-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));height:var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem)*200));max-width:var(--mds-horizontal-scroll-dot-max-width);min-width:var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem)*200));transition-duration:var(--duration-300,.3s);transition-property:width;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:calc(var(--mds-horizontal-scroll-dot-size,calc(var(--spacing,.0025rem) * 200)) * 2)}:host(:not([navigation=scrollbar])) .contents{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([navigation=scrollbar])) .contents::-webkit-scrollbar{display:none}:host([navigation=scrollbar]) .contents::-webkit-scrollbar{height:var(--mds-horizontal-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-horizontal-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([navigation=scrollbar]) .contents::-webkit-scrollbar-track{background-color:var(--mds-horizontal-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--mds-horizontal-scroll-scrollbar-radius,0);margin-block:var(--mds-horizontal-scroll-scrollbar-margin,0);margin-inline:var(--mds-horizontal-scroll-scrollbar-margin,0)}:host([navigation=scrollbar]) .contents::-webkit-scrollbar-thumb{background-color:var(--mds-horizontal-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3));border-radius:var(--mds-horizontal-scroll-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.contents{scrollbar-color:var(--mds-horizontal-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3)) var(--mds-horizontal-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));scrollbar-width:thin}}:host([snap=start]) .contents>::slotted(*){scroll-snap-align:start}:host([snap=center]) .contents>::slotted(*){scroll-snap-align:center}:host([snap=end]) .contents>::slotted(*){scroll-snap-align:end}@media (prefers-reduced-motion:reduce){:host{--mds-horizontal-scroll-behavior:auto}}@media (min-width:1920px){:host([controls=tv]) .navigation{display:flex}}@media (min-width:1600px){:host([controls=xlarge]) .navigation{display:flex}}@media (min-width:1440px){:host([controls=large]) .navigation{display:flex}}@media (min-width:1280px){:host([controls=wide]) .navigation{display:flex}}@media (min-width:1024px){:host([controls=desktop]) .navigation{display:flex}}@media (min-width:768px){:host([controls=tablet]) .navigation{display:flex}}'};var MdsHorizontalScroll=/** @class */function(){function a(a){var r=this;registerInstance(this,a);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.elements=[];this.hasCompatibility=true;this.showForward=true;this.showBack=false;
2
2
  /**
3
3
  * Specifies the viewport which will display navigation controls
4
4
  */this.controls="desktop";
@@ -45,4 +45,4 @@ r.navigationDot.style.width="".concat(s,"px");return}
45
45
  // Calcolo proporzionale
46
46
  var i=l/o*s;r.navigationDot.style.width="".concat(i,"px")};this.addNavigationDots=function(){var a,o;r.contents.removeEventListener("scroll",r.translateNavigationDot);r.navigationDot=(a=r.host.shadowRoot)===null||a===void 0?void 0:a.querySelector(".dot");r.navigationDots=(o=r.host.shadowRoot)===null||o===void 0?void 0:o.querySelector(".dot-navigation");r.updateNavigationDotSize();if(r.navigationDot==null)return;r.contents.addEventListener("scroll",r.translateNavigationDot)}}a.prototype.watchNavigation=function(a){if(a==="position"){this.addNavigationDots()}};a.prototype.componentWillLoad=function(){this.updateCSSCustomProps()};a.prototype.componentDidLoad=function(){var a,r;this.contents=(a=this.host.shadowRoot)===null||a===void 0?void 0:a.querySelector(".contents");this.spacer=(r=this.host.shadowRoot)===null||r===void 0?void 0:r.querySelector(".spacer");if(this.navigation==="position")this.addNavigationDots();
47
47
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
48
- if(window&&typeof window.onscrollend!=="undefined"){this.contents.addEventListener("scrollend",this.checkNavigationButtons)}else{if(this.controls!==undefined)this.controls=undefined}};a.prototype.disconnectedCallback=function(){this.contents.removeEventListener("scrollend",this.checkNavigationButtons);this.contents.removeEventListener("scroll",this.translateNavigationDot)};a.prototype.render=function(){return h(Host,{key:"bf9fee4def9551033b174bb746a24a876aa9cba2"},h("div",{key:"7d7b87c5fe3c38d07bd4a804ae12149d29e43aae",class:"contents",part:"content"},h("div",{key:"8dcacb6e2e313fceea9171d4d5f8a5c4c558601a",class:"spacer"}),h("slot",{key:"8c295f289e08e519389ff86e8bf51fffa6b55087",onSlotchange:this.updateElements}),h("div",{key:"6058e1ea0da01d195cf49c53ab087770b9f2e34a",class:"spacer"})),h("div",{key:"5996b60ed2b00323c9615a3a8ac63861ac8fff76",class:"dot-navigation"},h("div",{key:"4ba5fba789b5c26a1712234b29de2c31e3053323",class:"dot"})),this.controls&&this.controls!=="none"&&h("mds-button",{key:"9a5b3630315b66e525be50e7d44d7385e54cbcf4","aria-label":this.t.get("scrollBack"),onClick:this.moveBack,size:"lg",class:clsx("navigation navigation--back",!this.showBack&&"navigation--disabled"),icon:miBaselineArrowBack}),this.controls&&this.controls!=="none"&&h("mds-button",{key:"ce777b33afcfd3fcbc4982a501e9cf5d2f596f45","aria-label":this.t.get("scrollForward"),onClick:this.moveForward,size:"lg",class:clsx("navigation navigation--forward",!this.showForward&&"navigation--disabled"),icon:miBaselineArrowForward}))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{navigation:[{watchNavigation:0}]}},enumerable:false,configurable:true});return a}();MdsHorizontalScroll.style=mdsHorizontalScrollCss();export{MdsHorizontalScroll as mds_horizontal_scroll};
48
+ if(window&&typeof window.onscrollend!=="undefined"){this.contents.addEventListener("scrollend",this.checkNavigationButtons)}else{if(this.controls!==undefined)this.controls=undefined}};a.prototype.disconnectedCallback=function(){this.contents.removeEventListener("scrollend",this.checkNavigationButtons);this.contents.removeEventListener("scroll",this.translateNavigationDot)};a.prototype.render=function(){return h(Host,{key:"fe9d1a153297c123d3d504a452101de2bd2198e6"},h("div",{key:"5a906614235cbe9e2606f5945cfa0816131057a5",class:"contents",part:"content"},h("div",{key:"34effb76a07d107d943676d1c2d2e6a146d59c82",class:"spacer"}),h("slot",{key:"60bf64078b1448b5ea32a401bda858406de7a1df",onSlotchange:this.updateElements}),h("div",{key:"356994ca3a3d9fc498389a9192edd6a860039f85",class:"spacer"})),h("div",{key:"969d1126353156f4b5fe426a4ac0d3b426f4b34e",class:"dot-navigation"},h("div",{key:"03d86159916cb95017bf8043225ecd35c9076c82",class:"dot"})),this.controls&&this.controls!=="none"&&h("mds-button",{key:"575365a91738f393692bc195784ed3b4efc55394","aria-label":this.t.get("scrollBack"),onClick:this.moveBack,size:"lg",class:clsx("navigation navigation--back",!this.showBack&&"navigation--disabled"),icon:miBaselineArrowBack}),this.controls&&this.controls!=="none"&&h("mds-button",{key:"d9c8f32e94a31662baef072769222b70679f29ac","aria-label":this.t.get("scrollForward"),onClick:this.moveForward,size:"lg",class:clsx("navigation navigation--forward",!this.showForward&&"navigation--disabled"),icon:miBaselineArrowForward}))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{navigation:[{watchNavigation:0}]}},enumerable:false,configurable:true});return a}();MdsHorizontalScroll.style=mdsHorizontalScrollCss();export{MdsHorizontalScroll as mds_horizontal_scroll};
@@ -1 +1 @@
1
- import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsHrCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));border:0;border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;height:1px;width:100%}"};var MdsHr=/** @class */function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,{key:"1f8d291cdf5c5cb88952b66cfc52bcb97dc1b596","pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]})};return r}();MdsHr.style=mdsHrCss();export{MdsHr as mds_hr};
1
+ import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C8foBO86.js";var mdsHrCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));border:0;border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;height:1px;width:100%}"};var MdsHr=/** @class */function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,{key:"95b535f0e274df4bf1f9f1807008793993c6c658","pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]})};return r}();MdsHr.style=mdsHrCss();export{MdsHr as mds_hr};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{m as miBaselinePanorama}from"./panorama-b1ORvfSX.js";import{m as miBaselineBrokenImage}from"./broken-image-0FAG3rkw.js";import{L as Locale}from"./locale-B6cOkl4I.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var clickToLoad$3="Φόρτωση εικόνας";var localeEl={clickToLoad:clickToLoad$3};var clickToLoad$2="Load image";var localeEn={clickToLoad:clickToLoad$2};var clickToLoad$1="Cargar imagen";var localeEs={clickToLoad:clickToLoad$1};var clickToLoad="Carica immagine";var localeIt={clickToLoad:clickToLoad};var mdsImgCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,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-img-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-img-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-img-icon-color:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-img-error-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-img-error-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-img-error-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));display:flex;height:auto;object-fit:contain;overflow:hidden;position:relative;width:100%}img{height:inherit;object-fit:inherit;width:inherit}.alt-text-container{align-items:center;background-color:var(--mds-img-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));color:var(--mds-img-color,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*600);justify-content:center;padding:calc(var(--spacing,.0025rem)*600);text-align:center}.alt-text-container--absolute{cursor:pointer;inset:0;position:absolute}.alt-text-container--error{--mds-img-background:var(--mds-img-error-background,rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211))));--mds-img-color:var(--mds-img-error-color,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))));--mds-img-icon-color:var(--mds-img-error-icon-color,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))));cursor:not-allowed}.alt-text-container--default-aspect-ratio{cursor:pointer;width:100%}.click-to-load{pointer-events:none}.icon{fill:var(--mds-img-icon-color,rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218))));width:calc(var(--spacing,.0025rem)*900)}"};var MdsImg=/** @class */function(){function t(t){var r=this;registerInstance(this,t);this.loadErrorEvent=createEvent(this,"mdsImgLoadError",7);this.loadSuccessEvent=createEvent(this,"mdsImgLoadSuccess",7);this.imageConsumptionLoaded=false;this.imageError=false;this.storedConsumption=null;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{m as miBaselinePanorama}from"./panorama-b1ORvfSX.js";import{m as miBaselineBrokenImage}from"./broken-image-0FAG3rkw.js";import{L as Locale}from"./locale-DhP1Ge2o.js";import{p as preferenceStore}from"./preference-C8foBO86.js";var clickToLoad$3="Φόρτωση εικόνας";var localeEl={clickToLoad:clickToLoad$3};var clickToLoad$2="Load image";var localeEn={clickToLoad:clickToLoad$2};var clickToLoad$1="Cargar imagen";var localeEs={clickToLoad:clickToLoad$1};var clickToLoad="Carica immagine";var localeIt={clickToLoad:clickToLoad};var mdsImgCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,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-img-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-img-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-img-icon-color:rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218)));--mds-img-error-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-img-error-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-img-error-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));display:flex;height:auto;object-fit:contain;overflow:hidden;position:relative;width:100%}img{height:inherit;object-fit:inherit;width:inherit}.alt-text-container{align-items:center;background-color:var(--mds-img-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));color:var(--mds-img-color,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*600);justify-content:center;padding:calc(var(--spacing,.0025rem)*600);text-align:center}.alt-text-container--absolute{cursor:pointer;inset:0;position:absolute}.alt-text-container--error{--mds-img-background:var(--mds-img-error-background,rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211))));--mds-img-color:var(--mds-img-error-color,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))));--mds-img-icon-color:var(--mds-img-error-icon-color,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))));cursor:not-allowed}.alt-text-container--default-aspect-ratio{cursor:pointer;width:100%}.click-to-load{pointer-events:none}.icon{fill:var(--mds-img-icon-color,rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218))));width:calc(var(--spacing,.0025rem)*900)}"};var MdsImg=/** @class */function(){function t(t){var r=this;registerInstance(this,t);this.loadErrorEvent=createEvent(this,"mdsImgLoadError",7);this.loadSuccessEvent=createEvent(this,"mdsImgLoadSuccess",7);this.imageConsumptionLoaded=false;this.imageError=false;this.storedConsumption=null;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
2
  /**
3
3
  * Specifies whether a browser should load an image immediately
4
4
  * or to defer loading of images until some conditions are met.
@@ -1,6 +1,6 @@
1
- import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";var mdsInputDateRangePreselectionCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-date-range-preselection-default-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))/0);--mds-date-range-preselection-default-border:var(--magma-border-default,var(--border-neutral-default,196 196 196));--mds-date-range-preselection-default-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-date-range-preselection-selected-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-date-range-preselection-selected-border:var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204));--mds-date-range-preselection-selected-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-date-range-preselection-hover-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-date-range-preselection-hover-border:var(--magma-wash-soft,var(--tone-neutral-10,237 237 237));--mds-date-range-preselection-hover-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-date-range-preselection-background:var(--mds-date-range-preselection-default-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))/0));--mds-date-range-preselection-border:var(--mds-date-range-preselection-default-border,var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-default-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));display:inline-flex;justify-self:start}:host .action{--mds-button-background:var(--mds-date-range-preselection-background);--mds-button-border-color-rgb:var(--mds-date-range-preselection-border);--mds-button-color:var(--mds-date-range-preselection-color)}:host .action:hover{--mds-date-range-preselection-background:var(--mds-date-range-preselection-hover-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-hover-border,var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-hover-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))))}:host([selected]) .action{--mds-date-range-preselection-background:var(--mds-date-range-preselection-selected-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-selected-border,var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-selected-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));pointer-events:none}"};var MdsInputDateRangePreselection=/** @class */function(){function e(e){var r=this;registerInstance(this,e);this.onClick=function(e){var a;var t=(a=r.host)===null||a===void 0?void 0:a.closest("mds-input-date-range");
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";var mdsInputDateRangePreselectionCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-date-range-preselection-default-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))/0);--mds-date-range-preselection-default-border:var(--magma-border-default,var(--border-neutral-default,196 196 196));--mds-date-range-preselection-default-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-date-range-preselection-selected-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-date-range-preselection-selected-border:var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204));--mds-date-range-preselection-selected-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-date-range-preselection-hover-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-date-range-preselection-hover-border:var(--magma-wash-soft,var(--tone-neutral-10,237 237 237));--mds-date-range-preselection-hover-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-date-range-preselection-background:var(--mds-date-range-preselection-default-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))/0));--mds-date-range-preselection-border:var(--mds-date-range-preselection-default-border,var(--magma-border-default,var(--border-neutral-default,196 196 196)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-default-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));display:inline-flex;justify-self:start}:host .action{--mds-button-background:var(--mds-date-range-preselection-background);--mds-button-border-color-rgb:var(--mds-date-range-preselection-border);--mds-button-color:var(--mds-date-range-preselection-color)}:host .action:hover{--mds-date-range-preselection-background:var(--mds-date-range-preselection-hover-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-hover-border,var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-hover-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))))}:host([selected]) .action{--mds-date-range-preselection-background:var(--mds-date-range-preselection-selected-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-date-range-preselection-border:var(--mds-date-range-preselection-selected-border,var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-date-range-preselection-color:var(--mds-date-range-preselection-selected-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));pointer-events:none}"};var MdsInputDateRangePreselection=/** @class */function(){function e(e){var a=this;registerInstance(this,e);this.onClick=function(e){var r;var t=(r=a.host)===null||r===void 0?void 0:r.closest("mds-input-date-range");
2
2
  // outside a date range the click is the page's to handle, so it goes on
3
- if(!t)return;e.stopPropagation();t.preselect({caller:r.host,start:r.start,end:r.end});r.selected=true}}e.prototype.componentWillLoad=function(){
3
+ if(!t)return;e.stopPropagation();t.preselect({caller:a.host,start:a.start,end:a.end});a.selected=true}}e.prototype.componentWillLoad=function(){
4
4
  // the slot of mds-input-date-range unless the author gave another one, as the `preselection`
5
5
  // slot of mds-calendar: set on the host at every render, it overwrote the author's
6
- if(!this.host.hasAttribute("slot")){this.host.setAttribute("slot","calendar-preselection")}};e.prototype.render=function(){return h(Host,{key:"effa1614b0de4544c0e547c3d2991e140b80bf73"},h("mds-button",{key:"65457e92163cfae34fc1a85a3eda3539d2fcf455",onClick:this.onClick,class:"action",variant:"primary",tone:"strong"},h("slot",{key:"94a3697981632b403ebbade363adc0e65205f4e0"})))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsInputDateRangePreselection.style=mdsInputDateRangePreselectionCss();export{MdsInputDateRangePreselection as mds_input_date_range_preselection};
6
+ if(!this.host.hasAttribute("slot")){this.host.setAttribute("slot","calendar-preselection")}};e.prototype.render=function(){return h(Host,{key:"a04bacc156c8cd470fb5ecac1a106adbc8b75d04"},h("mds-button",{key:"18accb585ffba53cacf4e4584c1ecfad7b5607d8",onClick:this.onClick,class:"action",variant:"primary",tone:"strong"},h("slot",{key:"7886fe655a75103daf6cd3bac420225e6f4865e2"})))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsInputDateRangePreselection.style=mdsInputDateRangePreselectionCss();export{MdsInputDateRangePreselection as mds_input_date_range_preselection};
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(t,a,e,r){function i(t){return t instanceof e?t:new e((function(a){a(t)}))}return new(e||(e=Promise))((function(e,n){function s(t){try{d(r.next(t))}catch(t){n(t)}}function o(t){try{d(r["throw"](t))}catch(t){n(t)}}function d(t){t.done?e(t.value):i(t.value).then(s,o)}d((r=r.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=o(0),s["throw"]=o(1),s["return"]=o(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(a){return d([t,a])}}function d(o){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(e=0)),e)try{if(r=1,i&&(n=o[0]&2?i["return"]:o[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;if(i=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;i=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(n=e.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){e.label=o[1];break}if(o[0]===6&&e.label<n[1]){e.label=n[1];n=o;break}if(n&&e.label<n[2]){e.label=n[2];e.ops.push(o);break}if(n[2])e.ops.pop();e.trys.pop();continue}o=a.call(t,e)}catch(t){o=[6,t];i=0}finally{r=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{s as setAttributeIfEmpty}from"./aria-Cvhn9asj.js";import{s as setFormValue}from"./form-wI0alRSO.js";import{m as miBaselineCalendarToday}from"./calendar-today-BVQMG7KJ.js";import{D as DateTime}from"./luxon-DbyXf6dF.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-B6cOkl4I.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var endDate$3="Ημερομηνία λήξης";var from$3="Από";var openCalendar$3="Άνοιγμα ημερολογίου";var startDate$3="Ημερομηνία έναρξης";var to$3="έως";var localeEl={endDate:endDate$3,from:from$3,openCalendar:openCalendar$3,startDate:startDate$3,to:to$3};var endDate$2="End date";var from$2="From";var openCalendar$2="Open calendar";var startDate$2="Start date";var to$2="to";var localeEn={endDate:endDate$2,from:from$2,openCalendar:openCalendar$2,startDate:startDate$2,to:to$2};var endDate$1="Fecha de fin";var from$1="De";var openCalendar$1="Abrir el calendario";var startDate$1="Fecha de inicio";var to$1="a";var localeEs={endDate:endDate$1,from:from$1,openCalendar:openCalendar$1,startDate:startDate$1,to:to$1};var endDate="Data di fine";var from="Dal";var openCalendar="Apri il calendario";var startDate="Data di inizio";var to="al";var localeIt={endDate:endDate,from:from,openCalendar:openCalendar,startDate:startDate,to:to};var mdsInputDateRangeCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar,mds-dropdown,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{--private-input-date-range-height:calc(var(--spacing,.0025rem)*1200);--private-input-date-range-padding-inline:calc(var(--spacing,.0025rem)*400);--private-input-date-range-calendar-area:calc(var(--spacing,.0025rem)*1200);--mds-input-date-range-background:rgb(var(--magma-field-fill,var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-input-date-range-calendar-width:calc(var(--spacing,.0025rem)*8800);--mds-input-date-range-fields-firefox-justify-content:start;--mds-input-date-range-fields-gap:0 calc(var(--spacing,.0025rem)*200);--mds-input-date-range-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-range-ring:0 0 0 1px rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/.1);--mds-input-date-range-shadow:0 1px calc(var(--spacing,.0025rem)*75) 0 rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/.1),0 1px calc(var(--spacing,.0025rem)*50) 0 rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/.06);--mds-input-date-range-transition-duration:var(--duration-300,.3s);--private-input-date-range-transition-duration:var(--mds-input-date-range-transition-duration);font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-input-date-range-height));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);container-type:inline-size;cursor:text;display:flex;gap:calc(var(--spacing,.0025rem)*200);overflow:visible;position:relative;--mds-input-date-range-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-date-range-variant-color-rgb:0 0 0}:host:where(input){text-box:normal}.date-preselection{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.inputs{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-hack,.875rem);font-weight:var(--tw-font-weight,var(--text-size-code-hack--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-hack--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--mds-input-date-range-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:inherit;box-shadow:var(--mds-input-date-range-ring),var(--mds-input-date-range-shadow);box-sizing:border-box;color:inherit;corner-shape:inherit;align-items:center;border:0;display:inline-flex;flex-wrap:wrap;gap:var(--mds-input-date-range-fields-gap,0 calc(var(--spacing,.0025rem)*200));margin:0;min-height:var(--private-input-date-range-height);overflow:hidden;padding-left:var(--private-input-date-range-padding-inline);padding-right:var(--private-input-date-range-calendar-area);text-overflow:ellipsis;transition-duration:var(--private-input-date-range-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,margin,opacity,padding,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:100%}.inputs:where(input){text-box:normal}.input-element{align-items:baseline;display:inline-flex}:host(:focus-within) .inputs{--tw-outline-style:none;outline-style:none;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,rotate,scale,transform,translate,width;transition-timing-function:var(--default-transition-timing-function);--mds-input-date-range-ring:0 0 0 calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/1);--mds-input-date-range-shadow:0 calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*150) calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/.1),0 calc(var(--spacing,.0025rem)*50) calc(var(--spacing,.0025rem)*100) -1px rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/.06);transition-duration:var(--duration-300,.3s);transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input-wrapper{display:flex;flex-shrink:0}:host ::slotted(mds-input-date){color:inherit}.date-label{margin-left:calc(var(--spacing,.0025rem)*50);margin-right:calc(var(--spacing,.0025rem)*50);min-width:min-content;white-space:nowrap}.date-label:first-child{margin-left:0}.calendars{display:flex;flex-wrap:nowrap;gap:calc(var(--spacing,.0025rem)*200);min-width:max-content}.calendar-preselection-panel{align-content:start;background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-sizing:border-box;display:grid;min-inline-size:max-content;padding:calc(var(--spacing,.0025rem)*400)}.calendar-single{display:flex;flex-wrap:nowrap;gap:calc(var(--spacing,.0025rem)*200);min-width:max-content}:is(.calendar-single,.calendars) mds-calendar{flex:0 0 var(--mds-input-date-range-calendar-width,calc(var(--spacing,.0025rem)*8800));inline-size:var(--mds-input-date-range-calendar-width,calc(var(--spacing,.0025rem)*8800));max-inline-size:var(--mds-input-date-range-calendar-width,calc(var(--spacing,.0025rem)*8800));min-inline-size:var(--mds-input-date-range-calendar-width,calc(var(--spacing,.0025rem)*8800))}.action-open-calendar-wrapper{align-items:center;aspect-ratio:1;bottom:0;display:flex;justify-content:center;position:absolute;right:0;top:0}.action-open-calendar{--mds-button-color:var(--mds-input-date-range-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));align-self:center}mds-dropdown{padding:0}:host(:disabled:not([disabled=false])),:host([disabled]:not([disabled=false])){color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));cursor:default}:host(:disabled:not([disabled=false])) .inputs,:host([disabled]:not([disabled=false])) .inputs{background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:host([size=md]){--private-input-date-range-height:calc(var(--spacing,.0025rem)*900);--private-input-date-range-padding-inline:calc(var(--spacing,.0025rem)*300);--private-input-date-range-calendar-area:calc(var(--spacing,.0025rem)*1000)}:host([size=sm]){--private-input-date-range-height:calc(var(--spacing,.0025rem)*700);--private-input-date-range-padding-inline:calc(var(--spacing,.0025rem)*200);--private-input-date-range-calendar-area:calc(var(--spacing,.0025rem)*800)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-date-range-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-date-range-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([pref-contrast=more]){--mds-input-date-range-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-range-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([pref-contrast=more]) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}@supports ((-moz-appearance:none)){.inputs{justify-content:var(--mds-input-date-range-fields-firefox-justify-content,start)}}:host(:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-range-variant-color-rgb:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))}:host([variant=ai]){--mds-input-date-range-icon-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-input-tip-background:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-range-variant-color-rgb:0 0 0}:host([variant=ai]:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-range-variant-color-rgb:var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245))}:host([variant=info]){--mds-input-date-range-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-range-variant-color-rgb:0 0 0}:host([variant=info]:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-range-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-date-range-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-range-variant-color-rgb:0 0 0}:host([variant=success]:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-range-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-date-range-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-range-variant-color-rgb:0 0 0}:host([variant=warning]:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-range-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-date-range-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-range-variant-color-rgb:0 0 0}:host([variant=error]:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-range-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}@media (forced-colors:active){:host(:focus-within) .inputs{outline:2px solid #0000;outline-offset:2px}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-date-range-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-date-range-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-date-range-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-range-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}}'};var MdsInputDateRange=/** @class */function(){function t(t){var a=this;registerInstance(this,t);this.valueChanged=createEvent(this,"mdsInputDateRangeValueChange",7);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}this.calendarKey=0;this.internalStartDate="";this.internalEndDate="";this.visibleCalendarDate="";this.hasPreselection=false;
1
+ var __awaiter=this&&this.__awaiter||function(t,a,e,r){function i(t){return t instanceof e?t:new e((function(a){a(t)}))}return new(e||(e=Promise))((function(e,n){function s(t){try{d(r.next(t))}catch(t){n(t)}}function o(t){try{d(r["throw"](t))}catch(t){n(t)}}function d(t){t.done?e(t.value):i(t.value).then(s,o)}d((r=r.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=o(0),s["throw"]=o(1),s["return"]=o(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(a){return d([t,a])}}function d(o){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(e=0)),e)try{if(r=1,i&&(n=o[0]&2?i["return"]:o[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;if(i=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;i=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(n=e.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){e.label=o[1];break}if(o[0]===6&&e.label<n[1]){e.label=n[1];n=o;break}if(n&&e.label<n[2]){e.label=n[2];e.ops.push(o);break}if(n[2])e.ops.pop();e.trys.pop();continue}o=a.call(t,e)}catch(t){o=[6,t];i=0}finally{r=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{s as setAttributeIfEmpty}from"./aria-DwKxtKwS.js";import{s as setFormValue}from"./form-wI0alRSO.js";import{m as miBaselineCalendarToday}from"./calendar-today-BVQMG7KJ.js";import{D as DateTime}from"./luxon-DbyXf6dF.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-DhP1Ge2o.js";import{p as preferenceStore}from"./preference-C8foBO86.js";var endDate$3="Ημερομηνία λήξης";var from$3="Από";var openCalendar$3="Άνοιγμα ημερολογίου";var startDate$3="Ημερομηνία έναρξης";var to$3="έως";var localeEl={endDate:endDate$3,from:from$3,openCalendar:openCalendar$3,startDate:startDate$3,to:to$3};var endDate$2="End date";var from$2="From";var openCalendar$2="Open calendar";var startDate$2="Start date";var to$2="to";var localeEn={endDate:endDate$2,from:from$2,openCalendar:openCalendar$2,startDate:startDate$2,to:to$2};var endDate$1="Fecha de fin";var from$1="De";var openCalendar$1="Abrir el calendario";var startDate$1="Fecha de inicio";var to$1="a";var localeEs={endDate:endDate$1,from:from$1,openCalendar:openCalendar$1,startDate:startDate$1,to:to$1};var endDate="Data di fine";var from="Dal";var openCalendar="Apri il calendario";var startDate="Data di inizio";var to="al";var localeIt={endDate:endDate,from:from,openCalendar:openCalendar,startDate:startDate,to:to};var mdsInputDateRangeCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar,mds-dropdown,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{--private-input-date-range-height:calc(var(--spacing,.0025rem)*1200);--private-input-date-range-padding-inline:calc(var(--spacing,.0025rem)*400);--private-input-date-range-calendar-area:calc(var(--spacing,.0025rem)*1200);--mds-input-date-range-background:rgb(var(--magma-field-fill,var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-input-date-range-calendar-width:calc(var(--spacing,.0025rem)*8800);--mds-input-date-range-fields-firefox-justify-content:start;--mds-input-date-range-fields-gap:0 calc(var(--spacing,.0025rem)*200);--mds-input-date-range-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-range-ring:0 0 0 1px rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/.1);--mds-input-date-range-shadow:0 1px calc(var(--spacing,.0025rem)*75) 0 rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/.1),0 1px calc(var(--spacing,.0025rem)*50) 0 rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/.06);--mds-input-date-range-transition-duration:var(--duration-300,.3s);--private-input-date-range-transition-duration:var(--mds-input-date-range-transition-duration);font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-input-date-range-height));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);container-type:inline-size;cursor:text;display:flex;gap:calc(var(--spacing,.0025rem)*200);overflow:visible;position:relative;--mds-input-date-range-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-date-range-variant-color-rgb:0 0 0}:host:where(input){text-box:normal}.date-preselection{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.inputs{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-hack,.875rem);font-weight:var(--tw-font-weight,var(--text-size-code-hack--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-hack--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--mds-input-date-range-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:inherit;box-shadow:var(--mds-input-date-range-ring),var(--mds-input-date-range-shadow);box-sizing:border-box;color:inherit;corner-shape:inherit;align-items:center;border:0;display:inline-flex;flex-wrap:wrap;gap:var(--mds-input-date-range-fields-gap,0 calc(var(--spacing,.0025rem)*200));margin:0;min-height:var(--private-input-date-range-height);overflow:hidden;padding-left:var(--private-input-date-range-padding-inline);padding-right:var(--private-input-date-range-calendar-area);text-overflow:ellipsis;transition-duration:var(--private-input-date-range-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,margin,opacity,padding,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:100%}.inputs:where(input){text-box:normal}.input-element{align-items:baseline;display:inline-flex}:host(:focus-within) .inputs{--tw-outline-style:none;outline-style:none;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,rotate,scale,transform,translate,width;transition-timing-function:var(--default-transition-timing-function);--mds-input-date-range-ring:0 0 0 calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/1);--mds-input-date-range-shadow:0 calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*150) calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/.1),0 calc(var(--spacing,.0025rem)*50) calc(var(--spacing,.0025rem)*100) -1px rgb(var(--mds-input-date-range-variant-color-rgb,0 0 0)/.06);transition-duration:var(--duration-300,.3s);transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input-wrapper{display:flex;flex-shrink:0}:host ::slotted(mds-input-date){color:inherit}.date-label{margin-left:calc(var(--spacing,.0025rem)*50);margin-right:calc(var(--spacing,.0025rem)*50);min-width:min-content;white-space:nowrap}.date-label:first-child{margin-left:0}.calendars{display:flex;flex-wrap:nowrap;gap:calc(var(--spacing,.0025rem)*200);min-width:max-content}.calendar-preselection-panel{align-content:start;background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-sizing:border-box;display:grid;min-inline-size:max-content;padding:calc(var(--spacing,.0025rem)*400)}.calendar-single{display:flex;flex-wrap:nowrap;gap:calc(var(--spacing,.0025rem)*200);min-width:max-content}:is(.calendar-single,.calendars) mds-calendar{flex:0 0 var(--mds-input-date-range-calendar-width,calc(var(--spacing,.0025rem)*8800));inline-size:var(--mds-input-date-range-calendar-width,calc(var(--spacing,.0025rem)*8800));max-inline-size:var(--mds-input-date-range-calendar-width,calc(var(--spacing,.0025rem)*8800));min-inline-size:var(--mds-input-date-range-calendar-width,calc(var(--spacing,.0025rem)*8800))}.action-open-calendar-wrapper{align-items:center;aspect-ratio:1;bottom:0;display:flex;justify-content:center;position:absolute;right:0;top:0}.action-open-calendar{--mds-button-color:var(--mds-input-date-range-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));align-self:center}mds-dropdown{padding:0}:host(:disabled:not([disabled=false])),:host([disabled]:not([disabled=false])){color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));cursor:default}:host(:disabled:not([disabled=false])) .inputs,:host([disabled]:not([disabled=false])) .inputs{background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:host([size=md]){--private-input-date-range-height:calc(var(--spacing,.0025rem)*900);--private-input-date-range-padding-inline:calc(var(--spacing,.0025rem)*300);--private-input-date-range-calendar-area:calc(var(--spacing,.0025rem)*1000)}:host([size=sm]){--private-input-date-range-height:calc(var(--spacing,.0025rem)*700);--private-input-date-range-padding-inline:calc(var(--spacing,.0025rem)*200);--private-input-date-range-calendar-area:calc(var(--spacing,.0025rem)*800)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-date-range-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-input-date-range-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([pref-contrast=more]){--mds-input-date-range-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-range-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([pref-contrast=more]) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}@supports ((-moz-appearance:none)){.inputs{justify-content:var(--mds-input-date-range-fields-firefox-justify-content,start)}}:host(:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-range-variant-color-rgb:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))}:host([variant=ai]){--mds-input-date-range-icon-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-input-tip-background:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-range-variant-color-rgb:0 0 0}:host([variant=ai]:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-range-variant-color-rgb:var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245))}:host([variant=info]){--mds-input-date-range-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-range-variant-color-rgb:0 0 0}:host([variant=info]:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-range-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-date-range-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-range-variant-color-rgb:0 0 0}:host([variant=success]:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-range-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-date-range-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-range-variant-color-rgb:0 0 0}:host([variant=warning]:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-range-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-date-range-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-range-variant-color-rgb:0 0 0}:host([variant=error]:focus-within){--mds-input-date-range-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-range-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}@media (forced-colors:active){:host(:focus-within) .inputs{outline:2px solid #0000;outline-offset:2px}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-date-range-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-date-range-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-date-range-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-range-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}}'};var MdsInputDateRange=/** @class */function(){function t(t){var a=this;registerInstance(this,t);this.valueChanged=createEvent(this,"mdsInputDateRangeValueChange",7);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}this.calendarKey=0;this.internalStartDate="";this.internalEndDate="";this.visibleCalendarDate="";this.hasPreselection=false;
2
2
  // the disabled state of the host as a form control: its own disabled, or a disabled fieldset
3
3
  // around it, which disables the host but not the calendar button in its shadow root
4
4
  this.formDisabled=false;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(t,a,e,r){function i(t){return t instanceof e?t:new e((function(a){a(t)}))}return new(e||(e=Promise))((function(e,n){function o(t){try{d(r.next(t))}catch(t){n(t)}}function s(t){try{d(r["throw"](t))}catch(t){n(t)}}function d(t){t.done?e(t.value):i(t.value).then(o,s)}d((r=r.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=s(0),o["throw"]=s(1),o["return"]=s(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(a){return d([t,a])}}function d(s){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(e=0)),e)try{if(r=1,i&&(n=s[0]&2?i["return"]:s[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;if(i=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;i=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(n=e.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){e.label=s[1];break}if(s[0]===6&&e.label<n[1]){e.label=n[1];n=s;break}if(n&&e.label<n[2]){e.label=n[2];e.ops.push(s);break}if(n[2])e.ops.pop();e.trys.pop();continue}s=a.call(t,e)}catch(t){s=[6,t];i=0}finally{r=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{s as setFormValue}from"./form-wI0alRSO.js";import{u as updateValidity}from"./index-BJVvHlvf.js";import{m as miBaselineCalendarToday}from"./calendar-today-BVQMG7KJ.js";import{D as DateTime}from"./luxon-DbyXf6dF.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";import{L as Locale}from"./locale-B6cOkl4I.js";var openCalendar$3="Άνοιγμα ημερολογίου";var localeEl={openCalendar:openCalendar$3};var openCalendar$2="Open calendar";var localeEn={openCalendar:openCalendar$2};var openCalendar$1="Abrir el calendario";var localeEs={openCalendar:openCalendar$1};var openCalendar="Apri il calendario";var localeIt={openCalendar:openCalendar};var mdsInputDateCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host{--private-input-date-height:calc(var(--spacing,.0025rem)*1200);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*400);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*1200);--mds-input-date-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-background:rgb(var(--magma-field-fill,var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-input-date-field-background-empty:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-input-date-field-color-empty:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-input-date-ring:0 0 0 1px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1);--mds-input-date-shadow:0 1px calc(var(--spacing,.0025rem)*75) 0 rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1),0 1px calc(var(--spacing,.0025rem)*50) 0 rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.06);--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*1000);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-date-transition-duration:var(--duration-300,.3s);--private-input-date-transition-duration:var(--mds-input-date-transition-duration);font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-input-date-height));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);container-type:inline-size;display:flex;gap:calc(var(--spacing,.0025rem)*200);overflow:visible;position:relative;--mds-input-date-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-date-variant-color-rgb:0 0 0}:host:where(input){text-box:normal}.input::-webkit-calendar-picker-indicator{appearance:textfield;display:none}.input{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-hack,.875rem);font-weight:var(--tw-font-weight,var(--text-size-code-hack--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-hack--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:inherit;box-sizing:border-box;color:inherit;corner-shape:inherit;background-color:#0000;border:0;margin:0;overflow:hidden;text-overflow:ellipsis;transition-duration:var(--private-input-date-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,margin,opacity,padding,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:min-content}.input:where(input){text-box:normal}:host([empty]) .input{background-color:var(--mds-input-date-field-background-empty,rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230))));color:var(--mds-input-date-field-color-empty,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))))}:host([slot]){color:inherit;display:contents}:host([slot]) .input{cursor:text;text-align:center}:host(:not([slot])) .input{background-color:var(--mds-input-date-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));box-shadow:var(--mds-input-date-ring),var(--mds-input-date-shadow);min-height:var(--private-input-date-height);padding-left:var(--private-input-date-padding-inline);padding-right:var(--private-input-date-calendar-area);width:100%}:host(:focus-within) .input{--tw-outline-style:none;outline-style:none;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,rotate,scale,transform,translate,width;transition-timing-function:var(--default-transition-timing-function);--mds-input-date-ring:0 0 0 calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/1);--mds-input-date-shadow:0 calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*150) calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1),0 calc(var(--spacing,.0025rem)*50) calc(var(--spacing,.0025rem)*100) -1px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.06);transition-duration:var(--duration-300,.3s);transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}.input::-webkit-inner-spin-button,.input::-webkit-outer-spin-button{appearance:none;display:none;margin:0}.input:disabled{background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}.input:disabled,.input:disabled::placeholder{color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}.action-open-calendar-wrapper{align-items:center;aspect-ratio:1;bottom:0;display:flex;justify-content:center;position:absolute;right:0;top:0}.action-open-calendar{--mds-button-color:var(--mds-input-date-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));align-self:center}mds-calendar{min-width:min-content;width:100cqw}mds-dropdown{padding:0}mds-input-tip{--mds-input-tip-horizontal-offset:inherit;--mds-input-tip-horizontal-offset-focused:inherit;--mds-input-tip-vertical-offset:inherit;--mds-input-tip-background:inherit}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar,mds-dropdown,mds-input-tip,mds-input-tip-item):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host([size=md]){--private-input-date-height:calc(var(--spacing,.0025rem)*900);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*300);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*1000)}:host([size=sm]){--private-input-date-height:calc(var(--spacing,.0025rem)*700);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*200);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*800)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-date-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-date-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([pref-contrast=more]){--mds-input-date-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([pref-contrast=more]) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}@supports ((-moz-appearance:none)){:host([slot]) .input{clip-path:inset(0 calc(var(--spacing,.0025rem)*500) 0 0);margin-right:calc(var(--spacing,.0025rem)*500*-1)}:host(:not([slot])) .input{padding-right:0}:host(:not([slot])) .action-open-calendar-wrapper{background-color:var(--mds-input-date-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:inherit;corner-shape:inherit}:host([empty]:not([slot])) .action-open-calendar-wrapper{background-color:var(--mds-input-date-field-background-empty,rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230))))}:host(:not([slot])) .input:disabled~.action-open-calendar-wrapper{background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}}:host(:focus){--mds-input-date-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-variant-color-rgb:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))}:host([variant=ai]){--mds-input-date-icon-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-input-tip-background:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=ai]:focus){--mds-input-date-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-variant-color-rgb:var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245))}:host([variant=info]){--mds-input-date-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=info]:focus){--mds-input-date-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-date-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=success]:focus){--mds-input-date-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-date-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=warning]:focus){--mds-input-date-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-date-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=error]:focus){--mds-input-date-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}@media (forced-colors:active){:host(:focus-within) .input{outline:2px solid #0000;outline-offset:2px}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-date-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-date-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-date-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}}'};var MdsInputDate=/** @class */function(){function t(t){var a=this;registerInstance(this,t);this.validationEvent=createEvent(this,"mdsInputValidation",7);this.valueChange=createEvent(this,"mdsInputDateSelect",7);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
1
+ var __awaiter=this&&this.__awaiter||function(t,a,e,r){function i(t){return t instanceof e?t:new e((function(a){a(t)}))}return new(e||(e=Promise))((function(e,n){function o(t){try{d(r.next(t))}catch(t){n(t)}}function s(t){try{d(r["throw"](t))}catch(t){n(t)}}function d(t){t.done?e(t.value):i(t.value).then(o,s)}d((r=r.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=s(0),o["throw"]=s(1),o["return"]=s(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(a){return d([t,a])}}function d(s){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(e=0)),e)try{if(r=1,i&&(n=s[0]&2?i["return"]:s[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;if(i=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;i=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(n=e.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){e.label=s[1];break}if(s[0]===6&&e.label<n[1]){e.label=n[1];n=s;break}if(n&&e.label<n[2]){e.label=n[2];e.ops.push(s);break}if(n[2])e.ops.pop();e.trys.pop();continue}s=a.call(t,e)}catch(t){s=[6,t];i=0}finally{r=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{s as setFormValue}from"./form-wI0alRSO.js";import{u as updateValidity}from"./index-DEL0bLpb.js";import{m as miBaselineCalendarToday}from"./calendar-today-BVQMG7KJ.js";import{D as DateTime}from"./luxon-DbyXf6dF.js";import{p as preferenceStore}from"./preference-C8foBO86.js";import{L as Locale}from"./locale-DhP1Ge2o.js";var openCalendar$3="Άνοιγμα ημερολογίου";var localeEl={openCalendar:openCalendar$3};var openCalendar$2="Open calendar";var localeEn={openCalendar:openCalendar$2};var openCalendar$1="Abrir el calendario";var localeEs={openCalendar:openCalendar$1};var openCalendar="Apri il calendario";var localeIt={openCalendar:openCalendar};var mdsInputDateCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host{--private-input-date-height:calc(var(--spacing,.0025rem)*1200);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*400);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*1200);--mds-input-date-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-background:rgb(var(--magma-field-fill,var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-input-date-field-background-empty:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-input-date-field-color-empty:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-input-date-ring:0 0 0 1px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1);--mds-input-date-shadow:0 1px calc(var(--spacing,.0025rem)*75) 0 rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1),0 1px calc(var(--spacing,.0025rem)*50) 0 rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.06);--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*1000);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-date-transition-duration:var(--duration-300,.3s);--private-input-date-transition-duration:var(--mds-input-date-transition-duration);font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-input-date-height));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);container-type:inline-size;display:flex;gap:calc(var(--spacing,.0025rem)*200);overflow:visible;position:relative;--mds-input-date-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-date-variant-color-rgb:0 0 0}:host:where(input){text-box:normal}.input::-webkit-calendar-picker-indicator{appearance:textfield;display:none}.input{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-hack,.875rem);font-weight:var(--tw-font-weight,var(--text-size-code-hack--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-hack--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:inherit;box-sizing:border-box;color:inherit;corner-shape:inherit;background-color:#0000;border:0;margin:0;overflow:hidden;text-overflow:ellipsis;transition-duration:var(--private-input-date-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,margin,opacity,padding,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:min-content}.input:where(input){text-box:normal}:host([empty]) .input{background-color:var(--mds-input-date-field-background-empty,rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230))));color:var(--mds-input-date-field-color-empty,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))))}:host([slot]){color:inherit;display:contents}:host([slot]) .input{cursor:text;text-align:center}:host(:not([slot])) .input{background-color:var(--mds-input-date-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));box-shadow:var(--mds-input-date-ring),var(--mds-input-date-shadow);min-height:var(--private-input-date-height);padding-left:var(--private-input-date-padding-inline);padding-right:var(--private-input-date-calendar-area);width:100%}:host(:focus-within) .input{--tw-outline-style:none;outline-style:none;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,rotate,scale,transform,translate,width;transition-timing-function:var(--default-transition-timing-function);--mds-input-date-ring:0 0 0 calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/1);--mds-input-date-shadow:0 calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*150) calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1),0 calc(var(--spacing,.0025rem)*50) calc(var(--spacing,.0025rem)*100) -1px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.06);transition-duration:var(--duration-300,.3s);transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}.input::-webkit-inner-spin-button,.input::-webkit-outer-spin-button{appearance:none;display:none;margin:0}.input:disabled{background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}.input:disabled,.input:disabled::placeholder{color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}.action-open-calendar-wrapper{align-items:center;aspect-ratio:1;bottom:0;display:flex;justify-content:center;position:absolute;right:0;top:0}.action-open-calendar{--mds-button-color:var(--mds-input-date-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));align-self:center}mds-calendar{min-width:min-content;width:100cqw}mds-dropdown{padding:0}mds-input-tip{--mds-input-tip-horizontal-offset:inherit;--mds-input-tip-horizontal-offset-focused:inherit;--mds-input-tip-vertical-offset:inherit;--mds-input-tip-background:inherit}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar,mds-dropdown,mds-input-tip,mds-input-tip-item):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host([size=md]){--private-input-date-height:calc(var(--spacing,.0025rem)*900);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*300);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*1000)}:host([size=sm]){--private-input-date-height:calc(var(--spacing,.0025rem)*700);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*200);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*800)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-date-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-input-date-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([pref-contrast=more]){--mds-input-date-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([pref-contrast=more]) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}@supports ((-moz-appearance:none)){:host([slot]) .input{clip-path:inset(0 calc(var(--spacing,.0025rem)*500) 0 0);margin-right:calc(var(--spacing,.0025rem)*500*-1)}:host(:not([slot])) .input{padding-right:0}:host(:not([slot])) .action-open-calendar-wrapper{background-color:var(--mds-input-date-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:inherit;corner-shape:inherit}:host([empty]:not([slot])) .action-open-calendar-wrapper{background-color:var(--mds-input-date-field-background-empty,rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230))))}:host(:not([slot])) .input:disabled~.action-open-calendar-wrapper{background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}}:host(:focus){--mds-input-date-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-variant-color-rgb:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))}:host([variant=ai]){--mds-input-date-icon-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-input-tip-background:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=ai]:focus){--mds-input-date-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-variant-color-rgb:var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245))}:host([variant=info]){--mds-input-date-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=info]:focus){--mds-input-date-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-date-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=success]:focus){--mds-input-date-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-date-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=warning]:focus){--mds-input-date-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-date-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=error]:focus){--mds-input-date-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}@media (forced-colors:active){:host(:focus-within) .input{outline:2px solid #0000;outline-offset:2px}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-date-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-date-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-date-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}}'};var MdsInputDate=/** @class */function(){function t(t){var a=this;registerInstance(this,t);this.validationEvent=createEvent(this,"mdsInputValidation",7);this.valueChange=createEvent(this,"mdsInputDateSelect",7);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
2
  // the disabled state of the host as a form control: its own disabled, or a disabled fieldset
3
3
  // around it, which disables the host but not the native control in its shadow root
4
4
  this.formDisabled=false;this.isSlotted=false;
@@ -91,8 +91,8 @@ var e=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".input
91
91
  * which set the props on an element that has already loaded.
92
92
  */t.prototype.validationRulesChanged=function(){
93
93
  // a reversed range snaps max to min, and that change runs this watcher again
94
- if(this.clampRange())return;this.validateValue()};t.prototype.render=function(){var t=this;return h(Host,{key:"8cbcdcd4bf15f887db2ac477e2ba7c18631f91f1",empty:this.empty,"pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("input",{key:"3acc04d9dd4326c33883c2eb267d4b1702c858d7","aria-label":this.accessibleName,value:this.value,id:"dateInput",class:"input",part:"input-date",type:"date",disabled:this.isDisabled(),name:this.name,readOnly:this.readonly,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.handleChange,onChange:this.handleChange}),!this.isSlotted&&h("div",{key:"7a5c21b14dd5057fee0b6cd75a77c2ba6fbb565a",class:"action-open-calendar-wrapper"},h("mds-button",{key:"6827409460214c90adf044b8aab189b04f378752","aria-label":this.t.get("openCalendar"),id:"calendar-dropdown",class:"action-open-calendar",
94
+ if(this.clampRange())return;this.validateValue()};t.prototype.render=function(){var t=this;return h(Host,{key:"9368a7a22633d7920913ef4e016036d0375af890",empty:this.empty,"pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("input",{key:"39e7d2afac466692e9a51c49a2e2bae28def8659","aria-label":this.accessibleName,value:this.value,id:"dateInput",class:"input",part:"input-date",type:"date",disabled:this.isDisabled(),name:this.name,readOnly:this.readonly,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.handleChange,onChange:this.handleChange}),!this.isSlotted&&h("div",{key:"5494041953ebeea50dd5e36a9743911719e7aa36",class:"action-open-calendar-wrapper"},h("mds-button",{key:"6bfa57714c4e9e4967d58ab72565d8c04ca1932a","aria-label":this.t.get("openCalendar"),id:"calendar-dropdown",class:"action-open-calendar",
95
95
  // the default md button fills the 36px square of an md field; sm fits the 28px one
96
96
  size:this.size==="sm"?"sm":undefined,
97
97
  // a read-only date cannot change, from the calendar either
98
- disabled:this.isDisabled()||this.readonly,variant:"dark",tone:"text",icon:miBaselineCalendarToday,onClick:this.handleOpenCalendarClick})),h("mds-input-tip",{key:"4239b5dbdbc11a0bd85f93041aca5ef74643e3cd",position:"top",active:this.hasFocus},this.isDisabled()&&h("mds-input-tip-item",{key:"5939dd5c6f4c1c1ee5b419ceef7da5f383209146",expanded:true,variant:"disabled"}),this.readonly&&h("mds-input-tip-item",{key:"a4ee0a6859993f36c41b30a475ba36491ce13e5d",expanded:true,variant:"readonly"}),this.required&&h("mds-input-tip-item",{key:"e1f4dfa441dff261caa8d4749ffcf32ccbccd9ea",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),!this.isSlotted&&h("mds-dropdown",{key:"5ca45fc3866e4879f03ea1a4911b63647a61db6c",placement:"bottom-end","disable-auto-placement":true,ref:function(a){return t.dropdownRef=a},role:"group",target:"#calendar-dropdown"},h("mds-calendar",Object.assign({key:this.calendarKey,singlePicker:true,hideToday:this.hideToday,onMdsCalendarChange:this.handleCalendarChange,startDate:this.value},this.min!==null&&this.min!==""?{min:this.min}:{},this.max!==null&&this.max!==""?{max:this.max}:{}))))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{handleValue:0}],max:[{validationRulesChanged:0}],min:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInputDate.style=mdsInputDateCss();export{MdsInputDate as mds_input_date};
98
+ disabled:this.isDisabled()||this.readonly,variant:"dark",tone:"text",icon:miBaselineCalendarToday,onClick:this.handleOpenCalendarClick})),h("mds-input-tip",{key:"c6068fc571bddbed6a820041ace525fcf92530e1",position:"top",active:this.hasFocus},this.isDisabled()&&h("mds-input-tip-item",{key:"eef323d2df5e79cf8b862bf4d1a673b77ce3ffb9",expanded:true,variant:"disabled"}),this.readonly&&h("mds-input-tip-item",{key:"1e34ec28d12a044339ccf646e6459bc81dcb1a39",expanded:true,variant:"readonly"}),this.required&&h("mds-input-tip-item",{key:"b8330cb79ff259316f1e9dafe46b65cf5f932192",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),!this.isSlotted&&h("mds-dropdown",{key:"239d31feba79ddaaff21f9bb63935b65db452f6d",placement:"bottom-end","disable-auto-placement":true,ref:function(a){return t.dropdownRef=a},role:"group",target:"#calendar-dropdown"},h("mds-calendar",Object.assign({key:this.calendarKey,singlePicker:true,hideToday:this.hideToday,onMdsCalendarChange:this.handleCalendarChange,startDate:this.value},this.min!==null&&this.min!==""?{min:this.min}:{},this.max!==null&&this.max!==""?{max:this.max}:{}))))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{handleValue:0}],max:[{validationRulesChanged:0}],min:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInputDate.style=mdsInputDateCss();export{MdsInputDate as mds_input_date};
@@ -24,4 +24,4 @@ a.getErrors().then((function(a){if(a!=null){t.variant="error";var r=Object.entri
24
24
  };a.prototype.componentDidLoad=function(){var a=this;this.nameSlottedControls();var t=this.slotInput.assignedElements()[0];if(t==null){
25
25
  // slot assignment is empty in the hydrate/SSR runtime (assignedElements
26
26
  // returns [] in mock-doc); validation wiring happens on the client
27
- console.warn("mds-input-field: no mds-input assigned to the input slot");return}t.addEventListener("mdsInputValidation",(function(t){return a.handleValidation(t.target)}))};a.prototype.labelChanged=function(){this.nameSlottedControls()};a.prototype.render=function(){var a=this;var t;return h(Host,{key:"4a9ceb4ab8be1c7305dd3b76b484107ed1617835"},h("mds-text",{key:"1c6e9d91a86be2412ec8af302935059ac901f19a",class:"label",typography:"label"},this.label),h("div",{key:"9e86098c58b759180efd544cf9bb9539eeb18c58",class:"message-window"},h("div",{key:"cd065fbc590bad9b2bf64b5fe7d0a70281f9a3f7",class:"content",part:"content"},h("slot",{key:"a26f21200feeafedeabe5eb12604dee0bebb7794",onSlotchange:this.nameSlottedControls,ref:function(t){return a.slotInput=t}})),h("div",{key:"92c4399419aba6e3cd370af28f3b0b47b2f3ea11",class:"message"},(t=this.message)===null||t===void 0?void 0:t.split(";").map((function(a,t){return h("mds-text",{typography:"caption",key:t},a)})))))};Object.defineProperty(a,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{label:[{labelChanged:0}]}},enumerable:false,configurable:true});return a}();MdsInputField.style=mdsInputFieldCss();export{MdsInputField as mds_input_field};
27
+ console.warn("mds-input-field: no mds-input assigned to the input slot");return}t.addEventListener("mdsInputValidation",(function(t){return a.handleValidation(t.target)}))};a.prototype.labelChanged=function(){this.nameSlottedControls()};a.prototype.render=function(){var a=this;var t;return h(Host,{key:"e4688b9c3729f966f0acb0a0c7525c1962ba90eb"},h("mds-text",{key:"e229c99941bebaf2ffcee760dd7d2aab613da87c",class:"label",typography:"label"},this.label),h("div",{key:"c3efd25051a894c3a5642102848df4da7f361ba6",class:"message-window"},h("div",{key:"ae37ef9da02a7ed6a0a17c7e202cbdd70ccce135",class:"content",part:"content"},h("slot",{key:"5620c77dcaf2a825244594f08ddb4bf64347d176",onSlotchange:this.nameSlottedControls,ref:function(t){return a.slotInput=t}})),h("div",{key:"c110d7580df291b517c0bac32201f090e6438459",class:"message"},(t=this.message)===null||t===void 0?void 0:t.split(";").map((function(a,t){return h("mds-text",{typography:"caption",key:t},a)})))))};Object.defineProperty(a,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{label:[{labelChanged:0}]}},enumerable:false,configurable:true});return a}();MdsInputField.style=mdsInputFieldCss();export{MdsInputField as mds_input_field};
@@ -1,4 +1,4 @@
1
- var __spreadArray=this&&this.__spreadArray||function(t,i,e){if(e||arguments.length===2)for(var n=0,r=i.length,a;n<r;n++){if(a||!(n in i)){if(!a)a=Array.prototype.slice.call(i,0,n);a[n]=i[n]}}return t.concat(a||Array.prototype.slice.call(i))};import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{s as setFormValue}from"./form-wI0alRSO.js";import{L as Locale}from"./locale-B6cOkl4I.js";import"./preference-C5XjgGCb.js";var digit$3="Ψηφίο {{position}} από {{length}}";var localeEl={digit:digit$3};var digit$2="Digit {{position}} of {{length}}";var localeEn={digit:digit$2};var digit$1="Dígito {{position}} de {{length}}";var localeEs={digit:digit$1};var digit="Cifra {{position}} di {{length}}";var localeIt={digit:digit};var mdsInputOtpCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-input:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:inline-flex;gap:calc(var(--spacing,.0025rem)*400)}.input{width:calc(var(--spacing,.0025rem)*1200)}.input::part(field){text-align:center}.input::part(tip-count),.input::part(tip-top){display:none}"};var MdsInputOtp=/** @class */function(){function t(t){var i=this;registerInstance(this,t);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}
1
+ var __spreadArray=this&&this.__spreadArray||function(t,i,e){if(e||arguments.length===2)for(var n=0,r=i.length,a;n<r;n++){if(a||!(n in i)){if(!a)a=Array.prototype.slice.call(i,0,n);a[n]=i[n]}}return t.concat(a||Array.prototype.slice.call(i))};import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{s as setFormValue}from"./form-wI0alRSO.js";import{L as Locale}from"./locale-DhP1Ge2o.js";import"./preference-C8foBO86.js";var digit$3="Ψηφίο {{position}} από {{length}}";var localeEl={digit:digit$3};var digit$2="Digit {{position}} of {{length}}";var localeEn={digit:digit$2};var digit$1="Dígito {{position}} de {{length}}";var localeEs={digit:digit$1};var digit="Cifra {{position}} di {{length}}";var localeIt={digit:digit};var mdsInputOtpCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-input:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:inline-flex;gap:calc(var(--spacing,.0025rem)*400)}.input{width:calc(var(--spacing,.0025rem)*1200)}.input::part(field){text-align:center}.input::part(tip-count),.input::part(tip-top){display:none}"};var MdsInputOtp=/** @class */function(){function t(t){var i=this;registerInstance(this,t);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}
2
2
  // the value of load, which a form reset brings back as the value attribute of a native input
3
3
  this.loadValue="";
4
4
  // the digit of each cell, by position: value joins them and drops the empty ones
@@ -37,4 +37,4 @@ if(u==null){i.submit(a);return}a=u;a.setFocus()}};this.digitName=function(t){var
37
37
  if((t!==null&&t!==void 0?t:"")===this.digits.join(""))return;this.fillCells(t!==null&&t!==void 0?t:"")};t.prototype.formDisabledCallback=function(t){this.formDisabled=t};
38
38
  /** Like a native input, a form reset brings back the code of load. */t.prototype.formResetCallback=function(){this.fillCells(this.loadValue)};t.prototype.componentWillLoad=function(){var t;this.loadValue=(t=this.value)!==null&&t!==void 0?t:"";this.fillCells(this.loadValue)};
39
39
  /** Puts a code in the cells, from the first one, as many digits as there are cells. */t.prototype.fillCells=function(t){this.digits=Array.from(t).slice(0,this.length);this.updateValue()};
40
- /** Joins the cells into value, the code the form submits. */t.prototype.updateValue=function(){this.value=this.digits.join("");setFormValue(this.internals,this.value)};t.prototype.render=function(){var t=this;return h(Host,{key:"a8f9bae55a3633e3362479f8c0c7503273a13cdd"},Array.from({length:this.length}).map((function(i,e){var n;return h("mds-input",{"aria-label":t.digitName(e),class:"input",disabled:t.isDisabled(),maxlength:1,onKeyDown:t.handleKeyDown,onPaste:t.handlePaste,value:(n=t.digits[e])!==null&&n!==void 0?n:""})})))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{valueChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInputOtp.style=mdsInputOtpCss();export{MdsInputOtp as mds_input_otp};
40
+ /** Joins the cells into value, the code the form submits. */t.prototype.updateValue=function(){this.value=this.digits.join("");setFormValue(this.internals,this.value)};t.prototype.render=function(){var t=this;return h(Host,{key:"00d0011d96d72218ecff3a80e24fa3fc7671568a"},Array.from({length:this.length}).map((function(i,e){var n;return h("mds-input",{"aria-label":t.digitName(e),class:"input",disabled:t.isDisabled(),maxlength:1,onKeyDown:t.handleKeyDown,onPaste:t.handlePaste,value:(n=t.digits[e])!==null&&n!==void 0?n:""})})))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{valueChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInputOtp.style=mdsInputOtpCss();export{MdsInputOtp as mds_input_otp};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{s as setFormValue}from"./form-wI0alRSO.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsInputRangeCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-range-transition-duration:var(--duration-300,.3s);--private-input-range-transition-duration:var(--mds-input-range-transition-duration);--mds-input-range-thumb-background-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-thumb-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-input-range-thumb-cursor:col-resize;--mds-input-range-thumb-size:calc(var(--spacing,.0025rem)*400);--mds-input-range-track-background-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-track-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-track-progress-background-disabled:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-input-range-track-size:calc(var(--spacing,.0025rem)*600);--private-border-width:calc(var(--mds-input-range-track-size)/2 - var(--mds-input-range-thumb-size)/2);--private-thumb-size:calc(var(--mds-input-range-thumb-size) + var(--private-border-width)*2);display:grid;gap:calc(var(--spacing,.0025rem)*200);transition-duration:var(--private-input-range-transition-duration);transition-property:color;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1))}.header{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.value{margin-left:auto}.range{align-items:center;display:flex;height:var(--private-thumb-size);position:relative}.track{box-sizing:border-box;position:absolute;width:100%}.field{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));appearance:none;background-color:#0000;border-radius:var(--magma-radius-full,var(--radius-full,1000px));flex-grow:1;height:calc(var(--spacing,.0025rem)*400);margin:0;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;z-index:20}.field:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.field::-webkit-slider-thumb{appearance:none;background-color:var(--mds-input-range-thumb-background);border-color:var(--mds-input-range-track-progress-background);border-radius:var(--mds-input-range-thumb-size);border-style:solid;border-width:var(--private-border-width);cursor:var(--mds-input-range-thumb-cursor);height:var(--private-thumb-size);line-height:0;transform:translateY(-50%);transition-property:background-color,border;width:var(--private-thumb-size)}.field::-webkit-slider-runnable-track{appearance:none;border:0;height:0;width:100%}.track-progress{background-color:var(--mds-input-range-track-progress-background);width:calc((100% - var(--mds-input-range-track-size))*(var(--mds-input-range-progress,0)*0.01) + var(--mds-input-range-track-size)/2)}.track-progress,.track-total{display:flex;height:var(--mds-input-range-track-size);transition-duration:var(--private-input-range-transition-duration);transition-property:background-color}.track-total{background-color:var(--mds-input-range-track-background);overflow:hidden;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1));width:100%}.contrast-area,.track-total{border-radius:var(--mds-input-range-track-size)}.contrast-area{margin-left:calc(var(--spacing,.0025rem)*100);margin-right:calc(var(--spacing,.0025rem)*100)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-range-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-range-thumb-background:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([pref-contrast=more]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host(:disabled:not([disabled=false])),:host([disabled]:not([disabled=false])){--mds-input-range-thumb-background:var(--mds-input-range-thumb-background-disabled);--mds-input-range-track-background:var(--mds-input-range-track-background-disabled);--mds-input-range-track-progress-background:var(--mds-input-range-track-progress-background-disabled)}:host([disabled]:not([disabled=false])) .field::-webkit-slider-thumb{cursor:not-allowed}:host(:disabled:not([disabled=false])) .field::-webkit-slider-thumb{cursor:not-allowed}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-range-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-range-thumb-background:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}"};var MdsInputRange=/** @class */function(){function a(a){var r=this;registerInstance(this,a);this.changeEvent=createEvent(this,"mdsInputRangeChange",7);if(a.$hostElement$["s-ei"]){this.internals=a.$hostElement$["s-ei"]}else{this.internals=a.$hostElement$.attachInternals();a.$hostElement$["s-ei"]=this.internals}
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{s as setFormValue}from"./form-wI0alRSO.js";import{p as preferenceStore}from"./preference-C8foBO86.js";var mdsInputRangeCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-range-transition-duration:var(--duration-300,.3s);--private-input-range-transition-duration:var(--mds-input-range-transition-duration);--mds-input-range-thumb-background-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-thumb-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-input-range-thumb-cursor:col-resize;--mds-input-range-thumb-size:calc(var(--spacing,.0025rem)*400);--mds-input-range-track-background-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-track-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-track-progress-background-disabled:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-input-range-track-size:calc(var(--spacing,.0025rem)*600);--private-border-width:calc(var(--mds-input-range-track-size)/2 - var(--mds-input-range-thumb-size)/2);--private-thumb-size:calc(var(--mds-input-range-thumb-size) + var(--private-border-width)*2);display:grid;gap:calc(var(--spacing,.0025rem)*200);transition-duration:var(--private-input-range-transition-duration);transition-property:color;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1))}.header{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.value{margin-left:auto}.range{align-items:center;display:flex;height:var(--private-thumb-size);position:relative}.track{box-sizing:border-box;position:absolute;width:100%}.field{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));appearance:none;background-color:#0000;border-radius:var(--magma-radius-full,var(--radius-full,1000px));flex-grow:1;height:calc(var(--spacing,.0025rem)*400);margin:0;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;z-index:20}.field:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.field::-webkit-slider-thumb{appearance:none;background-color:var(--mds-input-range-thumb-background);border-color:var(--mds-input-range-track-progress-background);border-radius:var(--mds-input-range-thumb-size);border-style:solid;border-width:var(--private-border-width);cursor:var(--mds-input-range-thumb-cursor);height:var(--private-thumb-size);line-height:0;transform:translateY(-50%);transition-property:background-color,border;width:var(--private-thumb-size)}.field::-webkit-slider-runnable-track{appearance:none;border:0;height:0;width:100%}.track-progress{background-color:var(--mds-input-range-track-progress-background);width:calc((100% - var(--mds-input-range-track-size))*(var(--mds-input-range-progress,0)*0.01) + var(--mds-input-range-track-size)/2)}.track-progress,.track-total{display:flex;height:var(--mds-input-range-track-size);transition-duration:var(--private-input-range-transition-duration);transition-property:background-color}.track-total{background-color:var(--mds-input-range-track-background);overflow:hidden;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1));width:100%}.contrast-area,.track-total{border-radius:var(--mds-input-range-track-size)}.contrast-area{margin-left:calc(var(--spacing,.0025rem)*100);margin-right:calc(var(--spacing,.0025rem)*100)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-range-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-input-range-thumb-background:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([pref-contrast=more]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host(:disabled:not([disabled=false])),:host([disabled]:not([disabled=false])){--mds-input-range-thumb-background:var(--mds-input-range-thumb-background-disabled);--mds-input-range-track-background:var(--mds-input-range-track-background-disabled);--mds-input-range-track-progress-background:var(--mds-input-range-track-progress-background-disabled)}:host([disabled]:not([disabled=false])) .field::-webkit-slider-thumb{cursor:not-allowed}:host(:disabled:not([disabled=false])) .field::-webkit-slider-thumb{cursor:not-allowed}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-range-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-range-thumb-background:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}"};var MdsInputRange=/** @class */function(){function a(a){var r=this;registerInstance(this,a);this.changeEvent=createEvent(this,"mdsInputRangeChange",7);if(a.$hostElement$["s-ei"]){this.internals=a.$hostElement$["s-ei"]}else{this.internals=a.$hostElement$.attachInternals();a.$hostElement$["s-ei"]=this.internals}
2
2
  // the disabled state of the host as a form control: its own disabled, or a disabled fieldset
3
3
  // around it, which disables the host but not the native control in its shadow root
4
4
  this.formDisabled=false;
@@ -29,4 +29,4 @@ if(a){setFormValue(this.internals,null)}};a.prototype.valueChanged=function(a,r)
29
29
  /** Like a native input, a form reset brings back the value of load, thumb included. */a.prototype.formResetCallback=function(){
30
30
  // an empty value makes the native input take its default, the middle of the range
31
31
  this.inputElement.value=this.loadValue===undefined?"":String(this.loadValue);this.onInput()};a.prototype.componentWillLoad=function(){var a;var r=Number((a=this.value)!==null&&a!==void 0?a:NaN);this.loadValue=Number.isNaN(r)?undefined:r};a.prototype.componentDidLoad=function(){var a;this.onInput();// define value
32
- this.label=(a=this.element.textContent)!==null&&a!==void 0?a:"";this.calculateProgress()};a.prototype.render=function(){var a=this;var r;return h(Host,{key:"34f82cf41dcfb9e4aaf7ff58f17fe7a12b6fa7d5","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("header",{key:"4a9993647a552a84bac5b33c1e02e12bddbbec38",class:"header",part:"header"},h("mds-text",{key:"bdf64e4c96efb39ce875358a848f5709a72222e6",class:"label",typography:"label"},h("slot",{key:"c8ea214386f06142256a80797f1241cb5ffb229b"})),h("mds-text",{key:"17b57141494eb019adbbddc26658bbf2551f9f0e",class:"value",typography:"label"},this.formatValue?this.formatValue(this.value):this.value)),h("div",{key:"59d7fec70758a9f860eaff7d25f5117432e93ad7",class:"range"},h("div",{key:"1884286dd8d98c02b300d54d7270bbb6e5031477",class:"track",part:"track"},h("div",{key:"91ab8740d5340f8c471f1fb3c82ef1283e5e3c27",class:"contrast-area"}),h("div",{key:"2e1c4cb7a8e65036bc436e38938ec31f7137b290",class:"track-total"},h("div",{key:"3bfbb817deabfecb127f6ba59021f4cf235538b8",class:"track-progress",style:{"--mds-input-range-progress":"".concat((r=this.progress)!==null&&r!==void 0?r:0)}}))),h("input",{key:"ba0a43b7da0df63787b5e26dfd9f4d1ad5652608",ref:function(r){return a.inputElement=r},class:"field","aria-label":this.label,disabled:this.isDisabled(),max:this.max,min:this.min,onInput:this.onInput,step:this.step,type:"range",value:this.value,name:this.name})))};Object.defineProperty(a,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{disabled:[{disabledChanged:0}],value:[{valueChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],step:[{stepChanged:0}]}},enumerable:false,configurable:true});return a}();MdsInputRange.style=mdsInputRangeCss();export{MdsInputRange as mds_input_range};
32
+ this.label=(a=this.element.textContent)!==null&&a!==void 0?a:"";this.calculateProgress()};a.prototype.render=function(){var a=this;var r;return h(Host,{key:"36d98b4bd512b85a650361218ad252d871117383","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("header",{key:"76a0c06c04abad81571dbc7de422ebaa4b0b8c33",class:"header",part:"header"},h("mds-text",{key:"05959858f7d8dcbe69525c93269d56b9270deb8c",class:"label",typography:"label"},h("slot",{key:"5c5f52045c5f099869b2ac05a806abca69b7240f"})),h("mds-text",{key:"24d240e0e20f95631a93b887aca4781372ff1551",class:"value",typography:"label"},this.formatValue?this.formatValue(this.value):this.value)),h("div",{key:"91a261a7160ac957e527f8f49a4a9dac0a229548",class:"range"},h("div",{key:"46cdea8ad4856840d323fc81f54806c5d54ac4f6",class:"track",part:"track"},h("div",{key:"1939900b6d8868a08e993a17a4d0a54338866425",class:"contrast-area"}),h("div",{key:"6704e3bb425d0aaac3f8277fe86f06faff9d48ac",class:"track-total"},h("div",{key:"c2e7505a83cb1dc9cb357392f70aeb1d9ae7f979",class:"track-progress",style:{"--mds-input-range-progress":"".concat((r=this.progress)!==null&&r!==void 0?r:0)}}))),h("input",{key:"2abcb86329559da6de2618ec3cf47d6985f6d811",ref:function(r){return a.inputElement=r},class:"field","aria-label":this.label,disabled:this.isDisabled(),max:this.max,min:this.min,onInput:this.onInput,step:this.step,type:"range",value:this.value,name:this.name})))};Object.defineProperty(a,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(a.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{disabled:[{disabledChanged:0}],value:[{valueChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],step:[{stepChanged:0}]}},enumerable:false,configurable:true});return a}();MdsInputRange.style=mdsInputRangeCss();export{MdsInputRange as mds_input_range};
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(t,r,e,i){function a(t){return t instanceof e?t:new e((function(r){r(t)}))}return new(e||(e=Promise))((function(e,n){function o(t){try{c(i.next(t))}catch(t){n(t)}}function s(t){try{c(i["throw"](t))}catch(t){n(t)}}function c(t){t.done?e(t.value):a(t.value).then(o,s)}c((i=i.apply(t,r||[])).next())}))};var __generator=this&&this.__generator||function(t,r){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,a,n,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=s(0),o["throw"]=s(1),o["return"]=s(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(r){return c([t,r])}}function c(s){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(e=0)),e)try{if(i=1,a&&(n=s[0]&2?a["return"]:s[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,s[1])).done)return n;if(a=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;a=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(n=e.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){e.label=s[1];break}if(s[0]===6&&e.label<n[1]){e.label=n[1];n=s;break}if(n&&e.label<n[2]){e.label=n[2];e.ops.push(s);break}if(n[2])e.ops.pop();e.trys.pop();continue}s=r.call(t,e)}catch(t){s=[6,t];a=0}finally{i=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";import{m as miBaselineKeyboardArrowDown}from"./keyboard-arrow-down-DiWN48aq.js";import{s as setFormValue}from"./form-wI0alRSO.js";import{u as updateValidity}from"./index-BJVvHlvf.js";import"./locale-B6cOkl4I.js";var mdsInputSelectCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-input-tip,mds-input-tip-item):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-select-variant-color-rgb:var(--magma-text-default,var(--text-neutral-default,5 5 5));--mds-input-select-ring:0 0 0 1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1);--mds-input-select-shadow:0 1px calc(var(--spacing,.0025rem)*75) 0 rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1),0 1px calc(var(--spacing,.0025rem)*50) 0 rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.06);--mds-input-select-arrow-icon-background-color:var(--mds-input-select-arrow-icon-blur-background-color,#0000);--mds-input-select-arrow-icon-blur-background-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/0);--mds-input-select-arrow-icon-blur-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.5);--mds-input-select-arrow-icon-color:var(--mds-input-select-arrow-icon-blur-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-select-arrow-icon-hover-background-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.5);--mds-input-select-arrow-icon-hover-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0));--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*1000);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-select-transition-duration:var(--duration-300,.3s);--mds-input-select-icon-transition-duration:var(--duration-200,.2s);--private-input-select-transition-duration:var(--mds-input-select-transition-duration);--private-input-select-icon-transition-duration:var(--mds-input-select-icon-transition-duration);--private-input-select-height:calc(var(--spacing,.0025rem)*1200);--private-input-select-padding-inline:calc(var(--spacing,.0025rem)*400);--private-input-select-arrow-area:calc(var(--spacing,.0025rem)*1200);font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:min(var(--magma-radius-xl,var(--radius-squircle-xl,36px)),var(--magma-corner-cap,.5) * var(--private-input-select-height));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);display:flex;position:relative;-webkit-user-select:none;user-select:none;--mds-input-select-variant-color-rgb:0 0 0;--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host:where(input){text-box:normal}:host([required]:not([required=false]):focus-within) .icon{transform:translate(calc(var(--spacing,.0025rem)*150),calc(var(--spacing,.0025rem)*150))}:host(:focus-within),:host(:hover){--mds-input-select-variant-color-rgb:var(--magma-accent-fg,var(--variant-primary-03,7 76 204));--mds-input-select-shadow:0 calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*150) -1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1),0 calc(var(--spacing,.0025rem)*50) calc(var(--spacing,.0025rem)*100) -1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.06);--mds-input-select-arrow-icon-background-color:var(--mds-input-select-arrow-icon-hover-background-color,#0000);--mds-input-select-arrow-icon-color:var(--mds-input-select-arrow-icon-hover-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));--mds-input-select-variant-color-rgb:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))}:host(:focus-within) .input,:host(:hover) .input{--mds-input-select-ring:0 0 0 calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/1)}.input{font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;appearance:none;background-color:rgb(var(--magma-field-fill,var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:inherit;box-shadow:var(--mds-input-select-ring),var(--mds-input-select-shadow);box-sizing:border-box;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:inherit;border:0;cursor:pointer;margin:0;min-height:var(--private-input-select-height);overflow:hidden;padding-left:var(--private-input-select-padding-inline);padding-right:var(--private-input-select-arrow-area);text-overflow:ellipsis;transition-duration:var(--private-input-select-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:100%}.input:where(input){text-box:normal}.input:focus,.input:hover{--tw-outline-style:none;color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));outline-style:none;transition-duration:var(--private-input-select-transition-duration);transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}:host([value]:not([value=""])) .input{color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([required]:not([required=false])) .input{color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}.input:disabled{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));opacity:1}:host([disabled]:not([disabled=false])),:host([disabled]:not([disabled=false])) .input{pointer-events:none}:host([disabled]:not([disabled=false])) .icon{fill:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));transform:translate(calc(var(--spacing,.0025rem)*250),calc(var(--spacing,.0025rem)*200))}.icon-container{align-items:center;color:inherit;display:flex;height:var(--private-input-select-height);pointer-events:none;position:absolute;right:var(--private-input-select-padding-inline)}.icon{background-color:var(--mds-input-select-arrow-icon-background-color,#0000);border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;fill:var(--mds-input-select-arrow-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));transition-duration:var(--private-input-select-icon-transition-duration);transition-property:background-color,fill}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.option-container{display:none}mds-input-tip{--mds-input-tip-horizontal-offset:inherit;--mds-input-tip-horizontal-offset-focused:inherit;--mds-input-tip-vertical-offset:inherit;--mds-input-tip-background:inherit}@container (max-width:210px){:host .tip__content,:host(:focus-within) .tip__content{grid-template-columns:0fr;opacity:0}:host .tip{padding-left:0;padding-right:0}}:host([size=md]){--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*800);--private-input-select-height:calc(var(--spacing,.0025rem)*900);--private-input-select-padding-inline:calc(var(--spacing,.0025rem)*300);--private-input-select-arrow-area:calc(var(--spacing,.0025rem)*1000)}:host([size=sm]){--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*600);--private-input-select-height:calc(var(--spacing,.0025rem)*700);--private-input-select-padding-inline:calc(var(--spacing,.0025rem)*200);--private-input-select-arrow-area:calc(var(--spacing,.0025rem)*800)}:host([size=sm]) .icon{height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}:host([variant=info]){--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=info]:focus-within),:host([variant=info]:hover){--mds-input-select-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=success]:focus-within),:host([variant=success]:hover){--mds-input-select-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=warning]:focus-within),:host([variant=warning]:hover){--mds-input-select-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=error]:focus-within),:host([variant=error]:hover){--mds-input-select-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-select-transition-duration:0s;--private-input-select-icon-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-select-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .input{color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([pref-contrast=more]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}:host([pref-contrast=more]) .input{color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more][pref-mode=dark]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (forced-colors:active){.input:focus,.input:hover{outline:2px solid #0000;outline-offset:2px}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-select-transition-duration:0s;--private-input-select-icon-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-select-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .input{color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([pref-contrast=more]:not([pref-mode])),:host([pref-contrast=more][pref-mode=system]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input{color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=system][pref-mode=dark]),:host([pref-mode=dark]:not([pref-contrast])){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host(:not([pref-contrast]):not([pref-mode])),:host([pref-contrast=system]:not([pref-mode])),:host([pref-contrast=system][pref-mode=system]),:host([pref-mode=system]:not([pref-contrast])){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}'};var MdsInputSelect=/** @class */function(){function t(t){var r=this;registerInstance(this,t);this.changeEvent=createEvent(this,"mdsInputSelectChange",7);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}
1
+ var __awaiter=this&&this.__awaiter||function(t,e,r,i){function a(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,n){function o(t){try{c(i.next(t))}catch(t){n(t)}}function s(t){try{c(i["throw"](t))}catch(t){n(t)}}function c(t){t.done?r(t.value):a(t.value).then(o,s)}c((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,a,n,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=s(0),o["throw"]=s(1),o["return"]=s(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(s){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(r=0)),r)try{if(i=1,a&&(n=s[0]&2?a["return"]:s[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,s[1])).done)return n;if(a=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){r.label=s[1];break}if(s[0]===6&&r.label<n[1]){r.label=n[1];n=s;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(s);break}if(n[2])r.ops.pop();r.trys.pop();continue}s=e.call(t,r)}catch(t){s=[6,t];a=0}finally{i=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C8foBO86.js";import{m as miBaselineKeyboardArrowDown}from"./keyboard-arrow-down-DiWN48aq.js";import{s as setFormValue}from"./form-wI0alRSO.js";import{u as updateValidity}from"./index-DEL0bLpb.js";import"./locale-DhP1Ge2o.js";var mdsInputSelectCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-input-tip,mds-input-tip-item):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-select-variant-color-rgb:var(--magma-text-default,var(--text-neutral-default,5 5 5));--mds-input-select-ring:0 0 0 1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1);--mds-input-select-shadow:0 1px calc(var(--spacing,.0025rem)*75) 0 rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1),0 1px calc(var(--spacing,.0025rem)*50) 0 rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.06);--mds-input-select-arrow-icon-background-color:var(--mds-input-select-arrow-icon-blur-background-color,#0000);--mds-input-select-arrow-icon-blur-background-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/0);--mds-input-select-arrow-icon-blur-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.5);--mds-input-select-arrow-icon-color:var(--mds-input-select-arrow-icon-blur-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-select-arrow-icon-hover-background-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.5);--mds-input-select-arrow-icon-hover-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0));--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*1000);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-select-transition-duration:var(--duration-300,.3s);--mds-input-select-icon-transition-duration:var(--duration-200,.2s);--private-input-select-transition-duration:var(--mds-input-select-transition-duration);--private-input-select-icon-transition-duration:var(--mds-input-select-icon-transition-duration);--private-input-select-height:calc(var(--spacing,.0025rem)*1200);--private-input-select-padding-inline:calc(var(--spacing,.0025rem)*400);--private-input-select-arrow-area:calc(var(--spacing,.0025rem)*1200);font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:min(var(--magma-radius-xl,var(--radius-squircle-xl,36px)),var(--magma-corner-cap,.5) * var(--private-input-select-height));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);display:flex;position:relative;-webkit-user-select:none;user-select:none;--mds-input-select-variant-color-rgb:0 0 0;--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host:where(input){text-box:normal}:host([required]:not([required=false]):focus-within) .icon{transform:translate(calc(var(--spacing,.0025rem)*150),calc(var(--spacing,.0025rem)*150))}:host(:focus-within),:host(:hover){--mds-input-select-variant-color-rgb:var(--magma-accent-fg,var(--variant-primary-03,7 76 204));--mds-input-select-shadow:0 calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*150) -1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1),0 calc(var(--spacing,.0025rem)*50) calc(var(--spacing,.0025rem)*100) -1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.06);--mds-input-select-arrow-icon-background-color:var(--mds-input-select-arrow-icon-hover-background-color,#0000);--mds-input-select-arrow-icon-color:var(--mds-input-select-arrow-icon-hover-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));--mds-input-select-variant-color-rgb:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))}:host(:focus-within) .input,:host(:hover) .input{--mds-input-select-ring:0 0 0 calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/1)}.input{font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;appearance:none;background-color:rgb(var(--magma-field-fill,var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:inherit;box-shadow:var(--mds-input-select-ring),var(--mds-input-select-shadow);box-sizing:border-box;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:inherit;border:0;cursor:pointer;margin:0;min-height:var(--private-input-select-height);overflow:hidden;padding-left:var(--private-input-select-padding-inline);padding-right:var(--private-input-select-arrow-area);text-overflow:ellipsis;transition-duration:var(--private-input-select-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:100%}.input:where(input){text-box:normal}.input:focus,.input:hover{--tw-outline-style:none;color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));outline-style:none;transition-duration:var(--private-input-select-transition-duration);transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}:host([value]:not([value=""])) .input{color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([required]:not([required=false])) .input{color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}.input:disabled{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));opacity:1}:host([disabled]:not([disabled=false])),:host([disabled]:not([disabled=false])) .input{pointer-events:none}:host([disabled]:not([disabled=false])) .icon{fill:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));transform:translate(calc(var(--spacing,.0025rem)*250),calc(var(--spacing,.0025rem)*200))}.icon-container{align-items:center;color:inherit;display:flex;height:var(--private-input-select-height);pointer-events:none;position:absolute;right:var(--private-input-select-padding-inline)}.icon{background-color:var(--mds-input-select-arrow-icon-background-color,#0000);border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;fill:var(--mds-input-select-arrow-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));transition-duration:var(--private-input-select-icon-transition-duration);transition-property:background-color,fill}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.option-container{display:none}mds-input-tip{--mds-input-tip-horizontal-offset:inherit;--mds-input-tip-horizontal-offset-focused:inherit;--mds-input-tip-vertical-offset:inherit;--mds-input-tip-background:inherit}@container (max-width:210px){:host .tip__content,:host(:focus-within) .tip__content{grid-template-columns:0fr;opacity:0}:host .tip{padding-left:0;padding-right:0}}:host([size=md]){--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*800);--private-input-select-height:calc(var(--spacing,.0025rem)*900);--private-input-select-padding-inline:calc(var(--spacing,.0025rem)*300);--private-input-select-arrow-area:calc(var(--spacing,.0025rem)*1000)}:host([size=sm]){--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*600);--private-input-select-height:calc(var(--spacing,.0025rem)*700);--private-input-select-padding-inline:calc(var(--spacing,.0025rem)*200);--private-input-select-arrow-area:calc(var(--spacing,.0025rem)*800)}:host([size=sm]) .icon{height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}:host([variant=info]){--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=info]:focus-within),:host([variant=info]:hover){--mds-input-select-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=success]:focus-within),:host([variant=success]:hover){--mds-input-select-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=warning]:focus-within),:host([variant=warning]:hover){--mds-input-select-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=error]:focus-within),:host([variant=error]:hover){--mds-input-select-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-select-transition-duration:0s;--private-input-select-icon-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-input-select-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])) .input{color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([pref-contrast=more]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}:host([pref-contrast=more]) .input{color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more][pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-contrast=more][pref-theme-scheme=dark]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (forced-colors:active){.input:focus,.input:hover{outline:2px solid #0000;outline-offset:2px}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-select-transition-duration:0s;--private-input-select-icon-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-select-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):not([pref-theme-scheme=light]))) .input{color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([pref-contrast=more]:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-contrast=more][pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input{color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=system][pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-contrast=system][pref-theme-scheme=dark]),:host([pref-mode=dark]:not([pref-theme-scheme=light]):not([pref-contrast])),:host([pref-theme-scheme=dark]:not([pref-contrast])){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host(:not([pref-contrast]):not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-contrast=system]:not([pref-mode]):not([pref-theme-scheme=light])),:host([pref-contrast=system][pref-mode=system]:not([pref-theme-scheme=light])),:host([pref-mode=system]:not([pref-theme-scheme=light]):not([pref-contrast])){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}'};var MdsInputSelect=/** @class */function(){function t(t){var e=this;registerInstance(this,t);this.changeEvent=createEvent(this,"mdsInputSelectChange",7);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}
2
2
  // true while value takes the selection of the native select, which must not be applied back:
3
3
  // with multiple, selecting the first option alone would drop the others
4
4
  this.adoptingSelection=false;
@@ -27,12 +27,12 @@ this.formDisabled=false;
27
27
  */this.size="lg";
28
28
  /**
29
29
  * Specifies the value of the component
30
- */this.value="";this.isDisabled=function(){return!!r.disabled||r.formDisabled};this.onInput=function(){r.adoptSelection();r.syncSelection()};this.onBlur=function(){r.hasFocus=false};this.onFocus=function(){r.hasFocus=true};
30
+ */this.value="";this.isDisabled=function(){return!!e.disabled||e.formDisabled};this.onInput=function(){e.adoptSelection();e.syncSelection()};this.onBlur=function(){e.hasFocus=false};this.onFocus=function(){e.hasFocus=true};
31
31
  // a removed attribute or a null bound by a framework counts as no placeholder, like ''
32
- this.hasPlaceholder=function(){var t;return((t=r.placeholder)!==null&&t!==void 0?t:"")!==""};this.placeholderOption=function(){var t,e;return(e=(t=r.selectEl)===null||t===void 0?void 0:t.querySelector(".placeholder-option"))!==null&&e!==void 0?e:null};this.emptyOptions=function(){var t;var e=(t=r.host.shadowRoot)===null||t===void 0?void 0:t.querySelector("select");var i=e===null||e===void 0?void 0:e.querySelectorAll("option");if(!i){return}i.forEach((function(t,e){if(!r.hasPlaceholder()){t.remove()}if(r.hasPlaceholder()&&e>0){t.remove()}}))};this.onSlotChangeHandler=function(){var t,e,i;var a=(e=(t=r.host.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("slot")[0])===null||e===void 0?void 0:e.assignedNodes();var n=(i=r.selectEl)===null||i===void 0?void 0:i.querySelectorAll("option");if(n==null){return}if(!r.hasPlaceholder()&&n.length>0){r.emptyOptions()}if(r.hasPlaceholder()&&n.length>1){r.emptyOptions()}a===null||a===void 0?void 0:a.forEach((function(t){var e;(e=r.selectEl)===null||e===void 0?void 0:e.appendChild(t.cloneNode(true))}));r.applySelection(true);r.syncSelection()}}
32
+ this.hasPlaceholder=function(){var t;return((t=e.placeholder)!==null&&t!==void 0?t:"")!==""};this.placeholderOption=function(){var t,r;return(r=(t=e.selectEl)===null||t===void 0?void 0:t.querySelector(".placeholder-option"))!==null&&r!==void 0?r:null};this.emptyOptions=function(){var t;var r=(t=e.host.shadowRoot)===null||t===void 0?void 0:t.querySelector("select");var i=r===null||r===void 0?void 0:r.querySelectorAll("option");if(!i){return}i.forEach((function(t,r){if(!e.hasPlaceholder()){t.remove()}if(e.hasPlaceholder()&&r>0){t.remove()}}))};this.onSlotChangeHandler=function(){var t,r,i;var a=(r=(t=e.host.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("slot")[0])===null||r===void 0?void 0:r.assignedNodes();var n=(i=e.selectEl)===null||i===void 0?void 0:i.querySelectorAll("option");if(n==null){return}if(!e.hasPlaceholder()&&n.length>0){e.emptyOptions()}if(e.hasPlaceholder()&&n.length>1){e.emptyOptions()}a===null||a===void 0?void 0:a.forEach((function(t){var r;(r=e.selectEl)===null||r===void 0?void 0:r.appendChild(t.cloneNode(true))}));e.applySelection(true);e.syncSelection()}}
33
33
  /**
34
34
  * Sets the value of the component
35
- */t.prototype.setValue=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){this.value=t;return[2/*return*/,Promise.resolve()]}))}))};
35
+ */t.prototype.setValue=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.value=t;return[2/*return*/,Promise.resolve()]}))}))};
36
36
  /**
37
37
  * Emits the change event when the component value changes
38
38
  */t.prototype.valueChanged=function(){if(this.adoptingSelection)return;this.applySelection(false);this.syncSelection()};t.prototype.requiredChanged=function(){this.updateFormValidity()};t.prototype.nameChanged=function(){this.updateFormValue(this.selectedValues())};
@@ -42,11 +42,11 @@ this.hasPlaceholder=function(){var t;return((t=r.placeholder)!==null&&t!==void 0
42
42
  * submits its value, a multiple one an entry per selected option under `name`, as a native
43
43
  * select. The first selection, the one of load, is recorded without a change: as on a native
44
44
  * select, nothing has been chosen yet.
45
- */t.prototype.syncSelection=function(){var t;var r=this.selectedValues();this.updateFormValue(r);this.updateFormValidity();var e=(t=this.value)===null||t===void 0?void 0:t.toString();var i=JSON.stringify([e,r]);if(i===this.emittedSelection)return;var a=this.emittedSelection===undefined;this.emittedSelection=i;if(a)return;this.changeEvent.emit({value:e,values:r})};t.prototype.updateFormValue=function(t){var r,e,i;if(!this.multiple){setFormValue(this.internals,(e=(r=this.value)===null||r===void 0?void 0:r.toString())!==null&&e!==void 0?e:null);return}var a=(i=this.name)!==null&&i!==void 0?i:"";if(a===""||t.length===0){setFormValue(this.internals,null);return}var n=new FormData;t.forEach((function(t){return n.append(a,t)}));setFormValue(this.internals,n)};
45
+ */t.prototype.syncSelection=function(){var t;var e=this.selectedValues();this.updateFormValue(e);this.updateFormValidity();var r=(t=this.value)===null||t===void 0?void 0:t.toString();var i=JSON.stringify([r,e]);if(i===this.emittedSelection)return;var a=this.emittedSelection===undefined;this.emittedSelection=i;if(a)return;this.changeEvent.emit({value:r,values:e})};t.prototype.updateFormValue=function(t){var e,r,i;if(!this.multiple){setFormValue(this.internals,(r=(e=this.value)===null||e===void 0?void 0:e.toString())!==null&&r!==void 0?r:null);return}var a=(i=this.name)!==null&&i!==void 0?i:"";if(a===""||t.length===0){setFormValue(this.internals,null);return}var n=new FormData;t.forEach((function(t){return n.append(a,t)}));setFormValue(this.internals,n)};
46
46
  /**
47
47
  * Reports to the form a required select left empty: like a native `required`, it stops the
48
48
  * submit of its form.
49
- */t.prototype.updateFormValidity=function(){var t;var r=this.required&&((t=this.value)!==null&&t!==void 0?t:"")==="";updateValidity(this.internals,r?{rule:"requiredSelect"}:undefined,this.selectEl)};t.prototype.disabledChanged=function(t){
49
+ */t.prototype.updateFormValidity=function(){var t;var e=this.required&&((t=this.value)!==null&&t!==void 0?t:"")==="";updateValidity(this.internals,e?{rule:"requiredSelect"}:undefined,this.selectEl)};t.prototype.disabledChanged=function(t){
50
50
  /**
51
51
  * This is related to ALL disabled attributes set on Magma input components
52
52
  * if solved, please check mds-button, mds-input, mds-input-*
@@ -59,13 +59,13 @@ if(t){setFormValue(this.internals,null)}};
59
59
  * Here the option is brought back to the first position
60
60
  * @param newValue placeholder new value
61
61
  * @param oldValue placeholder old value
62
- */t.prototype.placeholderChanged=function(t,r){if(this.selectEl==null)return;if(t!=null&&t!==""&&(r!==null&&r!==void 0?r:"")===""){
62
+ */t.prototype.placeholderChanged=function(t,e){if(this.selectEl==null)return;if(t!=null&&t!==""&&(e!==null&&e!==void 0?e:"")===""){
63
63
  // the placeholder of this select, in its shadow root, not one of the page
64
- var e=this.placeholderOption();if(e)e.remove();e=document.createElement("option");e.className="placeholder-option";this.selectEl.insertBefore(e,this.selectEl.firstChild);e.value="";e.text=t;if(this.defaultValue==null||this.defaultValue===""||this.defaultValue===0||Number.isNaN(this.defaultValue)){e.selected=true;this.value=undefined}if(this.required)e.disabled=true}};t.prototype.formDisabledCallback=function(t){this.formDisabled=t};
64
+ var r=this.placeholderOption();if(r)r.remove();r=document.createElement("option");r.className="placeholder-option";this.selectEl.insertBefore(r,this.selectEl.firstChild);r.value="";r.text=t;if(this.defaultValue==null||this.defaultValue===""||this.defaultValue===0||Number.isNaN(this.defaultValue)){r.selected=true;this.value=undefined}if(this.required)r.disabled=true}};t.prototype.formDisabledCallback=function(t){this.formDisabled=t};
65
65
  /**
66
66
  * Like a native select, a form reset brings the options back to the selection of the markup,
67
67
  * the placeholder when the markup selects none, and the value of load on top.
68
- */t.prototype.formResetCallback=function(){if(this.selectEl==null)return;var t=Array.from(this.selectEl.querySelectorAll("option"));t.forEach((function(t){t.selected=t.defaultSelected}));var r=this.placeholderOption();if(r&&this.hasPlaceholder()&&!t.some((function(t){return t.defaultSelected}))){r.selected=true}this.adoptingSelection=true;this.value=this.loadValue;this.adoptingSelection=false;this.applySelection(true);this.syncSelection()};
68
+ */t.prototype.formResetCallback=function(){if(this.selectEl==null)return;var t=Array.from(this.selectEl.querySelectorAll("option"));t.forEach((function(t){t.selected=t.defaultSelected}));var e=this.placeholderOption();if(e&&this.hasPlaceholder()&&!t.some((function(t){return t.defaultSelected}))){e.selected=true}this.adoptingSelection=true;this.value=this.loadValue;this.adoptingSelection=false;this.applySelection(true);this.syncSelection()};
69
69
  /**
70
70
  * The row count of the deprecated numeric `size`: a number, or the digits an attribute gives.
71
71
  */t.prototype.legacyRows=function(){var t=this.size;if(typeof t==="number")return t;if(typeof t==="string"&&/^\d+$/.test(t))return Number(t);return undefined};t.prototype.sizeChanged=function(){if(this.legacyRows()!==undefined){console.warn("<mds-input-select>: a number in `size` is deprecated: use `rows` for the visible option rows. `size` sets the height of the field (sm, md, lg).")}};t.prototype.componentWillLoad=function(){this.sizeChanged();
@@ -79,4 +79,4 @@ this.updateFormValidity()};t.prototype.componentDidLoad=function(){if(!this.mult
79
79
  * `multiple` too. Without a value, the select keeps the options the markup selects, or its own
80
80
  * default, when `fromMarkup`; a value cleared by code clears the selection instead, down to the
81
81
  * placeholder or, without one, the first option a single select falls back to.
82
- */t.prototype.applySelection=function(t){var r=this;if(this.selectEl==null)return;if(this.value!=null&&this.value!==""&&this.value!==0&&!Number.isNaN(this.value)){this.selectEl.querySelectorAll("option").forEach((function(t){t.selected=t.value===r.value}));return}if(t){this.adoptSelection();return}this.selectEl.querySelectorAll("option").forEach((function(t){t.selected=false}));var e=this.placeholderOption();if(e&&this.hasPlaceholder())e.selected=true;this.adoptSelection()};t.prototype.render=function(){var t=this;var r;return h(Host,{key:"eb81296455d76860e8006e84c9d0937a4f40bf4f","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("select",{key:"7ac732c862fe7b498fe9018bcabc743345f74b3e","aria-label":this.accessibleName,class:"input",onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,name:this.name,required:this.required,disabled:this.isDisabled(),multiple:this.multiple,size:this.rows||this.legacyRows()||0,part:"select",ref:function(r){return t.selectEl=r}},h("option",{key:"2c0f92bbddf287c274e4f581a78e7a0d8739b5df",class:"placeholder-option",value:"",disabled:!this.required?undefined:true,selected:this.defaultValue!=null&&this.defaultValue!==""&&this.defaultValue!==0&&!Number.isNaN(this.defaultValue)?undefined:true},this.placeholder)),h("div",{key:"8d5424ac4e82a2a4e0a073e462944fea5727f762",class:"icon-container"},h("mds-icon",{key:"d05f3eaa38fc0079b88c938039e32d59ae30777e",class:"icon",name:miBaselineKeyboardArrowDown})),h("div",{key:"8d8eca3a051b479a43aeb4a9e581bf48198f858c",class:"option-container"},h("slot",{key:"fe2fda2146b8b2338f64e2861e224af962f19570",onSlotchange:this.onSlotChangeHandler})),h("mds-input-tip",{key:"17d748dea284059daf2974d54cfd74fd052f8ffe",position:"top",active:this.hasFocus,part:"tip-top"},this.isDisabled()&&h("mds-input-tip-item",{key:"dd83b8c76f1f8d51c3dff8e920fe581c2c7795a5",expanded:true,variant:"disabled"}),this.required&&h("mds-input-tip-item",{key:"d3e2a9644b79d29b6ad3a62ad62bb3406eb3886b",expanded:this.hasFocus,variant:((r=this.value)!==null&&r!==void 0?r:"")===""?"required":"required-success"})))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{valueChanged:0}],required:[{requiredChanged:0}],name:[{nameChanged:0}],disabled:[{disabledChanged:0}],placeholder:[{placeholderChanged:0}],size:[{sizeChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInputSelect.style=mdsInputSelectCss();export{MdsInputSelect as mds_input_select};
82
+ */t.prototype.applySelection=function(t){var e=this;if(this.selectEl==null)return;if(this.value!=null&&this.value!==""&&this.value!==0&&!Number.isNaN(this.value)){this.selectEl.querySelectorAll("option").forEach((function(t){t.selected=t.value===e.value}));return}if(t){this.adoptSelection();return}this.selectEl.querySelectorAll("option").forEach((function(t){t.selected=false}));var r=this.placeholderOption();if(r&&this.hasPlaceholder())r.selected=true;this.adoptSelection()};t.prototype.render=function(){var t=this;var e;return h(Host,{key:"42e4254c864375622c726101729fd844092061a3","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("select",{key:"fbd4fb9e7041332924f04d0fc0265083022dae60","aria-label":this.accessibleName,class:"input",onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,name:this.name,required:this.required,disabled:this.isDisabled(),multiple:this.multiple,size:this.rows||this.legacyRows()||0,part:"select",ref:function(e){return t.selectEl=e}},h("option",{key:"bb97cadd31fcecb81c6d2fca97c08388c0a77926",class:"placeholder-option",value:"",disabled:!this.required?undefined:true,selected:this.defaultValue!=null&&this.defaultValue!==""&&this.defaultValue!==0&&!Number.isNaN(this.defaultValue)?undefined:true},this.placeholder)),h("div",{key:"b8e24998a563f0f053fee1ebcbbd0460f45dbec7",class:"icon-container"},h("mds-icon",{key:"87c78af30764a8a0f63c298817bd4035a91305cf",class:"icon",name:miBaselineKeyboardArrowDown})),h("div",{key:"d8e54f60cb0ea272984bd4c0e19be273f2e66828",class:"option-container"},h("slot",{key:"7a451442ac6a31a1aa2dedcf6de304b1a6910133",onSlotchange:this.onSlotChangeHandler})),h("mds-input-tip",{key:"7b0d1080f5857290a0afcc463d9bc3fa59790a13",position:"top",active:this.hasFocus,part:"tip-top"},this.isDisabled()&&h("mds-input-tip-item",{key:"33617099a0824c0e41c16f17bc96a1578227a649",expanded:true,variant:"disabled"}),this.required&&h("mds-input-tip-item",{key:"85b4f9be329e216e3ab580285aa73796896faaa6",expanded:this.hasFocus,variant:((e=this.value)!==null&&e!==void 0?e:"")===""?"required":"required-success"})))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:[{valueChanged:0}],required:[{requiredChanged:0}],name:[{nameChanged:0}],disabled:[{disabledChanged:0}],placeholder:[{placeholderChanged:0}],size:[{sizeChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInputSelect.style=mdsInputSelectCss();export{MdsInputSelect as mds_input_select};