@maggioli-design-system/magma 2.5.0 → 2.5.1

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 (594) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +16 -0
  3. package/LICENSE +21 -0
  4. package/agents/conventions.md +7 -0
  5. package/dist/cjs/{index-CWTZb9W2.js → index-Bg68W-da.js} +1 -1
  6. package/dist/cjs/{locale-Os4wg65H.js → locale-CaR39iYg.js} +12 -6
  7. package/dist/cjs/mds-banner_3.cjs.entry.js +1 -1
  8. package/dist/cjs/mds-breadcrumb.cjs.entry.js +1 -1
  9. package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
  10. package/dist/cjs/mds-calendar_2.cjs.entry.js +1 -1
  11. package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
  12. package/dist/cjs/mds-file-preview.cjs.entry.js +1 -1
  13. package/dist/cjs/mds-file.cjs.entry.js +1 -1
  14. package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
  15. package/dist/cjs/mds-filter.cjs.entry.js +1 -1
  16. package/dist/cjs/mds-header-bar.cjs.entry.js +1 -1
  17. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-img.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-input-date-range.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-input-date.cjs.entry.js +2 -2
  21. package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-input-select.cjs.entry.js +9 -5
  24. package/dist/cjs/mds-input-switch_2.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-input-tip_2.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-input-upload.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-input.cjs.entry.js +154 -37
  28. package/dist/cjs/mds-keyboard-key.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-keyboard.cjs.entry.js +7 -3
  30. package/dist/cjs/mds-label.cjs.entry.js +1 -1
  31. package/dist/cjs/mds-link.cjs.entry.js +1 -1
  32. package/dist/cjs/mds-mention.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-modal.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-note.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-paginator.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
  37. package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
  38. package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
  39. package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
  41. package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
  42. package/dist/cjs/mds-pref-mode.cjs.entry.js +1 -1
  43. package/dist/cjs/mds-pref-theme.cjs.entry.js +1 -1
  44. package/dist/cjs/mds-pref.cjs.entry.js +1 -1
  45. package/dist/cjs/mds-push-notification-item.cjs.entry.js +1 -1
  46. package/dist/cjs/mds-push-notification.cjs.entry.js +1 -1
  47. package/dist/cjs/mds-radial-menu.cjs.entry.js +1 -1
  48. package/dist/cjs/mds-status-bar.cjs.entry.js +1 -1
  49. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +7 -5
  50. package/dist/cjs/mds-table-header.cjs.entry.js +1 -1
  51. package/dist/cjs/mds-table-row.cjs.entry.js +1 -1
  52. package/dist/cjs/mds-table.cjs.entry.js +1 -1
  53. package/dist/cjs/mds-toast.cjs.entry.js +1 -1
  54. package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
  55. package/dist/cjs/mds-url-view.cjs.entry.js +1 -1
  56. package/dist/cjs/mds-usage.cjs.entry.js +1 -1
  57. package/dist/collection/common/locale.js +12 -6
  58. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  59. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  60. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  61. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  62. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  63. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  64. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  65. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  66. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  67. package/dist/collection/components/mds-author/documentation.json +1 -1
  68. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  69. package/dist/collection/components/mds-avatar/documentation.json +1 -1
  70. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  71. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  72. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  73. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  74. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  75. package/dist/collection/components/mds-badge/documentation.json +1 -1
  76. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  77. package/dist/collection/components/mds-banner/documentation.json +1 -1
  78. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  79. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  80. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  81. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  82. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  83. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  84. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  85. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  86. package/dist/collection/components/mds-button/AGENTS.md +1 -1
  87. package/dist/collection/components/mds-button/documentation.json +1 -1
  88. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  89. package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
  90. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  91. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  92. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  93. package/dist/collection/components/mds-calendar/documentation.json +1 -1
  94. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  95. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  96. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  97. package/dist/collection/components/mds-card/documentation.json +1 -1
  98. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  99. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  100. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  101. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  102. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  103. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  104. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  105. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  106. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  107. package/dist/collection/components/mds-chip/documentation.json +1 -1
  108. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  109. package/dist/collection/components/mds-details/documentation.json +1 -1
  110. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  111. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  112. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  113. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  114. package/dist/collection/components/mds-emoji/mds-emoji.css +0 -1
  115. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  116. package/dist/collection/components/mds-entity/documentation.json +1 -1
  117. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  118. package/dist/collection/components/mds-file/documentation.json +1 -1
  119. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  120. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  121. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  122. package/dist/collection/components/mds-filter/documentation.json +1 -1
  123. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  124. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  125. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  126. package/dist/collection/components/mds-header/documentation.json +1 -1
  127. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  128. package/dist/collection/components/mds-header-bar/documentation.json +1 -1
  129. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  130. package/dist/collection/components/mds-help/documentation.json +1 -1
  131. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
  133. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  134. package/dist/collection/components/mds-hr/documentation.json +1 -1
  135. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  136. package/dist/collection/components/mds-icon/documentation.json +1 -1
  137. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-img/documentation.json +1 -1
  139. package/dist/collection/components/mds-input/AGENTS.md +4 -2
  140. package/dist/collection/components/mds-input/documentation.json +2 -2
  141. package/dist/collection/components/mds-input/mds-input.js +12 -7
  142. package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +3 -3
  143. package/dist/collection/components/mds-input/meta/validators.js +28 -13
  144. package/dist/collection/components/mds-input/meta/validity.js +8 -10
  145. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  146. package/dist/collection/components/mds-input-date/documentation.json +1 -1
  147. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  148. package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
  149. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  150. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  151. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  152. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  153. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  154. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  155. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  156. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  157. package/dist/collection/components/mds-input-range/mds-input-range.css +26 -19
  158. package/dist/collection/components/mds-input-select/AGENTS.md +2 -2
  159. package/dist/collection/components/mds-input-select/documentation.json +2 -2
  160. package/dist/collection/components/mds-input-select/mds-input-select.js +7 -3
  161. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  162. package/dist/collection/components/mds-input-switch/documentation.json +1 -1
  163. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  164. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  165. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  166. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  167. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  168. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  169. package/dist/collection/components/mds-keyboard/AGENTS.md +2 -2
  170. package/dist/collection/components/mds-keyboard/documentation.json +2 -2
  171. package/dist/collection/components/mds-keyboard/mds-keyboard.js +6 -2
  172. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  173. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  174. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  175. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  176. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  177. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  178. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  179. package/dist/collection/components/mds-label/documentation.json +1 -1
  180. package/dist/collection/components/mds-link/AGENTS.md +1 -1
  181. package/dist/collection/components/mds-link/documentation.json +1 -1
  182. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  183. package/dist/collection/components/mds-list/documentation.json +1 -1
  184. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  185. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  186. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  187. package/dist/collection/components/mds-mention/documentation.json +1 -1
  188. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  189. package/dist/collection/components/mds-modal/documentation.json +1 -1
  190. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  191. package/dist/collection/components/mds-note/documentation.json +1 -1
  192. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  193. package/dist/collection/components/mds-notification/documentation.json +1 -1
  194. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  195. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  196. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  197. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  198. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  199. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  200. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  201. package/dist/collection/components/mds-pref/documentation.json +1 -1
  202. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  203. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  204. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  205. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  206. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  207. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  208. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  209. package/dist/collection/components/mds-pref-language/documentation.json +1 -1
  210. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  211. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  212. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  213. package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
  214. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  215. package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
  216. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  217. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  218. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  219. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  220. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  221. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  222. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  223. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  224. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  225. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  226. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  227. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  228. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  229. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  230. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  231. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  232. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  233. package/dist/collection/components/mds-progress/documentation.json +1 -1
  234. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  235. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  236. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  237. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  238. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  239. package/dist/collection/components/mds-quote/documentation.json +1 -1
  240. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  241. package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
  242. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  243. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  244. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  245. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  246. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  247. package/dist/collection/components/mds-separator/documentation.json +1 -1
  248. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  249. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  250. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  251. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  252. package/dist/collection/components/mds-status-bar/mds-status-bar.css +1 -0
  253. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  254. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  255. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  256. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  257. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +6 -4
  258. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  259. package/dist/collection/components/mds-tab/documentation.json +1 -1
  260. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  261. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  262. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  263. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  264. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  265. package/dist/collection/components/mds-tab-item/documentation.json +1 -1
  266. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-table/documentation.json +1 -1
  268. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  269. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  270. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  271. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  272. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  273. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  274. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  275. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  276. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  277. package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
  278. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  279. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  280. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  281. package/dist/collection/components/mds-text/documentation.json +1 -1
  282. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  283. package/dist/collection/components/mds-toast/documentation.json +1 -1
  284. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  285. package/dist/collection/components/mds-toast-region/documentation.json +1 -1
  286. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  287. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  288. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  289. package/dist/collection/components/mds-tree/documentation.json +1 -1
  290. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  291. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  292. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  293. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  294. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  295. package/dist/collection/components/mds-usage/documentation.json +1 -1
  296. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  297. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  298. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  299. package/dist/collection/components/mds-zero/documentation.json +1 -1
  300. package/dist/components/mds-avatar-stack-item.js +1 -1
  301. package/dist/components/mds-avatar-stack.js +1 -1
  302. package/dist/components/mds-avatar.js +1 -1
  303. package/dist/components/mds-banner.js +1 -1
  304. package/dist/components/mds-breadcrumb.js +1 -1
  305. package/dist/components/mds-button-dropdown.js +1 -1
  306. package/dist/components/mds-calendar.js +1 -1
  307. package/dist/components/mds-chip.js +1 -1
  308. package/dist/components/mds-emoji.js +1 -1
  309. package/dist/components/mds-entity.js +1 -1
  310. package/dist/components/mds-file-preview.js +1 -1
  311. package/dist/components/mds-file.js +1 -1
  312. package/dist/components/mds-filter-item.js +1 -1
  313. package/dist/components/mds-filter.js +1 -1
  314. package/dist/components/mds-header-bar.js +1 -1
  315. package/dist/components/mds-header.js +1 -1
  316. package/dist/components/mds-horizontal-scroll.js +1 -1
  317. package/dist/components/mds-img.js +1 -1
  318. package/dist/components/mds-input-date-range.js +1 -1
  319. package/dist/components/mds-input-date.js +1 -1
  320. package/dist/components/mds-input-otp.js +1 -1
  321. package/dist/components/mds-input-range.js +1 -1
  322. package/dist/components/mds-input-select.js +1 -1
  323. package/dist/components/mds-input-switch.js +1 -1
  324. package/dist/components/mds-input-tip-item.js +1 -1
  325. package/dist/components/mds-input-upload.js +1 -1
  326. package/dist/components/mds-input.js +1 -1
  327. package/dist/components/mds-keyboard-key.js +1 -1
  328. package/dist/components/mds-keyboard.js +1 -1
  329. package/dist/components/mds-label.js +1 -1
  330. package/dist/components/mds-link.js +1 -1
  331. package/dist/components/mds-mention.js +1 -1
  332. package/dist/components/mds-modal.js +1 -1
  333. package/dist/components/mds-note.js +1 -1
  334. package/dist/components/mds-paginator.js +1 -1
  335. package/dist/components/mds-policy-ai.js +1 -1
  336. package/dist/components/mds-pref-animation.js +1 -1
  337. package/dist/components/mds-pref-consumption.js +1 -1
  338. package/dist/components/mds-pref-contrast.js +1 -1
  339. package/dist/components/mds-pref-language-item.js +1 -1
  340. package/dist/components/mds-pref-language.js +1 -1
  341. package/dist/components/mds-pref-mode.js +1 -1
  342. package/dist/components/mds-pref-theme.js +1 -1
  343. package/dist/components/mds-pref.js +1 -1
  344. package/dist/components/mds-push-notification-item.js +1 -1
  345. package/dist/components/mds-push-notification.js +1 -1
  346. package/dist/components/mds-radial-menu.js +1 -1
  347. package/dist/components/mds-status-bar.js +1 -1
  348. package/dist/components/mds-stepper-bar-item.js +1 -1
  349. package/dist/components/mds-table-header.js +1 -1
  350. package/dist/components/mds-table-row.js +1 -1
  351. package/dist/components/mds-table.js +1 -1
  352. package/dist/components/mds-toast.js +1 -1
  353. package/dist/components/mds-tree-item.js +1 -1
  354. package/dist/components/mds-url-view.js +1 -1
  355. package/dist/components/mds-usage.js +1 -1
  356. package/dist/components/{p-DF3PrYBI.js → p-5lLueiFt.js} +1 -1
  357. package/dist/components/{p-CLe_N2_H.js → p-BO-jHv-F.js} +1 -1
  358. package/dist/components/{p-CNZ8_QvE.js → p-BbgQG1UL.js} +2 -2
  359. package/dist/components/{p-DCrdKrky.js → p-CJYY4da7.js} +1 -1
  360. package/dist/components/{p-C1CTahjH.js → p-CPvuXO7s.js} +1 -1
  361. package/dist/components/{p-B8x-d2fx.js → p-CZjwSwe5.js} +1 -1
  362. package/dist/components/{p-Cd8id3Br.js → p-CaROqeeK.js} +1 -1
  363. package/dist/components/{p-CfQETwAK.js → p-Cu5nEwMu.js} +1 -1
  364. package/dist/components/{p-nsbhb0lz.js → p-D0A8gS-P.js} +1 -1
  365. package/dist/components/{p-C99SMdU_.js → p-DFD4E9zJ.js} +1 -1
  366. package/dist/components/{p-DiUUZ7ZA.js → p-DTtmr_Y9.js} +1 -1
  367. package/dist/components/{p-D2d9eOLi.js → p-DkYDXDkD.js} +1 -1
  368. package/dist/components/{p-uqwixjju.js → p-DucY18_e.js} +1 -1
  369. package/dist/components/p-yNPPTJ7i.js +1 -0
  370. package/dist/documentation.json +4 -4
  371. package/dist/esm/{index-D2_gI0qp.js → index-BJVvHlvf.js} +1 -1
  372. package/dist/esm/{locale-BQmO6K_S.js → locale-B6cOkl4I.js} +12 -6
  373. package/dist/esm/mds-banner_3.entry.js +1 -1
  374. package/dist/esm/mds-breadcrumb.entry.js +1 -1
  375. package/dist/esm/mds-button-dropdown.entry.js +1 -1
  376. package/dist/esm/mds-calendar_2.entry.js +1 -1
  377. package/dist/esm/mds-emoji.entry.js +1 -1
  378. package/dist/esm/mds-file-preview.entry.js +1 -1
  379. package/dist/esm/mds-file.entry.js +1 -1
  380. package/dist/esm/mds-filter-item.entry.js +1 -1
  381. package/dist/esm/mds-filter.entry.js +1 -1
  382. package/dist/esm/mds-header-bar.entry.js +1 -1
  383. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  384. package/dist/esm/mds-img.entry.js +1 -1
  385. package/dist/esm/mds-input-date-range.entry.js +1 -1
  386. package/dist/esm/mds-input-date.entry.js +2 -2
  387. package/dist/esm/mds-input-otp.entry.js +1 -1
  388. package/dist/esm/mds-input-range.entry.js +1 -1
  389. package/dist/esm/mds-input-select.entry.js +9 -5
  390. package/dist/esm/mds-input-switch_2.entry.js +1 -1
  391. package/dist/esm/mds-input-tip_2.entry.js +1 -1
  392. package/dist/esm/mds-input-upload.entry.js +1 -1
  393. package/dist/esm/mds-input.entry.js +154 -37
  394. package/dist/esm/mds-keyboard-key.entry.js +1 -1
  395. package/dist/esm/mds-keyboard.entry.js +7 -3
  396. package/dist/esm/mds-label.entry.js +1 -1
  397. package/dist/esm/mds-link.entry.js +1 -1
  398. package/dist/esm/mds-mention.entry.js +1 -1
  399. package/dist/esm/mds-modal.entry.js +1 -1
  400. package/dist/esm/mds-note.entry.js +1 -1
  401. package/dist/esm/mds-paginator.entry.js +1 -1
  402. package/dist/esm/mds-policy-ai.entry.js +1 -1
  403. package/dist/esm/mds-pref-animation.entry.js +1 -1
  404. package/dist/esm/mds-pref-consumption.entry.js +1 -1
  405. package/dist/esm/mds-pref-contrast.entry.js +1 -1
  406. package/dist/esm/mds-pref-language-item.entry.js +1 -1
  407. package/dist/esm/mds-pref-language.entry.js +1 -1
  408. package/dist/esm/mds-pref-mode.entry.js +1 -1
  409. package/dist/esm/mds-pref-theme.entry.js +1 -1
  410. package/dist/esm/mds-pref.entry.js +1 -1
  411. package/dist/esm/mds-push-notification-item.entry.js +1 -1
  412. package/dist/esm/mds-push-notification.entry.js +1 -1
  413. package/dist/esm/mds-radial-menu.entry.js +1 -1
  414. package/dist/esm/mds-status-bar.entry.js +1 -1
  415. package/dist/esm/mds-stepper-bar-item.entry.js +7 -5
  416. package/dist/esm/mds-table-header.entry.js +1 -1
  417. package/dist/esm/mds-table-row.entry.js +1 -1
  418. package/dist/esm/mds-table.entry.js +1 -1
  419. package/dist/esm/mds-toast.entry.js +1 -1
  420. package/dist/esm/mds-tree-item.entry.js +1 -1
  421. package/dist/esm/mds-url-view.entry.js +1 -1
  422. package/dist/esm/mds-usage.entry.js +1 -1
  423. package/dist/esm-es5/{index-D2_gI0qp.js → index-BJVvHlvf.js} +1 -1
  424. package/dist/esm-es5/{locale-BQmO6K_S.js → locale-B6cOkl4I.js} +22 -18
  425. package/dist/esm-es5/mds-banner_3.entry.js +1 -1
  426. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  427. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  428. package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
  429. package/dist/esm-es5/mds-emoji.entry.js +1 -1
  430. package/dist/esm-es5/mds-file-preview.entry.js +5 -5
  431. package/dist/esm-es5/mds-file.entry.js +1 -1
  432. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  433. package/dist/esm-es5/mds-filter.entry.js +1 -1
  434. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  435. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  436. package/dist/esm-es5/mds-img.entry.js +1 -1
  437. package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
  438. package/dist/esm-es5/mds-input-date.entry.js +1 -1
  439. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  440. package/dist/esm-es5/mds-input-range.entry.js +7 -7
  441. package/dist/esm-es5/mds-input-select.entry.js +5 -4
  442. package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
  443. package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
  444. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  445. package/dist/esm-es5/mds-input.entry.js +53 -50
  446. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  447. package/dist/esm-es5/mds-keyboard.entry.js +6 -3
  448. package/dist/esm-es5/mds-label.entry.js +1 -1
  449. package/dist/esm-es5/mds-link.entry.js +1 -1
  450. package/dist/esm-es5/mds-mention.entry.js +1 -1
  451. package/dist/esm-es5/mds-modal.entry.js +1 -1
  452. package/dist/esm-es5/mds-note.entry.js +1 -1
  453. package/dist/esm-es5/mds-paginator.entry.js +1 -1
  454. package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
  455. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  456. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  457. package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
  458. package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
  459. package/dist/esm-es5/mds-pref-language.entry.js +1 -1
  460. package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
  461. package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
  462. package/dist/esm-es5/mds-pref.entry.js +1 -1
  463. package/dist/esm-es5/mds-push-notification-item.entry.js +1 -1
  464. package/dist/esm-es5/mds-push-notification.entry.js +1 -1
  465. package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
  466. package/dist/esm-es5/mds-status-bar.entry.js +1 -1
  467. package/dist/esm-es5/mds-stepper-bar-item.entry.js +6 -3
  468. package/dist/esm-es5/mds-table-header.entry.js +1 -1
  469. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  470. package/dist/esm-es5/mds-table.entry.js +1 -1
  471. package/dist/esm-es5/mds-toast.entry.js +1 -1
  472. package/dist/esm-es5/mds-tree-item.entry.js +1 -1
  473. package/dist/esm-es5/mds-url-view.entry.js +1 -1
  474. package/dist/esm-es5/mds-usage.entry.js +1 -1
  475. package/dist/hydrate/index.js +190 -57
  476. package/dist/hydrate/index.mjs +190 -57
  477. package/dist/magma-components/magma-components.esm.js +1 -1
  478. package/dist/magma-components/{p-2a964578.entry.js → p-0193734e.entry.js} +1 -1
  479. package/dist/magma-components/{p-ae3bf24c.system.entry.js → p-046697e4.system.entry.js} +1 -1
  480. package/dist/magma-components/{p-81e02997.system.entry.js → p-071f5c7b.system.entry.js} +2 -2
  481. package/dist/magma-components/{p-a9ba496d.entry.js → p-075acd04.entry.js} +1 -1
  482. package/dist/magma-components/{p-94289f3d.system.entry.js → p-07a3c63c.system.entry.js} +5 -5
  483. package/dist/magma-components/{p-57839384.system.entry.js → p-093b8fbc.system.entry.js} +9 -6
  484. package/dist/magma-components/{p-a8e1ce2f.entry.js → p-0e2cd21e.entry.js} +1 -1
  485. package/dist/magma-components/{p-0eb3558a.entry.js → p-11320427.entry.js} +1 -1
  486. package/dist/magma-components/p-14635a8f.entry.js +1 -0
  487. package/dist/magma-components/{p-23c057a9.entry.js → p-168d5fad.entry.js} +1 -1
  488. package/dist/magma-components/{p-254ee71d.entry.js → p-17ec24dc.entry.js} +1 -1
  489. package/dist/magma-components/{p-f670ed20.entry.js → p-198ea5d8.entry.js} +1 -1
  490. package/dist/magma-components/p-1c2c4670.entry.js +1 -0
  491. package/dist/magma-components/{p-42e50f25.system.entry.js → p-1ea582a9.system.entry.js} +3 -3
  492. package/dist/magma-components/{p-2d3b5eb5.entry.js → p-227f57e6.entry.js} +1 -1
  493. package/dist/magma-components/{p-5c4e41d3.system.entry.js → p-2752b45a.system.entry.js} +1 -1
  494. package/dist/magma-components/{p-068e30a5.entry.js → p-29971e1d.entry.js} +1 -1
  495. package/dist/magma-components/{p-8d6470fb.system.entry.js → p-2a4d22c9.system.entry.js} +1 -1
  496. package/dist/magma-components/{p-d0a93a14.system.entry.js → p-2c3f518c.system.entry.js} +6 -3
  497. package/dist/magma-components/{p-1908f808.entry.js → p-2d9c9ef9.entry.js} +1 -1
  498. package/dist/magma-components/p-35528bdd.system.entry.js +225 -0
  499. package/dist/magma-components/{p-74f515c3.system.entry.js → p-37487e8b.system.entry.js} +2 -2
  500. package/dist/magma-components/{p-47717251.system.entry.js → p-38b16983.system.entry.js} +3 -3
  501. package/dist/magma-components/{p-ca1969c5.entry.js → p-3c669cfb.entry.js} +1 -1
  502. package/dist/magma-components/{p-4bc47ff0.system.entry.js → p-3e18b181.system.entry.js} +1 -1
  503. package/dist/magma-components/{p-000c315c.entry.js → p-3f68ddca.entry.js} +1 -1
  504. package/dist/magma-components/{p-0d32e196.system.entry.js → p-44333d50.system.entry.js} +5 -4
  505. package/dist/magma-components/{p-2eb4efcd.system.entry.js → p-44998584.system.entry.js} +2 -2
  506. package/dist/magma-components/{p-84777b38.system.entry.js → p-50705d36.system.entry.js} +2 -2
  507. package/dist/magma-components/{p-0148cf0a.entry.js → p-521ba3a8.entry.js} +1 -1
  508. package/dist/magma-components/{p-577ae081.system.entry.js → p-5472f18d.system.entry.js} +1 -1
  509. package/dist/magma-components/{p-396d95a1.system.entry.js → p-55b10b70.system.entry.js} +2 -2
  510. package/dist/magma-components/{p-617370e7.system.entry.js → p-624a3909.system.entry.js} +6 -6
  511. package/dist/magma-components/{p-5533b60d.system.entry.js → p-62e94d78.system.entry.js} +1 -1
  512. package/dist/magma-components/{p-b738d3c1.entry.js → p-69badbba.entry.js} +1 -1
  513. package/dist/magma-components/{p-29ab84bf.system.entry.js → p-6af00399.system.entry.js} +4 -4
  514. package/dist/magma-components/{p-3dc81ab9.system.entry.js → p-6dff107d.system.entry.js} +2 -2
  515. package/dist/magma-components/{p-70d38284.entry.js → p-770b3c4b.entry.js} +1 -1
  516. package/dist/magma-components/p-77545238.entry.js +1 -0
  517. package/dist/magma-components/{p-05ed801b.system.entry.js → p-79f543fc.system.entry.js} +1 -1
  518. package/dist/magma-components/p-7ad68b2f.entry.js +1 -0
  519. package/dist/magma-components/{p-336f56a4.entry.js → p-7b300282.entry.js} +1 -1
  520. package/dist/magma-components/{p-e5950aee.entry.js → p-7be0d28b.entry.js} +1 -1
  521. package/dist/magma-components/{p-15ffdcf6.entry.js → p-7ca73c56.entry.js} +1 -1
  522. package/dist/magma-components/{p-358aa5e7.entry.js → p-7d0c8177.entry.js} +1 -1
  523. package/dist/magma-components/{p-80eea067.system.entry.js → p-803957de.system.entry.js} +1 -1
  524. package/dist/magma-components/{p-cbb80188.entry.js → p-85a31141.entry.js} +1 -1
  525. package/dist/magma-components/{p-dbd34e3b.entry.js → p-85fb1d08.entry.js} +1 -1
  526. package/dist/magma-components/{p-5da14e81.entry.js → p-87baf82a.entry.js} +1 -1
  527. package/dist/magma-components/{p-3fd8ff0e.system.entry.js → p-88460d31.system.entry.js} +1 -1
  528. package/dist/magma-components/{p-fc2d1134.entry.js → p-8b501f92.entry.js} +1 -1
  529. package/dist/magma-components/{p-d980c3d2.system.entry.js → p-8ca2e879.system.entry.js} +1 -1
  530. package/dist/magma-components/{p-8680f63e.entry.js → p-8d14f146.entry.js} +1 -1
  531. package/dist/magma-components/{p-244676d3.system.entry.js → p-8f47eb63.system.entry.js} +1 -1
  532. package/dist/magma-components/{p-8173ed07.entry.js → p-93d7485d.entry.js} +2 -2
  533. package/dist/magma-components/{p-1eee93c8.system.entry.js → p-94439d8b.system.entry.js} +1 -1
  534. package/dist/magma-components/{p-4c6da1db.system.entry.js → p-947fcf74.system.entry.js} +3 -3
  535. package/dist/magma-components/{p-458eb34c.system.entry.js → p-97eb734a.system.entry.js} +2 -2
  536. package/dist/magma-components/{p-835d79e5.system.entry.js → p-99bfa07e.system.entry.js} +1 -1
  537. package/dist/magma-components/{p-26b9f2b7.system.entry.js → p-9cf81575.system.entry.js} +1 -1
  538. package/dist/magma-components/{p-8645533a.entry.js → p-9f6c502b.entry.js} +1 -1
  539. package/dist/magma-components/p-B8zYiZQY.system.js +1 -1
  540. package/dist/magma-components/{p-OOCOFWC0.system.js → p-CuHZXISO.system.js} +7 -3
  541. package/dist/magma-components/{p-DXAjcaHM.system.js → p-CxTugGM9.system.js} +1 -1
  542. package/dist/magma-components/{p-U5iXN1wy.js → p-Dx_cCOTw.js} +1 -1
  543. package/dist/magma-components/{p-Raj-urIN.js → p-OafT80hV.js} +1 -1
  544. package/dist/magma-components/{p-2cbd532a.system.entry.js → p-a0612465.system.entry.js} +1 -1
  545. package/dist/magma-components/{p-26451eb6.entry.js → p-a8a0a9ba.entry.js} +1 -1
  546. package/dist/magma-components/{p-d37fe692.system.entry.js → p-a987086b.system.entry.js} +1 -1
  547. package/dist/magma-components/{p-2cdf450c.system.entry.js → p-ad05ef26.system.entry.js} +1 -1
  548. package/dist/magma-components/{p-29162c98.entry.js → p-b01118cc.entry.js} +1 -1
  549. package/dist/magma-components/{p-791a6a6f.entry.js → p-b373cc32.entry.js} +1 -1
  550. package/dist/magma-components/{p-8279056b.system.entry.js → p-b4633c9c.system.entry.js} +1 -1
  551. package/dist/magma-components/{p-55746791.entry.js → p-b467f737.entry.js} +1 -1
  552. package/dist/magma-components/{p-bf0cb77d.system.entry.js → p-b5cc09c7.system.entry.js} +1 -1
  553. package/dist/magma-components/{p-87ce9d6c.entry.js → p-b69c3126.entry.js} +1 -1
  554. package/dist/magma-components/{p-29450db3.entry.js → p-b8a59768.entry.js} +1 -1
  555. package/dist/magma-components/{p-ab00b7b9.entry.js → p-b9ca6c2e.entry.js} +1 -1
  556. package/dist/magma-components/{p-77939a25.system.entry.js → p-bb282bc1.system.entry.js} +1 -1
  557. package/dist/magma-components/{p-6f81c9ef.system.entry.js → p-be6e156a.system.entry.js} +2 -2
  558. package/dist/magma-components/{p-729c89f9.system.entry.js → p-c03fc4fe.system.entry.js} +1 -1
  559. package/dist/magma-components/{p-2aac4003.entry.js → p-c40ad03a.entry.js} +1 -1
  560. package/dist/magma-components/{p-471227f2.system.entry.js → p-cc954b22.system.entry.js} +2 -2
  561. package/dist/magma-components/{p-1faa4f71.entry.js → p-ced3ebb8.entry.js} +1 -1
  562. package/dist/magma-components/{p-41a28f2a.system.entry.js → p-d254de66.system.entry.js} +2 -2
  563. package/dist/magma-components/{p-a76a9f92.system.entry.js → p-d3491226.system.entry.js} +1 -1
  564. package/dist/magma-components/{p-919f9dce.entry.js → p-d608b79c.entry.js} +1 -1
  565. package/dist/magma-components/{p-f2f992c2.system.entry.js → p-da93a00b.system.entry.js} +2 -2
  566. package/dist/magma-components/{p-287601bb.entry.js → p-dbca23af.entry.js} +1 -1
  567. package/dist/magma-components/{p-9855b517.entry.js → p-de1ae02c.entry.js} +1 -1
  568. package/dist/magma-components/{p-f1aafe07.entry.js → p-dedbf8d6.entry.js} +1 -1
  569. package/dist/magma-components/{p-0b3e4a97.system.entry.js → p-e2fa6300.system.entry.js} +1 -1
  570. package/dist/magma-components/{p-860bce85.system.entry.js → p-eb92312f.system.entry.js} +3 -3
  571. package/dist/magma-components/{p-b5789a7c.entry.js → p-ec635255.entry.js} +1 -1
  572. package/dist/magma-components/{p-d561062f.system.entry.js → p-f0285a1e.system.entry.js} +1 -1
  573. package/dist/magma-components/{p-b476435f.entry.js → p-f09b08f9.entry.js} +1 -1
  574. package/dist/magma-components/{p-481897a7.entry.js → p-f306b5c1.entry.js} +1 -1
  575. package/dist/magma-components/{p-d0bfdb44.system.entry.js → p-f39416e9.system.entry.js} +1 -1
  576. package/dist/magma-components/{p-f889d413.system.entry.js → p-f5326224.system.entry.js} +1 -1
  577. package/dist/magma-components/{p-73833405.entry.js → p-f5a33058.entry.js} +1 -1
  578. package/dist/magma-components/{p-96bb36b9.entry.js → p-f616f467.entry.js} +1 -1
  579. package/dist/magma-components/{p-34c2daa9.system.entry.js → p-f75935ed.system.entry.js} +1 -1
  580. package/dist/magma-components/{p-71cbc840.entry.js → p-f901c844.entry.js} +1 -1
  581. package/dist/magma-components/{p-656b00df.system.entry.js → p-fc22f5e0.system.entry.js} +8 -8
  582. package/dist/magma-components/{p-357724ab.entry.js → p-ffbf7448.entry.js} +1 -1
  583. package/dist/stats.json +777 -771
  584. package/dist/types/common/locale.d.ts +5 -0
  585. package/dist/types/components/mds-input/meta/validators.d.ts +7 -2
  586. package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
  587. package/dist/types/components/mds-input-select/mds-input-select.d.ts +2 -1
  588. package/package.json +1 -1
  589. package/dist/components/p-BbTcXgbr.js +0 -1
  590. package/dist/magma-components/p-632ad925.system.entry.js +0 -222
  591. package/dist/magma-components/p-644e64a0.entry.js +0 -1
  592. package/dist/magma-components/p-7ec1ea2e.entry.js +0 -1
  593. package/dist/magma-components/p-da24a265.entry.js +0 -1
  594. package/dist/magma-components/p-f78c1699.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{r as e,d as r,h as a,e as t,g as s}from"./p-CvLLN-QH.js";import{c as i}from"./p-ChV9xqsO.js";import{K as o}from"./p-CGrPq3C4.js";import{L as n}from"./p-Raj-urIN.js";import{p}from"./p-iX3kcwYg.js";var d={badgeDone:"Ολοκληρώθηκε",badgeCurrent:"Καθημερινή",badgeQueued:"Σε αναμονή",step:"Βήμα {{ index }}"},m={badgeDone:"Done",badgeCurrent:"Current",badgeQueued:"Queued",step:"Step {{ index }}"},c={badgeDone:"Completado",badgeCurrent:"En curso",badgeQueued:"En cola",step:"Paso {{ index }}"},u={badgeDone:"Completato",badgeCurrent:"In corso",badgeQueued:"In coda",step:"Step {{ index }}"};const b=class{constructor(t){e(this,t),this.doneEvent=r(this,"mdsStepperBarItemDone",7),this.km=new o,this.t=new n({el:d,en:m,es:c,it:u}),this.iconChecked=this.icon,this.done=!1,this.current=!1,this.typography="h6",this.isReachable=()=>!!this.isDone&&!this.isCurrent,this.handleClick=()=>{var e;this.isReachable()&&this.doneEvent.emit({value:null!==(e=this.value)&&void 0!==e?e:""})},this.showBadge=()=>this.isDone?a("mds-badge",{class:"badge",variant:"success",tone:"weak",typography:"option"},this.t.get("badgeDone")):this.isCurrent?a("mds-badge",{class:"badge",variant:"info",tone:"weak",typography:"option"},this.t.get("badgeCurrent")):a("mds-badge",{class:"badge",variant:"dark",tone:"weak",typography:"option"},this.t.get("badgeQueued"))}componentWillLoad(){this.isCurrent=this.current,this.isDone=this.done;const e=this.host.parentElement;e&&(this.index=Array.from(e.children).filter((e=>e.tagName===this.host.tagName)).indexOf(this.host))}componentDidLoad(){this.km.addElement(this.host),this.km.attachClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}selectedHandler(e){this.isDone=e}currentHandler(e){this.isCurrent=e}render(){return a(t,{key:"1675ec55066e824cd78b4def983f23a2f8cbb4ee",onClick:this.handleClick,"pref-animation":p.state.animation,role:this.isReachable()?"button":void 0,tabindex:this.isReachable()?"0":void 0},a("div",{key:"e30719edf7789af059afe4e836e7a6f192cb8a5c",class:"header"},a("mds-icon",{key:"8d67a3be1c3ebee9294219ecf60b629a1eeeb49c",class:"icon",name:i(this.isDone&&!this.isCurrent?this.iconChecked:this.icon)}),a("mds-progress",{key:"0888a166e94cffe3eb8562e7ce771ea9804576ab","aria-hidden":"true",class:"progress",progress:this.isDone?1:0})),a("div",{key:"e1c7a623f4cf8c0a4251904697a85d11e84a4ad4",class:"infos"},this.step&&a("mds-text",{key:"b0df5fa285d0c18aaff5ac36d8f0b86823c0e324",class:"step",typography:"option"},this.t.get("step",{index:this.index+1})),this.label&&a("mds-text",{key:"308522a5b478b1aca5f2a0aedef12bc5dd8de38a",class:"text",typography:this.typography},this.label),this.badge&&a("div",{key:"1a2d599202e6d91b4d08cea3eaa4404e04e58011",part:"badge"},this.showBadge())))}get host(){return s(this)}static get watchers(){return{done:[{selectedHandler:0}],current:[{currentHandler:0}]}}};b.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-badge,mds-icon,mds-progress,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-stepper-bar-item-header-gap:var(--mds-stepper-bar-gap,calc(var(--spacing,.0025rem)*50));--mds-stepper-bar-item-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-stepper-bar-item-duration:.25s;--private-stepper-bar-item-duaration:var(--mds-stepper-bar-item-duration,.25s);--mds-stepper-bar-item-transition-duration:var(--duration-200,.2s);--private-stepper-bar-item-transition-duration:var(--mds-stepper-bar-item-transition-duration);--mds-stepper-bar-item-icon-background-done:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-icon-background-current:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-stepper-bar-item-icon-color-done:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color-current:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-stepper-bar-item-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-stepper-bar-item-min-width:calc(var(--spacing,.0025rem)*4500);--mds-stepper-bar-item-progress-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-stepper-bar-item-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-stepper-bar-item-progress-thickness:calc(var(--spacing,.0025rem)*200);border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-start;display:grid;flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*400);min-width:var(--mds-stepper-bar-item-min-width,calc(var(--spacing,.0025rem)*4500));position:relative;scroll-snap-align:center;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:outline,outline-offset,background-color}:host(:last-of-type){flex-basis:calc(var(--spacing,.0025rem)*100)}:host(:last-of-type) .progress{display:none}:host([done]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-done,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-done,rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:0s}:host([current]) .icon{--mds-stepper-bar-item-icon-background:var(--mds-stepper-bar-item-icon-background-current,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-stepper-bar-item-icon-color:var(--mds-stepper-bar-item-icon-color-current,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));transition-delay:calc(var(--private-stepper-bar-item-duaration)/2)}.header{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:flex;gap:var(--mds-stepper-bar-item-header-gap);transition-duration:var(--private-stepper-bar-item-transition-duration);transition-property:outline,outline-offset;width:100%}.icon{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-stepper-bar-item-icon-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;fill:var(--mds-stepper-bar-item-icon-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));flex-shrink:0;padding:calc(var(--spacing,.0025rem)*200);position:relative;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:background-color,fill;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.progress{--mds-progress-background:var(--mds-stepper-bar-item-progress-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-progress-color:var(--mds-stepper-bar-item-progress-color,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))));--mds-progress-thickness:var(--mds-stepper-bar-item-progress-thickness,calc(var(--spacing,.0025rem)*200));--mds-progress-radius:0;flex-grow:1}.infos{display:grid;gap:calc(var(--spacing,.0025rem)*100);padding-left:calc(var(--spacing,.0025rem)*100)}.text{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));color:var(--mds-stepper-bar-item-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));pointer-events:none;transition-duration:var(--private-stepper-bar-item-duaration);transition-property:color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.badge,.step{border-radius:var(--magma-radius-full,var(--radius-full,1000px));pointer-events:none}.step{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}: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-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-stepper-bar-item-duaration:0s;--private-stepper-bar-item-transition-duration:0s}}';export{b as mds_stepper_bar_item}
@@ -1 +0,0 @@
1
- import{r as t,d as i,h as a,e,g as r}from"./p-CvLLN-QH.js";import{c as s}from"./p-ChV9xqsO.js";import{m as n}from"./p-DiWN48aq.js";import{m as o}from"./p-Ccz0jCNB.js";import{m as c}from"./p-D17B058a.js";import{m as h}from"./p-CvUz9jjh.js";import{s as d}from"./p-wI0alRSO.js";import{u as l}from"./p-U5iXN1wy.js";import{L as p}from"./p-Raj-urIN.js";import{h as u}from"./p-Cvhn9asj.js";import{p as m}from"./p-iX3kcwYg.js";var v='<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>',g='<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>',b={decrease:"Μείωση",hidePassword:"Απόκρυψη κωδικού",increase:"Αύξηση",showPassword:"Εμφάνιση κωδικού",speechToTextError:"Η φωνητική υπαγόρευση δεν υποστηρίζεται από αυτό το πρόγραμμα περιήγησης",speechToTextOff:"Διακοπή φωνητικής υπαγόρευσης",speechToTextOn:"Έναρξη φωνητικής υπαγόρευσης"},f={decrease:"Decrease",hidePassword:"Hide password",increase:"Increase",showPassword:"Show password",speechToTextError:"Voice dictation is not supported by this browser",speechToTextOff:"Stop voice dictation",speechToTextOn:"Start voice dictation"},x={decrease:"Disminuir",hidePassword:"Ocultar contraseña",increase:"Aumentar",showPassword:"Mostrar contraseña",speechToTextError:"El dictado por voz no es compatible con este navegador",speechToTextOff:"Detener dictado por voz",speechToTextOn:"Iniciar dictado por voz"},w={decrease:"Diminuisci",hidePassword:"Nascondi password",increase:"Aumenta",showPassword:"Visualizza password",speechToTextError:"Dettatura vocale non supportata da questo browser",speechToTextOff:"Ferma dettatura vocale",speechToTextOn:"Inizia dettatura vocale"};const y=()=>null,z=t=>t.length>0?null:{required:""},k=(()=>{try{return RegExp("","v").flags}catch(t){return"u"}})(),C=/^[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])?)*$/,A=t=>""===t||C.test(t)?null:{email:"indirizzo email non valido"},M=t=>{if(""===t)return null;try{return new URL(t),null}catch(t){return{url:"url non valido"}}},T=t=>{if(""===t)return null;const i={piva:"partita iva non valida"};if(!/^\d{11}$/.test(t))return i;const a=t.split("").map(Number);return(10-a.slice(0,10).reduce(((t,i,a)=>{if(a%2==0)return t+i;const e=2*i;return t+(e>9?e-9:e)}),0)%10)%10===a[10]?null:i},L=t=>{if(""===t)return null;const i={cc:"numero di carta non valido"};if(!/^\d+(?:[ -]\d+)*$/.test(t))return i;const a=t.replace(/[ -]/g,"");return a.length<13||a.length>19?i:a.split("").reverse().map(Number).reduce(((t,i,a)=>{if(a%2==0)return t+i;const e=2*i;return t+(e>9?e-9:e)}),0)%10==0?null:i},N=t=>{if(""===t)return null;if(Number.isNaN(t.slice(0,-1))||10!==t.length&&13!==t.length)return{"isbn-error":"formato isbn non correto"};const i=t.split("").map((t=>"X"===t?10:Number(t)));let a=0;return a=10===t.length?i.reduce(((t,i,a)=>t+(10-a)*i),0)%11:i.reduce(((t,i,a)=>t+i*(a%2==0?1:3)),0)%10,0===a?null:{"isbn-error":"codice isbn non valido"}};class V{constructor(){this._validators=[],this._errors=null,this.isValid=!0}addValidator(t){Array.isArray(t)?this._validators.push(...t):this._validators.push(t)}_hasValidator(t,i){return Array.isArray(t)?t.includes(i):t===i}hasValidator(t){return t?this._hasValidator(this._validators,t):this._validators.length>0}removeValidator(t){this._validators=this._validators.filter((i=>!this._hasValidator(t,i)))}check(t){const i=this._validators.map((i=>i(t))).reduce(((t,i)=>Object.assign(Object.assign({},t),i)),y);return 0===Object.keys(i).length?null:i}validate(t){this._errors=this.check(t),this.isValid=!this._errors}get errors(){return this._errors}}class P{}P.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,P.CF_MASK="A{6}(99|AA)A(99|AA)A(999|AAA)A",P.CC_MASK="9999-9999-9999-9999";class I{constructor(t){this.validator=new V,this.pattern=t}mask(t){if(!this.pattern)throw new Error("no pattern found, set pattern before mask")}isValid(t){return this.validator.validate(t),this.validator.isValid}}function R(t){let i;switch(t){case"tel":default:i=new I("");break;case"email":i=new I(""),i.validator.addValidator(A);break;case"url":i=new I(""),i.validator.addValidator(M);break;case"cc":i=new I(P.CC_MASK),i.validator.addValidator(L);break;case"cf":i=new I(P.CF_MASK),i.validator.addValidator((t=>""===t||P.CF_Regex.test(t)?null:{"cf-regex":"Codice fiscale inserito non corretto"})),i.validator.addValidator((t=>""===t||16===t.length?null:{"cf-length":"Codice fiscale deve essere lungo 16 caratteri"}));break;case"isbn":i=new I,i.validator.addValidator(N);break;case"piva":i=new I(""),i.validator.addValidator(T)}return i}const O=["cf-length","cf-regex","isbn-error"],j=class{constructor(a){t(this,a),this.changeEvent=i(this,"mdsInputChange",7),this.keyDownEvent=i(this,"mdsInputKeydown",7),this.blurEvent=i(this,"mdsInputBlur",7),this.focusEvent=i(this,"mdsInputFocus",7),this.speechEvent=i(this,"mdsInputSpeechEnd",7),this.validationEvent=i(this,"mdsInputValidation",7),a.$hostElement$["s-ei"]?this.internals=a.$hostElement$["s-ei"]:(this.internals=a.$hostElement$.attachInternals(),a.$hostElement$["s-ei"]=this.internals),this.defaultValue="",this.inputValidation=R("text"),this.customValidators=[],this.validated=!1,this.speechToTextLabelKey="speechToTextOn",this.speechToTextIcon=g,this.hasFocus=!1,this.isRecording=!1,this.countVariant="count-empty",this.isPasswordVisible=!1,this.t=new p({el:b,en:f,es:x,it:w}),this.formDisabled=!1,this.autocomplete="off",this.autofocus=!1,this.await=!1,this.controlsLayout="vertical",this.controlsIcon="arrow",this.disabled=!1,this.readonly=!1,this.required=!1,this.variant="primary",this.size="lg",this.type="text",this.typography="detail",this.value="",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.canEdit=()=>!this.isDisabled()&&!this.readonly,this.countMaxLength=()=>{var t,i,a;if(void 0===this.maxlength||0===this.maxlength||Number.isNaN(this.maxlength))return;if(void 0===this.value)return;this.currentLengthLabel=`${null!==(i=null===(t=this.value)||void 0===t?void 0:t.length)&&void 0!==i?i:0} / ${this.maxlength}`;const e=Math.round(100*this.value.length/this.maxlength);this.countVariant=(null===(a=this.value)||void 0===a?void 0:a.length)!==this.maxlength?e>=100?"count-full":e>=75?"count-almost-full":e>=50?"count-almost":e>=25?"count-incomplete":"count-empty":"count-full"},this.onInput=t=>{const i=t.target;i&&(this.value=i.value,d(this.internals,this.value))},this.onKeyDown=t=>{this.keyDownEvent.emit(t)},this.onBlur=()=>{this.hasFocus=!1,this.validateInput(),this.blurEvent.emit()},this.onFocus=t=>{const i=t.target;this.hasFocus=!0,this.focusEvent.emit(),this.readonly&&setTimeout((()=>{i.select()}),10)},this.stepUp=()=>{this.nativeInput&&this.canEdit()&&(this.nativeInput.stepUp(),this.value=this.nativeInput.value)},this.stepDown=()=>{this.nativeInput&&this.canEdit()&&(this.nativeInput.stepDown(),this.value=this.nativeInput.value)},this.toggleTextRecognition=()=>{if(this.isRecording||this.canEdit()){if(this.isRecording=!this.isRecording,!this.isRecording)return this.speechToTextLabelKey="speechToTextOn",this.speechToTextIcon=g,void this.stopRecognition();this.speechToTextLabelKey="speechToTextOff",this.speechToTextIcon=h,this.startRecognition()}},this.handlePasswordToggleClick=()=>{this.isPasswordVisible=!this.isPasswordVisible},this.onSpeechRecognitionError=()=>{console.error("SpeechRecognition API may not work properly on Chrome based browsers."),this.speechButton.classList.remove("mic-toggle-button--recording"),this.speechButton.classList.add("toggle-button--error"),this.isRecording=!1,this.speechToTextLabelKey="speechToTextError",this.speechToTextIcon='<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>'},this.startRecognition=()=>{var t,i,a;null==this.speechButton&&(this.speechButton=null===(i=null===(t=this.el)||void 0===t?void 0:t.shadowRoot)||void 0===i?void 0:i.querySelector(".mic-toggle-button"));const e=null!==(a=window.SpeechRecognition)&&void 0!==a?a:window.webkitSpeechRecognition;if(!e)return void this.onSpeechRecognitionError();this.value="",this.recognition=new e,this.recognition.continuous=!0,this.recognition.lang=navigator.language||"it-IT",this.recognition.interimResults=!0,this.recognition.maxAlternatives=1;let r="",s=0;this.recognition.onresult=t=>{if(!this.canEdit())return void(this.isRecording&&this.toggleTextRecognition());const i=t.results[s];if(i.isFinal)return r+=i[0].transcript,this.value=r,void(s+=1);this.value=r+i[0].transcript},this.recognition.onerror=t=>{console.error("SpeechRecognition API error:",t.error),this.onSpeechRecognitionError()},this.recognition.start()},this.stopRecognition=()=>{this.recognition&&(this.recognition.stop(),this.speechEvent.emit())}}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){const t=this.validated;this.validated=!1,this.isValid=!(this.required&&""===this.defaultValue),this.value=this.defaultValue,t&&(this.variant="primary")}connectedCallback(){this.datalistId=`datalist-${u()}`}componentWillLoad(){var t,i,a;if(this.defaultValue=null!==(t=this.value)&&void 0!==t?t:"",this.el.hasAttribute("tabindex")){const t=this.el.getAttribute("tabindex");this.tabindex=null!==t?parseInt(t):void 0,this.el.removeAttribute("tabindex")}d(this.internals,null!==(i=this.value)&&void 0!==i?i:null),this.maxLengthChanged(this.maxlength),this.buildValidation(),this.isValid=!(this.required&&""===(null!==(a=this.value)&&void 0!==a?a:""))}componentDidLoad(){var t,i;this.autofocus&&(null===(t=this.nativeInput)||void 0===t||t.focus()),this.variantChanged(null!==(i=this.variant)&&void 0!==i?i:"primary")}componentDidRender(){this.updateFormValidity()}buildValidation(){var t,i;const a=R(null!==(t=this.type)&&void 0!==t?t:"text"),{validator:e}=a,r=this.numericBound(this.max),s=this.numericBound(this.min);var n;this.required&&e.addValidator(z),void 0!==r&&e.addValidator((t=>i=>{if(""===i||null===t)return null;const a=parseFloat(i);return!isNaN(a)&&a>t?{max:`valore massimo ${t}`}:null})(r)),void 0!==s&&e.addValidator((t=>i=>{if(""===i||null===t)return null;const a=parseFloat(i);return!isNaN(a)&&a<t?{min:`valore minimo ${t}`}:null})(s)),void 0===this.maxlength||0===this.maxlength||Number.isNaN(this.maxlength)||e.addValidator((n=this.maxlength,t=>""===t||null===n?null:t.length>n?{minLenght:`La lunghezza massima accettata è ${n}`}:null)),void 0===this.minlength||0===this.minlength||Number.isNaN(this.minlength)||e.addValidator((t=>i=>""===i||null===t?null:i.length<t?{minLenght:`La lunghezza minima accettata è ${t}`}:null)(this.minlength));const o=this.patternApplies()?(t=>{let i;try{i=new RegExp(`^(?:${t})$`,k)}catch(t){return null}return t=>""===t||i.test(t)?null:{pattern:"formato non valido"}})(null!==(i=this.pattern)&&void 0!==i?i:""):null;o&&e.addValidator(o),e.addValidator(this.customValidators),this.inputValidation=a}patternApplies(){var t,i;return""!==(null!==(t=this.pattern)&&void 0!==t?t:"")&&!["date","number","textarea","time"].includes(null!==(i=this.type)&&void 0!==i?i:"text")}numericBound(t){if(null==t||""===t)return;const i=Number(t);return Number.isNaN(i)?void 0:i}updateFormValidity(){var t;const i=null!==(t=this.value)&&void 0!==t?t:"",a=this.inputValidation.validator.check(i),e=a?((t,i,a)=>{const[e]=Object.keys(t);switch(e){case"required":return{rule:"required"};case"max":return{rule:"max",context:{max:a.max}};case"min":return{rule:"min",context:{min:a.min}};case"minLenght":return void 0!==a.maxlength&&i.length>a.maxlength?{rule:"maxlength",context:{maxlength:a.maxlength}}:{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:O.includes(e)?void 0:t[e]}}})(a,i,{max:this.numericBound(this.max),maxlength:this.maxlength,min:this.numericBound(this.min),minlength:this.minlength}):void 0;l(this.internals,e,this.nativeInput)}invalidHandler(){this.validateInput()}validationRulesChanged(){var t;this.buildValidation(),this.updateFormValidity(),this.validated?this.inputValidation.validator.hasValidator()?this.validateInput():(this.validated=!1,this.isValid=!0,this.variant="primary"):this.isValid=!(this.required&&""===(null!==(t=this.value)&&void 0!==t?t:""))}valueChanged(){var t;this.changeEvent.emit({value:this.value}),d(this.internals,null!==(t=this.value)&&void 0!==t?t:null),this.updateFormValidity(),void 0!==this.maxlength&&this.countMaxLength(),""!==this.value&&(this.isValid||this.validateInput())}variantChanged(t){"ai"===t&&void 0===this.icon&&(this.icon='<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')}maxLengthChanged(t){void 0!==t&&(t<=0?this.maxlength=void 0:this.countMaxLength())}async addValidator(t){return this.customValidators.push(t),this.inputValidation.validator.addValidator(t),this.updateFormValidity(),Promise.resolve()}async removeValidator(t){this.customValidators=this.customValidators.filter((i=>i!==t)),this.inputValidation.validator.removeValidator(t),this.updateFormValidity()}async hasValidator(t){return this.inputValidation.validator.hasValidator(t)}async getErrors(){return Promise.resolve(this.inputValidation.validator.errors)}validateInput(){var t,i;return this.inputValidation.validator.hasValidator()&&(this.validated=!0,this.isValid=this.inputValidation.isValid(null!==(t=this.value)&&void 0!==t?t:""),this.variant=""!==(null!==(i=this.value)&&void 0!==i?i:"")||this.required?this.isValid?"success":"error":"primary",this.validationEvent.emit(this.isValid)),this.isValid}disabledChanged(t){t&&d(this.internals,null)}async setFocus(){this.nativeInput&&this.nativeInput.focus()}getInputElement(){return Promise.resolve(this.nativeInput)}buttonSize(){return"sm"===this.size||"md"===this.size?"sm":void 0}render(){var t,i,r;return a(e,{key:"efb35dcc0b742ba1509ad2b830e91bdbcdc64034","pref-animation":m.state.animation,"pref-contrast":m.state.contrast,"pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},"number"===this.type&&"horizontal"===this.controlsLayout&&a("mds-button",{key:"c89816eefd4e3c86e9f5cb8efdd4e9e4cac013fb",class:"counter-button counter-button--horizontal counter-button--decrease",icon:"arrow"===this.controlsIcon?n:c,disabled:!this.canEdit(),onClick:this.stepDown,tabindex:"0",title:this.t.get("decrease"),variant:"dark",tone:"text",part:"counter-button-decrease"}),"textarea"===this.type?a("textarea",{"aria-label":this.accessibleName,class:s("input",(null!==(t=this.icon)&&void 0!==t?t: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:t=>this.nativeInput=t,required:this.required,tabIndex:this.tabindex,value:this.value}):a("input",{"aria-label":this.accessibleName,class:s("input",(null!==(i=this.icon)&&void 0!==i?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:t=>this.nativeInput=t,required:this.required,step:this.step,tabIndex:this.tabindex,type:"password"===this.type&&this.isPasswordVisible?"text":this.type,value:this.value}),"number"===this.type&&"vertical"===this.controlsLayout&&a("div",{key:"d4465ae4fbc4b5bbecfd1571b7f29dca870180b5",class:"counter counter--vertical"},a("mds-button",{key:"5bc2720ca21c359a12f2967ef5356f8dcc306398",class:"counter-button",icon:"arrow"===this.controlsIcon?o:v,disabled:!this.canEdit(),onClick:this.stepUp,tabindex:"0",title:this.t.get("increase"),variant:"dark",size:"sm",tone:"text",part:"counter-button-increase"}),a("mds-button",{key:"3191ebaec68dd562e77d0f4878a12f7d3172ddb0",class:"counter-button",icon:"arrow"===this.controlsIcon?n:c,disabled:!this.canEdit(),onClick:this.stepDown,tabindex:"0",title:this.t.get("decrease"),variant:"dark",size:"sm",tone:"text",part:"counter-button-decrease"})),"number"===this.type&&"horizontal"===this.controlsLayout&&a("mds-button",{key:"3b20de301e9dedb1199c6817fcc2c64e174eb285",class:"counter-button counter-button--horizontal counter-button--increase",variant:"dark",tone:"text",icon:"arrow"===this.controlsIcon?o:v,disabled:!this.canEdit(),onClick:this.stepUp,tabindex:"0",title:this.t.get("increase"),part:"counter-button-increase"}),"password"===this.type&&a("mds-button",{key:"a77641adbc14728de15ec2c42e9258bdc73ee843",class:"password-toggle-button",size:this.buttonSize(),variant:"dark",tone:"text",icon:this.isPasswordVisible?'<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>':'<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>',disabled:this.isDisabled(),onClick:this.handlePasswordToggleClick,tabindex:"0",title:this.t.get(this.isPasswordVisible?"hidePassword":"showPassword"),part:"password-toggle-button"}),"password"===this.type&&!this.isPasswordVisible&&(null===(r=this.value)||void 0===r?void 0:r.length)>0&&a("div",{key:"cdbc75f7f51691cd00ccbecb993d44fd5ff94546",class:"password-mask"},a("div",{key:"b2ea3b22453abda1e6bc9a91c5098f3972865e65",class:"password-mask-items",part:"password-mask-items"},Array.from({length:this.value.length}).map(((t,i)=>a("div",{key:i,class:"password-mask-item",part:"password-mask-item"}))))),this.mic&&a("mds-button",{key:"129f16c964cb454a2c7308d92b10d32aa70a8502",class:s("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"}),a("mds-input-tip",{key:"181559d569b9e8338211013c348a085916d48c06",position:"top",active:this.hasFocus,part:"tip-top"},this.isDisabled()&&a("mds-input-tip-item",{key:"721e29e14e7476d50a7b16fc31498a1b2af8e279",expanded:!0,variant:"disabled"}),this.readonly&&a("mds-input-tip-item",{key:"575dd8c784c216dd07befb76b966dc6aedb898de",expanded:!0,variant:"readonly"}),this.required&&a("mds-input-tip-item",{key:"57710fc275fd02ec64ea6da58716d6beeee10125",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),a("mds-input-tip",{key:"393dfcee4482388fb5554d68b659799f3bc04bca",position:"bottom",active:this.hasFocus,part:"tip-bottom"},this.tip&&a("mds-input-tip-item",{key:"d0d676da2ef65f5a7bad9651d0370d618f8ee9ef",expanded:!0,variant:"text"},this.tip),this.maxlength&&a("mds-input-tip-item",{key:"9f3b52270f3affe4a3f8cfe81256939afc06cdc3",part:"tip-count",expanded:!0,variant:this.countVariant},this.currentLengthLabel)),this.datalist&&a("datalist",{key:"a0ccb628b25c1f039d23c11f5e54685e84fcfa58",id:this.datalistId,class:"datalist"},this.datalist.map(((t,i)=>a("option",{key:i,value:t})))),this.icon&&!this.await&&a("mds-icon",{key:"ace2f759671fdc34802c39f9c3f07e07d07ed158",class:s("icon",this.variant),name:this.icon}),a("mds-spinner",{key:"b963adc9d16baf4d557384a584aaa8f21f9454a4",running:this.await,class:s("await",this.variant)}))}static get formAssociated(){return!0}get el(){return r(this)}static get watchers(){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}]}}};j.style='@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-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);border-radius:var(--mds-input-border-radius);corner-shape:var(--magma-corner-shape,squircle);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;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;container-type:inline-size;display:flex;position:relative;--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([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=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}.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::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:calc(var(--private-input-icon-offset-inline) + var(--private-input-icon-size) + var(--spacing,.0025rem)*200)}.input.has-right-icon{padding-right:calc(var(--private-input-icon-offset-inline) + var(--private-input-icon-size) + var(--spacing,.0025rem)*200)}.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=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}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])){--mds-input-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}.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: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])),: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]))) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}}';export{j as mds_input}