@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
@@ -0,0 +1 @@
1
+ import{p as t,H as i,d as a,h as e,c as r,t as n}from"./p-TZJN-ygm.js";import{c as s}from"./p-ChV9xqsO.js";import{m as o}from"./p-DiWN48aq.js";import{m as l}from"./p-Ccz0jCNB.js";import{m as d}from"./p-D17B058a.js";import{m as c}from"./p-CvUz9jjh.js";import{s as h}from"./p-wI0alRSO.js";import{u}from"./p-DTtmr_Y9.js";import{L as m}from"./p-CZjwSwe5.js";import{h as p}from"./p-Cvhn9asj.js";import{p as v}from"./p-CVRN4LDc.js";import{d as g}from"./p-ClPv-Ljc.js";import{d as b}from"./p-Cmn1DJAB.js";import{d as f}from"./p-BU3bsIX2.js";import{d as x}from"./p-DkYDXDkD.js";import{d as w}from"./p-ZuubAcA3.js";import{d as y}from"./p-CNF3u0Li.js";var z='<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>',k='<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>',C={decrease:"Μείωση",hidePassword:"Απόκρυψη κωδικού",increase:"Αύξηση",showPassword:"Εμφάνιση κωδικού",speechToTextError:"Η φωνητική υπαγόρευση δεν υποστηρίζεται από αυτό το πρόγραμμα περιήγησης",speechToTextOff:"Διακοπή φωνητικής υπαγόρευσης",speechToTextOn:"Έναρξη φωνητικής υπαγόρευσης",validationCc:"Μη έγκυρος αριθμός κάρτας",validationCfLength:"Ο φορολογικός κωδικός πρέπει να έχει 16 χαρακτήρες",validationCfRegex:"Ο φορολογικός κωδικός που εισαγάγατε δεν είναι σωστός",validationEmail:"Μη έγκυρη διεύθυνση email",validationIsbn:"Μη έγκυρος κωδικός ISBN",validationIsbnFormat:"Μη έγκυρη μορφή ISBN",validationMax:"Η μέγιστη τιμή είναι {{max}}",validationMaxlength:"Το μέγιστο αποδεκτό μήκος είναι {{maxlength}}",validationMin:"Η ελάχιστη τιμή είναι {{min}}",validationMinlength:"Το ελάχιστο αποδεκτό μήκος είναι {{minlength}}",validationPattern:"Μη έγκυρη μορφή",validationPiva:"Μη έγκυρος αριθμός ΦΠΑ",validationUrl:"Μη έγκυρη διεύθυνση URL"},M={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",validationCc:"Invalid card number",validationCfLength:"The tax code must be 16 characters long",validationCfRegex:"The tax code entered is not correct",validationEmail:"Invalid email address",validationIsbn:"Invalid ISBN code",validationIsbnFormat:"Invalid ISBN format",validationMax:"The maximum value is {{max}}",validationMaxlength:"The maximum length accepted is {{maxlength}}",validationMin:"The minimum value is {{min}}",validationMinlength:"The minimum length accepted is {{minlength}}",validationPattern:"Invalid format",validationPiva:"Invalid VAT number",validationUrl:"Invalid URL"},I={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",validationCc:"Número de tarjeta no válido",validationCfLength:"El código fiscal debe tener 16 caracteres",validationCfRegex:"El código fiscal introducido no es correcto",validationEmail:"Dirección de correo electrónico no válida",validationIsbn:"Código ISBN no válido",validationIsbnFormat:"Formato ISBN no válido",validationMax:"El valor máximo es {{max}}",validationMaxlength:"La longitud máxima aceptada es {{maxlength}}",validationMin:"El valor mínimo es {{min}}",validationMinlength:"La longitud mínima aceptada es {{minlength}}",validationPattern:"Formato no válido",validationPiva:"Número de IVA no válido",validationUrl:"URL no válida"},L={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",validationCc:"numero di carta non valido",validationCfLength:"Codice fiscale deve essere lungo 16 caratteri",validationCfRegex:"Codice fiscale inserito non corretto",validationEmail:"indirizzo email non valido",validationIsbn:"codice isbn non valido",validationIsbnFormat:"formato isbn non corretto",validationMax:"valore massimo {{max}}",validationMaxlength:"La lunghezza massima accettata è {{maxlength}}",validationMin:"valore minimo {{min}}",validationMinlength:"La lunghezza minima accettata è {{minlength}}",validationPattern:"formato non valido",validationPiva:"partita iva non valida",validationUrl:"url non valido"};const T=new m({el:C,en:M,es:I,it:L}),N=(t,i)=>T.get(t,i),A=()=>null,P=t=>t.length>0?null:{required:""},V=(()=>{try{return RegExp("","v").flags}catch(t){return"u"}})(),R=/^[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])?)*$/,E=t=>""===t||R.test(t)?null:{email:N("validationEmail")},j=t=>{if(""===t)return null;try{return new URL(t),null}catch(t){return{url:N("validationUrl")}}},S=t=>{if(""===t)return null;const i={piva:N("validationPiva")};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},B=t=>{if(""===t)return null;const i={cc:N("validationCc")};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},F=t=>{if(""===t)return null;if(Number.isNaN(t.slice(0,-1))||10!==t.length&&13!==t.length)return{"isbn-error":N("validationIsbnFormat")};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":N("validationIsbn")}};class D{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)),A);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 O{}O.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,O.CF_MASK="A{6}(99|AA)A(99|AA)A(999|AAA)A",O.CC_MASK="9999-9999-9999-9999";class U{constructor(t){this.validator=new D,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 q(t){let i;switch(t){case"tel":default:i=new U("");break;case"email":i=new U(""),i.validator.addValidator(E);break;case"url":i=new U(""),i.validator.addValidator(j);break;case"cc":i=new U(O.CC_MASK),i.validator.addValidator(B);break;case"cf":i=new U(O.CF_MASK),i.validator.addValidator((t=>""===t||O.CF_Regex.test(t)?null:{"cf-regex":N("validationCfRegex")})),i.validator.addValidator((t=>""===t||16===t.length?null:{"cf-length":N("validationCfLength")}));break;case"isbn":i=new U,i.validator.addValidator(F);break;case"piva":i=new U(""),i.validator.addValidator(S)}return i}const Z=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.changeEvent=a(this,"mdsInputChange",7),this.keyDownEvent=a(this,"mdsInputKeydown",7),this.blurEvent=a(this,"mdsInputBlur",7),this.focusEvent=a(this,"mdsInputFocus",7),this.speechEvent=a(this,"mdsInputSpeechEnd",7),this.validationEvent=a(this,"mdsInputValidation",7),this.internals=this.attachInternals(),this.defaultValue="",this.inputValidation=q("text"),this.customValidators=[],this.validated=!1,this.speechToTextLabelKey="speechToTextOn",this.speechToTextIcon=k,this.hasFocus=!1,this.isRecording=!1,this.countVariant="count-empty",this.isPasswordVisible=!1,this.t=new m({el:C,en:M,es:I,it:L}),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,h(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=k,void this.stopRecognition();this.speechToTextLabelKey="speechToTextOff",this.speechToTextIcon=c,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="",n=0;this.recognition.onresult=t=>{if(!this.canEdit())return void(this.isRecording&&this.toggleTextRecognition());const i=t.results[n];if(i.isFinal)return r+=i[0].transcript,this.value=r,void(n+=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-${p()}`}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")}h(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=q(null!==(t=this.type)&&void 0!==t?t:"text"),{validator:e}=a,r=this.numericBound(this.max),n=this.numericBound(this.min);var s;this.required&&e.addValidator(P),void 0!==r&&e.addValidator((t=>i=>{if(""===i||null===t)return null;const a=parseFloat(i);return!isNaN(a)&&a>t?{max:N("validationMax",{max:t})}:null})(r)),void 0!==n&&e.addValidator((t=>i=>{if(""===i||null===t)return null;const a=parseFloat(i);return!isNaN(a)&&a<t?{min:N("validationMin",{min:t})}:null})(n)),void 0===this.maxlength||0===this.maxlength||Number.isNaN(this.maxlength)||e.addValidator((s=this.maxlength,t=>""===t||null===s?null:t.length>s?{maxlength:N("validationMaxlength",{maxlength:s})}:null)),void 0===this.minlength||0===this.minlength||Number.isNaN(this.minlength)||e.addValidator((t=>i=>""===i||null===t?null:i.length<t?{minlength:N("validationMinlength",{minlength:t})}:null)(this.minlength));const o=this.patternApplies()?(t=>{let i;try{i=new RegExp(`^(?:${t})$`,V)}catch(t){return null}return t=>""===t||i.test(t)?null:{pattern:N("validationPattern")}})(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)=>{const[a]=Object.keys(t);switch(a){case"required":return{rule:"required"};case"max":return{rule:"max",context:{max:i.max}};case"min":return{rule:"min",context:{min:i.min}};case"maxlength":return{rule:"maxlength",context:{maxlength:i.maxlength}};case"minlength":return{rule:"minlength",context:{minlength:i.minlength}};case"pattern":return{rule:"pattern"};case"email":return{rule:"email"};case"url":return{rule:"url"};case"piva":return{rule:"vatNumber"};case"cc":return{rule:"cardNumber"};default:return{rule:"invalid",message:t[a]}}})(a,{max:this.numericBound(this.max),maxlength:this.maxlength,min:this.numericBound(this.min),minlength:this.minlength}):void 0;u(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,i;this.changeEvent.emit({value:this.value}),h(this.internals,null!==(t=this.value)&&void 0!==t?t:null),this.updateFormValidity(),void 0!==this.maxlength&&this.countMaxLength(),this.validated?""!==this.value&&(this.isValid||this.validateInput()):this.isValid=!(this.required&&""===(null!==(i=this.value)&&void 0!==i?i:""))}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&&h(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,a;return e(r,{key:"5c6cffc948d7b76fe55febf75fbfebd742174e2f","pref-animation":v.state.animation,"pref-contrast":v.state.contrast,"pref-mode":v.state.mode,"pref-theme-scheme":v.state["theme-scheme"]},"number"===this.type&&"horizontal"===this.controlsLayout&&e("mds-button",{key:"61d6e02f0a86d8cb54c03c0c9958a7cdc24e2872",class:"counter-button counter-button--horizontal counter-button--decrease",icon:"arrow"===this.controlsIcon?o:d,disabled:!this.canEdit(),onClick:this.stepDown,tabindex:"0",title:this.t.get("decrease"),variant:"dark",tone:"text",part:"counter-button-decrease"}),"textarea"===this.type?e("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}):e("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&&e("div",{key:"af496730c2302a17477e1994ab5c7fd79fd8cc20",class:"counter counter--vertical"},e("mds-button",{key:"fb498f8604881bb2f065dbdd2559e397998a2628",class:"counter-button",icon:"arrow"===this.controlsIcon?l:z,disabled:!this.canEdit(),onClick:this.stepUp,tabindex:"0",title:this.t.get("increase"),variant:"dark",size:"sm",tone:"text",part:"counter-button-increase"}),e("mds-button",{key:"5ade145d05883ae99931d7148facf5adad4fe4fe",class:"counter-button",icon:"arrow"===this.controlsIcon?o:d,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&&e("mds-button",{key:"90a0bd020222ab7571fbfd5a09a2f87e3cbba350",class:"counter-button counter-button--horizontal counter-button--increase",variant:"dark",tone:"text",icon:"arrow"===this.controlsIcon?l:z,disabled:!this.canEdit(),onClick:this.stepUp,tabindex:"0",title:this.t.get("increase"),part:"counter-button-increase"}),"password"===this.type&&e("mds-button",{key:"1fe84cb2da7422fa1d7a058c4e25afcbf589a0ab",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===(a=this.value)||void 0===a?void 0:a.length)>0&&e("div",{key:"4afd281972e3af569fb4cd4cb01b1af98d86a92e",class:"password-mask"},e("div",{key:"ca27f52f3c16eba0e221759b6608f2d252586b80",class:"password-mask-items",part:"password-mask-items"},Array.from({length:this.value.length}).map(((t,i)=>e("div",{key:i,class:"password-mask-item",part:"password-mask-item"}))))),this.mic&&e("mds-button",{key:"f4660d79f8156b20a568fddc2d6fad86e5e60ea2",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"}),e("mds-input-tip",{key:"a1604ac4ffa67a652d85aa176de84f93d00e3812",position:"top",active:this.hasFocus,part:"tip-top"},this.isDisabled()&&e("mds-input-tip-item",{key:"b6180fb526346747972fdb976105f655b30cc9d5",expanded:!0,variant:"disabled"}),this.readonly&&e("mds-input-tip-item",{key:"003649ade3f41ec1531e5e43cdb5d2b16aeeb71d",expanded:!0,variant:"readonly"}),this.required&&e("mds-input-tip-item",{key:"a978def1dcc891c369b613a220ffadfd94eaeb17",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),e("mds-input-tip",{key:"98d5251c729d9027135ffca4e8f53fbbfb6782be",position:"bottom",active:this.hasFocus,part:"tip-bottom"},this.tip&&e("mds-input-tip-item",{key:"4159b3c1b04dcacabf6475e62ef8640c7ace6c42",expanded:!0,variant:"text"},this.tip),this.maxlength&&e("mds-input-tip-item",{key:"1f6fc0d71569dc2eaf5bc3bbc1da684facf03805",part:"tip-count",expanded:!0,variant:this.countVariant},this.currentLengthLabel)),this.datalist&&e("datalist",{key:"285ac8bd661be1ae27a653c726b83111939197a3",id:this.datalistId,class:"datalist"},this.datalist.map(((t,i)=>e("option",{key:i,value:t})))),this.icon&&!this.await&&e("mds-icon",{key:"fb198016da6c8ebba88206a8fc5b5ec831d0036f",class:s("icon",this.variant),name:this.icon}),e("mds-spinner",{key:"df2bfea69039e8eb9a34baa5d84525a6191a8e93",running:this.await,class:s("await",this.variant)}))}static get formAssociated(){return!0}get el(){return 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}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-icon,mds-input-tip,mds-input-tip-item,mds-spinner):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-background:rgb(var(--magma-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)))}}'}},[65,"mds-input",{accessibleName:[1,"aria-label"],autocomplete:[513],autofocus:[516],await:[516],controlsLayout:[513,"controls-layout"],controlsIcon:[513,"controls-icon"],datalist:[16],disabled:[516],icon:[1537],max:[520],maxlength:[1538],mic:[516],min:[520],minlength:[514],name:[513],pattern:[513],placeholder:[513],readonly:[516],required:[516],variant:[1537],tip:[513],size:[513],step:[513],type:[513],typography:[513],value:[1537],hasFocus:[32],isRecording:[32],currentLengthLabel:[32],countVariant:[32],isPasswordVisible:[32],formDisabled:[32],addValidator:[64],removeValidator:[64],hasValidator:[64],getErrors:[64],setFocus:[64],getInputElement:[64]},[[0,"invalid","invalidHandler"]],{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}]}]);function H(){"undefined"!=typeof customElements&&["mds-input","mds-button","mds-icon","mds-input-tip","mds-input-tip-item","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-input":customElements.get(n(t))||customElements.define(n(t),Z);break;case"mds-button":customElements.get(n(t))||g();break;case"mds-icon":customElements.get(n(t))||b();break;case"mds-input-tip":customElements.get(n(t))||f();break;case"mds-input-tip-item":customElements.get(n(t))||x();break;case"mds-spinner":customElements.get(n(t))||w();break;case"mds-text":customElements.get(n(t))||y()}}))}export{Z as M,H as d}
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-21T16:53:07",
2
+ "timestamp": "2026-10-22T13:02:36",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.45.2",
@@ -12466,7 +12466,7 @@
12466
12466
  }
12467
12467
  ],
12468
12468
  "usage": {
12469
- "1. Description": "The `<mds-input>` web component is the primary single- and multi-line text entry control of the Magma Design System. It wraps a native `<input>` (or `<textarea>` when `type=\"textarea\"`) and layers on form association, validation, inline tips, iconography, password masking, numeric steppers, datalist suggestions and speech-to-text dictation.\n\n#### Semantic Behavior\n\n- **Form association**: The component reports its value to the surrounding `<form>`, so it submits natively. On `disabled` the reported value is cleared. A form reset brings back the value the field had at load, both shown and submitted, and drops the `'success'` or `'error'` look of a past blur, like a native input.\n- **Disabled fieldset**: A disabled `<fieldset>` around the component disables it as `disabled` does, like a native control: it cannot be changed and its value is left out of the form, until the fieldset is enabled.\n- **Form validity**: The validators below also decide the validity reported to the form, on every change of the value or of the rules: like a native control, an invalid field matches `:invalid` and stops the submit, the browser shows a message in the page language next to the field and focuses it, and the field switches to `'error'` as on blur. Disabled and read-only fields are left out, and `novalidate` on the `<form>` turns the check off. `type=\"email\"` and `type=\"url\"` check the format of the value as a native input does.\n- **Validation on blur**: Validation runs when the field loses focus (and re-runs on input once invalid). It drives the `variant` automatically to `'success'` or `'error'`, emits `mdsInputValidation` with the boolean result, and reverts to `'primary'` when an optional field is emptied.\n- **Type-aware validators**: The active validator set is derived from `type` - `email` and `url` install the format validators of the native types, `cf` the codice fiscale format and length validators, `isbn` a checksum validator, `piva` the partita IVA one (11 digits, the last one the check digit) and `cc` the card number one (13 to 19 digits, in groups split by spaces or dashes, that pass the Luhn check); no type applies an input mask, while `required`, `min`/`max` (any number, `0` included), `minlength`/`maxlength` and `pattern` add the corresponding constraint validators. As on a native input, `pattern` has to match the whole value, an expression that does not compile sets no rule, and `number`, `date`, `time` and `textarea` ignore it. The set is rebuilt whenever one of these props changes, also after load, as with the React wrappers under SSR: a pristine field only updates its required tip, a field already validated on blur is validated again. Custom validators can be attached at runtime through the `addValidator`/`removeValidator`/`hasValidator`/`getErrors` methods.\n- **Disabled / read-only tips**: `disabled` and `readonly` surface a persistent top tip describing the state; read-only fields also auto-select their text on focus.\n- **Character counter**: When `maxlength` is set a bottom counter tip shows `current / max` and shifts through fullness variants as the value approaches the limit. A `maxlength` of `0` or less is treated as unset.\n- **Password masking**: With `type=\"password\"` a toggle button reveals/hides the value; it is disabled with the field.\n- **Number steppers**: With `type=\"number\"` increment/decrement buttons are rendered; their placement follows `controlsLayout` and their glyphs follow `controlsIcon`. They are disabled on a disabled or read-only field, like the spin buttons of a native one.\n- **Speech-to-text**: When `mic` is set a dictation button transcribes speech into the value, replacing what was there, and emits `mdsInputSpeechEnd` when the user stops the dictation; when the Web Speech API is unavailable the button switches to an error state and the value is left as it is. The dictation button is disabled on a disabled or read-only field, which the user cannot change, and a dictation in progress stops, emitting `mdsInputSpeechEnd`, when the field becomes so.\n- **Emitted events**: `mdsInputChange` carries the new value, `mdsInputKeydown` fires on every key pressed in the field with the native `KeyboardEvent` as detail (before the value changes: read the value from `mdsInputChange`), and `mdsInputFocus`/`mdsInputBlur` fire on focus transitions.\n\n#### Properties & Visual Configurations\n\nThe shared `variant` ladder (color role) is defined in [`agents/variants.md`](../../../../agents/variants.md); `<mds-input>` consumes it for both intent styling and validation feedback, but does not expose a `tone` prop. It accepts `primary` (default), `ai`, `info`, `success`, `warning` and `error`.\n\n- **`type`** selects both the rendered control and the validation profile: it covers the native HTML types plus format types (`'cf'`, `'piva'`, `'isbn'`, `'cc'`) and switches the host to a multi-line `<textarea>` for `'textarea'`.\n- **`variant=\"ai\"`** auto-assigns the AI chatbot icon when no `icon` is otherwise provided, signposting AI-assisted fields.\n- **`size`** sets the height of the field, the same as [`<mds-button>`](../mds-button/AGENTS.md): `sm` 28px, `md` 36px, `lg` 48px (default). Match it to the buttons next to the field, or go smaller in dense layouts (filter bars, table toolbars); the text style stays the same, the padding and the inner icon, stepper buttons and password and microphone toggles scale with it. A `textarea` keeps its own height (`--mds-input-textarea-min-height`).\n\n#### Other behavioral props\n\n- **`icon`** is an SVG filename slug from the Magma icon library shown at the leading (left) edge of the field; it is suppressed while `await` is active, since the spinner takes its place.\n- **`controlsLayout`** chooses between stacked (`'vertical'`) and split (`'horizontal'`) stepper buttons, and **`controlsIcon`** picks arrow vs. plus/minus glyphs - both apply only to `type=\"number\"`.\n- **`datalist`** supplies suggestion options for `type=\"search\"` style autocompletion.\n- **`tip`** renders inline helper text below the field, and **`typography`** selects the field's text scale.\n",
12469
+ "1. Description": "The `<mds-input>` web component is the primary single- and multi-line text entry control of the Magma Design System. It wraps a native `<input>` (or `<textarea>` when `type=\"textarea\"`) and layers on form association, validation, inline tips, iconography, password masking, numeric steppers, datalist suggestions and speech-to-text dictation.\n\n#### Semantic Behavior\n\n- **Form association**: The component reports its value to the surrounding `<form>`, so it submits natively. On `disabled` the reported value is cleared. A form reset brings back the value the field had at load, both shown and submitted, and drops the `'success'` or `'error'` look of a past blur, like a native input.\n- **Disabled fieldset**: A disabled `<fieldset>` around the component disables it as `disabled` does, like a native control: it cannot be changed and its value is left out of the form, until the fieldset is enabled.\n- **Form validity**: The validators below also decide the validity reported to the form, on every change of the value or of the rules: like a native control, an invalid field matches `:invalid` and stops the submit, the browser shows a message in the page language next to the field and focuses it, and the field switches to `'error'` as on blur. Disabled and read-only fields are left out, and `novalidate` on the `<form>` turns the check off. `type=\"email\"` and `type=\"url\"` check the format of the value as a native input does.\n- **Validation on blur**: Validation runs when the field loses focus (and re-runs on input once invalid). A `required` field waits for that first blur too: until then, typing only updates its required tip. It drives the `variant` automatically to `'success'` or `'error'`, emits `mdsInputValidation` with the boolean result, and reverts to `'primary'` when an optional field is emptied.\n- **Type-aware validators**: The active validator set is derived from `type` - `email` and `url` install the format validators of the native types, `cf` the codice fiscale format and length validators, `isbn` a checksum validator, `piva` the partita IVA one (11 digits, the last one the check digit) and `cc` the card number one (13 to 19 digits, in groups split by spaces or dashes, that pass the Luhn check); no type applies an input mask, while `required`, `min`/`max` (any number, `0` included), `minlength`/`maxlength` and `pattern` add the corresponding constraint validators. As on a native input, `pattern` has to match the whole value, an expression that does not compile sets no rule, and `number`, `date`, `time` and `textarea` ignore it. The set is rebuilt whenever one of these props changes, also after load, as with the React wrappers under SSR: a pristine field only updates its required tip, a field already validated on blur is validated again. Custom validators can be attached at runtime through the `addValidator`/`removeValidator`/`hasValidator`/`getErrors` methods.\n- **Localized messages**: The messages of the built-in validators, the ones `getErrors()` returns and `mds-input-field` shows, are in the language of the page when the value is validated (`el`, `en`, `es`, `it`, English for any other).\n- **Error keys**: `getErrors()` reports each failed rule under its own key: `required`, `max`, `min`, `maxlength`, `minlength`, `pattern`, `email`, `url`, `piva`, `cc`, `isbn-error`, `cf-regex` and `cf-length`, plus the keys the custom validators return. Up to 2.5.0, `maxlength` and `minlength` were both reported as `minLenght`.\n- **Disabled / read-only tips**: `disabled` and `readonly` surface a persistent top tip describing the state; read-only fields also auto-select their text on focus.\n- **Character counter**: When `maxlength` is set a bottom counter tip shows `current / max` and shifts through fullness variants as the value approaches the limit. A `maxlength` of `0` or less is treated as unset.\n- **Password masking**: With `type=\"password\"` a toggle button reveals/hides the value; it is disabled with the field.\n- **Number steppers**: With `type=\"number\"` increment/decrement buttons are rendered; their placement follows `controlsLayout` and their glyphs follow `controlsIcon`. They are disabled on a disabled or read-only field, like the spin buttons of a native one.\n- **Speech-to-text**: When `mic` is set a dictation button transcribes speech into the value, replacing what was there, and emits `mdsInputSpeechEnd` when the user stops the dictation; when the Web Speech API is unavailable the button switches to an error state and the value is left as it is. The dictation button is disabled on a disabled or read-only field, which the user cannot change, and a dictation in progress stops, emitting `mdsInputSpeechEnd`, when the field becomes so.\n- **Emitted events**: `mdsInputChange` carries the new value, `mdsInputKeydown` fires on every key pressed in the field with the native `KeyboardEvent` as detail (before the value changes: read the value from `mdsInputChange`), and `mdsInputFocus`/`mdsInputBlur` fire on focus transitions.\n\n#### Properties & Visual Configurations\n\nThe shared `variant` ladder (color role) is defined in [`agents/variants.md`](../../../../agents/variants.md); `<mds-input>` consumes it for both intent styling and validation feedback, but does not expose a `tone` prop. It accepts `primary` (default), `ai`, `info`, `success`, `warning` and `error`.\n\n- **`type`** selects both the rendered control and the validation profile: it covers the native HTML types plus format types (`'cf'`, `'piva'`, `'isbn'`, `'cc'`) and switches the host to a multi-line `<textarea>` for `'textarea'`.\n- **`variant=\"ai\"`** auto-assigns the AI chatbot icon when no `icon` is otherwise provided, signposting AI-assisted fields.\n- **`size`** sets the height of the field, the same as [`<mds-button>`](../mds-button/AGENTS.md): `sm` 28px, `md` 36px, `lg` 48px (default). Match it to the buttons next to the field, or go smaller in dense layouts (filter bars, table toolbars); the text style stays the same, the padding and the inner icon, stepper buttons and password and microphone toggles scale with it. A `textarea` keeps its own height (`--mds-input-textarea-min-height`).\n\n#### Other behavioral props\n\n- **`icon`** is an SVG filename slug from the Magma icon library shown at the leading (left) edge of the field; it is suppressed while `await` is active, since the spinner takes its place.\n- **`controlsLayout`** chooses between stacked (`'vertical'`) and split (`'horizontal'`) stepper buttons, and **`controlsIcon`** picks arrow vs. plus/minus glyphs - both apply only to `type=\"number\"`.\n- **`datalist`** supplies suggestion options for `type=\"search\"` style autocompletion.\n- **`tip`** renders inline helper text below the field, and **`typography`** selects the field's text scale.\n",
12470
12470
  "2. Pattern": "Correct and idiomatic ways to use the `<mds-input>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the variant / tone ladders documented in [`agents/variants.md`](../../../../agents/variants.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Basic Text Input\n\nThe simplest form: set `name` for form participation and `placeholder` for a visual hint. Wrap the component in [`mds-input-field`](../mds-input-field/AGENTS.md) to add a visible label and associated tip.\n\n```html\n<mds-input\n name=\"cognome\"\n placeholder=\"Inserisci il tuo cognome\"\n></mds-input>\n```\n\n#### Required Field with `tip` Helper Text\n\nUse `required` to validate that the field is not empty and `tip` to explain the constraint. The component surfaces a top-tip when focused and drives `variant` to `'error'` or `'success'` on blur. When the field collects the user's own data, set the matching `autocomplete` token (`email`, `given-name`, `tel`, ...) so browsers can identify its purpose (WCAG 2.1 SC 1.3.5) and offer autofill; without it the component default `autocomplete=\"off\"` applies.\n\n```html\n<mds-input\n name=\"email\"\n type=\"email\"\n autocomplete=\"email\"\n placeholder=\"nome@esempio.it\"\n required\n tip=\"Inserisci un indirizzo email valido\"\n></mds-input>\n```\n\n#### Textarea for Multi-line Content\n\nSet `type=\"textarea\"` to render a `<textarea>` instead of a single-line `<input>`. Use the `--mds-input-textarea-*` custom properties to control height and resize behaviour.\n\n```html\n<mds-input\n name=\"descrizione\"\n type=\"textarea\"\n placeholder=\"Descrivi il problema...\"\n maxlength=\"500\"\n></mds-input>\n```\n\n#### Character Counter via `maxlength`\n\nWhen `maxlength` is set the component renders a live `current / max` counter below the field. The counter shifts through fullness variants as the limit approaches. A value of `0` or less is treated as unset.\n\n```html\n<mds-input\n name=\"titolo\"\n placeholder=\"Titolo dell'articolo\"\n maxlength=\"120\"\n></mds-input>\n```\n\n#### Numeric Input with Steppers\n\nSet `type=\"number\"` to enable built-in increment/decrement buttons. Use `controlsLayout` to choose between stacked (`'vertical'`, default) and split (`'horizontal'`) placement, and `controlsIcon` to pick arrow vs. plus/minus glyphs. Use `min`, `max`, and `step` to constrain the legal range.\n\n```html\n<!-- Stacked (default) - arrow glyphs -->\n<mds-input\n name=\"quantita\"\n type=\"number\"\n min=\"1\"\n max=\"99\"\n step=\"1\"\n placeholder=\"1\"\n></mds-input>\n\n<!-- Horizontal split - arithmetic glyphs -->\n<mds-input\n name=\"quantita\"\n type=\"number\"\n min=\"0\"\n max=\"100\"\n controls-layout=\"horizontal\"\n controls-icon=\"arithmetic\"\n placeholder=\"0\"\n></mds-input>\n```\n\n#### Password Input\n\nSet `type=\"password\"` to render a masked field with a built-in visibility toggle. The component renders a custom dot-mask overlay and a show/hide button - no extra wiring is needed. Always set `autocomplete` to `new-password` (sign-up, password change) or `current-password` (login): the component default is `autocomplete=\"off\"`, which browsers and password managers ignore on credential fields, but the explicit token is what lets them pair the password with its username field and fill or generate the right value.\n\n```html\n<mds-input\n name=\"password\"\n type=\"password\"\n autocomplete=\"new-password\"\n placeholder=\"Scegli una password\"\n required\n></mds-input>\n```\n\n#### Login Form\n\nPair a username field carrying `autocomplete=\"username\"` with a password field carrying `autocomplete=\"current-password\"` inside a `<form>`, and submit through `<mds-button type=\"submit\">`. The native fields live in the Shadow DOM of each `<mds-input>`: among the password managers tested, Bitwarden, LastPass, Chrome and Edge detect and fill them, Firefox's built-in manager and KeePassXC-Browser do not (they only look at the light DOM).\n\n```html\n<form action=\"/login\" method=\"post\">\n <mds-input-field label=\"Email\">\n <mds-input name=\"username\" type=\"email\" autocomplete=\"username\" required></mds-input>\n </mds-input-field>\n <mds-input-field label=\"Password\">\n <mds-input name=\"password\" type=\"password\" autocomplete=\"current-password\" required></mds-input>\n </mds-input-field>\n\n <mds-button type=\"submit\" label=\"Accedi\" variant=\"primary\" tone=\"strong\"></mds-button>\n</form>\n```\n\n#### Italian-Specific Masked Types\n\n`type=\"cf\"` installs the codice fiscale format and length validators and `type=\"isbn\"` a checksum validator. `type=\"piva\"` accepts 11 digits whose last one is the check digit, without the `IT` prefix or spaces, and `type=\"cc\"` 13 to 19 digits, in groups split by spaces or dashes, that pass the Luhn check of card numbers. A value that breaks the format stops the submit of the form. No type applies a keyboard mask.\n\n```html\n<mds-input name=\"codice_fiscale\" type=\"cf\" placeholder=\"RSSMRA80A01H501Z\"></mds-input>\n<mds-input name=\"partita_iva\" type=\"piva\" placeholder=\"01234567890\"></mds-input>\n```\n\n#### Search Input with Datalist\n\nUse `type=\"search\"` combined with the `datalist` prop to offer autocomplete suggestions from a fixed list. The list is rendered inside the shadow DOM and wired automatically.\n\n```html\n<mds-input\n name=\"comune\"\n type=\"search\"\n placeholder=\"Cerca comune...\"\n></mds-input>\n```\n\n```javascript\n// Pass suggestions as a JavaScript array\ndocument.querySelector('mds-input').datalist = ['Roma', 'Milano', 'Napoli', 'Torino'];\n```\n\n#### Icon Decoration\n\nThe `icon` prop renders an SVG slug from the Magma icon library at the leading edge of the field. The icon is suppressed while `await` is active and the spinner takes its place.\n\n```html\n<mds-input\n name=\"cerca\"\n type=\"search\"\n icon=\"mi/baseline/search\"\n placeholder=\"Cerca...\"\n></mds-input>\n```\n\n#### AI-Assisted Field\n\nSet `variant=\"ai\"` to signal an AI-powered field. When no `icon` prop is present, the component auto-assigns the AI chatbot icon.\n\n```html\n<mds-input\n name=\"prompt\"\n type=\"text\"\n variant=\"ai\"\n placeholder=\"Chiedi qualcosa all'assistente...\"\n></mds-input>\n```\n\n#### Async Loading via `await`\n\nSet the `await` boolean attribute while an async operation (e.g. a lookup) is in flight. The component renders an inline spinner in place of the icon. Remove the attribute when done - do not set `await=\"false\"`.\n\n```html\n<mds-input name=\"codice\" placeholder=\"Verifica in corso...\" await></mds-input>\n```\n\n#### Speech-to-Text Dictation\n\nSet the `mic` boolean attribute to render a dictation button. Starting a dictation clears the current value and writes the recognized speech in its place; the component emits `mdsInputSpeechEnd` when the user stops the dictation. If the Web Speech API is unavailable the button switches to an error state and the value is kept.\n\n```html\n<mds-input\n name=\"note_vocali\"\n type=\"text\"\n mic\n placeholder=\"Parla o scrivi...\"\n></mds-input>\n```\n\n#### Listening to Events\n\nListen for `mdsInputChange` instead of native `input` or `change`: `change` does not cross the shadow boundary, and `input` reports only typing, not the values set by the steppers, the dictation or a script.\n\n```javascript\ndocument.querySelector('mds-input').addEventListener('mdsInputChange', (e) => {\n console.log(e.detail.value);\n});\n\ndocument.querySelector('mds-input').addEventListener('mdsInputValidation', (e) => {\n console.log('valido:', e.detail);\n});\n```\n\n#### Form Participation\n\n`<mds-input>` is form-associated. It submits natively inside a `<form>`; set `name` so the value is included in form data. Its validation is reported to the form too: an empty `required` field, or one that breaks another rule, stops the submit like a native input and shows the error. Add `novalidate` to the `<form>` when your own code validates on submit. A reset brings every field back to its value at load and to its pristine look.\n\n```html\n<form action=\"/salva\" method=\"post\">\n <mds-input name=\"nome\" type=\"text\" placeholder=\"Nome\" required></mds-input>\n <mds-input name=\"cognome\" type=\"text\" placeholder=\"Cognome\" required></mds-input>\n <mds-input name=\"email\" type=\"email\" placeholder=\"Email\" required></mds-input>\n\n <mds-button type=\"submit\" label=\"Invia\" variant=\"primary\" tone=\"strong\"></mds-button>\n <mds-button type=\"reset\" label=\"Annulla\" variant=\"dark\" tone=\"outline\"></mds-button>\n</form>\n```\n\n#### Read-Only Display\n\nUse `readonly` when the value should be visible but not editable. A persistent top tip describes the state, and the field text is auto-selected on focus for easy copying.\n\n```html\n<mds-input\n name=\"codice_riferimento\"\n value=\"REF-2024-00123\"\n readonly\n></mds-input>\n```\n\n#### Styling Customization\n\nStyle the input only through its documented `--mds-input-*` CSS custom properties. Set them on the host or a parent selector. Use the semantic color roles via `rgb(var(--magma-<role>))` so dark mode and high-contrast modes keep working.\n\n```css\n.search-bar mds-input {\n --mds-input-background: rgb(var(--magma-wash-base));\n --mds-input-placeholder-default-color: rgb(var(--magma-text-disabled));\n --mds-input-icon-color: rgb(var(--magma-accent-fg));\n}\n\n/* Textarea: fixed height, allow resize */\n.notes-area mds-input {\n --mds-input-textarea-min-height: 8rem;\n --mds-input-textarea-max-height: 24rem;\n --mds-input-textarea-resize: vertical;\n}\n```\n\n#### Sizing a Field to the Controls Next to It\n\nGive the fields of a row the `size` of the buttons beside them, so they share one height: `sm` 28px, `md` 36px, `lg` 48px (default), the sizes of [`<mds-button>`](../mds-button/AGENTS.md). `<mds-input-select>`, `<mds-input-date>` and `<mds-input-date-range>` take the same values.\n\n```html\n<div class=\"flex items-center gap-200\">\n <mds-input size=\"md\" type=\"search\" icon=\"mi/baseline/search\" placeholder=\"Cerca\"></mds-input>\n <mds-input-select size=\"md\" placeholder=\"Stato\">\n <option value=\"open\">Aperte</option>\n <option value=\"closed\">Chiuse</option>\n </mds-input-select>\n <mds-button size=\"md\" label=\"Filtra\"></mds-button>\n</div>\n```\n\n",
12471
12471
  "3. Antipattern": "Common incorrect uses of `<mds-input>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Use a Raw `<input>` When `<mds-input>` Exists\n\nReaching for a plain `<input>` bypasses theming, validation, tips, accessible state announcements, and form-reset behavior provided by the component.\n\n```html\n<!-- INCORRECT -->\n<input type=\"text\" name=\"nome\" placeholder=\"Nome\" class=\"my-input\">\n\n<!-- CORRECT -->\n<mds-input name=\"nome\" type=\"text\" placeholder=\"Nome\"></mds-input>\n```\n\n#### Do Not Set Boolean Attributes to the String `\"false\"`\n\n`disabled`, `required`, `readonly`, `mic` and `await` are boolean attributes: remove the attribute entirely to turn it off. `mds-input` is form-associated, so as on a native control any value turns them on, `\"false\"` included: this markup renders a disabled, required field.\n\n```html\n<!-- INCORRECT -->\n<mds-input name=\"note\" disabled=\"false\" required=\"false\"></mds-input>\n\n<!-- CORRECT -->\n<mds-input name=\"note\"></mds-input>\n```\n\n#### Do Not Force `variant` for Validation Feedback\n\nThe component drives `variant` to `'success'` or `'error'` automatically on blur when validators are active. Setting `variant` manually overrides the feedback and breaks the visual contract.\n\n```html\n<!-- INCORRECT -->\n<mds-input name=\"codice\" variant=\"error\" tip=\"Valore non valido\"></mds-input>\n\n<!-- CORRECT -->\n<mds-input name=\"codice\" required tip=\"Inserisci un valore valido\"></mds-input>\n```\n\n#### Do Not Listen to Native `input` or `change` Events\n\nThe native `change` event does not cross the shadow boundary, and `input` reports only typing, not the values set by the steppers, the dictation or a script. Use the documented `mdsInputChange` event instead, which fires for every value change.\n\n```javascript\n// INCORRECT\ndocument.querySelector('mds-input').addEventListener('input', (e) => {\n console.log(e.target.value);\n});\n\n// CORRECT\ndocument.querySelector('mds-input').addEventListener('mdsInputChange', (e) => {\n console.log(e.detail.value);\n});\n```\n\n#### Do Not Use `type=\"number\"` Native Browser Spinners and Then Override the Input\n\nThe component renders its own increment/decrement buttons and hides the native browser spinners. Do not try to re-enable them via CSS, and do not add inline JS `stepUp`/`stepDown` calls - use the `controlsLayout` and `controlsIcon` props to configure the built-in controls.\n\n```html\n<!-- INCORRECT -->\n<mds-input type=\"number\" style=\"-moz-appearance: auto;\"></mds-input>\n\n<!-- CORRECT -->\n<mds-input\n type=\"number\"\n controls-layout=\"horizontal\"\n controls-icon=\"arithmetic\"\n min=\"0\"\n max=\"100\"\n></mds-input>\n```\n\n#### Do Not Use a Legacy or Invalid `type` Value\n\n`<mds-input>` accepts a specific set of `type` values: `text`, `email`, `number`, `password`, `search`, `tel`, `url`, `date`, `time`, `textarea`, `cf`, `piva`, `cc`, `isbn`. Supplying anything else (e.g. `\"checkbox\"`, `\"radio\"`, `\"file\"`) is passed straight to the inner native `<input>`, which renders a bare native control that the component neither styles nor reports correctly to the form. Use the dedicated Magma component for those controls.\n\n```html\n<!-- INCORRECT -->\n<mds-input type=\"checkbox\" name=\"accetto\"></mds-input>\n<mds-input type=\"file\" name=\"allegato\"></mds-input>\n\n<!-- CORRECT -->\n<mds-input-switch name=\"accetto\"></mds-input-switch>\n<mds-input-upload name=\"allegato\"></mds-input-upload>\n```\n\n#### Do Not Use `placeholder` as the Accessible Label\n\n`placeholder` disappears on input and is never read as a label by assistive tech. Always pair `<mds-input>` with [`mds-input-field`](../mds-input-field/AGENTS.md) (which shows a visible label and passes it down as the accessible name) or supply `aria-label` directly on the host.\n\n```html\n<!-- INCORRECT -->\n<mds-input name=\"ricerca\" placeholder=\"Cerca per nome\"></mds-input>\n\n<!-- CORRECT -->\n<mds-input-field label=\"Cerca per nome\">\n <mds-input name=\"ricerca\" placeholder=\"Cerca per nome\"></mds-input>\n</mds-input-field>\n```\n\n#### Do Not Pierce the Shadow DOM to Style Internal Parts\n\nThe supported customization surface is `--mds-input-*` CSS custom properties plus the documented shadow parts (`field`, `tip-top`, `tip-bottom`, `tip-count`, `password-toggle-button`, `counter-button-increase`, `counter-button-decrease`, `mic-toggle-button`). Targeting undocumented internals via `>>>` or arbitrary class names couples your code to the Shadow DOM implementation.\n\n```css\n/* INCORRECT */\nmds-input >>> .input {\n border: 2px solid red;\n}\n\n/* CORRECT */\nmds-input {\n --mds-input-ring: 0 0 0 2px rgb(var(--magma-danger-border));\n --mds-input-background: rgb(var(--magma-danger-wash-base));\n}\nmds-input::part(field) {\n font-style: italic;\n}\n```\n"
12472
12472
  },
@@ -16221,7 +16221,7 @@
16221
16221
  }
16222
16222
  ],
16223
16223
  "usage": {
16224
- "1. Description": "The `<mds-input-select>` web component is the Magma Design System single- and multi-choice dropdown control. It wraps a native `<select>` element, adding form association, accessible status feedback, and themed chrome while accepting plain `<option>` elements through its default slot.\n\n#### Semantic Behavior\n\n- **Native select wrapping**: It renders a real `<select>` (exposed as the `select` part) so keyboard, type-ahead, and platform option lists work natively; the host owns theming and status only.\n- **Slotted options**: The default slot accepts `<option>` (and `<optgroup>`) markup; the current selection re-syncs whenever the slotted content changes.\n- **Form association**: The selection is pushed to the host form: a single select submits its `value`, a `multiple` one an entry per selected option under `name`, as a native select. A form reset brings back the selection of load, like a native select: the options the markup marks `selected` (or the placeholder), with the `value` of load on top. Toggling `disabled` removes the value from the submitted form data.\n- **Disabled fieldset**: A disabled `<fieldset>` around the component disables it as `disabled` does, like a native control: it cannot be changed and its value is left out of the form, until the fieldset is enabled.\n- **Form validity**: A `required` select left empty is reported to the form as a native one: it matches `:invalid` and stops the submit, with a message in the page language. A disabled select is left out, and `novalidate` on the `<form>` turns the check off.\n- **Value syncing**: Changing the selection (by user input, the `setValue()` method, or the prop) emits `mdsInputSelectChange` with `{ value, values }` in `detail`: `value` is the first selected option as a string, `values` the values of every selected option, the placeholder left out. A `value` set by code selects its `<option>` alone, as `select.value` does, and a value cleared by code goes back to the placeholder.\n- **Placeholder option**: When `placeholder` is set, a leading empty-value `<option>` is injected as the first entry; if `required` is set that placeholder is disabled so it cannot be re-selected after a valid choice.\n- **Default selection fallback**: With no explicit value, the options the markup marks `selected` become the selection; without them, the placeholder or, with no placeholder, the first option of a single select. A `defaultValue` seeds `value` at load.\n- **Status tip**: A status tip surfaces verbose state - a disabled notice, and for required fields a `required` / `required-success` message that expands while the control has focus.\n\n#### Properties & Visual Configurations\n\nThe `variant` prop applies a status appearance drawn from the shared status ladder in [`agents/variants.md`](../../../../agents/variants.md) - use it to reflect validation outcome (`'error'`, `'success'`, `'warning'`, `'info'`) rather than decorative styling. This component exposes no separate `tone` prop.\n\n- **`size`** sets the height of the field, the same as [`<mds-button>`](../mds-button/AGENTS.md): `sm` 28px, `md` 36px, `lg` 48px (default). Match it to the buttons next to the field, or go smaller in dense layouts (filter bars, table toolbars); the text style stays the same, the padding and the inner arrow scale with it.\n\n#### Other behavioral props\n\n- **`multiple`** turns the control into a multi-select list box: the form gets an entry per selected option and `values` in the `mdsInputSelectChange` detail lists them all, while `value` holds the first one, as `select.value` does. **`rows`** sets how many option rows are visible at once, as the `size` of a native `<select>`: above `1` it shows a list box even without `multiple`. A number in `size`, the row count it used to set, still works as `rows` but warns: it is deprecated and goes in the next major.\n- **`defaultValue`** is the initial selection used to seed the value at load (notably for the React wrapper), distinct from the live `value` that reflects the current choice.\n- **`required`** both enforces a non-empty submission and locks the placeholder option so the empty entry cannot be chosen again.\n",
16224
+ "1. Description": "The `<mds-input-select>` web component is the Magma Design System single- and multi-choice dropdown control. It wraps a native `<select>` element, adding form association, accessible status feedback, and themed chrome while accepting plain `<option>` elements through its default slot.\n\n#### Semantic Behavior\n\n- **Native select wrapping**: It renders a real `<select>` (exposed as the `select` part) so keyboard, type-ahead, and platform option lists work natively; the host owns theming and status only.\n- **Slotted options**: The default slot accepts `<option>` (and `<optgroup>`) markup; the current selection re-syncs whenever the slotted content changes.\n- **Form association**: The selection is pushed to the host form: a single select submits its `value`, a `multiple` one an entry per selected option under `name`, as a native select. A form reset brings back the selection of load, like a native select: the options the markup marks `selected` (or the placeholder), with the `value` of load on top. Toggling `disabled` removes the value from the submitted form data.\n- **Disabled fieldset**: A disabled `<fieldset>` around the component disables it as `disabled` does, like a native control: it cannot be changed and its value is left out of the form, until the fieldset is enabled.\n- **Form validity**: A `required` select left empty is reported to the form as a native one: it matches `:invalid` and stops the submit, with a message in the page language. A disabled select is left out, and `novalidate` on the `<form>` turns the check off.\n- **Value syncing**: Changing the selection (by user input, the `setValue()` method, or the prop) emits `mdsInputSelectChange` with `{ value, values }` in `detail`: `value` is the first selected option as a string, `values` the values of every selected option, the placeholder left out. Like a native `<select>`, it is not emitted on load: the selection the component starts with reaches the form, not the event. A `value` set by code selects its `<option>` alone, as `select.value` does, and a value cleared by code goes back to the placeholder.\n- **Placeholder option**: When `placeholder` is set, a leading empty-value `<option>` is injected as the first entry; if `required` is set that placeholder is disabled so it cannot be re-selected after a valid choice.\n- **Default selection fallback**: With no explicit value, the options the markup marks `selected` become the selection; without them, the placeholder or, with no placeholder, the first option of a single select. A `defaultValue` seeds `value` at load.\n- **Status tip**: A status tip surfaces verbose state - a disabled notice, and for required fields a `required` / `required-success` message that expands while the control has focus.\n\n#### Properties & Visual Configurations\n\nThe `variant` prop applies a status appearance drawn from the shared status ladder in [`agents/variants.md`](../../../../agents/variants.md) - use it to reflect validation outcome (`'error'`, `'success'`, `'warning'`, `'info'`) rather than decorative styling. This component exposes no separate `tone` prop.\n\n- **`size`** sets the height of the field, the same as [`<mds-button>`](../mds-button/AGENTS.md): `sm` 28px, `md` 36px, `lg` 48px (default). Match it to the buttons next to the field, or go smaller in dense layouts (filter bars, table toolbars); the text style stays the same, the padding and the inner arrow scale with it.\n\n#### Other behavioral props\n\n- **`multiple`** turns the control into a multi-select list box: the form gets an entry per selected option and `values` in the `mdsInputSelectChange` detail lists them all, while `value` holds the first one, as `select.value` does. **`rows`** sets how many option rows are visible at once, as the `size` of a native `<select>`: above `1` it shows a list box even without `multiple`. A number in `size`, the row count it used to set, still works as `rows` but warns: it is deprecated and goes in the next major.\n- **`defaultValue`** is the initial selection used to seed the value at load (notably for the React wrapper), distinct from the live `value` that reflects the current choice.\n- **`required`** both enforces a non-empty submission and locks the placeholder option so the empty entry cannot be chosen again.\n",
16225
16225
  "2. Pattern": "Correct and idiomatic ways to use the `<mds-input-select>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the variant / tone ladders documented in [`agents/variants.md`](../../../../agents/variants.md) and the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Basic Select with Placeholder\n\nThe canonical form. Slot plain `<option>` elements as direct children. Set `placeholder` to inject a leading empty-value entry that prompts the user before a choice is made.\n\n```html\n<mds-input-select name=\"categoria\" placeholder=\"Seleziona una categoria...\">\n <option value=\"news\">Notizie</option>\n <option value=\"eventi\">Eventi</option>\n <option value=\"avvisi\">Avvisi</option>\n</mds-input-select>\n```\n\n#### Required Select Inside a Form\n\nAdding `required` enforces a non-empty submission - an empty select stops the submit like a native one - and disables the placeholder option once a valid choice exists, so users cannot revert to the empty entry. Place the component inside a `<form>` - it is form-associated and submits natively.\n\n```html\n<form action=\"/salva\" method=\"post\">\n <mds-input-select name=\"regione\" required placeholder=\"Scegli la regione...\">\n <option value=\"lombardia\">Lombardia</option>\n <option value=\"veneto\">Veneto</option>\n <option value=\"toscana\">Toscana</option>\n </mds-input-select>\n <mds-button type=\"submit\" label=\"Invia\" variant=\"primary\" tone=\"strong\"></mds-button>\n</form>\n```\n\n#### Pre-selected Value via `value`\n\nPass `value` to open the component with a specific option already chosen. The matching `<option>` is marked selected automatically. Use `default-value` instead when the initial selection is set once at load and you do not need live two-way binding (notably in the React wrapper).\n\n```html\n<!-- Live controlled value -->\n<mds-input-select name=\"priorita\" value=\"alta\">\n <option value=\"bassa\">Bassa</option>\n <option value=\"media\">Media</option>\n <option value=\"alta\">Alta</option>\n</mds-input-select>\n\n<!-- Initial seed value for React / SSR -->\n<mds-input-select name=\"priorita\" default-value=\"media\">\n <option value=\"bassa\">Bassa</option>\n <option value=\"media\">Media</option>\n <option value=\"alta\">Alta</option>\n</mds-input-select>\n```\n\n#### Listening to Value Changes\n\nListen to `mdsInputSelectChange` - do not rely on the native `change` event, which may not bubble out of shadow DOM reliably. The event detail carries the chosen value as a string in `value`, and the values of every selected option in `values`.\n\n```html\n<mds-input-select id=\"stato-pratica\" name=\"stato\" placeholder=\"Seleziona stato...\">\n <option value=\"bozza\">Bozza</option>\n <option value=\"in-lavorazione\">In lavorazione</option>\n <option value=\"chiusa\">Chiusa</option>\n</mds-input-select>\n\n<script>\n document.getElementById('stato-pratica')\n .addEventListener('mdsInputSelectChange', (event) => {\n console.log('Nuovo stato:', event.detail.value);\n });\n</script>\n```\n\n#### Programmatic Value via `setValue()`\n\nUse the `setValue()` async method when you need to change the selection from JavaScript after the component has rendered - for example when a related control resets the form state.\n\n```html\n<mds-input-select id=\"provincia\" name=\"provincia\" placeholder=\"Seleziona provincia...\">\n <option value=\"MI\">Milano</option>\n <option value=\"RM\">Roma</option>\n <option value=\"TO\">Torino</option>\n</mds-input-select>\n\n<script>\n async function resetSelezione() {\n const el = document.getElementById('provincia');\n await el.setValue('MI');\n }\n</script>\n```\n\n#### Disabled State\n\nSet `disabled` as a boolean attribute to block interaction and remove the value from the submitted form data. A status tip is shown automatically while the component is disabled.\n\n```html\n<mds-input-select name=\"tipo-contratto\" disabled placeholder=\"Non disponibile\">\n <option value=\"td\">Tempo determinato</option>\n <option value=\"ti\">Tempo indeterminato</option>\n</mds-input-select>\n```\n\n#### Multi-select List Box\n\n`multiple` switches the component to a scrollable list that allows zero or more simultaneous selections. Use `rows` to control how many rows are visible without scrolling (`size` sets the height of the field). Mark the options to preselect with `selected`, as in a native `<select multiple>`. The form submits an entry per selected option under `name`, and `values` in the `mdsInputSelectChange` detail lists them all; `value` holds only the first one, as `select.value` does.\n\n```html\n<mds-input-select name=\"competenze\" multiple rows=\"4\">\n <option value=\"js\" selected>JavaScript</option>\n <option value=\"ts\" selected>TypeScript</option>\n <option value=\"css\">CSS</option>\n <option value=\"html\">HTML</option>\n <option value=\"react\">React</option>\n</mds-input-select>\n```\n\n#### Grouped Options via `<optgroup>`\n\nThe default slot also accepts `<optgroup>` elements. Use them to group related options under a visible label.\n\n```html\n<mds-input-select name=\"comune\" placeholder=\"Seleziona comune...\">\n <optgroup label=\"Lombardia\">\n <option value=\"MI\">Milano</option>\n <option value=\"BS\">Brescia</option>\n </optgroup>\n <optgroup label=\"Veneto\">\n <option value=\"VE\">Venezia</option>\n <option value=\"VR\">Verona</option>\n </optgroup>\n</mds-input-select>\n```\n\n#### Variant for Validation Feedback\n\nSet `variant` to one of the status values (`error`, `success`, `warning`, `info`) to communicate the validation outcome visually. Use this after a form submission or inline validation, not as decorative styling.\n\n```html\n<!-- Errore di validazione -->\n<mds-input-select name=\"tipologia\" variant=\"error\" required placeholder=\"Seleziona tipologia...\">\n <option value=\"A\">Tipo A</option>\n <option value=\"B\">Tipo B</option>\n</mds-input-select>\n\n<!-- Selezione valida confermata -->\n<mds-input-select name=\"tipologia\" variant=\"success\" value=\"A\">\n <option value=\"A\">Tipo A</option>\n <option value=\"B\">Tipo B</option>\n</mds-input-select>\n```\n\n#### Styling Customization\n\nCustomize the component only through its documented `--mds-input-select-*` CSS custom properties. Set them on the host or a parent selector; use the semantic color roles ([`agents/color.md`](../../../../agents/color.md)) so dark mode and high-contrast modes continue to work correctly. `--mds-input-select-variant-color-rgb` takes a bare RGB triplet (`var(--magma-<role>)`, no `rgb()`); the other properties take a color (`rgb(var(--magma-<role>))`). `--mds-input-select-ring` is the ring at rest: on hover and focus the select draws its own 3px ring in the variant color, so the focus stays visible whatever the ring at rest, in dark mode and with more contrast too; change its color through `--mds-input-select-variant-color-rgb`.\n\n```css\n.sidebar-filter mds-input-select {\n --mds-input-select-variant-color-rgb: var(--magma-accent-emphasis);\n --mds-input-select-arrow-icon-hover-color: rgb(var(--magma-accent-fg));\n --mds-input-select-arrow-icon-hover-background-color: rgb(var(--magma-accent-surface-hover));\n --mds-input-select-ring: 0 0 0 2px rgb(var(--magma-accent-emphasis) / 0.8);\n}\n```\n",
16226
16226
  "3. Antipattern": "Common incorrect uses of `<mds-input-select>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Slot Non-Option Elements\n\nThe default slot is reserved for `<option>` and `<optgroup>` elements. The component clones slot children into the inner `<select>`; any other element is copied verbatim and makes the native select malformed.\n\n```html\n<!-- INCORRECT -->\n<mds-input-select name=\"categoria\">\n <div class=\"option-group\">\n <span>Notizie</span>\n <span>Eventi</span>\n </div>\n</mds-input-select>\n\n<!-- CORRECT -->\n<mds-input-select name=\"categoria\" placeholder=\"Seleziona...\">\n <option value=\"news\">Notizie</option>\n <option value=\"eventi\">Eventi</option>\n</mds-input-select>\n```\n\n#### Do Not Listen to the Native `change` Event\n\n`<mds-input-select>` wraps a shadow-DOM `<select>`; the native `change` event does not bubble out of shadow DOM reliably. Always listen to the documented `mdsInputSelectChange` custom event instead.\n\n```html\n<!-- INCORRECT -->\n<mds-input-select id=\"sel\" name=\"tipo\"></mds-input-select>\n<script>\n document.getElementById('sel').addEventListener('change', (e) => {\n console.log(e.target.value); // may be undefined or stale\n });\n</script>\n\n<!-- CORRECT -->\n<mds-input-select id=\"sel\" name=\"tipo\"></mds-input-select>\n<script>\n document.getElementById('sel').addEventListener('mdsInputSelectChange', (e) => {\n console.log(e.detail.value);\n });\n</script>\n```\n\n#### Do Not Use `variant` for Decorative Styling\n\n`variant` maps to `ThemeStatusVariantType` (`error`, `success`, `warning`, `info`). It is meant to communicate a validation outcome, not to apply a brand color. Using a status variant to make the component visually match a section's color theme misleads users about the control's validation state.\n\n```html\n<!-- INCORRECT - using 'info' just for a blue accent -->\n<mds-input-select name=\"argomento\" variant=\"info\">\n <option value=\"A\">Argomento A</option>\n</mds-input-select>\n\n<!-- CORRECT - set variant only to reflect real validation state -->\n<mds-input-select name=\"argomento\" variant=\"error\" required placeholder=\"Obbligatorio\">\n <option value=\"A\">Argomento A</option>\n</mds-input-select>\n```\n\n#### Do Not Pierce the Shadow DOM to Style the Inner `<select>`\n\nThe supported customization surface is the documented `--mds-input-select-*` CSS custom properties and the two shadow parts (`select`, `tip-top`). Targeting internal elements with `>>>` or undocumented selectors couples your code to the implementation and breaks on minor releases.\n\n```css\n/* INCORRECT */\nmds-input-select >>> select {\n font-size: 1rem;\n border: 2px solid red;\n}\n\n/* CORRECT */\nmds-input-select {\n --mds-input-select-ring: 0 0 0 2px rgb(var(--magma-danger-emphasis));\n --mds-input-select-variant-color-rgb: var(--magma-danger-emphasis);\n}\nmds-input-select::part(select) {\n font-size: 1rem;\n}\n```\n\n#### Do Not Set `placeholder` When You Need a Real Default Selection\n\n`placeholder` injects an empty-value leading option that disappears from valid choices once `required` is set. If you want the component to open with a specific option pre-selected, use `value` or `default-value` instead.\n\n```html\n<!-- INCORRECT - a real value supplied as placeholder text -->\n<mds-input-select name=\"priorita\" placeholder=\"Media\">\n <option value=\"bassa\">Bassa</option>\n <option value=\"media\">Media</option>\n <option value=\"alta\">Alta</option>\n</mds-input-select>\n\n<!-- CORRECT - use value to pre-select a real option -->\n<mds-input-select name=\"priorita\" value=\"media\">\n <option value=\"bassa\">Bassa</option>\n <option value=\"media\">Media</option>\n <option value=\"alta\">Alta</option>\n</mds-input-select>\n```\n\n#### Do Not Replace with a Raw `<select>`\n\n`<mds-input-select>` provides theming, accessible status tips, form-reset integration, and dark/high-contrast support. Reaching for a plain `<select>` bypasses all of that and breaks visual consistency across themes.\n\n```html\n<!-- INCORRECT -->\n<select name=\"categoria\" class=\"form-select\">\n <option value=\"\">Seleziona...</option>\n <option value=\"A\">Categoria A</option>\n</select>\n\n<!-- CORRECT -->\n<mds-input-select name=\"categoria\" placeholder=\"Seleziona...\">\n <option value=\"A\">Categoria A</option>\n</mds-input-select>\n```\n"
16227
16227
  },
@@ -18179,7 +18179,7 @@
18179
18179
  }
18180
18180
  ],
18181
18181
  "usage": {
18182
- "1. Description": "The `<mds-keyboard>` web component renders a keyboard shortcut as a row of physical-looking keycaps, acting as the compound parent for one or more slotted `<mds-keyboard-key>` children. It has no direct HTML equivalent; it visualizes a key combination (e.g. `Ctrl + C`) and can optionally let the user verify that combination by typing it.\n\n#### Semantic Behavior\n\n- **Default slot is the key sequence**: The component projects slotted `<mds-keyboard-key>` elements and automatically inserts a `+` separator between consecutive keys.\n- **Compound parent**: It reads each child key's `name` to build the expected combination; during a test the children are toggled to their `pressed` state.\n- **Test mode (`try`)**: When enabled the component appends a trigger button and a tooltip; clicking the button captures keystrokes and, at the first key release, compares the typed combination against the slotted keys, in any order.\n- **Result feedback**: A pass shows a \"done\" icon, a fail shows a \"close\" icon, and the tooltip surfaces the localized success or error message; the outcome is also reflected on the host via the `test` attribute.\n- **Localization**: Trigger label, tooltip copy, and error messages resolve through the locale system (el/en/es/it).\n\n#### Properties & Visual Configurations\n\nThis component does not use the shared `variant` / `tone` ladders from [`agents/variants.md`](../../../../agents/variants.md).\n\n#### Other behavioral props\n\n- **`try`** opts the keyboard into interactive verification mode. Enable it only when you want the user to be able to confirm a shortcut by typing it; leave it unset for a purely presentational shortcut display.\n- **`test`** reflects the verification outcome (`'pass'` / `'fail'`) onto the host. It is primarily driven by the test flow and is mainly useful as a styling/state hook rather than a value you set yourself.\n",
18182
+ "1. Description": "The `<mds-keyboard>` web component renders a keyboard shortcut as a row of physical-looking keycaps, acting as the compound parent for one or more slotted `<mds-keyboard-key>` children. It has no direct HTML equivalent; it visualizes a key combination (e.g. `Ctrl + C`) and can optionally let the user verify that combination by typing it.\n\n#### Semantic Behavior\n\n- **Default slot is the key sequence**: The component projects slotted `<mds-keyboard-key>` elements and automatically inserts a `+` separator between consecutive keys.\n- **Compound parent**: It reads each child key's `name` to build the expected combination; during a test the children are toggled to their `pressed` state.\n- **Test mode (`try`)**: When enabled the component appends a trigger button and a tooltip; clicking the button (or pressing Enter or Space on it) captures keystrokes and, at the first release of a key pressed during the test, compares the typed combination against the slotted keys, in any order. The release of the key that started the test is not part of it.\n- **Result feedback**: A pass shows a \"done\" icon, a fail shows a \"close\" icon, and the tooltip surfaces the localized success or error message; the outcome is also reflected on the host via the `test` attribute.\n- **Localization**: Trigger label, tooltip copy, and error messages resolve through the locale system (el/en/es/it).\n\n#### Properties & Visual Configurations\n\nThis component does not use the shared `variant` / `tone` ladders from [`agents/variants.md`](../../../../agents/variants.md).\n\n#### Other behavioral props\n\n- **`try`** opts the keyboard into interactive verification mode. Enable it only when you want the user to be able to confirm a shortcut by typing it; leave it unset for a purely presentational shortcut display.\n- **`test`** reflects the verification outcome (`'pass'` / `'fail'`) onto the host. It is primarily driven by the test flow and is mainly useful as a styling/state hook rather than a value you set yourself.\n",
18183
18183
  "2. Pattern": "Correct and idiomatic ways to use the `<mds-keyboard>` component, ordered from most common to most specialized. Patterns assume a working knowledge of the shared component rules in [`agents/conventions.md`](../../../../agents/conventions.md).\n\n#### Single Key Display\n\nThe simplest use: one `<mds-keyboard-key>` child inside `<mds-keyboard>`. The `name` attribute selects a key from the built-in key dictionary; the component renders the physical-looking keycap with the key's alias (e.g. `F1`, `Ctrl`).\n\n```html\n<mds-keyboard>\n <mds-keyboard-key name=\"f1\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Multi-Key Shortcut Combination\n\nSlot two or more `<mds-keyboard-key>` elements. The component automatically inserts a `+` separator between consecutive keys, so you never need to add it manually.\n\n```html\n<mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"s\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Specifying Key Side (Left / Right Modifier)\n\nUse the side-specific `name` values (`controlleft`, `controlright`, `shiftleft`, `shiftright`, `commandleft`, `commandright`, etc.) when the shortcut must be typed with a specific hand. The keycap renders a small positional indicator.\n\n```html\n<!-- Only the left Shift key is accepted during a test -->\n<mds-keyboard try>\n <mds-keyboard-key name=\"shiftleft\"></mds-keyboard-key>\n <mds-keyboard-key name=\"d\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Interactive Verification Mode (`try`)\n\nAdd the `try` attribute to let the user confirm the shortcut by typing it. A trigger button appears; clicking it puts the component into capture mode. The keys can be pressed in any order, all held down together: at the first key release the component reflects the outcome (`pass` / `fail`) on the `test` attribute and shows a localized tooltip.\n\n```html\n<mds-keyboard try>\n <mds-keyboard-key name=\"command\"></mds-keyboard-key>\n <mds-keyboard-key name=\"z\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Shortcut Reference Table\n\nEmbed `<mds-keyboard>` inside a `<mds-table>` to build a keyboard-shortcut reference sheet. Each row pairs the visual shortcut with its description.\n\n```html\n<mds-table>\n <mds-table-header>\n <mds-table-header-cell label=\"Combinazione\"></mds-table-header-cell>\n <mds-table-header-cell label=\"Azione\"></mds-table-header-cell>\n </mds-table-header>\n <mds-table-body>\n <mds-table-row>\n <mds-table-cell>\n <mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"c\"></mds-keyboard-key>\n </mds-keyboard>\n </mds-table-cell>\n <mds-table-cell><mds-text>Copia</mds-text></mds-table-cell>\n </mds-table-row>\n <mds-table-row>\n <mds-table-cell>\n <mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"v\"></mds-keyboard-key>\n </mds-keyboard>\n </mds-table-cell>\n <mds-table-cell><mds-text>Incolla</mds-text></mds-table-cell>\n </mds-table-row>\n <mds-table-row>\n <mds-table-cell>\n <mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"z\"></mds-keyboard-key>\n </mds-keyboard>\n </mds-table-cell>\n <mds-table-cell><mds-text>Annulla</mds-text></mds-table-cell>\n </mds-table-row>\n </mds-table-body>\n</mds-table>\n```\n\n#### Reading the `test` Outcome Attribute\n\nWhen `try` is set the `test` attribute is reflected onto the host as `\"pass\"` or `\"fail\"` after each attempt. Use it as a CSS attribute selector, or observe the attribute from JavaScript to drive follow-on UI (the component emits no event).\n\n```html\n<mds-keyboard id=\"shortcut-ctrl-s\" try>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"s\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n```javascript\nconst keyboard = document.querySelector('#shortcut-ctrl-s');\nnew MutationObserver(() => {\n if (keyboard.getAttribute('test') === 'pass') {\n console.log('Combinazione corretta!');\n }\n}).observe(keyboard, { attributes: true, attributeFilter: ['test'] });\n```\n\n#### Styling Customization\n\nAdjust colors and lighting only through the documented `--mds-keyboard-*` CSS custom properties. Use the semantic color roles via `rgb(var(--magma-<role>))` ([`agents/color.md`](../../../../agents/color.md)) so dark mode continues to work.\n\n```css\n.custom-keyboard mds-keyboard {\n --mds-keyboard-background: rgb(var(--magma-surface-inverse));\n --mds-keyboard-color: rgb(var(--magma-on-inverse));\n --mds-keyboard-key-background: rgb(var(--magma-surface-inverse-muted));\n --mds-keyboard-padding: calc(var(--spacing) * 300);\n}\n```\n",
18184
18184
  "3. Antipattern": "Common incorrect uses of `<mds-keyboard>`. Each entry pairs the wrong form with the right one and a one-line reason. System-wide rules (boolean-as-string, shadow piercing, Tailwind color utilities, raw native event listening) live in [`agents/anti-patterns.md`](../../../../agents/anti-patterns.md) - they apply here too but are not repeated.\n\n#### Do Not Slot Raw Text or `<kbd>` Elements\n\nThe default slot expects `<mds-keyboard-key>` children only. Slotting plain text, `<kbd>`, or other HTML breaks the separator injection logic and the test-mode key matching.\n\n```html\n<!-- INCORRECT -->\n<mds-keyboard>\n <kbd>Ctrl</kbd>\n <kbd>S</kbd>\n</mds-keyboard>\n\n<!-- CORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"s\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Do Not Add `+` Separators Manually\n\nThe component inserts a styled `+` between consecutive keys automatically. Adding your own separator duplicates it and breaks the visual rhythm.\n\n```html\n<!-- INCORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <span>+</span>\n <mds-keyboard-key name=\"c\"></mds-keyboard-key>\n</mds-keyboard>\n\n<!-- CORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"control\"></mds-keyboard-key>\n <mds-keyboard-key name=\"c\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Do Not Set `try=\"false\"` to Disable Test Mode\n\n`try` is a boolean attribute: remove it (or leave it unset) to keep the component in display-only mode. A string value is fragile: `\"false\"` is read as `false` on this component, but the attribute stays on the element until the component renders (attribute selectors and scripts reading it see it set). Never write a boolean as a string.\n\n```html\n<!-- INCORRECT -->\n<mds-keyboard try=\"false\">\n <mds-keyboard-key name=\"escape\"></mds-keyboard-key>\n</mds-keyboard>\n\n<!-- CORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"escape\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Do Not Set `test` as a Static Attribute to Signal State\n\n`test` is a reflected output prop driven by the component's own verification flow. Setting it as a static HTML attribute paints the pass / fail state without any attempt behind it, and the next attempt overwrites it.\n\n```html\n<!-- INCORRECT -->\n<mds-keyboard test=\"pass\">\n <mds-keyboard-key name=\"enter\"></mds-keyboard-key>\n</mds-keyboard>\n\n<!-- CORRECT -->\n<mds-keyboard try>\n <mds-keyboard-key name=\"enter\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Do Not Use `<mds-keyboard-key>` Outside `<mds-keyboard>`\n\n`<mds-keyboard-key>` is a compound child and communicates with the parent via the Stencil DOM tree. Rendering it standalone loses the compound layout, the `+` separator, and test-mode driven `pressed` toggling.\n\n```html\n<!-- INCORRECT -->\n<mds-keyboard-key name=\"tab\"></mds-keyboard-key>\n\n<!-- CORRECT -->\n<mds-keyboard>\n <mds-keyboard-key name=\"tab\"></mds-keyboard-key>\n</mds-keyboard>\n```\n\n#### Do Not Customize Colors with Raw CSS Values Instead of Tokens\n\nSetting `--mds-keyboard-background` or `--mds-keyboard-key-background` to a raw hex or `rgba()` literal bypasses the palette layer and breaks dark mode. Always use a semantic color role, `rgb(var(--magma-<role>))` ([`agents/color.md`](../../../../agents/color.md)).\n\n```css\n/* INCORRECT */\nmds-keyboard {\n --mds-keyboard-background: #1a1a2e;\n --mds-keyboard-key-background: #16213e;\n}\n\n/* CORRECT */\nmds-keyboard {\n --mds-keyboard-background: rgb(var(--magma-surface-inverse));\n --mds-keyboard-key-background: rgb(var(--magma-surface-inverse-muted));\n}\n```\n"
18185
18185
  },
@@ -1,5 +1,5 @@
1
1
  import { a as setValidity } from './form-wI0alRSO.js';
2
- import { L as Locale } from './locale-BQmO6K_S.js';
2
+ import { L as Locale } from './locale-B6cOkl4I.js';
3
3
 
4
4
  const cardNumber$3 = "Εισαγάγετε έναν έγκυρο αριθμό κάρτας.";
5
5
  const email$3 = "Εισαγάγετε μια διεύθυνση email.";
@@ -769,10 +769,18 @@ class Locale {
769
769
  this.set = (configData) => {
770
770
  this.config = configData;
771
771
  };
772
+ /**
773
+ * The texts of a language: its own, those of its base language, or the ones of
774
+ * `rollbackLanguage`. The page can name a region (`it-IT`), the config only has languages (`it`).
775
+ */
776
+ this.texts = (language) => {
777
+ var _a, _b;
778
+ const configs = this.config;
779
+ const code = language.toLowerCase();
780
+ return (_b = (_a = configs[code]) !== null && _a !== void 0 ? _a : configs[code.split(/[-_]/)[0]]) !== null && _b !== void 0 ? _b : configs[this.rollbackLanguage];
781
+ };
772
782
  this.pluralize = (tag, context, language) => {
773
- const languagePhrase = this.config[language]
774
- ? this.config[language][tag]
775
- : this.config[this.rollbackLanguage][tag];
783
+ const languagePhrase = this.texts(language)[tag];
776
784
  const phrases = [];
777
785
  if (Array.isArray(languagePhrase)) {
778
786
  phrases.push(languagePhrase[0]);
@@ -801,9 +809,7 @@ class Locale {
801
809
  if (context) {
802
810
  return this.pluralize(tag, context, language);
803
811
  }
804
- return this.config[language]
805
- ? this.config[language][tag]
806
- : this.config[this.rollbackLanguage][tag];
812
+ return this.texts(language)[tag];
807
813
  };
808
814
  if (configData) {
809
815
  this.set(configData);
@@ -3,7 +3,7 @@ import { h as hasChildWithSlot } from './slot-AEckDMXh.js';
3
3
  import { c as clsx } from './clsx-ChV9xqsO.js';
4
4
  import { m as miBaselineClose } from './close-J-ikDhyq.js';
5
5
  import { K as KeyboardManager } from './keyboard-manager-CGrPq3C4.js';
6
- import { L as Locale } from './locale-BQmO6K_S.js';
6
+ import { L as Locale } from './locale-B6cOkl4I.js';
7
7
  import { p as preferenceStore } from './preference-C5XjgGCb.js';
8
8
  import { m as miBaselineCancel } from './cancel-BJ8rpzfj.js';
9
9
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, h, e as Host, g as getElement } from './index-CvLLN-QH.js';
2
2
  import { m as miBaselineArrowBack } from './arrow-back-DnEUG7st.js';
3
- import { L as Locale } from './locale-BQmO6K_S.js';
3
+ import { L as Locale } from './locale-B6cOkl4I.js';
4
4
  import './preference-C5XjgGCb.js';
5
5
 
6
6
  const back$3 = "Πήγαινε πίσω";
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, d as createEvent, h, e as Host, g as getElement } from './index-CvLLN-QH.js';
2
2
  import { m as miBaselineKeyboardArrowDown } from './keyboard-arrow-down-DiWN48aq.js';
3
3
  import { r as requestSubmitAs } from './form-wI0alRSO.js';
4
- import { L as Locale } from './locale-BQmO6K_S.js';
4
+ import { L as Locale } from './locale-B6cOkl4I.js';
5
5
  import './preference-C5XjgGCb.js';
6
6
 
7
7
  const moreActions$3 = "Περισσότερες ενέργειες";
@@ -4,7 +4,7 @@ import { p as preferenceStore } from './preference-C5XjgGCb.js';
4
4
  import { s as sanitizeISO8601Date } from './date-CACEYk42.js';
5
5
  import { h as hasChildWithSlot } from './slot-AEckDMXh.js';
6
6
  import { c as clsx } from './clsx-ChV9xqsO.js';
7
- import { L as Locale } from './locale-BQmO6K_S.js';
7
+ import { L as Locale } from './locale-B6cOkl4I.js';
8
8
 
9
9
  var miBaselineForwardIos = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.23 20.23L8 22l10-10L8 2L6.23 3.77L14.46 12z"/></svg>`;
10
10
 
@@ -6198,7 +6198,7 @@ var simiSvg = `<svg width="440" height="440" viewBox="0 0 440 440" fill="none" x
6198
6198
  </svg>
6199
6199
  `;
6200
6200
 
6201
- const mdsEmojiCss = () => `@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-emoji-expression-follow-mouse-traits-duration:var(--duration-200,.2s);--mds-emoji-expression-follow-mouse-head-duration:var(--duration-300,.3s);--mds-emoji-expression-max-rotation:16deg;--mds-emoji-perspective:calc(var(--spacing,.0025rem)*10000);align-items:stretch;aspect-ratio:1;display:flex;height:calc(var(--spacing,.0025rem)*1200);justify-content:stretch;perspective:var(--mds-emoji-perspective,calc(var(--spacing,.0025rem)*10000));perspective-origin:50%;width:calc(var(--spacing,.0025rem)*1200)}svg{height:100%;overflow:visible;transform-style:preserve-3d;transition:transform var(--duration-200,.2s) ease-out;width:100%}:host([name=mia]){--mds-emoji-mia-eyes-color:rgb(var(--magma-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242)));--mds-emoji-mia-hands-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-emoji-mia-head-color:rgb(var(--magma-accent-ai-surface-hover,var(--variant-ai-08,219 205 252)));--mds-emoji-mia-head-stroke-color:rgb(var(--magma-accent-ai-border,var(--variant-ai-06,184 156 250)));--mds-emoji-mia-head-stroke-width:0px;--mds-emoji-mia-mouth-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-emoji-offset-eyes:1px;--mds-emoji-offset-gadget:1px;--mds-emoji-offset-hands:2px;--mds-emoji-offset-head:0;--mds-emoji-offset-mouth:1px;container-type:size}:host([name=simi]){--mds-emoji-offset-ears:0;--mds-emoji-offset-eyebrows:10px;--mds-emoji-offset-eyes:7px;--mds-emoji-offset-gadget:14px;--mds-emoji-offset-hands:18px;--mds-emoji-offset-head:5px;--mds-emoji-offset-mouth:16px;--mds-emoji-simi-eye-light:#fff;--mds-emoji-simi-eye:#40281b;--mds-emoji-simi-eyebrow:#feefd8;--mds-emoji-simi-gadget:#2b1c15;--mds-emoji-simi-mouth-teeth:#fff;--mds-emoji-simi-mouth-throat:#c3481b;--mds-emoji-simi-mouth:#2b1c15;--mds-emoji-simi-nose-light:#7e695f;--mds-emoji-simi-nose:#2b1c15;--mds-emoji-simi-outline:#2b1c15;--mds-emoji-simi-skin-dark:#c3481b;--mds-emoji-simi-skin-light:#feefd8;--mds-emoji-simi-skin:#f36320}`;
6201
+ const mdsEmojiCss = () => `@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-emoji-expression-follow-mouse-traits-duration:var(--duration-200,.2s);--mds-emoji-expression-follow-mouse-head-duration:var(--duration-300,.3s);--mds-emoji-expression-max-rotation:16deg;--mds-emoji-perspective:calc(var(--spacing,.0025rem)*10000);align-items:stretch;aspect-ratio:1;display:flex;height:calc(var(--spacing,.0025rem)*1200);justify-content:stretch;perspective:var(--mds-emoji-perspective,calc(var(--spacing,.0025rem)*10000));perspective-origin:50%;width:calc(var(--spacing,.0025rem)*1200)}svg{height:100%;overflow:visible;transition:transform var(--duration-200,.2s) ease-out;width:100%}:host([name=mia]){--mds-emoji-mia-eyes-color:rgb(var(--magma-accent-ai-emphasis-hover,var(--variant-ai-03,87 20 242)));--mds-emoji-mia-hands-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-emoji-mia-head-color:rgb(var(--magma-accent-ai-surface-hover,var(--variant-ai-08,219 205 252)));--mds-emoji-mia-head-stroke-color:rgb(var(--magma-accent-ai-border,var(--variant-ai-06,184 156 250)));--mds-emoji-mia-head-stroke-width:0px;--mds-emoji-mia-mouth-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-emoji-offset-eyes:1px;--mds-emoji-offset-gadget:1px;--mds-emoji-offset-hands:2px;--mds-emoji-offset-head:0;--mds-emoji-offset-mouth:1px;container-type:size}:host([name=simi]){--mds-emoji-offset-ears:0;--mds-emoji-offset-eyebrows:10px;--mds-emoji-offset-eyes:7px;--mds-emoji-offset-gadget:14px;--mds-emoji-offset-hands:18px;--mds-emoji-offset-head:5px;--mds-emoji-offset-mouth:16px;--mds-emoji-simi-eye-light:#fff;--mds-emoji-simi-eye:#40281b;--mds-emoji-simi-eyebrow:#feefd8;--mds-emoji-simi-gadget:#2b1c15;--mds-emoji-simi-mouth-teeth:#fff;--mds-emoji-simi-mouth-throat:#c3481b;--mds-emoji-simi-mouth:#2b1c15;--mds-emoji-simi-nose-light:#7e695f;--mds-emoji-simi-nose:#2b1c15;--mds-emoji-simi-outline:#2b1c15;--mds-emoji-simi-skin-dark:#c3481b;--mds-emoji-simi-skin-light:#feefd8;--mds-emoji-simi-skin:#f36320}`;
6202
6202
 
6203
6203
  const MdsEmoji = class {
6204
6204
  constructor(hostRef) {
@@ -3,7 +3,7 @@ import { m as miBaselineCancel } from './cancel-BJ8rpzfj.js';
3
3
  import { K as KeyboardManager } from './keyboard-manager-CGrPq3C4.js';
4
4
  import { c as clsx } from './clsx-ChV9xqsO.js';
5
5
  import { f as fileDescriptionLocaleIt, a as fileDescriptionLocaleEs, b as fileDescriptionLocaleEn, c as fileDescriptionLocaleEl, g as getExtensionInfos, d as getSuffix, e as getFormatsVariant } from './locale.it-Diyps98n.js';
6
- import { L as Locale } from './locale-BQmO6K_S.js';
6
+ import { L as Locale } from './locale-B6cOkl4I.js';
7
7
  import { p as preferenceStore } from './preference-C5XjgGCb.js';
8
8
  import './file-extensions-BxIk5ZFV.js';
9
9
  import './panorama-b1ORvfSX.js';
@@ -2,7 +2,7 @@ import { r as registerInstance, d as createEvent, h, e as Host, g as getElement,
2
2
  import { f as fileDescriptionLocaleIt, a as fileDescriptionLocaleEs, b as fileDescriptionLocaleEn, c as fileDescriptionLocaleEl, g as getExtensionInfos, d as getSuffix, h as getName, e as getFormatsVariant } from './locale.it-Diyps98n.js';
3
3
  import { s as setAttributeIfEmpty } from './aria-Cvhn9asj.js';
4
4
  import { K as KeyboardManager } from './keyboard-manager-CGrPq3C4.js';
5
- import { L as Locale } from './locale-BQmO6K_S.js';
5
+ import { L as Locale } from './locale-B6cOkl4I.js';
6
6
  import { p as preferenceStore } from './preference-C5XjgGCb.js';
7
7
  import './file-extensions-BxIk5ZFV.js';
8
8
  import './panorama-b1ORvfSX.js';
@@ -3,7 +3,7 @@ import { K as KeyboardManager } from './keyboard-manager-CGrPq3C4.js';
3
3
  import { p as preferenceStore } from './preference-C5XjgGCb.js';
4
4
  import { i as isIconFormatIsSVG, a as isIconFormatIsBase64 } from './icon-B7RVWU-q.js';
5
5
  import { u as unslugName } from './aria-Cvhn9asj.js';
6
- import { L as Locale } from './locale-BQmO6K_S.js';
6
+ import { L as Locale } from './locale-B6cOkl4I.js';
7
7
 
8
8
  const result$3 = "{{count}} αποτέλεσμα";
9
9
  const results$3 = "{{count}} αποτελέσματα";
@@ -2,7 +2,7 @@ import { r as registerInstance, d as createEvent, h, e as Host, g as getElement,
2
2
  import { c as clsx } from './clsx-ChV9xqsO.js';
3
3
  import { p as preferenceStore } from './preference-C5XjgGCb.js';
4
4
  import { m as miBaselineClose } from './close-J-ikDhyq.js';
5
- import { L as Locale } from './locale-BQmO6K_S.js';
5
+ import { L as Locale } from './locale-B6cOkl4I.js';
6
6
 
7
7
  const clearFilters$3 = "Εκκαθάριση φίλτρων";
8
8
  var localeEl = {
@@ -2,7 +2,7 @@ import { r as registerInstance, d as createEvent, h, e as Host, g as getElement
2
2
  import { h as hasChildWithSlot } from './slot-AEckDMXh.js';
3
3
  import { c as clsx } from './clsx-ChV9xqsO.js';
4
4
  import { p as preferenceStore } from './preference-C5XjgGCb.js';
5
- import { L as Locale } from './locale-BQmO6K_S.js';
5
+ import { L as Locale } from './locale-B6cOkl4I.js';
6
6
 
7
7
  var miRoundMenu = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z"/></svg>`;
8
8
 
@@ -3,7 +3,7 @@ import { m as miBaselineArrowBack } from './arrow-back-DnEUG7st.js';
3
3
  import { m as miBaselineArrowForward } from './arrow-forward-Bd0uuNDE.js';
4
4
  import { c as clsx } from './clsx-ChV9xqsO.js';
5
5
  import { a as cssSizeToNumber } from './unit-CWk1SCJg.js';
6
- import { L as Locale } from './locale-BQmO6K_S.js';
6
+ import { L as Locale } from './locale-B6cOkl4I.js';
7
7
  import './preference-C5XjgGCb.js';
8
8
 
9
9
  const scrollBack$3 = "Κύλιση προς τα πίσω";
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, d as createEvent, h, e as Host, g as getElement } from './index-CvLLN-QH.js';
2
2
  import { m as miBaselinePanorama } from './panorama-b1ORvfSX.js';
3
3
  import { m as miBaselineBrokenImage } from './broken-image-0FAG3rkw.js';
4
- import { L as Locale } from './locale-BQmO6K_S.js';
4
+ import { L as Locale } from './locale-B6cOkl4I.js';
5
5
  import { p as preferenceStore } from './preference-C5XjgGCb.js';
6
6
 
7
7
  const clickToLoad$3 = "Φόρτωση εικόνας";
@@ -4,7 +4,7 @@ import { s as setFormValue } from './form-wI0alRSO.js';
4
4
  import { m as miBaselineCalendarToday } from './calendar-today-BVQMG7KJ.js';
5
5
  import { D as DateTime } from './luxon-DbyXf6dF.js';
6
6
  import { c as clsx } from './clsx-ChV9xqsO.js';
7
- import { L as Locale } from './locale-BQmO6K_S.js';
7
+ import { L as Locale } from './locale-B6cOkl4I.js';
8
8
  import { p as preferenceStore } from './preference-C5XjgGCb.js';
9
9
 
10
10
  const endDate$3 = "Ημερομηνία λήξης";
@@ -1,10 +1,10 @@
1
1
  import { r as registerInstance, d as createEvent, h, e as Host, g as getElement } from './index-CvLLN-QH.js';
2
2
  import { s as setFormValue } from './form-wI0alRSO.js';
3
- import { u as updateValidity } from './index-D2_gI0qp.js';
3
+ import { u as updateValidity } from './index-BJVvHlvf.js';
4
4
  import { m as miBaselineCalendarToday } from './calendar-today-BVQMG7KJ.js';
5
5
  import { D as DateTime } from './luxon-DbyXf6dF.js';
6
6
  import { p as preferenceStore } from './preference-C5XjgGCb.js';
7
- import { L as Locale } from './locale-BQmO6K_S.js';
7
+ import { L as Locale } from './locale-B6cOkl4I.js';
8
8
 
9
9
  const openCalendar$3 = "Άνοιγμα ημερολογίου";
10
10
  var localeEl = {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, e as Host, g as getElement } from './index-CvLLN-QH.js';
2
2
  import { s as setFormValue } from './form-wI0alRSO.js';
3
- import { L as Locale } from './locale-BQmO6K_S.js';
3
+ import { L as Locale } from './locale-B6cOkl4I.js';
4
4
  import './preference-C5XjgGCb.js';
5
5
 
6
6
  const digit$3 = "Ψηφίο {{position}} από {{length}}";
@@ -2,7 +2,7 @@ import { r as registerInstance, d as createEvent, h, e as Host, g as getElement
2
2
  import { s as setFormValue } from './form-wI0alRSO.js';
3
3
  import { p as preferenceStore } from './preference-C5XjgGCb.js';
4
4
 
5
- const mdsInputRangeCss = () => `@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-range-transition-duration:var(--duration-300,.3s);--private-input-range-transition-duration:var(--mds-input-range-transition-duration);--mds-input-range-thumb-background-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-thumb-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-input-range-thumb-cursor:col-resize;--mds-input-range-thumb-size:calc(var(--spacing,.0025rem)*400);--mds-input-range-track-background-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-track-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-track-progress-background-disabled:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-input-range-track-size:calc(var(--spacing,.0025rem)*600);--private-border-width:calc(var(--mds-input-range-track-size)/2 - var(--mds-input-range-thumb-size)/2);--private-thumb-size:calc(var(--mds-input-range-thumb-size) + var(--private-border-width)*2);display:grid;gap:calc(var(--spacing,.0025rem)*200);transition-duration:var(--private-input-range-transition-duration);transition-property:color;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1))}.header{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.value{margin-left:auto}.range{align-items:center;display:flex;height:var(--private-thumb-size);position:relative}.track{box-sizing:border-box;position:absolute;width:100%}.field{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));appearance:none;background-color:#0000;border-radius:var(--magma-radius-full,var(--radius-full,1000px));flex-grow:1;height:calc(var(--spacing,.0025rem)*400);margin:0;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;z-index:20}.field:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.field::-webkit-slider-thumb{appearance:none;background-color:var(--mds-input-range-thumb-background);border-color:var(--mds-input-range-track-progress-background);border-radius:var(--mds-input-range-thumb-size);border-style:solid;border-width:var(--private-border-width);cursor:var(--mds-input-range-thumb-cursor);height:var(--private-thumb-size);line-height:0;transform:translateY(-50%);transition-property:background-color,border;width:var(--private-thumb-size)}.field::-webkit-slider-runnable-track{appearance:none;border:0;height:0;width:100%}.track-progress{background-color:var(--mds-input-range-track-progress-background);width:calc((100% - var(--mds-input-range-track-size))*(var(--mds-input-range-progress,0)*0.01) + var(--mds-input-range-track-size)/2)}.track-progress,.track-total{display:flex;height:var(--mds-input-range-track-size);transition-duration:var(--private-input-range-transition-duration);transition-property:background-color}.track-total{background-color:var(--mds-input-range-track-background);overflow:hidden;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1));width:100%}.contrast-area,.track-total{border-radius:var(--mds-input-range-track-size)}.contrast-area{margin-left:calc(var(--spacing,.0025rem)*100);margin-right:calc(var(--spacing,.0025rem)*100)}:host(:disabled:not([disabled=false])),:host([disabled]:not([disabled=false])){--mds-input-range-thumb-background:var(--mds-input-range-thumb-background-disabled);--mds-input-range-track-background:var(--mds-input-range-track-background-disabled);--mds-input-range-track-progress-background:var(--mds-input-range-track-progress-background-disabled)}:host([disabled]:not([disabled=false])) .field::-webkit-slider-thumb{cursor:not-allowed}:host(:disabled:not([disabled=false])) .field::-webkit-slider-thumb{cursor:not-allowed}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-range-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-range-thumb-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([pref-contrast=more]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-range-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-range-thumb-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}`;
5
+ const mdsInputRangeCss = () => `@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-range-transition-duration:var(--duration-300,.3s);--private-input-range-transition-duration:var(--mds-input-range-transition-duration);--mds-input-range-thumb-background-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-thumb-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-input-range-thumb-cursor:col-resize;--mds-input-range-thumb-size:calc(var(--spacing,.0025rem)*400);--mds-input-range-track-background-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-track-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-track-progress-background-disabled:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-input-range-track-size:calc(var(--spacing,.0025rem)*600);--private-border-width:calc(var(--mds-input-range-track-size)/2 - var(--mds-input-range-thumb-size)/2);--private-thumb-size:calc(var(--mds-input-range-thumb-size) + var(--private-border-width)*2);display:grid;gap:calc(var(--spacing,.0025rem)*200);transition-duration:var(--private-input-range-transition-duration);transition-property:color;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1))}.header{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.value{margin-left:auto}.range{align-items:center;display:flex;height:var(--private-thumb-size);position:relative}.track{box-sizing:border-box;position:absolute;width:100%}.field{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));appearance:none;background-color:#0000;border-radius:var(--magma-radius-full,var(--radius-full,1000px));flex-grow:1;height:calc(var(--spacing,.0025rem)*400);margin:0;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;z-index:20}.field:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.field::-webkit-slider-thumb{appearance:none;background-color:var(--mds-input-range-thumb-background);border-color:var(--mds-input-range-track-progress-background);border-radius:var(--mds-input-range-thumb-size);border-style:solid;border-width:var(--private-border-width);cursor:var(--mds-input-range-thumb-cursor);height:var(--private-thumb-size);line-height:0;transform:translateY(-50%);transition-property:background-color,border;width:var(--private-thumb-size)}.field::-webkit-slider-runnable-track{appearance:none;border:0;height:0;width:100%}.track-progress{background-color:var(--mds-input-range-track-progress-background);width:calc((100% - var(--mds-input-range-track-size))*(var(--mds-input-range-progress,0)*0.01) + var(--mds-input-range-track-size)/2)}.track-progress,.track-total{display:flex;height:var(--mds-input-range-track-size);transition-duration:var(--private-input-range-transition-duration);transition-property:background-color}.track-total{background-color:var(--mds-input-range-track-background);overflow:hidden;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1));width:100%}.contrast-area,.track-total{border-radius:var(--mds-input-range-track-size)}.contrast-area{margin-left:calc(var(--spacing,.0025rem)*100);margin-right:calc(var(--spacing,.0025rem)*100)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-range-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-range-thumb-background:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([pref-contrast=more]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host(:disabled:not([disabled=false])),:host([disabled]:not([disabled=false])){--mds-input-range-thumb-background:var(--mds-input-range-thumb-background-disabled);--mds-input-range-track-background:var(--mds-input-range-track-background-disabled);--mds-input-range-track-progress-background:var(--mds-input-range-track-progress-background-disabled)}:host([disabled]:not([disabled=false])) .field::-webkit-slider-thumb{cursor:not-allowed}:host(:disabled:not([disabled=false])) .field::-webkit-slider-thumb{cursor:not-allowed}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-range-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-range-thumb-background:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}`;
6
6
 
7
7
  const MdsInputRange = class {
8
8
  constructor(hostRef) {