@maggioli-design-system/magma 2.0.0-beta.2 → 2.0.0-beta.5

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 (1601) hide show
  1. package/README.md +46 -6
  2. package/dist/cjs/date-B28IitWe.js +24 -0
  3. package/dist/cjs/floating-controller-Cd_vNLLD.js +369 -0
  4. package/dist/cjs/floating-ui.dom-DflSHZIo.js +1688 -0
  5. package/dist/cjs/form-DTCBh5WK.js +22 -0
  6. package/dist/cjs/index--6wz7eWi.js +5183 -0
  7. package/dist/cjs/index.cjs.js +17 -0
  8. package/dist/cjs/keyboard-manager-C_Eaxw-C.js +52 -0
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/cjs/locale-CB5_Z7PE.js +816 -0
  11. package/dist/cjs/magma-components.cjs.js +31 -4
  12. package/dist/cjs/mds-accordion-item.cjs.entry.js +7 -6
  13. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +8 -7
  14. package/dist/cjs/mds-accordion-timer.cjs.entry.js +3 -3
  15. package/dist/cjs/mds-accordion.cjs.entry.js +17 -7
  16. package/dist/cjs/mds-author.cjs.entry.js +9 -4
  17. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +2 -2
  18. package/dist/cjs/mds-avatar-stack.cjs.entry.js +5 -4
  19. package/dist/cjs/mds-avatar.cjs.entry.js +15 -12
  20. package/dist/cjs/mds-badge.cjs.entry.js +5 -4
  21. package/dist/cjs/mds-banner_3.cjs.entry.js +40 -36
  22. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +3 -3
  23. package/dist/cjs/mds-bibliography.cjs.entry.js +2 -2
  24. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +3 -3
  25. package/dist/cjs/mds-breadcrumb.cjs.entry.js +12 -20
  26. package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
  27. package/dist/cjs/mds-button-group.cjs.entry.js +3 -3
  28. package/dist/cjs/mds-button_3.cjs.entry.js +13 -14
  29. package/dist/cjs/mds-calendar_2.cjs.entry.js +183 -160
  30. package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
  31. package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
  32. package/dist/cjs/mds-card-header.cjs.entry.js +9 -4
  33. package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
  34. package/dist/cjs/mds-card.cjs.entry.js +6 -5
  35. package/dist/cjs/mds-details.cjs.entry.js +8 -6
  36. package/dist/cjs/mds-dropdown.cjs.entry.js +201 -55
  37. package/dist/cjs/mds-emoji.cjs.entry.js +301 -181
  38. package/dist/cjs/mds-entity.cjs.entry.js +11 -5
  39. package/dist/cjs/mds-file-preview.cjs.entry.js +8 -14
  40. package/dist/cjs/mds-file.cjs.entry.js +8 -14
  41. package/dist/cjs/mds-filter-item.cjs.entry.js +6 -5
  42. package/dist/cjs/mds-filter.cjs.entry.js +19 -10
  43. package/dist/cjs/mds-header-bar.cjs.entry.js +11 -5
  44. package/dist/cjs/mds-header.cjs.entry.js +10 -8
  45. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
  46. package/dist/cjs/mds-hr.cjs.entry.js +4 -3
  47. package/dist/cjs/mds-img.cjs.entry.js +11 -18
  48. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
  49. package/dist/cjs/mds-input-date-range.cjs.entry.js +61 -30
  50. package/dist/cjs/mds-input-date.cjs.entry.js +28 -34
  51. package/dist/cjs/mds-input-field.cjs.entry.js +42 -6
  52. package/dist/cjs/mds-input-otp.cjs.entry.js +38 -4
  53. package/dist/cjs/mds-input-range.cjs.entry.js +9 -7
  54. package/dist/cjs/mds-input-select.cjs.entry.js +11 -19
  55. package/dist/cjs/mds-input-switch_2.cjs.entry.js +19 -32
  56. package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -17
  57. package/dist/cjs/mds-input-upload.cjs.entry.js +45 -37
  58. package/dist/cjs/mds-input.cjs.entry.js +26 -32
  59. package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -14
  60. package/dist/cjs/mds-keyboard.cjs.entry.js +20 -21
  61. package/dist/cjs/mds-kpi-item.cjs.entry.js +12 -3
  62. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  63. package/dist/cjs/mds-label.cjs.entry.js +7 -13
  64. package/dist/cjs/mds-list-item.cjs.entry.js +4 -3
  65. package/dist/cjs/mds-list.cjs.entry.js +2 -2
  66. package/dist/cjs/mds-mention.cjs.entry.js +38 -4
  67. package/dist/cjs/mds-modal.cjs.entry.js +150 -65
  68. package/dist/cjs/mds-note.cjs.entry.js +7 -15
  69. package/dist/cjs/mds-notification.cjs.entry.js +16 -8
  70. package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -4
  71. package/dist/cjs/mds-paginator.cjs.entry.js +42 -10
  72. package/dist/cjs/mds-policy-ai.cjs.entry.js +8 -15
  73. package/dist/cjs/mds-pref-animation.cjs.entry.js +10 -19
  74. package/dist/cjs/mds-pref-consumption.cjs.entry.js +10 -19
  75. package/dist/cjs/mds-pref-contrast.cjs.entry.js +13 -20
  76. package/dist/cjs/mds-pref-language-item.cjs.entry.js +28 -16
  77. package/dist/cjs/mds-pref-language.cjs.entry.js +38 -28
  78. package/dist/cjs/mds-pref-mode.cjs.entry.js +273 -0
  79. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +43 -0
  80. package/dist/cjs/mds-pref-theme.cjs.entry.js +148 -222
  81. package/dist/cjs/mds-pref.cjs.entry.js +41 -18
  82. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -3
  83. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -3
  84. package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -3
  85. package/dist/cjs/mds-price-table-header.cjs.entry.js +3 -3
  86. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
  87. package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -3
  88. package/dist/cjs/mds-price-table.cjs.entry.js +3 -3
  89. package/dist/cjs/mds-progress_2.cjs.entry.js +7 -11
  90. package/dist/cjs/mds-push-notification-item.cjs.entry.js +19 -20
  91. package/dist/cjs/mds-push-notification.cjs.entry.js +7 -6
  92. package/dist/cjs/mds-quote.cjs.entry.js +4 -3
  93. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
  94. package/dist/cjs/mds-radial-menu.cjs.entry.js +7 -6
  95. package/dist/cjs/mds-separator.cjs.entry.js +4 -3
  96. package/dist/cjs/mds-status-bar.cjs.entry.js +5 -4
  97. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +14 -17
  98. package/dist/cjs/mds-stepper-bar.cjs.entry.js +21 -12
  99. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +6 -5
  100. package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -4
  101. package/dist/cjs/mds-tab_2.cjs.entry.js +28 -11
  102. package/dist/cjs/mds-table-body.cjs.entry.js +4 -3
  103. package/dist/cjs/mds-table-footer.cjs.entry.js +4 -3
  104. package/dist/cjs/mds-table-header-cell.cjs.entry.js +4 -3
  105. package/dist/cjs/mds-table-header.cjs.entry.js +19 -21
  106. package/dist/cjs/mds-table-row.cjs.entry.js +20 -21
  107. package/dist/cjs/mds-table.cjs.entry.js +62 -30
  108. package/dist/cjs/mds-text.cjs.entry.js +36 -11
  109. package/dist/cjs/mds-toast.cjs.entry.js +10 -5
  110. package/dist/cjs/mds-tooltip.cjs.entry.js +30 -21
  111. package/dist/cjs/mds-tree-item.cjs.entry.js +36 -14
  112. package/dist/cjs/mds-tree.cjs.entry.js +44 -6
  113. package/dist/cjs/mds-url-view.cjs.entry.js +21 -21
  114. package/dist/cjs/mds-usage.cjs.entry.js +5 -11
  115. package/dist/cjs/mds-video-wall.cjs.entry.js +8 -4
  116. package/dist/cjs/mds-zero.cjs.entry.js +4 -3
  117. package/dist/cjs/preference-eJcbLLAn.js +389 -0
  118. package/dist/cjs/slot-RmXfgH4P.js +69 -0
  119. package/dist/collection/collection-manifest.json +3 -3
  120. package/dist/collection/common/date.js +9 -1
  121. package/dist/collection/common/floating-controller.js +180 -14
  122. package/dist/collection/common/form.js +18 -0
  123. package/dist/collection/common/keyboard-manager.js +5 -5
  124. package/dist/collection/common/locale.js +9 -31
  125. package/dist/collection/common/preference.js +102 -0
  126. package/dist/collection/common/slot.js +14 -1
  127. package/dist/collection/common/yugop/random-text.js +12 -3
  128. package/dist/collection/components/mds-accordion/mds-accordion.css +16 -72
  129. package/dist/collection/components/mds-accordion/mds-accordion.js +18 -8
  130. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +89 -96
  131. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -1
  132. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -37
  133. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +66 -44
  134. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -1
  135. package/dist/collection/components/mds-author/mds-author.css +5 -1
  136. package/dist/collection/components/mds-author/mds-author.js +14 -2
  137. package/dist/collection/components/mds-avatar/mds-avatar.css +151 -129
  138. package/dist/collection/components/mds-avatar/mds-avatar.js +13 -10
  139. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +30 -77
  140. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +3 -2
  141. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +11 -137
  142. package/dist/collection/components/mds-badge/mds-badge.css +197 -164
  143. package/dist/collection/components/mds-badge/mds-badge.js +2 -1
  144. package/dist/collection/components/mds-banner/mds-banner.css +174 -196
  145. package/dist/collection/components/mds-banner/mds-banner.js +16 -40
  146. package/dist/collection/components/mds-bibliography/mds-bibliography.css +8 -26
  147. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -82
  148. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +11 -46
  149. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +15 -67
  150. package/dist/collection/components/mds-button/mds-button.css +307 -357
  151. package/dist/collection/components/mds-button/mds-button.js +4 -3
  152. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +24 -34
  153. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  154. package/dist/collection/components/mds-button-group/mds-button-group.css +24 -0
  155. package/dist/collection/components/mds-button-group/mds-button-group.js +2 -2
  156. package/dist/collection/components/mds-calendar/mds-calendar.css +13 -69
  157. package/dist/collection/components/mds-calendar/mds-calendar.js +210 -185
  158. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +88 -299
  159. package/dist/collection/components/mds-card/mds-card.css +18 -31
  160. package/dist/collection/components/mds-card/mds-card.js +8 -7
  161. package/dist/collection/components/mds-card-content/mds-card-content.css +1 -0
  162. package/dist/collection/components/mds-card-footer/mds-card-footer.css +1 -0
  163. package/dist/collection/components/mds-card-header/mds-card-header.css +5 -0
  164. package/dist/collection/components/mds-card-header/mds-card-header.js +14 -2
  165. package/dist/collection/components/mds-card-media/mds-card-media.css +1 -1
  166. package/dist/collection/components/mds-chip/mds-chip.css +350 -297
  167. package/dist/collection/components/mds-chip/mds-chip.js +19 -37
  168. package/dist/collection/components/mds-details/mds-details.css +75 -38
  169. package/dist/collection/components/mds-details/mds-details.js +4 -2
  170. package/dist/collection/components/mds-dropdown/mds-dropdown.css +126 -124
  171. package/dist/collection/components/mds-dropdown/mds-dropdown.js +210 -62
  172. package/dist/collection/components/mds-emoji/asset/mia.svg +3 -3
  173. package/dist/collection/components/mds-emoji/mds-emoji.css +15 -179
  174. package/dist/collection/components/mds-emoji/mds-emoji.js +297 -177
  175. package/dist/collection/components/mds-entity/mds-entity.css +35 -77
  176. package/dist/collection/components/mds-entity/mds-entity.js +17 -3
  177. package/dist/collection/components/mds-file/mds-file.css +131 -95
  178. package/dist/collection/components/mds-file/mds-file.js +8 -36
  179. package/dist/collection/components/mds-file-preview/mds-file-preview.css +313 -236
  180. package/dist/collection/components/mds-file-preview/mds-file-preview.js +4 -36
  181. package/dist/collection/components/mds-filter/mds-filter.css +103 -98
  182. package/dist/collection/components/mds-filter/mds-filter.js +16 -7
  183. package/dist/collection/components/mds-filter-item/mds-filter-item.css +102 -62
  184. package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -1
  185. package/dist/collection/components/mds-header/mds-header.css +29 -71
  186. package/dist/collection/components/mds-header/mds-header.js +10 -8
  187. package/dist/collection/components/mds-header-bar/mds-header-bar.css +82 -33
  188. package/dist/collection/components/mds-header-bar/mds-header-bar.js +9 -2
  189. package/dist/collection/components/mds-help/mds-help.css +1 -19
  190. package/dist/collection/components/mds-help/mds-help.js +7 -7
  191. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +23 -118
  192. package/dist/collection/components/mds-hr/mds-hr.css +6 -12
  193. package/dist/collection/components/mds-hr/mds-hr.js +2 -1
  194. package/dist/collection/components/mds-icon/mds-icon.js +2 -4
  195. package/dist/collection/components/mds-icon/services/icons-set.service.js +16 -0
  196. package/dist/collection/components/mds-img/mds-img.css +12 -48
  197. package/dist/collection/components/mds-img/mds-img.js +8 -38
  198. package/dist/collection/components/mds-input/mds-input.css +147 -211
  199. package/dist/collection/components/mds-input/mds-input.js +36 -41
  200. package/dist/collection/components/mds-input-date/mds-input-date.css +137 -135
  201. package/dist/collection/components/mds-input-date/mds-input-date.js +63 -48
  202. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +130 -100
  203. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +81 -45
  204. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +19 -73
  205. package/dist/collection/components/mds-input-field/mds-input-field.css +65 -29
  206. package/dist/collection/components/mds-input-field/mds-input-field.js +41 -4
  207. package/dist/collection/components/mds-input-otp/mds-input-otp.js +38 -2
  208. package/dist/collection/components/mds-input-range/mds-input-range.css +92 -49
  209. package/dist/collection/components/mds-input-range/mds-input-range.js +6 -4
  210. package/dist/collection/components/mds-input-select/mds-input-select.css +158 -179
  211. package/dist/collection/components/mds-input-select/mds-input-select.js +28 -35
  212. package/dist/collection/components/mds-input-switch/mds-input-switch.css +96 -249
  213. package/dist/collection/components/mds-input-switch/mds-input-switch.js +12 -47
  214. package/dist/collection/components/mds-input-tip/mds-input-tip.css +61 -38
  215. package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -1
  216. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +113 -72
  217. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -38
  218. package/dist/collection/components/mds-input-upload/mds-input-upload.css +28 -42
  219. package/dist/collection/components/mds-input-upload/mds-input-upload.js +41 -52
  220. package/dist/collection/components/mds-keyboard/mds-keyboard.css +37 -125
  221. package/dist/collection/components/mds-keyboard/mds-keyboard.js +17 -40
  222. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +4 -28
  223. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -37
  224. package/dist/collection/components/mds-kpi/mds-kpi.css +6 -11
  225. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +139 -72
  226. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +10 -1
  227. package/dist/collection/components/mds-label/mds-label.css +278 -356
  228. package/dist/collection/components/mds-label/mds-label.js +3 -35
  229. package/dist/collection/components/mds-list/mds-list.css +4 -5
  230. package/dist/collection/components/mds-list-item/mds-list-item.css +14 -17
  231. package/dist/collection/components/mds-list-item/mds-list-item.js +2 -1
  232. package/dist/collection/components/mds-mention/mds-mention.css +19 -10
  233. package/dist/collection/components/mds-mention/mds-mention.js +62 -2
  234. package/dist/collection/components/mds-modal/mds-modal.css +256 -155
  235. package/dist/collection/components/mds-modal/mds-modal.js +177 -91
  236. package/dist/collection/components/mds-note/mds-note.css +262 -228
  237. package/dist/collection/components/mds-note/mds-note.js +3 -37
  238. package/dist/collection/components/mds-notification/mds-notification.css +88 -114
  239. package/dist/collection/components/mds-notification/mds-notification.js +17 -9
  240. package/dist/collection/components/mds-paginator/mds-paginator.css +111 -55
  241. package/dist/collection/components/mds-paginator/mds-paginator.js +39 -7
  242. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +103 -107
  243. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -1
  244. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +19 -16
  245. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +4 -38
  246. package/dist/collection/components/mds-pref/mds-pref.js +40 -40
  247. package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +58 -9
  248. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +7 -42
  249. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +20 -15
  250. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +7 -42
  251. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +12 -7
  252. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +10 -43
  253. package/dist/collection/components/mds-pref-language/mds-pref-language.css +3 -3
  254. package/dist/collection/components/mds-pref-language/mds-pref-language.js +35 -46
  255. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +24 -38
  256. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +79 -0
  257. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +372 -0
  258. package/dist/collection/components/mds-pref-mode/meta/dictionary.js +3 -0
  259. package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +12 -77
  260. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +184 -228
  261. package/dist/collection/components/mds-pref-theme/meta/dictionary.js +2 -3
  262. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +70 -0
  263. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +160 -0
  264. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  265. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +69 -41
  266. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -1
  267. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +106 -87
  268. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -1
  269. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +99 -55
  270. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +2 -1
  271. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  272. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +99 -48
  273. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -1
  274. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +9 -36
  275. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  276. package/dist/collection/components/mds-progress/mds-progress.css +132 -108
  277. package/dist/collection/components/mds-progress/mds-progress.js +2 -1
  278. package/dist/collection/components/mds-push-notification/mds-push-notification.css +17 -41
  279. package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -1
  280. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +211 -162
  281. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +18 -39
  282. package/dist/collection/components/mds-quote/mds-quote.css +11 -7
  283. package/dist/collection/components/mds-quote/mds-quote.js +2 -1
  284. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +6 -60
  285. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +3 -2
  286. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +1 -7
  287. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  288. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +24 -30
  289. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +3 -7
  290. package/dist/collection/components/mds-separator/mds-separator.css +14 -34
  291. package/dist/collection/components/mds-separator/mds-separator.js +2 -1
  292. package/dist/collection/components/mds-spinner/mds-spinner.css +32 -32
  293. package/dist/collection/components/mds-spinner/mds-spinner.js +2 -1
  294. package/dist/collection/components/mds-status-bar/mds-status-bar.css +31 -38
  295. package/dist/collection/components/mds-status-bar/mds-status-bar.js +3 -2
  296. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +21 -88
  297. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +18 -9
  298. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +101 -163
  299. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +10 -35
  300. package/dist/collection/components/mds-tab/mds-tab.css +125 -199
  301. package/dist/collection/components/mds-tab/mds-tab.js +19 -4
  302. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +85 -20
  303. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -1
  304. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +94 -56
  305. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +2 -1
  306. package/dist/collection/components/mds-tab-item/mds-tab-item.css +33 -43
  307. package/dist/collection/components/mds-tab-item/mds-tab-item.js +75 -1
  308. package/dist/collection/components/mds-table/mds-table.css +102 -126
  309. package/dist/collection/components/mds-table/mds-table.js +59 -28
  310. package/dist/collection/components/mds-table-body/mds-table-body.css +72 -49
  311. package/dist/collection/components/mds-table-body/mds-table-body.js +2 -1
  312. package/dist/collection/components/mds-table-cell/mds-table-cell.css +79 -40
  313. package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -1
  314. package/dist/collection/components/mds-table-footer/mds-table-footer.css +62 -8
  315. package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -1
  316. package/dist/collection/components/mds-table-header/mds-table-header.css +62 -8
  317. package/dist/collection/components/mds-table-header/mds-table-header.js +17 -37
  318. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.css +67 -17
  319. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +2 -1
  320. package/dist/collection/components/mds-table-row/mds-table-row.css +92 -63
  321. package/dist/collection/components/mds-table-row/mds-table-row.js +38 -41
  322. package/dist/collection/components/mds-text/mds-text.css +25 -43
  323. package/dist/collection/components/mds-text/mds-text.js +23 -7
  324. package/dist/collection/components/mds-toast/mds-toast.css +139 -105
  325. package/dist/collection/components/mds-toast/mds-toast.js +13 -3
  326. package/dist/collection/components/mds-tooltip/mds-tooltip.css +96 -96
  327. package/dist/collection/components/mds-tooltip/mds-tooltip.js +37 -28
  328. package/dist/collection/components/mds-tree/mds-tree.css +22 -214
  329. package/dist/collection/components/mds-tree/mds-tree.js +42 -4
  330. package/dist/collection/components/mds-tree-item/mds-tree-item.css +193 -343
  331. package/dist/collection/components/mds-tree-item/mds-tree-item.js +87 -14
  332. package/dist/collection/components/mds-url-view/mds-url-view.css +97 -59
  333. package/dist/collection/components/mds-url-view/mds-url-view.js +17 -43
  334. package/dist/collection/components/mds-usage/mds-usage.css +100 -97
  335. package/dist/collection/components/mds-usage/mds-usage.js +2 -34
  336. package/dist/collection/components/mds-video-wall/mds-video-wall.css +24 -40
  337. package/dist/collection/components/mds-video-wall/mds-video-wall.js +12 -2
  338. package/dist/collection/components/mds-zero/mds-zero.css +88 -34
  339. package/dist/collection/components/mds-zero/mds-zero.js +2 -1
  340. package/dist/collection/event-detail/theme.js +1 -0
  341. package/dist/collection/type/preference.js +22 -3
  342. package/dist/components/index.d.ts +230 -0
  343. package/dist/components/index.js +1 -1
  344. package/dist/components/mds-accordion-item.js +1 -1
  345. package/dist/components/mds-accordion-timer-item.js +1 -1
  346. package/dist/components/mds-accordion-timer.js +1 -1
  347. package/dist/components/mds-accordion.js +1 -1
  348. package/dist/components/mds-author.js +1 -1
  349. package/dist/components/mds-avatar-stack-item.js +1 -1
  350. package/dist/components/mds-avatar-stack.js +1 -1
  351. package/dist/components/mds-avatar.js +1 -1
  352. package/dist/components/mds-badge.js +1 -1
  353. package/dist/components/mds-banner.js +1 -1
  354. package/dist/components/mds-benchmark-bar.js +1 -1
  355. package/dist/components/mds-bibliography.js +1 -1
  356. package/dist/components/mds-breadcrumb-item.js +1 -1
  357. package/dist/components/mds-breadcrumb.js +1 -1
  358. package/dist/components/mds-button-dropdown.js +1 -1
  359. package/dist/components/mds-button-group.js +1 -1
  360. package/dist/components/mds-button.js +1 -1
  361. package/dist/components/mds-calendar-cell.js +1 -1
  362. package/dist/components/mds-calendar.js +1 -1
  363. package/dist/components/mds-card-content.js +1 -1
  364. package/dist/components/mds-card-footer.js +1 -1
  365. package/dist/components/mds-card-header.js +1 -1
  366. package/dist/components/mds-card-media.js +1 -1
  367. package/dist/components/mds-card.js +1 -1
  368. package/dist/components/mds-chip.js +1 -1
  369. package/dist/components/mds-details.js +1 -1
  370. package/dist/components/mds-dropdown.js +1 -1
  371. package/dist/components/mds-emoji.js +3 -3
  372. package/dist/components/mds-entity.js +1 -1
  373. package/dist/components/mds-file-preview.js +1 -1
  374. package/dist/components/mds-file.js +3 -3
  375. package/dist/components/mds-filter-item.js +1 -1
  376. package/dist/components/mds-filter.js +1 -1
  377. package/dist/components/mds-header-bar.js +1 -1
  378. package/dist/components/mds-header.js +1 -1
  379. package/dist/components/mds-help.js +1 -1
  380. package/dist/components/mds-horizontal-scroll.js +1 -1
  381. package/dist/components/mds-hr.js +1 -1
  382. package/dist/components/mds-icon.js +1 -1
  383. package/dist/components/mds-img.js +1 -1
  384. package/dist/components/mds-input-date-range-preselection.js +1 -1
  385. package/dist/components/mds-input-date-range.js +1 -1
  386. package/dist/components/mds-input-date.js +1 -1
  387. package/dist/components/mds-input-field.js +1 -1
  388. package/dist/components/mds-input-otp.js +1 -1
  389. package/dist/components/mds-input-range.js +1 -1
  390. package/dist/components/mds-input-select.js +1 -1
  391. package/dist/components/mds-input-switch.js +1 -1
  392. package/dist/components/mds-input-tip-item.js +1 -1
  393. package/dist/components/mds-input-tip.js +1 -1
  394. package/dist/components/mds-input-upload.js +1 -1
  395. package/dist/components/mds-input.js +1 -1
  396. package/dist/components/mds-keyboard-key.js +1 -1
  397. package/dist/components/mds-keyboard.js +1 -1
  398. package/dist/components/mds-kpi-item.js +1 -1
  399. package/dist/components/mds-kpi.js +1 -1
  400. package/dist/components/mds-label.js +1 -1
  401. package/dist/components/mds-list-item.js +1 -1
  402. package/dist/components/mds-list.js +1 -1
  403. package/dist/components/mds-mention.js +1 -1
  404. package/dist/components/mds-modal.js +1 -1
  405. package/dist/components/mds-note.js +1 -1
  406. package/dist/components/mds-notification.js +1 -1
  407. package/dist/components/mds-paginator-item.js +1 -1
  408. package/dist/components/mds-paginator.js +1 -1
  409. package/dist/components/mds-policy-ai.js +1 -1
  410. package/dist/components/mds-pref-animation.js +1 -1
  411. package/dist/components/mds-pref-consumption.js +1 -1
  412. package/dist/components/mds-pref-contrast.js +1 -1
  413. package/dist/components/mds-pref-language-item.js +1 -1
  414. package/dist/components/mds-pref-language.js +1 -1
  415. package/dist/components/mds-pref-mode.d.ts +11 -0
  416. package/dist/components/mds-pref-mode.js +1 -0
  417. package/dist/components/mds-pref-theme-item.d.ts +11 -0
  418. package/dist/components/mds-pref-theme-item.js +1 -0
  419. package/dist/components/mds-pref-theme.js +1 -1
  420. package/dist/components/mds-pref.js +1 -1
  421. package/dist/components/mds-price-table-features-cell.js +1 -1
  422. package/dist/components/mds-price-table-features-row.js +1 -1
  423. package/dist/components/mds-price-table-features.js +1 -1
  424. package/dist/components/mds-price-table-header.js +1 -1
  425. package/dist/components/mds-price-table-list-item.js +1 -1
  426. package/dist/components/mds-price-table-list.js +1 -1
  427. package/dist/components/mds-price-table.js +1 -1
  428. package/dist/components/mds-progress.js +1 -1
  429. package/dist/components/mds-push-notification-item.js +1 -1
  430. package/dist/components/mds-push-notification.js +1 -1
  431. package/dist/components/mds-quote.js +1 -1
  432. package/dist/components/mds-radial-menu-item.js +1 -1
  433. package/dist/components/mds-radial-menu.js +1 -1
  434. package/dist/components/mds-radial-progress.js +1 -1
  435. package/dist/components/mds-separator.js +1 -1
  436. package/dist/components/mds-spinner.js +1 -1
  437. package/dist/components/mds-status-bar.js +1 -1
  438. package/dist/components/mds-stepper-bar-item.js +1 -1
  439. package/dist/components/mds-stepper-bar.js +1 -1
  440. package/dist/components/mds-tab-bar-item.js +1 -1
  441. package/dist/components/mds-tab-bar.js +1 -1
  442. package/dist/components/mds-tab-item.js +1 -1
  443. package/dist/components/mds-tab.js +1 -1
  444. package/dist/components/mds-table-body.js +1 -1
  445. package/dist/components/mds-table-cell.js +1 -1
  446. package/dist/components/mds-table-footer.js +1 -1
  447. package/dist/components/mds-table-header-cell.js +1 -1
  448. package/dist/components/mds-table-header.js +1 -1
  449. package/dist/components/mds-table-row.js +1 -1
  450. package/dist/components/mds-table.js +1 -1
  451. package/dist/components/mds-text.js +1 -1
  452. package/dist/components/mds-toast.js +1 -1
  453. package/dist/components/mds-tooltip.js +1 -1
  454. package/dist/components/mds-tree-item.js +1 -1
  455. package/dist/components/mds-tree.js +1 -1
  456. package/dist/components/mds-url-view.js +1 -1
  457. package/dist/components/mds-usage.js +1 -1
  458. package/dist/components/mds-video-wall.js +1 -1
  459. package/dist/components/mds-zero.js +1 -1
  460. package/dist/components/p--8aaJX-p.js +1 -0
  461. package/dist/components/p-A9TZf0Ii.js +1 -0
  462. package/dist/components/p-B14Ci2fO.js +1 -0
  463. package/dist/components/p-B2A_hlV2.js +1 -0
  464. package/dist/components/p-B9DJLgwr.js +1 -0
  465. package/dist/components/p-BH3bWzRT.js +1 -0
  466. package/dist/components/p-BJNK4p33.js +1 -0
  467. package/dist/components/p-BNHXZ-JR.js +1 -0
  468. package/dist/components/p-BSxuG1vZ.js +1 -0
  469. package/dist/components/p-BTHR4xXu.js +1 -0
  470. package/dist/components/p-BhFTcUD0.js +3 -0
  471. package/dist/components/p-BouRLCYL.js +1 -0
  472. package/dist/components/p-Bss3F51Q.js +5 -0
  473. package/dist/components/p-Bt4xX5ww.js +1 -0
  474. package/dist/components/p-C03KYHGv.js +1 -0
  475. package/dist/components/p-C58NKMEE.js +1 -0
  476. package/dist/components/p-CACEYk42.js +1 -0
  477. package/dist/components/p-CBLAz3_J.js +1 -0
  478. package/dist/components/p-CHAGzQT-.js +1 -0
  479. package/dist/components/p-CVgKDZPF.js +1 -0
  480. package/dist/components/p-CVpjH8Un.js +1 -0
  481. package/dist/components/p-Caksrfcd.js +1 -0
  482. package/dist/components/p-CatD1iUY.js +1 -0
  483. package/dist/components/p-CbufYCNj.js +1 -0
  484. package/dist/components/p-Cehcn85x.js +1 -0
  485. package/dist/components/p-CsgCQiHG.js +1 -0
  486. package/dist/components/p-CvIFS8oA.js +1 -0
  487. package/dist/components/p-D3-GP4KF.js +1 -0
  488. package/dist/components/p-D8I1RblC.js +1 -0
  489. package/dist/components/p-DLE5TNTp.js +1 -0
  490. package/dist/components/p-DaI5QqNu.js +1 -0
  491. package/dist/components/p-Deh5Aia-.js +1 -0
  492. package/dist/components/p-Dj_oN194.js +1 -0
  493. package/dist/components/p-DmELzfvf.js +1 -0
  494. package/dist/components/p-DtxB7DYE.js +1 -0
  495. package/dist/components/p-KRu9I7dw.js +1 -0
  496. package/dist/components/p-cBZsPiMJ.js +1 -0
  497. package/dist/components/p-sUKtonkE.js +8 -0
  498. package/dist/components/p-sqRs6oj4.js +1 -0
  499. package/dist/components/p-wq6nWuWE.js +1 -0
  500. package/dist/documentation.json +1203 -1484
  501. package/dist/esm/date-CACEYk42.js +22 -0
  502. package/dist/esm/floating-controller-DVldZ5mh.js +366 -0
  503. package/dist/esm/floating-ui.dom-CHAGzQT-.js +1680 -0
  504. package/dist/esm/form-A9TZf0Ii.js +19 -0
  505. package/dist/esm/index-DIiEV39g.js +5149 -0
  506. package/dist/esm/index.js +17 -0
  507. package/dist/esm/keyboard-manager-KRu9I7dw.js +50 -0
  508. package/dist/esm/loader.js +3 -3
  509. package/dist/esm/locale-CbJbTW_c.js +814 -0
  510. package/dist/esm/magma-components.js +32 -5
  511. package/dist/esm/mds-accordion-item.entry.js +7 -6
  512. package/dist/esm/mds-accordion-timer-item.entry.js +8 -7
  513. package/dist/esm/mds-accordion-timer.entry.js +3 -3
  514. package/dist/esm/mds-accordion.entry.js +17 -7
  515. package/dist/esm/mds-author.entry.js +9 -4
  516. package/dist/esm/mds-avatar-stack-item.entry.js +2 -2
  517. package/dist/esm/mds-avatar-stack.entry.js +5 -4
  518. package/dist/esm/mds-avatar.entry.js +15 -12
  519. package/dist/esm/mds-badge.entry.js +5 -4
  520. package/dist/esm/mds-banner_3.entry.js +40 -36
  521. package/dist/esm/mds-benchmark-bar.entry.js +3 -3
  522. package/dist/esm/mds-bibliography.entry.js +2 -2
  523. package/dist/esm/mds-breadcrumb-item.entry.js +3 -3
  524. package/dist/esm/mds-breadcrumb.entry.js +12 -20
  525. package/dist/esm/mds-button-dropdown.entry.js +3 -3
  526. package/dist/esm/mds-button-group.entry.js +3 -3
  527. package/dist/esm/mds-button_3.entry.js +13 -14
  528. package/dist/esm/mds-calendar_2.entry.js +183 -160
  529. package/dist/esm/mds-card-content.entry.js +2 -2
  530. package/dist/esm/mds-card-footer.entry.js +2 -2
  531. package/dist/esm/mds-card-header.entry.js +9 -4
  532. package/dist/esm/mds-card-media.entry.js +2 -2
  533. package/dist/esm/mds-card.entry.js +6 -5
  534. package/dist/esm/mds-details.entry.js +8 -6
  535. package/dist/esm/mds-dropdown.entry.js +201 -55
  536. package/dist/esm/mds-emoji.entry.js +301 -181
  537. package/dist/esm/mds-entity.entry.js +11 -5
  538. package/dist/esm/mds-file-preview.entry.js +8 -14
  539. package/dist/esm/mds-file.entry.js +8 -14
  540. package/dist/esm/mds-filter-item.entry.js +6 -5
  541. package/dist/esm/mds-filter.entry.js +19 -10
  542. package/dist/esm/mds-header-bar.entry.js +11 -5
  543. package/dist/esm/mds-header.entry.js +10 -8
  544. package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
  545. package/dist/esm/mds-hr.entry.js +4 -3
  546. package/dist/esm/mds-img.entry.js +11 -18
  547. package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
  548. package/dist/esm/mds-input-date-range.entry.js +61 -30
  549. package/dist/esm/mds-input-date.entry.js +28 -34
  550. package/dist/esm/mds-input-field.entry.js +42 -6
  551. package/dist/esm/mds-input-otp.entry.js +38 -4
  552. package/dist/esm/mds-input-range.entry.js +9 -7
  553. package/dist/esm/mds-input-select.entry.js +11 -19
  554. package/dist/esm/mds-input-switch_2.entry.js +19 -32
  555. package/dist/esm/mds-input-tip_2.entry.js +8 -17
  556. package/dist/esm/mds-input-upload.entry.js +45 -37
  557. package/dist/esm/mds-input.entry.js +26 -32
  558. package/dist/esm/mds-keyboard-key.entry.js +5 -14
  559. package/dist/esm/mds-keyboard.entry.js +20 -21
  560. package/dist/esm/mds-kpi-item.entry.js +12 -3
  561. package/dist/esm/mds-kpi.entry.js +2 -2
  562. package/dist/esm/mds-label.entry.js +7 -13
  563. package/dist/esm/mds-list-item.entry.js +4 -3
  564. package/dist/esm/mds-list.entry.js +2 -2
  565. package/dist/esm/mds-mention.entry.js +38 -4
  566. package/dist/esm/mds-modal.entry.js +150 -65
  567. package/dist/esm/mds-note.entry.js +7 -15
  568. package/dist/esm/mds-notification.entry.js +16 -8
  569. package/dist/esm/mds-paginator-item.entry.js +5 -4
  570. package/dist/esm/mds-paginator.entry.js +42 -10
  571. package/dist/esm/mds-policy-ai.entry.js +8 -15
  572. package/dist/esm/mds-pref-animation.entry.js +10 -19
  573. package/dist/esm/mds-pref-consumption.entry.js +10 -19
  574. package/dist/esm/mds-pref-contrast.entry.js +13 -20
  575. package/dist/esm/mds-pref-language-item.entry.js +28 -16
  576. package/dist/esm/mds-pref-language.entry.js +38 -28
  577. package/dist/esm/mds-pref-mode.entry.js +271 -0
  578. package/dist/esm/mds-pref-theme-item.entry.js +41 -0
  579. package/dist/esm/mds-pref-theme.entry.js +148 -222
  580. package/dist/esm/mds-pref.entry.js +41 -18
  581. package/dist/esm/mds-price-table-features-cell.entry.js +4 -3
  582. package/dist/esm/mds-price-table-features-row.entry.js +4 -3
  583. package/dist/esm/mds-price-table-features.entry.js +4 -3
  584. package/dist/esm/mds-price-table-header.entry.js +3 -3
  585. package/dist/esm/mds-price-table-list-item.entry.js +3 -3
  586. package/dist/esm/mds-price-table-list.entry.js +4 -3
  587. package/dist/esm/mds-price-table.entry.js +3 -3
  588. package/dist/esm/mds-progress_2.entry.js +7 -11
  589. package/dist/esm/mds-push-notification-item.entry.js +19 -20
  590. package/dist/esm/mds-push-notification.entry.js +7 -6
  591. package/dist/esm/mds-quote.entry.js +4 -3
  592. package/dist/esm/mds-radial-menu-item.entry.js +3 -3
  593. package/dist/esm/mds-radial-menu.entry.js +7 -6
  594. package/dist/esm/mds-separator.entry.js +4 -3
  595. package/dist/esm/mds-status-bar.entry.js +5 -4
  596. package/dist/esm/mds-stepper-bar-item.entry.js +14 -17
  597. package/dist/esm/mds-stepper-bar.entry.js +21 -12
  598. package/dist/esm/mds-tab-bar-item.entry.js +6 -5
  599. package/dist/esm/mds-tab-bar.entry.js +5 -4
  600. package/dist/esm/mds-tab_2.entry.js +28 -11
  601. package/dist/esm/mds-table-body.entry.js +4 -3
  602. package/dist/esm/mds-table-footer.entry.js +4 -3
  603. package/dist/esm/mds-table-header-cell.entry.js +4 -3
  604. package/dist/esm/mds-table-header.entry.js +19 -21
  605. package/dist/esm/mds-table-row.entry.js +20 -21
  606. package/dist/esm/mds-table.entry.js +62 -30
  607. package/dist/esm/mds-text.entry.js +36 -11
  608. package/dist/esm/mds-toast.entry.js +10 -5
  609. package/dist/esm/mds-tooltip.entry.js +30 -21
  610. package/dist/esm/mds-tree-item.entry.js +36 -14
  611. package/dist/esm/mds-tree.entry.js +44 -6
  612. package/dist/esm/mds-url-view.entry.js +21 -21
  613. package/dist/esm/mds-usage.entry.js +5 -11
  614. package/dist/esm/mds-video-wall.entry.js +8 -4
  615. package/dist/esm/mds-zero.entry.js +4 -3
  616. package/dist/esm/preference-CKerJx2M.js +385 -0
  617. package/dist/esm/slot-C0o_l0td.js +61 -0
  618. package/dist/esm-es5/date-CACEYk42.js +6 -0
  619. package/dist/esm-es5/datetime-BJtA1qmE.js +2732 -1
  620. package/dist/esm-es5/floating-controller-DVldZ5mh.js +66 -0
  621. package/dist/esm-es5/floating-ui.dom-CHAGzQT-.js +201 -0
  622. package/dist/esm-es5/form-A9TZf0Ii.js +8 -0
  623. package/dist/esm-es5/index-DIiEV39g.js +371 -0
  624. package/dist/esm-es5/index.js +79 -1
  625. package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +5 -0
  626. package/dist/esm-es5/loader.js +1 -1
  627. package/dist/esm-es5/locale-CbJbTW_c.js +230 -0
  628. package/dist/esm-es5/magma-components.js +4 -1
  629. package/dist/esm-es5/mds-accordion-item.entry.js +4 -1
  630. package/dist/esm-es5/mds-accordion-timer-item.entry.js +17 -1
  631. package/dist/esm-es5/mds-accordion-timer.entry.js +4 -1
  632. package/dist/esm-es5/mds-accordion.entry.js +7 -1
  633. package/dist/esm-es5/mds-author.entry.js +1 -1
  634. package/dist/esm-es5/mds-avatar-stack-item.entry.js +4 -1
  635. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  636. package/dist/esm-es5/mds-avatar.entry.js +8 -1
  637. package/dist/esm-es5/mds-badge.entry.js +12 -1
  638. package/dist/esm-es5/mds-banner_3.entry.js +40 -1
  639. package/dist/esm-es5/mds-benchmark-bar.entry.js +15 -1
  640. package/dist/esm-es5/mds-bibliography.entry.js +14 -1
  641. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  642. package/dist/esm-es5/mds-breadcrumb.entry.js +4 -1
  643. package/dist/esm-es5/mds-button-dropdown.entry.js +19 -1
  644. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  645. package/dist/esm-es5/mds-button_3.entry.js +42 -1
  646. package/dist/esm-es5/mds-calendar_2.entry.js +81 -1
  647. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  648. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  649. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  650. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  651. package/dist/esm-es5/mds-card.entry.js +7 -1
  652. package/dist/esm-es5/mds-details.entry.js +4 -1
  653. package/dist/esm-es5/mds-dropdown.entry.js +102 -1
  654. package/dist/esm-es5/mds-emoji.entry.js +899 -3
  655. package/dist/esm-es5/mds-entity.entry.js +1 -1
  656. package/dist/esm-es5/mds-file-preview.entry.js +23 -2
  657. package/dist/esm-es5/mds-file.entry.js +2823 -3
  658. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  659. package/dist/esm-es5/mds-filter.entry.js +11 -1
  660. package/dist/esm-es5/mds-header-bar.entry.js +11 -1
  661. package/dist/esm-es5/mds-header.entry.js +30 -1
  662. package/dist/esm-es5/mds-horizontal-scroll.entry.js +45 -1
  663. package/dist/esm-es5/mds-hr.entry.js +1 -1
  664. package/dist/esm-es5/mds-img.entry.js +15 -1
  665. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  666. package/dist/esm-es5/mds-input-date-range.entry.js +39 -1
  667. package/dist/esm-es5/mds-input-date.entry.js +50 -1
  668. package/dist/esm-es5/mds-input-field.entry.js +22 -1
  669. package/dist/esm-es5/mds-input-otp.entry.js +13 -1
  670. package/dist/esm-es5/mds-input-range.entry.js +24 -1
  671. package/dist/esm-es5/mds-input-select.entry.js +39 -1
  672. package/dist/esm-es5/mds-input-switch_2.entry.js +27 -1
  673. package/dist/esm-es5/mds-input-tip_2.entry.js +10 -1
  674. package/dist/esm-es5/mds-input-upload.entry.js +63 -1
  675. package/dist/esm-es5/mds-input.entry.js +134 -1
  676. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  677. package/dist/esm-es5/mds-keyboard.entry.js +11 -1
  678. package/dist/esm-es5/mds-kpi-item.entry.js +11 -1
  679. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  680. package/dist/esm-es5/mds-label.entry.js +16 -1
  681. package/dist/esm-es5/mds-list-item.entry.js +7 -1
  682. package/dist/esm-es5/mds-list.entry.js +1 -1
  683. package/dist/esm-es5/mds-mention.entry.js +4 -1
  684. package/dist/esm-es5/mds-modal.entry.js +68 -1
  685. package/dist/esm-es5/mds-note.entry.js +7 -1
  686. package/dist/esm-es5/mds-notification.entry.js +13 -1
  687. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  688. package/dist/esm-es5/mds-paginator.entry.js +14 -1
  689. package/dist/esm-es5/mds-policy-ai.entry.js +7 -1
  690. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  691. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  692. package/dist/esm-es5/mds-pref-contrast.entry.js +4 -1
  693. package/dist/esm-es5/mds-pref-language-item.entry.js +13 -1
  694. package/dist/esm-es5/mds-pref-language.entry.js +15 -1
  695. package/dist/esm-es5/mds-pref-mode.entry.js +4 -0
  696. package/dist/esm-es5/mds-pref-theme-item.entry.js +13 -0
  697. package/dist/esm-es5/mds-pref-theme.entry.js +38 -1
  698. package/dist/esm-es5/mds-pref.entry.js +9 -1
  699. package/dist/esm-es5/mds-price-table-features-cell.entry.js +4 -1
  700. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  701. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  702. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  703. package/dist/esm-es5/mds-price-table-list-item.entry.js +7 -1
  704. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  705. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  706. package/dist/esm-es5/mds-progress_2.entry.js +32 -1
  707. package/dist/esm-es5/mds-push-notification-item.entry.js +16 -1
  708. package/dist/esm-es5/mds-push-notification.entry.js +49 -1
  709. package/dist/esm-es5/mds-quote.entry.js +7 -1
  710. package/dist/esm-es5/mds-radial-menu-item.entry.js +10 -1
  711. package/dist/esm-es5/mds-radial-menu.entry.js +28 -1
  712. package/dist/esm-es5/mds-separator.entry.js +1 -1
  713. package/dist/esm-es5/mds-status-bar.entry.js +10 -1
  714. package/dist/esm-es5/mds-stepper-bar-item.entry.js +16 -1
  715. package/dist/esm-es5/mds-stepper-bar.entry.js +19 -1
  716. package/dist/esm-es5/mds-tab-bar-item.entry.js +9 -1
  717. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  718. package/dist/esm-es5/mds-tab_2.entry.js +26 -1
  719. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  720. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  721. package/dist/esm-es5/mds-table-header-cell.entry.js +4 -1
  722. package/dist/esm-es5/mds-table-header.entry.js +14 -1
  723. package/dist/esm-es5/mds-table-row.entry.js +8 -1
  724. package/dist/esm-es5/mds-table.entry.js +15 -1
  725. package/dist/esm-es5/mds-text.entry.js +27 -1
  726. package/dist/esm-es5/mds-toast.entry.js +15 -1
  727. package/dist/esm-es5/mds-tooltip.entry.js +37 -1
  728. package/dist/esm-es5/mds-tree-item.entry.js +16 -1
  729. package/dist/esm-es5/mds-tree.entry.js +20 -1
  730. package/dist/esm-es5/mds-url-view.entry.js +7 -1
  731. package/dist/esm-es5/mds-usage.entry.js +4 -1
  732. package/dist/esm-es5/mds-video-wall.entry.js +16 -1
  733. package/dist/esm-es5/mds-zero.entry.js +1 -1
  734. package/dist/esm-es5/preference-CKerJx2M.js +58 -0
  735. package/dist/esm-es5/slot-C0o_l0td.js +23 -0
  736. package/dist/hydrate/index.js +4695 -2035
  737. package/dist/hydrate/index.mjs +4695 -2035
  738. package/dist/magma-components/index.esm.js +1 -1
  739. package/dist/magma-components/magma-components.esm.js +1 -1
  740. package/dist/magma-components/magma-components.js +1 -1
  741. package/dist/magma-components/p-03be5c0c.entry.js +1 -0
  742. package/dist/magma-components/p-0715a2cb.system.entry.js +12 -0
  743. package/dist/magma-components/p-071f18c6.system.entry.js +27 -0
  744. package/dist/magma-components/p-0798b0bf.system.entry.js +24 -0
  745. package/dist/magma-components/p-07fde74d.system.entry.js +39 -0
  746. package/dist/magma-components/p-086fb3aa.entry.js +1 -0
  747. package/dist/magma-components/p-0a088e7d.system.entry.js +10 -0
  748. package/dist/magma-components/p-0a691082.entry.js +1 -0
  749. package/dist/magma-components/p-0ad3b4da.system.entry.js +102 -0
  750. package/dist/magma-components/p-0af8d821.entry.js +1 -0
  751. package/dist/magma-components/p-0ec21574.system.entry.js +10 -0
  752. package/dist/magma-components/p-0f6bb54d.system.entry.js +22 -0
  753. package/dist/magma-components/p-102d3bd3.system.entry.js +1 -0
  754. package/dist/magma-components/p-10704ede.system.entry.js +4 -0
  755. package/dist/magma-components/p-15f63bf3.entry.js +1 -0
  756. package/dist/magma-components/p-16e9fb14.system.entry.js +7 -0
  757. package/dist/magma-components/p-1780b8ba.entry.js +1 -0
  758. package/dist/magma-components/p-181dfb04.entry.js +1 -0
  759. package/dist/magma-components/p-184720be.system.entry.js +1 -0
  760. package/dist/magma-components/p-18f7b970.system.entry.js +4 -0
  761. package/dist/magma-components/p-1a8c5086.system.entry.js +19 -0
  762. package/dist/magma-components/p-1afc0452.entry.js +1 -0
  763. package/dist/magma-components/p-1c0a7e24.system.entry.js +30 -0
  764. package/dist/magma-components/p-1cce738a.system.entry.js +32 -0
  765. package/dist/magma-components/p-1dcfb13e.entry.js +1 -0
  766. package/dist/magma-components/p-1df6ac96.system.entry.js +7 -0
  767. package/dist/magma-components/p-209063b6.system.entry.js +50 -0
  768. package/dist/magma-components/p-216f95cc.system.entry.js +1 -0
  769. package/dist/magma-components/p-21891a24.entry.js +1 -0
  770. package/dist/magma-components/p-21d6687a.system.entry.js +7 -0
  771. package/dist/magma-components/p-231505e8.entry.js +1 -0
  772. package/dist/magma-components/p-23e61db9.system.entry.js +4 -0
  773. package/dist/magma-components/p-241dbf61.entry.js +1 -0
  774. package/dist/magma-components/p-25935d33.system.entry.js +1 -0
  775. package/dist/magma-components/p-284c40cd.system.entry.js +4 -0
  776. package/dist/magma-components/p-29684655.system.entry.js +16 -0
  777. package/dist/magma-components/p-2b73fee6.entry.js +1 -0
  778. package/dist/magma-components/p-2d5aadba.system.entry.js +7 -0
  779. package/dist/magma-components/p-2de17848.entry.js +1 -0
  780. package/dist/magma-components/p-34482514.entry.js +1 -0
  781. package/dist/magma-components/p-34c0890e.entry.js +1 -0
  782. package/dist/magma-components/p-3635eca6.system.entry.js +1 -0
  783. package/dist/magma-components/p-3b0c1202.entry.js +1 -0
  784. package/dist/magma-components/p-3d8e63a2.system.entry.js +63 -0
  785. package/dist/magma-components/p-3db23b5f.system.entry.js +16 -0
  786. package/dist/magma-components/p-3ec7d3ea.entry.js +1 -0
  787. package/dist/magma-components/p-3f7d3060.system.entry.js +42 -0
  788. package/dist/magma-components/p-40563e33.entry.js +1 -0
  789. package/dist/magma-components/p-41bf6f25.system.entry.js +81 -0
  790. package/dist/magma-components/p-421a630e.entry.js +1 -0
  791. package/dist/magma-components/p-4297da23.system.entry.js +1 -0
  792. package/dist/magma-components/p-4299b76b.system.entry.js +4 -0
  793. package/dist/magma-components/p-4543501c.entry.js +1 -0
  794. package/dist/magma-components/p-454c4774.entry.js +1 -0
  795. package/dist/magma-components/p-4616bc07.entry.js +1 -0
  796. package/dist/magma-components/p-46786d71.system.entry.js +14 -0
  797. package/dist/magma-components/p-470e5ac8.system.entry.js +1 -0
  798. package/dist/magma-components/p-481008e9.system.entry.js +13 -0
  799. package/dist/magma-components/p-48d37230.entry.js +1 -0
  800. package/dist/magma-components/p-4b3a8132.system.entry.js +13 -0
  801. package/dist/magma-components/p-4c8316a8.entry.js +1 -0
  802. package/dist/magma-components/p-4c95442e.entry.js +1 -0
  803. package/dist/magma-components/p-4e4bdbf8.entry.js +1 -0
  804. package/dist/magma-components/p-4e5ab0e4.system.entry.js +16 -0
  805. package/dist/magma-components/p-54b995c2.system.entry.js +4 -0
  806. package/dist/magma-components/p-56ad5bf2.entry.js +1 -0
  807. package/dist/magma-components/p-59de81ac.entry.js +1 -0
  808. package/dist/magma-components/p-5a7ead55.system.entry.js +37 -0
  809. package/dist/magma-components/p-5e43274a.system.entry.js +15 -0
  810. package/dist/magma-components/p-5f545f85.system.entry.js +1 -0
  811. package/dist/magma-components/p-61a5ac3d.system.entry.js +17 -0
  812. package/dist/magma-components/p-636cc471.entry.js +1 -0
  813. package/dist/magma-components/p-66ce2dee.entry.js +1 -0
  814. package/dist/magma-components/p-67d80d37.system.entry.js +1 -0
  815. package/dist/magma-components/p-6937f340.entry.js +1 -0
  816. package/dist/magma-components/p-69d1b815.entry.js +1 -0
  817. package/dist/magma-components/p-6b7e449f.entry.js +1 -0
  818. package/dist/magma-components/p-6c417ea1.system.entry.js +913 -0
  819. package/dist/magma-components/p-6cd7cfe3.entry.js +1 -0
  820. package/dist/magma-components/p-6ce60d59.entry.js +1 -0
  821. package/dist/magma-components/p-6cf760ea.system.entry.js +45 -0
  822. package/dist/magma-components/p-6dc27543.entry.js +1 -0
  823. package/dist/magma-components/p-6de37588.entry.js +1 -0
  824. package/dist/magma-components/p-6edc4f16.system.entry.js +14 -0
  825. package/dist/magma-components/p-6f6b5eb5.entry.js +1 -0
  826. package/dist/magma-components/p-7090184f.entry.js +1 -0
  827. package/dist/magma-components/p-716ad14c.entry.js +1 -0
  828. package/dist/magma-components/p-71804224.entry.js +1 -0
  829. package/dist/magma-components/p-735dc594.system.entry.js +1 -0
  830. package/dist/magma-components/p-739fdf76.system.entry.js +1 -0
  831. package/dist/magma-components/p-74b0902a.entry.js +1 -0
  832. package/dist/magma-components/p-7530a2f2.entry.js +1 -0
  833. package/dist/magma-components/p-75dd012a.system.entry.js +11 -0
  834. package/dist/magma-components/p-75fcf1a4.entry.js +1 -0
  835. package/dist/magma-components/p-76ae22d6.entry.js +1 -0
  836. package/dist/magma-components/p-78248693.entry.js +1 -0
  837. package/dist/magma-components/p-78fef00a.entry.js +1 -0
  838. package/dist/magma-components/p-7c0d202c.entry.js +1 -0
  839. package/dist/magma-components/p-7d317ff0.entry.js +8 -0
  840. package/dist/magma-components/p-7f2e3b74.system.entry.js +2838 -0
  841. package/dist/magma-components/p-7fc29447.entry.js +1 -0
  842. package/dist/magma-components/p-8103d4d4.system.entry.js +30 -0
  843. package/dist/magma-components/p-81b72b6e.entry.js +1 -0
  844. package/dist/magma-components/p-859ab5a2.entry.js +18 -0
  845. package/dist/magma-components/p-896ae0ee.entry.js +1 -0
  846. package/dist/magma-components/p-89a3bc7a.system.entry.js +16 -0
  847. package/dist/magma-components/p-8b7fa8d7.entry.js +1 -0
  848. package/dist/magma-components/p-8dff6606.system.entry.js +11 -0
  849. package/dist/magma-components/p-8e40eda3.system.entry.js +9 -0
  850. package/dist/magma-components/p-91b9d4e7.system.entry.js +4 -0
  851. package/dist/magma-components/p-92e1001f.entry.js +1 -0
  852. package/dist/magma-components/p-9378b373.system.entry.js +49 -0
  853. package/dist/magma-components/p-960dc9b5.system.entry.js +15 -0
  854. package/dist/magma-components/p-9626eaff.system.entry.js +134 -0
  855. package/dist/magma-components/p-9741d95e.system.entry.js +7 -0
  856. package/dist/magma-components/p-97ea9e6e.system.entry.js +68 -0
  857. package/dist/magma-components/p-9846fe89.system.entry.js +1 -0
  858. package/dist/magma-components/p-998721b9.system.entry.js +1 -0
  859. package/dist/magma-components/p-9a5296c0.system.entry.js +7 -0
  860. package/dist/magma-components/p-9b2ee3fe.entry.js +1 -0
  861. package/dist/magma-components/p-9be4a736.entry.js +1 -0
  862. package/dist/magma-components/p-9ca7932d.system.entry.js +8 -0
  863. package/dist/magma-components/p-9d86477d.system.entry.js +1 -0
  864. package/dist/magma-components/p-9d9a947b.entry.js +18 -0
  865. package/dist/magma-components/p-9e3bc553.system.entry.js +26 -0
  866. package/dist/magma-components/p-9e58467e.system.entry.js +10 -0
  867. package/dist/magma-components/p-9e9a1ebd.system.entry.js +15 -0
  868. package/dist/magma-components/p-A9TZf0Ii.js +1 -0
  869. package/dist/magma-components/p-BFnx_0hM.js +5 -0
  870. package/dist/magma-components/p-BJKToXNf.system.js +2733 -1
  871. package/dist/magma-components/p-BbMKuVem.js +1 -0
  872. package/dist/magma-components/p-C0o_l0td.js +1 -0
  873. package/dist/magma-components/p-C2FHijr2.system.js +231 -0
  874. package/dist/magma-components/p-CACEYk42.js +1 -0
  875. package/dist/magma-components/p-CBam2PI8.system.js +79 -0
  876. package/dist/magma-components/p-CDTiTqY0.system.js +58 -0
  877. package/dist/magma-components/p-CHAGzQT-.js +1 -0
  878. package/dist/magma-components/p-CI85vVs8.system.js +9 -0
  879. package/dist/magma-components/p-CnXBPjmc.system.js +5 -0
  880. package/dist/magma-components/p-DB8Rm54c.js +1 -0
  881. package/dist/magma-components/p-DIiEV39g.js +3 -0
  882. package/dist/magma-components/p-Dg8nxRUX.system.js +201 -0
  883. package/dist/magma-components/p-DmC-b-ZK.system.js +67 -0
  884. package/dist/magma-components/p-KRu9I7dw.js +1 -0
  885. package/dist/magma-components/p-LerCJgfP.system.js +5 -0
  886. package/dist/magma-components/p-MGv0i39Y.system.js +162 -0
  887. package/dist/magma-components/p-RJ5ZA1kY.system.js +23 -0
  888. package/dist/magma-components/p-a3279a73.system.entry.js +11 -0
  889. package/dist/magma-components/p-a3b0f586.entry.js +1 -0
  890. package/dist/magma-components/p-a3fc2ea4.system.entry.js +39 -0
  891. package/dist/magma-components/p-a5ac5e0b.entry.js +1 -0
  892. package/dist/magma-components/p-a8ec3080.system.entry.js +27 -0
  893. package/dist/magma-components/p-a906a02f.system.entry.js +16 -0
  894. package/dist/magma-components/p-a93b2a39.entry.js +1 -0
  895. package/dist/magma-components/p-aa267e7b.entry.js +1 -0
  896. package/dist/magma-components/p-ab9095ae.system.entry.js +4 -0
  897. package/dist/magma-components/p-ac544ab1.entry.js +1 -0
  898. package/dist/magma-components/p-ace198e9.entry.js +1 -0
  899. package/dist/magma-components/p-ad3983b2.entry.js +1 -0
  900. package/dist/magma-components/p-af41c8b8.system.entry.js +1 -0
  901. package/dist/magma-components/p-af45f0a5.system.entry.js +20 -0
  902. package/dist/magma-components/p-b23a6c83.entry.js +1 -0
  903. package/dist/magma-components/p-b3a3578c.entry.js +1 -0
  904. package/dist/magma-components/p-b49e0321.system.entry.js +1 -0
  905. package/dist/magma-components/p-b71e0d51.entry.js +1 -0
  906. package/dist/magma-components/p-b8d4a14e.entry.js +1 -0
  907. package/dist/magma-components/p-b9fecfd5.entry.js +1 -0
  908. package/dist/magma-components/p-ba035f90.entry.js +1 -0
  909. package/dist/magma-components/p-bc51d310.system.entry.js +1 -0
  910. package/dist/magma-components/p-bd490a8e.entry.js +1 -0
  911. package/dist/magma-components/p-be198039.system.entry.js +4 -0
  912. package/dist/magma-components/p-be692266.system.entry.js +13 -0
  913. package/dist/magma-components/p-bf7168b4.entry.js +1 -0
  914. package/dist/magma-components/p-bf84d9fa.entry.js +1 -0
  915. package/dist/magma-components/p-c1fb2eb7.entry.js +1 -0
  916. package/dist/magma-components/p-c4e58240.entry.js +1 -0
  917. package/dist/magma-components/p-c573de10.entry.js +1 -0
  918. package/dist/magma-components/p-c6be3db7.system.entry.js +1 -0
  919. package/dist/magma-components/p-c70d7159.entry.js +1 -0
  920. package/dist/magma-components/p-c7517884.system.entry.js +38 -0
  921. package/dist/magma-components/p-c9be79bd.entry.js +1 -0
  922. package/dist/magma-components/p-c9e12c2b.system.entry.js +7 -0
  923. package/dist/magma-components/p-cb6a1908.entry.js +1 -0
  924. package/dist/magma-components/p-cbd5aef4.system.entry.js +14 -0
  925. package/dist/magma-components/p-cd21137b.system.entry.js +1 -0
  926. package/dist/magma-components/p-cd5866c8.entry.js +1 -0
  927. package/dist/magma-components/p-ce0ecc75.system.entry.js +15 -0
  928. package/dist/magma-components/p-ce4e1a41.system.entry.js +1 -0
  929. package/dist/magma-components/p-d3116844.entry.js +1 -0
  930. package/dist/magma-components/p-d38165ed.system.entry.js +1 -0
  931. package/dist/magma-components/p-d3933a22.entry.js +1 -0
  932. package/dist/magma-components/p-d44c49d6.system.entry.js +8 -0
  933. package/dist/magma-components/p-d4a529ce.entry.js +1 -0
  934. package/dist/magma-components/p-d6d4aa1a.entry.js +1 -0
  935. package/dist/magma-components/p-d81e7100.system.entry.js +15 -0
  936. package/dist/magma-components/p-d8c27f4b.entry.js +1 -0
  937. package/dist/magma-components/p-d921d876.entry.js +1 -0
  938. package/dist/magma-components/p-da1ac3e1.entry.js +1 -0
  939. package/dist/magma-components/p-ddbdce09.entry.js +1 -0
  940. package/dist/magma-components/p-de6bc3c8.entry.js +1 -0
  941. package/dist/magma-components/p-df2b7607.system.entry.js +4 -0
  942. package/dist/magma-components/p-e05d2df8.system.entry.js +4 -0
  943. package/dist/magma-components/p-e0b2ef8f.system.entry.js +1 -0
  944. package/dist/magma-components/p-e0c50a2d.entry.js +1 -0
  945. package/dist/magma-components/p-e1277efe.system.entry.js +1 -0
  946. package/dist/magma-components/p-e1e6dd97.entry.js +1 -0
  947. package/dist/magma-components/p-e2f7a9bd.system.entry.js +1 -0
  948. package/dist/magma-components/p-e3e893c4.entry.js +1 -0
  949. package/dist/magma-components/p-e4868ade.entry.js +1 -0
  950. package/dist/magma-components/p-e5c6f9a9.system.entry.js +7 -0
  951. package/dist/magma-components/p-e5da7036.entry.js +1 -0
  952. package/dist/magma-components/p-e6dccab5.system.entry.js +1 -0
  953. package/dist/magma-components/p-ec59ec9a.entry.js +1 -0
  954. package/dist/magma-components/p-eddcef53.system.entry.js +1 -0
  955. package/dist/magma-components/p-eed00e7f.system.entry.js +1 -0
  956. package/dist/magma-components/p-ef8cb401.entry.js +1 -0
  957. package/dist/magma-components/p-efe8d359.entry.js +1 -0
  958. package/dist/magma-components/p-f070a5b5.system.entry.js +11 -0
  959. package/dist/magma-components/p-f0a168f4.system.entry.js +13 -0
  960. package/dist/magma-components/p-f1462410.system.entry.js +9 -0
  961. package/dist/magma-components/p-f23d4974.entry.js +1 -0
  962. package/dist/magma-components/p-f542246f.system.entry.js +1 -0
  963. package/dist/magma-components/p-f5c680dd.entry.js +1 -0
  964. package/dist/magma-components/p-f60c6e8e.system.entry.js +40 -0
  965. package/dist/magma-components/p-f8369939.entry.js +1 -0
  966. package/dist/magma-components/p-f97ede3e.system.entry.js +19 -0
  967. package/dist/magma-components/p-f97ff5b2.entry.js +1 -0
  968. package/dist/magma-components/p-fe1662e8.system.entry.js +28 -0
  969. package/dist/magma-components/p-ff133cbd.entry.js +1 -0
  970. package/dist/magma-components/p-fff44704.entry.js +1 -0
  971. package/dist/magma-components/p-opeIIa7t.system.js +7 -0
  972. package/dist/stats.json +5873 -5582
  973. package/dist/types/common/date.d.ts +5 -1
  974. package/dist/types/common/floating-controller.d.ts +59 -5
  975. package/dist/types/common/form.d.ts +10 -0
  976. package/dist/types/common/locale.d.ts +0 -5
  977. package/dist/types/common/preference.d.ts +54 -0
  978. package/dist/types/common/slot.d.ts +11 -1
  979. package/dist/types/common/yugop/random-text.d.ts +8 -0
  980. package/dist/types/components/mds-accordion/mds-accordion.d.ts +2 -2
  981. package/dist/types/components/mds-author/mds-author.d.ts +2 -1
  982. package/dist/types/components/mds-avatar/mds-avatar.d.ts +2 -0
  983. package/dist/types/components/mds-banner/mds-banner.d.ts +4 -9
  984. package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +2 -8
  985. package/dist/types/components/mds-button/mds-button.d.ts +0 -1
  986. package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -1
  987. package/dist/types/components/mds-calendar/mds-calendar.d.ts +33 -18
  988. package/dist/types/components/mds-card/mds-card.d.ts +2 -2
  989. package/dist/types/components/mds-card-header/mds-card-header.d.ts +2 -1
  990. package/dist/types/components/mds-chip/mds-chip.d.ts +0 -6
  991. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +44 -14
  992. package/dist/types/components/mds-emoji/mds-emoji.d.ts +9 -2
  993. package/dist/types/components/mds-entity/mds-entity.d.ts +3 -2
  994. package/dist/types/components/mds-file/mds-file.d.ts +2 -7
  995. package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +0 -5
  996. package/dist/types/components/mds-filter/mds-filter.d.ts +10 -0
  997. package/dist/types/components/mds-header/mds-header.d.ts +2 -2
  998. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +2 -1
  999. package/dist/types/components/mds-help/mds-help.d.ts +2 -2
  1000. package/dist/types/components/mds-icon/mds-icon.d.ts +0 -1
  1001. package/dist/types/components/mds-img/mds-img.d.ts +2 -7
  1002. package/dist/types/components/mds-input/mds-input.d.ts +8 -6
  1003. package/dist/types/components/mds-input-date/mds-input-date.d.ts +11 -4
  1004. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +11 -3
  1005. package/dist/types/components/mds-input-field/mds-input-field.d.ts +3 -0
  1006. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +7 -0
  1007. package/dist/types/components/mds-input-select/mds-input-select.d.ts +5 -4
  1008. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +0 -5
  1009. package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +0 -7
  1010. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +5 -7
  1011. package/dist/types/components/mds-input-upload/meta/types.d.ts +1 -1
  1012. package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +1 -7
  1013. package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +0 -7
  1014. package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
  1015. package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +8 -0
  1016. package/dist/types/components/mds-label/mds-label.d.ts +0 -5
  1017. package/dist/types/components/mds-mention/mds-mention.d.ts +13 -0
  1018. package/dist/types/components/mds-mention/meta/interface.d.ts +5 -0
  1019. package/dist/types/components/mds-modal/mds-modal.d.ts +31 -19
  1020. package/dist/types/components/mds-modal/meta/types.d.ts +0 -1
  1021. package/dist/types/components/mds-note/mds-note.d.ts +0 -6
  1022. package/dist/types/components/mds-notification/mds-notification.d.ts +2 -2
  1023. package/dist/types/components/mds-paginator/mds-paginator.d.ts +14 -1
  1024. package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +1 -7
  1025. package/dist/types/components/mds-pref/mds-pref.d.ts +12 -8
  1026. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +1 -6
  1027. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +1 -6
  1028. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +1 -6
  1029. package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +3 -9
  1030. package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -7
  1031. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +62 -0
  1032. package/dist/types/components/mds-pref-mode/meta/dictionary.d.ts +3 -0
  1033. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +63 -36
  1034. package/dist/types/components/mds-pref-theme/meta/dictionary.d.ts +2 -3
  1035. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +28 -0
  1036. package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +4 -8
  1037. package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +0 -1
  1038. package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +10 -0
  1039. package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +0 -6
  1040. package/dist/types/components/mds-tab/mds-tab.d.ts +2 -1
  1041. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +17 -0
  1042. package/dist/types/components/mds-table/mds-table.d.ts +10 -5
  1043. package/dist/types/components/mds-table-header/mds-table-header.d.ts +0 -5
  1044. package/dist/types/components/mds-table-row/mds-table-row.d.ts +8 -7
  1045. package/dist/types/components/mds-toast/mds-toast.d.ts +2 -1
  1046. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +8 -8
  1047. package/dist/types/components/mds-tree/mds-tree.d.ts +5 -0
  1048. package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +26 -6
  1049. package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -6
  1050. package/dist/types/components/mds-usage/mds-usage.d.ts +0 -6
  1051. package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +2 -1
  1052. package/dist/types/components.d.ts +437 -393
  1053. package/dist/types/event-detail/preference.d.ts +2 -2
  1054. package/dist/types/event-detail/theme.d.ts +5 -0
  1055. package/dist/types/stencil-public-runtime.d.ts +12 -0
  1056. package/dist/types/type/preference.d.ts +16 -3
  1057. package/loader/index.d.ts +1 -1
  1058. package/package.json +61 -64
  1059. package/dist/cjs/date-dnDGaLCn.js +0 -16
  1060. package/dist/cjs/floating-controller-DA8xyqCa.js +0 -203
  1061. package/dist/cjs/floating-ui.dom-DW-02Mib.js +0 -1703
  1062. package/dist/cjs/index-CNuKb6Lv.js +0 -2896
  1063. package/dist/cjs/keyboard-manager-BXKT5TGW.js +0 -52
  1064. package/dist/cjs/locale-oGW3SvGJ.js +0 -837
  1065. package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +0 -63
  1066. package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +0 -149
  1067. package/dist/cjs/slot-CI0KpgtY.js +0 -52
  1068. package/dist/collection/components/mds-accordion/test/mds-accordion.stories.js +0 -38
  1069. package/dist/collection/components/mds-accordion-item/test/mds-accordion-item.stories.js +0 -35
  1070. package/dist/collection/components/mds-accordion-timer/test/mds-accordion-timer.stories.js +0 -51
  1071. package/dist/collection/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.js +0 -52
  1072. package/dist/collection/components/mds-author/test/mds-author.stories.js +0 -12
  1073. package/dist/collection/components/mds-avatar/test/mds-avatar.stories.js +0 -71
  1074. package/dist/collection/components/mds-avatar-stack/test/mds-avatar-stack.stories.js +0 -34
  1075. package/dist/collection/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.js +0 -60
  1076. package/dist/collection/components/mds-badge/test/mds-badge.stories.js +0 -46
  1077. package/dist/collection/components/mds-banner/test/mds-banner.stories.js +0 -106
  1078. package/dist/collection/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.js +0 -64
  1079. package/dist/collection/components/mds-bibliography/test/mds-bibliography.stories.js +0 -104
  1080. package/dist/collection/components/mds-breadcrumb/test/mds-breadcrumb.stories.js +0 -14
  1081. package/dist/collection/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.js +0 -24
  1082. package/dist/collection/components/mds-button/test/mds-button.stories.js +0 -346
  1083. package/dist/collection/components/mds-button-dropdown/test/mds-button-dropdown.stories.js +0 -73
  1084. package/dist/collection/components/mds-button-group/test/mds-button-group.stories.js +0 -12
  1085. package/dist/collection/components/mds-calendar/test/mds-calendar.stories.js +0 -24
  1086. package/dist/collection/components/mds-card/test/mds-card.stories.js +0 -82
  1087. package/dist/collection/components/mds-chip/test/mds-chip.stories.js +0 -120
  1088. package/dist/collection/components/mds-details/test/mds-details.stories.js +0 -20
  1089. package/dist/collection/components/mds-dropdown/test/mds-dropdown.stories.js +0 -256
  1090. package/dist/collection/components/mds-emoji/test/mds-emoji.stories.js +0 -87
  1091. package/dist/collection/components/mds-entity/test/mds-entity.stories.js +0 -101
  1092. package/dist/collection/components/mds-file/test/mds-file.stories.js +0 -73
  1093. package/dist/collection/components/mds-file-preview/test/mds-file-preview.stories.js +0 -154
  1094. package/dist/collection/components/mds-filter/test/mds-filter.stories.js +0 -49
  1095. package/dist/collection/components/mds-filter-item/test/mds-filter-item.stories.js +0 -36
  1096. package/dist/collection/components/mds-header/test/mds-header.stories.js +0 -71
  1097. package/dist/collection/components/mds-header-bar/test/mds-header-bar.stories.js +0 -21
  1098. package/dist/collection/components/mds-help/test/mds-help.stories.js +0 -23
  1099. package/dist/collection/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.js +0 -48
  1100. package/dist/collection/components/mds-hr/test/mds-hr.stories.js +0 -14
  1101. package/dist/collection/components/mds-icon/test/mds-icon.stories.js +0 -76
  1102. package/dist/collection/components/mds-img/test/mds-img-accessibility.stories.js +0 -34
  1103. package/dist/collection/components/mds-img/test/mds-img.stories.js +0 -62
  1104. package/dist/collection/components/mds-input/test/mds-input.stories.js +0 -302
  1105. package/dist/collection/components/mds-input-date/test/mds-input-date.stories.js +0 -70
  1106. package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +0 -109
  1107. package/dist/collection/components/mds-input-field/test/mds-input-field.stories.js +0 -90
  1108. package/dist/collection/components/mds-input-otp/test/mds-input-otp.stories.js +0 -68
  1109. package/dist/collection/components/mds-input-range/test/mds-input-range.stories.js +0 -92
  1110. package/dist/collection/components/mds-input-select/test/mds-input-select.stories.js +0 -97
  1111. package/dist/collection/components/mds-input-switch/test/mds-input-switch.stories.js +0 -169
  1112. package/dist/collection/components/mds-input-tip/test/mds-input-tip.stories.js +0 -20
  1113. package/dist/collection/components/mds-input-tip-item/test/mds-input-tip.stories.js +0 -20
  1114. package/dist/collection/components/mds-input-upload/test/mds-input-upload.stories.js +0 -48
  1115. package/dist/collection/components/mds-keyboard/test/mds-keyboard.stories.js +0 -30
  1116. package/dist/collection/components/mds-keyboard-key/test/mds-keyboard-key.stories.js +0 -20
  1117. package/dist/collection/components/mds-kpi/test/mds-kpi.stories.js +0 -22
  1118. package/dist/collection/components/mds-kpi-item/test/mds-kpi-item.stories.js +0 -34
  1119. package/dist/collection/components/mds-label/test/mds-label.stories.js +0 -72
  1120. package/dist/collection/components/mds-list/test/mds-list.stories.js +0 -8
  1121. package/dist/collection/components/mds-list-item/test/mds-list-item.stories.js +0 -29
  1122. package/dist/collection/components/mds-mention/test/mds-mention.stories.js +0 -31
  1123. package/dist/collection/components/mds-modal/test/mds-modal.stories.js +0 -347
  1124. package/dist/collection/components/mds-note/test/mds-note.stories.js +0 -31
  1125. package/dist/collection/components/mds-notification/test/mds-notification.stories.js +0 -64
  1126. package/dist/collection/components/mds-paginator/test/mds-paginator.stories.js +0 -28
  1127. package/dist/collection/components/mds-policy-ai/test/mds-policy.stories.js +0 -82
  1128. package/dist/collection/components/mds-pref/test/mds-pref.stories.js +0 -26
  1129. package/dist/collection/components/mds-pref-animation/test/mds-pref-animation.stories.js +0 -18
  1130. package/dist/collection/components/mds-pref-consumption/test/mds-pref-consumption.stories.js +0 -18
  1131. package/dist/collection/components/mds-pref-contrast/test/mds-pref-contrast.stories.js +0 -18
  1132. package/dist/collection/components/mds-pref-language/test/mds-pref-language.stories.js +0 -18
  1133. package/dist/collection/components/mds-pref-theme/test/mds-pref-theme.stories.js +0 -24
  1134. package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.css +0 -40
  1135. package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +0 -288
  1136. package/dist/collection/components/mds-pref-theme-variant/meta/dictionary.js +0 -2
  1137. package/dist/collection/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.js +0 -27
  1138. package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.css +0 -100
  1139. package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +0 -198
  1140. package/dist/collection/components/mds-price-table/test/mds-price-table.stories.js +0 -11
  1141. package/dist/collection/components/mds-price-table-features/test/mds-price-table-features.stories.js +0 -11
  1142. package/dist/collection/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.js +0 -11
  1143. package/dist/collection/components/mds-price-table-header/test/mds-price-table-header.stories.js +0 -8
  1144. package/dist/collection/components/mds-price-table-list/test/mds-price-table-list.stories.js +0 -12
  1145. package/dist/collection/components/mds-progress/test/mds-progress.stories.js +0 -66
  1146. package/dist/collection/components/mds-push-notification/test/mds-push-notification.stories.js +0 -104
  1147. package/dist/collection/components/mds-push-notification-item/test/mds-push-notification-item.stories.js +0 -194
  1148. package/dist/collection/components/mds-quote/test/mds-quote.stories.js +0 -33
  1149. package/dist/collection/components/mds-radial-menu/test/mds-radial-menu.stories.js +0 -98
  1150. package/dist/collection/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.js +0 -37
  1151. package/dist/collection/components/mds-radial-progress/test/mds-radial-progress.stories.js +0 -45
  1152. package/dist/collection/components/mds-separator/test/mds-separator.stories.js +0 -8
  1153. package/dist/collection/components/mds-spinner/test/mds-spinner.stories.js +0 -20
  1154. package/dist/collection/components/mds-status-bar/test/mds-status-bar.stories.js +0 -80
  1155. package/dist/collection/components/mds-stepper-bar/test/mds-stepper-bar.stories.js +0 -100
  1156. package/dist/collection/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.js +0 -70
  1157. package/dist/collection/components/mds-tab/test/mds-tab.stories.js +0 -152
  1158. package/dist/collection/components/mds-tab-bar/test/mds-tab-bar.stories.js +0 -8
  1159. package/dist/collection/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.js +0 -21
  1160. package/dist/collection/components/mds-tab-item/test/mds-tab-item.stories.js +0 -54
  1161. package/dist/collection/components/mds-table/test/mds-table.stories.js +0 -107
  1162. package/dist/collection/components/mds-text/test/mds-text.stories.js +0 -183
  1163. package/dist/collection/components/mds-toast/test/mds-toast.stories.js +0 -52
  1164. package/dist/collection/components/mds-tooltip/test/mds-tooltip.stories.js +0 -155
  1165. package/dist/collection/components/mds-tree/test/mds-tree-apk.stories.js +0 -66
  1166. package/dist/collection/components/mds-tree/test/mds-tree.stories.js +0 -83
  1167. package/dist/collection/components/mds-tree-item/test/mds-tree-item.stories.js +0 -71
  1168. package/dist/collection/components/mds-url-view/test/mds-url-view.stories.js +0 -75
  1169. package/dist/collection/components/mds-usage/test/mds-usage.stories.js +0 -33
  1170. package/dist/collection/components/mds-video-wall/test/mds-video-wall.stories.js +0 -104
  1171. package/dist/collection/components/mds-zero/test/mds-zero.stories.js +0 -8
  1172. package/dist/collection/storybook/box-shadows.stories.js +0 -53
  1173. package/dist/collection/storybook/color-scale.stories.js +0 -465
  1174. package/dist/collection/storybook/components-preview.stories.js +0 -36
  1175. package/dist/collection/storybook/example-page.stories.js +0 -10
  1176. package/dist/collection/storybook/fouc-hydrated.stories.js +0 -20
  1177. package/dist/collection/storybook/input-form.stories.js +0 -40
  1178. package/dist/collection/storybook/same-childrend-slot-names.stories.js +0 -10
  1179. package/dist/collection/test/file.js +0 -53
  1180. package/dist/collection/test/mock.js +0 -19
  1181. package/dist/components/date.js +0 -1
  1182. package/dist/components/floating-controller.js +0 -1
  1183. package/dist/components/floating-ui.dom.js +0 -1
  1184. package/dist/components/icons-set.service.js +0 -1
  1185. package/dist/components/keyboard-manager.js +0 -1
  1186. package/dist/components/locale.it.js +0 -1
  1187. package/dist/components/locale.js +0 -5
  1188. package/dist/components/mds-avatar-stack-item2.js +0 -1
  1189. package/dist/components/mds-avatar2.js +0 -1
  1190. package/dist/components/mds-badge2.js +0 -1
  1191. package/dist/components/mds-banner2.js +0 -1
  1192. package/dist/components/mds-button2.js +0 -1
  1193. package/dist/components/mds-calendar-cell2.js +0 -1
  1194. package/dist/components/mds-calendar2.js +0 -1
  1195. package/dist/components/mds-chip2.js +0 -1
  1196. package/dist/components/mds-dropdown2.js +0 -1
  1197. package/dist/components/mds-file-preview2.js +0 -8
  1198. package/dist/components/mds-filter-item2.js +0 -1
  1199. package/dist/components/mds-help2.js +0 -1
  1200. package/dist/components/mds-icon2.js +0 -1
  1201. package/dist/components/mds-img2.js +0 -1
  1202. package/dist/components/mds-input-switch2.js +0 -1
  1203. package/dist/components/mds-input-tip-item2.js +0 -1
  1204. package/dist/components/mds-input-tip2.js +0 -1
  1205. package/dist/components/mds-input2.js +0 -1
  1206. package/dist/components/mds-modal2.js +0 -1
  1207. package/dist/components/mds-paginator-item2.js +0 -1
  1208. package/dist/components/mds-pref-theme-variant-item.d.ts +0 -11
  1209. package/dist/components/mds-pref-theme-variant-item.js +0 -1
  1210. package/dist/components/mds-pref-theme-variant.d.ts +0 -11
  1211. package/dist/components/mds-pref-theme-variant.js +0 -1
  1212. package/dist/components/mds-progress2.js +0 -1
  1213. package/dist/components/mds-radial-progress2.js +0 -1
  1214. package/dist/components/mds-separator2.js +0 -1
  1215. package/dist/components/mds-spinner2.js +0 -1
  1216. package/dist/components/mds-tab-item2.js +0 -1
  1217. package/dist/components/mds-tab2.js +0 -1
  1218. package/dist/components/mds-table-cell2.js +0 -1
  1219. package/dist/components/mds-table-header-cell2.js +0 -1
  1220. package/dist/components/mds-text2.js +0 -1
  1221. package/dist/components/mds-tooltip2.js +0 -1
  1222. package/dist/components/slot.js +0 -1
  1223. package/dist/esm/date-C1oxPa_J.js +0 -14
  1224. package/dist/esm/floating-controller-CP3-OFb9.js +0 -200
  1225. package/dist/esm/floating-ui.dom-8RYXTPXs.js +0 -1695
  1226. package/dist/esm/index-CAd5312P.js +0 -2869
  1227. package/dist/esm/keyboard-manager-BudfaWhu.js +0 -50
  1228. package/dist/esm/locale-a4oAcjYG.js +0 -835
  1229. package/dist/esm/mds-pref-theme-variant-item.entry.js +0 -61
  1230. package/dist/esm/mds-pref-theme-variant.entry.js +0 -147
  1231. package/dist/esm/slot-ttrRC6OE.js +0 -48
  1232. package/dist/esm-es5/date-C1oxPa_J.js +0 -1
  1233. package/dist/esm-es5/floating-controller-CP3-OFb9.js +0 -1
  1234. package/dist/esm-es5/floating-ui.dom-8RYXTPXs.js +0 -1
  1235. package/dist/esm-es5/index-CAd5312P.js +0 -1
  1236. package/dist/esm-es5/keyboard-manager-BudfaWhu.js +0 -1
  1237. package/dist/esm-es5/locale-a4oAcjYG.js +0 -5
  1238. package/dist/esm-es5/mds-pref-theme-variant-item.entry.js +0 -1
  1239. package/dist/esm-es5/mds-pref-theme-variant.entry.js +0 -1
  1240. package/dist/esm-es5/slot-ttrRC6OE.js +0 -1
  1241. package/dist/magma-components/p-00313884.entry.js +0 -1
  1242. package/dist/magma-components/p-01dc43dd.entry.js +0 -1
  1243. package/dist/magma-components/p-01dca5e8.entry.js +0 -1
  1244. package/dist/magma-components/p-030d45e3.entry.js +0 -1
  1245. package/dist/magma-components/p-0328a23e.system.entry.js +0 -1
  1246. package/dist/magma-components/p-08c6869a.entry.js +0 -1
  1247. package/dist/magma-components/p-09de9fc5.system.entry.js +0 -1
  1248. package/dist/magma-components/p-0acb46c8.entry.js +0 -1
  1249. package/dist/magma-components/p-0b10ef9f.system.entry.js +0 -1
  1250. package/dist/magma-components/p-0b11f03b.entry.js +0 -1
  1251. package/dist/magma-components/p-0be56202.system.entry.js +0 -1
  1252. package/dist/magma-components/p-0de58147.entry.js +0 -1
  1253. package/dist/magma-components/p-0e481e5c.system.entry.js +0 -1
  1254. package/dist/magma-components/p-0f104850.system.entry.js +0 -1
  1255. package/dist/magma-components/p-1073bf63.entry.js +0 -1
  1256. package/dist/magma-components/p-11490a89.entry.js +0 -1
  1257. package/dist/magma-components/p-137b0bbe.system.entry.js +0 -1
  1258. package/dist/magma-components/p-14a98729.entry.js +0 -1
  1259. package/dist/magma-components/p-14d858f8.system.entry.js +0 -1
  1260. package/dist/magma-components/p-14e918de.system.entry.js +0 -1
  1261. package/dist/magma-components/p-154ef5b9.entry.js +0 -1
  1262. package/dist/magma-components/p-158af6e3.entry.js +0 -1
  1263. package/dist/magma-components/p-17427d8a.system.entry.js +0 -1
  1264. package/dist/magma-components/p-1805592d.entry.js +0 -1
  1265. package/dist/magma-components/p-18563022.entry.js +0 -1
  1266. package/dist/magma-components/p-19f99447.entry.js +0 -1
  1267. package/dist/magma-components/p-1a56d383.system.entry.js +0 -1
  1268. package/dist/magma-components/p-1bb7895a.system.entry.js +0 -1
  1269. package/dist/magma-components/p-1ce791c1.system.entry.js +0 -1
  1270. package/dist/magma-components/p-1da904c3.system.entry.js +0 -1
  1271. package/dist/magma-components/p-20961bf1.entry.js +0 -1
  1272. package/dist/magma-components/p-24a9ed63.system.entry.js +0 -1
  1273. package/dist/magma-components/p-26b131cf.entry.js +0 -1
  1274. package/dist/magma-components/p-28ebb626.entry.js +0 -1
  1275. package/dist/magma-components/p-292f4566.system.entry.js +0 -1
  1276. package/dist/magma-components/p-2a1d3680.system.entry.js +0 -1
  1277. package/dist/magma-components/p-2ab75334.system.entry.js +0 -1
  1278. package/dist/magma-components/p-2ccc796b.system.entry.js +0 -1
  1279. package/dist/magma-components/p-2d9d0887.system.entry.js +0 -1
  1280. package/dist/magma-components/p-2df01d02.system.entry.js +0 -1
  1281. package/dist/magma-components/p-3145c7eb.entry.js +0 -1
  1282. package/dist/magma-components/p-34018dfe.entry.js +0 -1
  1283. package/dist/magma-components/p-35a9f1b4.system.entry.js +0 -18
  1284. package/dist/magma-components/p-35ec8bbd.entry.js +0 -1
  1285. package/dist/magma-components/p-370f9463.system.entry.js +0 -1
  1286. package/dist/magma-components/p-387948c4.system.entry.js +0 -1
  1287. package/dist/magma-components/p-3aeecbba.system.entry.js +0 -1
  1288. package/dist/magma-components/p-3af9132f.system.entry.js +0 -1
  1289. package/dist/magma-components/p-3bfd085f.system.entry.js +0 -1
  1290. package/dist/magma-components/p-3c246a39.entry.js +0 -1
  1291. package/dist/magma-components/p-3c2bf79b.entry.js +0 -1
  1292. package/dist/magma-components/p-3ce52f3c.entry.js +0 -1
  1293. package/dist/magma-components/p-3e5993b4.entry.js +0 -1
  1294. package/dist/magma-components/p-3ef80cd4.system.entry.js +0 -1
  1295. package/dist/magma-components/p-3fc3b8b4.entry.js +0 -1
  1296. package/dist/magma-components/p-423955d1.system.entry.js +0 -1
  1297. package/dist/magma-components/p-42f336df.system.entry.js +0 -1
  1298. package/dist/magma-components/p-45a85712.system.entry.js +0 -1
  1299. package/dist/magma-components/p-460cd731.system.entry.js +0 -1
  1300. package/dist/magma-components/p-473f6954.entry.js +0 -1
  1301. package/dist/magma-components/p-47fa0ecf.entry.js +0 -1
  1302. package/dist/magma-components/p-4b07fe37.entry.js +0 -1
  1303. package/dist/magma-components/p-4b884441.entry.js +0 -1
  1304. package/dist/magma-components/p-4ba583c9.entry.js +0 -1
  1305. package/dist/magma-components/p-4c08fe3e.entry.js +0 -1
  1306. package/dist/magma-components/p-4f490917.entry.js +0 -1
  1307. package/dist/magma-components/p-4f98fdba.system.entry.js +0 -1
  1308. package/dist/magma-components/p-50553954.system.entry.js +0 -1
  1309. package/dist/magma-components/p-523d4716.entry.js +0 -1
  1310. package/dist/magma-components/p-52ccfafc.system.entry.js +0 -1
  1311. package/dist/magma-components/p-52e2f903.entry.js +0 -1
  1312. package/dist/magma-components/p-53195d95.system.entry.js +0 -1
  1313. package/dist/magma-components/p-5488f51f.system.entry.js +0 -1
  1314. package/dist/magma-components/p-553927f9.system.entry.js +0 -1
  1315. package/dist/magma-components/p-55b4bbba.entry.js +0 -1
  1316. package/dist/magma-components/p-583f5ffa.entry.js +0 -1
  1317. package/dist/magma-components/p-59d65cff.entry.js +0 -1
  1318. package/dist/magma-components/p-59f53701.system.entry.js +0 -1
  1319. package/dist/magma-components/p-5b881091.entry.js +0 -1
  1320. package/dist/magma-components/p-5c44d208.entry.js +0 -1
  1321. package/dist/magma-components/p-5fdcd8e2.system.entry.js +0 -1
  1322. package/dist/magma-components/p-5fe7b875.system.entry.js +0 -1
  1323. package/dist/magma-components/p-614e7f83.system.entry.js +0 -1
  1324. package/dist/magma-components/p-62cf9003.system.entry.js +0 -1
  1325. package/dist/magma-components/p-63898681.entry.js +0 -1
  1326. package/dist/magma-components/p-663a510e.entry.js +0 -1
  1327. package/dist/magma-components/p-68f57bb1.entry.js +0 -1
  1328. package/dist/magma-components/p-6ae4df92.system.entry.js +0 -1
  1329. package/dist/magma-components/p-6d268a59.entry.js +0 -1
  1330. package/dist/magma-components/p-7306b02e.system.entry.js +0 -17
  1331. package/dist/magma-components/p-75011fed.system.entry.js +0 -9
  1332. package/dist/magma-components/p-7595afcf.entry.js +0 -18
  1333. package/dist/magma-components/p-77e9bd68.entry.js +0 -1
  1334. package/dist/magma-components/p-7d836722.entry.js +0 -1
  1335. package/dist/magma-components/p-7e037cf3.entry.js +0 -8
  1336. package/dist/magma-components/p-8106dbfd.system.entry.js +0 -1
  1337. package/dist/magma-components/p-82deeaa0.system.entry.js +0 -1
  1338. package/dist/magma-components/p-83589b83.entry.js +0 -1
  1339. package/dist/magma-components/p-83721814.entry.js +0 -18
  1340. package/dist/magma-components/p-83de0e53.system.entry.js +0 -1
  1341. package/dist/magma-components/p-849760e7.system.entry.js +0 -1
  1342. package/dist/magma-components/p-85ac6e54.system.entry.js +0 -1
  1343. package/dist/magma-components/p-87f8a213.entry.js +0 -1
  1344. package/dist/magma-components/p-89bf698e.system.entry.js +0 -1
  1345. package/dist/magma-components/p-89f96753.system.entry.js +0 -1
  1346. package/dist/magma-components/p-8RYXTPXs.js +0 -1
  1347. package/dist/magma-components/p-8b3065b4.entry.js +0 -1
  1348. package/dist/magma-components/p-8bec8ad6.system.entry.js +0 -1
  1349. package/dist/magma-components/p-8d76853c.system.entry.js +0 -1
  1350. package/dist/magma-components/p-8f1ce3f1.system.entry.js +0 -1
  1351. package/dist/magma-components/p-9021fa60.entry.js +0 -1
  1352. package/dist/magma-components/p-90b72c1c.system.entry.js +0 -1
  1353. package/dist/magma-components/p-90d5b6df.system.entry.js +0 -1
  1354. package/dist/magma-components/p-913372ff.entry.js +0 -1
  1355. package/dist/magma-components/p-94093140.system.entry.js +0 -1
  1356. package/dist/magma-components/p-944d9b27.system.entry.js +0 -1
  1357. package/dist/magma-components/p-94713401.entry.js +0 -1
  1358. package/dist/magma-components/p-956b5ae6.entry.js +0 -1
  1359. package/dist/magma-components/p-95eae04e.entry.js +0 -1
  1360. package/dist/magma-components/p-961a2531.entry.js +0 -1
  1361. package/dist/magma-components/p-9658cb0c.entry.js +0 -1
  1362. package/dist/magma-components/p-96d1a168.entry.js +0 -1
  1363. package/dist/magma-components/p-96f6a646.entry.js +0 -1
  1364. package/dist/magma-components/p-98435b90.system.entry.js +0 -1
  1365. package/dist/magma-components/p-988b0c7c.entry.js +0 -1
  1366. package/dist/magma-components/p-98a05642.system.entry.js +0 -1
  1367. package/dist/magma-components/p-99f7a1b6.system.entry.js +0 -1
  1368. package/dist/magma-components/p-9a1940c1.system.entry.js +0 -1
  1369. package/dist/magma-components/p-9a89bc78.system.entry.js +0 -1
  1370. package/dist/magma-components/p-9ad586a7.system.entry.js +0 -1
  1371. package/dist/magma-components/p-9b52918e.system.entry.js +0 -1
  1372. package/dist/magma-components/p-9yaIBCJC.system.js +0 -1
  1373. package/dist/magma-components/p-BMAK4u5Y.system.js +0 -1
  1374. package/dist/magma-components/p-Bh89IjzU.system.js +0 -1
  1375. package/dist/magma-components/p-BudfaWhu.js +0 -1
  1376. package/dist/magma-components/p-C1oxPa_J.js +0 -1
  1377. package/dist/magma-components/p-CAd5312P.js +0 -2
  1378. package/dist/magma-components/p-CJPnuGyH.system.js +0 -1
  1379. package/dist/magma-components/p-CxU_BeBE.js +0 -1
  1380. package/dist/magma-components/p-DI5DWqw4.system.js +0 -2
  1381. package/dist/magma-components/p-DTZViJWJ.system.js +0 -1
  1382. package/dist/magma-components/p-DcKeJ0td.system.js +0 -6
  1383. package/dist/magma-components/p-a1af65e8.entry.js +0 -1
  1384. package/dist/magma-components/p-a4oAcjYG.js +0 -5
  1385. package/dist/magma-components/p-a5473293.system.entry.js +0 -1
  1386. package/dist/magma-components/p-a6caafcb.system.entry.js +0 -1
  1387. package/dist/magma-components/p-a7bd4585.entry.js +0 -1
  1388. package/dist/magma-components/p-a88fba47.system.entry.js +0 -1
  1389. package/dist/magma-components/p-a959ade4.entry.js +0 -1
  1390. package/dist/magma-components/p-aa7d8972.entry.js +0 -1
  1391. package/dist/magma-components/p-aa98652f.entry.js +0 -1
  1392. package/dist/magma-components/p-aaeb0ee3.system.entry.js +0 -1
  1393. package/dist/magma-components/p-ab89bf5b.system.entry.js +0 -1
  1394. package/dist/magma-components/p-abc720e3.entry.js +0 -1
  1395. package/dist/magma-components/p-abe87810.entry.js +0 -1
  1396. package/dist/magma-components/p-ac80aca8.entry.js +0 -1
  1397. package/dist/magma-components/p-acb07134.system.entry.js +0 -1
  1398. package/dist/magma-components/p-acd4f96a.entry.js +0 -1
  1399. package/dist/magma-components/p-af49bca2.entry.js +0 -1
  1400. package/dist/magma-components/p-af670eaf.entry.js +0 -1
  1401. package/dist/magma-components/p-b14a94e0.system.entry.js +0 -1
  1402. package/dist/magma-components/p-b2bc194a.entry.js +0 -1
  1403. package/dist/magma-components/p-b2e76c18.system.entry.js +0 -1
  1404. package/dist/magma-components/p-b37dff80.system.entry.js +0 -1
  1405. package/dist/magma-components/p-b3e3226e.entry.js +0 -1
  1406. package/dist/magma-components/p-b40f1153.entry.js +0 -1
  1407. package/dist/magma-components/p-b4709a95.entry.js +0 -1
  1408. package/dist/magma-components/p-b5db6527.system.entry.js +0 -1
  1409. package/dist/magma-components/p-b764defa.entry.js +0 -1
  1410. package/dist/magma-components/p-b9b2501e.system.entry.js +0 -1
  1411. package/dist/magma-components/p-b9b5bcdd.system.entry.js +0 -1
  1412. package/dist/magma-components/p-ba2a0bc1.system.entry.js +0 -1
  1413. package/dist/magma-components/p-bb4380cd.entry.js +0 -1
  1414. package/dist/magma-components/p-bce3a8b0.system.entry.js +0 -1
  1415. package/dist/magma-components/p-bd2998e6.system.entry.js +0 -1
  1416. package/dist/magma-components/p-bd3dbc2d.entry.js +0 -1
  1417. package/dist/magma-components/p-bed57abb.entry.js +0 -1
  1418. package/dist/magma-components/p-bfed0b7a.entry.js +0 -1
  1419. package/dist/magma-components/p-c6177cb9.system.entry.js +0 -1
  1420. package/dist/magma-components/p-c638556c.entry.js +0 -1
  1421. package/dist/magma-components/p-c6fa4a21.entry.js +0 -1
  1422. package/dist/magma-components/p-c8e99385.system.entry.js +0 -1
  1423. package/dist/magma-components/p-c9231987.entry.js +0 -1
  1424. package/dist/magma-components/p-c9c51ba6.system.entry.js +0 -1
  1425. package/dist/magma-components/p-cc53b30c.entry.js +0 -1
  1426. package/dist/magma-components/p-ccc0521c.entry.js +0 -1
  1427. package/dist/magma-components/p-cd71630e.system.entry.js +0 -1
  1428. package/dist/magma-components/p-cd879243.system.entry.js +0 -1
  1429. package/dist/magma-components/p-ce064d47.entry.js +0 -1
  1430. package/dist/magma-components/p-d1eea8ca.system.entry.js +0 -1
  1431. package/dist/magma-components/p-d2537229.system.entry.js +0 -1
  1432. package/dist/magma-components/p-d2617a1a.entry.js +0 -1
  1433. package/dist/magma-components/p-d41c4637.system.entry.js +0 -1
  1434. package/dist/magma-components/p-d88f44aa.entry.js +0 -1
  1435. package/dist/magma-components/p-dae9ae8e.system.entry.js +0 -1
  1436. package/dist/magma-components/p-dd860de4.entry.js +0 -1
  1437. package/dist/magma-components/p-df87e2f5.system.entry.js +0 -1
  1438. package/dist/magma-components/p-dfe082be.system.entry.js +0 -1
  1439. package/dist/magma-components/p-e00ba5a0.entry.js +0 -1
  1440. package/dist/magma-components/p-e0d12fa2.system.entry.js +0 -1
  1441. package/dist/magma-components/p-e2cd11c3.entry.js +0 -1
  1442. package/dist/magma-components/p-e5fb3081.system.entry.js +0 -1
  1443. package/dist/magma-components/p-e67a6452.entry.js +0 -1
  1444. package/dist/magma-components/p-e6d8c9e3.system.entry.js +0 -1
  1445. package/dist/magma-components/p-e71aecc1.entry.js +0 -1
  1446. package/dist/magma-components/p-eac692ea.system.entry.js +0 -1
  1447. package/dist/magma-components/p-ecf2e98d.system.entry.js +0 -1
  1448. package/dist/magma-components/p-ed6d1453.system.entry.js +0 -1
  1449. package/dist/magma-components/p-f289eb5a.entry.js +0 -1
  1450. package/dist/magma-components/p-f3604c99.entry.js +0 -1
  1451. package/dist/magma-components/p-f3dbca34.entry.js +0 -1
  1452. package/dist/magma-components/p-f4b4bdf2.system.entry.js +0 -1
  1453. package/dist/magma-components/p-f56d16f7.entry.js +0 -1
  1454. package/dist/magma-components/p-f8014852.system.entry.js +0 -1
  1455. package/dist/magma-components/p-f851100d.entry.js +0 -1
  1456. package/dist/magma-components/p-f8d5adce.entry.js +0 -1
  1457. package/dist/magma-components/p-fa427f75.system.entry.js +0 -1
  1458. package/dist/magma-components/p-fa6a05b5.entry.js +0 -1
  1459. package/dist/magma-components/p-fb8b0104.entry.js +0 -1
  1460. package/dist/magma-components/p-fcf59139.system.entry.js +0 -1
  1461. package/dist/magma-components/p-fe3d5720.system.entry.js +0 -1
  1462. package/dist/magma-components/p-fe85ad8e.system.entry.js +0 -1
  1463. package/dist/magma-components/p-ffae137a.entry.js +0 -1
  1464. package/dist/magma-components/p-oCzRm29V.system.js +0 -1
  1465. package/dist/magma-components/p-ttrRC6OE.js +0 -1
  1466. package/dist/magma-components/p-vYOT2M2B.system.js +0 -1
  1467. package/dist/types/components/mds-accordion/test/mds-accordion.stories.d.ts +0 -39
  1468. package/dist/types/components/mds-accordion-item/test/mds-accordion-item.stories.d.ts +0 -41
  1469. package/dist/types/components/mds-accordion-timer/test/mds-accordion-timer.stories.d.ts +0 -45
  1470. package/dist/types/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.d.ts +0 -67
  1471. package/dist/types/components/mds-author/test/mds-author.stories.d.ts +0 -10
  1472. package/dist/types/components/mds-avatar/test/mds-avatar.stories.d.ts +0 -82
  1473. package/dist/types/components/mds-avatar-stack/test/mds-avatar-stack.stories.d.ts +0 -38
  1474. package/dist/types/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.d.ts +0 -71
  1475. package/dist/types/components/mds-badge/test/mds-badge.stories.d.ts +0 -56
  1476. package/dist/types/components/mds-banner/test/mds-banner.stories.d.ts +0 -115
  1477. package/dist/types/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.d.ts +0 -85
  1478. package/dist/types/components/mds-bibliography/test/mds-bibliography.stories.d.ts +0 -129
  1479. package/dist/types/components/mds-breadcrumb/test/mds-breadcrumb.stories.d.ts +0 -16
  1480. package/dist/types/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.d.ts +0 -26
  1481. package/dist/types/components/mds-button/test/mds-button.stories.d.ts +0 -253
  1482. package/dist/types/components/mds-button-dropdown/test/mds-button-dropdown.stories.d.ts +0 -104
  1483. package/dist/types/components/mds-button-group/test/mds-button-group.stories.d.ts +0 -10
  1484. package/dist/types/components/mds-calendar/test/mds-calendar.stories.d.ts +0 -23
  1485. package/dist/types/components/mds-card/test/mds-card.stories.d.ts +0 -66
  1486. package/dist/types/components/mds-chip/test/mds-chip.stories.d.ts +0 -121
  1487. package/dist/types/components/mds-details/test/mds-details.stories.d.ts +0 -21
  1488. package/dist/types/components/mds-dropdown/test/mds-dropdown.stories.d.ts +0 -275
  1489. package/dist/types/components/mds-emoji/test/mds-emoji.stories.d.ts +0 -19
  1490. package/dist/types/components/mds-entity/test/mds-entity.stories.d.ts +0 -84
  1491. package/dist/types/components/mds-file/test/mds-file.stories.d.ts +0 -145
  1492. package/dist/types/components/mds-file-preview/test/mds-file-preview.stories.d.ts +0 -157
  1493. package/dist/types/components/mds-filter/test/mds-filter.stories.d.ts +0 -56
  1494. package/dist/types/components/mds-filter-item/test/mds-filter-item.stories.d.ts +0 -43
  1495. package/dist/types/components/mds-header/test/mds-header.stories.d.ts +0 -68
  1496. package/dist/types/components/mds-header-bar/test/mds-header-bar.stories.d.ts +0 -23
  1497. package/dist/types/components/mds-help/test/mds-help.stories.d.ts +0 -25
  1498. package/dist/types/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.d.ts +0 -57
  1499. package/dist/types/components/mds-hr/test/mds-hr.stories.d.ts +0 -13
  1500. package/dist/types/components/mds-icon/test/mds-icon.stories.d.ts +0 -55
  1501. package/dist/types/components/mds-img/test/mds-img-accessibility.stories.d.ts +0 -93
  1502. package/dist/types/components/mds-img/test/mds-img.stories.d.ts +0 -122
  1503. package/dist/types/components/mds-input/test/mds-input.stories.d.ts +0 -332
  1504. package/dist/types/components/mds-input-date/test/mds-input-date.stories.d.ts +0 -73
  1505. package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +0 -70
  1506. package/dist/types/components/mds-input-field/test/mds-input-field.stories.d.ts +0 -86
  1507. package/dist/types/components/mds-input-otp/test/mds-input-otp.stories.d.ts +0 -36
  1508. package/dist/types/components/mds-input-range/test/mds-input-range.stories.d.ts +0 -75
  1509. package/dist/types/components/mds-input-select/test/mds-input-select.stories.d.ts +0 -105
  1510. package/dist/types/components/mds-input-switch/test/mds-input-switch.stories.d.ts +0 -195
  1511. package/dist/types/components/mds-input-tip/test/mds-input-tip.stories.d.ts +0 -22
  1512. package/dist/types/components/mds-input-tip-item/test/mds-input-tip.stories.d.ts +0 -22
  1513. package/dist/types/components/mds-input-upload/test/mds-input-upload.stories.d.ts +0 -55
  1514. package/dist/types/components/mds-keyboard/test/mds-keyboard.stories.d.ts +0 -27
  1515. package/dist/types/components/mds-keyboard-key/test/mds-keyboard-key.stories.d.ts +0 -22
  1516. package/dist/types/components/mds-kpi/test/mds-kpi.stories.d.ts +0 -26
  1517. package/dist/types/components/mds-kpi-item/test/mds-kpi-item.stories.d.ts +0 -42
  1518. package/dist/types/components/mds-label/test/mds-label.stories.d.ts +0 -86
  1519. package/dist/types/components/mds-list/test/mds-list.stories.d.ts +0 -7
  1520. package/dist/types/components/mds-list-item/test/mds-list-item.stories.d.ts +0 -38
  1521. package/dist/types/components/mds-mention/test/mds-mention.stories.d.ts +0 -38
  1522. package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +0 -142
  1523. package/dist/types/components/mds-note/test/mds-note.stories.d.ts +0 -34
  1524. package/dist/types/components/mds-notification/test/mds-notification.stories.d.ts +0 -68
  1525. package/dist/types/components/mds-paginator/test/mds-paginator.stories.d.ts +0 -33
  1526. package/dist/types/components/mds-policy-ai/test/mds-policy.stories.d.ts +0 -83
  1527. package/dist/types/components/mds-pref/test/mds-pref.stories.d.ts +0 -29
  1528. package/dist/types/components/mds-pref-animation/test/mds-pref-animation.stories.d.ts +0 -20
  1529. package/dist/types/components/mds-pref-consumption/test/mds-pref-consumption.stories.d.ts +0 -20
  1530. package/dist/types/components/mds-pref-contrast/test/mds-pref-contrast.stories.d.ts +0 -20
  1531. package/dist/types/components/mds-pref-language/test/mds-pref-language.stories.d.ts +0 -20
  1532. package/dist/types/components/mds-pref-theme/test/mds-pref-theme.stories.d.ts +0 -30
  1533. package/dist/types/components/mds-pref-theme-variant/mds-pref-theme-variant.d.ts +0 -62
  1534. package/dist/types/components/mds-pref-theme-variant/meta/dictionary.d.ts +0 -2
  1535. package/dist/types/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.d.ts +0 -30
  1536. package/dist/types/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.d.ts +0 -35
  1537. package/dist/types/components/mds-price-table/test/mds-price-table.stories.d.ts +0 -10
  1538. package/dist/types/components/mds-price-table-features/test/mds-price-table-features.stories.d.ts +0 -10
  1539. package/dist/types/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.d.ts +0 -10
  1540. package/dist/types/components/mds-price-table-header/test/mds-price-table-header.stories.d.ts +0 -7
  1541. package/dist/types/components/mds-price-table-list/test/mds-price-table-list.stories.d.ts +0 -10
  1542. package/dist/types/components/mds-progress/test/mds-progress.stories.d.ts +0 -89
  1543. package/dist/types/components/mds-push-notification/test/mds-push-notification.stories.d.ts +0 -28
  1544. package/dist/types/components/mds-push-notification-item/test/mds-push-notification-item.stories.d.ts +0 -210
  1545. package/dist/types/components/mds-quote/test/mds-quote.stories.d.ts +0 -34
  1546. package/dist/types/components/mds-radial-menu/test/mds-radial-menu.stories.d.ts +0 -123
  1547. package/dist/types/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.d.ts +0 -48
  1548. package/dist/types/components/mds-radial-progress/test/mds-radial-progress.stories.d.ts +0 -68
  1549. package/dist/types/components/mds-separator/test/mds-separator.stories.d.ts +0 -7
  1550. package/dist/types/components/mds-spinner/test/mds-spinner.stories.d.ts +0 -21
  1551. package/dist/types/components/mds-status-bar/test/mds-status-bar.stories.d.ts +0 -34
  1552. package/dist/types/components/mds-stepper-bar/test/mds-stepper-bar.stories.d.ts +0 -45
  1553. package/dist/types/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.d.ts +0 -102
  1554. package/dist/types/components/mds-tab/test/mds-tab.stories.d.ts +0 -111
  1555. package/dist/types/components/mds-tab-bar/test/mds-tab-bar.stories.d.ts +0 -7
  1556. package/dist/types/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.d.ts +0 -25
  1557. package/dist/types/components/mds-tab-item/test/mds-tab-item.stories.d.ts +0 -69
  1558. package/dist/types/components/mds-table/test/mds-table.stories.d.ts +0 -63
  1559. package/dist/types/components/mds-text/test/mds-text.stories.d.ts +0 -181
  1560. package/dist/types/components/mds-toast/test/mds-toast.stories.d.ts +0 -59
  1561. package/dist/types/components/mds-tooltip/test/mds-tooltip.stories.d.ts +0 -192
  1562. package/dist/types/components/mds-tree/test/mds-tree-apk.stories.d.ts +0 -16
  1563. package/dist/types/components/mds-tree/test/mds-tree.stories.d.ts +0 -86
  1564. package/dist/types/components/mds-tree-item/test/mds-tree-item.stories.d.ts +0 -48
  1565. package/dist/types/components/mds-url-view/test/mds-url-view.stories.d.ts +0 -63
  1566. package/dist/types/components/mds-usage/test/mds-usage.stories.d.ts +0 -37
  1567. package/dist/types/components/mds-video-wall/test/mds-video-wall.stories.d.ts +0 -119
  1568. package/dist/types/components/mds-zero/test/mds-zero.stories.d.ts +0 -7
  1569. package/dist/types/event-detail/theme-variant.d.ts +0 -5
  1570. package/dist/types/storybook/box-shadows.stories.d.ts +0 -7
  1571. package/dist/types/storybook/color-scale.stories.d.ts +0 -7
  1572. package/dist/types/storybook/components-preview.stories.d.ts +0 -33
  1573. package/dist/types/storybook/example-page.stories.d.ts +0 -7
  1574. package/dist/types/storybook/fouc-hydrated.stories.d.ts +0 -7
  1575. package/dist/types/storybook/input-form.stories.d.ts +0 -7
  1576. package/dist/types/storybook/same-childrend-slot-names.stories.d.ts +0 -7
  1577. package/dist/types/test/file.d.ts +0 -35
  1578. package/dist/types/test/mock.d.ts +0 -2
  1579. /package/dist/collection/{event-detail/theme-variant.js → components/mds-mention/meta/interface.js} +0 -0
  1580. /package/dist/components/{broken-image.js → p-0FAG3rkw.js} +0 -0
  1581. /package/dist/components/{horizontal-rule.js → p-BE8xuIpS.js} +0 -0
  1582. /package/dist/components/{check-circle.js → p-BFhO-KUe.js} +0 -0
  1583. /package/dist/components/{cancel.js → p-BJ8rpzfj.js} +0 -0
  1584. /package/dist/components/{calendar-today.js → p-BVQMG7KJ.js} +0 -0
  1585. /package/dist/components/{arrow-forward.js → p-Bd0uuNDE.js} +0 -0
  1586. /package/dist/components/{keys.js → p-C4ckbXOl.js} +0 -0
  1587. /package/dist/components/{panorama.js → p-CGFwoK_U.js} +0 -0
  1588. /package/dist/components/{aria.js → p-CSCy6TMW.js} +0 -0
  1589. /package/dist/components/{keyboard-arrow-up.js → p-Ccz0jCNB.js} +0 -0
  1590. /package/dist/components/{clsx.js → p-ChV9xqsO.js} +0 -0
  1591. /package/dist/components/{done.js → p-CvUz9jjh.js} +0 -0
  1592. /package/dist/components/{remove.js → p-D17B058a.js} +0 -0
  1593. /package/dist/components/{unit.js → p-D8eZRaSQ.js} +0 -0
  1594. /package/dist/components/{keyboard-arrow-right.js → p-DFyAGAnn.js} +0 -0
  1595. /package/dist/components/{keyboard-arrow-down.js → p-DiWN48aq.js} +0 -0
  1596. /package/dist/components/{browser.js → p-Dje8Mggf.js} +0 -0
  1597. /package/dist/components/{arrow-back.js → p-DnEUG7st.js} +0 -0
  1598. /package/dist/components/{_commonjsHelpers.js → p-E-ZsRS8r.js} +0 -0
  1599. /package/dist/components/{close.js → p-J-ikDhyq.js} +0 -0
  1600. /package/dist/components/{settings.js → p-XQgkfNpn.js} +0 -0
  1601. /package/dist/components/{circle.js → p-lZldSMeV.js} +0 -0
@@ -1 +1,81 @@
1
- var __awaiter=this&&this.__awaiter||function(e,r,t,a){function n(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,i){function l(e){try{s(a.next(e))}catch(e){i(e)}}function o(e){try{s(a["throw"](e))}catch(e){i(e)}}function s(e){e.done?t(e.value):n(e.value).then(l,o)}s((a=a.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,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 s([e,r])}}function s(o){if(a)throw new TypeError("Generator is already executing.");while(l&&(l=0,o[0]&&(t=0)),t)try{if(a=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:t.label++;return{value:o[1],done:false};case 5:t.label++;n=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){t.label=o[1];break}if(o[0]===6&&t.label<i[1]){t.label=i[1];i=o;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(o);break}if(i[2])t.ops.pop();t.trys.pop();continue}o=r.call(e,t)}catch(e){o=[6,e];n=0}finally{a=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{D as DateTime}from"./datetime-BJtA1qmE.js";import{L as Locale}from"./locale-a4oAcjYG.js";import{s as sanitizeISO8601Date}from"./date-C1oxPa_J.js";import{c as clsx}from"./clsx-ChV9xqsO.js";var miBaselineForwardIos='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.23 20.23L8 22l10-10L8 2L6.23 3.77L14.46 12z"/></svg>';var miBaselineBackIosNew='<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 mdsCalendarCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@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{--mds-calendar-day-number-other-month-color:rgb(var(--tone-neutral-07,134 134 134));--mds-calendar-day-number-color:rgb(var(--tone-neutral-01,255 255 255));--mds-calendar-cell-gap:var(--gap-50);--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:var(--radius-lg,16px);--mds-calendar-background:rgb(var(--tone-neutral,0 0 0));--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}}}@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}@property --mds-calendar-cell-other-month-visibility{syntax:"visible|hidden";inherits:false;initial-value:visible}@property --mds-calendar-select-month-or-year-width{syntax:"<length>";inherits:false;initial-value:14rem}:host{--mds-calendar-day-number-other-month-color:rgb(var(--tone-neutral-07,134 134 134));--mds-calendar-day-number-color:rgb(var(--tone-neutral-01,255 255 255));--mds-calendar-cell-gap:calc(var(--spacing,.0025rem)*50);--mds-calendar-cell-other-month-visibility:visible;--mds-calendar-border-radius:var(--radius-lg,16px);--mds-calendar-background:rgb(var(--tone-neutral,0 0 0));--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;--mds-calendar-min-width:280px;background-color:rgb(var(--tone-neutral-09,76 76 76));border-radius:var(--mds-calendar-border-radius,var(--radius-lg,16px));cursor:auto;display:inline-flex;max-width:var(--mds-calendar-max-width);min-width:max-content;overflow:hidden}.calendar-view{background-color:var(--mds-calendar-background,rgb(var(--tone-neutral,0 0 0)));border-radius:inherit;box-sizing:border-box;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:-webkit-min-content;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{-ms-flex-pack:left;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{align-items:stretch;background-color:rgb(var(--tone-neutral-09,76 76 76));block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));border-radius:var(--mds-calendar-border-radius,var(--radius-lg,16px));box-sizing:border-box;display:flex;-ms-flex:0 0 var(--mds-calendar-select-month-or-year-width,14rem);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;aspect-ratio:1;min-height:auto;padding:0}.month-view__cells,.month-view__days-names{display:grid;gap:var(--mds-calendar-cell-gap,var(--gap-50));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,var(--gap-50));grid-template-columns:repeat(3,minmax(1px,100%));min-width:0}'};var MdsCalendar=function(){function e(e){var r=this;registerInstance(this,e);this.datesEmitter=createEvent(this,"mdsCalendarChange");this.navigationEmitter=createEvent(this,"mdsCalendarNavigate");this.hoverEmitter=createEvent(this,"mdsCalendarHover");this.checkPreselectionsEmitter=createEvent(this,"mdsCalendarPreselect");this.hasPreselection=false;this.currentDate=DateTime.now();this.weekDaysinMonth=[];this.weekdays=[];this.startDateIdentifier=null;this.endDateIdentifier=null;this.isFirstClick=true;this.currentView="calendar";this.selectedYear=this.currentDate.year;this.t=new Locale({it:{},en:{},es:{},el:{}});this.rangePicker=true;this.showPreviousButton=true;this.showNextButton=true;this.disableMonthYearSelection=false;this.showPreselection=false;this.viewDate=null;this.hoverDate=null;this.startDate=null;this.endDate=null;this.min=null;this.max=null;this.internalStartDate=this.startDate;this.internalEndDate=this.endDate;this.currentMonth="";this.currentYear="";this.handleMouseOver=function(e){var t=e.target;if(!t.matches("mds-calendar-cell")||!r.rangePicker||r.internalStartDate===null||r.internalStartDate===""||r.internalEndDate!==null&&r.internalEndDate!==""){return}var a=t.getAttribute("date");if(a!==null&&a!==""){r.hoverEmitter.emit({hoverDate:a})}};this.handleMouseLeave=function(){if(!r.rangePicker||r.internalStartDate===null||r.internalStartDate===""||r.internalEndDate!==null&&r.internalEndDate!==""||r.hoverDate===null||r.hoverDate===""){return}r.hoverEmitter.emit({hoverDate:null})};this.handleMonthActionClick=function(e){e.stopPropagation();if(r.disableMonthYearSelection){e.preventDefault();return}r.currentView=r.currentView==="months"?"calendar":"months";requestAnimationFrame((function(){r.updateCalendar().then((function(){return r.setDates()}))}))};this.handleYearActionClick=function(e){e.stopPropagation();if(r.disableMonthYearSelection){e.preventDefault();return}r.currentView=r.currentView==="years"?"calendar":"years";requestAnimationFrame((function(){r.updateCalendar().then((function(){return r.setDates()}))}))}}e.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.language=this.t.lang(this.host);return[2]}))}))};e.prototype.handleStartDate=function(e){if(e!==null&&e!==""){this.internalStartDate=sanitizeISO8601Date(e===null||e===void 0?void 0:e.toString());this.startDateTime=DateTime.fromISO(this.internalStartDate);this.startDateIdentifier=this.startDateTime.toISODate();if(this.internalEndDate!==null&&this.internalEndDate!==""){var r=DateTime.fromISO(this.internalEndDate);if(this.startDateTime>r){console.warn("startDate is after endDate, swapping values");return}}else if(this.rangePicker){this.isFirstClick=false}this.updateDates()}else if(e===null||e===""){this.internalStartDate=null;this.startDateIdentifier=null;this.startDateTime=null;this.isFirstClick=true;this.updateDates()}};e.prototype.handleEndDate=function(e){if(!this.rangePicker){console.warn("rangePicker is disabled, endDate cannot be set");this.internalEndDate=null}else if(e!==null&&e!==""){this.internalEndDate=sanitizeISO8601Date(e===null||e===void 0?void 0:e.toString());this.endDateTime=DateTime.fromISO(this.internalEndDate);this.endDateIdentifier=this.endDateTime.toISODate();if(this.internalStartDate!==null&&this.internalStartDate!==""){var r=DateTime.fromISO(this.internalStartDate);if(r>this.endDateTime){console.warn("startDate is after endDate, swapping values");return}}this.updateDates()}else if(e===null||e===""){this.internalEndDate=null;this.endDateIdentifier=null;this.endDateTime=null;this.updateDates()}};e.prototype.handleViewDate=function(e){var r=this;if(e!==null&&e!==""){var t=DateTime.fromISO(e.toString());if(t.isValid){this.currentDate=t;this.updateCalendar().then((function(){requestAnimationFrame((function(){return r.setDates()}))}))}}};e.prototype.handleHoverDate=function(){var e=this;requestAnimationFrame((function(){return e.setDates()}))};e.prototype.componentWillLoad=function(){var e,r;this.language=this.t.lang(this.host);if(this.viewDate!==null&&this.viewDate!==""){var t=DateTime.fromISO(this.viewDate.toString());if(t.isValid){this.currentDate=t}}else if(this.internalStartDate!==null&&this.internalStartDate!==""){this.internalStartDate=sanitizeISO8601Date((e=this.internalStartDate)===null||e===void 0?void 0:e.toString());this.startDateTime=DateTime.fromISO(this.internalStartDate);if(this.startDateTime.isValid){this.currentDate=this.startDateTime}}if(this.internalEndDate!==null&&this.internalEndDate!==""){this.internalEndDate=sanitizeISO8601Date((r=this.internalEndDate)===null||r===void 0?void 0:r.toString());this.endDateTime=DateTime.fromISO(this.internalEndDate)}this.updateCalendar()};e.prototype.componentDidLoad=function(){var e,r,t,a,n;this.hasPreselection=((e=this.host)===null||e===void 0?void 0:e.querySelector(".date-preselection--has-preselection"))!==null;(t=(r=this.host)===null||r===void 0?void 0:r.shadowRoot)===null||t===void 0?void 0:t.addEventListener("mouseover",this.handleMouseOver);(n=(a=this.host)===null||a===void 0?void 0:a.shadowRoot)===null||n===void 0?void 0:n.addEventListener("mouseleave",this.handleMouseLeave);this.setDates()};e.prototype.disconnectedCallback=function(){var e,r,t,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=(t=this.host)===null||t===void 0?void 0:t.shadowRoot)===null||a===void 0?void 0:a.removeEventListener("mouseleave",this.handleMouseLeave)};e.prototype.updateCurrentDate=function(e){return __awaiter(this,void 0,void 0,(function(){var r=this;return __generator(this,(function(t){switch(t.label){case 0:this.currentDate=DateTime.fromISO(e);return[4,this.updateCalendar()];case 1:t.sent();return[4,new Promise((function(e){requestAnimationFrame((function(){r.setDates();e()}))}))];case 2:t.sent();return[2,Promise.resolve()]}}))}))};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;var r=this;return __generator(this,(function(t){try{e=this.currentDate.startOf("week");this.weekdays=Array.from({length:7}).map((function(t,a){return e.setLocale(r.language).plus({days:a}).toFormat("ccc")}));this.calculateWeekDaysInMonth();this.currentMonth=this.currentDate.setLocale(this.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]}))}))};e.prototype.setDates=function(){var e=this.host;if(e==null)return;var r=e.shadowRoot;if(!r)return;var t=r.querySelectorAll("mds-calendar-cell[selection], mds-calendar-cell[preview]");if(this.rangePicker){if(this.hoverDate!==null&&this.hoverDate!==""&&(this.internalEndDate===null||this.internalEndDate==="")){this.setHoverSelection(t,r)}else{this.setRangeSelection(t,r)}}else{this.setSingleSelection(t,r)}};e.prototype.clearSelectionState=function(e){e.forEach((function(e){e.removeAttribute("selection");e.removeAttribute("preview")}))};e.prototype.setRangeSelection=function(e,r){var t=this;this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=DateTime.fromISO(this.internalStartDate.toString());if(this.internalEndDate===null||this.internalEndDate===""){this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false;var a=r.querySelectorAll("mds-calendar-cell");a.forEach((function(e){if(e.getAttribute("date")===t.startDateTime.toFormat("yyyy-MM-dd")){e.setAttribute("selection","single");e.setAttribute("preview","true")}}));return}this.endDateTime=DateTime.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 l=0;l<n.length;l++){var o=n[l].getAttribute("date");if(o!==null&&o!==""){var s=DateTime.fromISO(o);if(s.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){n[l].setAttribute("selection","start")}if(s.toFormat("yyyy-MM-dd")===this.endDateTime.toFormat("yyyy-MM-dd")){if(this.startDateTime.equals(this.endDateTime)){n[l].setAttribute("selection","single")}else{n[l].setAttribute("selection","end")}}i=s>this.startDateTime&&s<this.endDateTime;if(i){n[l].setAttribute("selection","middle")}}}}};e.prototype.setHoverSelection=function(e,r){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate===""||this.hoverDate===null||this.hoverDate===""){this.setRangeSelection(e,r);return}var t=DateTime.fromISO(this.internalStartDate);var a=DateTime.fromISO(this.hoverDate);if(!t.isValid||!a.isValid){this.setRangeSelection(e,r);return}var n=t<=a;var i=Array.from(r.querySelectorAll("mds-calendar-cell"));i.forEach((function(e){var r=e.getAttribute("date");if(r===null||r==="")return;var i=DateTime.fromISO(r);if(!i.isValid)return;var l=n?i>=t&&i<=a:i>=a&&i<=t;if(!l)return;e.setAttribute("preview","true");var o="middle";if(t.equals(a)&&i.equals(t)){o="single"}else if(i.equals(t)){o=n?"start":"end"}else if(i.equals(a)){o=n?"end":"start"}e.setAttribute("selection",o)}))};e.prototype.setSingleSelection=function(e,r){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=DateTime.fromISO(this.internalStartDate.toString());var t=r.querySelectorAll("mds-calendar-cell");if(t!=null){for(var a=0;a<t.length;a++){var n=t[a].getAttribute("date");if(n!==null&&n!==""){var i=DateTime.fromISO(n);if(i.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){t[a].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 t=[];var a=e.weekday;var n=a-1;var i=e.minus({days:n});for(var l=i;l<e;l=l.plus({days:1})){t.push({date:l,isCurrentMonth:false})}for(var l=e;l<=r;l=l.plus({days:1})){t.push({date:l,isCurrentMonth:true})}var o=r.weekday;var s=7-o;var c=r.plus({days:1});for(var l=c;l<c.plus({days:s});l=l.plus({days:1})){t.push({date:l,isCurrentMonth:false})}this.weekDaysinMonth=t};e.prototype.handleRange=function(e,r){var t=this;var a,n;var i=this.startDate||this.host.getAttribute("start-date");if(this.rangePicker&&i!==null&&i!==""&&(this.endDate===null||this.endDate==="")&&(this.internalEndDate===null||this.internalEndDate==="")&&this.isFirstClick){this.internalStartDate=sanitizeISO8601Date(i.toString());this.startDateTime=DateTime.fromISO(this.internalStartDate);this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false}var l=function(){t.internalStartDate=null;t.internalEndDate=null;t.startDateIdentifier=null;t.startDateTime=null;t.endDateIdentifier=null;t.endDateTime=null;t.isFirstClick=true;var e=t.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!==""){l()}if(this.isFirstClick){this.startDateIdentifier=r.toISODate();this.startDateTime=r;this.internalStartDate=this.startDateTime.toISO().split("T")[0];this.isFirstClick=false;var o=this.host;requestAnimationFrame((function(){var e;(e=o===null||o===void 0?void 0:o.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}var s=this.host;var c=(a=s===null||s===void 0?void 0:s.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll("mds-calendar-cell");var d=Array.from(c!==null&&c!==void 0?c:[]).findIndex((function(e){return e.getAttribute("date")===t.startDateIdentifier}));var h=Array.from(c!==null&&c!==void 0?c:[]).indexOf(e);if(this.startDateIdentifier!==null&&this.startDateIdentifier!==""&&DateTime.fromISO(this.startDateIdentifier)<DateTime.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]}(n=s===null||s===void 0?void 0:s.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll("mds-calendar-cell[preview]").forEach((function(e){e.removeAttribute("preview")}));if(c&&d!==-1){for(var m=d+1;m<h;m++){c[m].setAttribute("selection","middle")}}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 t;var a=this.host;(t=a===null||a===void 0?void 0:a.shadowRoot)===null||t===void 0?void 0:t.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.render=function(){var e=this;return h(Host,{key:"1eb387ba6abf7eca71b0fc607c7005ce29a61ead"},h("div",{key:"0119ec58bd3b3787c855c37d23330213f2f451dd",class:clsx("calendar-preselection",(this.showPreselection||this.hasPreselection)&&"calendar-preselection--has-preselection")},h("slot",{key:"0d14d1aedf9fc330bbc5378e9be16d870f46e46f",name:"preselection"})),h("div",{key:"2ad32a9c10cf82522611857dc2024b0e725c686b",class:"calendar-view"},h("nav",{key:"e99cd48ef3430e3681fe95bbccebc44516218bd9"},this.showPreviousButton&&h("mds-button",{key:"21286c151fd2cb5b4c48f633d7889a439099510c",class:"action-back",icon:miBaselineBackIosNew,variant:"dark",tone:"text",onClick:function(r){if(e.currentView==="calendar"){r.stopPropagation();e.changeMonth(-1)}else if(e.currentView==="years"){r.stopPropagation();e.selectedYear-=10}else{r.stopPropagation()}}}),h("div",{key:"fa9ca6714345f63863ff8311b0890872a26c21a5",class:"select-month-or-year"},(this.currentView==="calendar"||this.currentView==="months")&&h("mds-button",{key:"e0d20e39741b9434fb970fc384a0e18ac77f34bb",class:"action-month",truncate:"none",variant:"dark",tone:"text",label:this.currentMonth,onClick:this.handleMonthActionClick}),(this.currentView==="calendar"||this.currentView==="years")&&h("mds-button",{key:"c8046b37184632df0dc142bbe25efd0e5b95373c",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),this.showNextButton&&h("mds-button",{key:"4b93409bdf7f775af4f42f8f160f663ec6fcd970",class:"action-forward",icon:miBaselineForwardIos,variant:"dark",tone:"text",onClick:function(r){if(e.currentView==="calendar"){r.stopPropagation();e.changeMonth(1)}else if(e.currentView==="years"){r.stopPropagation();e.selectedYear+=10}else{r.stopPropagation()}}})),this.currentView==="calendar"&&h("section",{key:"0ac4fb2d6b5099b675a4b07c4dbcd0e839e05721",class:"month-view"},h("header",{key:"dbb841edaa6435521e128eef973db34cbe98568f",class:"month-view__days-names"},this.weekdays.map((function(e){return h("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:e})}))),h("div",{key:"211d488ff233741097cf28ca5039a0591da999e3",class:"month-view__cells"},this.weekDaysinMonth.map((function(r,t){return h("mds-calendar-cell",{key:t,today:DateTime.now().toFormat("yyyy-MM-dd")===r.date.toFormat("yyyy-MM-dd"),date:r.date.toFormat("yyyy-MM-dd"),month:r.isCurrentMonth?"current":"other",disabled:function(){if(e.min!==null&&e.min!==""&&r.date<DateTime.fromISO(e.min)){return true}if(e.max!==null&&e.max!==""&&r.date>DateTime.fromISO(e.max)){return true}return undefined}(),onClick:function(t){t.stopPropagation();var a=t.currentTarget;if(e.rangePicker)e.handleRange(a,r.date);else e.handleSingleSelection(a,r.date)},title:r.date.setLocale(e.language).toFormat("cccc d LLLL").replace(/^./,(function(e){return e.toUpperCase()})),label:r.date.toFormat("dd")})})))),this.currentView==="months"&&h("section",{key:"4676197c1020dc31d126ca3dd25c018d5fd4531d",class:"month-selection"},h("header",{key:"19efaa277ef13ccb5b04896c9d93a4c2a71df374",class:"month-view__month-names"},Array.from({length:12}).map((function(r,t){var a=DateTime.local().set({month:t+1}).setLocale(e.language).toFormat("MMMM");return h("mds-button",{class:"action",variant:"dark",tone:"text",label:a,onClick:function(r){r.stopPropagation();e.currentDate=e.currentDate.set({month:t+1});e.currentMonth=e.currentDate.toFormat("MMMM");e.currentView="calendar";e.updateCalendar().then((function(){requestAnimationFrame((function(){return e.setDates()}))}))}})})))),this.currentView==="years"&&h("section",{key:"e854ef954fd530baa48a5044de94ac8389853a12",class:"year-selection"},h("header",{key:"7175d42c0853411c9a0b70be855f49e1cdc1ec60",class:"month-view__years"},Array.from({length:12}).map((function(r,t){var a=e.selectedYear+t;return h("mds-button",{class:"action",variant:"dark",tone:"text",label:"".concat(a),onClick:function(r){r.stopPropagation();e.currentDate=e.currentDate.set({year:a});e.currentYear=a.toString();e.currentView="calendar";e.updateCalendar().then((function(){requestAnimationFrame((function(){return e.setDates()}))}))}})}))))))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(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}();MdsCalendar.style=mdsCalendarCss();var mdsCalendarCellCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@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{--mds-calendar-cell-background:transparent;--mds-calendar-cell-boundaries-background:transparent;--mds-calendar-cell-boundaries-color:rgb(var(--tone-neutral-01,255 255 255));--mds-calendar-cell-boundaries-padding:.25rem;--mds-calendar-cell-color:rgb(var(--tone-neutral-01,255 255 255));--mds-calendar-cell-other-month-background:transparent;--mds-calendar-cell-other-month-color:rgb(var(--tone-neutral-07,134 134 134));--mds-calendar-cell-disabled-background:transparent;--mds-calendar-cell-disabled-color:rgb(var(--tone-neutral-07,134 134 134));--mds-calendar-cell-weekend-background:transparent;--mds-calendar-cell-weekend-color:rgb(var(--tone-neutral-06,158 158 158));--mds-calendar-cell-size:3rem;--mds-calendar-cell-selection-boundaries-border-radius:1.5rem;--mds-calendar-cell-selection-week-boundaries-border-radius:1.5rem;--mds-calendar-cell-preselection-today-background:rgb(var(--variant-primary-09,0 58 168));--mds-calendar-cell-preselection-today-color:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-preselection-current-month-background:rgb(var(--variant-primary-08,0 83 239));--mds-calendar-cell-preselection-current-month-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-current-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-current-month-boundaries-background:rgb(var(--variant-primary-10,0 49 142));--mds-calendar-cell-preselection-other-month-background:rgb(var(--variant-primary-09,0 58 168));--mds-calendar-cell-preselection-other-month-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-other-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-other-month-boundaries-background:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-background:rgb(var(--variant-primary-04,184 208 255));--mds-calendar-cell-selection-current-month-color:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-boundaries-background:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-boundaries-color:rgb(var(--tone-neutral-03,233 233 233));--mds-calendar-cell-selection-current-month-weekend-background:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-selection-current-month-weekend-color:rgb(var(--variant-primary-07,44 117 255));--mds-calendar-cell-selection-current-month-weekend-boundaries-background:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-selection-current-month-weekend-boundaries-color:rgb(var(--tone-neutral-03,233 233 233));--mds-calendar-cell-selection-other-month-background:rgb(var(--variant-primary-07,44 117 255));--mds-calendar-cell-selection-other-month-color:rgb(var(--tone-neutral-04,218 218 218));--mds-calendar-cell-selection-other-month-boundaries-background:rgb(var(--variant-primary-10,0 49 142));--mds-calendar-cell-selection-other-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197))}}}@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}@property --mds-calendar-cell-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-calendar-cell-boundaries-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-calendar-cell-boundaries-padding{syntax:"<length>";inherits:false;initial-value:.25rem}@property --mds-calendar-cell-other-month-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-calendar-cell-disabled-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-calendar-cell-weekend-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-calendar-cell-size{syntax:"<length>";inherits:false;initial-value:3rem}@property --mds-calendar-cell-selection-boundaries-border-radius{syntax:"<length>";inherits:false;initial-value:1.5rem}@property --mds-calendar-cell-selection-week-boundaries-border-radius{syntax:"<length>";inherits:false;initial-value:1.5rem}:host{--mds-calendar-cell-background:transparent;--mds-calendar-cell-boundaries-background:transparent;--mds-calendar-cell-boundaries-color:rgb(var(--tone-neutral-01,255 255 255));--mds-calendar-cell-boundaries-padding:calc(var(--spacing,.0025rem)*100);--mds-calendar-cell-color:rgb(var(--tone-neutral-01,255 255 255));--mds-calendar-cell-other-month-background:transparent;--mds-calendar-cell-other-month-color:rgb(var(--tone-neutral-07,134 134 134));--mds-calendar-cell-disabled-background:transparent;--mds-calendar-cell-disabled-color:rgb(var(--tone-neutral-07,134 134 134));--mds-calendar-cell-weekend-background:transparent;--mds-calendar-cell-weekend-color:rgb(var(--tone-neutral-06,158 158 158));--mds-calendar-cell-size:calc(var(--spacing,.0025rem)*1200);--mds-calendar-cell-selection-boundaries-border-radius:200px;--mds-calendar-cell-selection-week-boundaries-border-radius:200px;--mds-calendar-cell-preselection-today-background:rgb(var(--variant-primary-09,0 58 168));--mds-calendar-cell-preselection-today-color:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-preselection-current-month-background:rgb(var(--variant-primary-08,0 83 239));--mds-calendar-cell-preselection-current-month-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-current-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-current-month-boundaries-background:rgb(var(--variant-primary-10,0 49 142));--mds-calendar-cell-preselection-other-month-background:rgb(var(--variant-primary-09,0 58 168));--mds-calendar-cell-preselection-other-month-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-other-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197));--mds-calendar-cell-preselection-other-month-boundaries-background:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-background:rgb(var(--variant-primary-04,184 208 255));--mds-calendar-cell-selection-current-month-color:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-boundaries-background:rgb(var(--tone-neutral,0 0 0));--mds-calendar-cell-selection-current-month-boundaries-color:rgb(var(--tone-neutral-03,233 233 233));--mds-calendar-cell-selection-current-month-weekend-background:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-selection-current-month-weekend-color:rgb(var(--variant-primary-07,44 117 255));--mds-calendar-cell-selection-current-month-weekend-boundaries-background:rgb(var(--variant-primary-03,211 226 255));--mds-calendar-cell-selection-current-month-weekend-boundaries-color:rgb(var(--tone-neutral-03,233 233 233));--mds-calendar-cell-selection-other-month-background:rgb(var(--variant-primary-07,44 117 255));--mds-calendar-cell-selection-other-month-color:rgb(var(--tone-neutral-04,218 218 218));--mds-calendar-cell-selection-other-month-boundaries-background:rgb(var(--variant-primary-10,0 49 142));--mds-calendar-cell-selection-other-month-boundaries-color:rgb(var(--tone-neutral-05,197 197 197));align-items:center;aspect-ratio:1;display:flex;justify-content:center;padding:var(--mds-calendar-cell-boundaries-padding,.25rem);position:relative}:host([month=other]){visibility:var(--mds-calendar-cell-other-month-visibility,hidden)}.inner-dot{aspect-ratio:1;background-color:var(--mds-calendar-cell-inner-background);border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);display:flex;min-height:0;min-width:0;width:100%;z-index:1}.area-background{background-color:var(--mds-calendar-cell-background,transparent);inset:0;z-index:0}.action,.area-background{color:var(--mds-calendar-cell-color,rgb(var(--tone-neutral-01,255 255 255)));position:absolute}.action{align-items:center;aspect-ratio:1;background-color:#0000;border-radius:0;display:flex;inset:calc(var(--mds-calendar-cell-gap,var(--gap-50))*-1);justify-content:center;min-height:0;min-width:0;padding:0;width:auto;z-index:2}:host([selection][orientation=horizontal]) .area-background{margin-left:calc(var(--mds-calendar-cell-gap,var(--gap-50))*-1);margin-right:calc(var(--mds-calendar-cell-gap,var(--gap-50))*-1)}:host([selection=start][orientation=horizontal]) .area-background{border-bottom-left-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);border-top-left-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);margin-left:0}:host([selection=end][orientation=horizontal]) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);border-top-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);margin-right:0}:host([selection][orientation=vertical]) .area-background{margin-bottom:calc(var(--mds-calendar-cell-gap,var(--gap-50))*-1);margin-top:calc(var(--mds-calendar-cell-gap,var(--gap-50))*-1)}:host([selection=start][orientation=vertical]) .area-background{border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem) var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem) 0 0;margin-top:0}:host([selection=end][orientation=vertical]) .area-background{border-radius:0 0 var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem) var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);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(--mds-calendar-cell-selection-week-boundaries-border-radius,1.5rem);border-top-left-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,1.5rem)}:host(:nth-child(7n)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,1.5rem);border-top-right-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,1.5rem)}:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);border-top-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem)}:host([selection][orientation=horizontal]:nth-child(7n-6)) .area-background{margin-left:0}:host([selection][orientation=horizontal]:nth-child(7n)) .area-background{margin-right:0}:host([selection=single][orientation=horizontal]) .area-background{border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,1.5rem);margin-left:0;margin-right:0}:host(:nth-child(7n)),:host(:nth-child(7n-1)){--mds-calendar-cell-color:var(--mds-calendar-cell-weekend-color,rgb(var(--tone-neutral-06,158 158 158)));--mds-calendar-cell-background:var(--mds-calendar-cell-weekend-background,transparent)}:host([month=other]:not([selection])){--mds-calendar-cell-color:var(--mds-calendar-cell-other-month-color,rgb(var(--tone-neutral-07,134 134 134)));--mds-calendar-cell-background:var(--mds-calendar-cell-other-month-background,transparent)}:host([disabled]){--mds-calendar-cell-color:var(--mds-calendar-cell-disabled-color,rgb(var(--tone-neutral-07,134 134 134)));--mds-calendar-cell-background:var(--mds-calendar-cell-disabled-background,transparent);cursor:auto;pointer-events:none}:host(:not([selection])[today]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-today-background,rgb(var(--variant-primary-09,0 58 168)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-today-color,rgb(var(--variant-primary-03,211 226 255)))}:host([selection][month=current]){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-background,rgb(var(--variant-primary-04,184 208 255)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-color,rgb(var(--tone-neutral,0 0 0)))}:host([selection][month=current]:nth-child(7n)),:host([selection][month=current]:nth-child(7n-1)){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-weekend-background,rgb(var(--variant-primary-03,211 226 255)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-weekend-color,rgb(var(--variant-primary-07,44 117 255)))}: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)){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-background,rgb(var(--variant-primary-03,211 226 255)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-color,rgb(var(--tone-neutral-03,233 233 233)))}:host([selection][month=other]){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-other-month-background,rgb(var(--variant-primary-07,44 117 255)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-other-month-color,rgb(var(--tone-neutral-04,218 218 218)))}:host([selection=end][month=current]),:host([selection=start][month=current]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-selection-current-month-boundaries-background,rgb(var(--tone-neutral,0 0 0)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-boundaries-color,rgb(var(--tone-neutral-03,233 233 233)))}:host([selection=end][month=other]),:host([selection=start][month=other]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-selection-other-month-boundaries-background,rgb(var(--variant-primary-10,0 49 142)));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-other-month-boundaries-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection][month=current][preview]:not([preview=false])){--mds-calendar-cell-background:var(--mds-calendar-cell-preselection-current-month-background,rgb(var(--variant-primary-08,0 83 239)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection][month=other][preview]:not([preview=false])){--mds-calendar-cell-background:var(--mds-calendar-cell-preselection-other-month-background,rgb(var(--variant-primary-09,0 58 168)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection=end][month=current][preview]:not([preview=false])),:host([selection=start][month=current][preview]:not([preview=false])){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--variant-primary-10,0 49 142)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection=end][month=other][preview]:not([preview=false])),:host([selection=start][month=other][preview]:not([preview=false])){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--tone-neutral,0 0 0)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection=single][month=current]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--variant-primary-10,0 49 142)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--tone-neutral-05,197 197 197)))}:host([selection=single][month=other]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--tone-neutral,0 0 0)));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--tone-neutral-05,197 197 197)))}'};var MdsCalendarCell=function(){function e(e){registerInstance(this,e);this.month="current";this.orientation="horizontal";this.preview=false;this.disabled=undefined;this.today=undefined}e.prototype.render=function(){return h(Host,{key:"eea49336dfecb6f76ef93509fb42228417bac55a"},h("div",{key:"ea9d3de623b5e1edf19bba5cab930022e790f8f8",class:"inner-dot"}),h("div",{key:"f973bf80d0456cbb7151db3dfebc6f80f9afc5ff",class:"area-background"}),h("mds-button",{key:"755324a7827cc9be52f8500f079df1f6f8285bde",class:"action",variant:"dark",tone:"text",disabled:this.disabled,label:this.label}))};return e}();MdsCalendarCell.style=mdsCalendarCellCss();export{MdsCalendar as mds_calendar,MdsCalendarCell as mds_calendar_cell};
1
+ var __awaiter=this&&this.__awaiter||function(e,a,t,r){function n(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,i){function s(e){try{c(r.next(e))}catch(e){i(e)}}function l(e){try{c(r["throw"](e))}catch(e){i(e)}}function c(e){e.done?t(e.value):n(e.value).then(s,l)}c((r=r.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,n,i,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=l(0),s["throw"]=l(1),s["return"]=l(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(a){return c([e,a])}}function c(l){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(t=0)),t)try{if(r=1,n&&(i=l[0]&2?n["return"]:l[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,l[1])).done)return i;if(n=0,i)l=[l[0]&2,i.value];switch(l[0]){case 0:case 1:i=l;break;case 4:t.label++;return{value:l[1],done:false};case 5:t.label++;n=l[1];l=[0];continue;case 7:l=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){t.label=l[1];break}if(l[0]===6&&t.label<i[1]){t.label=i[1];i=l;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(l);break}if(i[2])t.ops.pop();t.trys.pop();continue}l=a.call(e,t)}catch(e){l=[6,e];n=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{D as DateTime}from"./datetime-BJtA1qmE.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";import{s as sanitizeISO8601Date}from"./date-CACEYk42.js";import{c as clsx}from"./clsx-ChV9xqsO.js";var miBaselineForwardIos='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M6.23 20.23L8 22l10-10L8 2L6.23 3.77L14.46 12z"/></svg>';var miBaselineBackIosNew='<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 mdsCalendarCss=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(--magma-tint-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(--radius-lg,16px);--mds-calendar-background:rgb(var(--magma-surface-raised,var(--magma-tint-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(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));border-radius:var(--mds-calendar-border-radius,var(--radius-lg,16px));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(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));border-radius:inherit;box-sizing:border-box;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:-webkit-min-content;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{-ms-flex-pack:left;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{align-items:stretch;background-color:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));block-size:var(--mds-calendar-select-month-or-year-height,calc(var(--spacing,.0025rem)*900));border-radius:var(--mds-calendar-border-radius,var(--radius-lg,16px));box-sizing:border-box;display:flex;-ms-flex:0 0 var(--mds-calendar-select-month-or-year-width,14rem);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 MdsCalendar=/** @class */function(){function e(e){var a=this;registerInstance(this,e);this.datesEmitter=createEvent(this,"mdsCalendarChange",7);this.navigationEmitter=createEvent(this,"mdsCalendarNavigate",7);this.hoverEmitter=createEvent(this,"mdsCalendarHover",7);this.checkPreselectionsEmitter=createEvent(this,"mdsCalendarPreselect",7);this.hasPreselection=false;this.currentDate=DateTime.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="";this.handleMouseOver=function(e){var t=e.target;if(!t.matches("mds-calendar-cell")||a.singlePicker||a.internalStartDate===null||a.internalStartDate===""||a.internalEndDate!==null&&a.internalEndDate!==""){return}var r=t.getAttribute("date");if(r!==null&&r!==""){if(r!==a.internalHoverDate){a.internalHoverDate=r;requestAnimationFrame((function(){return a.setDates()}))}a.hoverEmitter.emit({hoverDate:r})}};this.handleMouseLeave=function(){var e=a.internalHoverDate!==null;a.internalHoverDate=null;if(a.singlePicker||a.internalStartDate===null||a.internalStartDate===""||a.internalEndDate!==null&&a.internalEndDate!==""){return}if(e){requestAnimationFrame((function(){return a.setDates()}))}if(a.hoverDate!==null&&a.hoverDate!==""){a.hoverEmitter.emit({hoverDate:null})}};this.handleMonthActionClick=function(e){e.stopPropagation();if(a.disableMonthYearSelection){e.preventDefault();return}a.currentView=a.currentView==="months"?"calendar":"months";requestAnimationFrame((function(){a.updateCalendar().then((function(){return a.setDates()}))}))};this.handleYearActionClick=function(e){e.stopPropagation();if(a.disableMonthYearSelection){e.preventDefault();return}a.currentView=a.currentView==="years"?"calendar":"years";requestAnimationFrame((function(){a.updateCalendar().then((function(){return a.setDates()}))}))};this.handlePrev=function(e){if(a.currentView==="calendar"){e.stopPropagation();a.changeMonth(-1)}else if(a.currentView==="years"){e.stopPropagation();a.selectedYear-=10}else{e.stopPropagation()}};this.handleNext=function(e){if(a.currentView==="calendar"){e.stopPropagation();a.changeMonth(1)}else if(a.currentView==="years"){e.stopPropagation();a.selectedYear+=10}else{e.stopPropagation()}};this.handleCellClick=function(e){return function(t){t.stopPropagation();var r=t.currentTarget;if(a.singlePicker)a.handleSingleSelection(r,e);else a.handleRange(r,e)}};this.handleMonthSelect=function(e){return function(t){t.stopPropagation();a.currentDate=a.currentDate.set({month:e});a.currentMonth=a.currentDate.toFormat("MMMM");a.currentView="calendar";a.updateCalendar().then((function(){requestAnimationFrame((function(){return a.setDates()}))}))}};this.handleYearSelect=function(e){return function(t){t.stopPropagation();a.currentDate=a.currentDate.set({year:e});a.currentYear=e.toString();a.currentView="calendar";a.updateCalendar().then((function(){requestAnimationFrame((function(){return a.setDates()}))}))}}}e.prototype.handleStartDate=function(e){var a=this.parseDateProp(e,"start-date");if(a!==null){this.internalStartDate=a;this.startDateTime=DateTime.fromISO(a);this.startDateIdentifier=this.startDateTime.toISODate();if(this.internalEndDate!==null&&this.internalEndDate!==""){var t=DateTime.fromISO(this.internalEndDate);if(this.startDateTime>t){console.warn("startDate is after endDate, swapping values");return}}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 a=this.parseDateProp(e,"end-date");if(a!==null){this.internalEndDate=a;this.endDateTime=DateTime.fromISO(a);this.endDateIdentifier=this.endDateTime.toISODate();if(this.internalStartDate!==null&&this.internalStartDate!==""){var t=DateTime.fromISO(this.internalStartDate);if(t>this.endDateTime){console.warn("startDate is after endDate, swapping values");return}}this.updateDates()}else{this.internalEndDate=null;this.endDateIdentifier=null;this.endDateTime=null;this.updateDates()}};e.prototype.handleViewDate=function(e){var a=this;if(e!==null&&e!==""){var t=DateTime.fromISO(e.toString());if(t.isValid){this.currentDate=t;this.updateCalendar().then((function(){requestAnimationFrame((function(){return a.setDates()}))}))}}};e.prototype.handleHoverDate=function(){var e=this;requestAnimationFrame((function(){return e.setDates()}))};
51
+ /**
52
+ * Normalizes a date prop to ISO 8601, treating an empty or invalid value as unset (`null`).
53
+ * An invalid value is reported with a warning instead of breaking the component lifecycle.
54
+ */e.prototype.parseDateProp=function(e,a){if(e===null||e===""){return null}var t=sanitizeISO8601Date(e.toString());if(t===null||!DateTime.fromISO(t).isValid){console.warn("mds-calendar: ignoring the invalid ".concat(a,' "').concat(e,'"'));return null}return t};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}if(this.viewDate!==null&&this.viewDate!==""){var e=DateTime.fromISO(this.viewDate.toString());if(e.isValid){this.currentDate=e}}else if(this.internalStartDate!==null){this.startDateTime=DateTime.fromISO(this.internalStartDate);this.currentDate=this.startDateTime}if(this.internalEndDate!==null){this.endDateTime=DateTime.fromISO(this.internalEndDate)}this.updateCalendar()};e.prototype.componentDidLoad=function(){var e,a,t,r;this.hasPreselection=((e=this.host)===null||e===void 0?void 0:e.querySelector(".date-preselection--has-preselection"))!==null;(t=(a=this.host)===null||a===void 0?void 0:a.shadowRoot)===null||t===void 0?void 0:t.addEventListener("mouseover",this.handleMouseOver);(r=this.host)===null||r===void 0?void 0:r.addEventListener("mouseleave",this.handleMouseLeave);this.setDates()};e.prototype.disconnectedCallback=function(){var e,a,t;(a=(e=this.host)===null||e===void 0?void 0:e.shadowRoot)===null||a===void 0?void 0:a.removeEventListener("mouseover",this.handleMouseOver);(t=this.host)===null||t===void 0?void 0:t.removeEventListener("mouseleave",this.handleMouseLeave)};
55
+ /**
56
+ * Sets the calendar's current date and re-renders the calendar accordingly.
57
+ * @param date the date to display, in ISO format (YYYY-MM-DD)
58
+ */e.prototype.updateCurrentDate=function(e){return __awaiter(this,void 0,void 0,(function(){var a=this;return __generator(this,(function(t){switch(t.label){case 0:this.currentDate=DateTime.fromISO(e);return[4/*yield*/,this.updateCalendar()];case 1:t.sent();return[4/*yield*/,new Promise((function(e){requestAnimationFrame((function(){a.setDates();e()}))}))];case 2:t.sent();return[2/*return*/,Promise.resolve()]}}))}))};
59
+ /**
60
+ * The date previewed on hover: a `hover-date` set by a parent wins over the cell hovered in
61
+ * this calendar, so that the parent can spread the preview across several visible calendars.
62
+ */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(a){try{e=this.currentDate.startOf("week");this.weekdays=Array.from({length:7}).map((function(a,t){return e.setLocale(preferenceStore.state.language).plus({days:t}).toFormat("ccc")}));this.calculateWeekDaysInMonth();this.currentMonth=this.currentDate.setLocale(preferenceStore.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 a=e.shadowRoot;if(!a)return;var t=a.querySelectorAll("mds-calendar-cell[selection], mds-calendar-cell[preview]");if(!this.singlePicker){var r=this.resolveHoverDate();if(r!==null&&(this.internalEndDate===null||this.internalEndDate==="")){this.setHoverSelection(t,a,r)}else{this.setRangeSelection(t,a)}}else{this.setSingleSelection(t,a)}};e.prototype.clearSelectionState=function(e){e.forEach((function(e){e.removeAttribute("selection");e.removeAttribute("preview")}))};e.prototype.setRangeSelection=function(e,a){var t=this;this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=DateTime.fromISO(this.internalStartDate.toString());if(this.internalEndDate===null||this.internalEndDate===""){this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false;var r=a.querySelectorAll("mds-calendar-cell");r.forEach((function(e){if(e.getAttribute("date")===t.startDateTime.toFormat("yyyy-MM-dd")){e.setAttribute("selection","single");e.setAttribute("preview","true")}}));return}this.endDateTime=DateTime.fromISO(this.internalEndDate.toString());this.startDateIdentifier=this.startDateTime.toISODate();this.endDateIdentifier=this.endDateTime.toISODate();var n=a.querySelectorAll("mds-calendar-cell");if(n!=null){var i=void 0;for(var s=0;s<n.length;s++){var l=n[s].getAttribute("date");if(l!==null&&l!==""){var c=DateTime.fromISO(l);if(c.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){n[s].setAttribute("selection","start")}if(c.toFormat("yyyy-MM-dd")===this.endDateTime.toFormat("yyyy-MM-dd")){if(this.startDateTime.equals(this.endDateTime)){n[s].setAttribute("selection","single")}else{n[s].setAttribute("selection","end")}}i=c>this.startDateTime&&c<this.endDateTime;if(i){n[s].setAttribute("selection","middle")}}}}};e.prototype.setHoverSelection=function(e,a,t){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate===""){this.setRangeSelection(e,a);return}var r=DateTime.fromISO(this.internalStartDate);var n=DateTime.fromISO(t);if(!r.isValid||!n.isValid){this.setRangeSelection(e,a);return}var i=r<=n;var s=Array.from(a.querySelectorAll("mds-calendar-cell"));s.forEach((function(e){var a=e.getAttribute("date");if(a===null||a==="")return;var t=DateTime.fromISO(a);if(!t.isValid)return;var s=i?t>=r&&t<=n:t>=n&&t<=r;if(!s)return;e.setAttribute("preview","true");var l="middle";if(r.equals(n)&&t.equals(r)){l="single"}else if(t.equals(r)){l=i?"start":"end"}else if(t.equals(n)){l=i?"end":"start"}e.setAttribute("selection",l)}))};e.prototype.setSingleSelection=function(e,a){this.clearSelectionState(e);if(this.internalStartDate===null||this.internalStartDate==="")return;this.startDateTime=DateTime.fromISO(this.internalStartDate.toString());var t=a.querySelectorAll("mds-calendar-cell");if(t!=null){for(var r=0;r<t.length;r++){var n=t[r].getAttribute("date");if(n!==null&&n!==""){var i=DateTime.fromISO(n);if(i.toFormat("yyyy-MM-dd")===this.startDateTime.toFormat("yyyy-MM-dd")){t[r].setAttribute("selection","single")}}}}};e.prototype.changeMonth=function(e){var a=this;this.currentDate=this.currentDate.plus({months:e});this.updateCalendar().then((function(){requestAnimationFrame((function(){return a.setDates()}))}));this.navigationEmitter.emit({currentDate:this.currentDate.toISODate(),delta:e})};e.prototype.calculateWeekDaysInMonth=function(){var e=this.currentDate.startOf("month");var a=this.currentDate.endOf("month");var t=[];var r=e.weekday;var n=r-1;var i=e.minus({days:n});for(var s=i;s<e;s=s.plus({days:1})){t.push({date:s,isCurrentMonth:false})}for(var s=e;s<=a;s=s.plus({days:1})){t.push({date:s,isCurrentMonth:true})}var l=a.weekday;var c=7-l;var d=a.plus({days:1});for(var s=d;s<d.plus({days:c});s=s.plus({days:1})){t.push({date:s,isCurrentMonth:false})}this.weekDaysinMonth=t};e.prototype.handleRange=function(e,a){var t=this;if(!this.singlePicker&&(this.endDate===null||this.endDate==="")&&(this.internalEndDate===null||this.internalEndDate==="")&&this.isFirstClick){var r=this.parseDateProp(this.startDate||this.host.getAttribute("start-date"),"start-date");if(r!==null){this.internalStartDate=r;this.startDateTime=DateTime.fromISO(r);this.startDateIdentifier=this.startDateTime.toISODate();this.isFirstClick=false}}var n=function(){t.internalStartDate=null;t.internalEndDate=null;t.startDateIdentifier=null;t.startDateTime=null;t.endDateIdentifier=null;t.endDateTime=null;t.isFirstClick=true;var e=t.host;requestAnimationFrame((function(){var a;(a=e===null||e===void 0?void 0:e.shadowRoot)===null||a===void 0?void 0:a.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=a.toISODate();this.startDateTime=a;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!==""&&DateTime.fromISO(this.startDateIdentifier)<DateTime.fromISO(e.getAttribute("date"))){this.endDateIdentifier=e.getAttribute("date");this.endDateTime=a;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=a;this.internalStartDate=this.startDateTime.toISO().split("T")[0]}
63
+ // Redraw start, middle and end from the internal dates: a standalone calendar has no parent
64
+ // echoing the range through start-date / end-date, so nothing else would mark the two ends.
65
+ requestAnimationFrame((function(){return t.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,a){var t;var r=this.host;(t=r===null||r===void 0?void 0:r.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("mds-calendar-cell[selection]").forEach((function(e){e.removeAttribute("selection")}));this.startDateIdentifier=e.getAttribute("date");this.startDateTime=a;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<DateTime.fromISO(this.min)){return true}if(this.max!==null&&this.max!==""&&e>DateTime.fromISO(this.max)){return true}return undefined};e.prototype.render=function(){var e=this;return h(Host,{key:"e130859b1f4bf2beb9804e7eb3f19a4e8993cef6"},h("div",{key:"c9a11a0b43304e2842b6877cb7c69a6a4559e38b",class:clsx("calendar-preselection",this.hasPreselection&&!this.hidePreselection&&"calendar-preselection--has-preselection")},h("slot",{key:"5b1fc4244c8d2a251036dc7f56e9aa5a1f1a1da2",name:"preselection"})),h("div",{key:"7a6a8ffd5626ddda3549f2d88531e6dff432635c",class:"calendar-view"},h("nav",{key:"d360afb2a1ff492043fb609022a1c9e779f3dc94"},!this.hidePreviousButton&&h("mds-button",{key:"9b89126a52540a553fe76bffc0b5a26917a0b00f",class:"action-back",icon:miBaselineBackIosNew,variant:"dark",tone:"text",onClick:this.handlePrev}),h("div",{key:"832e15b3fcef6d4540330f08d10c46eb9cf1b7ea",class:"select-month-or-year"},(this.currentView==="calendar"||this.currentView==="months")&&h("mds-button",{key:"247d5f1bdb1fa520848ce4c08ed11d362d286f04",class:"action-month",truncate:"none",variant:"dark",tone:"text",label:this.currentMonth,onClick:this.handleMonthActionClick}),(this.currentView==="calendar"||this.currentView==="years")&&h("mds-button",{key:"70b0cbdaed0415ee9dfe5613149a242451f8590e",class:"action-year",truncate:"none",variant:"dark",tone:"text",label:this.currentYear,onClick:this.handleYearActionClick})),!this.hideNextButton&&h("mds-button",{key:"082d14fb88582b71dca68809b23b7868363bfd50",class:"action-forward",icon:miBaselineForwardIos,variant:"dark",tone:"text",onClick:this.handleNext})),this.currentView==="calendar"&&h("section",{key:"002b9daea4696f17256c0cf60f5f2debf4de2fe5",class:"month-view"},h("header",{key:"a7d8e40c33a1aab088c4a3d70e92505a0e85b609",class:"month-view__days-names"},this.weekdays.map((function(e){return h("mds-button",{class:"week-day-name",variant:"dark",tone:"text",label:e})}))),h("div",{key:"3d7bbcfdcfc7a659f0f4d61dca1dc0db17eb1583",class:"month-view__cells"},this.weekDaysinMonth.map((function(a,t){return h("mds-calendar-cell",{key:t,today:!e.hideToday&&DateTime.now().toFormat("yyyy-MM-dd")===a.date.toFormat("yyyy-MM-dd"),date:a.date.toFormat("yyyy-MM-dd"),month:a.isCurrentMonth?"current":"other",disabled:e.isDateDisabled(a.date),onClick:e.handleCellClick(a.date),title:a.date.setLocale(preferenceStore.state.language).toFormat("cccc d LLLL").replace(/^./,(function(e){return e.toUpperCase()})),label:a.date.toFormat("dd")})})))),this.currentView==="months"&&h("section",{key:"e3772bd173caee39aabd053bd24c173f8c5757a7",class:"month-selection"},h("header",{key:"d0c2a1a77a16dbb18f14f42fef201d15324e9121",class:"month-view__month-names"},Array.from({length:12}).map((function(a,t){var r=DateTime.local().set({month:t+1}).setLocale(preferenceStore.state.language).toFormat("MMMM");return h("mds-button",{class:"action",variant:"dark",tone:"text",label:r,onClick:e.handleMonthSelect(t+1)})})))),this.currentView==="years"&&h("section",{key:"733754e6357c42c446e94584d52ad6c9b390921f",class:"year-selection"},h("header",{key:"a0e8cd41fb73eddc962576cd950adfdd0a9b44fb",class:"month-view__years"},Array.from({length:12}).map((function(a,t){var r=e.selectedYear+t;return h("mds-button",{class:"action",variant:"dark",tone:"text",label:"".concat(r),onClick:e.handleYearSelect(r)})}))))))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(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}();MdsCalendar.style=mdsCalendarCss();var mdsCalendarCellCss=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{--mds-calendar-cell-background:#0000;--mds-calendar-cell-boundaries-background:#0000;--mds-calendar-cell-boundaries-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-calendar-cell-boundaries-padding:calc(var(--spacing,.0025rem)*100);--mds-calendar-cell-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-calendar-cell-other-month-background:#0000;--mds-calendar-cell-other-month-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-disabled-background:#0000;--mds-calendar-cell-disabled-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-weekend-background:#0000;--mds-calendar-cell-weekend-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-calendar-cell-size:calc(var(--spacing,.0025rem)*1200);--mds-calendar-cell-selection-boundaries-border-radius:var(--radius-full,1000px);--mds-calendar-cell-selection-week-boundaries-border-radius:var(--radius-full,1000px);--mds-calendar-cell-preselection-today-background:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-calendar-cell-preselection-today-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-calendar-cell-preselection-current-month-background:rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226))));--mds-calendar-cell-preselection-current-month-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-preselection-current-month-boundaries-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-preselection-current-month-boundaries-background:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--mds-calendar-cell-preselection-other-month-background:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));--mds-calendar-cell-preselection-other-month-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-preselection-other-month-boundaries-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-calendar-cell-preselection-other-month-boundaries-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));--mds-calendar-cell-selection-current-month-background:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-calendar-cell-selection-current-month-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-calendar-cell-selection-current-month-boundaries-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));--mds-calendar-cell-selection-current-month-boundaries-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-calendar-cell-selection-current-month-weekend-background:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-calendar-cell-selection-current-month-weekend-color:rgb(var(--magma-accent-border,var(--magma-tint-accent-border,var(--variant-primary-06,148 172 218))));--mds-calendar-cell-selection-current-month-weekend-boundaries-background:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-calendar-cell-selection-current-month-weekend-boundaries-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-calendar-cell-selection-other-month-background:rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226))));--mds-calendar-cell-selection-other-month-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-calendar-cell-selection-other-month-boundaries-background:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--mds-calendar-cell-selection-other-month-boundaries-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:center;aspect-ratio:1;display:flex;justify-content:center;padding:var(--mds-calendar-cell-boundaries-padding,calc(var(--spacing,.0025rem)*100));position:relative}:host([month=other]){visibility:var(--mds-calendar-cell-other-month-visibility,hidden)}.inner-dot{aspect-ratio:1;background-color:var(--mds-calendar-cell-inner-background);border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);display:flex;min-height:0;min-width:0;width:100%;z-index:1}.area-background{background-color:var(--mds-calendar-cell-background,#0000);inset:0;position:absolute;z-index:0}.action,.area-background{color:var(--mds-calendar-cell-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))))}.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][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(--mds-calendar-cell-selection-boundaries-border-radius,200px);border-top-left-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);margin-left:0}:host([selection=end][orientation=horizontal]) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);border-top-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);margin-right:0}:host([selection][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(--mds-calendar-cell-selection-boundaries-border-radius,200px) var(--mds-calendar-cell-selection-boundaries-border-radius,200px) 0 0;margin-top:0}:host([selection=end][orientation=vertical]) .area-background{border-radius:0 0 var(--mds-calendar-cell-selection-boundaries-border-radius,200px) var(--mds-calendar-cell-selection-boundaries-border-radius,200px);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(--mds-calendar-cell-selection-week-boundaries-border-radius,200px);border-top-left-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,200px)}:host(:nth-child(7n)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,200px);border-top-right-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,200px)}:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);border-top-right-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px)}:host([selection][orientation=horizontal]:nth-child(7n-6)) .area-background{margin-left:0}:host([selection][orientation=horizontal]:nth-child(7n)) .area-background{margin-right:0}:host([selection=single][orientation=horizontal]) .area-background{border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,200px);margin-left:0;margin-right:0}:host(:nth-child(7n)),:host(:nth-child(7n-1)){--mds-calendar-cell-color:var(--mds-calendar-cell-weekend-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));--mds-calendar-cell-background:var(--mds-calendar-cell-weekend-background,#0000)}:host([month=other]:not([selection])){--mds-calendar-cell-color:var(--mds-calendar-cell-other-month-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));--mds-calendar-cell-background:var(--mds-calendar-cell-other-month-background,#0000)}:host([disabled]){--mds-calendar-cell-color:var(--mds-calendar-cell-disabled-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));--mds-calendar-cell-background:var(--mds-calendar-cell-disabled-background,#0000);cursor:auto;pointer-events:none}:host(:not([selection])[today]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-today-background,rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-today-color,rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204)))))}:host([selection][month=current]){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-background,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))))}:host([selection][month=current]:nth-child(7n)),:host([selection][month=current]:nth-child(7n-1)){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-weekend-background,rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-weekend-color,rgb(var(--magma-accent-border,var(--magma-tint-accent-border,var(--variant-primary-06,148 172 218)))))}: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)){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-background,rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))))}:host([selection][month=other]){--mds-calendar-cell-background:var(--mds-calendar-cell-selection-other-month-background,rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-other-month-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))))}:host([selection=end][month=current]),:host([selection=start][month=current]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-selection-current-month-boundaries-background,rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-current-month-boundaries-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))))}:host([selection=end][month=other]),:host([selection=start][month=other]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-selection-other-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240)))));--mds-calendar-cell-color:var(--mds-calendar-cell-selection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection][month=current][preview]:not([preview=false])){--mds-calendar-cell-background:var(--mds-calendar-cell-preselection-current-month-background,rgb(var(--magma-accent-surface-hover,var(--magma-tint-accent-surface-hover,var(--variant-primary-08,204 212 226)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection][month=other][preview]:not([preview=false])){--mds-calendar-cell-background:var(--mds-calendar-cell-preselection-other-month-background,rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection=end][month=current][preview]:not([preview=false])),:host([selection=start][month=current][preview]:not([preview=false])){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection=end][month=other][preview]:not([preview=false])),:host([selection=start][month=other][preview]:not([preview=false])){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection=single][month=current]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([selection=single][month=other]){--mds-calendar-cell-inner-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));--mds-calendar-cell-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}"};var MdsCalendarCell=/** @class */function(){function e(e){registerInstance(this,e);
66
+ /**
67
+ * Specifies if the current month or a weekend
68
+ */this.month="current";
69
+ /**
70
+ * Specifies the selection orientation of the cell
71
+ * @description It can be 'horizontal' or 'vertical', but currently only 'horizontal' is supported
72
+ */this.orientation="horizontal";
73
+ /**
74
+ * Specifies if the selection is a preview or the final selection
75
+ */this.preview=false;
76
+ /**
77
+ * Specifies if the cell is disabled
78
+ */this.disabled=undefined;
79
+ /**
80
+ * Specifies if the cell is today
81
+ */this.today=undefined}e.prototype.render=function(){return h(Host,{key:"eea49336dfecb6f76ef93509fb42228417bac55a"},h("div",{key:"ea9d3de623b5e1edf19bba5cab930022e790f8f8",class:"inner-dot"}),h("div",{key:"f973bf80d0456cbb7151db3dfebc6f80f9afc5ff",class:"area-background"}),h("mds-button",{key:"755324a7827cc9be52f8500f079df1f6f8285bde",class:"action",variant:"dark",tone:"text",disabled:this.disabled,label:this.label}))};return e}();MdsCalendarCell.style=mdsCalendarCellCss();export{MdsCalendar as mds_calendar,MdsCalendarCell as mds_calendar_cell};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-CAd5312P.js";var mdsCardContentCss=function(){return"@layer reset,vendor,theme,base,components,utilities;@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{display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-template-columns:repeat(auto-fit,minmax(1px,100%));min-width:0;padding:calc(var(--spacing,.0025rem)*400)}"};var MdsCardContent=function(){function t(t){registerInstance(this,t)}t.prototype.render=function(){return h(Host,{key:"565800120da6d86c184dd5f75c4e18fb5eae0b70",slot:"content"},h("slot",{key:"85c7feee51473d66cb921e3328f24756ef2436c4"}))};return t}();MdsCardContent.style=mdsCardContentCss();export{MdsCardContent as mds_card_content};
1
+ import{r as registerInstance,h,e as Host}from"./index-DIiEV39g.js";var mdsCardContentCss=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{background-color:var(--mds-card-background);display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-template-columns:repeat(auto-fit,minmax(1px,100%));min-width:0;padding:calc(var(--spacing,.0025rem)*400)}"};var MdsCardContent=/** @class */function(){function t(t){registerInstance(this,t)}t.prototype.render=function(){return h(Host,{key:"565800120da6d86c184dd5f75c4e18fb5eae0b70",slot:"content"},h("slot",{key:"85c7feee51473d66cb921e3328f24756ef2436c4"}))};return t}();MdsCardContent.style=mdsCardContentCss();export{MdsCardContent as mds_card_content};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-CAd5312P.js";var mdsCardFooterCss=function(){return"@layer reset,vendor,theme,base,components,utilities;@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;display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*400);justify-content:flex-end;min-width:0;padding:calc(var(--spacing,.0025rem)*400)}"};var MdsCardFooter=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"09063cd00e75b0949a6836416a2c768bd575f50f",slot:"footer"},h("slot",{key:"c06e99b7186e4037aa5c386eddd2ebb404b20e99"}))};return e}();MdsCardFooter.style=mdsCardFooterCss();export{MdsCardFooter as mds_card_footer};
1
+ import{r as registerInstance,h,e as Host}from"./index-DIiEV39g.js";var mdsCardFooterCss=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{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)}"};var MdsCardFooter=/** @class */function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,{key:"09063cd00e75b0949a6836416a2c768bd575f50f",slot:"footer"},h("slot",{key:"c06e99b7186e4037aa5c386eddd2ebb404b20e99"}))};return r}();MdsCardFooter.style=mdsCardFooterCss();export{MdsCardFooter as mds_card_footer};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-CAd5312P.js";var mdsCardHeaderCss=function(){return"@layer reset,vendor,theme,base,components,utilities;@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;display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*400);justify-content:space-between;min-width:0;padding:calc(var(--spacing,.0025rem)*400)}"};var MdsCardHeader=function(){function e(e){registerInstance(this,e)}e.prototype.componentWillLoad=function(){this.actions=this.hostElement.querySelector(':scope > [slot="action"]')!==null};e.prototype.render=function(){return h(Host,{key:"6efc9cb2ce54f8114d6143a3b514c66205c44444",slot:"header"},h("slot",{key:"c7ad38193e9d5f36c447dd636909cd426f53496d"}),this.actions&&h("div",{key:"f80bc0f5444df7271c6b09792a7cdc24a79edaf7",class:"actions"},h("slot",{key:"196095c6e86c45c02450776892ce77b3993e69b3",name:"action"})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsCardHeader.style=mdsCardHeaderCss();export{MdsCardHeader as mds_card_header};
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{h as hasChildWithSlot}from"./slot-C0o_l0td.js";import{c as clsx}from"./clsx-ChV9xqsO.js";var mdsCardHeaderCss=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{align-items:center;background-color:var(--mds-card-background);display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*400);justify-content:space-between;min-width:0;padding:calc(var(--spacing,.0025rem)*400)}.actions--hidden{display:none}"};var MdsCardHeader=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.onActionSlotChange=function(){t.hasActions=hasChildWithSlot(t.hostElement,"action")}}e.prototype.componentWillLoad=function(){this.hasActions=hasChildWithSlot(this.hostElement,"action")};e.prototype.render=function(){return h(Host,{key:"d01cfc808dc8593dbc9d807523a5c348fbcf39c8",slot:"header"},h("slot",{key:"4bd11a12259a2ecf1b97eeb6a9cec1ff221d9361"}),h("div",{key:"5a91d3d06f40db3c11ac39a45352c8705e3b222b",class:clsx("actions",!this.hasActions&&"actions--hidden")},h("slot",{key:"bf535fe4b82884071f1b5b6c6962a3848b7857f7",name:"action",onSlotchange:this.onActionSlotChange})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsCardHeader.style=mdsCardHeaderCss();export{MdsCardHeader as mds_card_header};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-CAd5312P.js";var mdsCardMediaCss=function(){return"@layer reset,vendor,theme,base,components,utilities;@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{background-color:rgb(var(--tone-neutral-09,76 76 76));display:grid;min-width:0;position:relative}.content{align-items:flex-end;display:flex;gap:calc(var(--spacing,.0025rem)*200);inset:0;justify-content:center;padding:calc(var(--spacing,.0025rem)*400);position:absolute}.img{-o-object-fit:contain;object-fit:contain}"};var MdsCardMedia=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"2b44ca234a11ddc6775b20081809ba04b63dbf53",slot:"media"},h("div",{key:"7fa0c8e670f3ee6ec9a1ad656ac5553fab37b9aa",class:"content",part:"content"},h("slot",{key:"72547efbb5900edd34ce5cc5f4e7782d293b5e78",name:"content"})),h("slot",{key:"b39be7942b66438b905d9fae1ab0bdf9c437dd81"}))};return e}();MdsCardMedia.style=mdsCardMediaCss();export{MdsCardMedia as mds_card_media};
1
+ import{r as registerInstance,h,e as Host}from"./index-DIiEV39g.js";var mdsCardMediaCss=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{background-color:var(--mds-card-background);display:grid;min-width:0;position:relative}.content{align-items:flex-end;display:flex;gap:calc(var(--spacing,.0025rem)*200);inset:0;justify-content:center;padding:calc(var(--spacing,.0025rem)*400);position:absolute}.img{-o-object-fit:contain;object-fit:contain}"};var MdsCardMedia=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"2b44ca234a11ddc6775b20081809ba04b63dbf53",slot:"media"},h("div",{key:"7fa0c8e670f3ee6ec9a1ad656ac5553fab37b9aa",class:"content",part:"content"},h("slot",{key:"72547efbb5900edd34ce5cc5f4e7782d293b5e78",name:"content"})),h("slot",{key:"b39be7942b66438b905d9fae1ab0bdf9c437dd81"}))};return e}();MdsCardMedia.style=mdsCardMediaCss();export{MdsCardMedia as mds_card_media};
@@ -1 +1,7 @@
1
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{c as clsx}from"./clsx-ChV9xqsO.js";var mdsCardCss=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{--mds-card-gap:0;--mds-card-padding:0}}}@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-card-content,mds-card-footer,mds-card-header,mds-card-media):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}@property --mds-card-gap{syntax:"<length>";inherits:false;initial-value:0}@property --mds-card-padding{syntax:"<length>";inherits:false;initial-value:0}:host{--mds-card-gap:0;--mds-card-padding:0;background-color:rgb(var(--tone-neutral,0 0 0));border-radius:var(--radius-2xl,24px);-webkit-box-shadow:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);box-shadow:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);corner-shape:var(--magma-corner-shape,round);container:mds-card/inline-size;display:grid;min-height:calc(var(--spacing,.0025rem)*400);overflow:hidden}.layout:not(.layout--disabled) ::slotted([slot=media]){grid-area:media}.layout:not(.layout--disabled) ::slotted([slot=header]){grid-area:header}.layout:not(.layout--disabled) ::slotted([slot=content]){grid-area:content}.layout:not(.layout--disabled) ::slotted([slot=footer]){grid-area:footer}.layout{display:grid;gap:var(--mds-card-gap,0);grid-template-columns:repeat(auto-fit,minmax(1px,100%));padding:var(--mds-card-padding,0)}.layout--cfhm:not(.layout--disabled){grid-template-areas:"header""media""content""footer";grid-template-rows:-webkit-min-content -webkit-min-content 1fr -webkit-min-content;grid-template-rows:min-content min-content 1fr min-content}.layout--chm:not(.layout--disabled){grid-template-areas:"header""media""content";grid-template-rows:-webkit-min-content -webkit-min-content 1fr;grid-template-rows:min-content min-content 1fr}.layout--cfm:not(.layout--disabled){grid-template-areas:"media""content""footer"}.layout--cfm:not(.layout--disabled),.layout--fhm:not(.layout--disabled){grid-template-rows:-webkit-min-content 1fr -webkit-min-content;grid-template-rows:min-content 1fr min-content}.layout--fhm:not(.layout--disabled){grid-template-areas:"header""media""footer"}.layout--cfh:not(.layout--disabled){grid-template-areas:"header""content""footer";grid-template-rows:-webkit-min-content 1fr -webkit-min-content;grid-template-rows:min-content 1fr min-content}.layout--hm:not(.layout--disabled){grid-template-areas:"header""media";grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}.layout--fm:not(.layout--disabled){grid-template-areas:"media""footer";grid-template-rows:1fr -webkit-min-content;grid-template-rows:1fr min-content}.layout--cm:not(.layout--disabled){grid-template-areas:"media""content"}.layout--cm:not(.layout--disabled),.layout--fh:not(.layout--disabled){grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}.layout--fh:not(.layout--disabled){grid-template-areas:"header""footer"}.layout--ch:not(.layout--disabled){grid-template-areas:"header""content";grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}.layout--cf:not(.layout--disabled){grid-template-areas:"content""footer";grid-template-rows:1fr -webkit-min-content;grid-template-rows:1fr min-content}.layout--h:not(.layout--disabled){grid-template-areas:"header";grid-template-rows:1fr}.layout--m:not(.layout--disabled){grid-template-areas:"media";grid-template-rows:1fr}.layout--c:not(.layout--disabled){grid-template-areas:"content";grid-template-rows:1fr}.layout--f:not(.layout--disabled){grid-template-areas:"footer";grid-template-rows:1fr}@container mds-card not (max-width:30em){.layout--cfhm:not(.layout--disabled){grid-template-areas:"media header""media content""media footer";grid-template-columns:minmax(240px,1fr) 2fr;grid-template-rows:-webkit-min-content 1fr -webkit-min-content;grid-template-rows:min-content 1fr min-content}.layout--chm:not(.layout--disabled){grid-template-areas:"media header""media content""media content";grid-template-columns:minmax(240px,1fr) 2fr;grid-template-rows:-webkit-min-content 1fr 1fr;grid-template-rows:min-content 1fr 1fr}.layout--fhm:not(.layout--disabled){grid-template-areas:"media header""media footer";grid-template-columns:minmax(240px,1fr) 2fr;grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}.layout--cfm:not(.layout--disabled){grid-template-areas:"media content""media footer"}.layout--cfm:not(.layout--disabled),.layout--cm:not(.layout--disabled){grid-template-columns:minmax(240px,1fr) 2fr;grid-template-rows:1fr -webkit-min-content;grid-template-rows:1fr min-content}.layout--cm:not(.layout--disabled){grid-template-areas:"media content"}}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){background-color:rgb(var(--tone-neutral,0 0 0));-webkit-box-shadow:var(--shadow-outline-light);box-shadow:var(--shadow-outline-light)}:host-context(:root.pref-contrast-more){-webkit-box-shadow:var(--shadow-outline-50),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-shadow:var(--shadow-outline-50),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){background-color:rgb(var(--tone-neutral,0 0 0));-webkit-box-shadow:var(--shadow-outline-light);box-shadow:var(--shadow-outline-light)}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){-webkit-box-shadow:var(--shadow-outline-50),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-shadow:var(--shadow-outline-50),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}'};var MdsCard=function(){function t(t){registerInstance(this,t);this.autoGrid=true}t.prototype.componentWillLoad=function(){this.layout=Array.from(this.host.children).map((function(t){return(t.getAttribute("slot")!=null?t.getAttribute("slot")!=="":t.tagName.startsWith("MDS-CARD-"))?t.tagName.toLocaleLowerCase().replace("mds-card-",""):""})).sort().reduce((function(t,e){return t+e.charAt(0)}),"")};t.prototype.render=function(){return h(Host,{key:"29ed24cfe97cc5d2cc898cf26df0e4251ed4555f"},h("div",{key:"10c741aefac2067595b80c88879700af7c088824",class:clsx("layout",this.layout&&"layout--".concat(this.layout),!this.autoGrid?"layout--disabled":""),part:"layout"},h("slot",{key:"ee1956eefa0e1a1715592db6b7790a6120e8fb34",name:"media"}),h("slot",{key:"8aefb8b2cb53dfc9ecfa45183988ec7a8db45524",name:"header"}),h("slot",{key:"3cb04f02b82f2fd314a5e20f169c4efea628985c",name:"content"}),h("slot",{key:"e87dd33aae38437af938120c2de966d361032228",name:"footer"})))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsCard.style=mdsCardCss();export{MdsCard as mds_card};
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";import{c as clsx}from"./clsx-ChV9xqsO.js";var mdsCardCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-card-content,mds-card-footer,mds-card-header,mds-card-media):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-card-gap:0;--mds-card-padding:0;--mds-card-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));background-color:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));-webkit-box-shadow:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);box-shadow:var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f);corner-shape:var(--magma-corner-shape,squircle);container:mds-card/inline-size;display:grid;min-height:calc(var(--spacing,.0025rem)*400);overflow:hidden}.layout:not(.layout--disabled) ::slotted([slot=media]){grid-area:media}.layout:not(.layout--disabled) ::slotted([slot=header]){grid-area:header}.layout:not(.layout--disabled) ::slotted([slot=content]){grid-area:content}.layout:not(.layout--disabled) ::slotted([slot=footer]){grid-area:footer}.layout{display:grid;gap:var(--mds-card-gap,0);grid-template-columns:repeat(auto-fit,minmax(1px,100%));padding:var(--mds-card-padding,0)}.layout--cfhm:not(.layout--disabled){grid-template-areas:"header""media""content""footer";grid-template-rows:-webkit-min-content -webkit-min-content 1fr -webkit-min-content;grid-template-rows:min-content min-content 1fr min-content}.layout--chm:not(.layout--disabled){grid-template-areas:"header""media""content";grid-template-rows:-webkit-min-content -webkit-min-content 1fr;grid-template-rows:min-content min-content 1fr}.layout--cfm:not(.layout--disabled){grid-template-areas:"media""content""footer"}.layout--cfm:not(.layout--disabled),.layout--fhm:not(.layout--disabled){grid-template-rows:-webkit-min-content 1fr -webkit-min-content;grid-template-rows:min-content 1fr min-content}.layout--fhm:not(.layout--disabled){grid-template-areas:"header""media""footer"}.layout--cfh:not(.layout--disabled){grid-template-areas:"header""content""footer";grid-template-rows:-webkit-min-content 1fr -webkit-min-content;grid-template-rows:min-content 1fr min-content}.layout--hm:not(.layout--disabled){grid-template-areas:"header""media";grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}.layout--fm:not(.layout--disabled){grid-template-areas:"media""footer";grid-template-rows:1fr -webkit-min-content;grid-template-rows:1fr min-content}.layout--cm:not(.layout--disabled){grid-template-areas:"media""content"}.layout--cm:not(.layout--disabled),.layout--fh:not(.layout--disabled){grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}.layout--fh:not(.layout--disabled){grid-template-areas:"header""footer"}.layout--ch:not(.layout--disabled){grid-template-areas:"header""content";grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}.layout--cf:not(.layout--disabled){grid-template-areas:"content""footer";grid-template-rows:1fr -webkit-min-content;grid-template-rows:1fr min-content}.layout--h:not(.layout--disabled){grid-template-areas:"header";grid-template-rows:1fr}.layout--m:not(.layout--disabled){grid-template-areas:"media";grid-template-rows:1fr}.layout--c:not(.layout--disabled){grid-template-areas:"content";grid-template-rows:1fr}.layout--f:not(.layout--disabled){grid-template-areas:"footer";grid-template-rows:1fr}@container mds-card not (max-width:30em){.layout--cfhm:not(.layout--disabled){grid-template-areas:"media header""media content""media footer";grid-template-columns:minmax(240px,1fr) 2fr;grid-template-rows:-webkit-min-content 1fr -webkit-min-content;grid-template-rows:min-content 1fr min-content}.layout--chm:not(.layout--disabled){grid-template-areas:"media header""media content""media content";grid-template-columns:minmax(240px,1fr) 2fr;grid-template-rows:-webkit-min-content 1fr 1fr;grid-template-rows:min-content 1fr 1fr}.layout--fhm:not(.layout--disabled){grid-template-areas:"media header""media footer";grid-template-columns:minmax(240px,1fr) 2fr;grid-template-rows:-webkit-min-content 1fr;grid-template-rows:min-content 1fr}.layout--cfm:not(.layout--disabled){grid-template-areas:"media content""media footer"}.layout--cfm:not(.layout--disabled),.layout--cm:not(.layout--disabled){grid-template-columns:minmax(240px,1fr) 2fr;grid-template-rows:1fr -webkit-min-content;grid-template-rows:1fr min-content}.layout--cm:not(.layout--disabled){grid-template-areas:"media content"}}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a);box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}'};var MdsCard=/** @class */function(){function t(t){registerInstance(this,t);
2
+ /**
3
+ * Disables the automatic responsive behavior based on container queries
4
+ */this.disableAutoGrid=false}t.prototype.componentWillLoad=function(){this.layout=Array.from(this.host.children).map((function(t){return(t.getAttribute("slot")!=null?t.getAttribute("slot")!=="":// if no custom slot find mds-card-{component}
5
+ t.tagName.startsWith("MDS-CARD-"))?// replace mds-card-header with header (for all mds-card-{component})
6
+ t.tagName.toLocaleLowerCase().replace("mds-card-",""):// if find other tag do nothing
7
+ ""})).sort().reduce((function(t,e){return t+e.charAt(0)}),"")};t.prototype.render=function(){return h(Host,{key:"700b5644069cd6a7d4bfc3bea54079caf47ca59c","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"9aed1455a96800a5a02fcac985a10068a09843da",class:clsx("layout",this.layout&&"layout--".concat(this.layout),this.disableAutoGrid?"layout--disabled":""),part:"layout"},h("slot",{key:"fa2fbd0bc71d9eaf6bf140dd499237ffae0ccb2d",name:"media"}),h("slot",{key:"7a3baf27222a6ff33a21b2bc7b8f95845aff8d56",name:"header"}),h("slot",{key:"65c90c6b1fd22dc4234e97c5ddd8a049835f018b",name:"content"}),h("slot",{key:"1977d445c55d24de92a933e0fc6d659641c0f439",name:"footer"})))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsCard.style=mdsCardCss();export{MdsCard as mds_card};
@@ -1 +1,4 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{m as miBaselineKeyboardArrowRight}from"./keyboard-arrow-right-DFyAGAnn.js";import{K as KeyboardManager}from"./keyboard-manager-BudfaWhu.js";var mdsDetailsCss=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{--mds-details-duration:.3s;--mds-details-icon-color:rgb(var(--variant-primary-04,184 208 255));--mds-details-helper-icon-color:rgb(var(--tone-neutral-03,233 233 233))}}}@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,6px)}50%{outline-offset:var(--magma-outline-blur-offset,2px)}}: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}@property --mds-details-duration{syntax:"<time>";inherits:false;initial-value:.3s}:host{--mds-details-duration:.3s;--mds-details-icon-color:rgb(var(--variant-primary-04,184 208 255));--mds-details-helper-icon-color:rgb(var(--tone-neutral-03,233 233 233));align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*200)}.content{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));display:grid;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out}.content:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.details{display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-template-rows:0fr;opacity:0;overflow:hidden;padding-top:0;pointer-events:none;-webkit-transition-duration:var(--mds-details-duration,.3s);transition-duration:var(--mds-details-duration,.3s);transition-property:grid-template-rows,opacity,padding,-ms-grid-rows}.content-expander{display:grid;gap:calc(var(--spacing,.0025rem)*500);min-height:0}.details.opened{grid-template-rows:1fr;opacity:1;overflow:visible;padding-top:calc(var(--spacing,.0025rem)*300);pointer-events:auto}.header{align-items:center;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--radius-xs,8px);display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out}.header:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.icon{cursor:pointer;fill:var(--mds-details-icon-color,rgb(var(--variant-primary-04,184 208 255)))}.icon--hidden{display:none}.helper-icon,.title{cursor:pointer}.helper-icon{display:flex;fill:var(--mds-details-helper-icon-color,rgb(var(--tone-neutral-03,233 233 233)));flex-shrink:0;rotate:0deg;-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:rotate;-webkit-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.helper-icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.helper-icon.opened{rotate:90deg}.actions{display:flex;gap:calc(var(--spacing,.0025rem)*400)}:host-context(:root.pref-animation-reduce){--mds-details-duration:0s}:host-context(:root.pref-contrast-more){--mds-details-icon-color:rgb(var(--variant-primary-03,211 226 255));--mds-details-helper-icon-color:rgb(var(--tone-neutral-02,244 244 244))}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))){--mds-details-duration:0s}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){--mds-details-icon-color:rgb(var(--variant-primary-03,211 226 255));--mds-details-helper-icon-color:rgb(var(--tone-neutral-02,244 244 244))}}'};var MdsDetails=function(){function a(a){var t=this;registerInstance(this,a);this.changedEvent=createEvent(this,"mdsDetailsChange");this.hasIcon=true;this.km=new KeyboardManager;this.opened=false;this.toggle=function(){t.isOpened=!t.isOpened;t.changedEvent.emit(t.isOpened)};this.checkIcon=function(){t.hasIcon=t.host.querySelector(':scope > [slot="icon"]')!==null};this.onSlotChangeHandler=function(){t.checkIcon()}}a.prototype.validateOpened=function(a){this.isOpened=a};a.prototype.componentWillLoad=function(){this.isOpened=this.opened;this.checkIcon()};a.prototype.componentDidLoad=function(){var a;var t=(a=this.host.shadowRoot)===null||a===void 0?void 0:a.querySelector(".header");this.km.addElement(t);this.km.attachClickBehavior()};a.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};a.prototype.render=function(){return h(Host,{key:"d74c147e767625599ead47337938ca8314758dac"},h("div",{key:"6d0b01f008d95f0eafee89d026fc7131008c521e",class:clsx("icon",this.hasIcon?"":"icon--hidden"),onClick:this.toggle},h("slot",{key:"da0be4d9fca3fff84841b8ac56c7969103299a8f",name:"icon",onSlotchange:this.onSlotChangeHandler})),h("div",{key:"dfb7b13ef7a28539c1cc50419887c50e3d2ee3fd",class:"content"},h("header",{key:"4209585b8554c8aca288f813849446da4b72d532",class:"header",part:"header",tabindex:"0",onClick:this.toggle},h("div",{key:"825c05b8282b143bf555cf3724a4c61e96fe680d",class:"title",part:"title"},h("slot",{key:"9d339db4c240c11a334105ee8a3c35eba01497a4",name:"title"})),h("i",{key:"2eff776b4d94546fa56c2c744c03d58d453df89b",class:clsx("helper-icon",this.isOpened&&"opened"),innerHTML:miBaselineKeyboardArrowRight})),h("div",{key:"cabc3ad3fcb39ca665c73300daf4baad7559fe33",class:clsx("details",this.isOpened&&"opened")},h("div",{key:"c0522330a06abb1ad0fa336ab1574da972643840",class:"content-expander",part:"content"},h("slot",{key:"6f02ec01d42f17bd88733308c3fd4523ea1e14bd"}),h("div",{key:"64590622875aac471b094064cc20591356f5046b",class:"actions"},h("slot",{key:"daa26ab68c2421e84f4a25634b264376a3874171",name:"action"}))))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{opened:[{validateOpened:0}]}},enumerable:false,configurable:true});return a}();MdsDetails.style=mdsDetailsCss();export{MdsDetails as mds_details};
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{h as hasChildWithSlot}from"./slot-C0o_l0td.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{m as miBaselineKeyboardArrowRight}from"./keyboard-arrow-right-DFyAGAnn.js";import{K as KeyboardManager}from"./keyboard-manager-KRu9I7dw.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";var mdsDetailsCss=function(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}: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-details-duration:.3s;--private-details-duration:var(--mds-details-duration,.3s);--mds-details-icon-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-details-helper-icon-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*200)}.content{animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));display:grid;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out}.content:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.details{display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-template-rows:0fr;opacity:0;overflow:hidden;padding-top:0;pointer-events:none;-webkit-transition-duration:var(--private-details-duration);transition-duration:var(--private-details-duration);transition-property:grid-template-rows,opacity,padding,-ms-grid-rows}.content-expander{display:grid;gap:calc(var(--spacing,.0025rem)*500);min-height:0}.details.opened{grid-template-rows:1fr;opacity:1;overflow:visible;padding-top:calc(var(--spacing,.0025rem)*300);pointer-events:auto}.header{align-items:center;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));border-radius:var(--radius-xs,8px);display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out}.header:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.icon{cursor:pointer;fill:var(--mds-details-icon-color,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))))}.icon--hidden{display:none}.helper-icon,.title{cursor:pointer}.helper-icon{display:flex;fill:var(--mds-details-helper-icon-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));flex-shrink:0;rotate:0deg;-webkit-transition-duration:var(--duration-300,.3s);transition-duration:var(--duration-300,.3s);transition-property:rotate;-webkit-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.helper-icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.helper-icon.opened{rotate:90deg}.actions{display:flex;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-details-duration:0s}:host([pref-contrast=more]){--mds-details-icon-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}@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-details-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-details-icon-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}}"};var MdsDetails=/** @class */function(){function a(a){var t=this;registerInstance(this,a);this.changedEvent=createEvent(this,"mdsDetailsChange",7);this.hasIcon=true;this.km=new KeyboardManager;
2
+ /**
3
+ * Specifies if the component is opened
4
+ */this.opened=false;this.toggle=function(){t.isOpened=!t.isOpened;t.changedEvent.emit(t.isOpened)};this.checkIcon=function(){t.hasIcon=hasChildWithSlot(t.host,"icon")};this.onSlotChangeHandler=function(){t.checkIcon()}}a.prototype.validateOpened=function(a){this.isOpened=a};a.prototype.componentWillLoad=function(){this.isOpened=this.opened;this.checkIcon()};a.prototype.componentDidLoad=function(){var a;var t=(a=this.host.shadowRoot)===null||a===void 0?void 0:a.querySelector(".header");this.km.addElement(t);this.km.attachClickBehavior()};a.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};a.prototype.render=function(){return h(Host,{key:"8e641d8744634b75a7ab100fff2fdd044e9578be","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast},h("div",{key:"437e4afc2322c2ceb604ed5a9e4a914633be2eb7",class:clsx("icon",this.hasIcon?"":"icon--hidden"),onClick:this.toggle},h("slot",{key:"35e82720b20db64e0297b43a9720d9c99ef202c0",name:"icon",onSlotchange:this.onSlotChangeHandler})),h("div",{key:"ca32bc9444f09223b02370fbb6fc712daf56b1ab",class:"content"},h("div",{key:"92f9b60a40930ec514cc05b66dc71856d5cbc55b",class:"header",part:"header",role:"button","aria-expanded":this.isOpened?"true":"false",tabindex:"0",onClick:this.toggle},h("div",{key:"82a2d6ad0e835e9d203070cb48a0b0bef0aa2d22",class:"title",part:"title"},h("slot",{key:"5e54697ea87164ce24efd308806c75cb914ccf66",name:"title"})),h("i",{key:"5365901ecffafb409f0f67d7f8879f8d936e026e",class:clsx("helper-icon",this.isOpened&&"opened"),innerHTML:miBaselineKeyboardArrowRight})),h("div",{key:"a4dc952e107c165d80a78dfc273d7f44938ee0d4",class:clsx("details",this.isOpened&&"opened")},h("div",{key:"e6602015f7509fe9fe7cb130a2f29dde53667679",class:"content-expander",part:"content"},h("slot",{key:"fbc903eff1abd02c608a7a8160cf0e301229400c"}),h("div",{key:"c2dd1a86cf6680a19baaf0ca4a5b94f340bfcb4c",class:"actions"},h("slot",{key:"0b3ec5f035285941d457202619961dafa27367dc",name:"action"}))))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{opened:[{validateOpened:0}]}},enumerable:false,configurable:true});return a}();MdsDetails.style=mdsDetailsCss();export{MdsDetails as mds_details};
@@ -1 +1,102 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{K as KeyboardManager}from"./keyboard-manager-BudfaWhu.js";import{c as cssDurationToMilliseconds}from"./unit-D8eZRaSQ.js";import{B as Backdrop,F as FloatingController}from"./floating-controller-CP3-OFb9.js";import"./floating-ui.dom-8RYXTPXs.js";import"./aria-CSCy6TMW.js";var arrowSvg='<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 mdsDropdownCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@layer reset,vendor,theme,base,components,utilities;@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{--mds-dropdown-arrow-background:var(--mds-dropdown-background,rgb(var(--tone-neutral,0 0 0)));--mds-dropdown-backdrop-duration:.2s;--mds-dropdown-backdrop-z-index:3000;--mds-dropdown-background:rgb(var(--tone-neutral,0 0 0));--mds-dropdown-mouseover-delay:.5s;--mds-dropdown-drop-shadow-color-rgb:0 0 0;--mds-dropdown-duration:.5s;--mds-dropdown-z-index:4000;--mds-dropdown-transform-from:scale(.9) translateY(-3%);--mds-dropdown-transform-to:scale(.9) translateY(-3%)}}}@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}@property --mds-dropdown-backdrop-duration{syntax:"<time>";inherits:false;initial-value:.2s}@property --mds-dropdown-backdrop-z-index{syntax:"<integer>";inherits:false;initial-value:3000}@property --mds-dropdown-mouseover-delay{syntax:"<time>";inherits:false;initial-value:.5s}@property --mds-dropdown-drop-shadow-color-rgb{syntax:"<number>+";inherits:false;initial-value:0 0 0}@property --mds-dropdown-duration{syntax:"<time>";inherits:false;initial-value:.5s}@property --mds-dropdown-z-index{syntax:"<integer>";inherits:false;initial-value:4000}@property --mds-dropdown-transform-from{syntax:"<transform-list>";inherits:false;initial-value:scale(.9)translateY(-3%)}@property --mds-dropdown-transform-to{syntax:"<transform-list>";inherits:false;initial-value:scale(.9)translateY(-3%)}:host{--mds-dropdown-arrow-background:var(--mds-dropdown-background,rgb(var(--tone-neutral,0 0 0)));--mds-dropdown-backdrop-duration:.2s;--mds-dropdown-backdrop-z-index:var(--magma-backdrop-z-index,3000);--mds-dropdown-background:rgb(var(--tone-neutral,0 0 0));--mds-dropdown-drop-shadow-color-rgb:var(--tone-neutral-01,255 255 255);--mds-dropdown-drop-shadow:drop-shadow(0 10px 8px rgb(var(--mds-dropdown-drop-shadow-color-rgb,0 0 0)/.05)) drop-shadow(0 4px 3px rgb(var(--mds-dropdown-drop-shadow-color-rgb,0 0 0)/.15)) drop-shadow(0 0 1px rgb(var(--mds-dropdown-drop-shadow-color-rgb,0 0 0)/.15));--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,4000);background-color:var(--mds-dropdown-background,rgb(var(--tone-neutral,0 0 0)));border-radius:var(--radius-md,12px);box-sizing:border-box;corner-shape:var(--magma-corner-shape,round);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;-webkit-transform:var(--mds-dropdown-transform-from,scale(.9) translateY(-3%));transform:var(--mds-dropdown-transform-from,scale(.9) translateY(-3%));transition-behavior:allow-discrete;-webkit-transition-duration:var(--mds-dropdown-duration,.5s);transition-duration:var(--mds-dropdown-duration,.5s);transition-property:opacity,transform,transform-origin,display;-webkit-transition-timing-function:var(--mds-dropdown-ease);transition-timing-function:var(--mds-dropdown-ease);z-index:var(--mds-dropdown-z-index,4000)}:host([visible]:not([visible=false])){display:grid;opacity:1;pointer-events:auto;-webkit-transform:var(--mds-dropdown-transform-to,scale(.9) translateY(-3%));transform:var(--mds-dropdown-transform-to,scale(.9) translateY(-3%))}@starting-style{:host([visible]:not([visible=false])){opacity:0;transform:scale(0)}}:host([smooth]:not([smooth=false])){transition-property:bottom,left,opacity,right,top,transform,transform-origin}.arrow{display:flex;fill:var(--mds-dropdown-arrow-background,var(--mds-dropdown-background,rgb(var(--tone-neutral,0 0 0))));pointer-events:none;position:fixed;top:calc(var(--spacing,.0025rem)*-400)}::slotted(*){position:relative;z-index:10}:host-context(:root.pref-animation-reduce){--mds-dropdown-backdrop-duration:0s;--mds-dropdown-duration:0s}:host-context(:root.pref-theme-dark:not(.pref-theme-scheme-light)){--mds-dropdown-drop-shadow:drop-shadow(0 0 2px rgb(var(--tone-neutral-01,255 255 255)/.05)) drop-shadow(0 0 2px rgb(var(--tone-neutral-01,255 255 255)/.3)) drop-shadow(0 0 2px rgb(var(--tone-neutral-01,255 255 255)/.3))}:host-context(:root.pref-contrast-more){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.05)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3))}:host-context(:root.pref-contrast-more.pref-theme-dark){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.075)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.45)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.45))}@media (prefers-reduced-motion){:is(:host-context(:root.pref-animation-system),:host-context(:root:not([data-magma-pref]))){--mds-dropdown-backdrop-duration:0s;--mds-dropdown-duration:0s}}@media (prefers-color-scheme:dark){:is(:host-context(:root.pref-theme-system:not(.pref-theme-scheme-light)),:host-context(:root:not([data-magma-pref]))){--mds-dropdown-drop-shadow:drop-shadow(0 0 2px rgb(var(--tone-neutral-01,255 255 255)/.05)) drop-shadow(0 0 2px rgb(var(--tone-neutral-01,255 255 255)/.3)) drop-shadow(0 0 2px rgb(var(--tone-neutral-01,255 255 255)/.3))}:host-context(:root.pref-contrast-more.pref-theme-system){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.05)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3))}}@media (prefers-contrast:more){:is(:host-context(:root.pref-contrast-system),:host-context(:root:not([data-magma-pref]))){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.05)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3))}:host-context(:root.pref-contrast-system.pref-theme-dark){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.05)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host-context(:root.pref-contrast-system.pref-theme-system){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.05)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3)) drop-shadow(0 0 4px rgb(var(--tone-neutral-01,255 255 255)/.3))}}'};var MdsDropdown=function(){function e(e){var t=this;registerInstance(this,e);this.visibleEvent=createEvent(this,"mdsDropdownVisible");this.hiddenEvent=createEvent(this,"mdsDropdownHide");this.changedEvent=createEvent(this,"mdsDropdownChange");this.km=new KeyboardManager;this.backdropController=new Backdrop;this.arrow=true;this.arrowPadding=24;this.autoPlacement=false;this.backdrop=false;this.flip=false;this.interaction="click";this.offset=24;this.placement="bottom";this.shift=true;this.shiftPadding=24;this.smooth=true;this.strategy="absolute";this.visible=false;this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var e=window.getComputedStyle(t.host);t.cssMouseOverDelayDuration=e.getPropertyValue("--mds-dropdown-mouseover-delay")};this.handleCloseDropdown=function(e){if(e.type==="mouseleave"){t.host.removeEventListener("mouseleave",t.handleCloseDropdown);t.caller.removeEventListener("mouseleave",t.handleCloseDropdown);t.visible=false;return}if(!t.host.contains(e.target)&&e.target!==t.caller){t.visible=false;document.removeEventListener("click",t.handleCloseDropdown)}};this.setInteractionBehaviour=function(){if(t.interaction==="none"){return}if(t.interaction==="click"){t.caller.addEventListener("click",t.onClickTarget.bind(t))}if(t.interaction==="mouseover"){t.caller.addEventListener("mouseover",t.onMouseOverTarget.bind(t));t.caller.addEventListener("mouseout",t.onMouseOutTarget.bind(t));t.host.addEventListener("mouseover",t.handleCloseDropdownMouseLeave.bind(t))}};this.handleCloseDropdownMouseLeave=function(){clearTimeout(t.mouseoverTimer);t.host.removeEventListener("mouseover",t.handleCloseDropdownMouseLeave.bind(t));t.host.addEventListener("mouseleave",t.handleCloseDropdown.bind(t))}}e.prototype.arrowChanged=function(){this.floatingController.updatePosition()};e.prototype.arrowPaddingChanged=function(){this.floatingController.updatePosition()};e.prototype.autoPlacementChanged=function(){this.floatingController.updatePosition()};e.prototype.backdropChanged=function(e){if(e===false){this.backdrop=undefined}if(!this.visible){return}if(e){this.backdropController.attachBackdrop();return}this.backdropController.detachBackdrop()};e.prototype.flipChanged=function(){this.floatingController.updatePosition()};e.prototype.offsetChanged=function(){this.floatingController.updatePosition()};e.prototype.placementChanged=function(){this.floatingController.updatePosition()};e.prototype.shiftChanged=function(){this.floatingController.updatePosition()};e.prototype.shiftPaddingChanged=function(){this.floatingController.updatePosition()};e.prototype.strategyChanged=function(){this.floatingController.updatePosition()};e.prototype.targetChanged=function(){var e=this;if(this.target===""||this.floatingController==null)return;this.caller=this.floatingController.updateCaller(this.target);this.setInteractionBehaviour();this.km.addElement(this.host);this.km.attachEscapeBehavior((function(){return e.visibleChanged(false)}))};e.prototype.visibleChanged=function(e){this.changedEvent.emit({caller:this.caller,visible:e});if(e){document.addEventListener("click",this.handleCloseDropdown);this.floatingController.updatePosition();if(this.backdrop){this.backdropController.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})};e.prototype.onClickTarget=function(e){e.stopPropagation();document.body.click();this.visible=!this.visible};e.prototype.onMouseOverTarget=function(){var e=this;this.mouseoverTimer=setTimeout((function(){clearTimeout(e.mouseoverTimer);e.visible=true}),cssDurationToMilliseconds(this.cssMouseOverDelayDuration))};e.prototype.onMouseOutTarget=function(){var e=this;clearTimeout(this.mouseoverTimer);this.mouseoverTimer=setTimeout((function(){clearTimeout(e.mouseoverTimer);e.visible=false}),cssDurationToMilliseconds(this.cssMouseOverDelayDuration))};e.prototype.componentDidLoad=function(){var e;var t=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".arrow");this.floatingController=new FloatingController(this.host,t);this.updateCSSCustomProps();this.targetChanged()};e.prototype.disconnectedCallback=function(){this.floatingController.dismiss();this.backdropController.detachBackdrop();this.km.detachEscapeBehavior()};e.prototype.render=function(){return h(Host,{key:"38c9f3049e6a174dba9a05327d725bdcc0968692",style:{zIndex:"".concat(this.zIndex)}},h("div",{key:"344784493362d917977d14c4f9c356c42c14ad4c",class:"arrow",innerHTML:arrowSvg}),h("slot",{key:"b8a87aa98e63085aed670018e97134f3452dfedc"}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{arrow:[{arrowChanged:0}],arrowPadding:[{arrowPaddingChanged:0}],autoPlacement:[{autoPlacementChanged:0}],backdrop:[{backdropChanged:0}],flip:[{flipChanged:0}],offset:[{offsetChanged:0}],placement:[{placementChanged:0}],shift:[{shiftChanged:0}],shiftPadding:[{shiftPaddingChanged:0}],strategy:[{strategyChanged:0}],target:[{targetChanged:0}],visible:[{visibleChanged:0}]}},enumerable:false,configurable:true});return e}();MdsDropdown.style=mdsDropdownCss();export{MdsDropdown as mds_dropdown};
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{K as KeyboardManager}from"./keyboard-manager-KRu9I7dw.js";import{c as cssDurationToMilliseconds}from"./unit-D8eZRaSQ.js";import{B as Backdrop,F as FloatingController}from"./floating-controller-DVldZ5mh.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";import"./floating-ui.dom-CHAGzQT-.js";import"./aria-CSCy6TMW.js";var arrowSvg='<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 mdsDropdownCss=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(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))));--private-dropdown-backdrop-duration:.2s;--mds-dropdown-backdrop-duration:var(--private-dropdown-backdrop-duration);--mds-dropdown-backdrop-z-index:var(--magma-backdrop-z-index,4000);--mds-dropdown-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-dropdown-drop-shadow-color-rgb:var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)));--mds-dropdown-drop-shadow:drop-shadow(0 10px 8px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5))))/.05)) drop-shadow(0 4px 3px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5))))/.15)) drop-shadow(0 0 1px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5))))/.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(--magma-tint-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;-webkit-transform:var(--mds-dropdown-transform-from,scale(.9) translateY(-3%));transform:var(--mds-dropdown-transform-from,scale(.9) translateY(-3%));transition-behavior:allow-discrete;-webkit-transition-duration:var(--private-dropdown-duration);transition-duration:var(--private-dropdown-duration);transition-property:opacity,transform,display;-webkit-transition-timing-function:var(--mds-dropdown-ease);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;-webkit-transform:var(--mds-dropdown-transform-to,scale(1) translate(0,0));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(--magma-tint-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;--mds-dropdown-backdrop-duration:0s}:host([pref-contrast=more]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}:host([pref-contrast=more][pref-mode=dark]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.075)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.45)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,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;--mds-dropdown-backdrop-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}:host([pref-contrast=system][pref-mode=dark]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]){--mds-dropdown-drop-shadow:drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,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-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.05)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3)) drop-shadow(0 0 4px rgb(var(--magma-shadow-ink,var(--magma-tint-scale-01,var(--tone-neutral-01,5 5 5)))/.3))}}"};var MdsDropdown=/** @class */function(){function a(a){var r=this;registerInstance(this,a);this.visibleEvent=createEvent(this,"mdsDropdownVisible",7);this.hiddenEvent=createEvent(this,"mdsDropdownHide",7);this.changedEvent=createEvent(this,"mdsDropdownChange",7);this.km=new KeyboardManager;this.backdropController=new Backdrop;
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
+ * If set, the component will not be placed automatically near it's caller.
10
+ */this.disableAutoPlacement=false;
11
+ /**
12
+ * Specifies if the component has a backdrop background
13
+ */this.backdrop=false;
14
+ /**
15
+ * Specifies the placement of the component if no space is available where it is placed.
16
+ */this.flip=false;
17
+ /**
18
+ * Specifies if the component is triggered from the caller on mouseover or click event
19
+ */this.interaction="click";
20
+ /**
21
+ * Sets distance between the dropdown and the caller.
22
+ */this.offset=24;
23
+ /**
24
+ * Specifies where the component should be placed relative to the caller.
25
+ */this.placement="bottom";
26
+ /**
27
+ * If set, the component will not be kept inside the viewport.
28
+ */this.disableShift=false;
29
+ /**
30
+ * Sets a safe area distance between the dropdown and the viewport.
31
+ */this.shiftPadding=24;
32
+ /**
33
+ * If set, the component will not follow the caller smoothly when the page scrolls.
34
+ */this.disableSmooth=false;
35
+ /**
36
+ * Sets the CSS position strategy of the component.
37
+ */this.strategy="absolute";
38
+ /**
39
+ * Specifies the visibility of the component.
40
+ */this.visible=false;
41
+ // the handlers of the caller are held as they are attached: `removeEventListener` answers to
42
+ // the reference it was given, and a `.bind(this)` written at the call site makes a new one
43
+ // every time, which is why nothing the caller was given was ever taken back
44
+ this.onClickTarget=function(a){
45
+ // stop propagation event for when target is a element cointainer
46
+ a.stopPropagation();
47
+ // trigger a body click to execute handleCloseDropdown on other dropdowns
48
+ document.body.click();r.visible=!r.visible;
49
+ // a click with no coordinates behind it came from Enter on the caller, and a menu opened
50
+ // from the keyboard has to land on an entry - a mouse leaves the focus where it is
51
+ if(r.visible&&r.isMenu&&a.detail===0){r.focusEntry(0)}};this.onMouseOverTarget=function(){r.mouseoverTimer=setTimeout((function(){clearTimeout(r.mouseoverTimer);r.visible=true}),cssDurationToMilliseconds(r.cssMouseOverDelayDuration))};this.onMouseOutTarget=function(){clearTimeout(r.mouseoverTimer);r.mouseoverTimer=setTimeout((function(){clearTimeout(r.mouseoverTimer);r.visible=false}),cssDurationToMilliseconds(r.cssMouseOverDelayDuration))};
52
+ /**
53
+ * The panel declares itself a `menu`, whose children axe only accepts as entries
54
+ * (`aria-required-children`), so what the slot receives is what has to carry the role. And what
55
+ * it receives can be a slot of its own, when the dropdown is rendered by a component that hands
56
+ * over the slot of its own host - `mds-button-dropdown`, `mds-pref-language`. An `mds-button`
57
+ * names itself a button as soon as it loads and which of the two loads first is not guaranteed,
58
+ * so `button` is the role an entry overwrites, any other being a deliberate choice of the
59
+ * consumer. A panel that declares another role holds no entries at all: its children are left
60
+ * alone, a calendar being no menu item.
61
+ */this.markEntries=function(){if(!r.isMenu)return;r.entries().forEach((function(a){var r=a.getAttribute("role");if(r===null||r==="button"){a.setAttribute("role","menuitem")}
62
+ // an entry the arrows can reach has to be focusable, and an entry of a menu is reached
63
+ // by the arrows and not by Tab, the menu being one stop of its own
64
+ if(!a.hasAttribute("tabindex")){a.setAttribute("tabindex","-1")}}))};this.entries=function(){var a,o;var t=(a=r.host.shadowRoot)===null||a===void 0?void 0:a.querySelector("slot");return r.slottedEntries((o=t===null||t===void 0?void 0:t.assignedElements())!==null&&o!==void 0?o:[])};this.slottedEntries=function(a){return a.flatMap((function(a){return a.tagName==="SLOT"?r.slottedEntries(a.assignedElements()):[a]}))};
65
+ /**
66
+ * Walks the entries the way the menu button pattern asks for: the arrows open the menu and
67
+ * land on an entry, Home and End go to the ends, Escape gives the focus back and Tab lets it
68
+ * leave from the caller. A panel that declares another role is none of this - the arrows of a
69
+ * calendar or of a form belong to what the panel holds.
70
+ */this.focusEntry=function(a,o){if(o===void 0){o=3}var t=r.entries();if(t.length===0||!r.visible)return;var e=t[(a+t.length)%t.length];
71
+ // the panel is display:none until `visible` reaches the render, and nothing hidden takes
72
+ // the focus: the first frame after opening is the earliest the entry can have it
73
+ if(e.offsetWidth===0&&o>0){requestAnimationFrame((function(){return r.focusEntry(a,o-1)}));return}e.focus()};this.onCallerKeydown=function(a){if(!r.isMenu||a.key!=="ArrowDown"&&a.key!=="ArrowUp")return;a.preventDefault();// the arrows would scroll the page under the menu
74
+ r.visible=true;r.focusEntry(a.key==="ArrowUp"?-1:0)};this.onPanelKeydown=function(a){var o;if(!r.isMenu||!r.visible)return;var t=r.entries();if(t.length===0)return;var e=t.findIndex((function(a){return a.contains(document.activeElement)}));var n=e===-1?null:e;switch(a.key){case"ArrowDown":a.preventDefault();r.focusEntry(n===null?0:n+1);break;case"ArrowUp":a.preventDefault();r.focusEntry(n===null?-1:n-1);break;case"Home":a.preventDefault();r.focusEntry(0);break;case"End":a.preventDefault();r.focusEntry(-1);break;case"Tab":
75
+ // no preventDefault: the focus is handed to the caller and Tab carries on from there,
76
+ // which is where it would have gone had the menu never opened
77
+ r.visible=false;(o=r.caller)===null||o===void 0?void 0:o.focus();break}};
78
+ /** Escape is heard on window, so it closes the panel wherever the focus is. Giving the focus
79
+ * back is only right when the panel was holding it: a panel that goes display:none under the
80
+ * focus drops it on the body, and the place in the page is lost */this.closeFromKeyboard=function(){var a;if(!r.visible)return;var o=r.host.contains(document.activeElement);r.visible=false;if(o)(a=r.caller)===null||a===void 0?void 0:a.focus()};this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var a=window.getComputedStyle(r.host);r.cssMouseOverDelayDuration=a.getPropertyValue("--mds-dropdown-mouseover-delay")};this.handleCloseDropdown=function(a){if(a.type==="mouseleave"){r.host.removeEventListener("mouseleave",r.handleCloseDropdown);r.caller.removeEventListener("mouseleave",r.handleCloseDropdown);r.visible=false;return}if(!r.host.contains(a.target)&&a.target!==r.caller){r.visible=false;document.removeEventListener("click",r.handleCloseDropdown)}};this.setInteractionBehaviour=function(){if(r.interaction==="none"){return}if(r.interaction==="click"){r.caller.addEventListener("click",r.onClickTarget);r.caller.addEventListener("keydown",r.onCallerKeydown)}if(r.interaction==="mouseover"){r.caller.addEventListener("mouseover",r.onMouseOverTarget);r.caller.addEventListener("mouseout",r.onMouseOutTarget);r.host.addEventListener("mouseover",r.handleCloseDropdownMouseLeave)}};
81
+ /** Hands the caller back what it was given: a caller the target no longer names would go on
82
+ * opening a panel that is not its own */this.unsetInteractionBehaviour=function(a){a.removeEventListener("click",r.onClickTarget);a.removeEventListener("keydown",r.onCallerKeydown);a.removeEventListener("mouseover",r.onMouseOverTarget);a.removeEventListener("mouseout",r.onMouseOutTarget)};this.handleCloseDropdownMouseLeave=function(){clearTimeout(r.mouseoverTimer);r.host.removeEventListener("mouseover",r.handleCloseDropdownMouseLeave);r.host.addEventListener("mouseleave",r.handleCloseDropdown)}}a.prototype.hideArrowChanged=function(){this.floatingController.updatePosition()};a.prototype.arrowPaddingChanged=function(){this.floatingController.updatePosition()};a.prototype.disableAutoPlacementChanged=function(){this.floatingController.updatePosition()};a.prototype.backdropChanged=function(a){if(a===false){this.backdrop=undefined}if(!this.visible){return}if(a){this.backdropController.attachBackdrop();return}this.backdropController.detachBackdrop()};a.prototype.flipChanged=function(){this.floatingController.updatePosition()};a.prototype.offsetChanged=function(){this.floatingController.updatePosition()};a.prototype.placementChanged=function(){this.floatingController.updatePosition()};a.prototype.disableShiftChanged=function(){this.floatingController.updatePosition()};a.prototype.shiftPaddingChanged=function(){this.floatingController.updatePosition()};a.prototype.strategyChanged=function(){this.floatingController.updatePosition()};a.prototype.targetChanged=function(){if(this.target===""||this.floatingController==null)return;var a=this.floatingController.updateCaller(this.target);if(!a)return;if(this.caller&&this.caller!==a)this.unsetInteractionBehaviour(this.caller);this.caller=a;
83
+ // the role of the panel arrives with the caller, so the entries are named once it resolves
84
+ this.markEntries();this.setInteractionBehaviour();this.km.addElement(this.host);this.km.attachEscapeBehavior(this.closeFromKeyboard)};a.prototype.visibleChanged=function(a){this.changedEvent.emit({caller:this.caller,visible:a});this.floatingController.syncExpanded(a);if(a){document.addEventListener("click",this.handleCloseDropdown);this.floatingController.updatePosition();if(this.backdrop){this.backdropController.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(a.prototype,"isMenu",{get:function(){return this.host.getAttribute("role")==="menu"},enumerable:false,configurable:true});a.prototype.componentDidLoad=function(){var a,r,o;var t=(a=this.host.shadowRoot)===null||a===void 0?void 0:a.querySelector(".arrow");
85
+ /**
86
+ * When binding values in frameworks such as Angular
87
+ * it is possible for the value to be set after the Web Component
88
+ * initializes but before the value watcher is set up in Stencil.
89
+ * As a result, the watcher callback may not be fired.
90
+ * We work around this by manually calling the watcher
91
+ * callback when the component has loaded and the watcher
92
+ * is configured.
93
+ */this.floatingController=new FloatingController(this.host,t);this.updateCSSCustomProps();this.targetChanged();(o=(r=this.host.shadowRoot)===null||r===void 0?void 0:r.querySelector("slot"))===null||o===void 0?void 0:o.addEventListener("slotchange",this.markEntries);
94
+ // a nested slot lives in the tree of the host, where the slot of the shadow root, which is
95
+ // the one the entries reach us through, never hears its slotchange
96
+ this.host.addEventListener("slotchange",this.markEntries);
97
+ // the entries are slotted children, so their keys reach the host by bubbling
98
+ this.host.addEventListener("keydown",this.onPanelKeydown);
99
+ // The watcher does not fire for the initial value, so a dropdown that mounts
100
+ // with `visible` set was never positioned at all: no left, no top, no origin,
101
+ // parked at the top left corner of the page.
102
+ if(this.visible){this.visibleChanged(true)}};a.prototype.disconnectedCallback=function(){this.floatingController.dismiss();this.backdropController.detachBackdrop();this.km.detachEscapeBehavior()};a.prototype.render=function(){return h(Host,{key:"909529db1b7f90da7fef23235ac276e133aef6cf",style:{zIndex:"".concat(this.zIndex)},"pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"fe65713f1e3f849a57f05ad7e3be0eede40198d4",class:"arrow",innerHTML:arrowSvg}),h("slot",{key:"2c438ff28af51844e5e399e07b31773edf745447"}))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"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 a}();MdsDropdown.style=mdsDropdownCss();export{MdsDropdown as mds_dropdown};