@maggioli-design-system/magma 2.12.0 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1539) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +72 -0
  3. package/README.md +6 -5
  4. package/agents/assets.md +7 -6
  5. package/agents/color.md +7 -4
  6. package/agents/components.md +3 -2
  7. package/agents/conventions.md +11 -1
  8. package/agents/install.md +10 -3
  9. package/agents/patterns/actions.md +7 -6
  10. package/agents/patterns/empty-state.md +5 -7
  11. package/agents/patterns/previews/actions/banner.dark.webp +0 -0
  12. package/agents/patterns/previews/actions/banner.light.webp +0 -0
  13. package/agents/patterns/previews/actions/confirm.dark.webp +0 -0
  14. package/agents/patterns/previews/actions/confirm.light.webp +0 -0
  15. package/agents/patterns/previews/actions/danger-zone.dark.webp +0 -0
  16. package/agents/patterns/previews/actions/danger-zone.light.webp +0 -0
  17. package/agents/patterns/previews/actions/dismiss-message.light.webp +0 -0
  18. package/agents/patterns/previews/actions/dismiss.dark.webp +0 -0
  19. package/agents/patterns/previews/actions/dismiss.light.webp +0 -0
  20. package/agents/patterns/previews/actions/part-primary.light.webp +0 -0
  21. package/agents/patterns/previews/actions/stacked.light.webp +0 -0
  22. package/agents/patterns/previews/app-shell/back-office.light.webp +0 -0
  23. package/agents/patterns/previews/app-shell/many-sections.dark.webp +0 -0
  24. package/agents/patterns/previews/app-shell/many-sections.light.webp +0 -0
  25. package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
  26. package/agents/patterns/previews/app-shell/public-service.light.webp +0 -0
  27. package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
  28. package/agents/patterns/previews/app-shell/section-menus.light.webp +0 -0
  29. package/agents/patterns/previews/confirm-action/ask-before-sending.dark.webp +0 -0
  30. package/agents/patterns/previews/confirm-action/ask-before-sending.light.webp +0 -0
  31. package/agents/patterns/previews/confirm-action/ask-first-many.dark.webp +0 -0
  32. package/agents/patterns/previews/confirm-action/ask-first-many.light.webp +0 -0
  33. package/agents/patterns/previews/confirm-action/ask-first.dark.webp +0 -0
  34. package/agents/patterns/previews/confirm-action/ask-first.light.webp +0 -0
  35. package/agents/patterns/previews/confirm-action/make-reversible.dark.webp +0 -0
  36. package/agents/patterns/previews/confirm-action/make-reversible.light.webp +0 -0
  37. package/agents/patterns/previews/confirm-action/send-as-shown.dark.webp +0 -0
  38. package/agents/patterns/previews/confirm-action/send-as-shown.light.webp +0 -0
  39. package/agents/patterns/previews/empty-state/add-the-first.dark.webp +0 -0
  40. package/agents/patterns/previews/empty-state/add-the-first.html +5 -7
  41. package/agents/patterns/previews/empty-state/add-the-first.light.webp +0 -0
  42. package/agents/patterns/previews/empty-state/all-done.dark.webp +0 -0
  43. package/agents/patterns/previews/empty-state/all-done.html +5 -7
  44. package/agents/patterns/previews/empty-state/all-done.light.webp +0 -0
  45. package/agents/patterns/previews/empty-state/clear-filters.dark.webp +0 -0
  46. package/agents/patterns/previews/empty-state/clear-filters.html +4 -6
  47. package/agents/patterns/previews/empty-state/clear-filters.light.webp +0 -0
  48. package/agents/patterns/previews/empty-state/filled-by-others.dark.webp +0 -0
  49. package/agents/patterns/previews/empty-state/filled-by-others.html +5 -7
  50. package/agents/patterns/previews/empty-state/filled-by-others.light.webp +0 -0
  51. package/agents/patterns/previews/empty-state/not-found.dark.webp +0 -0
  52. package/agents/patterns/previews/empty-state/not-found.html +5 -7
  53. package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
  54. package/agents/patterns/previews/error-recovery/changed-meanwhile.dark.webp +0 -0
  55. package/agents/patterns/previews/error-recovery/changed-meanwhile.light.webp +0 -0
  56. package/agents/patterns/previews/error-recovery/check-or-repeat.light.webp +0 -0
  57. package/agents/patterns/previews/error-recovery/content-another-way.light.webp +0 -0
  58. package/agents/patterns/previews/error-recovery/partial.dark.webp +0 -0
  59. package/agents/patterns/previews/error-recovery/partial.light.webp +0 -0
  60. package/agents/patterns/previews/error-recovery/retry-action.light.webp +0 -0
  61. package/agents/patterns/previews/error-recovery/retry-content.dark.webp +0 -0
  62. package/agents/patterns/previews/error-recovery/sign-in-again.dark.webp +0 -0
  63. package/agents/patterns/previews/error-recovery/sign-in-again.light.webp +0 -0
  64. package/agents/patterns/previews/item-list/documents-of-a-request.dark.webp +0 -0
  65. package/agents/patterns/previews/item-list/documents-of-a-request.light.webp +0 -0
  66. package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
  67. package/agents/patterns/previews/item-list/queue-of-a-desk.html +1 -1
  68. package/agents/patterns/previews/item-list/queue-of-a-desk.light.webp +0 -0
  69. package/agents/patterns/previews/item-list/requests-of-an-office.dark.webp +0 -0
  70. package/agents/patterns/previews/item-list/requests-of-an-office.light.webp +0 -0
  71. package/agents/patterns/previews/item-list/requests-to-assign.dark.webp +0 -0
  72. package/agents/patterns/previews/item-list/requests-to-assign.html +3 -12
  73. package/agents/patterns/previews/item-list/requests-to-assign.light.webp +0 -0
  74. package/agents/patterns/previews/labels-and-values/payment-before-paying.dark.webp +0 -0
  75. package/agents/patterns/previews/labels-and-values/what-is-sent.dark.webp +0 -0
  76. package/agents/patterns/previews/labels-and-values/what-is-sent.light.webp +0 -0
  77. package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
  78. package/agents/patterns/previews/list-with-filters/act-on-many.html +2 -9
  79. package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
  80. package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
  81. package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
  82. package/agents/patterns/previews/list-with-filters/show-new-items.html +1 -1
  83. package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
  84. package/agents/patterns/previews/loading/await-and-say.dark.webp +0 -0
  85. package/agents/patterns/previews/loading/await-and-say.html +2 -5
  86. package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
  87. package/agents/patterns/previews/loading/first-load.light.webp +0 -0
  88. package/agents/patterns/previews/loading/keep-while-reloading.dark.webp +0 -0
  89. package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
  90. package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
  91. package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
  92. package/agents/patterns/previews/loading/long-load.light.webp +0 -0
  93. package/agents/patterns/previews/loading/progress-in-place.light.webp +0 -0
  94. package/agents/patterns/previews/message-placement/action-done-elsewhere.dark.webp +0 -0
  95. package/agents/patterns/previews/message-placement/action-done-elsewhere.light.webp +0 -0
  96. package/agents/patterns/previews/message-placement/action-failed-elsewhere.dark.webp +0 -0
  97. package/agents/patterns/previews/message-placement/action-failed-in-place.dark.webp +0 -0
  98. package/agents/patterns/previews/message-placement/action-failed-in-place.light.webp +0 -0
  99. package/agents/patterns/previews/message-placement/action-partial-in-place.dark.webp +0 -0
  100. package/agents/patterns/previews/message-placement/action-partial-in-place.light.webp +0 -0
  101. package/agents/patterns/previews/message-placement/app-deadline.dark.webp +0 -0
  102. package/agents/patterns/previews/message-placement/app-deadline.light.webp +0 -0
  103. package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
  104. package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
  105. package/agents/patterns/previews/message-placement/decision.light.webp +0 -0
  106. package/agents/patterns/previews/message-placement/field-error.dark.webp +0 -0
  107. package/agents/patterns/previews/message-placement/field-error.light.webp +0 -0
  108. package/agents/patterns/previews/message-placement/field-hint.light.webp +0 -0
  109. package/agents/patterns/previews/message-placement/field-valid.dark.webp +0 -0
  110. package/agents/patterns/previews/message-placement/field-valid.light.webp +0 -0
  111. package/agents/patterns/previews/message-placement/region-failed.dark.webp +0 -0
  112. package/agents/patterns/previews/message-placement/region-info.dark.webp +0 -0
  113. package/agents/patterns/previews/message-placement/region-info.light.webp +0 -0
  114. package/agents/patterns/previews/page-header/contact-being-edited.dark.webp +0 -0
  115. package/agents/patterns/previews/page-header/contact-being-edited.light.webp +0 -0
  116. package/agents/patterns/previews/page-header/members-of-a-group.light.webp +0 -0
  117. package/agents/patterns/previews/page-header/request-from-the-list.dark.webp +0 -0
  118. package/agents/patterns/previews/record-detail/ask-for-words.dark.webp +0 -0
  119. package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
  120. package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
  121. package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
  122. package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
  123. package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
  124. package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
  125. package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
  126. package/agents/patterns/previews/record-detail/run-at-once.light.webp +0 -0
  127. package/agents/patterns/previews/record-detail/work-on-it.dark.webp +0 -0
  128. package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
  129. package/agents/patterns/previews/rhythm/between-containers.dark.webp +0 -0
  130. package/agents/patterns/previews/rhythm/between-containers.light.webp +0 -0
  131. package/agents/patterns/previews/rhythm/between-fields.dark.webp +0 -0
  132. package/agents/patterns/previews/rhythm/between-fields.light.webp +0 -0
  133. package/agents/patterns/previews/rhythm/between-groups.light.webp +0 -0
  134. package/agents/patterns/previews/rhythm/between-sections.dark.webp +0 -0
  135. package/agents/patterns/previews/rhythm/between-sections.light.webp +0 -0
  136. package/agents/patterns/previews/rhythm/inline.light.webp +0 -0
  137. package/agents/patterns/previews/rhythm/inset.dark.webp +0 -0
  138. package/agents/patterns/previews/rhythm/inset.light.webp +0 -0
  139. package/agents/patterns/previews/rhythm/title-content.dark.webp +0 -0
  140. package/agents/patterns/previews/rhythm/title-content.light.webp +0 -0
  141. package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
  142. package/agents/patterns/previews/surfaces/band.light.webp +0 -0
  143. package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
  144. package/agents/patterns/previews/surfaces/canvas.light.webp +0 -0
  145. package/agents/patterns/previews/surfaces/card.dark.webp +0 -0
  146. package/agents/patterns/previews/surfaces/card.light.webp +0 -0
  147. package/agents/patterns/previews/surfaces/dialog.dark.webp +0 -0
  148. package/agents/patterns/previews/surfaces/dialog.light.webp +0 -0
  149. package/agents/patterns/previews/surfaces/edit-actions.dark.webp +0 -0
  150. package/agents/patterns/previews/surfaces/edit-actions.light.webp +0 -0
  151. package/agents/patterns/previews/surfaces/intro-band.dark.webp +0 -0
  152. package/agents/patterns/previews/surfaces/intro-band.html +66 -0
  153. package/agents/patterns/previews/surfaces/intro-band.light.webp +0 -0
  154. package/agents/patterns/previews/surfaces/section.dark.webp +0 -0
  155. package/agents/patterns/previews/surfaces/section.light.webp +0 -0
  156. package/agents/patterns/previews/titles/dialog.dark.webp +0 -0
  157. package/agents/patterns/previews/titles/dialog.light.webp +0 -0
  158. package/agents/patterns/previews/titles/group.light.webp +0 -0
  159. package/agents/patterns/previews/titles/page.light.webp +0 -0
  160. package/agents/patterns/previews/titles/part.light.webp +0 -0
  161. package/agents/patterns/previews/titles/section.light.webp +0 -0
  162. package/agents/patterns/previews/widths/dialog.dark.webp +0 -0
  163. package/agents/patterns/previews/widths/dialog.light.webp +0 -0
  164. package/agents/patterns/previews/widths/field.dark.webp +0 -0
  165. package/agents/patterns/previews/widths/field.light.webp +0 -0
  166. package/agents/patterns/previews/widths/form.dark.webp +0 -0
  167. package/agents/patterns/previews/widths/form.light.webp +0 -0
  168. package/agents/patterns/previews/widths/page.dark.webp +0 -0
  169. package/agents/patterns/previews/widths/page.light.webp +0 -0
  170. package/agents/patterns/previews/widths/reading.dark.webp +0 -0
  171. package/agents/patterns/previews/widths/reading.light.webp +0 -0
  172. package/agents/patterns/surfaces.md +49 -11
  173. package/agents/patterns/titles.md +15 -14
  174. package/agents/patterns.md +1 -1
  175. package/agents/theming.md +5 -0
  176. package/dist/cjs/{floating-controller-B4YhrWm8.js → floating-controller-B21tqid0.js} +51 -4
  177. package/dist/cjs/{floating-ui.dom-VQ_HnnRe.js → floating-ui.dom-1Z4VE-PH.js} +1 -0
  178. package/dist/cjs/{index-BQNHYWJg.js → index-B99V_UhC.js} +87 -44
  179. package/dist/cjs/{index-Csgx951d.js → index-CFEj7WVH.js} +12 -1
  180. package/dist/cjs/index.cjs.js +45 -3
  181. package/dist/cjs/loader.cjs.js +2 -2
  182. package/dist/cjs/{locale-DgMC52AD.js → locale-6jikg4jE.js} +1 -1
  183. package/dist/cjs/magma-components.cjs.js +3 -3
  184. package/dist/cjs/mds-accordion-item.cjs.entry.js +10 -7
  185. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +10 -7
  186. package/dist/cjs/mds-accordion-timer.cjs.entry.js +4 -3
  187. package/dist/cjs/mds-accordion.cjs.entry.js +5 -4
  188. package/dist/cjs/mds-author.cjs.entry.js +4 -3
  189. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +4 -3
  190. package/dist/cjs/mds-avatar-stack.cjs.entry.js +4 -3
  191. package/dist/cjs/mds-avatar.cjs.entry.js +5 -4
  192. package/dist/cjs/mds-badge.cjs.entry.js +5 -4
  193. package/dist/cjs/mds-banner_3.cjs.entry.js +56 -27
  194. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +4 -3
  195. package/dist/cjs/mds-bibliography.cjs.entry.js +4 -3
  196. package/dist/cjs/mds-book.cjs.entry.js +8 -7
  197. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +4 -3
  198. package/dist/cjs/mds-breadcrumb.cjs.entry.js +6 -5
  199. package/dist/cjs/mds-button-dropdown.cjs.entry.js +7 -6
  200. package/dist/cjs/mds-button-group.cjs.entry.js +5 -4
  201. package/dist/cjs/mds-button_3.cjs.entry.js +15 -12
  202. package/dist/cjs/mds-calendar_2.cjs.entry.js +190 -305
  203. package/dist/cjs/mds-card-content.cjs.entry.js +4 -3
  204. package/dist/cjs/mds-card-footer.cjs.entry.js +5 -4
  205. package/dist/cjs/mds-card-header.cjs.entry.js +4 -3
  206. package/dist/cjs/mds-card-media.cjs.entry.js +4 -3
  207. package/dist/cjs/mds-card.cjs.entry.js +6 -5
  208. package/dist/cjs/mds-details.cjs.entry.js +5 -4
  209. package/dist/cjs/mds-dropdown.cjs.entry.js +46 -17
  210. package/dist/cjs/mds-emoji.cjs.entry.js +5 -4
  211. package/dist/cjs/mds-entity.cjs.entry.js +5 -4
  212. package/dist/cjs/mds-file-preview.cjs.entry.js +7 -6
  213. package/dist/cjs/mds-file.cjs.entry.js +6 -5
  214. package/dist/cjs/mds-filter-item.cjs.entry.js +6 -5
  215. package/dist/cjs/mds-filter.cjs.entry.js +6 -5
  216. package/dist/cjs/mds-header-bar.cjs.entry.js +6 -5
  217. package/dist/cjs/mds-header.cjs.entry.js +5 -4
  218. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +6 -5
  219. package/dist/cjs/mds-hr.cjs.entry.js +5 -4
  220. package/dist/cjs/mds-img.cjs.entry.js +5 -4
  221. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +4 -3
  222. package/dist/cjs/mds-input-date-range.cjs.entry.js +126 -31
  223. package/dist/cjs/mds-input-date.cjs.entry.js +26 -12
  224. package/dist/cjs/mds-input-field.cjs.entry.js +4 -3
  225. package/dist/cjs/mds-input-otp.cjs.entry.js +6 -5
  226. package/dist/cjs/mds-input-range-value.cjs.entry.js +18 -0
  227. package/dist/cjs/mds-input-range.cjs.entry.js +410 -29
  228. package/dist/cjs/mds-input-select.cjs.entry.js +9 -8
  229. package/dist/cjs/mds-input-switch_2.cjs.entry.js +9 -7
  230. package/dist/cjs/mds-input-tip_2.cjs.entry.js +17 -12
  231. package/dist/cjs/mds-input-upload.cjs.entry.js +10 -9
  232. package/dist/cjs/mds-input.cjs.entry.js +292 -35
  233. package/dist/cjs/mds-keyboard-key.cjs.entry.js +6 -5
  234. package/dist/cjs/mds-keyboard.cjs.entry.js +6 -5
  235. package/dist/cjs/mds-kpi-item.cjs.entry.js +5 -4
  236. package/dist/cjs/mds-kpi.cjs.entry.js +4 -3
  237. package/dist/cjs/mds-label.cjs.entry.js +6 -5
  238. package/dist/cjs/mds-link.cjs.entry.js +9 -8
  239. package/dist/cjs/mds-list-item.cjs.entry.js +4 -3
  240. package/dist/cjs/mds-list.cjs.entry.js +4 -3
  241. package/dist/cjs/mds-mention.cjs.entry.js +6 -5
  242. package/dist/cjs/mds-modal.cjs.entry.js +7 -6
  243. package/dist/cjs/mds-note.cjs.entry.js +6 -5
  244. package/dist/cjs/mds-notification.cjs.entry.js +6 -5
  245. package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -4
  246. package/dist/cjs/mds-paginator.cjs.entry.js +6 -5
  247. package/dist/cjs/mds-policy-ai.cjs.entry.js +6 -5
  248. package/dist/cjs/mds-pref-animation.cjs.entry.js +6 -5
  249. package/dist/cjs/mds-pref-consumption.cjs.entry.js +6 -5
  250. package/dist/cjs/mds-pref-contrast.cjs.entry.js +6 -5
  251. package/dist/cjs/mds-pref-language-item.cjs.entry.js +6 -5
  252. package/dist/cjs/mds-pref-language.cjs.entry.js +6 -5
  253. package/dist/cjs/mds-pref-mode.cjs.entry.js +6 -5
  254. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
  255. package/dist/cjs/mds-pref-theme.cjs.entry.js +6 -5
  256. package/dist/cjs/mds-pref.cjs.entry.js +12 -6
  257. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +5 -4
  258. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +5 -4
  259. package/dist/cjs/mds-price-table-features.cjs.entry.js +5 -4
  260. package/dist/cjs/mds-price-table-header.cjs.entry.js +4 -3
  261. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +4 -3
  262. package/dist/cjs/mds-price-table-list.cjs.entry.js +5 -4
  263. package/dist/cjs/mds-price-table.cjs.entry.js +4 -3
  264. package/dist/cjs/mds-progress_2.cjs.entry.js +13 -8
  265. package/dist/cjs/mds-push-notification-item.cjs.entry.js +7 -6
  266. package/dist/cjs/mds-push-notification.cjs.entry.js +6 -5
  267. package/dist/cjs/mds-quote.cjs.entry.js +5 -4
  268. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +4 -3
  269. package/dist/cjs/mds-radial-menu.cjs.entry.js +8 -7
  270. package/dist/cjs/mds-separator.cjs.entry.js +5 -4
  271. package/dist/cjs/mds-status-bar.cjs.entry.js +5 -4
  272. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +7 -6
  273. package/dist/cjs/mds-stepper-bar.cjs.entry.js +6 -6
  274. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +5 -4
  275. package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -4
  276. package/dist/cjs/mds-tab_2.cjs.entry.js +41 -17
  277. package/dist/cjs/mds-table-body.cjs.entry.js +5 -4
  278. package/dist/cjs/mds-table-footer.cjs.entry.js +5 -4
  279. package/dist/cjs/mds-table-header-cell.cjs.entry.js +5 -4
  280. package/dist/cjs/mds-table-header.cjs.entry.js +14 -14
  281. package/dist/cjs/mds-table-row.cjs.entry.js +7 -6
  282. package/dist/cjs/mds-table.cjs.entry.js +42 -14
  283. package/dist/cjs/mds-text.cjs.entry.js +5 -4
  284. package/dist/cjs/mds-toast-region.cjs.entry.js +4 -3
  285. package/dist/cjs/mds-toast.cjs.entry.js +6 -5
  286. package/dist/cjs/mds-tooltip.cjs.entry.js +33 -14
  287. package/dist/cjs/mds-tree-item.cjs.entry.js +6 -5
  288. package/dist/cjs/mds-tree.cjs.entry.js +4 -3
  289. package/dist/cjs/mds-url-view.cjs.entry.js +6 -18
  290. package/dist/cjs/mds-usage.cjs.entry.js +6 -5
  291. package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
  292. package/dist/cjs/mds-zero.cjs.entry.js +15 -5
  293. package/dist/cjs/{navigation-5yeOyO6F.js → navigation-Dxea9mKE.js} +7 -0
  294. package/dist/cjs/{preference-DhNxLZ4R.js → preference-DTUJPGHS.js} +1 -1
  295. package/dist/collection/collection-manifest.json +2 -1
  296. package/dist/collection/common/floating-controller.js +50 -3
  297. package/dist/collection/common/navigation.js +7 -0
  298. package/dist/collection/common/validity/index.js +3 -0
  299. package/dist/collection/components/mds-accordion/AGENTS.md +2 -2
  300. package/dist/collection/components/mds-accordion/documentation.json +5 -4
  301. package/dist/collection/components/mds-accordion/examples.md +3 -3
  302. package/dist/collection/components/mds-accordion/mds-accordion.js +1 -1
  303. package/dist/collection/components/mds-accordion-item/AGENTS.md +5 -3
  304. package/dist/collection/components/mds-accordion-item/documentation.json +60 -5
  305. package/dist/collection/components/mds-accordion-item/examples.md +5 -3
  306. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +9 -0
  307. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +32 -4
  308. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  309. package/dist/collection/components/mds-accordion-timer/documentation.json +3 -2
  310. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +1 -1
  311. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +6 -4
  312. package/dist/collection/components/mds-accordion-timer-item/documentation.json +64 -9
  313. package/dist/collection/components/mds-accordion-timer-item/examples.md +5 -3
  314. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +9 -0
  315. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +32 -4
  316. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  317. package/dist/collection/components/mds-author/documentation.json +3 -2
  318. package/dist/collection/components/mds-author/mds-author.js +1 -1
  319. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  320. package/dist/collection/components/mds-avatar/documentation.json +3 -2
  321. package/dist/collection/components/mds-avatar/mds-avatar.js +1 -1
  322. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  323. package/dist/collection/components/mds-avatar-stack/documentation.json +3 -2
  324. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +1 -1
  325. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  326. package/dist/collection/components/mds-avatar-stack-item/documentation.json +3 -2
  327. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +1 -1
  328. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  329. package/dist/collection/components/mds-badge/documentation.json +3 -2
  330. package/dist/collection/components/mds-badge/mds-badge.js +1 -1
  331. package/dist/collection/components/mds-banner/AGENTS.md +4 -1
  332. package/dist/collection/components/mds-banner/documentation.json +44 -5
  333. package/dist/collection/components/mds-banner/examples.md +15 -9
  334. package/dist/collection/components/mds-banner/mds-banner.js +63 -19
  335. package/dist/collection/components/mds-banner/meta/dictionary.js +7 -0
  336. package/dist/collection/components/mds-banner/meta/types.js +1 -0
  337. package/dist/collection/components/mds-banner/mistakes.md +20 -0
  338. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  339. package/dist/collection/components/mds-benchmark-bar/documentation.json +3 -2
  340. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +1 -1
  341. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  342. package/dist/collection/components/mds-bibliography/documentation.json +3 -2
  343. package/dist/collection/components/mds-bibliography/mds-bibliography.js +1 -1
  344. package/dist/collection/components/mds-book/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-book/documentation.json +3 -2
  346. package/dist/collection/components/mds-book/mds-book.js +3 -3
  347. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  348. package/dist/collection/components/mds-breadcrumb/documentation.json +3 -2
  349. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +1 -1
  350. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-breadcrumb-item/documentation.json +3 -2
  352. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
  353. package/dist/collection/components/mds-button/AGENTS.md +1 -1
  354. package/dist/collection/components/mds-button/documentation.json +3 -2
  355. package/dist/collection/components/mds-button/mds-button.js +4 -4
  356. package/dist/collection/components/mds-button-dropdown/AGENTS.md +3 -1
  357. package/dist/collection/components/mds-button-dropdown/documentation.json +5 -4
  358. package/dist/collection/components/mds-button-dropdown/examples.md +16 -0
  359. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +12 -0
  360. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  361. package/dist/collection/components/mds-button-group/AGENTS.md +3 -2
  362. package/dist/collection/components/mds-button-group/documentation.json +5 -4
  363. package/dist/collection/components/mds-button-group/examples.md +16 -0
  364. package/dist/collection/components/mds-button-group/mds-button-group.css +13 -0
  365. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  366. package/dist/collection/components/mds-calendar/AGENTS.md +8 -4
  367. package/dist/collection/components/mds-calendar/documentation.json +44 -5
  368. package/dist/collection/components/mds-calendar/examples.md +17 -1
  369. package/dist/collection/components/mds-calendar/mds-calendar.css +4 -0
  370. package/dist/collection/components/mds-calendar/mds-calendar.js +206 -300
  371. package/dist/collection/components/mds-calendar/meta/types.js +1 -0
  372. package/dist/collection/components/mds-calendar/mistakes.md +1 -1
  373. package/dist/collection/components/mds-calendar-cell/AGENTS.md +4 -4
  374. package/dist/collection/components/mds-calendar-cell/documentation.json +37 -24
  375. package/dist/collection/components/mds-calendar-cell/examples.md +3 -3
  376. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +121 -84
  377. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  378. package/dist/collection/components/mds-card/AGENTS.md +4 -2
  379. package/dist/collection/components/mds-card/documentation.json +12 -5
  380. package/dist/collection/components/mds-card/examples.md +6 -1
  381. package/dist/collection/components/mds-card/mds-card.css +8 -0
  382. package/dist/collection/components/mds-card/mds-card.js +1 -1
  383. package/dist/collection/components/mds-card/mistakes.md +1 -1
  384. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  385. package/dist/collection/components/mds-card-content/documentation.json +3 -2
  386. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  387. package/dist/collection/components/mds-card-footer/AGENTS.md +2 -2
  388. package/dist/collection/components/mds-card-footer/documentation.json +5 -4
  389. package/dist/collection/components/mds-card-footer/examples.md +1 -1
  390. package/dist/collection/components/mds-card-footer/mds-card-footer.css +9 -0
  391. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  392. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  393. package/dist/collection/components/mds-card-header/documentation.json +3 -2
  394. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  395. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  396. package/dist/collection/components/mds-card-media/documentation.json +3 -2
  397. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  398. package/dist/collection/components/mds-chip/AGENTS.md +5 -2
  399. package/dist/collection/components/mds-chip/documentation.json +37 -5
  400. package/dist/collection/components/mds-chip/examples.md +10 -0
  401. package/dist/collection/components/mds-chip/mds-chip.css +18 -0
  402. package/dist/collection/components/mds-chip/mds-chip.js +25 -1
  403. package/dist/collection/components/mds-chip/mistakes.md +25 -1
  404. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  405. package/dist/collection/components/mds-details/documentation.json +3 -2
  406. package/dist/collection/components/mds-details/mds-details.js +1 -1
  407. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  408. package/dist/collection/components/mds-dropdown/documentation.json +4 -3
  409. package/dist/collection/components/mds-dropdown/mds-dropdown.js +40 -12
  410. package/dist/collection/components/mds-dropdown/mistakes.md +1 -1
  411. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  412. package/dist/collection/components/mds-emoji/documentation.json +3 -2
  413. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  414. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  415. package/dist/collection/components/mds-entity/documentation.json +3 -2
  416. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  417. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  418. package/dist/collection/components/mds-file/documentation.json +3 -2
  419. package/dist/collection/components/mds-file/mds-file.js +1 -1
  420. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  421. package/dist/collection/components/mds-file-preview/documentation.json +3 -2
  422. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  423. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  424. package/dist/collection/components/mds-filter/documentation.json +3 -2
  425. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  426. package/dist/collection/components/mds-filter-item/AGENTS.md +2 -2
  427. package/dist/collection/components/mds-filter-item/documentation.json +5 -4
  428. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  429. package/dist/collection/components/mds-filter-item/mistakes.md +16 -0
  430. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  431. package/dist/collection/components/mds-header/documentation.json +3 -2
  432. package/dist/collection/components/mds-header/mds-header.js +1 -1
  433. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  434. package/dist/collection/components/mds-header-bar/documentation.json +3 -2
  435. package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
  436. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  437. package/dist/collection/components/mds-help/documentation.json +3 -2
  438. package/dist/collection/components/mds-help/mds-help.js +1 -1
  439. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  440. package/dist/collection/components/mds-horizontal-scroll/documentation.json +3 -2
  441. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  442. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  443. package/dist/collection/components/mds-hr/documentation.json +3 -2
  444. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  445. package/dist/collection/components/mds-icon/AGENTS.md +2 -2
  446. package/dist/collection/components/mds-icon/documentation.json +5 -4
  447. package/dist/collection/components/mds-icon/examples.md +3 -3
  448. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  449. package/dist/collection/components/mds-icon/services/icons-set.service.js +43 -1
  450. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  451. package/dist/collection/components/mds-img/documentation.json +3 -2
  452. package/dist/collection/components/mds-input/AGENTS.md +22 -18
  453. package/dist/collection/components/mds-input/documentation.json +32 -19
  454. package/dist/collection/components/mds-input/examples.md +20 -3
  455. package/dist/collection/components/mds-input/mds-input.css +115 -8
  456. package/dist/collection/components/mds-input/mds-input.js +236 -37
  457. package/dist/collection/components/mds-input/meta/color.js +19 -0
  458. package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +5 -1
  459. package/dist/collection/components/mds-input/meta/validators.js +10 -0
  460. package/dist/collection/components/mds-input/meta/validity.js +5 -2
  461. package/dist/collection/components/mds-input/mistakes.md +15 -1
  462. package/dist/collection/components/mds-input-date/AGENTS.md +7 -7
  463. package/dist/collection/components/mds-input-date/documentation.json +7 -24
  464. package/dist/collection/components/mds-input-date/examples.md +1 -1
  465. package/dist/collection/components/mds-input-date/mds-input-date.css +17 -15
  466. package/dist/collection/components/mds-input-date/mds-input-date.js +21 -8
  467. package/dist/collection/components/mds-input-date-range/AGENTS.md +10 -7
  468. package/dist/collection/components/mds-input-date-range/documentation.json +16 -8
  469. package/dist/collection/components/mds-input-date-range/examples.md +12 -1
  470. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +15 -0
  471. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +90 -27
  472. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  473. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +3 -2
  474. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  475. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  476. package/dist/collection/components/mds-input-field/documentation.json +3 -2
  477. package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
  478. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  479. package/dist/collection/components/mds-input-otp/documentation.json +3 -2
  480. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  481. package/dist/collection/components/mds-input-range/AGENTS.md +27 -8
  482. package/dist/collection/components/mds-input-range/documentation.json +31 -9
  483. package/dist/collection/components/mds-input-range/examples.md +41 -0
  484. package/dist/collection/components/mds-input-range/mds-input-range.css +68 -5
  485. package/dist/collection/components/mds-input-range/mds-input-range.js +440 -29
  486. package/dist/collection/components/mds-input-range/meta/event-detail.js +1 -0
  487. package/dist/collection/components/mds-input-range/mistakes.md +37 -0
  488. package/dist/collection/components/mds-input-range-value/AGENTS.md +43 -0
  489. package/dist/collection/components/mds-input-range-value/documentation.json +77 -0
  490. package/dist/collection/components/mds-input-range-value/examples.md +66 -0
  491. package/dist/collection/components/mds-input-range-value/mds-input-range-value.css +6 -0
  492. package/dist/collection/components/mds-input-range-value/mds-input-range-value.js +50 -0
  493. package/dist/collection/components/mds-input-range-value/mistakes.md +56 -0
  494. package/dist/collection/components/mds-input-select/AGENTS.md +2 -2
  495. package/dist/collection/components/mds-input-select/documentation.json +4 -3
  496. package/dist/collection/components/mds-input-select/mds-input-select.css +9 -19
  497. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  498. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  499. package/dist/collection/components/mds-input-switch/documentation.json +3 -2
  500. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  501. package/dist/collection/components/mds-input-tip/AGENTS.md +7 -6
  502. package/dist/collection/components/mds-input-tip/documentation.json +17 -10
  503. package/dist/collection/components/mds-input-tip/examples.md +2 -2
  504. package/dist/collection/components/mds-input-tip/mds-input-tip.css +15 -17
  505. package/dist/collection/components/mds-input-tip/mds-input-tip.js +9 -6
  506. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  507. package/dist/collection/components/mds-input-tip-item/documentation.json +3 -2
  508. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  509. package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +1 -1
  510. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  511. package/dist/collection/components/mds-input-upload/documentation.json +3 -2
  512. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  513. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  514. package/dist/collection/components/mds-keyboard/documentation.json +3 -2
  515. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  516. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  517. package/dist/collection/components/mds-keyboard-key/documentation.json +3 -2
  518. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  519. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  520. package/dist/collection/components/mds-kpi/documentation.json +3 -2
  521. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  522. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  523. package/dist/collection/components/mds-kpi-item/documentation.json +3 -2
  524. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  525. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  526. package/dist/collection/components/mds-label/documentation.json +3 -2
  527. package/dist/collection/components/mds-label/mds-label.js +1 -1
  528. package/dist/collection/components/mds-link/AGENTS.md +1 -1
  529. package/dist/collection/components/mds-link/documentation.json +3 -2
  530. package/dist/collection/components/mds-link/mds-link.js +3 -3
  531. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  532. package/dist/collection/components/mds-list/documentation.json +3 -2
  533. package/dist/collection/components/mds-list/mds-list.js +1 -1
  534. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  535. package/dist/collection/components/mds-list-item/documentation.json +3 -2
  536. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  537. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  538. package/dist/collection/components/mds-mention/documentation.json +3 -2
  539. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  540. package/dist/collection/components/mds-modal/AGENTS.md +2 -1
  541. package/dist/collection/components/mds-modal/documentation.json +5 -4
  542. package/dist/collection/components/mds-modal/examples.md +2 -0
  543. package/dist/collection/components/mds-modal/mds-modal.js +2 -2
  544. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  545. package/dist/collection/components/mds-note/documentation.json +3 -2
  546. package/dist/collection/components/mds-note/mds-note.js +1 -1
  547. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  548. package/dist/collection/components/mds-notification/documentation.json +3 -2
  549. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  550. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  551. package/dist/collection/components/mds-paginator/documentation.json +3 -2
  552. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  553. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  554. package/dist/collection/components/mds-paginator-item/documentation.json +3 -2
  555. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  556. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  557. package/dist/collection/components/mds-policy-ai/documentation.json +3 -2
  558. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  559. package/dist/collection/components/mds-pref/AGENTS.md +4 -1
  560. package/dist/collection/components/mds-pref/documentation.json +31 -4
  561. package/dist/collection/components/mds-pref/examples.md +14 -0
  562. package/dist/collection/components/mds-pref/mds-pref.js +26 -2
  563. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  564. package/dist/collection/components/mds-pref-animation/documentation.json +3 -2
  565. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  566. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  567. package/dist/collection/components/mds-pref-consumption/documentation.json +3 -2
  568. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  569. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  570. package/dist/collection/components/mds-pref-contrast/documentation.json +3 -2
  571. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  572. package/dist/collection/components/mds-pref-language/AGENTS.md +2 -2
  573. package/dist/collection/components/mds-pref-language/documentation.json +4 -3
  574. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  575. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  576. package/dist/collection/components/mds-pref-language-item/documentation.json +3 -2
  577. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  578. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  579. package/dist/collection/components/mds-pref-mode/documentation.json +3 -2
  580. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
  581. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  582. package/dist/collection/components/mds-pref-theme/documentation.json +3 -2
  583. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
  584. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  585. package/dist/collection/components/mds-pref-theme-item/documentation.json +3 -2
  586. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  587. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  588. package/dist/collection/components/mds-price-table/documentation.json +3 -2
  589. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  590. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  591. package/dist/collection/components/mds-price-table-features/documentation.json +3 -2
  592. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  593. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  594. package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -2
  595. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  596. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  597. package/dist/collection/components/mds-price-table-features-row/documentation.json +3 -2
  598. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  599. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  600. package/dist/collection/components/mds-price-table-header/documentation.json +3 -2
  601. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  602. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  603. package/dist/collection/components/mds-price-table-list/documentation.json +3 -2
  604. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  605. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  606. package/dist/collection/components/mds-price-table-list-item/documentation.json +3 -2
  607. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  608. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  609. package/dist/collection/components/mds-progress/documentation.json +3 -2
  610. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  611. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  612. package/dist/collection/components/mds-push-notification/documentation.json +3 -2
  613. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  614. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  615. package/dist/collection/components/mds-push-notification-item/documentation.json +3 -2
  616. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  617. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  618. package/dist/collection/components/mds-quote/documentation.json +3 -2
  619. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  620. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  621. package/dist/collection/components/mds-radial-menu/documentation.json +3 -2
  622. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  623. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  624. package/dist/collection/components/mds-radial-menu-item/documentation.json +3 -2
  625. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  626. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  627. package/dist/collection/components/mds-radial-progress/documentation.json +3 -2
  628. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +4 -2
  629. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +5 -2
  630. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  631. package/dist/collection/components/mds-separator/documentation.json +3 -2
  632. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  633. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  634. package/dist/collection/components/mds-spinner/documentation.json +3 -2
  635. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  636. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  637. package/dist/collection/components/mds-status-bar/documentation.json +3 -2
  638. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  639. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  640. package/dist/collection/components/mds-stepper-bar/documentation.json +3 -2
  641. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +3 -4
  642. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +2 -2
  643. package/dist/collection/components/mds-stepper-bar-item/documentation.json +5 -4
  644. package/dist/collection/components/mds-stepper-bar-item/examples.md +1 -1
  645. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +7 -2
  646. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  647. package/dist/collection/components/mds-tab/AGENTS.md +3 -3
  648. package/dist/collection/components/mds-tab/documentation.json +8 -3
  649. package/dist/collection/components/mds-tab/mds-tab.js +34 -12
  650. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  651. package/dist/collection/components/mds-tab-bar/documentation.json +3 -2
  652. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  653. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  654. package/dist/collection/components/mds-tab-bar-item/documentation.json +3 -2
  655. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  656. package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
  657. package/dist/collection/components/mds-tab-item/documentation.json +7 -2
  658. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  659. package/dist/collection/components/mds-table/AGENTS.md +4 -4
  660. package/dist/collection/components/mds-table/documentation.json +10 -9
  661. package/dist/collection/components/mds-table/examples.md +21 -0
  662. package/dist/collection/components/mds-table/mds-table.js +42 -15
  663. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  664. package/dist/collection/components/mds-table-body/documentation.json +3 -2
  665. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  666. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  667. package/dist/collection/components/mds-table-cell/documentation.json +3 -2
  668. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  669. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  670. package/dist/collection/components/mds-table-footer/documentation.json +3 -2
  671. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  672. package/dist/collection/components/mds-table-header/AGENTS.md +3 -3
  673. package/dist/collection/components/mds-table-header/documentation.json +5 -8
  674. package/dist/collection/components/mds-table-header/mds-table-header.js +9 -14
  675. package/dist/collection/components/mds-table-header/mistakes.md +1 -1
  676. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  677. package/dist/collection/components/mds-table-header-cell/documentation.json +3 -2
  678. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  679. package/dist/collection/components/mds-table-row/AGENTS.md +2 -2
  680. package/dist/collection/components/mds-table-row/documentation.json +4 -3
  681. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  682. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  683. package/dist/collection/components/mds-text/documentation.json +3 -2
  684. package/dist/collection/components/mds-text/mds-text.js +1 -1
  685. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  686. package/dist/collection/components/mds-toast/documentation.json +3 -2
  687. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  688. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  689. package/dist/collection/components/mds-toast-region/documentation.json +3 -2
  690. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  691. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  692. package/dist/collection/components/mds-tooltip/documentation.json +3 -2
  693. package/dist/collection/components/mds-tooltip/mds-tooltip.js +27 -9
  694. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  695. package/dist/collection/components/mds-tree/documentation.json +3 -2
  696. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  697. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  698. package/dist/collection/components/mds-tree-item/documentation.json +3 -2
  699. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  700. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  701. package/dist/collection/components/mds-url-view/documentation.json +3 -2
  702. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -14
  703. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  704. package/dist/collection/components/mds-usage/documentation.json +3 -2
  705. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  706. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  707. package/dist/collection/components/mds-video-wall/documentation.json +3 -2
  708. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  709. package/dist/collection/components/mds-zero/AGENTS.md +7 -6
  710. package/dist/collection/components/mds-zero/documentation.json +6 -5
  711. package/dist/collection/components/mds-zero/examples.md +37 -19
  712. package/dist/collection/components/mds-zero/mds-zero.css +22 -24
  713. package/dist/collection/components/mds-zero/mds-zero.js +17 -1
  714. package/dist/collection/components/mds-zero/mistakes.md +46 -8
  715. package/dist/collection/fixtures/dark-mode.js +16 -0
  716. package/dist/collection/index.js +2 -20
  717. package/dist/collection/type/file-types.js +1 -1
  718. package/dist/collection/type/input.js +1 -0
  719. package/dist/components/index.d.ts +2 -0
  720. package/dist/components/index.js +1 -1
  721. package/dist/components/mds-accordion-item.js +1 -1
  722. package/dist/components/mds-accordion-timer-item.js +1 -1
  723. package/dist/components/mds-accordion-timer.js +1 -1
  724. package/dist/components/mds-accordion.js +1 -1
  725. package/dist/components/mds-author.js +1 -1
  726. package/dist/components/mds-avatar-stack-item.js +1 -1
  727. package/dist/components/mds-avatar-stack.js +1 -1
  728. package/dist/components/mds-avatar.js +1 -1
  729. package/dist/components/mds-badge.js +1 -1
  730. package/dist/components/mds-banner.js +1 -1
  731. package/dist/components/mds-benchmark-bar.js +1 -1
  732. package/dist/components/mds-bibliography.js +1 -1
  733. package/dist/components/mds-book.js +1 -1
  734. package/dist/components/mds-breadcrumb-item.js +1 -1
  735. package/dist/components/mds-breadcrumb.js +1 -1
  736. package/dist/components/mds-button-dropdown.js +1 -1
  737. package/dist/components/mds-button-group.js +1 -1
  738. package/dist/components/mds-button.js +1 -1
  739. package/dist/components/mds-calendar-cell.js +1 -1
  740. package/dist/components/mds-calendar.js +1 -1
  741. package/dist/components/mds-card-content.js +1 -1
  742. package/dist/components/mds-card-footer.js +1 -1
  743. package/dist/components/mds-card-header.js +1 -1
  744. package/dist/components/mds-card-media.js +1 -1
  745. package/dist/components/mds-card.js +1 -1
  746. package/dist/components/mds-chip.js +1 -1
  747. package/dist/components/mds-details.js +1 -1
  748. package/dist/components/mds-dropdown.js +1 -1
  749. package/dist/components/mds-emoji.js +3 -3
  750. package/dist/components/mds-entity.js +1 -1
  751. package/dist/components/mds-file-preview.js +1 -1
  752. package/dist/components/mds-file.js +1 -1
  753. package/dist/components/mds-filter-item.js +1 -1
  754. package/dist/components/mds-filter.js +1 -1
  755. package/dist/components/mds-header-bar.js +1 -1
  756. package/dist/components/mds-header.js +1 -1
  757. package/dist/components/mds-help.js +1 -1
  758. package/dist/components/mds-horizontal-scroll.js +1 -1
  759. package/dist/components/mds-hr.js +1 -1
  760. package/dist/components/mds-icon.js +1 -1
  761. package/dist/components/mds-img.js +1 -1
  762. package/dist/components/mds-input-date-range-preselection.js +1 -1
  763. package/dist/components/mds-input-date-range.js +1 -1
  764. package/dist/components/mds-input-date.js +1 -1
  765. package/dist/components/mds-input-field.js +1 -1
  766. package/dist/components/mds-input-otp.js +1 -1
  767. package/dist/components/mds-input-range-value.d.ts +11 -0
  768. package/dist/components/mds-input-range-value.js +1 -0
  769. package/dist/components/mds-input-range.js +1 -1
  770. package/dist/components/mds-input-select.js +1 -1
  771. package/dist/components/mds-input-switch.js +1 -1
  772. package/dist/components/mds-input-tip-item.js +1 -1
  773. package/dist/components/mds-input-tip.js +1 -1
  774. package/dist/components/mds-input-upload.js +1 -1
  775. package/dist/components/mds-input.js +1 -1
  776. package/dist/components/mds-keyboard-key.js +1 -1
  777. package/dist/components/mds-keyboard.js +1 -1
  778. package/dist/components/mds-kpi-item.js +1 -1
  779. package/dist/components/mds-kpi.js +1 -1
  780. package/dist/components/mds-label.js +1 -1
  781. package/dist/components/mds-link.js +1 -1
  782. package/dist/components/mds-list-item.js +1 -1
  783. package/dist/components/mds-list.js +1 -1
  784. package/dist/components/mds-mention.js +1 -1
  785. package/dist/components/mds-modal.js +1 -1
  786. package/dist/components/mds-note.js +1 -1
  787. package/dist/components/mds-notification.js +1 -1
  788. package/dist/components/mds-paginator-item.js +1 -1
  789. package/dist/components/mds-paginator.js +1 -1
  790. package/dist/components/mds-policy-ai.js +1 -1
  791. package/dist/components/mds-pref-animation.js +1 -1
  792. package/dist/components/mds-pref-consumption.js +1 -1
  793. package/dist/components/mds-pref-contrast.js +1 -1
  794. package/dist/components/mds-pref-language-item.js +1 -1
  795. package/dist/components/mds-pref-language.js +1 -1
  796. package/dist/components/mds-pref-mode.js +1 -1
  797. package/dist/components/mds-pref-theme-item.js +1 -1
  798. package/dist/components/mds-pref-theme.js +1 -1
  799. package/dist/components/mds-pref.js +1 -1
  800. package/dist/components/mds-price-table-features-cell.js +1 -1
  801. package/dist/components/mds-price-table-features-row.js +1 -1
  802. package/dist/components/mds-price-table-features.js +1 -1
  803. package/dist/components/mds-price-table-header.js +1 -1
  804. package/dist/components/mds-price-table-list-item.js +1 -1
  805. package/dist/components/mds-price-table-list.js +1 -1
  806. package/dist/components/mds-price-table.js +1 -1
  807. package/dist/components/mds-progress.js +1 -1
  808. package/dist/components/mds-push-notification-item.js +1 -1
  809. package/dist/components/mds-push-notification.js +1 -1
  810. package/dist/components/mds-quote.js +1 -1
  811. package/dist/components/mds-radial-menu-item.js +1 -1
  812. package/dist/components/mds-radial-menu.js +1 -1
  813. package/dist/components/mds-radial-progress.js +1 -1
  814. package/dist/components/mds-separator.js +1 -1
  815. package/dist/components/mds-spinner.js +1 -1
  816. package/dist/components/mds-status-bar.js +1 -1
  817. package/dist/components/mds-stepper-bar-item.js +1 -1
  818. package/dist/components/mds-stepper-bar.js +1 -1
  819. package/dist/components/mds-tab-bar-item.js +1 -1
  820. package/dist/components/mds-tab-bar.js +1 -1
  821. package/dist/components/mds-tab-item.js +1 -1
  822. package/dist/components/mds-tab.js +1 -1
  823. package/dist/components/mds-table-body.js +1 -1
  824. package/dist/components/mds-table-cell.js +1 -1
  825. package/dist/components/mds-table-footer.js +1 -1
  826. package/dist/components/mds-table-header-cell.js +1 -1
  827. package/dist/components/mds-table-header.js +1 -1
  828. package/dist/components/mds-table-row.js +1 -1
  829. package/dist/components/mds-table.js +1 -1
  830. package/dist/components/mds-text.js +1 -1
  831. package/dist/components/mds-toast-region.js +1 -1
  832. package/dist/components/mds-toast.js +1 -1
  833. package/dist/components/mds-tooltip.js +1 -1
  834. package/dist/components/mds-tree-item.js +1 -1
  835. package/dist/components/mds-tree.js +1 -1
  836. package/dist/components/mds-url-view.js +1 -1
  837. package/dist/components/mds-usage.js +1 -1
  838. package/dist/components/mds-video-wall.js +1 -1
  839. package/dist/components/mds-zero.js +1 -1
  840. package/dist/components/{p-Bbrei_yQ.js → p-AWCYh8Xe.js} +1 -1
  841. package/dist/components/{p-ClvoVgmw.js → p-B-GgEAg7.js} +1 -1
  842. package/dist/components/p-B3npFzUR.js +1 -0
  843. package/dist/components/p-BD9VWE7b.js +1 -0
  844. package/dist/components/{p-BBZyH3mn.js → p-BFZN4zJ9.js} +1 -1
  845. package/dist/components/p-BG1fjwnd.js +1 -0
  846. package/dist/components/{p-BI1ShBQG.js → p-BNl6YWNN.js} +1 -1
  847. package/dist/components/{p-BE05D6Pe.js → p-Bg11_7lt.js} +1 -1
  848. package/dist/components/{p-3rr6yzu-.js → p-BiJ4xa4V.js} +1 -1
  849. package/dist/components/{p-CvbuCEYD.js → p-BmlDGlcB.js} +2 -2
  850. package/dist/components/p-C0m6B_kt.js +1 -0
  851. package/dist/components/{p-j5Hnbfv9.js → p-C589Hkfn.js} +1 -1
  852. package/dist/components/{p-BaFfIZGB.js → p-C7p9e0P3.js} +1 -1
  853. package/dist/components/{p-Vgo7t88R.js → p-C878c9Nu.js} +1 -1
  854. package/dist/components/{p-CWOW2Vna.js → p-CDcB9Zdz.js} +1 -1
  855. package/dist/components/{p-CZwKeFQT.js → p-CS8s4gRV.js} +1 -1
  856. package/dist/components/p-CSw6DbKp.js +1 -0
  857. package/dist/components/p-CUT9aFzz.js +1 -0
  858. package/dist/components/p-CfCw1XZP.js +1 -0
  859. package/dist/components/{p-BpND63Kl.js → p-Cjy1i94z.js} +1 -1
  860. package/dist/components/{p-Do7IoDLD.js → p-Cs80Zm2b.js} +2 -2
  861. package/dist/components/{p-NNPsVjnj.js → p-Cs8RIbsQ.js} +1 -1
  862. package/dist/components/p-CtEHhdv4.js +1 -0
  863. package/dist/components/{p-F0qhFsF0.js → p-Cty6fegI.js} +1 -1
  864. package/dist/components/{p-C6LU1s8K.js → p-D7C-gjL6.js} +1 -1
  865. package/dist/components/{p-DrtIqOQn.js → p-DKYN6Ikh.js} +1 -1
  866. package/dist/components/p-DvccsLwr.js +1 -0
  867. package/dist/components/{p-CrOv4KdL.js → p-DxNrlomi.js} +1 -1
  868. package/dist/components/p-G8GFHw3L.js +1 -0
  869. package/dist/components/p-MjWyZlga.js +1 -0
  870. package/dist/components/p-VoGfNJRY.js +1 -0
  871. package/dist/components/{p-BuhoBOYR.js → p-WFNxKo1V.js} +1 -1
  872. package/dist/components/{p-DN1yF-xO.js → p-aZlZ1XB9.js} +1 -1
  873. package/dist/components/p-g2_CekDc.js +3 -0
  874. package/dist/components/p-kS9VRIWa.js +1 -0
  875. package/dist/components/{p-BBrPpCNK.js → p-oHBGZ2Av.js} +1 -1
  876. package/dist/documentation.json +530 -157
  877. package/dist/esm/{floating-controller-xixU_s1w.js → floating-controller-DlFrvBTG.js} +51 -4
  878. package/dist/esm/{floating-ui.dom-BaFfIZGB.js → floating-ui.dom-C7p9e0P3.js} +1 -1
  879. package/dist/esm/{index-CvLLN-QH.js → index-CPibDZjX.js} +87 -44
  880. package/dist/esm/{index-DEL0bLpb.js → index-DWniH_Ge.js} +12 -1
  881. package/dist/esm/index.js +45 -3
  882. package/dist/esm/loader.js +3 -3
  883. package/dist/esm/{locale-DhP1Ge2o.js → locale-B7Hw4niB.js} +1 -1
  884. package/dist/esm/magma-components.js +4 -4
  885. package/dist/esm/mds-accordion-item.entry.js +10 -7
  886. package/dist/esm/mds-accordion-timer-item.entry.js +10 -7
  887. package/dist/esm/mds-accordion-timer.entry.js +4 -3
  888. package/dist/esm/mds-accordion.entry.js +5 -4
  889. package/dist/esm/mds-author.entry.js +4 -3
  890. package/dist/esm/mds-avatar-stack-item.entry.js +4 -3
  891. package/dist/esm/mds-avatar-stack.entry.js +4 -3
  892. package/dist/esm/mds-avatar.entry.js +5 -4
  893. package/dist/esm/mds-badge.entry.js +5 -4
  894. package/dist/esm/mds-banner_3.entry.js +56 -27
  895. package/dist/esm/mds-benchmark-bar.entry.js +4 -3
  896. package/dist/esm/mds-bibliography.entry.js +4 -3
  897. package/dist/esm/mds-book.entry.js +8 -7
  898. package/dist/esm/mds-breadcrumb-item.entry.js +4 -3
  899. package/dist/esm/mds-breadcrumb.entry.js +6 -5
  900. package/dist/esm/mds-button-dropdown.entry.js +7 -6
  901. package/dist/esm/mds-button-group.entry.js +5 -4
  902. package/dist/esm/mds-button_3.entry.js +15 -12
  903. package/dist/esm/mds-calendar_2.entry.js +190 -305
  904. package/dist/esm/mds-card-content.entry.js +4 -3
  905. package/dist/esm/mds-card-footer.entry.js +5 -4
  906. package/dist/esm/mds-card-header.entry.js +4 -3
  907. package/dist/esm/mds-card-media.entry.js +4 -3
  908. package/dist/esm/mds-card.entry.js +6 -5
  909. package/dist/esm/mds-details.entry.js +5 -4
  910. package/dist/esm/mds-dropdown.entry.js +46 -17
  911. package/dist/esm/mds-emoji.entry.js +5 -4
  912. package/dist/esm/mds-entity.entry.js +5 -4
  913. package/dist/esm/mds-file-preview.entry.js +7 -6
  914. package/dist/esm/mds-file.entry.js +6 -5
  915. package/dist/esm/mds-filter-item.entry.js +6 -5
  916. package/dist/esm/mds-filter.entry.js +6 -5
  917. package/dist/esm/mds-header-bar.entry.js +6 -5
  918. package/dist/esm/mds-header.entry.js +5 -4
  919. package/dist/esm/mds-horizontal-scroll.entry.js +6 -5
  920. package/dist/esm/mds-hr.entry.js +5 -4
  921. package/dist/esm/mds-img.entry.js +5 -4
  922. package/dist/esm/mds-input-date-range-preselection.entry.js +4 -3
  923. package/dist/esm/mds-input-date-range.entry.js +126 -31
  924. package/dist/esm/mds-input-date.entry.js +26 -12
  925. package/dist/esm/mds-input-field.entry.js +4 -3
  926. package/dist/esm/mds-input-otp.entry.js +6 -5
  927. package/dist/esm/mds-input-range-value.entry.js +16 -0
  928. package/dist/esm/mds-input-range.entry.js +410 -29
  929. package/dist/esm/mds-input-select.entry.js +9 -8
  930. package/dist/esm/mds-input-switch_2.entry.js +9 -7
  931. package/dist/esm/mds-input-tip_2.entry.js +17 -12
  932. package/dist/esm/mds-input-upload.entry.js +10 -9
  933. package/dist/esm/mds-input.entry.js +292 -35
  934. package/dist/esm/mds-keyboard-key.entry.js +6 -5
  935. package/dist/esm/mds-keyboard.entry.js +6 -5
  936. package/dist/esm/mds-kpi-item.entry.js +5 -4
  937. package/dist/esm/mds-kpi.entry.js +4 -3
  938. package/dist/esm/mds-label.entry.js +6 -5
  939. package/dist/esm/mds-link.entry.js +9 -8
  940. package/dist/esm/mds-list-item.entry.js +4 -3
  941. package/dist/esm/mds-list.entry.js +4 -3
  942. package/dist/esm/mds-mention.entry.js +6 -5
  943. package/dist/esm/mds-modal.entry.js +7 -6
  944. package/dist/esm/mds-note.entry.js +6 -5
  945. package/dist/esm/mds-notification.entry.js +6 -5
  946. package/dist/esm/mds-paginator-item.entry.js +5 -4
  947. package/dist/esm/mds-paginator.entry.js +6 -5
  948. package/dist/esm/mds-policy-ai.entry.js +6 -5
  949. package/dist/esm/mds-pref-animation.entry.js +6 -5
  950. package/dist/esm/mds-pref-consumption.entry.js +6 -5
  951. package/dist/esm/mds-pref-contrast.entry.js +6 -5
  952. package/dist/esm/mds-pref-language-item.entry.js +6 -5
  953. package/dist/esm/mds-pref-language.entry.js +6 -5
  954. package/dist/esm/mds-pref-mode.entry.js +6 -5
  955. package/dist/esm/mds-pref-theme-item.entry.js +4 -3
  956. package/dist/esm/mds-pref-theme.entry.js +6 -5
  957. package/dist/esm/mds-pref.entry.js +12 -6
  958. package/dist/esm/mds-price-table-features-cell.entry.js +5 -4
  959. package/dist/esm/mds-price-table-features-row.entry.js +5 -4
  960. package/dist/esm/mds-price-table-features.entry.js +5 -4
  961. package/dist/esm/mds-price-table-header.entry.js +4 -3
  962. package/dist/esm/mds-price-table-list-item.entry.js +4 -3
  963. package/dist/esm/mds-price-table-list.entry.js +5 -4
  964. package/dist/esm/mds-price-table.entry.js +4 -3
  965. package/dist/esm/mds-progress_2.entry.js +13 -8
  966. package/dist/esm/mds-push-notification-item.entry.js +7 -6
  967. package/dist/esm/mds-push-notification.entry.js +6 -5
  968. package/dist/esm/mds-quote.entry.js +5 -4
  969. package/dist/esm/mds-radial-menu-item.entry.js +4 -3
  970. package/dist/esm/mds-radial-menu.entry.js +8 -7
  971. package/dist/esm/mds-separator.entry.js +5 -4
  972. package/dist/esm/mds-status-bar.entry.js +5 -4
  973. package/dist/esm/mds-stepper-bar-item.entry.js +7 -6
  974. package/dist/esm/mds-stepper-bar.entry.js +6 -6
  975. package/dist/esm/mds-tab-bar-item.entry.js +5 -4
  976. package/dist/esm/mds-tab-bar.entry.js +5 -4
  977. package/dist/esm/mds-tab_2.entry.js +41 -17
  978. package/dist/esm/mds-table-body.entry.js +5 -4
  979. package/dist/esm/mds-table-footer.entry.js +5 -4
  980. package/dist/esm/mds-table-header-cell.entry.js +5 -4
  981. package/dist/esm/mds-table-header.entry.js +14 -14
  982. package/dist/esm/mds-table-row.entry.js +7 -6
  983. package/dist/esm/mds-table.entry.js +42 -14
  984. package/dist/esm/mds-text.entry.js +5 -4
  985. package/dist/esm/mds-toast-region.entry.js +4 -3
  986. package/dist/esm/mds-toast.entry.js +6 -5
  987. package/dist/esm/mds-tooltip.entry.js +33 -14
  988. package/dist/esm/mds-tree-item.entry.js +6 -5
  989. package/dist/esm/mds-tree.entry.js +4 -3
  990. package/dist/esm/mds-url-view.entry.js +6 -18
  991. package/dist/esm/mds-usage.entry.js +6 -5
  992. package/dist/esm/mds-video-wall.entry.js +5 -4
  993. package/dist/esm/mds-zero.entry.js +15 -5
  994. package/dist/esm/{navigation-Bz1eiKqd.js → navigation-To9IeLHs.js} +7 -0
  995. package/dist/esm/{preference-C8foBO86.js → preference-CBMLGSf7.js} +1 -1
  996. package/dist/esm-es5/{floating-controller-xixU_s1w.js → floating-controller-DlFrvBTG.js} +32 -12
  997. package/dist/esm-es5/{floating-ui.dom-BaFfIZGB.js → floating-ui.dom-C7p9e0P3.js} +18 -18
  998. package/dist/esm-es5/{index-CvLLN-QH.js → index-CPibDZjX.js} +30 -27
  999. package/dist/esm-es5/index-DWniH_Ge.js +13 -0
  1000. package/dist/esm-es5/index.js +47 -5
  1001. package/dist/esm-es5/loader.js +1 -1
  1002. package/dist/esm-es5/{locale-DhP1Ge2o.js → locale-B7Hw4niB.js} +1 -1
  1003. package/dist/esm-es5/magma-components.js +3 -3
  1004. package/dist/esm-es5/mds-accordion-item.entry.js +6 -4
  1005. package/dist/esm-es5/mds-accordion-timer-item.entry.js +6 -4
  1006. package/dist/esm-es5/mds-accordion-timer.entry.js +4 -4
  1007. package/dist/esm-es5/mds-accordion.entry.js +4 -4
  1008. package/dist/esm-es5/mds-author.entry.js +1 -1
  1009. package/dist/esm-es5/mds-avatar-stack-item.entry.js +2 -2
  1010. package/dist/esm-es5/mds-avatar-stack.entry.js +2 -2
  1011. package/dist/esm-es5/mds-avatar.entry.js +7 -7
  1012. package/dist/esm-es5/mds-badge.entry.js +2 -2
  1013. package/dist/esm-es5/mds-banner_3.entry.js +25 -6
  1014. package/dist/esm-es5/mds-benchmark-bar.entry.js +3 -3
  1015. package/dist/esm-es5/mds-bibliography.entry.js +6 -6
  1016. package/dist/esm-es5/mds-book.entry.js +22 -22
  1017. package/dist/esm-es5/mds-breadcrumb-item.entry.js +2 -2
  1018. package/dist/esm-es5/mds-breadcrumb.entry.js +4 -4
  1019. package/dist/esm-es5/mds-button-dropdown.entry.js +5 -5
  1020. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  1021. package/dist/esm-es5/mds-button_3.entry.js +20 -20
  1022. package/dist/esm-es5/mds-calendar_2.entry.js +56 -14
  1023. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  1024. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  1025. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  1026. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  1027. package/dist/esm-es5/mds-card.entry.js +3 -3
  1028. package/dist/esm-es5/mds-details.entry.js +3 -3
  1029. package/dist/esm-es5/mds-dropdown.entry.js +31 -16
  1030. package/dist/esm-es5/mds-emoji.entry.js +44 -44
  1031. package/dist/esm-es5/mds-entity.entry.js +1 -1
  1032. package/dist/esm-es5/mds-file-preview.entry.js +5 -5
  1033. package/dist/esm-es5/mds-file.entry.js +7 -7
  1034. package/dist/esm-es5/mds-filter-item.entry.js +4 -4
  1035. package/dist/esm-es5/mds-filter.entry.js +7 -7
  1036. package/dist/esm-es5/mds-header-bar.entry.js +3 -3
  1037. package/dist/esm-es5/mds-header.entry.js +8 -8
  1038. package/dist/esm-es5/mds-horizontal-scroll.entry.js +13 -13
  1039. package/dist/esm-es5/mds-hr.entry.js +1 -1
  1040. package/dist/esm-es5/mds-img.entry.js +4 -4
  1041. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +3 -3
  1042. package/dist/esm-es5/mds-input-date-range.entry.js +48 -15
  1043. package/dist/esm-es5/mds-input-date.entry.js +19 -10
  1044. package/dist/esm-es5/mds-input-field.entry.js +4 -4
  1045. package/dist/esm-es5/mds-input-otp.entry.js +6 -6
  1046. package/dist/esm-es5/mds-input-range-value.entry.js +1 -0
  1047. package/dist/esm-es5/mds-input-range.entry.js +93 -12
  1048. package/dist/esm-es5/mds-input-select.entry.js +4 -4
  1049. package/dist/esm-es5/mds-input-switch_2.entry.js +5 -5
  1050. package/dist/esm-es5/mds-input-tip_2.entry.js +9 -6
  1051. package/dist/esm-es5/mds-input-upload.entry.js +8 -8
  1052. package/dist/esm-es5/mds-input.entry.js +157 -52
  1053. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  1054. package/dist/esm-es5/mds-keyboard.entry.js +7 -7
  1055. package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
  1056. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  1057. package/dist/esm-es5/mds-label.entry.js +2 -2
  1058. package/dist/esm-es5/mds-link.entry.js +7 -7
  1059. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  1060. package/dist/esm-es5/mds-list.entry.js +1 -1
  1061. package/dist/esm-es5/mds-mention.entry.js +2 -2
  1062. package/dist/esm-es5/mds-modal.entry.js +14 -14
  1063. package/dist/esm-es5/mds-note.entry.js +3 -3
  1064. package/dist/esm-es5/mds-notification.entry.js +8 -8
  1065. package/dist/esm-es5/mds-paginator-item.entry.js +3 -3
  1066. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  1067. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  1068. package/dist/esm-es5/mds-pref-animation.entry.js +4 -4
  1069. package/dist/esm-es5/mds-pref-consumption.entry.js +4 -4
  1070. package/dist/esm-es5/mds-pref-contrast.entry.js +4 -4
  1071. package/dist/esm-es5/mds-pref-language-item.entry.js +3 -3
  1072. package/dist/esm-es5/mds-pref-language.entry.js +9 -9
  1073. package/dist/esm-es5/mds-pref-mode.entry.js +7 -7
  1074. package/dist/esm-es5/mds-pref-theme-item.entry.js +5 -5
  1075. package/dist/esm-es5/mds-pref-theme.entry.js +14 -14
  1076. package/dist/esm-es5/mds-pref.entry.js +7 -4
  1077. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  1078. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  1079. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  1080. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  1081. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  1082. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  1083. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  1084. package/dist/esm-es5/mds-progress_2.entry.js +9 -5
  1085. package/dist/esm-es5/mds-push-notification-item.entry.js +3 -3
  1086. package/dist/esm-es5/mds-push-notification.entry.js +7 -7
  1087. package/dist/esm-es5/mds-quote.entry.js +2 -2
  1088. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  1089. package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
  1090. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1091. package/dist/esm-es5/mds-status-bar.entry.js +3 -3
  1092. package/dist/esm-es5/mds-stepper-bar-item.entry.js +5 -5
  1093. package/dist/esm-es5/mds-stepper-bar.entry.js +8 -5
  1094. package/dist/esm-es5/mds-tab-bar-item.entry.js +4 -4
  1095. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  1096. package/dist/esm-es5/mds-tab_2.entry.js +31 -11
  1097. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1098. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  1099. package/dist/esm-es5/mds-table-header-cell.entry.js +7 -7
  1100. package/dist/esm-es5/mds-table-header.entry.js +9 -8
  1101. package/dist/esm-es5/mds-table-row.entry.js +4 -4
  1102. package/dist/esm-es5/mds-table.entry.js +24 -11
  1103. package/dist/esm-es5/mds-text.entry.js +7 -7
  1104. package/dist/esm-es5/mds-toast-region.entry.js +5 -5
  1105. package/dist/esm-es5/mds-toast.entry.js +7 -7
  1106. package/dist/esm-es5/mds-tooltip.entry.js +12 -3
  1107. package/dist/esm-es5/mds-tree-item.entry.js +7 -7
  1108. package/dist/esm-es5/mds-tree.entry.js +5 -5
  1109. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  1110. package/dist/esm-es5/mds-usage.entry.js +3 -3
  1111. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  1112. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1113. package/dist/esm-es5/{navigation-Bz1eiKqd.js → navigation-To9IeLHs.js} +8 -1
  1114. package/dist/esm-es5/{preference-C8foBO86.js → preference-CBMLGSf7.js} +1 -1
  1115. package/dist/hydrate/index.js +2097 -1008
  1116. package/dist/hydrate/index.mjs +2097 -1008
  1117. package/dist/magma-components/index.esm.js +1 -1
  1118. package/dist/magma-components/magma-components.esm.js +1 -1
  1119. package/dist/magma-components/magma-components.js +1 -1
  1120. package/dist/magma-components/{p-c4c1ef48.system.entry.js → p-009e4359.system.entry.js} +118 -118
  1121. package/dist/magma-components/{p-f0909679.system.entry.js → p-01d6d5a5.system.entry.js} +24 -11
  1122. package/dist/magma-components/p-03285704.entry.js +1 -0
  1123. package/dist/magma-components/p-03441f69.entry.js +1 -0
  1124. package/dist/magma-components/p-03896fbd.entry.js +1 -0
  1125. package/dist/magma-components/p-038fc1db.entry.js +1 -0
  1126. package/dist/magma-components/{p-e3b9ea0b.system.entry.js → p-03a2f4e7.system.entry.js} +2 -2
  1127. package/dist/magma-components/{p-caca78ff.system.entry.js → p-06ba1f71.system.entry.js} +4 -4
  1128. package/dist/magma-components/p-0760e8a4.entry.js +1 -0
  1129. package/dist/magma-components/p-082b787b.entry.js +1 -0
  1130. package/dist/magma-components/p-09537867.entry.js +1 -0
  1131. package/dist/magma-components/p-09675899.entry.js +1 -0
  1132. package/dist/magma-components/p-0a914567.entry.js +1 -0
  1133. package/dist/magma-components/p-0c8dd132.entry.js +1 -0
  1134. package/dist/magma-components/p-0d7370d8.system.entry.js +1 -0
  1135. package/dist/magma-components/{p-7a73fd19.system.entry.js → p-0e7bb90b.system.entry.js} +20 -20
  1136. package/dist/magma-components/{p-dd348171.system.entry.js → p-10a68a4d.system.entry.js} +2 -2
  1137. package/dist/magma-components/p-11312b0c.entry.js +1 -0
  1138. package/dist/magma-components/{p-840c19ee.system.entry.js → p-11543f44.system.entry.js} +4 -4
  1139. package/dist/magma-components/{p-3a836de8.system.entry.js → p-11ee7089.system.entry.js} +5 -5
  1140. package/dist/magma-components/p-13e94501.entry.js +1 -0
  1141. package/dist/magma-components/{p-c9baa3fb.system.entry.js → p-14f60718.system.entry.js} +1 -1
  1142. package/dist/magma-components/p-16651356.entry.js +1 -0
  1143. package/dist/magma-components/p-1686b36a.entry.js +1 -0
  1144. package/dist/magma-components/{p-2e825656.system.entry.js → p-16a7e26a.system.entry.js} +4 -4
  1145. package/dist/magma-components/p-1784d5fb.entry.js +1 -0
  1146. package/dist/magma-components/p-18421a84.entry.js +1 -0
  1147. package/dist/magma-components/p-1934151b.entry.js +1 -0
  1148. package/dist/magma-components/p-193b58d0.entry.js +1 -0
  1149. package/dist/magma-components/{p-720e9291.system.entry.js → p-19f3b524.system.entry.js} +6 -6
  1150. package/dist/magma-components/{p-c54f2089.system.entry.js → p-1d101083.system.entry.js} +1 -1
  1151. package/dist/magma-components/p-1db5ab39.entry.js +1 -0
  1152. package/dist/magma-components/{p-24fb2c5c.system.entry.js → p-1e5d4854.system.entry.js} +7 -7
  1153. package/dist/magma-components/p-1f756317.entry.js +1 -0
  1154. package/dist/magma-components/p-2100343f.entry.js +1 -0
  1155. package/dist/magma-components/p-211b2675.system.entry.js +1 -0
  1156. package/dist/magma-components/{p-ca5427d4.system.entry.js → p-2289423c.system.entry.js} +1 -1
  1157. package/dist/magma-components/p-26aad538.entry.js +1 -0
  1158. package/dist/magma-components/p-270e9afa.entry.js +1 -0
  1159. package/dist/magma-components/{p-9f0100f2.system.entry.js → p-275d7968.system.entry.js} +14 -14
  1160. package/dist/magma-components/{p-5f20592f.system.entry.js → p-28ecae1e.system.entry.js} +2 -2
  1161. package/dist/magma-components/{p-c94e7973.system.entry.js → p-2a5223df.system.entry.js} +7 -7
  1162. package/dist/magma-components/p-2aa3e73a.system.entry.js +13 -0
  1163. package/dist/magma-components/p-2c64ec7e.entry.js +1 -0
  1164. package/dist/magma-components/{p-bcc6c358.system.entry.js → p-2dc9499c.system.entry.js} +3 -3
  1165. package/dist/magma-components/{p-00d2ef14.system.entry.js → p-2dd32b3f.system.entry.js} +7 -7
  1166. package/dist/magma-components/{p-380adee8.system.entry.js → p-2e5684a0.system.entry.js} +2 -2
  1167. package/dist/magma-components/{p-390d0672.system.entry.js → p-303173d5.system.entry.js} +3 -3
  1168. package/dist/magma-components/{p-7a4e8bc0.system.entry.js → p-33172d6f.system.entry.js} +8 -5
  1169. package/dist/magma-components/p-333c0ae5.entry.js +1 -0
  1170. package/dist/magma-components/p-3341ac50.entry.js +1 -0
  1171. package/dist/magma-components/p-34183ce3.entry.js +1 -0
  1172. package/dist/magma-components/p-35a77756.entry.js +1 -0
  1173. package/dist/magma-components/p-37172440.entry.js +1 -0
  1174. package/dist/magma-components/{p-3c911608.system.entry.js → p-37470fef.system.entry.js} +9 -5
  1175. package/dist/magma-components/p-3b41f929.entry.js +1 -0
  1176. package/dist/magma-components/p-3ccc1c10.entry.js +1 -0
  1177. package/dist/magma-components/p-3d0578a7.entry.js +1 -0
  1178. package/dist/magma-components/p-3d45d7a7.entry.js +1 -0
  1179. package/dist/magma-components/{p-caf478ff.system.entry.js → p-3d60f528.system.entry.js} +2 -2
  1180. package/dist/magma-components/p-3fb983e9.system.entry.js +1 -0
  1181. package/dist/magma-components/p-4082973c.system.entry.js +30 -0
  1182. package/dist/magma-components/p-41829c15.system.entry.js +7 -0
  1183. package/dist/magma-components/p-420c5af4.entry.js +1 -0
  1184. package/dist/magma-components/p-4242100c.entry.js +1 -0
  1185. package/dist/magma-components/p-430239ca.entry.js +8 -0
  1186. package/dist/magma-components/p-4564e7ad.entry.js +1 -0
  1187. package/dist/magma-components/{p-6336d979.entry.js → p-47712df6.entry.js} +1 -1
  1188. package/dist/magma-components/p-478bbfdb.entry.js +1 -0
  1189. package/dist/magma-components/p-478e6930.entry.js +1 -0
  1190. package/dist/magma-components/{p-c691f27e.system.entry.js → p-483480f9.system.entry.js} +31 -11
  1191. package/dist/magma-components/p-4bb45501.entry.js +1 -0
  1192. package/dist/magma-components/p-4e431466.entry.js +1 -0
  1193. package/dist/magma-components/{p-1dc0d59c.system.entry.js → p-4e4dd1c1.system.entry.js} +5 -5
  1194. package/dist/magma-components/{p-109926ce.system.entry.js → p-522968d1.system.entry.js} +6 -6
  1195. package/dist/magma-components/{p-7e0a8194.system.entry.js → p-52b73a95.system.entry.js} +7 -7
  1196. package/dist/magma-components/p-533bb401.system.entry.js +60 -0
  1197. package/dist/magma-components/{p-9228db0b.system.entry.js → p-555bd3f8.system.entry.js} +7 -7
  1198. package/dist/magma-components/{p-804f4794.system.entry.js → p-56715bbc.system.entry.js} +4 -4
  1199. package/dist/magma-components/{p-527569a3.system.entry.js → p-586878a2.system.entry.js} +2 -2
  1200. package/dist/magma-components/{p-3cf8ed46.system.entry.js → p-58bbada6.system.entry.js} +1 -1
  1201. package/dist/magma-components/{p-eac943e5.system.entry.js → p-5b5d57b0.system.entry.js} +4 -4
  1202. package/dist/magma-components/p-5c0f0517.entry.js +1 -0
  1203. package/dist/magma-components/p-5c4aed7e.entry.js +1 -0
  1204. package/dist/magma-components/p-5d8cb375.system.entry.js +107 -0
  1205. package/dist/magma-components/p-62e42a62.entry.js +1 -0
  1206. package/dist/magma-components/p-6443e40f.entry.js +1 -0
  1207. package/dist/magma-components/{p-11456781.system.entry.js → p-6471c0a4.system.entry.js} +2 -2
  1208. package/dist/magma-components/{p-b871ad36.system.entry.js → p-6619b3c0.system.entry.js} +11 -11
  1209. package/dist/magma-components/p-67fa6fd7.entry.js +1 -0
  1210. package/dist/magma-components/{p-79085c46.system.entry.js → p-68d83e18.system.entry.js} +1 -1
  1211. package/dist/magma-components/{p-3ba14295.system.entry.js → p-6c6ec154.system.entry.js} +4 -4
  1212. package/dist/magma-components/{p-8ac1ba5c.system.entry.js → p-6d7e8240.system.entry.js} +4 -4
  1213. package/dist/magma-components/{p-3f0e6729.system.entry.js → p-6de384d0.system.entry.js} +3 -3
  1214. package/dist/magma-components/p-6fb17347.system.entry.js +1 -0
  1215. package/dist/magma-components/p-6fdf3b37.entry.js +1 -0
  1216. package/dist/magma-components/p-70cf2c28.entry.js +1 -0
  1217. package/dist/magma-components/p-73596a07.entry.js +1 -0
  1218. package/dist/magma-components/{p-a5ca10ae.system.entry.js → p-73a6ee3b.system.entry.js} +1 -1
  1219. package/dist/magma-components/{p-a9ab9eb0.system.entry.js → p-73b0b35f.system.entry.js} +2 -2
  1220. package/dist/magma-components/p-73c0b53e.system.entry.js +82 -0
  1221. package/dist/magma-components/p-73f22a7d.entry.js +1 -0
  1222. package/dist/magma-components/p-756cd3dc.entry.js +1 -0
  1223. package/dist/magma-components/p-757c3420.entry.js +1 -0
  1224. package/dist/magma-components/p-778a46fa.entry.js +1 -0
  1225. package/dist/magma-components/p-78cced59.entry.js +1 -0
  1226. package/dist/magma-components/p-7caf244b.system.entry.js +7 -0
  1227. package/dist/magma-components/p-7cfa2415.system.entry.js +1 -0
  1228. package/dist/magma-components/p-7e87807d.entry.js +1 -0
  1229. package/dist/magma-components/p-8193fd71.entry.js +1 -0
  1230. package/dist/magma-components/p-82041de2.entry.js +1 -0
  1231. package/dist/magma-components/{p-a2d4d849.system.entry.js → p-825713bc.system.entry.js} +2 -2
  1232. package/dist/magma-components/p-851010c6.system.entry.js +25 -0
  1233. package/dist/magma-components/p-857e893e.system.entry.js +26 -0
  1234. package/dist/magma-components/p-8928d9b5.system.entry.js +110 -0
  1235. package/dist/magma-components/p-8aa6524e.entry.js +1 -0
  1236. package/dist/magma-components/p-8acbf50a.entry.js +1 -0
  1237. package/dist/magma-components/p-8e471af5.entry.js +1 -0
  1238. package/dist/magma-components/p-913123e6.entry.js +1 -0
  1239. package/dist/magma-components/{p-724b7fff.system.entry.js → p-91406af1.system.entry.js} +9 -8
  1240. package/dist/magma-components/p-95a29fd2.entry.js +1 -0
  1241. package/dist/magma-components/{p-4a9ed4f7.system.entry.js → p-96ece2cc.system.entry.js} +4 -4
  1242. package/dist/magma-components/p-96f66b8f.entry.js +1 -0
  1243. package/dist/magma-components/{p-2a5167e3.system.entry.js → p-97e55f7e.system.entry.js} +5 -5
  1244. package/dist/magma-components/{p-bc054fa3.system.entry.js → p-98a3802b.system.entry.js} +33 -18
  1245. package/dist/magma-components/{p-0da5c696.system.entry.js → p-9b00051f.system.entry.js} +8 -8
  1246. package/dist/magma-components/p-9be80c34.entry.js +1 -0
  1247. package/dist/magma-components/{p-7701a318.system.entry.js → p-9c0d1025.system.entry.js} +1 -1
  1248. package/dist/magma-components/{p-6f90c2c9.system.entry.js → p-9e3c1c28.system.entry.js} +9 -9
  1249. package/dist/magma-components/{p-BoDvZoCN.system.js → p-B6f9M1Bj.system.js} +8 -1
  1250. package/dist/magma-components/p-B7Jp0tqu.system.js +5 -0
  1251. package/dist/magma-components/p-BAW1DAbr.system.js +13 -0
  1252. package/dist/magma-components/{p-nFkaC8l_.system.js → p-BAcul0Zt.system.js} +1 -1
  1253. package/dist/magma-components/{p-DxR4rGsw.js → p-BXkIXROP.js} +1 -1
  1254. package/dist/magma-components/{p-CATyfc78.js → p-BkfGbFba.js} +2 -2
  1255. package/dist/magma-components/{p-BaFfIZGB.js → p-C7p9e0P3.js} +1 -1
  1256. package/dist/magma-components/p-CPibDZjX.js +3 -0
  1257. package/dist/magma-components/{p-Cbabyppz.system.js → p-CyPLJo0p.system.js} +34 -14
  1258. package/dist/magma-components/{p-BHdlb7Fr.system.js → p-CzZWts7L.system.js} +8 -8
  1259. package/dist/magma-components/{p-VOjLCGlK.system.js → p-D5Yayq7E.system.js} +47 -5
  1260. package/dist/magma-components/{p-DOisMne4.system.js → p-DGfoeZMw.system.js} +6 -6
  1261. package/dist/magma-components/{p-BZP13mns.system.js → p-EhfbAdzV.system.js} +52 -51
  1262. package/dist/magma-components/p-H8sVzFTL.js +1 -0
  1263. package/dist/magma-components/p-a00805cd.system.entry.js +136 -0
  1264. package/dist/magma-components/p-a025b35b.entry.js +1 -0
  1265. package/dist/magma-components/p-a02819e3.entry.js +1 -0
  1266. package/dist/magma-components/p-a0389821.entry.js +1 -0
  1267. package/dist/magma-components/p-a075c069.entry.js +1 -0
  1268. package/dist/magma-components/p-a0764f01.entry.js +1 -0
  1269. package/dist/magma-components/{p-54abba52.system.entry.js → p-a171c096.system.entry.js} +4 -4
  1270. package/dist/magma-components/{p-9b0b65f0.system.entry.js → p-a190c325.system.entry.js} +3 -3
  1271. package/dist/magma-components/{p-f2649031.entry.js → p-a33a235e.entry.js} +1 -1
  1272. package/dist/magma-components/{p-7fbdf896.system.entry.js → p-a4aaf1c6.system.entry.js} +8 -8
  1273. package/dist/magma-components/{p-c8c918d2.entry.js → p-a9c7fb3f.entry.js} +3 -3
  1274. package/dist/magma-components/{p-372fa5d4.system.entry.js → p-a9d100e5.system.entry.js} +7 -7
  1275. package/dist/magma-components/{p-09a7c1de.system.entry.js → p-aa601247.system.entry.js} +2 -2
  1276. package/dist/magma-components/{p-ca4e8601.system.entry.js → p-aa86018e.system.entry.js} +2 -2
  1277. package/dist/magma-components/p-ab920e0b.entry.js +1 -0
  1278. package/dist/magma-components/{p-f51ed098.entry.js → p-ac401f1a.entry.js} +1 -1
  1279. package/dist/magma-components/{p-f5bd5b64.system.entry.js → p-ad12fa89.system.entry.js} +3 -3
  1280. package/dist/magma-components/{p-3ddae677.system.entry.js → p-ad6b5fc1.system.entry.js} +3 -3
  1281. package/dist/magma-components/p-ada93f68.entry.js +1 -0
  1282. package/dist/magma-components/{p-4a72d72c.system.entry.js → p-ae258eca.system.entry.js} +2 -2
  1283. package/dist/magma-components/{p-a48c73b1.system.entry.js → p-af1a93c6.system.entry.js} +7 -7
  1284. package/dist/magma-components/p-b0406c51.entry.js +1 -0
  1285. package/dist/magma-components/p-b18b0088.system.entry.js +9 -0
  1286. package/dist/magma-components/p-b1fe6261.entry.js +1 -0
  1287. package/dist/magma-components/{p-99d2ace2.system.entry.js → p-b47c444e.system.entry.js} +2 -2
  1288. package/dist/magma-components/p-b4856322.entry.js +1 -0
  1289. package/dist/magma-components/p-b7d90310.entry.js +1 -0
  1290. package/dist/magma-components/{p-0e1d239b.system.entry.js → p-b8e5411d.system.entry.js} +1 -1
  1291. package/dist/magma-components/{p-4a2ed30e.system.entry.js → p-b95f648f.system.entry.js} +3 -3
  1292. package/dist/magma-components/{p-64f86e46.system.entry.js → p-ba148b89.system.entry.js} +7 -7
  1293. package/dist/magma-components/p-bbbf8b89.system.entry.js +29 -0
  1294. package/dist/magma-components/p-bca909d9.entry.js +1 -0
  1295. package/dist/magma-components/p-bd4ad8c7.entry.js +1 -0
  1296. package/dist/magma-components/p-bd539dbc.entry.js +1 -0
  1297. package/dist/magma-components/{p-f7e9af99.system.entry.js → p-c0c69807.system.entry.js} +2 -2
  1298. package/dist/magma-components/{p-22f24125.system.entry.js → p-c2a883b0.system.entry.js} +1 -1
  1299. package/dist/magma-components/{p-b7d18d7a.system.entry.js → p-c2d9cf4e.system.entry.js} +1 -1
  1300. package/dist/magma-components/{p-555ba0e0.system.entry.js → p-c3cfbc71.system.entry.js} +8 -8
  1301. package/dist/magma-components/p-c5b7f820.system.entry.js +1 -0
  1302. package/dist/magma-components/p-c67655fa.entry.js +1 -0
  1303. package/dist/magma-components/p-c6cab2cb.entry.js +1 -0
  1304. package/dist/magma-components/p-c6f56934.entry.js +1 -0
  1305. package/dist/magma-components/{p-793072e1.system.entry.js → p-c8430552.system.entry.js} +14 -14
  1306. package/dist/magma-components/p-c902d468.entry.js +1 -0
  1307. package/dist/magma-components/p-ca0f3549.entry.js +1 -0
  1308. package/dist/magma-components/{p-98cc6473.system.entry.js → p-ca5867f5.system.entry.js} +15 -15
  1309. package/dist/magma-components/p-cc5518b1.entry.js +1 -0
  1310. package/dist/magma-components/{p-32b3ad6f.entry.js → p-ccb23b6a.entry.js} +1 -1
  1311. package/dist/magma-components/p-ccb64689.system.entry.js +113 -0
  1312. package/dist/magma-components/{p-fe51c0cb.system.entry.js → p-cf8cfcac.system.entry.js} +3 -3
  1313. package/dist/magma-components/p-cfb153b8.entry.js +1 -0
  1314. package/dist/magma-components/p-cfcb8bb5.entry.js +1 -0
  1315. package/dist/magma-components/p-d0b45a54.entry.js +1 -0
  1316. package/dist/magma-components/{p-3f17a06f.system.entry.js → p-d0dfa8b5.system.entry.js} +2 -2
  1317. package/dist/magma-components/p-d1281855.system.entry.js +330 -0
  1318. package/dist/magma-components/{p-48a1871f.system.entry.js → p-d173ae2f.system.entry.js} +1 -1
  1319. package/dist/magma-components/p-d1751ff6.entry.js +1 -0
  1320. package/dist/magma-components/p-d32ca6ce.entry.js +1 -0
  1321. package/dist/magma-components/p-d4452e41.entry.js +1 -0
  1322. package/dist/magma-components/p-d5dec64d.entry.js +1 -0
  1323. package/dist/magma-components/p-d7813f9b.system.entry.js +13 -0
  1324. package/dist/magma-components/{p-27a32865.system.entry.js → p-dd4b04ed.system.entry.js} +3 -3
  1325. package/dist/magma-components/p-ddc31c50.entry.js +1 -0
  1326. package/dist/magma-components/{p-b129b127.system.entry.js → p-df70af5f.system.entry.js} +37 -37
  1327. package/dist/magma-components/p-e009c632.entry.js +1 -0
  1328. package/dist/magma-components/p-e160e4e1.entry.js +1 -0
  1329. package/dist/magma-components/p-e497f0db.entry.js +1 -0
  1330. package/dist/magma-components/p-e4db9ad2.entry.js +1 -0
  1331. package/dist/magma-components/p-e63c1ba4.entry.js +1 -0
  1332. package/dist/magma-components/p-e66db408.entry.js +1 -0
  1333. package/dist/magma-components/{p-5c6fdabd.system.entry.js → p-e84361ee.system.entry.js} +12 -3
  1334. package/dist/magma-components/p-ea93721d.entry.js +1 -0
  1335. package/dist/magma-components/{p-f6358241.system.entry.js → p-eb4f76d8.system.entry.js} +9 -6
  1336. package/dist/magma-components/p-ecf29ffa.entry.js +1 -0
  1337. package/dist/magma-components/{p-5794053b.system.entry.js → p-ede31d27.system.entry.js} +6 -6
  1338. package/dist/magma-components/{p-66f7f9b1.system.entry.js → p-ee247029.system.entry.js} +3 -3
  1339. package/dist/magma-components/{p-45c26a24.system.entry.js → p-ee65f0eb.system.entry.js} +5 -5
  1340. package/dist/magma-components/p-efcd8a1d.entry.js +1 -0
  1341. package/dist/magma-components/{p-9b0d7f7d.system.entry.js → p-f01e7a7e.system.entry.js} +4 -4
  1342. package/dist/magma-components/{p-188a55ac.system.entry.js → p-f0d93b22.system.entry.js} +9 -6
  1343. package/dist/magma-components/{p-c0295a0e.system.entry.js → p-f2e5a2c7.system.entry.js} +7 -7
  1344. package/dist/magma-components/p-f3041712.entry.js +1 -0
  1345. package/dist/magma-components/{p-97a501cd.system.entry.js → p-f3f1da06.system.entry.js} +5 -5
  1346. package/dist/magma-components/{p-b1cd3acf.system.entry.js → p-f4e8f507.system.entry.js} +2 -2
  1347. package/dist/magma-components/{p-1e24aafa.system.entry.js → p-f5c82548.system.entry.js} +1 -1
  1348. package/dist/magma-components/{p-411fca2f.system.entry.js → p-f6f6d914.system.entry.js} +3 -3
  1349. package/dist/magma-components/p-f9d2316a.entry.js +1 -0
  1350. package/dist/magma-components/p-fe4ae251.entry.js +1 -0
  1351. package/dist/magma-components/{p-16bbff4e.system.entry.js → p-ffcfa9e3.system.entry.js} +2 -2
  1352. package/dist/magma-components/p-kW8cjKIa.js +1 -0
  1353. package/dist/mcp/checks.js +1 -1
  1354. package/dist/stats.json +4106 -3337
  1355. package/dist/types/common/floating-controller.d.ts +14 -0
  1356. package/dist/types/common/navigation.d.ts +7 -0
  1357. package/dist/types/common/preference.d.ts +13 -1
  1358. package/dist/types/common/validity/index.d.ts +1 -1
  1359. package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +10 -2
  1360. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +10 -2
  1361. package/dist/types/components/mds-banner/mds-banner.d.ts +13 -4
  1362. package/dist/types/components/mds-banner/meta/dictionary.d.ts +7 -0
  1363. package/dist/types/components/mds-banner/meta/types.d.ts +2 -0
  1364. package/dist/types/components/mds-calendar/mds-calendar.d.ts +60 -16
  1365. package/dist/types/components/mds-calendar/meta/types.d.ts +2 -0
  1366. package/dist/types/components/mds-chip/mds-chip.d.ts +10 -0
  1367. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +1 -0
  1368. package/dist/types/components/mds-icon/services/icons-set.service.d.ts +42 -0
  1369. package/dist/types/components/mds-input/mds-input.d.ts +114 -10
  1370. package/dist/types/components/mds-input/meta/color.d.ts +13 -0
  1371. package/dist/types/components/mds-input/meta/types.d.ts +1 -1
  1372. package/dist/types/components/mds-input/meta/validators.d.ts +5 -0
  1373. package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
  1374. package/dist/types/components/mds-input-date/mds-input-date.d.ts +13 -2
  1375. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +34 -3
  1376. package/dist/types/components/mds-input-range/mds-input-range.d.ts +96 -4
  1377. package/dist/types/components/mds-input-range/meta/event-detail.d.ts +7 -0
  1378. package/dist/types/components/mds-input-range-value/mds-input-range-value.d.ts +18 -0
  1379. package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +6 -3
  1380. package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -1
  1381. package/dist/types/components/mds-pref/mds-pref.d.ts +6 -0
  1382. package/dist/types/components/mds-tab/mds-tab.d.ts +2 -1
  1383. package/dist/types/components/mds-table/mds-table.d.ts +6 -1
  1384. package/dist/types/components/mds-table-header/mds-table-header.d.ts +1 -1
  1385. package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -3
  1386. package/dist/types/components/mds-zero/mds-zero.d.ts +4 -0
  1387. package/dist/types/components.d.ts +157 -38
  1388. package/dist/types/fixtures/dark-mode.d.ts +7 -0
  1389. package/dist/types/index.d.ts +20 -8
  1390. package/dist/types/stencil-public-runtime.d.ts +1 -1
  1391. package/dist/types/type/file-types.d.ts +1 -1
  1392. package/dist/types/type/input.d.ts +2 -2
  1393. package/package.json +19 -17
  1394. package/dist/components/p-BQSO-HFx.js +0 -1
  1395. package/dist/components/p-Bw-eI2ca.js +0 -1
  1396. package/dist/components/p-BwwiliWt.js +0 -1
  1397. package/dist/components/p-CZX6N7ce.js +0 -1
  1398. package/dist/components/p-CpuUmvdl.js +0 -1
  1399. package/dist/components/p-DUgCzZw9.js +0 -1
  1400. package/dist/components/p-DWOg4-dH.js +0 -1
  1401. package/dist/components/p-DZ4_zLTp.js +0 -1
  1402. package/dist/components/p-J48g0t65.js +0 -1
  1403. package/dist/components/p-TZJN-ygm.js +0 -3
  1404. package/dist/components/p-UfaGafRS.js +0 -1
  1405. package/dist/components/p-k_Ly95Tj.js +0 -1
  1406. package/dist/components/p-lXKBo6V3.js +0 -1
  1407. package/dist/components/p-oFHbHRLX.js +0 -1
  1408. package/dist/esm-es5/index-DEL0bLpb.js +0 -10
  1409. package/dist/magma-components/p-02aed12a.entry.js +0 -1
  1410. package/dist/magma-components/p-0417391b.entry.js +0 -1
  1411. package/dist/magma-components/p-08f7a84b.entry.js +0 -1
  1412. package/dist/magma-components/p-0df067b4.entry.js +0 -1
  1413. package/dist/magma-components/p-0f4c2de6.entry.js +0 -1
  1414. package/dist/magma-components/p-14de26d5.entry.js +0 -1
  1415. package/dist/magma-components/p-163eccbd.entry.js +0 -1
  1416. package/dist/magma-components/p-167ba07a.entry.js +0 -1
  1417. package/dist/magma-components/p-17249b74.entry.js +0 -1
  1418. package/dist/magma-components/p-1a53d9d0.system.entry.js +0 -225
  1419. package/dist/magma-components/p-1cc379d6.entry.js +0 -1
  1420. package/dist/magma-components/p-223efc32.entry.js +0 -1
  1421. package/dist/magma-components/p-2454e4cd.system.entry.js +0 -7
  1422. package/dist/magma-components/p-24a69c45.entry.js +0 -1
  1423. package/dist/magma-components/p-259d9380.entry.js +0 -1
  1424. package/dist/magma-components/p-26b08e33.entry.js +0 -1
  1425. package/dist/magma-components/p-2940499f.entry.js +0 -1
  1426. package/dist/magma-components/p-2f4a7253.system.entry.js +0 -1
  1427. package/dist/magma-components/p-2ffa4d4a.entry.js +0 -1
  1428. package/dist/magma-components/p-33129e0c.system.entry.js +0 -13
  1429. package/dist/magma-components/p-397c0686.entry.js +0 -1
  1430. package/dist/magma-components/p-3bf4f012.system.entry.js +0 -13
  1431. package/dist/magma-components/p-3de37b32.entry.js +0 -1
  1432. package/dist/magma-components/p-40c59c18.entry.js +0 -1
  1433. package/dist/magma-components/p-43c307f5.entry.js +0 -1
  1434. package/dist/magma-components/p-440d7942.entry.js +0 -1
  1435. package/dist/magma-components/p-4541c233.entry.js +0 -1
  1436. package/dist/magma-components/p-4612bc78.entry.js +0 -8
  1437. package/dist/magma-components/p-4718a71d.entry.js +0 -1
  1438. package/dist/magma-components/p-4a1f7eb5.entry.js +0 -1
  1439. package/dist/magma-components/p-4c3b3913.system.entry.js +0 -25
  1440. package/dist/magma-components/p-4c955367.entry.js +0 -1
  1441. package/dist/magma-components/p-4ebb0a9e.entry.js +0 -1
  1442. package/dist/magma-components/p-4f80bf37.entry.js +0 -1
  1443. package/dist/magma-components/p-52211fa3.entry.js +0 -1
  1444. package/dist/magma-components/p-52cc5a93.entry.js +0 -1
  1445. package/dist/magma-components/p-56cf1cab.entry.js +0 -1
  1446. package/dist/magma-components/p-59aa4994.entry.js +0 -1
  1447. package/dist/magma-components/p-5a754d7b.entry.js +0 -1
  1448. package/dist/magma-components/p-5ca6063a.entry.js +0 -1
  1449. package/dist/magma-components/p-5cb581df.entry.js +0 -1
  1450. package/dist/magma-components/p-5d825728.entry.js +0 -1
  1451. package/dist/magma-components/p-5dfca9f0.entry.js +0 -1
  1452. package/dist/magma-components/p-5f38e95b.entry.js +0 -1
  1453. package/dist/magma-components/p-5f4bec31.entry.js +0 -1
  1454. package/dist/magma-components/p-627f5956.entry.js +0 -1
  1455. package/dist/magma-components/p-6352c2ea.entry.js +0 -1
  1456. package/dist/magma-components/p-64884d84.entry.js +0 -1
  1457. package/dist/magma-components/p-65ea6fc9.entry.js +0 -1
  1458. package/dist/magma-components/p-68b0d45a.entry.js +0 -1
  1459. package/dist/magma-components/p-6a4d44e2.entry.js +0 -1
  1460. package/dist/magma-components/p-6a90caf5.system.entry.js +0 -1
  1461. package/dist/magma-components/p-6c4f2de0.entry.js +0 -1
  1462. package/dist/magma-components/p-70faf379.entry.js +0 -1
  1463. package/dist/magma-components/p-71d03e56.entry.js +0 -1
  1464. package/dist/magma-components/p-73dc7c66.entry.js +0 -1
  1465. package/dist/magma-components/p-7476cf76.system.entry.js +0 -77
  1466. package/dist/magma-components/p-77707706.entry.js +0 -1
  1467. package/dist/magma-components/p-78d00f88.entry.js +0 -1
  1468. package/dist/magma-components/p-79392a0a.entry.js +0 -1
  1469. package/dist/magma-components/p-7a33ab3c.entry.js +0 -1
  1470. package/dist/magma-components/p-7b552dbe.entry.js +0 -1
  1471. package/dist/magma-components/p-7c13ccb0.entry.js +0 -1
  1472. package/dist/magma-components/p-848d1b42.system.entry.js +0 -30
  1473. package/dist/magma-components/p-84d0d701.entry.js +0 -1
  1474. package/dist/magma-components/p-86494ea9.entry.js +0 -1
  1475. package/dist/magma-components/p-8915347f.entry.js +0 -1
  1476. package/dist/magma-components/p-8b8a6662.entry.js +0 -1
  1477. package/dist/magma-components/p-8c20ac0c.entry.js +0 -1
  1478. package/dist/magma-components/p-90c60c48.entry.js +0 -1
  1479. package/dist/magma-components/p-90e20ad3.entry.js +0 -1
  1480. package/dist/magma-components/p-94548d43.entry.js +0 -1
  1481. package/dist/magma-components/p-95020326.entry.js +0 -1
  1482. package/dist/magma-components/p-970f45df.entry.js +0 -1
  1483. package/dist/magma-components/p-9aba3769.entry.js +0 -1
  1484. package/dist/magma-components/p-9b8d15a8.system.entry.js +0 -1
  1485. package/dist/magma-components/p-9e94f4a3.system.entry.js +0 -41
  1486. package/dist/magma-components/p-B8zYiZQY.system.js +0 -5
  1487. package/dist/magma-components/p-CvLLN-QH.js +0 -3
  1488. package/dist/magma-components/p-CxzVgcYv.js +0 -1
  1489. package/dist/magma-components/p-D3J9KZKy.system.js +0 -10
  1490. package/dist/magma-components/p-Dx7iOdVP.js +0 -1
  1491. package/dist/magma-components/p-a112a0e2.system.entry.js +0 -24
  1492. package/dist/magma-components/p-a2767235.entry.js +0 -1
  1493. package/dist/magma-components/p-a2c3b294.system.entry.js +0 -94
  1494. package/dist/magma-components/p-a4f53c83.entry.js +0 -1
  1495. package/dist/magma-components/p-a58e8a5c.entry.js +0 -1
  1496. package/dist/magma-components/p-a9a872e1.entry.js +0 -1
  1497. package/dist/magma-components/p-ab1c3fb0.system.entry.js +0 -7
  1498. package/dist/magma-components/p-ab445c2b.entry.js +0 -1
  1499. package/dist/magma-components/p-abe32d5b.entry.js +0 -1
  1500. package/dist/magma-components/p-af56e3e4.system.entry.js +0 -32
  1501. package/dist/magma-components/p-b1238d48.entry.js +0 -1
  1502. package/dist/magma-components/p-b705b805.entry.js +0 -1
  1503. package/dist/magma-components/p-ba871d9c.entry.js +0 -1
  1504. package/dist/magma-components/p-ba95bf93.entry.js +0 -1
  1505. package/dist/magma-components/p-bd489df9.entry.js +0 -1
  1506. package/dist/magma-components/p-bfd95736.entry.js +0 -1
  1507. package/dist/magma-components/p-c06d8b5a.entry.js +0 -1
  1508. package/dist/magma-components/p-c131d726.entry.js +0 -1
  1509. package/dist/magma-components/p-c2758b81.entry.js +0 -1
  1510. package/dist/magma-components/p-c49676e6.entry.js +0 -1
  1511. package/dist/magma-components/p-c8414ee6.entry.js +0 -1
  1512. package/dist/magma-components/p-c91cb63a.entry.js +0 -1
  1513. package/dist/magma-components/p-cb06839f.entry.js +0 -1
  1514. package/dist/magma-components/p-ce42734f.entry.js +0 -1
  1515. package/dist/magma-components/p-d1e4a032.entry.js +0 -1
  1516. package/dist/magma-components/p-d25a47fa.entry.js +0 -1
  1517. package/dist/magma-components/p-d29b32b4.system.entry.js +0 -1
  1518. package/dist/magma-components/p-d2ba5851.system.entry.js +0 -82
  1519. package/dist/magma-components/p-d365c6b6.entry.js +0 -1
  1520. package/dist/magma-components/p-d3b06151.entry.js +0 -1
  1521. package/dist/magma-components/p-d45f65e0.entry.js +0 -1
  1522. package/dist/magma-components/p-d51ec950.entry.js +0 -1
  1523. package/dist/magma-components/p-d760c1fa.entry.js +0 -1
  1524. package/dist/magma-components/p-d785d7ee.entry.js +0 -1
  1525. package/dist/magma-components/p-d9092133.entry.js +0 -1
  1526. package/dist/magma-components/p-de423b11.entry.js +0 -1
  1527. package/dist/magma-components/p-df78b7ac.system.entry.js +0 -1
  1528. package/dist/magma-components/p-e39b5e12.entry.js +0 -1
  1529. package/dist/magma-components/p-eb220deb.system.entry.js +0 -7
  1530. package/dist/magma-components/p-eca42fe8.system.entry.js +0 -29
  1531. package/dist/magma-components/p-ecda3e45.entry.js +0 -1
  1532. package/dist/magma-components/p-f9f3ad86.entry.js +0 -1
  1533. package/dist/magma-components/p-fb4b648a.entry.js +0 -1
  1534. package/dist/magma-components/p-fd4588c5.entry.js +0 -1
  1535. package/dist/magma-components/p-fdd17ee6.entry.js +0 -1
  1536. package/dist/magma-components/p-ff6cf4f8.system.entry.js +0 -98
  1537. package/dist/magma-components/p-ff76c614.entry.js +0 -1
  1538. /package/dist/components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
  1539. /package/dist/magma-components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
@@ -1 +1 @@
1
- import{p as t,H as a,d as e,h as i,c as r,t as s}from"./p-TZJN-ygm.js";import{s as n}from"./p-wI0alRSO.js";import{u as o}from"./p-BwwiliWt.js";import{m as d}from"./p-BVQMG7KJ.js";import{D as m,d as c}from"./p-UfaGafRS.js";import{p}from"./p-Bbrei_yQ.js";import{L as l}from"./p-CvbuCEYD.js";import{d as u}from"./p-BE05D6Pe.js";import{d as h}from"./p-DZ4_zLTp.js";import{d as g}from"./p-Bw-eI2ca.js";import{d as v}from"./p-BBrPpCNK.js";import{d as f}from"./p-DWOg4-dH.js";import{d as b}from"./p-CrOv4KdL.js";import{d as y}from"./p-C6LU1s8K.js";import{d as w}from"./p-DN1yF-xO.js";var x={openCalendar:"Άνοιγμα ημερολογίου"},k={openCalendar:"Open calendar"},z={openCalendar:"Abrir el calendario"},C={openCalendar:"Apri il calendario"};const j=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.validationEvent=e(this,"mdsInputValidation",7),this.valueChange=e(this,"mdsInputDateSelect",7),this.internals=this.attachInternals(),this.t=new l({el:x,en:k,es:z,it:C}),this.formDisabled=!1,this.isSlotted=!1,this.defaultValue="",this.empty=void 0,this.touched=!1,this.value="",this.variant="primary",this.min=null,this.max=null,this.delay=500,this.size="lg",this.hideToday=!1,this.disabled=!1,this.readonly=!1,this.required=!1,this.calendarKey=0,this.hasFocus=!1,this.isDisabled=()=>!!this.disabled||this.formDisabled,this.handleChange=t=>{const a=t.target;this.touched=!0,""!==a.value&&(this.value=a.value),this.validateValue(a.validity.badInput)},this.onBlur=t=>{const a=t.target;this.hasFocus=!1,this.touched=!0,this.value=a.value,this.validateValue(a.validity.badInput)},this.onFocus=t=>{const a=t.target;this.hasFocus=!0,this.readonly&&setTimeout((()=>{a.select()}),10)},this.handleOpenCalendarClick=()=>{this.calendarKey+=1},this.handleCalendarChange=t=>{if(this.touched=!0,this.value=t.detail.startDate,0===this.delay)return;const{dropdownRef:a}=this;a&&setTimeout((()=>{a.visible=!1}),this.delay)}}handleValue(){this.valueChange.emit(this.value),this.validateValue()}validateValue(t=!1){const a=m.fromISO(this.value),e=!!this.value&&!a.isValid;this.problem=this.findProblem(a,t||e),this.isValid=void 0===this.problem,n(this.internals,this.isValid?this.value:null),this.empty=!(!t&&!e)||void 0,this.updateFormValidity(),this.touched&&(this.variant=this.isValid?"primary":"error",this.validationEvent.emit(this.isValid))}invalidHandler(){this.touched=!0,this.validateValue()}findProblem(t,a){var e,i,r;return a?{rule:"invalidDate"}:this.required&&""===(null!==(e=this.value)&&void 0!==e?e:"")?{rule:"required"}:t.isValid?""!==(null!==(i=this.max)&&void 0!==i?i:"")&&m.fromISO(this.max)<t?{rule:"maxDate",context:{max:this.formatDate(this.max)}}:""!==(null!==(r=this.min)&&void 0!==r?r:"")&&m.fromISO(this.min)>t?{rule:"minDate",context:{min:this.formatDate(this.min)}}:void 0:void 0}formatDate(t){return m.fromISO(t).setLocale(p.state.language).toLocaleString(m.DATE_SHORT)}updateFormValidity(){var t,a;const e=null!==(a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input"))&&void 0!==a?a:void 0;o(this.internals,this.problem,e)}componentDidRender(){this.updateFormValidity()}async focusInput(){var t;(null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input")).focus()}async setValue(t){return this.value=t,this.validateValue(),Promise.resolve()}async getErrors(){return Promise.resolve(this.isValid?null:{error:""})}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){var t;const{touched:a}=this;this.touched=!1;const e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input");e&&(e.value=this.defaultValue),this.value=this.defaultValue,this.validateValue(),a&&(this.variant="primary")}componentWillLoad(){this.isSlotted=!(null===this.host.getAttribute("slot")||""===this.host.getAttribute("slot")),this.value=this.value||"",this.defaultValue=this.value,this.clampRange(),this.validateValue()}clampRange(){return null!==this.min&&""!==this.min&&null!==this.max&&""!==this.max&&m.fromISO(this.max)<m.fromISO(this.min)&&(this.max=this.min,!0)}validationRulesChanged(){this.clampRange()||this.validateValue()}render(){return i(r,{key:"9368a7a22633d7920913ef4e016036d0375af890",empty:this.empty,"pref-animation":p.state.animation,"pref-contrast":p.state.contrast,"pref-mode":p.state.mode,"pref-theme-scheme":p.state["theme-scheme"]},i("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&&i("div",{key:"5494041953ebeea50dd5e36a9743911719e7aa36",class:"action-open-calendar-wrapper"},i("mds-button",{key:"6bfa57714c4e9e4967d58ab72565d8c04ca1932a","aria-label":this.t.get("openCalendar"),id:"calendar-dropdown",class:"action-open-calendar",size:"sm"===this.size?"sm":void 0,disabled:this.isDisabled()||this.readonly,variant:"dark",tone:"text",icon:d,onClick:this.handleOpenCalendarClick})),i("mds-input-tip",{key:"c6068fc571bddbed6a820041ace525fcf92530e1",position:"top",active:this.hasFocus},this.isDisabled()&&i("mds-input-tip-item",{key:"eef323d2df5e79cf8b862bf4d1a673b77ce3ffb9",expanded:!0,variant:"disabled"}),this.readonly&&i("mds-input-tip-item",{key:"1e34ec28d12a044339ccf646e6459bc81dcb1a39",expanded:!0,variant:"readonly"}),this.required&&i("mds-input-tip-item",{key:"b8330cb79ff259316f1e9dafe46b65cf5f932192",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),!this.isSlotted&&i("mds-dropdown",{key:"239d31feba79ddaaff21f9bb63935b65db452f6d",placement:"bottom-end","disable-auto-placement":!0,ref:t=>this.dropdownRef=t,role:"group",target:"#calendar-dropdown"},i("mds-calendar",Object.assign({key:this.calendarKey,singlePicker:!0,hideToday:this.hideToday,onMdsCalendarChange:this.handleCalendarChange,startDate:this.value},null!==this.min&&""!==this.min?{min:this.min}:{},null!==this.max&&""!==this.max?{max:this.max}:{}))))}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{value:[{handleValue:0}],max:[{validationRulesChanged:0}],min:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}]}}static get style(){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)))}}'}},[65,"mds-input-date",{accessibleName:[1,"aria-label"],value:[513],name:[513],variant:[1537],min:[1537],max:[1537],delay:[514],size:[513],hideToday:[516,"hide-today"],disabled:[516],readonly:[516],required:[516],formDisabled:[32],empty:[32],isValid:[32],touched:[32],calendarKey:[32],dropdownRef:[32],hasFocus:[32],focusInput:[64],setValue:[64],getErrors:[64]},[[0,"invalid","invalidHandler"]],{value:[{handleValue:0}],max:[{validationRulesChanged:0}],min:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}]}]),E=j,D=function(){"undefined"!=typeof customElements&&["mds-input-date","mds-button","mds-calendar","mds-calendar-cell","mds-dropdown","mds-icon","mds-input-tip","mds-input-tip-item","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-input-date":customElements.get(s(t))||customElements.define(s(t),j);break;case"mds-button":customElements.get(s(t))||u();break;case"mds-calendar":customElements.get(s(t))||c();break;case"mds-calendar-cell":customElements.get(s(t))||h();break;case"mds-dropdown":customElements.get(s(t))||g();break;case"mds-icon":customElements.get(s(t))||v();break;case"mds-input-tip":customElements.get(s(t))||f();break;case"mds-input-tip-item":customElements.get(s(t))||b();break;case"mds-spinner":customElements.get(s(t))||y();break;case"mds-text":customElements.get(s(t))||w()}}))};export{E as MdsInputDate,D as defineCustomElement}
1
+ import{p as t,H as a,d as r,h as i,c as e,t as s}from"./p-g2_CekDc.js";import{c as n}from"./p-ChV9xqsO.js";import{s as o}from"./p-wI0alRSO.js";import{u as d}from"./p-DvccsLwr.js";import{m}from"./p-BVQMG7KJ.js";import{D as c,d as p}from"./p-CUT9aFzz.js";import{p as l}from"./p-AWCYh8Xe.js";import{L as u}from"./p-BmlDGlcB.js";import{d as h}from"./p-Bg11_7lt.js";import{d as g}from"./p-VoGfNJRY.js";import{d as v}from"./p-C0m6B_kt.js";import{d as b}from"./p-oHBGZ2Av.js";import{d as f}from"./p-kS9VRIWa.js";import{d as y}from"./p-DxNrlomi.js";import{d as w}from"./p-D7C-gjL6.js";import{d as x}from"./p-aZlZ1XB9.js";var k={openCalendar:"Άνοιγμα ημερολογίου"},C={openCalendar:"Open calendar"},z={openCalendar:"Abrir el calendario"},j={openCalendar:"Apri il calendario"};const R=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.validationEvent=r(this,"mdsInputValidation",7),this.valueChange=r(this,"mdsInputDateSelect",7),this.internals=this.attachInternals(),this.t=new u({el:k,en:C,es:z,it:j}),this.formDisabled=!1,this.isSlotted=!1,this.defaultValue="",this.empty=void 0,this.touched=!1,this.value="",this.variant="primary",this.min=null,this.max=null,this.delay=500,this.size="lg",this.hideToday=!1,this.disabled=!1,this.readonly=!1,this.required=!1,this.calendarKey=0,this.hasFocus=!1,this.isDisabled=()=>!!this.disabled||this.formDisabled,this.canEdit=()=>!this.isDisabled()&&!this.readonly,this.handleChange=t=>{const a=t.target;this.touched=!0,""!==a.value&&(this.value=a.value),this.validateValue(a.validity.badInput)},this.onBlur=t=>{const a=t.target;this.hasFocus=!1,this.touched=!0,this.value=a.value,this.validateValue(a.validity.badInput)},this.onFocus=t=>{const a=t.target;this.hasFocus=!0,this.readonly&&setTimeout((()=>{a.select()}),10)},this.handleOpenCalendarClick=()=>{this.calendarKey+=1},this.handleCalendarChange=t=>{if(this.touched=!0,this.value=t.detail.startDate,0===this.delay)return;const{dropdownRef:a}=this;a&&setTimeout((()=>{a.visible=!1}),this.delay)}}handleValue(){this.valueChange.emit(this.value),this.validateValue()}validateValue(t=!1){const a=c.fromISO(this.value),r=!!this.value&&!a.isValid;this.problem=this.findProblem(a,t||r),this.isValid=void 0===this.problem,o(this.internals,this.isValid?this.value:null),this.empty=!(!t&&!r)||void 0,this.updateFormValidity(),this.touched&&(this.variant=this.isValid?"primary":"error",this.validationEvent.emit(this.isValid))}invalidHandler(){this.touched=!0,this.validateValue()}findProblem(t,a){var r,i,e;return a?{rule:"invalidDate"}:this.required&&""===(null!==(r=this.value)&&void 0!==r?r:"")?{rule:"required"}:t.isValid?""!==(null!==(i=this.max)&&void 0!==i?i:"")&&c.fromISO(this.max)<t?{rule:"maxDate",context:{max:this.formatDate(this.max)}}:""!==(null!==(e=this.min)&&void 0!==e?e:"")&&c.fromISO(this.min)>t?{rule:"minDate",context:{min:this.formatDate(this.min)}}:void 0:void 0}formatDate(t){return c.fromISO(t).setLocale(l.state.language).toLocaleString(c.DATE_SHORT)}updateFormValidity(){var t,a;const r=null!==(a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input"))&&void 0!==a?a:void 0;d(this.internals,this.problem,r)}componentDidRender(){this.updateFormValidity()}async focusInput(){var t;(null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input")).focus()}async setValue(t){return this.value=t,this.validateValue(),Promise.resolve()}async getErrors(){return Promise.resolve(this.isValid?null:{error:""})}formDisabledCallback(t){this.formDisabled=t}hasCalendarButton(){return!this.isSlotted&&this.canEdit()}formResetCallback(){var t;const{touched:a}=this;this.touched=!1;const r=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input");r&&(r.value=this.defaultValue),this.value=this.defaultValue,this.validateValue(),a&&(this.variant="primary")}componentWillLoad(){this.isSlotted=!(null===this.host.getAttribute("slot")||""===this.host.getAttribute("slot")),this.value=this.value||"",this.defaultValue=this.value,this.clampRange(),this.validateValue()}clampRange(){return null!==this.min&&""!==this.min&&null!==this.max&&""!==this.max&&c.fromISO(this.max)<c.fromISO(this.min)&&(this.max=this.min,!0)}validationRulesChanged(){this.clampRange()||this.validateValue()}render(){return i(e,{key:"e48dbbd1e225290662c6607299afa0617dca691c",empty:this.empty,"pref-animation":l.state.animation,"pref-contrast":l.state.contrast,"pref-mode":l.state.mode,"pref-theme-scheme":l.state["theme-scheme"]},i("input",{key:"fca4ba63d0797cd0696762b7167647e24a6b2d30","aria-label":this.accessibleName,value:this.value,id:"dateInput",class:n("input",this.hasCalendarButton()&&"has-calendar-button"),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.hasCalendarButton()&&i("div",{key:"b709ab630f76f4cee4568c7f8426e9e6e16cf308",class:"action-open-calendar-wrapper"},i("mds-button",{key:"5221e53512a6928f10a93bcdd0a7adc38180a5fc","aria-label":this.t.get("openCalendar"),id:"calendar-dropdown",class:"action-open-calendar",size:"sm"===this.size?"sm":void 0,variant:"dark",tone:"text",icon:m,onClick:this.handleOpenCalendarClick})),i("mds-input-tip",{key:"d32688869293dc601e6015d1cc296165c2ea78cb",position:"top",active:this.hasFocus},this.isDisabled()&&i("mds-input-tip-item",{key:"a0f9837132fe4eb129a9c0837b118cd965a52973",expanded:!0,variant:"disabled"}),this.readonly&&i("mds-input-tip-item",{key:"49756794e60910f57ea4e86f5af19f899ebcee05",expanded:!0,variant:"readonly"}),this.required&&i("mds-input-tip-item",{key:"392c90f1a7b20f4903e5a1168e88c39ae78856b0",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),this.hasCalendarButton()&&i("mds-dropdown",{key:"565237ac10b239f535a21bb3df819bda8ff02617",placement:"bottom-end","disable-auto-placement":!0,ref:t=>this.dropdownRef=t,role:"group",target:"#calendar-dropdown"},i("mds-calendar",Object.assign({key:this.calendarKey,singlePicker:!0,hideToday:this.hideToday,onMdsCalendarChange:this.handleCalendarChange,startDate:this.value},null!==this.min&&""!==this.min?{min:this.min}:{},null!==this.max&&""!==this.max?{max:this.max}:{}))))}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{value:[{handleValue:0}],max:[{validationRulesChanged:0}],min:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}]}}static get style(){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);--private-input-date-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-input-date-height));--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-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:var(--private-input-date-radius);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-padding-inline);width:100%}:host(:not([slot])) .input.has-calendar-button{padding-right:var(--private-input-date-calendar-area)}: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-field-radius:var(--private-input-date-radius);--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)))}}'}},[65,"mds-input-date",{accessibleName:[1,"aria-label"],value:[513],name:[513],variant:[1537],min:[1537],max:[1537],delay:[514],size:[513],hideToday:[516,"hide-today"],disabled:[516],readonly:[516],required:[516],formDisabled:[32],empty:[32],isValid:[32],touched:[32],calendarKey:[32],dropdownRef:[32],hasFocus:[32],focusInput:[64],setValue:[64],getErrors:[64]},[[0,"invalid","invalidHandler"]],{value:[{handleValue:0}],max:[{validationRulesChanged:0}],min:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}]}]),D=R,E=function(){"undefined"!=typeof customElements&&["mds-input-date","mds-button","mds-calendar","mds-calendar-cell","mds-dropdown","mds-icon","mds-input-tip","mds-input-tip-item","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-input-date":customElements.get(s(t))||customElements.define(s(t),R);break;case"mds-button":customElements.get(s(t))||h();break;case"mds-calendar":customElements.get(s(t))||p();break;case"mds-calendar-cell":customElements.get(s(t))||g();break;case"mds-dropdown":customElements.get(s(t))||v();break;case"mds-icon":customElements.get(s(t))||b();break;case"mds-input-tip":customElements.get(s(t))||f();break;case"mds-input-tip-item":customElements.get(s(t))||y();break;case"mds-spinner":customElements.get(s(t))||w();break;case"mds-text":customElements.get(s(t))||x()}}))};export{D as MdsInputDate,E as defineCustomElement}
@@ -1 +1 @@
1
- import{p as a,H as s,h as t,c as r,t as e}from"./p-TZJN-ygm.js";import{d as i}from"./p-DN1yF-xO.js";const n=a(class extends s{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.nameSlottedControls=()=>{var a;null===(a=this.slotInput)||void 0===a||a.assignedElements().forEach((a=>{const s=a.getAttribute("aria-label");null!==s&&s!==this.appliedName||(null!=this.label&&""!==this.label?a.setAttribute("aria-label",this.label):a.removeAttribute("aria-label"))})),this.appliedName=this.label},this.short=!1,this.variant="primary"}handleValidation(a){"function"==typeof a.getErrors&&a.getErrors().then((a=>{if(null==a)this.variant="success",this.message=void 0;else{this.variant="error";const s=Object.entries(a).map((a=>a[1])).filter((a=>a));this.message=0!==s.length?s.join(";"):void 0}}))}componentDidLoad(){this.nameSlottedControls();const[a]=this.slotInput.assignedElements();null!=a?a.addEventListener("mdsInputValidation",(a=>this.handleValidation(a.target))):console.warn("mds-input-field: no mds-input assigned to the input slot")}labelChanged(){this.nameSlottedControls()}render(){var a;return t(r,{key:"e4688b9c3729f966f0acb0a0c7525c1962ba90eb"},t("mds-text",{key:"e229c99941bebaf2ffcee760dd7d2aab613da87c",class:"label",typography:"label"},this.label),t("div",{key:"c3efd25051a894c3a5642102848df4da7f361ba6",class:"message-window"},t("div",{key:"ae37ef9da02a7ed6a0a17c7e202cbdd70ccce135",class:"content",part:"content"},t("slot",{key:"5620c77dcaf2a825244594f08ddb4bf64347d176",onSlotchange:this.nameSlottedControls,ref:a=>this.slotInput=a})),t("div",{key:"c110d7580df291b517c0bac32201f090e6438459",class:"message"},null===(a=this.message)||void 0===a?void 0:a.split(";").map(((a,s)=>t("mds-text",{typography:"caption",key:s},a))))))}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{label:[{labelChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-field-message-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-input-field-message-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:var(--magma-rhythm-label-control,12px)}.message-window{border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));color:var(--mds-input-field-message-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));corner-shape:inherit;background-color:#0000;display:grid;gap:0;padding:0;transition-duration:var(--duration-300,.3s);transition-property:background-color,color,gap,padding;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.message-window:has(.message:not(:empty)){background-color:var(--mds-input-field-message-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*200)}.message{interpolate-size:allow-keywords;display:flex;flex-direction:column;height:auto;padding:calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200);transition-duration:var(--duration-300,.3s);transition-property:height,margin-top,opacity,padding;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.message:empty{height:0;max-height:0;opacity:0;padding:0}.label:empty{display:none}.content{container:content/inline-size;display:flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*200)}::slotted(:first-child){flex-grow:1}::slotted(:not(:first-child)){flex-shrink:0}@container content (max-width:300px){::slotted(*){flex-grow:1;min-width:100%}}:host([variant=ai]){--mds-input-field-message-color:rgb(var(--magma-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190)));--mds-input-field-message-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)))}:host([variant=info]){--mds-input-field-message-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-input-field-message-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([variant=success]){--mds-input-field-message-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-input-field-message-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([variant=warning]){--mds-input-field-message-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-input-field-message-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([variant=error]){--mds-input-field-message-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-input-field-message-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([variant=info]) ::slotted(mds-input){--mds-input-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-variant-color-rgb:0 0 0}:host([variant=info]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=warning]) ::slotted(mds-input){--mds-input-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-variant-color-rgb:0 0 0}:host([variant=warning]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=success]) ::slotted(mds-input){--mds-input-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-variant-color-rgb:0 0 0}:host([variant=success]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=error]) ::slotted(mds-input){--mds-input-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-variant-color-rgb:0 0 0}:host([variant=error]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}"}},[321,"mds-input-field",{label:[1025],message:[1025],short:[516],variant:[1537]},void 0,{label:[{labelChanged:0}]}]),o=n,d=function(){"undefined"!=typeof customElements&&["mds-input-field","mds-text"].forEach((a=>{switch(a){case"mds-input-field":customElements.get(e(a))||customElements.define(e(a),n);break;case"mds-text":customElements.get(e(a))||i()}}))};export{o as MdsInputField,d as defineCustomElement}
1
+ import{p as a,H as s,h as t,c as r,t as e}from"./p-g2_CekDc.js";import{d as i}from"./p-aZlZ1XB9.js";const n=a(class extends s{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.nameSlottedControls=()=>{var a;null===(a=this.slotInput)||void 0===a||a.assignedElements().forEach((a=>{const s=a.getAttribute("aria-label");null!==s&&s!==this.appliedName||(null!=this.label&&""!==this.label?a.setAttribute("aria-label",this.label):a.removeAttribute("aria-label"))})),this.appliedName=this.label},this.short=!1,this.variant="primary"}handleValidation(a){"function"==typeof a.getErrors&&a.getErrors().then((a=>{if(null==a)this.variant="success",this.message=void 0;else{this.variant="error";const s=Object.entries(a).map((a=>a[1])).filter((a=>a));this.message=0!==s.length?s.join(";"):void 0}}))}componentDidLoad(){this.nameSlottedControls();const[a]=this.slotInput.assignedElements();null!=a?a.addEventListener("mdsInputValidation",(a=>this.handleValidation(a.target))):console.warn("mds-input-field: no mds-input assigned to the input slot")}labelChanged(){this.nameSlottedControls()}render(){var a;return t(r,{key:"4a9ceb4ab8be1c7305dd3b76b484107ed1617835"},t("mds-text",{key:"1c6e9d91a86be2412ec8af302935059ac901f19a",class:"label",typography:"label"},this.label),t("div",{key:"9e86098c58b759180efd544cf9bb9539eeb18c58",class:"message-window"},t("div",{key:"cd065fbc590bad9b2bf64b5fe7d0a70281f9a3f7",class:"content",part:"content"},t("slot",{key:"a26f21200feeafedeabe5eb12604dee0bebb7794",onSlotchange:this.nameSlottedControls,ref:a=>this.slotInput=a})),t("div",{key:"92c4399419aba6e3cd370af28f3b0b47b2f3ea11",class:"message"},null===(a=this.message)||void 0===a?void 0:a.split(";").map(((a,s)=>t("mds-text",{typography:"caption",key:s},a))))))}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{label:[{labelChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-field-message-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-input-field-message-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:var(--magma-rhythm-label-control,12px)}.message-window{border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));color:var(--mds-input-field-message-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));corner-shape:inherit;background-color:#0000;display:grid;gap:0;padding:0;transition-duration:var(--duration-300,.3s);transition-property:background-color,color,gap,padding;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.message-window:has(.message:not(:empty)){background-color:var(--mds-input-field-message-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*200)}.message{interpolate-size:allow-keywords;display:flex;flex-direction:column;height:auto;padding:calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200);transition-duration:var(--duration-300,.3s);transition-property:height,margin-top,opacity,padding;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.message:empty{height:0;max-height:0;opacity:0;padding:0}.label:empty{display:none}.content{container:content/inline-size;display:flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*200)}::slotted(:first-child){flex-grow:1}::slotted(:not(:first-child)){flex-shrink:0}@container content (max-width:300px){::slotted(*){flex-grow:1;min-width:100%}}:host([variant=ai]){--mds-input-field-message-color:rgb(var(--magma-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190)));--mds-input-field-message-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)))}:host([variant=info]){--mds-input-field-message-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-input-field-message-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([variant=success]){--mds-input-field-message-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-input-field-message-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([variant=warning]){--mds-input-field-message-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-input-field-message-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([variant=error]){--mds-input-field-message-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-input-field-message-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([variant=info]) ::slotted(mds-input){--mds-input-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-variant-color-rgb:0 0 0}:host([variant=info]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=warning]) ::slotted(mds-input){--mds-input-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-variant-color-rgb:0 0 0}:host([variant=warning]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=success]) ::slotted(mds-input){--mds-input-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-variant-color-rgb:0 0 0}:host([variant=success]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=error]) ::slotted(mds-input){--mds-input-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-variant-color-rgb:0 0 0}:host([variant=error]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}"}},[321,"mds-input-field",{label:[1025],message:[1025],short:[516],variant:[1537]},void 0,{label:[{labelChanged:0}]}]),o=n,m=function(){"undefined"!=typeof customElements&&["mds-input-field","mds-text"].forEach((a=>{switch(a){case"mds-input-field":customElements.get(e(a))||customElements.define(e(a),n);break;case"mds-text":customElements.get(e(a))||i()}}))};export{o as MdsInputField,m as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as s,h as i,c as e,t as n}from"./p-TZJN-ygm.js";import{s as o}from"./p-wI0alRSO.js";import{L as a}from"./p-CvbuCEYD.js";import{d as r}from"./p-BE05D6Pe.js";import{d as l}from"./p-BBrPpCNK.js";import{d}from"./p-BQSO-HFx.js";import{d as h}from"./p-DWOg4-dH.js";import{d as u}from"./p-CrOv4KdL.js";import{d as m}from"./p-C6LU1s8K.js";import{d as p}from"./p-DN1yF-xO.js";var c={digit:"Ψηφίο {{position}} από {{length}}"},v={digit:"Digit {{position}} of {{length}}"},f={digit:"Dígito {{position}} de {{length}}"},g={digit:"Cifra {{position}} di {{length}}"};const b=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.internals=this.attachInternals(),this.loadValue="",this.digits=[],this.formDisabled=!1,this.t=new a({el:c,en:v,es:f,it:g}),this.length=6,this.autosubmit=!1,this.disabled=!1,this.value="",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.cellIndex=t=>Array.from(this.element.shadowRoot.querySelectorAll("mds-input")).indexOf(t),this.setOtpDigit=(t,s)=>{const i=[...this.digits];i[this.cellIndex(t)]=s,this.digits=i,this.updateValue()},this.submit=t=>{var s,i;const e=(null!==(s=this.value)&&void 0!==s?s:"").length===this.length;t.blur(),this.autosubmit&&e&&(null===(i=this.internals.form)||void 0===i||i.requestSubmit())},this.handleKeyDown=t=>{var s;if(t.ctrlKey||t.metaKey||t.altKey)return;const i=t.target,e=i.previousElementSibling,n=i.nextElementSibling;switch(t.key){case"Backspace":return t.preventDefault(),""===(null!==(s=this.digits[this.cellIndex(i)])&&void 0!==s?s:"")&&e?(this.setOtpDigit(e,""),void e.setFocus()):void this.setOtpDigit(i,"");case"Delete":return t.preventDefault(),void this.setOtpDigit(i,"");case"ArrowLeft":return t.preventDefault(),void(null==e||e.setFocus());case"ArrowRight":return t.preventDefault(),void(null==n||n.setFocus())}1===t.key.length&&(t.preventDefault(),/^[0-9]$/.test(t.key)&&(this.setOtpDigit(i,t.key),null!=n?n.setFocus():this.submit(i)))},this.handlePaste=t=>{var s,i;t.preventDefault();const e=(null!==(i=null===(s=t.clipboardData)||void 0===s?void 0:s.getData("text"))&&void 0!==i?i:"").trim();if(!/^[0-9]+$/.test(e))return;let n=t.target;for(const t of e){this.setOtpDigit(n,t);const s=n.nextElementSibling;if(null==s)return void this.submit(n);n=s,n.setFocus()}},this.digitName=t=>{var s;const i=this.t.get("digit",{position:t+1,length:this.length});return""!==(null!==(s=this.accessibleName)&&void 0!==s?s:"")?`${this.accessibleName}, ${i}`:i}}valueChanged(t){(null!=t?t:"")!==this.digits.join("")&&this.fillCells(null!=t?t:"")}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){this.fillCells(this.loadValue)}componentWillLoad(){var t;this.loadValue=null!==(t=this.value)&&void 0!==t?t:"",this.fillCells(this.loadValue)}fillCells(t){this.digits=Array.from(t).slice(0,this.length),this.updateValue()}updateValue(){this.value=this.digits.join(""),o(this.internals,this.value)}render(){return i(e,{key:"00d0011d96d72218ecff3a80e24fa3fc7671568a"},Array.from({length:this.length}).map(((t,s)=>{var e;return i("mds-input",{"aria-label":this.digitName(s),class:"input",disabled:this.isDisabled(),maxlength:1,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,value:null!==(e=this.digits[s])&&void 0!==e?e:""})})))}static get formAssociated(){return!0}get element(){return this}static get watchers(){return{value:[{valueChanged:0}]}}static get style(){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}"}},[65,"mds-input-otp",{accessibleName:[1,"aria-label"],length:[2],autosubmit:[516],disabled:[516],value:[1537],digits:[32],formDisabled:[32]},void 0,{value:[{valueChanged:0}]}]),y=b,C=function(){"undefined"!=typeof customElements&&["mds-input-otp","mds-button","mds-icon","mds-input","mds-input-tip","mds-input-tip-item","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-input-otp":customElements.get(n(t))||customElements.define(n(t),b);break;case"mds-button":customElements.get(n(t))||r();break;case"mds-icon":customElements.get(n(t))||l();break;case"mds-input":customElements.get(n(t))||d();break;case"mds-input-tip":customElements.get(n(t))||h();break;case"mds-input-tip-item":customElements.get(n(t))||u();break;case"mds-spinner":customElements.get(n(t))||m();break;case"mds-text":customElements.get(n(t))||p()}}))};export{y as MdsInputOtp,C as defineCustomElement}
1
+ import{p as t,H as s,h as i,c as e,t as n}from"./p-g2_CekDc.js";import{s as o}from"./p-wI0alRSO.js";import{L as a}from"./p-BmlDGlcB.js";import{d as r}from"./p-Bg11_7lt.js";import{d as l}from"./p-oHBGZ2Av.js";import{d as h}from"./p-CfCw1XZP.js";import{d}from"./p-kS9VRIWa.js";import{d as m}from"./p-DxNrlomi.js";import{d as u}from"./p-D7C-gjL6.js";import{d as p}from"./p-aZlZ1XB9.js";var c={digit:"Ψηφίο {{position}} από {{length}}"},v={digit:"Digit {{position}} of {{length}}"},f={digit:"Dígito {{position}} de {{length}}"},g={digit:"Cifra {{position}} di {{length}}"};const b=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.internals=this.attachInternals(),this.loadValue="",this.digits=[],this.formDisabled=!1,this.t=new a({el:c,en:v,es:f,it:g}),this.length=6,this.autosubmit=!1,this.disabled=!1,this.value="",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.cellIndex=t=>Array.from(this.element.shadowRoot.querySelectorAll("mds-input")).indexOf(t),this.setOtpDigit=(t,s)=>{const i=[...this.digits];i[this.cellIndex(t)]=s,this.digits=i,this.updateValue()},this.submit=t=>{var s,i;const e=(null!==(s=this.value)&&void 0!==s?s:"").length===this.length;t.blur(),this.autosubmit&&e&&(null===(i=this.internals.form)||void 0===i||i.requestSubmit())},this.handleKeyDown=t=>{var s;if(t.ctrlKey||t.metaKey||t.altKey)return;const i=t.target,e=i.previousElementSibling,n=i.nextElementSibling;switch(t.key){case"Backspace":return t.preventDefault(),""===(null!==(s=this.digits[this.cellIndex(i)])&&void 0!==s?s:"")&&e?(this.setOtpDigit(e,""),void e.setFocus()):void this.setOtpDigit(i,"");case"Delete":return t.preventDefault(),void this.setOtpDigit(i,"");case"ArrowLeft":return t.preventDefault(),void(null==e||e.setFocus());case"ArrowRight":return t.preventDefault(),void(null==n||n.setFocus())}1===t.key.length&&(t.preventDefault(),/^[0-9]$/.test(t.key)&&(this.setOtpDigit(i,t.key),null!=n?n.setFocus():this.submit(i)))},this.handlePaste=t=>{var s,i;t.preventDefault();const e=(null!==(i=null===(s=t.clipboardData)||void 0===s?void 0:s.getData("text"))&&void 0!==i?i:"").trim();if(!/^[0-9]+$/.test(e))return;let n=t.target;for(const t of e){this.setOtpDigit(n,t);const s=n.nextElementSibling;if(null==s)return void this.submit(n);n=s,n.setFocus()}},this.digitName=t=>{var s;const i=this.t.get("digit",{position:t+1,length:this.length});return""!==(null!==(s=this.accessibleName)&&void 0!==s?s:"")?`${this.accessibleName}, ${i}`:i}}valueChanged(t){(null!=t?t:"")!==this.digits.join("")&&this.fillCells(null!=t?t:"")}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){this.fillCells(this.loadValue)}componentWillLoad(){var t;this.loadValue=null!==(t=this.value)&&void 0!==t?t:"",this.fillCells(this.loadValue)}fillCells(t){this.digits=Array.from(t).slice(0,this.length),this.updateValue()}updateValue(){this.value=this.digits.join(""),o(this.internals,this.value)}render(){return i(e,{key:"a8f9bae55a3633e3362479f8c0c7503273a13cdd"},Array.from({length:this.length}).map(((t,s)=>{var e;return i("mds-input",{"aria-label":this.digitName(s),class:"input",disabled:this.isDisabled(),maxlength:1,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,value:null!==(e=this.digits[s])&&void 0!==e?e:""})})))}static get formAssociated(){return!0}get element(){return this}static get watchers(){return{value:[{valueChanged:0}]}}static get style(){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}"}},[65,"mds-input-otp",{accessibleName:[1,"aria-label"],length:[2],autosubmit:[516],disabled:[516],value:[1537],digits:[32],formDisabled:[32]},void 0,{value:[{valueChanged:0}]}]),y=b,k=function(){"undefined"!=typeof customElements&&["mds-input-otp","mds-button","mds-icon","mds-input","mds-input-tip","mds-input-tip-item","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-input-otp":customElements.get(n(t))||customElements.define(n(t),b);break;case"mds-button":customElements.get(n(t))||r();break;case"mds-icon":customElements.get(n(t))||l();break;case"mds-input":customElements.get(n(t))||h();break;case"mds-input-tip":customElements.get(n(t))||d();break;case"mds-input-tip-item":customElements.get(n(t))||m();break;case"mds-spinner":customElements.get(n(t))||u();break;case"mds-text":customElements.get(n(t))||p()}}))};export{y as MdsInputOtp,k as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface MdsInputRangeValue extends Components.MdsInputRangeValue, HTMLElement {}
4
+ export const MdsInputRangeValue: {
5
+ prototype: MdsInputRangeValue;
6
+ new (): MdsInputRangeValue;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{p as e,H as t,h as s,c as n,t as a}from"./p-g2_CekDc.js";const r=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(n,{key:"2dc2727f31ead37a5053bae9777097040032f831"},s("slot",{key:"8a254b314758b642b9aff2ef6bdff88019b1992f"}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host{display:none}"}},[257,"mds-input-range-value",{value:[1538]}]),o=r,u=function(){"undefined"!=typeof customElements&&["mds-input-range-value"].forEach((e=>{"mds-input-range-value"===e&&(customElements.get(a(e))||customElements.define(a(e),r))}))};export{o as MdsInputRangeValue,u as defineCustomElement}
@@ -1 +1 @@
1
- import{p as a,H as t,d as r,h as e,c as i,t as s}from"./p-TZJN-ygm.js";import{s as n}from"./p-wI0alRSO.js";import{p as o}from"./p-Bbrei_yQ.js";import{d}from"./p-DN1yF-xO.js";const m=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.changeEvent=r(this,"mdsInputRangeChange",7),this.internals=this.attachInternals(),this.formDisabled=!1,this.max=100,this.min=0,this.step=1,this.onInput=()=>{this.value=Number(this.inputElement.value)},this.isDisabled=()=>!!this.disabled||this.formDisabled}allowedStep(){const a=Number(this.step);return a>0?a:1}calculateProgress(){let a=Number(this.inputElement.value);const t=this.allowedStep(),r=Math.pow(10,this.countDecimals(t));a>this.max?a=this.max:a<this.min&&(a=this.min),(a-this.min)*r%(t*r)!=0&&(a=(Math.round((a*r-this.min*r)/(t*r))*(t*r)+this.min*r)/r),this.value=a,n(this.internals,""+this.value),this.progress=(this.value-this.min)/(this.max-this.min)*100}countDecimals(a){return Math.floor(a)===a?0:(""+a).split(".")[1].length||0}disabledChanged(a){a&&n(this.internals,null)}valueChanged(a,t){a!==t&&(this.inputElement.value=""+this.value,this.calculateProgress(),this.changeEvent.emit(this.value))}minChanged(){this.calculateProgress()}maxChanged(){this.calculateProgress()}stepChanged(){this.calculateProgress()}formDisabledCallback(a){this.formDisabled=a}formResetCallback(){this.inputElement.value=void 0===this.loadValue?"":this.loadValue+"",this.onInput()}componentWillLoad(){var a;const t=Number(null!==(a=this.value)&&void 0!==a?a:NaN);this.loadValue=Number.isNaN(t)?void 0:t}componentDidLoad(){var a;this.onInput(),this.label=null!==(a=this.element.textContent)&&void 0!==a?a:"",this.calculateProgress()}render(){var a;return e(i,{key:"36d98b4bd512b85a650361218ad252d871117383","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},e("header",{key:"76a0c06c04abad81571dbc7de422ebaa4b0b8c33",class:"header",part:"header"},e("mds-text",{key:"05959858f7d8dcbe69525c93269d56b9270deb8c",class:"label",typography:"label"},e("slot",{key:"5c5f52045c5f099869b2ac05a806abca69b7240f"})),e("mds-text",{key:"24d240e0e20f95631a93b887aca4781372ff1551",class:"value",typography:"label"},this.formatValue?this.formatValue(this.value):this.value)),e("div",{key:"91a261a7160ac957e527f8f49a4a9dac0a229548",class:"range"},e("div",{key:"46cdea8ad4856840d323fc81f54806c5d54ac4f6",class:"track",part:"track"},e("div",{key:"1939900b6d8868a08e993a17a4d0a54338866425",class:"contrast-area"}),e("div",{key:"6704e3bb425d0aaac3f8277fe86f06faff9d48ac",class:"track-total"},e("div",{key:"c2e7505a83cb1dc9cb357392f70aeb1d9ae7f979",class:"track-progress",style:{"--mds-input-range-progress":""+(null!==(a=this.progress)&&void 0!==a?a:0)}}))),e("input",{key:"2abcb86329559da6de2618ec3cf47d6985f6d811",ref:a=>this.inputElement=a,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})))}static get formAssociated(){return!0}get element(){return this}static get watchers(){return{disabled:[{disabledChanged:0}],value:[{valueChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],step:[{stepChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--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)))}}"}},[321,"mds-input-range",{formatValue:[16],name:[513],max:[2],min:[2],step:[2],disabled:[1540],value:[1538],progress:[32],formDisabled:[32]},void 0,{disabled:[{disabledChanged:0}],value:[{valueChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],step:[{stepChanged:0}]}]),c=m,u=function(){"undefined"!=typeof customElements&&["mds-input-range","mds-text"].forEach((a=>{switch(a){case"mds-input-range":customElements.get(s(a))||customElements.define(s(a),m);break;case"mds-text":customElements.get(s(a))||d()}}))};export{c as MdsInputRange,u as defineCustomElement}
1
+ import{p as t,H as e,d as a,h as i,c as r,t as s,B as n}from"./p-g2_CekDc.js";import{s as o}from"./p-wI0alRSO.js";import{L as h}from"./p-BmlDGlcB.js";import{p as d}from"./p-AWCYh8Xe.js";import{d as u}from"./p-aZlZ1XB9.js";var l={position:"{{position}} από {{count}}"},m={position:"{{position}} of {{count}}"},c={position:"{{position}} de {{count}}"},p={position:"{{position}} di {{count}}"};const g="mds-input-range-value",b=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.changeEvent=a(this,"mdsInputRangeChange",7),this.valuesChangeEvent=a(this,"mdsInputRangeValuesChange",7),this.internals=this.attachInternals(),this.label="",this.thumbs=[],this.childLoadValues=new WeakMap,this.thumbKeys=new WeakMap,this.nextThumbKey=0,this.loaded=!1,this.singlePending=!1,this.t=new h({el:l,en:m,es:c,it:p}),this.formDisabled=!1,this.max=100,this.min=0,this.step=1,this.onInput=()=>{null!=this.inputElement&&(this.value=Number(this.inputElement.value))},this.syncChildren=()=>{if(!this.loaded)return;this.label=this.readLabel();const t=this.readThumbs();this.writeChildValues(t),this.sameThumbs(t)||(0===t.length&&this.thumbs.length>0&&(this.singlePending=!0),t.forEach((({element:t,value:e})=>{this.childLoadValues.has(t)||this.childLoadValues.set(t,e)})),this.updateThumbs(t))},this.onThumbInput=t=>{const e=t.target,a=this.thumbInputs().indexOf(e);a<0||this.moveThumb(a,Number(e.value))},this.onThumbKeyDown=t=>{const e=this.thumbInputs().indexOf(t.target);if(e<0||this.isDisabled())return;const{value:a}=this.thumbs[e],[i,r]=this.bounds(e),s=this.allowedStep(),n=Math.max((this.max-this.min)/10,s),o={ArrowDown:a-s,ArrowLeft:a-s,ArrowRight:a+s,ArrowUp:a+s,End:r,Home:i,PageDown:a-n,PageUp:a+n}[t.key];void 0!==o&&(t.preventDefault(),this.moveThumb(e,o))},this.onTrackPointerDown=t=>{var e;if(this.thumbs.length<2||this.isDisabled()||0!==t.button)return;if("INPUT"===t.target.tagName)return;const a=t.currentTarget,i=a.querySelector(".track-total");if(!i)return;const r=a.getBoundingClientRect(),s=i.getBoundingClientRect().height,n=this.normalize(this.min+Math.min(Math.max((t.clientX-r.left-s/2)/(r.width-s),0),1)*(this.max-this.min));let o=0;this.thumbs.forEach(((t,e)=>{const a=Math.abs(t.value-n),i=Math.abs(this.thumbs[o].value-n);(a<i||a===i&&n>t.value)&&(o=e)})),t.preventDefault(),null===(e=this.thumbInputs()[o])||void 0===e||e.focus(),this.moveThumb(o,n)},this.isDisabled=()=>!!this.disabled||this.formDisabled}allowedStep(){const t=Number(this.step);return t>0?t:1}normalize(t){const e=this.allowedStep(),a=Math.pow(10,Math.max(this.countDecimals(e),this.countDecimals(this.min))),i=Math.round(this.min*a),r=Math.round(this.max*a),s=Math.round(e*a);let n=Math.round((Math.min(Math.max(t*a,i),r)-i)/s)*s+i;return n>r&&(n-=s),n/a}middle(){return this.normalize(this.min+(this.max-this.min)/2)}percent(t){return this.max===this.min?0:(t-this.min)/(this.max-this.min)*100}calculateProgress(){null!=this.inputElement&&(this.value=this.normalize(Number(this.inputElement.value)),o(this.internals,""+this.value),this.progress=(this.value-this.min)/(this.max-this.min)*100)}countDecimals(t){return Math.floor(t)===t?0:(""+t).split(".")[1].length||0}readLabel(){return Array.from(this.element.childNodes).filter((t=>t.nodeName.toLowerCase()!==g)).map((t=>{var e;return null!==(e=t.textContent)&&void 0!==e?e:""})).join("").trim()}readThumbs(){const t=new Map(this.thumbs.map((({element:t},e)=>[t,e])));return Array.from(this.element.children).filter((t=>t.tagName.toLowerCase()===g)).map(((e,a)=>{var i,r,s,n;const o=null!==(i=e.value)&&void 0!==i?i:e.getAttribute("value"),h=null==o||""===(o+"").trim()?NaN:Number(o);let d=this.thumbKeys.get(e);return void 0===d&&(d=this.nextThumbKey++,this.thumbKeys.set(e,d)),{element:e,key:d,name:null!==(s=null===(r=e.textContent)||void 0===r?void 0:r.trim())&&void 0!==s?s:"",rank:null!==(n=t.get(e))&&void 0!==n?n:t.size+a,value:this.normalize(Number.isNaN(h)?this.middle():h)}})).sort(((t,e)=>t.value-e.value||t.rank-e.rank)).map((({element:t,key:e,name:a,value:i})=>({element:t,key:e,name:a,value:i})))}sameThumbs(t){return t.length===this.thumbs.length&&t.every((({element:t,name:e,value:a},i)=>{const r=this.thumbs[i];return t===r.element&&e===r.name&&a===r.value}))}writeChildValue(t,e){var a;(null===(a=globalThis.customElements)||void 0===a?void 0:a.get(g))?t.value=e:t.setAttribute("value",e+"")}writeChildValues(t){t.forEach((({element:t,value:e})=>{Number(t.value)!==e&&this.writeChildValue(t,e)}))}updateThumbs(t){this.thumbs=t,this.writeChildValues(t),this.updateFormValue(),this.emitValues()}emitValues(){const t=this.thumbs.map((({value:t})=>t)),e=JSON.stringify(t);if(e===this.emittedValues)return;const a=void 0===this.emittedValues;this.emittedValues=e,a||this.valuesChangeEvent.emit({values:t})}updateFormValue(){var t;if(0===this.thumbs.length)return void o(this.internals,null==this.value?null:""+this.value);const e=null!==(t=this.name)&&void 0!==t?t:"";if(""===e)return void o(this.internals,null);const a=new FormData;this.thumbs.forEach((({value:t})=>a.append(e,""+t))),o(this.internals,a)}bounds(t){return[t>0?this.thumbs[t-1].value:this.min,t<this.thumbs.length-1?this.thumbs[t+1].value:this.max]}thumbInputs(){var t,e;return Array.from(null!==(e=null===(t=this.element.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".field"))&&void 0!==e?e:[])}moveThumb(t,e){const[a,i]=this.bounds(t),r=Math.min(Math.max(this.normalize(e),a),i),s=this.thumbInputs()[t];s&&Number(s.value)!==r&&(s.value=r+""),r!==this.thumbs[t].value&&this.updateThumbs(this.thumbs.map(((e,a)=>a===t?Object.assign(Object.assign({},e),{value:r}):e)))}thumbName(t){const{name:e}=this.thumbs[t];if(""!==e)return e;const a=this.t.get("position",{position:t+1,count:this.thumbs.length});return""===this.label?a:`${this.label}, ${a}`}displayValues(){const t=this.thumbs.map((({value:t})=>this.formatValue?this.formatValue(t):t+""));return t.join(2===t.length?" – ":" · ")}disabledChanged(t){t?o(this.internals,null):this.updateFormValue()}nameChanged(){this.updateFormValue()}valueChanged(t,e){t!==e&&(this.thumbs.length>0||null==this.inputElement||(this.inputElement.value=""+this.value,this.calculateProgress(),this.changeEvent.emit(this.value)))}limitsChanged(){this.thumbs.length>0?this.updateThumbs(this.readThumbs()):this.calculateProgress()}minChanged(){this.limitsChanged()}maxChanged(){this.limitsChanged()}stepChanged(){this.limitsChanged()}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){if(this.thumbs.length>0)return this.thumbs.forEach((({element:t})=>{const e=this.childLoadValues.get(t);void 0!==e&&this.writeChildValue(t,e)})),void this.updateThumbs(this.readThumbs());null!=this.inputElement&&(this.inputElement.value=void 0===this.loadValue?"":this.loadValue+"",this.onInput())}connectedCallback(){var t;null===(t=this.childObserver)||void 0===t||t.disconnect(),n.isBrowser&&(this.childObserver=new MutationObserver(this.syncChildren),this.childObserver.observe(this.element,{attributeFilter:["value"],characterData:!0,childList:!0,subtree:!0}),this.syncChildren())}disconnectedCallback(){var t;null===(t=this.childObserver)||void 0===t||t.disconnect(),this.childObserver=void 0}componentWillLoad(){var t;const e=Number(null!==(t=this.value)&&void 0!==t?t:NaN);this.loadValue=Number.isNaN(e)?void 0:e,this.label=this.readLabel(),this.thumbs=this.readThumbs(),this.thumbs.forEach((({element:t,value:e})=>{this.childLoadValues.set(t,e)}))}componentDidLoad(){this.thumbs.length>0?this.updateThumbs(this.thumbs):(this.onInput(),this.calculateProgress()),this.emitValues(),this.loaded=!0,this.syncChildren()}componentDidRender(){this.singlePending&&null!=this.inputElement&&(this.singlePending=!1,this.onInput(),this.calculateProgress())}renderThumbs(){return this.thumbs.map(((t,e)=>{const[a,r]=this.bounds(e);return i("input",{key:t.key,class:{field:!0,"field--held":a===r},type:"range","aria-label":this.thumbName(e),"aria-valuetext":this.formatValue?this.formatValue(t.value):void 0,disabled:this.isDisabled(),max:this.max,min:this.min,onInput:this.onThumbInput,onKeyDown:this.onThumbKeyDown,step:this.allowedStep(),value:t.value})}))}render(){var t;const e=this.thumbs.length>0,a=this.thumbs.length>1,s=this.thumbs[0],n={"--mds-input-range-progress":""+(e?this.percent(this.thumbs[this.thumbs.length-1].value):null!==(t=this.progress)&&void 0!==t?t:0)};return a&&(n["--private-input-range-progress-start"]=""+this.percent(s.value)),i(r,{key:"462c99434783fc2516ddf6040484e2bc87cb3dba","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},i("header",{key:"8b2c95e6cb75396e5d72a8547f7a35d833d2c977",class:"header",part:"header"},i("mds-text",{key:"6d5625b711e63b9b874c0f9f620650bc91eed8cb",class:"label",truncate:"word",typography:"label"},i("slot",{key:"6c635c0e3888d5fc0298c6fb185c4d1350a47e20"})),i("mds-text",{key:"c762c4e553cc3fcd347fd5efb26c6d43403104ff",class:"value",typography:"label"},e?this.displayValues():this.formatValue?this.formatValue(this.value):this.value)),i("div",{key:"70aced606c83cde6aab4e07314cffaab36052640",class:{range:!0,"range--several":a},role:e?"group":void 0,"aria-label":e&&""!==this.label?this.label:void 0,onPointerDown:this.onTrackPointerDown},i("div",{key:"8f33045f27c6e1e07aa941363349ba2a238dea92",class:"track",part:"track"},i("div",{key:"47277e1000e73b878894e792c423eda7bb4af267",class:"contrast-area"}),i("div",{key:"279d606dbfaca100339ad98329ba002aed415a6c",class:"track-total"},i("div",{key:"05bde12e5fff5a03ab8df028ff739f878a0c59b1",class:{"track-progress":!0,"track-progress--between":a},style:n}))),e?this.renderThumbs():i("input",{ref:t=>this.inputElement=t,class:"field","aria-label":this.label,"aria-valuetext":this.formatValue?this.formatValue(this.value):void 0,disabled:this.isDisabled(),max:this.max,min:this.min,onInput:this.onInput,step:this.step,type:"range",value:this.value,name:this.name})))}static get formAssociated(){return!0}get element(){return this}static get watchers(){return{disabled:[{disabledChanged:0}],name:[{nameChanged:0}],value:[{valueChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],step:[{stepChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--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);grid-template-columns:minmax(0,1fr);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}::slotted(mds-input-range-value){display:none}.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{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;min-width:0;outline:none;z-index:20}.field:focus-visible::-webkit-slider-thumb{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.field::-webkit-slider-thumb{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: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;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transform:translateY(-50%);transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:background-color,border;transition-timing-function:ease-in-out;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);display:flex;height:var(--mds-input-range-track-size);transition-duration:var(--private-input-range-transition-duration);transition-property:background-color;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--between{margin-left:calc((100% - var(--mds-input-range-track-size))*(var(--private-input-range-progress-start,0)*0.01) + var(--mds-input-range-track-size)/2);width:calc((100% - var(--mds-input-range-track-size))*(var(--mds-input-range-progress,0) - var(--private-input-range-progress-start,0))*.01)}.range--several .field{inset-inline:0;pointer-events:none;position:absolute}.range--several .field::-webkit-slider-thumb{pointer-events:auto}.range--several .field--held{z-index:10}.range--several .field:focus{z-index:30}.track-total{background-color:var(--mds-input-range-track-background);display:flex;height:var(--mds-input-range-track-size);overflow:hidden;transition-duration:var(--private-input-range-transition-duration);transition-property:background-color;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)))}}"}},[321,"mds-input-range",{formatValue:[16],name:[513],max:[2],min:[2],step:[2],disabled:[1540],value:[1538],progress:[32],label:[32],thumbs:[32],formDisabled:[32]},void 0,{disabled:[{disabledChanged:0}],name:[{nameChanged:0}],value:[{valueChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],step:[{stepChanged:0}]}]),v=b,f=function(){"undefined"!=typeof customElements&&["mds-input-range","mds-text"].forEach((t=>{switch(t){case"mds-input-range":customElements.get(s(t))||customElements.define(s(t),b);break;case"mds-text":customElements.get(s(t))||u()}}))};export{v as MdsInputRange,f as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,d as r,h as i,c as a,t as s}from"./p-TZJN-ygm.js";import{p as o}from"./p-Bbrei_yQ.js";import{m as n}from"./p-DiWN48aq.js";import{s as c}from"./p-wI0alRSO.js";import{u as l}from"./p-BwwiliWt.js";import{d}from"./p-BBrPpCNK.js";import{d as m}from"./p-DWOg4-dH.js";import{d as h}from"./p-CrOv4KdL.js";import{d as p}from"./p-DN1yF-xO.js";const u=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.changeEvent=r(this,"mdsInputSelectChange",7),this.internals=this.attachInternals(),this.adoptingSelection=!1,this.hasFocus=!1,this.formDisabled=!1,this.disabled=!1,this.required=!1,this.multiple=!1,this.rows=0,this.size="lg",this.value="",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.onInput=()=>{this.adoptSelection(),this.syncSelection()},this.onBlur=()=>{this.hasFocus=!1},this.onFocus=()=>{this.hasFocus=!0},this.hasPlaceholder=()=>{var t;return""!==(null!==(t=this.placeholder)&&void 0!==t?t:"")},this.placeholderOption=()=>{var t,e;return null!==(e=null===(t=this.selectEl)||void 0===t?void 0:t.querySelector(".placeholder-option"))&&void 0!==e?e:null},this.emptyOptions=()=>{var t;const e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector("select"),r=null==e?void 0:e.querySelectorAll("option");r&&r.forEach(((t,e)=>{this.hasPlaceholder()||t.remove(),this.hasPlaceholder()&&e>0&&t.remove()}))},this.onSlotChangeHandler=()=>{var t,e,r;const i=null===(e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelectorAll("slot")[0])||void 0===e?void 0:e.assignedNodes(),a=null===(r=this.selectEl)||void 0===r?void 0:r.querySelectorAll("option");null!=a&&(!this.hasPlaceholder()&&a.length>0&&this.emptyOptions(),this.hasPlaceholder()&&a.length>1&&this.emptyOptions(),null==i||i.forEach((t=>{var e;null===(e=this.selectEl)||void 0===e||e.appendChild(t.cloneNode(!0))})),this.applySelection(!0),this.syncSelection())}}async setValue(t){return this.value=t,Promise.resolve()}valueChanged(){this.adoptingSelection||(this.applySelection(!1),this.syncSelection())}requiredChanged(){this.updateFormValidity()}nameChanged(){this.updateFormValue(this.selectedValues())}selectedValues(){var t;return null==this.selectEl?""===(null!==(t=this.value)&&void 0!==t?t:"")?[]:[""+this.value]:Array.from(this.selectEl.selectedOptions).filter((t=>!t.classList.contains("placeholder-option"))).map((t=>t.value))}syncSelection(){var t;const e=this.selectedValues();this.updateFormValue(e),this.updateFormValidity();const r=null===(t=this.value)||void 0===t?void 0:""+t,i=JSON.stringify([r,e]);if(i===this.emittedSelection)return;const a=void 0===this.emittedSelection;this.emittedSelection=i,a||this.changeEvent.emit({value:r,values:e})}updateFormValue(t){var e,r,i;if(!this.multiple)return void c(this.internals,null!==(r=null===(e=this.value)||void 0===e?void 0:""+e)&&void 0!==r?r:null);const a=null!==(i=this.name)&&void 0!==i?i:"";if(""===a||0===t.length)return void c(this.internals,null);const s=new FormData;t.forEach((t=>s.append(a,t))),c(this.internals,s)}updateFormValidity(){var t;const e=this.required&&""===(null!==(t=this.value)&&void 0!==t?t:"");l(this.internals,e?{rule:"requiredSelect"}:void 0,this.selectEl)}disabledChanged(t){t&&c(this.internals,null)}placeholderChanged(t,e){if(null!=this.selectEl&&null!=t&&""!==t&&""===(null!=e?e:"")){let e=this.placeholderOption();e&&e.remove(),e=document.createElement("option"),e.className="placeholder-option",this.selectEl.insertBefore(e,this.selectEl.firstChild),e.value="",e.text=t,(null==this.defaultValue||""===this.defaultValue||0===this.defaultValue||Number.isNaN(this.defaultValue))&&(e.selected=!0,this.value=void 0),this.required&&(e.disabled=!0)}}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){if(null==this.selectEl)return;const t=Array.from(this.selectEl.querySelectorAll("option"));t.forEach((t=>{t.selected=t.defaultSelected}));const e=this.placeholderOption();e&&this.hasPlaceholder()&&!t.some((t=>t.defaultSelected))&&(e.selected=!0),this.adoptingSelection=!0,this.value=this.loadValue,this.adoptingSelection=!1,this.applySelection(!0),this.syncSelection()}legacyRows(){const t=this.size;return"number"==typeof t?t:"string"==typeof t&&/^\d+$/.test(t)?Number(t):void 0}sizeChanged(){void 0!==this.legacyRows()&&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).")}componentWillLoad(){this.sizeChanged(),null==this.defaultValue||""===this.defaultValue||0===this.defaultValue||Number.isNaN(this.defaultValue)||(this.value=this.defaultValue),this.loadValue=this.value}componentDidRender(){this.updateFormValidity()}componentDidLoad(){this.multiple||null==this.value||""===this.value||0===this.value||Number.isNaN(this.value)||c(this.internals,""+this.value)}adoptSelection(){null!=this.selectEl&&(this.adoptingSelection=!0,this.value=this.selectEl.value,this.adoptingSelection=!1)}applySelection(t){if(null==this.selectEl)return;if(null!=this.value&&""!==this.value&&0!==this.value&&!Number.isNaN(this.value))return void this.selectEl.querySelectorAll("option").forEach((t=>{t.selected=t.value===this.value}));if(t)return void this.adoptSelection();this.selectEl.querySelectorAll("option").forEach((t=>{t.selected=!1}));const e=this.placeholderOption();e&&this.hasPlaceholder()&&(e.selected=!0),this.adoptSelection()}render(){var t;return i(a,{key:"42e4254c864375622c726101729fd844092061a3","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},i("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:t=>this.selectEl=t},i("option",{key:"bb97cadd31fcecb81c6d2fca97c08388c0a77926",class:"placeholder-option",value:"",disabled:!!this.required||void 0,selected:!(null!=this.defaultValue&&""!==this.defaultValue&&0!==this.defaultValue&&!Number.isNaN(this.defaultValue))||void 0},this.placeholder)),i("div",{key:"b8e24998a563f0f053fee1ebcbbd0460f45dbec7",class:"icon-container"},i("mds-icon",{key:"87c78af30764a8a0f63c298817bd4035a91305cf",class:"icon",name:n})),i("div",{key:"d8e54f60cb0ea272984bd4c0e19be273f2e66828",class:"option-container"},i("slot",{key:"7a451442ac6a31a1aa2dedcf6de304b1a6910133",onSlotchange:this.onSlotChangeHandler})),i("mds-input-tip",{key:"7b0d1080f5857290a0afcc463d9bc3fa59790a13",position:"top",active:this.hasFocus,part:"tip-top"},this.isDisabled()&&i("mds-input-tip-item",{key:"33617099a0824c0e41c16f17bc96a1578227a649",expanded:!0,variant:"disabled"}),this.required&&i("mds-input-tip-item",{key:"85b4f9be329e216e3ab580285aa73796896faaa6",expanded:this.hasFocus,variant:""===(null!==(t=this.value)&&void 0!==t?t:"")?"required":"required-success"})))}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{value:[{valueChanged:0}],required:[{requiredChanged:0}],name:[{nameChanged:0}],disabled:[{disabledChanged:0}],placeholder:[{placeholderChanged:0}],size:[{sizeChanged:0}]}}static get style(){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))}}'}},[321,"mds-input-select",{accessibleName:[1,"aria-label"],autocomplete:[513],autoFocus:[516,"auto-focus"],placeholder:[513],name:[513],disabled:[516],required:[516],multiple:[516],rows:[514],size:[520],value:[520],defaultValue:[520,"default-value"],variant:[513],hasFocus:[32],formDisabled:[32],setValue:[64]},void 0,{value:[{valueChanged:0}],required:[{requiredChanged:0}],name:[{nameChanged:0}],disabled:[{disabledChanged:0}],placeholder:[{placeholderChanged:0}],size:[{sizeChanged:0}]}]),v=u,g=function(){"undefined"!=typeof customElements&&["mds-input-select","mds-icon","mds-input-tip","mds-input-tip-item","mds-text"].forEach((t=>{switch(t){case"mds-input-select":customElements.get(s(t))||customElements.define(s(t),u);break;case"mds-icon":customElements.get(s(t))||d();break;case"mds-input-tip":customElements.get(s(t))||m();break;case"mds-input-tip-item":customElements.get(s(t))||h();break;case"mds-text":customElements.get(s(t))||p()}}))};export{v as MdsInputSelect,g as defineCustomElement}
1
+ import{p as t,H as e,d as r,h as i,c as a,t as s}from"./p-g2_CekDc.js";import{p as o}from"./p-AWCYh8Xe.js";import{m as n}from"./p-DiWN48aq.js";import{s as c}from"./p-wI0alRSO.js";import{u as l}from"./p-DvccsLwr.js";import{d}from"./p-oHBGZ2Av.js";import{d as m}from"./p-kS9VRIWa.js";import{d as h}from"./p-DxNrlomi.js";import{d as u}from"./p-aZlZ1XB9.js";const p=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.changeEvent=r(this,"mdsInputSelectChange",7),this.internals=this.attachInternals(),this.adoptingSelection=!1,this.hasFocus=!1,this.formDisabled=!1,this.disabled=!1,this.required=!1,this.multiple=!1,this.rows=0,this.size="lg",this.value="",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.onInput=()=>{this.adoptSelection(),this.syncSelection()},this.onBlur=()=>{this.hasFocus=!1},this.onFocus=()=>{this.hasFocus=!0},this.hasPlaceholder=()=>{var t;return""!==(null!==(t=this.placeholder)&&void 0!==t?t:"")},this.placeholderOption=()=>{var t,e;return null!==(e=null===(t=this.selectEl)||void 0===t?void 0:t.querySelector(".placeholder-option"))&&void 0!==e?e:null},this.emptyOptions=()=>{var t;const e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector("select"),r=null==e?void 0:e.querySelectorAll("option");r&&r.forEach(((t,e)=>{this.hasPlaceholder()||t.remove(),this.hasPlaceholder()&&e>0&&t.remove()}))},this.onSlotChangeHandler=()=>{var t,e,r;const i=null===(e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelectorAll("slot")[0])||void 0===e?void 0:e.assignedNodes(),a=null===(r=this.selectEl)||void 0===r?void 0:r.querySelectorAll("option");null!=a&&(!this.hasPlaceholder()&&a.length>0&&this.emptyOptions(),this.hasPlaceholder()&&a.length>1&&this.emptyOptions(),null==i||i.forEach((t=>{var e;null===(e=this.selectEl)||void 0===e||e.appendChild(t.cloneNode(!0))})),this.applySelection(!0),this.syncSelection())}}async setValue(t){return this.value=t,Promise.resolve()}valueChanged(){this.adoptingSelection||(this.applySelection(!1),this.syncSelection())}requiredChanged(){this.updateFormValidity()}nameChanged(){this.updateFormValue(this.selectedValues())}selectedValues(){var t;return null==this.selectEl?""===(null!==(t=this.value)&&void 0!==t?t:"")?[]:[""+this.value]:Array.from(this.selectEl.selectedOptions).filter((t=>!t.classList.contains("placeholder-option"))).map((t=>t.value))}syncSelection(){var t;const e=this.selectedValues();this.updateFormValue(e),this.updateFormValidity();const r=null===(t=this.value)||void 0===t?void 0:""+t,i=JSON.stringify([r,e]);if(i===this.emittedSelection)return;const a=void 0===this.emittedSelection;this.emittedSelection=i,a||this.changeEvent.emit({value:r,values:e})}updateFormValue(t){var e,r,i;if(!this.multiple)return void c(this.internals,null!==(r=null===(e=this.value)||void 0===e?void 0:""+e)&&void 0!==r?r:null);const a=null!==(i=this.name)&&void 0!==i?i:"";if(""===a||0===t.length)return void c(this.internals,null);const s=new FormData;t.forEach((t=>s.append(a,t))),c(this.internals,s)}updateFormValidity(){var t;const e=this.required&&""===(null!==(t=this.value)&&void 0!==t?t:"");l(this.internals,e?{rule:"requiredSelect"}:void 0,this.selectEl)}disabledChanged(t){t&&c(this.internals,null)}placeholderChanged(t,e){if(null!=this.selectEl&&null!=t&&""!==t&&""===(null!=e?e:"")){let e=this.placeholderOption();e&&e.remove(),e=document.createElement("option"),e.className="placeholder-option",this.selectEl.insertBefore(e,this.selectEl.firstChild),e.value="",e.text=t,(null==this.defaultValue||""===this.defaultValue||0===this.defaultValue||Number.isNaN(this.defaultValue))&&(e.selected=!0,this.value=void 0),this.required&&(e.disabled=!0)}}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){if(null==this.selectEl)return;const t=Array.from(this.selectEl.querySelectorAll("option"));t.forEach((t=>{t.selected=t.defaultSelected}));const e=this.placeholderOption();e&&this.hasPlaceholder()&&!t.some((t=>t.defaultSelected))&&(e.selected=!0),this.adoptingSelection=!0,this.value=this.loadValue,this.adoptingSelection=!1,this.applySelection(!0),this.syncSelection()}legacyRows(){const t=this.size;return"number"==typeof t?t:"string"==typeof t&&/^\d+$/.test(t)?Number(t):void 0}sizeChanged(){void 0!==this.legacyRows()&&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).")}componentWillLoad(){this.sizeChanged(),null==this.defaultValue||""===this.defaultValue||0===this.defaultValue||Number.isNaN(this.defaultValue)||(this.value=this.defaultValue),this.loadValue=this.value}componentDidRender(){this.updateFormValidity()}componentDidLoad(){this.multiple||null==this.value||""===this.value||0===this.value||Number.isNaN(this.value)||c(this.internals,""+this.value)}adoptSelection(){null!=this.selectEl&&(this.adoptingSelection=!0,this.value=this.selectEl.value,this.adoptingSelection=!1)}applySelection(t){if(null==this.selectEl)return;if(null!=this.value&&""!==this.value&&0!==this.value&&!Number.isNaN(this.value))return void this.selectEl.querySelectorAll("option").forEach((t=>{t.selected=t.value===this.value}));if(t)return void this.adoptSelection();this.selectEl.querySelectorAll("option").forEach((t=>{t.selected=!1}));const e=this.placeholderOption();e&&this.hasPlaceholder()&&(e.selected=!0),this.adoptSelection()}render(){var t;return i(a,{key:"6e1e52a24341b93e34797e5a05e01e9d0d2f5d3a","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},i("select",{key:"fb03cb0b564766af57e17ea4b31b84caaf083f7c","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:t=>this.selectEl=t},i("option",{key:"d1fb2ad4c6aba470bdffea763947b290157933ce",class:"placeholder-option",value:"",disabled:!!this.required||void 0,selected:!(null!=this.defaultValue&&""!==this.defaultValue&&0!==this.defaultValue&&!Number.isNaN(this.defaultValue))||void 0},this.placeholder)),i("div",{key:"a0d734c9c5caa7209fb093c5ad289d91a7437b32",class:"icon-container"},i("mds-icon",{key:"7a1c3dd2365ef1c1f9450d3cdf97b2b12daf6628",class:"icon",name:n})),i("div",{key:"218453f2664fe46c68a3a0581dbf3bce35b52ab7",class:"option-container"},i("slot",{key:"7cc7e13e64ec3a1a4bd4623406b90e99f3bcec97",onSlotchange:this.onSlotChangeHandler})),i("mds-input-tip",{key:"8b68b7a0cf9efcfc1d46af00fbaed999527715bc",position:"top",active:this.hasFocus,part:"tip-top"},this.isDisabled()&&i("mds-input-tip-item",{key:"fec062703ba00a761d91d2000c84296dad714ab5",expanded:!0,variant:"disabled"}),this.required&&i("mds-input-tip-item",{key:"926adcd158c6846b74a0418be33aae852281cdb2",expanded:this.hasFocus,variant:""===(null!==(t=this.value)&&void 0!==t?t:"")?"required":"required-success"})))}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{value:[{valueChanged:0}],required:[{requiredChanged:0}],name:[{nameChanged:0}],disabled:[{disabledChanged:0}],placeholder:[{placeholderChanged:0}],size:[{sizeChanged:0}]}}static get style(){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-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);--private-input-select-radius:min(var(--magma-radius-xl,var(--radius-squircle-xl,36px)),var(--magma-corner-cap,.5) * var(--private-input-select-height));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:var(--private-input-select-radius);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(: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)))}.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-field-radius:var(--private-input-select-radius);--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]){--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]){--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))}}'}},[321,"mds-input-select",{accessibleName:[1,"aria-label"],autocomplete:[513],autoFocus:[516,"auto-focus"],placeholder:[513],name:[513],disabled:[516],required:[516],multiple:[516],rows:[514],size:[520],value:[520],defaultValue:[520,"default-value"],variant:[513],hasFocus:[32],formDisabled:[32],setValue:[64]},void 0,{value:[{valueChanged:0}],required:[{requiredChanged:0}],name:[{nameChanged:0}],disabled:[{disabledChanged:0}],placeholder:[{placeholderChanged:0}],size:[{sizeChanged:0}]}]),v=p,g=function(){"undefined"!=typeof customElements&&["mds-input-select","mds-icon","mds-input-tip","mds-input-tip-item","mds-text"].forEach((t=>{switch(t){case"mds-input-select":customElements.get(s(t))||customElements.define(s(t),p);break;case"mds-icon":customElements.get(s(t))||d();break;case"mds-input-tip":customElements.get(s(t))||m();break;case"mds-input-tip-item":customElements.get(s(t))||h();break;case"mds-text":customElements.get(s(t))||u()}}))};export{v as MdsInputSelect,g as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as s}from"./p-j5Hnbfv9.js";const p=o,r=s;export{p as MdsInputSwitch,r as defineCustomElement}
1
+ import{M as o,d as s}from"./p-C589Hkfn.js";const p=o,r=s;export{p as MdsInputSwitch,r as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as r}from"./p-CrOv4KdL.js";const s=o,p=r;export{s as MdsInputTipItem,p as defineCustomElement}
1
+ import{M as o,d as r}from"./p-DxNrlomi.js";const s=o,m=r;export{s as MdsInputTipItem,m as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as s}from"./p-DWOg4-dH.js";const p=o,r=s;export{p as MdsInputTip,r as defineCustomElement}
1
+ import{M as o,d as s}from"./p-kS9VRIWa.js";const a=o,p=s;export{a as MdsInputTip,p as defineCustomElement}