@maggioli-design-system/magma 2.12.0 → 2.14.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 (1461) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +79 -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/mcp.md +12 -4
  10. package/agents/patterns/actions.md +7 -6
  11. package/agents/patterns/empty-state.md +5 -7
  12. package/agents/patterns/previews/actions/confirm.dark.webp +0 -0
  13. package/agents/patterns/previews/actions/confirm.light.webp +0 -0
  14. package/agents/patterns/previews/actions/destructive-in-menu.dark.webp +0 -0
  15. package/agents/patterns/previews/actions/dismiss.dark.webp +0 -0
  16. package/agents/patterns/previews/actions/dismiss.light.webp +0 -0
  17. package/agents/patterns/previews/confirm-action/ask-before-sending.dark.webp +0 -0
  18. package/agents/patterns/previews/confirm-action/ask-before-sending.light.webp +0 -0
  19. package/agents/patterns/previews/confirm-action/ask-first-many.dark.webp +0 -0
  20. package/agents/patterns/previews/confirm-action/ask-first-many.light.webp +0 -0
  21. package/agents/patterns/previews/confirm-action/ask-first.dark.webp +0 -0
  22. package/agents/patterns/previews/confirm-action/ask-first.light.webp +0 -0
  23. package/agents/patterns/previews/empty-state/add-the-first.dark.webp +0 -0
  24. package/agents/patterns/previews/empty-state/add-the-first.html +5 -7
  25. package/agents/patterns/previews/empty-state/add-the-first.light.webp +0 -0
  26. package/agents/patterns/previews/empty-state/all-done.dark.webp +0 -0
  27. package/agents/patterns/previews/empty-state/all-done.html +5 -7
  28. package/agents/patterns/previews/empty-state/all-done.light.webp +0 -0
  29. package/agents/patterns/previews/empty-state/clear-filters.dark.webp +0 -0
  30. package/agents/patterns/previews/empty-state/clear-filters.html +4 -6
  31. package/agents/patterns/previews/empty-state/clear-filters.light.webp +0 -0
  32. package/agents/patterns/previews/empty-state/filled-by-others.dark.webp +0 -0
  33. package/agents/patterns/previews/empty-state/filled-by-others.html +5 -7
  34. package/agents/patterns/previews/empty-state/filled-by-others.light.webp +0 -0
  35. package/agents/patterns/previews/empty-state/not-found.dark.webp +0 -0
  36. package/agents/patterns/previews/empty-state/not-found.html +5 -7
  37. package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
  38. package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
  39. package/agents/patterns/previews/item-list/queue-of-a-desk.html +1 -1
  40. package/agents/patterns/previews/item-list/queue-of-a-desk.light.webp +0 -0
  41. package/agents/patterns/previews/item-list/requests-of-an-office.dark.webp +0 -0
  42. package/agents/patterns/previews/item-list/requests-of-an-office.light.webp +0 -0
  43. package/agents/patterns/previews/item-list/requests-to-assign.html +3 -12
  44. package/agents/patterns/previews/labels-and-values/what-is-sent.dark.webp +0 -0
  45. package/agents/patterns/previews/labels-and-values/what-is-sent.light.webp +0 -0
  46. package/agents/patterns/previews/list-with-filters/act-on-many.html +2 -9
  47. package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
  48. package/agents/patterns/previews/list-with-filters/show-new-items.html +1 -1
  49. package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
  50. package/agents/patterns/previews/loading/await-and-say.html +2 -5
  51. package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
  52. package/agents/patterns/previews/loading/first-load.light.webp +0 -0
  53. package/agents/patterns/previews/loading/keep-while-reloading.light.webp +0 -0
  54. package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
  55. package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
  56. package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
  57. package/agents/patterns/previews/loading/long-load.light.webp +0 -0
  58. package/agents/patterns/previews/message-placement/action-done-elsewhere.dark.webp +0 -0
  59. package/agents/patterns/previews/message-placement/action-done-elsewhere.light.webp +0 -0
  60. package/agents/patterns/previews/message-placement/action-failed-in-place.dark.webp +0 -0
  61. package/agents/patterns/previews/message-placement/action-failed-in-place.light.webp +0 -0
  62. package/agents/patterns/previews/message-placement/action-partial-elsewhere.light.webp +0 -0
  63. package/agents/patterns/previews/message-placement/app-deadline.dark.webp +0 -0
  64. package/agents/patterns/previews/message-placement/app-deadline.light.webp +0 -0
  65. package/agents/patterns/previews/message-placement/decision.dark.webp +0 -0
  66. package/agents/patterns/previews/message-placement/decision.light.webp +0 -0
  67. package/agents/patterns/previews/message-placement/field-error.dark.webp +0 -0
  68. package/agents/patterns/previews/message-placement/field-error.light.webp +0 -0
  69. package/agents/patterns/previews/message-placement/field-valid.dark.webp +0 -0
  70. package/agents/patterns/previews/message-placement/field-valid.light.webp +0 -0
  71. package/agents/patterns/previews/record-detail/ask-for-words.dark.webp +0 -0
  72. package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
  73. package/agents/patterns/previews/surfaces/band.light.webp +0 -0
  74. package/agents/patterns/previews/surfaces/card.dark.webp +0 -0
  75. package/agents/patterns/previews/surfaces/card.light.webp +0 -0
  76. package/agents/patterns/previews/surfaces/dialog.dark.webp +0 -0
  77. package/agents/patterns/previews/surfaces/dialog.light.webp +0 -0
  78. package/agents/patterns/previews/surfaces/intro-band.dark.webp +0 -0
  79. package/agents/patterns/previews/surfaces/intro-band.html +66 -0
  80. package/agents/patterns/previews/surfaces/intro-band.light.webp +0 -0
  81. package/agents/patterns/previews/titles/dialog.dark.webp +0 -0
  82. package/agents/patterns/previews/titles/dialog.light.webp +0 -0
  83. package/agents/patterns/previews/widths/dialog.dark.webp +0 -0
  84. package/agents/patterns/previews/widths/dialog.light.webp +0 -0
  85. package/agents/patterns/previews/widths/page.dark.webp +0 -0
  86. package/agents/patterns/surfaces.md +49 -11
  87. package/agents/patterns/titles.md +15 -14
  88. package/agents/patterns.md +5 -4
  89. package/agents/theming.md +5 -0
  90. package/dist/cjs/{floating-controller-B4YhrWm8.js → floating-controller-B21tqid0.js} +51 -4
  91. package/dist/cjs/{floating-ui.dom-VQ_HnnRe.js → floating-ui.dom-1Z4VE-PH.js} +1 -0
  92. package/dist/cjs/{index-BQNHYWJg.js → index-B99V_UhC.js} +87 -44
  93. package/dist/cjs/{index-Csgx951d.js → index-CFEj7WVH.js} +12 -1
  94. package/dist/cjs/index.cjs.js +45 -3
  95. package/dist/cjs/loader.cjs.js +2 -2
  96. package/dist/cjs/{locale-DgMC52AD.js → locale-6jikg4jE.js} +1 -1
  97. package/dist/cjs/magma-components.cjs.js +3 -3
  98. package/dist/cjs/mds-accordion-item.cjs.entry.js +10 -7
  99. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +10 -7
  100. package/dist/cjs/mds-accordion-timer.cjs.entry.js +4 -3
  101. package/dist/cjs/mds-accordion.cjs.entry.js +5 -4
  102. package/dist/cjs/mds-author.cjs.entry.js +4 -3
  103. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +4 -3
  104. package/dist/cjs/mds-avatar-stack.cjs.entry.js +4 -3
  105. package/dist/cjs/mds-avatar.cjs.entry.js +5 -4
  106. package/dist/cjs/mds-badge.cjs.entry.js +5 -4
  107. package/dist/cjs/mds-banner_3.cjs.entry.js +56 -27
  108. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +4 -3
  109. package/dist/cjs/mds-bibliography.cjs.entry.js +4 -3
  110. package/dist/cjs/mds-book.cjs.entry.js +8 -7
  111. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +4 -3
  112. package/dist/cjs/mds-breadcrumb.cjs.entry.js +6 -5
  113. package/dist/cjs/mds-button-dropdown.cjs.entry.js +7 -6
  114. package/dist/cjs/mds-button-group.cjs.entry.js +5 -4
  115. package/dist/cjs/mds-button_3.cjs.entry.js +15 -12
  116. package/dist/cjs/mds-calendar_2.cjs.entry.js +190 -305
  117. package/dist/cjs/mds-card-content.cjs.entry.js +4 -3
  118. package/dist/cjs/mds-card-footer.cjs.entry.js +5 -4
  119. package/dist/cjs/mds-card-header.cjs.entry.js +4 -3
  120. package/dist/cjs/mds-card-media.cjs.entry.js +4 -3
  121. package/dist/cjs/mds-card.cjs.entry.js +6 -5
  122. package/dist/cjs/mds-details.cjs.entry.js +5 -4
  123. package/dist/cjs/mds-dropdown.cjs.entry.js +46 -17
  124. package/dist/cjs/mds-emoji.cjs.entry.js +5 -4
  125. package/dist/cjs/mds-entity.cjs.entry.js +5 -4
  126. package/dist/cjs/mds-file-preview.cjs.entry.js +7 -6
  127. package/dist/cjs/mds-file.cjs.entry.js +6 -5
  128. package/dist/cjs/mds-filter-item.cjs.entry.js +6 -5
  129. package/dist/cjs/mds-filter.cjs.entry.js +6 -5
  130. package/dist/cjs/mds-header-bar.cjs.entry.js +6 -5
  131. package/dist/cjs/mds-header.cjs.entry.js +5 -4
  132. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +6 -5
  133. package/dist/cjs/mds-hr.cjs.entry.js +5 -4
  134. package/dist/cjs/mds-img.cjs.entry.js +5 -4
  135. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +4 -3
  136. package/dist/cjs/mds-input-date-range.cjs.entry.js +126 -31
  137. package/dist/cjs/mds-input-date.cjs.entry.js +26 -12
  138. package/dist/cjs/mds-input-field.cjs.entry.js +4 -3
  139. package/dist/cjs/mds-input-otp.cjs.entry.js +6 -5
  140. package/dist/cjs/mds-input-range-value.cjs.entry.js +18 -0
  141. package/dist/cjs/mds-input-range.cjs.entry.js +432 -30
  142. package/dist/cjs/mds-input-select.cjs.entry.js +9 -8
  143. package/dist/cjs/mds-input-switch_2.cjs.entry.js +9 -7
  144. package/dist/cjs/mds-input-tip_2.cjs.entry.js +17 -12
  145. package/dist/cjs/mds-input-upload.cjs.entry.js +10 -9
  146. package/dist/cjs/mds-input.cjs.entry.js +292 -35
  147. package/dist/cjs/mds-keyboard-key.cjs.entry.js +6 -5
  148. package/dist/cjs/mds-keyboard.cjs.entry.js +6 -5
  149. package/dist/cjs/mds-kpi-item.cjs.entry.js +5 -4
  150. package/dist/cjs/mds-kpi.cjs.entry.js +4 -3
  151. package/dist/cjs/mds-label.cjs.entry.js +6 -5
  152. package/dist/cjs/mds-link.cjs.entry.js +9 -8
  153. package/dist/cjs/mds-list-item.cjs.entry.js +4 -3
  154. package/dist/cjs/mds-list.cjs.entry.js +4 -3
  155. package/dist/cjs/mds-mention.cjs.entry.js +6 -5
  156. package/dist/cjs/mds-modal.cjs.entry.js +7 -6
  157. package/dist/cjs/mds-note.cjs.entry.js +6 -5
  158. package/dist/cjs/mds-notification.cjs.entry.js +6 -5
  159. package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -4
  160. package/dist/cjs/mds-paginator.cjs.entry.js +6 -5
  161. package/dist/cjs/mds-policy-ai.cjs.entry.js +6 -5
  162. package/dist/cjs/mds-pref-animation.cjs.entry.js +6 -5
  163. package/dist/cjs/mds-pref-consumption.cjs.entry.js +6 -5
  164. package/dist/cjs/mds-pref-contrast.cjs.entry.js +6 -5
  165. package/dist/cjs/mds-pref-language-item.cjs.entry.js +6 -5
  166. package/dist/cjs/mds-pref-language.cjs.entry.js +6 -5
  167. package/dist/cjs/mds-pref-mode.cjs.entry.js +6 -5
  168. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
  169. package/dist/cjs/mds-pref-theme.cjs.entry.js +6 -5
  170. package/dist/cjs/mds-pref.cjs.entry.js +12 -6
  171. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +5 -4
  172. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +5 -4
  173. package/dist/cjs/mds-price-table-features.cjs.entry.js +5 -4
  174. package/dist/cjs/mds-price-table-header.cjs.entry.js +4 -3
  175. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +4 -3
  176. package/dist/cjs/mds-price-table-list.cjs.entry.js +5 -4
  177. package/dist/cjs/mds-price-table.cjs.entry.js +4 -3
  178. package/dist/cjs/mds-progress_2.cjs.entry.js +13 -8
  179. package/dist/cjs/mds-push-notification-item.cjs.entry.js +7 -6
  180. package/dist/cjs/mds-push-notification.cjs.entry.js +6 -5
  181. package/dist/cjs/mds-quote.cjs.entry.js +5 -4
  182. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +4 -3
  183. package/dist/cjs/mds-radial-menu.cjs.entry.js +8 -7
  184. package/dist/cjs/mds-separator.cjs.entry.js +5 -4
  185. package/dist/cjs/mds-status-bar.cjs.entry.js +5 -4
  186. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +7 -6
  187. package/dist/cjs/mds-stepper-bar.cjs.entry.js +6 -6
  188. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +5 -4
  189. package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -4
  190. package/dist/cjs/mds-tab_2.cjs.entry.js +41 -17
  191. package/dist/cjs/mds-table-body.cjs.entry.js +5 -4
  192. package/dist/cjs/mds-table-footer.cjs.entry.js +5 -4
  193. package/dist/cjs/mds-table-header-cell.cjs.entry.js +5 -4
  194. package/dist/cjs/mds-table-header.cjs.entry.js +14 -14
  195. package/dist/cjs/mds-table-row.cjs.entry.js +7 -6
  196. package/dist/cjs/mds-table.cjs.entry.js +42 -14
  197. package/dist/cjs/mds-text.cjs.entry.js +5 -4
  198. package/dist/cjs/mds-toast-region.cjs.entry.js +4 -3
  199. package/dist/cjs/mds-toast.cjs.entry.js +6 -5
  200. package/dist/cjs/mds-tooltip.cjs.entry.js +33 -14
  201. package/dist/cjs/mds-tree-item.cjs.entry.js +6 -5
  202. package/dist/cjs/mds-tree.cjs.entry.js +4 -3
  203. package/dist/cjs/mds-url-view.cjs.entry.js +6 -18
  204. package/dist/cjs/mds-usage.cjs.entry.js +6 -5
  205. package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
  206. package/dist/cjs/mds-zero.cjs.entry.js +15 -5
  207. package/dist/cjs/{navigation-5yeOyO6F.js → navigation-Dxea9mKE.js} +7 -0
  208. package/dist/cjs/{preference-DhNxLZ4R.js → preference-DTUJPGHS.js} +1 -1
  209. package/dist/collection/collection-manifest.json +2 -1
  210. package/dist/collection/common/floating-controller.js +50 -3
  211. package/dist/collection/common/navigation.js +7 -0
  212. package/dist/collection/common/validity/index.js +3 -0
  213. package/dist/collection/components/mds-accordion/AGENTS.md +2 -2
  214. package/dist/collection/components/mds-accordion/documentation.json +5 -4
  215. package/dist/collection/components/mds-accordion/examples.md +3 -3
  216. package/dist/collection/components/mds-accordion/mds-accordion.js +1 -1
  217. package/dist/collection/components/mds-accordion-item/AGENTS.md +5 -3
  218. package/dist/collection/components/mds-accordion-item/documentation.json +60 -5
  219. package/dist/collection/components/mds-accordion-item/examples.md +5 -3
  220. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +9 -0
  221. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +32 -4
  222. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  223. package/dist/collection/components/mds-accordion-timer/documentation.json +3 -2
  224. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +1 -1
  225. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +6 -4
  226. package/dist/collection/components/mds-accordion-timer-item/documentation.json +64 -9
  227. package/dist/collection/components/mds-accordion-timer-item/examples.md +5 -3
  228. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +9 -0
  229. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +32 -4
  230. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  231. package/dist/collection/components/mds-author/documentation.json +3 -2
  232. package/dist/collection/components/mds-author/mds-author.js +1 -1
  233. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  234. package/dist/collection/components/mds-avatar/documentation.json +3 -2
  235. package/dist/collection/components/mds-avatar/mds-avatar.js +1 -1
  236. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  237. package/dist/collection/components/mds-avatar-stack/documentation.json +3 -2
  238. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +1 -1
  239. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  240. package/dist/collection/components/mds-avatar-stack-item/documentation.json +3 -2
  241. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +1 -1
  242. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  243. package/dist/collection/components/mds-badge/documentation.json +3 -2
  244. package/dist/collection/components/mds-badge/mds-badge.js +1 -1
  245. package/dist/collection/components/mds-banner/AGENTS.md +4 -1
  246. package/dist/collection/components/mds-banner/documentation.json +44 -5
  247. package/dist/collection/components/mds-banner/examples.md +15 -9
  248. package/dist/collection/components/mds-banner/mds-banner.js +63 -19
  249. package/dist/collection/components/mds-banner/meta/dictionary.js +7 -0
  250. package/dist/collection/components/mds-banner/meta/types.js +1 -0
  251. package/dist/collection/components/mds-banner/mistakes.md +20 -0
  252. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  253. package/dist/collection/components/mds-benchmark-bar/documentation.json +3 -2
  254. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +1 -1
  255. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  256. package/dist/collection/components/mds-bibliography/documentation.json +3 -2
  257. package/dist/collection/components/mds-bibliography/mds-bibliography.js +1 -1
  258. package/dist/collection/components/mds-book/AGENTS.md +1 -1
  259. package/dist/collection/components/mds-book/documentation.json +3 -2
  260. package/dist/collection/components/mds-book/mds-book.js +3 -3
  261. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  262. package/dist/collection/components/mds-breadcrumb/documentation.json +3 -2
  263. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +1 -1
  264. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  265. package/dist/collection/components/mds-breadcrumb-item/documentation.json +3 -2
  266. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +1 -1
  267. package/dist/collection/components/mds-button/AGENTS.md +1 -1
  268. package/dist/collection/components/mds-button/documentation.json +3 -2
  269. package/dist/collection/components/mds-button/mds-button.js +4 -4
  270. package/dist/collection/components/mds-button-dropdown/AGENTS.md +3 -1
  271. package/dist/collection/components/mds-button-dropdown/documentation.json +5 -4
  272. package/dist/collection/components/mds-button-dropdown/examples.md +16 -0
  273. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +12 -0
  274. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  275. package/dist/collection/components/mds-button-group/AGENTS.md +3 -2
  276. package/dist/collection/components/mds-button-group/documentation.json +5 -4
  277. package/dist/collection/components/mds-button-group/examples.md +16 -0
  278. package/dist/collection/components/mds-button-group/mds-button-group.css +13 -0
  279. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  280. package/dist/collection/components/mds-calendar/AGENTS.md +8 -4
  281. package/dist/collection/components/mds-calendar/documentation.json +44 -5
  282. package/dist/collection/components/mds-calendar/examples.md +17 -1
  283. package/dist/collection/components/mds-calendar/mds-calendar.css +4 -0
  284. package/dist/collection/components/mds-calendar/mds-calendar.js +206 -300
  285. package/dist/collection/components/mds-calendar/meta/types.js +1 -0
  286. package/dist/collection/components/mds-calendar/mistakes.md +1 -1
  287. package/dist/collection/components/mds-calendar-cell/AGENTS.md +4 -4
  288. package/dist/collection/components/mds-calendar-cell/documentation.json +37 -24
  289. package/dist/collection/components/mds-calendar-cell/examples.md +3 -3
  290. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +121 -84
  291. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  292. package/dist/collection/components/mds-card/AGENTS.md +4 -2
  293. package/dist/collection/components/mds-card/documentation.json +12 -5
  294. package/dist/collection/components/mds-card/examples.md +6 -1
  295. package/dist/collection/components/mds-card/mds-card.css +8 -0
  296. package/dist/collection/components/mds-card/mds-card.js +1 -1
  297. package/dist/collection/components/mds-card/mistakes.md +1 -1
  298. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  299. package/dist/collection/components/mds-card-content/documentation.json +3 -2
  300. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  301. package/dist/collection/components/mds-card-footer/AGENTS.md +2 -2
  302. package/dist/collection/components/mds-card-footer/documentation.json +5 -4
  303. package/dist/collection/components/mds-card-footer/examples.md +1 -1
  304. package/dist/collection/components/mds-card-footer/mds-card-footer.css +9 -0
  305. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  306. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  307. package/dist/collection/components/mds-card-header/documentation.json +3 -2
  308. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  309. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  310. package/dist/collection/components/mds-card-media/documentation.json +3 -2
  311. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  312. package/dist/collection/components/mds-chip/AGENTS.md +5 -2
  313. package/dist/collection/components/mds-chip/documentation.json +37 -5
  314. package/dist/collection/components/mds-chip/examples.md +10 -0
  315. package/dist/collection/components/mds-chip/mds-chip.css +18 -0
  316. package/dist/collection/components/mds-chip/mds-chip.js +25 -1
  317. package/dist/collection/components/mds-chip/mistakes.md +25 -1
  318. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  319. package/dist/collection/components/mds-details/documentation.json +3 -2
  320. package/dist/collection/components/mds-details/mds-details.js +1 -1
  321. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  322. package/dist/collection/components/mds-dropdown/documentation.json +4 -3
  323. package/dist/collection/components/mds-dropdown/mds-dropdown.js +40 -12
  324. package/dist/collection/components/mds-dropdown/mistakes.md +1 -1
  325. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  326. package/dist/collection/components/mds-emoji/documentation.json +3 -2
  327. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  328. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  329. package/dist/collection/components/mds-entity/documentation.json +3 -2
  330. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  331. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  332. package/dist/collection/components/mds-file/documentation.json +3 -2
  333. package/dist/collection/components/mds-file/mds-file.js +1 -1
  334. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  335. package/dist/collection/components/mds-file-preview/documentation.json +3 -2
  336. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  337. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  338. package/dist/collection/components/mds-filter/documentation.json +3 -2
  339. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  340. package/dist/collection/components/mds-filter-item/AGENTS.md +2 -2
  341. package/dist/collection/components/mds-filter-item/documentation.json +5 -4
  342. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  343. package/dist/collection/components/mds-filter-item/mistakes.md +16 -0
  344. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-header/documentation.json +3 -2
  346. package/dist/collection/components/mds-header/mds-header.js +1 -1
  347. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  348. package/dist/collection/components/mds-header-bar/documentation.json +3 -2
  349. package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
  350. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-help/documentation.json +3 -2
  352. package/dist/collection/components/mds-help/mds-help.js +1 -1
  353. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  354. package/dist/collection/components/mds-horizontal-scroll/documentation.json +3 -2
  355. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  356. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  357. package/dist/collection/components/mds-hr/documentation.json +3 -2
  358. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  359. package/dist/collection/components/mds-icon/AGENTS.md +2 -2
  360. package/dist/collection/components/mds-icon/documentation.json +5 -4
  361. package/dist/collection/components/mds-icon/examples.md +3 -3
  362. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  363. package/dist/collection/components/mds-icon/services/icons-set.service.js +43 -1
  364. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  365. package/dist/collection/components/mds-img/documentation.json +3 -2
  366. package/dist/collection/components/mds-input/AGENTS.md +22 -18
  367. package/dist/collection/components/mds-input/documentation.json +32 -19
  368. package/dist/collection/components/mds-input/examples.md +20 -3
  369. package/dist/collection/components/mds-input/mds-input.css +115 -8
  370. package/dist/collection/components/mds-input/mds-input.js +236 -37
  371. package/dist/collection/components/mds-input/meta/color.js +19 -0
  372. package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +5 -1
  373. package/dist/collection/components/mds-input/meta/validators.js +10 -0
  374. package/dist/collection/components/mds-input/meta/validity.js +5 -2
  375. package/dist/collection/components/mds-input/mistakes.md +15 -1
  376. package/dist/collection/components/mds-input-date/AGENTS.md +7 -7
  377. package/dist/collection/components/mds-input-date/documentation.json +7 -24
  378. package/dist/collection/components/mds-input-date/examples.md +1 -1
  379. package/dist/collection/components/mds-input-date/mds-input-date.css +17 -15
  380. package/dist/collection/components/mds-input-date/mds-input-date.js +21 -8
  381. package/dist/collection/components/mds-input-date-range/AGENTS.md +10 -7
  382. package/dist/collection/components/mds-input-date-range/documentation.json +16 -8
  383. package/dist/collection/components/mds-input-date-range/examples.md +12 -1
  384. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +15 -0
  385. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +90 -27
  386. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  387. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +3 -2
  388. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  389. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  390. package/dist/collection/components/mds-input-field/documentation.json +3 -2
  391. package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
  392. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  393. package/dist/collection/components/mds-input-otp/documentation.json +3 -2
  394. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  395. package/dist/collection/components/mds-input-range/AGENTS.md +29 -8
  396. package/dist/collection/components/mds-input-range/documentation.json +31 -9
  397. package/dist/collection/components/mds-input-range/examples.md +41 -0
  398. package/dist/collection/components/mds-input-range/mds-input-range.css +177 -6
  399. package/dist/collection/components/mds-input-range/mds-input-range.js +471 -30
  400. package/dist/collection/components/mds-input-range/meta/event-detail.js +1 -0
  401. package/dist/collection/components/mds-input-range/mistakes.md +37 -0
  402. package/dist/collection/components/mds-input-range-value/AGENTS.md +43 -0
  403. package/dist/collection/components/mds-input-range-value/documentation.json +77 -0
  404. package/dist/collection/components/mds-input-range-value/examples.md +66 -0
  405. package/dist/collection/components/mds-input-range-value/mds-input-range-value.css +6 -0
  406. package/dist/collection/components/mds-input-range-value/mds-input-range-value.js +50 -0
  407. package/dist/collection/components/mds-input-range-value/mistakes.md +56 -0
  408. package/dist/collection/components/mds-input-select/AGENTS.md +2 -2
  409. package/dist/collection/components/mds-input-select/documentation.json +4 -3
  410. package/dist/collection/components/mds-input-select/mds-input-select.css +9 -19
  411. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  412. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  413. package/dist/collection/components/mds-input-switch/documentation.json +3 -2
  414. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  415. package/dist/collection/components/mds-input-tip/AGENTS.md +7 -6
  416. package/dist/collection/components/mds-input-tip/documentation.json +17 -10
  417. package/dist/collection/components/mds-input-tip/examples.md +2 -2
  418. package/dist/collection/components/mds-input-tip/mds-input-tip.css +15 -17
  419. package/dist/collection/components/mds-input-tip/mds-input-tip.js +9 -6
  420. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  421. package/dist/collection/components/mds-input-tip-item/documentation.json +3 -2
  422. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  423. package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +1 -1
  424. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  425. package/dist/collection/components/mds-input-upload/documentation.json +3 -2
  426. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  427. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  428. package/dist/collection/components/mds-keyboard/documentation.json +3 -2
  429. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  430. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  431. package/dist/collection/components/mds-keyboard-key/documentation.json +3 -2
  432. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  433. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  434. package/dist/collection/components/mds-kpi/documentation.json +3 -2
  435. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  436. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  437. package/dist/collection/components/mds-kpi-item/documentation.json +3 -2
  438. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  439. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  440. package/dist/collection/components/mds-label/documentation.json +3 -2
  441. package/dist/collection/components/mds-label/mds-label.js +1 -1
  442. package/dist/collection/components/mds-link/AGENTS.md +1 -1
  443. package/dist/collection/components/mds-link/documentation.json +3 -2
  444. package/dist/collection/components/mds-link/mds-link.js +3 -3
  445. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  446. package/dist/collection/components/mds-list/documentation.json +3 -2
  447. package/dist/collection/components/mds-list/mds-list.js +1 -1
  448. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  449. package/dist/collection/components/mds-list-item/documentation.json +3 -2
  450. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  451. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  452. package/dist/collection/components/mds-mention/documentation.json +3 -2
  453. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  454. package/dist/collection/components/mds-modal/AGENTS.md +2 -1
  455. package/dist/collection/components/mds-modal/documentation.json +5 -4
  456. package/dist/collection/components/mds-modal/examples.md +2 -0
  457. package/dist/collection/components/mds-modal/mds-modal.js +2 -2
  458. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  459. package/dist/collection/components/mds-note/documentation.json +3 -2
  460. package/dist/collection/components/mds-note/mds-note.js +1 -1
  461. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  462. package/dist/collection/components/mds-notification/documentation.json +3 -2
  463. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  464. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  465. package/dist/collection/components/mds-paginator/documentation.json +3 -2
  466. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  467. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  468. package/dist/collection/components/mds-paginator-item/documentation.json +3 -2
  469. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  470. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  471. package/dist/collection/components/mds-policy-ai/documentation.json +3 -2
  472. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  473. package/dist/collection/components/mds-pref/AGENTS.md +4 -1
  474. package/dist/collection/components/mds-pref/documentation.json +31 -4
  475. package/dist/collection/components/mds-pref/examples.md +14 -0
  476. package/dist/collection/components/mds-pref/mds-pref.js +26 -2
  477. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  478. package/dist/collection/components/mds-pref-animation/documentation.json +3 -2
  479. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  480. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  481. package/dist/collection/components/mds-pref-consumption/documentation.json +3 -2
  482. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  483. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  484. package/dist/collection/components/mds-pref-contrast/documentation.json +3 -2
  485. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  486. package/dist/collection/components/mds-pref-language/AGENTS.md +2 -2
  487. package/dist/collection/components/mds-pref-language/documentation.json +4 -3
  488. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  489. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  490. package/dist/collection/components/mds-pref-language-item/documentation.json +3 -2
  491. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  492. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  493. package/dist/collection/components/mds-pref-mode/documentation.json +3 -2
  494. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
  495. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  496. package/dist/collection/components/mds-pref-theme/documentation.json +3 -2
  497. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
  498. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  499. package/dist/collection/components/mds-pref-theme-item/documentation.json +3 -2
  500. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  501. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  502. package/dist/collection/components/mds-price-table/documentation.json +3 -2
  503. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  504. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  505. package/dist/collection/components/mds-price-table-features/documentation.json +3 -2
  506. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  507. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  508. package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -2
  509. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  510. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  511. package/dist/collection/components/mds-price-table-features-row/documentation.json +3 -2
  512. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  513. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  514. package/dist/collection/components/mds-price-table-header/documentation.json +3 -2
  515. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  516. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  517. package/dist/collection/components/mds-price-table-list/documentation.json +3 -2
  518. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  519. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  520. package/dist/collection/components/mds-price-table-list-item/documentation.json +3 -2
  521. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  522. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  523. package/dist/collection/components/mds-progress/documentation.json +3 -2
  524. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  525. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  526. package/dist/collection/components/mds-push-notification/documentation.json +3 -2
  527. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  528. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  529. package/dist/collection/components/mds-push-notification-item/documentation.json +3 -2
  530. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  531. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  532. package/dist/collection/components/mds-quote/documentation.json +3 -2
  533. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  534. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  535. package/dist/collection/components/mds-radial-menu/documentation.json +3 -2
  536. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  537. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  538. package/dist/collection/components/mds-radial-menu-item/documentation.json +3 -2
  539. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  540. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  541. package/dist/collection/components/mds-radial-progress/documentation.json +3 -2
  542. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +4 -2
  543. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +5 -2
  544. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  545. package/dist/collection/components/mds-separator/documentation.json +3 -2
  546. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  547. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  548. package/dist/collection/components/mds-spinner/documentation.json +3 -2
  549. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  550. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  551. package/dist/collection/components/mds-status-bar/documentation.json +3 -2
  552. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  553. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  554. package/dist/collection/components/mds-stepper-bar/documentation.json +3 -2
  555. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +3 -4
  556. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +2 -2
  557. package/dist/collection/components/mds-stepper-bar-item/documentation.json +5 -4
  558. package/dist/collection/components/mds-stepper-bar-item/examples.md +1 -1
  559. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +7 -2
  560. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  561. package/dist/collection/components/mds-tab/AGENTS.md +3 -3
  562. package/dist/collection/components/mds-tab/documentation.json +8 -3
  563. package/dist/collection/components/mds-tab/mds-tab.js +34 -12
  564. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  565. package/dist/collection/components/mds-tab-bar/documentation.json +3 -2
  566. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  567. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  568. package/dist/collection/components/mds-tab-bar-item/documentation.json +3 -2
  569. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  570. package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
  571. package/dist/collection/components/mds-tab-item/documentation.json +7 -2
  572. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  573. package/dist/collection/components/mds-table/AGENTS.md +4 -4
  574. package/dist/collection/components/mds-table/documentation.json +10 -9
  575. package/dist/collection/components/mds-table/examples.md +21 -0
  576. package/dist/collection/components/mds-table/mds-table.js +42 -15
  577. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  578. package/dist/collection/components/mds-table-body/documentation.json +3 -2
  579. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  580. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  581. package/dist/collection/components/mds-table-cell/documentation.json +3 -2
  582. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  583. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  584. package/dist/collection/components/mds-table-footer/documentation.json +3 -2
  585. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  586. package/dist/collection/components/mds-table-header/AGENTS.md +3 -3
  587. package/dist/collection/components/mds-table-header/documentation.json +5 -8
  588. package/dist/collection/components/mds-table-header/mds-table-header.js +9 -14
  589. package/dist/collection/components/mds-table-header/mistakes.md +1 -1
  590. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  591. package/dist/collection/components/mds-table-header-cell/documentation.json +3 -2
  592. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  593. package/dist/collection/components/mds-table-row/AGENTS.md +2 -2
  594. package/dist/collection/components/mds-table-row/documentation.json +4 -3
  595. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  596. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  597. package/dist/collection/components/mds-text/documentation.json +3 -2
  598. package/dist/collection/components/mds-text/mds-text.js +1 -1
  599. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  600. package/dist/collection/components/mds-toast/documentation.json +3 -2
  601. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  602. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  603. package/dist/collection/components/mds-toast-region/documentation.json +3 -2
  604. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  605. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  606. package/dist/collection/components/mds-tooltip/documentation.json +3 -2
  607. package/dist/collection/components/mds-tooltip/mds-tooltip.js +27 -9
  608. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  609. package/dist/collection/components/mds-tree/documentation.json +3 -2
  610. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  611. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  612. package/dist/collection/components/mds-tree-item/documentation.json +3 -2
  613. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  614. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  615. package/dist/collection/components/mds-url-view/documentation.json +3 -2
  616. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -14
  617. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  618. package/dist/collection/components/mds-usage/documentation.json +3 -2
  619. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  620. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  621. package/dist/collection/components/mds-video-wall/documentation.json +3 -2
  622. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  623. package/dist/collection/components/mds-zero/AGENTS.md +7 -6
  624. package/dist/collection/components/mds-zero/documentation.json +6 -5
  625. package/dist/collection/components/mds-zero/examples.md +37 -19
  626. package/dist/collection/components/mds-zero/mds-zero.css +22 -24
  627. package/dist/collection/components/mds-zero/mds-zero.js +17 -1
  628. package/dist/collection/components/mds-zero/mistakes.md +46 -8
  629. package/dist/collection/fixtures/dark-mode.js +16 -0
  630. package/dist/collection/index.js +2 -20
  631. package/dist/collection/type/file-types.js +1 -1
  632. package/dist/collection/type/input.js +1 -0
  633. package/dist/components/index.d.ts +2 -0
  634. package/dist/components/index.js +1 -1
  635. package/dist/components/mds-accordion-item.js +1 -1
  636. package/dist/components/mds-accordion-timer-item.js +1 -1
  637. package/dist/components/mds-accordion-timer.js +1 -1
  638. package/dist/components/mds-accordion.js +1 -1
  639. package/dist/components/mds-author.js +1 -1
  640. package/dist/components/mds-avatar-stack-item.js +1 -1
  641. package/dist/components/mds-avatar-stack.js +1 -1
  642. package/dist/components/mds-avatar.js +1 -1
  643. package/dist/components/mds-badge.js +1 -1
  644. package/dist/components/mds-banner.js +1 -1
  645. package/dist/components/mds-benchmark-bar.js +1 -1
  646. package/dist/components/mds-bibliography.js +1 -1
  647. package/dist/components/mds-book.js +1 -1
  648. package/dist/components/mds-breadcrumb-item.js +1 -1
  649. package/dist/components/mds-breadcrumb.js +1 -1
  650. package/dist/components/mds-button-dropdown.js +1 -1
  651. package/dist/components/mds-button-group.js +1 -1
  652. package/dist/components/mds-button.js +1 -1
  653. package/dist/components/mds-calendar-cell.js +1 -1
  654. package/dist/components/mds-calendar.js +1 -1
  655. package/dist/components/mds-card-content.js +1 -1
  656. package/dist/components/mds-card-footer.js +1 -1
  657. package/dist/components/mds-card-header.js +1 -1
  658. package/dist/components/mds-card-media.js +1 -1
  659. package/dist/components/mds-card.js +1 -1
  660. package/dist/components/mds-chip.js +1 -1
  661. package/dist/components/mds-details.js +1 -1
  662. package/dist/components/mds-dropdown.js +1 -1
  663. package/dist/components/mds-emoji.js +3 -3
  664. package/dist/components/mds-entity.js +1 -1
  665. package/dist/components/mds-file-preview.js +1 -1
  666. package/dist/components/mds-file.js +1 -1
  667. package/dist/components/mds-filter-item.js +1 -1
  668. package/dist/components/mds-filter.js +1 -1
  669. package/dist/components/mds-header-bar.js +1 -1
  670. package/dist/components/mds-header.js +1 -1
  671. package/dist/components/mds-help.js +1 -1
  672. package/dist/components/mds-horizontal-scroll.js +1 -1
  673. package/dist/components/mds-hr.js +1 -1
  674. package/dist/components/mds-icon.js +1 -1
  675. package/dist/components/mds-img.js +1 -1
  676. package/dist/components/mds-input-date-range-preselection.js +1 -1
  677. package/dist/components/mds-input-date-range.js +1 -1
  678. package/dist/components/mds-input-date.js +1 -1
  679. package/dist/components/mds-input-field.js +1 -1
  680. package/dist/components/mds-input-otp.js +1 -1
  681. package/dist/components/mds-input-range-value.d.ts +11 -0
  682. package/dist/components/mds-input-range-value.js +1 -0
  683. package/dist/components/mds-input-range.js +1 -1
  684. package/dist/components/mds-input-select.js +1 -1
  685. package/dist/components/mds-input-switch.js +1 -1
  686. package/dist/components/mds-input-tip-item.js +1 -1
  687. package/dist/components/mds-input-tip.js +1 -1
  688. package/dist/components/mds-input-upload.js +1 -1
  689. package/dist/components/mds-input.js +1 -1
  690. package/dist/components/mds-keyboard-key.js +1 -1
  691. package/dist/components/mds-keyboard.js +1 -1
  692. package/dist/components/mds-kpi-item.js +1 -1
  693. package/dist/components/mds-kpi.js +1 -1
  694. package/dist/components/mds-label.js +1 -1
  695. package/dist/components/mds-link.js +1 -1
  696. package/dist/components/mds-list-item.js +1 -1
  697. package/dist/components/mds-list.js +1 -1
  698. package/dist/components/mds-mention.js +1 -1
  699. package/dist/components/mds-modal.js +1 -1
  700. package/dist/components/mds-note.js +1 -1
  701. package/dist/components/mds-notification.js +1 -1
  702. package/dist/components/mds-paginator-item.js +1 -1
  703. package/dist/components/mds-paginator.js +1 -1
  704. package/dist/components/mds-policy-ai.js +1 -1
  705. package/dist/components/mds-pref-animation.js +1 -1
  706. package/dist/components/mds-pref-consumption.js +1 -1
  707. package/dist/components/mds-pref-contrast.js +1 -1
  708. package/dist/components/mds-pref-language-item.js +1 -1
  709. package/dist/components/mds-pref-language.js +1 -1
  710. package/dist/components/mds-pref-mode.js +1 -1
  711. package/dist/components/mds-pref-theme-item.js +1 -1
  712. package/dist/components/mds-pref-theme.js +1 -1
  713. package/dist/components/mds-pref.js +1 -1
  714. package/dist/components/mds-price-table-features-cell.js +1 -1
  715. package/dist/components/mds-price-table-features-row.js +1 -1
  716. package/dist/components/mds-price-table-features.js +1 -1
  717. package/dist/components/mds-price-table-header.js +1 -1
  718. package/dist/components/mds-price-table-list-item.js +1 -1
  719. package/dist/components/mds-price-table-list.js +1 -1
  720. package/dist/components/mds-price-table.js +1 -1
  721. package/dist/components/mds-progress.js +1 -1
  722. package/dist/components/mds-push-notification-item.js +1 -1
  723. package/dist/components/mds-push-notification.js +1 -1
  724. package/dist/components/mds-quote.js +1 -1
  725. package/dist/components/mds-radial-menu-item.js +1 -1
  726. package/dist/components/mds-radial-menu.js +1 -1
  727. package/dist/components/mds-radial-progress.js +1 -1
  728. package/dist/components/mds-separator.js +1 -1
  729. package/dist/components/mds-spinner.js +1 -1
  730. package/dist/components/mds-status-bar.js +1 -1
  731. package/dist/components/mds-stepper-bar-item.js +1 -1
  732. package/dist/components/mds-stepper-bar.js +1 -1
  733. package/dist/components/mds-tab-bar-item.js +1 -1
  734. package/dist/components/mds-tab-bar.js +1 -1
  735. package/dist/components/mds-tab-item.js +1 -1
  736. package/dist/components/mds-tab.js +1 -1
  737. package/dist/components/mds-table-body.js +1 -1
  738. package/dist/components/mds-table-cell.js +1 -1
  739. package/dist/components/mds-table-footer.js +1 -1
  740. package/dist/components/mds-table-header-cell.js +1 -1
  741. package/dist/components/mds-table-header.js +1 -1
  742. package/dist/components/mds-table-row.js +1 -1
  743. package/dist/components/mds-table.js +1 -1
  744. package/dist/components/mds-text.js +1 -1
  745. package/dist/components/mds-toast-region.js +1 -1
  746. package/dist/components/mds-toast.js +1 -1
  747. package/dist/components/mds-tooltip.js +1 -1
  748. package/dist/components/mds-tree-item.js +1 -1
  749. package/dist/components/mds-tree.js +1 -1
  750. package/dist/components/mds-url-view.js +1 -1
  751. package/dist/components/mds-usage.js +1 -1
  752. package/dist/components/mds-video-wall.js +1 -1
  753. package/dist/components/mds-zero.js +1 -1
  754. package/dist/components/{p-Bbrei_yQ.js → p-AWCYh8Xe.js} +1 -1
  755. package/dist/components/{p-ClvoVgmw.js → p-B-GgEAg7.js} +1 -1
  756. package/dist/components/p-B3npFzUR.js +1 -0
  757. package/dist/components/p-BD9VWE7b.js +1 -0
  758. package/dist/components/{p-BBZyH3mn.js → p-BFZN4zJ9.js} +1 -1
  759. package/dist/components/p-BG1fjwnd.js +1 -0
  760. package/dist/components/{p-BI1ShBQG.js → p-BNl6YWNN.js} +1 -1
  761. package/dist/components/{p-BE05D6Pe.js → p-Bg11_7lt.js} +1 -1
  762. package/dist/components/{p-3rr6yzu-.js → p-BiJ4xa4V.js} +1 -1
  763. package/dist/components/{p-CvbuCEYD.js → p-BmlDGlcB.js} +2 -2
  764. package/dist/components/p-C0m6B_kt.js +1 -0
  765. package/dist/components/{p-j5Hnbfv9.js → p-C589Hkfn.js} +1 -1
  766. package/dist/components/{p-BaFfIZGB.js → p-C7p9e0P3.js} +1 -1
  767. package/dist/components/{p-Vgo7t88R.js → p-C878c9Nu.js} +1 -1
  768. package/dist/components/{p-CWOW2Vna.js → p-CDcB9Zdz.js} +1 -1
  769. package/dist/components/{p-CZwKeFQT.js → p-CS8s4gRV.js} +1 -1
  770. package/dist/components/p-CSw6DbKp.js +1 -0
  771. package/dist/components/p-CUT9aFzz.js +1 -0
  772. package/dist/components/p-CfCw1XZP.js +1 -0
  773. package/dist/components/{p-BpND63Kl.js → p-Cjy1i94z.js} +1 -1
  774. package/dist/components/{p-Do7IoDLD.js → p-Cs80Zm2b.js} +2 -2
  775. package/dist/components/{p-NNPsVjnj.js → p-Cs8RIbsQ.js} +1 -1
  776. package/dist/components/p-CtEHhdv4.js +1 -0
  777. package/dist/components/{p-F0qhFsF0.js → p-Cty6fegI.js} +1 -1
  778. package/dist/components/{p-C6LU1s8K.js → p-D7C-gjL6.js} +1 -1
  779. package/dist/components/{p-DrtIqOQn.js → p-DKYN6Ikh.js} +1 -1
  780. package/dist/components/p-DvccsLwr.js +1 -0
  781. package/dist/components/{p-CrOv4KdL.js → p-DxNrlomi.js} +1 -1
  782. package/dist/components/p-G8GFHw3L.js +1 -0
  783. package/dist/components/p-MjWyZlga.js +1 -0
  784. package/dist/components/p-VoGfNJRY.js +1 -0
  785. package/dist/components/{p-BuhoBOYR.js → p-WFNxKo1V.js} +1 -1
  786. package/dist/components/{p-DN1yF-xO.js → p-aZlZ1XB9.js} +1 -1
  787. package/dist/components/p-g2_CekDc.js +3 -0
  788. package/dist/components/p-kS9VRIWa.js +1 -0
  789. package/dist/components/{p-BBrPpCNK.js → p-oHBGZ2Av.js} +1 -1
  790. package/dist/documentation.json +530 -157
  791. package/dist/esm/{floating-controller-xixU_s1w.js → floating-controller-DlFrvBTG.js} +51 -4
  792. package/dist/esm/{floating-ui.dom-BaFfIZGB.js → floating-ui.dom-C7p9e0P3.js} +1 -1
  793. package/dist/esm/{index-CvLLN-QH.js → index-CPibDZjX.js} +87 -44
  794. package/dist/esm/{index-DEL0bLpb.js → index-DWniH_Ge.js} +12 -1
  795. package/dist/esm/index.js +45 -3
  796. package/dist/esm/loader.js +3 -3
  797. package/dist/esm/{locale-DhP1Ge2o.js → locale-B7Hw4niB.js} +1 -1
  798. package/dist/esm/magma-components.js +4 -4
  799. package/dist/esm/mds-accordion-item.entry.js +10 -7
  800. package/dist/esm/mds-accordion-timer-item.entry.js +10 -7
  801. package/dist/esm/mds-accordion-timer.entry.js +4 -3
  802. package/dist/esm/mds-accordion.entry.js +5 -4
  803. package/dist/esm/mds-author.entry.js +4 -3
  804. package/dist/esm/mds-avatar-stack-item.entry.js +4 -3
  805. package/dist/esm/mds-avatar-stack.entry.js +4 -3
  806. package/dist/esm/mds-avatar.entry.js +5 -4
  807. package/dist/esm/mds-badge.entry.js +5 -4
  808. package/dist/esm/mds-banner_3.entry.js +56 -27
  809. package/dist/esm/mds-benchmark-bar.entry.js +4 -3
  810. package/dist/esm/mds-bibliography.entry.js +4 -3
  811. package/dist/esm/mds-book.entry.js +8 -7
  812. package/dist/esm/mds-breadcrumb-item.entry.js +4 -3
  813. package/dist/esm/mds-breadcrumb.entry.js +6 -5
  814. package/dist/esm/mds-button-dropdown.entry.js +7 -6
  815. package/dist/esm/mds-button-group.entry.js +5 -4
  816. package/dist/esm/mds-button_3.entry.js +15 -12
  817. package/dist/esm/mds-calendar_2.entry.js +190 -305
  818. package/dist/esm/mds-card-content.entry.js +4 -3
  819. package/dist/esm/mds-card-footer.entry.js +5 -4
  820. package/dist/esm/mds-card-header.entry.js +4 -3
  821. package/dist/esm/mds-card-media.entry.js +4 -3
  822. package/dist/esm/mds-card.entry.js +6 -5
  823. package/dist/esm/mds-details.entry.js +5 -4
  824. package/dist/esm/mds-dropdown.entry.js +46 -17
  825. package/dist/esm/mds-emoji.entry.js +5 -4
  826. package/dist/esm/mds-entity.entry.js +5 -4
  827. package/dist/esm/mds-file-preview.entry.js +7 -6
  828. package/dist/esm/mds-file.entry.js +6 -5
  829. package/dist/esm/mds-filter-item.entry.js +6 -5
  830. package/dist/esm/mds-filter.entry.js +6 -5
  831. package/dist/esm/mds-header-bar.entry.js +6 -5
  832. package/dist/esm/mds-header.entry.js +5 -4
  833. package/dist/esm/mds-horizontal-scroll.entry.js +6 -5
  834. package/dist/esm/mds-hr.entry.js +5 -4
  835. package/dist/esm/mds-img.entry.js +5 -4
  836. package/dist/esm/mds-input-date-range-preselection.entry.js +4 -3
  837. package/dist/esm/mds-input-date-range.entry.js +126 -31
  838. package/dist/esm/mds-input-date.entry.js +26 -12
  839. package/dist/esm/mds-input-field.entry.js +4 -3
  840. package/dist/esm/mds-input-otp.entry.js +6 -5
  841. package/dist/esm/mds-input-range-value.entry.js +16 -0
  842. package/dist/esm/mds-input-range.entry.js +432 -30
  843. package/dist/esm/mds-input-select.entry.js +9 -8
  844. package/dist/esm/mds-input-switch_2.entry.js +9 -7
  845. package/dist/esm/mds-input-tip_2.entry.js +17 -12
  846. package/dist/esm/mds-input-upload.entry.js +10 -9
  847. package/dist/esm/mds-input.entry.js +292 -35
  848. package/dist/esm/mds-keyboard-key.entry.js +6 -5
  849. package/dist/esm/mds-keyboard.entry.js +6 -5
  850. package/dist/esm/mds-kpi-item.entry.js +5 -4
  851. package/dist/esm/mds-kpi.entry.js +4 -3
  852. package/dist/esm/mds-label.entry.js +6 -5
  853. package/dist/esm/mds-link.entry.js +9 -8
  854. package/dist/esm/mds-list-item.entry.js +4 -3
  855. package/dist/esm/mds-list.entry.js +4 -3
  856. package/dist/esm/mds-mention.entry.js +6 -5
  857. package/dist/esm/mds-modal.entry.js +7 -6
  858. package/dist/esm/mds-note.entry.js +6 -5
  859. package/dist/esm/mds-notification.entry.js +6 -5
  860. package/dist/esm/mds-paginator-item.entry.js +5 -4
  861. package/dist/esm/mds-paginator.entry.js +6 -5
  862. package/dist/esm/mds-policy-ai.entry.js +6 -5
  863. package/dist/esm/mds-pref-animation.entry.js +6 -5
  864. package/dist/esm/mds-pref-consumption.entry.js +6 -5
  865. package/dist/esm/mds-pref-contrast.entry.js +6 -5
  866. package/dist/esm/mds-pref-language-item.entry.js +6 -5
  867. package/dist/esm/mds-pref-language.entry.js +6 -5
  868. package/dist/esm/mds-pref-mode.entry.js +6 -5
  869. package/dist/esm/mds-pref-theme-item.entry.js +4 -3
  870. package/dist/esm/mds-pref-theme.entry.js +6 -5
  871. package/dist/esm/mds-pref.entry.js +12 -6
  872. package/dist/esm/mds-price-table-features-cell.entry.js +5 -4
  873. package/dist/esm/mds-price-table-features-row.entry.js +5 -4
  874. package/dist/esm/mds-price-table-features.entry.js +5 -4
  875. package/dist/esm/mds-price-table-header.entry.js +4 -3
  876. package/dist/esm/mds-price-table-list-item.entry.js +4 -3
  877. package/dist/esm/mds-price-table-list.entry.js +5 -4
  878. package/dist/esm/mds-price-table.entry.js +4 -3
  879. package/dist/esm/mds-progress_2.entry.js +13 -8
  880. package/dist/esm/mds-push-notification-item.entry.js +7 -6
  881. package/dist/esm/mds-push-notification.entry.js +6 -5
  882. package/dist/esm/mds-quote.entry.js +5 -4
  883. package/dist/esm/mds-radial-menu-item.entry.js +4 -3
  884. package/dist/esm/mds-radial-menu.entry.js +8 -7
  885. package/dist/esm/mds-separator.entry.js +5 -4
  886. package/dist/esm/mds-status-bar.entry.js +5 -4
  887. package/dist/esm/mds-stepper-bar-item.entry.js +7 -6
  888. package/dist/esm/mds-stepper-bar.entry.js +6 -6
  889. package/dist/esm/mds-tab-bar-item.entry.js +5 -4
  890. package/dist/esm/mds-tab-bar.entry.js +5 -4
  891. package/dist/esm/mds-tab_2.entry.js +41 -17
  892. package/dist/esm/mds-table-body.entry.js +5 -4
  893. package/dist/esm/mds-table-footer.entry.js +5 -4
  894. package/dist/esm/mds-table-header-cell.entry.js +5 -4
  895. package/dist/esm/mds-table-header.entry.js +14 -14
  896. package/dist/esm/mds-table-row.entry.js +7 -6
  897. package/dist/esm/mds-table.entry.js +42 -14
  898. package/dist/esm/mds-text.entry.js +5 -4
  899. package/dist/esm/mds-toast-region.entry.js +4 -3
  900. package/dist/esm/mds-toast.entry.js +6 -5
  901. package/dist/esm/mds-tooltip.entry.js +33 -14
  902. package/dist/esm/mds-tree-item.entry.js +6 -5
  903. package/dist/esm/mds-tree.entry.js +4 -3
  904. package/dist/esm/mds-url-view.entry.js +6 -18
  905. package/dist/esm/mds-usage.entry.js +6 -5
  906. package/dist/esm/mds-video-wall.entry.js +5 -4
  907. package/dist/esm/mds-zero.entry.js +15 -5
  908. package/dist/esm/{navigation-Bz1eiKqd.js → navigation-To9IeLHs.js} +7 -0
  909. package/dist/esm/{preference-C8foBO86.js → preference-CBMLGSf7.js} +1 -1
  910. package/dist/esm-es5/{floating-controller-xixU_s1w.js → floating-controller-DlFrvBTG.js} +32 -12
  911. package/dist/esm-es5/{floating-ui.dom-BaFfIZGB.js → floating-ui.dom-C7p9e0P3.js} +18 -18
  912. package/dist/esm-es5/{index-CvLLN-QH.js → index-CPibDZjX.js} +30 -27
  913. package/dist/esm-es5/index-DWniH_Ge.js +13 -0
  914. package/dist/esm-es5/index.js +47 -5
  915. package/dist/esm-es5/loader.js +1 -1
  916. package/dist/esm-es5/{locale-DhP1Ge2o.js → locale-B7Hw4niB.js} +1 -1
  917. package/dist/esm-es5/magma-components.js +3 -3
  918. package/dist/esm-es5/mds-accordion-item.entry.js +6 -4
  919. package/dist/esm-es5/mds-accordion-timer-item.entry.js +6 -4
  920. package/dist/esm-es5/mds-accordion-timer.entry.js +4 -4
  921. package/dist/esm-es5/mds-accordion.entry.js +4 -4
  922. package/dist/esm-es5/mds-author.entry.js +1 -1
  923. package/dist/esm-es5/mds-avatar-stack-item.entry.js +2 -2
  924. package/dist/esm-es5/mds-avatar-stack.entry.js +2 -2
  925. package/dist/esm-es5/mds-avatar.entry.js +7 -7
  926. package/dist/esm-es5/mds-badge.entry.js +2 -2
  927. package/dist/esm-es5/mds-banner_3.entry.js +25 -6
  928. package/dist/esm-es5/mds-benchmark-bar.entry.js +3 -3
  929. package/dist/esm-es5/mds-bibliography.entry.js +6 -6
  930. package/dist/esm-es5/mds-book.entry.js +22 -22
  931. package/dist/esm-es5/mds-breadcrumb-item.entry.js +2 -2
  932. package/dist/esm-es5/mds-breadcrumb.entry.js +4 -4
  933. package/dist/esm-es5/mds-button-dropdown.entry.js +5 -5
  934. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  935. package/dist/esm-es5/mds-button_3.entry.js +20 -20
  936. package/dist/esm-es5/mds-calendar_2.entry.js +56 -14
  937. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  938. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  939. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  940. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  941. package/dist/esm-es5/mds-card.entry.js +3 -3
  942. package/dist/esm-es5/mds-details.entry.js +3 -3
  943. package/dist/esm-es5/mds-dropdown.entry.js +31 -16
  944. package/dist/esm-es5/mds-emoji.entry.js +44 -44
  945. package/dist/esm-es5/mds-entity.entry.js +1 -1
  946. package/dist/esm-es5/mds-file-preview.entry.js +5 -5
  947. package/dist/esm-es5/mds-file.entry.js +7 -7
  948. package/dist/esm-es5/mds-filter-item.entry.js +4 -4
  949. package/dist/esm-es5/mds-filter.entry.js +7 -7
  950. package/dist/esm-es5/mds-header-bar.entry.js +3 -3
  951. package/dist/esm-es5/mds-header.entry.js +8 -8
  952. package/dist/esm-es5/mds-horizontal-scroll.entry.js +13 -13
  953. package/dist/esm-es5/mds-hr.entry.js +1 -1
  954. package/dist/esm-es5/mds-img.entry.js +4 -4
  955. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +3 -3
  956. package/dist/esm-es5/mds-input-date-range.entry.js +48 -15
  957. package/dist/esm-es5/mds-input-date.entry.js +19 -10
  958. package/dist/esm-es5/mds-input-field.entry.js +4 -4
  959. package/dist/esm-es5/mds-input-otp.entry.js +6 -6
  960. package/dist/esm-es5/mds-input-range-value.entry.js +1 -0
  961. package/dist/esm-es5/mds-input-range.entry.js +100 -12
  962. package/dist/esm-es5/mds-input-select.entry.js +4 -4
  963. package/dist/esm-es5/mds-input-switch_2.entry.js +5 -5
  964. package/dist/esm-es5/mds-input-tip_2.entry.js +9 -6
  965. package/dist/esm-es5/mds-input-upload.entry.js +8 -8
  966. package/dist/esm-es5/mds-input.entry.js +157 -52
  967. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  968. package/dist/esm-es5/mds-keyboard.entry.js +7 -7
  969. package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
  970. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  971. package/dist/esm-es5/mds-label.entry.js +2 -2
  972. package/dist/esm-es5/mds-link.entry.js +7 -7
  973. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  974. package/dist/esm-es5/mds-list.entry.js +1 -1
  975. package/dist/esm-es5/mds-mention.entry.js +2 -2
  976. package/dist/esm-es5/mds-modal.entry.js +14 -14
  977. package/dist/esm-es5/mds-note.entry.js +3 -3
  978. package/dist/esm-es5/mds-notification.entry.js +8 -8
  979. package/dist/esm-es5/mds-paginator-item.entry.js +3 -3
  980. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  981. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  982. package/dist/esm-es5/mds-pref-animation.entry.js +4 -4
  983. package/dist/esm-es5/mds-pref-consumption.entry.js +4 -4
  984. package/dist/esm-es5/mds-pref-contrast.entry.js +4 -4
  985. package/dist/esm-es5/mds-pref-language-item.entry.js +3 -3
  986. package/dist/esm-es5/mds-pref-language.entry.js +9 -9
  987. package/dist/esm-es5/mds-pref-mode.entry.js +7 -7
  988. package/dist/esm-es5/mds-pref-theme-item.entry.js +5 -5
  989. package/dist/esm-es5/mds-pref-theme.entry.js +14 -14
  990. package/dist/esm-es5/mds-pref.entry.js +7 -4
  991. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  992. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  993. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  994. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  995. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  996. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  997. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  998. package/dist/esm-es5/mds-progress_2.entry.js +9 -5
  999. package/dist/esm-es5/mds-push-notification-item.entry.js +3 -3
  1000. package/dist/esm-es5/mds-push-notification.entry.js +7 -7
  1001. package/dist/esm-es5/mds-quote.entry.js +2 -2
  1002. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  1003. package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
  1004. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1005. package/dist/esm-es5/mds-status-bar.entry.js +3 -3
  1006. package/dist/esm-es5/mds-stepper-bar-item.entry.js +5 -5
  1007. package/dist/esm-es5/mds-stepper-bar.entry.js +8 -5
  1008. package/dist/esm-es5/mds-tab-bar-item.entry.js +4 -4
  1009. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  1010. package/dist/esm-es5/mds-tab_2.entry.js +31 -11
  1011. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1012. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  1013. package/dist/esm-es5/mds-table-header-cell.entry.js +7 -7
  1014. package/dist/esm-es5/mds-table-header.entry.js +9 -8
  1015. package/dist/esm-es5/mds-table-row.entry.js +4 -4
  1016. package/dist/esm-es5/mds-table.entry.js +24 -11
  1017. package/dist/esm-es5/mds-text.entry.js +7 -7
  1018. package/dist/esm-es5/mds-toast-region.entry.js +5 -5
  1019. package/dist/esm-es5/mds-toast.entry.js +7 -7
  1020. package/dist/esm-es5/mds-tooltip.entry.js +12 -3
  1021. package/dist/esm-es5/mds-tree-item.entry.js +7 -7
  1022. package/dist/esm-es5/mds-tree.entry.js +5 -5
  1023. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  1024. package/dist/esm-es5/mds-usage.entry.js +3 -3
  1025. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  1026. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1027. package/dist/esm-es5/{navigation-Bz1eiKqd.js → navigation-To9IeLHs.js} +8 -1
  1028. package/dist/esm-es5/{preference-C8foBO86.js → preference-CBMLGSf7.js} +1 -1
  1029. package/dist/hydrate/index.js +2128 -1009
  1030. package/dist/hydrate/index.mjs +2128 -1009
  1031. package/dist/lint/mcp/tools.json +21 -3
  1032. package/dist/magma-components/index.esm.js +1 -1
  1033. package/dist/magma-components/magma-components.esm.js +1 -1
  1034. package/dist/magma-components/magma-components.js +1 -1
  1035. package/dist/magma-components/{p-c4c1ef48.system.entry.js → p-009e4359.system.entry.js} +118 -118
  1036. package/dist/magma-components/{p-f0909679.system.entry.js → p-01d6d5a5.system.entry.js} +24 -11
  1037. package/dist/magma-components/p-03285704.entry.js +1 -0
  1038. package/dist/magma-components/p-03441f69.entry.js +1 -0
  1039. package/dist/magma-components/p-03896fbd.entry.js +1 -0
  1040. package/dist/magma-components/p-038fc1db.entry.js +1 -0
  1041. package/dist/magma-components/{p-e3b9ea0b.system.entry.js → p-03a2f4e7.system.entry.js} +2 -2
  1042. package/dist/magma-components/{p-caca78ff.system.entry.js → p-06ba1f71.system.entry.js} +4 -4
  1043. package/dist/magma-components/p-0760e8a4.entry.js +1 -0
  1044. package/dist/magma-components/p-082b787b.entry.js +1 -0
  1045. package/dist/magma-components/p-09537867.entry.js +1 -0
  1046. package/dist/magma-components/p-09675899.entry.js +1 -0
  1047. package/dist/magma-components/p-0a914567.entry.js +1 -0
  1048. package/dist/magma-components/p-0c8dd132.entry.js +1 -0
  1049. package/dist/magma-components/p-0d7370d8.system.entry.js +1 -0
  1050. package/dist/magma-components/{p-7a73fd19.system.entry.js → p-0e7bb90b.system.entry.js} +20 -20
  1051. package/dist/magma-components/{p-dd348171.system.entry.js → p-10a68a4d.system.entry.js} +2 -2
  1052. package/dist/magma-components/p-11312b0c.entry.js +1 -0
  1053. package/dist/magma-components/{p-840c19ee.system.entry.js → p-11543f44.system.entry.js} +4 -4
  1054. package/dist/magma-components/{p-3a836de8.system.entry.js → p-11ee7089.system.entry.js} +5 -5
  1055. package/dist/magma-components/p-13e94501.entry.js +1 -0
  1056. package/dist/magma-components/{p-c9baa3fb.system.entry.js → p-14f60718.system.entry.js} +1 -1
  1057. package/dist/magma-components/p-16651356.entry.js +1 -0
  1058. package/dist/magma-components/p-1686b36a.entry.js +1 -0
  1059. package/dist/magma-components/{p-2e825656.system.entry.js → p-16a7e26a.system.entry.js} +4 -4
  1060. package/dist/magma-components/p-1784d5fb.entry.js +1 -0
  1061. package/dist/magma-components/p-18421a84.entry.js +1 -0
  1062. package/dist/magma-components/p-1934151b.entry.js +1 -0
  1063. package/dist/magma-components/p-193b58d0.entry.js +1 -0
  1064. package/dist/magma-components/{p-720e9291.system.entry.js → p-19f3b524.system.entry.js} +6 -6
  1065. package/dist/magma-components/{p-c54f2089.system.entry.js → p-1d101083.system.entry.js} +1 -1
  1066. package/dist/magma-components/p-1db5ab39.entry.js +1 -0
  1067. package/dist/magma-components/p-1e43613e.entry.js +1 -0
  1068. package/dist/magma-components/{p-24fb2c5c.system.entry.js → p-1e5d4854.system.entry.js} +7 -7
  1069. package/dist/magma-components/p-1f756317.entry.js +1 -0
  1070. package/dist/magma-components/p-2100343f.entry.js +1 -0
  1071. package/dist/magma-components/p-211b2675.system.entry.js +1 -0
  1072. package/dist/magma-components/{p-ca5427d4.system.entry.js → p-2289423c.system.entry.js} +1 -1
  1073. package/dist/magma-components/p-26aad538.entry.js +1 -0
  1074. package/dist/magma-components/p-270e9afa.entry.js +1 -0
  1075. package/dist/magma-components/{p-9f0100f2.system.entry.js → p-275d7968.system.entry.js} +14 -14
  1076. package/dist/magma-components/{p-5f20592f.system.entry.js → p-28ecae1e.system.entry.js} +2 -2
  1077. package/dist/magma-components/{p-c94e7973.system.entry.js → p-2a5223df.system.entry.js} +7 -7
  1078. package/dist/magma-components/p-2aa3e73a.system.entry.js +13 -0
  1079. package/dist/magma-components/p-2c64ec7e.entry.js +1 -0
  1080. package/dist/magma-components/{p-bcc6c358.system.entry.js → p-2dc9499c.system.entry.js} +3 -3
  1081. package/dist/magma-components/{p-00d2ef14.system.entry.js → p-2dd32b3f.system.entry.js} +7 -7
  1082. package/dist/magma-components/{p-380adee8.system.entry.js → p-2e5684a0.system.entry.js} +2 -2
  1083. package/dist/magma-components/{p-390d0672.system.entry.js → p-303173d5.system.entry.js} +3 -3
  1084. package/dist/magma-components/{p-7a4e8bc0.system.entry.js → p-33172d6f.system.entry.js} +8 -5
  1085. package/dist/magma-components/p-333c0ae5.entry.js +1 -0
  1086. package/dist/magma-components/p-3341ac50.entry.js +1 -0
  1087. package/dist/magma-components/p-34183ce3.entry.js +1 -0
  1088. package/dist/magma-components/p-35a77756.entry.js +1 -0
  1089. package/dist/magma-components/p-37172440.entry.js +1 -0
  1090. package/dist/magma-components/{p-3c911608.system.entry.js → p-37470fef.system.entry.js} +9 -5
  1091. package/dist/magma-components/p-3b41f929.entry.js +1 -0
  1092. package/dist/magma-components/p-3ccc1c10.entry.js +1 -0
  1093. package/dist/magma-components/p-3d0578a7.entry.js +1 -0
  1094. package/dist/magma-components/p-3d45d7a7.entry.js +1 -0
  1095. package/dist/magma-components/{p-caf478ff.system.entry.js → p-3d60f528.system.entry.js} +2 -2
  1096. package/dist/magma-components/p-3fb983e9.system.entry.js +1 -0
  1097. package/dist/magma-components/p-4082973c.system.entry.js +30 -0
  1098. package/dist/magma-components/p-41829c15.system.entry.js +7 -0
  1099. package/dist/magma-components/p-420c5af4.entry.js +1 -0
  1100. package/dist/magma-components/p-4242100c.entry.js +1 -0
  1101. package/dist/magma-components/p-430239ca.entry.js +8 -0
  1102. package/dist/magma-components/p-4564e7ad.entry.js +1 -0
  1103. package/dist/magma-components/{p-6336d979.entry.js → p-47712df6.entry.js} +1 -1
  1104. package/dist/magma-components/p-478bbfdb.entry.js +1 -0
  1105. package/dist/magma-components/p-478e6930.entry.js +1 -0
  1106. package/dist/magma-components/{p-c691f27e.system.entry.js → p-483480f9.system.entry.js} +31 -11
  1107. package/dist/magma-components/p-4bb45501.entry.js +1 -0
  1108. package/dist/magma-components/p-4e431466.entry.js +1 -0
  1109. package/dist/magma-components/{p-1dc0d59c.system.entry.js → p-4e4dd1c1.system.entry.js} +5 -5
  1110. package/dist/magma-components/{p-109926ce.system.entry.js → p-522968d1.system.entry.js} +6 -6
  1111. package/dist/magma-components/{p-7e0a8194.system.entry.js → p-52b73a95.system.entry.js} +7 -7
  1112. package/dist/magma-components/p-533bb401.system.entry.js +60 -0
  1113. package/dist/magma-components/{p-9228db0b.system.entry.js → p-555bd3f8.system.entry.js} +7 -7
  1114. package/dist/magma-components/{p-804f4794.system.entry.js → p-56715bbc.system.entry.js} +4 -4
  1115. package/dist/magma-components/{p-527569a3.system.entry.js → p-586878a2.system.entry.js} +2 -2
  1116. package/dist/magma-components/{p-3cf8ed46.system.entry.js → p-58bbada6.system.entry.js} +1 -1
  1117. package/dist/magma-components/{p-eac943e5.system.entry.js → p-5b5d57b0.system.entry.js} +4 -4
  1118. package/dist/magma-components/p-5c0f0517.entry.js +1 -0
  1119. package/dist/magma-components/p-5c4aed7e.entry.js +1 -0
  1120. package/dist/magma-components/p-5d8cb375.system.entry.js +107 -0
  1121. package/dist/magma-components/p-62e42a62.entry.js +1 -0
  1122. package/dist/magma-components/p-6443e40f.entry.js +1 -0
  1123. package/dist/magma-components/{p-11456781.system.entry.js → p-6471c0a4.system.entry.js} +2 -2
  1124. package/dist/magma-components/{p-b871ad36.system.entry.js → p-6619b3c0.system.entry.js} +11 -11
  1125. package/dist/magma-components/p-67fa6fd7.entry.js +1 -0
  1126. package/dist/magma-components/{p-79085c46.system.entry.js → p-68d83e18.system.entry.js} +1 -1
  1127. package/dist/magma-components/{p-3ba14295.system.entry.js → p-6c6ec154.system.entry.js} +4 -4
  1128. package/dist/magma-components/{p-8ac1ba5c.system.entry.js → p-6d7e8240.system.entry.js} +4 -4
  1129. package/dist/magma-components/{p-3f0e6729.system.entry.js → p-6de384d0.system.entry.js} +3 -3
  1130. package/dist/magma-components/p-6fb17347.system.entry.js +1 -0
  1131. package/dist/magma-components/p-6fdf3b37.entry.js +1 -0
  1132. package/dist/magma-components/p-70cf2c28.entry.js +1 -0
  1133. package/dist/magma-components/p-73596a07.entry.js +1 -0
  1134. package/dist/magma-components/{p-a5ca10ae.system.entry.js → p-73a6ee3b.system.entry.js} +1 -1
  1135. package/dist/magma-components/{p-a9ab9eb0.system.entry.js → p-73b0b35f.system.entry.js} +2 -2
  1136. package/dist/magma-components/p-73c0b53e.system.entry.js +82 -0
  1137. package/dist/magma-components/p-73f22a7d.entry.js +1 -0
  1138. package/dist/magma-components/p-756cd3dc.entry.js +1 -0
  1139. package/dist/magma-components/p-757c3420.entry.js +1 -0
  1140. package/dist/magma-components/p-778a46fa.entry.js +1 -0
  1141. package/dist/magma-components/p-78cced59.entry.js +1 -0
  1142. package/dist/magma-components/p-7caf244b.system.entry.js +7 -0
  1143. package/dist/magma-components/p-7cfa2415.system.entry.js +1 -0
  1144. package/dist/magma-components/p-7e87807d.entry.js +1 -0
  1145. package/dist/magma-components/p-8193fd71.entry.js +1 -0
  1146. package/dist/magma-components/p-82041de2.entry.js +1 -0
  1147. package/dist/magma-components/{p-a2d4d849.system.entry.js → p-825713bc.system.entry.js} +2 -2
  1148. package/dist/magma-components/p-851010c6.system.entry.js +25 -0
  1149. package/dist/magma-components/p-857e893e.system.entry.js +26 -0
  1150. package/dist/magma-components/p-8928d9b5.system.entry.js +110 -0
  1151. package/dist/magma-components/p-8aa6524e.entry.js +1 -0
  1152. package/dist/magma-components/p-8acbf50a.entry.js +1 -0
  1153. package/dist/magma-components/p-8e471af5.entry.js +1 -0
  1154. package/dist/magma-components/p-913123e6.entry.js +1 -0
  1155. package/dist/magma-components/{p-724b7fff.system.entry.js → p-91406af1.system.entry.js} +9 -8
  1156. package/dist/magma-components/p-95a29fd2.entry.js +1 -0
  1157. package/dist/magma-components/{p-4a9ed4f7.system.entry.js → p-96ece2cc.system.entry.js} +4 -4
  1158. package/dist/magma-components/p-96f66b8f.entry.js +1 -0
  1159. package/dist/magma-components/{p-2a5167e3.system.entry.js → p-97e55f7e.system.entry.js} +5 -5
  1160. package/dist/magma-components/{p-bc054fa3.system.entry.js → p-98a3802b.system.entry.js} +33 -18
  1161. package/dist/magma-components/{p-0da5c696.system.entry.js → p-9b00051f.system.entry.js} +8 -8
  1162. package/dist/magma-components/p-9be80c34.entry.js +1 -0
  1163. package/dist/magma-components/{p-7701a318.system.entry.js → p-9c0d1025.system.entry.js} +1 -1
  1164. package/dist/magma-components/{p-6f90c2c9.system.entry.js → p-9e3c1c28.system.entry.js} +9 -9
  1165. package/dist/magma-components/{p-BoDvZoCN.system.js → p-B6f9M1Bj.system.js} +8 -1
  1166. package/dist/magma-components/p-B7Jp0tqu.system.js +5 -0
  1167. package/dist/magma-components/p-BAW1DAbr.system.js +13 -0
  1168. package/dist/magma-components/{p-nFkaC8l_.system.js → p-BAcul0Zt.system.js} +1 -1
  1169. package/dist/magma-components/{p-DxR4rGsw.js → p-BXkIXROP.js} +1 -1
  1170. package/dist/magma-components/{p-CATyfc78.js → p-BkfGbFba.js} +2 -2
  1171. package/dist/magma-components/{p-BaFfIZGB.js → p-C7p9e0P3.js} +1 -1
  1172. package/dist/magma-components/p-CPibDZjX.js +3 -0
  1173. package/dist/magma-components/{p-Cbabyppz.system.js → p-CyPLJo0p.system.js} +34 -14
  1174. package/dist/magma-components/{p-BHdlb7Fr.system.js → p-CzZWts7L.system.js} +8 -8
  1175. package/dist/magma-components/{p-VOjLCGlK.system.js → p-D5Yayq7E.system.js} +47 -5
  1176. package/dist/magma-components/{p-DOisMne4.system.js → p-DGfoeZMw.system.js} +6 -6
  1177. package/dist/magma-components/{p-BZP13mns.system.js → p-EhfbAdzV.system.js} +52 -51
  1178. package/dist/magma-components/p-H8sVzFTL.js +1 -0
  1179. package/dist/magma-components/p-a00805cd.system.entry.js +136 -0
  1180. package/dist/magma-components/p-a025b35b.entry.js +1 -0
  1181. package/dist/magma-components/p-a02819e3.entry.js +1 -0
  1182. package/dist/magma-components/p-a0389821.entry.js +1 -0
  1183. package/dist/magma-components/p-a075c069.entry.js +1 -0
  1184. package/dist/magma-components/p-a0764f01.entry.js +1 -0
  1185. package/dist/magma-components/{p-54abba52.system.entry.js → p-a171c096.system.entry.js} +4 -4
  1186. package/dist/magma-components/{p-9b0b65f0.system.entry.js → p-a190c325.system.entry.js} +3 -3
  1187. package/dist/magma-components/{p-f2649031.entry.js → p-a33a235e.entry.js} +1 -1
  1188. package/dist/magma-components/{p-7fbdf896.system.entry.js → p-a4aaf1c6.system.entry.js} +8 -8
  1189. package/dist/magma-components/{p-c8c918d2.entry.js → p-a9c7fb3f.entry.js} +3 -3
  1190. package/dist/magma-components/{p-372fa5d4.system.entry.js → p-a9d100e5.system.entry.js} +7 -7
  1191. package/dist/magma-components/{p-09a7c1de.system.entry.js → p-aa601247.system.entry.js} +2 -2
  1192. package/dist/magma-components/{p-ca4e8601.system.entry.js → p-aa86018e.system.entry.js} +2 -2
  1193. package/dist/magma-components/p-ab920e0b.entry.js +1 -0
  1194. package/dist/magma-components/{p-f51ed098.entry.js → p-ac401f1a.entry.js} +1 -1
  1195. package/dist/magma-components/{p-f5bd5b64.system.entry.js → p-ad12fa89.system.entry.js} +3 -3
  1196. package/dist/magma-components/{p-3ddae677.system.entry.js → p-ad6b5fc1.system.entry.js} +3 -3
  1197. package/dist/magma-components/p-ada93f68.entry.js +1 -0
  1198. package/dist/magma-components/{p-4a72d72c.system.entry.js → p-ae258eca.system.entry.js} +2 -2
  1199. package/dist/magma-components/{p-a48c73b1.system.entry.js → p-af1a93c6.system.entry.js} +7 -7
  1200. package/dist/magma-components/p-b0406c51.entry.js +1 -0
  1201. package/dist/magma-components/p-b18b0088.system.entry.js +9 -0
  1202. package/dist/magma-components/p-b1fe6261.entry.js +1 -0
  1203. package/dist/magma-components/p-b20f811b.system.entry.js +120 -0
  1204. package/dist/magma-components/{p-99d2ace2.system.entry.js → p-b47c444e.system.entry.js} +2 -2
  1205. package/dist/magma-components/p-b4856322.entry.js +1 -0
  1206. package/dist/magma-components/p-b7d90310.entry.js +1 -0
  1207. package/dist/magma-components/{p-0e1d239b.system.entry.js → p-b8e5411d.system.entry.js} +1 -1
  1208. package/dist/magma-components/{p-4a2ed30e.system.entry.js → p-b95f648f.system.entry.js} +3 -3
  1209. package/dist/magma-components/{p-64f86e46.system.entry.js → p-ba148b89.system.entry.js} +7 -7
  1210. package/dist/magma-components/p-bbbf8b89.system.entry.js +29 -0
  1211. package/dist/magma-components/p-bca909d9.entry.js +1 -0
  1212. package/dist/magma-components/p-bd4ad8c7.entry.js +1 -0
  1213. package/dist/magma-components/p-bd539dbc.entry.js +1 -0
  1214. package/dist/magma-components/{p-f7e9af99.system.entry.js → p-c0c69807.system.entry.js} +2 -2
  1215. package/dist/magma-components/{p-22f24125.system.entry.js → p-c2a883b0.system.entry.js} +1 -1
  1216. package/dist/magma-components/{p-b7d18d7a.system.entry.js → p-c2d9cf4e.system.entry.js} +1 -1
  1217. package/dist/magma-components/{p-555ba0e0.system.entry.js → p-c3cfbc71.system.entry.js} +8 -8
  1218. package/dist/magma-components/p-c5b7f820.system.entry.js +1 -0
  1219. package/dist/magma-components/p-c67655fa.entry.js +1 -0
  1220. package/dist/magma-components/p-c6cab2cb.entry.js +1 -0
  1221. package/dist/magma-components/p-c6f56934.entry.js +1 -0
  1222. package/dist/magma-components/{p-793072e1.system.entry.js → p-c8430552.system.entry.js} +14 -14
  1223. package/dist/magma-components/p-c902d468.entry.js +1 -0
  1224. package/dist/magma-components/p-ca0f3549.entry.js +1 -0
  1225. package/dist/magma-components/{p-98cc6473.system.entry.js → p-ca5867f5.system.entry.js} +15 -15
  1226. package/dist/magma-components/p-cc5518b1.entry.js +1 -0
  1227. package/dist/magma-components/{p-32b3ad6f.entry.js → p-ccb23b6a.entry.js} +1 -1
  1228. package/dist/magma-components/{p-fe51c0cb.system.entry.js → p-cf8cfcac.system.entry.js} +3 -3
  1229. package/dist/magma-components/p-cfb153b8.entry.js +1 -0
  1230. package/dist/magma-components/p-cfcb8bb5.entry.js +1 -0
  1231. package/dist/magma-components/p-d0b45a54.entry.js +1 -0
  1232. package/dist/magma-components/{p-3f17a06f.system.entry.js → p-d0dfa8b5.system.entry.js} +2 -2
  1233. package/dist/magma-components/p-d1281855.system.entry.js +330 -0
  1234. package/dist/magma-components/{p-48a1871f.system.entry.js → p-d173ae2f.system.entry.js} +1 -1
  1235. package/dist/magma-components/p-d1751ff6.entry.js +1 -0
  1236. package/dist/magma-components/p-d4452e41.entry.js +1 -0
  1237. package/dist/magma-components/p-d5dec64d.entry.js +1 -0
  1238. package/dist/magma-components/p-d7813f9b.system.entry.js +13 -0
  1239. package/dist/magma-components/{p-27a32865.system.entry.js → p-dd4b04ed.system.entry.js} +3 -3
  1240. package/dist/magma-components/p-ddc31c50.entry.js +1 -0
  1241. package/dist/magma-components/{p-b129b127.system.entry.js → p-df70af5f.system.entry.js} +37 -37
  1242. package/dist/magma-components/p-e009c632.entry.js +1 -0
  1243. package/dist/magma-components/p-e160e4e1.entry.js +1 -0
  1244. package/dist/magma-components/p-e497f0db.entry.js +1 -0
  1245. package/dist/magma-components/p-e4db9ad2.entry.js +1 -0
  1246. package/dist/magma-components/p-e63c1ba4.entry.js +1 -0
  1247. package/dist/magma-components/p-e66db408.entry.js +1 -0
  1248. package/dist/magma-components/{p-5c6fdabd.system.entry.js → p-e84361ee.system.entry.js} +12 -3
  1249. package/dist/magma-components/p-ea93721d.entry.js +1 -0
  1250. package/dist/magma-components/{p-f6358241.system.entry.js → p-eb4f76d8.system.entry.js} +9 -6
  1251. package/dist/magma-components/p-ecf29ffa.entry.js +1 -0
  1252. package/dist/magma-components/{p-5794053b.system.entry.js → p-ede31d27.system.entry.js} +6 -6
  1253. package/dist/magma-components/{p-66f7f9b1.system.entry.js → p-ee247029.system.entry.js} +3 -3
  1254. package/dist/magma-components/{p-45c26a24.system.entry.js → p-ee65f0eb.system.entry.js} +5 -5
  1255. package/dist/magma-components/p-efcd8a1d.entry.js +1 -0
  1256. package/dist/magma-components/{p-9b0d7f7d.system.entry.js → p-f01e7a7e.system.entry.js} +4 -4
  1257. package/dist/magma-components/{p-188a55ac.system.entry.js → p-f0d93b22.system.entry.js} +9 -6
  1258. package/dist/magma-components/{p-c0295a0e.system.entry.js → p-f2e5a2c7.system.entry.js} +7 -7
  1259. package/dist/magma-components/p-f3041712.entry.js +1 -0
  1260. package/dist/magma-components/{p-97a501cd.system.entry.js → p-f3f1da06.system.entry.js} +5 -5
  1261. package/dist/magma-components/{p-b1cd3acf.system.entry.js → p-f4e8f507.system.entry.js} +2 -2
  1262. package/dist/magma-components/{p-1e24aafa.system.entry.js → p-f5c82548.system.entry.js} +1 -1
  1263. package/dist/magma-components/{p-411fca2f.system.entry.js → p-f6f6d914.system.entry.js} +3 -3
  1264. package/dist/magma-components/p-f9d2316a.entry.js +1 -0
  1265. package/dist/magma-components/p-fe4ae251.entry.js +1 -0
  1266. package/dist/magma-components/{p-16bbff4e.system.entry.js → p-ffcfa9e3.system.entry.js} +2 -2
  1267. package/dist/magma-components/p-kW8cjKIa.js +1 -0
  1268. package/dist/mcp/checks.js +50 -21
  1269. package/dist/mcp/cli.js +8 -2
  1270. package/dist/mcp/context.js +21 -0
  1271. package/dist/mcp/guides.js +2 -1
  1272. package/dist/mcp/patterns.js +19 -9
  1273. package/dist/mcp/render.js +4 -4
  1274. package/dist/mcp/root.js +63 -0
  1275. package/dist/mcp/tools.json +21 -3
  1276. package/dist/stats.json +4109 -3338
  1277. package/dist/types/common/floating-controller.d.ts +14 -0
  1278. package/dist/types/common/navigation.d.ts +7 -0
  1279. package/dist/types/common/preference.d.ts +13 -1
  1280. package/dist/types/common/validity/index.d.ts +1 -1
  1281. package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +10 -2
  1282. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +10 -2
  1283. package/dist/types/components/mds-banner/mds-banner.d.ts +13 -4
  1284. package/dist/types/components/mds-banner/meta/dictionary.d.ts +7 -0
  1285. package/dist/types/components/mds-banner/meta/types.d.ts +2 -0
  1286. package/dist/types/components/mds-calendar/mds-calendar.d.ts +60 -16
  1287. package/dist/types/components/mds-calendar/meta/types.d.ts +2 -0
  1288. package/dist/types/components/mds-chip/mds-chip.d.ts +10 -0
  1289. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +1 -0
  1290. package/dist/types/components/mds-icon/services/icons-set.service.d.ts +42 -0
  1291. package/dist/types/components/mds-input/mds-input.d.ts +114 -10
  1292. package/dist/types/components/mds-input/meta/color.d.ts +13 -0
  1293. package/dist/types/components/mds-input/meta/types.d.ts +1 -1
  1294. package/dist/types/components/mds-input/meta/validators.d.ts +5 -0
  1295. package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
  1296. package/dist/types/components/mds-input-date/mds-input-date.d.ts +13 -2
  1297. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +34 -3
  1298. package/dist/types/components/mds-input-range/mds-input-range.d.ts +105 -4
  1299. package/dist/types/components/mds-input-range/meta/event-detail.d.ts +7 -0
  1300. package/dist/types/components/mds-input-range-value/mds-input-range-value.d.ts +18 -0
  1301. package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +6 -3
  1302. package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -1
  1303. package/dist/types/components/mds-pref/mds-pref.d.ts +6 -0
  1304. package/dist/types/components/mds-tab/mds-tab.d.ts +2 -1
  1305. package/dist/types/components/mds-table/mds-table.d.ts +6 -1
  1306. package/dist/types/components/mds-table-header/mds-table-header.d.ts +1 -1
  1307. package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -3
  1308. package/dist/types/components/mds-zero/mds-zero.d.ts +4 -0
  1309. package/dist/types/components.d.ts +157 -38
  1310. package/dist/types/fixtures/dark-mode.d.ts +7 -0
  1311. package/dist/types/index.d.ts +20 -8
  1312. package/dist/types/stencil-public-runtime.d.ts +1 -1
  1313. package/dist/types/type/file-types.d.ts +1 -1
  1314. package/dist/types/type/input.d.ts +2 -2
  1315. package/package.json +19 -17
  1316. package/dist/components/p-BQSO-HFx.js +0 -1
  1317. package/dist/components/p-Bw-eI2ca.js +0 -1
  1318. package/dist/components/p-BwwiliWt.js +0 -1
  1319. package/dist/components/p-CZX6N7ce.js +0 -1
  1320. package/dist/components/p-CpuUmvdl.js +0 -1
  1321. package/dist/components/p-DUgCzZw9.js +0 -1
  1322. package/dist/components/p-DWOg4-dH.js +0 -1
  1323. package/dist/components/p-DZ4_zLTp.js +0 -1
  1324. package/dist/components/p-J48g0t65.js +0 -1
  1325. package/dist/components/p-TZJN-ygm.js +0 -3
  1326. package/dist/components/p-UfaGafRS.js +0 -1
  1327. package/dist/components/p-k_Ly95Tj.js +0 -1
  1328. package/dist/components/p-lXKBo6V3.js +0 -1
  1329. package/dist/components/p-oFHbHRLX.js +0 -1
  1330. package/dist/esm-es5/index-DEL0bLpb.js +0 -10
  1331. package/dist/magma-components/p-02aed12a.entry.js +0 -1
  1332. package/dist/magma-components/p-0417391b.entry.js +0 -1
  1333. package/dist/magma-components/p-08f7a84b.entry.js +0 -1
  1334. package/dist/magma-components/p-0df067b4.entry.js +0 -1
  1335. package/dist/magma-components/p-0f4c2de6.entry.js +0 -1
  1336. package/dist/magma-components/p-14de26d5.entry.js +0 -1
  1337. package/dist/magma-components/p-163eccbd.entry.js +0 -1
  1338. package/dist/magma-components/p-167ba07a.entry.js +0 -1
  1339. package/dist/magma-components/p-17249b74.entry.js +0 -1
  1340. package/dist/magma-components/p-1a53d9d0.system.entry.js +0 -225
  1341. package/dist/magma-components/p-1cc379d6.entry.js +0 -1
  1342. package/dist/magma-components/p-223efc32.entry.js +0 -1
  1343. package/dist/magma-components/p-2454e4cd.system.entry.js +0 -7
  1344. package/dist/magma-components/p-24a69c45.entry.js +0 -1
  1345. package/dist/magma-components/p-259d9380.entry.js +0 -1
  1346. package/dist/magma-components/p-26b08e33.entry.js +0 -1
  1347. package/dist/magma-components/p-2940499f.entry.js +0 -1
  1348. package/dist/magma-components/p-2f4a7253.system.entry.js +0 -1
  1349. package/dist/magma-components/p-2ffa4d4a.entry.js +0 -1
  1350. package/dist/magma-components/p-33129e0c.system.entry.js +0 -13
  1351. package/dist/magma-components/p-397c0686.entry.js +0 -1
  1352. package/dist/magma-components/p-3bf4f012.system.entry.js +0 -13
  1353. package/dist/magma-components/p-3de37b32.entry.js +0 -1
  1354. package/dist/magma-components/p-40c59c18.entry.js +0 -1
  1355. package/dist/magma-components/p-43c307f5.entry.js +0 -1
  1356. package/dist/magma-components/p-440d7942.entry.js +0 -1
  1357. package/dist/magma-components/p-4541c233.entry.js +0 -1
  1358. package/dist/magma-components/p-4612bc78.entry.js +0 -8
  1359. package/dist/magma-components/p-4718a71d.entry.js +0 -1
  1360. package/dist/magma-components/p-4a1f7eb5.entry.js +0 -1
  1361. package/dist/magma-components/p-4c3b3913.system.entry.js +0 -25
  1362. package/dist/magma-components/p-4c955367.entry.js +0 -1
  1363. package/dist/magma-components/p-4ebb0a9e.entry.js +0 -1
  1364. package/dist/magma-components/p-4f80bf37.entry.js +0 -1
  1365. package/dist/magma-components/p-52211fa3.entry.js +0 -1
  1366. package/dist/magma-components/p-52cc5a93.entry.js +0 -1
  1367. package/dist/magma-components/p-56cf1cab.entry.js +0 -1
  1368. package/dist/magma-components/p-59aa4994.entry.js +0 -1
  1369. package/dist/magma-components/p-5a754d7b.entry.js +0 -1
  1370. package/dist/magma-components/p-5ca6063a.entry.js +0 -1
  1371. package/dist/magma-components/p-5cb581df.entry.js +0 -1
  1372. package/dist/magma-components/p-5d825728.entry.js +0 -1
  1373. package/dist/magma-components/p-5dfca9f0.entry.js +0 -1
  1374. package/dist/magma-components/p-5f38e95b.entry.js +0 -1
  1375. package/dist/magma-components/p-5f4bec31.entry.js +0 -1
  1376. package/dist/magma-components/p-627f5956.entry.js +0 -1
  1377. package/dist/magma-components/p-6352c2ea.entry.js +0 -1
  1378. package/dist/magma-components/p-64884d84.entry.js +0 -1
  1379. package/dist/magma-components/p-65ea6fc9.entry.js +0 -1
  1380. package/dist/magma-components/p-68b0d45a.entry.js +0 -1
  1381. package/dist/magma-components/p-6a4d44e2.entry.js +0 -1
  1382. package/dist/magma-components/p-6a90caf5.system.entry.js +0 -1
  1383. package/dist/magma-components/p-6c4f2de0.entry.js +0 -1
  1384. package/dist/magma-components/p-70faf379.entry.js +0 -1
  1385. package/dist/magma-components/p-71d03e56.entry.js +0 -1
  1386. package/dist/magma-components/p-73dc7c66.entry.js +0 -1
  1387. package/dist/magma-components/p-7476cf76.system.entry.js +0 -77
  1388. package/dist/magma-components/p-77707706.entry.js +0 -1
  1389. package/dist/magma-components/p-78d00f88.entry.js +0 -1
  1390. package/dist/magma-components/p-79392a0a.entry.js +0 -1
  1391. package/dist/magma-components/p-7a33ab3c.entry.js +0 -1
  1392. package/dist/magma-components/p-7b552dbe.entry.js +0 -1
  1393. package/dist/magma-components/p-7c13ccb0.entry.js +0 -1
  1394. package/dist/magma-components/p-848d1b42.system.entry.js +0 -30
  1395. package/dist/magma-components/p-84d0d701.entry.js +0 -1
  1396. package/dist/magma-components/p-86494ea9.entry.js +0 -1
  1397. package/dist/magma-components/p-8915347f.entry.js +0 -1
  1398. package/dist/magma-components/p-8b8a6662.entry.js +0 -1
  1399. package/dist/magma-components/p-8c20ac0c.entry.js +0 -1
  1400. package/dist/magma-components/p-90c60c48.entry.js +0 -1
  1401. package/dist/magma-components/p-90e20ad3.entry.js +0 -1
  1402. package/dist/magma-components/p-94548d43.entry.js +0 -1
  1403. package/dist/magma-components/p-95020326.entry.js +0 -1
  1404. package/dist/magma-components/p-970f45df.entry.js +0 -1
  1405. package/dist/magma-components/p-9aba3769.entry.js +0 -1
  1406. package/dist/magma-components/p-9b8d15a8.system.entry.js +0 -1
  1407. package/dist/magma-components/p-9e94f4a3.system.entry.js +0 -41
  1408. package/dist/magma-components/p-B8zYiZQY.system.js +0 -5
  1409. package/dist/magma-components/p-CvLLN-QH.js +0 -3
  1410. package/dist/magma-components/p-CxzVgcYv.js +0 -1
  1411. package/dist/magma-components/p-D3J9KZKy.system.js +0 -10
  1412. package/dist/magma-components/p-Dx7iOdVP.js +0 -1
  1413. package/dist/magma-components/p-a112a0e2.system.entry.js +0 -24
  1414. package/dist/magma-components/p-a2767235.entry.js +0 -1
  1415. package/dist/magma-components/p-a2c3b294.system.entry.js +0 -94
  1416. package/dist/magma-components/p-a4f53c83.entry.js +0 -1
  1417. package/dist/magma-components/p-a58e8a5c.entry.js +0 -1
  1418. package/dist/magma-components/p-a9a872e1.entry.js +0 -1
  1419. package/dist/magma-components/p-ab1c3fb0.system.entry.js +0 -7
  1420. package/dist/magma-components/p-ab445c2b.entry.js +0 -1
  1421. package/dist/magma-components/p-abe32d5b.entry.js +0 -1
  1422. package/dist/magma-components/p-af56e3e4.system.entry.js +0 -32
  1423. package/dist/magma-components/p-b1238d48.entry.js +0 -1
  1424. package/dist/magma-components/p-b705b805.entry.js +0 -1
  1425. package/dist/magma-components/p-ba871d9c.entry.js +0 -1
  1426. package/dist/magma-components/p-ba95bf93.entry.js +0 -1
  1427. package/dist/magma-components/p-bd489df9.entry.js +0 -1
  1428. package/dist/magma-components/p-bfd95736.entry.js +0 -1
  1429. package/dist/magma-components/p-c06d8b5a.entry.js +0 -1
  1430. package/dist/magma-components/p-c131d726.entry.js +0 -1
  1431. package/dist/magma-components/p-c2758b81.entry.js +0 -1
  1432. package/dist/magma-components/p-c49676e6.entry.js +0 -1
  1433. package/dist/magma-components/p-c8414ee6.entry.js +0 -1
  1434. package/dist/magma-components/p-c91cb63a.entry.js +0 -1
  1435. package/dist/magma-components/p-cb06839f.entry.js +0 -1
  1436. package/dist/magma-components/p-ce42734f.entry.js +0 -1
  1437. package/dist/magma-components/p-d1e4a032.entry.js +0 -1
  1438. package/dist/magma-components/p-d25a47fa.entry.js +0 -1
  1439. package/dist/magma-components/p-d29b32b4.system.entry.js +0 -1
  1440. package/dist/magma-components/p-d2ba5851.system.entry.js +0 -82
  1441. package/dist/magma-components/p-d365c6b6.entry.js +0 -1
  1442. package/dist/magma-components/p-d3b06151.entry.js +0 -1
  1443. package/dist/magma-components/p-d45f65e0.entry.js +0 -1
  1444. package/dist/magma-components/p-d51ec950.entry.js +0 -1
  1445. package/dist/magma-components/p-d760c1fa.entry.js +0 -1
  1446. package/dist/magma-components/p-d785d7ee.entry.js +0 -1
  1447. package/dist/magma-components/p-d9092133.entry.js +0 -1
  1448. package/dist/magma-components/p-de423b11.entry.js +0 -1
  1449. package/dist/magma-components/p-df78b7ac.system.entry.js +0 -1
  1450. package/dist/magma-components/p-e39b5e12.entry.js +0 -1
  1451. package/dist/magma-components/p-eb220deb.system.entry.js +0 -7
  1452. package/dist/magma-components/p-eca42fe8.system.entry.js +0 -29
  1453. package/dist/magma-components/p-ecda3e45.entry.js +0 -1
  1454. package/dist/magma-components/p-f9f3ad86.entry.js +0 -1
  1455. package/dist/magma-components/p-fb4b648a.entry.js +0 -1
  1456. package/dist/magma-components/p-fd4588c5.entry.js +0 -1
  1457. package/dist/magma-components/p-fdd17ee6.entry.js +0 -1
  1458. package/dist/magma-components/p-ff6cf4f8.system.entry.js +0 -98
  1459. package/dist/magma-components/p-ff76c614.entry.js +0 -1
  1460. /package/dist/components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
  1461. /package/dist/magma-components/{p-Bz1eiKqd.js → p-To9IeLHs.js} +0 -0
@@ -1,52 +1,69 @@
1
- var __awaiter=this&&this.__awaiter||function(t,a,i,e){function r(t){return t instanceof i?t:new i((function(a){a(t)}))}return new(i||(i=Promise))((function(i,n){function o(t){try{l(e.next(t))}catch(t){n(t)}}function s(t){try{l(e["throw"](t))}catch(t){n(t)}}function l(t){t.done?i(t.value):r(t.value).then(o,s)}l((e=e.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},e,r,n,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=s(0),o["throw"]=s(1),o["return"]=s(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(a){return l([t,a])}}function l(s){if(e)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(i=0)),i)try{if(e=1,r&&(n=s[0]&2?r["return"]:s[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,s[1])).done)return n;if(r=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;r=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){i.label=s[1];break}if(s[0]===6&&i.label<n[1]){i.label=n[1];n=s;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(s);break}if(n[2])i.ops.pop();i.trys.pop();continue}s=a.call(t,i)}catch(t){s=[6,t];r=0}finally{e=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{m as miBaselineKeyboardArrowDown}from"./keyboard-arrow-down-DiWN48aq.js";import{m as miBaselineKeyboardArrowUp}from"./keyboard-arrow-up-Ccz0jCNB.js";import{m as miBaselineRemove}from"./remove-D17B058a.js";import{m as miBaselineDone}from"./done-CvUz9jjh.js";import{s as setFormValue}from"./form-wI0alRSO.js";import{u as updateValidity}from"./index-DEL0bLpb.js";import{L as Locale}from"./locale-DhP1Ge2o.js";import{h as hashRandomValue}from"./aria-DwKxtKwS.js";import{p as preferenceStore}from"./preference-C8foBO86.js";var mggAiChatbotOutline='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M10 11H8V8h2zM16 11h-2V8h2z"/>\n <path fill-rule="evenodd" d="M21.544 10.436a3 3 0 0 1 0 3.128l-3.667 6A3 3 0 0 1 15.317 21H8.683a3 3 0 0 1-2.56-1.436l-3.666-6a3 3 0 0 1 0-3.128l3.667-6A3 3 0 0 1 8.683 3h6.635a3 3 0 0 1 2.56 1.436zM4.162 11.479a1 1 0 0 0 0 1.043l3.668 6a1 1 0 0 0 .853.478h6.634a1 1 0 0 0 .853-.479l3.667-6a1 1 0 0 0 0-1.042l-3.667-6A1 1 0 0 0 15.317 5H8.683a1 1 0 0 0-.853.479z" clip-rule="evenodd"/>\n <path d="M16.707 14.707C15.477 15.937 13.698 16.5 12 16.5s-3.477-.563-4.707-1.793l1.414-1.414c.77.77 1.991 1.207 3.293 1.207s2.523-.437 3.293-1.207z"/>\n</svg>\n';var miBaselineAdd='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>';var miBaselineVisible='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5s-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3s3-1.34 3-3s-1.34-3-3-3z"/></svg>';var miBaselineVisibleOff='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 7c2.76 0 5 2.24 5 5c0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75c-1.73-4.39-6-7.5-11-7.5c-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28l.46.46A11.804 11.804 0 0 0 1 12c1.73 4.39 6 7.5 11 7.5c1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22L21 20.73L3.27 3L2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65c0 1.66 1.34 3 3 3c.22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53c-2.76 0-5-2.24-5-5c0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15l.02-.16c0-1.66-1.34-3-3-3l-.17.01z"/></svg>';var miOutlineMic='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3z"/><path d="M17 11c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-3.08c3.39-.49 6-3.39 6-6.92h-2z"/></svg>';var miOutlineMicOff='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10.8 4.9c0-.66.54-1.2 1.2-1.2s1.2.54 1.2 1.2l-.01 3.91L15 10.6V5c0-1.66-1.34-3-3-3c-1.54 0-2.79 1.16-2.96 2.65l1.76 1.76V4.9zM19 11h-1.7c0 .58-.1 1.13-.27 1.64l1.27 1.27c.44-.88.7-1.87.7-2.91zM4.41 2.86L3 4.27l6 6V11c0 1.66 1.34 3 3 3c.23 0 .44-.03.65-.08l1.66 1.66c-.71.33-1.5.52-2.31.52c-2.76 0-5.3-2.1-5.3-5.1H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28a7.13 7.13 0 0 0 2.55-.9l4.2 4.2l1.41-1.41L4.41 2.86z"/></svg>';var decrease$3="Μείωση";var hidePassword$3="Απόκρυψη κωδικού";var increase$3="Αύξηση";var showPassword$3="Εμφάνιση κωδικού";var speechToTextError$3="Η φωνητική υπαγόρευση δεν υποστηρίζεται από αυτό το πρόγραμμα περιήγησης";var speechToTextOff$3="Διακοπή φωνητικής υπαγόρευσης";var speechToTextOn$3="Έναρξη φωνητικής υπαγόρευσης";var validationCc$3="Μη έγκυρος αριθμός κάρτας";var validationCfLength$3="Ο φορολογικός κωδικός πρέπει να έχει 16 χαρακτήρες";var validationCfRegex$3="Ο φορολογικός κωδικός που εισαγάγατε δεν είναι σωστός";var validationEmail$3="Μη έγκυρη διεύθυνση email";var validationIsbn$3="Μη έγκυρος κωδικός ISBN";var validationIsbnFormat$3="Μη έγκυρη μορφή ISBN";var validationMax$3="Η μέγιστη τιμή είναι {{max}}";var validationMaxlength$3="Το μέγιστο αποδεκτό μήκος είναι {{maxlength}}";var validationMin$3="Η ελάχιστη τιμή είναι {{min}}";var validationMinlength$3="Το ελάχιστο αποδεκτό μήκος είναι {{minlength}}";var validationPattern$3="Μη έγκυρη μορφή";var validationPiva$3="Μη έγκυρος αριθμός ΦΠΑ";var validationUrl$3="Μη έγκυρη διεύθυνση URL";var localeEl={decrease:decrease$3,hidePassword:hidePassword$3,increase:increase$3,showPassword:showPassword$3,speechToTextError:speechToTextError$3,speechToTextOff:speechToTextOff$3,speechToTextOn:speechToTextOn$3,validationCc:validationCc$3,validationCfLength:validationCfLength$3,validationCfRegex:validationCfRegex$3,validationEmail:validationEmail$3,validationIsbn:validationIsbn$3,validationIsbnFormat:validationIsbnFormat$3,validationMax:validationMax$3,validationMaxlength:validationMaxlength$3,validationMin:validationMin$3,validationMinlength:validationMinlength$3,validationPattern:validationPattern$3,validationPiva:validationPiva$3,validationUrl:validationUrl$3};var decrease$2="Decrease";var hidePassword$2="Hide password";var increase$2="Increase";var showPassword$2="Show password";var speechToTextError$2="Voice dictation is not supported by this browser";var speechToTextOff$2="Stop voice dictation";var speechToTextOn$2="Start voice dictation";var validationCc$2="Invalid card number";var validationCfLength$2="The tax code must be 16 characters long";var validationCfRegex$2="The tax code entered is not correct";var validationEmail$2="Invalid email address";var validationIsbn$2="Invalid ISBN code";var validationIsbnFormat$2="Invalid ISBN format";var validationMax$2="The maximum value is {{max}}";var validationMaxlength$2="The maximum length accepted is {{maxlength}}";var validationMin$2="The minimum value is {{min}}";var validationMinlength$2="The minimum length accepted is {{minlength}}";var validationPattern$2="Invalid format";var validationPiva$2="Invalid VAT number";var validationUrl$2="Invalid URL";var localeEn={decrease:decrease$2,hidePassword:hidePassword$2,increase:increase$2,showPassword:showPassword$2,speechToTextError:speechToTextError$2,speechToTextOff:speechToTextOff$2,speechToTextOn:speechToTextOn$2,validationCc:validationCc$2,validationCfLength:validationCfLength$2,validationCfRegex:validationCfRegex$2,validationEmail:validationEmail$2,validationIsbn:validationIsbn$2,validationIsbnFormat:validationIsbnFormat$2,validationMax:validationMax$2,validationMaxlength:validationMaxlength$2,validationMin:validationMin$2,validationMinlength:validationMinlength$2,validationPattern:validationPattern$2,validationPiva:validationPiva$2,validationUrl:validationUrl$2};var decrease$1="Disminuir";var hidePassword$1="Ocultar contraseña";var increase$1="Aumentar";var showPassword$1="Mostrar contraseña";var speechToTextError$1="El dictado por voz no es compatible con este navegador";var speechToTextOff$1="Detener dictado por voz";var speechToTextOn$1="Iniciar dictado por voz";var validationCc$1="Número de tarjeta no válido";var validationCfLength$1="El código fiscal debe tener 16 caracteres";var validationCfRegex$1="El código fiscal introducido no es correcto";var validationEmail$1="Dirección de correo electrónico no válida";var validationIsbn$1="Código ISBN no válido";var validationIsbnFormat$1="Formato ISBN no válido";var validationMax$1="El valor máximo es {{max}}";var validationMaxlength$1="La longitud máxima aceptada es {{maxlength}}";var validationMin$1="El valor mínimo es {{min}}";var validationMinlength$1="La longitud mínima aceptada es {{minlength}}";var validationPattern$1="Formato no válido";var validationPiva$1="Número de IVA no válido";var validationUrl$1="URL no válida";var localeEs={decrease:decrease$1,hidePassword:hidePassword$1,increase:increase$1,showPassword:showPassword$1,speechToTextError:speechToTextError$1,speechToTextOff:speechToTextOff$1,speechToTextOn:speechToTextOn$1,validationCc:validationCc$1,validationCfLength:validationCfLength$1,validationCfRegex:validationCfRegex$1,validationEmail:validationEmail$1,validationIsbn:validationIsbn$1,validationIsbnFormat:validationIsbnFormat$1,validationMax:validationMax$1,validationMaxlength:validationMaxlength$1,validationMin:validationMin$1,validationMinlength:validationMinlength$1,validationPattern:validationPattern$1,validationPiva:validationPiva$1,validationUrl:validationUrl$1};var decrease="Diminuisci";var hidePassword="Nascondi password";var increase="Aumenta";var showPassword="Visualizza password";var speechToTextError="Dettatura vocale non supportata da questo browser";var speechToTextOff="Ferma dettatura vocale";var speechToTextOn="Inizia dettatura vocale";var validationCc="numero di carta non valido";var validationCfLength="Codice fiscale deve essere lungo 16 caratteri";var validationCfRegex="Codice fiscale inserito non corretto";var validationEmail="indirizzo email non valido";var validationIsbn="codice isbn non valido";var validationIsbnFormat="formato isbn non corretto";var validationMax="valore massimo {{max}}";var validationMaxlength="La lunghezza massima accettata è {{maxlength}}";var validationMin="valore minimo {{min}}";var validationMinlength="La lunghezza minima accettata è {{minlength}}";var validationPattern="formato non valido";var validationPiva="partita iva non valida";var validationUrl="url non valido";var localeIt={decrease:decrease,hidePassword:hidePassword,increase:increase,showPassword:showPassword,speechToTextError:speechToTextError,speechToTextOff:speechToTextOff,speechToTextOn:speechToTextOn,validationCc:validationCc,validationCfLength:validationCfLength,validationCfRegex:validationCfRegex,validationEmail:validationEmail,validationIsbn:validationIsbn,validationIsbnFormat:validationIsbnFormat,validationMax:validationMax,validationMaxlength:validationMaxlength,validationMin:validationMin,validationMinlength:validationMinlength,validationPattern:validationPattern,validationPiva:validationPiva,validationUrl:validationUrl};var messages=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
1
+ var __awaiter=this&&this.__awaiter||function(t,i,a,e){function r(t){return t instanceof a?t:new a((function(i){i(t)}))}return new(a||(a=Promise))((function(a,n){function o(t){try{l(e.next(t))}catch(t){n(t)}}function s(t){try{l(e["throw"](t))}catch(t){n(t)}}function l(t){t.done?a(t.value):r(t.value).then(o,s)}l((e=e.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},e,r,n,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=s(0),o["throw"]=s(1),o["return"]=s(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(i){return l([t,i])}}function l(s){if(e)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(a=0)),a)try{if(e=1,r&&(n=s[0]&2?r["return"]:s[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,s[1])).done)return n;if(r=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;r=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){a.label=s[1];break}if(s[0]===6&&a.label<n[1]){a.label=n[1];n=s;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(s);break}if(n[2])a.ops.pop();a.trys.pop();continue}s=i.call(t,a)}catch(t){s=[6,t];r=0}finally{e=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPibDZjX.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{m as miBaselineKeyboardArrowDown}from"./keyboard-arrow-down-DiWN48aq.js";import{m as miBaselineKeyboardArrowUp}from"./keyboard-arrow-up-Ccz0jCNB.js";import{m as miBaselineRemove}from"./remove-D17B058a.js";import{m as miBaselineDone}from"./done-CvUz9jjh.js";import{s as setFormValue}from"./form-wI0alRSO.js";import{u as updateValidity}from"./index-DWniH_Ge.js";import{L as Locale}from"./locale-B7Hw4niB.js";import{h as hashRandomValue}from"./aria-DwKxtKwS.js";import{p as preferenceStore}from"./preference-CBMLGSf7.js";var mggAiChatbotOutline='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M10 11H8V8h2zM16 11h-2V8h2z"/>\n <path fill-rule="evenodd" d="M21.544 10.436a3 3 0 0 1 0 3.128l-3.667 6A3 3 0 0 1 15.317 21H8.683a3 3 0 0 1-2.56-1.436l-3.666-6a3 3 0 0 1 0-3.128l3.667-6A3 3 0 0 1 8.683 3h6.635a3 3 0 0 1 2.56 1.436zM4.162 11.479a1 1 0 0 0 0 1.043l3.668 6a1 1 0 0 0 .853.478h6.634a1 1 0 0 0 .853-.479l3.667-6a1 1 0 0 0 0-1.042l-3.667-6A1 1 0 0 0 15.317 5H8.683a1 1 0 0 0-.853.479z" clip-rule="evenodd"/>\n <path d="M16.707 14.707C15.477 15.937 13.698 16.5 12 16.5s-3.477-.563-4.707-1.793l1.414-1.414c.77.77 1.991 1.207 3.293 1.207s2.523-.437 3.293-1.207z"/>\n</svg>\n';var miBaselineAdd='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/></svg>';var miBaselineVisible='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5s-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3s3-1.34 3-3s-1.34-3-3-3z"/></svg>';var miBaselineVisibleOff='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 7c2.76 0 5 2.24 5 5c0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75c-1.73-4.39-6-7.5-11-7.5c-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28l.46.46A11.804 11.804 0 0 0 1 12c1.73 4.39 6 7.5 11 7.5c1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22L21 20.73L3.27 3L2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65c0 1.66 1.34 3 3 3c.22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53c-2.76 0-5-2.24-5-5c0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15l.02-.16c0-1.66-1.34-3-3-3l-.17.01z"/></svg>';var miOutlineMic='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3z"/><path d="M17 11c0 2.76-2.24 5-5 5s-5-2.24-5-5H5c0 3.53 2.61 6.43 6 6.92V21h2v-3.08c3.39-.49 6-3.39 6-6.92h-2z"/></svg>';var miOutlineMicOff='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10.8 4.9c0-.66.54-1.2 1.2-1.2s1.2.54 1.2 1.2l-.01 3.91L15 10.6V5c0-1.66-1.34-3-3-3c-1.54 0-2.79 1.16-2.96 2.65l1.76 1.76V4.9zM19 11h-1.7c0 .58-.1 1.13-.27 1.64l1.27 1.27c.44-.88.7-1.87.7-2.91zM4.41 2.86L3 4.27l6 6V11c0 1.66 1.34 3 3 3c.23 0 .44-.03.65-.08l1.66 1.66c-.71.33-1.5.52-2.31.52c-2.76 0-5.3-2.1-5.3-5.1H5c0 3.41 2.72 6.23 6 6.72V21h2v-3.28a7.13 7.13 0 0 0 2.55-.9l4.2 4.2l1.41-1.41L4.41 2.86z"/></svg>';var miOutlinePalette='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 22C6.49 22 2 17.51 2 12S6.49 2 12 2s10 4.04 10 9c0 3.31-2.69 6-6 6h-1.77c-.28 0-.5.22-.5.5c0 .12.05.23.13.33c.41.47.64 1.06.64 1.67A2.5 2.5 0 0 1 12 22zm0-18c-4.41 0-8 3.59-8 8s3.59 8 8 8c.28 0 .5-.22.5-.5a.54.54 0 0 0-.14-.35c-.41-.46-.63-1.05-.63-1.65a2.5 2.5 0 0 1 2.5-2.5H16c2.21 0 4-1.79 4-4c0-3.86-3.59-7-8-7z"/><circle cx="6.5" cy="11.5" r="1.5"/><circle cx="9.5" cy="7.5" r="1.5"/><circle cx="14.5" cy="7.5" r="1.5"/><circle cx="17.5" cy="11.5" r="1.5"/></svg>';var colorPicker$3="Επιλέξτε χρώμα";var colorPickerFor$3="Επιλέξτε χρώμα για {{{name}}}";var decrease$3="Μείωση";var hidePassword$3="Απόκρυψη κωδικού";var increase$3="Αύξηση";var showPassword$3="Εμφάνιση κωδικού";var speechToTextError$3="Η φωνητική υπαγόρευση δεν υποστηρίζεται από αυτό το πρόγραμμα περιήγησης";var speechToTextOff$3="Διακοπή φωνητικής υπαγόρευσης";var speechToTextOn$3="Έναρξη φωνητικής υπαγόρευσης";var validationCc$3="Μη έγκυρος αριθμός κάρτας";var validationCfLength$3="Ο φορολογικός κωδικός πρέπει να έχει 16 χαρακτήρες";var validationCfRegex$3="Ο φορολογικός κωδικός που εισαγάγατε δεν είναι σωστός";var validationColor$3="Εισαγάγετε έναν δεκαεξαδικό κωδικό χρώματος, όπως #2f6fd0";var validationEmail$3="Μη έγκυρη διεύθυνση email";var validationIsbn$3="Μη έγκυρος κωδικός ISBN";var validationIsbnFormat$3="Μη έγκυρη μορφή ISBN";var validationMax$3="Η μέγιστη τιμή είναι {{max}}";var validationMaxlength$3="Το μέγιστο αποδεκτό μήκος είναι {{maxlength}}";var validationMin$3="Η ελάχιστη τιμή είναι {{min}}";var validationMinlength$3="Το ελάχιστο αποδεκτό μήκος είναι {{minlength}}";var validationPattern$3="Μη έγκυρη μορφή";var validationPiva$3="Μη έγκυρος αριθμός ΦΠΑ";var validationUrl$3="Μη έγκυρη διεύθυνση URL";var localeEl={colorPicker:colorPicker$3,colorPickerFor:colorPickerFor$3,decrease:decrease$3,hidePassword:hidePassword$3,increase:increase$3,showPassword:showPassword$3,speechToTextError:speechToTextError$3,speechToTextOff:speechToTextOff$3,speechToTextOn:speechToTextOn$3,validationCc:validationCc$3,validationCfLength:validationCfLength$3,validationCfRegex:validationCfRegex$3,validationColor:validationColor$3,validationEmail:validationEmail$3,validationIsbn:validationIsbn$3,validationIsbnFormat:validationIsbnFormat$3,validationMax:validationMax$3,validationMaxlength:validationMaxlength$3,validationMin:validationMin$3,validationMinlength:validationMinlength$3,validationPattern:validationPattern$3,validationPiva:validationPiva$3,validationUrl:validationUrl$3};var colorPicker$2="Choose a colour";var colorPickerFor$2="Choose a colour for {{{name}}}";var decrease$2="Decrease";var hidePassword$2="Hide password";var increase$2="Increase";var showPassword$2="Show password";var speechToTextError$2="Voice dictation is not supported by this browser";var speechToTextOff$2="Stop voice dictation";var speechToTextOn$2="Start voice dictation";var validationCc$2="Invalid card number";var validationCfLength$2="The tax code must be 16 characters long";var validationCfRegex$2="The tax code entered is not correct";var validationColor$2="Enter a hex colour code, such as #2f6fd0";var validationEmail$2="Invalid email address";var validationIsbn$2="Invalid ISBN code";var validationIsbnFormat$2="Invalid ISBN format";var validationMax$2="The maximum value is {{max}}";var validationMaxlength$2="The maximum length accepted is {{maxlength}}";var validationMin$2="The minimum value is {{min}}";var validationMinlength$2="The minimum length accepted is {{minlength}}";var validationPattern$2="Invalid format";var validationPiva$2="Invalid VAT number";var validationUrl$2="Invalid URL";var localeEn={colorPicker:colorPicker$2,colorPickerFor:colorPickerFor$2,decrease:decrease$2,hidePassword:hidePassword$2,increase:increase$2,showPassword:showPassword$2,speechToTextError:speechToTextError$2,speechToTextOff:speechToTextOff$2,speechToTextOn:speechToTextOn$2,validationCc:validationCc$2,validationCfLength:validationCfLength$2,validationCfRegex:validationCfRegex$2,validationColor:validationColor$2,validationEmail:validationEmail$2,validationIsbn:validationIsbn$2,validationIsbnFormat:validationIsbnFormat$2,validationMax:validationMax$2,validationMaxlength:validationMaxlength$2,validationMin:validationMin$2,validationMinlength:validationMinlength$2,validationPattern:validationPattern$2,validationPiva:validationPiva$2,validationUrl:validationUrl$2};var colorPicker$1="Elige un color";var colorPickerFor$1="Elige un color para {{{name}}}";var decrease$1="Disminuir";var hidePassword$1="Ocultar contraseña";var increase$1="Aumentar";var showPassword$1="Mostrar contraseña";var speechToTextError$1="El dictado por voz no es compatible con este navegador";var speechToTextOff$1="Detener dictado por voz";var speechToTextOn$1="Iniciar dictado por voz";var validationCc$1="Número de tarjeta no válido";var validationCfLength$1="El código fiscal debe tener 16 caracteres";var validationCfRegex$1="El código fiscal introducido no es correcto";var validationColor$1="Introduce un código de color hexadecimal, como #2f6fd0";var validationEmail$1="Dirección de correo electrónico no válida";var validationIsbn$1="Código ISBN no válido";var validationIsbnFormat$1="Formato ISBN no válido";var validationMax$1="El valor máximo es {{max}}";var validationMaxlength$1="La longitud máxima aceptada es {{maxlength}}";var validationMin$1="El valor mínimo es {{min}}";var validationMinlength$1="La longitud mínima aceptada es {{minlength}}";var validationPattern$1="Formato no válido";var validationPiva$1="Número de IVA no válido";var validationUrl$1="URL no válida";var localeEs={colorPicker:colorPicker$1,colorPickerFor:colorPickerFor$1,decrease:decrease$1,hidePassword:hidePassword$1,increase:increase$1,showPassword:showPassword$1,speechToTextError:speechToTextError$1,speechToTextOff:speechToTextOff$1,speechToTextOn:speechToTextOn$1,validationCc:validationCc$1,validationCfLength:validationCfLength$1,validationCfRegex:validationCfRegex$1,validationColor:validationColor$1,validationEmail:validationEmail$1,validationIsbn:validationIsbn$1,validationIsbnFormat:validationIsbnFormat$1,validationMax:validationMax$1,validationMaxlength:validationMaxlength$1,validationMin:validationMin$1,validationMinlength:validationMinlength$1,validationPattern:validationPattern$1,validationPiva:validationPiva$1,validationUrl:validationUrl$1};var colorPicker="Scegli un colore";var colorPickerFor="Scegli un colore per {{{name}}}";var decrease="Diminuisci";var hidePassword="Nascondi password";var increase="Aumenta";var showPassword="Visualizza password";var speechToTextError="Dettatura vocale non supportata da questo browser";var speechToTextOff="Ferma dettatura vocale";var speechToTextOn="Inizia dettatura vocale";var validationCc="numero di carta non valido";var validationCfLength="Codice fiscale deve essere lungo 16 caratteri";var validationCfRegex="Codice fiscale inserito non corretto";var validationColor="Inserisci un codice colore esadecimale, come #2f6fd0";var validationEmail="indirizzo email non valido";var validationIsbn="codice isbn non valido";var validationIsbnFormat="formato isbn non corretto";var validationMax="valore massimo {{max}}";var validationMaxlength="La lunghezza massima accettata è {{maxlength}}";var validationMin="valore minimo {{min}}";var validationMinlength="La lunghezza minima accettata è {{minlength}}";var validationPattern="formato non valido";var validationPiva="partita iva non valida";var validationUrl="url non valido";var localeIt={colorPicker:colorPicker,colorPickerFor:colorPickerFor,decrease:decrease,hidePassword:hidePassword,increase:increase,showPassword:showPassword,speechToTextError:speechToTextError,speechToTextOff:speechToTextOff,speechToTextOn:speechToTextOn,validationCc:validationCc,validationCfLength:validationCfLength,validationCfRegex:validationCfRegex,validationColor:validationColor,validationEmail:validationEmail,validationIsbn:validationIsbn,validationIsbnFormat:validationIsbnFormat,validationMax:validationMax,validationMaxlength:validationMaxlength,validationMin:validationMin,validationMinlength:validationMinlength,validationPattern:validationPattern,validationPiva:validationPiva,validationUrl:validationUrl};
2
+ /**
3
+ * The colour a text names, as the "valid lowercase simple color" of HTML (`#rrggbb`), the value a
4
+ * native `<input type="color">` holds; `''` when the text is not a colour.
5
+ *
6
+ * Accepted, in upper or lower case and with the spaces a paste brings around it: the six digits
7
+ * of the simple colour of HTML and the three of the short form of CSS (`#rgb`, each digit
8
+ * doubled), each with or without the `#`, since Figma copies the code without it. Nothing else:
9
+ * no alpha (`#rgba`, `#rrggbbaa`), since the field has no transparency, as a native colour input
10
+ * has none, and no name or function (`red`, `rgb()`), which the field could not write back as the
11
+ * code it holds (#1260).
12
+ * Sources: HTML, "valid simple color" and "valid lowercase simple color"; CSS Color 4, hex notation.
13
+ */var toSimpleColor=function(t){var i=/^#?([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(t.trim());if(!i)return"";var a=i[1].toLowerCase();return"#".concat(a.length===3?a.replace(/./g,"$&$&"):a)};var messages=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
14
  /**
3
15
  * The message of a failed validation, in the language of the page when the value is validated: a
4
16
  * validator is built once, and the language can change after that.
5
- */var validationMessage=function(t,a){return messages.get(t,a)};var NullValidator=function(){return null};var requiredValidor=function(t){return t.length>0?null:{required:""}};var maxValidator=function(t){return function(a){if(a===""||t===null){return null;// don't validate empty values to allow optional controls
6
- }var i=parseFloat(a);
17
+ */var validationMessage=function(t,i){return messages.get(t,i)};var NullValidator=function(){return null};var requiredValidor=function(t){return t.length>0?null:{required:""}};var maxValidator=function(t){return function(i){if(i===""||t===null){return null;// don't validate empty values to allow optional controls
18
+ }var a=parseFloat(i);
7
19
  // Controls with NaN values after parsing should be treated as not having a
8
20
  // maximum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-max
9
- return!isNaN(i)&&i>t?{max:validationMessage("validationMax",{max:t})}:null}};var minValidator=function(t){return function(a){if(a===""||t===null){return null;// don't validate empty values to allow optional controls
10
- }var i=parseFloat(a);
21
+ return!isNaN(a)&&a>t?{max:validationMessage("validationMax",{max:t})}:null}};var minValidator=function(t){return function(i){if(i===""||t===null){return null;// don't validate empty values to allow optional controls
22
+ }var a=parseFloat(i);
11
23
  // Controls with NaN values after parsing should be treated as not having a
12
24
  // minimum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-min
13
- return!isNaN(i)&&i<t?{min:validationMessage("validationMin",{min:t})}:null}};var maxLengthValidator=function(t){return function(a){if(a===""||t===null){return null;// don't validate empty values to allow optional controls
14
- }return a.length>t?{maxlength:validationMessage("validationMaxlength",{maxlength:t})}:null}};var minLengthValidator=function(t){return function(a){if(a===""||t===null){return null;// don't validate empty values to allow optional controls
15
- }return a.length<t?{minlength:validationMessage("validationMinlength",{minlength:t})}:null}};
25
+ return!isNaN(a)&&a<t?{min:validationMessage("validationMin",{min:t})}:null}};var maxLengthValidator=function(t){return function(i){if(i===""||t===null){return null;// don't validate empty values to allow optional controls
26
+ }return i.length>t?{maxlength:validationMessage("validationMaxlength",{maxlength:t})}:null}};var minLengthValidator=function(t){return function(i){if(i===""||t===null){return null;// don't validate empty values to allow optional controls
27
+ }return i.length<t?{minlength:validationMessage("validationMinlength",{minlength:t})}:null}};
16
28
  // the flag the browsers compile the pattern attribute with: v in the current HTML spec, u before it
17
29
  var patternFlags=function(){try{return RegExp("","v").flags}catch(t){return"u"}}();
18
30
  /**
19
31
  * The rule of the `pattern` attribute of a native input: the whole value matches the expression.
20
32
  * An expression that does not compile sets no rule, as in the browser: `null` then.
21
- */var patternValidator=function(t){var a;try{a=new RegExp("^(?:".concat(t,")$"),patternFlags)}catch(t){return null}return function(t){if(t==="")return null;// don't validate empty values to allow optional controls
22
- return a.test(t)?null:{pattern:validationMessage("validationPattern")}}};
33
+ */var patternValidator=function(t){var i;try{i=new RegExp("^(?:".concat(t,")$"),patternFlags)}catch(t){return null}return function(t){if(t==="")return null;// don't validate empty values to allow optional controls
34
+ return i.test(t)?null:{pattern:validationMessage("validationPattern")}}};
23
35
  // the valid email address of the HTML spec, the one a native type="email" checks
24
36
  var emailExpression=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;var emailValidatorFn=function(t){if(t==="")return null;// don't validate empty values to allow optional controls
25
37
  return emailExpression.test(t)?null:{email:validationMessage("validationEmail")}};
26
38
  // a native type="url" accepts an absolute URL, the one the URL parser reads without a base
27
39
  var urlValidatorFn=function(t){if(t==="")return null;// don't validate empty values to allow optional controls
28
40
  try{new URL(t);return null}catch(t){return{url:validationMessage("validationUrl")}}};
41
+ /**
42
+ * A colour field (`type="color"`): the text names a colour as a code `toSimpleColor` reads
43
+ * (`#rrggbb`, `#rgb`, with or without `#`); the message says what to write.
44
+ */var colorValidatorFn=function(t){if(t==="")return null;// don't validate empty values to allow optional controls
45
+ return toSimpleColor(t)?null:{color:validationMessage("validationColor")}};
29
46
  /**
30
47
  * An Italian partita IVA: 11 digits, the last one the check digit of the first ten (the digits in
31
48
  * odd position summed as they are, the ones in even position doubled, minus 9 above 9).
32
49
  */var pivaValidatorFn=function(t){if(t==="")return null;// don't validate empty values to allow optional controls
33
- var a={piva:validationMessage("validationPiva")};if(!/^\d{11}$/.test(t))return a;var i=t.split("").map(Number);var e=i.slice(0,10).reduce((function(t,a,i){if(i%2===0)return t+a;var e=a*2;return t+(e>9?e-9:e)}),0);return(10-e%10)%10===i[10]?null:a};
50
+ var i={piva:validationMessage("validationPiva")};if(!/^\d{11}$/.test(t))return i;var a=t.split("").map(Number);var e=a.slice(0,10).reduce((function(t,i,a){if(a%2===0)return t+i;var e=i*2;return t+(e>9?e-9:e)}),0);return(10-e%10)%10===a[10]?null:i};
34
51
  /**
35
52
  * A payment card number: 13 to 19 digits, in groups split by spaces or dashes, that pass the Luhn
36
53
  * check.
37
54
  */var ccValidatorFn=function(t){if(t==="")return null;// don't validate empty values to allow optional controls
38
- var a={cc:validationMessage("validationCc")};if(!/^\d+(?:[ -]\d+)*$/.test(t))return a;var i=t.replace(/[ -]/g,"");if(i.length<13||i.length>19)return a;
55
+ var i={cc:validationMessage("validationCc")};if(!/^\d+(?:[ -]\d+)*$/.test(t))return i;var a=t.replace(/[ -]/g,"");if(a.length<13||a.length>19)return i;
39
56
  // from the right, every second digit doubled, minus 9 above 9
40
- var e=i.split("").reverse().map(Number).reduce((function(t,a,i){if(i%2===0)return t+a;var e=a*2;return t+(e>9?e-9:e)}),0);return e%10===0?null:a};var isbnValidatorFn=function(t){if(t==="")return null;// don't validate empty values to allow optional controls
41
- if(Number.isNaN(t.slice(0,-1))||t.length!==10&&t.length!==13)return{"isbn-error":validationMessage("validationIsbnFormat")};var a=t.split("").map((function(t){return t==="X"?10:Number(t)}));var i=0;
57
+ var e=a.split("").reverse().map(Number).reduce((function(t,i,a){if(a%2===0)return t+i;var e=i*2;return t+(e>9?e-9:e)}),0);return e%10===0?null:i};var isbnValidatorFn=function(t){if(t==="")return null;// don't validate empty values to allow optional controls
58
+ if(Number.isNaN(t.slice(0,-1))||t.length!==10&&t.length!==13)return{"isbn-error":validationMessage("validationIsbnFormat")};var i=t.split("").map((function(t){return t==="X"?10:Number(t)}));var a=0;
42
59
  // check isbn-10
43
- if(t.length===10){var e=a.reduce((function(t,a,i){return t+(10-i)*a}),0);i=e%11}else{
60
+ if(t.length===10){var e=i.reduce((function(t,i,a){return t+(10-a)*i}),0);a=e%11}else{
44
61
  // check isbn-13
45
- var e=a.reduce((function(t,a,i){var e=i%2===0?1:3;return t+a*e}),0);i=e%10}return i===0?null:{"isbn-error":validationMessage("validationIsbn")}};var Validator=/** @class */function(){function t(){this._validators=[];this._errors=null;this.isValid=true}t.prototype.addValidator=function(t){var a;if(Array.isArray(t)){(a=this._validators).push.apply(a,t)}else{this._validators.push(t)}};t.prototype._hasValidator=function(t,a){return Array.isArray(t)?t.includes(a):t===a};t.prototype.hasValidator=function(t){return t?this._hasValidator(this._validators,t):this._validators.length>0};t.prototype.removeValidator=function(t){var a=this;this._validators=this._validators.filter((function(i){return!a._hasValidator(t,i)}))};
62
+ var e=i.reduce((function(t,i,a){var e=a%2===0?1:3;return t+i*e}),0);a=e%10}return a===0?null:{"isbn-error":validationMessage("validationIsbn")}};var Validator=/** @class */function(){function t(){this._validators=[];this._errors=null;this.isValid=true}t.prototype.addValidator=function(t){var i;if(Array.isArray(t)){(i=this._validators).push.apply(i,t)}else{this._validators.push(t)}};t.prototype._hasValidator=function(t,i){return Array.isArray(t)?t.includes(i):t===i};t.prototype.hasValidator=function(t){return t?this._hasValidator(this._validators,t):this._validators.length>0};t.prototype.removeValidator=function(t){var i=this;this._validators=this._validators.filter((function(a){return!i._hasValidator(t,a)}))};
46
63
  /**
47
64
  * Returns the errors of a value without storing them: `errors` and `isValid` keep the ones of
48
65
  * the last `validate`.
49
- */t.prototype.check=function(t){var a=this._validators.map((function(a){return a(t)})).reduce((function(t,a){return Object.assign(Object.assign({},t),a)}),NullValidator);return Object.keys(a).length===0?null:a};t.prototype.validate=function(t){this._errors=this.check(t);this.isValid=!this._errors};Object.defineProperty(t.prototype,"errors",{get:function(){return this._errors},enumerable:false,configurable:true});return t}();var InputMaskPattern=/** @class */function(){function t(){}return t}();InputMaskPattern.CF_Regex=/^(?:[A-Z][AEIOU][AEIOUX]|[AEIOU]X{2}|[B-DF-HJ-NP-TV-Z]{2}[A-Z]){2}(?:[\dLMNP-V]{2}(?:[A-EHLMPR-T](?:[04LQ][1-9MNP-V]|[15MR][\dLMNP-V]|[26NS][0-8LMNP-U])|[DHPS][37PT][0L]|[ACELMRT][37PT][01LM]|[AC-EHLMPR-T][26NS][9V])|(?:[02468LNQSU][048LQU]|[13579MPRTV][26NS])B[26NS][9V])(?:[A-MZ][1-9MNP-V][\dLMNP-V]{2}|[A-M][0L](?:[1-9MNP-V][\dLMNP-V]|[0L][1-9MNP-V]))[A-Z]$/i;InputMaskPattern.CF_MASK="A{6}(99|AA)A(99|AA)A(999|AAA)A";InputMaskPattern.CC_MASK="9999-9999-9999-9999";
66
+ */t.prototype.check=function(t){var i=this._validators.map((function(i){return i(t)})).reduce((function(t,i){return Object.assign(Object.assign({},t),i)}),NullValidator);return Object.keys(i).length===0?null:i};t.prototype.validate=function(t){this._errors=this.check(t);this.isValid=!this._errors};Object.defineProperty(t.prototype,"errors",{get:function(){return this._errors},enumerable:false,configurable:true});return t}();var InputMaskPattern=/** @class */function(){function t(){}return t}();InputMaskPattern.CF_Regex=/^(?:[A-Z][AEIOU][AEIOUX]|[AEIOU]X{2}|[B-DF-HJ-NP-TV-Z]{2}[A-Z]){2}(?:[\dLMNP-V]{2}(?:[A-EHLMPR-T](?:[04LQ][1-9MNP-V]|[15MR][\dLMNP-V]|[26NS][0-8LMNP-U])|[DHPS][37PT][0L]|[ACELMRT][37PT][01LM]|[AC-EHLMPR-T][26NS][9V])|(?:[02468LNQSU][048LQU]|[13579MPRTV][26NS])B[26NS][9V])(?:[A-MZ][1-9MNP-V][\dLMNP-V]{2}|[A-M][0L](?:[1-9MNP-V][\dLMNP-V]|[0L][1-9MNP-V]))[A-Z]$/i;InputMaskPattern.CF_MASK="A{6}(99|AA)A(99|AA)A(999|AAA)A";InputMaskPattern.CC_MASK="9999-9999-9999-9999";
50
67
  // TODO use input mask when it will be supported by shadow dom
51
68
  // https://github.com/RobinHerbots/Inputmask/pull/2753
52
69
  // import InputMask from 'inputmask'
@@ -67,15 +84,16 @@ t.prototype.mask=function(t){if(!this.pattern){throw new Error("no pattern found
67
84
  // if (this.pattern) {
68
85
  // return this._inputMask.isValid() && this.validator.isValid
69
86
  // }
70
- return this.validator.isValid};return t}();function createInputValidationManager(t){var a;switch(t){case"tel":a=new InputValidationManager("");break;case"email":a=new InputValidationManager("");a.validator.addValidator(emailValidatorFn);break;case"url":a=new InputValidationManager("");a.validator.addValidator(urlValidatorFn);break;case"cc":a=new InputValidationManager(InputMaskPattern.CC_MASK);a.validator.addValidator(ccValidatorFn);break;case"cf":a=new InputValidationManager(InputMaskPattern.CF_MASK);a.validator.addValidator((function(t){if(t==="")return null;// don't validate empty values to allow optional controls
71
- return InputMaskPattern.CF_Regex.test(t)?null:{"cf-regex":validationMessage("validationCfRegex")}}));a.validator.addValidator((function(t){if(t==="")return null;// don't validate empty values to allow optional controls
72
- return t.length===16?null:{"cf-length":validationMessage("validationCfLength")}}));break;case"isbn":a=new InputValidationManager;a.validator.addValidator(isbnValidatorFn);break;case"piva":a=new InputValidationManager("");a.validator.addValidator(pivaValidatorFn);break;default:a=new InputValidationManager("")}return a}
87
+ return this.validator.isValid};return t}();function createInputValidationManager(t){var i;switch(t){case"tel":i=new InputValidationManager("");break;case"email":i=new InputValidationManager("");i.validator.addValidator(emailValidatorFn);break;case"url":i=new InputValidationManager("");i.validator.addValidator(urlValidatorFn);break;case"color":i=new InputValidationManager("");i.validator.addValidator(colorValidatorFn);break;case"cc":i=new InputValidationManager(InputMaskPattern.CC_MASK);i.validator.addValidator(ccValidatorFn);break;case"cf":i=new InputValidationManager(InputMaskPattern.CF_MASK);i.validator.addValidator((function(t){if(t==="")return null;// don't validate empty values to allow optional controls
88
+ return InputMaskPattern.CF_Regex.test(t)?null:{"cf-regex":validationMessage("validationCfRegex")}}));i.validator.addValidator((function(t){if(t==="")return null;// don't validate empty values to allow optional controls
89
+ return t.length===16?null:{"cf-length":validationMessage("validationCfLength")}}));break;case"isbn":i=new InputValidationManager;i.validator.addValidator(isbnValidatorFn);break;case"piva":i=new InputValidationManager("");i.validator.addValidator(pivaValidatorFn);break;default:i=new InputValidationManager("")}return i}
73
90
  /**
74
91
  * The problem reported to the form for the errors of a value. The first validator that fails
75
92
  * decides it: the ones of the type come first, then required, max, min, maxlength, minlength,
76
- * pattern and the custom ones last. The codice fiscale and ISBN validators, like the custom ones,
77
- * give the form their own message, already in the language of the page.
78
- */var validityProblem=function(t,a){var i=Object.keys(t)[0];switch(i){case"required":return{rule:"required"};case"max":return{rule:"max",context:{max:a.max}};case"min":return{rule:"min",context:{min:a.min}};case"maxlength":return{rule:"maxlength",context:{maxlength:a.maxlength}};case"minlength":return{rule:"minlength",context:{minlength:a.minlength}};case"pattern":return{rule:"pattern"};case"email":return{rule:"email"};case"url":return{rule:"url"};case"piva":return{rule:"vatNumber"};case"cc":return{rule:"cardNumber"};default:return{rule:"invalid",message:t[i]}}};var mdsInputCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-icon,mds-input-tip,mds-input-tip-item,mds-spinner):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-background:rgb(var(--magma-field-fill,var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-input-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-placeholder-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-placeholder-focus-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-placeholder-hover-color:var(--mds-input-placeholder-default-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-input-ring:0 0 0 1px rgb(var(--mds-input-variant-color-rgb,0 0 0)/.1);--mds-input-shadow:0 1px calc(var(--spacing,.0025rem)*75) 0 rgb(var(--mds-input-variant-color-rgb,0 0 0)/.1),0 1px calc(var(--spacing,.0025rem)*50) 0 rgb(var(--mds-input-variant-color-rgb,0 0 0)/.06);--mds-input-textarea-field-sizing:content;--mds-input-textarea-resize:none;--mds-input-textarea-max-height:calc(var(--spacing,.0025rem)*6400);--mds-input-textarea-min-height:calc(var(--spacing,.0025rem)*2400);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-variant-color-rgb:var(--magma-accent-fg,var(--variant-primary-03,7 76 204));--mds-input-border-radius:min(var(--magma-radius-xl,var(--radius-squircle-xl,36px)),var(--magma-corner-cap,.5) * var(--private-input-height));--mds-input-transition-duration:var(--duration-300,.3s);--mds-input-controls-border:calc(var(--spacing,.0025rem)*50) solid rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-input-controls-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--private-input-transition-duration:var(--mds-input-transition-duration);--private-input-height:calc(var(--spacing,.0025rem)*1200);--private-input-padding-block:calc(var(--spacing,.0025rem)*300);--private-input-padding-inline:calc(var(--spacing,.0025rem)*400);--private-input-icon-size:calc(var(--spacing,.0025rem)*600);--private-input-icon-offset-block:calc(var(--spacing,.0025rem)*300);--private-input-icon-offset-inline:calc(var(--spacing,.0025rem)*300);--private-input-control-size:calc(var(--spacing,.0025rem)*1200);--private-input-counter-width:calc(var(--spacing,.0025rem)*700);--private-input-counter-height:calc(var(--spacing,.0025rem)*600);--private-input-toggle-offset:calc(var(--spacing,.0025rem)*150);--private-input-toggle-padding:calc(var(--spacing,.0025rem)*1000);--private-input-toggle-area:calc(var(--spacing,.0025rem)*1200);--private-input-icon-padding:calc(var(--private-input-icon-offset-inline) + var(--private-input-icon-size) + var(--spacing,.0025rem)*200);border-radius:var(--mds-input-border-radius);corner-shape:var(--magma-corner-shape,squircle);container-type:inline-size;display:flex;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));gap:calc(var(--spacing,.0025rem)*200);line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;position:relative;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--mds-input-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-variant-color-rgb:0 0 0}:host:where(input){text-box:normal}:host([typography=detail]) .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}:host([typography=detail]) .input:where(input){text-box:normal}:host([typography=snippet]) .input{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=snippet]) .input:where(input){text-box:normal}.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;background-color:var(--mds-input-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:inherit;box-shadow:var(--mds-input-ring),var(--mds-input-shadow);box-sizing:border-box;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:inherit;border:0;margin:0;max-width:100%;min-height:var(--private-input-height);overflow:hidden;padding:var(--private-input-padding-block) var(--private-input-padding-inline);text-overflow:ellipsis;transition-duration:var(--private-input-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,margin,opacity,padding,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:100%}.input:where(input){text-box:normal}.input::placeholder{color:var(--mds-input-placeholder-default-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));transition-duration:var(--duration-300,.3s);transition-property:color;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input:hover::placeholder{color:var(--mds-input-placeholder-hover-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}.input:focus::placeholder{color:var(--mds-input-placeholder-focus-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}.input::-webkit-inner-spin-button,.input::-webkit-outer-spin-button{appearance:none;display:none;margin:0}:host([type=textarea]){--mds-input-border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px))}:host textarea.input,:host([typography]) textarea.input{border-radius:var(--mds-input-border-radius);field-sizing:var(--mds-input-textarea-field-sizing,content);max-height:var(--mds-input-textarea-max-height,calc(var(--spacing,.0025rem)*6400));min-height:var(--mds-input-textarea-min-height,calc(var(--spacing,.0025rem)*2400));overflow:auto;resize:var(--mds-input-textarea-resize,none)}@container style(--mds-input-textarea-resize:none){:host textarea.input,:host([typography]) textarea.input{border-bottom-right-radius:0}}.input:focus{--tw-outline-style:none;outline-style:none;--mds-input-ring:0 0 0 calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-variant-color-rgb,0 0 0)/1);--mds-input-shadow:0 calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*150) calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-variant-color-rgb,0 0 0)/.1),0 calc(var(--spacing,.0025rem)*50) calc(var(--spacing,.0025rem)*100) -1px rgb(var(--mds-input-variant-color-rgb,0 0 0)/.06)}.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)))}.input.has-icon{padding-left:var(--private-input-icon-padding)}.input.has-right-icon{padding-right:var(--private-input-icon-padding)}.await,.icon{fill:var(--mds-input-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));left:var(--private-input-icon-offset-inline);position:absolute;top:var(--private-input-icon-offset-block)}.await{color:var(--mds-input-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));height:var(--private-input-icon-size);width:var(--private-input-icon-size)}.counter{border-left:var(--mds-input-controls-border);display:flex;flex-direction:column;gap:0;position:absolute;right:0}.counter-button{aspect-ratio:unset;border:0;border-radius:var(--mds-input-border-radius);fill:var(--mds-input-controls-color);height:var(--private-input-counter-height);min-height:0;width:var(--private-input-counter-width)}.counter .counter-button:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mds-input-border-radius)}.counter .counter-button:last-child{border-bottom-left-radius:0;border-bottom-right-radius:var(--mds-input-border-radius);border-top-left-radius:0;border-top-right-radius:0}.counter-button--horizontal{bottom:0;height:var(--private-input-control-size);position:absolute;top:0;width:var(--private-input-control-size)}.counter-button--decrease{border-bottom-right-radius:0;border-right:var(--mds-input-controls-border);border-top-right-radius:0;left:0}.counter-button--increase{border-bottom-left-radius:0;border-left:var(--mds-input-controls-border);border-top-left-radius:0;right:0}.mic-toggle-button,.password-toggle-button{fill:var(--mds-input-controls-color);position:absolute;right:var(--private-input-toggle-offset);top:var(--private-input-toggle-offset)}.toggle-button--error{cursor:help;fill:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}.mic-toggle-button--recording{animation:var(--animate-pulse,pulse 2s cubic-bezier(.4,0,.6,1) infinite)}:host([type=number]) .input{-moz-appearance:textfield;padding-right:calc(var(--private-input-counter-width) + var(--spacing,.0025rem)*100)}:host([type=number][controls-layout=horizontal]) .input{padding-left:calc(var(--private-input-control-size) + var(--spacing,.0025rem)*200);padding-right:calc(var(--private-input-control-size) + var(--spacing,.0025rem)*200);text-align:center}:host([type=number][controls-layout=horizontal][icon]) .input{padding-left:calc(var(--private-input-control-size) + var(--private-input-icon-offset-inline)*2 + var(--private-input-icon-size));text-align:left}:host([type=number][controls-layout=horizontal]) .icon{left:calc(var(--private-input-control-size) + var(--private-input-icon-offset-inline))}:host([type=password]) .input{padding-right:var(--private-input-toggle-padding)}:host([type=password]) .input[type=text]:not(:placeholder-shown){font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([type=password]) .input[type=text]:not(:placeholder-shown):where(input){text-box:normal}:host([type=cf]) .input{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:uppercase}:host([type=cf]) .input:where(input){text-box:normal}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([size=md]){--private-input-height:calc(var(--spacing,.0025rem)*900);--private-input-padding-block:calc(var(--spacing,.0025rem)*150);--private-input-padding-inline:calc(var(--spacing,.0025rem)*300);--private-input-icon-offset-block:calc(var(--spacing,.0025rem)*150);--private-input-icon-offset-inline:calc(var(--spacing,.0025rem)*200);--private-input-control-size:calc(var(--spacing,.0025rem)*900);--private-input-counter-width:calc(var(--spacing,.0025rem)*600);--private-input-counter-height:calc(var(--spacing,.0025rem)*450);--private-input-toggle-offset:calc(var(--spacing,.0025rem)*100);--private-input-toggle-padding:calc(var(--spacing,.0025rem)*900);--private-input-toggle-area:calc(var(--spacing,.0025rem)*900)}:host([size=sm]){--private-input-height:calc(var(--spacing,.0025rem)*700);--private-input-padding-block:calc(var(--spacing,.0025rem)*50);--private-input-padding-inline:calc(var(--spacing,.0025rem)*200);--private-input-icon-size:calc(var(--spacing,.0025rem)*400);--private-input-icon-offset-block:calc(var(--spacing,.0025rem)*150);--private-input-icon-offset-inline:calc(var(--spacing,.0025rem)*200);--private-input-control-size:calc(var(--spacing,.0025rem)*700);--private-input-counter-width:calc(var(--spacing,.0025rem)*500);--private-input-counter-height:calc(var(--spacing,.0025rem)*350);--private-input-toggle-offset:0;--private-input-toggle-padding:calc(var(--spacing,.0025rem)*800);--private-input-toggle-area:calc(var(--spacing,.0025rem)*800)}:host([size=sm]) .icon{height:var(--private-input-icon-size);width:var(--private-input-icon-size)}:host(:focus){--mds-input-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-variant-color-rgb:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))}:host([variant=ai]){--mds-input-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-variant-color-rgb:0 0 0}:host([variant=ai]:focus){--mds-input-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-variant-color-rgb:var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245))}:host([variant=info]){--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]: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=success]){--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]: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=warning]){--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]: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=error]){--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]: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))}: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-transition-duration:0s}:host([pref-contrast=more]){--mds-input-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-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)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-input-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)))}.password-mask{background-color:var(--mds-input-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-bottom-left-radius:inherit;border-bottom-right-radius:0;border-top-left-radius:inherit;corner-shape:inherit;align-items:center;border-top-right-radius:0;bottom:0;display:flex;gap:calc(var(--spacing,.0025rem)*50);height:100%;justify-content:start;left:0;overflow:hidden;padding-left:calc(var(--private-input-padding-inline) + var(--spacing,.0025rem)*100);pointer-events:none;position:absolute;right:var(--private-input-toggle-area);top:0}.password-mask.has-icon{padding-left:calc(var(--private-input-icon-padding) + var(--spacing,.0025rem)*100)}.password-mask:before{background-image:linear-gradient(to right,#0000,var(--mds-input-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)))));bottom:0;content:"";display:inline-flex;position:absolute;right:0;top:0;width:calc(var(--spacing,.0025rem)*600)}.password-mask-items{background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))/0);display:inline-flex;gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*100)}.password-mask-item,.password-mask-items{border-radius:var(--magma-radius-full,var(--radius-full,1000px));transition-duration:var(--duration-300,.3s);transition-property:background-color;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.password-mask-item{background-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));height:calc(var(--spacing,.0025rem)*200);width:calc(var(--spacing,.0025rem)*200)}:host(:focus-within) .password-mask-items{background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}@keyframes pulse{50%{opacity:.5}}@media (forced-colors:active){.input:focus{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-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-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)))}}@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-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)))}}'};var MdsInput=/** @class */function(){function t(t){var a=this;registerInstance(this,t);this.changeEvent=createEvent(this,"mdsInputChange",7);this.keyDownEvent=createEvent(this,"mdsInputKeydown",7);this.blurEvent=createEvent(this,"mdsInputBlur",7);this.focusEvent=createEvent(this,"mdsInputFocus",7);this.speechEvent=createEvent(this,"mdsInputSpeechEnd",7);this.validationEvent=createEvent(this,"mdsInputValidation",7);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}
93
+ * pattern and the custom ones last. A colour field whose text is not a colour reports `color`.
94
+ * The codice fiscale and ISBN validators, like the custom ones, give the form their own message,
95
+ * already in the language of the page.
96
+ */var validityProblem=function(t,i){var a=Object.keys(t)[0];switch(a){case"required":return{rule:"required"};case"max":return{rule:"max",context:{max:i.max}};case"min":return{rule:"min",context:{min:i.min}};case"maxlength":return{rule:"maxlength",context:{maxlength:i.maxlength}};case"minlength":return{rule:"minlength",context:{minlength:i.minlength}};case"pattern":return{rule:"pattern"};case"email":return{rule:"email"};case"url":return{rule:"url"};case"color":return{rule:"color"};case"piva":return{rule:"vatNumber"};case"cc":return{rule:"cardNumber"};default:return{rule:"invalid",message:t[a]}}};var mdsInputCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-icon,mds-input-tip,mds-input-tip-item,mds-spinner):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-background:rgb(var(--magma-field-fill,var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-input-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-placeholder-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-placeholder-focus-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-input-placeholder-hover-color:var(--mds-input-placeholder-default-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-input-ring:0 0 0 1px rgb(var(--mds-input-variant-color-rgb,0 0 0)/.1);--mds-input-shadow:0 1px calc(var(--spacing,.0025rem)*75) 0 rgb(var(--mds-input-variant-color-rgb,0 0 0)/.1),0 1px calc(var(--spacing,.0025rem)*50) 0 rgb(var(--mds-input-variant-color-rgb,0 0 0)/.06);--mds-input-textarea-field-sizing:content;--mds-input-textarea-resize:none;--mds-input-textarea-max-height:calc(var(--spacing,.0025rem)*6400);--mds-input-textarea-min-height:calc(var(--spacing,.0025rem)*2400);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-variant-color-rgb:var(--magma-accent-fg,var(--variant-primary-03,7 76 204));--mds-input-border-radius:min(var(--magma-radius-xl,var(--radius-squircle-xl,36px)),var(--magma-corner-cap,.5) * var(--private-input-height));--mds-input-transition-duration:var(--duration-300,.3s);--mds-input-controls-border:calc(var(--spacing,.0025rem)*50) solid rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-input-controls-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--private-input-transition-duration:var(--mds-input-transition-duration);--private-input-height:calc(var(--spacing,.0025rem)*1200);--private-input-padding-block:calc(var(--spacing,.0025rem)*300);--private-input-padding-inline:calc(var(--spacing,.0025rem)*400);--private-input-icon-size:calc(var(--spacing,.0025rem)*600);--private-input-icon-offset-block:calc(var(--spacing,.0025rem)*300);--private-input-icon-offset-inline:calc(var(--spacing,.0025rem)*300);--private-input-control-size:calc(var(--spacing,.0025rem)*1200);--private-input-counter-width:calc(var(--spacing,.0025rem)*700);--private-input-counter-height:calc(var(--spacing,.0025rem)*600);--private-input-toggle-offset:calc(var(--spacing,.0025rem)*150);--private-input-toggle-padding:calc(var(--spacing,.0025rem)*1000);--private-input-toggle-area:calc(var(--spacing,.0025rem)*1200);--private-input-icon-padding:calc(var(--private-input-icon-offset-inline) + var(--private-input-icon-size) + var(--spacing,.0025rem)*200);border-radius:var(--mds-input-border-radius);corner-shape:var(--magma-corner-shape,squircle);container-type:inline-size;display:flex;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));gap:calc(var(--spacing,.0025rem)*200);line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;position:relative;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--mds-input-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-variant-color-rgb:0 0 0}:host:where(input){text-box:normal}:host([typography=detail]) .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}:host([typography=detail]) .input:where(input){text-box:normal}:host([typography=snippet]) .input{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([typography=snippet]) .input:where(input){text-box:normal}.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;background-color:var(--mds-input-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:inherit;box-shadow:var(--mds-input-ring),var(--mds-input-shadow);box-sizing:border-box;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:inherit;border:0;margin:0;max-width:100%;min-height:var(--private-input-height);overflow:hidden;padding:var(--private-input-padding-block) var(--private-input-padding-inline);text-overflow:ellipsis;transition-duration:var(--private-input-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,margin,opacity,padding,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:100%}.input:where(input){text-box:normal}.input::placeholder{color:var(--mds-input-placeholder-default-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));transition-duration:var(--duration-300,.3s);transition-property:color;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input:hover::placeholder{color:var(--mds-input-placeholder-hover-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}.input:focus::placeholder{color:var(--mds-input-placeholder-focus-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))))}.input::-webkit-inner-spin-button,.input::-webkit-outer-spin-button{appearance:none;display:none;margin:0}:host([type=textarea]){--mds-input-border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px))}:host textarea.input,:host([typography]) textarea.input{border-radius:var(--mds-input-border-radius);field-sizing:var(--mds-input-textarea-field-sizing,content);max-height:var(--mds-input-textarea-max-height,calc(var(--spacing,.0025rem)*6400));min-height:var(--mds-input-textarea-min-height,calc(var(--spacing,.0025rem)*2400));overflow:auto;resize:var(--mds-input-textarea-resize,none)}@container style(--mds-input-textarea-resize:none){:host textarea.input,:host([typography]) textarea.input{border-bottom-right-radius:0}}.input:focus{--tw-outline-style:none;outline-style:none;--mds-input-ring:0 0 0 calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-variant-color-rgb,0 0 0)/1);--mds-input-shadow:0 calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*150) calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-variant-color-rgb,0 0 0)/.1),0 calc(var(--spacing,.0025rem)*50) calc(var(--spacing,.0025rem)*100) -1px rgb(var(--mds-input-variant-color-rgb,0 0 0)/.06)}.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)))}.input.has-icon{padding-left:var(--private-input-icon-padding)}.input.has-right-icon{padding-right:var(--private-input-icon-padding)}.await,.icon{fill:var(--mds-input-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));left:var(--private-input-icon-offset-inline);position:absolute;top:var(--private-input-icon-offset-block)}.await{color:var(--mds-input-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));height:var(--private-input-icon-size);width:var(--private-input-icon-size)}.counter{border-left:var(--mds-input-controls-border);display:flex;flex-direction:column;gap:0;position:absolute;right:0}.counter-button{aspect-ratio:unset;border:0;border-radius:var(--mds-input-border-radius);fill:var(--mds-input-controls-color);height:var(--private-input-counter-height);min-height:0;width:var(--private-input-counter-width)}.counter .counter-button:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mds-input-border-radius)}.counter .counter-button:last-child{border-bottom-left-radius:0;border-bottom-right-radius:var(--mds-input-border-radius);border-top-left-radius:0;border-top-right-radius:0}.counter-button--horizontal{bottom:0;height:var(--private-input-control-size);position:absolute;top:0;width:var(--private-input-control-size)}.counter-button--decrease{border-bottom-right-radius:0;border-right:var(--mds-input-controls-border);border-top-right-radius:0;left:0}.counter-button--increase{border-bottom-left-radius:0;border-left:var(--mds-input-controls-border);border-top-left-radius:0;right:0}.mic-toggle-button,.password-toggle-button{fill:var(--mds-input-controls-color);position:absolute;right:var(--private-input-toggle-offset);top:var(--private-input-toggle-offset)}.toggle-button--error{cursor:help;fill:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}.mic-toggle-button--recording{animation:var(--animate-pulse,pulse 2s cubic-bezier(.4,0,.6,1) infinite)}:host([type=number]) .input{-moz-appearance:textfield}.input.has-counter-vertical{padding-right:calc(var(--private-input-counter-width) + var(--spacing,.0025rem)*100)}.input.has-counter-horizontal{padding-left:calc(var(--private-input-control-size) + var(--spacing,.0025rem)*200);padding-right:calc(var(--private-input-control-size) + var(--spacing,.0025rem)*200);text-align:center}:host([icon]) .input.has-counter-horizontal{padding-left:calc(var(--private-input-control-size) + var(--private-input-icon-offset-inline)*2 + var(--private-input-icon-size));text-align:left}.input.has-counter-horizontal~.icon{left:calc(var(--private-input-control-size) + var(--private-input-icon-offset-inline))}:host([type=password]) .input{padding-right:var(--private-input-toggle-padding)}:host([type=password]) .input[type=text]:not(:placeholder-shown){font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:host([type=password]) .input[type=text]:not(:placeholder-shown):where(input){text-box:normal}:host([type=cf]) .input{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-snippet,1rem);font-weight:var(--tw-font-weight,var(--text-size-code-snippet--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-snippet--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-transform:uppercase}:host([type=cf]) .input:where(input){text-box:normal}mds-input-tip{--mds-input-tip-field-radius:var(--mds-input-border-radius);--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([size=md]){--private-input-height:calc(var(--spacing,.0025rem)*900);--private-input-padding-block:calc(var(--spacing,.0025rem)*150);--private-input-padding-inline:calc(var(--spacing,.0025rem)*300);--private-input-icon-offset-block:calc(var(--spacing,.0025rem)*150);--private-input-icon-offset-inline:calc(var(--spacing,.0025rem)*200);--private-input-control-size:calc(var(--spacing,.0025rem)*900);--private-input-counter-width:calc(var(--spacing,.0025rem)*600);--private-input-counter-height:calc(var(--spacing,.0025rem)*450);--private-input-toggle-offset:calc(var(--spacing,.0025rem)*100);--private-input-toggle-padding:calc(var(--spacing,.0025rem)*900);--private-input-toggle-area:calc(var(--spacing,.0025rem)*900)}:host([size=sm]){--private-input-height:calc(var(--spacing,.0025rem)*700);--private-input-padding-block:calc(var(--spacing,.0025rem)*50);--private-input-padding-inline:calc(var(--spacing,.0025rem)*200);--private-input-icon-size:calc(var(--spacing,.0025rem)*400);--private-input-icon-offset-block:calc(var(--spacing,.0025rem)*150);--private-input-icon-offset-inline:calc(var(--spacing,.0025rem)*200);--private-input-control-size:calc(var(--spacing,.0025rem)*700);--private-input-counter-width:calc(var(--spacing,.0025rem)*500);--private-input-counter-height:calc(var(--spacing,.0025rem)*350);--private-input-toggle-offset:0;--private-input-toggle-padding:calc(var(--spacing,.0025rem)*800);--private-input-toggle-area:calc(var(--spacing,.0025rem)*800)}:host([size=sm]) .icon{height:var(--private-input-icon-size);width:var(--private-input-icon-size)}:host(:focus){--mds-input-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-variant-color-rgb:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))}:host([variant=ai]){--mds-input-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-variant-color-rgb:0 0 0}:host([variant=ai]:focus){--mds-input-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-variant-color-rgb:var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245))}:host([variant=info]){--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]: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=success]){--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]: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=warning]){--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]: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=error]){--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]: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))}: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-transition-duration:0s}:host([pref-contrast=more]){--mds-input-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-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)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark]){--mds-input-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)))}.password-mask{--private-input-mask-fill:var(--mds-input-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));background-color:var(--private-input-mask-fill);border-bottom-left-radius:inherit;border-bottom-right-radius:0;border-top-left-radius:inherit;corner-shape:inherit;align-items:center;border-top-right-radius:0;bottom:0;display:flex;gap:calc(var(--spacing,.0025rem)*50);height:100%;justify-content:start;left:0;overflow:hidden;padding-left:calc(var(--private-input-padding-inline) + var(--spacing,.0025rem)*100);pointer-events:none;position:absolute;right:var(--private-input-toggle-area);top:0}.input:disabled~.password-mask{--private-input-mask-fill:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}.password-mask.has-icon{padding-left:calc(var(--private-input-icon-padding) + var(--spacing,.0025rem)*100)}.password-mask:before{background-image:linear-gradient(to right,#0000,var(--private-input-mask-fill));bottom:0;content:"";display:inline-flex;position:absolute;right:0;top:0;width:calc(var(--spacing,.0025rem)*600)}.password-mask-items{background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))/0);display:inline-flex;gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*100)}.password-mask-item,.password-mask-items{border-radius:var(--magma-radius-full,var(--radius-full,1000px));transition-duration:var(--duration-300,.3s);transition-property:background-color;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.password-mask-item{background-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));height:calc(var(--spacing,.0025rem)*200);width:calc(var(--spacing,.0025rem)*200)}:host(:focus-within) .password-mask-items{background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}.swatch{background-color:#0000;border:calc(var(--spacing,.0025rem)*25) solid rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-sizing:border-box;cursor:pointer;height:var(--private-input-icon-size);left:var(--private-input-icon-offset-inline);position:absolute;top:var(--private-input-icon-offset-block);width:var(--private-input-icon-size)}.swatch--still{cursor:default}.color-picker-button{fill:var(--mds-input-controls-color);top:var(--private-input-toggle-offset)}.color-picker,.color-picker-button{position:absolute;right:var(--private-input-toggle-offset)}.color-picker{border:0;height:var(--private-input-icon-size);margin:0;opacity:0;padding:0;pointer-events:none;top:var(--private-input-icon-offset-block);width:var(--private-input-icon-size)}:host([type=color]) .await{left:auto;right:var(--private-input-toggle-area)}.input.has-right-icons{padding-right:calc(var(--private-input-toggle-area) + var(--private-input-icon-size) + var(--spacing,.0025rem)*200)}:host([type=color]) .await.await--end{right:var(--private-input-icon-offset-inline)}@keyframes pulse{50%{opacity:.5}}@media (forced-colors:active){.input:focus{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-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-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)))}}@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-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)))}}'};var MdsInput=/** @class */function(){function t(t){var i=this.constructor;var a=this;if(i===MdsInput)registerInstance(this,t);this.changeEvent=createEvent(this,"mdsInputChange",7);this.keyDownEvent=createEvent(this,"mdsInputKeydown",7);this.blurEvent=createEvent(this,"mdsInputBlur",7);this.focusEvent=createEvent(this,"mdsInputFocus",7);this.speechEvent=createEvent(this,"mdsInputSpeechEnd",7);this.validationEvent=createEvent(this,"mdsInputValidation",7);if(t.$hostElement$["s-ei"]){this.internals=t.$hostElement$["s-ei"]}else{this.internals=t.$hostElement$.attachInternals();t.$hostElement$["s-ei"]=this.internals}
79
97
  // the value at load, which a form reset brings back as the value attribute of a native input
80
98
  this.defaultValue="";
81
99
  // replaced by buildValidation on load, a valid empty set before
@@ -83,7 +101,9 @@ this.inputValidation=createInputValidationManager("text");
83
101
  // the validators added through addValidator, kept apart so that a rebuild of the rules keeps them
84
102
  this.customValidators=[];
85
103
  // true once a blur has validated the field and driven its variant
86
- this.validated=false;this.speechToTextLabelKey="speechToTextOn";this.speechToTextIcon=miOutlineMic;this.hasFocus=false;this.isRecording=false;this.countVariant="count-empty";this.isPasswordVisible=false;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
104
+ this.validated=false;this.speechToTextLabelKey="speechToTextOn";this.speechToTextIcon=miOutlineMic;this.hasFocus=false;this.isRecording=false;this.countVariant="count-empty";this.isPasswordVisible=false;
105
+ // the text of a colour field: what the user typed, which `value` holds only once it is a colour
106
+ this.colorText="";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
87
107
  // the disabled state of the host as a form control: its own disabled, or a disabled fieldset
88
108
  // around it, which disables the host but not the native control in its shadow root
89
109
  this.formDisabled=false;
@@ -94,19 +114,27 @@ this.formDisabled=false;
94
114
  * Specifies that the element should automatically get focus when the page loads
95
115
  */this.autofocus=false;
96
116
  /**
97
- * Specifies if the spinner icon is shown, replacing the icon if present
117
+ * Specifies if the spinner icon is shown, replacing the icon if present. A `color` field keeps
118
+ * its swatch, which shows the value, and shows the spinner at its end, before the picker button
119
+ * (read-only or disabled, the field has no picker button and the spinner takes the end)
98
120
  */this.await=false;
99
121
  /**
100
- * Specifies the layout of the counter button when the input type is set to `number`
122
+ * Specifies the layout of the counter buttons when the input type is set to `number`: stacked at
123
+ * the end (`vertical`) or one at each end (`horizontal`). A read-only or disabled field has no
124
+ * counter buttons, and its text takes the room they leave
101
125
  */this.controlsLayout="vertical";
102
126
  /**
103
- * Specifies the icon type of the counter button when the input type is set to `number`
127
+ * Specifies the icon type of the counter buttons when the input type is set to `number`
104
128
  */this.controlsIcon="arrow";
105
129
  /**
106
- * If true, the element is displayed as disabled
130
+ * If true, the element is displayed as disabled. The buttons that change the value (the counter
131
+ * buttons of a number, the microphone, the picker of a colour) are not shown: the end of the
132
+ * field is left to the badge of its state
107
133
  */this.disabled=false;
108
134
  /**
109
- * Specifies that the element is read-only
135
+ * Specifies that the element is read-only. The buttons that change the value (the counter
136
+ * buttons of a number, the microphone, the picker of a colour) are not shown, as on a disabled
137
+ * field; the password toggle stays, since it shows the value without changing it
110
138
  */this.readonly=false;
111
139
  /**
112
140
  * Specifies that the element must be filled out before submitting the form
@@ -119,16 +147,35 @@ this.formDisabled=false;
119
147
  * A textarea keeps its own height (`--mds-input-textarea-min-height`)
120
148
  */this.size="lg";
121
149
  /**
122
- * Specifies the type of input element
150
+ * Specifies the type of input element. `color` holds a colour: the field stays a text field,
151
+ * where the code is typed and validated, with a swatch of the colour at its start and a button
152
+ * at its end that opens the colour picker of the platform. Its value, in the change event and
153
+ * in the form, is the colour as
154
+ * `#rrggbb` in lower case, or `''` while the text is empty or names no colour, which is a
155
+ * validation error; the text also takes `#rgb` and the code without `#`, in any case, and is
156
+ * written back as `#rrggbb` when the field is left
123
157
  */this.type="text";
124
158
  /**
125
159
  * Specifies the typography of input element
126
160
  */this.typography="detail";
127
161
  /**
128
- * Specifies the value of the input element
162
+ * Specifies the value of the input element. With `type="color"`, a colour as `#rrggbb`: a value
163
+ * set as `#rgb`, without `#` or in upper case is written so, and one that names no colour is
164
+ * shown as it is, with its error, while the value becomes `''`
129
165
  */this.value="";this.isDisabled=function(){return!!a.disabled||a.formDisabled};
130
166
  // the user can change the value: the buttons that change it (steppers, mic) follow it
131
- this.canEdit=function(){return!a.isDisabled()&&!a.readonly};this.countMaxLength=function(){var t,i,e;if(a.maxlength===undefined||a.maxlength===0||Number.isNaN(a.maxlength))return;if(a.value===undefined)return;a.currentLengthLabel="".concat((i=(t=a.value)===null||t===void 0?void 0:t.length)!==null&&i!==void 0?i:0," / ").concat(a.maxlength);var r=Math.round(a.value.length*100/a.maxlength);if(((e=a.value)===null||e===void 0?void 0:e.length)===a.maxlength){a.countVariant="count-full";return}if(r>=100){a.countVariant="count-full";return}if(r>=75){a.countVariant="count-almost-full";return}if(r>=50){a.countVariant="count-almost";return}if(r>=25){a.countVariant="count-incomplete";return}a.countVariant="count-empty"};this.onInput=function(t){var i=t.target;if(i){a.value=i.value;setFormValue(a.internals,a.value)}};this.onKeyDown=function(t){a.keyDownEvent.emit(t)};this.onBlur=function(){a.hasFocus=false;a.validateInput();a.blurEvent.emit();
167
+ this.canEdit=function(){return!a.isDisabled()&&!a.readonly};
168
+ /** A colour field (`type="color"`): its text is typed and validated, its value is its colour. */this.isColor=function(){return a.type==="color"};this.countMaxLength=function(){var t,i,e;if(a.maxlength===undefined||a.maxlength===0||Number.isNaN(a.maxlength))return;if(a.value===undefined)return;a.currentLengthLabel="".concat((i=(t=a.value)===null||t===void 0?void 0:t.length)!==null&&i!==void 0?i:0," / ").concat(a.maxlength);var r=Math.round(a.value.length*100/a.maxlength);if(((e=a.value)===null||e===void 0?void 0:e.length)===a.maxlength){a.countVariant="count-full";return}if(r>=100){a.countVariant="count-full";return}if(r>=75){a.countVariant="count-almost-full";return}if(r>=50){a.countVariant="count-almost";return}if(r>=25){a.countVariant="count-incomplete";return}a.countVariant="count-empty"};this.onInput=function(t){var i=t.target;if(i&&a.isColor()){a.typeColor(i.value);return}if(i){a.value=i.value;setFormValue(a.internals,a.value)}};
169
+ /**
170
+ * Opens the colour picker of the platform from its button, or from the swatch with the pointer,
171
+ * on a field the user can change. The picker always holds a colour: black for an empty field,
172
+ * the default of a native colour input.
173
+ */this.openColorPicker=function(){var t=a.colorPicker;if(!t||!a.canEdit())return;t.value=a.value||"#000000";try{t.showPicker()}catch(i){
174
+ // a browser without showPicker opens the picker of a colour input on a click
175
+ t.click()}};
176
+ /** The colour picked writes the text and the value, as if typed: the same events follow. */this.onColorPick=function(t){if(!a.canEdit())return;a.typeColor(t.target.value)};this.onKeyDown=function(t){a.keyDownEvent.emit(t)};this.onBlur=function(){a.hasFocus=false;
177
+ // a colour field writes the colour typed as the form gets it, #rrggbb, once the user leaves
178
+ if(a.isColor()&&a.value)a.colorText=a.value;a.validateInput();a.blurEvent.emit();
132
179
  // this.isValidInput = this.validateInput()
133
180
  };this.onFocus=function(t){var i=t.target;a.hasFocus=true;a.focusEvent.emit();if(a.readonly){
134
181
  // setTimeout to avoid Safari 14.1.2
@@ -145,29 +192,49 @@ a.recognition.onresult=function(t){
145
192
  // the field was disabled or made read-only while dictating
146
193
  if(!a.canEdit()){if(a.isRecording)a.toggleTextRecognition();return}var i=t.results;var e=i[o];if(e.isFinal){n+=e[0].transcript;a.value=n;o+=1;return}a.value=n+e[0].transcript};
147
194
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
148
- a.recognition.onerror=function(t){console.error("SpeechRecognition API error:",t.error);a.onSpeechRecognitionError()};a.recognition.start()};this.stopRecognition=function(){if(a.recognition){a.recognition.stop();a.speechEvent.emit()}}}t.prototype.formDisabledCallback=function(t){this.formDisabled=t};
195
+ a.recognition.onerror=function(t){console.error("SpeechRecognition API error:",t.error);a.onSpeechRecognitionError()};a.recognition.start()};this.stopRecognition=function(){if(a.recognition){a.recognition.stop();a.speechEvent.emit()}}}t.prototype.formDisabledCallback=function(t){this.formDisabled=t;this.stopLockedDictation()};
149
196
  /**
150
197
  * Like a native input, a form reset brings back the value of load and forgets the validation
151
198
  * shown on blur: the field looks pristine until the next blur.
152
- */t.prototype.formResetCallback=function(){var t=this.validated;this.validated=false;this.isValid=!(this.required&&this.defaultValue==="");this.value=this.defaultValue;if(t)this.variant="primary"};t.prototype.connectedCallback=function(){this.datalistId="datalist-".concat(hashRandomValue())};t.prototype.componentWillLoad=function(){var t,a,i;this.defaultValue=(t=this.value)!==null&&t!==void 0?t:"";
199
+ */t.prototype.formResetCallback=function(){var t=this.validated;this.validated=false;if(this.isColor())this.showColor(this.defaultValue);else this.value=this.defaultValue;this.isValid=!(this.required&&this.checkedValue()==="");if(t)this.variant="primary"};t.prototype.connectedCallback=function(){this.datalistId="datalist-".concat(hashRandomValue())};t.prototype.componentWillLoad=function(){var t,i;this.defaultValue=(t=this.value)!==null&&t!==void 0?t:"";
153
200
  // If the mds-input has a tabindex attribute we get the value
154
201
  // and pass it down to the native input, then remove it from the
155
202
  // mds-input to avoid causing tabbing twice on the same element
156
- if(this.el.hasAttribute("tabindex")){var e=this.el.getAttribute("tabindex");this.tabindex=e!==null?parseInt(e):undefined;this.el.removeAttribute("tabindex")}setFormValue(this.internals,(a=this.value)!==null&&a!==void 0?a:null);this.maxLengthChanged(this.maxlength);this.buildValidation();this.isValid=!(this.required&&((i=this.value)!==null&&i!==void 0?i:"")==="")};t.prototype.componentDidLoad=function(){var t,a;if(this.autofocus){(t=this.nativeInput)===null||t===void 0?void 0:t.focus()}this.variantChanged((a=this.variant)!==null&&a!==void 0?a:"primary")};t.prototype.componentDidRender=function(){
203
+ if(this.el.hasAttribute("tabindex")){var a=this.el.getAttribute("tabindex");this.tabindex=a!==null?parseInt(a):undefined;this.el.removeAttribute("tabindex")}if(this.isColor())this.showColor(this.defaultValue);setFormValue(this.internals,(i=this.value)!==null&&i!==void 0?i:null);this.maxLengthChanged(this.maxlength);this.buildValidation();this.isValid=!(this.required&&this.checkedValue()==="")};
204
+ /**
205
+ * What the validators check: the value, or the text of a colour field while it names no colour
206
+ * (its value is `''` then), so that it fails the colour validator instead of passing for an
207
+ * empty field.
208
+ */t.prototype.checkedValue=function(){var t;var i=(t=this.value)!==null&&t!==void 0?t:"";return this.isColor()&&i===""?this.colorText.trim():i};
209
+ /**
210
+ * Shows a text in a colour field and takes its colour as the value, as at load and on reset: a
211
+ * colour written as `#rrggbb`, any other text as it is, with the value `''`.
212
+ */t.prototype.showColor=function(t){var i=toSimpleColor(t);this.colorText=i||t;this.value=i};
213
+ /**
214
+ * Keeps the text of a colour field with its value when the value changes. The value of the text
215
+ * leaves the text alone, as the user typed it until they leave the field; any other comes from
216
+ * outside (code, a framework) and is shown, as `#rrggbb` when it is a colour. A value that is
217
+ * no `#rrggbb` is set again to its colour, or to `''`, as a native input sanitizes its value
218
+ * (HTML, value sanitization of the color and number types). Returns true when it sets the value
219
+ * again, whose watcher goes on in its place.
220
+ */t.prototype.syncColorText=function(){var t;var i=(t=this.value)!==null&&t!==void 0?t:"";if(toSimpleColor(this.colorText)===i)return false;var a=toSimpleColor(i);this.colorText=a||i;if(a===i)return false;this.value=a;return true};t.prototype.componentDidLoad=function(){var t,i;if(this.autofocus){(t=this.nativeInput)===null||t===void 0?void 0:t.focus()}this.variantChanged((i=this.variant)!==null&&i!==void 0?i:"primary")};t.prototype.componentDidRender=function(){
157
221
  // after every render: the native control the message points at can be a new element
158
222
  this.updateFormValidity()};
159
223
  /**
160
224
  * Builds the validators from scratch: the ones of the type, the ones of the constraint props and
161
225
  * the custom ones. A rebuild instead of an append, so that a rule changed after load replaces
162
226
  * the old one instead of stacking on it.
163
- */t.prototype.buildValidation=function(){var t,a;var i=createInputValidationManager((t=this.type)!==null&&t!==void 0?t:"text");var e=i.validator;var r=this.numericBound(this.max);var n=this.numericBound(this.min);if(this.required)e.addValidator(requiredValidor);if(r!==undefined)e.addValidator(maxValidator(r));if(n!==undefined)e.addValidator(minValidator(n));if(this.maxlength!==undefined&&this.maxlength!==0&&!Number.isNaN(this.maxlength))e.addValidator(maxLengthValidator(this.maxlength));if(this.minlength!==undefined&&this.minlength!==0&&!Number.isNaN(this.minlength))e.addValidator(minLengthValidator(this.minlength));var o=this.patternApplies()?patternValidator((a=this.pattern)!==null&&a!==void 0?a:""):null;if(o)e.addValidator(o);e.addValidator(this.customValidators);this.inputValidation=i};
164
- /** As on a native input, `pattern` constrains the text types, not a number, a date or a time. */t.prototype.patternApplies=function(){var t,a;return((t=this.pattern)!==null&&t!==void 0?t:"")!==""&&!["date","number","textarea","time"].includes((a=this.type)!==null&&a!==void 0?a:"text")};
165
- /** The number held by `min` or `max`, `undefined` when the prop is unset or not a number. */t.prototype.numericBound=function(t){if(t===undefined||t===null||t==="")return undefined;var a=Number(t);return Number.isNaN(a)?undefined:a};
227
+ */t.prototype.buildValidation=function(){var t,i;var a=createInputValidationManager((t=this.type)!==null&&t!==void 0?t:"text");var e=a.validator;var r=this.numericBound(this.max);var n=this.numericBound(this.min);if(this.required)e.addValidator(requiredValidor);if(r!==undefined)e.addValidator(maxValidator(r));if(n!==undefined)e.addValidator(minValidator(n));if(this.maxlength!==undefined&&this.maxlength!==0&&!Number.isNaN(this.maxlength))e.addValidator(maxLengthValidator(this.maxlength));if(this.minlength!==undefined&&this.minlength!==0&&!Number.isNaN(this.minlength))e.addValidator(minLengthValidator(this.minlength));var o=this.patternApplies()?patternValidator((i=this.pattern)!==null&&i!==void 0?i:""):null;if(o)e.addValidator(o);e.addValidator(this.customValidators);this.inputValidation=a};
228
+ /**
229
+ * As on a native input, `pattern` constrains the text types, not a number, a date, a time or a
230
+ * colour, whose format is fixed.
231
+ */t.prototype.patternApplies=function(){var t,i;return((t=this.pattern)!==null&&t!==void 0?t:"")!==""&&!["color","date","number","textarea","time"].includes((i=this.type)!==null&&i!==void 0?i:"text")};
232
+ /** The number held by `min` or `max`, `undefined` when the prop is unset or not a number. */t.prototype.numericBound=function(t){if(t===undefined||t===null||t==="")return undefined;var i=Number(t);return Number.isNaN(i)?undefined:i};
166
233
  /**
167
234
  * Reports the validity of the value to the form, decided by the same validators that drive the
168
235
  * variant: like a native `required`, an invalid field stops the submit of its form. Runs on every
169
236
  * change of the value or of the rules, not on blur: the form can be submitted without a blur.
170
- */t.prototype.updateFormValidity=function(){var t;var a=(t=this.value)!==null&&t!==void 0?t:"";var i=this.inputValidation.validator.check(a);var e=i?validityProblem(i,{max:this.numericBound(this.max),maxlength:this.maxlength,min:this.numericBound(this.min),minlength:this.minlength}):undefined;updateValidity(this.internals,e,this.nativeInput)};
237
+ */t.prototype.updateFormValidity=function(){var t=this.inputValidation.validator.check(this.checkedValue());var i=t?validityProblem(t,{max:this.numericBound(this.max),maxlength:this.maxlength,min:this.numericBound(this.min),minlength:this.minlength}):undefined;updateValidity(this.internals,i,this.nativeInput)};
171
238
  /**
172
239
  * A submit stopped by an invalid field, or a `checkValidity()` of its form, validates the field
173
240
  * as a blur does, so that it shows what is wrong.
@@ -175,45 +242,54 @@ this.updateFormValidity()};
175
242
  /**
176
243
  * Rebuilds the validators when a prop they derive from changes after load, as it does with the
177
244
  * React wrappers under SSR, which set the props on an element that has already loaded.
178
- */t.prototype.validationRulesChanged=function(){var t;this.buildValidation();this.updateFormValidity();if(!this.validated){
245
+ */t.prototype.validationRulesChanged=function(){this.buildValidation();this.updateFormValidity();if(!this.validated){
179
246
  // pristine field: only the required tip follows, the variant waits for the first blur
180
- this.isValid=!(this.required&&((t=this.value)!==null&&t!==void 0?t:"")==="");return}if(this.inputValidation.validator.hasValidator()){this.validateInput();return}
247
+ this.isValid=!(this.required&&this.checkedValue()==="");return}if(this.inputValidation.validator.hasValidator()){this.validateInput();return}
181
248
  // the last rule is gone: nothing is left to drive the variant, back to the pristine look
182
249
  this.validated=false;this.isValid=true;this.variant="primary"};
250
+ /** A field that becomes a colour field shows its value as its text, and takes its colour. */t.prototype.typeChanged=function(){var t;if(this.isColor())this.showColor((t=this.value)!==null&&t!==void 0?t:"")};
183
251
  /**
184
252
  * Emits the change event when the component value changes
185
- */t.prototype.valueChanged=function(){var t,a;this.changeEvent.emit({value:this.value});setFormValue(this.internals,(t=this.value)!==null&&t!==void 0?t:null);this.updateFormValidity();if(this.maxlength!==undefined){this.countMaxLength()}if(!this.validated){
253
+ */t.prototype.valueChanged=function(){var t;if(this.isColor()&&this.syncColorText())return;this.changeEvent.emit({value:this.value});setFormValue(this.internals,(t=this.value)!==null&&t!==void 0?t:null);this.followValue()};
254
+ /**
255
+ * What follows a change of what the field holds: its value, or the text of a colour field,
256
+ * which can change while the value stays `''`.
257
+ */t.prototype.followValue=function(){this.updateFormValidity();if(this.maxlength!==undefined){this.countMaxLength()}if(!this.validated){
186
258
  // pristine field: only the required tip follows, the variant waits for the first blur
187
- this.isValid=!(this.required&&((a=this.value)!==null&&a!==void 0?a:"")==="");return}
259
+ this.isValid=!(this.required&&this.checkedValue()==="");return}
188
260
  // if is necessary for skip validation when reset input to retype correct value, validation is always onBlur
189
- if(this.value==="")return;if(!this.isValid)this.validateInput()};t.prototype.variantChanged=function(t){if(t==="ai"&&this.icon===undefined){this.icon=mggAiChatbotOutline}};t.prototype.maxLengthChanged=function(t){if(t===undefined)return;if(t<=0){this.maxlength=undefined;return}this.countMaxLength()};
261
+ if(this.checkedValue()==="")return;if(!this.isValid)this.validateInput()};t.prototype.variantChanged=function(t){if(t==="ai"&&this.icon===undefined){this.icon=mggAiChatbotOutline}};t.prototype.maxLengthChanged=function(t){if(t===undefined)return;if(t<=0){this.maxlength=undefined;return}this.countMaxLength()};
190
262
  /**
191
263
  * Adds a validator to the input.
192
264
  * @param validator the validator function to add
193
- */t.prototype.addValidator=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.customValidators.push(t);this.inputValidation.validator.addValidator(t);this.updateFormValidity();return[2/*return*/,Promise.resolve()]}))}))};
265
+ */t.prototype.addValidator=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.customValidators.push(t);this.inputValidation.validator.addValidator(t);this.updateFormValidity();return[2/*return*/,Promise.resolve()]}))}))};
194
266
  /**
195
267
  * Removes a previously added validator from the input.
196
268
  * @param validator the validator function to remove
197
- */t.prototype.removeValidator=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.customValidators=this.customValidators.filter((function(a){return a!==t}));this.inputValidation.validator.removeValidator(t);this.updateFormValidity();return[2/*return*/]}))}))};
269
+ */t.prototype.removeValidator=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){this.customValidators=this.customValidators.filter((function(i){return i!==t}));this.inputValidation.validator.removeValidator(t);this.updateFormValidity();return[2/*return*/]}))}))};
198
270
  /**
199
271
  * Returns if validator is presen
200
272
  * @param validator validator to check if it is present
201
273
  * @returns if a validator is present or not, if no validator given, return if there are at least one validator
202
- */t.prototype.hasValidator=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){return[2/*return*/,this.inputValidation.validator.hasValidator(t)]}))}))};
274
+ */t.prototype.hasValidator=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2/*return*/,this.inputValidation.validator.hasValidator(t)]}))}))};
203
275
  /**
204
276
  * Returns the current validation errors, or `null` if the value is valid.
205
277
  * @returns the validation errors, or `null` when valid
206
- */t.prototype.getErrors=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2/*return*/,Promise.resolve(this.inputValidation.validator.errors)]}))}))};t.prototype.validateInput=function(){var t,a;
278
+ */t.prototype.getErrors=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2/*return*/,Promise.resolve(this.inputValidation.validator.errors)]}))}))};t.prototype.validateInput=function(){
207
279
  // validate input only when atleast one validator is present
208
- if(this.inputValidation.validator.hasValidator()){this.validated=true;this.isValid=this.inputValidation.isValid((t=this.value)!==null&&t!==void 0?t:"");
280
+ if(this.inputValidation.validator.hasValidator()){this.validated=true;this.isValid=this.inputValidation.isValid(this.checkedValue());
209
281
  // set variant attribute
210
- if(((a=this.value)!==null&&a!==void 0?a:"")===""&&!this.required)this.variant="primary";else this.variant=this.isValid?"success":"error";this.validationEvent.emit(this.isValid)}return this.isValid};t.prototype.disabledChanged=function(t){
282
+ if(this.checkedValue()===""&&!this.required)this.variant="primary";else this.variant=this.isValid?"success":"error";this.validationEvent.emit(this.isValid)}return this.isValid};t.prototype.disabledChanged=function(t){
211
283
  /**
212
284
  * This is related to ALL disabled attributes set on Magma input components
213
285
  * if solved, please check mds-button, mds-input, mds-input-*
214
286
  * https://github.com/ionic-team/stencil/issues/5461
215
287
  */
216
- if(t){setFormValue(this.internals,null)}};
288
+ if(t){setFormValue(this.internals,null)}this.stopLockedDictation()};t.prototype.readonlyChanged=function(){this.stopLockedDictation()};
289
+ /**
290
+ * A field that becomes read-only or disabled loses its dictation button, with which the user
291
+ * would stop a dictation: one in progress stops at once, emitting `mdsInputSpeechEnd`.
292
+ */t.prototype.stopLockedDictation=function(){if(this.isRecording&&!this.canEdit())this.toggleTextRecognition()};
217
293
  /**
218
294
  * Sets focus on the specified `my-input`.
219
295
  * Use this method instead
@@ -222,4 +298,33 @@ if(t){setFormValue(this.internals,null)}};
222
298
  /**
223
299
  * Returns the native `<input>` element used under the hood.
224
300
  */t.prototype.getInputElement=function(){return Promise.resolve(this.nativeInput)};
225
- /** The buttons inside the field: the default `md` fits a 48px field, `sm` the smaller ones. */t.prototype.buttonSize=function(){return this.size==="sm"||this.size==="md"?"sm":undefined};t.prototype.render=function(){var t=this;var a,i,e,r;return h(Host,{key:"ff4b69aff6b1476cac1a9fdb129cb22eb967a973","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.type==="number"&&this.controlsLayout==="horizontal"&&h("mds-button",{key:"6889298468f1885b75bef4aa4cee7e767571103d",class:"counter-button counter-button--horizontal counter-button--decrease",icon:this.controlsIcon==="arrow"?miBaselineKeyboardArrowDown:miBaselineRemove,disabled:!this.canEdit(),onClick:this.stepDown,tabindex:"0",title:this.t.get("decrease"),variant:"dark",tone:"text",part:"counter-button-decrease"}),this.type==="textarea"?h("textarea",{"aria-label":this.accessibleName,class:clsx("input",((a=this.icon)!==null&&a!==void 0?a:this.await)&&"has-icon",this.mic&&"has-right-icon"),autoFocus:this.autofocus,disabled:this.isDisabled(),maxLength:this.maxlength,minLength:this.minlength,name:this.name,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.onInput,onKeyDown:this.onKeyDown,part:"field",placeholder:this.placeholder,readOnly:this.readonly,ref:function(a){return t.nativeInput=a},required:this.required,tabIndex:this.tabindex,value:this.value}):h("input",{"aria-label":this.accessibleName,class:clsx("input",((i=this.icon)!==null&&i!==void 0?i:this.await)&&"has-icon",this.mic&&"has-right-icon"),autoComplete:this.autocomplete,autoFocus:this.autofocus,disabled:this.isDisabled(),max:this.max,maxLength:this.maxlength,min:this.min,minLength:this.minlength,name:this.name,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.onInput,onKeyDown:this.onKeyDown,pattern:this.pattern,list:this.datalistId,part:"field",placeholder:this.placeholder,readOnly:this.readonly,ref:function(a){return t.nativeInput=a},required:this.required,step:this.step,tabIndex:this.tabindex,type:this.type==="password"&&this.isPasswordVisible?"text":this.type,value:this.value}),this.type==="number"&&this.controlsLayout==="vertical"&&h("div",{key:"4428143576d7bc1dd2109bb91f6bb3ca0182af5a",class:"counter counter--vertical"},h("mds-button",{key:"a95df46c3ca5e25f63d748809cfe739eea2e4dc8",class:"counter-button",icon:this.controlsIcon==="arrow"?miBaselineKeyboardArrowUp:miBaselineAdd,disabled:!this.canEdit(),onClick:this.stepUp,tabindex:"0",title:this.t.get("increase"),variant:"dark",size:"sm",tone:"text",part:"counter-button-increase"}),h("mds-button",{key:"eb3fc38cc8aeb308089a3cb11ba083f5290f8d57",class:"counter-button",icon:this.controlsIcon==="arrow"?miBaselineKeyboardArrowDown:miBaselineRemove,disabled:!this.canEdit(),onClick:this.stepDown,tabindex:"0",title:this.t.get("decrease"),variant:"dark",size:"sm",tone:"text",part:"counter-button-decrease"})),this.type==="number"&&this.controlsLayout==="horizontal"&&h("mds-button",{key:"e012aaf20d1fd5467701489f61df76d4b8b3f724",class:"counter-button counter-button--horizontal counter-button--increase",variant:"dark",tone:"text",icon:this.controlsIcon==="arrow"?miBaselineKeyboardArrowUp:miBaselineAdd,disabled:!this.canEdit(),onClick:this.stepUp,tabindex:"0",title:this.t.get("increase"),part:"counter-button-increase"}),this.type==="password"&&h("mds-button",{key:"876449dcbd652dafa1fc0eb9714991166bb8546a",class:"password-toggle-button",size:this.buttonSize(),variant:"dark",tone:"text",icon:this.isPasswordVisible?miBaselineVisibleOff:miBaselineVisible,disabled:this.isDisabled(),onClick:this.handlePasswordToggleClick,tabindex:"0",title:this.isPasswordVisible?this.t.get("hidePassword"):this.t.get("showPassword"),part:"password-toggle-button"}),this.type==="password"&&!this.isPasswordVisible&&((e=this.value)===null||e===void 0?void 0:e.length)>0&&h("div",{key:"a13f51cb38cbafd15dd504f3c88a593111fbcdeb",class:clsx("password-mask",((r=this.icon)!==null&&r!==void 0?r:this.await)&&"has-icon")},h("div",{key:"c5d9a4baad33560f628c9d8989c2b0e5bc0c2338",class:"password-mask-items",part:"password-mask-items"},Array.from({length:this.value.length}).map((function(t,a){return h("div",{key:a,class:"password-mask-item",part:"password-mask-item"})})))),this.mic&&h("mds-button",{key:"bc28e3e0a225bfabe7d11620ce18bb3617917fe3",class:clsx("mic-toggle-button",this.isRecording&&"mic-toggle-button--recording"),size:this.buttonSize(),icon:this.speechToTextIcon,disabled:!this.canEdit(),onClick:this.toggleTextRecognition,tabindex:"0",title:this.t.get(this.speechToTextLabelKey),variant:"dark",tone:"text",part:"mic-toggle-button"}),h("mds-input-tip",{key:"cf6ef0bb299a49e5a8b5b0af7b12ae33ed5e1042",position:"top",active:this.hasFocus,part:"tip-top"},this.isDisabled()&&h("mds-input-tip-item",{key:"9bf2a972ff439c1587292ec6e36dea49bc18e210",expanded:true,variant:"disabled"}),this.readonly&&h("mds-input-tip-item",{key:"cffd5801d81d77c230bf9916c3ce8e872d5afdac",expanded:true,variant:"readonly"}),this.required&&h("mds-input-tip-item",{key:"ed51742d5e82d01f048faaab04fdd9f5c35b3a91",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),h("mds-input-tip",{key:"46481d6897e31b9ce38b3cea51cd790d0ad103c4",position:"bottom",active:this.hasFocus,part:"tip-bottom"},this.tip&&h("mds-input-tip-item",{key:"1bf9486e8095b8b4f6f5b04df09ad737a9255fb0",expanded:true,variant:"text"},this.tip),this.maxlength&&h("mds-input-tip-item",{key:"582cbae14e1ba5d07036c190665d34ac6eae574e",part:"tip-count",expanded:true,variant:this.countVariant},this.currentLengthLabel)),this.datalist&&h("datalist",{key:"3330e9bafaec068b20d99d870c060571f758599a",id:this.datalistId,class:"datalist"},this.datalist.map((function(t,a){return h("option",{key:a,value:t})}))),this.icon&&!this.await&&h("mds-icon",{key:"43c54cdade8ac92c4baad6b0f84b09f4fcd84010",class:clsx("icon",this.variant),name:this.icon}),h("mds-spinner",{key:"10cbb44e15a89da0cb53903b0c5d3f852eaa78a0",running:this.await,class:clsx("await",this.variant)}))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{max:[{validationRulesChanged:0}],maxlength:[{validationRulesChanged:0},{maxLengthChanged:0}],min:[{validationRulesChanged:0}],minlength:[{validationRulesChanged:0}],pattern:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}],type:[{validationRulesChanged:0}],value:[{valueChanged:0}],variant:[{variantChanged:0}],disabled:[{disabledChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInput.style=mdsInputCss();export{MdsInput as mds_input};
301
+ /**
302
+ * The text of a colour field, typed or picked: the value becomes its colour, or `''`, and its
303
+ * watcher follows; a text that leaves the value as it was is followed here.
304
+ */t.prototype.typeColor=function(t){var i;this.colorText=t;var a=toSimpleColor(t);if(a!==((i=this.value)!==null&&i!==void 0?i:"")){this.value=a;return}this.followValue()};
305
+ /** The buttons inside the field: the default `md` fits a 48px field, `sm` the smaller ones. */t.prototype.buttonSize=function(){return this.size==="sm"||this.size==="md"?"sm":undefined};
306
+ /**
307
+ * The type of the native input: a colour field is a text field, where the code is typed (the
308
+ * picker is the colour input under the swatch); a password shown is a text field too.
309
+ */t.prototype.nativeType=function(){if(this.isColor())return"text";return this.type==="password"&&this.isPasswordVisible?"text":this.type};
310
+ /** The mark at the start of the field: the swatch of a colour field, else the icon or spinner. */t.prototype.hasLeadingMark=function(){var t;return this.isColor()||Boolean((t=this.icon)!==null&&t!==void 0?t:this.await)};
311
+ /**
312
+ * The picker button of a colour field, shown while the user can change the value: a read-only
313
+ * or disabled field offers no way to change it, as the swatch shows the colour, and leaves the
314
+ * end of the field to the badge of its state (vittorio 2026-11-11: the button clashed with it).
315
+ */t.prototype.hasColorPicker=function(){return this.isColor()&&this.canEdit()};
316
+ /**
317
+ * The dictation button, shown while the user can change the value: a read-only or disabled field
318
+ * offers no way to change it, and leaves its end to the badge of its state, as a colour field
319
+ * does with its picker button (vittorio 2026-11-11).
320
+ */t.prototype.hasMicButton=function(){return Boolean(this.mic)&&!this.isColor()&&this.canEdit()};
321
+ /**
322
+ * The counter buttons of a number, shown while the user can change the value: a read-only or
323
+ * disabled number is a plain field, its text takes their room, and its end is left to the badge
324
+ * of its state, as with the microphone (vittorio 2026-11-11, #1368).
325
+ */t.prototype.hasSteppers=function(){return this.type==="number"&&this.canEdit()};
326
+ /** The mark at the end of the field: the microphone, or the picker button of a colour field. */t.prototype.hasTrailingMark=function(){return this.isColor()?this.hasColorPicker()||this.await:this.hasMicButton()};
327
+ /**
328
+ * The name of the picker button of a colour field: what it does, and for which field, since a
329
+ * form can hold more than one colour field and each has a button of its own.
330
+ */t.prototype.colorPickerName=function(){return this.accessibleName?this.t.get("colorPickerFor",{name:this.accessibleName}):this.t.get("colorPicker")};t.prototype.render=function(){var t=this;var i,a;return h(Host,{key:"8118e16dbee1473a35931d0b73c049176a9ae557","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.hasSteppers()&&this.controlsLayout==="horizontal"&&h("mds-button",{key:"600d7185f782748da103a9d5112b958e6cd05959",class:"counter-button counter-button--horizontal counter-button--decrease",icon:this.controlsIcon==="arrow"?miBaselineKeyboardArrowDown:miBaselineRemove,onClick:this.stepDown,size:this.buttonSize(),tabindex:"0",title:this.t.get("decrease"),variant:"dark",tone:"text",part:"counter-button-decrease"}),this.isColor()&&h("div",{key:"565ad91dd6f16d3e535a27a70759c8ccbc548ace","aria-hidden":"true",class:clsx("swatch",!this.canEdit()&&"swatch--still"),onClick:this.openColorPicker,style:{backgroundColor:this.value||undefined}}),this.type==="textarea"?h("textarea",{"aria-label":this.accessibleName,class:clsx("input",this.hasLeadingMark()&&"has-icon",this.hasTrailingMark()&&"has-right-icon"),autoFocus:this.autofocus,disabled:this.isDisabled(),maxLength:this.maxlength,minLength:this.minlength,name:this.name,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.onInput,onKeyDown:this.onKeyDown,part:"field",placeholder:this.placeholder,readOnly:this.readonly,ref:function(i){return t.nativeInput=i},required:this.required,tabIndex:this.tabindex,value:this.value}):h("input",{"aria-label":this.accessibleName,class:clsx("input",this.hasLeadingMark()&&"has-icon",this.hasTrailingMark()&&"has-right-icon",this.hasColorPicker()&&this.await&&"has-right-icons",this.hasSteppers()&&this.controlsLayout==="vertical"&&"has-counter-vertical",this.hasSteppers()&&this.controlsLayout==="horizontal"&&"has-counter-horizontal"),autoComplete:this.autocomplete,autoFocus:this.autofocus,disabled:this.isDisabled(),max:this.max,maxLength:this.maxlength,min:this.min,minLength:this.minlength,name:this.name,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.onInput,onKeyDown:this.onKeyDown,pattern:this.pattern,list:this.datalistId,part:"field",placeholder:this.placeholder,readOnly:this.readonly,ref:function(i){return t.nativeInput=i},required:this.required,spellcheck:this.isColor()?false:undefined,step:this.step,tabIndex:this.tabindex,type:this.nativeType(),value:this.isColor()?this.colorText:this.value}),this.hasSteppers()&&this.controlsLayout==="vertical"&&h("div",{key:"cf8615c6acdf9d9811288939df04bc90fb723e59",class:"counter counter--vertical"},h("mds-button",{key:"3b6804107d8d8388f1c69be516755270fa4e37ff",class:"counter-button",icon:this.controlsIcon==="arrow"?miBaselineKeyboardArrowUp:miBaselineAdd,onClick:this.stepUp,tabindex:"0",title:this.t.get("increase"),variant:"dark",size:"sm",tone:"text",part:"counter-button-increase"}),h("mds-button",{key:"71bc7e141a9e3f2d85d8a61ed84ef6d2275ded3b",class:"counter-button",icon:this.controlsIcon==="arrow"?miBaselineKeyboardArrowDown:miBaselineRemove,onClick:this.stepDown,tabindex:"0",title:this.t.get("decrease"),variant:"dark",size:"sm",tone:"text",part:"counter-button-decrease"})),this.hasSteppers()&&this.controlsLayout==="horizontal"&&h("mds-button",{key:"214f5da82871e85320154af66a474ef7bb87d1a1",class:"counter-button counter-button--horizontal counter-button--increase",variant:"dark",tone:"text",icon:this.controlsIcon==="arrow"?miBaselineKeyboardArrowUp:miBaselineAdd,onClick:this.stepUp,size:this.buttonSize(),tabindex:"0",title:this.t.get("increase"),part:"counter-button-increase"}),this.type==="password"&&h("mds-button",{key:"336fa72f0b67500be9ed6ece02368d3870546cd2",class:"password-toggle-button",size:this.buttonSize(),variant:"dark",tone:"text",icon:this.isPasswordVisible?miBaselineVisibleOff:miBaselineVisible,disabled:this.isDisabled(),onClick:this.handlePasswordToggleClick,tabindex:"0",title:this.isPasswordVisible?this.t.get("hidePassword"):this.t.get("showPassword"),part:"password-toggle-button"}),this.type==="password"&&!this.isPasswordVisible&&((i=this.value)===null||i===void 0?void 0:i.length)>0&&h("div",{key:"53d15f1b94a0720f5ef316241f983d885e8461fc",class:clsx("password-mask",((a=this.icon)!==null&&a!==void 0?a:this.await)&&"has-icon")},h("div",{key:"af5b939a16ebb8dcf7959a5b324906a4e71fdc7b",class:"password-mask-items",part:"password-mask-items"},Array.from({length:this.value.length}).map((function(t,i){return h("div",{key:i,class:"password-mask-item",part:"password-mask-item"})})))),this.hasColorPicker()&&h("input",{key:"0d490894f41bacda7539511bae2dd18268588a3f","aria-hidden":"true",class:"color-picker",onInput:this.onColorPick,ref:function(i){return t.colorPicker=i},tabIndex:-1,type:"color"}),this.hasColorPicker()&&h("mds-button",{key:"efbc2adfde3edbf0729e19977c7e963697061746",class:"color-picker-button",size:this.buttonSize(),icon:miOutlinePalette,onClick:this.openColorPicker,tabindex:"0",title:this.colorPickerName(),variant:"dark",tone:"text",part:"color-picker-button"}),this.hasMicButton()&&h("mds-button",{key:"70b16cef69e0a20fcaacdfae41014c9bf012b9ba",class:clsx("mic-toggle-button",this.isRecording&&"mic-toggle-button--recording"),size:this.buttonSize(),icon:this.speechToTextIcon,onClick:this.toggleTextRecognition,tabindex:"0",title:this.t.get(this.speechToTextLabelKey),variant:"dark",tone:"text",part:"mic-toggle-button"}),h("mds-input-tip",{key:"e75193fd75d8544e3e837756d3718e1de6538a91",position:"top",active:this.hasFocus,part:"tip-top"},this.isDisabled()&&h("mds-input-tip-item",{key:"11a732b33cb03cfbe2de3fb5bd5da19bee65d6bb",expanded:true,variant:"disabled"}),this.readonly&&h("mds-input-tip-item",{key:"36b2d97383d0758329a56a89d50bc92f1a0a435f",expanded:true,variant:"readonly"}),this.required&&h("mds-input-tip-item",{key:"2739b5dc430abac766643deaf50e78ed7442ebb7",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),h("mds-input-tip",{key:"bbaafa0058b9cb865d91a53c2216b1b0044cff14",position:"bottom",active:this.hasFocus,part:"tip-bottom"},this.tip&&h("mds-input-tip-item",{key:"c511fd8c36965f9e23e715a7219ade3c11b9fc37",expanded:true,variant:"text"},this.tip),this.maxlength&&h("mds-input-tip-item",{key:"c38d5ff25f1fa8d456154b98b92fc40796a894f8",part:"tip-count",expanded:true,variant:this.countVariant},this.currentLengthLabel)),this.datalist&&h("datalist",{key:"23c0a6a2ad9b0e8163c8545ccdb35b9990699e57",id:this.datalistId,class:"datalist"},this.datalist.map((function(t,i){return h("option",{key:i,value:t})}))),this.icon&&!this.await&&!this.isColor()&&h("mds-icon",{key:"bada3bc25a7ea238be0843b81a701ce06388adfc",class:clsx("icon",this.variant),name:this.icon}),h("mds-spinner",{key:"c687ca4edcf43370f82db307a8c69ce4b0dd8244",running:this.await,class:clsx("await",this.variant,this.isColor()&&!this.hasColorPicker()&&"await--end")}))};Object.defineProperty(t,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{max:[{validationRulesChanged:0}],maxlength:[{validationRulesChanged:0},{maxLengthChanged:0}],min:[{validationRulesChanged:0}],minlength:[{validationRulesChanged:0}],pattern:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}],type:[{validationRulesChanged:0},{typeChanged:0}],value:[{valueChanged:0}],variant:[{variantChanged:0}],disabled:[{disabledChanged:0}],readonly:[{readonlyChanged:0}]}},enumerable:false,configurable:true});return t}();MdsInput.style=mdsInputCss();export{MdsInput as mds_input};