@maggioli-design-system/magma 2.3.0 → 2.4.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 (1623) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +250 -0
  3. package/agents/anti-patterns.md +7 -4
  4. package/agents/color.md +2 -2
  5. package/agents/components.md +2 -1
  6. package/agents/conventions.md +16 -0
  7. package/dist/cjs/{aria-BbJUuU9_.js → aria-CzO5Rp1y.js} +23 -15
  8. package/dist/cjs/{floating-controller-D7Ekjocg.js → floating-controller-BiwDIKXd.js} +21 -12
  9. package/dist/cjs/{floating-ui.dom-EMHL7uyZ.js → floating-ui.dom-VQ_HnnRe.js} +0 -115
  10. package/dist/cjs/{icon-MMHcqbgv.js → icon-BhokFNM7.js} +4 -2
  11. package/dist/cjs/{index-MyEb-PfD.js → index-B5DKRaVO.js} +1 -1
  12. package/dist/cjs/{index-UmmmCMIG.js → index-B_qgSpWL.js} +89 -60
  13. package/dist/cjs/index.cjs.js +1 -1
  14. package/dist/cjs/keyboard-manager-BuCJdI8Q.js +75 -0
  15. package/dist/cjs/loader.cjs.js +2 -2
  16. package/dist/cjs/{locale-CnorkBwF.js → locale-D9XY8LN9.js} +1 -1
  17. package/dist/cjs/{locale.it-CfUV2hxK.js → locale.it-CQgfBg0W.js} +6 -1
  18. package/dist/cjs/{datetime-DHnUzK2K.js → luxon-8hyy5YD7.js} +164 -64
  19. package/dist/cjs/magma-components.cjs.js +3 -3
  20. package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
  21. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +11 -10
  22. package/dist/cjs/mds-accordion-timer.cjs.entry.js +16 -2
  23. package/dist/cjs/mds-accordion.cjs.entry.js +36 -21
  24. package/dist/cjs/mds-author.cjs.entry.js +2 -2
  25. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-avatar-stack.cjs.entry.js +11 -5
  27. package/dist/cjs/mds-avatar.cjs.entry.js +57 -90
  28. package/dist/cjs/mds-badge.cjs.entry.js +4 -4
  29. package/dist/cjs/mds-banner_3.cjs.entry.js +51 -69
  30. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +6 -3
  31. package/dist/cjs/mds-bibliography.cjs.entry.js +23 -17
  32. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +9 -5
  33. package/dist/cjs/mds-breadcrumb.cjs.entry.js +17 -33
  34. package/dist/cjs/mds-button-dropdown.cjs.entry.js +15 -6
  35. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-button_3.cjs.entry.js +54 -38
  37. package/dist/cjs/mds-calendar_2.cjs.entry.js +74 -52
  38. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  39. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-card-header.cjs.entry.js +2 -2
  41. package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
  42. package/dist/cjs/mds-card.cjs.entry.js +25 -16
  43. package/dist/cjs/mds-details.cjs.entry.js +18 -8
  44. package/dist/cjs/mds-dropdown.cjs.entry.js +32 -16
  45. package/dist/cjs/mds-emoji.cjs.entry.js +225 -138
  46. package/dist/cjs/mds-entity.cjs.entry.js +5 -5
  47. package/dist/cjs/mds-file-preview.cjs.entry.js +30 -23
  48. package/dist/cjs/mds-file.cjs.entry.js +25 -7
  49. package/dist/cjs/mds-filter-item.cjs.entry.js +9 -21
  50. package/dist/cjs/mds-filter.cjs.entry.js +10 -6
  51. package/dist/cjs/mds-header-bar.cjs.entry.js +12 -11
  52. package/dist/cjs/mds-header.cjs.entry.js +9 -11
  53. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +11 -16
  54. package/dist/cjs/mds-hr.cjs.entry.js +4 -4
  55. package/dist/cjs/mds-img.cjs.entry.js +38 -46
  56. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +15 -7
  57. package/dist/cjs/mds-input-date-range.cjs.entry.js +31 -27
  58. package/dist/cjs/mds-input-date.cjs.entry.js +17 -14
  59. package/dist/cjs/mds-input-field.cjs.entry.js +2 -2
  60. package/dist/cjs/mds-input-otp.cjs.entry.js +57 -22
  61. package/dist/cjs/mds-input-range.cjs.entry.js +4 -4
  62. package/dist/cjs/mds-input-select.cjs.entry.js +7 -7
  63. package/dist/cjs/mds-input-switch_2.cjs.entry.js +10 -10
  64. package/dist/cjs/mds-input-tip_2.cjs.entry.js +9 -8
  65. package/dist/cjs/mds-input-upload.cjs.entry.js +1097 -15
  66. package/dist/cjs/mds-input.cjs.entry.js +8 -8
  67. package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -5
  68. package/dist/cjs/mds-keyboard.cjs.entry.js +15 -7
  69. package/dist/cjs/mds-kpi-item.cjs.entry.js +17 -3
  70. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  71. package/dist/cjs/mds-label.cjs.entry.js +13 -30
  72. package/dist/cjs/mds-list-item.cjs.entry.js +2 -2
  73. package/dist/cjs/mds-list.cjs.entry.js +2 -2
  74. package/dist/cjs/mds-mention.cjs.entry.js +7 -6
  75. package/dist/cjs/mds-modal.cjs.entry.js +29 -12
  76. package/dist/cjs/mds-note.cjs.entry.js +18 -14
  77. package/dist/cjs/mds-notification.cjs.entry.js +72 -15
  78. package/dist/cjs/mds-paginator-item.cjs.entry.js +23 -11
  79. package/dist/cjs/mds-paginator.cjs.entry.js +39 -4
  80. package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -5
  81. package/dist/cjs/mds-pref-animation.cjs.entry.js +41 -8
  82. package/dist/cjs/mds-pref-consumption.cjs.entry.js +41 -8
  83. package/dist/cjs/mds-pref-contrast.cjs.entry.js +44 -32
  84. package/dist/cjs/mds-pref-language-item.cjs.entry.js +8 -8
  85. package/dist/cjs/mds-pref-language.cjs.entry.js +43 -21
  86. package/dist/cjs/mds-pref-mode.cjs.entry.js +29 -25
  87. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
  88. package/dist/cjs/mds-pref-theme.cjs.entry.js +109 -31
  89. package/dist/cjs/mds-pref.cjs.entry.js +28 -11
  90. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -4
  91. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  92. package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -4
  93. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  94. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
  95. package/dist/cjs/mds-price-table-list.cjs.entry.js +14 -6
  96. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  97. package/dist/cjs/mds-progress_2.cjs.entry.js +46 -33
  98. package/dist/cjs/mds-push-notification-item.cjs.entry.js +12 -9
  99. package/dist/cjs/mds-push-notification.cjs.entry.js +37 -14
  100. package/dist/cjs/mds-quote.cjs.entry.js +3 -3
  101. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
  102. package/dist/cjs/mds-radial-menu.cjs.entry.js +48 -39
  103. package/dist/cjs/mds-separator.cjs.entry.js +4 -4
  104. package/dist/cjs/mds-status-bar.cjs.entry.js +8 -9
  105. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +18 -6
  106. package/dist/cjs/mds-stepper-bar.cjs.entry.js +8 -17
  107. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +25 -16
  108. package/dist/cjs/mds-tab-bar.cjs.entry.js +11 -5
  109. package/dist/cjs/mds-tab_2.cjs.entry.js +17 -11
  110. package/dist/cjs/mds-table-body.cjs.entry.js +4 -4
  111. package/dist/cjs/mds-table-footer.cjs.entry.js +13 -4
  112. package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
  113. package/dist/cjs/mds-table-header.cjs.entry.js +13 -5
  114. package/dist/cjs/mds-table-row.cjs.entry.js +35 -11
  115. package/dist/cjs/mds-table.cjs.entry.js +80 -23
  116. package/dist/cjs/mds-text.cjs.entry.js +4 -4
  117. package/dist/cjs/mds-toast-region.cjs.entry.js +119 -0
  118. package/dist/cjs/mds-toast.cjs.entry.js +164 -34
  119. package/dist/cjs/mds-tooltip.cjs.entry.js +72 -17
  120. package/dist/cjs/mds-tree-item.cjs.entry.js +25 -11
  121. package/dist/cjs/mds-tree.cjs.entry.js +37 -15
  122. package/dist/cjs/mds-url-view.cjs.entry.js +6 -6
  123. package/dist/cjs/mds-usage.cjs.entry.js +5 -5
  124. package/dist/cjs/mds-video-wall.cjs.entry.js +5 -4
  125. package/dist/cjs/mds-zero.cjs.entry.js +4 -4
  126. package/dist/cjs/{preference-DRkzNp5a.js → preference-C8BcoA3M.js} +1 -1
  127. package/dist/cjs/{slot-RmXfgH4P.js → slot-Dku0TdVg.js} +15 -0
  128. package/dist/cjs/{unit-Cm341q1R.js → unit-JdmHaLT3.js} +1 -1
  129. package/dist/collection/collection-manifest.json +2 -1
  130. package/dist/collection/common/aria.js +25 -1
  131. package/dist/collection/common/file.js +6 -1
  132. package/dist/collection/common/floating-controller.js +18 -9
  133. package/dist/collection/common/icon.js +4 -1
  134. package/dist/collection/common/keyboard-manager.js +29 -6
  135. package/dist/collection/common/slot.js +15 -1
  136. package/dist/collection/common/unit.js +1 -1
  137. package/dist/collection/components/mds-accordion/AGENTS.md +3 -2
  138. package/dist/collection/components/mds-accordion/antipattern.md +1 -1
  139. package/dist/collection/components/mds-accordion/documentation.json +9 -4
  140. package/dist/collection/components/mds-accordion/mds-accordion.css +1 -1
  141. package/dist/collection/components/mds-accordion/mds-accordion.js +34 -21
  142. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  143. package/dist/collection/components/mds-accordion-item/antipattern.md +2 -2
  144. package/dist/collection/components/mds-accordion-item/documentation.json +3 -3
  145. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +5 -1
  146. package/dist/collection/components/mds-accordion-timer/AGENTS.md +2 -2
  147. package/dist/collection/components/mds-accordion-timer/documentation.json +3 -3
  148. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +15 -1
  149. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +4 -4
  150. package/dist/collection/components/mds-accordion-timer-item/documentation.json +4 -4
  151. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +5 -1
  152. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +9 -8
  153. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  154. package/dist/collection/components/mds-author/documentation.json +2 -2
  155. package/dist/collection/components/mds-avatar/AGENTS.md +4 -4
  156. package/dist/collection/components/mds-avatar/documentation.json +4 -4
  157. package/dist/collection/components/mds-avatar/mds-avatar.css +15 -4
  158. package/dist/collection/components/mds-avatar/mds-avatar.js +56 -70
  159. package/dist/collection/components/mds-avatar/pattern.md +13 -2
  160. package/dist/collection/components/mds-avatar-stack/AGENTS.md +2 -2
  161. package/dist/collection/components/mds-avatar-stack/documentation.json +3 -3
  162. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +1 -1
  163. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +15 -2
  164. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  165. package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
  166. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  167. package/dist/collection/components/mds-badge/antipattern.md +0 -1
  168. package/dist/collection/components/mds-badge/documentation.json +4 -4
  169. package/dist/collection/components/mds-badge/mds-badge.css +4 -2
  170. package/dist/collection/components/mds-badge/pattern.md +0 -1
  171. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  172. package/dist/collection/components/mds-banner/documentation.json +2 -2
  173. package/dist/collection/components/mds-banner/mds-banner.css +18 -14
  174. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +2 -2
  175. package/dist/collection/components/mds-benchmark-bar/antipattern.md +1 -1
  176. package/dist/collection/components/mds-benchmark-bar/documentation.json +5 -5
  177. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +4 -1
  178. package/dist/collection/components/mds-benchmark-bar/pattern.md +1 -1
  179. package/dist/collection/components/mds-bibliography/AGENTS.md +4 -4
  180. package/dist/collection/components/mds-bibliography/antipattern.md +1 -1
  181. package/dist/collection/components/mds-bibliography/documentation.json +16 -7
  182. package/dist/collection/components/mds-bibliography/mds-bibliography.css +3 -1
  183. package/dist/collection/components/mds-bibliography/mds-bibliography.js +29 -17
  184. package/dist/collection/components/mds-bibliography/pattern.md +2 -2
  185. package/dist/collection/components/mds-breadcrumb/AGENTS.md +8 -6
  186. package/dist/collection/components/mds-breadcrumb/antipattern.md +3 -3
  187. package/dist/collection/components/mds-breadcrumb/documentation.json +18 -8
  188. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +16 -5
  189. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +13 -29
  190. package/dist/collection/components/mds-breadcrumb/pattern.md +2 -5
  191. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +4 -4
  192. package/dist/collection/components/mds-breadcrumb-item/documentation.json +10 -5
  193. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +1 -1
  194. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +10 -3
  195. package/dist/collection/components/mds-button/AGENTS.md +10 -7
  196. package/dist/collection/components/mds-button/documentation.json +21 -8
  197. package/dist/collection/components/mds-button/mds-button.css +13 -7
  198. package/dist/collection/components/mds-button/mds-button.js +32 -27
  199. package/dist/collection/components/mds-button/pattern.md +6 -0
  200. package/dist/collection/components/mds-button-dropdown/AGENTS.md +9 -8
  201. package/dist/collection/components/mds-button-dropdown/antipattern.md +1 -1
  202. package/dist/collection/components/mds-button-dropdown/documentation.json +13 -9
  203. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +28 -7
  204. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +15 -5
  205. package/dist/collection/components/mds-button-dropdown/pattern.md +8 -1
  206. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  207. package/dist/collection/components/mds-button-group/documentation.json +2 -2
  208. package/dist/collection/components/mds-calendar/AGENTS.md +4 -4
  209. package/dist/collection/components/mds-calendar/documentation.json +5 -5
  210. package/dist/collection/components/mds-calendar/mds-calendar.css +12 -4
  211. package/dist/collection/components/mds-calendar/mds-calendar.js +40 -20
  212. package/dist/collection/components/mds-calendar/pattern.md +4 -3
  213. package/dist/collection/components/mds-calendar-cell/AGENTS.md +8 -8
  214. package/dist/collection/components/mds-calendar-cell/antipattern.md +2 -1
  215. package/dist/collection/components/mds-calendar-cell/documentation.json +14 -10
  216. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +260 -109
  217. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +8 -3
  218. package/dist/collection/components/mds-calendar-cell/pattern.md +3 -1
  219. package/dist/collection/components/mds-card/AGENTS.md +5 -4
  220. package/dist/collection/components/mds-card/antipattern.md +1 -1
  221. package/dist/collection/components/mds-card/documentation.json +10 -5
  222. package/dist/collection/components/mds-card/mds-card.css +2 -1
  223. package/dist/collection/components/mds-card/mds-card.js +22 -13
  224. package/dist/collection/components/mds-card/pattern.md +4 -3
  225. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  226. package/dist/collection/components/mds-card-content/documentation.json +2 -2
  227. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  228. package/dist/collection/components/mds-card-footer/documentation.json +2 -2
  229. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  230. package/dist/collection/components/mds-card-header/documentation.json +2 -2
  231. package/dist/collection/components/mds-card-media/AGENTS.md +2 -2
  232. package/dist/collection/components/mds-card-media/documentation.json +7 -3
  233. package/dist/collection/components/mds-card-media/mds-card-media.js +2 -1
  234. package/dist/collection/components/mds-chip/AGENTS.md +3 -3
  235. package/dist/collection/components/mds-chip/documentation.json +6 -6
  236. package/dist/collection/components/mds-chip/mds-chip.css +12 -9
  237. package/dist/collection/components/mds-chip/mds-chip.js +40 -60
  238. package/dist/collection/components/mds-chip/pattern.md +1 -1
  239. package/dist/collection/components/mds-details/AGENTS.md +5 -4
  240. package/dist/collection/components/mds-details/documentation.json +6 -6
  241. package/dist/collection/components/mds-details/mds-details.css +14 -2
  242. package/dist/collection/components/mds-details/mds-details.js +14 -4
  243. package/dist/collection/components/mds-details/pattern.md +2 -2
  244. package/dist/collection/components/mds-dropdown/AGENTS.md +7 -7
  245. package/dist/collection/components/mds-dropdown/documentation.json +15 -10
  246. package/dist/collection/components/mds-dropdown/mds-dropdown.css +66 -33
  247. package/dist/collection/components/mds-dropdown/mds-dropdown.js +31 -12
  248. package/dist/collection/components/mds-dropdown/pattern.md +4 -2
  249. package/dist/collection/components/mds-emoji/AGENTS.md +11 -11
  250. package/dist/collection/components/mds-emoji/antipattern.md +1 -1
  251. package/dist/collection/components/mds-emoji/documentation.json +34 -64
  252. package/dist/collection/components/mds-emoji/mds-emoji.js +134 -80
  253. package/dist/collection/components/mds-emoji/meta/gaze.js +22 -0
  254. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  255. package/dist/collection/components/mds-entity/documentation.json +2 -2
  256. package/dist/collection/components/mds-entity/mds-entity.css +9 -4
  257. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  258. package/dist/collection/components/mds-file/AGENTS.md +5 -5
  259. package/dist/collection/components/mds-file/documentation.json +4 -4
  260. package/dist/collection/components/mds-file/mds-file.css +2 -2
  261. package/dist/collection/components/mds-file/mds-file.js +21 -3
  262. package/dist/collection/components/mds-file-preview/AGENTS.md +5 -5
  263. package/dist/collection/components/mds-file-preview/antipattern.md +1 -1
  264. package/dist/collection/components/mds-file-preview/documentation.json +20 -10
  265. package/dist/collection/components/mds-file-preview/mds-file-preview.css +27 -1
  266. package/dist/collection/components/mds-file-preview/mds-file-preview.js +34 -21
  267. package/dist/collection/components/mds-file-preview/pattern.md +1 -1
  268. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  269. package/dist/collection/components/mds-filter/documentation.json +2 -2
  270. package/dist/collection/components/mds-filter/mds-filter.css +3 -3
  271. package/dist/collection/components/mds-filter/mds-filter.js +6 -2
  272. package/dist/collection/components/mds-filter-item/AGENTS.md +2 -2
  273. package/dist/collection/components/mds-filter-item/documentation.json +3 -3
  274. package/dist/collection/components/mds-filter-item/mds-filter-item.css +7 -4
  275. package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -14
  276. package/dist/collection/components/mds-header/AGENTS.md +5 -5
  277. package/dist/collection/components/mds-header/antipattern.md +2 -2
  278. package/dist/collection/components/mds-header/documentation.json +14 -9
  279. package/dist/collection/components/mds-header/mds-header.css +8 -6
  280. package/dist/collection/components/mds-header/mds-header.js +10 -9
  281. package/dist/collection/components/mds-header/pattern.md +1 -1
  282. package/dist/collection/components/mds-header-bar/AGENTS.md +5 -5
  283. package/dist/collection/components/mds-header-bar/documentation.json +14 -10
  284. package/dist/collection/components/mds-header-bar/mds-header-bar.css +13 -4
  285. package/dist/collection/components/mds-header-bar/mds-header-bar.js +11 -9
  286. package/dist/collection/components/mds-header-bar/pattern.md +2 -2
  287. package/dist/collection/components/mds-help/AGENTS.md +7 -7
  288. package/dist/collection/components/mds-help/documentation.json +11 -7
  289. package/dist/collection/components/mds-help/mds-help.css +22 -0
  290. package/dist/collection/components/mds-help/mds-help.js +8 -5
  291. package/dist/collection/components/mds-help/pattern.md +2 -2
  292. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +2 -2
  293. package/dist/collection/components/mds-horizontal-scroll/documentation.json +7 -3
  294. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +3 -3
  295. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +7 -11
  296. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  297. package/dist/collection/components/mds-hr/documentation.json +2 -2
  298. package/dist/collection/components/mds-hr/mds-hr.css +1 -1
  299. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  300. package/dist/collection/components/mds-icon/AGENTS.md +2 -2
  301. package/dist/collection/components/mds-icon/documentation.json +4 -4
  302. package/dist/collection/components/mds-icon/mds-icon.js +14 -3
  303. package/dist/collection/components/mds-icon/pattern.md +1 -1
  304. package/dist/collection/components/mds-img/AGENTS.md +9 -9
  305. package/dist/collection/components/mds-img/antipattern.md +1 -1
  306. package/dist/collection/components/mds-img/documentation.json +36 -34
  307. package/dist/collection/components/mds-img/mds-img.js +58 -56
  308. package/dist/collection/components/mds-input/AGENTS.md +15 -15
  309. package/dist/collection/components/mds-input/antipattern.md +1 -1
  310. package/dist/collection/components/mds-input/documentation.json +83 -22
  311. package/dist/collection/components/mds-input/mds-input.css +3 -3
  312. package/dist/collection/components/mds-input/mds-input.js +33 -9
  313. package/dist/collection/components/mds-input-date/AGENTS.md +3 -3
  314. package/dist/collection/components/mds-input-date/antipattern.md +1 -1
  315. package/dist/collection/components/mds-input-date/documentation.json +23 -6
  316. package/dist/collection/components/mds-input-date/mds-input-date.css +1 -2
  317. package/dist/collection/components/mds-input-date/mds-input-date.js +17 -2
  318. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  319. package/dist/collection/components/mds-input-date-range/documentation.json +18 -2
  320. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +18 -2
  321. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +3 -3
  322. package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +1 -1
  323. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +26 -8
  324. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +31 -9
  325. package/dist/collection/components/mds-input-field/AGENTS.md +4 -4
  326. package/dist/collection/components/mds-input-field/documentation.json +10 -6
  327. package/dist/collection/components/mds-input-field/mds-input-field.css +1 -1
  328. package/dist/collection/components/mds-input-field/mds-input-field.js +5 -2
  329. package/dist/collection/components/mds-input-otp/AGENTS.md +5 -4
  330. package/dist/collection/components/mds-input-otp/antipattern.md +1 -1
  331. package/dist/collection/components/mds-input-otp/documentation.json +5 -5
  332. package/dist/collection/components/mds-input-otp/mds-input-otp.css +12 -0
  333. package/dist/collection/components/mds-input-otp/mds-input-otp.js +53 -18
  334. package/dist/collection/components/mds-input-otp/pattern.md +1 -1
  335. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  336. package/dist/collection/components/mds-input-range/antipattern.md +1 -1
  337. package/dist/collection/components/mds-input-range/documentation.json +3 -3
  338. package/dist/collection/components/mds-input-range/mds-input-range.css +3 -3
  339. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  340. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  341. package/dist/collection/components/mds-input-select/documentation.json +2 -2
  342. package/dist/collection/components/mds-input-select/mds-input-select.css +9 -2
  343. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  344. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-input-switch/antipattern.md +1 -1
  346. package/dist/collection/components/mds-input-switch/documentation.json +3 -3
  347. package/dist/collection/components/mds-input-switch/mds-input-switch.css +12 -9
  348. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  349. package/dist/collection/components/mds-input-tip/AGENTS.md +2 -2
  350. package/dist/collection/components/mds-input-tip/documentation.json +3 -3
  351. package/dist/collection/components/mds-input-tip/mds-input-tip.js +4 -3
  352. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  353. package/dist/collection/components/mds-input-tip-item/documentation.json +2 -2
  354. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +3 -1
  355. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  356. package/dist/collection/components/mds-input-tip-item/meta/dictionary.js +2 -8
  357. package/dist/collection/components/mds-input-upload/AGENTS.md +2 -2
  358. package/dist/collection/components/mds-input-upload/documentation.json +7 -3
  359. package/dist/collection/components/mds-input-upload/mds-input-upload.css +4 -3
  360. package/dist/collection/components/mds-input-upload/mds-input-upload.js +13 -8
  361. package/dist/collection/components/mds-keyboard/AGENTS.md +2 -2
  362. package/dist/collection/components/mds-keyboard/documentation.json +4 -4
  363. package/dist/collection/components/mds-keyboard/mds-keyboard.css +24 -13
  364. package/dist/collection/components/mds-keyboard/mds-keyboard.js +11 -3
  365. package/dist/collection/components/mds-keyboard/pattern.md +1 -1
  366. package/dist/collection/components/mds-keyboard-key/AGENTS.md +2 -2
  367. package/dist/collection/components/mds-keyboard-key/documentation.json +3 -3
  368. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -2
  369. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  370. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  371. package/dist/collection/components/mds-kpi/documentation.json +2 -2
  372. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  373. package/dist/collection/components/mds-kpi-item/AGENTS.md +2 -2
  374. package/dist/collection/components/mds-kpi-item/antipattern.md +1 -1
  375. package/dist/collection/components/mds-kpi-item/documentation.json +5 -5
  376. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +15 -1
  377. package/dist/collection/components/mds-kpi-item/pattern.md +2 -2
  378. package/dist/collection/components/mds-label/AGENTS.md +2 -2
  379. package/dist/collection/components/mds-label/documentation.json +3 -3
  380. package/dist/collection/components/mds-label/mds-label.css +6 -1
  381. package/dist/collection/components/mds-label/mds-label.js +2 -24
  382. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  383. package/dist/collection/components/mds-list/documentation.json +2 -2
  384. package/dist/collection/components/mds-list/mds-list.js +1 -1
  385. package/dist/collection/components/mds-list-item/AGENTS.md +3 -3
  386. package/dist/collection/components/mds-list-item/documentation.json +12 -4
  387. package/dist/collection/components/mds-list-item/mds-list-item.js +3 -1
  388. package/dist/collection/components/mds-mention/AGENTS.md +2 -2
  389. package/dist/collection/components/mds-mention/documentation.json +3 -3
  390. package/dist/collection/components/mds-mention/mds-mention.css +2 -11
  391. package/dist/collection/components/mds-mention/mds-mention.js +4 -3
  392. package/dist/collection/components/mds-modal/AGENTS.md +7 -6
  393. package/dist/collection/components/mds-modal/documentation.json +16 -7
  394. package/dist/collection/components/mds-modal/mds-modal.css +18 -9
  395. package/dist/collection/components/mds-modal/mds-modal.js +25 -7
  396. package/dist/collection/components/mds-modal/pattern.md +1 -1
  397. package/dist/collection/components/mds-note/AGENTS.md +2 -1
  398. package/dist/collection/components/mds-note/documentation.json +8 -3
  399. package/dist/collection/components/mds-note/mds-note.css +4 -12
  400. package/dist/collection/components/mds-note/mds-note.js +13 -9
  401. package/dist/collection/components/mds-note/pattern.md +1 -0
  402. package/dist/collection/components/mds-notification/AGENTS.md +5 -5
  403. package/dist/collection/components/mds-notification/documentation.json +10 -5
  404. package/dist/collection/components/mds-notification/mds-notification.css +9 -2
  405. package/dist/collection/components/mds-notification/mds-notification.js +78 -13
  406. package/dist/collection/components/mds-paginator/AGENTS.md +4 -3
  407. package/dist/collection/components/mds-paginator/antipattern.md +2 -1
  408. package/dist/collection/components/mds-paginator/documentation.json +6 -6
  409. package/dist/collection/components/mds-paginator/mds-paginator.css +2 -2
  410. package/dist/collection/components/mds-paginator/mds-paginator.js +12 -1
  411. package/dist/collection/components/mds-paginator/pattern.md +9 -1
  412. package/dist/collection/components/mds-paginator-item/AGENTS.md +4 -4
  413. package/dist/collection/components/mds-paginator-item/antipattern.md +2 -1
  414. package/dist/collection/components/mds-paginator-item/documentation.json +6 -6
  415. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +67 -70
  416. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +19 -7
  417. package/dist/collection/components/mds-paginator-item/pattern.md +3 -1
  418. package/dist/collection/components/mds-policy-ai/AGENTS.md +3 -2
  419. package/dist/collection/components/mds-policy-ai/documentation.json +13 -5
  420. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +13 -7
  421. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +3 -2
  422. package/dist/collection/components/mds-policy-ai/pattern.md +6 -1
  423. package/dist/collection/components/mds-pref/AGENTS.md +5 -5
  424. package/dist/collection/components/mds-pref/antipattern.md +1 -1
  425. package/dist/collection/components/mds-pref/documentation.json +8 -8
  426. package/dist/collection/components/mds-pref/mds-pref.js +27 -9
  427. package/dist/collection/components/mds-pref/pattern.md +5 -5
  428. package/dist/collection/components/mds-pref-animation/AGENTS.md +3 -3
  429. package/dist/collection/components/mds-pref-animation/antipattern.md +1 -1
  430. package/dist/collection/components/mds-pref-animation/documentation.json +5 -5
  431. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +38 -5
  432. package/dist/collection/components/mds-pref-animation/pattern.md +6 -6
  433. package/dist/collection/components/mds-pref-consumption/AGENTS.md +3 -3
  434. package/dist/collection/components/mds-pref-consumption/antipattern.md +1 -1
  435. package/dist/collection/components/mds-pref-consumption/documentation.json +5 -5
  436. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +38 -5
  437. package/dist/collection/components/mds-pref-consumption/pattern.md +5 -6
  438. package/dist/collection/components/mds-pref-contrast/AGENTS.md +3 -3
  439. package/dist/collection/components/mds-pref-contrast/antipattern.md +2 -2
  440. package/dist/collection/components/mds-pref-contrast/documentation.json +5 -5
  441. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +41 -29
  442. package/dist/collection/components/mds-pref-contrast/pattern.md +3 -3
  443. package/dist/collection/components/mds-pref-language/AGENTS.md +5 -5
  444. package/dist/collection/components/mds-pref-language/antipattern.md +2 -2
  445. package/dist/collection/components/mds-pref-language/documentation.json +17 -7
  446. package/dist/collection/components/mds-pref-language/mds-pref-language.js +54 -20
  447. package/dist/collection/components/mds-pref-language/pattern.md +3 -3
  448. package/dist/collection/components/mds-pref-language-item/AGENTS.md +2 -2
  449. package/dist/collection/components/mds-pref-language-item/antipattern.md +1 -1
  450. package/dist/collection/components/mds-pref-language-item/documentation.json +10 -5
  451. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +9 -6
  452. package/dist/collection/components/mds-pref-mode/AGENTS.md +11 -4
  453. package/dist/collection/components/mds-pref-mode/antipattern.md +4 -4
  454. package/dist/collection/components/mds-pref-mode/documentation.json +22 -6
  455. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +1 -1
  456. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +22 -23
  457. package/dist/collection/components/mds-pref-mode/pattern.md +5 -5
  458. package/dist/collection/components/mds-pref-theme/AGENTS.md +6 -5
  459. package/dist/collection/components/mds-pref-theme/antipattern.md +4 -4
  460. package/dist/collection/components/mds-pref-theme/documentation.json +17 -7
  461. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +121 -30
  462. package/dist/collection/components/mds-pref-theme/pattern.md +3 -3
  463. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +2 -2
  464. package/dist/collection/components/mds-pref-theme-item/antipattern.md +1 -1
  465. package/dist/collection/components/mds-pref-theme-item/documentation.json +8 -4
  466. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +20 -3
  467. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +6 -2
  468. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  469. package/dist/collection/components/mds-price-table/documentation.json +2 -2
  470. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  471. package/dist/collection/components/mds-price-table-features/AGENTS.md +3 -3
  472. package/dist/collection/components/mds-price-table-features/documentation.json +4 -4
  473. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +2 -2
  474. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  475. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +2 -2
  476. package/dist/collection/components/mds-price-table-features-cell/documentation.json +3 -3
  477. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +5 -2
  478. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  479. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  480. package/dist/collection/components/mds-price-table-features-row/documentation.json +2 -2
  481. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  482. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  483. package/dist/collection/components/mds-price-table-header/documentation.json +2 -2
  484. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  485. package/dist/collection/components/mds-price-table-list/AGENTS.md +3 -3
  486. package/dist/collection/components/mds-price-table-list/documentation.json +3 -3
  487. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +2 -1
  488. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +13 -3
  489. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +3 -3
  490. package/dist/collection/components/mds-price-table-list-item/documentation.json +9 -5
  491. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +5 -1
  492. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +2 -1
  493. package/dist/collection/components/mds-price-table-list-item/pattern.md +1 -1
  494. package/dist/collection/components/mds-progress/AGENTS.md +3 -2
  495. package/dist/collection/components/mds-progress/documentation.json +4 -4
  496. package/dist/collection/components/mds-progress/mds-progress.css +2 -1
  497. package/dist/collection/components/mds-progress/mds-progress.js +42 -29
  498. package/dist/collection/components/mds-progress/pattern.md +1 -0
  499. package/dist/collection/components/mds-push-notification/AGENTS.md +4 -4
  500. package/dist/collection/components/mds-push-notification/documentation.json +4 -4
  501. package/dist/collection/components/mds-push-notification/mds-push-notification.js +19 -12
  502. package/dist/collection/components/mds-push-notification-item/AGENTS.md +4 -5
  503. package/dist/collection/components/mds-push-notification-item/documentation.json +18 -13
  504. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +5 -88
  505. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +17 -8
  506. package/dist/collection/components/mds-push-notification-item/pattern.md +2 -3
  507. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  508. package/dist/collection/components/mds-quote/documentation.json +2 -2
  509. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  510. package/dist/collection/components/mds-radial-menu/AGENTS.md +12 -11
  511. package/dist/collection/components/mds-radial-menu/antipattern.md +1 -1
  512. package/dist/collection/components/mds-radial-menu/documentation.json +19 -33
  513. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +24 -7
  514. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +46 -39
  515. package/dist/collection/components/mds-radial-menu/pattern.md +14 -1
  516. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  517. package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
  518. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  519. package/dist/collection/components/mds-radial-progress/AGENTS.md +11 -1
  520. package/dist/collection/components/mds-radial-progress/antipattern.md +8 -1
  521. package/dist/collection/components/mds-radial-progress/documentation.json +31 -5
  522. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +9 -1
  523. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  524. package/dist/collection/components/mds-radial-progress/pattern.md +13 -1
  525. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  526. package/dist/collection/components/mds-separator/documentation.json +2 -2
  527. package/dist/collection/components/mds-separator/mds-separator.css +1 -1
  528. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  529. package/dist/collection/components/mds-spinner/AGENTS.md +2 -2
  530. package/dist/collection/components/mds-spinner/documentation.json +4 -4
  531. package/dist/collection/components/mds-spinner/mds-spinner.css +64 -13
  532. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  533. package/dist/collection/components/mds-spinner/pattern.md +1 -1
  534. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  535. package/dist/collection/components/mds-status-bar/antipattern.md +1 -1
  536. package/dist/collection/components/mds-status-bar/documentation.json +4 -4
  537. package/dist/collection/components/mds-status-bar/mds-status-bar.css +11 -6
  538. package/dist/collection/components/mds-status-bar/mds-status-bar.js +5 -6
  539. package/dist/collection/components/mds-status-bar/pattern.md +1 -1
  540. package/dist/collection/components/mds-stepper-bar/AGENTS.md +5 -5
  541. package/dist/collection/components/mds-stepper-bar/documentation.json +8 -14
  542. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +9 -27
  543. package/dist/collection/components/mds-stepper-bar/pattern.md +1 -1
  544. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +4 -4
  545. package/dist/collection/components/mds-stepper-bar-item/documentation.json +6 -6
  546. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +22 -5
  547. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +15 -3
  548. package/dist/collection/components/mds-stepper-bar-item/pattern.md +1 -1
  549. package/dist/collection/components/mds-tab/AGENTS.md +3 -3
  550. package/dist/collection/components/mds-tab/documentation.json +5 -5
  551. package/dist/collection/components/mds-tab/mds-tab.css +4 -4
  552. package/dist/collection/components/mds-tab/mds-tab.js +9 -3
  553. package/dist/collection/components/mds-tab/pattern.md +9 -0
  554. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  555. package/dist/collection/components/mds-tab-bar/antipattern.md +1 -1
  556. package/dist/collection/components/mds-tab-bar/documentation.json +3 -3
  557. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +9 -3
  558. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +3 -3
  559. package/dist/collection/components/mds-tab-bar-item/antipattern.md +2 -2
  560. package/dist/collection/components/mds-tab-bar-item/documentation.json +5 -5
  561. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +22 -1
  562. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +22 -18
  563. package/dist/collection/components/mds-tab-bar-item/pattern.md +1 -1
  564. package/dist/collection/components/mds-tab-item/AGENTS.md +2 -2
  565. package/dist/collection/components/mds-tab-item/documentation.json +9 -4
  566. package/dist/collection/components/mds-tab-item/mds-tab-item.css +11 -1
  567. package/dist/collection/components/mds-tab-item/mds-tab-item.js +4 -1
  568. package/dist/collection/components/mds-table/AGENTS.md +10 -8
  569. package/dist/collection/components/mds-table/antipattern.md +1 -1
  570. package/dist/collection/components/mds-table/documentation.json +41 -10
  571. package/dist/collection/components/mds-table/mds-table.css +20 -21
  572. package/dist/collection/components/mds-table/mds-table.js +97 -21
  573. package/dist/collection/components/mds-table/pattern.md +4 -1
  574. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  575. package/dist/collection/components/mds-table-body/documentation.json +2 -2
  576. package/dist/collection/components/mds-table-body/mds-table-body.css +4 -1
  577. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  578. package/dist/collection/components/mds-table-cell/AGENTS.md +5 -5
  579. package/dist/collection/components/mds-table-cell/antipattern.md +1 -1
  580. package/dist/collection/components/mds-table-cell/documentation.json +11 -7
  581. package/dist/collection/components/mds-table-cell/mds-table-cell.css +7 -11
  582. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  583. package/dist/collection/components/mds-table-cell/pattern.md +6 -0
  584. package/dist/collection/components/mds-table-footer/AGENTS.md +14 -4
  585. package/dist/collection/components/mds-table-footer/documentation.json +42 -9
  586. package/dist/collection/components/mds-table-footer/mds-table-footer.css +6 -1
  587. package/dist/collection/components/mds-table-footer/mds-table-footer.js +41 -2
  588. package/dist/collection/components/mds-table-footer/pattern.md +2 -1
  589. package/dist/collection/components/mds-table-header/AGENTS.md +4 -3
  590. package/dist/collection/components/mds-table-header/documentation.json +49 -6
  591. package/dist/collection/components/mds-table-header/mds-table-header.css +7 -0
  592. package/dist/collection/components/mds-table-header/mds-table-header.js +36 -2
  593. package/dist/collection/components/mds-table-header/pattern.md +1 -1
  594. package/dist/collection/components/mds-table-header-cell/AGENTS.md +3 -3
  595. package/dist/collection/components/mds-table-header-cell/documentation.json +20 -6
  596. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +9 -2
  597. package/dist/collection/components/mds-table-row/AGENTS.md +3 -3
  598. package/dist/collection/components/mds-table-row/documentation.json +5 -5
  599. package/dist/collection/components/mds-table-row/mds-table-row.css +5 -4
  600. package/dist/collection/components/mds-table-row/mds-table-row.js +24 -5
  601. package/dist/collection/components/mds-table-row/pattern.md +1 -2
  602. package/dist/collection/components/mds-text/AGENTS.md +2 -2
  603. package/dist/collection/components/mds-text/documentation.json +3 -3
  604. package/dist/collection/components/mds-text/mds-text.css +86 -3
  605. package/dist/collection/components/mds-text/mds-text.js +1 -1
  606. package/dist/collection/components/mds-toast/AGENTS.md +13 -7
  607. package/dist/collection/components/mds-toast/antipattern.md +18 -0
  608. package/dist/collection/components/mds-toast/documentation.json +53 -13
  609. package/dist/collection/components/mds-toast/mds-toast.css +52 -3
  610. package/dist/collection/components/mds-toast/mds-toast.js +174 -35
  611. package/dist/collection/components/mds-toast/meta/event-detail.js +1 -0
  612. package/dist/collection/components/mds-toast/pattern.md +18 -4
  613. package/dist/collection/components/mds-toast-region/AGENTS.md +51 -0
  614. package/dist/collection/components/mds-toast-region/antipattern.md +62 -0
  615. package/dist/collection/components/mds-toast-region/documentation.json +136 -0
  616. package/dist/collection/components/mds-toast-region/mds-toast-region.css +31 -0
  617. package/dist/collection/components/mds-toast-region/mds-toast-region.js +177 -0
  618. package/dist/collection/components/mds-toast-region/pattern.md +82 -0
  619. package/dist/collection/components/mds-tooltip/AGENTS.md +7 -7
  620. package/dist/collection/components/mds-tooltip/documentation.json +18 -9
  621. package/dist/collection/components/mds-tooltip/mds-tooltip.css +43 -8
  622. package/dist/collection/components/mds-tooltip/mds-tooltip.js +73 -14
  623. package/dist/collection/components/mds-tooltip/pattern.md +2 -2
  624. package/dist/collection/components/mds-tree/AGENTS.md +6 -5
  625. package/dist/collection/components/mds-tree/documentation.json +13 -7
  626. package/dist/collection/components/mds-tree/mds-tree.css +5 -4
  627. package/dist/collection/components/mds-tree/mds-tree.js +41 -16
  628. package/dist/collection/components/mds-tree/pattern.md +5 -1
  629. package/dist/collection/components/mds-tree-item/AGENTS.md +7 -7
  630. package/dist/collection/components/mds-tree-item/documentation.json +7 -7
  631. package/dist/collection/components/mds-tree-item/mds-tree-item.css +55 -20
  632. package/dist/collection/components/mds-tree-item/mds-tree-item.js +22 -8
  633. package/dist/collection/components/mds-tree-item/pattern.md +2 -1
  634. package/dist/collection/components/mds-url-view/AGENTS.md +2 -2
  635. package/dist/collection/components/mds-url-view/documentation.json +3 -3
  636. package/dist/collection/components/mds-url-view/mds-url-view.css +3 -2
  637. package/dist/collection/components/mds-url-view/mds-url-view.js +2 -2
  638. package/dist/collection/components/mds-usage/AGENTS.md +12 -10
  639. package/dist/collection/components/mds-usage/antipattern.md +1 -1
  640. package/dist/collection/components/mds-usage/documentation.json +21 -9
  641. package/dist/collection/components/mds-usage/mds-usage.css +5 -3
  642. package/dist/collection/components/mds-usage/mds-usage.js +5 -2
  643. package/dist/collection/components/mds-usage/pattern.md +4 -4
  644. package/dist/collection/components/mds-video-wall/AGENTS.md +2 -2
  645. package/dist/collection/components/mds-video-wall/documentation.json +3 -3
  646. package/dist/collection/components/mds-video-wall/mds-video-wall.css +10 -5
  647. package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -1
  648. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  649. package/dist/collection/components/mds-zero/documentation.json +2 -2
  650. package/dist/collection/components/mds-zero/mds-zero.css +2 -1
  651. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  652. package/dist/components/index.d.ts +2 -0
  653. package/dist/components/index.js +1 -1
  654. package/dist/components/mds-accordion-item.js +1 -1
  655. package/dist/components/mds-accordion-timer-item.js +1 -1
  656. package/dist/components/mds-accordion-timer.js +1 -1
  657. package/dist/components/mds-accordion.js +1 -1
  658. package/dist/components/mds-author.js +1 -1
  659. package/dist/components/mds-avatar-stack-item.js +1 -1
  660. package/dist/components/mds-avatar-stack.js +1 -1
  661. package/dist/components/mds-avatar.js +1 -1
  662. package/dist/components/mds-badge.js +1 -1
  663. package/dist/components/mds-banner.js +1 -1
  664. package/dist/components/mds-benchmark-bar.js +1 -1
  665. package/dist/components/mds-bibliography.js +1 -1
  666. package/dist/components/mds-breadcrumb-item.js +1 -1
  667. package/dist/components/mds-breadcrumb.js +1 -1
  668. package/dist/components/mds-button-dropdown.js +1 -1
  669. package/dist/components/mds-button-group.js +1 -1
  670. package/dist/components/mds-button.js +1 -1
  671. package/dist/components/mds-calendar-cell.js +1 -1
  672. package/dist/components/mds-calendar.js +1 -1
  673. package/dist/components/mds-card-content.js +1 -1
  674. package/dist/components/mds-card-footer.js +1 -1
  675. package/dist/components/mds-card-header.js +1 -1
  676. package/dist/components/mds-card-media.js +1 -1
  677. package/dist/components/mds-card.js +1 -1
  678. package/dist/components/mds-chip.js +1 -1
  679. package/dist/components/mds-details.js +1 -1
  680. package/dist/components/mds-dropdown.js +1 -1
  681. package/dist/components/mds-emoji.js +7 -7
  682. package/dist/components/mds-entity.js +1 -1
  683. package/dist/components/mds-file-preview.js +1 -1
  684. package/dist/components/mds-file.js +1 -1
  685. package/dist/components/mds-filter-item.js +1 -1
  686. package/dist/components/mds-filter.js +1 -1
  687. package/dist/components/mds-header-bar.js +1 -1
  688. package/dist/components/mds-header.js +1 -1
  689. package/dist/components/mds-help.js +1 -1
  690. package/dist/components/mds-horizontal-scroll.js +1 -1
  691. package/dist/components/mds-hr.js +1 -1
  692. package/dist/components/mds-icon.js +1 -1
  693. package/dist/components/mds-img.js +1 -1
  694. package/dist/components/mds-input-date-range-preselection.js +1 -1
  695. package/dist/components/mds-input-date-range.js +1 -1
  696. package/dist/components/mds-input-date.js +1 -1
  697. package/dist/components/mds-input-field.js +1 -1
  698. package/dist/components/mds-input-otp.js +1 -1
  699. package/dist/components/mds-input-range.js +1 -1
  700. package/dist/components/mds-input-select.js +1 -1
  701. package/dist/components/mds-input-switch.js +1 -1
  702. package/dist/components/mds-input-tip-item.js +1 -1
  703. package/dist/components/mds-input-tip.js +1 -1
  704. package/dist/components/mds-input-upload.js +1 -1
  705. package/dist/components/mds-input.js +1 -1
  706. package/dist/components/mds-keyboard-key.js +1 -1
  707. package/dist/components/mds-keyboard.js +1 -1
  708. package/dist/components/mds-kpi-item.js +1 -1
  709. package/dist/components/mds-kpi.js +1 -1
  710. package/dist/components/mds-label.js +1 -1
  711. package/dist/components/mds-list-item.js +1 -1
  712. package/dist/components/mds-list.js +1 -1
  713. package/dist/components/mds-mention.js +1 -1
  714. package/dist/components/mds-modal.js +1 -1
  715. package/dist/components/mds-note.js +1 -1
  716. package/dist/components/mds-notification.js +1 -1
  717. package/dist/components/mds-paginator-item.js +1 -1
  718. package/dist/components/mds-paginator.js +1 -1
  719. package/dist/components/mds-policy-ai.js +1 -1
  720. package/dist/components/mds-pref-animation.js +1 -1
  721. package/dist/components/mds-pref-consumption.js +1 -1
  722. package/dist/components/mds-pref-contrast.js +1 -1
  723. package/dist/components/mds-pref-language-item.js +1 -1
  724. package/dist/components/mds-pref-language.js +1 -1
  725. package/dist/components/mds-pref-mode.js +1 -1
  726. package/dist/components/mds-pref-theme-item.js +1 -1
  727. package/dist/components/mds-pref-theme.js +1 -1
  728. package/dist/components/mds-pref.js +1 -1
  729. package/dist/components/mds-price-table-features-cell.js +1 -1
  730. package/dist/components/mds-price-table-features-row.js +1 -1
  731. package/dist/components/mds-price-table-features.js +1 -1
  732. package/dist/components/mds-price-table-header.js +1 -1
  733. package/dist/components/mds-price-table-list-item.js +1 -1
  734. package/dist/components/mds-price-table-list.js +1 -1
  735. package/dist/components/mds-price-table.js +1 -1
  736. package/dist/components/mds-progress.js +1 -1
  737. package/dist/components/mds-push-notification-item.js +1 -1
  738. package/dist/components/mds-push-notification.js +1 -1
  739. package/dist/components/mds-quote.js +1 -1
  740. package/dist/components/mds-radial-menu-item.js +1 -1
  741. package/dist/components/mds-radial-menu.js +1 -1
  742. package/dist/components/mds-radial-progress.js +1 -1
  743. package/dist/components/mds-separator.js +1 -1
  744. package/dist/components/mds-spinner.js +1 -1
  745. package/dist/components/mds-status-bar.js +1 -1
  746. package/dist/components/mds-stepper-bar-item.js +1 -1
  747. package/dist/components/mds-stepper-bar.js +1 -1
  748. package/dist/components/mds-tab-bar-item.js +1 -1
  749. package/dist/components/mds-tab-bar.js +1 -1
  750. package/dist/components/mds-tab-item.js +1 -1
  751. package/dist/components/mds-tab.js +1 -1
  752. package/dist/components/mds-table-body.js +1 -1
  753. package/dist/components/mds-table-cell.js +1 -1
  754. package/dist/components/mds-table-footer.js +1 -1
  755. package/dist/components/mds-table-header-cell.js +1 -1
  756. package/dist/components/mds-table-header.js +1 -1
  757. package/dist/components/mds-table-row.js +1 -1
  758. package/dist/components/mds-table.js +1 -1
  759. package/dist/components/mds-text.js +1 -1
  760. package/dist/components/mds-toast-region.d.ts +11 -0
  761. package/dist/components/mds-toast-region.js +1 -0
  762. package/dist/components/mds-toast.js +1 -1
  763. package/dist/components/mds-tooltip.js +1 -1
  764. package/dist/components/mds-tree-item.js +1 -1
  765. package/dist/components/mds-tree.js +1 -1
  766. package/dist/components/mds-url-view.js +1 -1
  767. package/dist/components/mds-usage.js +1 -1
  768. package/dist/components/mds-video-wall.js +1 -1
  769. package/dist/components/mds-zero.js +1 -1
  770. package/dist/components/p-B1bYa-o0.js +1 -0
  771. package/dist/components/p-B2p5a1Y8.js +3 -0
  772. package/dist/components/p-B6B6q5kP.js +1 -0
  773. package/dist/components/{p--miH951G.js → p-B9dgiq4u.js} +1 -1
  774. package/dist/components/p-BFisF7aN.js +1 -0
  775. package/dist/components/p-BHy4k3pJ.js +1 -0
  776. package/dist/components/p-BL220gRU.js +1 -0
  777. package/dist/components/p-BLXRGNya.js +1 -0
  778. package/dist/components/p-BLiWCyrD.js +1 -0
  779. package/dist/components/p-BN5kmfLJ.js +8 -0
  780. package/dist/components/p-BUr3NqxM.js +1 -0
  781. package/dist/components/p-BaFfIZGB.js +1 -0
  782. package/dist/components/{p-faViX-qz.js → p-Bg5E4Wnq.js} +1 -1
  783. package/dist/components/{p-zHpei4x6.js → p-BlnEiKN4.js} +1 -1
  784. package/dist/components/p-C2fyy4Mv.js +1 -0
  785. package/dist/components/p-CGrPq3C4.js +1 -0
  786. package/dist/components/p-CIWWmisz.js +1 -0
  787. package/dist/components/p-CJyTL7Mj.js +1 -0
  788. package/dist/components/p-CWk1SCJg.js +1 -0
  789. package/dist/components/p-CWwWCzma.js +1 -0
  790. package/dist/components/p-ChrRK8N9.js +1 -0
  791. package/dist/components/p-Cvhn9asj.js +1 -0
  792. package/dist/components/p-D3_jgpKd.js +1 -0
  793. package/dist/components/p-D4JiVIoh.js +1 -0
  794. package/dist/components/{p-CUmJoPAI.js → p-DACnmwad.js} +1 -1
  795. package/dist/components/p-DSxDXNWp.js +1 -0
  796. package/dist/components/p-DWIIDHSa.js +1 -0
  797. package/dist/components/p-DYpfVn7a.js +1 -0
  798. package/dist/components/{p-qYRtWYC8.js → p-D_0rjNZp.js} +1 -1
  799. package/dist/components/p-DaptTdaU.js +1 -0
  800. package/dist/components/{p-DLCcW1Q5.js → p-DezdwzYQ.js} +1 -1
  801. package/dist/components/{p-BcUY-9n7.js → p-DhIGZbIo.js} +1 -1
  802. package/dist/components/{p-ay5NzZ_x.js → p-Didp833Z.js} +1 -1
  803. package/dist/components/p-Ea5ilDf6.js +1 -0
  804. package/dist/components/p-Ebefwvkw.js +1 -0
  805. package/dist/components/p-JPhOaOXe.js +1 -0
  806. package/dist/components/p-NOw8-OrM.js +1 -0
  807. package/dist/components/p-NlPseOAv.js +1 -0
  808. package/dist/components/{p-DmPLOktp.js → p-cIZniMh0.js} +1 -1
  809. package/dist/components/p-fhAmrBfl.js +1 -0
  810. package/dist/components/p-sM-eFjwq.js +1 -0
  811. package/dist/documentation.json +1069 -462
  812. package/dist/esm/aria-Cvhn9asj.js +53 -0
  813. package/dist/esm/{floating-controller-D5-8D9mH.js → floating-controller-CVVcyKew.js} +21 -12
  814. package/dist/esm/{floating-ui.dom-JMPfVnGv.js → floating-ui.dom-BaFfIZGB.js} +1 -115
  815. package/dist/esm/{icon-pNJmnrhq.js → icon-B7RVWU-q.js} +4 -2
  816. package/dist/esm/{index-BxPbQB28.js → index-CPRkNQdE.js} +89 -60
  817. package/dist/esm/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
  818. package/dist/esm/index.js +1 -1
  819. package/dist/esm/keyboard-manager-CGrPq3C4.js +73 -0
  820. package/dist/esm/loader.js +3 -3
  821. package/dist/esm/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
  822. package/dist/esm/{locale.it-Cvxh7La5.js → locale.it-Diyps98n.js} +6 -1
  823. package/dist/esm/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +164 -64
  824. package/dist/esm/magma-components.js +4 -4
  825. package/dist/esm/mds-accordion-item.entry.js +3 -3
  826. package/dist/esm/mds-accordion-timer-item.entry.js +11 -10
  827. package/dist/esm/mds-accordion-timer.entry.js +16 -2
  828. package/dist/esm/mds-accordion.entry.js +36 -21
  829. package/dist/esm/mds-author.entry.js +2 -2
  830. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  831. package/dist/esm/mds-avatar-stack.entry.js +11 -5
  832. package/dist/esm/mds-avatar.entry.js +57 -90
  833. package/dist/esm/mds-badge.entry.js +4 -4
  834. package/dist/esm/mds-banner_3.entry.js +51 -69
  835. package/dist/esm/mds-benchmark-bar.entry.js +6 -3
  836. package/dist/esm/mds-bibliography.entry.js +23 -17
  837. package/dist/esm/mds-breadcrumb-item.entry.js +9 -5
  838. package/dist/esm/mds-breadcrumb.entry.js +17 -33
  839. package/dist/esm/mds-button-dropdown.entry.js +15 -6
  840. package/dist/esm/mds-button-group.entry.js +1 -1
  841. package/dist/esm/mds-button_3.entry.js +54 -38
  842. package/dist/esm/mds-calendar_2.entry.js +50 -28
  843. package/dist/esm/mds-card-content.entry.js +1 -1
  844. package/dist/esm/mds-card-footer.entry.js +1 -1
  845. package/dist/esm/mds-card-header.entry.js +2 -2
  846. package/dist/esm/mds-card-media.entry.js +2 -2
  847. package/dist/esm/mds-card.entry.js +25 -16
  848. package/dist/esm/mds-details.entry.js +18 -8
  849. package/dist/esm/mds-dropdown.entry.js +32 -16
  850. package/dist/esm/mds-emoji.entry.js +225 -138
  851. package/dist/esm/mds-entity.entry.js +5 -5
  852. package/dist/esm/mds-file-preview.entry.js +30 -23
  853. package/dist/esm/mds-file.entry.js +25 -7
  854. package/dist/esm/mds-filter-item.entry.js +9 -21
  855. package/dist/esm/mds-filter.entry.js +10 -6
  856. package/dist/esm/mds-header-bar.entry.js +12 -11
  857. package/dist/esm/mds-header.entry.js +9 -11
  858. package/dist/esm/mds-horizontal-scroll.entry.js +11 -16
  859. package/dist/esm/mds-hr.entry.js +4 -4
  860. package/dist/esm/mds-img.entry.js +38 -46
  861. package/dist/esm/mds-input-date-range-preselection.entry.js +15 -7
  862. package/dist/esm/mds-input-date-range.entry.js +12 -8
  863. package/dist/esm/mds-input-date.entry.js +11 -8
  864. package/dist/esm/mds-input-field.entry.js +2 -2
  865. package/dist/esm/mds-input-otp.entry.js +57 -22
  866. package/dist/esm/mds-input-range.entry.js +4 -4
  867. package/dist/esm/mds-input-select.entry.js +7 -7
  868. package/dist/esm/mds-input-switch_2.entry.js +10 -10
  869. package/dist/esm/mds-input-tip_2.entry.js +9 -8
  870. package/dist/esm/mds-input-upload.entry.js +1097 -15
  871. package/dist/esm/mds-input.entry.js +8 -8
  872. package/dist/esm/mds-keyboard-key.entry.js +5 -5
  873. package/dist/esm/mds-keyboard.entry.js +15 -7
  874. package/dist/esm/mds-kpi-item.entry.js +17 -3
  875. package/dist/esm/mds-kpi.entry.js +2 -2
  876. package/dist/esm/mds-label.entry.js +13 -30
  877. package/dist/esm/mds-list-item.entry.js +2 -2
  878. package/dist/esm/mds-list.entry.js +2 -2
  879. package/dist/esm/mds-mention.entry.js +7 -6
  880. package/dist/esm/mds-modal.entry.js +29 -12
  881. package/dist/esm/mds-note.entry.js +18 -14
  882. package/dist/esm/mds-notification.entry.js +72 -15
  883. package/dist/esm/mds-paginator-item.entry.js +23 -11
  884. package/dist/esm/mds-paginator.entry.js +39 -4
  885. package/dist/esm/mds-policy-ai.entry.js +5 -5
  886. package/dist/esm/mds-pref-animation.entry.js +41 -8
  887. package/dist/esm/mds-pref-consumption.entry.js +41 -8
  888. package/dist/esm/mds-pref-contrast.entry.js +44 -32
  889. package/dist/esm/mds-pref-language-item.entry.js +8 -8
  890. package/dist/esm/mds-pref-language.entry.js +43 -21
  891. package/dist/esm/mds-pref-mode.entry.js +29 -25
  892. package/dist/esm/mds-pref-theme-item.entry.js +4 -3
  893. package/dist/esm/mds-pref-theme.entry.js +109 -31
  894. package/dist/esm/mds-pref.entry.js +28 -11
  895. package/dist/esm/mds-price-table-features-cell.entry.js +4 -4
  896. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  897. package/dist/esm/mds-price-table-features.entry.js +4 -4
  898. package/dist/esm/mds-price-table-header.entry.js +2 -2
  899. package/dist/esm/mds-price-table-list-item.entry.js +3 -3
  900. package/dist/esm/mds-price-table-list.entry.js +14 -6
  901. package/dist/esm/mds-price-table.entry.js +2 -2
  902. package/dist/esm/mds-progress_2.entry.js +46 -33
  903. package/dist/esm/mds-push-notification-item.entry.js +12 -9
  904. package/dist/esm/mds-push-notification.entry.js +37 -14
  905. package/dist/esm/mds-quote.entry.js +3 -3
  906. package/dist/esm/mds-radial-menu-item.entry.js +2 -2
  907. package/dist/esm/mds-radial-menu.entry.js +48 -39
  908. package/dist/esm/mds-separator.entry.js +4 -4
  909. package/dist/esm/mds-status-bar.entry.js +8 -9
  910. package/dist/esm/mds-stepper-bar-item.entry.js +18 -6
  911. package/dist/esm/mds-stepper-bar.entry.js +8 -17
  912. package/dist/esm/mds-tab-bar-item.entry.js +25 -16
  913. package/dist/esm/mds-tab-bar.entry.js +11 -5
  914. package/dist/esm/mds-tab_2.entry.js +17 -11
  915. package/dist/esm/mds-table-body.entry.js +4 -4
  916. package/dist/esm/mds-table-footer.entry.js +13 -4
  917. package/dist/esm/mds-table-header-cell.entry.js +3 -3
  918. package/dist/esm/mds-table-header.entry.js +13 -5
  919. package/dist/esm/mds-table-row.entry.js +35 -11
  920. package/dist/esm/mds-table.entry.js +80 -23
  921. package/dist/esm/mds-text.entry.js +4 -4
  922. package/dist/esm/mds-toast-region.entry.js +117 -0
  923. package/dist/esm/mds-toast.entry.js +164 -34
  924. package/dist/esm/mds-tooltip.entry.js +72 -17
  925. package/dist/esm/mds-tree-item.entry.js +25 -11
  926. package/dist/esm/mds-tree.entry.js +37 -15
  927. package/dist/esm/mds-url-view.entry.js +6 -6
  928. package/dist/esm/mds-usage.entry.js +5 -5
  929. package/dist/esm/mds-video-wall.entry.js +5 -4
  930. package/dist/esm/mds-zero.entry.js +4 -4
  931. package/dist/esm/polyfills/core-js.js +0 -0
  932. package/dist/esm/polyfills/dom.js +0 -0
  933. package/dist/esm/polyfills/es5-html-element.js +0 -0
  934. package/dist/esm/polyfills/index.js +0 -0
  935. package/dist/esm/polyfills/system.js +0 -0
  936. package/dist/esm/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +1 -1
  937. package/dist/esm/{slot-C0o_l0td.js → slot-AEckDMXh.js} +15 -1
  938. package/dist/esm/{unit-D8eZRaSQ.js → unit-CWk1SCJg.js} +1 -1
  939. package/dist/esm-es5/aria-Cvhn9asj.js +6 -0
  940. package/dist/esm-es5/{floating-controller-D5-8D9mH.js → floating-controller-CVVcyKew.js} +12 -3
  941. package/dist/esm-es5/{floating-ui.dom-JMPfVnGv.js → floating-ui.dom-BaFfIZGB.js} +40 -63
  942. package/dist/esm-es5/icon-B7RVWU-q.js +4 -0
  943. package/dist/esm-es5/{index-BxPbQB28.js → index-CPRkNQdE.js} +44 -42
  944. package/dist/esm-es5/{index-BhCZiGfL.js → index-DI_6NAg0.js} +1 -1
  945. package/dist/esm-es5/index.js +1 -1
  946. package/dist/esm-es5/keyboard-manager-CGrPq3C4.js +9 -0
  947. package/dist/esm-es5/loader.js +1 -1
  948. package/dist/esm-es5/{locale-CVJm6KFD.js → locale-DfpXg7qZ.js} +1 -1
  949. package/dist/esm-es5/locale.it-Diyps98n.js +11 -0
  950. package/dist/esm-es5/{datetime-BJtA1qmE.js → luxon-DbyXf6dF.js} +51 -20
  951. package/dist/esm-es5/magma-components.js +3 -3
  952. package/dist/esm-es5/mds-accordion-item.entry.js +2 -2
  953. package/dist/esm-es5/mds-accordion-timer-item.entry.js +7 -3
  954. package/dist/esm-es5/mds-accordion-timer.entry.js +12 -2
  955. package/dist/esm-es5/mds-accordion.entry.js +14 -2
  956. package/dist/esm-es5/mds-author.entry.js +1 -1
  957. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  958. package/dist/esm-es5/mds-avatar-stack.entry.js +4 -1
  959. package/dist/esm-es5/mds-avatar.entry.js +19 -6
  960. package/dist/esm-es5/mds-badge.entry.js +1 -1
  961. package/dist/esm-es5/mds-banner_3.entry.js +19 -18
  962. package/dist/esm-es5/mds-benchmark-bar.entry.js +5 -2
  963. package/dist/esm-es5/mds-bibliography.entry.js +13 -2
  964. package/dist/esm-es5/mds-breadcrumb-item.entry.js +4 -1
  965. package/dist/esm-es5/mds-breadcrumb.entry.js +8 -2
  966. package/dist/esm-es5/mds-button-dropdown.entry.js +6 -3
  967. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  968. package/dist/esm-es5/mds-button_3.entry.js +26 -11
  969. package/dist/esm-es5/mds-calendar_2.entry.js +20 -9
  970. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  971. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  972. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  973. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  974. package/dist/esm-es5/mds-card.entry.js +11 -5
  975. package/dist/esm-es5/mds-details.entry.js +7 -2
  976. package/dist/esm-es5/mds-dropdown.entry.js +26 -17
  977. package/dist/esm-es5/mds-emoji.entry.js +151 -99
  978. package/dist/esm-es5/mds-entity.entry.js +1 -1
  979. package/dist/esm-es5/mds-file-preview.entry.js +15 -13
  980. package/dist/esm-es5/mds-file.entry.js +11 -4
  981. package/dist/esm-es5/mds-filter-item.entry.js +2 -5
  982. package/dist/esm-es5/mds-filter.entry.js +7 -3
  983. package/dist/esm-es5/mds-header-bar.entry.js +7 -5
  984. package/dist/esm-es5/mds-header.entry.js +7 -4
  985. package/dist/esm-es5/mds-horizontal-scroll.entry.js +15 -12
  986. package/dist/esm-es5/mds-hr.entry.js +1 -1
  987. package/dist/esm-es5/mds-img.entry.js +17 -11
  988. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +6 -1
  989. package/dist/esm-es5/mds-input-date-range.entry.js +16 -12
  990. package/dist/esm-es5/mds-input-date.entry.js +6 -3
  991. package/dist/esm-es5/mds-input-field.entry.js +2 -2
  992. package/dist/esm-es5/mds-input-otp.entry.js +16 -6
  993. package/dist/esm-es5/mds-input-range.entry.js +3 -3
  994. package/dist/esm-es5/mds-input-select.entry.js +2 -2
  995. package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
  996. package/dist/esm-es5/mds-input-tip_2.entry.js +5 -4
  997. package/dist/esm-es5/mds-input-upload.entry.js +5 -3
  998. package/dist/esm-es5/mds-input.entry.js +3 -3
  999. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  1000. package/dist/esm-es5/mds-keyboard.entry.js +7 -3
  1001. package/dist/esm-es5/mds-kpi-item.entry.js +7 -2
  1002. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  1003. package/dist/esm-es5/mds-label.entry.js +2 -2
  1004. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  1005. package/dist/esm-es5/mds-list.entry.js +1 -1
  1006. package/dist/esm-es5/mds-mention.entry.js +4 -3
  1007. package/dist/esm-es5/mds-modal.entry.js +19 -7
  1008. package/dist/esm-es5/mds-note.entry.js +5 -2
  1009. package/dist/esm-es5/mds-notification.entry.js +25 -5
  1010. package/dist/esm-es5/mds-paginator-item.entry.js +8 -1
  1011. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  1012. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  1013. package/dist/esm-es5/mds-pref-animation.entry.js +14 -4
  1014. package/dist/esm-es5/mds-pref-consumption.entry.js +14 -4
  1015. package/dist/esm-es5/mds-pref-contrast.entry.js +14 -7
  1016. package/dist/esm-es5/mds-pref-language-item.entry.js +5 -5
  1017. package/dist/esm-es5/mds-pref-language.entry.js +20 -6
  1018. package/dist/esm-es5/mds-pref-mode.entry.js +10 -3
  1019. package/dist/esm-es5/mds-pref-theme-item.entry.js +4 -3
  1020. package/dist/esm-es5/mds-pref-theme.entry.js +38 -11
  1021. package/dist/esm-es5/mds-pref.entry.js +13 -7
  1022. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  1023. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  1024. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  1025. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  1026. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  1027. package/dist/esm-es5/mds-price-table-list.entry.js +5 -1
  1028. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  1029. package/dist/esm-es5/mds-progress_2.entry.js +18 -3
  1030. package/dist/esm-es5/mds-push-notification-item.entry.js +7 -3
  1031. package/dist/esm-es5/mds-push-notification.entry.js +9 -12
  1032. package/dist/esm-es5/mds-quote.entry.js +2 -2
  1033. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  1034. package/dist/esm-es5/mds-radial-menu.entry.js +8 -11
  1035. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1036. package/dist/esm-es5/mds-status-bar.entry.js +5 -3
  1037. package/dist/esm-es5/mds-stepper-bar-item.entry.js +9 -3
  1038. package/dist/esm-es5/mds-stepper-bar.entry.js +9 -4
  1039. package/dist/esm-es5/mds-tab-bar-item.entry.js +10 -3
  1040. package/dist/esm-es5/mds-tab-bar.entry.js +5 -1
  1041. package/dist/esm-es5/mds-tab_2.entry.js +6 -4
  1042. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1043. package/dist/esm-es5/mds-table-footer.entry.js +4 -1
  1044. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  1045. package/dist/esm-es5/mds-table-header.entry.js +10 -5
  1046. package/dist/esm-es5/mds-table-row.entry.js +9 -3
  1047. package/dist/esm-es5/mds-table.entry.js +33 -8
  1048. package/dist/esm-es5/mds-text.entry.js +3 -3
  1049. package/dist/esm-es5/mds-toast-region.entry.js +22 -0
  1050. package/dist/esm-es5/mds-toast.entry.js +42 -5
  1051. package/dist/esm-es5/mds-tooltip.entry.js +16 -6
  1052. package/dist/esm-es5/mds-tree-item.entry.js +15 -4
  1053. package/dist/esm-es5/mds-tree.entry.js +15 -2
  1054. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  1055. package/dist/esm-es5/mds-usage.entry.js +3 -3
  1056. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  1057. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1058. package/dist/esm-es5/{preference-DNNqH7BU.js → preference-Ch1zJnqq.js} +4 -4
  1059. package/dist/esm-es5/slot-AEckDMXh.js +30 -0
  1060. package/dist/esm-es5/unit-CWk1SCJg.js +1 -0
  1061. package/dist/hydrate/index.js +4431 -1890
  1062. package/dist/hydrate/index.mjs +4431 -1890
  1063. package/dist/magma-components/index.esm.js +1 -1
  1064. package/dist/magma-components/magma-components.esm.js +1 -1
  1065. package/dist/magma-components/magma-components.js +1 -1
  1066. package/dist/magma-components/p-007968a8.system.entry.js +47 -0
  1067. package/dist/magma-components/p-028f3717.entry.js +1 -0
  1068. package/dist/magma-components/{p-808f6796.entry.js → p-0727d8f9.entry.js} +1 -1
  1069. package/dist/magma-components/p-0b5fe949.entry.js +1 -0
  1070. package/dist/magma-components/p-0b7a884e.system.entry.js +29 -0
  1071. package/dist/magma-components/{p-ed897125.entry.js → p-0bcf3bb6.entry.js} +1 -1
  1072. package/dist/magma-components/{p-c34d9e61.system.entry.js → p-0c9bdfff.system.entry.js} +1 -1
  1073. package/dist/magma-components/{p-514d0fcb.entry.js → p-0dd4b006.entry.js} +1 -1
  1074. package/dist/magma-components/p-0f47fd37.system.entry.js +16 -0
  1075. package/dist/magma-components/p-11e50140.system.entry.js +19 -0
  1076. package/dist/magma-components/{p-c644c5fc.system.entry.js → p-11feeebf.system.entry.js} +4 -1
  1077. package/dist/magma-components/p-1287fb51.entry.js +1 -0
  1078. package/dist/magma-components/p-12a2f8e2.system.entry.js +13 -0
  1079. package/dist/magma-components/p-14b40c21.entry.js +1 -0
  1080. package/dist/magma-components/p-14ef1aec.entry.js +1 -0
  1081. package/dist/magma-components/p-166c0190.entry.js +1 -0
  1082. package/dist/magma-components/{p-a9736d68.system.entry.js → p-176e6d9d.system.entry.js} +1 -1
  1083. package/dist/magma-components/p-1989c0b4.entry.js +8 -0
  1084. package/dist/magma-components/p-1a5411a8.entry.js +1 -0
  1085. package/dist/magma-components/p-1d68fc4a.system.entry.js +80 -0
  1086. package/dist/magma-components/p-1f5cd2b5.entry.js +1 -0
  1087. package/dist/{components/p-B8BWxSho.js → magma-components/p-1f9ebc0d.entry.js} +1 -1
  1088. package/dist/magma-components/{p-837fbbf7.system.entry.js → p-1fe66383.system.entry.js} +1 -1
  1089. package/dist/magma-components/p-20469b7a.system.entry.js +1 -0
  1090. package/dist/magma-components/p-20608f69.system.entry.js +35 -0
  1091. package/dist/magma-components/p-2061e567.entry.js +1 -0
  1092. package/dist/magma-components/p-21c2d7bd.entry.js +1 -0
  1093. package/dist/magma-components/p-21fe0fef.system.entry.js +14 -0
  1094. package/dist/magma-components/p-2294945a.system.entry.js +34 -0
  1095. package/dist/magma-components/p-2362b91a.entry.js +1 -0
  1096. package/dist/magma-components/p-23bf1afa.system.entry.js +27 -0
  1097. package/dist/magma-components/{p-c575cb7b.entry.js → p-23ce0824.entry.js} +1 -1
  1098. package/dist/magma-components/p-25576b51.system.entry.js +14 -0
  1099. package/dist/magma-components/{p-508e10b5.system.entry.js → p-287d1253.system.entry.js} +476 -423
  1100. package/dist/magma-components/p-288f3cfe.entry.js +1 -0
  1101. package/dist/magma-components/p-29d4605e.system.entry.js +10 -0
  1102. package/dist/magma-components/p-2abfc393.entry.js +1 -0
  1103. package/dist/magma-components/p-2c4d2717.entry.js +1 -0
  1104. package/dist/magma-components/p-2d7d9e4f.entry.js +1 -0
  1105. package/dist/magma-components/p-2e8f703e.entry.js +1 -0
  1106. package/dist/magma-components/p-3093af30.system.entry.js +4 -0
  1107. package/dist/magma-components/{p-35ee2d77.entry.js → p-32bfb09c.entry.js} +1 -1
  1108. package/dist/magma-components/p-342770d2.system.entry.js +7 -0
  1109. package/dist/magma-components/p-357ec8c0.entry.js +1 -0
  1110. package/dist/magma-components/p-36ad5759.system.entry.js +10 -0
  1111. package/dist/magma-components/p-37b801d0.system.entry.js +22 -0
  1112. package/dist/magma-components/{p-2de5f5fe.entry.js → p-3871807a.entry.js} +1 -1
  1113. package/dist/magma-components/{p-154aff83.entry.js → p-38a9e862.entry.js} +1 -1
  1114. package/dist/magma-components/p-3a88fc9b.system.entry.js +1 -0
  1115. package/dist/magma-components/p-3ac09ace.entry.js +1 -0
  1116. package/dist/magma-components/p-3b36319a.entry.js +1 -0
  1117. package/dist/magma-components/{p-8cdad12f.entry.js → p-3ba5ddae.entry.js} +1 -1
  1118. package/dist/magma-components/p-3bb26611.entry.js +1 -0
  1119. package/dist/magma-components/p-3e1b21bd.entry.js +1 -0
  1120. package/dist/magma-components/p-3fb98529.system.entry.js +28 -0
  1121. package/dist/magma-components/p-4116e328.system.entry.js +1 -0
  1122. package/dist/magma-components/p-4191bf22.entry.js +1 -0
  1123. package/dist/magma-components/p-4225484c.entry.js +1 -0
  1124. package/dist/magma-components/p-4260da67.system.entry.js +12 -0
  1125. package/dist/magma-components/p-43338a07.entry.js +1 -0
  1126. package/dist/magma-components/p-4582aa3e.system.entry.js +16 -0
  1127. package/dist/magma-components/p-47f7366c.entry.js +1 -0
  1128. package/dist/magma-components/p-4800a310.entry.js +1 -0
  1129. package/dist/magma-components/p-495a70e2.entry.js +1 -0
  1130. package/dist/magma-components/p-4a051ef5.system.entry.js +46 -0
  1131. package/dist/magma-components/p-4c2dad1e.system.entry.js +81 -0
  1132. package/dist/magma-components/p-4d079b1a.system.entry.js +26 -0
  1133. package/dist/magma-components/p-4ea00c22.entry.js +1 -0
  1134. package/dist/magma-components/{p-8d2a6896.entry.js → p-4f24ccf3.entry.js} +1 -1
  1135. package/dist/magma-components/{p-ed6e287d.system.entry.js → p-4fdda209.system.entry.js} +4 -4
  1136. package/dist/magma-components/p-51a869ee.entry.js +1 -0
  1137. package/dist/magma-components/p-5219eba6.system.entry.js +4 -0
  1138. package/dist/magma-components/p-52a85b97.system.entry.js +9 -0
  1139. package/dist/magma-components/p-52d5d104.system.entry.js +17 -0
  1140. package/dist/magma-components/{p-c4ceaef6.system.entry.js → p-5439125d.system.entry.js} +2 -2
  1141. package/dist/magma-components/p-547f657e.system.entry.js +91 -0
  1142. package/dist/magma-components/p-5a2deba5.entry.js +1 -0
  1143. package/dist/magma-components/{p-e238e2eb.entry.js → p-5b21eb78.entry.js} +1 -1
  1144. package/dist/magma-components/p-5cef4711.entry.js +1 -0
  1145. package/dist/magma-components/p-5d9b1fe5.entry.js +1 -0
  1146. package/dist/magma-components/{p-4dfeb655.system.entry.js → p-5ea3be82.system.entry.js} +2 -2
  1147. package/dist/magma-components/p-61f0ebf3.entry.js +1 -0
  1148. package/dist/magma-components/p-62e65f3b.entry.js +1 -0
  1149. package/dist/magma-components/p-648ec03b.system.entry.js +73 -0
  1150. package/dist/magma-components/p-677ef2a3.system.entry.js +55 -0
  1151. package/dist/magma-components/p-69b37755.system.entry.js +17 -0
  1152. package/dist/magma-components/p-6b2fff4b.system.entry.js +11 -0
  1153. package/dist/magma-components/p-6bc4114c.system.entry.js +19 -0
  1154. package/dist/magma-components/p-6c91b00d.system.entry.js +22 -0
  1155. package/dist/magma-components/p-6da68fd5.entry.js +1 -0
  1156. package/dist/magma-components/p-6ebbcd7b.system.entry.js +14 -0
  1157. package/dist/magma-components/p-70a911e8.entry.js +1 -0
  1158. package/dist/magma-components/p-70f5536c.system.entry.js +15 -0
  1159. package/dist/magma-components/{p-c69ec735.system.entry.js → p-721b625a.system.entry.js} +13 -9
  1160. package/dist/magma-components/p-72cc4977.system.entry.js +21 -0
  1161. package/dist/magma-components/p-7448435b.system.entry.js +46 -0
  1162. package/dist/magma-components/p-7497b39d.system.entry.js +7 -0
  1163. package/dist/magma-components/p-7502528c.entry.js +1 -0
  1164. package/dist/magma-components/{p-73e593a2.system.entry.js → p-765ff9a3.system.entry.js} +6 -3
  1165. package/dist/magma-components/p-7a568cbf.entry.js +1 -0
  1166. package/dist/magma-components/p-7d548a19.entry.js +1 -0
  1167. package/dist/magma-components/p-7f776dff.entry.js +1 -0
  1168. package/dist/magma-components/p-8059aa67.system.entry.js +17 -0
  1169. package/dist/magma-components/p-811272a9.entry.js +1 -0
  1170. package/dist/magma-components/p-815801dd.system.entry.js +19 -0
  1171. package/dist/magma-components/p-87b15008.entry.js +1 -0
  1172. package/dist/magma-components/p-88ac5d50.entry.js +1 -0
  1173. package/dist/magma-components/{p-add1a8d0.system.entry.js → p-88be542e.system.entry.js} +2 -2
  1174. package/dist/magma-components/{p-64f78149.system.entry.js → p-890bae38.system.entry.js} +1 -1
  1175. package/dist/magma-components/p-8a4a2b5a.entry.js +1 -0
  1176. package/dist/magma-components/p-8b081ba9.entry.js +1 -0
  1177. package/dist/magma-components/{p-0a9fb138.system.entry.js → p-8ba250d6.system.entry.js} +1 -1
  1178. package/dist/magma-components/p-8c66c761.entry.js +1 -0
  1179. package/dist/magma-components/p-8d8c9c90.entry.js +1 -0
  1180. package/dist/magma-components/p-8e08ae08.system.entry.js +94 -0
  1181. package/dist/magma-components/p-90fe332f.entry.js +1 -0
  1182. package/dist/magma-components/p-911dc847.entry.js +1 -0
  1183. package/dist/magma-components/p-914d1b2a.system.entry.js +111 -0
  1184. package/dist/magma-components/p-916a26e4.entry.js +1 -0
  1185. package/dist/magma-components/p-91ed604f.entry.js +1 -0
  1186. package/dist/magma-components/p-926ef760.entry.js +1 -0
  1187. package/dist/magma-components/p-938dbe67.system.entry.js +27 -0
  1188. package/dist/magma-components/p-93d8b236.system.entry.js +10 -0
  1189. package/dist/magma-components/p-95328cc7.system.entry.js +17 -0
  1190. package/dist/magma-components/p-95486c6a.system.entry.js +5 -0
  1191. package/dist/magma-components/{p-f5bb8c0c.entry.js → p-96f973e3.entry.js} +1 -1
  1192. package/dist/magma-components/p-9a28bd8d.system.entry.js +20 -0
  1193. package/dist/magma-components/p-9bdca8b4.entry.js +1 -0
  1194. package/dist/magma-components/p-9caf411a.system.entry.js +13 -0
  1195. package/dist/magma-components/p-9e7d02e5.entry.js +1 -0
  1196. package/dist/magma-components/p-AEckDMXh.js +1 -0
  1197. package/dist/magma-components/p-B-nayZ3E.system.js +1 -0
  1198. package/dist/magma-components/p-B7RVWU-q.js +1 -0
  1199. package/dist/magma-components/{p-CKfEQ187.system.js → p-BHS0WXNt.system.js} +1 -1
  1200. package/dist/magma-components/p-BaFfIZGB.js +1 -0
  1201. package/dist/magma-components/{p-RJ5ZA1kY.system.js → p-BeNKMPXR.system.js} +9 -2
  1202. package/dist/magma-components/{p-Kv1yahtR.js → p-BmT_DEV2.js} +2 -2
  1203. package/dist/magma-components/{p-BTF_aRDG.system.js → p-C1ailvfu.system.js} +28 -28
  1204. package/dist/magma-components/{p-7-TP6wnI.js → p-C25F_FlB.js} +1 -1
  1205. package/dist/magma-components/p-CDjzBTsk.js +1 -0
  1206. package/dist/magma-components/p-CGrPq3C4.js +1 -0
  1207. package/dist/magma-components/p-CPRkNQdE.js +3 -0
  1208. package/dist/magma-components/p-CWk1SCJg.js +1 -0
  1209. package/dist/magma-components/{p-DaONbL_w.system.js → p-CmzGV0XD.system.js} +44 -44
  1210. package/dist/magma-components/p-Cvhn9asj.js +1 -0
  1211. package/dist/magma-components/{p-hVpoPUxI.system.js → p-D8596ytD.system.js} +8 -8
  1212. package/dist/magma-components/p-D9J8lbUv.system.js +9 -0
  1213. package/dist/magma-components/p-DAifcgtS.system.js +4 -0
  1214. package/dist/magma-components/{p-DhhAXEdA.system.js → p-DVjUXVFl.system.js} +21 -12
  1215. package/dist/magma-components/p-DbyXf6dF.js +1 -0
  1216. package/dist/magma-components/p-DmFo8_MF.js +1 -0
  1217. package/dist/magma-components/p-JuViHg2B.system.js +11 -0
  1218. package/dist/magma-components/{p-CdsZyFQ-.system.js → p-LUd56iG_.system.js} +1 -1
  1219. package/dist/magma-components/p-QYez4sql.system.js +5 -0
  1220. package/dist/magma-components/{p-BJKToXNf.system.js → p-WSL9tMdv.system.js} +81 -50
  1221. package/dist/magma-components/{p-584a4ee8.system.entry.js → p-a08d20c2.system.entry.js} +1 -1
  1222. package/dist/magma-components/{p-26c85354.system.entry.js → p-a136e6fe.system.entry.js} +6 -1
  1223. package/dist/magma-components/p-a1443292.entry.js +1 -0
  1224. package/dist/magma-components/{p-634727e6.system.entry.js → p-a1ca2441.system.entry.js} +2 -2
  1225. package/dist/magma-components/{p-0d97e28d.system.entry.js → p-a2d10402.system.entry.js} +2 -2
  1226. package/dist/magma-components/p-a2ec6eac.entry.js +1 -0
  1227. package/dist/magma-components/{p-b626c69f.system.entry.js → p-a40443ca.system.entry.js} +1 -1
  1228. package/dist/magma-components/{p-c7d84d1c.system.entry.js → p-a47a9f11.system.entry.js} +1 -1
  1229. package/dist/magma-components/{p-e388f1f2.system.entry.js → p-a4f46de1.system.entry.js} +9 -4
  1230. package/dist/magma-components/p-a51f849a.entry.js +1 -0
  1231. package/dist/magma-components/{p-3fa6cf85.system.entry.js → p-a53f6a94.system.entry.js} +5 -1
  1232. package/dist/magma-components/p-a6fe6b4c.system.entry.js +1 -0
  1233. package/dist/magma-components/p-a7bad4e8.entry.js +1 -0
  1234. package/dist/magma-components/p-a8593847.entry.js +1 -0
  1235. package/dist/magma-components/p-aa8653b1.system.entry.js +13 -0
  1236. package/dist/magma-components/p-ac4109e3.entry.js +1 -0
  1237. package/dist/magma-components/{p-bba04b08.system.entry.js → p-af704402.system.entry.js} +5 -2
  1238. package/dist/magma-components/p-b169ee9b.entry.js +1 -0
  1239. package/dist/magma-components/p-b36d54e1.system.entry.js +41 -0
  1240. package/dist/magma-components/p-b40ef7ab.system.entry.js +23 -0
  1241. package/dist/magma-components/{p-569cbe13.entry.js → p-b48fc62e.entry.js} +1 -1
  1242. package/dist/magma-components/p-b509fb36.entry.js +1 -0
  1243. package/dist/magma-components/p-b514bd3a.system.entry.js +1 -0
  1244. package/dist/magma-components/p-b58363e2.system.entry.js +31 -0
  1245. package/dist/magma-components/{p-22e9a507.entry.js → p-b62bbd07.entry.js} +1 -1
  1246. package/dist/magma-components/{p-ac873ab4.entry.js → p-b919ce62.entry.js} +1 -1
  1247. package/dist/magma-components/p-b940888d.entry.js +1 -0
  1248. package/dist/magma-components/p-bba4c7eb.entry.js +1 -0
  1249. package/dist/magma-components/p-bc30508b.entry.js +1 -0
  1250. package/dist/magma-components/p-bdd18c90.system.entry.js +25 -0
  1251. package/dist/magma-components/p-be32b7a9.system.entry.js +13 -0
  1252. package/dist/magma-components/p-c1d8a25e.entry.js +1 -0
  1253. package/dist/magma-components/p-c3622315.entry.js +1 -0
  1254. package/dist/magma-components/p-c4286fb7.system.entry.js +1 -0
  1255. package/dist/magma-components/p-c6b16493.system.entry.js +49 -0
  1256. package/dist/magma-components/p-c6b9a14e.system.entry.js +48 -0
  1257. package/dist/magma-components/p-c6db7a0f.system.entry.js +22 -0
  1258. package/dist/magma-components/p-c72651b2.entry.js +1 -0
  1259. package/dist/magma-components/p-c89c2e30.entry.js +1 -0
  1260. package/dist/magma-components/{p-cefdc01f.system.entry.js → p-ca8e0927.system.entry.js} +2 -2
  1261. package/dist/magma-components/p-cc0cb701.entry.js +1 -0
  1262. package/dist/magma-components/{p-121730d1.entry.js → p-cc109576.entry.js} +1 -1
  1263. package/dist/magma-components/p-cc88c963.system.entry.js +1 -0
  1264. package/dist/magma-components/p-cfe080ab.system.entry.js +54 -0
  1265. package/dist/magma-components/p-d0c0c195.entry.js +1 -0
  1266. package/dist/magma-components/p-d3678561.system.entry.js +35 -0
  1267. package/dist/magma-components/p-d8d87750.system.entry.js +21 -0
  1268. package/dist/magma-components/{p-574c2c13.system.entry.js → p-d9551916.system.entry.js} +4 -4
  1269. package/dist/magma-components/p-da532544.system.entry.js +25 -0
  1270. package/dist/magma-components/{p-69d6cc9e.system.entry.js → p-da6cf595.system.entry.js} +2 -2
  1271. package/dist/magma-components/p-da9afc4b.system.entry.js +8 -0
  1272. package/dist/magma-components/p-daf9c8ca.system.entry.js +4 -0
  1273. package/dist/magma-components/p-dbf69d54.system.entry.js +5 -0
  1274. package/dist/magma-components/p-dd8fb2f8.system.entry.js +105 -0
  1275. package/dist/magma-components/p-dfbecf72.system.entry.js +11 -0
  1276. package/dist/magma-components/p-e032e77f.system.entry.js +1 -0
  1277. package/dist/magma-components/p-e15a874b.entry.js +1 -0
  1278. package/dist/magma-components/p-e1ce306a.system.entry.js +52 -0
  1279. package/dist/magma-components/p-e471decd.system.entry.js +32 -0
  1280. package/dist/magma-components/p-e49818c4.entry.js +1 -0
  1281. package/dist/magma-components/{p-6f5a1248.entry.js → p-e5ab1f4f.entry.js} +1 -1
  1282. package/dist/magma-components/p-e6ed6e12.entry.js +1 -0
  1283. package/dist/magma-components/p-e73cc6fc.entry.js +18 -0
  1284. package/dist/magma-components/{p-2710ddc4.entry.js → p-e8b9d639.entry.js} +1 -1
  1285. package/dist/magma-components/p-e954b5c5.entry.js +1 -0
  1286. package/dist/magma-components/p-eba7cfb3.entry.js +1 -0
  1287. package/dist/magma-components/p-ecb87d38.entry.js +1 -0
  1288. package/dist/magma-components/p-eebf450c.system.entry.js +4 -0
  1289. package/dist/magma-components/p-ef4d07ba.entry.js +1 -0
  1290. package/dist/magma-components/{p-789c1b93.system.entry.js → p-f30cdd34.system.entry.js} +1 -1
  1291. package/dist/magma-components/p-f3763382.entry.js +1 -0
  1292. package/dist/magma-components/p-f43379ef.entry.js +1 -0
  1293. package/dist/magma-components/p-f454c06b.entry.js +1 -0
  1294. package/dist/magma-components/p-f48843b7.system.entry.js +1 -0
  1295. package/dist/magma-components/p-f5a08dca.system.entry.js +40 -0
  1296. package/dist/magma-components/p-f7af41fb.system.entry.js +33 -0
  1297. package/dist/magma-components/{p-5c17a324.entry.js → p-f7f6881a.entry.js} +1 -1
  1298. package/dist/magma-components/p-f88c202e.entry.js +1 -0
  1299. package/dist/magma-components/{p-1cb495d3.entry.js → p-f9b5a5ec.entry.js} +1 -1
  1300. package/dist/magma-components/p-fcaa81b3.entry.js +1 -0
  1301. package/dist/magma-components/{p-a462aadd.entry.js → p-fd53a51c.entry.js} +1 -1
  1302. package/dist/magma-components/{p-94e9f2be.system.entry.js → p-ff4276d3.system.entry.js} +7 -2
  1303. package/dist/magma-components/p-nFkaC8l_.system.js +210 -0
  1304. package/dist/magma-components/p-sm_-_oFY.system.js +6 -0
  1305. package/dist/magma-components/{p-8yWTOQiz.js → p-zQY2FlcD.js} +1 -1
  1306. package/dist/stats.json +5527 -4219
  1307. package/dist/types/common/aria.d.ts +8 -1
  1308. package/dist/types/common/file.d.ts +5 -0
  1309. package/dist/types/common/floating-controller.d.ts +8 -1
  1310. package/dist/types/common/keyboard-manager.d.ts +8 -1
  1311. package/dist/types/common/slot.d.ts +9 -1
  1312. package/dist/types/components/mds-accordion/mds-accordion.d.ts +8 -1
  1313. package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +6 -0
  1314. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +2 -1
  1315. package/dist/types/components/mds-avatar/mds-avatar.d.ts +13 -9
  1316. package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +2 -1
  1317. package/dist/types/components/mds-bibliography/mds-bibliography.d.ts +10 -2
  1318. package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -3
  1319. package/dist/types/components/mds-breadcrumb-item/mds-breadcrumb-item.d.ts +4 -1
  1320. package/dist/types/components/mds-button/mds-button.d.ts +7 -1
  1321. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +7 -3
  1322. package/dist/types/components/mds-calendar/mds-calendar.d.ts +7 -0
  1323. package/dist/types/components/mds-calendar-cell/mds-calendar-cell.d.ts +4 -1
  1324. package/dist/types/components/mds-card/mds-card.d.ts +8 -0
  1325. package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -0
  1326. package/dist/types/components/mds-chip/mds-chip.d.ts +7 -5
  1327. package/dist/types/components/mds-details/mds-details.d.ts +3 -1
  1328. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +8 -3
  1329. package/dist/types/components/mds-emoji/mds-emoji.d.ts +20 -10
  1330. package/dist/types/components/mds-emoji/meta/gaze.d.ts +19 -0
  1331. package/dist/types/components/mds-file/mds-file.d.ts +7 -1
  1332. package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +15 -4
  1333. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +0 -2
  1334. package/dist/types/components/mds-header/mds-header.d.ts +7 -5
  1335. package/dist/types/components/mds-header/meta/event-detail.d.ts +2 -1
  1336. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +3 -2
  1337. package/dist/types/components/mds-help/mds-help.d.ts +5 -2
  1338. package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
  1339. package/dist/types/components/mds-icon/mds-icon.d.ts +5 -0
  1340. package/dist/types/components/mds-img/mds-img.d.ts +24 -14
  1341. package/dist/types/components/mds-input/mds-input.d.ts +22 -7
  1342. package/dist/types/components/mds-input-date/mds-input-date.d.ts +6 -0
  1343. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +4 -0
  1344. package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +8 -1
  1345. package/dist/types/components/mds-input-field/mds-input-field.d.ts +4 -1
  1346. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +8 -0
  1347. package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +2 -1
  1348. package/dist/types/components/mds-input-tip-item/meta/dictionary.d.ts +1 -2
  1349. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -1
  1350. package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +7 -0
  1351. package/dist/types/components/mds-label/mds-label.d.ts +0 -9
  1352. package/dist/types/components/mds-list-item/mds-list-item.d.ts +2 -0
  1353. package/dist/types/components/mds-mention/mds-mention.d.ts +2 -1
  1354. package/dist/types/components/mds-modal/mds-modal.d.ts +4 -1
  1355. package/dist/types/components/mds-note/mds-note.d.ts +1 -0
  1356. package/dist/types/components/mds-notification/mds-notification.d.ts +25 -2
  1357. package/dist/types/components/mds-paginator/mds-paginator.d.ts +1 -0
  1358. package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +7 -0
  1359. package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +2 -1
  1360. package/dist/types/components/mds-pref/mds-pref.d.ts +6 -1
  1361. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +8 -0
  1362. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +8 -0
  1363. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +8 -2
  1364. package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +2 -2
  1365. package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +1 -0
  1366. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +6 -1
  1367. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +16 -2
  1368. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +1 -0
  1369. package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -0
  1370. package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +1 -0
  1371. package/dist/types/components/mds-progress/mds-progress.d.ts +14 -4
  1372. package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +4 -9
  1373. package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +5 -2
  1374. package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +11 -5
  1375. package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +1 -2
  1376. package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +4 -3
  1377. package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +10 -2
  1378. package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +4 -3
  1379. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +3 -0
  1380. package/dist/types/components/mds-table/mds-table.d.ts +15 -2
  1381. package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +9 -1
  1382. package/dist/types/components/mds-table-header/mds-table-header.d.ts +9 -1
  1383. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +5 -0
  1384. package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -0
  1385. package/dist/types/components/mds-toast/mds-toast.d.ts +39 -8
  1386. package/dist/types/components/mds-toast/meta/event-detail.d.ts +3 -0
  1387. package/dist/types/components/mds-toast-region/mds-toast-region.d.ts +36 -0
  1388. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +24 -5
  1389. package/dist/types/components/mds-tree/mds-tree.d.ts +12 -2
  1390. package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +7 -3
  1391. package/dist/types/components/mds-url-view/mds-url-view.d.ts +2 -1
  1392. package/dist/types/components/mds-usage/mds-usage.d.ts +3 -0
  1393. package/dist/types/components.d.ts +253 -119
  1394. package/dist/types/stencil-public-runtime.d.ts +61 -55
  1395. package/package.json +25 -24
  1396. package/dist/cjs/browser-C1BdXKu5.js +0 -10
  1397. package/dist/cjs/keyboard-manager-C_Eaxw-C.js +0 -52
  1398. package/dist/collection/components/mds-avatar/meta/variants.js +0 -20
  1399. package/dist/components/p--5KZXaZp.js +0 -1
  1400. package/dist/components/p--OCrgFeE.js +0 -1
  1401. package/dist/components/p-6LGfUDQ4.js +0 -1
  1402. package/dist/components/p-B9uIL9KO.js +0 -1
  1403. package/dist/components/p-BBDliSai.js +0 -1
  1404. package/dist/components/p-BCwcnHFh.js +0 -1
  1405. package/dist/components/p-BRf-u585.js +0 -1
  1406. package/dist/components/p-BSeokAdy.js +0 -1
  1407. package/dist/components/p-BXUJgu8l.js +0 -1
  1408. package/dist/components/p-BXYUyw7p.js +0 -1
  1409. package/dist/components/p-BfgJ-hHQ.js +0 -1
  1410. package/dist/components/p-CIfGjW_Z.js +0 -1
  1411. package/dist/components/p-CMp9rP7L.js +0 -1
  1412. package/dist/components/p-CSCy6TMW.js +0 -1
  1413. package/dist/components/p-CZjHixVB.js +0 -1
  1414. package/dist/components/p-Ck0q_n7I.js +0 -1
  1415. package/dist/components/p-CrCa_6a1.js +0 -8
  1416. package/dist/components/p-CsgCQiHG.js +0 -1
  1417. package/dist/components/p-Cv7lqHIc.js +0 -1
  1418. package/dist/components/p-Cw6_ooFx.js +0 -1
  1419. package/dist/components/p-D8eZRaSQ.js +0 -1
  1420. package/dist/components/p-DGYRngAi.js +0 -1
  1421. package/dist/components/p-DHu8X7zF.js +0 -1
  1422. package/dist/components/p-DOzcuSrZ.js +0 -1
  1423. package/dist/components/p-DZPHWQtD.js +0 -1
  1424. package/dist/components/p-Dje8Mggf.js +0 -1
  1425. package/dist/components/p-DlRjt7nE.js +0 -1
  1426. package/dist/components/p-HSM_x8fD.js +0 -1
  1427. package/dist/components/p-JMPfVnGv.js +0 -1
  1428. package/dist/components/p-KRu9I7dw.js +0 -1
  1429. package/dist/components/p-lNY_3s6S.js +0 -1
  1430. package/dist/components/p-pBvN1uAc.js +0 -3
  1431. package/dist/esm/aria-CSCy6TMW.js +0 -45
  1432. package/dist/esm/browser-Dje8Mggf.js +0 -8
  1433. package/dist/esm/keyboard-manager-KRu9I7dw.js +0 -50
  1434. package/dist/esm-es5/aria-CSCy6TMW.js +0 -1
  1435. package/dist/esm-es5/browser-Dje8Mggf.js +0 -1
  1436. package/dist/esm-es5/icon-pNJmnrhq.js +0 -1
  1437. package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +0 -5
  1438. package/dist/esm-es5/locale.it-Cvxh7La5.js +0 -6
  1439. package/dist/esm-es5/slot-C0o_l0td.js +0 -23
  1440. package/dist/esm-es5/unit-D8eZRaSQ.js +0 -1
  1441. package/dist/magma-components/p-00ce5c81.entry.js +0 -1
  1442. package/dist/magma-components/p-00ff586a.system.entry.js +0 -7
  1443. package/dist/magma-components/p-01f05a56.entry.js +0 -1
  1444. package/dist/magma-components/p-0345cbd0.system.entry.js +0 -83
  1445. package/dist/magma-components/p-03a6a8bd.system.entry.js +0 -46
  1446. package/dist/magma-components/p-05de42e1.system.entry.js +0 -1
  1447. package/dist/magma-components/p-063bccb3.entry.js +0 -1
  1448. package/dist/magma-components/p-0a38e4ce.system.entry.js +0 -1
  1449. package/dist/magma-components/p-0c89c485.entry.js +0 -1
  1450. package/dist/magma-components/p-0d94a2b8.entry.js +0 -8
  1451. package/dist/magma-components/p-108e31e6.entry.js +0 -1
  1452. package/dist/magma-components/p-114f0bb7.system.entry.js +0 -14
  1453. package/dist/magma-components/p-137116df.entry.js +0 -1
  1454. package/dist/magma-components/p-13b0babc.system.entry.js +0 -1
  1455. package/dist/magma-components/p-14a108e8.system.entry.js +0 -8
  1456. package/dist/magma-components/p-14eadf95.system.entry.js +0 -21
  1457. package/dist/magma-components/p-155f79f4.system.entry.js +0 -47
  1458. package/dist/magma-components/p-17b62839.entry.js +0 -1
  1459. package/dist/magma-components/p-1802d6a7.entry.js +0 -1
  1460. package/dist/magma-components/p-188d9770.system.entry.js +0 -4
  1461. package/dist/magma-components/p-18ba4766.entry.js +0 -1
  1462. package/dist/magma-components/p-1c63801f.system.entry.js +0 -11
  1463. package/dist/magma-components/p-1c6a507c.system.entry.js +0 -17
  1464. package/dist/magma-components/p-1e2388be.entry.js +0 -1
  1465. package/dist/magma-components/p-24a9871a.system.entry.js +0 -1
  1466. package/dist/magma-components/p-26332bce.system.entry.js +0 -1
  1467. package/dist/magma-components/p-2708561b.system.entry.js +0 -10
  1468. package/dist/magma-components/p-2723caa7.system.entry.js +0 -13
  1469. package/dist/magma-components/p-294241fa.entry.js +0 -1
  1470. package/dist/magma-components/p-2b2d0910.system.entry.js +0 -1
  1471. package/dist/magma-components/p-2c940d19.entry.js +0 -1
  1472. package/dist/magma-components/p-2e74231d.system.entry.js +0 -4
  1473. package/dist/magma-components/p-2e83f801.system.entry.js +0 -1
  1474. package/dist/magma-components/p-2f0815f3.entry.js +0 -18
  1475. package/dist/magma-components/p-30d36dfe.entry.js +0 -1
  1476. package/dist/magma-components/p-323c7aa4.system.entry.js +0 -25
  1477. package/dist/magma-components/p-32e077c0.system.entry.js +0 -7
  1478. package/dist/magma-components/p-334b305d.system.entry.js +0 -16
  1479. package/dist/magma-components/p-341994b3.system.entry.js +0 -89
  1480. package/dist/magma-components/p-35434d4b.system.entry.js +0 -32
  1481. package/dist/magma-components/p-37495e03.entry.js +0 -1
  1482. package/dist/magma-components/p-38e0379a.system.entry.js +0 -10
  1483. package/dist/magma-components/p-3b91efd1.entry.js +0 -1
  1484. package/dist/magma-components/p-3dc4db04.system.entry.js +0 -16
  1485. package/dist/magma-components/p-3f0e82bc.entry.js +0 -1
  1486. package/dist/magma-components/p-40e97485.entry.js +0 -1
  1487. package/dist/magma-components/p-4159c306.entry.js +0 -1
  1488. package/dist/magma-components/p-42411854.system.entry.js +0 -102
  1489. package/dist/magma-components/p-42ebba8c.entry.js +0 -1
  1490. package/dist/magma-components/p-4356d96e.system.entry.js +0 -21
  1491. package/dist/magma-components/p-4577948d.system.entry.js +0 -12
  1492. package/dist/magma-components/p-4658a200.entry.js +0 -1
  1493. package/dist/magma-components/p-4cfa925a.entry.js +0 -1
  1494. package/dist/magma-components/p-4ef19542.entry.js +0 -1
  1495. package/dist/magma-components/p-4oB0woT9.system.js +0 -6
  1496. package/dist/magma-components/p-522fd3d0.system.entry.js +0 -4
  1497. package/dist/magma-components/p-528d913c.system.entry.js +0 -17
  1498. package/dist/magma-components/p-595fde64.entry.js +0 -1
  1499. package/dist/magma-components/p-5989cdf2.system.entry.js +0 -16
  1500. package/dist/magma-components/p-5df91427.system.entry.js +0 -15
  1501. package/dist/magma-components/p-5f1132b8.entry.js +0 -1
  1502. package/dist/magma-components/p-5fcc1455.entry.js +0 -1
  1503. package/dist/magma-components/p-61638aa3.entry.js +0 -1
  1504. package/dist/magma-components/p-6465c8f4.entry.js +0 -1
  1505. package/dist/magma-components/p-6764b13a.entry.js +0 -1
  1506. package/dist/magma-components/p-6812f01b.entry.js +0 -1
  1507. package/dist/magma-components/p-6901428b.system.entry.js +0 -1
  1508. package/dist/magma-components/p-699a7926.entry.js +0 -1
  1509. package/dist/magma-components/p-6a798061.entry.js +0 -1
  1510. package/dist/magma-components/p-6d350c7c.entry.js +0 -1
  1511. package/dist/magma-components/p-6fba5e6c.entry.js +0 -1
  1512. package/dist/magma-components/p-6fd9a2ae.entry.js +0 -1
  1513. package/dist/magma-components/p-6ff8be3e.system.entry.js +0 -30
  1514. package/dist/magma-components/p-70caf05b.system.entry.js +0 -10
  1515. package/dist/magma-components/p-70cc167f.entry.js +0 -1
  1516. package/dist/magma-components/p-736c0e25.system.entry.js +0 -20
  1517. package/dist/magma-components/p-7450a7a7.system.entry.js +0 -49
  1518. package/dist/magma-components/p-7535328a.entry.js +0 -1
  1519. package/dist/magma-components/p-76f02296.system.entry.js +0 -1
  1520. package/dist/magma-components/p-79bc2e81.entry.js +0 -1
  1521. package/dist/magma-components/p-79dc2243.entry.js +0 -1
  1522. package/dist/magma-components/p-7b1c6eb0.entry.js +0 -1
  1523. package/dist/magma-components/p-7b8b51c8.entry.js +0 -1
  1524. package/dist/magma-components/p-7bc0a6c4.entry.js +0 -1
  1525. package/dist/magma-components/p-7c8e79a7.system.entry.js +0 -4
  1526. package/dist/magma-components/p-7c90298a.entry.js +0 -1
  1527. package/dist/magma-components/p-7e02237b.entry.js +0 -1
  1528. package/dist/magma-components/p-7f247e64.system.entry.js +0 -16
  1529. package/dist/magma-components/p-82480df5.entry.js +0 -1
  1530. package/dist/magma-components/p-842b1dfc.entry.js +0 -1
  1531. package/dist/magma-components/p-88c7be3d.system.entry.js +0 -68
  1532. package/dist/magma-components/p-89733d3a.system.entry.js +0 -14
  1533. package/dist/magma-components/p-8c75425d.entry.js +0 -1
  1534. package/dist/magma-components/p-8c76410b.entry.js +0 -1
  1535. package/dist/magma-components/p-8d7835e2.system.entry.js +0 -10
  1536. package/dist/magma-components/p-8f039ca0.system.entry.js +0 -7
  1537. package/dist/magma-components/p-8f54cf62.system.entry.js +0 -4
  1538. package/dist/magma-components/p-8f6bd147.entry.js +0 -1
  1539. package/dist/magma-components/p-9017022c.system.entry.js +0 -15
  1540. package/dist/magma-components/p-909f5b60.system.entry.js +0 -55
  1541. package/dist/magma-components/p-976bb373.system.entry.js +0 -90
  1542. package/dist/magma-components/p-97d82884.system.entry.js +0 -16
  1543. package/dist/magma-components/p-97de86c6.system.entry.js +0 -16
  1544. package/dist/magma-components/p-97e9a197.system.entry.js +0 -32
  1545. package/dist/magma-components/p-9a936cae.system.entry.js +0 -45
  1546. package/dist/magma-components/p-9c6d184f.entry.js +0 -1
  1547. package/dist/magma-components/p-9db0a6e9.entry.js +0 -1
  1548. package/dist/magma-components/p-9e662528.entry.js +0 -1
  1549. package/dist/magma-components/p-9ff02a82.entry.js +0 -1
  1550. package/dist/magma-components/p-B6mQg6yQ.js +0 -1
  1551. package/dist/magma-components/p-BJqUjYIG.system.js +0 -1
  1552. package/dist/magma-components/p-BJtA1qmE.js +0 -1
  1553. package/dist/magma-components/p-BcYSdbK0.system.js +0 -233
  1554. package/dist/magma-components/p-BeYLDgbf.js +0 -1
  1555. package/dist/magma-components/p-BxPbQB28.js +0 -3
  1556. package/dist/magma-components/p-C0o_l0td.js +0 -1
  1557. package/dist/magma-components/p-CSCy6TMW.js +0 -1
  1558. package/dist/magma-components/p-CYRMc5KW.system.js +0 -1
  1559. package/dist/magma-components/p-D8eZRaSQ.js +0 -1
  1560. package/dist/magma-components/p-Dje8Mggf.js +0 -1
  1561. package/dist/magma-components/p-JMPfVnGv.js +0 -1
  1562. package/dist/magma-components/p-KRu9I7dw.js +0 -1
  1563. package/dist/magma-components/p-LerCJgfP.system.js +0 -5
  1564. package/dist/magma-components/p-ZDRIVCAt.system.js +0 -5
  1565. package/dist/magma-components/p-_X0N_X__.system.js +0 -1
  1566. package/dist/magma-components/p-a3e3a653.system.entry.js +0 -81
  1567. package/dist/magma-components/p-a41e52f7.entry.js +0 -1
  1568. package/dist/magma-components/p-a4c26b4d.system.entry.js +0 -19
  1569. package/dist/magma-components/p-a61c7ae9.system.entry.js +0 -7
  1570. package/dist/magma-components/p-a653e096.entry.js +0 -1
  1571. package/dist/magma-components/p-a8bf46cb.system.entry.js +0 -1
  1572. package/dist/magma-components/p-ac4435e7.entry.js +0 -1
  1573. package/dist/magma-components/p-acae292f.system.entry.js +0 -28
  1574. package/dist/magma-components/p-b1a0e56e.system.entry.js +0 -42
  1575. package/dist/magma-components/p-b33a6f7e.system.entry.js +0 -13
  1576. package/dist/magma-components/p-b492dd4c.entry.js +0 -1
  1577. package/dist/magma-components/p-b99cac43.entry.js +0 -1
  1578. package/dist/magma-components/p-baf0359b.entry.js +0 -1
  1579. package/dist/magma-components/p-bbd414dc.entry.js +0 -1
  1580. package/dist/magma-components/p-be1aad5f.entry.js +0 -1
  1581. package/dist/magma-components/p-bf05f9f3.entry.js +0 -1
  1582. package/dist/magma-components/p-bf8c6647.system.entry.js +0 -11
  1583. package/dist/magma-components/p-bfe19e4b.entry.js +0 -1
  1584. package/dist/magma-components/p-c1a7266a.entry.js +0 -1
  1585. package/dist/magma-components/p-c3585de7.system.entry.js +0 -7
  1586. package/dist/magma-components/p-c45d9a64.system.entry.js +0 -32
  1587. package/dist/magma-components/p-cb8b45fd.entry.js +0 -1
  1588. package/dist/magma-components/p-cbfd8b10.system.entry.js +0 -16
  1589. package/dist/magma-components/p-ce46191c.entry.js +0 -1
  1590. package/dist/magma-components/p-cebe7b52.entry.js +0 -1
  1591. package/dist/magma-components/p-d025a34f.system.entry.js +0 -15
  1592. package/dist/magma-components/p-d1c47baa.entry.js +0 -1
  1593. package/dist/magma-components/p-d269bfb0.entry.js +0 -1
  1594. package/dist/magma-components/p-d42f267b.system.entry.js +0 -40
  1595. package/dist/magma-components/p-d5bd6bef.entry.js +0 -1
  1596. package/dist/magma-components/p-d65d8a09.system.entry.js +0 -1
  1597. package/dist/magma-components/p-d6eca2ef.entry.js +0 -1
  1598. package/dist/magma-components/p-d716efe9.system.entry.js +0 -1
  1599. package/dist/magma-components/p-da6ccc03.entry.js +0 -1
  1600. package/dist/magma-components/p-dbaf5368.system.entry.js +0 -7
  1601. package/dist/magma-components/p-dc340618.entry.js +0 -1
  1602. package/dist/magma-components/p-dc752e9b.entry.js +0 -1
  1603. package/dist/magma-components/p-e2ef1d6f.entry.js +0 -1
  1604. package/dist/magma-components/p-e50fdcee.entry.js +0 -1
  1605. package/dist/magma-components/p-e779a67f.system.entry.js +0 -10
  1606. package/dist/magma-components/p-e8ae4016.system.entry.js +0 -1
  1607. package/dist/magma-components/p-e8d95868.system.entry.js +0 -14
  1608. package/dist/magma-components/p-ed232c76.entry.js +0 -1
  1609. package/dist/magma-components/p-ed87425c.system.entry.js +0 -13
  1610. package/dist/magma-components/p-ee876b20.system.entry.js +0 -4
  1611. package/dist/magma-components/p-efe0bb12.system.entry.js +0 -7
  1612. package/dist/magma-components/p-f2412853.system.entry.js +0 -27
  1613. package/dist/magma-components/p-f2743a2b.entry.js +0 -1
  1614. package/dist/magma-components/p-f2f2945b.entry.js +0 -1
  1615. package/dist/magma-components/p-f37f1343.entry.js +0 -1
  1616. package/dist/magma-components/p-f3dd135e.system.entry.js +0 -32
  1617. package/dist/magma-components/p-f5ce24e8.entry.js +0 -1
  1618. package/dist/magma-components/p-f8a88f11.entry.js +0 -1
  1619. package/dist/magma-components/p-f900fe90.entry.js +0 -1
  1620. package/dist/magma-components/p-faa1f22c.entry.js +0 -1
  1621. package/dist/magma-components/p-lozaO1BU.system.js +0 -1
  1622. package/dist/magma-components/p-pNJmnrhq.js +0 -1
  1623. package/dist/types/components/mds-avatar/meta/variants.d.ts +0 -2
@@ -0,0 +1,94 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,r,a,t){function n(e){return e instanceof a?e:new a((function(r){r(e)}))}return new(a||(a=Promise))((function(a,i){function l(e){try{c(t.next(e))}catch(e){i(e)}}function o(e){try{c(t["throw"](e))}catch(e){i(e)}}function c(e){e.done?a(e.value):n(e.value).then(l,o)}c((t=t.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var a={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,n,i,l=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return l.next=o(0),l["throw"]=o(1),l["return"]=o(2),typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(e){return function(r){return c([e,r])}}function c(o){if(t)throw new TypeError("Generator is already executing.");while(l&&(l=0,o[0]&&(a=0)),a)try{if(t=1,n&&(i=o[0]&2?n["return"]:o[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;if(n=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;n=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(i=a.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(o[0]===6&&a.label<i[1]){a.label=i[1];i=o;break}if(i&&a.label<i[2]){a.label=i[2];a.ops.push(o);break}if(i[2])a.ops.pop();a.trys.pop();continue}o=r.call(e,a)}catch(e){o=[6,e];n=0}finally{t=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-CmzGV0XD.system.js","./p-WSL9tMdv.system.js","./p-D8596ytD.system.js","./p-opeIIa7t.system.js","./p-BeNKMPXR.system.js","./p-Qrub-hmK.system.js","./p-C1ailvfu.system.js"],(function(e){"use strict";var r,a,t,n,i,l,o,c,s,d,h;return{setters:[function(e){r=e.r;a=e.d;t=e.h;n=e.e;i=e.g},function(e){l=e.D},function(e){o=e.p},function(e){c=e.s},function(e){s=e.h},function(e){d=e.c},function(e){h=e.L}],execute:function(){var u='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.23 20.23L8 22l10-10L8 2L6.23 3.77L14.46 12z"/></svg>';var v='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.77 3.77L16 2L6 12l10 10l1.77-1.77L9.54 12z"/></svg>';var m="Επόμενος μήνας";var b="Επόμενα έτη";var f="Προηγούμενος μήνας";var p="Προηγούμενα έτη";var g={nextMonth:m,nextYears:b,previousMonth:f,previousYears:p};var y="Next month";var k="Next years";var w="Previous month";var x="Previous years";var M={nextMonth:y,nextYears:k,previousMonth:w,previousYears:x};var z="Mes siguiente";var _="Años siguientes";var A="Mes anterior";var D="Años anteriores";var q={nextMonth:z,nextYears:_,previousMonth:A,previousYears:D};var C="Mese successivo";var j="Anni successivi";var F="Mese precedente";var L="Anni precedenti";var Y={nextMonth:C,nextYears:j,previousMonth:F,previousYears:L};var P=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-calendar-cell):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-calendar-day-number-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-calendar-cell-gap:calc(var(--spacing,.0025rem)*50);--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));--mds-calendar-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-calendar-padding:calc(var(--spacing,.0025rem)*400);--mds-calendar-select-month-or-year-height:calc(var(--spacing,.0025rem)*900);--mds-calendar-select-month-or-year-width:14rem;--mds-calendar-max-width:480px;background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));corner-shape:var(--magma-corner-shape,squircle);cursor:auto;display:inline-flex;inline-size:100%;max-width:var(--mds-calendar-max-width,480px);min-width:min-content;overflow:hidden}.calendar-view{background-color:var(--mds-calendar-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:inherit;box-sizing:border-box;corner-shape:inherit;display:grid;flex:auto;width:100%}.calendar-preselection,.calendar-view{padding:var(--mds-calendar-padding,calc(var(--spacing,.0025rem)*400))}.calendar-preselection{display:none;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content}.calendar-preselection--has-preselection{display:grid}nav{display:flex;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between;min-width:0}.action{justify-content:left;min-width:min-content;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-back,.action-forward{flex-shrink:0}.select-month-or-year{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));border-radius:min(var(--mds-calendar-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))),var(--magma-corner-cap,.5) * var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900)));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;flex:0 0 var(--mds-calendar-select-month-or-year-width,14rem);height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));inline-size:var(--mds-calendar-select-month-or-year-width,14rem);justify-content:flex-start;max-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));max-inline-size:var(--mds-calendar-select-month-or-year-width,14rem);min-block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-height:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));min-inline-size:var(--mds-calendar-select-month-or-year-width,14rem);overflow:hidden}.action-month,.action-year{--mds-button-radius:0;align-self:stretch;block-size:100%;box-sizing:border-box;cursor:default;height:100%;max-block-size:100%;max-height:100%;min-block-size:0;min-height:0;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}.action-month{flex:auto;min-width:0}.action-year{flex:0 0 4.5rem}.action-month::part(label),.action-year::part(label){overflow:visible;text-overflow:clip;white-space:nowrap}.week-day-name{align-items:center;block-size:calc(var(--spacing,.0025rem)*1200);inline-size:100%;min-height:auto;padding:0}.month-view__cells,.month-view__days-names{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(7,minmax(1px,100%));min-width:0}.month-view{display:grid}.month-view__month-names,.month-view__years{display:grid;gap:var(--mds-calendar-cell-gap);grid-template-columns:repeat(3,minmax(1px,100%));min-width:0}"};var S=e("mds_calendar",/** @class */function(){function e(e){var t=this;r(this,e);this.datesEmitter=a(this,"mdsCalendarChange",7);this.navigationEmitter=a(this,"mdsCalendarNavigate",7);this.hoverEmitter=a(this,"mdsCalendarHover",7);this.checkPreselectionsEmitter=a(this,"mdsCalendarPreselect",7);this.t=new h({el:g,en:M,es:q,it:Y});this.hasPreselection=false;this.currentDate=l.now();this.weekDaysinMonth=[];this.weekdays=[];this.startDateIdentifier=null;this.endDateIdentifier=null;this.isFirstClick=true;this.currentView="calendar";this.selectedYear=this.currentDate.year;
2
+ /**
3
+ * If set, the component selects a single date instead of a date range (start and end date).
4
+ */this.singlePicker=false;
5
+ /**
6
+ * If set, the component hides the previous navigation button in the calendar header.
7
+ */this.hidePreviousButton=false;
8
+ /**
9
+ * If set, the component hides the next navigation button in the calendar header.
10
+ */this.hideNextButton=false;
11
+ /**
12
+ * Disables switching to month or year selection views from the calendar header.
13
+ */this.disableMonthYearSelection=false;
14
+ /**
15
+ * If set, the component hides the preselection area above the calendar view even when the
16
+ * `preselection` slot has content.
17
+ */this.hidePreselection=false;
18
+ /**
19
+ * Hides the highlight on today's date in the calendar view.
20
+ */this.hideToday=false;
21
+ /**
22
+ * Specifies the date used to determine the visible month without changing the selection.
23
+ * @description It's in ISO format (YYYY-MM-DD).
24
+ * @example '2023-10-01'
25
+ */this.viewDate=null;
26
+ /**
27
+ * Specifies the date used to preview the range selection across multiple visible calendars.
28
+ * @description It's in ISO format (YYYY-MM-DD).
29
+ * @example '2023-10-15'
30
+ */this.hoverDate=null;
31
+ /**
32
+ * Specifies the start date of the selection
33
+ * @description It's in ISO format (YYYY-MM-DD).
34
+ * @example '2023-10-01'
35
+ */this.startDate=null;
36
+ /**
37
+ * Specifies the end date of the selection
38
+ * @description It's in ISO format (YYYY-MM-DD).
39
+ * @example '2023-10-01'
40
+ */this.endDate=null;
41
+ /**
42
+ * Specifies the minimum date of the selection
43
+ * @description It's in ISO format (YYYY-MM-DD).
44
+ * @example '2023-10-01'
45
+ */this.min=null;
46
+ /**
47
+ * Specifies the minimum date of the selection
48
+ * @description It's in ISO format (YYYY-MM-DD).
49
+ * @example '2023-10-01'
50
+ */this.max=null;this.internalStartDate=this.startDate;this.internalEndDate=this.endDate;this.internalHoverDate=null;this.currentMonth="";this.currentYear="";
51
+ // The area shows what the preselection slot holds, added after load too. It used to wait for a
52
+ // `date-preselection--has-preselection` marker class, looked up once on load (#826); the class
53
+ // still shows it, for the pages written that way.
54
+ this.updatePreselection=function(){t.hasPreselection=s(t.host,"preselection")||t.host.querySelector(".date-preselection--has-preselection")!==null};this.handleMouseOver=function(e){var r=e.target;if(!r.matches("mds-calendar-cell")||t.singlePicker||t.internalStartDate===null||t.internalStartDate===""||t.internalEndDate!==null&&t.internalEndDate!==""){return}var a=r.getAttribute("date");if(a!==null&&a!==""){if(a!==t.internalHoverDate){t.internalHoverDate=a;requestAnimationFrame((function(){return t.setDates()}))}t.hoverEmitter.emit({hoverDate:a})}};this.handleMouseLeave=function(){var e=t.internalHoverDate!==null;t.internalHoverDate=null;if(t.singlePicker||t.internalStartDate===null||t.internalStartDate===""||t.internalEndDate!==null&&t.internalEndDate!==""){return}if(e){requestAnimationFrame((function(){return t.setDates()}))}if(t.hoverDate!==null&&t.hoverDate!==""){t.hoverEmitter.emit({hoverDate:null})}};this.handleMonthActionClick=function(e){e.stopPropagation();if(t.disableMonthYearSelection){e.preventDefault();return}t.currentView=t.currentView==="months"?"calendar":"months";requestAnimationFrame((function(){t.updateCalendar().then((function(){return t.setDates()}))}))};this.handleYearActionClick=function(e){e.stopPropagation();if(t.disableMonthYearSelection){e.preventDefault();return}t.currentView=t.currentView==="years"?"calendar":"years";requestAnimationFrame((function(){t.updateCalendar().then((function(){return t.setDates()}))}))};this.handlePrev=function(e){if(t.currentView==="calendar"){e.stopPropagation();t.changeMonth(-1)}else if(t.currentView==="years"){e.stopPropagation();t.selectedYear-=10}else{e.stopPropagation()}};this.handleNext=function(e){if(t.currentView==="calendar"){e.stopPropagation();t.changeMonth(1)}else if(t.currentView==="years"){e.stopPropagation();t.selectedYear+=10}else{e.stopPropagation()}};this.handleCellClick=function(e){return function(r){r.stopPropagation();var a=r.currentTarget;if(t.singlePicker)t.handleSingleSelection(a,e);else t.handleRange(a,e)}};this.handleMonthSelect=function(e){return function(r){r.stopPropagation();t.currentDate=t.currentDate.set({month:e});t.currentMonth=t.currentDate.toFormat("MMMM");t.currentView="calendar";t.updateCalendar().then((function(){requestAnimationFrame((function(){return t.setDates()}))}))}};this.handleYearSelect=function(e){return function(r){r.stopPropagation();t.currentDate=t.currentDate.set({year:e});t.currentYear=e.toString();t.currentView="calendar";t.updateCalendar().then((function(){requestAnimationFrame((function(){return t.setDates()}))}))}}}e.prototype.handleStartDate=function(e){var r=this.parseDateProp(e,"start-date");if(r!==null){this.internalStartDate=r;this.startDateTime=l.fromISO(r);this.startDateIdentifier=this.startDateTime.toISODate();if(this.internalEndDate!==null&&this.internalEndDate!==""){this.orderRange()}else if(!this.singlePicker){this.isFirstClick=false}this.updateDates()}else{this.internalStartDate=null;this.startDateIdentifier=null;this.startDateTime=null;this.isFirstClick=true;this.updateDates()}};e.prototype.handleEndDate=function(e){if(this.singlePicker){console.warn("singlePicker is enabled, endDate cannot be set");this.internalEndDate=null;return}var r=this.parseDateProp(e,"end-date");if(r!==null){this.internalEndDate=r;this.endDateTime=l.fromISO(r);this.endDateIdentifier=this.endDateTime.toISODate();if(this.internalStartDate!==null&&this.internalStartDate!==""){this.orderRange()}this.updateDates()}else{this.internalEndDate=null;this.endDateIdentifier=null;this.endDateTime=null;this.updateDates()}};e.prototype.handleViewDate=function(e){var r=this;if(e!==null&&e!==""){var a=l.fromISO(e.toString());if(a.isValid){this.currentDate=a;this.updateCalendar().then((function(){requestAnimationFrame((function(){return r.setDates()}))}))}}};e.prototype.handleHoverDate=function(){var e=this;requestAnimationFrame((function(){return e.setDates()}))};
55
+ /**
56
+ * A range given backwards, a start after its end, is put in order. The warning always said
57
+ * the values were swapped, but the calendar kept the dates it was given and drew nothing new,
58
+ * and at load the order was not checked at all.
59
+ */e.prototype.orderRange=function(){var e;if(this.internalStartDate===null||this.internalEndDate===null)return;var r=l.fromISO(this.internalStartDate);var a=l.fromISO(this.internalEndDate);if(r<=a)return;console.warn("mds-calendar: startDate is after endDate, swapping values");e=[this.internalEndDate,this.internalStartDate],this.internalStartDate=e[0],this.internalEndDate=e[1];this.startDateTime=a;this.endDateTime=r;this.startDateIdentifier=a.toISODate();this.endDateIdentifier=r.toISODate()};
60
+ /**
61
+ * Normalizes a date prop to ISO 8601, treating an empty or invalid value as unset (`null`).
62
+ * An invalid value is reported with a warning instead of breaking the component lifecycle.
63
+ */e.prototype.parseDateProp=function(e,r){if(e===null||e===""){return null}var a=c(e.toString());if(a===null||!l.fromISO(a).isValid){console.warn("mds-calendar: ignoring the invalid ".concat(r,' "').concat(e,'"'));return null}return a};e.prototype.componentWillLoad=function(){this.internalStartDate=this.parseDateProp(this.internalStartDate,"start-date");this.internalEndDate=this.parseDateProp(this.internalEndDate,"end-date");if(this.singlePicker&&this.internalEndDate!==null){console.warn("singlePicker is enabled, endDate cannot be set");this.internalEndDate=null}this.orderRange();if(this.viewDate!==null&&this.viewDate!==""){var e=l.fromISO(this.viewDate.toString());if(e.isValid){this.currentDate=e}}else if(this.internalStartDate!==null){this.startDateTime=l.fromISO(this.internalStartDate);this.currentDate=this.startDateTime}if(this.internalEndDate!==null){this.endDateTime=l.fromISO(this.internalEndDate)}this.updateCalendar()};e.prototype.componentDidLoad=function(){var e,r,a;this.updatePreselection();(r=(e=this.host)===null||e===void 0?void 0:e.shadowRoot)===null||r===void 0?void 0:r.addEventListener("mouseover",this.handleMouseOver);(a=this.host)===null||a===void 0?void 0:a.addEventListener("mouseleave",this.handleMouseLeave);this.setDates()};e.prototype.disconnectedCallback=function(){var e,r,a;(r=(e=this.host)===null||e===void 0?void 0:e.shadowRoot)===null||r===void 0?void 0:r.removeEventListener("mouseover",this.handleMouseOver);(a=this.host)===null||a===void 0?void 0:a.removeEventListener("mouseleave",this.handleMouseLeave)};
64
+ /**
65
+ * Sets the calendar's current date and re-renders the calendar accordingly.
66
+ * @param date the date to display, in ISO format (YYYY-MM-DD)
67
+ */e.prototype.updateCurrentDate=function(e){return __awaiter(this,void 0,void 0,(function(){var r=this;return __generator(this,(function(a){switch(a.label){case 0:this.currentDate=l.fromISO(e);return[4/*yield*/,this.updateCalendar()];case 1:a.sent();return[4/*yield*/,new Promise((function(e){requestAnimationFrame((function(){r.setDates();e()}))}))];case 2:a.sent();return[2/*return*/,Promise.resolve()]}}))}))};
68
+ /**
69
+ * The date previewed on hover: a `hover-date` set by a parent wins over the cell hovered in
70
+ * this calendar, so that the parent can spread the preview across several visible calendars.
71
+ */e.prototype.resolveHoverDate=function(){if(this.hoverDate!==null&&this.hoverDate!==""){return this.hoverDate}return this.internalHoverDate};e.prototype.updateDates=function(){var e=this;this.updateCalendar().then((function(){requestAnimationFrame((function(){return e.setDates()}))}))};e.prototype.updateCalendar=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(r){try{e=this.currentDate.startOf("week");this.weekdays=Array.from({length:7}).map((function(r,a){return e.setLocale(o.state.language).plus({days:a}).toFormat("ccc")}));this.calculateWeekDaysInMonth();this.currentMonth=this.currentDate.setLocale(o.state.language).toFormat("MMMM");this.currentMonthNumber=this.currentDate.month;this.currentYear=this.currentDate.toFormat("yyyy")}catch(e){console.error("Error while updating the calendar:",e)}return[2/*return*/]}))}))};e.prototype.setDates=function(){var e=this.host;if(e==null)return;var r=e.shadowRoot;if(!r)return;var a=r.querySelectorAll("mds-calendar-cell[selection], mds-calendar-cell[preview]");if(!this.singlePicker){var t=this.resolveHoverDate();if(t!==null&&(this.internalEndDate===null||this.internalEndDate==="")){this.setHoverSelection(a,r,t)}else{this.setRangeSelection(a,r)}}else{this.setSingleSelection(a,r)}};e.prototype.clearSelectionState=function(e){e.forEach((function(e){e.removeAttribute("selection");e.removeAttribute("preview")}))};e.prototype.setRangeSelection=function(e,r){var a=this;this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=l.fromISO(this.internalStartDate.toString());if(this.internalEndDate===null||this.internalEndDate===""){this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false;var t=r.querySelectorAll("mds-calendar-cell");t.forEach((function(e){if(e.getAttribute("date")===a.startDateTime.toFormat("yyyy-MM-dd")){e.setAttribute("selection","single");e.setAttribute("preview","true")}}));return}this.endDateTime=l.fromISO(this.internalEndDate.toString());this.startDateIdentifier=this.startDateTime.toISODate();this.endDateIdentifier=this.endDateTime.toISODate();var n=r.querySelectorAll("mds-calendar-cell");if(n!=null){var i=void 0;for(var o=0;o<n.length;o++){var c=n[o].getAttribute("date");if(c!==null&&c!==""){var s=l.fromISO(c);if(s.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){n[o].setAttribute("selection","start")}if(s.toFormat("yyyy-MM-dd")===this.endDateTime.toFormat("yyyy-MM-dd")){if(this.startDateTime.equals(this.endDateTime)){n[o].setAttribute("selection","single")}else{n[o].setAttribute("selection","end")}}i=s>this.startDateTime&&s<this.endDateTime;if(i){n[o].setAttribute("selection","middle")}}}}};e.prototype.setHoverSelection=function(e,r,a){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate===""){this.setRangeSelection(e,r);return}var t=l.fromISO(this.internalStartDate);var n=l.fromISO(a);if(!t.isValid||!n.isValid){this.setRangeSelection(e,r);return}var i=t<=n;var o=Array.from(r.querySelectorAll("mds-calendar-cell"));o.forEach((function(e){var r=e.getAttribute("date");if(r===null||r==="")return;var a=l.fromISO(r);if(!a.isValid)return;var o=i?a>=t&&a<=n:a>=n&&a<=t;if(!o)return;e.setAttribute("preview","true");var c="middle";if(t.equals(n)&&a.equals(t)){c="single"}else if(a.equals(t)){c=i?"start":"end"}else if(a.equals(n)){c=i?"end":"start"}e.setAttribute("selection",c)}))};e.prototype.setSingleSelection=function(e,r){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=l.fromISO(this.internalStartDate.toString());var a=r.querySelectorAll("mds-calendar-cell");if(a!=null){for(var t=0;t<a.length;t++){var n=a[t].getAttribute("date");if(n!==null&&n!==""){var i=l.fromISO(n);if(i.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){a[t].setAttribute("selection","single")}}}}};e.prototype.changeMonth=function(e){var r=this;this.currentDate=this.currentDate.plus({months:e});this.updateCalendar().then((function(){requestAnimationFrame((function(){return r.setDates()}))}));this.navigationEmitter.emit({currentDate:this.currentDate.toISODate(),delta:e})};e.prototype.calculateWeekDaysInMonth=function(){var e=this.currentDate.startOf("month");var r=this.currentDate.endOf("month");var a=[];var t=e.weekday;var n=t-1;var i=e.minus({days:n});for(var l=i;l<e;l=l.plus({days:1})){a.push({date:l,isCurrentMonth:false})}for(var l=e;l<=r;l=l.plus({days:1})){a.push({date:l,isCurrentMonth:true})}var o=r.weekday;var c=7-o;var s=r.plus({days:1});for(var l=s;l<s.plus({days:c});l=l.plus({days:1})){a.push({date:l,isCurrentMonth:false})}this.weekDaysinMonth=a};e.prototype.handleRange=function(e,r){var a=this;if(!this.singlePicker&&(this.endDate===null||this.endDate==="")&&(this.internalEndDate===null||this.internalEndDate==="")&&this.isFirstClick){var t=this.parseDateProp(this.startDate||this.host.getAttribute("start-date"),"start-date");if(t!==null){this.internalStartDate=t;this.startDateTime=l.fromISO(t);this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false}}var n=function(){a.internalStartDate=null;a.internalEndDate=null;a.startDateIdentifier=null;a.startDateTime=null;a.endDateIdentifier=null;a.endDateTime=null;a.isFirstClick=true;var e=a.host;requestAnimationFrame((function(){var r;(r=e===null||e===void 0?void 0:e.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection");e.removeAttribute("preview")}))}))};if(this.startDateIdentifier!==null&&this.startDateIdentifier!==""&&this.endDateIdentifier!==null&&this.endDateIdentifier!==""){n()}if(this.isFirstClick){this.startDateIdentifier=r.toISODate();this.startDateTime=r;this.internalStartDate=this.startDateTime.toISO().split("T")[0];this.isFirstClick=false;var i=this.host;requestAnimationFrame((function(){var e;(e=i===null||i===void 0?void 0:i.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection")}))}));requestAnimationFrame((function(){e.setAttribute("selection","single");e.setAttribute("preview","true")}));this.datesEmitter.emit({startDate:this.internalStartDate});return}if(this.startDateIdentifier!==null&&this.startDateIdentifier!==""&&l.fromISO(this.startDateIdentifier)<l.fromISO(e.getAttribute("date"))){this.endDateIdentifier=e.getAttribute("date");this.endDateTime=r;this.internalEndDate=this.endDateTime.toISO().split("T")[0]}else{this.endDateIdentifier=this.startDateIdentifier;this.endDateTime=this.startDateTime;this.internalEndDate=this.internalStartDate;this.startDateIdentifier=e.getAttribute("date");this.startDateTime=r;this.internalStartDate=this.startDateTime.toISO().split("T")[0]}
72
+ // Redraw start, middle and end from the internal dates: a standalone calendar has no parent
73
+ // echoing the range through start-date / end-date, so nothing else would mark the two ends.
74
+ requestAnimationFrame((function(){return a.setDates()}));if(this.internalStartDate!==null&&this.internalStartDate!==""&&this.internalEndDate!==null&&this.internalEndDate!==""){this.datesEmitter.emit({startDate:this.internalStartDate,endDate:this.internalEndDate});this.checkPreselectionsEmitter.emit()}};e.prototype.handleSingleSelection=function(e,r){var a;var t=this.host;(a=t===null||t===void 0?void 0:t.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection")}));this.startDateIdentifier=e.getAttribute("date");this.startDateTime=r;this.internalStartDate=this.startDateTime.toISO().split("T")[0];this.isFirstClick=false;e.setAttribute("selection","single");if(this.internalStartDate!==null&&this.internalStartDate!==""){this.datesEmitter.emit({startDate:this.internalStartDate})}};e.prototype.isDateDisabled=function(e){if(this.min!==null&&this.min!==""&&e<l.fromISO(this.min)){return true}if(this.max!==null&&this.max!==""&&e>l.fromISO(this.max)){return true}return undefined};e.prototype.render=function(){var e=this;return t(n,{key:"8611a2c99c4cd736e76f1b7ede71aaf4f98fc00b"},t("div",{key:"2722b2e4b90c64e0d1247931380fdba8f634da1a",class:d("calendar-preselection",this.hasPreselection&&!this.hidePreselection&&"calendar-preselection--has-preselection")},t("slot",{key:"3dbd57162a6b22bfd51c163a476b90498c81e757",name:"preselection",onSlotchange:this.updatePreselection})),t("div",{key:"29e894b84333a08efa15cd46dc2015ac8d8a9663",class:"calendar-view"},t("nav",{key:"5383cd78806d501699f6d41e883aab92b79a2456"},!this.hidePreviousButton&&t("mds-button",{key:"f9c65eb580f1ab80c74b7ac002d56ca5bddbc4ae","aria-label":this.t.get(this.currentView==="years"?"previousYears":"previousMonth"),class:"action-back",
75
+ // the months view has nothing to move back or forward to
76
+ disabled:this.currentView==="months",icon:v,variant:"dark",tone:"text",onClick:this.handlePrev}),t("div",{key:"4979c86c0979effdd2104de726c5711f079bb5c7",class:"select-month-or-year"},(this.currentView==="calendar"||this.currentView==="months")&&t("mds-button",{key:"ca34dd25e152dd700f69e4367d1d6647b38b9768",class:"action-month",truncate:"none",variant:"dark",tone:"text",label:this.currentMonth,onClick:this.handleMonthActionClick}),(this.currentView==="calendar"||this.currentView==="years")&&t("mds-button",{key:"853f39d4f660f27fad3ca55ce4970495115d40de",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),!this.hideNextButton&&t("mds-button",{key:"ea639d7b4fa5ff27d2f059ecbd7db49ba60e2642","aria-label":this.t.get(this.currentView==="years"?"nextYears":"nextMonth"),class:"action-forward",disabled:this.currentView==="months",icon:u,variant:"dark",tone:"text",onClick:this.handleNext})),this.currentView==="calendar"&&t("section",{key:"89f888f30c42fc106d29b7b3e2b69555db02805f",class:"month-view"},t("header",{key:"56c800fd0acb55f7843d055e7465f18e0df9e295",class:"month-view__days-names"},this.weekdays.map((function(e){return t("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:e})}))),t("div",{key:"f03c98174586cb5b86c86dbc3fe7763359a984fc",class:"month-view__cells"},this.weekDaysinMonth.map((function(r,a){return t("mds-calendar-cell",{key:a,today:!e.hideToday&&l.now().toFormat("yyyy-MM-dd")===r.date.toFormat("yyyy-MM-dd"),date:r.date.toFormat("yyyy-MM-dd"),month:r.isCurrentMonth?"current":"other",disabled:e.isDateDisabled(r.date),onClick:e.handleCellClick(r.date),title:r.date.setLocale(o.state.language).toFormat("cccc d LLLL").replace(/^./,(function(e){return e.toUpperCase()})),label:r.date.toFormat("dd")})})))),this.currentView==="months"&&t("section",{key:"a96f215d14da90cf1d66cead45dc6120678f1313",class:"month-selection"},t("header",{key:"54fffeb45ff37884669e27142c763d2003351da0",class:"month-view__month-names"},Array.from({length:12}).map((function(r,a){var n=l.local().set({month:a+1}).setLocale(o.state.language).toFormat("MMMM");return t("mds-button",{class:"action",variant:"dark",tone:"text",label:n,onClick:e.handleMonthSelect(a+1)})})))),this.currentView==="years"&&t("section",{key:"eeade1ee73a96c0a4e2ee9d0b0986feec7652077",class:"year-selection"},t("header",{key:"1dd18af4c5ddb8d77c0930d3362716967350f229",class:"month-view__years"},Array.from({length:12}).map((function(r,a){var n=e.selectedYear+a;return t("mds-button",{class:"action",variant:"dark",tone:"text",label:"".concat(n),onClick:e.handleYearSelect(n)})}))))))};Object.defineProperty(e.prototype,"host",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{startDate:[{handleStartDate:0}],endDate:[{handleEndDate:0}],viewDate:[{handleViewDate:0}],hoverDate:[{handleHoverDate:0}]}},enumerable:false,configurable:true});return e}());S.style=P();var T=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button: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{--private-calendar-cell-background:var(--mds-calendar-cell-background,#0000);--private-calendar-cell-boundaries-padding:var(--mds-calendar-cell-boundaries-padding,calc(var(--spacing,.0025rem)*100));--private-calendar-cell-color:var(--mds-calendar-cell-color,var(--mds-calendar-day-number-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));--private-calendar-cell-other-month-background:var(--mds-calendar-cell-other-month-background,#0000);--private-calendar-cell-other-month-color:var(--mds-calendar-cell-other-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-disabled-background:var(--mds-calendar-cell-disabled-background,#0000);--private-calendar-cell-disabled-color:var(--mds-calendar-cell-disabled-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-weekend-background:var(--mds-calendar-cell-weekend-background,#0000);--private-calendar-cell-weekend-color:var(--mds-calendar-cell-weekend-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--private-calendar-cell-selection-boundaries-border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-calendar-cell-selection-week-boundaries-border-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-calendar-cell-preselection-today-background:var(--mds-calendar-cell-preselection-today-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));--private-calendar-cell-preselection-today-color:var(--mds-calendar-cell-preselection-today-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));--private-calendar-cell-preselection-current-month-background:var(--mds-calendar-cell-preselection-current-month-background,rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226))));--private-calendar-cell-preselection-current-month-color:var(--mds-calendar-cell-preselection-current-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-current-month-boundaries-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-current-month-boundaries-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--private-calendar-cell-preselection-other-month-background:var(--mds-calendar-cell-preselection-other-month-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));--private-calendar-cell-preselection-other-month-color:var(--mds-calendar-cell-preselection-other-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-other-month-boundaries-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-other-month-boundaries-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--private-calendar-cell-selection-current-month-background:var(--mds-calendar-cell-selection-current-month-background,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--private-calendar-cell-selection-current-month-color:var(--mds-calendar-cell-selection-current-month-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--private-calendar-cell-selection-current-month-boundaries-background:var(--mds-calendar-cell-selection-current-month-boundaries-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--private-calendar-cell-selection-current-month-boundaries-color:var(--mds-calendar-cell-selection-current-month-boundaries-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--private-calendar-cell-selection-current-month-weekend-background:var(--mds-calendar-cell-selection-current-month-weekend-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-calendar-cell-selection-current-month-weekend-color:var(--mds-calendar-cell-selection-current-month-weekend-color,rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218))));--private-calendar-cell-selection-current-month-weekend-boundaries-background:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-calendar-cell-selection-current-month-weekend-boundaries-color:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--private-calendar-cell-selection-other-month-background:var(--mds-calendar-cell-selection-other-month-background,rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226))));--private-calendar-cell-selection-other-month-color:var(--mds-calendar-cell-selection-other-month-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--private-calendar-cell-selection-other-month-boundaries-background:var(--mds-calendar-cell-selection-other-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--private-calendar-cell-selection-other-month-boundaries-color:var(--mds-calendar-cell-selection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:center;aspect-ratio:1;display:flex;justify-content:center;padding:var(--private-calendar-cell-boundaries-padding);position:relative}:host([month=other]){visibility:var(--mds-calendar-cell-other-month-visibility,hidden)}.inner-dot{aspect-ratio:1;background-color:var(--private-calendar-cell-inner-background);border-radius:var(--private-calendar-cell-selection-boundaries-border-radius);display:flex;min-height:0;min-width:0;width:100%;z-index:1}.area-background{background-color:var(--private-calendar-cell-background);inset:0;position:absolute;z-index:0}.action,.area-background{color:var(--private-calendar-cell-color)}.action{align-items:center;background-color:#0000;border-radius:0;display:flex;inset:calc(var(--mds-calendar-cell-gap)*-1);justify-content:center;min-height:0;min-width:0;padding:0;place-self:stretch stretch;position:absolute;width:auto;z-index:2}:host([selection]:not(:where([selection=none]))[orientation=horizontal]) .area-background{margin-left:calc(var(--mds-calendar-cell-gap)*-1);margin-right:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=horizontal]) .area-background{border-bottom-left-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-left-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-left:0}:host([selection=end][orientation=horizontal]) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-right:0}:host([selection]:not(:where([selection=none]))[orientation=vertical]) .area-background{margin-bottom:calc(var(--mds-calendar-cell-gap)*-1);margin-top:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=vertical]) .area-background{border-radius:var(--private-calendar-cell-selection-boundaries-border-radius) var(--private-calendar-cell-selection-boundaries-border-radius) 0 0;margin-top:0}:host([selection=end][orientation=vertical]) .area-background{border-radius:0 0 var(--private-calendar-cell-selection-boundaries-border-radius) var(--private-calendar-cell-selection-boundaries-border-radius);margin-bottom:0}:host([orientation=vertical]:not([selection=start],[selection=end])) .area-background{border-radius:0}:host(:nth-child(7n-6)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n-6)) .area-background{border-bottom-left-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius);border-top-left-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius)}:host(:nth-child(7n)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius)}:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius)}:host([selection]:not(:where([selection=none]))[orientation=horizontal]:nth-child(7n-6)) .area-background{margin-left:0}:host([selection]:not(:where([selection=none]))[orientation=horizontal]:nth-child(7n)) .area-background{margin-right:0}:host([selection=single][orientation=horizontal]) .area-background{border-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-left:0;margin-right:0}:host(:nth-child(7n)),:host(:nth-child(7n-1)){--private-calendar-cell-color:var(--private-calendar-cell-weekend-color);--private-calendar-cell-background:var(--private-calendar-cell-weekend-background)}:host([month=other]:not([selection]:not(:where([selection=none])))){--private-calendar-cell-color:var(--private-calendar-cell-other-month-color);--private-calendar-cell-background:var(--private-calendar-cell-other-month-background)}:host([disabled]){--private-calendar-cell-color:var(--private-calendar-cell-disabled-color);--private-calendar-cell-background:var(--private-calendar-cell-disabled-background);cursor:auto;pointer-events:none}:host(:not([selection]:not(:where([selection=none])))[today]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-today-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-today-color)}:host([selection]:not(:where([selection=none]))[month=current]){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-color)}:host([selection]:not(:where([selection=none]))[month=current]:nth-child(7n)),:host([selection]:not(:where([selection=none]))[month=current]:nth-child(7n-1)){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-weekend-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-weekend-color)}:host([selection=end][month=current]:nth-child(7n)),:host([selection=end][month=current]:nth-child(7n-1)),:host([selection=start][month=current]:nth-child(7n)),:host([selection=start][month=current]:nth-child(7n-1)){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-weekend-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-weekend-boundaries-color)}:host([selection]:not(:where([selection=none]))[month=other]){--private-calendar-cell-background:var(--private-calendar-cell-selection-other-month-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-other-month-color)}:host([selection=end][month=current]),:host([selection=start][month=current]){--private-calendar-cell-inner-background:var(--private-calendar-cell-selection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-boundaries-color)}:host([selection=end][month=other]),:host([selection=start][month=other]){--private-calendar-cell-inner-background:var(--private-calendar-cell-selection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-other-month-boundaries-color)}:host([selection]:not(:where([selection=none]))[month=current][preview]:not([preview=false])){--private-calendar-cell-background:var(--private-calendar-cell-preselection-current-month-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-color)}:host([selection]:not(:where([selection=none]))[month=other][preview]:not([preview=false])){--private-calendar-cell-background:var(--private-calendar-cell-preselection-other-month-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-color)}:host([selection=end][month=current][preview]:not([preview=false])),:host([selection=start][month=current][preview]:not([preview=false])){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-boundaries-color)}:host([selection=end][month=other][preview]:not([preview=false])),:host([selection=start][month=other][preview]:not([preview=false])){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-boundaries-color)}:host([selection=single][month=current]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-boundaries-color)}:host([selection=single][month=other]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-boundaries-color)}"};var I=e("mds_calendar_cell",/** @class */function(){function e(e){r(this,e);
77
+ /**
78
+ * Specifies if the day belongs to the displayed month, `current`, or to an adjacent one,
79
+ * `other`. `weekend` is deprecated and does nothing: the weekend days are styled by their
80
+ * column of the week
81
+ */this.month="current";
82
+ /**
83
+ * Specifies the selection orientation of the cell
84
+ * @description It can be 'horizontal' or 'vertical', but currently only 'horizontal' is supported
85
+ */this.orientation="horizontal";
86
+ /**
87
+ * Specifies if the selection is a preview or the final selection
88
+ */this.preview=false;
89
+ /**
90
+ * Specifies if the cell is disabled
91
+ */this.disabled=undefined;
92
+ /**
93
+ * Specifies if the cell is today
94
+ */this.today=undefined}e.prototype.render=function(){return t(n,{key:"21da5d99d0748ca3904e882198c257f5a8d90227"},t("div",{key:"ddb54e7f37beda15bd28254f7fa3c01d857e6e64",class:"inner-dot"}),t("div",{key:"32087d935d2905d8ce6b78b372109c53fbb25c5f",class:"area-background"}),t("mds-button",{key:"518d648a07f7af617e703c61fa8d9c6265760df2",class:"action",variant:"dark",tone:"text",disabled:this.disabled,label:this.label}))};return e}());I.style=T()}}}));
@@ -0,0 +1 @@
1
+ import{r as t,h as i,e as s,g as e}from"./p-CPRkNQdE.js";import{s as n}from"./p-wI0alRSO.js";import{L as h}from"./p-BmT_DEV2.js";import"./p-C25F_FlB.js";var r={digit:"Ψηφίο {{position}} από {{length}}"},o={digit:"Digit {{position}} of {{length}}"},a={digit:"Dígito {{position}} de {{length}}"},l={digit:"Cifra {{position}} di {{length}}"};const d=class{constructor(i){t(this,i),i.$hostElement$["s-ei"]?this.internals=i.$hostElement$["s-ei"]:(this.internals=i.$hostElement$.attachInternals(),i.$hostElement$["s-ei"]=this.internals),this.loadValue="",this.digits=[],this.formDisabled=!1,this.t=new h({el:r,en:o,es:a,it:l}),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(""),n(this.internals,this.value)}render(){return i(s,{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 e(this)}static get watchers(){return{value:[{valueChanged:0}]}}};d.style="@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}";export{d as mds_input_otp}
@@ -0,0 +1 @@
1
+ import{r as e,h as a,e as t,g as i}from"./p-CPRkNQdE.js";import{L as s}from"./p-BmT_DEV2.js";import"./p-C25F_FlB.js";var o={reloadPageToSeeChanges:"Πρέπει να ανανεώσετε τη σελίδα για να δείτε όλες τις αλλαγές, διαφορετικά θα είναι ορατές μόνο για τα πρόσφατα μεταφορτωμένα στοιχεία."},n={reloadPageToSeeChanges:"You must refresh the page to see all changes, or they will only be visible for new items uploaded."},r={reloadPageToSeeChanges:"Es necesario actualizar la página para ver todos los cambios, o solo serán visibles para los nuevos elementos cargados."},d={reloadPageToSeeChanges:"È necessario aggiornare la pagina per vedere tutti i cambiamenti, oppure saranno visibili solo per i nuovi elementi caricati."};const l=new Set,h=class{constructor(a){e(this,a),this.showReload=!1,this.prefNeedsReload=["consumption","language"],this.loaded=!1,this.t=new s({el:o,en:n,es:r,it:d}),this.sizeChildren=e=>{Array.from(this.host.querySelectorAll("*")).filter((e=>e.tagName.toLowerCase().startsWith("mds-pref-"))).forEach((a=>{a.size=e}))},this.applySize=()=>{void 0!==this.size&&this.sizeChildren(this.size)},this.applySchemeLock=e=>{const a=this.host.querySelector("mds-pref-mode");a&&(a.lockedScheme="light"===e||"dark"===e?e:void 0)},this.applyInitialSchemeLock=()=>{const e=this.host.querySelector("mds-pref-theme");this.applySchemeLock(null==e?void 0:e.scheme)}}handleControllerChange(e){!1===e&&(this.controller=void 0)}handleSizeChange(e){this.sizeChildren(e)}componentWillLoad(){this.applySize()}connectedCallback(){var e;l.add(this.host),"undefined"!=typeof window&&(null===(e=document.documentElement)||void 0===e||e.setAttribute("data-magma-pref",""))}componentDidLoad(){this.loaded=!0,this.applyInitialSchemeLock()}disconnectedCallback(){var e;this.host.isConnected||(l.delete(this.host),"undefined"!=typeof window&&0===l.size&&(null===(e=document.documentElement)||void 0===e||e.removeAttribute("data-magma-pref")))}handlePrefChange(e){var a;this.loaded&&!this.controller&&this.prefNeedsReload.includes(null===(a=e.detail)||void 0===a?void 0:a.preference)&&(this.showReload=!0)}handleThemeChange(e){var a;this.applySchemeLock(null===(a=e.detail)||void 0===a?void 0:a.scheme)}render(){return a(t,{key:"5b69ed67ebf12ceee2c010795b6b8fb01ede21c0"},a("slot",{key:"4d059f4ba6e4cd74bd0387d3fa59909c4a80590b",onSlotchange:this.applySize}),this.showReload&&a("div",{key:"998c080264836779c2bdeb8ef0d6551c32421a01",class:"reload-required"},a("mds-text",{key:"d36aee958b2662e46570cfebee882d0cfe4d751f",typography:"caption"},this.t.get("reloadPageToSeeChanges"))))}get host(){return i(this)}static get watchers(){return{controller:[{handleControllerChange:0}],size:[{handleSizeChange:0}]}}};h.style="@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{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host(:empty),:host([controller]){display:none}.reload-required{display:grid;gap:calc(var(--spacing,.0025rem)*200)}";export{h as mds_pref}
@@ -0,0 +1,111 @@
1
+ System.register(["./p-CmzGV0XD.system.js","./p-D9J8lbUv.system.js","./p-B-nayZ3E.system.js","./p-DVjUXVFl.system.js","./p-D8596ytD.system.js","./p-nFkaC8l_.system.js","./p-sm_-_oFY.system.js"],(function(t){"use strict";var r,a,e,o,n,s,d,i,u,l;return{setters:[function(t){r=t.r;a=t.d;e=t.h;o=t.e;n=t.g},function(t){s=t.K},function(t){d=t.c},function(t){i=t.B;u=t.F},function(t){l=t.p},null,null],execute:function(){var m='<svg width="30" height="16" viewBox="0 0 30 16" xmlns="http://www.w3.org/2000/svg">\n <path d="M10.2 2.4C12.6 -0.800001 17.4 -0.800001 19.8 2.4L30 16H0L10.2 2.4Z"/>\n</svg>\n';var h=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-dropdown-arrow-background:var(--mds-dropdown-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-dropdown-backdrop-duration:var(--magma-backdrop-animation-duration,.3s);--private-dropdown-backdrop-duration:var(--mds-dropdown-backdrop-duration,var(--magma-backdrop-animation-duration,.3s));--mds-dropdown-backdrop-z-index:var(--magma-backdrop-z-index,4000);--mds-dropdown-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-dropdown-drop-shadow-color-rgb:var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5));--private-dropdown-shadow-strength:1;--mds-dropdown-drop-shadow:drop-shadow(0 10px 8px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5)))/calc(var(--private-dropdown-shadow-strength)*0.05))) drop-shadow(0 4px 3px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5)))/calc(var(--private-dropdown-shadow-strength)*0.15))) drop-shadow(0 0 1px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5)))/calc(var(--private-dropdown-shadow-strength)*0.15)));--mds-dropdown-duration:.5s;--private-dropdown-duration:var(--mds-dropdown-duration,.5s);--mds-dropdown-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-dropdown-mouseover-delay:.5s;--mds-dropdown-transform-from:scale(.9) translateY(-3%);--mds-dropdown-transform-to:scale(1) translate(0,0);--mds-dropdown-z-index:var(--magma-dropdown-z-index,5000);background-color:var(--mds-dropdown-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:none;filter:var(--mds-dropdown-drop-shadow);gap:calc(var(--spacing,.0025rem)*400);opacity:0;padding:calc(var(--spacing,.0025rem)*600);pointer-events:none;position:fixed;transform:var(--mds-dropdown-transform-from,scale(.9) translateY(-3%));transition-behavior:allow-discrete;transition-duration:var(--private-dropdown-duration);transition-property:opacity,transform,display;transition-timing-function:var(--mds-dropdown-ease);z-index:var(--mds-dropdown-z-index,var(--magma-dropdown-z-index,5000))}:host([visible]:not([visible=false])){display:grid;opacity:1;pointer-events:auto;transform:var(--mds-dropdown-transform-to,scale(1) translate(0,0))}@starting-style{:host([visible]:not([visible=false])){opacity:0;transform:scale(0)}}:host([data-floating-placed]:not([disable-smooth])),:host([data-floating-placed][disable-smooth=false]){transition-property:bottom,left,display,opacity,right,top,transform}.arrow{display:flex;fill:var(--mds-dropdown-arrow-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));pointer-events:none;position:fixed;top:calc(var(--spacing,.0025rem)*-400)}::slotted(*){position:relative;z-index:10}: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-dropdown-duration:0s;--private-dropdown-backdrop-duration:0s}:host([pref-mode=dark]),:host([pref-theme-scheme=dark]){--private-dropdown-shadow-strength:3}:host([pref-theme-scheme=light]){--private-dropdown-shadow-strength:1}:host([pref-contrast=more]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.05)) drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)) drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3))}:host([pref-contrast=more][pref-mode=dark]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.075)) drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45)) drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45))}@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-dropdown-duration:0s;--private-dropdown-backdrop-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]){--private-dropdown-shadow-strength:3}:host([pref-contrast=more][pref-mode=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.05)) drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)) drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.05)) drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)) drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3))}:host([pref-contrast=system][pref-mode=dark]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.05)) drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)) drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.05)) drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)) drop-shadow(0 0 4px rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3))}}"};var p=t("mds_dropdown",/** @class */function(){function t(t){var e=this;r(this,t);this.visibleEvent=a(this,"mdsDropdownVisible",7);this.hiddenEvent=a(this,"mdsDropdownHide",7);this.changedEvent=a(this,"mdsDropdownChange",7);this.km=new s;this.backdropController=new i;
2
+ /**
3
+ * If set, the component will not have an arrow pointing to the caller.
4
+ */this.hideArrow=false;
5
+ /**
6
+ * Sets the distance between arrow and dropdown margins.
7
+ */this.arrowPadding=24;
8
+ /**
9
+ * Pins the component to `placement`: without it, the component moves to another side of the
10
+ * caller when `placement` has no room.
11
+ */this.disableAutoPlacement=false;
12
+ /**
13
+ * Specifies if the component has a backdrop background
14
+ */this.backdrop=false;
15
+ /**
16
+ * With `disableAutoPlacement`, moves the component to the opposite side of the caller when
17
+ * `placement` has no room. Auto-placement, the default, already does it.
18
+ */this.flip=false;
19
+ /**
20
+ * Specifies if the component is triggered from the caller on mouseover or click event
21
+ */this.interaction="click";
22
+ /**
23
+ * Sets distance between the dropdown and the caller.
24
+ */this.offset=24;
25
+ /**
26
+ * Specifies where the component should be placed relative to the caller: the side it takes
27
+ * whenever it has room there.
28
+ */this.placement="bottom";
29
+ /**
30
+ * If set, the component will not be kept inside the viewport.
31
+ */this.disableShift=false;
32
+ /**
33
+ * Sets a safe area distance between the dropdown and the viewport.
34
+ */this.shiftPadding=24;
35
+ /**
36
+ * If set, the component will not follow the caller smoothly when the page scrolls.
37
+ */this.disableSmooth=false;
38
+ /**
39
+ * Sets the CSS position strategy of the component.
40
+ */this.strategy="absolute";
41
+ /**
42
+ * Specifies the visibility of the component.
43
+ */this.visible=false;
44
+ // the handlers of the caller are held as they are attached: `removeEventListener` answers to
45
+ // the reference it was given, and a `.bind(this)` written at the call site makes a new one
46
+ // every time, which is why nothing the caller was given was ever taken back
47
+ this.onClickTarget=function(t){
48
+ // stop propagation event for when target is a element cointainer
49
+ t.stopPropagation();
50
+ // read before the body click below: it reaches the outside-click handler of this dropdown
51
+ // too, which closes an open panel, and toggling that value opened it again (#797)
52
+ var r=e.visible;
53
+ // trigger a body click to execute handleCloseDropdown on other dropdowns
54
+ document.body.click();e.visible=!r;
55
+ // a click with no coordinates behind it came from Enter on the caller, and a menu opened
56
+ // from the keyboard has to land on an entry - a mouse leaves the focus where it is
57
+ if(e.visible&&e.isMenu&&t.detail===0){e.focusEntry(0)}};this.onMouseOverTarget=function(){e.mouseoverTimer=setTimeout((function(){clearTimeout(e.mouseoverTimer);e.visible=true}),d(e.cssMouseOverDelayDuration))};this.onMouseOutTarget=function(){clearTimeout(e.mouseoverTimer);e.mouseoverTimer=setTimeout((function(){clearTimeout(e.mouseoverTimer);e.visible=false}),d(e.cssMouseOverDelayDuration))};
58
+ /**
59
+ * The panel declares itself a `menu`, whose children axe only accepts as entries
60
+ * (`aria-required-children`), so what the slot receives is what has to carry the role. And what
61
+ * it receives can be a slot of its own, when the dropdown is rendered by a component that hands
62
+ * over the slot of its own host - `mds-button-dropdown`, `mds-pref-language`. An `mds-button`
63
+ * names itself a button as soon as it loads and which of the two loads first is not guaranteed,
64
+ * so `button` is the role an entry overwrites, any other being a deliberate choice of the
65
+ * consumer. A panel that declares another role holds no entries at all: its children are left
66
+ * alone, a calendar being no menu item.
67
+ */this.markEntries=function(){if(!e.isMenu)return;e.entries().forEach((function(t){var r=t.getAttribute("role");if(r===null||r==="button"){t.setAttribute("role","menuitem")}
68
+ // an entry the arrows can reach has to be focusable, and an entry of a menu is reached
69
+ // by the arrows and not by Tab, the menu being one stop of its own
70
+ if(!t.hasAttribute("tabindex")){t.setAttribute("tabindex","-1")}}))};this.entries=function(){var t,r;var a=(t=e.host.shadowRoot)===null||t===void 0?void 0:t.querySelector("slot");return e.slottedEntries((r=a===null||a===void 0?void 0:a.assignedElements())!==null&&r!==void 0?r:[])};this.slottedEntries=function(t){return t.flatMap((function(t){return t.tagName==="SLOT"?e.slottedEntries(t.assignedElements()):[t]}))};
71
+ /**
72
+ * Walks the entries the way the menu button pattern asks for: the arrows open the menu and
73
+ * land on an entry, Home and End go to the ends, Escape gives the focus back and Tab lets it
74
+ * leave from the caller. A panel that declares another role is none of this - the arrows of a
75
+ * calendar or of a form belong to what the panel holds.
76
+ */this.focusEntry=function(t,r){if(r===void 0){r=3}var a=e.entries();if(a.length===0||!e.visible)return;var o=a[(t+a.length)%a.length];
77
+ // the panel is display:none until `visible` reaches the render, and nothing hidden takes
78
+ // the focus: the first frame after opening is the earliest the entry can have it
79
+ if(o.offsetWidth===0&&r>0){requestAnimationFrame((function(){return e.focusEntry(t,r-1)}));return}o.focus()};this.onCallerKeydown=function(t){if(!e.isMenu||t.key!=="ArrowDown"&&t.key!=="ArrowUp")return;t.preventDefault();// the arrows would scroll the page under the menu
80
+ e.visible=true;e.focusEntry(t.key==="ArrowUp"?-1:0)};this.onPanelKeydown=function(t){var r;if(!e.isMenu||!e.visible)return;var a=e.entries();if(a.length===0)return;var o=a.findIndex((function(t){return t.contains(document.activeElement)}));var n=o===-1?null:o;switch(t.key){case"ArrowDown":t.preventDefault();e.focusEntry(n===null?0:n+1);break;case"ArrowUp":t.preventDefault();e.focusEntry(n===null?-1:n-1);break;case"Home":t.preventDefault();e.focusEntry(0);break;case"End":t.preventDefault();e.focusEntry(-1);break;case"Tab":
81
+ // no preventDefault: the focus is handed to the caller and Tab carries on from there,
82
+ // which is where it would have gone had the menu never opened
83
+ e.visible=false;(r=e.caller)===null||r===void 0?void 0:r.focus();break}};
84
+ /** Escape is heard on window, so it closes the panel wherever the focus is. Giving the focus
85
+ * back is only right when the panel was holding it: a panel that goes display:none under the
86
+ * focus drops it on the body, and the place in the page is lost */this.closeFromKeyboard=function(){var t;if(!e.visible)return;var r=e.host.contains(document.activeElement);e.visible=false;if(r)(t=e.caller)===null||t===void 0?void 0:t.focus()};
87
+ // the backdrop hangs from the body, where the properties set on the dropdown do not reach:
88
+ // it gets the values the dropdown resolves for it
89
+ this.attachBackdrop=function(){var t,r;var a=window.getComputedStyle(e.host);e.backdropController.attachBackdrop({duration:(t=a.getPropertyValue("--private-dropdown-backdrop-duration"))===null||t===void 0?void 0:t.trim(),zIndex:(r=a.getPropertyValue("--mds-dropdown-backdrop-z-index"))===null||r===void 0?void 0:r.trim()})};this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var t=window.getComputedStyle(e.host);e.cssMouseOverDelayDuration=t.getPropertyValue("--mds-dropdown-mouseover-delay")};this.handleCloseDropdown=function(t){if(t.type==="mouseleave"){e.host.removeEventListener("mouseleave",e.handleCloseDropdown);e.caller.removeEventListener("mouseleave",e.handleCloseDropdown);e.visible=false;return}if(!e.host.contains(t.target)&&t.target!==e.caller){e.visible=false;document.removeEventListener("click",e.handleCloseDropdown)}};this.setInteractionBehaviour=function(){if(e.interaction==="none"){return}if(e.interaction==="click"){e.caller.addEventListener("click",e.onClickTarget);e.caller.addEventListener("keydown",e.onCallerKeydown)}if(e.interaction==="mouseover"){e.caller.addEventListener("mouseover",e.onMouseOverTarget);e.caller.addEventListener("mouseout",e.onMouseOutTarget);e.host.addEventListener("mouseover",e.handleCloseDropdownMouseLeave)}};
90
+ /** Hands the caller back what it was given: a caller the target no longer names would go on
91
+ * opening a panel that is not its own */this.unsetInteractionBehaviour=function(t){t.removeEventListener("click",e.onClickTarget);t.removeEventListener("keydown",e.onCallerKeydown);t.removeEventListener("mouseover",e.onMouseOverTarget);t.removeEventListener("mouseout",e.onMouseOutTarget)};this.handleCloseDropdownMouseLeave=function(){clearTimeout(e.mouseoverTimer);e.host.removeEventListener("mouseover",e.handleCloseDropdownMouseLeave);e.host.addEventListener("mouseleave",e.handleCloseDropdown)}}t.prototype.hideArrowChanged=function(){this.floatingController.updatePosition()};t.prototype.arrowPaddingChanged=function(){this.floatingController.updatePosition()};t.prototype.disableAutoPlacementChanged=function(){this.floatingController.updatePosition()};t.prototype.backdropChanged=function(t){if(t===false){this.backdrop=undefined}if(!this.visible){return}if(t){this.attachBackdrop();return}this.backdropController.detachBackdrop()};t.prototype.flipChanged=function(){this.floatingController.updatePosition()};t.prototype.offsetChanged=function(){this.floatingController.updatePosition()};t.prototype.placementChanged=function(){this.floatingController.updatePosition()};t.prototype.disableShiftChanged=function(){this.floatingController.updatePosition()};t.prototype.shiftPaddingChanged=function(){this.floatingController.updatePosition()};t.prototype.strategyChanged=function(){this.floatingController.updatePosition()};t.prototype.targetChanged=function(){var t;if(((t=this.target)!==null&&t!==void 0?t:"")===""||this.floatingController==null)return;var r=this.floatingController.updateCaller(this.target);if(!r)return;if(this.caller&&this.caller!==r)this.unsetInteractionBehaviour(this.caller);this.caller=r;
92
+ // the role of the panel arrives with the caller, so the entries are named once it resolves
93
+ this.markEntries();this.setInteractionBehaviour();this.km.addElement(this.host);this.km.attachEscapeBehavior(this.closeFromKeyboard)};t.prototype.visibleChanged=function(t){this.changedEvent.emit({caller:this.caller,visible:t});this.floatingController.syncExpanded(t);if(t){document.addEventListener("click",this.handleCloseDropdown);this.floatingController.updatePosition();if(this.backdrop){this.attachBackdrop()}this.visibleEvent.emit({caller:this.caller,visible:true});return}this.floatingController.dismiss();if(this.backdrop){this.backdropController.detachBackdrop()}this.hiddenEvent.emit({caller:this.caller,visible:false})};Object.defineProperty(t.prototype,"isMenu",{get:function(){return this.host.getAttribute("role")==="menu"},enumerable:false,configurable:true});t.prototype.componentDidLoad=function(){var t,r,a;var e=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".arrow");
94
+ /**
95
+ * When binding values in frameworks such as Angular
96
+ * it is possible for the value to be set after the Web Component
97
+ * initializes but before the value watcher is set up in Stencil.
98
+ * As a result, the watcher callback may not be fired.
99
+ * We work around this by manually calling the watcher
100
+ * callback when the component has loaded and the watcher
101
+ * is configured.
102
+ */this.floatingController=new u(this.host,e);this.updateCSSCustomProps();this.targetChanged();(a=(r=this.host.shadowRoot)===null||r===void 0?void 0:r.querySelector("slot"))===null||a===void 0?void 0:a.addEventListener("slotchange",this.markEntries);
103
+ // a nested slot lives in the tree of the host, where the slot of the shadow root, which is
104
+ // the one the entries reach us through, never hears its slotchange
105
+ this.host.addEventListener("slotchange",this.markEntries);
106
+ // the entries are slotted children, so their keys reach the host by bubbling
107
+ this.host.addEventListener("keydown",this.onPanelKeydown);
108
+ // The watcher does not fire for the initial value, so a dropdown that mounts
109
+ // with `visible` set was never positioned at all: no left, no top, no origin,
110
+ // parked at the top left corner of the page.
111
+ if(this.visible){this.visibleChanged(true)}};t.prototype.disconnectedCallback=function(){this.floatingController.dismiss();this.backdropController.detachBackdrop();this.km.detachEscapeBehavior()};t.prototype.render=function(){return e(o,{key:"3abe65235e61e07eb3a0664c20fb341739dcf352",style:{zIndex:"".concat(this.zIndex)},"pref-animation":l.state.animation,"pref-contrast":l.state.contrast,"pref-mode":l.state.mode,"pref-theme-scheme":l.state["theme-scheme"]},e("div",{key:"87e8822bec5fda29f80b28affd87ebe1d934b948",class:"arrow",innerHTML:m}),e("slot",{key:"8c305d9981dc320401b194ba388f073018e55409"}))};Object.defineProperty(t.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{hideArrow:[{hideArrowChanged:0}],arrowPadding:[{arrowPaddingChanged:0}],disableAutoPlacement:[{disableAutoPlacementChanged:0}],backdrop:[{backdropChanged:0}],flip:[{flipChanged:0}],offset:[{offsetChanged:0}],placement:[{placementChanged:0}],disableShift:[{disableShiftChanged:0}],shiftPadding:[{shiftPaddingChanged:0}],strategy:[{strategyChanged:0}],target:[{targetChanged:0}],visible:[{visibleChanged:0}]}},enumerable:false,configurable:true});return t}());p.style=h()}}}));
@@ -0,0 +1 @@
1
+ import{r as a,h as t,e as r}from"./p-CPRkNQdE.js";import{p as e}from"./p-C25F_FlB.js";const o=class{constructor(t){a(this,t)}render(){return t(r,{key:"5e918bf491f104a62a39beeeaa8f5ffde267928a",role:"rowgroup","pref-animation":e.state.animation},t("slot",{key:"2a0b4df364406f5461136b670e63394df7202c29"}))}};o.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-table-row: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-table-body-background-hover:var(--mds-table-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--mds-table-body-background:var(--mds-table-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-body-background-alt:var(--mds-table-body-background-hover);--mds-table-body-color-alt:var(--mds-table-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-table-body-color:var(--mds-table-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-background:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-body-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-body-transition-duration:var(--duration-200,.2s);--private-table-body-transition-duration:var(--mds-table-body-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));display:table-row-group;overflow:hidden;transition-duration:var(--private-table-body-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host(:last-of-type) ::slotted(:last-of-type){--private-cell-border-color:#0000}:host([interactive]:hover){--mds-table-row-background:var(--mds-table-body-background-hover);--mds-table-row-color:var(--mds-table-body-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))))}:host([selection]){--mds-table-body-background:var(--mds-table-body-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))))}: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-table-body-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-body-transition-duration:0s}}';export{o as mds_table_body}
@@ -0,0 +1 @@
1
+ import{r as i,d as t,h as s,e as o,g as e}from"./p-CPRkNQdE.js";import{a,c as n}from"./p-CWk1SCJg.js";import{L as r}from"./p-BmT_DEV2.js";import{p as d}from"./p-C25F_FlB.js";var c={clearNotifications:"Εκκαθάριση ειδοποιήσεων"},h={clearNotifications:"Clear notifications"},m={clearNotifications:"Borrar notificaciones"},l={clearNotifications:"Cancella notifiche"};const f=class{constructor(s){i(this,s),this.changedEvent=t(this,"mdsPushNotificationChange",7),this.shownEvent=t(this,"mdsPushNotificationShow",7),this.hiddenEvent=t(this,"mdsPushNotificationHide",7),this.t=new r({el:c,en:h,es:m,it:l}),this.behavior="auto",this.introItem=i=>(i.style.marginBottom=`-${i.offsetHeight+a(this.cssItemsGap)}px`,new Promise((t=>{setTimeout((()=>{i.style.marginBottom=`-${i.offsetHeight+a(this.cssItemsGap)}px`,setTimeout((()=>{i.style.visibility="visible",i.style.position="relative",i.style.transform="translate(0, 0)",i.style.marginBottom="0px",t()}),n(this.cssItemsIntroDuration))}),15)}))),this.outroItem=i=>(this.slotNotifications.assignedElements().length<=1&&this.hide(),i.style.marginBottom="0px",new Promise((t=>{setTimeout((()=>{i.style.marginBottom="0px",setTimeout((()=>{i.addEventListener("transitionend",(()=>{i.remove()})),i.style.removeProperty("transform"),i.style.marginBottom=`-${i.offsetHeight+a(this.cssItemsGap)}px`,t()}),n(this.cssItemsOutroDuration))}),15)}))),this.handleSlotChange=()=>{const i=this.slotNotifications.assignedElements().map((i=>i)).filter((i=>""===i.style.visibility));0!==i.length&&(i.forEach((async i=>{i.addEventListener("mdsPushNotificationItemClose",(()=>this.outroItem(i))),await this.introItem(i)})),"auto"===this.behavior&&this.show())},this.updateCSSCustomProps=()=>{var i,t,s;const o=window.getComputedStyle(this.host);this.cssItemsGap=null!==(i=o.getPropertyValue("--mds-push-notification-items-gap"))&&void 0!==i?i:"0.5rem",this.cssItemsIntroDuration=null!==(t=o.getPropertyValue("--mds-push-notification-items-intro-delay"))&&void 0!==t?t:"200ms",this.cssItemsOutroDuration=null!==(s=o.getPropertyValue("--mds-push-notification-items-outro-delay"))&&void 0!==s?s:"0ms"},this.clear=()=>{this.slotNotifications.assignedElements().forEach((i=>this.outroItem(i))),this.hide()}}show(){return this.visible=!0,Promise.resolve()}hide(){return this.visible=void 0,Promise.resolve()}removeNotification(i){return Array.isArray(i)?i.forEach(this.outroItem):this.outroItem(i),Promise.resolve()}componentDidLoad(){this.updateCSSCustomProps(),this.slotNotifications.addEventListener("slotchange",this.handleSlotChange),this.handleSlotChange()}visibleChanged(i){return i?(this.changedEvent.emit({visible:!0}),void this.shownEvent.emit()):void 0===i?(this.changedEvent.emit({visible:!1}),void this.hiddenEvent.emit()):void(this.visible=void 0)}render(){return s(o,{key:"015e1420b238966f9bb74f4d145d0c54f6776458","pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},s("mds-button",{key:"20484ebf34e0f0e67137f4167f5fadd378aa8e39",variant:"dark",onClick:this.clear,label:this.t.get("clearNotifications")}),s("div",{key:"7a9ee51d2754e418008b713f51db98366471b511",class:"notifications",part:"notifications"},s("slot",{key:"61cd4513f3c56b7e60159cf68331f1bbfe0545a5",ref:i=>this.slotNotifications=i})))}get host(){return e(this)}static get watchers(){return{visible:[{visibleChanged:0}]}}};f.style='@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-button: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-push-notification-fadeout-delay:0s;--mds-push-notification-gap:calc(var(--spacing,.0025rem)*200);--mds-push-notification-items-intro-delay:.3s;--mds-push-notification-items-outro-delay:0s;--mds-push-notification-items-duration:.3s;--mds-push-notification-items-gap:var(--mds-push-notification-gap,calc(var(--spacing,.0025rem)*200));--mds-push-notification-items-timing-function:var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1));--mds-push-notification-background:linear-gradient(90deg,#dcdcdc00 0%,#dcdcdcd9);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));background:var(--mds-push-notification-background);bottom:0;box-sizing:initial!important;display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*200);max-width:360px;min-width:calc(var(--spacing,.0025rem)*7200);overflow-x:hidden;padding:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*2400);position:fixed;right:0;top:0;transform:translate(100%);transition-delay:var(--mds-push-notification-fadeout-delay,0s);transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));z-index:var(--magma-notification-z-index,2000)}:host::-webkit-scrollbar{display:none}.notifications{display:flex;flex-direction:column-reverse;gap:var(--mds-push-notification-items-gap)}.notifications ::slotted(mds-push-notification-item){--mds-push-notification-item-duration:var(--mds-push-notification-items-duration,.3s);--mds-push-notification-item-timing-function:var(--mds-push-notification-items-timing-function);position:absolute;transform:translate(calc(100% + calc(var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)) + var(--mds-push-notification-gap,calc(var(--spacing,.0025rem) * 200)))));visibility:hidden}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(90deg,#0000 0%,#00000080 20%,#000000d9)}:host([visible]){transform:translate(0);transition-delay:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-push-notification-background:linear-gradient(90deg,#0000 0%,#00000080 20%,#000000d9)}}';export{f as mds_push_notification}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,e as s,g as o}from"./p-CPRkNQdE.js";const e=t=>{var i;const s=null!==(i=t.duration)&&void 0!==i?i:0;return 0!==s&&!Number.isNaN(s)},a=class{constructor(i){t(this,i),this.shown=[],this.position="bottom-center",this.max=3,this.limit=()=>Number.isInteger(this.max)&&this.max>0?this.max:3,this.toasts=()=>Array.from(this.host.querySelectorAll("mds-toast")),this.update=()=>{const t=this.toasts();t.forEach((t=>{t.position!==this.position&&(t.position=this.position)}));const i=t.filter((t=>!!t.visible));this.shown=this.shown.filter((t=>i.includes(t)));const s=i.filter((t=>!this.shown.includes(t)));if(this.shown.push(...s),0===s.length)return;let o=this.shown.length-this.limit();for(const t of this.shown.filter((t=>!s.includes(t)))){if(o<=0)break;e(t)&&(t.visible=!1,o-=1)}this.shown=this.shown.filter((t=>t.visible))},this.observe=()=>{var t;"undefined"!=typeof MutationObserver&&(null===(t=this.observer)||void 0===t||t.disconnect(),this.observer=new MutationObserver(this.update),this.observer.observe(this.host,{attributeFilter:["visible"],childList:!0,subtree:!0}))},this.checkMax=t=>{null==t||Number.isInteger(t)&&t>0||console.warn(`mds-toast-region: ignoring the invalid max "${t}", using 3`)}}connectedCallback(){this.observe()}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect(),this.observer=void 0}componentWillLoad(){this.checkMax(this.max)}componentDidLoad(){this.update()}positionChanged(){this.update()}maxChanged(t){this.checkMax(t),this.update()}render(){return i(s,{key:"098e53f02216610eecc7994a704e20113fc9a5cb",role:"status","aria-live":"polite","aria-atomic":"false"},i("slot",{key:"5bdfcac941c9828783fb8baaa8b2222098d0d561"}))}get host(){return o(this)}static get watchers(){return{position:[{positionChanged:0}],max:[{maxChanged:0}]}}};a.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-toast-region-gap:calc(var(--spacing,.0025rem)*200);bottom:0;display:flex;flex-direction:column;gap:var(--mds-toast-region-gap,calc(var(--spacing,.0025rem)*200));left:0;pointer-events:none;position:fixed;right:0;z-index:var(--magma-modal-z-index,3000)}:host([position^=top]){bottom:auto;flex-direction:column-reverse;top:0}";export{a as mds_toast_region}
@@ -0,0 +1,27 @@
1
+ var __awaiter=this&&this.__awaiter||function(e,t,r,i){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function n(e){try{s(i.next(e))}catch(e){a(e)}}function d(e){try{s(i["throw"](e))}catch(e){a(e)}}function s(e){e.done?r(e.value):o(e.value).then(n,d)}s((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,n=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return n.next=d(0),n["throw"]=d(1),n["return"]=d(2),typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function d(e){return function(t){return s([e,t])}}function s(d){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,d[0]&&(r=0)),r)try{if(i=1,o&&(a=d[0]&2?o["return"]:d[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,d[1])).done)return a;if(o=0,a)d=[d[0]&2,a.value];switch(d[0]){case 0:case 1:a=d;break;case 4:r.label++;return{value:d[1],done:false};case 5:r.label++;o=d[1];d=[0];continue;case 7:d=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){r.label=d[1];break}if(d[0]===6&&r.label<a[1]){r.label=a[1];a=d;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(d);break}if(a[2])r.ops.pop();r.trys.pop();continue}d=t.call(e,r)}catch(e){d=[6,e];o=0}finally{i=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:true}}};System.register(["./p-CmzGV0XD.system.js","./p-Qrub-hmK.system.js","./p-BeNKMPXR.system.js","./p-C1ailvfu.system.js","./p-B-nayZ3E.system.js","./p-D8596ytD.system.js"],(function(e){"use strict";var t,r,i,o,a,n,d,s,c;return{setters:[function(e){t=e.r;r=e.d;i=e.h;o=e.e;a=e.g},function(e){n=e.c},function(e){d=e.h},function(e){s=e.L},function(e){c=e.c},null],execute:function(){var l="Ανάπτυξη {{ label }}";var g="Σύμπτυξη {{ label }}";var m={expand:l,collapse:g};var h="Expand {{ label }}";var v="Collapse {{ label }}";var u={expand:h,collapse:v};var f="Expandir {{ label }}";var b="Contraer {{ label }}";var p={expand:f,collapse:b};var x="Espandi {{ label }}";var y="Contrai {{ label }}";var w={expand:x,collapse:y};var k='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41L13.17 12l-4.58 4.59L10 18l6-6z"/></svg>';var z='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-folder-open" viewBox="0 0 24 24"><path d="M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z" /></svg>';var j='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></svg>';var C=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button: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}@container style(--mds-tree-branch-use-rounded-border:true){:host{--mds-tree-branch-border-radius:var(--private-tree-item-branch-border-radius)}}@container style(--mds-tree-branch-use-rounded-border:false){:host{--mds-tree-branch-border-radius:0px}}:host{--mds-tree-item-actions-border-radius:var(--mds-tree-actions-border-radius);--mds-tree-item-actions-gap:var(--mds-tree-actions-gap);--mds-tree-item-branch-border-color:var(--mds-tree-branch-border-color);--mds-tree-item-branch-border-radius:var(--mds-tree-branch-border-radius,var(--private-tree-item-branch-border-radius));--mds-tree-item-branch-border-size:var(--mds-tree-branch-border-size);--mds-tree-item-branch-dot-default-color:var(--mds-tree-branch-dot-default-color);--mds-tree-item-branch-dot-expanded-color:var(--mds-tree-branch-dot-expanded-color);--mds-tree-item-label-default-background:var(--mds-tree-label-default-background);--mds-tree-item-label-hover-background:var(--mds-tree-label-hover-background);--mds-tree-item-label-icon-default-color:var(--mds-tree-label-icon-default-color);--mds-tree-item-label-icon-hover-color:var(--mds-tree-label-icon-hover-color);--mds-tree-item-line-clamp:var(--mds-tree-line-clamp);--mds-tree-item-toggle-gap:var(--mds-tree-toggle-gap,calc(var(--spacing,.0025rem)*100));--mds-tree-item-toggle-icon-async-background:var(--mds-tree-toggle-icon-async-background);--mds-tree-item-toggle-icon-async-color:var(--mds-tree-toggle-icon-async-color);--mds-tree-item-toggle-icon-chevron-default-background:var(--mds-tree-toggle-icon-chevron-default-background);--mds-tree-item-toggle-icon-chevron-default-color:var(--mds-tree-toggle-icon-chevron-default-color);--mds-tree-item-toggle-icon-chevron-expanded-background:var(--mds-tree-toggle-icon-chevron-expanded-background,var(--mds-tree-item-toggle-icon-chevron-default-background));--mds-tree-item-toggle-icon-chevron-expanded-color:var(--mds-tree-toggle-icon-chevron-expanded-color,var(--mds-tree-item-toggle-icon-chevron-default-color));--mds-tree-item-toggle-icon-folder-default-background:var(--mds-tree-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-default-color:var(--mds-tree-toggle-icon-folder-default-color);--mds-tree-item-toggle-icon-folder-expanded-background:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-toggle-icon-folder-expanded-color:var(--mds-tree-toggle-icon-folder-expanded-color,var(--mds-tree-item-toggle-icon-folder-default-color));--mds-tree-item-toggle-icon-position-right-default-background:var(--mds-tree-toggle-icon-position-right-default-background);--mds-tree-item-toggle-icon-position-right-default-color:var(--mds-tree-toggle-icon-position-right-default-color);--mds-tree-item-toggle-icon-position-right-expanded-background:var(--mds-tree-toggle-icon-position-right-expanded-background);--mds-tree-item-toggle-icon-position-right-expanded-color:var(--mds-tree-toggle-icon-position-right-expanded-color);--mds-tree-item-toggle-size:var(--mds-tree-toggle-size);--mds-tree-item-transition-duration:var(--mds-tree-transition-duration);--mds-tree-item-transition-timing-function:var(--mds-tree-transition-timing-function);--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color);--header-gap:var(--mds-tree-item-toggle-gap);--private-tree-item-branch-border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * var(--mds-tree-item-toggle-size));display:grid;transition-duration:var(--mds-tree-item-transition-duration);transition-timing-function:var(--mds-tree-item-transition-timing-function)}.header{--offset:calc(var(--mds-tree-item-toggle-size) + var(--header-gap));align-items:flex-start;gap:var(--header-gap);position:relative;z-index:1}.header,.title{display:flex;min-width:0}.title{align-items:stretch;flex-grow:1;gap:calc(var(--spacing,.0025rem)*200);justify-content:space-between}.label-action{--mds-button-line-clamp:var(--mds-tree-item-line-clamp);--padding:calc(var(--spacing,.0025rem)*100);background-color:var(--mds-tree-item-label-default-background);border-radius:min(var(--magma-radius-lg,var(--radius-squircle-lg,28px)),var(--magma-corner-cap,.5) * calc(var(--spacing,.0025rem)*900));fill:var(--mds-tree-item-label-icon-default-color);flex-grow:1;justify-content:flex-start;margin-left:calc(var(--padding)*-1);padding-left:var(--padding);padding-right:var(--padding)}.label-action:hover{background-color:var(--mds-tree-item-label-hover-background);fill:var(--mds-tree-item-label-icon-hover-color)}.actions-container{--duration-300:.3s;--ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);interpolate-size:allow-keywords;align-items:center;display:none;justify-content:flex-start;min-width:0;overflow:hidden;transition-behavior:allow-discrete;transition-duration:var(--duration-300,.3s);transition-property:min-width,width,overflow;transition-timing-function:var(--ease);width:0}.actions-container--has-actions{display:flex}.actions{border-radius:var(--mds-tree-item-actions-border-radius);corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;flex-shrink:0;gap:var(--mds-tree-item-actions-gap);pointer-events:none;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:transform;transition-timing-function:var(--ease)}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions-container{pointer-events:auto}.header:focus-within .actions-container,.header:hover .actions-container,:host([resolved-actions=visible]) .actions-container{animation:toggleOverflow var(--duration-300,.3s) forwards;min-width:fit-content;width:fit-content}.header:focus-within .actions,.header:hover .actions,:host([resolved-actions=visible]) .actions{transform:scale(1)}.children{--mds-tree-item-children-padding-left:calc(var(--mds-tree-item-toggle-size)/2 - var(--mds-tree-item-branch-border-size)/2);interpolate-size:allow-keywords;display:flex;flex-direction:column;height:0;overflow:clip;padding-left:var(--mds-tree-item-children-padding-left);position:relative;transform:translateY(calc(var(--mds-tree-item-toggle-size)/2*-1));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height,transform,visibility;transition-timing-function:var(--mds-tree-item-transition-timing-function);visibility:hidden;z-index:0}.children--expanded{animation:toggleOverflow var(--mds-tree-item-transition-duration) forwards;animation-timing-function:var(--mds-tree-item-transition-timing-function);display:flex;height:auto;transform:translateY(0);visibility:inherit}.children--empty,.children--hidden{display:none}@keyframes toggleOverflow{99.99%{overflow:hidden}to{overflow:visible}}@keyframes toggleDisplay{99.99%{display:flex}to{display:none}}.tree-node{--middle-pos-x:calc(50% - var(--mds-tree-item-branch-border-size)/2);align-items:center;box-sizing:border-box;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;pointer-events:none;position:relative;width:var(--mds-tree-item-toggle-size);z-index:0}.tree-branch{--pos-y:calc(calc(var(--mds-tree-item-toggle-size) / 2 + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)))) * -1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))) + var(--mds-tree-item-branch-border-size) / 2);--tree-width:calc(var(--mds-tree-item-toggle-size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--tree-height);inset:0;position:absolute;transform:translateY(var(--pos-y));width:calc(var(--mds-tree-item-toggle-size)/2);z-index:1}:host(:first-of-type) .tree-branch{--pos-y:calc(var(--mds-tree-item-toggle-size)/2*-1);--tree-height:calc(var(--mds-tree-item-toggle-size) + var(--mds-tree-item-branch-border-size)/2)}.tree-dot{--size:calc(var(--spacing,.0025rem)*300 + var(--mds-tree-item-branch-border-size)*2);background-color:var(--mds-tree-item-branch-border-color);border-radius:var(--size);display:none;height:var(--size);position:relative;width:var(--size)}.header--has-children .tree-dot{display:inline-flex}.header:not(.header--has-children) .tree-node .tree-branch{width:calc(var(--mds-tree-item-toggle-size) - var(--header-gap))}:host(:not(:last-of-type)) .header--has-children .tree-node:after{--size:calc(calc(var(--mds-tree-item-toggle-size) / 2) + var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px))));--pos-y:calc(var(--size)/2);border-color:var(--mds-tree-item-branch-border-color);border-radius:0 0 0 var(--mds-tree-item-branch-border-radius,var(--magma-radius-lg,var(--radius-squircle-lg,28px)));border-style:solid;border-width:0 0 var(--mds-tree-item-branch-border-size) var(--mds-tree-item-branch-border-size);box-sizing:border-box;content:"";corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--size);inset:0;position:absolute;transform:translateY(var(--pos-y));width:var(--mds-tree-item-branch-border-size);z-index:1}:host(:not(:last-of-type)) .children--has-children:before{border-left:var(--mds-tree-item-branch-border-size) solid var(--mds-tree-item-branch-border-color);content:"";display:flex;height:calc(100% + var(--mds-tree-item-toggle-size));left:0;position:absolute;top:calc(var(--mds-tree-item-toggle-size)*-1)}.tree-dot:after{--pos-y:calc(var(--size)/2);background-color:var(--mds-tree-item-branch-border-color);box-sizing:border-box;content:"";display:inline-flex;height:calc(var(--size)/2);inset:0 50% 0 0;position:absolute;transform:translate(calc(var(--pos-y) - var(--mds-tree-item-branch-border-size)/2),var(--pos-y));transition-duration:var(--mds-tree-item-transition-duration);transition-property:height;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-branch-border-size);z-index:1}:host([expanded]) .tree-dot:after{height:calc(var(--size) + var(--mds-tree-item-branch-border-size))}:host([depth="0"]) .children--has-children .tree-branch,:host([depth="0"]) .children--has-children:before,:host([depth="0"]) .header--has-children .tree-node:after,:host([depth="0"]) .tree-node .tree-branch,:host([depth="0"]) .tree-node:before{display:none}.toggle-icon{align-items:center;align-self:center;display:inline-flex;flex-shrink:0;height:var(--mds-tree-item-toggle-size);justify-content:center;margin-left:calc(var(--offset)*-1);position:relative;transform:rotate(0);transition-duration:var(--mds-tree-item-transition-duration);transition-property:transform;transition-timing-function:var(--mds-tree-item-transition-timing-function);width:var(--mds-tree-item-toggle-size);z-index:1}.toggle-icon mds-button{--size:calc(var(--spacing,.0025rem)*600);align-self:center;background-color:var(--mds-tree-item-icon-background-color);border:0;border-radius:var(--mds-tree-item-toggle-size);color:var(--mds-tree-item-icon-color);fill:var(--mds-tree-item-icon-color);height:var(--size);min-height:var(--size);min-width:var(--size);overflow:hidden;width:var(--size)}.toggle-icon mds-button[await]{background-color:var(--mds-tree-item-toggle-icon-async-background);color:var(--mds-tree-item-toggle-icon-async-color)}:host([toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-default-color)}:host([expanded][toggle=chevron]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-chevron-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-chevron-expanded-color)}:host([toggle=folder][toggle-position=left]) .toggle-icon mds-button{box-shadow:0 calc(var(--spacing,.0025rem)*25) 0 0 var(--mds-tree-item-branch-border-color)}:host([toggle=folder]) .toggle-icon mds-button{--size:auto;border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));padding:calc(var(--spacing,.0025rem)*25) calc(var(--spacing,.0025rem)*50)}:host([toggle=folder]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-default-color)}:host([toggle=folder][expanded]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-folder-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-folder-expanded-color)}:host([toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-default-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-default-color);background-color:#0000;order:1}:host([expanded][toggle-position=right]) .toggle-icon{--mds-tree-item-icon-background-color:var(--mds-tree-item-toggle-icon-position-right-expanded-background);--mds-tree-item-icon-color:var(--mds-tree-item-toggle-icon-position-right-expanded-color)}:host([expanded][toggle-position=left][toggle=chevron]) .toggle-icon{transform:rotate(90deg)}.header:not(.header--has-children) .toggle-icon{display:none}:host([toggle-position=left]) .toggle-icon{order:0}:host([toggle-position=right]) .header--has-children .title{margin-right:var(--offset)}:host([toggle-position=left][toggle=chevron][expanded]) .toggle-icon{transform:rotate(90deg)}:host([toggle-position=left][toggle=chevron]:not([expanded])) .toggle-icon{transform:rotate(0)}:host([toggle=chevron][toggle-position=right]) .toggle-icon{transform:rotate(90deg)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon{transform:rotate(270deg)}:host([toggle=chevron][toggle-position=right]) .toggle-icon--dot,:host([toggle=folder][toggle-position=right]) .toggle-icon--dot{transform:rotate(0)scale(.825)}:host([toggle=chevron][toggle-position=right]) .toggle-icon,:host([toggle=folder][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-default-color)}:host([toggle=chevron][expanded][toggle-position=right]) .toggle-icon,:host([toggle=folder][expanded][toggle-position=right]) .toggle-icon{background-color:#0000;fill:var(--mds-tree-item-branch-dot-expanded-color)}:host([appearance=none]) .header{--offset:0;gap:0}:host([appearance=none]) .tree-dot,:host([appearance=none]) .tree-node,:host([appearance=none]:not(:last-of-type)) .children--has-children:before{display:none}:host([appearance=none]) .label-action{--padding:calc(var(--spacing,.0025rem)*200);margin-left:0;padding-left:var(--padding);padding-right:var(--padding)}:host([appearance=none][toggle-position=left]) .children{padding-left:calc(var(--header-gap)*2 + var(--mds-tree-item-branch-border-size) + var(--mds-tree-item-children-padding-left)*2)}:host([appearance=none][toggle-position=right]) .children{padding-left:var(--mds-tree-item-children-padding-left)}'};var _=e("mds_tree_item",/** @class */function(){function e(e){var i=this;t(this,e);this.expandEvent=r(this,"mdsTreeItemExpand",7);this.collapsedEvent=r(this,"mdsTreeItemCollapse",7);this.hasActions=false;this.hasChildren=false;this.t=new s({el:m,en:u,es:p,it:w});
2
+ /**
3
+ * Truncate the text of the element on one single line.
4
+ */this.truncate="word";this.checkChildrenTransitionEnd=function(){if(!i.childrenElement.classList.contains("children--expanded")){i.childrenElement.classList.add("children--hidden")}};this.updateToggleIcon=function(){if(i.toggle==="folder"){i.currentToggleIcon=i.expanded?z:j;return}i.currentToggleIcon=k};this.onClick=function(){if(i.async&&!i.expanded){i.idle();return}i.updateToggle()};this.idle=function(){i.await=true;i.expandEvent.emit({element:i.host})};this.updateToggle=function(){i.expanded=!i.expanded;i.updateToggleIcon()};
5
+ // mdsTreeItemCollapse waits for the branch to close, so it reads the duration of that
6
+ // transition when the item collapses; an invalid value leaves the transition at 0s too
7
+ this.updateCssCustomProperty=function(){var e=window.getComputedStyle(i.host);i.cssToggleChildrenDuration=e.getPropertyValue("--mds-tree-item-transition-duration")};
8
+ /**
9
+ * Resolves the effective actions mode: the item's own value wins, otherwise it
10
+ * inherits the nearest ancestor (tree-item or tree) that sets one. Replaces the
11
+ * :host-context own-vs-ancestor cascade with a value reflected on the host.
12
+ */this.resolveActions=function(){var e;var t=i.host.closest("mds-tree-item[actions], mds-tree[actions]");i.resolvedActions=(e=t===null||t===void 0?void 0:t.getAttribute("actions"))!==null&&e!==void 0?e:"auto"};
13
+ // the buttons that open the branch say whether it is open; a leaf has no branch to open,
14
+ // an async item has one still to load
15
+ this.expandedState=function(){return i.hasChildren||i.async?String(!!i.expanded):undefined};this.onActionSlotChange=function(){i.hasActions=d(i.host,"action")};
16
+ // an item whose children are rendered after load, a branch loaded on demand, gets the toggle
17
+ // and the lines of a branch too: they were read once, on load (#826)
18
+ this.updateHasChildren=function(){i.hasChildren=!!i.host.querySelector("mds-tree-item")}}e.prototype.handleIconChange=function(){this.updateToggleIcon()};e.prototype.handleExpandedChange=function(e){var t=this;var r;
19
+ // the folder icon follows the branch opened or closed by the tree too, not only by a click
20
+ this.updateToggleIcon();if(e){(r=this.childrenElement)===null||r===void 0?void 0:r.classList.remove("children--hidden");return}this.updateCssCustomProperty();this.toggleChildrenTimer=setTimeout((function(){clearTimeout(t.toggleChildrenTimer);t.collapsedEvent.emit({element:t.host})}),c(this.cssToggleChildrenDuration,0))};
21
+ /**
22
+ * Expands the tree item, revealing its children.
23
+ */e.prototype.expand=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.expanded=true;this.await=false;this.updateToggleIcon();return[2/*return*/]}))}))};e.prototype.handleActionsChange=function(){this.resolveActions()};
24
+ /**
25
+ * `internal` Re-resolves the effective actions; called by mds-tree when its own
26
+ * actions changes so items that inherit it stay in sync.
27
+ */e.prototype.refreshActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.resolveActions();return[2/*return*/]}))}))};e.prototype.componentWillLoad=function(){this.updateToggleIcon();this.resolveActions();this.hasActions=d(this.host,"action");this.updateHasChildren()};e.prototype.componentDidLoad=function(){var e;this.updateCssCustomProperty();this.childrenElement=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".children");this.childrenElement.addEventListener("transitionend",this.checkChildrenTransitionEnd)};e.prototype.disconnectedCallback=function(){this.childrenElement.removeEventListener("transitionend",this.checkChildrenTransitionEnd)};e.prototype.render=function(){return i(o,{key:"735098e78ac200244db7f011e0d60f5111324af1","resolved-actions":this.resolvedActions,role:"listitem"},i("div",{key:"c416d0e4ced03af6ea187fe85dd99edd1634f7de",class:n("header",this.hasChildren&&"header--has-children")},i("div",{key:"07952207361f352ad77724a181d1177a61aedfe7",class:"tree-node"},i("div",{key:"a6a3b6cfadd34471fcc0236e37653008b53a3c6b",class:"tree-branch"}),i("div",{key:"ed2ace03fa2e4d94994d35c66d7083a02ddd85b3",class:"tree-dot"})),i("div",{key:"3f5dd3c32641cd32157e1ad9ca61b9653719e991",class:"toggle-icon"},i("mds-button",{key:"a24fe48961109b728eafecf0fd1a95debfd6dc1c","aria-expanded":this.expandedState(),await:this.await,onClick:this.onClick,icon:!this.await?this.currentToggleIcon:undefined,title:this.t.get(this.expanded?"collapse":"expand",{label:this.label}),variant:"dark",tone:"text",size:"sm"})),i("div",{key:"2508c264bb305a850f5de7f5338a93d2b7256812",class:"title"},i("mds-button",{key:"a700b659554c64c9d1ac43de263630d403b923e2","aria-expanded":this.expandedState(),class:n("label-action",this.await&&"label-action--await"),disabled:this.await,icon:this.icon,onClick:this.onClick,variant:"dark",tone:"text",truncate:this.truncate,label:this.label}),i("div",{key:"875dc79ae0953f8f2ad24c1680fbf2f31e6b5392",class:n("actions-container",this.hasActions&&"actions-container--has-actions"),part:"actions-container"},i("div",{key:"a27e94d38d41a1ce1146fd1f3f9cd4ade4ce7e3b",class:"actions",part:"actions-list"},i("slot",{key:"384a111728b3fb61d6444c34d53781e9d5898135",name:"action",onSlotchange:this.onActionSlotChange}))))),i("div",{key:"2303bbbd30f35902771fdb9c877e205698c1ea64",class:n("children",this.hasChildren&&"children--has-children",this.expanded&&"children--expanded"),role:this.hasChildren?"list":undefined},i("slot",{key:"03b549736e3f0dfcfdd72cd9793c0fb475c8b409",onSlotchange:this.updateHasChildren})))};Object.defineProperty(e.prototype,"host",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{toggle:[{handleIconChange:0}],expanded:[{handleExpandedChange:0}],actions:[{handleActionsChange:0}]}},enumerable:false,configurable:true});return e}());_.style=C()}}}));
@@ -0,0 +1,10 @@
1
+ System.register(["./p-CmzGV0XD.system.js","./p-C61qxZLH.system.js","./p-D9J8lbUv.system.js","./p-C1ailvfu.system.js","./p-D8596ytD.system.js"],(function(e){"use strict";var o,r,a,t,l,n,s,b,d;return{setters:[function(e){o=e.r;r=e.d;a=e.h;t=e.e;l=e.g},function(e){n=e.m},function(e){s=e.K},function(e){b=e.L},function(e){d=e.p}],execute:function(){var i="Αφαίρεση";var c={deleteLabel:i};var m="Remove";var g={deleteLabel:m};var v="Eliminar";var h={deleteLabel:v};var u="Rimuovi";var f={deleteLabel:u};var p=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-button: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-note-background:rgb(var(--label-yellow-10,253 236 186));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-fold-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-note-fold-size:40px;--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68)));--mds-note-transition-duration:var(--duration-300,.3s);--private-note-transition-duration:var(--mds-note-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-note-background,rgb(var(--label-yellow-10,253 236 186)));border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));color:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*200);overflow:hidden;padding:calc(var(--spacing,.0025rem)*600);position:relative;transition-duration:var(--private-note-transition-duration);transition-property:color,background-color}:host ::slotted(mds-text){--mds-text-selection-background:var(--mds-note-selection-background,var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251))));--mds-text-selection-color:var(--mds-note-selection-color,var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68))))}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*1600)}:host([deletable]:not([deletable=false])) .button-close{position:absolute;right:calc(var(--spacing,.0025rem)*400);top:calc(var(--spacing,.0025rem)*400)}.fold{border-color:#0000 #0000 var(--mds-note-fold-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) #0000;border-style:solid;border-width:0 0 var(--mds-note-fold-size,40px) var(--mds-note-fold-size,40px);bottom:0;display:block;filter:drop-shadow(0 0 var(--mds-note-fold-size,40px) var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3))));height:0;opacity:.4;pointer-events:none;position:absolute;right:0;transition-duration:inherit;transition-property:border;width:0}.button-close{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:#0000;border-radius:var(--magma-radius-full,var(--radius-full,1000px));cursor:pointer;fill:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));padding:calc(var(--spacing,.0025rem)*100);transition-duration:var(--duration-200,.2s);transition-property:background-color,fill,outline,outline-offset;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.button-close:hover{background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5)}:host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-09,253 214 221));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-selection-color:rgb(var(--label-amaranth-04,213 12 47))}:host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-09,151 237 252));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-selection-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=blue]){--mds-note-background:rgb(var(--label-blue-09,216 222 254));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-08,200 210 253));--mds-note-selection-color:rgb(var(--label-blue-04,63 94 248))}:host([variant=green]){--mds-note-background:rgb(var(--label-green-09,165 240 193));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-08,125 232 164));--mds-note-selection-color:rgb(var(--label-green-04,22 128 61))}:host([variant=lime]){--mds-note-background:rgb(var(--label-lime-09,189 239 111));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-08,159 232 46));--mds-note-selection-color:rgb(var(--label-lime-04,81 124 13))}:host([variant=orange]){--mds-note-background:rgb(var(--label-orange-09,253 217 191));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-08,253 201 166));--mds-note-selection-color:rgb(var(--label-orange-04,185 78 5))}:host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-09,251 213 232));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-selection-color:rgb(var(--label-orchid-04,206 21 113))}:host([variant=purple]){--mds-note-background:rgb(var(--label-purple-09,235 216 253));--mds-note-color:rgb(var(--label-purple-02,90 8 168));--mds-note-selection-background:rgb(var(--label-purple-08,228 202 252));--mds-note-selection-color:rgb(var(--label-purple-04,150 51 245))}:host([variant=red]){--mds-note-background:rgb(var(--label-red-09,250 215 215));--mds-note-color:rgb(var(--label-red-02,131 17 17));--mds-note-selection-background:rgb(var(--label-red-08,248 201 201));--mds-note-selection-color:rgb(var(--label-red-04,212 28 28))}:host([variant=sky]){--mds-note-background:rgb(var(--label-sky-09,185 231 251));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-08,157 220 249));--mds-note-selection-color:rgb(var(--label-sky-04,10 118 167))}:host([variant=violet]){--mds-note-background:rgb(var(--label-violet-09,229 218 253));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-08,219 205 252));--mds-note-selection-color:rgb(var(--label-violet-04,126 73 245))}:host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-09,251 221 131));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-selection-color:rgb(var(--label-yellow-04,141 107 5))}: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-note-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-note-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}}'};var k=e("mds_note",/** @class */function(){function e(e){var a=this;o(this,e);this.deleteEvent=r(this,"mdsNoteDelete",7);this.km=new s;this.t=new b({el:c,en:g,es:h,it:f});
2
+ /**
3
+ * Enables the cross icon to perform cancel/delete action on element
4
+ */this.deletable=false;
5
+ /**
6
+ * Specifies the color variant for the element
7
+ */this.variant="yellow";this.onClickClose=function(){a.deleteEvent.emit()};
8
+ // Enter clicks the note only while it can be deleted: it was attached on load whatever
9
+ // `deletable` said, and taken off only by the next update
10
+ this.syncClickBehavior=function(){if(a.deletable){a.km.addElement(a.host);a.km.attachClickBehavior();return}a.km.detachClickBehavior()}}e.prototype.componentDidLoad=function(){this.syncClickBehavior()};e.prototype.componentDidUpdate=function(){this.syncClickBehavior()};e.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};e.prototype.render=function(){return a(t,{key:"afc4f6edaa1335d3fa8f423868a7360123ddd092",role:"note","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},this.deletable&&a("mds-button",{key:"14c72715f75fbe34ecbce103857344c5b8c156c7",title:this.t.get("deleteLabel"),icon:n,class:"button-close",variant:"dark",tone:"text",onClick:this.onClickClose}),a("slot",{key:"3aee270bd7e583869d0804597c2d87380f274a7b",name:"title"}),a("slot",{key:"151050ec4554c2bfd050806226abf3de06f92b13"}),a("div",{key:"fe68e569f2f7571dcb0c565e030a5c1683647e39","aria-hidden":"true",class:"fold"}))};Object.defineProperty(e.prototype,"host",{get:function(){return l(this)},enumerable:false,configurable:true});return e}());k.style=p()}}}));
@@ -0,0 +1,17 @@
1
+ System.register(["./p-CmzGV0XD.system.js","./p-C1ailvfu.system.js","./p-D8596ytD.system.js"],(function(t){"use strict";var e,i,s,a,o,n;return{setters:[function(t){e=t.r;i=t.d;s=t.h;a=t.e},function(t){o=t.L},function(t){n=t.p}],execute:function(){var r='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.314 12.492c-.943-.837-4.99-3.526-8.385-5.563 2.037 3.395 4.726 7.442 5.563 8.384q.045.052.094.101a2 2 0 1 0 2.728-2.922"/>\n <path d="M2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-5.523-4.477-10-10-10a9.95 9.95 0 0 0-5.416 1.592c.64.39 1.292.795 1.937 1.202A8 8 0 0 1 18.93 18H5.07A7.96 7.96 0 0 1 4 14c0-1.247.285-2.427.794-3.48-.407-.644-.812-1.297-1.202-1.936A9.95 9.95 0 0 0 2 14"/>\n</svg>\n';var m='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M9.885 4.224C5.378 5.194 2 9.203 2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-4.797-3.378-8.805-7.885-9.776.177.728.352 1.476.52 2.22A8.003 8.003 0 0 1 18.93 18H5.07A8.003 8.003 0 0 1 9.365 6.444a137 137 0 0 1 .52-2.22"/>\n <path d="M13.995 13.862C13.921 12.605 12.96 7.842 12 4c-.96 3.841-1.92 8.605-1.995 9.862a2 2 0 1 0 3.99 0"/>\n</svg>\n';var c='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.508 15.314c.837-.943 3.526-4.99 5.563-8.385-3.395 2.037-7.443 4.726-8.385 5.563q-.051.045-.1.094a2 2 0 1 0 2.922 2.728"/>\n <path d="M3.44 19.173A9.95 9.95 0 0 1 2 14C2 8.477 6.477 4 12 4c1.996 0 3.855.585 5.416 1.592-.64.39-1.292.795-1.937 1.202A8 8 0 0 0 5.07 18h13.86A7.96 7.96 0 0 0 20 14a8 8 0 0 0-.794-3.48c.407-.644.813-1.297 1.202-1.936A9.95 9.95 0 0 1 22 14a9.95 9.95 0 0 1-1.44 5.173c-.326.538-.93.827-1.558.827H4.998c-.629 0-1.232-.29-1.558-.827"/>\n</svg>\n';var d="Υψηλή";var l="Χαμηλή";var u="Μεσαία";var f="Κατανάλωση";var h={consumptionHigh:d,consumptionLow:l,consumptionMedium:u,label:f};var v="High";var g="Low";var p="Medium";var b="Consumption";var w={consumptionHigh:v,consumptionLow:g,consumptionMedium:p,label:b};var x="Alto";var y="Bajo";var C="Medio";var M="Consumo";var A={consumptionHigh:x,consumptionLow:y,consumptionMedium:C,label:M};var k="Alto";var H="Basso";var j="Medio";var L="Consumo";var B={consumptionHigh:k,consumptionLow:H,consumptionMedium:j,label:L};var S=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,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{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--high{--mds-tab-item-selected-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}.item--medium{--mds-tab-item-selected-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}.item--low{--mds-tab-item-selected-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more]) .item--high{--mds-tab-item-default-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([pref-contrast=more]) .item--medium{--mds-tab-item-default-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([pref-contrast=more]) .item--low{--mds-tab-item-default-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--high{--mds-tab-item-default-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--medium{--mds-tab-item-default-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--low{--mds-tab-item-default-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}}"};var D=t("mds_pref_consumption",/** @class */function(){function t(t){var s=this;e(this,t);this.prefChangeEvent=i(this,"mdsPrefChange",7);this.localStorageAlias="mdsPrefConsumption";this.customPropertyAlias="--magma-pref-consumption";this.defaultMode="high";this.syncingFromStore=false;this.t=new o({el:h,en:w,es:A,it:B});this.consumption={high:{selector:"pref-consumption-high",label:"consumptionHigh"},medium:{selector:"pref-consumption-medium",label:"consumptionMedium"},low:{selector:"pref-consumption-low",label:"consumptionLow"}};this.isMode=function(t){return t!=null&&{}.hasOwnProperty.call(s.consumption,t)};this.warnInvalidMode=function(t){console.warn('mds-pref-consumption: ignoring the invalid mode "'.concat(t,'", use one of: ').concat(Object.keys(s.consumption).join(", ")))};
2
+ /**
3
+ * Follows a consumption applied elsewhere (another instance, or a writer of the
4
+ * `<html>` classes) without applying it again: no event, no storage write.
5
+ */this.syncConsumption=function(t){if(t===undefined||t===s.mode){return}s.syncingFromStore=true;s.mode=t;s.appliedMode=t;s.syncingFromStore=false};
6
+ /**
7
+ * Applies a consumption once per change, and announces it once applied: the `mode` watcher
8
+ * calls this again for the value it has just been given, which used to emit a second
9
+ * mdsPrefChange, and the first application, the one of load, is no change to announce.
10
+ */this.setConsumption=function(t){if(t===s.appliedMode){s.mode=t;return}var e=s.appliedMode===undefined;s.appliedMode=t;s.mode=t;localStorage.setItem(s.localStorageAlias,s.mode);if(typeof document!=="undefined"){var i=document.querySelector("html");for(var a in s.consumption){if({}.hasOwnProperty.call(s.consumption,a)){i===null||i===void 0?void 0:i.classList.remove(s.consumption[a].selector)}}i===null||i===void 0?void 0:i.classList.add(s.consumption[s.mode].selector);i===null||i===void 0?void 0:i.style.setProperty(s.customPropertyAlias,s.mode)}n.state.consumption=t;if(!e){s.prefChangeEvent.emit({preference:"consumption"})}};this.handleModeClick=function(t){return function(){s.setConsumption(t)}}}
11
+ // Applied once, on load, then mirrored from the shared store (see mds-pref-mode). A mode
12
+ // outside the union is ignored, and one an earlier page left in the storage is dropped: it was
13
+ // applied, threw, and broke every following load too (#825)
14
+ t.prototype.componentWillLoad=function(){var t;if(this.mode!=null&&!this.isMode(this.mode))this.warnInvalidMode(this.mode);var e=localStorage.getItem(this.localStorageAlias);if(e!==null&&!this.isMode(e))localStorage.removeItem(this.localStorageAlias);this.setConsumption((t=[this.mode,e].find(this.isMode))!==null&&t!==void 0?t:this.defaultMode)};t.prototype.connectedCallback=function(){this.unsubscribeStore=n.onChange("consumption",this.syncConsumption)};t.prototype.disconnectedCallback=function(){var t;(t=this.unsubscribeStore)===null||t===void 0?void 0:t.call(this)};t.prototype.modeChanged=function(t){if(this.syncingFromStore){return}
15
+ // a mode outside the union, or the attribute removed, is not applied: the instance goes back
16
+ // to the consumption of the page
17
+ if(!this.isMode(t)){if(t!=null)this.warnInvalidMode(t);this.syncConsumption(n.state.consumption);return}this.setConsumption(t)};t.prototype.render=function(){var t;return s(a,{key:"8cefd0a0898e2865f7c3262cdf1b7d4cff70ca48","pref-contrast":n.state.contrast},s("mds-text",{key:"d87939dcf15a0f3e4f217c97fafb6dc6564cee5b",class:"info",typography:"caption"},s("b",{key:"205fe30173dec1c6a63b4dd2bf008d7edcea2900"},this.t.get("label"))," ",this.t.get(this.consumption[(t=this.mode)!==null&&t!==void 0?t:this.defaultMode].label)),s("mds-tab",{key:"6e87fd04f67fb8ca65a41469d8690cb7d6225fcd",fill:true,size:this.size},s("mds-tab-item",{key:"cec3f2a522431fe305489abb616afa87e52f8540",selected:this.mode==="low",onClick:this.handleModeClick("low"),class:"item item--low",icon:r,title:this.t.get(this.consumption.low.label)}),s("mds-tab-item",{key:"c92c93637404a8391c1e7b76b93e35dfaf420612",selected:this.mode==="medium",onClick:this.handleModeClick("medium"),class:"item item--medium",icon:m,title:this.t.get(this.consumption.medium.label)}),s("mds-tab-item",{key:"6ffb2cc2f73ddd53e010376549e75f9e01f517a7",selected:this.mode==="high",onClick:this.handleModeClick("high"),class:"item item--high",icon:c,title:this.t.get(this.consumption.high.label)})))};Object.defineProperty(t,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return t}());D.style=S()}}}));
@@ -0,0 +1,5 @@
1
+ System.register(["./p-CmzGV0XD.system.js","./p-D8596ytD.system.js","./p-BeNKMPXR.system.js"],(function(e){"use strict";var t,a,r,o,i,n;return{setters:[function(e){t=e.r;a=e.h;r=e.e;o=e.g},function(e){i=e.p},function(e){n=e.o}],execute:function(){var s=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-separator: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-price-table-list-separator-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))/.5);--mds-price-table-list-transition-duration:var(--duration-200,.2s);--private-price-table-list-transition-duration:var(--mds-price-table-list-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:rgb(var(--label-green-10,206 247 221));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*600);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color,color}.separator{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-list-separator-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))/.5));transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.header,.main{display:grid}.main{gap:calc(var(--spacing,.0025rem)*300)}.footer{display:grid;gap:calc(var(--spacing,.0025rem)*400)}: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-price-table-list-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.5);background-color:rgb(var(--label-green-09,165 240 193));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.5);box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-list-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.5);background-color:rgb(var(--label-green-09,165 240 193));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.5);box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'};var d=e("mds_price_table_list",/** @class */function(){function e(e){var a=this;t(this,e);
2
+ // The region of the items is rendered only with items, so no slotchange tells the list of the
3
+ // ones rendered after load, a page that fetches them (#826): it reads them again when its
4
+ // content changes. The observer stays on the host when it moves, and goes with it.
5
+ this.updateItems=function(){a.hasItems=a.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length>0}}e.prototype.componentWillLoad=function(){this.updateItems();n(this.hostElement,this.updateItems)};e.prototype.render=function(){return a(r,{key:"601cebefd295169a47aa96afd221db6ea4a70904","pref-animation":i.state.animation,"pref-contrast":i.state.contrast,"pref-mode":i.state.mode,"pref-theme-scheme":i.state["theme-scheme"]},a("div",{key:"87da18c7994577027dc2ee943c8f37de230e3591",class:"header",part:"header"},a("slot",{key:"512ba8c6721a54a115922c335d08b9d1d58538ec",name:"header"})),this.hasItems&&a("mds-separator",{key:"a21cf2a55b4ed41fa8f3af840c8e138676a7ee91",class:"separator"}),this.hasItems&&a("div",{key:"69522140ac3c5343c2ee4074691937610bd41c2f",class:"main",part:"content"},a("slot",{key:"442fbbe53150fcb135e9f442a8e5b8069c955ded",name:"item"})),a("div",{key:"a45774c2fa0f1381f20900dfb0e0ba784306b3b1",class:"footer",part:"footer"},a("slot",{key:"188e67207d4d71f9dffd9dabd60327823d2887c2",name:"price"}),a("slot",{key:"742c53165eaf70cd276f4c609ab159137ab5878f",name:"action"})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());d.style=s()}}}));
@@ -1 +1 @@
1
- import{r as e,h as o,e as r}from"./p-BxPbQB28.js";const t=class{constructor(o){e(this,o)}render(){return o(r,{key:"09063cd00e75b0949a6836416a2c768bd575f50f",slot:"footer"},o("slot",{key:"c06e99b7186e4037aa5c386eddd2ebb404b20e99"}))}};t.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{align-items:center;background-color:var(--mds-card-background);display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*400);justify-content:flex-end;min-width:0;padding:calc(var(--spacing,.0025rem)*400)}";export{t as mds_card_footer}
1
+ import{r as e,h as o,e as r}from"./p-CPRkNQdE.js";const t=class{constructor(o){e(this,o)}render(){return o(r,{key:"09063cd00e75b0949a6836416a2c768bd575f50f",slot:"footer"},o("slot",{key:"c06e99b7186e4037aa5c386eddd2ebb404b20e99"}))}};t.style="@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{align-items:center;background-color:var(--mds-card-background);display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*400);justify-content:flex-end;min-width:0;padding:calc(var(--spacing,.0025rem)*400)}";export{t as mds_card_footer}