@maggioli-design-system/magma 2.4.1 → 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 (1200) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +39 -0
  3. package/LICENSE +21 -0
  4. package/agents/assets.md +10 -0
  5. package/agents/components.md +2 -1
  6. package/agents/conventions.md +12 -0
  7. package/dist/cjs/{floating-controller-BiwDIKXd.js → floating-controller-DaFymQCT.js} +1 -1
  8. package/dist/cjs/{index-B_qgSpWL.js → index-BQNHYWJg.js} +5 -1
  9. package/dist/cjs/{index-B5DKRaVO.js → index-Bg68W-da.js} +1 -1
  10. package/dist/cjs/index.cjs.js +3 -63
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/{locale-D9XY8LN9.js → locale-CaR39iYg.js} +13 -7
  13. package/dist/cjs/magma-components.cjs.js +2 -2
  14. package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
  15. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +3 -3
  16. package/dist/cjs/mds-accordion-timer.cjs.entry.js +2 -2
  17. package/dist/cjs/mds-accordion.cjs.entry.js +3 -3
  18. package/dist/cjs/mds-author.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  21. package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
  22. package/dist/cjs/mds-badge.cjs.entry.js +2 -2
  23. package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
  24. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +2 -2
  27. package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
  28. package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
  29. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  30. package/dist/cjs/mds-button_3.cjs.entry.js +8 -7
  31. package/dist/cjs/mds-calendar_2.cjs.entry.js +4 -4
  32. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-card.cjs.entry.js +3 -3
  37. package/dist/cjs/mds-details.cjs.entry.js +3 -3
  38. package/dist/cjs/mds-dropdown.cjs.entry.js +4 -4
  39. package/dist/cjs/mds-emoji.cjs.entry.js +3 -3
  40. package/dist/cjs/mds-entity.cjs.entry.js +4 -4
  41. package/dist/cjs/mds-file-preview.cjs.entry.js +4 -4
  42. package/dist/cjs/mds-file.cjs.entry.js +3 -3
  43. package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
  44. package/dist/cjs/mds-filter.cjs.entry.js +4 -4
  45. package/dist/cjs/mds-header-bar.cjs.entry.js +4 -4
  46. package/dist/cjs/mds-header.cjs.entry.js +3 -3
  47. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +4 -4
  48. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  49. package/dist/cjs/mds-img.cjs.entry.js +3 -3
  50. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  51. package/dist/cjs/mds-input-date-range.cjs.entry.js +4 -4
  52. package/dist/cjs/mds-input-date.cjs.entry.js +5 -5
  53. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  54. package/dist/cjs/mds-input-otp.cjs.entry.js +3 -3
  55. package/dist/cjs/mds-input-range.cjs.entry.js +3 -3
  56. package/dist/cjs/mds-input-select.cjs.entry.js +12 -8
  57. package/dist/cjs/mds-input-switch_2.cjs.entry.js +7 -7
  58. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  59. package/dist/cjs/mds-input-upload.cjs.entry.js +4 -4
  60. package/dist/cjs/mds-input.cjs.entry.js +157 -40
  61. package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
  62. package/dist/cjs/mds-keyboard.cjs.entry.js +10 -6
  63. package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
  64. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  65. package/dist/cjs/mds-label.cjs.entry.js +3 -3
  66. package/dist/cjs/mds-link.cjs.entry.js +147 -0
  67. package/dist/cjs/mds-list-item.cjs.entry.js +3 -3
  68. package/dist/cjs/mds-list.cjs.entry.js +2 -2
  69. package/dist/cjs/mds-mention.cjs.entry.js +4 -4
  70. package/dist/cjs/mds-modal.cjs.entry.js +7 -7
  71. package/dist/cjs/mds-note.cjs.entry.js +5 -5
  72. package/dist/cjs/mds-notification.cjs.entry.js +4 -4
  73. package/dist/cjs/mds-paginator-item.cjs.entry.js +3 -3
  74. package/dist/cjs/mds-paginator.cjs.entry.js +5 -5
  75. package/dist/cjs/mds-policy-ai.cjs.entry.js +4 -4
  76. package/dist/cjs/mds-pref-animation.cjs.entry.js +4 -4
  77. package/dist/cjs/mds-pref-consumption.cjs.entry.js +4 -4
  78. package/dist/cjs/mds-pref-contrast.cjs.entry.js +4 -4
  79. package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
  80. package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
  81. package/dist/cjs/mds-pref-mode.cjs.entry.js +5 -5
  82. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +2 -2
  83. package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
  84. package/dist/cjs/mds-pref.cjs.entry.js +4 -4
  85. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
  86. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  87. package/dist/cjs/mds-price-table-features.cjs.entry.js +3 -3
  88. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  89. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
  90. package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
  91. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  92. package/dist/cjs/mds-progress_2.cjs.entry.js +5 -5
  93. package/dist/cjs/mds-push-notification-item.cjs.entry.js +6 -6
  94. package/dist/cjs/mds-push-notification.cjs.entry.js +5 -5
  95. package/dist/cjs/mds-quote.cjs.entry.js +3 -3
  96. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
  97. package/dist/cjs/mds-radial-menu.cjs.entry.js +6 -6
  98. package/dist/cjs/mds-separator.cjs.entry.js +3 -3
  99. package/dist/cjs/mds-status-bar.cjs.entry.js +4 -4
  100. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +10 -8
  101. package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
  102. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
  103. package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
  104. package/dist/cjs/mds-tab_2.cjs.entry.js +6 -6
  105. package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
  106. package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
  107. package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
  108. package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
  109. package/dist/cjs/mds-table-row.cjs.entry.js +6 -6
  110. package/dist/cjs/mds-table.cjs.entry.js +5 -5
  111. package/dist/cjs/mds-text.cjs.entry.js +3 -3
  112. package/dist/cjs/mds-toast-region.cjs.entry.js +2 -2
  113. package/dist/cjs/mds-toast.cjs.entry.js +5 -5
  114. package/dist/cjs/mds-tooltip.cjs.entry.js +5 -5
  115. package/dist/cjs/mds-tree-item.cjs.entry.js +5 -5
  116. package/dist/cjs/mds-tree.cjs.entry.js +3 -3
  117. package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
  118. package/dist/cjs/mds-usage.cjs.entry.js +4 -4
  119. package/dist/cjs/mds-video-wall.cjs.entry.js +3 -3
  120. package/dist/cjs/mds-zero.cjs.entry.js +4 -4
  121. package/dist/cjs/navigation-5yeOyO6F.js +64 -0
  122. package/dist/cjs/{preference-C8BcoA3M.js → preference-CQQ3eb9W.js} +1 -1
  123. package/dist/collection/collection-manifest.json +1 -0
  124. package/dist/collection/common/locale.js +12 -6
  125. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  126. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  127. package/dist/collection/components/mds-accordion/mds-accordion.css +2 -2
  128. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  129. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  130. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +9 -9
  131. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  133. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +1 -1
  134. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  135. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  136. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +2 -2
  137. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-author/documentation.json +1 -1
  139. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  140. package/dist/collection/components/mds-avatar/documentation.json +1 -1
  141. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  142. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  143. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  144. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  145. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  146. package/dist/collection/components/mds-badge/documentation.json +1 -1
  147. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  148. package/dist/collection/components/mds-banner/documentation.json +1 -1
  149. package/dist/collection/components/mds-banner/mds-banner.css +3 -3
  150. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  151. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  152. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  153. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  154. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  155. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  156. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  157. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  158. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +1 -1
  159. package/dist/collection/components/mds-button/AGENTS.md +1 -1
  160. package/dist/collection/components/mds-button/antipattern.md +16 -0
  161. package/dist/collection/components/mds-button/documentation.json +2 -2
  162. package/dist/collection/components/mds-button/mds-button.css +4 -2
  163. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  164. package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
  165. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  166. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  167. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  168. package/dist/collection/components/mds-calendar/documentation.json +1 -1
  169. package/dist/collection/components/mds-calendar/mds-calendar.css +8 -8
  170. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  171. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  172. package/dist/collection/components/mds-card/AGENTS.md +2 -1
  173. package/dist/collection/components/mds-card/documentation.json +2 -2
  174. package/dist/collection/components/mds-card/mds-card.css +9 -5
  175. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  176. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  177. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  178. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  179. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  180. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  181. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  182. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  183. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  184. package/dist/collection/components/mds-chip/documentation.json +1 -1
  185. package/dist/collection/components/mds-chip/mds-chip.css +1 -1
  186. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  187. package/dist/collection/components/mds-details/documentation.json +1 -1
  188. package/dist/collection/components/mds-details/mds-details.css +2 -2
  189. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  190. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  191. package/dist/collection/components/mds-dropdown/mds-dropdown.css +23 -23
  192. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  193. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  194. package/dist/collection/components/mds-emoji/mds-emoji.css +11 -6
  195. package/dist/collection/components/mds-entity/AGENTS.md +3 -2
  196. package/dist/collection/components/mds-entity/documentation.json +11 -3
  197. package/dist/collection/components/mds-entity/mds-entity.css +1 -1
  198. package/dist/collection/components/mds-entity/mds-entity.js +2 -1
  199. package/dist/collection/components/mds-entity/pattern.md +10 -0
  200. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  201. package/dist/collection/components/mds-file/documentation.json +1 -1
  202. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  203. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  204. package/dist/collection/components/mds-file-preview/mds-file-preview.css +2 -2
  205. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  206. package/dist/collection/components/mds-filter/documentation.json +1 -1
  207. package/dist/collection/components/mds-filter/mds-filter.css +1 -1
  208. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  209. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  210. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  211. package/dist/collection/components/mds-header/documentation.json +1 -1
  212. package/dist/collection/components/mds-header/mds-header.css +4 -4
  213. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  214. package/dist/collection/components/mds-header-bar/documentation.json +1 -1
  215. package/dist/collection/components/mds-header-bar/mds-header-bar.css +1 -1
  216. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  217. package/dist/collection/components/mds-help/documentation.json +1 -1
  218. package/dist/collection/components/mds-help/mds-help.css +7 -5
  219. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  220. package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
  221. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +2 -2
  222. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  223. package/dist/collection/components/mds-hr/documentation.json +1 -1
  224. package/dist/collection/components/mds-icon/AGENTS.md +2 -2
  225. package/dist/collection/components/mds-icon/documentation.json +5 -1
  226. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  227. package/dist/collection/components/mds-img/documentation.json +1 -1
  228. package/dist/collection/components/mds-input/AGENTS.md +4 -2
  229. package/dist/collection/components/mds-input/documentation.json +2 -2
  230. package/dist/collection/components/mds-input/mds-input.css +8 -8
  231. package/dist/collection/components/mds-input/mds-input.js +12 -7
  232. package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +3 -3
  233. package/dist/collection/components/mds-input/meta/validators.js +28 -13
  234. package/dist/collection/components/mds-input/meta/validity.js +8 -10
  235. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  236. package/dist/collection/components/mds-input-date/documentation.json +1 -1
  237. package/dist/collection/components/mds-input-date/mds-input-date.css +6 -6
  238. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  239. package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
  240. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +11 -11
  241. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  242. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  243. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  244. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  245. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  246. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  247. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  248. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  249. package/dist/collection/components/mds-input-range/mds-input-range.css +26 -19
  250. package/dist/collection/components/mds-input-select/AGENTS.md +2 -2
  251. package/dist/collection/components/mds-input-select/documentation.json +2 -2
  252. package/dist/collection/components/mds-input-select/mds-input-select.css +5 -5
  253. package/dist/collection/components/mds-input-select/mds-input-select.js +7 -3
  254. package/dist/collection/components/mds-input-switch/AGENTS.md +3 -3
  255. package/dist/collection/components/mds-input-switch/documentation.json +3 -3
  256. package/dist/collection/components/mds-input-switch/mds-input-switch.css +7 -7
  257. package/dist/collection/components/mds-input-switch/mds-input-switch.js +4 -4
  258. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  259. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  260. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  261. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  262. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  263. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  264. package/dist/collection/components/mds-input-upload/mds-input-upload.css +2 -2
  265. package/dist/collection/components/mds-keyboard/AGENTS.md +2 -2
  266. package/dist/collection/components/mds-keyboard/documentation.json +2 -2
  267. package/dist/collection/components/mds-keyboard/mds-keyboard.css +5 -5
  268. package/dist/collection/components/mds-keyboard/mds-keyboard.js +6 -2
  269. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  270. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  271. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -2
  272. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  273. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  274. package/dist/collection/components/mds-kpi/mds-kpi.css +1 -1
  275. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  276. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  277. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  278. package/dist/collection/components/mds-label/documentation.json +1 -1
  279. package/dist/collection/components/mds-link/AGENTS.md +81 -0
  280. package/dist/collection/components/mds-link/antipattern.md +96 -0
  281. package/dist/collection/components/mds-link/documentation.json +407 -0
  282. package/dist/collection/components/mds-link/mds-link.css +301 -0
  283. package/dist/collection/components/mds-link/mds-link.js +335 -0
  284. package/dist/collection/components/mds-link/meta/dictionary.js +3 -0
  285. package/dist/collection/components/mds-link/meta/types.js +1 -0
  286. package/dist/collection/components/mds-link/pattern.md +100 -0
  287. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  288. package/dist/collection/components/mds-list/documentation.json +1 -1
  289. package/dist/collection/components/mds-list/mds-list.js +1 -1
  290. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  291. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  292. package/dist/collection/components/mds-list-item/mds-list-item.css +4 -4
  293. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  294. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  295. package/dist/collection/components/mds-mention/documentation.json +1 -1
  296. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  297. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  298. package/dist/collection/components/mds-modal/documentation.json +1 -1
  299. package/dist/collection/components/mds-modal/mds-modal.css +5 -5
  300. package/dist/collection/components/mds-modal/mds-modal.js +3 -3
  301. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  302. package/dist/collection/components/mds-note/documentation.json +1 -1
  303. package/dist/collection/components/mds-note/mds-note.css +3 -3
  304. package/dist/collection/components/mds-note/mds-note.js +1 -1
  305. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  306. package/dist/collection/components/mds-notification/documentation.json +1 -1
  307. package/dist/collection/components/mds-notification/mds-notification.css +22 -22
  308. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  309. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  310. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  311. package/dist/collection/components/mds-paginator/mds-paginator.css +1 -1
  312. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  313. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  314. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  315. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  316. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  317. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  318. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  319. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  320. package/dist/collection/components/mds-pref/documentation.json +1 -1
  321. package/dist/collection/components/mds-pref/mds-pref.js +1 -1
  322. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  323. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  324. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  325. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  326. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  327. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  328. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  329. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  330. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  331. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  332. package/dist/collection/components/mds-pref-language/documentation.json +1 -1
  333. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  334. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  335. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  336. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  337. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  338. package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
  339. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -2
  340. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
  341. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  342. package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
  343. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
  344. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  346. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  347. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  348. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  349. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  350. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  352. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  353. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  354. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  355. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  356. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  357. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  358. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  359. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  360. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  361. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  362. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  363. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  364. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  365. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  366. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  367. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  368. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  369. package/dist/collection/components/mds-progress/documentation.json +1 -1
  370. package/dist/collection/components/mds-progress/mds-progress.css +2 -0
  371. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  372. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  373. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  374. package/dist/collection/components/mds-push-notification/mds-push-notification.css +4 -4
  375. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  376. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  377. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  378. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +2 -2
  379. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  380. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  381. package/dist/collection/components/mds-quote/documentation.json +1 -1
  382. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  383. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  384. package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
  385. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +8 -6
  386. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  387. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  388. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  389. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +2 -2
  390. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  391. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  392. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  393. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +1 -1
  394. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  395. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  396. package/dist/collection/components/mds-separator/documentation.json +1 -1
  397. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  398. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  399. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  400. package/dist/collection/components/mds-spinner/mds-spinner.css +6 -0
  401. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  402. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  403. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  404. package/dist/collection/components/mds-status-bar/mds-status-bar.css +4 -3
  405. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  406. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  407. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  408. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  409. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  410. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  411. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +4 -2
  412. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +6 -4
  413. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  414. package/dist/collection/components/mds-tab/documentation.json +1 -1
  415. package/dist/collection/components/mds-tab/mds-tab.css +9 -7
  416. package/dist/collection/components/mds-tab/mds-tab.js +2 -2
  417. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  418. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  419. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  420. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  421. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  422. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +2 -2
  423. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  424. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  425. package/dist/collection/components/mds-tab-item/documentation.json +1 -1
  426. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  427. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  428. package/dist/collection/components/mds-table/documentation.json +1 -1
  429. package/dist/collection/components/mds-table/mds-table.css +1 -1
  430. package/dist/collection/components/mds-table/mds-table.js +1 -1
  431. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  432. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  433. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  434. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  435. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  436. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  437. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  438. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  439. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  440. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  441. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  442. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  443. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  444. package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
  445. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  446. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  447. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  448. package/dist/collection/components/mds-table-row/mds-table-row.css +1 -1
  449. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  450. package/dist/collection/components/mds-text/AGENTS.md +2 -2
  451. package/dist/collection/components/mds-text/antipattern.md +1 -1
  452. package/dist/collection/components/mds-text/documentation.json +4 -4
  453. package/dist/collection/components/mds-text/mds-text.js +1 -1
  454. package/dist/collection/components/mds-text/pattern.md +10 -0
  455. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  456. package/dist/collection/components/mds-toast/documentation.json +1 -1
  457. package/dist/collection/components/mds-toast/mds-toast.css +2 -2
  458. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  459. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  460. package/dist/collection/components/mds-toast-region/documentation.json +1 -1
  461. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  462. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  463. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  464. package/dist/collection/components/mds-tooltip/mds-tooltip.css +25 -25
  465. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  466. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  467. package/dist/collection/components/mds-tree/documentation.json +1 -1
  468. package/dist/collection/components/mds-tree/mds-tree.css +1 -1
  469. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  470. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  471. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  472. package/dist/collection/components/mds-tree-item/mds-tree-item.css +0 -1
  473. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  474. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  475. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  476. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  477. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  478. package/dist/collection/components/mds-usage/documentation.json +1 -1
  479. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  480. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  481. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  482. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  483. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  484. package/dist/collection/components/mds-zero/documentation.json +1 -1
  485. package/dist/collection/components/mds-zero/mds-zero.css +2 -2
  486. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  487. package/dist/components/index.d.ts +2 -0
  488. package/dist/components/index.js +1 -1
  489. package/dist/components/mds-accordion-item.js +1 -1
  490. package/dist/components/mds-accordion-timer-item.js +1 -1
  491. package/dist/components/mds-accordion-timer.js +1 -1
  492. package/dist/components/mds-accordion.js +1 -1
  493. package/dist/components/mds-author.js +1 -1
  494. package/dist/components/mds-avatar-stack-item.js +1 -1
  495. package/dist/components/mds-avatar-stack.js +1 -1
  496. package/dist/components/mds-avatar.js +1 -1
  497. package/dist/components/mds-badge.js +1 -1
  498. package/dist/components/mds-banner.js +1 -1
  499. package/dist/components/mds-benchmark-bar.js +1 -1
  500. package/dist/components/mds-bibliography.js +1 -1
  501. package/dist/components/mds-breadcrumb-item.js +1 -1
  502. package/dist/components/mds-breadcrumb.js +1 -1
  503. package/dist/components/mds-button-dropdown.js +1 -1
  504. package/dist/components/mds-button-group.js +1 -1
  505. package/dist/components/mds-button.js +1 -1
  506. package/dist/components/mds-calendar-cell.js +1 -1
  507. package/dist/components/mds-calendar.js +1 -1
  508. package/dist/components/mds-card-content.js +1 -1
  509. package/dist/components/mds-card-footer.js +1 -1
  510. package/dist/components/mds-card-header.js +1 -1
  511. package/dist/components/mds-card-media.js +1 -1
  512. package/dist/components/mds-card.js +1 -1
  513. package/dist/components/mds-chip.js +1 -1
  514. package/dist/components/mds-details.js +1 -1
  515. package/dist/components/mds-dropdown.js +1 -1
  516. package/dist/components/mds-emoji.js +3 -3
  517. package/dist/components/mds-entity.js +1 -1
  518. package/dist/components/mds-file-preview.js +1 -1
  519. package/dist/components/mds-file.js +1 -1
  520. package/dist/components/mds-filter-item.js +1 -1
  521. package/dist/components/mds-filter.js +1 -1
  522. package/dist/components/mds-header-bar.js +1 -1
  523. package/dist/components/mds-header.js +1 -1
  524. package/dist/components/mds-help.js +1 -1
  525. package/dist/components/mds-horizontal-scroll.js +1 -1
  526. package/dist/components/mds-hr.js +1 -1
  527. package/dist/components/mds-icon.js +1 -1
  528. package/dist/components/mds-img.js +1 -1
  529. package/dist/components/mds-input-date-range-preselection.js +1 -1
  530. package/dist/components/mds-input-date-range.js +1 -1
  531. package/dist/components/mds-input-date.js +1 -1
  532. package/dist/components/mds-input-field.js +1 -1
  533. package/dist/components/mds-input-otp.js +1 -1
  534. package/dist/components/mds-input-range.js +1 -1
  535. package/dist/components/mds-input-select.js +1 -1
  536. package/dist/components/mds-input-switch.js +1 -1
  537. package/dist/components/mds-input-tip-item.js +1 -1
  538. package/dist/components/mds-input-tip.js +1 -1
  539. package/dist/components/mds-input-upload.js +1 -1
  540. package/dist/components/mds-input.js +1 -1
  541. package/dist/components/mds-keyboard-key.js +1 -1
  542. package/dist/components/mds-keyboard.js +1 -1
  543. package/dist/components/mds-kpi-item.js +1 -1
  544. package/dist/components/mds-kpi.js +1 -1
  545. package/dist/components/mds-label.js +1 -1
  546. package/dist/components/mds-link.d.ts +11 -0
  547. package/dist/components/mds-link.js +1 -0
  548. package/dist/components/mds-list-item.js +1 -1
  549. package/dist/components/mds-list.js +1 -1
  550. package/dist/components/mds-mention.js +1 -1
  551. package/dist/components/mds-modal.js +1 -1
  552. package/dist/components/mds-note.js +1 -1
  553. package/dist/components/mds-notification.js +1 -1
  554. package/dist/components/mds-paginator-item.js +1 -1
  555. package/dist/components/mds-paginator.js +1 -1
  556. package/dist/components/mds-policy-ai.js +1 -1
  557. package/dist/components/mds-pref-animation.js +1 -1
  558. package/dist/components/mds-pref-consumption.js +1 -1
  559. package/dist/components/mds-pref-contrast.js +1 -1
  560. package/dist/components/mds-pref-language-item.js +1 -1
  561. package/dist/components/mds-pref-language.js +1 -1
  562. package/dist/components/mds-pref-mode.js +1 -1
  563. package/dist/components/mds-pref-theme-item.js +1 -1
  564. package/dist/components/mds-pref-theme.js +1 -1
  565. package/dist/components/mds-pref.js +1 -1
  566. package/dist/components/mds-price-table-features-cell.js +1 -1
  567. package/dist/components/mds-price-table-features-row.js +1 -1
  568. package/dist/components/mds-price-table-features.js +1 -1
  569. package/dist/components/mds-price-table-header.js +1 -1
  570. package/dist/components/mds-price-table-list-item.js +1 -1
  571. package/dist/components/mds-price-table-list.js +1 -1
  572. package/dist/components/mds-price-table.js +1 -1
  573. package/dist/components/mds-progress.js +1 -1
  574. package/dist/components/mds-push-notification-item.js +1 -1
  575. package/dist/components/mds-push-notification.js +1 -1
  576. package/dist/components/mds-quote.js +1 -1
  577. package/dist/components/mds-radial-menu-item.js +1 -1
  578. package/dist/components/mds-radial-menu.js +1 -1
  579. package/dist/components/mds-radial-progress.js +1 -1
  580. package/dist/components/mds-separator.js +1 -1
  581. package/dist/components/mds-spinner.js +1 -1
  582. package/dist/components/mds-status-bar.js +1 -1
  583. package/dist/components/mds-stepper-bar-item.js +1 -1
  584. package/dist/components/mds-stepper-bar.js +1 -1
  585. package/dist/components/mds-tab-bar-item.js +1 -1
  586. package/dist/components/mds-tab-bar.js +1 -1
  587. package/dist/components/mds-tab-item.js +1 -1
  588. package/dist/components/mds-tab.js +1 -1
  589. package/dist/components/mds-table-body.js +1 -1
  590. package/dist/components/mds-table-cell.js +1 -1
  591. package/dist/components/mds-table-footer.js +1 -1
  592. package/dist/components/mds-table-header-cell.js +1 -1
  593. package/dist/components/mds-table-header.js +1 -1
  594. package/dist/components/mds-table-row.js +1 -1
  595. package/dist/components/mds-table.js +1 -1
  596. package/dist/components/mds-text.js +1 -1
  597. package/dist/components/mds-toast-region.js +1 -1
  598. package/dist/components/mds-toast.js +1 -1
  599. package/dist/components/mds-tooltip.js +1 -1
  600. package/dist/components/mds-tree-item.js +1 -1
  601. package/dist/components/mds-tree.js +1 -1
  602. package/dist/components/mds-url-view.js +1 -1
  603. package/dist/components/mds-usage.js +1 -1
  604. package/dist/components/mds-video-wall.js +1 -1
  605. package/dist/components/mds-zero.js +1 -1
  606. package/dist/components/{p-D_0rjNZp.js → p-5lLueiFt.js} +1 -1
  607. package/dist/components/p-B0AnE3sA.js +1 -0
  608. package/dist/components/{p-DSxDXNWp.js → p-BO-jHv-F.js} +1 -1
  609. package/dist/components/{p-Didp833Z.js → p-BU3bsIX2.js} +1 -1
  610. package/dist/components/{p-NlPseOAv.js → p-BbK4qeM7.js} +1 -1
  611. package/dist/components/p-BbgQG1UL.js +8 -0
  612. package/dist/components/p-BwJQB6rG.js +1 -0
  613. package/dist/components/p-Bz1eiKqd.js +1 -0
  614. package/dist/components/{p-BLiWCyrD.js → p-C4XdTZQ-.js} +1 -1
  615. package/dist/components/{p-BFisF7aN.js → p-CHHEp_7y.js} +1 -1
  616. package/dist/components/{p-B1bYa-o0.js → p-CJYY4da7.js} +1 -1
  617. package/dist/components/{p-DezdwzYQ.js → p-CNF3u0Li.js} +1 -1
  618. package/dist/components/p-CPvuXO7s.js +1 -0
  619. package/dist/components/{p-DaptTdaU.js → p-CSxW5f2f.js} +1 -1
  620. package/dist/components/{p-BlnEiKN4.js → p-CVRN4LDc.js} +1 -1
  621. package/dist/{magma-components/p-BmT_DEV2.js → components/p-CZjwSwe5.js} +2 -2
  622. package/dist/components/{p-sM-eFjwq.js → p-CaROqeeK.js} +1 -1
  623. package/dist/components/p-ClPv-Ljc.js +1 -0
  624. package/dist/components/{p-cIZniMh0.js → p-Cmn1DJAB.js} +1 -1
  625. package/dist/components/p-Cu5nEwMu.js +1 -0
  626. package/dist/components/{p-fhAmrBfl.js → p-D-DdDIb9.js} +1 -1
  627. package/dist/components/p-D0A8gS-P.js +1 -0
  628. package/dist/components/p-D8wd-EZX.js +1 -0
  629. package/dist/components/p-DFD4E9zJ.js +1 -0
  630. package/dist/components/p-DNeEn8Rr.js +1 -0
  631. package/dist/components/{p-Bg5E4Wnq.js → p-DTtmr_Y9.js} +1 -1
  632. package/dist/components/{p-DACnmwad.js → p-DkUdrGHq.js} +1 -1
  633. package/dist/components/{p-D4JiVIoh.js → p-DkYDXDkD.js} +1 -1
  634. package/dist/components/{p-BL220gRU.js → p-Dm-OUwDe.js} +1 -1
  635. package/dist/components/p-DnySYX0L.js +1 -0
  636. package/dist/components/{p-NOw8-OrM.js → p-DucY18_e.js} +1 -1
  637. package/dist/components/{p-B2p5a1Y8.js → p-TZJN-ygm.js} +1 -1
  638. package/dist/components/{p-B6B6q5kP.js → p-ZuubAcA3.js} +1 -1
  639. package/dist/{magma-components/p-DmFo8_MF.js → components/p-jasGzfhE.js} +1 -1
  640. package/dist/components/{p-JPhOaOXe.js → p-s1CktmPS.js} +1 -1
  641. package/dist/components/p-yNPPTJ7i.js +1 -0
  642. package/dist/documentation.json +433 -13
  643. package/dist/esm/{floating-controller-CVVcyKew.js → floating-controller-BVlbYYkf.js} +1 -1
  644. package/dist/esm/{index-DI_6NAg0.js → index-BJVvHlvf.js} +1 -1
  645. package/dist/esm/{index-CPRkNQdE.js → index-CvLLN-QH.js} +5 -1
  646. package/dist/esm/index.js +3 -63
  647. package/dist/esm/loader.js +3 -3
  648. package/dist/esm/{locale-DfpXg7qZ.js → locale-B6cOkl4I.js} +13 -7
  649. package/dist/esm/magma-components.js +3 -3
  650. package/dist/esm/mds-accordion-item.entry.js +3 -3
  651. package/dist/esm/mds-accordion-timer-item.entry.js +3 -3
  652. package/dist/esm/mds-accordion-timer.entry.js +2 -2
  653. package/dist/esm/mds-accordion.entry.js +3 -3
  654. package/dist/esm/mds-author.entry.js +1 -1
  655. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  656. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  657. package/dist/esm/mds-avatar.entry.js +2 -2
  658. package/dist/esm/mds-badge.entry.js +2 -2
  659. package/dist/esm/mds-banner_3.entry.js +6 -6
  660. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  661. package/dist/esm/mds-bibliography.entry.js +1 -1
  662. package/dist/esm/mds-breadcrumb-item.entry.js +2 -2
  663. package/dist/esm/mds-breadcrumb.entry.js +3 -3
  664. package/dist/esm/mds-button-dropdown.entry.js +3 -3
  665. package/dist/esm/mds-button-group.entry.js +1 -1
  666. package/dist/esm/mds-button_3.entry.js +6 -5
  667. package/dist/esm/mds-calendar_2.entry.js +4 -4
  668. package/dist/esm/mds-card-content.entry.js +1 -1
  669. package/dist/esm/mds-card-footer.entry.js +1 -1
  670. package/dist/esm/mds-card-header.entry.js +1 -1
  671. package/dist/esm/mds-card-media.entry.js +1 -1
  672. package/dist/esm/mds-card.entry.js +3 -3
  673. package/dist/esm/mds-details.entry.js +3 -3
  674. package/dist/esm/mds-dropdown.entry.js +4 -4
  675. package/dist/esm/mds-emoji.entry.js +3 -3
  676. package/dist/esm/mds-entity.entry.js +4 -4
  677. package/dist/esm/mds-file-preview.entry.js +4 -4
  678. package/dist/esm/mds-file.entry.js +3 -3
  679. package/dist/esm/mds-filter-item.entry.js +3 -3
  680. package/dist/esm/mds-filter.entry.js +4 -4
  681. package/dist/esm/mds-header-bar.entry.js +4 -4
  682. package/dist/esm/mds-header.entry.js +3 -3
  683. package/dist/esm/mds-horizontal-scroll.entry.js +4 -4
  684. package/dist/esm/mds-hr.entry.js +2 -2
  685. package/dist/esm/mds-img.entry.js +3 -3
  686. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  687. package/dist/esm/mds-input-date-range.entry.js +4 -4
  688. package/dist/esm/mds-input-date.entry.js +5 -5
  689. package/dist/esm/mds-input-field.entry.js +1 -1
  690. package/dist/esm/mds-input-otp.entry.js +3 -3
  691. package/dist/esm/mds-input-range.entry.js +3 -3
  692. package/dist/esm/mds-input-select.entry.js +12 -8
  693. package/dist/esm/mds-input-switch_2.entry.js +7 -7
  694. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  695. package/dist/esm/mds-input-upload.entry.js +4 -4
  696. package/dist/esm/mds-input.entry.js +157 -40
  697. package/dist/esm/mds-keyboard-key.entry.js +4 -4
  698. package/dist/esm/mds-keyboard.entry.js +10 -6
  699. package/dist/esm/mds-kpi-item.entry.js +2 -2
  700. package/dist/esm/mds-kpi.entry.js +2 -2
  701. package/dist/esm/mds-label.entry.js +3 -3
  702. package/dist/esm/mds-link.entry.js +145 -0
  703. package/dist/esm/mds-list-item.entry.js +3 -3
  704. package/dist/esm/mds-list.entry.js +2 -2
  705. package/dist/esm/mds-mention.entry.js +4 -4
  706. package/dist/esm/mds-modal.entry.js +7 -7
  707. package/dist/esm/mds-note.entry.js +5 -5
  708. package/dist/esm/mds-notification.entry.js +4 -4
  709. package/dist/esm/mds-paginator-item.entry.js +3 -3
  710. package/dist/esm/mds-paginator.entry.js +5 -5
  711. package/dist/esm/mds-policy-ai.entry.js +4 -4
  712. package/dist/esm/mds-pref-animation.entry.js +4 -4
  713. package/dist/esm/mds-pref-consumption.entry.js +4 -4
  714. package/dist/esm/mds-pref-contrast.entry.js +4 -4
  715. package/dist/esm/mds-pref-language-item.entry.js +4 -4
  716. package/dist/esm/mds-pref-language.entry.js +4 -4
  717. package/dist/esm/mds-pref-mode.entry.js +5 -5
  718. package/dist/esm/mds-pref-theme-item.entry.js +2 -2
  719. package/dist/esm/mds-pref-theme.entry.js +4 -4
  720. package/dist/esm/mds-pref.entry.js +4 -4
  721. package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
  722. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  723. package/dist/esm/mds-price-table-features.entry.js +3 -3
  724. package/dist/esm/mds-price-table-header.entry.js +2 -2
  725. package/dist/esm/mds-price-table-list-item.entry.js +2 -2
  726. package/dist/esm/mds-price-table-list.entry.js +3 -3
  727. package/dist/esm/mds-price-table.entry.js +2 -2
  728. package/dist/esm/mds-progress_2.entry.js +5 -5
  729. package/dist/esm/mds-push-notification-item.entry.js +6 -6
  730. package/dist/esm/mds-push-notification.entry.js +5 -5
  731. package/dist/esm/mds-quote.entry.js +3 -3
  732. package/dist/esm/mds-radial-menu-item.entry.js +3 -3
  733. package/dist/esm/mds-radial-menu.entry.js +6 -6
  734. package/dist/esm/mds-separator.entry.js +3 -3
  735. package/dist/esm/mds-status-bar.entry.js +4 -4
  736. package/dist/esm/mds-stepper-bar-item.entry.js +10 -8
  737. package/dist/esm/mds-stepper-bar.entry.js +2 -2
  738. package/dist/esm/mds-tab-bar-item.entry.js +4 -4
  739. package/dist/esm/mds-tab-bar.entry.js +3 -3
  740. package/dist/esm/mds-tab_2.entry.js +6 -6
  741. package/dist/esm/mds-table-body.entry.js +3 -3
  742. package/dist/esm/mds-table-footer.entry.js +3 -3
  743. package/dist/esm/mds-table-header-cell.entry.js +3 -3
  744. package/dist/esm/mds-table-header.entry.js +4 -4
  745. package/dist/esm/mds-table-row.entry.js +6 -6
  746. package/dist/esm/mds-table.entry.js +5 -5
  747. package/dist/esm/mds-text.entry.js +3 -3
  748. package/dist/esm/mds-toast-region.entry.js +2 -2
  749. package/dist/esm/mds-toast.entry.js +5 -5
  750. package/dist/esm/mds-tooltip.entry.js +5 -5
  751. package/dist/esm/mds-tree-item.entry.js +5 -5
  752. package/dist/esm/mds-tree.entry.js +3 -3
  753. package/dist/esm/mds-url-view.entry.js +4 -4
  754. package/dist/esm/mds-usage.entry.js +4 -4
  755. package/dist/esm/mds-video-wall.entry.js +3 -3
  756. package/dist/esm/mds-zero.entry.js +4 -4
  757. package/dist/esm/navigation-Bz1eiKqd.js +62 -0
  758. package/dist/esm/{preference-Ch1zJnqq.js → preference-C5XjgGCb.js} +1 -1
  759. package/dist/esm-es5/{floating-controller-CVVcyKew.js → floating-controller-BVlbYYkf.js} +1 -1
  760. package/dist/esm-es5/{index-DI_6NAg0.js → index-BJVvHlvf.js} +1 -1
  761. package/dist/esm-es5/{index-CPRkNQdE.js → index-CvLLN-QH.js} +4 -2
  762. package/dist/esm-es5/index.js +20 -37
  763. package/dist/esm-es5/loader.js +1 -1
  764. package/dist/esm-es5/{locale-DfpXg7qZ.js → locale-B6cOkl4I.js} +23 -19
  765. package/dist/esm-es5/magma-components.js +2 -2
  766. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  767. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  768. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  769. package/dist/esm-es5/mds-accordion.entry.js +2 -2
  770. package/dist/esm-es5/mds-author.entry.js +1 -1
  771. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  772. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  773. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  774. package/dist/esm-es5/mds-badge.entry.js +1 -1
  775. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  776. package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
  777. package/dist/esm-es5/mds-bibliography.entry.js +1 -1
  778. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  779. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  780. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  781. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  782. package/dist/esm-es5/mds-button_3.entry.js +2 -2
  783. package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
  784. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  785. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  786. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  787. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  788. package/dist/esm-es5/mds-card.entry.js +1 -1
  789. package/dist/esm-es5/mds-details.entry.js +1 -1
  790. package/dist/esm-es5/mds-dropdown.entry.js +15 -15
  791. package/dist/esm-es5/mds-emoji.entry.js +2 -2
  792. package/dist/esm-es5/mds-entity.entry.js +1 -1
  793. package/dist/esm-es5/mds-file-preview.entry.js +7 -7
  794. package/dist/esm-es5/mds-file.entry.js +1 -1
  795. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  796. package/dist/esm-es5/mds-filter.entry.js +1 -1
  797. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  798. package/dist/esm-es5/mds-header.entry.js +1 -1
  799. package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
  800. package/dist/esm-es5/mds-hr.entry.js +1 -1
  801. package/dist/esm-es5/mds-img.entry.js +1 -1
  802. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  803. package/dist/esm-es5/mds-input-date-range.entry.js +15 -15
  804. package/dist/esm-es5/mds-input-date.entry.js +1 -1
  805. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  806. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  807. package/dist/esm-es5/mds-input-range.entry.js +7 -7
  808. package/dist/esm-es5/mds-input-select.entry.js +5 -4
  809. package/dist/esm-es5/mds-input-switch_2.entry.js +3 -3
  810. package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
  811. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  812. package/dist/esm-es5/mds-input.entry.js +53 -50
  813. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  814. package/dist/esm-es5/mds-keyboard.entry.js +6 -3
  815. package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
  816. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  817. package/dist/esm-es5/mds-label.entry.js +1 -1
  818. package/dist/esm-es5/mds-link.entry.js +39 -0
  819. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  820. package/dist/esm-es5/mds-list.entry.js +1 -1
  821. package/dist/esm-es5/mds-mention.entry.js +2 -2
  822. package/dist/esm-es5/mds-modal.entry.js +3 -3
  823. package/dist/esm-es5/mds-note.entry.js +2 -2
  824. package/dist/esm-es5/mds-notification.entry.js +8 -8
  825. package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
  826. package/dist/esm-es5/mds-paginator.entry.js +2 -2
  827. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  828. package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
  829. package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
  830. package/dist/esm-es5/mds-pref-contrast.entry.js +2 -2
  831. package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
  832. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  833. package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
  834. package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
  835. package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
  836. package/dist/esm-es5/mds-pref.entry.js +2 -2
  837. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  838. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  839. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  840. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  841. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  842. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  843. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  844. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  845. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  846. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  847. package/dist/esm-es5/mds-quote.entry.js +2 -2
  848. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  849. package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
  850. package/dist/esm-es5/mds-separator.entry.js +1 -1
  851. package/dist/esm-es5/mds-status-bar.entry.js +2 -2
  852. package/dist/esm-es5/mds-stepper-bar-item.entry.js +6 -3
  853. package/dist/esm-es5/mds-stepper-bar.entry.js +2 -2
  854. package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
  855. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  856. package/dist/esm-es5/mds-tab_2.entry.js +3 -3
  857. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  858. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  859. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  860. package/dist/esm-es5/mds-table-header.entry.js +2 -2
  861. package/dist/esm-es5/mds-table-row.entry.js +2 -2
  862. package/dist/esm-es5/mds-table.entry.js +2 -2
  863. package/dist/esm-es5/mds-text.entry.js +2 -2
  864. package/dist/esm-es5/mds-toast-region.entry.js +3 -3
  865. package/dist/esm-es5/mds-toast.entry.js +2 -2
  866. package/dist/esm-es5/mds-tooltip.entry.js +3 -3
  867. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  868. package/dist/esm-es5/mds-tree.entry.js +2 -2
  869. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  870. package/dist/esm-es5/mds-usage.entry.js +2 -2
  871. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  872. package/dist/esm-es5/mds-zero.entry.js +1 -1
  873. package/dist/esm-es5/navigation-Bz1eiKqd.js +17 -0
  874. package/dist/esm-es5/{preference-Ch1zJnqq.js → preference-C5XjgGCb.js} +4 -4
  875. package/dist/hydrate/index.js +645 -350
  876. package/dist/hydrate/index.mjs +645 -350
  877. package/dist/magma-components/index.esm.js +1 -1
  878. package/dist/magma-components/magma-components.esm.js +1 -1
  879. package/dist/magma-components/magma-components.js +1 -1
  880. package/dist/magma-components/{p-4fdda209.system.entry.js → p-0033cb92.system.entry.js} +2 -2
  881. package/dist/magma-components/p-0193734e.entry.js +1 -0
  882. package/dist/magma-components/{p-6c91b00d.system.entry.js → p-02298ed0.system.entry.js} +2 -2
  883. package/dist/magma-components/p-02fe26b4.system.entry.js +35 -0
  884. package/dist/magma-components/p-046697e4.system.entry.js +12 -0
  885. package/dist/magma-components/{p-a1ca2441.system.entry.js → p-0679c988.system.entry.js} +1 -1
  886. package/dist/magma-components/{p-1f9ebc0d.entry.js → p-06ccc40d.entry.js} +1 -1
  887. package/dist/magma-components/{p-926ef760.entry.js → p-06fde29d.entry.js} +1 -1
  888. package/dist/magma-components/{p-8059aa67.system.entry.js → p-071f5c7b.system.entry.js} +3 -3
  889. package/dist/magma-components/{p-d0c0c195.entry.js → p-075acd04.entry.js} +1 -1
  890. package/dist/magma-components/{p-547f657e.system.entry.js → p-07a3c63c.system.entry.js} +1 -1
  891. package/dist/magma-components/{p-176e6d9d.system.entry.js → p-08370fc2.system.entry.js} +1 -1
  892. package/dist/magma-components/{p-e032e77f.system.entry.js → p-083dceb8.system.entry.js} +1 -1
  893. package/dist/magma-components/p-093b8fbc.system.entry.js +20 -0
  894. package/dist/magma-components/{p-a136e6fe.system.entry.js → p-09a7b578.system.entry.js} +1 -1
  895. package/dist/magma-components/{p-e6ed6e12.entry.js → p-09f621ea.entry.js} +1 -1
  896. package/dist/magma-components/p-0a8e8525.entry.js +1 -0
  897. package/dist/magma-components/p-0e2cd21e.entry.js +1 -0
  898. package/dist/magma-components/{p-0f47fd37.system.entry.js → p-0e887379.system.entry.js} +2 -2
  899. package/dist/magma-components/p-104ba54e.system.entry.js +13 -0
  900. package/dist/magma-components/p-11320427.entry.js +1 -0
  901. package/dist/magma-components/p-14635a8f.entry.js +1 -0
  902. package/dist/magma-components/p-168d5fad.entry.js +1 -0
  903. package/dist/magma-components/{p-cc0cb701.entry.js → p-17ec24dc.entry.js} +1 -1
  904. package/dist/magma-components/{p-4225484c.entry.js → p-198ea5d8.entry.js} +1 -1
  905. package/dist/magma-components/p-1c2c4670.entry.js +1 -0
  906. package/dist/magma-components/{p-c4286fb7.system.entry.js → p-1d2220f0.system.entry.js} +1 -1
  907. package/dist/magma-components/{p-eebf450c.system.entry.js → p-1e18fcc5.system.entry.js} +2 -2
  908. package/dist/magma-components/p-1ea582a9.system.entry.js +55 -0
  909. package/dist/magma-components/p-1f623b75.entry.js +1 -0
  910. package/dist/magma-components/{p-af704402.system.entry.js → p-21547758.system.entry.js} +1 -1
  911. package/dist/magma-components/{p-0dd4b006.entry.js → p-221c2f0d.entry.js} +1 -1
  912. package/dist/magma-components/{p-3ba5ddae.entry.js → p-227f57e6.entry.js} +1 -1
  913. package/dist/magma-components/{p-0727d8f9.entry.js → p-23722401.entry.js} +1 -1
  914. package/dist/magma-components/p-23fabd66.system.entry.js +1 -0
  915. package/dist/magma-components/{p-a40443ca.system.entry.js → p-2431fbfa.system.entry.js} +1 -1
  916. package/dist/magma-components/{p-a2ec6eac.entry.js → p-25a6e977.entry.js} +1 -1
  917. package/dist/magma-components/p-2752b45a.system.entry.js +54 -0
  918. package/dist/magma-components/{p-2362b91a.entry.js → p-278c362d.entry.js} +1 -1
  919. package/dist/magma-components/{p-916a26e4.entry.js → p-295d8fab.entry.js} +1 -1
  920. package/dist/magma-components/{p-3bb26611.entry.js → p-29971e1d.entry.js} +1 -1
  921. package/dist/magma-components/p-2a4d22c9.system.entry.js +13 -0
  922. package/dist/magma-components/p-2c3f518c.system.entry.js +25 -0
  923. package/dist/magma-components/p-2c845743.system.entry.js +1 -0
  924. package/dist/magma-components/{p-3ac09ace.entry.js → p-2d9c9ef9.entry.js} +1 -1
  925. package/dist/magma-components/{p-5219eba6.system.entry.js → p-2e48f88d.system.entry.js} +2 -2
  926. package/dist/magma-components/{p-c89c2e30.entry.js → p-30be5c39.entry.js} +1 -1
  927. package/dist/magma-components/{p-62e65f3b.entry.js → p-335244bb.entry.js} +1 -1
  928. package/dist/magma-components/p-35528bdd.system.entry.js +225 -0
  929. package/dist/magma-components/{p-aa8653b1.system.entry.js → p-37487e8b.system.entry.js} +2 -2
  930. package/dist/magma-components/p-377d0661.entry.js +1 -0
  931. package/dist/magma-components/{p-8e08ae08.system.entry.js → p-38b16983.system.entry.js} +3 -3
  932. package/dist/magma-components/{p-e5ab1f4f.entry.js → p-3abaa053.entry.js} +1 -1
  933. package/dist/magma-components/{p-0c9bdfff.system.entry.js → p-3beea731.system.entry.js} +1 -1
  934. package/dist/magma-components/p-3c669cfb.entry.js +1 -0
  935. package/dist/magma-components/{p-e1ce306a.system.entry.js → p-3d162e99.system.entry.js} +2 -2
  936. package/dist/magma-components/p-3d95e688.system.entry.js +111 -0
  937. package/dist/magma-components/{p-6bc4114c.system.entry.js → p-3df07021.system.entry.js} +1 -1
  938. package/dist/magma-components/{p-b58363e2.system.entry.js → p-3e18b181.system.entry.js} +2 -2
  939. package/dist/magma-components/{p-028f3717.entry.js → p-3f68ddca.entry.js} +1 -1
  940. package/dist/magma-components/p-3fb46ab9.system.entry.js +1 -0
  941. package/dist/magma-components/{p-f43379ef.entry.js → p-41a0f896.entry.js} +1 -1
  942. package/dist/magma-components/p-44333d50.system.entry.js +82 -0
  943. package/dist/magma-components/{p-815801dd.system.entry.js → p-44998584.system.entry.js} +2 -2
  944. package/dist/magma-components/p-464e6431.entry.js +1 -0
  945. package/dist/magma-components/p-4776ac1f.entry.js +1 -0
  946. package/dist/magma-components/{p-b919ce62.entry.js → p-4792ff7f.entry.js} +1 -1
  947. package/dist/magma-components/{p-72cc4977.system.entry.js → p-4bc3335f.system.entry.js} +1 -1
  948. package/dist/magma-components/{p-5b21eb78.entry.js → p-4cabfdbc.entry.js} +1 -1
  949. package/dist/magma-components/{p-f30cdd34.system.entry.js → p-4d485e1f.system.entry.js} +1 -1
  950. package/dist/magma-components/{p-342770d2.system.entry.js → p-50705d36.system.entry.js} +2 -2
  951. package/dist/magma-components/{p-c72651b2.entry.js → p-521ba3a8.entry.js} +1 -1
  952. package/dist/magma-components/{p-da532544.system.entry.js → p-52d905fe.system.entry.js} +1 -1
  953. package/dist/magma-components/{p-23ce0824.entry.js → p-5435f2a9.entry.js} +1 -1
  954. package/dist/magma-components/{p-37b801d0.system.entry.js → p-5472f18d.system.entry.js} +2 -2
  955. package/dist/magma-components/{p-23bf1afa.system.entry.js → p-55b10b70.system.entry.js} +3 -3
  956. package/dist/magma-components/p-5cfa0dce.entry.js +1 -0
  957. package/dist/magma-components/{p-f7af41fb.system.entry.js → p-5ef0fb69.system.entry.js} +2 -2
  958. package/dist/magma-components/{p-a4f46de1.system.entry.js → p-5f8db04c.system.entry.js} +2 -2
  959. package/dist/magma-components/{p-765ff9a3.system.entry.js → p-624a3909.system.entry.js} +1 -1
  960. package/dist/magma-components/{p-29d4605e.system.entry.js → p-62e94d78.system.entry.js} +4 -4
  961. package/dist/magma-components/{p-0bcf3bb6.entry.js → p-62fc9695.entry.js} +1 -1
  962. package/dist/magma-components/{p-4ea00c22.entry.js → p-63b10a6e.entry.js} +1 -1
  963. package/dist/magma-components/{p-b40ef7ab.system.entry.js → p-642925b7.system.entry.js} +2 -2
  964. package/dist/magma-components/{p-32bfb09c.entry.js → p-6436178a.entry.js} +1 -1
  965. package/dist/magma-components/p-6560b426.system.entry.js +4 -0
  966. package/dist/magma-components/{p-f88c202e.entry.js → p-67eb3881.entry.js} +1 -1
  967. package/dist/magma-components/p-69abd1d1.entry.js +1 -0
  968. package/dist/magma-components/{p-bc30508b.entry.js → p-69badbba.entry.js} +1 -1
  969. package/dist/magma-components/{p-5ea3be82.system.entry.js → p-6a2d67d1.system.entry.js} +2 -2
  970. package/dist/magma-components/p-6af00399.system.entry.js +41 -0
  971. package/dist/magma-components/{p-721b625a.system.entry.js → p-6dff107d.system.entry.js} +9 -9
  972. package/dist/magma-components/p-6e32bf99.entry.js +1 -0
  973. package/dist/magma-components/p-72ad419d.system.entry.js +10 -0
  974. package/dist/magma-components/{p-f3763382.entry.js → p-762a6b7b.entry.js} +1 -1
  975. package/dist/magma-components/p-770b3c4b.entry.js +1 -0
  976. package/dist/magma-components/p-772c18f4.entry.js +1 -0
  977. package/dist/magma-components/p-77545238.entry.js +1 -0
  978. package/dist/magma-components/{p-11feeebf.system.entry.js → p-7961c335.system.entry.js} +1 -1
  979. package/dist/magma-components/{p-6ebbcd7b.system.entry.js → p-79f543fc.system.entry.js} +2 -2
  980. package/dist/magma-components/p-7ad68b2f.entry.js +1 -0
  981. package/dist/magma-components/{p-e49818c4.entry.js → p-7b300282.entry.js} +1 -1
  982. package/dist/magma-components/{p-1a5411a8.entry.js → p-7be0d28b.entry.js} +1 -1
  983. package/dist/magma-components/{p-3871807a.entry.js → p-7bf46d43.entry.js} +1 -1
  984. package/dist/magma-components/p-7c217aa5.entry.js +1 -0
  985. package/dist/magma-components/{p-8d8c9c90.entry.js → p-7ca73c56.entry.js} +1 -1
  986. package/dist/magma-components/{p-911dc847.entry.js → p-7d0c8177.entry.js} +1 -1
  987. package/dist/magma-components/{p-c6b16493.system.entry.js → p-7fde3025.system.entry.js} +3 -3
  988. package/dist/magma-components/{p-11e50140.system.entry.js → p-803957de.system.entry.js} +2 -2
  989. package/dist/magma-components/{p-38a9e862.entry.js → p-808b9277.entry.js} +1 -1
  990. package/dist/magma-components/{p-47f7366c.entry.js → p-8258733b.entry.js} +1 -1
  991. package/dist/magma-components/{p-288f3cfe.entry.js → p-837d31b8.entry.js} +1 -1
  992. package/dist/magma-components/{p-88be542e.system.entry.js → p-84ed22ea.system.entry.js} +2 -2
  993. package/dist/magma-components/p-85a31141.entry.js +1 -0
  994. package/dist/magma-components/p-85fb1d08.entry.js +1 -0
  995. package/dist/magma-components/{p-f9b5a5ec.entry.js → p-86cf87fb.entry.js} +1 -1
  996. package/dist/magma-components/{p-007968a8.system.entry.js → p-8740403e.system.entry.js} +3 -3
  997. package/dist/magma-components/{p-9bdca8b4.entry.js → p-87baf82a.entry.js} +1 -1
  998. package/dist/magma-components/{p-20469b7a.system.entry.js → p-880f3eac.system.entry.js} +1 -1
  999. package/dist/magma-components/{p-4a051ef5.system.entry.js → p-88460d31.system.entry.js} +2 -2
  1000. package/dist/magma-components/{p-fcaa81b3.entry.js → p-89d4b6e9.entry.js} +1 -1
  1001. package/dist/magma-components/{p-5d9b1fe5.entry.js → p-8a76097f.entry.js} +1 -1
  1002. package/dist/magma-components/{p-e8b9d639.entry.js → p-8a9544aa.entry.js} +1 -1
  1003. package/dist/magma-components/{p-1fe66383.system.entry.js → p-8ab9ff37.system.entry.js} +1 -1
  1004. package/dist/magma-components/{p-90fe332f.entry.js → p-8b501f92.entry.js} +1 -1
  1005. package/dist/magma-components/{p-a2d10402.system.entry.js → p-8ca2e879.system.entry.js} +1 -1
  1006. package/dist/magma-components/{p-7d548a19.entry.js → p-8d14f146.entry.js} +1 -1
  1007. package/dist/magma-components/{p-3fb98529.system.entry.js → p-8f47eb63.system.entry.js} +1 -1
  1008. package/dist/magma-components/p-8f63f1a1.system.entry.js +35 -0
  1009. package/dist/magma-components/{p-3093af30.system.entry.js → p-8f7daab1.system.entry.js} +1 -1
  1010. package/dist/magma-components/p-9250ec26.system.entry.js +7 -0
  1011. package/dist/magma-components/p-93d7485d.entry.js +8 -0
  1012. package/dist/magma-components/{p-36ad5759.system.entry.js → p-94439d8b.system.entry.js} +1 -1
  1013. package/dist/magma-components/{p-648ec03b.system.entry.js → p-947fcf74.system.entry.js} +5 -5
  1014. package/dist/magma-components/{p-b514bd3a.system.entry.js → p-95478664.system.entry.js} +1 -1
  1015. package/dist/magma-components/{p-ecb87d38.entry.js → p-9745dc51.entry.js} +1 -1
  1016. package/dist/magma-components/{p-95328cc7.system.entry.js → p-97eb734a.system.entry.js} +2 -2
  1017. package/dist/magma-components/p-984dd850.entry.js +1 -0
  1018. package/dist/magma-components/{p-d8d87750.system.entry.js → p-99bfa07e.system.entry.js} +1 -1
  1019. package/dist/magma-components/{p-b169ee9b.entry.js → p-9a3ddc91.entry.js} +1 -1
  1020. package/dist/magma-components/p-9cf81575.system.entry.js +80 -0
  1021. package/dist/magma-components/p-9f6c502b.entry.js +1 -0
  1022. package/dist/magma-components/{p-9e7d02e5.entry.js → p-9f8ce68f.entry.js} +1 -1
  1023. package/dist/magma-components/p-9fc385aa.entry.js +1 -0
  1024. package/dist/magma-components/p-B8zYiZQY.system.js +5 -0
  1025. package/dist/magma-components/{p-CmzGV0XD.system.js → p-BZP13mns.system.js} +1 -1
  1026. package/dist/magma-components/p-BoDvZoCN.system.js +18 -0
  1027. package/dist/magma-components/p-Bz1eiKqd.js +1 -0
  1028. package/dist/{components/p-Ebefwvkw.js → magma-components/p-CLhuNxYQ.js} +1 -1
  1029. package/dist/magma-components/{p-DVjUXVFl.system.js → p-CZuIEo2v.system.js} +1 -1
  1030. package/dist/magma-components/{p-C1ailvfu.system.js → p-CuHZXISO.system.js} +23 -19
  1031. package/dist/magma-components/{p-CPRkNQdE.js → p-CvLLN-QH.js} +1 -1
  1032. package/dist/magma-components/{p-LUd56iG_.system.js → p-CxTugGM9.system.js} +1 -1
  1033. package/dist/magma-components/{p-zQY2FlcD.js → p-Dx_cCOTw.js} +1 -1
  1034. package/dist/{components/p-B9dgiq4u.js → magma-components/p-OafT80hV.js} +2 -2
  1035. package/dist/magma-components/p-VOjLCGlK.system.js +90 -0
  1036. package/dist/magma-components/{p-be32b7a9.system.entry.js → p-a0612465.system.entry.js} +1 -1
  1037. package/dist/magma-components/p-a70fb4fb.system.entry.js +105 -0
  1038. package/dist/magma-components/p-a7c01334.entry.js +1 -0
  1039. package/dist/magma-components/p-a8a0a9ba.entry.js +1 -0
  1040. package/dist/magma-components/p-a987086b.system.entry.js +10 -0
  1041. package/dist/magma-components/p-ab4b617d.entry.js +1 -0
  1042. package/dist/magma-components/{p-e471decd.system.entry.js → p-ad05ef26.system.entry.js} +1 -1
  1043. package/dist/magma-components/{p-b62bbd07.entry.js → p-b01118cc.entry.js} +1 -1
  1044. package/dist/magma-components/{p-495a70e2.entry.js → p-b23bee0c.entry.js} +1 -1
  1045. package/dist/magma-components/{p-88ac5d50.entry.js → p-b373cc32.entry.js} +1 -1
  1046. package/dist/magma-components/{p-f5a08dca.system.entry.js → p-b4633c9c.system.entry.js} +2 -2
  1047. package/dist/magma-components/p-b467f737.entry.js +1 -0
  1048. package/dist/magma-components/{p-0b7a884e.system.entry.js → p-b5cc09c7.system.entry.js} +4 -4
  1049. package/dist/magma-components/p-b69c3126.entry.js +1 -0
  1050. package/dist/magma-components/{p-166c0190.entry.js → p-b8a59768.entry.js} +1 -1
  1051. package/dist/magma-components/{p-ef4d07ba.entry.js → p-b9ca6c2e.entry.js} +1 -1
  1052. package/dist/magma-components/p-bb282bc1.system.entry.js +20 -0
  1053. package/dist/magma-components/{p-ff4276d3.system.entry.js → p-bd97e368.system.entry.js} +1 -1
  1054. package/dist/magma-components/{p-7497b39d.system.entry.js → p-be6e156a.system.entry.js} +2 -2
  1055. package/dist/magma-components/{p-4582aa3e.system.entry.js → p-c03fc4fe.system.entry.js} +1 -1
  1056. package/dist/magma-components/{p-6b2fff4b.system.entry.js → p-c3a3caae.system.entry.js} +1 -1
  1057. package/dist/magma-components/{p-890bae38.system.entry.js → p-c3c487aa.system.entry.js} +1 -1
  1058. package/dist/magma-components/{p-a7bad4e8.entry.js → p-c40ad03a.entry.js} +1 -1
  1059. package/dist/magma-components/{p-a47a9f11.system.entry.js → p-c50e20cf.system.entry.js} +1 -1
  1060. package/dist/magma-components/p-c6819aad.entry.js +1 -0
  1061. package/dist/magma-components/p-cc954b22.system.entry.js +27 -0
  1062. package/dist/magma-components/{p-cc88c963.system.entry.js → p-cc9659e1.system.entry.js} +1 -1
  1063. package/dist/magma-components/{p-da6cf595.system.entry.js → p-ccc40c6a.system.entry.js} +2 -2
  1064. package/dist/magma-components/{p-a1443292.entry.js → p-ced3ebb8.entry.js} +1 -1
  1065. package/dist/magma-components/p-cf6f54e5.system.entry.js +9 -0
  1066. package/dist/magma-components/{p-4d079b1a.system.entry.js → p-d254de66.system.entry.js} +3 -3
  1067. package/dist/magma-components/{p-287d1253.system.entry.js → p-d3491226.system.entry.js} +125 -125
  1068. package/dist/magma-components/{p-c1d8a25e.entry.js → p-d3d74616.entry.js} +1 -1
  1069. package/dist/magma-components/{p-da9afc4b.system.entry.js → p-d48c40ab.system.entry.js} +2 -2
  1070. package/dist/magma-components/{p-cc109576.entry.js → p-d608b79c.entry.js} +1 -1
  1071. package/dist/magma-components/p-d6b38d8a.entry.js +1 -0
  1072. package/dist/magma-components/p-d8ae0f02.system.entry.js +15 -0
  1073. package/dist/magma-components/{p-25576b51.system.entry.js → p-d92ccce5.system.entry.js} +2 -2
  1074. package/dist/magma-components/{p-69b37755.system.entry.js → p-da93a00b.system.entry.js} +2 -2
  1075. package/dist/magma-components/{p-4800a310.entry.js → p-dbca23af.entry.js} +1 -1
  1076. package/dist/magma-components/{p-21fe0fef.system.entry.js → p-dc1a5826.system.entry.js} +1 -1
  1077. package/dist/magma-components/{p-8b081ba9.entry.js → p-de1ae02c.entry.js} +1 -1
  1078. package/dist/magma-components/p-dedbf8d6.entry.js +1 -0
  1079. package/dist/magma-components/p-e1383302.entry.js +1 -0
  1080. package/dist/magma-components/p-e2fa6300.system.entry.js +39 -0
  1081. package/dist/magma-components/{p-95486c6a.system.entry.js → p-e39518b4.system.entry.js} +2 -2
  1082. package/dist/magma-components/{p-b509fb36.entry.js → p-e3a65644.entry.js} +1 -1
  1083. package/dist/magma-components/{p-3a88fc9b.system.entry.js → p-e5d41024.system.entry.js} +1 -1
  1084. package/dist/magma-components/{p-14b40c21.entry.js → p-e5eb2390.entry.js} +1 -1
  1085. package/dist/magma-components/{p-dfbecf72.system.entry.js → p-eb92312f.system.entry.js} +3 -3
  1086. package/dist/magma-components/p-ec635255.entry.js +1 -0
  1087. package/dist/magma-components/{p-8ba250d6.system.entry.js → p-edf003f1.system.entry.js} +1 -1
  1088. package/dist/magma-components/{p-7448435b.system.entry.js → p-f0285a1e.system.entry.js} +4 -4
  1089. package/dist/magma-components/p-f09b08f9.entry.js +1 -0
  1090. package/dist/magma-components/p-f306b5c1.entry.js +1 -0
  1091. package/dist/magma-components/{p-1287fb51.entry.js → p-f35608b2.entry.js} +1 -1
  1092. package/dist/magma-components/{p-dbf69d54.system.entry.js → p-f39416e9.system.entry.js} +2 -2
  1093. package/dist/magma-components/{p-b940888d.entry.js → p-f4d80d9a.entry.js} +1 -1
  1094. package/dist/magma-components/{p-c6b9a14e.system.entry.js → p-f5326224.system.entry.js} +7 -7
  1095. package/dist/magma-components/{p-fd53a51c.entry.js → p-f588cf9e.entry.js} +1 -1
  1096. package/dist/magma-components/{p-e73cc6fc.entry.js → p-f5a33058.entry.js} +3 -3
  1097. package/dist/magma-components/p-f616f467.entry.js +1 -0
  1098. package/dist/magma-components/{p-a53f6a94.system.entry.js → p-f66675f5.system.entry.js} +2 -2
  1099. package/dist/magma-components/{p-96f973e3.entry.js → p-f7147d05.entry.js} +1 -1
  1100. package/dist/magma-components/p-f75935ed.system.entry.js +25 -0
  1101. package/dist/magma-components/{p-f48843b7.system.entry.js → p-f82c2b7e.system.entry.js} +1 -1
  1102. package/dist/magma-components/{p-1f5cd2b5.entry.js → p-f901c844.entry.js} +1 -1
  1103. package/dist/magma-components/{p-70a911e8.entry.js → p-fac6f123.entry.js} +1 -1
  1104. package/dist/magma-components/p-fc22f5e0.system.entry.js +34 -0
  1105. package/dist/magma-components/p-ffbf7448.entry.js +1 -0
  1106. package/dist/magma-components/{p-C25F_FlB.js → p-iX3kcwYg.js} +1 -1
  1107. package/dist/magma-components/{p-D8596ytD.system.js → p-mGgjNqBm.system.js} +6 -6
  1108. package/dist/stats.json +3497 -2645
  1109. package/dist/types/common/locale.d.ts +5 -0
  1110. package/dist/types/components/mds-entity/mds-entity.d.ts +1 -0
  1111. package/dist/types/components/mds-input/meta/validators.d.ts +7 -2
  1112. package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
  1113. package/dist/types/components/mds-input-select/mds-input-select.d.ts +2 -1
  1114. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +3 -3
  1115. package/dist/types/components/mds-link/mds-link.d.ts +71 -0
  1116. package/dist/types/components/mds-link/meta/dictionary.d.ts +3 -0
  1117. package/dist/types/components/mds-link/meta/types.d.ts +3 -0
  1118. package/dist/types/components.d.ts +103 -4
  1119. package/package.json +4 -3
  1120. package/dist/components/p-BHy4k3pJ.js +0 -1
  1121. package/dist/components/p-BLXRGNya.js +0 -1
  1122. package/dist/components/p-BN5kmfLJ.js +0 -8
  1123. package/dist/components/p-BUr3NqxM.js +0 -1
  1124. package/dist/components/p-C2fyy4Mv.js +0 -1
  1125. package/dist/components/p-CIWWmisz.js +0 -1
  1126. package/dist/components/p-CJyTL7Mj.js +0 -1
  1127. package/dist/components/p-CWwWCzma.js +0 -1
  1128. package/dist/components/p-ChrRK8N9.js +0 -1
  1129. package/dist/components/p-D3_jgpKd.js +0 -1
  1130. package/dist/components/p-DYpfVn7a.js +0 -1
  1131. package/dist/components/p-Ea5ilDf6.js +0 -1
  1132. package/dist/magma-components/p-0b5fe949.entry.js +0 -1
  1133. package/dist/magma-components/p-12a2f8e2.system.entry.js +0 -13
  1134. package/dist/magma-components/p-14ef1aec.entry.js +0 -1
  1135. package/dist/magma-components/p-1989c0b4.entry.js +0 -8
  1136. package/dist/magma-components/p-1d68fc4a.system.entry.js +0 -80
  1137. package/dist/magma-components/p-20608f69.system.entry.js +0 -35
  1138. package/dist/magma-components/p-2061e567.entry.js +0 -1
  1139. package/dist/magma-components/p-21c2d7bd.entry.js +0 -1
  1140. package/dist/magma-components/p-2294945a.system.entry.js +0 -34
  1141. package/dist/magma-components/p-2abfc393.entry.js +0 -1
  1142. package/dist/magma-components/p-2c4d2717.entry.js +0 -1
  1143. package/dist/magma-components/p-2d7d9e4f.entry.js +0 -1
  1144. package/dist/magma-components/p-2e8f703e.entry.js +0 -1
  1145. package/dist/magma-components/p-357ec8c0.entry.js +0 -1
  1146. package/dist/magma-components/p-3b36319a.entry.js +0 -1
  1147. package/dist/magma-components/p-3e1b21bd.entry.js +0 -1
  1148. package/dist/magma-components/p-4116e328.system.entry.js +0 -1
  1149. package/dist/magma-components/p-4191bf22.entry.js +0 -1
  1150. package/dist/magma-components/p-4260da67.system.entry.js +0 -12
  1151. package/dist/magma-components/p-43338a07.entry.js +0 -1
  1152. package/dist/magma-components/p-4c2dad1e.system.entry.js +0 -81
  1153. package/dist/magma-components/p-4f24ccf3.entry.js +0 -1
  1154. package/dist/magma-components/p-51a869ee.entry.js +0 -1
  1155. package/dist/magma-components/p-52a85b97.system.entry.js +0 -9
  1156. package/dist/magma-components/p-52d5d104.system.entry.js +0 -17
  1157. package/dist/magma-components/p-5439125d.system.entry.js +0 -10
  1158. package/dist/magma-components/p-5a2deba5.entry.js +0 -1
  1159. package/dist/magma-components/p-5cef4711.entry.js +0 -1
  1160. package/dist/magma-components/p-61f0ebf3.entry.js +0 -1
  1161. package/dist/magma-components/p-677ef2a3.system.entry.js +0 -55
  1162. package/dist/magma-components/p-6da68fd5.entry.js +0 -1
  1163. package/dist/magma-components/p-70f5536c.system.entry.js +0 -15
  1164. package/dist/magma-components/p-7502528c.entry.js +0 -1
  1165. package/dist/magma-components/p-7a568cbf.entry.js +0 -1
  1166. package/dist/magma-components/p-7f776dff.entry.js +0 -1
  1167. package/dist/magma-components/p-811272a9.entry.js +0 -1
  1168. package/dist/magma-components/p-87b15008.entry.js +0 -1
  1169. package/dist/magma-components/p-8a4a2b5a.entry.js +0 -1
  1170. package/dist/magma-components/p-8c66c761.entry.js +0 -1
  1171. package/dist/magma-components/p-914d1b2a.system.entry.js +0 -111
  1172. package/dist/magma-components/p-91ed604f.entry.js +0 -1
  1173. package/dist/magma-components/p-938dbe67.system.entry.js +0 -27
  1174. package/dist/magma-components/p-93d8b236.system.entry.js +0 -10
  1175. package/dist/magma-components/p-9a28bd8d.system.entry.js +0 -20
  1176. package/dist/magma-components/p-9caf411a.system.entry.js +0 -13
  1177. package/dist/magma-components/p-BHS0WXNt.system.js +0 -107
  1178. package/dist/magma-components/p-QYez4sql.system.js +0 -5
  1179. package/dist/magma-components/p-a08d20c2.system.entry.js +0 -1
  1180. package/dist/magma-components/p-a51f849a.entry.js +0 -1
  1181. package/dist/magma-components/p-a6fe6b4c.system.entry.js +0 -1
  1182. package/dist/magma-components/p-a8593847.entry.js +0 -1
  1183. package/dist/magma-components/p-ac4109e3.entry.js +0 -1
  1184. package/dist/magma-components/p-b36d54e1.system.entry.js +0 -41
  1185. package/dist/magma-components/p-b48fc62e.entry.js +0 -1
  1186. package/dist/magma-components/p-bba4c7eb.entry.js +0 -1
  1187. package/dist/magma-components/p-bdd18c90.system.entry.js +0 -25
  1188. package/dist/magma-components/p-c3622315.entry.js +0 -1
  1189. package/dist/magma-components/p-c6db7a0f.system.entry.js +0 -22
  1190. package/dist/magma-components/p-ca8e0927.system.entry.js +0 -7
  1191. package/dist/magma-components/p-cfe080ab.system.entry.js +0 -54
  1192. package/dist/magma-components/p-d3678561.system.entry.js +0 -35
  1193. package/dist/magma-components/p-d9551916.system.entry.js +0 -222
  1194. package/dist/magma-components/p-daf9c8ca.system.entry.js +0 -4
  1195. package/dist/magma-components/p-dd8fb2f8.system.entry.js +0 -105
  1196. package/dist/magma-components/p-e15a874b.entry.js +0 -1
  1197. package/dist/magma-components/p-e954b5c5.entry.js +0 -1
  1198. package/dist/magma-components/p-eba7cfb3.entry.js +0 -1
  1199. package/dist/magma-components/p-f454c06b.entry.js +0 -1
  1200. package/dist/magma-components/p-f7f6881a.entry.js +0 -1
@@ -1 +1 @@
1
- import{p as t,H as a,d as i,h as e,c as r,t as s}from"./p-B2p5a1Y8.js";import{s as n}from"./p-wI0alRSO.js";import{u as o}from"./p-Bg5E4Wnq.js";import{m as d}from"./p-BVQMG7KJ.js";import{D as m,d as p}from"./p-NOw8-OrM.js";import{p as c}from"./p-BlnEiKN4.js";import{L as u}from"./p-B9dgiq4u.js";import{d as l}from"./p-BUr3NqxM.js";import{d as h}from"./p-BFisF7aN.js";import{d as v}from"./p-ChrRK8N9.js";import{d as g}from"./p-cIZniMh0.js";import{d as b}from"./p-Didp833Z.js";import{d as f}from"./p-D4JiVIoh.js";import{d as y}from"./p-B6B6q5kP.js";import{d as x}from"./p-DezdwzYQ.js";var w={openCalendar:"Άνοιγμα ημερολογίου"},k={openCalendar:"Open calendar"},z={openCalendar:"Abrir el calendario"},C={openCalendar:"Apri il calendario"};const j=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.validationEvent=i(this,"mdsInputValidation",7),this.valueChange=i(this,"mdsInputDateSelect",7),this.internals=this.attachInternals(),this.t=new u({el:w,en:k,es:z,it:C}),this.formDisabled=!1,this.isSlotted=!1,this.defaultValue="",this.empty=void 0,this.touched=!1,this.value="",this.variant="primary",this.min=null,this.max=null,this.delay=500,this.size="lg",this.hideToday=!1,this.disabled=!1,this.readonly=!1,this.required=!1,this.calendarKey=0,this.hasFocus=!1,this.isDisabled=()=>!!this.disabled||this.formDisabled,this.handleChange=t=>{const a=t.target;this.touched=!0,""!==a.value&&(this.value=a.value),this.validateValue(a.validity.badInput)},this.onBlur=t=>{const a=t.target;this.hasFocus=!1,this.touched=!0,this.value=a.value,this.validateValue(a.validity.badInput)},this.onFocus=t=>{const a=t.target;this.hasFocus=!0,this.readonly&&setTimeout((()=>{a.select()}),10)},this.handleOpenCalendarClick=()=>{this.calendarKey+=1},this.handleCalendarChange=t=>{if(this.touched=!0,this.value=t.detail.startDate,0===this.delay)return;const{dropdownRef:a}=this;a&&setTimeout((()=>{a.visible=!1}),this.delay)}}handleValue(){this.valueChange.emit(this.value),this.validateValue()}validateValue(t=!1){const a=m.fromISO(this.value),i=!!this.value&&!a.isValid;this.problem=this.findProblem(a,t||i),this.isValid=void 0===this.problem,n(this.internals,this.isValid?this.value:null),this.empty=!(!t&&!i)||void 0,this.updateFormValidity(),this.touched&&(this.variant=this.isValid?"primary":"error",this.validationEvent.emit(this.isValid))}invalidHandler(){this.touched=!0,this.validateValue()}findProblem(t,a){var i,e,r;return a?{rule:"invalidDate"}:this.required&&""===(null!==(i=this.value)&&void 0!==i?i:"")?{rule:"required"}:t.isValid?""!==(null!==(e=this.max)&&void 0!==e?e:"")&&m.fromISO(this.max)<t?{rule:"maxDate",context:{max:this.formatDate(this.max)}}:""!==(null!==(r=this.min)&&void 0!==r?r:"")&&m.fromISO(this.min)>t?{rule:"minDate",context:{min:this.formatDate(this.min)}}:void 0:void 0}formatDate(t){return m.fromISO(t).setLocale(c.state.language).toLocaleString(m.DATE_SHORT)}updateFormValidity(){var t,a;const i=null!==(a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input"))&&void 0!==a?a:void 0;o(this.internals,this.problem,i)}componentDidRender(){this.updateFormValidity()}async focusInput(){var t;(null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input")).focus()}async setValue(t){return this.value=t,this.validateValue(),Promise.resolve()}async getErrors(){return Promise.resolve(this.isValid?null:{error:""})}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){var t;const{touched:a}=this;this.touched=!1;const i=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input");i&&(i.value=this.defaultValue),this.value=this.defaultValue,this.validateValue(),a&&(this.variant="primary")}componentWillLoad(){this.isSlotted=!(null===this.host.getAttribute("slot")||""===this.host.getAttribute("slot")),this.value=this.value||"",this.defaultValue=this.value,this.clampRange(),this.validateValue()}clampRange(){return null!==this.min&&""!==this.min&&null!==this.max&&""!==this.max&&m.fromISO(this.max)<m.fromISO(this.min)&&(this.max=this.min,!0)}validationRulesChanged(){this.clampRange()||this.validateValue()}render(){return e(r,{key:"ca767c9c4d02daded43106191d4fd004b4938ec6",empty:this.empty,"pref-animation":c.state.animation,"pref-contrast":c.state.contrast,"pref-mode":c.state.mode,"pref-theme-scheme":c.state["theme-scheme"]},e("input",{key:"56af9b42a4db5bf071a69ec098d220b006fd2f63","aria-label":this.accessibleName,value:this.value,id:"dateInput",class:"input",part:"input-date",type:"date",disabled:this.isDisabled(),name:this.name,readOnly:this.readonly,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.handleChange,onChange:this.handleChange}),!this.isSlotted&&e("div",{key:"820418fcceacbddfc039a5777c6cef1adac55c93",class:"action-open-calendar-wrapper"},e("mds-button",{key:"d0d2da878a1491ca82d38c5c1c8cf945b20fcd36","aria-label":this.t.get("openCalendar"),id:"calendar-dropdown",class:"action-open-calendar",size:"sm"===this.size?"sm":void 0,disabled:this.isDisabled()||this.readonly,variant:"dark",tone:"text",icon:d,onClick:this.handleOpenCalendarClick})),e("mds-input-tip",{key:"87bb965abf3661b59bd81c488a858d1ed0ece717",position:"top",active:this.hasFocus},this.isDisabled()&&e("mds-input-tip-item",{key:"b1d1068dc9c6474aefd8ea1260f371a0be356a87",expanded:!0,variant:"disabled"}),this.readonly&&e("mds-input-tip-item",{key:"e29d36bb7698aa23d5e2fe599c30fb055958421b",expanded:!0,variant:"readonly"}),this.required&&e("mds-input-tip-item",{key:"defb7729cf5ecd3c42195e85278a9cbb3cdbf1c0",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),!this.isSlotted&&e("mds-dropdown",{key:"10bd1dd955286600cfc075586f4b96c1eb737f2a",placement:"bottom-end","disable-auto-placement":!0,ref:t=>this.dropdownRef=t,role:"group",target:"#calendar-dropdown"},e("mds-calendar",Object.assign({key:this.calendarKey,singlePicker:!0,hideToday:this.hideToday,onMdsCalendarChange:this.handleCalendarChange,startDate:this.value},null!==this.min&&""!==this.min?{min:this.min}:{},null!==this.max&&""!==this.max?{max:this.max}:{}))))}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{value:[{handleValue:0}],max:[{validationRulesChanged:0}],min:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;:host{--private-input-date-height:3rem;--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*400);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*1200);--mds-input-date-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-input-date-field-background-empty:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-input-date-field-color-empty:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-input-date-ring:0 0 0 1px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1);--mds-input-date-shadow:0 1px 3px 0 rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1),0 1px 2px 0 rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.06);--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*1000);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-date-transition-duration:var(--duration-300,.3s);--private-input-date-transition-duration:var(--mds-input-date-transition-duration);font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-input-date-height));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);container-type:inline-size;display:flex;gap:calc(var(--spacing,.0025rem)*200);overflow:visible;position:relative;--mds-input-date-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-date-variant-color-rgb:0 0 0}.input::-webkit-calendar-picker-indicator{appearance:textfield;display:none}.input{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-hack,.875rem);font-weight:var(--tw-font-weight,var(--text-size-code-hack--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-hack--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:inherit;box-sizing:border-box;color:inherit;corner-shape:inherit;background-color:#0000;border:0;margin:0;overflow:hidden;text-overflow:ellipsis;transition-duration:var(--private-input-date-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,margin,opacity,padding,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:min-content}:host([empty]) .input{background-color:var(--mds-input-date-field-background-empty,rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230))));color:var(--mds-input-date-field-color-empty,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))))}:host([slot]){color:inherit;display:contents}:host([slot]) .input{cursor:text;text-align:center}:host(:not([slot])) .input{background-color:var(--mds-input-date-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));box-shadow:var(--mds-input-date-ring),var(--mds-input-date-shadow);min-height:var(--private-input-date-height);padding-left:var(--private-input-date-padding-inline);padding-right:var(--private-input-date-calendar-area);width:100%}:host(:focus-within) .input{--tw-outline-style:none;outline-style:none;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,rotate,scale,transform,translate,width;transition-timing-function:var(--default-transition-timing-function);--mds-input-date-ring:0 0 0 3px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/1);--mds-input-date-shadow:0 4px 6px 3px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1),0 2px 4px -1px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.06);transition-duration:var(--duration-300,.3s);transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}.input::-webkit-inner-spin-button,.input::-webkit-outer-spin-button{appearance:none;display:none;margin:0}.input:disabled{background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}.input:disabled,.input:disabled::placeholder{color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}.action-open-calendar-wrapper{align-items:center;aspect-ratio:1;bottom:0;display:flex;justify-content:center;position:absolute;right:0;top:0}.action-open-calendar{--mds-button-color:var(--mds-input-date-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));align-self:center}mds-calendar{min-width:min-content;width:100cqw}mds-dropdown{padding:0}mds-input-tip{--mds-input-tip-horizontal-offset:inherit;--mds-input-tip-horizontal-offset-focused:inherit;--mds-input-tip-vertical-offset:inherit;--mds-input-tip-background:inherit}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar,mds-dropdown,mds-input-tip,mds-input-tip-item):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host([size=md]){--private-input-date-height:calc(var(--spacing,.0025rem)*900);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*300);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*1000)}:host([size=sm]){--private-input-date-height:calc(var(--spacing,.0025rem)*700);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*200);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*800)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-date-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-date-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([pref-contrast=more]){--mds-input-date-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([pref-contrast=more]) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}@supports ((-moz-appearance:none)){.action-open-calendar{display:none}:host(:not([slot])) .input{padding-right:calc(var(--spacing,.0025rem)*400)}}:host(:focus){--mds-input-date-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-variant-color-rgb:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))}:host([variant=ai]){--mds-input-date-icon-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-input-tip-background:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=ai]:focus){--mds-input-date-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-variant-color-rgb:var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245))}:host([variant=info]){--mds-input-date-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=info]:focus){--mds-input-date-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-date-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=success]:focus){--mds-input-date-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-date-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=warning]:focus){--mds-input-date-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-date-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=error]:focus){--mds-input-date-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}@media (forced-colors:active){:host(:focus-within) .input{outline:2px solid #0000;outline-offset:2px}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-date-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-date-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-date-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}}'}},[65,"mds-input-date",{accessibleName:[1,"aria-label"],value:[513],name:[513],variant:[1537],min:[1537],max:[1537],delay:[514],size:[513],hideToday:[516,"hide-today"],disabled:[516],readonly:[516],required:[516],formDisabled:[32],empty:[32],isValid:[32],touched:[32],calendarKey:[32],dropdownRef:[32],hasFocus:[32],focusInput:[64],setValue:[64],getErrors:[64]},[[0,"invalid","invalidHandler"]],{value:[{handleValue:0}],max:[{validationRulesChanged:0}],min:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}]}]),E=j,R=function(){"undefined"!=typeof customElements&&["mds-input-date","mds-button","mds-calendar","mds-calendar-cell","mds-dropdown","mds-icon","mds-input-tip","mds-input-tip-item","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-input-date":customElements.get(s(t))||customElements.define(s(t),j);break;case"mds-button":customElements.get(s(t))||l();break;case"mds-calendar":customElements.get(s(t))||p();break;case"mds-calendar-cell":customElements.get(s(t))||h();break;case"mds-dropdown":customElements.get(s(t))||v();break;case"mds-icon":customElements.get(s(t))||g();break;case"mds-input-tip":customElements.get(s(t))||b();break;case"mds-input-tip-item":customElements.get(s(t))||f();break;case"mds-spinner":customElements.get(s(t))||y();break;case"mds-text":customElements.get(s(t))||x()}}))};export{E as MdsInputDate,R as defineCustomElement}
1
+ import{p as t,H as a,d as i,h as r,c as e,t as s}from"./p-TZJN-ygm.js";import{s as n}from"./p-wI0alRSO.js";import{u as o}from"./p-DTtmr_Y9.js";import{m as d}from"./p-BVQMG7KJ.js";import{D as m,d as c}from"./p-DucY18_e.js";import{p}from"./p-CVRN4LDc.js";import{L as l}from"./p-CZjwSwe5.js";import{d as u}from"./p-ClPv-Ljc.js";import{d as h}from"./p-CHHEp_7y.js";import{d as v}from"./p-BwJQB6rG.js";import{d as g}from"./p-Cmn1DJAB.js";import{d as b}from"./p-BU3bsIX2.js";import{d as f}from"./p-DkYDXDkD.js";import{d as y}from"./p-ZuubAcA3.js";import{d as w}from"./p-CNF3u0Li.js";var x={openCalendar:"Άνοιγμα ημερολογίου"},k={openCalendar:"Open calendar"},C={openCalendar:"Abrir el calendario"},z={openCalendar:"Apri il calendario"};const j=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.validationEvent=i(this,"mdsInputValidation",7),this.valueChange=i(this,"mdsInputDateSelect",7),this.internals=this.attachInternals(),this.t=new l({el:x,en:k,es:C,it:z}),this.formDisabled=!1,this.isSlotted=!1,this.defaultValue="",this.empty=void 0,this.touched=!1,this.value="",this.variant="primary",this.min=null,this.max=null,this.delay=500,this.size="lg",this.hideToday=!1,this.disabled=!1,this.readonly=!1,this.required=!1,this.calendarKey=0,this.hasFocus=!1,this.isDisabled=()=>!!this.disabled||this.formDisabled,this.handleChange=t=>{const a=t.target;this.touched=!0,""!==a.value&&(this.value=a.value),this.validateValue(a.validity.badInput)},this.onBlur=t=>{const a=t.target;this.hasFocus=!1,this.touched=!0,this.value=a.value,this.validateValue(a.validity.badInput)},this.onFocus=t=>{const a=t.target;this.hasFocus=!0,this.readonly&&setTimeout((()=>{a.select()}),10)},this.handleOpenCalendarClick=()=>{this.calendarKey+=1},this.handleCalendarChange=t=>{if(this.touched=!0,this.value=t.detail.startDate,0===this.delay)return;const{dropdownRef:a}=this;a&&setTimeout((()=>{a.visible=!1}),this.delay)}}handleValue(){this.valueChange.emit(this.value),this.validateValue()}validateValue(t=!1){const a=m.fromISO(this.value),i=!!this.value&&!a.isValid;this.problem=this.findProblem(a,t||i),this.isValid=void 0===this.problem,n(this.internals,this.isValid?this.value:null),this.empty=!(!t&&!i)||void 0,this.updateFormValidity(),this.touched&&(this.variant=this.isValid?"primary":"error",this.validationEvent.emit(this.isValid))}invalidHandler(){this.touched=!0,this.validateValue()}findProblem(t,a){var i,r,e;return a?{rule:"invalidDate"}:this.required&&""===(null!==(i=this.value)&&void 0!==i?i:"")?{rule:"required"}:t.isValid?""!==(null!==(r=this.max)&&void 0!==r?r:"")&&m.fromISO(this.max)<t?{rule:"maxDate",context:{max:this.formatDate(this.max)}}:""!==(null!==(e=this.min)&&void 0!==e?e:"")&&m.fromISO(this.min)>t?{rule:"minDate",context:{min:this.formatDate(this.min)}}:void 0:void 0}formatDate(t){return m.fromISO(t).setLocale(p.state.language).toLocaleString(m.DATE_SHORT)}updateFormValidity(){var t,a;const i=null!==(a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input"))&&void 0!==a?a:void 0;o(this.internals,this.problem,i)}componentDidRender(){this.updateFormValidity()}async focusInput(){var t;(null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input")).focus()}async setValue(t){return this.value=t,this.validateValue(),Promise.resolve()}async getErrors(){return Promise.resolve(this.isValid?null:{error:""})}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){var t;const{touched:a}=this;this.touched=!1;const i=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".input");i&&(i.value=this.defaultValue),this.value=this.defaultValue,this.validateValue(),a&&(this.variant="primary")}componentWillLoad(){this.isSlotted=!(null===this.host.getAttribute("slot")||""===this.host.getAttribute("slot")),this.value=this.value||"",this.defaultValue=this.value,this.clampRange(),this.validateValue()}clampRange(){return null!==this.min&&""!==this.min&&null!==this.max&&""!==this.max&&m.fromISO(this.max)<m.fromISO(this.min)&&(this.max=this.min,!0)}validationRulesChanged(){this.clampRange()||this.validateValue()}render(){return r(e,{key:"ca767c9c4d02daded43106191d4fd004b4938ec6",empty:this.empty,"pref-animation":p.state.animation,"pref-contrast":p.state.contrast,"pref-mode":p.state.mode,"pref-theme-scheme":p.state["theme-scheme"]},r("input",{key:"56af9b42a4db5bf071a69ec098d220b006fd2f63","aria-label":this.accessibleName,value:this.value,id:"dateInput",class:"input",part:"input-date",type:"date",disabled:this.isDisabled(),name:this.name,readOnly:this.readonly,onBlur:this.onBlur,onFocus:this.onFocus,onInput:this.handleChange,onChange:this.handleChange}),!this.isSlotted&&r("div",{key:"820418fcceacbddfc039a5777c6cef1adac55c93",class:"action-open-calendar-wrapper"},r("mds-button",{key:"d0d2da878a1491ca82d38c5c1c8cf945b20fcd36","aria-label":this.t.get("openCalendar"),id:"calendar-dropdown",class:"action-open-calendar",size:"sm"===this.size?"sm":void 0,disabled:this.isDisabled()||this.readonly,variant:"dark",tone:"text",icon:d,onClick:this.handleOpenCalendarClick})),r("mds-input-tip",{key:"87bb965abf3661b59bd81c488a858d1ed0ece717",position:"top",active:this.hasFocus},this.isDisabled()&&r("mds-input-tip-item",{key:"b1d1068dc9c6474aefd8ea1260f371a0be356a87",expanded:!0,variant:"disabled"}),this.readonly&&r("mds-input-tip-item",{key:"e29d36bb7698aa23d5e2fe599c30fb055958421b",expanded:!0,variant:"readonly"}),this.required&&r("mds-input-tip-item",{key:"defb7729cf5ecd3c42195e85278a9cbb3cdbf1c0",expanded:this.hasFocus,variant:this.isValid?"required-success":"required"})),!this.isSlotted&&r("mds-dropdown",{key:"10bd1dd955286600cfc075586f4b96c1eb737f2a",placement:"bottom-end","disable-auto-placement":!0,ref:t=>this.dropdownRef=t,role:"group",target:"#calendar-dropdown"},r("mds-calendar",Object.assign({key:this.calendarKey,singlePicker:!0,hideToday:this.hideToday,onMdsCalendarChange:this.handleCalendarChange,startDate:this.value},null!==this.min&&""!==this.min?{min:this.min}:{},null!==this.max&&""!==this.max?{max:this.max}:{}))))}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{value:[{handleValue:0}],max:[{validationRulesChanged:0}],min:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;:host{--private-input-date-height:calc(var(--spacing,.0025rem)*1200);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*400);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*1200);--mds-input-date-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-input-date-field-background-empty:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-input-date-field-color-empty:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-input-date-ring:0 0 0 1px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1);--mds-input-date-shadow:0 1px calc(var(--spacing,.0025rem)*75) 0 rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1),0 1px calc(var(--spacing,.0025rem)*50) 0 rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.06);--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*1000);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-date-transition-duration:var(--duration-300,.3s);--private-input-date-transition-duration:var(--mds-input-date-transition-duration);font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-input-date-height));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);container-type:inline-size;display:flex;gap:calc(var(--spacing,.0025rem)*200);overflow:visible;position:relative;--mds-input-date-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-date-variant-color-rgb:0 0 0}.input::-webkit-calendar-picker-indicator{appearance:textfield;display:none}.input{font-family:var(--font-code,"Roboto Mono","Courier New",monospace);font-size:var(--text-size-code-hack,.875rem);font-weight:var(--tw-font-weight,var(--text-size-code-hack--font-weight,400));line-height:var(--tw-leading,var(--text-size-code-hack--line-height,1.25rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:inherit;box-sizing:border-box;color:inherit;corner-shape:inherit;background-color:#0000;border:0;margin:0;overflow:hidden;text-overflow:ellipsis;transition-duration:var(--private-input-date-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,margin,opacity,padding,transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:min-content}:host([empty]) .input{background-color:var(--mds-input-date-field-background-empty,rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230))));color:var(--mds-input-date-field-color-empty,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))))}:host([slot]){color:inherit;display:contents}:host([slot]) .input{cursor:text;text-align:center}:host(:not([slot])) .input{background-color:var(--mds-input-date-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));box-shadow:var(--mds-input-date-ring),var(--mds-input-date-shadow);min-height:var(--private-input-date-height);padding-left:var(--private-input-date-padding-inline);padding-right:var(--private-input-date-calendar-area);width:100%}:host(:focus-within) .input{--tw-outline-style:none;outline-style:none;transition-duration:var(--default-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,rotate,scale,transform,translate,width;transition-timing-function:var(--default-transition-timing-function);--mds-input-date-ring:0 0 0 calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/1);--mds-input-date-shadow:0 calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*150) calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.1),0 calc(var(--spacing,.0025rem)*50) calc(var(--spacing,.0025rem)*100) -1px rgb(var(--mds-input-date-variant-color-rgb,0 0 0)/.06);transition-duration:var(--duration-300,.3s);transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}.input::-webkit-inner-spin-button,.input::-webkit-outer-spin-button{appearance:none;display:none;margin:0}.input:disabled{background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}.input:disabled,.input:disabled::placeholder{color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}.action-open-calendar-wrapper{align-items:center;aspect-ratio:1;bottom:0;display:flex;justify-content:center;position:absolute;right:0;top:0}.action-open-calendar{--mds-button-color:var(--mds-input-date-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));align-self:center}mds-calendar{min-width:min-content;width:100cqw}mds-dropdown{padding:0}mds-input-tip{--mds-input-tip-horizontal-offset:inherit;--mds-input-tip-horizontal-offset-focused:inherit;--mds-input-tip-vertical-offset:inherit;--mds-input-tip-background:inherit}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar,mds-dropdown,mds-input-tip,mds-input-tip-item):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host([size=md]){--private-input-date-height:calc(var(--spacing,.0025rem)*900);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*300);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*1000)}:host([size=sm]){--private-input-date-height:calc(var(--spacing,.0025rem)*700);--private-input-date-padding-inline:calc(var(--spacing,.0025rem)*200);--private-input-date-calendar-area:calc(var(--spacing,.0025rem)*800)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-date-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-date-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([pref-contrast=more]){--mds-input-date-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([pref-contrast=more]) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}@supports ((-moz-appearance:none)){.action-open-calendar{display:none}:host(:not([slot])) .input{padding-right:calc(var(--spacing,.0025rem)*400)}}:host(:focus){--mds-input-date-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-input-date-variant-color-rgb:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))}:host([variant=ai]){--mds-input-date-icon-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-input-tip-background:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=ai]:focus){--mds-input-date-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-input-date-variant-color-rgb:var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245))}:host([variant=info]){--mds-input-date-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=info]:focus){--mds-input-date-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-date-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-date-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=success]:focus){--mds-input-date-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-date-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-date-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=warning]:focus){--mds-input-date-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-date-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-date-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-variant-color-rgb:0 0 0}:host([variant=error]:focus){--mds-input-date-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-date-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}@media (forced-colors:active){:host(:focus-within) .input{outline:2px solid #0000;outline-offset:2px}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-date-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-date-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .counter-button:hover{--mds-button-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-date-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6));--mds-input-date-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input::placeholder{color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}}'}},[65,"mds-input-date",{accessibleName:[1,"aria-label"],value:[513],name:[513],variant:[1537],min:[1537],max:[1537],delay:[514],size:[513],hideToday:[516,"hide-today"],disabled:[516],readonly:[516],required:[516],formDisabled:[32],empty:[32],isValid:[32],touched:[32],calendarKey:[32],dropdownRef:[32],hasFocus:[32],focusInput:[64],setValue:[64],getErrors:[64]},[[0,"invalid","invalidHandler"]],{value:[{handleValue:0}],max:[{validationRulesChanged:0}],min:[{validationRulesChanged:0}],required:[{validationRulesChanged:0}]}]),D=j,E=function(){"undefined"!=typeof customElements&&["mds-input-date","mds-button","mds-calendar","mds-calendar-cell","mds-dropdown","mds-icon","mds-input-tip","mds-input-tip-item","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-input-date":customElements.get(s(t))||customElements.define(s(t),j);break;case"mds-button":customElements.get(s(t))||u();break;case"mds-calendar":customElements.get(s(t))||c();break;case"mds-calendar-cell":customElements.get(s(t))||h();break;case"mds-dropdown":customElements.get(s(t))||v();break;case"mds-icon":customElements.get(s(t))||g();break;case"mds-input-tip":customElements.get(s(t))||b();break;case"mds-input-tip-item":customElements.get(s(t))||f();break;case"mds-spinner":customElements.get(s(t))||y();break;case"mds-text":customElements.get(s(t))||w()}}))};export{D as MdsInputDate,E as defineCustomElement}
@@ -1 +1 @@
1
- import{p as a,H as s,h as t,c as r,t as e}from"./p-B2p5a1Y8.js";import{d as i}from"./p-DezdwzYQ.js";const n=a(class extends s{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.nameSlottedControls=()=>{var a;null===(a=this.slotInput)||void 0===a||a.assignedElements().forEach((a=>{const s=a.getAttribute("aria-label");null!==s&&s!==this.appliedName||(null!=this.label&&""!==this.label?a.setAttribute("aria-label",this.label):a.removeAttribute("aria-label"))})),this.appliedName=this.label},this.variant="primary"}handleValidation(a){"function"==typeof a.getErrors&&a.getErrors().then((a=>{if(null==a)this.variant="success",this.message=void 0;else{this.variant="error";const s=Object.entries(a).map((a=>a[1])).filter((a=>a));this.message=0!==s.length?s.join(";"):void 0}}))}componentDidLoad(){this.nameSlottedControls();const[a]=this.slotInput.assignedElements();null!=a?a.addEventListener("mdsInputValidation",(a=>this.handleValidation(a.target))):console.warn("mds-input-field: no mds-input assigned to the input slot")}labelChanged(){this.nameSlottedControls()}render(){var a;return t(r,{key:"e3cda7417a3146da6a5be81bbe30d7322712612b"},t("mds-text",{key:"ecec06095f556df90c393ebd9c065ed071d13385",class:"label",typography:"label"},this.label),t("div",{key:"e9e97898e5e24138568fc960db6757645d788683",class:"message-window"},t("div",{key:"c4ebb296a0a4a666773050fcd17d9b579b1f96d6",class:"content",part:"content"},t("slot",{key:"1f651414949e41d429eeef9a53b919c54b10326c",onSlotchange:this.nameSlottedControls,ref:a=>this.slotInput=a})),t("div",{key:"7c973d622fb784dd5ffdf6ee5a8b69759a43ae11",class:"message"},null===(a=this.message)||void 0===a?void 0:a.split(";").map(((a,s)=>t("mds-text",{typography:"caption",key:s},a))))))}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{label:[{labelChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-field-message-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-input-field-message-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*300)}.message-window{border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));color:var(--mds-input-field-message-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));corner-shape:inherit;background-color:#0000;display:grid;gap:0;padding:0;transition-duration:var(--duration-300,.3s);transition-property:background-color,color,gap,padding;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.message-window:has(.message:not(:empty)){background-color:var(--mds-input-field-message-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*200)}.message{interpolate-size:allow-keywords;display:flex;flex-direction:column;height:auto;padding:calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200);transition-duration:var(--duration-300,.3s);transition-property:height,margin-top,opacity,padding;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.message:empty{height:0;max-height:0;opacity:0;padding:0}.label:empty{display:none}.content{container:content/inline-size;display:flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*200)}::slotted(:first-child){flex-grow:1}::slotted(:not(:first-child)){flex-shrink:0}@container content (max-width:300px){::slotted(*){flex-grow:1;min-width:100%}}:host([variant=ai]){--mds-input-field-message-color:rgb(var(--magma-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190)));--mds-input-field-message-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)))}:host([variant=info]){--mds-input-field-message-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-input-field-message-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([variant=success]){--mds-input-field-message-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-input-field-message-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([variant=warning]){--mds-input-field-message-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-input-field-message-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([variant=error]){--mds-input-field-message-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-input-field-message-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([variant=info]) ::slotted(mds-input){--mds-input-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-variant-color-rgb:0 0 0}:host([variant=info]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=warning]) ::slotted(mds-input){--mds-input-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-variant-color-rgb:0 0 0}:host([variant=warning]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=success]) ::slotted(mds-input){--mds-input-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-variant-color-rgb:0 0 0}:host([variant=success]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=error]) ::slotted(mds-input){--mds-input-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-variant-color-rgb:0 0 0}:host([variant=error]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}"}},[321,"mds-input-field",{label:[1025],message:[1025],variant:[1537]},void 0,{label:[{labelChanged:0}]}]),o=n,d=function(){"undefined"!=typeof customElements&&["mds-input-field","mds-text"].forEach((a=>{switch(a){case"mds-input-field":customElements.get(e(a))||customElements.define(e(a),n);break;case"mds-text":customElements.get(e(a))||i()}}))};export{o as MdsInputField,d as defineCustomElement}
1
+ import{p as a,H as s,h as t,c as r,t as e}from"./p-TZJN-ygm.js";import{d as i}from"./p-CNF3u0Li.js";const n=a(class extends s{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.nameSlottedControls=()=>{var a;null===(a=this.slotInput)||void 0===a||a.assignedElements().forEach((a=>{const s=a.getAttribute("aria-label");null!==s&&s!==this.appliedName||(null!=this.label&&""!==this.label?a.setAttribute("aria-label",this.label):a.removeAttribute("aria-label"))})),this.appliedName=this.label},this.variant="primary"}handleValidation(a){"function"==typeof a.getErrors&&a.getErrors().then((a=>{if(null==a)this.variant="success",this.message=void 0;else{this.variant="error";const s=Object.entries(a).map((a=>a[1])).filter((a=>a));this.message=0!==s.length?s.join(";"):void 0}}))}componentDidLoad(){this.nameSlottedControls();const[a]=this.slotInput.assignedElements();null!=a?a.addEventListener("mdsInputValidation",(a=>this.handleValidation(a.target))):console.warn("mds-input-field: no mds-input assigned to the input slot")}labelChanged(){this.nameSlottedControls()}render(){var a;return t(r,{key:"e3cda7417a3146da6a5be81bbe30d7322712612b"},t("mds-text",{key:"ecec06095f556df90c393ebd9c065ed071d13385",class:"label",typography:"label"},this.label),t("div",{key:"e9e97898e5e24138568fc960db6757645d788683",class:"message-window"},t("div",{key:"c4ebb296a0a4a666773050fcd17d9b579b1f96d6",class:"content",part:"content"},t("slot",{key:"1f651414949e41d429eeef9a53b919c54b10326c",onSlotchange:this.nameSlottedControls,ref:a=>this.slotInput=a})),t("div",{key:"7c973d622fb784dd5ffdf6ee5a8b69759a43ae11",class:"message"},null===(a=this.message)||void 0===a?void 0:a.split(";").map(((a,s)=>t("mds-text",{typography:"caption",key:s},a))))))}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{label:[{labelChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-field-message-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-input-field-message-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*300)}.message-window{border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));color:var(--mds-input-field-message-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));corner-shape:inherit;background-color:#0000;display:grid;gap:0;padding:0;transition-duration:var(--duration-300,.3s);transition-property:background-color,color,gap,padding;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.message-window:has(.message:not(:empty)){background-color:var(--mds-input-field-message-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*200)}.message{interpolate-size:allow-keywords;display:flex;flex-direction:column;height:auto;padding:calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*200);transition-duration:var(--duration-300,.3s);transition-property:height,margin-top,opacity,padding;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.message:empty{height:0;max-height:0;opacity:0;padding:0}.label:empty{display:none}.content{container:content/inline-size;display:flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*200)}::slotted(:first-child){flex-grow:1}::slotted(:not(:first-child)){flex-shrink:0}@container content (max-width:300px){::slotted(*){flex-grow:1;min-width:100%}}:host([variant=ai]){--mds-input-field-message-color:rgb(var(--magma-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190)));--mds-input-field-message-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)))}:host([variant=info]){--mds-input-field-message-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-input-field-message-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([variant=success]){--mds-input-field-message-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-input-field-message-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([variant=warning]){--mds-input-field-message-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-input-field-message-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([variant=error]){--mds-input-field-message-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-input-field-message-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([variant=info]) ::slotted(mds-input){--mds-input-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-variant-color-rgb:0 0 0}:host([variant=info]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=warning]) ::slotted(mds-input){--mds-input-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-variant-color-rgb:0 0 0}:host([variant=warning]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=success]) ::slotted(mds-input){--mds-input-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-variant-color-rgb:0 0 0}:host([variant=success]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=error]) ::slotted(mds-input){--mds-input-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-variant-color-rgb:0 0 0}:host([variant=error]) ::slotted(mds-input:focus){--mds-input-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}"}},[321,"mds-input-field",{label:[1025],message:[1025],variant:[1537]},void 0,{label:[{labelChanged:0}]}]),o=n,d=function(){"undefined"!=typeof customElements&&["mds-input-field","mds-text"].forEach((a=>{switch(a){case"mds-input-field":customElements.get(e(a))||customElements.define(e(a),n);break;case"mds-text":customElements.get(e(a))||i()}}))};export{o as MdsInputField,d as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as i,h as s,c as e,t as n}from"./p-B2p5a1Y8.js";import{s as o}from"./p-wI0alRSO.js";import{L as a}from"./p-B9dgiq4u.js";import{d as r}from"./p-BUr3NqxM.js";import{d as l}from"./p-cIZniMh0.js";import{d}from"./p-D3_jgpKd.js";import{d as h}from"./p-Didp833Z.js";import{d as u}from"./p-D4JiVIoh.js";import{d as m}from"./p-B6B6q5kP.js";import{d as p}from"./p-DezdwzYQ.js";var c={digit:"Ψηφίο {{position}} από {{length}}"},v={digit:"Digit {{position}} of {{length}}"},g={digit:"Dígito {{position}} de {{length}}"},f={digit:"Cifra {{position}} di {{length}}"};const b=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.internals=this.attachInternals(),this.loadValue="",this.digits=[],this.formDisabled=!1,this.t=new a({el:c,en:v,es:g,it:f}),this.length=6,this.autosubmit=!1,this.disabled=!1,this.value="",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.cellIndex=t=>Array.from(this.element.shadowRoot.querySelectorAll("mds-input")).indexOf(t),this.setOtpDigit=(t,i)=>{const s=[...this.digits];s[this.cellIndex(t)]=i,this.digits=s,this.updateValue()},this.submit=t=>{var i,s;const e=(null!==(i=this.value)&&void 0!==i?i:"").length===this.length;t.blur(),this.autosubmit&&e&&(null===(s=this.internals.form)||void 0===s||s.requestSubmit())},this.handleKeyDown=t=>{var i;if(t.ctrlKey||t.metaKey||t.altKey)return;const s=t.target,e=s.previousElementSibling,n=s.nextElementSibling;switch(t.key){case"Backspace":return t.preventDefault(),""===(null!==(i=this.digits[this.cellIndex(s)])&&void 0!==i?i:"")&&e?(this.setOtpDigit(e,""),void e.setFocus()):void this.setOtpDigit(s,"");case"Delete":return t.preventDefault(),void this.setOtpDigit(s,"");case"ArrowLeft":return t.preventDefault(),void(null==e||e.setFocus());case"ArrowRight":return t.preventDefault(),void(null==n||n.setFocus())}1===t.key.length&&(t.preventDefault(),/^[0-9]$/.test(t.key)&&(this.setOtpDigit(s,t.key),null!=n?n.setFocus():this.submit(s)))},this.handlePaste=t=>{var i,s;t.preventDefault();const e=(null!==(s=null===(i=t.clipboardData)||void 0===i?void 0:i.getData("text"))&&void 0!==s?s:"").trim();if(!/^[0-9]+$/.test(e))return;let n=t.target;for(const t of e){this.setOtpDigit(n,t);const i=n.nextElementSibling;if(null==i)return void this.submit(n);n=i,n.setFocus()}},this.digitName=t=>{var i;const s=this.t.get("digit",{position:t+1,length:this.length});return""!==(null!==(i=this.accessibleName)&&void 0!==i?i:"")?`${this.accessibleName}, ${s}`:s}}valueChanged(t){(null!=t?t:"")!==this.digits.join("")&&this.fillCells(null!=t?t:"")}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){this.fillCells(this.loadValue)}componentWillLoad(){var t;this.loadValue=null!==(t=this.value)&&void 0!==t?t:"",this.fillCells(this.loadValue)}fillCells(t){this.digits=Array.from(t).slice(0,this.length),this.updateValue()}updateValue(){this.value=this.digits.join(""),o(this.internals,this.value)}render(){return s(e,{key:"c9877d93f4c68eadde74ec087c10bb7465811051"},Array.from({length:this.length}).map(((t,i)=>{var e;return s("mds-input",{"aria-label":this.digitName(i),class:"input",disabled:this.isDisabled(),maxlength:1,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,value:null!==(e=this.digits[i])&&void 0!==e?e:""})})))}static get formAssociated(){return!0}get element(){return this}static get watchers(){return{value:[{valueChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-input:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:inline-flex;gap:calc(var(--spacing,.0025rem)*400)}.input{width:calc(var(--spacing,.0025rem)*1200)}.input::part(field){text-align:center}.input::part(tip-count),.input::part(tip-top){display:none}"}},[65,"mds-input-otp",{accessibleName:[1,"aria-label"],length:[2],autosubmit:[516],disabled:[516],value:[1537],digits:[32],formDisabled:[32]},void 0,{value:[{valueChanged:0}]}]),y=b,k=function(){"undefined"!=typeof customElements&&["mds-input-otp","mds-button","mds-icon","mds-input","mds-input-tip","mds-input-tip-item","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-input-otp":customElements.get(n(t))||customElements.define(n(t),b);break;case"mds-button":customElements.get(n(t))||r();break;case"mds-icon":customElements.get(n(t))||l();break;case"mds-input":customElements.get(n(t))||d();break;case"mds-input-tip":customElements.get(n(t))||h();break;case"mds-input-tip-item":customElements.get(n(t))||u();break;case"mds-spinner":customElements.get(n(t))||m();break;case"mds-text":customElements.get(n(t))||p()}}))};export{y as MdsInputOtp,k as defineCustomElement}
1
+ import{p as t,H as s,h as i,c as e,t as n}from"./p-TZJN-ygm.js";import{s as o}from"./p-wI0alRSO.js";import{L as a}from"./p-CZjwSwe5.js";import{d as r}from"./p-ClPv-Ljc.js";import{d as l}from"./p-Cmn1DJAB.js";import{d as h}from"./p-yNPPTJ7i.js";import{d}from"./p-BU3bsIX2.js";import{d as u}from"./p-DkYDXDkD.js";import{d as m}from"./p-ZuubAcA3.js";import{d as p}from"./p-CNF3u0Li.js";var c={digit:"Ψηφίο {{position}} από {{length}}"},v={digit:"Digit {{position}} of {{length}}"},f={digit:"Dígito {{position}} de {{length}}"},g={digit:"Cifra {{position}} di {{length}}"};const b=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.internals=this.attachInternals(),this.loadValue="",this.digits=[],this.formDisabled=!1,this.t=new a({el:c,en:v,es:f,it:g}),this.length=6,this.autosubmit=!1,this.disabled=!1,this.value="",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.cellIndex=t=>Array.from(this.element.shadowRoot.querySelectorAll("mds-input")).indexOf(t),this.setOtpDigit=(t,s)=>{const i=[...this.digits];i[this.cellIndex(t)]=s,this.digits=i,this.updateValue()},this.submit=t=>{var s,i;const e=(null!==(s=this.value)&&void 0!==s?s:"").length===this.length;t.blur(),this.autosubmit&&e&&(null===(i=this.internals.form)||void 0===i||i.requestSubmit())},this.handleKeyDown=t=>{var s;if(t.ctrlKey||t.metaKey||t.altKey)return;const i=t.target,e=i.previousElementSibling,n=i.nextElementSibling;switch(t.key){case"Backspace":return t.preventDefault(),""===(null!==(s=this.digits[this.cellIndex(i)])&&void 0!==s?s:"")&&e?(this.setOtpDigit(e,""),void e.setFocus()):void this.setOtpDigit(i,"");case"Delete":return t.preventDefault(),void this.setOtpDigit(i,"");case"ArrowLeft":return t.preventDefault(),void(null==e||e.setFocus());case"ArrowRight":return t.preventDefault(),void(null==n||n.setFocus())}1===t.key.length&&(t.preventDefault(),/^[0-9]$/.test(t.key)&&(this.setOtpDigit(i,t.key),null!=n?n.setFocus():this.submit(i)))},this.handlePaste=t=>{var s,i;t.preventDefault();const e=(null!==(i=null===(s=t.clipboardData)||void 0===s?void 0:s.getData("text"))&&void 0!==i?i:"").trim();if(!/^[0-9]+$/.test(e))return;let n=t.target;for(const t of e){this.setOtpDigit(n,t);const s=n.nextElementSibling;if(null==s)return void this.submit(n);n=s,n.setFocus()}},this.digitName=t=>{var s;const i=this.t.get("digit",{position:t+1,length:this.length});return""!==(null!==(s=this.accessibleName)&&void 0!==s?s:"")?`${this.accessibleName}, ${i}`:i}}valueChanged(t){(null!=t?t:"")!==this.digits.join("")&&this.fillCells(null!=t?t:"")}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){this.fillCells(this.loadValue)}componentWillLoad(){var t;this.loadValue=null!==(t=this.value)&&void 0!==t?t:"",this.fillCells(this.loadValue)}fillCells(t){this.digits=Array.from(t).slice(0,this.length),this.updateValue()}updateValue(){this.value=this.digits.join(""),o(this.internals,this.value)}render(){return i(e,{key:"c9877d93f4c68eadde74ec087c10bb7465811051"},Array.from({length:this.length}).map(((t,s)=>{var e;return i("mds-input",{"aria-label":this.digitName(s),class:"input",disabled:this.isDisabled(),maxlength:1,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,value:null!==(e=this.digits[s])&&void 0!==e?e:""})})))}static get formAssociated(){return!0}get element(){return this}static get watchers(){return{value:[{valueChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-input:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:inline-flex;gap:calc(var(--spacing,.0025rem)*400)}.input{width:calc(var(--spacing,.0025rem)*1200)}.input::part(field){text-align:center}.input::part(tip-count),.input::part(tip-top){display:none}"}},[65,"mds-input-otp",{accessibleName:[1,"aria-label"],length:[2],autosubmit:[516],disabled:[516],value:[1537],digits:[32],formDisabled:[32]},void 0,{value:[{valueChanged:0}]}]),y=b,k=function(){"undefined"!=typeof customElements&&["mds-input-otp","mds-button","mds-icon","mds-input","mds-input-tip","mds-input-tip-item","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-input-otp":customElements.get(n(t))||customElements.define(n(t),b);break;case"mds-button":customElements.get(n(t))||r();break;case"mds-icon":customElements.get(n(t))||l();break;case"mds-input":customElements.get(n(t))||h();break;case"mds-input-tip":customElements.get(n(t))||d();break;case"mds-input-tip-item":customElements.get(n(t))||u();break;case"mds-spinner":customElements.get(n(t))||m();break;case"mds-text":customElements.get(n(t))||p()}}))};export{y as MdsInputOtp,k as defineCustomElement}
@@ -1 +1 @@
1
- import{p as a,H as t,d as r,h as e,c as i,t as s}from"./p-B2p5a1Y8.js";import{s as n}from"./p-wI0alRSO.js";import{p as o}from"./p-BlnEiKN4.js";import{d}from"./p-DezdwzYQ.js";const m=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.changeEvent=r(this,"mdsInputRangeChange",7),this.internals=this.attachInternals(),this.formDisabled=!1,this.max=100,this.min=0,this.step=1,this.onInput=()=>{this.value=Number(this.inputElement.value)},this.isDisabled=()=>!!this.disabled||this.formDisabled}allowedStep(){const a=Number(this.step);return a>0?a:1}calculateProgress(){let a=Number(this.inputElement.value);const t=this.allowedStep(),r=Math.pow(10,this.countDecimals(t));a>this.max?a=this.max:a<this.min&&(a=this.min),(a-this.min)*r%(t*r)!=0&&(a=(Math.round((a*r-this.min*r)/(t*r))*(t*r)+this.min*r)/r),this.value=a,n(this.internals,""+this.value),this.progress=(this.value-this.min)/(this.max-this.min)*100}countDecimals(a){return Math.floor(a)===a?0:(""+a).split(".")[1].length||0}disabledChanged(a){a&&n(this.internals,null)}valueChanged(a,t){a!==t&&(this.inputElement.value=""+this.value,this.calculateProgress(),this.changeEvent.emit(this.value))}minChanged(){this.calculateProgress()}maxChanged(){this.calculateProgress()}stepChanged(){this.calculateProgress()}formDisabledCallback(a){this.formDisabled=a}formResetCallback(){this.inputElement.value=void 0===this.loadValue?"":this.loadValue+"",this.onInput()}componentWillLoad(){var a;const t=Number(null!==(a=this.value)&&void 0!==a?a:NaN);this.loadValue=Number.isNaN(t)?void 0:t}componentDidLoad(){var a;this.onInput(),this.label=null!==(a=this.element.textContent)&&void 0!==a?a:"",this.calculateProgress()}render(){var a;return e(i,{key:"7588d9e5f1f0657ae63ba23cad5d3d8faee3ff17","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},e("header",{key:"fbd890516bc521d3dc46c63ad98ee981a08cc459",class:"header",part:"header"},e("mds-text",{key:"361e2b3f13dfc017e873865853ef77ef47332434",class:"label",typography:"label"},e("slot",{key:"95335d7a71e2674d95e850fa9a45074e060daff4"})),e("mds-text",{key:"6897c798d09be9f92b1295eb67177ef1bd30f98c",class:"value",typography:"label"},this.formatValue?this.formatValue(this.value):this.value)),e("div",{key:"47550ba3617f33dafcf2547ad57ecedf11cffc6b",class:"range"},e("div",{key:"bf3c5e9a8f4b15a8c6e545670e628952fcd19393",class:"track",part:"track"},e("div",{key:"95626574ed8adb96f06a8a321a68a2e6bbe37401",class:"contrast-area"}),e("div",{key:"6e15a6d2c583415382af4eec1e142e22698c8079",class:"track-total"},e("div",{key:"ea257f325270545f8f76bb6b911dfe17a5f2efd7",class:"track-progress",style:{"--mds-input-range-progress":""+(null!==(a=this.progress)&&void 0!==a?a:0)}}))),e("input",{key:"7302c7d6348c7844c90804676c29236082204e87",ref:a=>this.inputElement=a,class:"field","aria-label":this.label,disabled:this.isDisabled(),max:this.max,min:this.min,onInput:this.onInput,step:this.step,type:"range",value:this.value,name:this.name})))}static get formAssociated(){return!0}get element(){return this}static get watchers(){return{disabled:[{disabledChanged:0}],value:[{valueChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],step:[{stepChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-range-transition-duration:var(--duration-300,.3s);--private-input-range-transition-duration:var(--mds-input-range-transition-duration);--mds-input-range-thumb-background-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-thumb-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-input-range-thumb-cursor:col-resize;--mds-input-range-thumb-size:calc(var(--spacing,.0025rem)*400);--mds-input-range-track-background-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-track-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-track-progress-background-disabled:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-input-range-track-size:calc(var(--spacing,.0025rem)*600);--private-border-width:calc(var(--mds-input-range-track-size)/2 - var(--mds-input-range-thumb-size)/2);--private-thumb-size:calc(var(--mds-input-range-thumb-size) + var(--private-border-width)*2);display:grid;gap:calc(var(--spacing,.0025rem)*200);transition-duration:var(--private-input-range-transition-duration);transition-property:color;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1))}.header{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.value{margin-left:auto}.range{align-items:center;display:flex;height:var(--private-thumb-size);position:relative}.track{box-sizing:border-box;position:absolute;width:100%}.field{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));appearance:none;background-color:#0000;border-radius:var(--magma-radius-full,var(--radius-full,1000px));flex-grow:1;height:calc(var(--spacing,.0025rem)*400);margin:0;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;z-index:20}.field:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.field::-webkit-slider-thumb{appearance:none;background-color:var(--mds-input-range-thumb-background);border-color:var(--mds-input-range-track-progress-background);border-radius:var(--mds-input-range-thumb-size);border-style:solid;border-width:var(--private-border-width);cursor:var(--mds-input-range-thumb-cursor);height:var(--private-thumb-size);line-height:0;transform:translateY(-50%);transition-property:background-color,border;width:var(--private-thumb-size)}.field::-webkit-slider-runnable-track{appearance:none;border:0;height:0;width:100%}.track-progress{background-color:var(--mds-input-range-track-progress-background);width:calc((100% - var(--mds-input-range-track-size))*(var(--mds-input-range-progress,0)*0.01) + var(--mds-input-range-track-size)/2)}.track-progress,.track-total{display:flex;height:var(--mds-input-range-track-size);transition-duration:var(--private-input-range-transition-duration);transition-property:background-color}.track-total{background-color:var(--mds-input-range-track-background);overflow:hidden;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1));width:100%}.contrast-area,.track-total{border-radius:var(--mds-input-range-track-size)}.contrast-area{margin-left:calc(var(--spacing,.0025rem)*100);margin-right:calc(var(--spacing,.0025rem)*100)}:host(: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)))}}"}},[321,"mds-input-range",{formatValue:[16],name:[513],max:[2],min:[2],step:[2],disabled:[1540],value:[1538],progress:[32],formDisabled:[32]},void 0,{disabled:[{disabledChanged:0}],value:[{valueChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],step:[{stepChanged:0}]}]),c=m,u=function(){"undefined"!=typeof customElements&&["mds-input-range","mds-text"].forEach((a=>{switch(a){case"mds-input-range":customElements.get(s(a))||customElements.define(s(a),m);break;case"mds-text":customElements.get(s(a))||d()}}))};export{c as MdsInputRange,u as defineCustomElement}
1
+ import{p as a,H as t,d as e,h as r,c as i,t as s}from"./p-TZJN-ygm.js";import{s as n}from"./p-wI0alRSO.js";import{p as o}from"./p-CVRN4LDc.js";import{d}from"./p-CNF3u0Li.js";const m=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.changeEvent=e(this,"mdsInputRangeChange",7),this.internals=this.attachInternals(),this.formDisabled=!1,this.max=100,this.min=0,this.step=1,this.onInput=()=>{this.value=Number(this.inputElement.value)},this.isDisabled=()=>!!this.disabled||this.formDisabled}allowedStep(){const a=Number(this.step);return a>0?a:1}calculateProgress(){let a=Number(this.inputElement.value);const t=this.allowedStep(),e=Math.pow(10,this.countDecimals(t));a>this.max?a=this.max:a<this.min&&(a=this.min),(a-this.min)*e%(t*e)!=0&&(a=(Math.round((a*e-this.min*e)/(t*e))*(t*e)+this.min*e)/e),this.value=a,n(this.internals,""+this.value),this.progress=(this.value-this.min)/(this.max-this.min)*100}countDecimals(a){return Math.floor(a)===a?0:(""+a).split(".")[1].length||0}disabledChanged(a){a&&n(this.internals,null)}valueChanged(a,t){a!==t&&(this.inputElement.value=""+this.value,this.calculateProgress(),this.changeEvent.emit(this.value))}minChanged(){this.calculateProgress()}maxChanged(){this.calculateProgress()}stepChanged(){this.calculateProgress()}formDisabledCallback(a){this.formDisabled=a}formResetCallback(){this.inputElement.value=void 0===this.loadValue?"":this.loadValue+"",this.onInput()}componentWillLoad(){var a;const t=Number(null!==(a=this.value)&&void 0!==a?a:NaN);this.loadValue=Number.isNaN(t)?void 0:t}componentDidLoad(){var a;this.onInput(),this.label=null!==(a=this.element.textContent)&&void 0!==a?a:"",this.calculateProgress()}render(){var a;return r(i,{key:"7588d9e5f1f0657ae63ba23cad5d3d8faee3ff17","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},r("header",{key:"fbd890516bc521d3dc46c63ad98ee981a08cc459",class:"header",part:"header"},r("mds-text",{key:"361e2b3f13dfc017e873865853ef77ef47332434",class:"label",typography:"label"},r("slot",{key:"95335d7a71e2674d95e850fa9a45074e060daff4"})),r("mds-text",{key:"6897c798d09be9f92b1295eb67177ef1bd30f98c",class:"value",typography:"label"},this.formatValue?this.formatValue(this.value):this.value)),r("div",{key:"47550ba3617f33dafcf2547ad57ecedf11cffc6b",class:"range"},r("div",{key:"bf3c5e9a8f4b15a8c6e545670e628952fcd19393",class:"track",part:"track"},r("div",{key:"95626574ed8adb96f06a8a321a68a2e6bbe37401",class:"contrast-area"}),r("div",{key:"6e15a6d2c583415382af4eec1e142e22698c8079",class:"track-total"},r("div",{key:"ea257f325270545f8f76bb6b911dfe17a5f2efd7",class:"track-progress",style:{"--mds-input-range-progress":""+(null!==(a=this.progress)&&void 0!==a?a:0)}}))),r("input",{key:"7302c7d6348c7844c90804676c29236082204e87",ref:a=>this.inputElement=a,class:"field","aria-label":this.label,disabled:this.isDisabled(),max:this.max,min:this.min,onInput:this.onInput,step:this.step,type:"range",value:this.value,name:this.name})))}static get formAssociated(){return!0}get element(){return this}static get watchers(){return{disabled:[{disabledChanged:0}],value:[{valueChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],step:[{stepChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-range-transition-duration:var(--duration-300,.3s);--private-input-range-transition-duration:var(--mds-input-range-transition-duration);--mds-input-range-thumb-background-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-thumb-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-input-range-thumb-cursor:col-resize;--mds-input-range-thumb-size:calc(var(--spacing,.0025rem)*400);--mds-input-range-track-background-disabled:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-track-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-input-range-track-progress-background-disabled:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-input-range-track-progress-background:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-input-range-track-size:calc(var(--spacing,.0025rem)*600);--private-border-width:calc(var(--mds-input-range-track-size)/2 - var(--mds-input-range-thumb-size)/2);--private-thumb-size:calc(var(--mds-input-range-thumb-size) + var(--private-border-width)*2);display:grid;gap:calc(var(--spacing,.0025rem)*200);transition-duration:var(--private-input-range-transition-duration);transition-property:color;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1))}.header{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.value{margin-left:auto}.range{align-items:center;display:flex;height:var(--private-thumb-size);position:relative}.track{box-sizing:border-box;position:absolute;width:100%}.field{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));appearance:none;background-color:#0000;border-radius:var(--magma-radius-full,var(--radius-full,1000px));flex-grow:1;height:calc(var(--spacing,.0025rem)*400);margin:0;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;z-index:20}.field:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.field::-webkit-slider-thumb{appearance:none;background-color:var(--mds-input-range-thumb-background);border-color:var(--mds-input-range-track-progress-background);border-radius:var(--mds-input-range-thumb-size);border-style:solid;border-width:var(--private-border-width);cursor:var(--mds-input-range-thumb-cursor);height:var(--private-thumb-size);line-height:0;transform:translateY(-50%);transition-property:background-color,border;width:var(--private-thumb-size)}.field::-webkit-slider-runnable-track{appearance:none;border:0;height:0;width:100%}.track-progress{background-color:var(--mds-input-range-track-progress-background);width:calc((100% - var(--mds-input-range-track-size))*(var(--mds-input-range-progress,0)*0.01) + var(--mds-input-range-track-size)/2)}.track-progress,.track-total{display:flex;height:var(--mds-input-range-track-size);transition-duration:var(--private-input-range-transition-duration);transition-property:background-color}.track-total{background-color:var(--mds-input-range-track-background);overflow:hidden;transition-timing-function:var(--ease-out-sine,cubic-bezier(.39,.575,.565,1));width:100%}.contrast-area,.track-total{border-radius:var(--mds-input-range-track-size)}.contrast-area{margin-left:calc(var(--spacing,.0025rem)*100);margin-right:calc(var(--spacing,.0025rem)*100)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-range-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--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)))}}"}},[321,"mds-input-range",{formatValue:[16],name:[513],max:[2],min:[2],step:[2],disabled:[1540],value:[1538],progress:[32],formDisabled:[32]},void 0,{disabled:[{disabledChanged:0}],value:[{valueChanged:0}],min:[{minChanged:0}],max:[{maxChanged:0}],step:[{stepChanged:0}]}]),u=m,c=function(){"undefined"!=typeof customElements&&["mds-input-range","mds-text"].forEach((a=>{switch(a){case"mds-input-range":customElements.get(s(a))||customElements.define(s(a),m);break;case"mds-text":customElements.get(s(a))||d()}}))};export{u as MdsInputRange,c as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,d as r,h as i,c as a,t as s}from"./p-B2p5a1Y8.js";import{p as o}from"./p-BlnEiKN4.js";import{m as n}from"./p-DiWN48aq.js";import{s as c}from"./p-wI0alRSO.js";import{u as l}from"./p-Bg5E4Wnq.js";import{d}from"./p-cIZniMh0.js";import{d as u}from"./p-Didp833Z.js";import{d as p}from"./p-D4JiVIoh.js";import{d as m}from"./p-DezdwzYQ.js";const h=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.changeEvent=r(this,"mdsInputSelectChange",7),this.internals=this.attachInternals(),this.adoptingSelection=!1,this.hasFocus=!1,this.formDisabled=!1,this.disabled=!1,this.required=!1,this.multiple=!1,this.rows=0,this.size="lg",this.value="",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.onInput=()=>{this.adoptSelection(),this.syncSelection()},this.onBlur=()=>{this.hasFocus=!1},this.onFocus=()=>{this.hasFocus=!0},this.hasPlaceholder=()=>{var t;return""!==(null!==(t=this.placeholder)&&void 0!==t?t:"")},this.placeholderOption=()=>{var t,e;return null!==(e=null===(t=this.selectEl)||void 0===t?void 0:t.querySelector(".placeholder-option"))&&void 0!==e?e:null},this.emptyOptions=()=>{var t;const e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector("select"),r=null==e?void 0:e.querySelectorAll("option");r&&r.forEach(((t,e)=>{this.hasPlaceholder()||t.remove(),this.hasPlaceholder()&&e>0&&t.remove()}))},this.onSlotChangeHandler=()=>{var t,e,r;const i=null===(e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelectorAll("slot")[0])||void 0===e?void 0:e.assignedNodes(),a=null===(r=this.selectEl)||void 0===r?void 0:r.querySelectorAll("option");null!=a&&(!this.hasPlaceholder()&&a.length>0&&this.emptyOptions(),this.hasPlaceholder()&&a.length>1&&this.emptyOptions(),null==i||i.forEach((t=>{var e;null===(e=this.selectEl)||void 0===e||e.appendChild(t.cloneNode(!0))})),this.applySelection(!0),this.syncSelection())}}async setValue(t){return this.value=t,Promise.resolve()}valueChanged(){this.adoptingSelection||(this.applySelection(!1),this.syncSelection())}requiredChanged(){this.updateFormValidity()}nameChanged(){this.updateFormValue(this.selectedValues())}selectedValues(){var t;return null==this.selectEl?""===(null!==(t=this.value)&&void 0!==t?t:"")?[]:[""+this.value]:Array.from(this.selectEl.selectedOptions).filter((t=>!t.classList.contains("placeholder-option"))).map((t=>t.value))}syncSelection(){var t;const e=this.selectedValues();this.updateFormValue(e),this.updateFormValidity();const r=null===(t=this.value)||void 0===t?void 0:""+t,i=JSON.stringify([r,e]);i!==this.emittedSelection&&(this.emittedSelection=i,this.changeEvent.emit({value:r,values:e}))}updateFormValue(t){var e,r,i;if(!this.multiple)return void c(this.internals,null!==(r=null===(e=this.value)||void 0===e?void 0:""+e)&&void 0!==r?r:null);const a=null!==(i=this.name)&&void 0!==i?i:"";if(""===a||0===t.length)return void c(this.internals,null);const s=new FormData;t.forEach((t=>s.append(a,t))),c(this.internals,s)}updateFormValidity(){var t;const e=this.required&&""===(null!==(t=this.value)&&void 0!==t?t:"");l(this.internals,e?{rule:"requiredSelect"}:void 0,this.selectEl)}disabledChanged(t){t&&c(this.internals,null)}placeholderChanged(t,e){if(null!=this.selectEl&&null!=t&&""!==t&&""===(null!=e?e:"")){let e=this.placeholderOption();e&&e.remove(),e=document.createElement("option"),e.className="placeholder-option",this.selectEl.insertBefore(e,this.selectEl.firstChild),e.value="",e.text=t,(null==this.defaultValue||""===this.defaultValue||0===this.defaultValue||Number.isNaN(this.defaultValue))&&(e.selected=!0,this.value=void 0),this.required&&(e.disabled=!0)}}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){if(null==this.selectEl)return;const t=Array.from(this.selectEl.querySelectorAll("option"));t.forEach((t=>{t.selected=t.defaultSelected}));const e=this.placeholderOption();e&&this.hasPlaceholder()&&!t.some((t=>t.defaultSelected))&&(e.selected=!0),this.adoptingSelection=!0,this.value=this.loadValue,this.adoptingSelection=!1,this.applySelection(!0),this.syncSelection()}legacyRows(){const t=this.size;return"number"==typeof t?t:"string"==typeof t&&/^\d+$/.test(t)?Number(t):void 0}sizeChanged(){void 0!==this.legacyRows()&&console.warn("<mds-input-select>: a number in `size` is deprecated: use `rows` for the visible option rows. `size` sets the height of the field (sm, md, lg).")}componentWillLoad(){this.sizeChanged(),null==this.defaultValue||""===this.defaultValue||0===this.defaultValue||Number.isNaN(this.defaultValue)||(this.value=this.defaultValue),this.loadValue=this.value}componentDidRender(){this.updateFormValidity()}componentDidLoad(){this.multiple||null==this.value||""===this.value||0===this.value||Number.isNaN(this.value)||c(this.internals,""+this.value)}adoptSelection(){null!=this.selectEl&&(this.adoptingSelection=!0,this.value=this.selectEl.value,this.adoptingSelection=!1)}applySelection(t){if(null==this.selectEl)return;if(null!=this.value&&""!==this.value&&0!==this.value&&!Number.isNaN(this.value))return void this.selectEl.querySelectorAll("option").forEach((t=>{t.selected=t.value===this.value}));if(t)return void this.adoptSelection();this.selectEl.querySelectorAll("option").forEach((t=>{t.selected=!1}));const e=this.placeholderOption();e&&this.hasPlaceholder()&&(e.selected=!0),this.adoptSelection()}render(){var t;return i(a,{key:"e9c490938417141ab12a6e32eef35ac948f1cd9d","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},i("select",{key:"37402baf4c6be92709b0db66e59154e4626a2904","aria-label":this.accessibleName,class:"input",onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,name:this.name,required:this.required,disabled:this.isDisabled(),multiple:this.multiple,size:this.rows||this.legacyRows()||0,part:"select",ref:t=>this.selectEl=t},i("option",{key:"60c39c92efc0e49b7cacf0331a2427077de91ded",class:"placeholder-option",value:"",disabled:!!this.required||void 0,selected:!(null!=this.defaultValue&&""!==this.defaultValue&&0!==this.defaultValue&&!Number.isNaN(this.defaultValue))||void 0},this.placeholder)),i("div",{key:"40a56e895ba8c244ca715d2e8e9d21c609a9c1bc",class:"icon-container"},i("mds-icon",{key:"f9c1985f0284cc3199a6c51e921d527262938341",class:"icon",name:n})),i("div",{key:"dc4db6fd01edb9597c56dc2f54b27aad5d220886",class:"option-container"},i("slot",{key:"021c3bd6739a68584d4bf1abd5ef9e60f0684303",onSlotchange:this.onSlotChangeHandler})),i("mds-input-tip",{key:"7a7d59b255283f5aebc4e1d66589316a0104cbfe",position:"top",active:this.hasFocus,part:"tip-top"},this.isDisabled()&&i("mds-input-tip-item",{key:"cd5649dc42823326511ba1e5c43a9e320571c136",expanded:!0,variant:"disabled"}),this.required&&i("mds-input-tip-item",{key:"86d880f856a1676a54c6a9393c48779509d49a2f",expanded:this.hasFocus,variant:""===(null!==(t=this.value)&&void 0!==t?t:"")?"required":"required-success"})))}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{value:[{valueChanged:0}],required:[{requiredChanged:0}],name:[{nameChanged:0}],disabled:[{disabledChanged:0}],placeholder:[{placeholderChanged:0}],size:[{sizeChanged:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-input-tip,mds-input-tip-item):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-select-variant-color-rgb:var(--magma-text-default,var(--text-neutral-default,5 5 5));--mds-input-select-ring:0 0 0 1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1);--mds-input-select-shadow:0 1px 3px 0 rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1),0 1px 2px 0 rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.06);--mds-input-select-arrow-icon-background-color:var(--mds-input-select-arrow-icon-blur-background-color,#0000);--mds-input-select-arrow-icon-blur-background-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/0);--mds-input-select-arrow-icon-blur-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.5);--mds-input-select-arrow-icon-color:var(--mds-input-select-arrow-icon-blur-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-select-arrow-icon-hover-background-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.5);--mds-input-select-arrow-icon-hover-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0));--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*1000);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-select-transition-duration:var(--duration-300,.3s);--mds-input-select-icon-transition-duration:var(--duration-200,.2s);--private-input-select-transition-duration:var(--mds-input-select-transition-duration);--private-input-select-icon-transition-duration:var(--mds-input-select-icon-transition-duration);--private-input-select-height:calc(var(--spacing,.0025rem)*1200);--private-input-select-padding-inline:calc(var(--spacing,.0025rem)*400);--private-input-select-arrow-area:calc(var(--spacing,.0025rem)*1200);font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:min(var(--magma-radius-xl,var(--radius-squircle-xl,36px)),var(--magma-corner-cap,.5) * var(--private-input-select-height));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);display:flex;position:relative;-webkit-user-select:none;user-select:none;--mds-input-select-variant-color-rgb:0 0 0;--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([required]:not([required=false]):focus-within) .icon{transform:translate(calc(var(--spacing,.0025rem)*150),calc(var(--spacing,.0025rem)*150))}:host(:focus-within),:host(:hover){--mds-input-select-variant-color-rgb:var(--magma-accent-fg,var(--variant-primary-03,7 76 204));--mds-input-select-shadow:0 4px 6px -1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1),0 2px 4px -1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.06);--mds-input-select-arrow-icon-background-color:var(--mds-input-select-arrow-icon-hover-background-color,#0000);--mds-input-select-arrow-icon-color:var(--mds-input-select-arrow-icon-hover-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));--mds-input-select-variant-color-rgb:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))}:host(:focus-within) .input,:host(:hover) .input{--mds-input-select-ring:0 0 0 3px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/1)}.input{font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;appearance:none;background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:inherit;box-shadow:var(--mds-input-select-ring),var(--mds-input-select-shadow);box-sizing:border-box;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:inherit;border:0;cursor:pointer;margin:0;min-height:var(--private-input-select-height);overflow:hidden;padding-left:var(--private-input-select-padding-inline);padding-right:var(--private-input-select-arrow-area);text-overflow:ellipsis;transition-property:background-color,border-color,box-shadow,color,fill;width:100%}.input,.input:focus,.input:hover{transition-duration:var(--private-input-select-transition-duration);transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input:focus,.input:hover{--tw-outline-style:none;color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));outline-style:none}:host([value]:not([value=""])) .input{color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([required]:not([required=false])) .input{color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}.input:disabled{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));opacity:1}:host([disabled]:not([disabled=false])),:host([disabled]:not([disabled=false])) .input{pointer-events:none}:host([disabled]:not([disabled=false])) .icon{fill:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));transform:translate(calc(var(--spacing,.0025rem)*250),calc(var(--spacing,.0025rem)*200))}.icon-container{align-items:center;color:inherit;display:flex;height:var(--private-input-select-height);pointer-events:none;position:absolute;right:var(--private-input-select-padding-inline)}.icon{background-color:var(--mds-input-select-arrow-icon-background-color,#0000);border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;fill:var(--mds-input-select-arrow-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));transition-duration:var(--private-input-select-icon-transition-duration);transition-property:background-color,fill}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.option-container{display:none}mds-input-tip{--mds-input-tip-horizontal-offset:inherit;--mds-input-tip-horizontal-offset-focused:inherit;--mds-input-tip-vertical-offset:inherit;--mds-input-tip-background:inherit}@container (max-width:210px){:host .tip__content,:host(:focus-within) .tip__content{grid-template-columns:0fr;opacity:0}:host .tip{padding-left:0;padding-right:0}}:host([size=md]){--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*800);--private-input-select-height:calc(var(--spacing,.0025rem)*900);--private-input-select-padding-inline:calc(var(--spacing,.0025rem)*300);--private-input-select-arrow-area:calc(var(--spacing,.0025rem)*1000)}:host([size=sm]){--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*600);--private-input-select-height:calc(var(--spacing,.0025rem)*700);--private-input-select-padding-inline:calc(var(--spacing,.0025rem)*200);--private-input-select-arrow-area:calc(var(--spacing,.0025rem)*800)}:host([size=sm]) .icon{height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}:host([variant=info]){--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=info]:focus-within),:host([variant=info]:hover){--mds-input-select-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=success]:focus-within),:host([variant=success]:hover){--mds-input-select-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=warning]:focus-within),:host([variant=warning]:hover){--mds-input-select-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=error]:focus-within),:host([variant=error]:hover){--mds-input-select-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-select-transition-duration:0s;--private-input-select-icon-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-select-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .input{color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([pref-contrast=more]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}:host([pref-contrast=more]) .input{color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more][pref-mode=dark]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (forced-colors:active){.input:focus,.input:hover{outline:2px solid #0000;outline-offset:2px}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-select-transition-duration:0s;--private-input-select-icon-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-select-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .input{color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([pref-contrast=more]:not([pref-mode])),:host([pref-contrast=more][pref-mode=system]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input{color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=system][pref-mode=dark]),:host([pref-mode=dark]:not([pref-contrast])){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host(:not([pref-contrast]):not([pref-mode])),:host([pref-contrast=system]:not([pref-mode])),:host([pref-contrast=system][pref-mode=system]),:host([pref-mode=system]:not([pref-contrast])){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}'}},[321,"mds-input-select",{accessibleName:[1,"aria-label"],autocomplete:[513],autoFocus:[516,"auto-focus"],placeholder:[513],name:[513],disabled:[516],required:[516],multiple:[516],rows:[514],size:[520],value:[520],defaultValue:[520,"default-value"],variant:[513],hasFocus:[32],formDisabled:[32],setValue:[64]},void 0,{value:[{valueChanged:0}],required:[{requiredChanged:0}],name:[{nameChanged:0}],disabled:[{disabledChanged:0}],placeholder:[{placeholderChanged:0}],size:[{sizeChanged:0}]}]),v=h,g=function(){"undefined"!=typeof customElements&&["mds-input-select","mds-icon","mds-input-tip","mds-input-tip-item","mds-text"].forEach((t=>{switch(t){case"mds-input-select":customElements.get(s(t))||customElements.define(s(t),h);break;case"mds-icon":customElements.get(s(t))||d();break;case"mds-input-tip":customElements.get(s(t))||u();break;case"mds-input-tip-item":customElements.get(s(t))||p();break;case"mds-text":customElements.get(s(t))||m()}}))};export{v as MdsInputSelect,g as defineCustomElement}
1
+ import{p as t,H as e,d as r,h as i,c as a,t as s}from"./p-TZJN-ygm.js";import{p as o}from"./p-CVRN4LDc.js";import{m as n}from"./p-DiWN48aq.js";import{s as c}from"./p-wI0alRSO.js";import{u as l}from"./p-DTtmr_Y9.js";import{d}from"./p-Cmn1DJAB.js";import{d as u}from"./p-BU3bsIX2.js";import{d as m}from"./p-DkYDXDkD.js";import{d as p}from"./p-CNF3u0Li.js";const h=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.changeEvent=r(this,"mdsInputSelectChange",7),this.internals=this.attachInternals(),this.adoptingSelection=!1,this.hasFocus=!1,this.formDisabled=!1,this.disabled=!1,this.required=!1,this.multiple=!1,this.rows=0,this.size="lg",this.value="",this.isDisabled=()=>!!this.disabled||this.formDisabled,this.onInput=()=>{this.adoptSelection(),this.syncSelection()},this.onBlur=()=>{this.hasFocus=!1},this.onFocus=()=>{this.hasFocus=!0},this.hasPlaceholder=()=>{var t;return""!==(null!==(t=this.placeholder)&&void 0!==t?t:"")},this.placeholderOption=()=>{var t,e;return null!==(e=null===(t=this.selectEl)||void 0===t?void 0:t.querySelector(".placeholder-option"))&&void 0!==e?e:null},this.emptyOptions=()=>{var t;const e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector("select"),r=null==e?void 0:e.querySelectorAll("option");r&&r.forEach(((t,e)=>{this.hasPlaceholder()||t.remove(),this.hasPlaceholder()&&e>0&&t.remove()}))},this.onSlotChangeHandler=()=>{var t,e,r;const i=null===(e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelectorAll("slot")[0])||void 0===e?void 0:e.assignedNodes(),a=null===(r=this.selectEl)||void 0===r?void 0:r.querySelectorAll("option");null!=a&&(!this.hasPlaceholder()&&a.length>0&&this.emptyOptions(),this.hasPlaceholder()&&a.length>1&&this.emptyOptions(),null==i||i.forEach((t=>{var e;null===(e=this.selectEl)||void 0===e||e.appendChild(t.cloneNode(!0))})),this.applySelection(!0),this.syncSelection())}}async setValue(t){return this.value=t,Promise.resolve()}valueChanged(){this.adoptingSelection||(this.applySelection(!1),this.syncSelection())}requiredChanged(){this.updateFormValidity()}nameChanged(){this.updateFormValue(this.selectedValues())}selectedValues(){var t;return null==this.selectEl?""===(null!==(t=this.value)&&void 0!==t?t:"")?[]:[""+this.value]:Array.from(this.selectEl.selectedOptions).filter((t=>!t.classList.contains("placeholder-option"))).map((t=>t.value))}syncSelection(){var t;const e=this.selectedValues();this.updateFormValue(e),this.updateFormValidity();const r=null===(t=this.value)||void 0===t?void 0:""+t,i=JSON.stringify([r,e]);if(i===this.emittedSelection)return;const a=void 0===this.emittedSelection;this.emittedSelection=i,a||this.changeEvent.emit({value:r,values:e})}updateFormValue(t){var e,r,i;if(!this.multiple)return void c(this.internals,null!==(r=null===(e=this.value)||void 0===e?void 0:""+e)&&void 0!==r?r:null);const a=null!==(i=this.name)&&void 0!==i?i:"";if(""===a||0===t.length)return void c(this.internals,null);const s=new FormData;t.forEach((t=>s.append(a,t))),c(this.internals,s)}updateFormValidity(){var t;const e=this.required&&""===(null!==(t=this.value)&&void 0!==t?t:"");l(this.internals,e?{rule:"requiredSelect"}:void 0,this.selectEl)}disabledChanged(t){t&&c(this.internals,null)}placeholderChanged(t,e){if(null!=this.selectEl&&null!=t&&""!==t&&""===(null!=e?e:"")){let e=this.placeholderOption();e&&e.remove(),e=document.createElement("option"),e.className="placeholder-option",this.selectEl.insertBefore(e,this.selectEl.firstChild),e.value="",e.text=t,(null==this.defaultValue||""===this.defaultValue||0===this.defaultValue||Number.isNaN(this.defaultValue))&&(e.selected=!0,this.value=void 0),this.required&&(e.disabled=!0)}}formDisabledCallback(t){this.formDisabled=t}formResetCallback(){if(null==this.selectEl)return;const t=Array.from(this.selectEl.querySelectorAll("option"));t.forEach((t=>{t.selected=t.defaultSelected}));const e=this.placeholderOption();e&&this.hasPlaceholder()&&!t.some((t=>t.defaultSelected))&&(e.selected=!0),this.adoptingSelection=!0,this.value=this.loadValue,this.adoptingSelection=!1,this.applySelection(!0),this.syncSelection()}legacyRows(){const t=this.size;return"number"==typeof t?t:"string"==typeof t&&/^\d+$/.test(t)?Number(t):void 0}sizeChanged(){void 0!==this.legacyRows()&&console.warn("<mds-input-select>: a number in `size` is deprecated: use `rows` for the visible option rows. `size` sets the height of the field (sm, md, lg).")}componentWillLoad(){this.sizeChanged(),null==this.defaultValue||""===this.defaultValue||0===this.defaultValue||Number.isNaN(this.defaultValue)||(this.value=this.defaultValue),this.loadValue=this.value}componentDidRender(){this.updateFormValidity()}componentDidLoad(){this.multiple||null==this.value||""===this.value||0===this.value||Number.isNaN(this.value)||c(this.internals,""+this.value)}adoptSelection(){null!=this.selectEl&&(this.adoptingSelection=!0,this.value=this.selectEl.value,this.adoptingSelection=!1)}applySelection(t){if(null==this.selectEl)return;if(null!=this.value&&""!==this.value&&0!==this.value&&!Number.isNaN(this.value))return void this.selectEl.querySelectorAll("option").forEach((t=>{t.selected=t.value===this.value}));if(t)return void this.adoptSelection();this.selectEl.querySelectorAll("option").forEach((t=>{t.selected=!1}));const e=this.placeholderOption();e&&this.hasPlaceholder()&&(e.selected=!0),this.adoptSelection()}render(){var t;return i(a,{key:"8f7131a5ac5e7e6c398d060d1cf17de1b65d0b95","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},i("select",{key:"40850af3aea61f82c8cf95e5b7e8559524ec37cb","aria-label":this.accessibleName,class:"input",onInput:this.onInput,onBlur:this.onBlur,onFocus:this.onFocus,name:this.name,required:this.required,disabled:this.isDisabled(),multiple:this.multiple,size:this.rows||this.legacyRows()||0,part:"select",ref:t=>this.selectEl=t},i("option",{key:"02dd4058f848557e9e44a0b13694df8ea29f5f09",class:"placeholder-option",value:"",disabled:!!this.required||void 0,selected:!(null!=this.defaultValue&&""!==this.defaultValue&&0!==this.defaultValue&&!Number.isNaN(this.defaultValue))||void 0},this.placeholder)),i("div",{key:"606ce4acbc43476392c3d65d9bdf73d45c5d7da2",class:"icon-container"},i("mds-icon",{key:"844fe12e9494c7baaf11306090a5475e5041aab9",class:"icon",name:n})),i("div",{key:"ccb1fc6353ea3e62b7baa65f05fee83ad19c2745",class:"option-container"},i("slot",{key:"466546a17018cf6658fa6035048990afee0a4097",onSlotchange:this.onSlotChangeHandler})),i("mds-input-tip",{key:"72f16cbf02d298614cb36fde62a9cba23b836071",position:"top",active:this.hasFocus,part:"tip-top"},this.isDisabled()&&i("mds-input-tip-item",{key:"4be88932616cae7f72f043006b36267c8b4e3fdc",expanded:!0,variant:"disabled"}),this.required&&i("mds-input-tip-item",{key:"5686e299d11f8622c2a5e7d12b497db5d3c097d2",expanded:this.hasFocus,variant:""===(null!==(t=this.value)&&void 0!==t?t:"")?"required":"required-success"})))}static get formAssociated(){return!0}get host(){return this}static get watchers(){return{value:[{valueChanged:0}],required:[{requiredChanged:0}],name:[{nameChanged:0}],disabled:[{disabledChanged:0}],placeholder:[{placeholderChanged:0}],size:[{sizeChanged:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-input-tip,mds-input-tip-item):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-input-select-variant-color-rgb:var(--magma-text-default,var(--text-neutral-default,5 5 5));--mds-input-select-ring:0 0 0 1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1);--mds-input-select-shadow:0 1px calc(var(--spacing,.0025rem)*75) 0 rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1),0 1px calc(var(--spacing,.0025rem)*50) 0 rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.06);--mds-input-select-arrow-icon-background-color:var(--mds-input-select-arrow-icon-blur-background-color,#0000);--mds-input-select-arrow-icon-blur-background-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/0);--mds-input-select-arrow-icon-blur-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.5);--mds-input-select-arrow-icon-color:var(--mds-input-select-arrow-icon-blur-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-input-select-arrow-icon-hover-background-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.5);--mds-input-select-arrow-icon-hover-color:rgb(var(--mds-input-select-variant-color-rgb,0 0 0));--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*1000);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-select-transition-duration:var(--duration-300,.3s);--mds-input-select-icon-transition-duration:var(--duration-200,.2s);--private-input-select-transition-duration:var(--mds-input-select-transition-duration);--private-input-select-icon-transition-duration:var(--mds-input-select-icon-transition-duration);--private-input-select-height:calc(var(--spacing,.0025rem)*1200);--private-input-select-padding-inline:calc(var(--spacing,.0025rem)*400);--private-input-select-arrow-area:calc(var(--spacing,.0025rem)*1200);font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:min(var(--magma-radius-xl,var(--radius-squircle-xl,36px)),var(--magma-corner-cap,.5) * var(--private-input-select-height));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:var(--magma-corner-shape,squircle);display:flex;position:relative;-webkit-user-select:none;user-select:none;--mds-input-select-variant-color-rgb:0 0 0;--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([required]:not([required=false]):focus-within) .icon{transform:translate(calc(var(--spacing,.0025rem)*150),calc(var(--spacing,.0025rem)*150))}:host(:focus-within),:host(:hover){--mds-input-select-variant-color-rgb:var(--magma-accent-fg,var(--variant-primary-03,7 76 204));--mds-input-select-shadow:0 calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*150) -1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.1),0 calc(var(--spacing,.0025rem)*50) calc(var(--spacing,.0025rem)*100) -1px rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/.06);--mds-input-select-arrow-icon-background-color:var(--mds-input-select-arrow-icon-hover-background-color,#0000);--mds-input-select-arrow-icon-color:var(--mds-input-select-arrow-icon-hover-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));--mds-input-select-variant-color-rgb:var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))}:host(:focus-within) .input,:host(:hover) .input{--mds-input-select-ring:0 0 0 calc(var(--spacing,.0025rem)*75) rgb(var(--mds-input-select-variant-color-rgb,0 0 0)/1)}.input{font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);font-size:var(--text-size-info-detail,1rem);font-weight:var(--tw-font-weight,var(--text-size-info-detail--font-weight,400));line-height:var(--tw-leading,var(--text-size-info-detail--line-height,1.5rem));min-height:auto;text-box:trim-both text;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;appearance:none;background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));border-radius:inherit;box-shadow:var(--mds-input-select-ring),var(--mds-input-select-shadow);box-sizing:border-box;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));corner-shape:inherit;border:0;cursor:pointer;margin:0;min-height:var(--private-input-select-height);overflow:hidden;padding-left:var(--private-input-select-padding-inline);padding-right:var(--private-input-select-arrow-area);text-overflow:ellipsis;transition-property:background-color,border-color,box-shadow,color,fill;width:100%}.input,.input:focus,.input:hover{transition-duration:var(--private-input-select-transition-duration);transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}.input:focus,.input:hover{--tw-outline-style:none;color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));outline-style:none}:host([value]:not([value=""])) .input{color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([required]:not([required=false])) .input{color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)))}.input:disabled{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));opacity:1}:host([disabled]:not([disabled=false])),:host([disabled]:not([disabled=false])) .input{pointer-events:none}:host([disabled]:not([disabled=false])) .icon{fill:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));transform:translate(calc(var(--spacing,.0025rem)*250),calc(var(--spacing,.0025rem)*200))}.icon-container{align-items:center;color:inherit;display:flex;height:var(--private-input-select-height);pointer-events:none;position:absolute;right:var(--private-input-select-padding-inline)}.icon{background-color:var(--mds-input-select-arrow-icon-background-color,#0000);border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;fill:var(--mds-input-select-arrow-icon-color,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));transition-duration:var(--private-input-select-icon-transition-duration);transition-property:background-color,fill}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.option-container{display:none}mds-input-tip{--mds-input-tip-horizontal-offset:inherit;--mds-input-tip-horizontal-offset-focused:inherit;--mds-input-tip-vertical-offset:inherit;--mds-input-tip-background:inherit}@container (max-width:210px){:host .tip__content,:host(:focus-within) .tip__content{grid-template-columns:0fr;opacity:0}:host .tip{padding-left:0;padding-right:0}}:host([size=md]){--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*800);--private-input-select-height:calc(var(--spacing,.0025rem)*900);--private-input-select-padding-inline:calc(var(--spacing,.0025rem)*300);--private-input-select-arrow-area:calc(var(--spacing,.0025rem)*1000)}:host([size=sm]){--mds-input-tip-horizontal-offset-focused:calc(var(--spacing,.0025rem)*600);--private-input-select-height:calc(var(--spacing,.0025rem)*700);--private-input-select-padding-inline:calc(var(--spacing,.0025rem)*200);--private-input-select-arrow-area:calc(var(--spacing,.0025rem)*800)}:host([size=sm]) .icon{height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}:host([variant=info]){--mds-input-tip-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=info]:focus-within),:host([variant=info]:hover){--mds-input-select-variant-color-rgb:var(--magma-info-emphasis,var(--status-info-04,0 119 164))}:host([variant=success]){--mds-input-tip-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=success]:focus-within),:host([variant=success]:hover){--mds-input-select-variant-color-rgb:var(--magma-success-emphasis,var(--status-success-04,0 128 57))}:host([variant=warning]){--mds-input-tip-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=warning]:focus-within),:host([variant=warning]:hover){--mds-input-select-variant-color-rgb:var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))}:host([variant=error]){--mds-input-tip-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-arrow-icon-blur-background-color:#0000;--mds-input-select-arrow-icon-hover-background-color:#0000;--mds-input-select-arrow-icon-blur-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-arrow-icon-hover-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-input-select-variant-color-rgb:0 0 0}:host([variant=error]:focus-within),:host([variant=error]:hover){--mds-input-select-variant-color-rgb:var(--magma-danger-emphasis,var(--status-error-04,196 64 65))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-input-select-transition-duration:0s;--private-input-select-icon-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-input-select-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .input{color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([pref-contrast=more]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}:host([pref-contrast=more]) .input{color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more][pref-mode=dark]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (forced-colors:active){.input:focus,.input:hover{outline:2px solid #0000;outline-offset:2px}}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-input-select-transition-duration:0s;--private-input-select-icon-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-input-select-ring:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .input{color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([pref-contrast=more]:not([pref-mode])),:host([pref-contrast=more][pref-mode=system]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .input{color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=system][pref-mode=dark]),:host([pref-mode=dark]:not([pref-contrast])){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host(:not([pref-contrast]):not([pref-mode])),:host([pref-contrast=system]:not([pref-mode])),:host([pref-contrast=system][pref-mode=system]),:host([pref-mode=system]:not([pref-contrast])){--mds-input-select-ring:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}'}},[321,"mds-input-select",{accessibleName:[1,"aria-label"],autocomplete:[513],autoFocus:[516,"auto-focus"],placeholder:[513],name:[513],disabled:[516],required:[516],multiple:[516],rows:[514],size:[520],value:[520],defaultValue:[520,"default-value"],variant:[513],hasFocus:[32],formDisabled:[32],setValue:[64]},void 0,{value:[{valueChanged:0}],required:[{requiredChanged:0}],name:[{nameChanged:0}],disabled:[{disabledChanged:0}],placeholder:[{placeholderChanged:0}],size:[{sizeChanged:0}]}]),v=h,g=function(){"undefined"!=typeof customElements&&["mds-input-select","mds-icon","mds-input-tip","mds-input-tip-item","mds-text"].forEach((t=>{switch(t){case"mds-input-select":customElements.get(s(t))||customElements.define(s(t),h);break;case"mds-icon":customElements.get(s(t))||d();break;case"mds-input-tip":customElements.get(s(t))||u();break;case"mds-input-tip-item":customElements.get(s(t))||m();break;case"mds-text":customElements.get(s(t))||p()}}))};export{v as MdsInputSelect,g as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as s}from"./p-C2fyy4Mv.js";const p=o,r=s;export{p as MdsInputSwitch,r as defineCustomElement}
1
+ import{M as s,d as o}from"./p-CPvuXO7s.js";const p=s,r=o;export{p as MdsInputSwitch,r as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as s}from"./p-D4JiVIoh.js";const p=o,r=s;export{p as MdsInputTipItem,r as defineCustomElement}
1
+ import{M as o,d as s}from"./p-DkYDXDkD.js";const D=o,p=s;export{D as MdsInputTipItem,p as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as p}from"./p-Didp833Z.js";const s=o,r=p;export{s as MdsInputTip,r as defineCustomElement}
1
+ import{M as s,d as o}from"./p-BU3bsIX2.js";const p=s,r=o;export{p as MdsInputTip,r as defineCustomElement}